{"version":3,"sources":["vendd.user.js","vendd.deliverypoint.js","vendd.invoiceAccess.js","vendd.requestReturn.js","vendd.userwishlist.js","vendd.loyalty.js","vendd.inlineadmin.js","vendd.returnOrder.js","vendd.export.js","vendd.speedextracktrace.js","vendd.filterproduct.js","vendd.stats.js","vendd.lazyproductlist.js","vendd.userselect.js","vendd.order.js","vendd.callmeback.js","vendd.career.js","vendd.databinding.js","vendd.control.js","vendd.observable.js","vendd.scripts.js","vendd.dataValidation.js","vendd.validations.js","vendd.helpers.js","vendd.recipe.js","vendd.product.js","vendd.session.js","vendd.account.js","vendd.wishlistMerchant.js","vendd.wishlistArticle.js","vendd.wishlist.js","vendd.cart.js","vendd.scrolllist.js","vendd.widget.js","disqus.js","google.js","facebook.js","vendd.customForms.js","vendd.quickbuy.js","vendd.productcompare.js","vendd.article.js","vendd.elasticSearch.js","vendd.search.js","vendd.store.js","vendd.landing.js","vendd.contact.js","vendd.newsletter.js","invoiceAccess.messages.js","requestReturn.messages.js","userwishlist.messages.js","tracking.messages.js","consents.messages.js","loyalty.messages.js","inlineadmin.messages.js","returnOrder.messages.js","export.messages.js","customForms.messages.js","speedextracktrace.messages.js","filterproduct.messages.js","lazyproductlist.messages.js","wishlistmerchant.messages.js","wishlistarticle.messages.js","wishlist.messages.js","widget.messages.js","deliverypoint.messages.js","userselect.messages.js","user.messages.js","store.messages.js","elasticSearch.messages.js","search.messages.js","scrolllist.messages.js","productcompare.messages.js","product.messages.js","order.messages.js","newsletter.messages.js","datavalidation.messages.js","landing.messages.js","contact.messages.js","cart.messages.js","career.messages.js","callmeback.messages.js","article.messages.js","recipe.messages.js","account.messages.js","plugins.messages.js","vendd.messagebus.js","vendd.handlebars.js"],"names":["onSignIn","googleUser","getBasicProfile","getAuthResponse","id_token","Vendd","MessageBus","subscribe","InvoiceAccess","Messages","Submit","envelope","options","url","method","data","message","onSuccess","response","publishAsync","SubmitSuccess","onFailure","SubmitFailure","Service","call","RequestReturn","model","observableaddress","PendingProductCollection","updateProductFields","item","Literals","Save","SKUText","ProductText","QuantityText","ProductConditionText","PhotosText","CommentsText","ResendText","AttachText","PhotosLimitText","SelectConditionText","MaxQuantityText","QuantityRequiredText","ImagesRequiredText","ResendLabel","CommentsPlaceholder","YesText","NoText","StatusRequiredText","ReturnRequestGlobalId","Return","GlobalId","ReturnItemGlobalId","AvailableQuantityForReturn","Quantity","ReturnQuantity","AvailableConditions","DropdownProductDescription","replace","ProductCode","GetReturnRequest","endpoints","globalId","success","$","each","AvailableItemForReturn","idx","ReturnItems","GetReturnRequestSuccess","validation","GetReturnRequestFailure","GetReturnRequestError","SaveReturnItem","SaveReturnItemSuccess","SaveReturnItemFailure","SaveReturnItemError","DeleteReturnItem","DeleteReturnItemSuccess","DeleteReturnItemFailure","DeleteReturnItemError","SubmitOrderReturn","OrderShippingLocation","GetModel","SubmitOrderReturnSuccess","SendReturnRequestNotification","SubmitOrderReturnsFailed","GetOrderInfo","clonnedAddress","jQuery","extend","Observable","GetMaxQuantityToAdd","orderitemid","activeQuantity","_","reduce","grep","x","OrderItemId","memo","result","GetProductToAdd","OrderitemId","product","first","filter","UploadServiceUrl","MaxQuantity","MaxQuantityLabel","GetProductByGlobalId","RemoveResource","rowid","resource","RowId","Resources","Uri","GetObservableAddress","address","ReadOnly","AddressLine1","PostCode","Area","ResetObservableAddress","pending","UserWishlist","LhApp","Context","Language","LangCode","SetClientModel","GetModelSuccess","GetModelFailed","undefined","GetClientModel","document","cookie","indexOf","Item","Template","removeCookie","path","SaveWishlist","ClearClientModel","SaveWishlistSuccess","SaveWishlistFailed","responseJSON","DeleteWishlist","DeleteWishlistFailed","localStorage","removeItem","mdl","JSON","parse","getItem","Function","validateClientModel","IsLocalStorageCache","setItem","stringify","Loyalty","CheckByMobile","StatusCode","CheckByMobileSuccess","CheckByMobileFailure","SendSms","SendSmsSuccess","SendSmsFailure","ValidateSmsCode","ValidateSmsCodeSuccess","ValidateSmsCodeFailure","SubmitForm","SubmitFormSuccess","SubmitFormFailure","GetPhoneForm","GetPhoneFormSuccess","GetPhoneFormFailure","GetRegistrationForm","GetRegistrationFormSuccess","GetRegistrationFormFailure","SubmitContactForm","SubmitContactFormSuccess","SubmitContactFormFailure","ValidateCouponAndSendSms","ApplyCoupon","ApplyCouponSuccess","ApplyCouponFailure","ClearCoupon","ClearCouponSuccess","ClearCouponFailure","InlineAdmin","CreateCookieForInlineAdmin","async","redirectUrl","publish","CreateCookieForInlineAdminFailure","username","password","CreateCookieForInlineAdminSuccess","CheckForInlineAdmin","ItemId","window","inlineAdminGlobalVariables","ItemPathChecksum","ItemCode","PageTemplate","EntityId","EntityCode","IsEditable","RequestNewGuest","CheckForInlineAdminSuccess","CheckForInlineAdminFailure","ReturnOrder","observabeItemCollection","BillingValidationEngine","editAddressOpen","BankInfo","DeleteSelected","deletedItemRowIds","i","length","Delete","push","apply","doDeleteItem","DeleteItem","rowId","observableRows","IsAdded","SetPayment","paymentType","Credit","Refund","keepParent","returnItemRowIds","IsSplitted","Children","IsChildElement","Parent","index","IsRemoved","ReturnItemConditionId","activeChildren","NotifyPropertyChanged","ind","UnSplit","observableRow","SelectAll","deleteItems","Split","itemChildren","newOrderitem","MaxIndex","ValidationEngine","observable","CreateOrderReturnItemalidationModel","GetReturnOrderCongfigData","GetObservableItemsCollection","refresh","Literals2","CouponCodes","vItem","EmptytObservableItemsCollection","GetAvailableItemConditions","SetResourceForItem","orderInfo","Request","OrderInfo","OrderItems","PreviousReturns","GetReturnModel","IBAN","Bank","Beneficiary","submitOrderItems","submittedItems","y","__type","valOptions","valmodel","DataValidation","ValidateModel","valBillOptions","Account","ValidateObservable","RequestReturnInfo","OrderId","CreateOrderBillingValidationModel","valEngine","BuildValidationModel","rule","propertyChanging","propertyName","value","PropertyName","PropertyValue","Validate","addOrUpdateValidationRule","updateValidationModel","AddListenerToPropertyChanging","DestroyBillingValidationModel","GetRequestReturn","orderid","GetRequestReturnSuccess","GetRequestReturnFailure","ValidateOrderContactInfo","d","GetReturnRequestValidationFormModelFailure","ValidateOrderContactInfoSuccess","ValidateOrderContactInfoFailure","GetReturnRequestValidationFormModel","GetReturnRequestValidationFormModelSuccess","GetReturnedOrdersModel","GetReturnedOrdersModelSuccess","GetReturnedOrdersModelFailure","Export","GetListingExport","exportCode","listingId","GetListingExportSuccess","GetListingExportFailure","SpeedexTrackTrace","GetSpeedexTrackTraceModel","GetSpeedexTrackTraceModelSuccess","GetSpeedexTrackTraceModelFailure","FilterProduct","configuration","location","serviceConfiguration","Changed","Failed","HandleItemStatistics","itemStatisticsDataArray","control","$control","Action","inArray","HandleProductStatistics","productStatisticsDataArray","SkuId","LazyProductList","GetLazyProductList","LazyProductListSuccess","LazyProductListFailure","UserSelect","SubmitSetInterfaceUser","loginName","LoginName","SubmitSetInterfaceUserSuccess","SubmitSetInterfaceUserFailure","ClearInterfaceUser","ClearInterfaceUserSuccess","ClearInterfaceUserFailure","SearchUsers","minChars","MinChars","maxHeight","MaxHeight","zIndex","ZIndex","deferRequestBy","DeferRequestBy","noCache","NoCache","onSelect","OnSelect","SearchUsersSuccess","SearchUsersFailure","CreateUserSelect","wrapper","Databinding","CreateControlDatabindings","CreateDefaultSetInterfaceUserValidationModel","SubmitSetInterfaceUserInlineAdmin","RedirectToAccount","OrdersHistoryUrl","Url","setParameterValueOnUrl","href","reload","Order","SubmitRequestOrderChange","email","Email","code","OrderCode","SubmitRequestOrderChangeSuccess","SubmitRequestOrderChangeFailure","CancelUncompletedOrder","orderId","CancelUncompletedOrderSuccess","CancelUncompletedOrderFailed","ReturnOrderItem","orderItemId","ReturnOrderItemSuccess","ReturnOrderItemFailed","CreateChangeOrder","CreateDefaultChangeOrderValidationModel","CallMeBack","info","CreateCallMeBackInfo","FirstName","LastName","Phone","Message","Source","CreateDefaultCallMeBackInfoValidationModel","Career","CreateApplicantInfo","selectedJob","selectedJobId","newApplicantInfo","JobTitle","JobId","CvFileUploaded","Agreement","CreateDefaultJobInfoValidationModel","Parameters","DatabindingTypes","bindings","DatabindingHelpers","DatabindingEvents","DataMember","DataShow","controlDatabindings","ResolveControlDatabinding","BindControls","DestroyControlDatabindings","UnbindControls","controlDataProperty","Array","isArray","cdp","Control","Data","type","Type","BindControl","UnbindControl","pos","FindBinding","binding","CreateBinding","Event","ControlChanged","AddListenerToPropertyChanged","PropertyChanged","eventCode","GetEventCode","unbind","SetValue","bind","SetVisibility","event","splice","FindControlBindings","addEventListener","removeEventListener","detachEvent","GetCurrentBindings","GetType","res","FindPropertyBindings","forceUpdate","dataMemberControl","dataMemberPath","split","pop","controlDatabinding","GetChildObservableByPath","dataShowControl","dataShowPath","target","srcElement","indexes","GetValue","ex","ControlHelpers","HandleError","nodeName","toLowerCase","dataType","isNaN","Number","checked","controlType","isChecked","Helpers","IsHTML","innerHTML","innerText","filename","show","hide","observableOldValue","exception","focus","select","Error","this","children","propertyChangingEvents","propertyChangedEvents","DefineProperties","prototype","GetNotificationList","events","propName","propertyNotifiers","FindEvent","notificationList","n","GetChildObservable","child","hasOwnProperty","propertyPath","innerData","propertyPathParts","j","propValue","propType","DefineProperty","Object","defineProperty","set","NotifyPropertyChanging","get","SetModel","eventListenerFn","RemoveListenerToPropertyChanging","RemoveListenerToPropertyChanged","scripts","Scripts","load","fn","init","callback_vendd","base","property","self","propertiesList","Errors","processProperties","k","v","prop","searchProperybyName","validations","name","processValidations","findWhere","validatePropertybyName","val","p","validationType","parameters","error","validationErrors","Property","Rule","validateAllProperties","optional","trim","required","isEmail","test","isNumeric","isAlphaNumeric","match","maxLength","minLength","resetValidationModel","empty","removePropertybyName","Name","validateProperty","getErrors","validationName","validationFunction","validationErrorMessage","clearErrors","setTimeout","validationEngine","errors","ValidationError","configOptions","ValidationSuccess","vaEng","Validations","passwordStrength","score","arguments","config","textStrength","limit","variations","variationCount","s","matched","check","digits","lower","upper","nonWords","toString","parseInt","string","a","createElement","c","childNodes","nodeType","isInteger","ValidateNumbers","evt","theEvent","key","keyCode","which","String","fromCharCode","returnValue","preventDefault","Recipe","itemId","productid","Id","GetModelFailure","initialized","state","getViewModel","id","bundleItems","LoaderOptions","BundleItems","queryString","search","join","Configuration","PathChecksum","qty","selectedId","Product","console","log","Controller","initState","initialState","selectedColorId","parentId","languageId","minQuantity","maxQuantity","quanta","recipeItems","comboItems","getState","SetQuantity","SetSelected","skuId","SetBundleItems","SetRecipeItems","SetComboItems","Notify","productId","NotifySuccess","NotifyFailure","Review","ReviewSuccess","ReviewFailure","ReviewVote","ReviewVoteSuccess","helpfullness","ispositivevote","ReviewVoteFailure","GetAvailableWarehouses","GetAvailableWarehousesSuccess","GetAvailableWarehousesFailure","User","GetSessionState","GetSessionStateSuccess","IsNewSession","tempPostCode","tempAreas","countries","addressValEngine","ConvertPointsToCoupons","accountId","ConvertPointsToCouponsSuccess","ConvertPointsToCouponsFailed","GetAddresses","addressType","observableAddresses","Addresses","GetAddressesSuccess","GetAddressesFailed","EditUser","firstName","lastName","userName","UserName","oldPassword","OldPassword","Password","passwordConfirmation","PasswordConfirmation","newsletter","Newsletter","phones","Phones","mobilephone","MobilePhone","birthDate","BirthDate","IsLoyaltyMember","LoyaltyRequest","LoyaltyMemberId","EditUserSuccess","UpdateNewLetterVariables","EditUserFailed","SetDefaultAddress","addressId","AddressModelChanged","SetDefaultAddressFailure","DeleteAddress","DeleteAddressFailure","EditAddress","EditAddressSuccess","EditAddressFailed","CheckAddressIfExists","addressLine1","addressLine2","AddressLine2","city","City","postCode","country","Country","area","CheckAddressIfExistsSuccess","CheckAddressIfExistsFailure","GetAreasForPostCode","countryCode","postalCode","selectedAreaCode","validateAfterLoad","GetAreasForPostCodeSuccess","GetCountries","selectedCountryCode","GetCountriesSuccess","GetCountriesFailed","GetPrefecture","GetPrefectureSuccess","GetPrefectureFailed","GetAllTaxAgencies","GetAllTaxAgenciesSuccess","GetAllTaxAgenciesFailed","GetAllVatStatuses","GetAllVatStatusesSuccess","GetAllVatStatusesFailed","GetUserAccount","GetUserAccountSuccess","GetUserAccountFailure","RequestToDeleteUser","RequestToDeleteUserSuccess","RequestToDeleteUserFailed","RequestToExportData","RequestToExportDataSuccess","RequestToExportDataFailed","SelectedCountryChanged","IsFirstAccess","forEach","Selected","where","Code","SetObservable","observ","SetValidationModel","validationMod","SelectedPostCodeChanged","GetNewAccount","newaddress","IsInvoiceEnabled","IsDefault","Title","Bell","CountryDescription","Mobiles","Fax","IsInvoice","InvoiceText","CompanyName","Occupation","TaxIdentifier","TaxAgency","VatStatus","literals","CreateDefaultAccountUserValidationModel","defaultValidationModel","UseEmailAsLoginName","venddProjectConfigs","EditForm","BirthDateRequired","CreateDefaultAdressValidationModel","valopts","PhoneRequired","MobileRequired","isValidPostCode","selectedCounries","AreasCount","extravalopts","customAccountValidationModel","validateTaxIdentifier","customAccountInvoiceValidationModel","EmptyAreasOnClose","WishlistMerchant","Add","Remove","Clear","LoginSuccess","LogoutSuccess","WishlistArticle","pendingSessionStatus","Wishlist","WishlistModelEnabled","MultipleWishlistsEnabled","templateCode","currentItemId","visitorListId","GetVisitorListByQueryString","MoveToCart","listId","Cart","ShowMessages","sender","MoveAllToCart","QueryString","getValueOf","unescape","RawUrl","DownLoadExcel","param","DownLoadExcelSuccess","DownLoadExcelFailure","CartModelEnabled","parseFloat","toFixed","extraAttributes","isDefaultRecipeQuantitiesIncluded","AddCompleted","ProductAdded","AlreadyInCart","Warning","MultipleAdd","items","MultipleAddSuccess","ProductRemoved","SetQuantities","UpdateBundleItems","ApplyExtraAllowanceOrCharge","shopAllowanceorChargeId","DisableExtraAllowanceOrCharge","SetGiftwrap","wrapId","SetGiftwraps","SetGiftCard","amount","GiftCardApplyFailed","AddGiftCartEmailAddress","AddGiftCartEmailAddressSuccess","ClearAllGiftCards","ClearGiftCard","ClearCoupons","ApplyExternalCoupon","ClearExternalCoupon","ClearExternalCoupons","ApplyShippingData","areaId","shippingMethodId","shippingCompanyId","ApplyShippingDataSuccess","ApplyShippingDataFailed","GetShippingModel","GetShippingModelSuccess","GetShippingModelFailed","AddOrderItemsToCart","AddOrderItemsToCartSuccess","AddOrderItemsToCartFailed","GetNewGiftCardEmail","cartItem","newGiftCardEmail","FromName","ToName","CustomText","ProductId","VariantId","CartProductId","CreateGiftCardEmailValidationModel","SetDeliveryPoint","doGetPageWithGetMethod","position","reqData","configCode","itemPath","Path","pageNumber","PageNumber","pageSize","PageSize","sortKey","SortKey","fullPath","FullPath","excludeItemIds","ExcludeItemIds","ScrollList","GetCurrentPageFailure","list","GetNextPageFailure","ajax","contentType","ContentType","GetCurrentPageSuccess","GetPageSuccess","Items","addHistoryObject","failure","history","pushState","querystring","pathname","slice","pager","pageCount","attr","pageText","protocol","host","prev","next","prevLink","nextLink","remove","append","replaceState","find","text","GetNextPage","nextPage","totalPages","GetPreviousPage","previousPage","GetCurrentPage","currentPage","jsonArr","GetClientProductListData","variantIds","itemIds","GetClientProductListDataSuccess","GetClientProductListDataFailure","Widget","CartWidget","WishlistWidget","WishlistArticleWidget","LoginWidget","ProductCompareWidget","AuthProviders","disqus","initiating","initiated","ClientId","AuthUrl","ShortName","source","identifier","me","clientId","authUrl","shortName","src","setAttribute","Date","head","body","appendChild","gg","open","google","cb","js","fjs","getElementsByTagName","getElementById","parentNode","insertBefore","login","logout","fb","throwEx","onError","FB","getLoginStatus","api","emailPermission","permission","status","loginId","provider","facebook","isAvailable","AppId","PageId","appId","pageId","fbAsyncInit","xfbml","version","onload","e","onerror","warn","statusChanged","statusResponse","facebookid","authResponse","userID","userResponse","connectedResponse","connectedEx","userEx","checkLoginState","theCookies","charAt","substring","cparts","deleteFbCookie","CustomForms","SendNotification","toemail","fromemail","relatedObjectid","langCode","notificationTemplateCode","servicenamespace","SendNotificationSuccess","SendNotificationFailure","Quickbuy","QuickbuyList","addToQuickbuyList","productsList","Dimensionsjson","Update","$wrapper","html","Handlebars","newState","GetDimJson","Colors","Sizes","HasColors","SkuList","HasSizes","SelectColorText","SelectSizeText","NoAvailableSizesText","HasSingleColor","HasSingleSize","SizeDisabled","createNewState","dimId","availableDimList","json","skus","Skus","SelectedColorId","AvailableSizes","UpdateSelectedItems","SizeArr","IsSelected","SelectedSizeId","ColorId","SizeId","Disabled","SkuData","CanBuy","AvailableColors","ColorArr","GetSkuData","colorId","sizeid","isEmptyObject","isColor","arr","widgetModelPending","ProductCompare","GetWidgetModel","widgetModel","GetWidgetModelSuccess","Article","ReviewSubmit","IsPositiveVote","CreateArticleReviewInfo","articleId","articleReviewInfo","ReviewArticleId","ReviewTitle","ReviewDescription","ReviewRating","CreateArticleReviewInfoValidationModel","ElasticSearch","GetCategoryElasticResults","query","searchTerm","pagefrom","pageFrom","pagesize","sort","GetCategoryElasticResultsSuccess","GetCategoryElasticResultsFailed","GetProductElasticResults","orderOptions","sortingKey","orderType","GetProductElasticResultsSuccess","GetProductElasticResultsFailed","Search","GetSuggestiveResults","category","GetSuggestiveResultsSuccess","GetSuggestiveResultsFailed","GetProductSuggestiveResults","maxResults","GetProductSuggestiveResultsSuccess","GetProductSuggestiveResultsFailed","DeliveryPoint","_logoutRedirectUrl","Login","rememberMe","reCaptchaCode","LoginForm","LogoutRedirectUrl","GetUserViewModelSuccess","LoginFailure","ForgotPassword","ForgotPasswordSuccess","ForgotPasswordFailure","ResetPassword","ResetPasswordSuccess","ResetPasswordFailure","Logout","LogoutAuthProviders","logoutPromises","promise","Deferred","defer","resolve","when","then","LogoutUser","URI","equals","baseUrl","LogoutFailure","Register","preventRedirect","RegisterSuccess","LoginRedirect","RegisterFailure","CanRegister","CanRegisterSuccess","CanRegisterFailure","B2BRegister","B2BRegisterSuccess","B2BRegisterFailure","CreateUser","CreateUserSuccess","CreateUserFailure","UserModelEnabled","GetUserViewModel","useModelFromLocalStorage","GetUserViewModelFailed","QuoteSubmit","QuoteSubmitSuccess","QuoteSubmitFailure","loginmessage","getStoresForm","Store","UpdateForm","SetContinent","continent","SetCountry","SetCity","SetArea","SetType","Refine","UpdateStores","getStores","CalculateDistances","sourcePoint","origin","destinations","array","elem","maps","LatLng","Latitude","Longitude","DistanceMatrixService","getDistanceMatrix","origins","travelMode","unitSystem","UnitSystem","METRIC","CalculateDistancesSuccess","calculateDistances","Landing","Contact","Subscribe","subscriptionType","apiKey","mailparams","gender","VenddMessage","className","SubscribeSuccess","SubscribeFailure","apikey","Unsubscribe","UnsubscribeSuccess","UnsubscribeFailure","$email","serviceOpts","orderCode","orderPhone","visitorList","VisitorListId","VisitorListTypeId","Tracking","ProductsUpdated","Consents","InsertAllCookiesSuccess","InsertConsents","mobile","formData","pageid","registered","discountCode","renderInline","requestNewGuest","OpenAddressEditForm","ordercode","phone","voucherCode","GetNextFilter","GetNextFilterSuccess","GetNextFilterFailure","currentListId","context","OpenWidget","widgetName","immediate","WidgetOpened","SubmitSetInterfaceUserInlineAdminSuccess","SubmitSetInterfaceUserInlineAdminFailure","loginRedirectUrl","logoutRedirectUrl","b2buser","b2bcompanyname","b2boccupation","b2btaxegency","b2btaxidentifier","b2bvatstatus","birthdate","isLoyaltyMember","loyaltyRequest","loyaltyMemberId","companyname","occupation","taxagency","taxidentifier","officername","vatstatus","emailconfirmation","town","number","postalcode","passwordconfirmation","storesnumber","phoneTwo","fax","siteurl","store","companyCategory","openingHours","prefecture","officerLastName","officerPosition","recaptchacode","redirecturl","companyName","taxAgency","taxIdentifier","officerName","vatStatus","emailConfirmation","addressNumber","storesNumber","secondPhone","siteUrl","UserInitialized","isAuthenticated","SetPostalCode","GetPreviousPageFailure","request","fetchPrices","fetchAvailabilities","fetchStock","title","description","rating","positive","vote","ProductSelected","skuCode","competition","firstname","lastname","mobiles","customxml","terms","defaultcolorId","itemInfo","enhancedInfo","quantity","Math","round","observableList","itemsList","messages","resultMessages","cartId","CollectionAdded","deliveryPointId","DeleteAddressSuccess","adressId","SetDefaultAddressSuccess","DoNotClone","modelCopy","GetAreasForPostCodeFailed","ConvertPointsToCouponsFailure","ReloadEditControl","ReloadEditControlSuccess","reason","Reason","Plugins","RecaptcaLoaded","GoogleMapsLoaded","checkMessage","locateObserver","observers","observer","Observer","sendMessage","func","postMessage","Envelope","isAsync","messageType","checkMessageFunction","msg","Func","unsubscribe","unsubscribeAll","asyncMessageQueue","localqueue","processMessages","obj","compiledPartials","create","register","partials","partial","Key","registerPartial","Value","isRegistered","partialName","compile","compiledPartial"],"mappings":"AAwaA,SAAAA,SAAAC,YACAA,WAAAC,kBACAD,WAAAE,kBAAAC,SC1aA,ICAAC,MAAA,SAAAA,OACA,aAsBA,OApBAA,MAAAC,WAAAC,UAAAF,MAAAG,cAAAC,SAAAC,OAAAL,MAAAG,cAAA,SAAAG,UACA,IAAAC,QAAA,CACAC,IAAA,4CACAC,OAAA,OACAC,KAAAJ,SAAAK,QAAAD,KACAE,UAIA,SAAAC,UACAb,MAAAC,WAAAa,aAAAd,MAAAG,cAAA,IAAAH,MAAAG,cAAAC,SAAAW,cAAAF,YAJAG,UAOA,SAAAH,UACAb,MAAAC,WAAAa,aAAAd,MAAAG,cAAA,IAAAH,MAAAG,cAAAC,SAAAa,cAAAJ,aAGAb,MAAAkB,QAAAC,KAAAZ,WAGAP,MAvBA,ECAAA,MAAA,SAAAA,OACA,aAgPA,OA/OAA,MAAAoB,cAAA,SAAAA,eAEA,IAAAC,MACAC,kBAAA,GAEAC,yBAAA,GAwMA,SAAAC,oBAAAC,MA4BA,OA3BAA,KAAAA,MAAA,IACAC,SAAA,CACAC,KAAAN,MAAAK,SAAAC,KACAC,QAAAP,MAAAK,SAAAE,QACAC,YAAAR,MAAAK,SAAAG,YACAC,aAAAT,MAAAK,SAAAI,aACAC,qBAAAV,MAAAK,SAAAK,qBACAC,WAAAX,MAAAK,SAAAM,WACAC,aAAAZ,MAAAK,SAAAO,aACAC,WAAAb,MAAAK,SAAAQ,WACAC,WAAAd,MAAAK,SAAAS,WACAC,gBAAAf,MAAAK,SAAAU,gBACAC,oBAAAhB,MAAAK,SAAAW,oBACAC,gBAAAjB,MAAAK,SAAAY,gBACAC,qBAAAlB,MAAAK,SAAAa,qBACAC,mBAAAnB,MAAAK,SAAAc,mBACAC,YAAApB,MAAAK,SAAAe,YACAC,oBAAArB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EA,MDKA,MDkCA,MDnBA,MDAA,MDhBA,MD8CA,MD9CA,MDiBA,MDnBA,MDqGA,MDtEA,MD+HA,MDzKA,MDPA,MDoDA,MDyCA,MD3EA,MDiGA,MDjHA,MDAA,MD0JA,M3CkPA,MCzXA,MyCSA,MDaA,MDqBA,MD8EA,MDnBA,MD3FA,MDmLA,MDzIA,MDnBA,MDlEA,MD2KA,MD8sBA,MD/mBA,MDjKA,MDIA,MD8oBA,MDruBA,MDsLA,MD5KA,MD2DA,MD/EA,MDiOA,MDjOA,MDuJA,MD5BA,MDqKA,MDlOA,MDPA,MDwCA,MD2CA,MD/HA,MD+CA,MDrCA,MDfA,MDFA,MDqiBA,MD1fA,MDgKA,MDtHA,MDkIA,MDzNA","file":"vendd.system.min.js","sourcesContent":["var Vendd = (function (Vendd) {\n\t'use strict';\n\n var pending = false;\n\tvar pendingSessionStatus = true;\n\tvar pendingRedirectAfterLogin = false;\n\n\tvar getVisitorState = function getVisitorState() {\n\n\t\tvar cookie = $.cookie(\"VisitorState\");\n\n\t\tvar options = {\n\t\t\turl: 'CmsService.svc/InitVisitorState',\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tif (cookie) {\n\t\t\treturn cookie;\n\t\t} else {\n\t\t\tVendd.Service.Call(options);\n\t\t};\n\n\t\tfunction onSuccess(response) {\n\t\t\tcookie = $.cookie(\"VisitorState\");\n\n\t\t\tif (response.success && cookie) {\n\t\t\t\treturn cookie;\n\t\t\t};\n\t\t};\n\n\t\tfunction onFailure(response) {\n\t\t\tconsole.log(response);\n\t\t};\n\t};\n\n\tvar setVisitorState = function setVisitorState(cookie) {\n\n\t\tif (cookie) {\n\n\t\t\tvar oldUrl = window.location.href;\n\t\t\tvar cookieValueAsUrl = \"?\" + cookieValue;\n\n\t\t}\n\t};\n\n\tVendd.User.AuthProviders = (function (AuthProviders) {\n\t\treturn AuthProviders;\n\t})(Vendd.User.AuthProviders || {});\n\n\tvar _logoutRedirectUrl = '';\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.Login, Vendd.User, function (envelope) {\n\n\t\tvar options = {\n\t\t\turl: 'AuthService.svc/Login',\n\t\t\tdata: {\n\t\t\t\tloginName: envelope.message.data.loginName,\n\t\t\t\tpassword: envelope.message.data.password,\n\t\t\t\trememberMe: envelope.message.data.rememberMe,\n\t\t\t\treCaptchaCode: envelope.message.data.reCaptchaCode\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n function onSuccess(response) {\n if (response.success) {\n pendingRedirectAfterLogin = true;\n\n var model = JSON.parse(response.data);\n model = model ? $.extend({}, model, { LangCode: LhApp.Context.Language }) : model;\n Vendd.User.SetClientModel(model);\n\n response.loginName = envelope.message.data.loginName;\n response.password = envelope.message.data.password;\n _logoutRedirectUrl = model.LoginForm.LogoutRedirectUrl;\n\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetUserViewModelSuccess(model));\n }\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.LoginSuccess(response));\n\t\t};\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.LoginFailure(response));\n\t\t};\n\n Vendd.User.ClearClientModel();\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.ForgotPassword, Vendd.User, function (envelope) {\n\n\t\tvar options = {\n\t\t\turl: 'AuthService.svc/ForgotPassword',\n\t\t\tdata: envelope.message.data.email,\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.ForgotPasswordSuccess(response));\n\t\t};\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.ForgotPasswordFailure(response));\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.ResetPassword, Vendd.User, function (envelope) {\n\n\t\tvar options = {\n\t\t\turl: 'AuthService.svc/ResetPassword',\n\t\t\tdata: envelope.message.data,\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.ResetPasswordSuccess(response));\n\t\t};\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.ResetPasswordFailure(response));\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.Logout, Vendd.User, function (envelope) {\n\n\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.LogoutAuthProviders());\n\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.LogoutAuthProviders, Vendd.User, function (envelope) {\n\n\t\tvar logoutPromises = [];\n\n\t\t_.each(Vendd.User.AuthProviders, function (provider) {\n\t\t\tif (typeof (provider.logout) === 'function' && provider.initiated) {\n\n\t\t\t\tvar promise = $.Deferred(function (defer) {\n\t\t\t\t\tprovider.logout(function () {\n\t\t\t\t\t\tdefer.resolve();\n\t\t\t\t\t\treturn defer.promise();\n\t\t\t\t\t});\n\t\t\t\t});\n\n\t\t\t\tlogoutPromises.push(promise);\n\t\t\t}\n\t\t});\n\n\t\t$.when.apply($, logoutPromises).then(function () {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.LogoutUser());\n\t\t});\n\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.LogoutUser, Vendd.User, function (envelope) {\n\n\t\tvar options = {\n\t\t\turl: 'AuthService.svc/Logout',\n\t\t\tdata: {},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tfunction onSuccess(response) {\n\t\t\tif (response.success) {\n\t\t\t\tvar redirectUrl = _logoutRedirectUrl;\n\t\t\t\t$.cookie(\"ForceClearCartLocalStorage\", 1);\n\n\t\t\t\tif (LhApp.Context.MultipleWishlistsEnabled)\n\t\t\t\t Vendd.UserWishlist.ClearClientModel();\n\n\t\t\t\tif (redirectUrl && URI(redirectUrl).equals(document.location.pathname) === true) {\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.LogoutSuccess(response));\n\t\t\t\t} else if (redirectUrl) {\n\t\t\t\t\tdocument.location = redirectUrl;\n\t\t\t\t} else {\n\t\t\t\t\tvar baseUrl = document.location.protocol.toLowerCase() + '//' + document.location.host.toLowerCase() + '/';\n\t\t\t\t\tdocument.location = baseUrl;\n\t\t\t\t};\n }\n\n\t\t};\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.LogoutFailure(response));\n\t\t};\n\n Vendd.User.ClearClientModel();\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.Register, Vendd.User, function (envelope) {\n\n\t\tvar preventRedirect = envelope.message.data.preventRedirect;\n\n\t\tvar options = {\n\t\t\turl: 'AuthService.svc/Register',\n\t\t\tdata: envelope.message.data,\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tfunction onSuccess(response) {\n\n\t\t\tif (!response.success) return onFailure(response);\n\n\t\t\tif (response.success && response.code === \"Registration_OperationSuccesful\") {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.RegisterSuccess(response));\n\n\t\t\t\tif (!preventRedirect) {\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.LoginRedirect(envelope));\n\t\t\t\t}\n\n\t\t\t}\n\t\t};\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.RegisterFailure(response));\n\t\t};\n\n\t\tVendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.CanRegister, Vendd.User, function (envelope) {\n\n var options = {\n url: 'AuthService.svc/CanRegister',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n\n if (!response.success) return onFailure(response);\n\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.CanRegisterSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.CanRegisterFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.B2BRegister, Vendd.User, function (envelope) {\n\n\t\tvar options = {\n\t\t\turl: 'AuthService.svc/B2BRegister',\n\t\t\tdata: envelope.message.data,\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.B2BRegisterSuccess(response));\n\t\t\tif (response.success && response.code === \"Registration_OperationSuccesful\" && response.data.login) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.LoginRedirect(envelope));\n\t\t\t}\n\t\t};\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.B2BRegisterFailure(response));\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.CreateUser, Vendd.User, function (envelope) {\n\n\t\tvar options = {\n\t\t\turl: 'AuthService.svc/CreateUser',\n\t\t\tdata: envelope.message.data,\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.CreateUserSuccess(response));\n\t\t};\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.CreateUserFailure(response));\n\t\t};\n\n\t\tVendd.Service.call(options);\n });\n\n /*we are using this event which is raised after session has been checked to load the model and(if dirty clear local storage)*/\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionStateSuccess, Vendd.User, function (envelope) {\n pending = false;\n pendingSessionStatus = false;\n if (envelope.message.data.IsNewSession)\n Vendd.User.ClearClientModel();\n\n if (venddProjectConfigs.UserModelEnabled) {\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetUserViewModel());\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetUserViewModel, Vendd.User, function (envelope) {\n\n if (pending === true) {\n return false;\n };\n\n if (pendingSessionStatus) {\n pending = true;\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetSessionState());\n return false;\n }\n\n var model = Vendd.User.GetClientModel();\n\n var useModelFromLocalStorage = model && document.cookie.indexOf('ForceClearUserLocalStorage') === -1;\n if (model && !model.hasOwnProperty(\"RegisterForm\")) //VENDDTHREE-2419: structural change of model we expect this property filled || null\n useModelFromLocalStorage = false;\n\n if (useModelFromLocalStorage) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetUserViewModelSuccess(model));\n return true;\n }\n\n var options = {\n url: 'UserService.svc/GetUserViewModel' + '?lang=' + LhApp.Context.Language, //todo perikstath -> this should be resolved by the rewriter and be like /el/\n data: { templateCode: LhApp.Context.Item ? LhApp.Context.Item.Template : \"\" },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n\t\tfunction onSuccess(response) {\n\t\t model = response ? $.extend({}, response, { LangCode: LhApp.Context.Language }) : response;\n\t\t Vendd.User.SetClientModel(model);\n\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetUserViewModelSuccess(response));\n\t\t\tpending = false;\n\t\t};\n\n\t\tfunction onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetUserViewModelFailed(response));\n\n pending = false;\n\t\t};\n\n\t\t$.removeCookie('ForceClearUserLocalStorage', { path: '/' });\n\t\tpending = true;\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.QuoteSubmit, Vendd.User, function (envelope) {\n\n\t\tvar options = {\n\t\t\turl: 'AuthService.svc/QuoteSubmit',\n\t\t\tdata: {\n\t\t\t\temail: envelope.message.data.email,\n\t\t\t\tuserName: envelope.message.data.userName,\n\t\t\t\tmessage: envelope.message.data.message,\n\t\t\t\tskuId: envelope.message.data.skuId\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tfunction onSuccess(response) {\n\t\t\tif (response.success) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.QuoteSubmitSuccess(response));\n\t\t\t}\n\t\t};\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.QuoteSubmitFailure(response));\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.LoginRedirect, Vendd.User, function (envelope) {\n\n\t\tvar loginName = envelope.message.data.loginName || envelope.message.data.email || envelope.message.data.username;\n\n\t\tvar redirectUrl = envelope.message.data.redirectUrl;\n\n\t\t/*if redirect is not defined reload page */\n\t\tif (!redirectUrl) {\n\t\t\tredirectUrl = document.location.protocol.toLowerCase() + '//' + document.location.host.toLowerCase() + '/';\n\t\t}\n\n\t\tvar loginmessage = new Vendd.User.Messages.Login(loginName, envelope.message.data.password, envelope.message.data.rememberMe, redirectUrl);\n\t\tVendd.MessageBus.publishAsync(Vendd.User, loginmessage);\n\t});\n\n Vendd.User.ClearClientModel = function () {\n localStorage.removeItem('CurrentUserModel');\n };\n\n Vendd.User.GetClientModel = function () {\n var mdl = JSON.parse(localStorage.getItem(\"CurrentUserModel\"));\n\n return LhApp.Function.validateClientModel(mdl)\n ? $.extend({ IsLocalStorageCache: true }, mdl)\n : null;\n };\n\n Vendd.User.SetClientModel = function (mdl) {\n localStorage.setItem('CurrentUserModel', JSON.stringify(mdl));\n };\n\n\treturn Vendd;\n\n})(Vendd || {});\n\n\n\nfunction onSignIn(googleUser) {\n\tvar profile = googleUser.getBasicProfile();\n\tvar id_token = googleUser.getAuthResponse().id_token;\n};\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n var model = JSON.parse(localStorage.getItem(\"CurrentDeliveryPointModel\"));\n var pending = false;\n\n Vendd.MessageBus.subscribe(Vendd.DeliveryPoint.Messages.GetModel, Vendd.DeliveryPoint, function (envelope) {\n\n if (pending === true) {\n return false;\n };\n\n var options = {\n url: 'api/DeliveryPoint/GetDeliveryPointWidgetModel',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n model = response;\n localStorage.setItem('CurrentDeliveryPointModel', JSON.stringify(model));\n Vendd.MessageBus.publishAsync(Vendd.DeliveryPoint, new Vendd.DeliveryPoint.Messages.GetModelSuccess(response));\n pending = false;\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.DeliveryPoint, new Vendd.DeliveryPoint.Messages.GetModelFailed(response));\n pending = false;\n };\n\n if (model != null && model != undefined && document.cookie.indexOf('ForceClearDeliveryPointLocalStorage') == -1) {\n Vendd.MessageBus.publishAsync(Vendd.DeliveryPoint, new Vendd.DeliveryPoint.Messages.GetModelSuccess(model));\n return true;\n }\n\n $.removeCookie('ForceClearDeliveryPointLocalStorage', { path: '/' });\n pending = true;\n Vendd.Service.call(options);\n });\n\n return Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.InvoiceAccess.Messages.Submit, Vendd.InvoiceAccess, function (envelope) {\n var options = {\n url: 'api/eInvoice/GetInvoiceCheckIfOrderExists',\n method: 'POST',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.InvoiceAccess, new Vendd.InvoiceAccess.Messages.SubmitSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.InvoiceAccess, new Vendd.InvoiceAccess.Messages.SubmitFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t\"use strict\";\n\tVendd.RequestReturn = (function (RequestReturn) {\n\n\t\tvar model;\n\t\tvar observableaddress = {};\n\t\tvar editAddressOpen = false;\n\t\tvar PendingProductCollection = []\n\n\t\tVendd.MessageBus.subscribe(Vendd.RequestReturn.Messages.GetReturnRequest, Vendd.RequestReturn, function (envelope) {\n\n\t\t\tvar endpoints = {\n\t\t\t\tbyOrderInfo: \"api/RequestReturn/GetReturnRequestByOrderInfo\",\n\t\t\t\tbyGlobalId: \"api/RequestReturn/GetReturnRequestByGlobalId\"\n\t\t\t};\n\n\t\t\tvar options = {\n\t\t\t\turl: envelope.message.data.globalId ? endpoints.byGlobalId : endpoints.byOrderInfo,\n\t\t\t\tdata: envelope.message.data,\n\t\t\t\tonSuccess: onSuccess,\n\t\t\t\tonFailure: onFailure\n\t\t\t};\n\n\t\t\tfunction onSuccess(response) {\n\n\t\t\t\tif (response.success) {\n\n\t\t\t\t\tmodel = response.data;\n\t\t\t\t\t$.each(model.Return.AvailableItemForReturn, function (idx, item) {\n\t\t\t\t\t\titem = updateProductFields(item);\n\t\t\t\t\t});\n\t\t\t\t\t$.each(model.Return.ReturnItems, function (idx, item) {\n\t\t\t\t\t\titem = updateProductFields(item);\n\t\t\t\t\t});\n\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.GetReturnRequestSuccess(model));\n\t\t\t\t} else {\n\t\t\t\t\tresponse.validation = true;\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.GetReturnRequestFailure(response));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfunction onFailure(response) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.GetReturnRequestError(response));\n\t\t\t}\n\n\n\t\t\tVendd.Service.call(options);\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.RequestReturn.Messages.SaveReturnItem, Vendd.RequestReturn, function (envelope) {\n\n\t\t\tvar options = {\n\t\t\t\turl: \"api/RequestReturn/SaveReturnItem\",\n\t\t\t\tdata: envelope.message.data,\n\t\t\t\tonSuccess: onSuccess,\n\t\t\t\tonFailure: onFailure\n\t\t\t};\n\n\t\t\tfunction onSuccess(response) {\n\t\t\t\tif (response.success) {\n\t\t\t\t\tmodel.Return.ReturnItems = response.data;\n\t\t\t\t\t$.each(model.Return.ReturnItems, function (idx, item) {\n\t\t\t\t\t\titem = updateProductFields(item);\n\t\t\t\t\t});\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.SaveReturnItemSuccess(response));\n\t\t\t\t} else {\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.SaveReturnItemFailure(response));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfunction onFailure(response) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.SaveReturnItemError(response));\n\t\t\t}\n\n\t\t\tVendd.Service.call(options);\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.RequestReturn.Messages.DeleteReturnItem, Vendd.RequestReturn, function (envelope) {\n\n\t\t\tvar options = {\n\t\t\t\turl: \"api/RequestReturn/DeleteReturnItem\",\n\t\t\t\tdata: {\n\t\t\t\t\tReturnRequestGlobalId: model.Return.GlobalId,\n\t\t\t\t\tReturnItemGlobalId: envelope.message.data\n\t\t\t\t},\n\t\t\t\tonSuccess: onSuccess,\n\t\t\t\tonFailure: onFailure\n\t\t\t};\n\n\t\t\tfunction onSuccess(response) {\n\t\t\t\tif (response.success) {\n\t\t\t\t\tmodel.Return.ReturnItems = response.data;\n\t\t\t\t\t$.each(model.Return.ReturnItems, function (idx, item) {\n\t\t\t\t\t\titem = updateProductFields(item);\n\t\t\t\t\t});\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.DeleteReturnItemSuccess(response));\n\t\t\t\t} else {\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.DeleteReturnItemFailure(response));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfunction onFailure(response) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.DeleteReturnItemError(response));\n\t\t\t}\n\n\t\t\tVendd.Service.call(options);\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.RequestReturn.Messages.SubmitOrderReturn, Vendd.RequestReturn, function (envelope) {\n\t\t\tvar data = envelope.message.data;\n\t\t\tdata.OrderShippingLocation = observableaddress.GetModel();\n\t\t\tdata.GlobalId = model.Return.GlobalId;\n\n\t\t\tvar options = {\n\t\t\t\turl: \"api/RequestReturn/SubmitReturnRequest\",\n\t\t\t\tdata: data,\n\t\t\t\tonSuccess: onSuccess,\n\t\t\t\tonFailure: onFailure\n\t\t\t};\n\n\t\t\tfunction onSuccess(response) {\n\t\t\t\tif (response.success) {\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.SubmitOrderReturnSuccess(response));\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.SendReturnRequestNotification(model.Return.GlobalId));\n\t\t\t\t} else {\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.SubmitOrderReturnsFailed(response));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfunction onFailure(response) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.SubmitOrderReturnsFailed(response));\n\t\t\t}\n\n\t\t\tVendd.Service.call(options);\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.RequestReturn.Messages.SendReturnRequestNotification, Vendd.RequestReturn, function (envelope) {\n\t\t\tvar options = {\n\t\t\t\turl: \"api/RequestReturn/ReturnRequestNotification\",\n\t\t\t\tdata: { GlobalId: envelope.message.data }\n\t\t\t};\n\n\t\t\tVendd.Service.call(options);\n\t\t});\n\n\t\tVendd.RequestReturn.GetOrderInfo = function () {\n\n\t\t\tvar clonnedAddress = jQuery.extend(true, { Literals: model.Literals }, model.OrderShippingLocation);\n\t\t\tobservableaddress = new Vendd.Observable(clonnedAddress);\n\n\t\t\treturn model;\n\n\t\t};\n\n\t\tVendd.RequestReturn.GetMaxQuantityToAdd = function (orderitemid) {\n\t\t\tvar activeQuantity = _.reduce($.grep(model.Return.ReturnItems, function (x) { return x.OrderItemId === orderitemid }), function (memo, x) { return memo + x.Quantity; }, 0);\n\t\t\tvar maxQuantity = _.reduce($.grep(model.Return.AvailableItemForReturn, function (x) { return x.OrderItemId == orderitemid }), function (memo, x) { return memo + x.Quantity - x.ReturnQuantity; }, 0);\n\t\t\tvar result = maxQuantity - activeQuantity;\n\t\t\treturn result > 0 ? result : 0;\n\t\t};\n\n\t\tVendd.RequestReturn.GetProductToAdd = function (OrderitemId) {\n\t\t\tvar product = $.extend({}, _.first(_.filter(model.Return.AvailableItemForReturn, function (x) { return x.OrderItemId == OrderitemId; })));\n\t\t\tproduct.UploadServiceUrl = model.UploadServiceUrl;\n\t\t\tproduct.Quantity = 1;\n\t\t\tproduct.MaxQuantity = Vendd.RequestReturn.GetMaxQuantityToAdd(product.OrderItemId);\n\t\t\tproduct.MaxQuantityLabel = product.Literals.MaxQuantityText.replace('{{MaxQuantity}}', product.MaxQuantity);\n\t\t\treturn product;\n\t\t};\n\n\t\tVendd.RequestReturn.GetProductByGlobalId = function (globalId) {\n\t\t\tvar product = $.extend({}, _.first(_.filter(model.Return.ReturnItems, function (x) { return x.GlobalId == globalId; })))\n\t\t\tproduct.MaxQuantity = Vendd.RequestReturn.GetMaxQuantityToAdd(product.OrderItemId) + product.Quantity;\n\t\t\tproduct.MaxQuantityLabel = product.Literals.MaxQuantityText.replace('{{MaxQuantity}}', product.MaxQuantity);\n\t\t\tproduct.UploadServiceUrl = model.UploadServiceUrl;\n\t\t\treturn product;\n\t\t};\n\n\t\tVendd.RequestReturn.RemoveResource = function (rowid, resource) {\n\t\t\t$.each(PendingProductCollection, function (x, product) {\n\t\t\t\tif (x.RowId == rowid) {\n\t\t\t\t\tproduct.Resources = $.grep(product.Resources, function (x) {\n\t\t\t\t\t\treturn x.Uri == resource;\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t});\n\t\t};\n\n\t\tRequestReturn.GetObservableAddress = function () {\n\t\t\teditAddressOpen = true;\n\t\t\tvar address = observableaddress.GetModel();\n\t\t\taddress.ReadOnly = true;\n\t\t\taddress.AddressLine1 = '';\n\t\t\taddress.PostCode = '';\n\t\t\taddress.Area = '';\n\t\t\tobservableaddress = new Vendd.Observable(address);\n\t\t\treturn observableaddress;\n\t\t};\n\n\t\tRequestReturn.ResetObservableAddress = function () {\n\t\t\teditAddressOpen = false;\n\t\t\tvar clonnedAddress = jQuery.extend(true, { Literals: model.Literals }, model.OrderShippingLocation);\n\t\t\tobservableaddress = new Vendd.Observable(clonnedAddress);\n\t\t\treturn observableaddress;\n\t\t};\n\n\t\tfunction updateProductFields(item) {\n\t\t\titem = item || {};\n\t\t\titem.Literals = {\n\t\t\t\tSave: model.Literals.Save,\n\t\t\t\tSKUText: model.Literals.SKUText,\n\t\t\t\tProductText: model.Literals.ProductText,\n\t\t\t\tQuantityText: model.Literals.QuantityText,\n\t\t\t\tProductConditionText: model.Literals.ProductConditionText,\n\t\t\t\tPhotosText: model.Literals.PhotosText,\n\t\t\t\tCommentsText: model.Literals.CommentsText,\n\t\t\t\tResendText: model.Literals.ResendText,\n\t\t\t\tAttachText: model.Literals.AttachText,\n\t\t\t\tPhotosLimitText: model.Literals.PhotosLimitText,\n\t\t\t\tSelectConditionText: model.Literals.SelectConditionText,\n\t\t\t\tMaxQuantityText: model.Literals.MaxQuantityText,\n\t\t\t\tQuantityRequiredText: model.Literals.QuantityRequiredText,\n\t\t\t\tImagesRequiredText: model.Literals.ImagesRequiredText,\n\t\t\t\tResendLabel: model.Literals.ResendLabel,\n\t\t\t\tCommentsPlaceholder: model.Literals.CommentsPlaceholder,\n\t\t\t\tYesText: model.Literals.YesText,\n\t\t\t\tNoText: model.Literals.NoText,\n\t\t\t\tStatusRequiredText: model.Literals.StatusRequiredText\n\t\t\t};\n\t\t\titem.ReturnRequestGlobalId = model.Return.GlobalId;\n\t\t\titem.ReturnItemGlobalId = item.GlobalId;\n\t\t\titem.AvailableQuantityForReturn = item.Quantity - item.ReturnQuantity;\n\t\t\titem.AvailableConditions = model.Return.AvailableConditions;\n\t\t\titem.DropdownProductDescription = model.Literals.DropdownProductDescription.replace('{{ProductCode}}', item.ProductCode).replace('{{ReturnQuantity}}', item.ReturnQuantity).replace('{{Quantity}}', item.Quantity);\n\t\t\treturn item;\n\t\t}\n\n\t\treturn RequestReturn;\n\t})(Vendd.RequestReturn || {});\n\n\treturn Vendd;\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n\tvar pending = false;\n\n\tVendd.MessageBus.subscribe(Vendd.UserWishlist.Messages.GetModel, Vendd.UserWishlist, function (envelope) {\n\n\t if (pending === true) {\n\t return false;\n\t };\n\n\t function onSuccess(response) {\n\t model = response.data ? $.extend({}, response.data, { LangCode: LhApp.Context.Language }) : response.data;\n\t Vendd.UserWishlist.SetClientModel(model);\n\t Vendd.MessageBus.publishAsync(Vendd.UserWishlist, new Vendd.UserWishlist.Messages.GetModelSuccess(model));\n\n\t pending = false;\n\t }\n\n\t function onFailure(response) {\n\t Vendd.MessageBus.publishAsync(Vendd.UserWishlist, new Vendd.UserWishlist.Messages.GetModelFailed(response));\n\t }\n\n\t var options = {\n\t method: 'GET',\n\t url: 'api/Wishlist/GetUserWishlists' + '?lang=' + LhApp.Context.Language, //todo perikstath -> this should be resolved by the rewriter and be like /el/\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t if (model != null && model != undefined && Vendd.UserWishlist.GetClientModel() != null && document.cookie.indexOf('ForceClearUserWishlistsLocalStorage') == -1 && LhApp.Context.Item.Template != \"wishlist\") {\n\n\t Vendd.MessageBus.publishAsync(Vendd.UserWishlist, new Vendd.UserWishlist.Messages.GetModelSuccess(model));\n\t return true;\n\t }\n\n\t pending = true;\n\t $.removeCookie('ForceClearUserWishlistsLocalStorage', { path: '/' });\n\n\t Vendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.UserWishlist.Messages.SaveWishlist, Vendd.UserWishlist, function (envelope) {\n\n\t function onSuccess(response) {\n\t if (response.success) {\n\t Vendd.UserWishlist.ClearClientModel();\n\t Vendd.MessageBus.publishAsync(Vendd.UserWishlist, new Vendd.UserWishlist.Messages.GetModel());\n\t Vendd.MessageBus.publishAsync(Vendd.UserWishlist, new Vendd.UserWishlist.Messages.SaveWishlistSuccess());\n\t } else {\n\t Vendd.MessageBus.publishAsync(Vendd.UserWishlist, new Vendd.UserWishlist.Messages.SaveWishlistFailed(response));\n\t }\n\t }\n\n\t function onFailure(response) {\n\t Vendd.MessageBus.publishAsync(Vendd.UserWishlist, new Vendd.UserWishlist.Messages.SaveWishlistFailed(response.responseJSON));\n\t }\n\n\t var options = {\n\t method: 'PUT',\n\t data: envelope.message.data,\n\t url: 'api/Wishlist/SaveWishlist',\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t Vendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.UserWishlist.Messages.DeleteWishlist, Vendd.UserWishlist, function (envelope) {\n\n\t function onSuccess(response) {\n\t Vendd.UserWishlist.ClearClientModel();\n\t Vendd.MessageBus.publishAsync(Vendd.UserWishlist, new Vendd.UserWishlist.Messages.GetModel());\n\t }\n\n\t function onFailure(response) {\n\t Vendd.MessageBus.publishAsync(Vendd.UserWishlist, new Vendd.UserWishlist.Messages.DeleteWishlistFailed(response));\n\t }\n\n\t var options = {\n\t method: 'DELETE',\n\t data: envelope.message.data,\n\t url: 'api/Wishlist/DeleteWishlist',\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t Vendd.Service.call(options);\n\t});\n\n\n\tVendd.UserWishlist.ClearClientModel = function () {\n\t localStorage.removeItem('CurrentUserWishlistModel');\n\t};\n\n\tVendd.UserWishlist.GetClientModel = function () {\n\t var mdl = JSON.parse(localStorage.getItem(\"CurrentUserWishlistModel\"));\n\n\t return LhApp.Function.validateClientModel(mdl)\n ? $.extend({ IsLocalStorageCache: true }, mdl)\n : null;\n\t};\n\n\tVendd.UserWishlist.SetClientModel = function (mdl) {\n\t localStorage.setItem('CurrentUserWishlistModel', JSON.stringify(mdl));\n\t};\n\n\tvar model = Vendd.UserWishlist.GetClientModel();\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.Loyalty.Messages.CheckByMobile, Vendd.Loyalty, function (envelope) {\n\n var options = {\n method: 'POST',\n url: 'api/LoyaltyPoints/CheckLoyaltyExistence',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n \n if (response.data.StatusCode) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.CheckByMobileSuccess(response.data));\n }\n\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.CheckByMobileFailure(response));\n };\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.CheckByMobileFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Loyalty.Messages.SendSms, Vendd.Loyalty, function (envelope) {\n\n var options = {\n method: 'POST',\n url: 'api/LoyaltyPoints/SendSms',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n\n if (response.data.StatusCode) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.SendSmsSuccess(response.data));\n }\n\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.SendSmsFailure(response));\n };\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.SendSmsFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Loyalty.Messages.ValidateSmsCode, Vendd.Loyalty, function (envelope) {\n\n var options = {\n method: 'POST',\n url: 'api/LoyaltyPoints/ValidateSmsCode',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.ValidateSmsCodeSuccess(response.data));\n };\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.ValidateSmsCodeFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Loyalty.Messages.SubmitForm, Vendd.Loyalty, function (envelope) {\n\n var options = {\n method: 'POST',\n url: 'api/LoyaltyPoints/SubmitRegistrationForm',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.SubmitFormSuccess(response.data));\n };\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.SubmitFormFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Loyalty.Messages.GetPhoneForm, Vendd.Loyalty, function (envelope) {\n\n var options = {\n method: 'POST',\n url: 'api/LoyaltyPoints/GetPhoneFormModel',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.GetPhoneFormSuccess(response.data));\n };\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.GetPhoneFormFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Loyalty.Messages.GetRegistrationForm, Vendd.Loyalty, function (envelope) {\n\n var options = {\n method: 'POST',\n url: 'api/LoyaltyPoints/GetRegistrationFormModel',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.GetRegistrationFormSuccess(response.data));\n };\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.GetRegistrationFormFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Loyalty.Messages.SubmitContactForm, Vendd.Loyalty, function (envelope) {\n\n var options = {\n method: 'POST',\n url: 'api/LoyaltyPoints/SubmitContactForm',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.SubmitContactFormSuccess(response.data));\n };\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.SubmitContactFormFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Loyalty.Messages.ValidateCouponAndSendSms, Vendd.Loyalty, function (envelope) {\n\n var options = {\n method: 'POST',\n url: 'api/LoyaltyPoints/ValidateCouponAndSendSms',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n\n if (response.data.StatusCode) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.SendSmsSuccess(response.data));\n }\n\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.SendSmsFailure(response));\n };\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.SendSmsFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n \n Vendd.MessageBus.subscribe(Vendd.Loyalty.Messages.ApplyCoupon, Vendd.Loyalty, function (envelope) {\n\n var options = {\n method: 'POST',\n url: 'api/LoyaltyPoints/ApplyCoupon',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.ApplyCouponSuccess(response.data));\n };\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.ApplyCouponFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Loyalty.Messages.ClearCoupon, Vendd.Loyalty, function (envelope) {\n\n var options = {\n method: 'POST',\n url: 'api/LoyaltyPoints/ClearCoupon',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.ClearCouponSuccess(response.data));\n };\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.ClearCouponFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.InlineAdmin.Messages.CreateCookieForInlineAdmin, Vendd.InlineAdmin, function (envelope) {\n\n var options = {\n async: false,\n method: 'GET',\n url: 'api/InlineAdmin/CreateCookieForInlineAdmin',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n var redirectUrl = envelope.message.data.redirectUrl;\n\n function onSuccess(response) {\n if (response.data == false) {\n response.redirectUrl = envelope.message.data.redirectUrl;\n Vendd.MessageBus.publish(Vendd.InlineAdmin, new Vendd.InlineAdmin.Messages.CreateCookieForInlineAdminFailure(response, envelope.message.data.redirectUrl));\n return;\n }\n response.redirectUrl = envelope.message.data.redirectUrl;\n response.username = envelope.message.data.username;\n response.password = envelope.message.data.password;\n\n Vendd.MessageBus.publish(Vendd.InlineAdmin, new Vendd.InlineAdmin.Messages.CreateCookieForInlineAdminSuccess(response, envelope.message.data.redirectUrl));\n\n };\n\n function onFailure(response) {\n\n Vendd.MessageBus.publish(Vendd.InlineAdmin, new Vendd.InlineAdmin.Messages.CreateCookieForInlineAdminFailure(response));\n };\n\n Vendd.Service.call(options);\n\n });\n\n Vendd.MessageBus.subscribe(Vendd.InlineAdmin.Messages.CheckForInlineAdmin, Vendd.InlineAdmin, function (envelope) {\n var options = {\n method: 'POST',\n url: 'api/InlineAdmin/CheckForInlineAdmin',\n data: { \n ItemId: window.inlineAdminGlobalVariables.ItemId,\n ItemPathChecksum: window.inlineAdminGlobalVariables.ItemPathChecksum,\n ItemCode: window.inlineAdminGlobalVariables.ItemCode,\n PageTemplate: window.inlineAdminGlobalVariables.PageTemplate,\n EntityId: window.inlineAdminGlobalVariables.EntityId,\n EntityCode: window.inlineAdminGlobalVariables.EntityCode,\n IsEditable: window.inlineAdminGlobalVariables.IsEditable === 'True',\n RequestNewGuest: envelope && envelope.message && envelope.message.data && envelope.message.data.RequestNewGuest\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publish(Vendd.InlineAdmin, new Vendd.InlineAdmin.Messages.CheckForInlineAdminSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publish(Vendd.InlineAdmin, new Vendd.InlineAdmin.Messages.CheckForInlineAdminFailure(response));\n };\n\n Vendd.Service.call(options);\n\n });\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t\"use strict\";\n\tVendd.ReturnOrder = (function (ReturnOrder) {\n\t\tvar model = {};\n\t\tvar observabeItemCollection = [];\n\t\tvar observableaddress = {};\n\t\tvar BillingValidationEngine = {};\n\t\tvar editAddressOpen = false;\n\t\tvar BankInfo = {};\n\t\tReturnOrder.DeleteSelected = function () {\n\t\t\tvar deletedItemRowIds = [];\n\n\t\t\tfor (var i = observabeItemCollection.length - 1; i >= 0; i--) {\n\t\t\t\tif (observabeItemCollection[i] != undefined && observabeItemCollection[i].Delete) {\n\t\t\t\t\tdeletedItemRowIds.push.apply(deletedItemRowIds, doDeleteItem(observabeItemCollection[i]));\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn deletedItemRowIds;\n\t\t};\n\n\t\tReturnOrder.DeleteItem = function (rowId) {\n\t\t\tvar observableRows = _.filter(observabeItemCollection, function (item) {\n\t\t\t\treturn item.RowId == rowId;\n\t\t\t});\n\t\t\tif (observableRows[0]) observableRows[0].IsAdded = false;\n\t\t\treturn doDeleteItem(observableRows[0]);\n\t\t};\n\n\t\tReturnOrder.SetPayment = function (paymentType) {\n\t\t\tif (paymentType == 'coupon') {\n\n\t\t\t\t$.each(observabeItemCollection, function (idx, item) {\n\t\t\t\t\tif (item != undefined) {\n\t\t\t\t\t\titem.Credit = true;\n\t\t\t\t\t\titem.Refund = false;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t\tif (paymentType == 'bank') {\n\t\t\t\t$.each(observabeItemCollection, function (idx, item) {\n\t\t\t\t\tif (item != undefined) {\n\t\t\t\t\t\titem.Credit = false;\n\t\t\t\t\t\titem.Refund = true;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t};\n\n\t\tvar doDeleteItem = function (item, keepParent) {\n\t\t\tvar returnItemRowIds = [];\n\t\t\tif (!item) return returnItemRowIds;\n\t\t\tif (item.IsSplitted && item.GetModel().Children) {\n\n\t\t\t\tfor (var i = item.GetModel().Children.length - 1; i >= 0; i--) {\n\t\t\t\t\tif (item.GetModel().Children && item.GetModel().Children[i]) {\n\t\t\t\t\t\treturnItemRowIds.push.apply(returnItemRowIds, doDeleteItem(item.GetModel().Children[i]));\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tif (item.IsChildElement && item.GetModel() && item.GetModel().Parent && item.GetModel().Parent.GetModel() && item.GetModel().Parent.GetModel().Children) {\n\t\t\t\tvar index = item.GetModel().Parent.GetModel().Children.indexOf(item);\n\t\t\t\tif (item.GetModel().Parent.GetModel().Children[index]) {\n\t\t\t\t\titem.GetModel().Parent.GetModel().Children[index].IsAdded = false;\n\t\t\t\t\titem.GetModel().Parent.GetModel().Children[index].IsRemoved = true;\n\t\t\t\t\titem.GetModel().Parent.GetModel().Children[index].model.ReturnItemConditionId = 0;\n\t\t\t\t}\n\t\t\t\tvar activeChildren = _.filter(item.GetModel().Parent.GetModel().Children, function (x) { return !(x.IsRemoved === true); });\n\t\t\t\tif (!_.first(activeChildren)) {\n\t\t\t\t\titem.GetModel().Parent.GetModel().IsSplitted = false;\n\t\t\t\t\titem.GetModel().Parent.GetModel().ReturnItemConditionId = 0;\n\t\t\t\t\titem.GetModel().Parent.GetModel().IsRemoved = true;\n\t\t\t\t\titem.GetModel().Parent.GetModel().AvailableQuantityForReturn = item.GetModel().Parent.GetModel().Quantity - item.GetModel().Parent.GetModel().ReturnQuantity;\n\t\t\t\t\tif (!keepParent) {\n\t\t\t\t\t\treturnItemRowIds.push(item.GetModel().Parent.GetModel().RowId);\n\t\t\t\t\t\tdoDeleteItem(item.GetModel().Parent.GetModel().RowId);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\titem.GetModel().Parent.GetModel().AvailableQuantityForReturn = activeChildren.length;\n\t\t\t\t}\n\t\t\t\titem.GetModel().Parent.NotifyPropertyChanged(\"AvailableQuantityForReturn\", item.GetModel().Parent.GetModel().AvailableQuantityForReturn);\n\t\t\t}\n\t\t\tvar ind = observabeItemCollection.indexOf(item);\n\t\t\tif (observabeItemCollection[ind]) {\n\t\t\t\tobservabeItemCollection[ind].model.ReturnItemConditionId = 0;\n\t\t\t\tobservabeItemCollection[ind].IsRemoved = true;\n\t\t\t}\n\t\t\treturnItemRowIds.push(item.RowId);\n\t\t\treturn returnItemRowIds;\n\t\t};\n\n\t\tReturnOrder.UnSplit = function (rowid, keepParent) {\n\t\t\tvar observableRows = _.filter(observabeItemCollection, function (item) {\n\t\t\t\treturn item.RowId == rowid;\n\t\t\t});\n\n\t\t\tvar returnItemRowIds = [];\n\n\t\t\tvar observableRow = observableRows[0];\n\t\t\tobservableRow.IsSplitted = false;\n\t\t\tobservableRow.AvailableQuantityForReturn = observableRow.Quantity - observableRow.ReturnQuantity;\n\t\t\tobservableRow.NotifyPropertyChanged(\"AvailableQuantityForReturn\", observableRow.AvailableQuantityForReturn);\n\t\t\tif (observableRow.GetModel().Children == undefined || observableRow.GetModel().Children.length < 2) {\n\t\t\t\treturn returnItemRowIds;\n\t\t\t}\n\t\t\tfor (var i = observableRow.GetModel().Children.length - 1; i >= 0; i--) {\n\t\t\t\tif (observableRow.GetModel().Children && observableRow.GetModel().Children[i] && !observableRow.GetModel().Children[i].IsRemoved) {\n\t\t\t\t\treturnItemRowIds.push.apply(returnItemRowIds, doDeleteItem(observableRow.GetModel().Children[i], keepParent));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn returnItemRowIds;\n\t\t};\n\n\t\tReturnOrder.SelectAll = function (deleteItems) {\n\t\t\t$.each(observabeItemCollection, function (idx, item) {\n\t\t\t\tif (item != undefined) {\n\t\t\t\t\titem.Delete = deleteItems;\n\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\n\t\tReturnOrder.Split = function (rowid) {\n\n\t\t\tvar observableRows = _.filter(observabeItemCollection, function (item) {\n\t\t\t\tif (item.model.Parent && item.model.Parent.model.RowId == rowid) item.model.IsRemoved = true;\n\t\t\t\treturn item.RowId == rowid;\n\t\t\t});\n\t\t\tvar itemChildren = [];\n\t\t\tvar observableRow = observableRows[0];\n\t\t\tobservableRow.AvailableQuantityForReturn = observableRow.Quantity - observableRow.ReturnQuantity;\n\t\t\tif (observableRow.AvailableQuantityForReturn == 1) {\n\t\t\t\treturn itemChildren;\n\t\t\t}\n\t\t\tfor (var i = 0; i < observableRow.AvailableQuantityForReturn; i++) {\n\t\t\t\tvar newOrderitem = jQuery.extend(true, {}, observableRow.GetModel());\n\t\t\t\tif (newOrderitem.Children) newOrderitem.Children = null;\n\t\t\t\tnewOrderitem.Quantity = 1;\n\t\t\t\tnewOrderitem.AvailableQuantityForReturn = 1;\n\t\t\t\tnewOrderitem.IsSplitted = false;\n\t\t\t\tnewOrderitem.IsRemoved = false;\n\t\t\t\tnewOrderitem.RowId = observabeItemCollection.MaxIndex + 1;\n\t\t\t\tnewOrderitem.IsChildElement = true;\n\t\t\t\tobservabeItemCollection.MaxIndex = newOrderitem.RowId;\n\t\t\t\tnewOrderitem.AvailableConditions = {};\n\t\t\t\tdelete newOrderitem.ValidationEngine;\n\t\t\t\tvar observable = new Vendd.Observable(newOrderitem);\n\n\t\t\t\tobservable.GetModel().Parent = observableRow;\n\t\t\t\tobservable.GetModel().ValidationEngine = Vendd.ReturnOrder.CreateOrderReturnItemalidationModel(observable);\n\t\t\t\titemChildren.push(observable);\n\t\t\t\tobservabeItemCollection.push(observable);\n\t\t\t}\n\t\t\tobservableRow.GetModel().Children = itemChildren;\n\t\t\tobservableRow.GetModel().IsSplitted = true;\n\n\t\t\treturn itemChildren;\n\t\t};\n\n\t\tReturnOrder.GetReturnOrderCongfigData = function () {\n\t\t\tvar configs = {\n\t\t\t\tUploadServiceUrl: model.UploadServiceUrl\n\t\t\t};\n\t\t\treturn configs;\n\t\t}\n\n\t\tReturnOrder.GetObservableItemsCollection = function (refresh) {\n\t\t\tif (observabeItemCollection.length == 0 || refresh) {\n\t\t\t\t$.each(model.Return.AvailableItemForReturn, function (idx, item) {\n\n\t\t\t\t\titem.Literals2 = model.Return.Literals2;\n\n\t\t\t\t\tdelete item.AvailableConditions;\n\t\t\t\t\tdelete item.ValidationEngine;\n\t\t\t\t\tdelete item.CouponCodes;\n\t\t\t\t\tdelete item.Resources;\n\n\t\t\t\t\tvar vItem = jQuery.extend(\n\t\t\t\t\t\ttrue,\n\t\t\t\t\t\titem,\n\t\t\t\t\t\t{ Delete: false },\n\t\t\t\t\t\t{ RowId: idx },\n\t\t\t\t\t\t{ IsSplitted: false },\n\t\t\t\t\t\t{ IsAdded: false },\n\t\t\t\t\t\t{ IsRemoved: false },\n\t\t\t\t\t\t{ Children: null },\n\t\t\t\t\t\t{ IsChildElement: false },\n\t\t\t\t\t\t{ AvailableQuantityForReturn: item.Quantity - item.ReturnQuantity }\n\t\t\t\t\t);\n\n\t\t\t\t\tvar observable = new Vendd.Observable(vItem);\n\t\t\t\t\tobservable.GetModel().ValidationEngine = ReturnOrder.CreateOrderReturnItemalidationModel(observable)\n\t\t\t\t\tobservabeItemCollection.push(observable);\n\t\t\t\t\tobservabeItemCollection.MaxIndex = idx;\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn observabeItemCollection;\n\t\t};\n\n\t\tReturnOrder.EmptytObservableItemsCollection = function () {\n\t\t\tobservabeItemCollection = [];\n\t\t};\n\n\t\tReturnOrder.GetAvailableItemConditions = function () {\n\t\t\treturn { AvailableConditions: model.Return.AvailableConditions };\n\t\t};\n\n\t\tReturnOrder.SetResourceForItem = function (rowid, resource) {\n\t\t\tvar observableRow = _.filter(observabeItemCollection, function (item) {\n\t\t\t\treturn item.RowId == rowid;\n\t\t\t});\n\t\t\tvar item = observableRow[0].GetModel();\n\t\t\tif (item.Resources == undefined) {\n\t\t\t\titem.Resources = [];\n\t\t\t}\n\t\t\titem.Resources.push(resource);\n\t\t};\n\n\t\tReturnOrder.GetObservableAddress = function () {\n\t\t\teditAddressOpen = true;\n\t\t\tvar address = observableaddress.GetModel();\n\t\t\taddress.AddressLine1 = '';\n\t\t\taddress.PostCode = '';\n\t\t\taddress.Area = '';\n\t\t\tobservableaddress = new Vendd.Observable(address);\n\t\t\treturn observableaddress;\n\t\t};\n\n\t\tReturnOrder.ResetObservableAddress = function () {\n\t\t\teditAddressOpen = false;\n\t\t\tvar clonnedAddress = jQuery.extend(true, {}, model.OrderShippingLocation);\n\t\t\tobservableaddress = new Vendd.Observable(clonnedAddress);\n\t\t\treturn observableaddress;\n\t\t};\n\n\t\tReturnOrder.GetOrderInfo = function () {\n\t\t\tvar orderInfo = {\n\t\t\t\tRequest: {\n\t\t\t\t\tOrderInfo: model.OrderInfo,\n\t\t\t\t\tOrderShippingLocation: model.OrderShippingLocation,\n\t\t\t\t\tOrderItems: model.Return.AvailableItemForReturn,\n\t\t\t\t\tPreviousReturns: model.Return.PreviousReturns\n\t\t\t\t}\n\t\t\t};\n\t\t\tvar clonnedAddress = jQuery.extend(true, {}, model.OrderShippingLocation);\n\t\t\tobservableaddress = new Vendd.Observable(clonnedAddress);\n\n\t\t\treturn orderInfo;\n\t\t};\n\n\t\tReturnOrder.GetReturnModel = function () {\n\n\t\t\tBankInfo = new Vendd.Observable({ IBAN: \"\", Bank: \"\", Beneficiary: \"\" });\n\n\t\t\treturn BankInfo;\n\t\t};\n\n\t\tVendd.MessageBus.subscribe(\n\t\t\tVendd.ReturnOrder.Messages.SubmitOrderReturn,\n\t\t\t\"ReturnOrder\",\n\t\t\tfunction (envelope) {\n\t\t\t\tvar submitOrderItems = [];\n\t\t\t\tvar submittedItems = _.filter(observabeItemCollection, function (x) {\n\t\t\t\t\tx.model.Children = _.filter(x.model.Children, function (y) {\n\t\t\t\t\t\treturn y.IsAdded;\n\t\t\t\t\t});\n\t\t\t\t\treturn x.IsAdded == true;\n\t\t\t\t});\n\t\t\t\t$.each(submittedItems, function (idx, item) {\n\t\t\t\t\titem.model.__type = \"RequestItemViewModel:#Lighthouse.Lh3.FrontEnd.Root.Model\";\n\t\t\t\t\tif (item.IsSplitted != undefined && item.IsSplitted == false) {\n\t\t\t\t\t\titem.GetModel().Parent = undefined;\n\n\t\t\t\t\t\tvar valOptions = {\n\t\t\t\t\t\t\tValidationEngine: item.GetModel().ValidationEngine,\n\t\t\t\t\t\t\tvalmodel: item.GetModel(),\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tVendd.DataValidation.ValidateModel(valOptions);\n\n\t\t\t\t\t\tsubmitOrderItems.push(item.GetModel());\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\tif (submitOrderItems[0].Refund) {\n\n\t\t\t\t\tvar valBillOptions = {\n\t\t\t\t\t\tValidationEngine: BillingValidationEngine,\n\t\t\t\t\t\tvalmodel: BankInfo.GetModel(),\n\t\t\t\t\t};\n\t\t\t\t\tVendd.DataValidation.ValidateModel(valBillOptions);\n\t\t\t\t}\n\n\t\t\t\tif (editAddressOpen) {\n\n\t\t\t\t\tVendd.Account.ValidateObservable();\n\t\t\t\t}\n\n\t\t\t\tvar submitData = {\n\t\t\t\t\tOrderInfo: { OrderId: model.OrderInfo.OrderId },\n\t\t\t\t\tOrderShippingLocation: observableaddress.GetModel(),\n\t\t\t\t\tReturn: {\n\t\t\t\t\t\tIBAN: BankInfo.IBAN,\n\t\t\t\t\t\tBank: BankInfo.Bank,\n\t\t\t\t\t\tBeneficiary: BankInfo.Beneficiary,\n\t\t\t\t\t\tReturnItems: submitOrderItems\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\tvar options = {\n\t\t\t\t\turl: \"ReturnOrderService.svc/RequestOrderSubmit\",\n\t\t\t\t\tdata: {\n\t\t\t\t\t\tRequestReturnInfo: submitData\n\t\t\t\t\t},\n\t\t\t\t\tonSuccess: onSuccess,\n\t\t\t\t\tonFailure: onFailure\n\t\t\t\t};\n\n\t\t\t\tfunction onSuccess(response) {\n\t\t\t\t\tVendd.MessageBus.publishAsync(\n\t\t\t\t\t\t\"ReturnOrder\",\n\t\t\t\t\t\tnew Vendd.ReturnOrder.Messages.SubmitOrderReturnSuccess(response)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tfunction onFailure(response) {\n\t\t\t\t\tVendd.MessageBus.publishAsync(\n\t\t\t\t\t\t\"ReturnOrder\",\n\t\t\t\t\t\tnew Vendd.ReturnOrder.Messages.SubmitOrderReturnsFailed(response)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tVendd.Service.call(options);\n\t\t\t}\n\t\t);\n\n\n\t\tReturnOrder.CreateOrderBillingValidationModel = function (observable) {\n\n\t\t\tvar defaultValidationModel = {\n\t\t\t\tIBAN: [{ rule: \"required\" }],\n\t\t\t\tBank: [{ rule: \"required\" }],\n\t\t\t\tBeneficiary: [{ rule: \"required\" }]\n\t\t\t};\n\n\t\t\tvar valEngine = Vendd.DataValidation.BuildValidationModel(defaultValidationModel);\n\n\t\t\tvar propertyChanging = function propertyChanging(data, propertyName, value) {\n\n\t\t\t\tvar valOptions = {\n\t\t\t\t\tValidationEngine: valEngine,\n\t\t\t\t\tPropertyName: propertyName,\n\t\t\t\t\tPropertyValue: value\n\t\t\t\t};\n\t\t\t\tVendd.DataValidation.Validate(valOptions);\n\t\t\t};\n\n\t\t\tvar customReturnValidationModel = ({\n\t\t\t\tIBAN: [{ rule: \"isIbanCorrect\" }],\n\n\t\t\t});\n\n\t\t\tvar isIbanCorrect = function (value) {\n\t\t\t\tif (value.length > 27 || value.length < 27) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t};\n\n\t\t\tvalEngine.addOrUpdateValidationRule('isIbanCorrect', isIbanCorrect, 'Iban must be Shorter than 27 characters');\n\t\t\tvalEngine.updateValidationModel(customReturnValidationModel);\n\n\t\t\tobservable.AddListenerToPropertyChanging('IBAN', propertyChanging);\n\t\t\tobservable.AddListenerToPropertyChanging('Bank', propertyChanging);\n\t\t\tobservable.AddListenerToPropertyChanging('Beneficiary', propertyChanging);\n\t\t\tBillingValidationEngine = valEngine;\n\t\t\treturn BillingValidationEngine;\n\t\t};\n\n\t\tReturnOrder.DestroyBillingValidationModel = function (observable) {\n\n\t\t}\n\n\t\tReturnOrder.CreateOrderReturnItemalidationModel = function (observable) {\n\n\t\t\tvar defaultValidationModel = {\n\t\t\t\tReturnItemConditionId: [{ rule: \"required\" }],\n\n\t\t\t};\n\n\t\t\tvar valEngine = Vendd.DataValidation.BuildValidationModel(defaultValidationModel);\n\n\t\t\tvar customReturnValidationModel = ({\n\t\t\t\tReturnItemConditionId: [{ rule: \"IsPhotoRequired\" }, { rule: \"mustHaveCondition\" }],\n\n\t\t\t});\n\n\t\t\tvar mustHaveCondition = function (value) {\n\t\t\t\tif (value == 0) {\n\t\t\t\t\treturn false\n\t\t\t\t}\n\n\t\t\t\treturn true;\n\t\t\t};\n\n\t\t\tvar IsPhotoRequired = function (value) {\n\t\t\t\tif (value == 5 || value == 0 || value == 4) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (observable.GetModel().Resources != undefined && observable.GetModel().Resources.length > 0) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t};\n\n\t\t\tvalEngine.addOrUpdateValidationRule('IsPhotoRequired', IsPhotoRequired, 'This Condition is requires an Image');\n\t\t\tvalEngine.addOrUpdateValidationRule('mustHaveCondition', mustHaveCondition, 'All items must have a condition');\n\n\t\t\tvalEngine.updateValidationModel(customReturnValidationModel);\n\n\t\t\treturn valEngine;\n\t\t};\n\n\n\t\tVendd.MessageBus.subscribe(\n\t\t\tVendd.ReturnOrder.Messages.GetRequestReturn,\n\t\t\t\"ReturnOrder\",\n\t\t\tfunction (envelope) {\n\t\t\t\tvar options = {\n\t\t\t\t\turl: \"ReturnOrderService.svc/GetReturnRequestOrderData\",\n\t\t\t\t\tdata: {\n\t\t\t\t\t\torderid: envelope.message.data\n\t\t\t\t\t},\n\t\t\t\t\tonSuccess: onSuccess,\n\t\t\t\t\tonFailure: onFailure\n\t\t\t\t};\n\n\t\t\t\tfunction onSuccess(response) {\n\t\t\t\t\tmodel = response;\n\t\t\t\t\tVendd.MessageBus.publishAsync(\n\t\t\t\t\t\t\"ReturnOrder\",\n\t\t\t\t\t\tnew Vendd.ReturnOrder.Messages.GetRequestReturnSuccess(response)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tfunction onFailure(response) {\n\t\t\t\t\tVendd.MessageBus.publishAsync(\n\t\t\t\t\t\t\"ReturnOrder\",\n\t\t\t\t\t\tnew Vendd.ReturnOrder.Messages.GetRequestReturnFailure(response)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tVendd.Service.call(options);\n\t\t\t}\n\t\t);\n\n\t\tVendd.MessageBus.subscribe(\n\t\t\tVendd.ReturnOrder.Messages.ValidateOrderContactInfo,\n\t\t\t\"ReturnOrder\",\n\t\t\tfunction (envelope) {\n\t\t\t\tvar options = {\n\t\t\t\t\turl: \"ReturnOrderService.svc/ValidateOrderContactInfo\",\n\t\t\t\t\tdata: envelope.message.data,\n\t\t\t\t\tonSuccess: onSuccess,\n\t\t\t\t\tonFailure: onFailure\n\t\t\t\t};\n\n\t\t\t\tfunction onSuccess(response) {\n\t\t\t\t\tmodel = response;\n\t\t\t\t\tif (response.d == 0) {\n\t\t\t\t\t\tVendd.MessageBus.publishAsync(\n\t\t\t\t\t\t\t\"ReturnOrder\",\n\t\t\t\t\t\t\tnew Vendd.ReturnOrder.Messages.GetReturnRequestValidationFormModelFailure(\n\t\t\t\t\t\t\t\tresponse\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tVendd.MessageBus.publishAsync(\n\t\t\t\t\t\t\t\"ReturnOrder\",\n\t\t\t\t\t\t\tnew Vendd.ReturnOrder.Messages.ValidateOrderContactInfoSuccess(\n\t\t\t\t\t\t\t\tresponse\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfunction onFailure(response) {\n\t\t\t\t\tVendd.MessageBus.publishAsync(\n\t\t\t\t\t\t\"ReturnOrder\",\n\t\t\t\t\t\tnew Vendd.ReturnOrder.Messages.ValidateOrderContactInfoFailure(\n\t\t\t\t\t\t\tresponse\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tVendd.Service.call(options);\n\t\t\t}\n\t\t);\n\n\t\tVendd.MessageBus.subscribe(\n\t\t\tVendd.ReturnOrder.Messages.GetReturnRequestValidationFormModel,\n\t\t\t\"ReturnOrder\",\n\t\t\tfunction (envelope) {\n\t\t\t\tvar options = {\n\t\t\t\t\turl: \"ReturnOrderService.svc/GetReturnRequestValidationFormModel\",\n\t\t\t\t\tdata: envelope.message.data,\n\t\t\t\t\tonSuccess: onSuccess,\n\t\t\t\t\tonFailure: onFailure\n\t\t\t\t};\n\n\t\t\t\tfunction onSuccess(response) {\n\t\t\t\t\tmodel = response;\n\t\t\t\t\tVendd.MessageBus.publishAsync(\n\t\t\t\t\t\t\"ReturnOrder\",\n\t\t\t\t\t\tnew Vendd.ReturnOrder.Messages.GetReturnRequestValidationFormModelSuccess(\n\t\t\t\t\t\t\tresponse\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tfunction onFailure(response) {\n\t\t\t\t\tVendd.MessageBus.publishAsync(\n\t\t\t\t\t\t\"ReturnOrder\",\n\t\t\t\t\t\tnew Vendd.ReturnOrder.Messages.GetReturnRequestValidationFormModelFailure(\n\t\t\t\t\t\t\tresponse\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tVendd.Service.call(options);\n\t\t\t}\n\t\t);\n\n\t\tVendd.MessageBus.subscribe(\n\t\t\tVendd.ReturnOrder.Messages.GetReturnedOrdersModel,\n\t\t\t\"ReturnedOrder\",\n\t\t\tfunction (envelope) {\n\t\t\t\tvar options = {\n\t\t\t\t\turl: \"ReturnOrderService.svc/GetUserReturnRequests\",\n\t\t\t\t\tdata: envelope.message.data,\n\t\t\t\t\tonSuccess: onSuccess,\n\t\t\t\t\tonFailure: onFailure\n\t\t\t\t};\n\n\t\t\t\tfunction onSuccess(response) {\n\t\t\t\t\tmodel = response;\n\t\t\t\t\tVendd.MessageBus.publishAsync(\n\t\t\t\t\t\t\"ReturnedOrder\",\n\t\t\t\t\t\tnew Vendd.ReturnOrder.Messages.GetReturnedOrdersModelSuccess(\n\t\t\t\t\t\t\tresponse\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tfunction onFailure(response) {\n\t\t\t\t\tVendd.MessageBus.publishAsync(\n\t\t\t\t\t\t\"ReturnedOrder\",\n\t\t\t\t\t\tnew Vendd.ReturnOrder.Messages.GetReturnedOrdersModelFailure(\n\t\t\t\t\t\t\tresponse\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tVendd.Service.call(options);\n\t\t\t}\n\t\t);\n\n\t\treturn ReturnOrder;\n\t})(Vendd.ReturnOrder || {});\n\n\treturn Vendd;\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n\t'use strict';\n\n\tVendd.MessageBus.subscribe(Vendd.Export.Messages.GetListingExport, Vendd.Export, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Export, new Vendd.Export.Messages.GetListingExportSuccess(response));\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Export, new Vendd.Export.Messages.GetListingExportFailure(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'ExportService.svc/GetListingExport',\n\t\t\tdata: {\n\t\t\t\texportCode: envelope.message.data.exportCode,\n\t\t\t\tlistingId: envelope.message.data.listingId\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\treturn Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.SpeedexTrackTrace.Messages.GetSpeedexTrackTraceModel, Vendd.SpeedexTrackTrace, function (envelope) {\n \n var options = {\n url: 'SpeedexTrackTraceService.svc/GetSpeedexTrackTraceViewModel',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.SpeedexTrackTrace, new Vendd.SpeedexTrackTrace.Messages.GetSpeedexTrackTraceModelSuccess(response));\n\n };\n \n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.SpeedexTrackTrace, new Vendd.SpeedexTrackTrace.Messages.GetSpeedexTrackTraceModelFailure(response));\n };\n\n Vendd.Service.call(options);\n\n return;\n\n });\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n\n var model = null;\n var pending = false;\n\n Vendd.MessageBus.subscribe(Vendd.FilterProduct.Messages.GetModel, Vendd.FilterProduct, function(envelope) {\n if (pending === true) {\n return false;\n };\n var configuration = JSON.parse(envelope.message.data);\n pending = true;\n function onSuccess(response) {\n model = response;\n\n Vendd.MessageBus.publishAsync(Vendd.FilterProduct, new Vendd.FilterProduct.Messages.Changed(model));\n\n pending = false;\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.FilterProduct, new Vendd.FilterProduct.Messages.Failed(response));\n }\n\n var options = {\n url: 'AdapterService.svc/GetData' + (location.search),\n data: {\n serviceConfiguration: JSON.stringify(configuration)\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n\n return true;\n });\n\n \n \n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n\n Vendd.HandleItemStatistics = function () {\n\n var itemStatisticsDataArray = [];\n\n $('.x-control[data-manipulate-stats=\"true\"]').each(function (i, control) {\n\n var $control = $(control);\n var itemId = $control.data('stats-itemid');\n var action = $control.data('stats-action');\n var data = { ItemId: itemId, Action: action };\n\n if ($.inArray(data, itemStatisticsDataArray) == -1)\n itemStatisticsDataArray.push(data);\n });\n\n if (itemStatisticsDataArray.length > 0) {\n var options = {\n url: 'StatsService.svc/ManipulateItemStatistics',\n data:\n {\n data: itemStatisticsDataArray\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n Vendd.Service.call(options);\n }\n\n function onSuccess(response) {\n \n }\n\n function onFailure(response) {\n \n }\n };\n\n Vendd.HandleProductStatistics = function () {\n\n var productStatisticsDataArray = [];\n\n $('.x-control[data-manipulate-stats=\"true\"]').each(function (i, control) {\n\n var $control = $(control);\n var productId = $control.data('stats-productid');\n var action = $control.data('stats-action');\n var data = { SkuId: productId, Action: action };\n\n if ($.inArray(data, productStatisticsDataArray) == -1)\n productStatisticsDataArray.push(data);\n });\n\n if (productStatisticsDataArray.length > 0) {\n var options = {\n url: 'StatsService.svc/ManipulateProductStatistics',\n data:\n {\n data: productStatisticsDataArray\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n Vendd.Service.call(options);\n }\n\n function onSuccess(response) {\n\n }\n\n function onFailure(response) {\n\n }\n };\n\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.LazyProductList.Messages.GetLazyProductList, Vendd.LazyProductList, function (envelope) {\n \n var options = {\n url: 'LazyProductListService.svc/GetLazyProductList',\n data: envelope.message.data.serviceConfiguration,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n \n if (response && !response.d) { \n var model = response;\n Vendd.MessageBus.publishAsync(Vendd.LazyProductList, new Vendd.LazyProductList.Messages.LazyProductListSuccess(model));\n }\n\n Vendd.MessageBus.publishAsync(Vendd.LazyProductList, new Vendd.LazyProductList.Messages.LazyProductListFailure());\n };\n \n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.LazyProductList, new Vendd.LazyProductList.Messages.LazyProductListFailure(response));\n };\n\n Vendd.Service.call(options);\n\n return;\n\n });\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t'use strict';\n\n\tvar model = null;\n\tvar pending = false;\n\n\n\tVendd.MessageBus.subscribe(Vendd.UserSelect.Messages.SubmitSetInterfaceUser, Vendd.UserSelect, function (envelope) {\n\t var options = {\n\t url: 'AuthService.svc/SetInterfaceUser',\n\t data:\n {\n loginName: envelope.message.data.model.LoginName\n },\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t function onSuccess(response) {\n\t if (response.success === true) {\n\t Vendd.MessageBus.publishAsync(Vendd.UserSelect, new Vendd.UserSelect.Messages.SubmitSetInterfaceUserSuccess(response));\n\t } else {\n\t Vendd.MessageBus.publishAsync(Vendd.UserSelect, new Vendd.UserSelect.Messages.SubmitSetInterfaceUserFailure(response));\n\t }\n\t };\n\n\t function onFailure(response) {\n\t Vendd.MessageBus.publishAsync(Vendd.UserSelect, new Vendd.UserSelect.Messages.SubmitSetInterfaceUserFailure(response));\n\t };\n\n\t Vendd.Service.call(options);\n\t });\n\n\tVendd.MessageBus.subscribe(Vendd.UserSelect.Messages.ClearInterfaceUser, Vendd.UserSelect, function (envelope) {\n\t var options = {\n\t url: 'AuthService.svc/ClearInterfaceUser',\n\t data: { },\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t function onSuccess(response) {\n\t if (response.success === true) {\n\t Vendd.MessageBus.publishAsync(Vendd.UserSelect, new Vendd.UserSelect.Messages.ClearInterfaceUserSuccess(response));\n\t } else {\n\t Vendd.MessageBus.publishAsync(Vendd.UserSelect, new Vendd.UserSelect.Messages.ClearInterfaceUserFailure(response));\n\t }\n\t };\n\n\t function onFailure(response) {\n\t Vendd.MessageBus.publishAsync(Vendd.UserSelect, new Vendd.UserSelect.Messages.ClearInterfaceUserFailure(response));\n\t };\n\n\t Vendd.Service.call(options);\n\t });\n\n\tVendd.MessageBus.subscribe(Vendd.UserSelect.Messages.SearchUsers, Vendd.UserSelect, function (envelope) {\n\t var options = {\n\t url: 'AuthService.svc/SearchUsers',\n\t data: {\n\t minChars: envelope.message.data.model.MinChars,\n\t maxHeight: envelope.message.data.model.MaxHeight,\n\t zIndex: envelope.message.data.model.ZIndex,\n\t deferRequestBy: envelope.message.data.model.DeferRequestBy,\n\t noCache: envelope.message.data.model.NoCache,\n\t onSelect: envelope.message.data.model.OnSelect\n\t },\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t function onSuccess(response) {\n\t if (response.success === true) {\n\t Vendd.MessageBus.publishAsync(Vendd.UserSelect, new Vendd.UserSelect.Messages.SearchUsersSuccess(response));\n\t } else {\n\t Vendd.MessageBus.publishAsync(Vendd.UserSelect, new Vendd.UserSelect.Messages.SearchUsersFailure(response));\n\t }\n\t };\n\n\t function onFailure(response) {\n\t Vendd.MessageBus.publishAsync(Vendd.UserSelect, new Vendd.UserSelect.Messages.SearchUsersFailure(response));\n\t };\n\n\t Vendd.Service.call(options);\n\t });\n\n\tVendd.UserSelect.CreateUserSelect = function (wrapper) {\n\n\t var userSelectInfo = {\n\t LoginName: ''\n\t };\n\n\t var observable = new Vendd.Observable(userSelectInfo);\n\n\t Vendd.Databinding.CreateControlDatabindings(wrapper, observable);\n\t observable.valEngine = Vendd.UserSelect.CreateDefaultSetInterfaceUserValidationModel(observable);\n\n\t return observable;\n\t };\n\n\tVendd.UserSelect.CreateDefaultSetInterfaceUserValidationModel = function (observable) {\n\n\t var defaultValidationModel = ({\n\t LoginName: [{ rule: \"required\" }, { rule: \"isEmail\" }]\n\t });\n\n\t var valEngine = Vendd.DataValidation.BuildValidationModel(defaultValidationModel);\n\n\t var propertyChanging = function propertyChanging(data, propertyName, value) {\n\n\t var valOptions = {\n\t ValidationEngine: valEngine,\n\t PropertyName: propertyName,\n\t PropertyValue: value\n\t };\n\t Vendd.DataValidation.Validate(valOptions);\n\t };\n\n\t observable.AddListenerToPropertyChanging('LoginName', propertyChanging);\n\t return valEngine;\n\t };\n\n\tVendd.MessageBus.subscribe(Vendd.UserSelect.Messages.SubmitSetInterfaceUserInlineAdmin, Vendd.UserSelect, function (envelope) {\n\t var options = {\n\t url: 'AuthService.svc/SetInterfaceUser',\n\t data: {\n\t loginName: envelope.message.data.model.LoginName\n\t },\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t function onSuccess(response) {\n\t if (response.success === true) {\n\t Vendd.MessageBus.publishAsync(Vendd.UserSelect, new Vendd.UserSelect.Messages.SubmitSetInterfaceUserSuccess(response));\n\n\t if (envelope.message.data.model.RedirectToAccount) {\n\t var redirectUrl = LhApp.Context.OrdersHistoryUrl; \n\n\t if (envelope.message.data.model.OrderId) { \n\t redirectUrl = LhApp.Function.Url.setParameterValueOnUrl(redirectUrl, \"oIds\", envelope.message.data.model.OrderId);\n\t }\n\t window.location.href = redirectUrl;\n\t } else {\n\t location.reload();\n\t }\n\n\t } else {\n\t Vendd.MessageBus.publishAsync(Vendd.UserSelect, new Vendd.UserSelect.Messages.SubmitSetInterfaceUserFailure(response));\n\t }\n\t };\n\n\t function onFailure(response) {\n\t Vendd.MessageBus.publishAsync(Vendd.UserSelect, new Vendd.UserSelect.Messages.SubmitSetInterfaceUserFailure(response));\n\t };\n\n\t Vendd.Service.call(options);\n\t});\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.Order.Messages.SubmitRequestOrderChange, Vendd.Order, function (envelope) {\n var options = {\n url: 'AuthService.svc/RequestOrderChange',\n data:\n {\n email: envelope.message.data.model.Email,\n code: envelope.message.data.model.OrderCode\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n if (response.success === true) {\n Vendd.MessageBus.publishAsync(Vendd.Order, new Vendd.Order.Messages.SubmitRequestOrderChangeSuccess(response));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.Order, new Vendd.Order.Messages.SubmitRequestOrderChangeFailure(response));\n }\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Order, new Vendd.Order.Messages.SubmitRequestOrderChangeFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Order.Messages.CancelUncompletedOrder, Vendd.Order, function (envelope) {\n function onSuccess(response) {\n if (response.success) {\n Vendd.MessageBus.publishAsync(Vendd.Order, new Vendd.Order.Messages.CancelUncompletedOrderSuccess(response));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.Order, new Vendd.Order.Messages.CancelUncompletedOrderFailed(response));\n };\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Order, new Vendd.Order.Messages.CancelUncompletedOrderFailed(response));\n }\n\n var options = {\n url: 'EcomService.svc/CancelUncompletedOrder',\n data: {\n orderId: envelope.message.data.orderId\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Order.Messages.ReturnOrderItem, Vendd.Order, function (envelope) {\n function onSuccess(response) {\n if (response.success) {\n Vendd.MessageBus.publishAsync(Vendd.Order, new Vendd.Order.Messages.ReturnOrderItemSuccess(response));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.Order, new Vendd.Order.Messages.ReturnOrderItemFailed(response));\n };\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Order, new Vendd.Order.Messages.ReturnOrderItemFailed(response));\n }\n\n var options = {\n url: 'EcomService.svc/ReturnOrderItem',\n data: {\n orderItemId: envelope.message.data.orderItemId\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.Order.CreateChangeOrder = function () {\n\n var changeOrderInfo = {\n Email: '',\n OrderCode: ''\n };\n\n\n var observable = new Vendd.Observable(changeOrderInfo);\n return observable;\n };\n\n Vendd.Order.CreateDefaultChangeOrderValidationModel = function (observable) {\n\n var defaultValidationModel = ({\n Email: [{ rule: \"required\" }, { rule: \"isEmail\" }],\n OrderCode: [{ rule: \"required\" }]\n });\n\n var valEngine = Vendd.DataValidation.BuildValidationModel(defaultValidationModel);\n\n var propertyChanging = function propertyChanging(data, propertyName, value) {\n\n var valOptions = {\n ValidationEngine: valEngine,\n PropertyName: propertyName,\n PropertyValue: value\n };\n Vendd.DataValidation.Validate(valOptions);\n };\n\n observable.AddListenerToPropertyChanging('Email', propertyChanging);\n observable.AddListenerToPropertyChanging('OrderCode', propertyChanging);\n return valEngine;\n };\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.CallMeBack.Messages.Submit, Vendd.CallMeBack, function (envelope) {\n var options = {\n url: 'CallMeBackService.svc/SubmitCallMeBackRequest',\n data:\n {\n info: envelope.message.data.model\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n if (response.success) {\n Vendd.MessageBus.publishAsync(Vendd.CallMeBack, new Vendd.CallMeBack.Messages.SubmitSuccess(response));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.CallMeBack, new Vendd.CallMeBack.Messages.SubmitFailure(response));\n }\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.CallMeBack, new Vendd.CallMeBack.Messages.SubmitFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.CallMeBack.CreateCallMeBackInfo = function () {\n\n var callMeBackInfo = {\n Email: '',\n FirstName: '',\n LastName: '',\n Phone: '',\n Message: '',\n Source: ''\n };\n\n\n var observable = new Vendd.Observable(callMeBackInfo);\n return observable;\n };\n\n Vendd.CallMeBack.CreateDefaultCallMeBackInfoValidationModel = function (observable) {\n\n\n\n var defaultValidationModel = ({\n FirstName: [{ rule: \"required\" }],\n LastName: [{ rule: \"required\" }],\n Email: [{ rule: \"required\" }, { rule: \"isEmail\" }],\n Phone: [{ rule: \"required\" }, { rule: \"isNumeric\" }]\n });\n\n var valEngine = Vendd.DataValidation.BuildValidationModel(defaultValidationModel);\n\n var propertyChanging = function propertyChanging(data, propertyName, value) {\n\n var valOptions = {\n ValidationEngine: valEngine,\n PropertyName: propertyName,\n PropertyValue: value\n };\n Vendd.DataValidation.Validate(valOptions);\n };\n\n observable.AddListenerToPropertyChanging('FirstName', propertyChanging);\n observable.AddListenerToPropertyChanging('LastName', propertyChanging);\n observable.AddListenerToPropertyChanging('Email', propertyChanging);\n observable.AddListenerToPropertyChanging('Phone', propertyChanging);\n observable.AddListenerToPropertyChanging('Message', propertyChanging);\n return valEngine;\n };\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.Career.Messages.Submit, Vendd.Career, function (envelope) {\n var options = {\n url: 'JobApplicationService.svc/SubmitCv',\n data:\n {\n info: envelope.message.data.model\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n if (response.success) {\n Vendd.MessageBus.publishAsync(Vendd.Career, new Vendd.Career.Messages.SubmitSuccess(response));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.Career, new Vendd.Career.Messages.SubmitFailure(response));\n }\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Career, new Vendd.Career.Messages.SubmitFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.Career.CreateApplicantInfo = function (selectedJob, selectedJobId) {\n\n var newApplicantInfo = {\n Email: '',\n FirstName: '',\n LastName: '',\n Phone: '',\n Message: '',\n JobTitle: selectedJob,\n JobId: selectedJobId,\n CvFileUploaded: '',\n Agreement: false\n };\n\n\n var observable = new Vendd.Observable(newApplicantInfo);\n return observable;\n };\n\n Vendd.Career.CreateDefaultJobInfoValidationModel = function (observable) {\n\n var defaultValidationModel = ({\n FirstName: [{ rule: \"required\" }],\n LastName: [{ rule: \"required\" }],\n Email: [{ rule: \"required\" }, { rule: \"isEmail\" }],\n Phone: [{ rule: \"required\" }, { rule: \"isNumeric\" }],\n JobTitle: [{ rule: \"required\" }],\n CvFileUploaded: [{ rule: \"required\" }],\n Agreement: [{ rule: \"required\" }, { rule: \"match\", Parameters: [true] }]\n });\n\n var valEngine = Vendd.DataValidation.BuildValidationModel(defaultValidationModel);\n\n var propertyChanging = function propertyChanging(data, propertyName, value) {\n\n var valOptions = {\n ValidationEngine: valEngine,\n PropertyName: propertyName,\n PropertyValue: value\n };\n Vendd.DataValidation.Validate(valOptions);\n };\n\n observable.AddListenerToPropertyChanging('FirstName', propertyChanging);\n observable.AddListenerToPropertyChanging('LastName', propertyChanging);\n observable.AddListenerToPropertyChanging('Email', propertyChanging);\n observable.AddListenerToPropertyChanging('Phone', propertyChanging);\n observable.AddListenerToPropertyChanging('Message', propertyChanging);\n observable.AddListenerToPropertyChanging('JobTitle', propertyChanging);\n observable.AddListenerToPropertyChanging('JobId', propertyChanging);\n observable.AddListenerToPropertyChanging('Agreement', propertyChanging);\n return valEngine;\n };\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function(Vendd) {\n 'use strict';\n\n Vendd.DatabindingTypes = (function (DatabindingTypes) {\n\n DatabindingTypes.DataMember = \"dataMember\";\n DatabindingTypes.DataShow = \"dataShow\";\n\n return DatabindingTypes;\n\n })(Vendd.DatabindingTypes || {});\n\n Vendd.Databinding = (function(Databinding) {\n\n var bindings = [];\n\n Databinding.CreateControlDatabindings = function(wrapper, data) {\n\n var controlDatabindings = Vendd.DatabindingHelpers.ResolveControlDatabinding(wrapper, data);\n\n Databinding.BindControls(controlDatabindings);\n };\n\n Databinding.DestroyControlDatabindings = function (wrapper, data) {\n\n var controlDatabindings = Vendd.DatabindingHelpers.ResolveControlDatabinding(wrapper, data);\n\n Databinding.UnbindControls(controlDatabindings);\n };\n\n Databinding.BindControls = function(controlDataProperty) {\n if (controlDataProperty && Array.isArray(controlDataProperty)) {\n for (var i = 0; i < controlDataProperty.length; i++) {\n var cdp = controlDataProperty[i];\n\n var control = cdp.Control;\n var data = cdp.Data;\n var propertyName = cdp.PropertyName;\n var type = cdp.Type;\n\n if (!control && !data && !propertyName) continue;\n\n Databinding.BindControl(control, data, propertyName, type);\n }\n }\n };\n\n Databinding.UnbindControls = function(controlDataProperty) {\n if (controlDataProperty && Array.isArray(controlDataProperty)) {\n for (var i = 0; i < controlDataProperty.length; i++) {\n var cdp = controlDataProperty[i];\n\n var control = cdp.Control;\n var data = cdp.Data;\n var propertyName = cdp.PropertyName;\n var type = cdp.Type;\n\n if (!control && !data && !propertyName) continue;\n\n Databinding.UnbindControl(control, data, propertyName, type);\n }\n }\n };\n\n Databinding.BindControl = function (control, data, propertyName, type) {\n if (control && typeof control === 'object') {\n\n var pos = Vendd.DatabindingHelpers.FindBinding(control, data, propertyName, type);\n var binding = (pos === -1) ? Vendd.DatabindingHelpers.CreateBinding(control, data, propertyName, type, bindings) : bindings[pos];\n\n binding.Event = Vendd.DatabindingEvents.ControlChanged;\n\n if (data instanceof Vendd.Observable) {\n data.AddListenerToPropertyChanged(propertyName, Vendd.DatabindingEvents.PropertyChanged);\n }\n\n var eventCode = Vendd.DatabindingHelpers.GetEventCode(control);\n var value = data[propertyName];\n\n // we must use jQuery to bind the events because jQuery hooks on change event globally per control and disables our handlers unless we use his API\n switch (binding.Type)\n {\n case Vendd.DatabindingTypes.DataMember:\n $(control).unbind(eventCode, binding.Event);\n Vendd.Control.SetValue(control, value);\n $(control).bind(eventCode, binding.Event);\n break;\n case Vendd.DatabindingTypes.DataShow:\n Vendd.Control.SetVisibility(control, value);\n break;\n }\n };\n };\n\n Databinding.UnbindControl = function (control, data, propertyName, type) {\n if (control && typeof control === 'object') {\n var pos = Vendd.DatabindingHelpers.FindBinding(control, data, propertyName, type);\n if (pos === -1)\n return;\n\n var event = bindings[pos].Event;\n bindings.splice(pos, 1);\n\n var indexes = Vendd.DatabindingHelpers.FindControlBindings(control);\n if (indexes.length === 0) {\n\n var eventCode = Vendd.DatabindingHelpers.GetEventCode(control);\n\n if (control.addEventListener) {\n control.removeEventListener(eventCode, event);\n } else {\n control.detachEvent(eventCode, event);\n };\n\n };\n };\n };\n\n Databinding.GetCurrentBindings = function getCurrentBindings() {\n return bindings;\n };\n\n return Databinding;\n\n })(Vendd.Databinding || {});\n\n Vendd.DatabindingHelpers = (function (DatabindingHelpers) {\n\n DatabindingHelpers.GetEventCode = function (control) {\n if (typeof ($(control).data(\"event\")) == \"string\") {\n\n return $(control).data(\"event\");\n }\n var controlType = Vendd.Control.GetType(control);\n\n switch (controlType) {\n default:\n return 'change';\n }\n };\n\n DatabindingHelpers.FindBinding = function findBinding(control, data, propertyName, type) {\n\n var bindings = Vendd.Databinding.GetCurrentBindings();\n\n if (typeof control === 'object') {\n for (var i = 0; i < bindings.length; i++) {\n if (bindings[i].Control === control &&\n bindings[i].Data === data &&\n bindings[i].Type === type &&\n bindings[i].PropertyName === propertyName)\n return i;\n };\n };\n\n return -1;\n };\n\n DatabindingHelpers.FindControlBindings = function findControlBindings(control) {\n var res = [];\n\n var bindings = Vendd.Databinding.GetCurrentBindings();\n\n if (typeof control === 'object') {\n for (var i = 0; i < bindings.length; i++) {\n if (bindings[i].Control === control)\n res.push(i);\n };\n };\n\n return res;\n };\n\n DatabindingHelpers.FindPropertyBindings = function findPropertyBindings(data, propertyName, forceUpdate) {\n\n if (forceUpdate === null || typeof(forceUpdate) != \"boolean\")\n forceUpdate = false;\n\n var bindings = Vendd.Databinding.GetCurrentBindings();\n var res = [];\n\n if (typeof data === 'object' && typeof propertyName === 'string') {\n for (var i = 0; i < bindings.length; i++) {\n if (bindings[i].Data === data && bindings[i].PropertyName === propertyName)\n res.push(i);\n };\n };\n\n return res;\n };\n\n DatabindingHelpers.CreateBinding = function createBinding(control, data, propertyName, type, bindings) {\n var binding = {\n Control: control,\n Data: data,\n PropertyName: propertyName,\n Type: type,\n Event: null\n };\n bindings.push(binding);\n\n return binding;\n };\n\n DatabindingHelpers.ResolveControlDatabinding = function(wrapper, data) {\n\n var controlDatabindings = [];\n\n if (!data) \n return controlDatabindings;\n\n $('*[data-member]', wrapper).each(function (i, dataMemberControl) {\n\n var $dataMemberControl = $(dataMemberControl);\n\n var dataMemberPath = $dataMemberControl.data('member');\n var propertyName = dataMemberPath.split('.').pop();\n\n var innerData = data.GetChildObservableByPath(dataMemberPath);\n\n var controlDatabinding = {\n Control: dataMemberControl,\n Data: innerData,\n PropertyName: propertyName,\n Type: Vendd.DatabindingTypes.DataMember\n };\n\n controlDatabindings.push(controlDatabinding);\n });\n\n $('*[data-show]', wrapper).each(function (i, dataShowControl) {\n\n var $dataShowControl = $(dataShowControl);\n\n var dataShowPath = $dataShowControl.data('show');\n var propertyName = dataShowPath.split('.').pop();\n\n var innerData = data.GetChildObservableByPath(dataShowPath);\n\n var controlDatabinding = {\n Control: dataShowControl,\n Data: innerData,\n PropertyName: propertyName,\n Type: Vendd.DatabindingTypes.DataShow\n };\n\n controlDatabindings.push(controlDatabinding);\n });\n\n return controlDatabindings;\n };\n\n return DatabindingHelpers;\n\n })(Vendd.DatabindingHelpers || {});\n\n Vendd.DatabindingEvents = (function (DatabindingEvents) {\n\n DatabindingEvents.ControlChanged = function controlChanged(event) {\n var target = event.target || event.srcElement;\n var indexes = Vendd.DatabindingHelpers.FindControlBindings(target);\n if (indexes.length === 0)\n return;\n\n var bindings = Vendd.Databinding.GetCurrentBindings();\n\n for (var i = 0; i < indexes.length; i++) {\n var binding = bindings[indexes[i]];\n var control = binding.Control;\n var data = binding.Data;\n var propertyName = binding.PropertyName;\n\n try {\n data[propertyName] = Vendd.Control.GetValue(control, typeof data[propertyName]);\n } catch (ex) {\n Vendd.ControlHelpers.HandleError(target, data[propertyName], ex);\n }\n \n };\n };\n\n DatabindingEvents.PropertyChanged = function propertyChanged(data, propertyName, value) {\n\n var bindings = Vendd.Databinding.GetCurrentBindings();\n\n var indexes = Vendd.DatabindingHelpers.FindPropertyBindings(data, propertyName);\n if (indexes.length === 0)\n return;\n\n for (var i = 0; i < indexes.length; i++) {\n var binding = bindings[indexes[i]];\n var control = binding.Control;\n\n switch (binding.Type)\n {\n case Vendd.DatabindingTypes.DataMember:\n Vendd.Control.SetValue(control, value);\n break;\n case Vendd.DatabindingTypes.DataShow:\n Vendd.Control.SetVisibility(control, value);\n break;\n }\n };\n };\n\n return DatabindingEvents;\n\n })(Vendd.DatabindingEvents || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function(Vendd) {\n 'use strict';\n\n Vendd.Control = (function(Control) {\n\n Control.GetType = function(control) {\n return control.nodeName.toLowerCase() + '.' + control.type;\n };\n\n Control.GetValue = function (control, dataType) {\n var controlType = Control.GetType(control);\n\n \n\n if (control && typeof (dataType) === 'string') {\n switch (dataType) {\n case 'string':\n return control.value;\n case 'number':\n return isNaN(control.value) ? \"\" : Number(control.value);\n case 'boolean':\n return control.checked;\n case 'object':\n return control.value;\n default:\n return control.value;\n }\n }\n };\n\n Control.SetValue = function(control, value) {\n\n var controlType = Control.GetType(control);\n\n\n if (value === undefined) {\n if (!control.type) {\n control.innerText = \"\";\n } else {\n switch (controlType) {\n case 'input.radio':\n\n case 'input.file':\n control.filename = \"\";\n break;\n case 'input.checkbox':\n\n var isChecked = false;\n\n break;\n default:\n control.value = \"\";\n break;\n };\n };\n return ;\n }\n\n if (!control.type) {\n if (Vendd.Helpers.IsHTML(value))\n control.innerHTML = value;\n else if (control.innerText) {\n control.innerText = value;\n } else {\n control.innerHTML = value;\n }\n } else {\n switch (controlType) {\n case 'input.radio':\n break;\n case 'input.file':\n break;\n case 'input.checkbox': \n\n var isChecked = false;\n\n if (typeof value === 'string')\n isChecked = control.value === value;\n\n if (typeof value === 'boolean')\n isChecked = value;\n\n\n control.checked = isChecked;\n break;\n default:\n control.value = value;\n break;\n };\n };\n };\n\n Control.SetVisibility = function (control, value) {\n\n var $control = $(control);\n\n if (value === undefined) {\n $control.hide();\n return;\n }\n\n if (typeof value === \"boolean\") {\n\n if (value) {\n $control.show();\n } else {\n $control.hide();\n }\n\n return;\n }\n\n if (typeof value === \"string\") {\n\n if (value.length > 0) {\n $control.show();\n } else {\n $control.hide();\n }\n\n return;\n }\n\n\n };\n\n return Control;\n\n })(Vendd.Control || {});\n\n Vendd.ControlHelpers = (function (ControlHelpers) {\n\n ControlHelpers.HandleError = function (control, observableOldValue, exception) {\n\n \n control.value = observableOldValue;\n control.focus();\n control.select();\n throw exception;\n };\n\n return ControlHelpers;\n })(Vendd.ControlHelpers || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Observable = (function (Observable) {\n\n Observable = function(model) {\n\n if (typeof model !== 'object')\n throw new Error('The model must be type of object.');\n\n this.model = model;\n this.children = {};\n\n this.propertyChangingEvents = {};\n this.propertyChangedEvents = {};\n\n this.DefineProperties();\n }\n\n \n \n \n Observable.prototype.GetNotificationList = function(events, propName) {\n var propertyNotifiers = events[propName];\n if (!propertyNotifiers) {\n propertyNotifiers = [];\n events[propName] = propertyNotifiers;\n };\n\n return propertyNotifiers;\n };\n\n Observable.prototype.FindEvent = function(notificationList, event) {\n for (var i = 0, n = notificationList.length; i < n; i++) {\n if (notificationList[i] === event)\n return i;\n };\n\n return -1;\n };\n\n Observable.prototype.GetChildObservable = function(propName) {\n for (var child in this.children) {\n if (this.children.hasOwnProperty(child)) {\n if (child === propName)\n return this.children[propName];\n }\n };\n\n return null;\n };\n\n Observable.prototype.GetChildObservableByPath = function (propertyPath) {\n var innerData = this;\n\n var propertyPathParts = propertyPath.split('.');\n if (propertyPathParts.length > 1) {\n for (var j = 0; j < propertyPathParts.length - 1; j++) {\n innerData = innerData.GetChildObservable(propertyPathParts[j]);\n }\n }\n\n return innerData;\n };\n\n Observable.prototype.GetModel = function() {\n return this.model;\n };\n\n Observable.prototype.DefineProperties = function() {\n for (var propName in this.model) {\n if (this.model.hasOwnProperty(propName)) {\n var propValue = this.model[propName];\n var propType = typeof propValue;\n\n if (Array.isArray(propValue)) {\n //throw new Error('DefineProperties for array is not implemented yet!');\n\t\t\t\t\t\tdelete this.model.propName;\n } else if (propType === 'string' || propType === 'number' || propType === 'boolean') {\n this.DefineProperty(propName, propValue);\n } else if (propType === 'object') {\n this.children[propName] = new Vendd.Observable(propValue);\n };\n };\n };\n };\n\n Observable.prototype.DefineProperty = function (propName, value) {\n Object.defineProperty(this, propName, {\n set: function(value) {\n this.NotifyPropertyChanging(propName, value);\n this.model[propName] = value;\n this.NotifyPropertyChanged(propName, value);\n },\n get: function() {\n return this.model[propName];\n }\n });\n };\n\n Observable.prototype.NotifyPropertyChanging = function (propName, value) {\n var propertyNotifiers = this.GetNotificationList(this.propertyChangingEvents, propName);\n for (var i = 0, n = propertyNotifiers.length; i < n; i++) {\n propertyNotifiers[i](this, propName, value);\n };\n };\n\n Observable.prototype.NotifyPropertyChanged = function (propName, value) {\n var propertyNotifiers = this.GetNotificationList(this.propertyChangedEvents, propName);\n for (var i = 0, n = propertyNotifiers.length; i < n; i++) {\n propertyNotifiers[i](this, propName, value);\n };\n };\n\n Observable.prototype.SetModel = function(model) {\n this.model = model;\n for (var propName in this.model) {\n if (this.model.hasOwnProperty(propName)) {\n var propValue = this.model[propName];\n var propType = typeof propValue;\n\n if (Array.isArray(propValue)) {\n this.NotifyPropertyChanged(propName, propValue); // need to check this\n } else if (propType === 'string' || propType === 'number' || propType === 'boolean') {\n this.NotifyPropertyChanged(propName, propValue);\n } else if (propType === 'object') {\n this.children[propName].SetModel(propValue);\n };\n };\n };\n };\n\n Observable.prototype.AddListenerToPropertyChanging = function(propName, eventListenerFn) {\n if (typeof (eventListenerFn) === 'function') {\n var propertyNotifiers = this.GetNotificationList(this.propertyChangingEvents, propName);\n var pos = this.FindEvent(propertyNotifiers, eventListenerFn);\n if (pos === -1)\n propertyNotifiers.push(eventListenerFn);\n };\n };\n\n Observable.prototype.AddListenerToPropertyChanged = function(propName, eventListenerFn) {\n if (typeof (eventListenerFn) === 'function') {\n var propertyNotifiers = this.GetNotificationList(this.propertyChangedEvents, propName);\n var pos = this.FindEvent(propertyNotifiers, eventListenerFn);\n if (pos === -1)\n propertyNotifiers.push(eventListenerFn);\n };\n };\n\n Observable.prototype.RemoveListenerToPropertyChanging = function(propName, eventListenerFn) {\n if (typeof (eventListenerFn) === 'function') {\n var propertyNotifiers = this.GetNotificationList(this.propertyChangingEvents, propName);\n var pos = this.FindEvent(propertyNotifiers, eventListenerFn);\n if (pos === -1)\n propertyNotifiers.splice(pos, 1);\n };\n };\n\n Observable.prototype.RemoveListenerToPropertyChanged = function(propName, eventListenerFn) {\n if (typeof (eventListenerFn) === 'function') {\n var propertyNotifiers = this.GetNotificationList(this.propertyChangedEvents, propName);\n var pos = this.FindEvent(propertyNotifiers, eventListenerFn);\n if (pos === -1)\n propertyNotifiers.splice(pos, 1);\n };\n };\n\n return Observable;\n\n })(Vendd.Observable || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t'use strict';\n\n\tVendd.Scripts = (function () {\n\t\tvar scripts = [];\n\n\t\treturn {\n\t\t\tload: function (fn) {\n\t\t\t\tscripts.push(fn);\n\t\t\t},\n\n\t\t\tinit: function () {\n\t\t\t _.each(scripts, function (fn) {\n\t\t\t\t\tfn();\n\t\t\t });\n\n\t\t\t callback_vendd();\n\t\t\t}\n\t\t};\n\t})();\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n \n var ValidationEngine = (function () { \n\n var self = this, base,\n property, validation, propertiesList = [],\n firstTime = true;\n self.Errors = [];\n\n self.processProperties = function (options) {\n $.each(options, function (k, v) {\n var prop = self.searchProperybyName(k);\n if (prop === false) { \n property = { validations: '', name: '' };\n property.validations = [];\n property.name = k;\n self.processValidations(v, property);\n propertiesList.push(property);\n } else {\n self.processValidations(v,prop);\n }\n\n });\n };\n\n self.processValidations = function (validations, property) {\n $.each(validations, function (i,v) {\n property.validations[v.rule] = {};\n if (v.hasOwnProperty('Parameters')) {\n property.validations[v.rule].Parameters = v.Parameters;\n } else {\n property.validations[v.rule].Parameters = [];\n }\n });\n };\n\n self.searchProperybyName = function (name) {\n var prop=_.findWhere(propertiesList, {name:name});\n if (prop === undefined) {\n return false;\n }\n return prop;\n };\n\n self.validatePropertybyName = function (name,val) {\n var result = true;\n var p = self.searchProperybyName(name);\n for (var validationType in p.validations){\n var parameters = p.validations[validationType].Parameters;\n if (parameters.length == 0) {\n result = self.validations[validationType](val);\n } else {\n result = self.validations[validationType](val, parameters);\n }\n if (result === false) {\n //On First Error we stop the validation\n var error = self.validationErrors[validationType];\n self.Errors.push({ Property: name, Error: error, Rule: validationType });\n return result;\n }\n else {\n \n }\n };\n return result;\n };\n self.validateAllProperties = function (model) {\n var result = true;\n for (var property in model) {\n var currentProp = self.searchProperybyName(property);\n if (currentProp !== false) {\n if (self.validatePropertybyName(property, model[property]) == false) {\n result = false;\n }\n } \n }\n if (self.Errors.length > 0) {\n result = false;\n }\n\n return result;\n };\n\n self.validations = {\n\n optional: function (value) {\n if ($.trim(value).length === 0)\n return false;\n\n return true;\n },\n\n required: function (value) {\n if ($.trim(value).length > 0)\n return true;\n return false;\n },\n\n isEmail: function (value) {\n var reg = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,20}$/i;\n\n return reg.test(value);\n },\n\n isNumeric: function (value) {\n var reg = /^\\d+$/;\n return reg.test(value);\n },\n\n isAlphaNumeric: function (value) {\n\n return true;\n },\n\n match: function (value, parameters) {\n\n return value === parameters[0];\n },\n\n length: function (value, parameters) {\n return value.length === parameters[0];\n },\n\n maxLength: function (value, parameters) {\n\n return value.length <= parameters[0];\n },\n\n minLength: function (value, parameters) {\n return value.length >= parameters[0];\n }\n };\n\n self.validationErrors = {\n\n optional: \"This Property is Optional\",\n\n required: \"This Property must have a value\",\n\n isEmail: \"This Property must be a Valid e-mail address\",\n\n isNumeric: \"This Property Must Be Numeric\",\n\n isAlphaNumeric: \"This Property Must Be AlphaNumeric\",\n\n match:\"This Property Must match a value\",\n\n length: \"This Property Must must have specified length\",\n\n maxLength: \"This Property Must must have max length\",\n\n minLength: \"This Property Must must have min length\",\n };\n\n return {\n init: function (options) {\n base = this;\n base.options = options;\n\n self.processProperties(base.options);\n },\n\n resetValidationModel: function () {\n //Reset to Validation Engine to Initial state\n propertiesList.empty();\n },\n\n updateValidationModel: function (options) {\n self.processProperties(options);\n },\n\n removePropertybyName: function (propName) {\n $.each(propertiesList, function (i, prop) {\n if (prop.Name === propName) {\n propertiesList.pop(prop);\n return true;\n };\n });\n return false;\n },\n \n validateProperty: function(name,value) {\n return self.validatePropertybyName(name,value);\n },\n\n validateAllProperties: function (model) {\n return self.validateAllProperties(model);\n },\n\n getErrors: function() {\n return self.Errors;\n },\n \n addOrUpdateValidationRule: function (validationName,validationFunction,validationErrorMessage){\n self.validations[validationName] = validationFunction;\n self.validationErrors[validationName] = validationErrorMessage;\n },\n\n clearErrors: function () {\n setTimeout(function () { self.Errors = []; }, 200);\n },\n \n };\n });\n \n Vendd.DataValidation.Validate = function (options)\n {\n var validationEngine = options.ValidationEngine;\n var result = validationEngine.validateProperty(options.PropertyName, options.PropertyValue);\n if (result === false) {\n\n var errors = validationEngine.getErrors();\n var message = errors[0].Property + \" Property Error: \" + errors[0].Error;\n Vendd.MessageBus.publishAsync(Vendd.DataValidation, new Vendd.DataValidation.Messages.ValidationError(errors));\n //Clear Error Stack\n validationEngine.clearErrors();\n throw message;\n }\n };\n\n Vendd.DataValidation.ValidateModel = function (configOptions) {\n var validationEngine = configOptions.ValidationEngine;\n var result = validationEngine.validateAllProperties(configOptions.valmodel);\n if (result === false) {\n\n var errors = validationEngine.getErrors();\n Vendd.MessageBus.publishAsync(Vendd.DataValidation, new Vendd.DataValidation.Messages.ValidationError(errors));\n //Clear Error Stack\n var message = errors[0].Property + \" Property Error: \" + errors[0].Error;\n validationEngine.clearErrors();\n throw message;\n }\n else {\n Vendd.MessageBus.publishAsync(Vendd.DataValidation, new Vendd.DataValidation.Messages.ValidationSuccess({}));\n validationEngine.clearErrors();\n }\n };\n\n Vendd.DataValidation.BuildValidationModel = function (model) {\n var vaEng = new ValidationEngine();\n //Here i give the Options\n vaEng.init(model);\n return vaEng;\n };\n \n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t'use strict';\n\n\tVendd.Validations = (function (Validations) {\n\n\t\tValidations.passwordStrength = function () {\n\t\t\tvar value = arguments[0], config = arguments[1], score;\n\n\t\t\tif (config)\n\t\t\t\tscore = Vendd.Helpers.textStrength(value);\n\n\t\t\tif (score >= config.limit)\n\t\t\t\treturn true;\n\n\t\t\treturn false;\n };\n\n\t\treturn Validations;\n\n\t})(Vendd.Validations || {});\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t'use strict';\n\n\tVendd.Helpers = (function (Helpers) {\n\n\t\tHelpers.textStrength = function (value) {\n var score = 0, variations, variationCount;\n\n if (!value)\n return 0;\n\n score += value.length * 5;\n\n variations = {\n digits: /\\d/.test(value),\n lower: /[a-z]/.test(value),\n upper: /[A-Z]/.test(value),\n nonWords: /\\W/.test(value),\n }\n\n variationCount = 0;\n for (var check in variations) {\n variationCount += (variations[check] == true) ? 1 : 0;\n }\n score += (variationCount - 1) * 10;\n\n if (score.toString() === 'NaN')\n score = 0;\n\n var transformScore = function (s) {\n var matched = 0;\n\n var StrengthVeryWeakValue = 5,\n\t StrengthWeakValue = 28,\n\t StrengthNormalValue = 43,\n\t StrengthStrongValue = 68,\n\t StrengthVeryStrongValue = 108;\n\n if (s >= StrengthVeryWeakValue && s < StrengthWeakValue) {\n matched = 1;\n }\n else if (s >= StrengthWeakValue && s < StrengthNormalValue) {\n matched = 2;\n }\n else if (s >= StrengthNormalValue && s < StrengthStrongValue) {\n matched = 3;\n }\n else if (s >= StrengthStrongValue && s < StrengthVeryStrongValue) {\n matched = 4;\n }\n else if (s >= StrengthVeryStrongValue) {\n matched = 5;\n }\n\n return matched;\n }\n\n return transformScore(parseInt(score));\n };\n\n Helpers.IsHTML = function (string) {\n\n var a = document.createElement('div');\n a.innerHTML = string;\n\n for (var c = a.childNodes, i = c.length; i--;)\n if (c[i].nodeType === 1)\n return true;\n\n return false;\n };\n\n \n Helpers.isInteger = function (x) {\n\n if (typeof x === 'number') {\n if (x % 1 === 0) {\n return true;\n }\n return false;\n }\n return false;\n //return (typeof x === 'number') && (x % 1 === 0);\n };\n\n Helpers.ValidateNumbers = function (evt) { \n var theEvent = evt || window.event;\n var key = theEvent.keyCode || theEvent.which;\n key = String.fromCharCode(key);\n var regex = /[0-9]|\\./;\n if (!regex.test(key)) {\n theEvent.returnValue = false;\n if (theEvent.preventDefault) theEvent.preventDefault();\n }\n };\n\n\t\treturn Helpers;\n\n\t})(Vendd.Helpers || {});\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n var pending = false;\n\n\n Vendd.MessageBus.subscribe(Vendd.Recipe.Messages.GetModel, Vendd.Recipe, function (envelope) {\n\n if (pending === true) {\n return false;\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Recipe, new Vendd.Recipe.Messages.GetModelSuccess(response));\n\n pending = false;\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Recipe, new Vendd.Recipe.Messages.GetModelFailure(response));\n }\n\n var itemId = 0;\n var itemId = envelope.message.data.productid;\n if (itemId === undefined) {\n itemId = LhApp.Context.Item.Id;\n }\n\n var options = {\n data: { productid: itemId },\n url: 'ProductRecipeService.svc/GetProductRecipes',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n pending = true;\n\n Vendd.Service.call(options);\n });\n\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n var state = {};\n var getViewModel = function (id, bundleItems) {\n var data = _.extend({}, state);\n\n var configuration = JSON.parse(data.serviceConfiguration);\n\n if (id) configuration.LoaderOptions.SkuId = id;\n if (bundleItems) configuration.LoaderOptions.BundleItems = bundleItems;\n\n function onFailure(response) {\n console.log(response);\n }\n\n function onSuccess(response) {\n var model = response;\n state.serviceConfiguration = model.Configuration;\n state.path = model.PathChecksum;\n state.qty = 1;\n\n if (id) state.selectedId = id;\n if (bundleItems) state.bundleItems = bundleItems;\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.Changed(model));\n }\n\n var queryString = location.search;\n if (queryString != \"\") { \n var parameters = queryString.split(\"&\");\n if (queryString.indexOf('sdim') >= 0) { \n for (var i = 0; i < parameters.length; i++) {\n var pair = parameters[i].split(\"=\");\n if (pair[0] == 'sdim') {\n parameters.splice(i, 1);\n }\n }\n queryString = parameters.join(\"&\");\n }\n }\n\n var options = {\n url: 'AdapterService.svc/GetData' + queryString,\n data: {\n serviceConfiguration: JSON.stringify(configuration)\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n };\n\n Vendd.Product.Controller = (function () {\n var initialized = false;\n\n return {\n initState: function (initialState) {\n if (initialized === true) {\n\n return state;\n } else {\n\n var data = {\n serviceConfiguration: initialState.serviceConfiguration,\n selectedId: initialState.selectedId,\n selectedColorId: initialState.selectedColorId,\n parentId: initialState.parentId,\n languageId: initialState.languageId,\n qty: initialState.qty,\n\n path: initialState.path,\n\n minQuantity: initialState.minQuantity,\n maxQuantity: initialState.maxQuantity,\n quanta: initialState.quanta,\n bundleItems: initialState.bundleItems, \n recipeItems: initialState.recipeItems,\n comboItems: initialState.comboItems\n };\n\n state = _.extend({}, data);\n\n initialized = true;\n\n return state;\n };\n },\n getState: function () {\n return state;\n }\n };\n })();\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.SetQuantity, Vendd.Product, function (envelope) {\n state.qty = envelope.message.data.qty;\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.SetSelected, Vendd.Product, function (envelope) {\n\n var skuId = envelope.message.data.id;\n\n getViewModel(skuId, null);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.SetBundleItems, Vendd.Product, function (envelope) {\n\n var bundleItems = envelope.message.data.bundleItems || [];\n\n getViewModel(null, bundleItems);\n });\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.SetRecipeItems, Vendd.Product, function (envelope) {\n\n state.recipeItems = envelope.message.data.recipeItems || [];\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.SetComboItems, Vendd.Product, function (envelope) {\n\n state.comboItems = envelope.message.data.comboItems || [];\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.Notify, Vendd.Product, function (envelope) {\n\n $.extend(true, envelope.message.data,\n {\n productId: state.selectedId,\n languageId: state.languageId\n }\n );\n\n var options = {\n url: 'EcomService.svc/SendAvailabityNotification',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.NotifySuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.NotifyFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.Review, Vendd.Product, function (envelope) {\n var options = {\n url: 'CommonService.svc/ProductReviewSubmit',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.ReviewSuccess(response, envelope.message.data));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.ReviewFailure(response, envelope.message.data));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.ReviewVote, Vendd.Product, function (envelope) {\n\n var options = {\n url: 'CommonService.svc/ProductReviewHelpfullnessVote',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.ReviewVoteSuccess(response, envelope.message.data.helpfullness.ispositivevote));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.ReviewVoteFailure(response, envelope.message.data.helpfullness.ispositivevote));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.GetAvailableWarehouses, Vendd.Product, function (envelope) {\n\n var options = {\n url: 'EcomService.svc/GetProductAvailableWarehouses',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n\n if (response.success) {\n var model = response.data && response.data !== \"\" ? JSON.parse(response.data) : \"\";\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetAvailableWarehousesSuccess(model));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetAvailableWarehousesFailure(response));\n }\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetAvailableWarehousesFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n var pending = false;\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionState, Vendd.User, function (envelope) {\n if (pending === true) {\n return false;\n };\n\n function onSuccess(response) {\n return Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetSessionStateSuccess(response));\n };\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetSessionStateSuccess({ IsNewSession: true }));\n };\n\n var options = {\n method: 'POST',\n url: 'api/Tools/GetSessionStatus',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n pending = true;\n\n Vendd.Service.call(options);\n\n return true;\n });\n\n return Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n var tempPostCode = '';\n var tempPostCodeFirstAccess = true;\n var tempAreas = '';\n var countries = '';\n var taxAgencies = '';\n var vatStatuses = '';\n var validateAreas = false;\n var addressValEngine = '';\n var observable = '';\n var validationModel;\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.ConvertPointsToCoupons, Vendd.Account, function (envelope) {\n function onSuccess(response) {\n if (response.success) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.ConvertPointsToCouponsSuccess(response));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.ConvertPointsToCouponsFailed(response));\n };\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.ConvertPointsToCouponsFailed(response));\n }\n var options = {\n url: 'EcomService.svc/ConvertPointsToCoupons',\n data: {\n accountId: envelope.message.data.accountId\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.GetAddresses, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n var model = response;\n var observableAddresses = [];\n\n for (var i = 0; i < model.Addresses.length; i++) {\n var address = model.Addresses[i];\n\n var observable = new Vendd.Observable(address);\n observableAddresses.push(observable);\n }\n\n model.Addresses = observableAddresses;\n\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAddressesSuccess(model));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAddressesFailed(response));\n }\n\n var url = envelope.message.data.addressType === 'shipping'\n ? 'AccountService.svc/GetShippingAddressesViewModel'\n : 'AccountService.svc/GetBillingAddressesViewModel';\n\n var options = {\n url: url,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.EditUser, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n if (response.success === true && response.code === \"AccountEdit_OperationSuccesful\") {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.EditUserSuccess(response));\n\n Vendd.MessageBus.publishAsync(Vendd.Newsletter, new Vendd.Newsletter.Messages.UpdateNewLetterVariables(3, null));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.EditUserFailed(response));\n }\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.EditUserFailed(response));\n }\n\n var options = {\n url: 'AuthService.svc/EditUser',\n data: {\n firstName: envelope.message.data.model.FirstName,\n lastName: envelope.message.data.model.LastName,\n userName: envelope.message.data.model.UserName,\n email: envelope.message.data.model.Email,\n oldPassword: envelope.message.data.model.OldPassword,\n password: envelope.message.data.model.Password,\n passwordConfirmation: envelope.message.data.model.PasswordConfirmation,\n newsletter: envelope.message.data.model.Newsletter,\n phones: envelope.message.data.model.Phones,\n mobilephone: envelope.message.data.model.MobilePhone,\n birthDate: envelope.message.data.model.BirthDate,\n IsLoyaltyMember: envelope.message.data.model.IsLoyaltyMember,\n LoyaltyRequest: envelope.message.data.model.LoyaltyRequest,\n LoyaltyMemberId: envelope.message.data.model.LoyaltyMemberId\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.SetDefaultAddress, Vendd.Account, function (envelope) {\n function onSuccess(response) {\n\n // Vendd.MessageBus.publishAsync(Account, new Vendd.Account.Messages.SetDefaultAddressSuccess());\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.AddressModelChanged());\n\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.SetDefaultAddressFailure(response));\n }\n\n var url = envelope.message.data.addressType === 'shipping'\n ? 'CommonService.svc/SetDefaultShippingAddress'\n : 'CommonService.svc/SetDefaultBillingAddress';\n\n\n var options = {\n url: url,\n data: {\n addressId: envelope.message.data.addressId\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.DeleteAddress, Vendd.Account, function (envelope) {\n function onSuccess(response) {\n\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.AddressModelChanged());\n\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.DeleteAddressFailure(response));\n }\n\n var url = envelope.message.data.addressType === 'shipping'\n ? 'CommonService.svc/DeleteShippingAddress'\n : 'CommonService.svc/DeleteBillingAddress';\n\n\n var options = {\n url: url,\n data: {\n addressId: envelope.message.data.addressId\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.EditAddress, Vendd.Account, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.EditAddressSuccess());\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.EditAddressFailed(response));\n }\n\n var options = {\n url: 'AccountService.svc/EditUserAddress',\n data: {\n addressType: envelope.message.data.addressType,\n address: envelope.message.data.model\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.CheckAddressIfExists, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.CheckAddressIfExistsSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.CheckAddressIfExistsFailure(response));\n }\n\n var options = {\n url: 'CommonService.svc/CheckAddressIfExists',\n data: {\n addressId: envelope.message.data.model.Id,\n firstName: envelope.message.data.model.FirstName,\n lastName: envelope.message.data.model.LastName,\n addressLine1: envelope.message.data.model.AddressLine1,\n addressLine2: envelope.message.data.model.AddressLine2,\n city: envelope.message.data.model.City,\n postCode: envelope.message.data.model.PostCode,\n country: envelope.message.data.model.Country,\n area: envelope.message.data.model.Area\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.GetAreasForPostCode, Vendd.Account, function (envelope) {\n function onSuccess(response) {\n //Validate Only if its Called From OnChange\n tempAreas = response;\n if (envelope.message.data.validateAfterLoad === true) {\n var valOptions = {\n ValidationEngine: addressValEngine,\n PropertyName: 'PostCode',\n PropertyValue: tempPostCode\n };\n\n validateAreas = false;\n Vendd.DataValidation.Validate(valOptions);\n }\n\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAreasForPostCodeSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.EditAddressFailed(response));\n }\n\n var options = {\n url: 'AccountService.svc/AreaLookUp',\n data: {\n countryCode: envelope.message.data.country,\n postalCode: envelope.message.data.postCode,\n selectedAreaCode: envelope.message.data.area\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.GetCountries, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n countries = response;\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetCountriesSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetCountriesFailed(response));\n }\n\n var options = {\n url: 'AccountService.svc/GetCountries',\n data: {\n selectedCountryCode: envelope.message.data.selectedCountryCode,\n addressType: envelope.message.data.addressType\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.GetPrefecture, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetPrefectureSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetPrefectureFailed(response));\n }\n\n var options = {\n url: 'AccountService.svc/PrefectureLookUp',\n data: {\n countryCode: envelope.message.data.countryCode,\n postalCode: envelope.message.data.postCode,\n area: envelope.message.data.area\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.GetAllTaxAgencies, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n taxAgencies = response;\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAllTaxAgenciesSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAllTaxAgenciesFailed(response));\n }\n\n var options = {\n url: 'AccountService.svc/GetAllTaxAgencies',\n data: {\n countryCode: envelope.message.data.countryCode,\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.GetAllVatStatuses, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n vatStatuses = response;\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAllVatStatusesSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAllVatStatusesFailed(response));\n }\n\n var options = {\n url: 'AccountService.svc/GetAllVatStatuses',\n\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.GetUserAccount, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n var model = response;\n var observable = new Vendd.Observable(model);\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetUserAccountSuccess(observable));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetUserAccountFailure(response));\n }\n\n var options = {\n url: 'AccountService.svc/GetUserAccountViewModel',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.RequestToDeleteUser, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.RequestToDeleteUserSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.RequestToDeleteUserFailed(response));\n }\n\n var options = {\n method: 'POST',\n url: 'api/Account/RequestToDeleteUser',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.RequestToExportData, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.RequestToExportDataSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.RequestToExportDataFailed(response));\n }\n\n var options = {\n method: 'POST',\n url: 'api/Account/RequestToExportData',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.Account.SelectedCountryChanged = function (observable) {\n observable.Area = '';\n observable.PostCode = '';\n observable.IsFirstAccess = true;\n\n countries.forEach(function (country) {\n country.Selected = false;\n });\n var currentCountry = _.where(countries, { Code: observable.Country });\n currentCountry[0].Selected = true;\n\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAllTaxAgencies(observable));\n };\n\n Vendd.Account.SetObservable = function (observ) {\n observable = observ;\n }\n\n Vendd.Account.SetValidationModel = function (validationMod) {\n validationModel = validationMod;\n }\n\n Vendd.Account.ValidateObservable = function (observ) {\n\n if (observ == undefined) {\n observ = observable;\n }\n var valOptions = {\n ValidationEngine: addressValEngine,\n valmodel: observ.model,\n };\n Vendd.DataValidation.ValidateModel(valOptions);\n }\n\n\n\tVendd.Account.SelectedPostCodeChanged = function (observable) {\n\t observable.Area = '';\n\t // Vendd.MessageBus.publishAsync(Account, new Vendd.Account.Messages.GetAreasForPostCode(observable, value, true));\n\t};\n\n\tVendd.Account.GetNewAccount = function (observable) {\n\n\t var newaddress = {\n\t IsInvoiceEnabled: observable.IsInvoiceEnabled,\n\t IsDefault: false,\n\t FirstName: '',\n\t LastName: '',\n\t Title: '',\n\t Bell: '',\n\t AddressLine1: '',\n\t AddressLine2: '',\n\t Area: '',\n\t City: '',\n\t PostCode: '',\n\t Country: '',\n\t CountryDescription: '',\n\t Phones: '',\n\t Mobiles: '',\n\t Fax: '',\n\t IsInvoice: false,\n\t InvoiceText: '',\n\t CompanyName: '',\n\t Occupation: '',\n\t TaxIdentifier: '',\n\t TaxAgency: '',\n VatStatus:0,\n\t IsFirstAccess: true\n\t };\n\n\t var literals = { Literals: observable.Literals };\n\t $.extend(newaddress, literals);\n\t observable = new Vendd.Observable(newaddress);\n\t return observable;\n\t};\n\n\tVendd.Account.CreateDefaultAccountUserValidationModel = function (observable) {\n\n\t var useEmailAsLoginName = observable.model.UseEmailAsLoginName;\n\n\t var defaultValidationModel = {\n\t FirstName: [{ rule: \"required\" }],\n\t LastName: [{ rule: \"required\" }],\n\t Email: [{ rule: \"required\" }, { rule: \"isEmail\" }]\n\t };\n\n\t if (!useEmailAsLoginName) {\n\t defaultValidationModel.UserName = [{ rule: \"required\" }];\n }\n\n if (!venddProjectConfigs || !venddProjectConfigs.Account || !venddProjectConfigs.Account.EditForm || venddProjectConfigs.Account.EditForm.BirthDateRequired === true) {\n defaultValidationModel.BirthDate = [{ rule: \"required\" }];\n }\n\n\t var valEngine = Vendd.DataValidation.BuildValidationModel(defaultValidationModel);\n\n\t var propertyChanging = function propertyChanging(data, propertyName, value) {\n\n\t var valOptions = {\n\t ValidationEngine: valEngine,\n\t PropertyName: propertyName,\n\t PropertyValue: value\n };\n\t Vendd.DataValidation.Validate(valOptions);\n\t };\n\n\t var customUserAccountValidationModel = ({\n\t PasswordConfirmation: [{ rule: \"isEqualWithPassword\" }],\n\t Password: [{ rule: \"isNotWeak\" }, { rule: \"isOldPasswordProperlySetPW\" }],\n\t OldPassword: [{ rule: \"isOldPasswordProperlySetOP\" }]\n\t });\n\n\t var isOldPasswordProperlySetPW = function (value) {\n\t if (value.length == 0)\n\t return true;\n\n\t if (value.length > 0 && observable.OldPassword.length > 0)\n\t return true;\n\n\t return false;\n\t };\n\n\t var isOldPasswordProperlySetOP = function (value) {\n\t if (value.length > 0 && observable.Password.length > 0)\n\t return true;\n\n\t if (observable.Password.length == 0)\n\t return true;\n\n\t return false;\n\t };\n\n\t var isEqualWithPassword = function (value) {\n\t if (value.length > 0 && observable.Password === value) {\n\t return true;\n\t }\n\n\t if (value.length == 0 && observable.Password === value) {\n\t return true;\n\t }\n\n\t return false;\n\t };\n\n\t var isNotWeak = function (value) {\n\t if (value.length == 0 && observable.PasswordConfirmation.length == 0)\n\t return true;\n\n\t var score = Vendd.Helpers.textStrength(value);\n\t //1 is the weak value of passowrd we need more than weak\n\t if (score > 2) {\n\t return true;\n\t }\n\t return false;\n\t };\n\n\t valEngine.addOrUpdateValidationRule('isOldPasswordProperlySetPW', isOldPasswordProperlySetPW, 'Old password must be completed if a new password is requested');\n\t valEngine.addOrUpdateValidationRule('isOldPasswordProperlySetOP', isOldPasswordProperlySetOP, 'Complete old password');\n\t valEngine.addOrUpdateValidationRule('isEqualWithPassword', isEqualWithPassword, 'Confirmation must be equal with Password');\n\t valEngine.addOrUpdateValidationRule('isNotWeak', isNotWeak, 'Password must not be weak');\n\t valEngine.updateValidationModel(customUserAccountValidationModel);\n\n\t observable.AddListenerToPropertyChanging('FirstName', propertyChanging);\n\t observable.AddListenerToPropertyChanging('LastName', propertyChanging);\n observable.AddListenerToPropertyChanging('Email', propertyChanging);\n observable.AddListenerToPropertyChanging('BirthDate', propertyChanging);\n\t observable.AddListenerToPropertyChanging('Password', propertyChanging);\n\t observable.AddListenerToPropertyChanging('OldPassword', propertyChanging);\n\t observable.AddListenerToPropertyChanging('PasswordConfirmation', propertyChanging);\n\t return valEngine;\n\t};\n\n\tVendd.Account.CreateDefaultAdressValidationModel = function (observable) {\n var valopts = {\n FirstName: [{ rule: \"required\" }],\n LastName: [{ rule: \"required\" }],\n // Phones: [{ rule: \"required\" }, { rule: \"isNumeric\" }],\n // Mobile: [{ rule: \"required\" }, { rule: \"isNumeric\" }],\n //PostCode: [{ rule: \"required\" }],\n AddressLine1: [{ rule: \"required\" }],\n City: [{ rule: \"required\" }],\n //Area: [{ rule: \"required\" }],\n Country: [{ rule: \"required\" }],\n };\n\n if (!venddProjectConfigs || !venddProjectConfigs.Account || !venddProjectConfigs.Account.Addresses || venddProjectConfigs.Account.Addresses.PhoneRequired === true) {\n valopts.Phones = [{ rule: \"required\" }, { rule: \"isNumeric\" }];\n }\n if (!venddProjectConfigs || !venddProjectConfigs.Account || !venddProjectConfigs.Account.Addresses || venddProjectConfigs.Account.Addresses.MobileRequired === true) {\n valopts.Mobiles = [{ rule: \"required\" }, { rule: \"isNumeric\" }];\n }\n var defaultValidationModel = (valopts);\n\n\t addressValEngine = Vendd.DataValidation.BuildValidationModel(defaultValidationModel);\n\n\t //Add Custom Validation engine\n\n\t //Custom Validations\n\t var isValidPostCode = function (value) {\n\t var selectedCounries = _.where(countries, {\n\t Code: observable.Country\n\t });\n\t if (selectedCounries.length <= 0) {\n\t return true;\n\t }\n\t if (selectedCounries.length > 0 && observable.PostCode == '' && observable.IsFirstAccess === true) {\n\t observable.IsFirstAccess = false;\n\t return true;\n\t }\n\n\t //id does not have any areas but postcode is properly completed\n if (selectedCounries[0].AreasCount < 2 && observable.PostCode) {\n\t return true;\n\t }\n\n if ((tempAreas.length > 0) && selectedCounries[0].AreasCount > 1) {\n\t return true;\n\t }\n\n\t return false;\n\t };\n\t addressValEngine.addOrUpdateValidationRule(\"isValidPostCode\", isValidPostCode, 'This Property must be a valid Postal Code');\n\n\t var isValidPhoneNumber = function (value) {\n\t var reg = /^[\\+]?[\\d]+$/g;\n\t return reg.test(value);\n\t };\n\t addressValEngine.addOrUpdateValidationRule(\"isValidPhoneNumber\", isValidPhoneNumber, 'This Property must be a valid Phone Number');\n\n\t var isAreaProperlySet = function (value) {\n\t if (observable.PostCode.length > 0 && isValidPostCode(observable.PostCode) && value.length > 0)\n\t return true;\n\n\t if (observable.PostCode.length <= 0)\n\t return true;\n\n\t return false;\n\t };\n\t addressValEngine.addOrUpdateValidationRule(\"isAreaProperlySet\", isAreaProperlySet, 'Area not completed');\n var extravalopts = {\n PostCode: [{ rule: \"isValidPostCode\" }],\n // Phones: [{ rule: \"isValidPhoneNumber\" }],\n // Mobile: [{ rule: \"isValidPhoneNumber\" }],\n Area: [{ rule: \"isAreaProperlySet\" }]\n };\n if (!venddProjectConfigs || !venddProjectConfigs.Account || !venddProjectConfigs.Account.Addresses || venddProjectConfigs.Account.Addresses.PhoneRequired === true) {\n extravalopts.Phones = [{ rule: \"isValidPhoneNumber\" }];\n }\n if (!venddProjectConfigs || !venddProjectConfigs.Account || !venddProjectConfigs.Account.Addresses || venddProjectConfigs.Account.Addresses.MobileRequired === true) {\n extravalopts.Mobiles = [{ rule: \"isValidPhoneNumber\" }];\n }\n\t //Custom validation Model Custom Rules\n var customAccountValidationModel = (extravalopts);\n\t addressValEngine.updateValidationModel(customAccountValidationModel);\n\n\t // =======================================================================\n\t // INVOICE VALIDATION\n\t // =======================================================================\n\n\t var isValidCompanyName = function (value) {\n\t if (observable.IsInvoice === true && value.length > 0)\n\t return true;\n\n\t if (observable.IsInvoice !== true)\n\t return true;\n\n\t return false;\n\t };\n\t addressValEngine.addOrUpdateValidationRule(\"isValidCompanyName\", isValidCompanyName, 'Please insert Company Name');\n\n\t var isValidOccupation = function (value) {\n\t if (observable.IsInvoice === true && value.length > 0)\n\t return true;\n\n\t if (observable.IsInvoice !== true)\n\t return true;\n\n\t return false;\n\t };\n\t addressValEngine.addOrUpdateValidationRule(\"isValidOccupation\", isValidOccupation, 'Please insert Occupation');\n\n\t var isValidTaxAgency = function (value) {\n\t if (observable.IsInvoice === true && value.length > 0)\n\t return true;\n\n\t if (observable.IsInvoice !== true)\n\t return true;\n\n\t return false;\n\t };\n\t addressValEngine.addOrUpdateValidationRule(\"isValidTaxAgency\", isValidTaxAgency, 'Please insert a valid Tax Agency');\n\n\t var isValidVatStatus = function (value) {\n\t if (observable.IsInvoice === true && value.length > 0)\n\t return true;\n\n\t if (observable.IsInvoice !== true)\n\t return true;\n\n\t return false;\n\t };\n\t addressValEngine.addOrUpdateValidationRule(\"isValidVatStatus\", isValidVatStatus, 'Please insert a valid Vat Status');\n\n\t var isValidTaxIdentifier = function (value) {\n\t if (observable.IsInvoice !== true)\n\t return true;\n\n\t return LhApp.Function.validateTaxIdentifier(observable.IsInvoice, observable.Country, value);\n\t };\n\t addressValEngine.addOrUpdateValidationRule(\"isValidTaxIdentifier\", isValidTaxIdentifier, 'Please insert a valid Tax Identifier');\n\n\t // Custom validation Model for Invoice data\n\t var customAccountInvoiceValidationModel = ({\n\t CompanyName: [{ rule: 'isValidCompanyName' }],\n\t Occupation: [{ rule: 'isValidOccupation' }],\n\t TaxAgency: [{ rule: 'isValidTaxAgency' }],\n\t TaxIdentifier: observable.IsInvoice ? [{ rule: \"required\" }, { rule: 'isValidTaxIdentifier' }] : [{ rule: 'isValidTaxIdentifier' }],\n\t });\n\t addressValEngine.updateValidationModel(customAccountInvoiceValidationModel);\n\n\t //Validation Binding\n\t var propertyChanging = function propertyChanging(data, propertyName, value) {\n\t var valOptions = {\n\t ValidationEngine: addressValEngine,\n\t PropertyName: propertyName,\n\t PropertyValue: value\n\t };\n\t Vendd.DataValidation.Validate(valOptions);\n\t };\n\n\t observable.AddListenerToPropertyChanging('FirstName', propertyChanging);\n\t observable.AddListenerToPropertyChanging('LastName', propertyChanging);\n\t observable.AddListenerToPropertyChanging('Mobile', propertyChanging);\n\t observable.AddListenerToPropertyChanging('Phones', propertyChanging);\n\t observable.AddListenerToPropertyChanging('AddressLine1', propertyChanging);\n\t observable.AddListenerToPropertyChanging('City', propertyChanging);\n\t //observable.AddListenerToPropertyChanging('PostCode', propertyChanging);\n\t //observable.AddListenerToPropertyChanging('Country', propertyChanging);\n\t observable.AddListenerToPropertyChanging('IsInvoice', propertyChanging);\n\t observable.AddListenerToPropertyChanging('CompanyName', propertyChanging);\n\t observable.AddListenerToPropertyChanging('Occupation', propertyChanging);\n\t observable.AddListenerToPropertyChanging('TaxIdentifier', propertyChanging);\n\t observable.AddListenerToPropertyChanging('TaxAgency', propertyChanging);\n\t observable.AddListenerToPropertyChanging('VatStatus', propertyChanging);\n\n\t observable.AddListenerToPropertyChanging('PostCode', function postpropertyChanging(data, propertyName, value) {\n\t //if (observable.model.PostCode !== '') {\n\t tempPostCode = value;\n\t validateAreas = true;\n\t Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAreasForPostCode(observable, value, true));\n\t //}\n\t });\n\t //observable.AddListenerToPropertyChanging('Area', propertyChanging);\n\t return addressValEngine;\n\t};\n\n\tVendd.Account.EmptyAreasOnClose = function (observable) {\n\n\t};\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t'use strict';\n \n\t\n\n\tvar model = null;\n\tvar pending = false;\n\n\tVendd.MessageBus.subscribe(Vendd.WishlistMerchant.Messages.GetModel, Vendd.WishlistMerchant, function (envelope) {\n\n\t if (pending === true) {\n\t return false;\n\t };\n\n\t pending = true;\n\n\t function onSuccess(response) {\n\t model = response.data;\n\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.Changed(model));\n\n\t pending = false;\n\t }\n\n\t function onFailure(response) {\n\t console.log(\"Vendd.MessageBus.subscribe fail\");\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.Failed(response));\n\t }\n\n\t var options = {\n\t url: 'api/Wishlist/GetWishlistMerchantViewModel',\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t Vendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WishlistMerchant.Messages.Add, Vendd.WishlistMerchant, function (envelope) {\n\t var data = {};\n\t data.item = envelope.message.data;\n\n\t function onSuccess(response) {\n\t if (response.success)\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.GetModel());\n\t else\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.Failed(response));\n }\n\n\t function onFailure(response) {\n\t console.log(\"fail response:\" + JSON.stringify(response));\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.Failed(response));\n\t }\n\n\t var options = {\n\t url: 'EcomService.svc/AddToWishlistMerchant',\n\t data: data,\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t Vendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WishlistMerchant.Messages.Remove, Vendd.WishlistMerchant, function (envelope) {\n\t function onSuccess(response) {\n if (response.success)\n Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.GetModel());\n else\n Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.Failed(response));\n }\n\n\t function onFailure(response) {\n\t console.log(\"fail response:\" + JSON.stringify(response));\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.Failed(response));\n }\n\n var options = {\n url: 'EcomService.svc/RemoveFromWishlistMerchant',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WishlistMerchant.Messages.Clear, Vendd.WishlistMerchant, function (envelope) {\n function onSuccess (response) {\n if (response.success)\n Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.GetModel());\n else\n Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.Failed(response));\n }\n\n function onFailure (response) {\n Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.Failed(response));\n }\n\n var options = {\n url: 'EcomService.svc/ClearWishlistMerchant',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.LoginSuccess, Vendd.WishlistMerchant, function (envelope) {\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.GetModel());\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.LogoutSuccess, Vendd.WishlistMerchant, function (envelope) {\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.GetModel());\n\t});\n\n\t \n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t'use strict';\n \n\tvar model = null;\n\tvar pending = false;\n\n\tVendd.MessageBus.subscribe(Vendd.WishlistArticle.Messages.GetModel, Vendd.WishlistArticle, function (envelope) {\n\n\t if (pending === true) {\n\t return false;\n\t };\n\n\t pending = true;\n\n\t function onSuccess(response) {\n\t model = response.data;\n\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistArticle, new Vendd.WishlistArticle.Messages.Changed(model));\n\n\t pending = false;\n\t }\n\n\t function onFailure(response) {\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistArticle, new Vendd.WishlistArticle.Messages.Failed(response));\n\t }\n\n\t var options = {\n\t url: 'api/Wishlist/GetWishlistArticleViewModel',\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t Vendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WishlistArticle.Messages.Add, Vendd.WishlistArticle, function (envelope) {\n\t var data = {};\n\t data.item = envelope.message.data;\n\n\t function onSuccess(response) {\n\t if (response.success)\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistArticle, new Vendd.WishlistArticle.Messages.GetModel());\n\t else\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistArticle, new Vendd.WishlistArticle.Messages.Failed(response));\n }\n\n\t function onFailure(response) {\n\t console.log(\"fail response:\" + JSON.stringify(response));\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistArticle, new Vendd.WishlistArticle.Messages.Failed(response));\n\t }\n\n\t var options = {\n\t url: 'EcomService.svc/AddToWishlistArticle',\n\t data: data,\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t Vendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WishlistArticle.Messages.Remove, Vendd.WishlistArticle, function (envelope) {\n\t function onSuccess(response) {\n if (response.success)\n Vendd.MessageBus.publishAsync(Vendd.WishlistArticle, new Vendd.WishlistArticle.Messages.GetModel());\n else\n Vendd.MessageBus.publishAsync(Vendd.WishlistArticle, new Vendd.WishlistArticle.Messages.Failed(response));\n }\n\n\t function onFailure(response) {\n\t console.log(\"fail response:\" + JSON.stringify(response));\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistArticle, new Vendd.WishlistArticle.Messages.Failed(response));\n }\n\n var options = {\n url: 'EcomService.svc/RemoveFromWishlistArticle',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WishlistArticle.Messages.Clear, Vendd.WishlistArticle, function (envelope) {\n function onSuccess (response) {\n if (response.success)\n Vendd.MessageBus.publishAsync(Vendd.WishlistArticle, new Vendd.WishlistArticle.Messages.GetModel());\n else\n Vendd.MessageBus.publishAsync(Vendd.WishlistArticle, new Vendd.WishlistArticle.Messages.Failed(response));\n }\n\n function onFailure (response) {\n Vendd.MessageBus.publishAsync(Vendd.WishlistArticle, new Vendd.WishlistArticle.Messages.Failed(response));\n }\n\n var options = {\n url: 'EcomService.svc/ClearWishlistArticle',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.LoginSuccess, Vendd.WishlistArticle, function (envelope) {\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistArticle, new Vendd.WishlistArticle.Messages.GetModel());\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.LogoutSuccess, Vendd.WishlistArticle, function (envelope) {\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistArticle, new Vendd.WishlistArticle.Messages.GetModel());\n\t});\n\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n var pending = false;\n var pendingSessionStatus = true;\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionStateSuccess, Vendd.Wishlist, function (envelope) {\n pending = false;\n pendingSessionStatus = false;\n if (envelope.message.data.IsNewSession)\n Vendd.Wishlist.ClearClientModel();\n\n if (venddProjectConfigs.WishlistModelEnabled) {\n Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.GetModel());\n }\n });\n\n\n\n\tVendd.MessageBus.subscribe(Vendd.Wishlist.Messages.GetModel, Vendd.Wishlist, function (envelope) {\n if (pendingSessionStatus == true) {\n pending = true;\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetSessionState());\n return false;\n }\n\n\t if (LhApp.Context.MultipleWishlistsEnabled) {\n\t Vendd.MessageBus.publishAsync(Vendd.UserWishlist, new Vendd.UserWishlist.Messages.GetModel());\n\n\t if (LhApp.Context.Item.Template != 'wishlist')\n\t return true;\n\t }\n\n\t if (pending === true) {\n\t return false;\n\t }; \n\n\t function onSuccess (response) {\n\t model = response.data ? $.extend({}, response.data, { LangCode: LhApp.Context.Language }) : response.data;\n\t Vendd.Wishlist.SetClientModel(model);\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Changed(model));\n\n\t pending = false;\n\t }\n\n\t function onFailure (response) {\n Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Failed(response));\n\n pending = false;\n\t }\n\n\t var itemId = 0, templateCode = \"\";\n\t if (LhApp.Context.Item !== undefined) {\n\t itemId = LhApp.Context.Item.Id;\n\t }\n\n\t if (LhApp.Context.Item) {\n\t templateCode = LhApp.Context.Item.Template;\n\t }\n\n\t var visitorListId = Vendd.Wishlist.GetVisitorListByQueryString();\n\n\t var options = {\n\t data: { currentItemId: itemId, templateCode: templateCode, visitorListId: visitorListId },\n\t url: 'api/Wishlist/GetWishlistViewModel' + '?lang=' + LhApp.Context.Language, //todo perikstath -> this should be resolved by the rewriter and be like /el/\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t if (model != null && model != undefined && Vendd.Wishlist.GetClientModel() != null && document.cookie.indexOf('ForceClearWishlistLocalStorage') == -1) {\n\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Changed(model));\n\t return true;\n\t }\n\n\t $.removeCookie('ForceClearWishlistLocalStorage', { path: '/' });\n\t pending = true;\n\n\t Vendd.Service.call(options);\n\n\t});\n\n Vendd.MessageBus.subscribe(Vendd.Wishlist.Messages.Changed, Vendd.Wishlist, function (envelope) {\n if (envelope && !envelope.message.data.IsLocalStorageCache)\n Vendd.MessageBus.publishAsync(Vendd.Newsletter, new Vendd.Newsletter.Messages.UpdateNewLetterVariables(1, null));\n });\n\n\tVendd.MessageBus.subscribe(Vendd.Wishlist.Messages.Add, Vendd.Wishlist, function (envelope) {\n\n\t var data = {};\n\t data.item = envelope.message.data;\n\n\t function onSuccess(response) {\n\t Vendd.Wishlist.ClearClientModel();\n\n\t if (LhApp.Context.MultipleWishlistsEnabled)\n\t Vendd.UserWishlist.ClearClientModel();\n\n\t if (response.success) {\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.GetModel());\n\t } else\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Failed(response));\n\t }\n\n\t function onFailure (response) {\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Failed(response));\n\t }\n\n\t var options = {\n\t url: 'EcomService.svc/AddToWishlist',\n\t data: data,\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t Vendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Wishlist.Messages.Remove, Vendd.Wishlist, function (envelope) {\n\n\t function onSuccess(response) {\n\t if (response.success) {\n\t Vendd.Wishlist.ClearClientModel();\n\n\t if (LhApp.Context.MultipleWishlistsEnabled)\n\t Vendd.UserWishlist.ClearClientModel();\n\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.GetModel());\n\t } else\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Failed(response));\n\t }\n\n function onFailure (response) {\n Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Failed(response));\n }\n\n var options = {\n url: 'EcomService.svc/RemoveFromWishlist',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Wishlist.Messages.MoveToCart, Vendd.Wishlist, function (envelope) {\n\n\t var data = LhApp.Context.MultipleWishlistsEnabled && !envelope.message.data.listId\n\t ? $.extend({}, envelope.message.data, { listId: Vendd.Wishlist.GetVisitorListByQueryString() })\n\t : envelope.message.data;\n\n\t function onSuccess(response) {\n\t if (response.success) {\n\t Vendd.Wishlist.ClearClientModel();\n\t Vendd.Cart.ClearClientModel();\n\t \n\t if (LhApp.Context.MultipleWishlistsEnabled)\n\t Vendd.UserWishlist.ClearClientModel();\n\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.GetModel());\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Cart.Messages.ShowMessages(response));\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Cart.Messages.GetModel());\n\t } else\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Failed(response));\n\t }\n\n\t function onFailure (response) {\n\t Vendd.MessageBus.publishAsync(envelope.sender, new Vendd.Wishlist.Messages.Failed(response));\n\t }\n\n\t var options = {\n\t url: 'EcomService.svc/MoveWishlistProductToCart',\n\t data: data,\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t Vendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Wishlist.Messages.MoveAllToCart, Vendd.Wishlist, function (envelope) { \n\n\t var data = { listId: Vendd.Wishlist.GetVisitorListByQueryString() };\n\n\t function onSuccess(response) {\n\t if (response.success) {\n\t Vendd.Wishlist.ClearClientModel();\n\t Vendd.Cart.ClearClientModel();\n\t \n\t if (LhApp.Context.MultipleWishlistsEnabled)\n\t Vendd.UserWishlist.ClearClientModel();\n\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.GetModel());\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Cart.Messages.ShowMessages(response));\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Cart.Messages.GetModel());\n\t };\n\t }\n\n\t function onFailure (response) {\n\t Vendd.MessageBus.publishAsync(envelope.sender, new Vendd.Wishlist.Messages.Failed(response));\n\t }\n\n\t var options = {\n\t url: 'EcomService.svc/MoveWishlistToCart',\n data: data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n\t Vendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Wishlist.Messages.Clear, Vendd.Wishlist, function (envelope) {\n\n\t var data = { listId: Vendd.Wishlist.GetVisitorListByQueryString() };\n\n\t function onSuccess(response) {\n if (response.success) {\n Vendd.Wishlist.ClearClientModel();\n \n if (LhApp.Context.MultipleWishlistsEnabled)\n Vendd.UserWishlist.ClearClientModel();\n\n Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.GetModel());\n } else\n Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Failed(response));\n }\n\n function onFailure (response) {\n Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Failed(response));\n }\n\n var options = {\n url: 'EcomService.svc/ClearWishlist',\n data : data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.LoginSuccess, Vendd.Wishlist, function (envelope) {\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.GetModel());\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.LogoutSuccess, Vendd.Wishlist, function (envelope) {\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.GetModel());\n\t});\n\n\n\tVendd.Wishlist.ClearClientModel = function () {\n\t localStorage.removeItem('CurrentWishlistModel');\n\t};\n\n Vendd.Wishlist.GetClientModel = function () {\n var mdl = JSON.parse(localStorage.getItem(\"CurrentWishlistModel\"));\n\n return LhApp.Function.validateClientModel(mdl)\n ? $.extend({ IsLocalStorageCache: true }, mdl)\n : null;\n };\n\n\tVendd.Wishlist.SetClientModel = function (mdl) {\n\t localStorage.setItem('CurrentWishlistModel', JSON.stringify(mdl));\n\t};\n\n Vendd.Wishlist.GetVisitorListByQueryString = function() {\n return LhApp.Function.QueryString.getValueOf('list', unescape(LhApp.Context.Request.RawUrl)) || 0;\n };\n \n\n var model = Vendd.Wishlist.GetClientModel();\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t'use strict';\n\n var pending = false;\n var pendingSessionStatus = true;\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.DownLoadExcel, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.DownLoadExcelSuccess(response));\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.DownLoadExcelFailure(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/GetCartItemsToExcel',\n\t\t\tdata: {\n\t\t\t\tparam: envelope.message.data\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionStateSuccess, Vendd.Cart, function (envelope) {\n pending = false;\n pendingSessionStatus = false;\n if (envelope.message.data.IsNewSession)\n Vendd.Cart.ClearClientModel();\n\n if (venddProjectConfigs.CartModelEnabled) {\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n }\n\n });\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.GetModel, Vendd.Cart, function (envelope) {\n\n\t\tif (pending === true) {\n\t\t\treturn false;\n\t\t};\n\n if (pendingSessionStatus) {\n pending = true;\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetSessionState());\n return false;\n }\n\n\t\tfunction onSuccess(response) {\n\t\t model = response.data ? $.extend({}, response.data, { LangCode: LhApp.Context.Language }) : response.data;\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ShowMessages(response));\n\t\t\tVendd.Cart.SetClientModel(model);\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Changed(model));\n\t\t\tpending = false;\n\t\t}\n\n\t\tfunction onFailure(response) {\n\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t\tpending = false;\n\t\t}\n\n\t\tvar itemId = 0, templateCode = \"\";\n\t\tif (LhApp.Context.Item !== undefined) {\n\t\t\titemId = LhApp.Context.Item.Id;\n\t\t}\n\n\t\tif (LhApp.Context.Item) {\n\t\t templateCode = LhApp.Context.Item.Template;\n\t\t}\n\n\t\tvar options = {\n\t\t data: { currentItemId: itemId, templateCode: templateCode },\n\t\t url: 'api/Cart/GetCartViewModel' + '?lang=' + LhApp.Context.Language, //todo perikstath -> this should be resolved by the rewriter and be like /el/\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tif (model != null && model != undefined && Vendd.Cart.GetClientModel() != null && document.cookie.indexOf('ForceClearCartLocalStorage') == -1) {\n\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Changed(model));\n\t\t\treturn true;\n\t\t}\n\n\t\tpending = true;\n\t\t$.removeCookie('ForceClearCartLocalStorage', { path: '/' });\n\n\t\tpending = true;\n\t\tVendd.Service.call(options);\n\n\t\treturn true;\n });\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Changed, Vendd.Cart, function (envelope) {\n if (envelope && !envelope.message.data.IsLocalStorageCache)\n Vendd.MessageBus.publishAsync(Vendd.Newsletter, new Vendd.Newsletter.Messages.UpdateNewLetterVariables(2, null));\n });\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.Add, Vendd.Cart, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.AddCompleted(response));\n\t\t\tif (response.success && response.code === 'OperationSuccesful') {\n\t\t\t\tVendd.Cart.ClearClientModel();\n\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ProductAdded(envelope.message.data.id));\n\t\t\t\t\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ShowMessages(response));\n\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t\t\t} else if (response.success && response.code === 'AlreadyInCart') {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.AlreadyInCart(envelope.message.data.id));\n\t\t\t} else if (response.success && response.code === 'ValidationError') {\n\t\t\t Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Warning(response));\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t\t}\n\t\t}\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.AddCompleted(response));\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n var options = {\n url: 'EcomService.svc/AddToCart',\n data: {\n item: {\n id: envelope.message.data.id,\n skuId: envelope.message.data.skuId,\n path: envelope.message.data.path,\n qty: parseFloat(envelope.message.data.qty).toFixed(2),\n extraAttributes: envelope.message.data.extraAttributes,\n bundleItems: envelope.message.data.bundleItems,\n recipeItems: envelope.message.data.recipeItems,\n comboItems: envelope.message.data.comboItems,\n isDefaultRecipeQuantitiesIncluded: true\n }\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.MultipleAdd, Vendd.Cart, function (envelope) {\n\t\tvar data = {\n\t\t\titems: envelope.message.data\n\t\t};\n\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\n\t\t\tif (response.success) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.MultipleAddSuccess(response));\n\t\t\t} else\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/MultipleAddToCart',\n\t\t\tdata: data,\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.MultipleAddSuccess, Vendd.Cart, function (envelope) {\n\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.Remove, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\n\t\t if (response.success) {\n\t\t Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ProductRemoved(envelope.message.data.id));\n\t\t Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t\t } else\n\t\t Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/RemoveFromCart',\n\t\t\tdata: envelope.message.data,\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.SetQuantity, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\n\t\t\tif (response.success && response.code === 'OperationSuccesful') {\n\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ShowMessages(response));\n\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t\t\t} else if (response.success && response.code === 'ValidationError') {\n\t\t\t Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Warning(response));\n\t\t\t} else\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/SetCartItemQty',\n\t\t\tdata: {\n\t\t\t\titem: {\n\t\t\t\t\tid: envelope.message.data.id,\n\t\t\t\t\tqty: envelope.message.data.qty\n\t\t\t\t}\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.SetQuantities, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\n\t\t\tif (response.success) {\n\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ShowMessages(response));\n\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t\t\t} else\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed());\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed());\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/SetCartItemsQty',\n\t\t\tdata: {\n\t\t\t\titems: envelope.message.data.items\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.UpdateBundleItems, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\n\t\t\tif (response.success) {\n\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ShowMessages(response));\n\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t\t\t} else\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/UpdateBundleItems',\n\t\t\tdata: {\n\t\t\t\titem: {\n\t\t\t\t\tid: envelope.message.data.id,\n\t\t\t\t\tbundleItems: envelope.message.data.bundleItems\n\t\t\t\t}\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.ApplyExtraAllowanceOrCharge, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\n\t\t\tif (response.success)\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t\t\telse\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/SetAllowanceOrCharge',\n\t\t\tdata: {\n\t\t\t\titem: {\n\t\t\t\t\titemId: envelope.message.data.itemId,\n\t\t\t\t\tshopAllowanceorChargeId: envelope.message.data.shopAllowanceorChargeId,\n\t\t\t\t}\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.DisableExtraAllowanceOrCharge, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\n\t\t\tif (response.success)\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t\t\telse\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/RemoveAllowanceOrCharge',\n\t\t\tdata: {\n\t\t\t\titem: {\n\t\t\t\t\titemId: envelope.message.data.itemId,\n\t\t\t\t\tshopAllowanceorChargeId: envelope.message.data.shopAllowanceorChargeId,\n\t\t\t\t}\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.SetGiftwrap, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\n\t\t\tif (response.success)\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t\t\telse\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/SetCartItemGiftWrap',\n\t\t\tdata: {\n\t\t\t\titem: {\n\t\t\t\t\tid: envelope.message.data.id,\n\t\t\t\t\twrapId: envelope.message.data.wrapId,\n\t\t\t\t\tmessage: envelope.message.data.message\n\t\t\t\t}\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.SetGiftwraps, Vendd.Cart, function (envelope) {\n\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\n\t\t\tif (response.success)\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t\t\telse\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed());\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/SetCartItemsGiftWrap',\n\t\t\tdata: {\n\t\t\t\titems: envelope.message.data.items\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.SetGiftCard, Vendd.Cart, function (envelope) {\n\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\n\t\t\tif (response.success) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GiftCardApplyFailed(response));\n\t\t\t};\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GiftCardApplyFailed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/SetGiftCard',\n\t\t\tdata: {\n\t\t\t\tcode: envelope.message.data.code,\n\t\t\t\tamount: envelope.message.data.amount\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.AddGiftCartEmailAddress, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\n\t\t\tif (response.success) {\n\t\t\t Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t\t\t Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.AddGiftCartEmailAddressSuccess());\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t\t};\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/AddGiftCartEmailAddress',\n\t\t\tdata: {\n\t\t\t\titems: envelope.message.data.items,\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.ClearAllGiftCards, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\n\t\t\tif (response.success) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t\t};\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/ClearAllGiftCards',\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.ClearGiftCard, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\t\t\tif (response.success) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t\t};\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/ClearGiftCard',\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.Clear, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\n\t\t\tif (response.success)\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t\t\telse\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/ClearCart',\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n /*Coupons*/\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.ApplyCoupon, Vendd.Cart, function (envelope) {\n\t function onSuccess(response) {\n\t Vendd.Cart.ClearClientModel();\n\t if (response.success) {\n\t Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t } else {\n\t Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t };\n\t }\n\n\t function onFailure(response) {\n\t Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t }\n\n\t var options = {\n\t url: 'EcomService.svc/SetCoupon',\n\t data: {\n\t code: envelope.message.data.code\n\t },\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t Vendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.ClearCoupon, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tif (response.success) {\n\t\t\t\tVendd.Cart.ClearClientModel();\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t\t};\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/ClearCoupon',\n\t\t\tdata: {\n\t\t\t\tcode: envelope.message.data.code\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.ClearCoupons, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\t\t\tif (response.success) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t\t};\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/ClearCoupons',\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n });\n\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.ApplyExternalCoupon, Vendd.Cart, function (envelope) {\n\t function onSuccess(response) {\n\t Vendd.Cart.ClearClientModel();\n\t if (response.success) {\n\t Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t } else {\n\t Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t };\n\t }\n\n\t function onFailure(response) {\n\t Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t }\n\n\t var options = {\n\t url: 'api/ExternalCoupon/SetExternalCouponCode',\n\t data: {\n\t code: envelope.message.data.code\n\t },\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.ClearExternalCoupon, Vendd.Cart, function (envelope) {\n function onSuccess(response) {\n if (response.success) {\n Vendd.Cart.ClearClientModel();\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n } else {\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n };\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n }\n\n var options = {\n url: 'api/ExternalCoupon/RemoveExternalCouponCode',\n data: {\n code: envelope.message.data.code\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.ClearExternalCoupons, Vendd.Cart, function (envelope) {\n function onSuccess(response) {\n Vendd.Cart.ClearClientModel();\n if (response.success) {\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n } else {\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n };\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n }\n\n var options = {\n url: 'api/ExternalCoupon/ClearExternalCoupons',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n\t/*GiftCards*/\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.ClearGiftCard, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\t\t\tif (response.success) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t\t};\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/ClearGiftCard',\n\t\t\tdata: {\n\t\t\t\tcode: envelope.message.data.code\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.LoginSuccess, Vendd.Cart, function (envelope) {\n\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.LogoutSuccess, Vendd.Cart, function (envelope) {\n\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.ApplyShippingData, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\t\t\tif (response.success) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ApplyShippingDataSuccess(response));\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ApplyShippingDataFailed(response));\n\t\t\t};\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ApplyShippingDataFailed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'CartService.svc/ApplyShippingData',\n\t\t\tdata: {\n\t\t\t\tcountryCode: envelope.message.data.countryCode,\n\t\t\t\tpostCode: envelope.message.data.postCode,\n\t\t\t\tareaId: envelope.message.data.areaId,\n\t\t\t\tshippingMethodId: envelope.message.data.shippingMethodId,\n\t\t\t\tshippingCompanyId: envelope.message.data.shippingCompanyId\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.GetShippingModel, Vendd.Cart, function (envelope) {\n\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetShippingModelSuccess(response));\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetShippingModelFailed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'CartService.svc/GetShippingViewModel',\n\t\t\tdata: {\n\t\t\t\tcountryCode: envelope.message.data.countryCode,\n\t\t\t\tpostCode: envelope.message.data.postCode,\n\t\t\t\tareaId: envelope.message.data.areaId,\n\t\t\t\tshippingMethodId: envelope.message.data.shippingMethodId,\n\t\t\t\tshippingCompanyId: envelope.message.data.shippingCompanyId\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.AddOrderItemsToCart, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\t\t\tif (response.success) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.AddOrderItemsToCartSuccess(response));\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.AddOrderItemsToCartFailed(response));\n\t\t\t};\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.AddOrderItemsToCartFailed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/AddOrderItemsToCart',\n\t\t\tdata: envelope.message.data,\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.Cart.GetNewGiftCardEmail = function (cartItem, literals, wrapper) {\n\t\tvar newGiftCardEmail = {\n\t\t\tFromName: '',\n\t\t\tToName: '',\n\t\t\tEmail: '',\n\t\t\tCustomText: '',\n\t\t\tTitle: cartItem.Title,\n\t\t\tProductId: cartItem.ProductId,\n\t\t\tVariantId: cartItem.VariantId,\n\t\t\tCartProductId: cartItem.Id\n\t\t};\n\n\t\tvar literals = { Literals: literals };\n\t\t$.extend(newGiftCardEmail, literals);\n\t\tvar observable = new Vendd.Observable(newGiftCardEmail);\n\t\tobservable.valEngine = Vendd.Cart.CreateGiftCardEmailValidationModel(observable);\n\n\t\treturn observable;\n\t};\n\n\tVendd.Cart.CreateGiftCardEmailValidationModel = function (observable) {\n\n\t\tvar defaultValidationModel = ({\n\t\t\tFromName: [{ rule: \"required\" }],\n\t\t\tToName: [{ rule: \"required\" }],\n\t\t\tEmail: [{ rule: \"required\" }, { rule: \"isEmail\" }]\n\t\t});\n\n\t\tvar valEngine = Vendd.DataValidation.BuildValidationModel(defaultValidationModel);\n\n\t\tvar propertyChanging = function propertyChanging(data, propertyName, value) {\n\n\t\t\tvar valOptions = {\n\t\t\t\tValidationEngine: valEngine,\n\t\t\t\tPropertyName: propertyName,\n\t\t\t\tPropertyValue: value\n\t\t\t};\n\t\t\tVendd.DataValidation.Validate(valOptions);\n\t\t};\n\n\t\tobservable.AddListenerToPropertyChanging('FromName', propertyChanging);\n\t\tobservable.AddListenerToPropertyChanging('ToName', propertyChanging);\n\t\tobservable.AddListenerToPropertyChanging('Email', propertyChanging);\n\t\treturn valEngine;\n\t};\n\n\tVendd.Cart.ClearClientModel = function () {\n\t\tlocalStorage.removeItem('CurrentCartModel');\n\t};\n\n\tVendd.Cart.GetClientModel = function () {\n\t var mdl = JSON.parse(localStorage.getItem(\"CurrentCartModel\"));\n\n\t return LhApp.Function.validateClientModel(mdl)\n ? $.extend({ IsLocalStorageCache: true }, mdl)\n : null;\n\t};\n\n\tVendd.Cart.SetClientModel = function (mdl) {\n\t localStorage.setItem('CurrentCartModel', JSON.stringify(mdl));\n\t};\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.SetDeliveryPoint, Vendd.Cart, function (envelope) {\n function onSuccess(success) {\n if (success)\n window.location.reload();\n }\n\n function onFailure(response) {\n }\n\n var options = {\n url: 'ProductListService.svc/SetDeliveryPoint',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n\tvar model = Vendd.Cart.GetClientModel();\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n var doGetPageWithGetMethod = function (data, configuration, position, type) {\n var reqData =\n {\n \"templateCode\": LhApp.Context.Item.Template,\n \"configCode\": \"\",\n \"itemId\": LhApp.Context.Item.Id,\n \"itemPath\": LhApp.Context.Item.Path,\n \"pageNumber\": configuration.PageNumber,\n \"pageSize\": configuration.PageSize,\n \"sortKey\": configuration.SortKey,\n \"fullPath\": LhApp.Context.Item.FullPath,\n \"excludeItemIds\": configuration.ExcludeItemIds \n\n };\n\n var url = type == 'articleList' ? 'CachedServices/api/Article/GetScrolledArticleList' + (location.search) : 'CachedServices/api/Product/GetScrolledProductList' + (location.search) ;\n\n $.ajax({\n async: true,\n type: \"GET\",\n dataType: 'json',\n contentType: 'application/json; charset=UTF-8',\n ContentType: 'application/json; charset=UTF-8',\n url: url,\n data: (reqData),\n success: function (response) {\n response.success ? onSuccess(response.data) : onFailure(response.data);\n },\n failure: function (ex) {\n onFailure(ex);\n }\n });\n\n function onSuccess(response) {\n var model = response ? response : onFailure(response);\n\n if (position === \"Current\") {\n Vendd.MessageBus.publishAsync(Vendd.ScrollList, new Vendd.ScrollList.Messages.GetCurrentPageSuccess(data.list, model, position, type));\n } else {\n model.PageNumber = configuration.PageNumber;\n Vendd.MessageBus.publishAsync(Vendd.ScrollList, new Vendd.ScrollList.Messages.GetPageSuccess(data.list, model, position, type));\n if (model.Items.length > 0 && model.Items[0].length > 1) {\n addHistoryObject(configuration.PageNumber);\n }\n }\n };\n function onFailure(response) {\n if (position === \"Current\") {\n Vendd.MessageBus.publishAsync(Vendd.ScrollList, new Vendd.ScrollList.Messages.GetCurrentPageFailure(data.list, response));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.ScrollList, new Vendd.ScrollList.Messages.GetNextPageFailure(data.list, response));\n }\n };\n }\n\n var addHistoryObject = function (pageNumber) {\n\n if (history.pushState) {\n\n\t\t\tvar querystring = window.location.pathname + (window.location.pathname.slice(-1) != \"/\" ? \"/\" : \"\"),\n\t\t\t\tpager = $('.x-pager[data-page-count]'),\n\t\t\t\tpageCount = pager.length ? (parseInt(pager.attr('data-page-count')) || 0) : 0,\n \t\tpageText = pageNumber > 1 ? \"p\" + pageNumber + \"/\" : \"\";\n\n if (!(/\\/P\\d+\\//i.test(querystring))) {\n querystring = querystring + pageText;\n } else {\n querystring = querystring.replace(/\\/P\\d+\\//i, \"/\" + pageText);\n }\n\n var stateObject = {};\n var url = window.location.protocol\n + \"//\"\n + window.location.host\n + querystring\n + window.location.search;\n\t\t\tif (window.location.url !== url) {\n\t\t\t\tvar prev = $(\"head link[rel=prev]\");\n\t\t\t\tvar next = $(\"head link[rel=next]\");\n\t\t\t\tvar prevLink = url.replace(/^(.+\\/p)\\d+(\\/?(\\?.*)?)?$/i, \"$1\" + (pageNumber - 1) + \"$2\");\n\t\t\t\tvar nextLink = url.replace(/^(.+\\/p)\\d+(\\/?(\\?.*)?)?$/i, \"$1\" + (pageNumber + 1) + \"$2\");\n\t\t\t\tif (prev) {\n\t\t\t\t\tif (pageNumber > 1) {\n\t\t\t\t\t\tprev.attr(\"href\", prevLink);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tprev.remove();\n\t\t\t\t\t}\n\t\t\t\t} else if (pageNumber > 1) {\n\t\t\t\t\t$(\"head\").append(\"link rel=\\\"prev\\\" href=\\\"\" + prevLink + \"\\\" />\");\n\t\t\t\t}\n\t\t\t\tif (next) {\n\t\t\t\t\tif (pageNumber < pageCount) {\n\t\t\t\t\t\tnext.attr(\"href\", nextLink);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tnext.remove();\n\t\t\t\t\t}\n\t\t\t\t} else if (pageNumber < pageCount) {\n\t\t\t\t\t\t$(\"head\").append(\"link rel=\\\"next\\\" href=\\\"\" + nextLink + \"\\\" />\");\n\t\t\t\t}\n\t\t\t\thistory.replaceState(stateObject, jQuery(document).find('title').text() + pageNumber, url);\n\t\t\t}\n }\n\n }\n\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetNextPage, Vendd.ScrollList, function (envelope) {\n\n if (envelope.message.data.serviceConfiguration == undefined || envelope.message.data.serviceConfiguration == '') return;\n\n var configuration = JSON.parse(envelope.message.data.serviceConfiguration);\n var nextPage = parseInt($(envelope.message.data.list).attr('data-next-page')),\n \t\ttotalPages = parseInt($(envelope.message.data.list).attr('data-total-pages'));\n if (nextPage > 1) {\n configuration.PageNumber = nextPage;\n $(envelope.message.data.list).attr('data-next-page', nextPage + 1);\n $(envelope.message.data.list).attr('data-current-page', nextPage);\n if (nextPage <= totalPages) {\n doGetPageWithGetMethod(envelope.message.data, configuration, \"BottomOfList\", envelope.message.data.type);\n } else {\n Vendd.MessageBus.publishAsync(Vendd.ScrollList, new Vendd.ScrollList.Messages.GetNextPageFailure(envelope.message.data.list, { data: '{}' }));\n }\n } else {\n Vendd.MessageBus.publishAsync(Vendd.ScrollList, new Vendd.ScrollList.Messages.GetNextPageFailure(envelope.message.data.list, { data: '{}' }));\n }\n\n });\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetPreviousPage, Vendd.ScrollList, function (envelope) {\n\n if (envelope.message.data.serviceConfiguration == undefined || envelope.message.data.serviceConfiguration == '') return;\n\n var configuration = JSON.parse(envelope.message.data.serviceConfiguration);\n var previousPage = parseInt($(envelope.message.data.list).attr('data-previous-page')),\n \t\ttotalPages = parseInt($(envelope.message.data.list).attr('data-total-pages'));\n configuration.PageNumber = previousPage;\n $(envelope.message.data.list).attr('data-previous-page', previousPage - 1);\n $(envelope.message.data.list).attr('data-current-page', previousPage);\n if (previousPage >= 1) {\n doGetPageWithGetMethod(envelope.message.data, configuration, \"TopOfList\", envelope.message.data.type);\n } else {\n Vendd.MessageBus.publishAsync(Vendd.ScrollList, new Vendd.ScrollList.Messages.GetNextPageFailure(envelope.message.data.list, { data: '{}' }));\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetCurrentPage, Vendd.ScrollList, function (envelope) {\n\n var configuration = (envelope.message.data.serviceConfiguration != \"\") ? JSON.parse(envelope.message.data.serviceConfiguration) : \"\";\n\n var currentPage = parseInt($(envelope.message.data.list).attr('data-current-page'));\n\n if (currentPage > 0 && configuration != \"\") {\n configuration.PageNumber = currentPage;\n\n Vendd.MessageBus.publishAsync(Vendd.ScrollList, new Vendd.ScrollList.Messages.GetCurrentPageSuccess(envelope.message.data, window.jsonArr, \"Current\", envelope.message.data.type));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.ScrollList, new Vendd.ScrollList.Messages.GetCurrentPageFailure(envelope.message.data.list, { data: '{}' }));\n }\n\n });\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetClientProductListData, Vendd.ScrollList, function (envelope) {\n Vendd.Service.call({\n url: 'EcomService.svc/GetProductListData',\n data: {\n variantIds: envelope.message.data.itemIds\n },\n onSuccess: function (res) {\n if (res.success) {\n Vendd.MessageBus.publishAsync(Vendd.ScrollList, new Vendd.ScrollList.Messages.GetClientProductListDataSuccess(res.data));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.ScrollList, new Vendd.ScrollList.Messages.GetClientProductListDataFailure(res.data));\n }\n }\n });\n });\n\n return Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n\t'use strict';\n\n\tVendd.Widget.CartWidget = 'CartWidget';\n\tVendd.Widget.WishlistWidget = 'WishlistWidget';\n\tVendd.Widget.WishlistArticleWidget = 'WishlistArticleWidget';\n\tVendd.Widget.LoginWidget = 'LoginWidget';\n\tVendd.Widget.ProductCompareWidget = 'ProductCompareWidget';\n\t\n\treturn Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.User = (function (User) {\n\n User.AuthProviders = (function (AuthProviders) {\n\n var dq = {\n\n connect: function (loginId, email, onSuccess, onError) {\n Vendd.Service.call({\n url: 'AuthService.svc/ConnectAuthenticationProvider',\n data: {\n provider: 'disqus',\n loginId: loginId,\n email: email\n },\n onSuccess: onSuccess,\n onFailure: onError\n });\n }\n };\n\n AuthProviders.disqus = {\n\n initiating: false,\n initiated: false,\n\n Configuration: {\n ClientId: '',\n AuthUrl: '',\n ShortName: ''\n },\n\n init: function (source, identifier, url) {\n var me = this;\n\n if (!this.initiating && !this.initiated) {\n this.initiating = true;\n\n Vendd.Service.call({\n url: 'Auth/DisqusService.svc/GetConfiguration',\n data: {},\n onSuccess: function (res) {\n\n me.Configuration.ClientId = res.clientId;\n me.Configuration.AuthUrl = res.authUrl;\n me.Configuration.ShortName = res.shortName;\n\n var d = document, s = d.createElement('script');\n \n s.src = '//' + me.Configuration.ShortName + '.disqus.com/embed.js';\n\n s.setAttribute('data-timestamp', +new Date());\n (d.head || d.body).appendChild(s);\n\n me.initiated = true;\n },\n onFailure: function (ex) {\n throw ex;\n }\n }); \n }\n }\n\n };\n\n return AuthProviders;\n\n })(User.AuthProviders || {});\n\n return User;\n\n })(Vendd.User || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.User = (function (User) {\n\n User.AuthProviders = (function (AuthProviders) {\n\n var gg = {\n \n connect: function (loginId, email, onSuccess, onError) {\n Vendd.Service.call({\n url: 'AuthService.svc/ConnectAuthenticationProvider',\n data: {\n provider: 'google',\n loginId: loginId,\n email: email\n },\n onSuccess: onSuccess,\n onFailure: onError\n });\n },\n\n login: function () {\n window.open(AuthProviders.google.Configuration.AuthUrl, 'googleLogin', 'status=1,toolbar=0,location=0,menubar=0,directories=0,resizable=0,scrollbars=0,height=550,width=600');\n },\n\n logout: function (cb) {\n cb();\n }\n };\n\n AuthProviders.google = {\n\n initiating: false,\n initiated: false,\n\n Configuration: {\n ClientId: '',\n AuthUrl: ''\n },\n\n init: function () {\n var me = this;\n\n if (!this.initiating && !this.initiated) {\n this.initiating = true;\n\n (function (d, s, id) {\n var js,\n fjs = d.getElementsByTagName(s)[0];\n if (d.getElementById(id))\n return;\n\n js = d.createElement(s);\n js.id = id;\n js.src = \"https://apis.google.com/js/platform.js\";\n\n fjs.parentNode.insertBefore(js, fjs);\n }(document, 'script', 'google-jssdk'));\n\n Vendd.Service.call({\n url: 'Auth/GoogleLoginService.svc/GetConfiguration',\n data: {},\n onSuccess: function (res) {\n me.Configuration.ClientId = res.clientId;;\n me.Configuration.AuthUrl = res.authUrl;\n\n me.initiated = true;\n },\n onFailure: function (ex) {\n throw ex;\n }\n });\n }\n },\n \n login: function () {\n gg.login();\n },\n\n logout: function (cb) {\n gg.logout(cb);\n }\n\n };\n\n return AuthProviders;\n\n })(User.AuthProviders || {});\n\n return User;\n\n })(Vendd.User || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.User = (function (User) {\n User.AuthProviders = (function (AuthProviders) {\n\n var fb = {\n\n getStatus: function (onSuccess, onError) {\n FB.getLoginStatus(onSuccess, onError);\n },\n\n getUser: function (onSuccess, onError) {\n FB.api('/me/permissions', function (response) {\n if (response && response.data) {\n var emailPermission = _.find(response.data, function (x) { return x.permission === 'email'; });\n if (emailPermission && emailPermission.status === 'granted') {\n FB.api('/me?fields=id,name,email,first_name,last_name', onError, onSuccess);\n }\n else {\n onError(new Error('email permission doesn\\'t exist'));\n }\n }\n else {\n onError(new Error('response is undefined'));\n }\n });\n },\n\n connect: function (loginId, email, onSuccess, onError) {\n Vendd.Service.call({\n url: 'AuthService.svc/ConnectAuthenticationProvider',\n data: {\n provider: 'facebook',\n loginId: loginId,\n email: email\n },\n onSuccess: onSuccess,\n onFailure: onError\n });\n },\n\n login: function () {\n window.open(AuthProviders.facebook.Configuration.AuthUrl, 'fbLogin', 'status=1,toolbar=0,location=0,menubar=0,directories=0,resizable=0,scrollbars=0,height=265,width=600');\n },\n\n logout: function (cb) {\n FB.logout(cb);\n }\n };\n\n var deleteFbCookie = function () {\n var theCookies = document.cookie.split(';');\n for (var i = 0 ; i < theCookies.length; i++) {\n\n var c = theCookies[i];\n while (c.charAt(0) == ' ') c = c.substring(1);\n\n var cparts = c.split('=');\n var name;\n if (cparts.length == 2)\n name = cparts[0];\n\n if (name && (name.indexOf(\"fblo_\") == 0 || name.indexOf(\"fbsr_\") == 0)) {\n document.cookie = name + \"=; expires=Thu, 01 Jan 1970 00:00:00 UTC\";\n }\n }\n }\n\n var throwEx = function (ex) {\n if (typeof (ex) === typeof (Error))\n throw ex;\n else\n console.log(ex);\n }\n\n AuthProviders.facebook = {\n\n isAvailable: true,\n initiating: false,\n initiated: false,\n\n Configuration: {\n AppId: '',\n PageId: '',\n AuthUrl: ''\n },\n\n init: function () {\n var me = this;\n\n if (!me.initiating && !me.initiated) {\n me.initiating = true;\n\n Vendd.Service.call({\n url: 'Auth/FacebookLoginService.svc/GetConfiguration',\n data: {},\n onSuccess: function (res) {\n \n me.Configuration.AppId = res.appId;\n me.Configuration.PageId = res.pageId;\n me.Configuration.AuthUrl = res.authUrl;\n\n if (typeof (FB) === \"object\") {\n me.initiated = true;\n } else {\n window.fbAsyncInit = function () {\n FB.init({\n appId: me.Configuration.AppId,\n pageId: me.Configuration.PageId,\n cookie: false,\n xfbml: true,\n version: 'v3.2'\n });\n\n me.initiated = true;\n };\n\n (function (d, s, id) {\n var fjs = d.getElementsByTagName(s)[0];\n if (d.getElementById(id))\n return;\n\n var js = d.createElement(s);\n js.id = id;\n js.src = '//connect.facebook.net/en_US/all.js';\n js.onload = function (e) {\n me.isAvailable = true;\n };\n js.onerror = function (e) {\n me.isAvailable = false;\n console.warn('Facebook authentication provider is not available via this network! All FB calls will be ignored..');\n };\n\n fjs.parentNode.insertBefore(js, fjs);\n }(document, 'script', 'facebook-jssdk'));\n }\n },\n onFailure: function (ex) {\n throw ex;\n }\n });\n }\n },\n\n statusChanged: function (statusResponse) {\n var me = this;\n\n if (!me.isAvailable) return;\n\n if (statusResponse.status === 'connected') {\n var facebookid = statusResponse.authResponse.userID;\n\n fb.getUser(function (userResponse) {\n fb.connect(facebookid, userResponse.email, function (connectedResponse) {\n if (connectedResponse !== 'Connected') {\n if (connectedResponse === 'Authenticated') {\n document.location = document.location;\n }\n else if (connectedResponse === 'CreatedAndAuthenticated') {\n document.location = document.location;\n }\n else if (connectedResponse === 'Disconnected') {\n fb.login();\n }\n }\n }, function (connectedEx) {\n throwEx(connectedEx);\n });\n\n }, function (userEx) {\n throwEx(userEx);\n });\n }\n },\n\n checkLoginState: function () {\n var me = this;\n\n if (!me.isAvailable) return;\n\n fb.getStatus(function (response) {\n me.statusChanged(response);\n }, function (ex) {\n throw ex;\n });\n },\n\n login: function () {\n var me = this;\n\n if (!me.isAvailable) return;\n\n fb.login();\n },\n\n logout: function (cb) {\n var me = this;\n\n if (!me.isAvailable) {\n cb();\n return;\n }\n\n fb.getStatus(function(statusResponse) {\n if (statusResponse.status === 'connected') {\n fb.logout(function() {\n\n //Facebook bugfix: delete cookie\n deleteFbCookie();\n\n cb();\n });\n } else {\n cb();\n }\n }, function(ex) {\n cb();\n });\n }\n\n };\n\n return AuthProviders;\n\n })(User.AuthProviders || {});\n\n return User;\n\n })(Vendd.User || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.CustomForms.Messages.SendNotification, Vendd.CustomForms, function (envelope) {\n var options = {\n url: 'SendNotificationsToUser',\n data:\n {toemail:envelope.message.data.toemail,\n fromemail: envelope.message.data.fromemail,\n relatedObjectid: envelope.message.data.relatedObjectid,\n langCode: envelope.message.data.langCode,\n notificationTemplateCode: envelope.message.data.notificationTemplateCode,\n param: envelope.message.data.param,\n },\n servicenamespace:'services/api/notification',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.CustomForms, new Vendd.CustomForms.Messages.SendNotificationSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.CustomForms, new Vendd.CustomForms.Messages.SendNotificationFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.CustomForms.Messages.Submit, Vendd.CustomForms, function (envelope) {\n var options = {\n url: 'SubmitCustomForm',\n data: envelope.message.data,\n servicenamespace: 'services/api/notification',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.CustomForms, new Vendd.CustomForms.Messages.SubmitSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.CustomForms, new Vendd.CustomForms.Messages.SubmitFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Quickbuy = (function (Quickbuy) {\n var QuickbuyList = {}\n\n Quickbuy.addToQuickbuyList = function (productsList, parse) {\n for (var n = 0; n < productsList.length; n++) {\n QuickbuyList[productsList[n].Id] = parse ? JSON.parse(productsList[n].Dimensionsjson) : productsList[n].Dimensionsjson;\n }\n };\n\n Quickbuy.Update = function ($wrapper, model) {\n var html = Vendd.Handlebars.parse(\"productDimensions\", model);\n\n $wrapper.html(html);\n };\n\n Quickbuy.initState = function (productId) {\n var newState = {}, state;\n\n state = GetDimJson(productId);\n\n if (state == null)\n return;\n\n newState.Colors = state.Colors;\n newState.Sizes = state.Sizes;\n newState.HasColors = state.SkuList.HasColors;\n newState.HasSizes = state.SkuList.HasSizes;\n newState.SelectColorText = state.SelectColorText;\n newState.SelectSizeText = state.SelectSizeText;\n newState.NoAvailableSizesText = state.NoAvailableSizesText;\n newState.HasSingleColor = (state.Colors.length == 1) ? true : false;\n newState.HasSingleSize = (state.Sizes.length == 1) ? true : false;\n newState.SizeDisabled = false;\n\n return newState;\n };\n\n Quickbuy.createNewState = function (wrapper, dimId, productId, type) {\n var availableDimList, state, json, skus;\n\n json = GetDimJson(productId); \n skus = json.SkuList.Skus;\n state = wrapper.model;\n\n if (type === 'color') {\n if (!state.HasSizes)\n return;\n\n wrapper.SelectedColorId = dimId;\n availableDimList = _.first(_.filter(state.Colors, function (x) { return x.Id === dimId })).AvailableSizes;\n UpdateSelectedItems(state, dimId, true);\n\n state.Sizes = [];\n for (var i = 0; i < availableDimList.length; i++) {\n var SizeArr = _.find(json.Sizes, function (x) { return x.Id === availableDimList[i] });\n SizeArr.IsSelected = (typeof wrapper.SelectedSizeId != 'undefined' && wrapper.SelectedSizeId == availableDimList[i]) ? true : false;\n state.Sizes[i] = SizeArr;\n }\n\n\n state.SizeDisabled = true;\n for (var i = 0; i < state.Sizes.length; i++) {\n for (var j = 0; j < skus.length; j++) {\n if (skus[j].ColorId == dimId && skus[j].SizeId == state.Sizes[i].Id) {\n state.Sizes[i].Disabled = !skus[j].SkuData.CanBuy;\n\n if (state.SizeDisabled && skus[j].SkuData.CanBuy) {\n state.SizeDisabled = false;\n }\n break;\n }\n }\n }\n\n } else if (type === 'size') {\n\n if (!state.HasColors)\n return;\n\n wrapper.SelectedSizeId = dimId;\n availableDimList = _.first(_.filter(state.Sizes, function (x) { return x.Id === dimId })).AvailableColors;\n UpdateSelectedItems(state, dimId, false);\n\n state.Colors = [];\n for (var i = 0; i < availableDimList.length; i++) {\n var ColorArr = _.find(json.Colors, function (x) { return x.Id === availableDimList[i] });\n ColorArr.IsSelected = (typeof wrapper.SelectedColorId != 'undefined' && wrapper.SelectedColorId == availableDimList[i]) ? true : false;\n state.Colors[i] = ColorArr;\n }\n\n for (var i = 0; i < state.Colors.length; i++) {\n for (var j = 0; j < skus.length; j++) {\n if (skus[j].ColorId == state.Colors[i].Id && skus[j].SizeId == dimId) {\n state.Colors[i].Disabled = !skus[j].SkuData.CanBuy;\n break;\n }\n }\n }\n }\n return state;\n };\n\n Quickbuy.GetSkuData = function (productId, colorId, sizeid) {\n var product = GetDimJson(productId);\n\n return (product == null) ? null : _.find(product.SkuList.Skus, function (x) { return x.ColorId === colorId && x.SizeId === sizeid });\n };\n\n var GetDimJson = function (productId) {\n return ($.isEmptyObject(QuickbuyList)) ? null : QuickbuyList[productId];\n };\n\n var UpdateSelectedItems = function (state, dimId, isColor) {\n var arr;\n\n if (isColor) {\n arr = state.Colors;\n } else {\n arr = state.Sizes;\n }\n\n for (var i = 0; i < arr.length; i++) {\n arr[i].IsSelected = false;\n\n if (arr[i].Id === dimId) {\n arr[i].IsSelected = true;\n if (isColor) {\n state.SelectColorText = arr[i].Name;\n } else {\n state.SelectSizeText = arr[i].Name;\n }\n }\n }\n };\n\n return Quickbuy;\n\n })(Vendd.Quickbuy || {});\n\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n var pending = false;\n var widgetModelPending = false;\n\n Vendd.MessageBus.subscribe(Vendd.ProductCompare.Messages.GetModel, Vendd.ProductCompare, function (envelope) {\n\n if (pending === true) {\n return false;\n };\n\n pending = true;\n\n var options = {\n url: 'ProductCompareService.svc/GetProductCompareViewModel',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n model = response;\n\n Vendd.MessageBus.publishAsync(Vendd.ProductCompare, new Vendd.ProductCompare.Messages.GetModelSuccess(model));\n\n pending = false;\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.ProductCompare, new Vendd.ProductCompare.Messages.Failed(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.ProductCompare.Messages.GetWidgetModel, Vendd.ProductCompare, function (envelope) {\n\n if (widgetModelPending === true) {\n return false;\n };\n\n function onSuccess(response) {\n widgetModel = response ? $.extend({}, response, { LangCode: LhApp.Context.Language }) : response;\n Vendd.ProductCompare.SetClientModel(widgetModel);\n Vendd.MessageBus.publishAsync(Vendd.ProductCompare, new Vendd.ProductCompare.Messages.GetWidgetModelSuccess(widgetModel));\n\n widgetModelPending = false;\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.ProductCompare, new Vendd.ProductCompare.Messages.Failed(response));\n };\n\n var options = {\n url: 'ProductCompareService.svc/GetProductCompareWidgetViewModel' + '?lang=' + LhApp.Context.Language, //todo perikstath -> this should be resolved by the rewriter and be like /el/\n data: { templateCode: LhApp.Context.Item ? LhApp.Context.Item.Template : \"\" },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n if (widgetModel != null && widgetModel != undefined && Vendd.ProductCompare.GetClientModel() != null && document.cookie.indexOf('ForceClearCompareLocalStorage') == -1) {\n\n Vendd.MessageBus.publishAsync(Vendd.ProductCompare, new Vendd.ProductCompare.Messages.GetWidgetModelSuccess(widgetModel));\n return true;\n }\n\n $.removeCookie('ForceClearCompareLocalStorage', { path: '/' });//clean ProductCompare cookie \n widgetModelPending = true;\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.ProductCompare.Messages.Add, Vendd.ProductCompare, function (envelope) {\n\n var data = {};\n data.item = envelope.message.data;\n\n var options = {\n url: 'EcomService.svc/AddToProductCompare',\n data: data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n if (response.success) {\n Vendd.ProductCompare.ClearClientModel();\n Vendd.MessageBus.publishAsync(Vendd.ProductCompare, new Vendd.ProductCompare.Messages.Changed());\n }\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.ProductCompare, new Vendd.ProductCompare.Messages.Failed(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.ProductCompare.Messages.Remove, Vendd.ProductCompare, function (envelope) {\n\n var options = {\n url: 'EcomService.svc/RemoveFromProductCompare',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n if (response.success) {\n Vendd.ProductCompare.ClearClientModel();\n Vendd.MessageBus.publishAsync(Vendd.ProductCompare, new Vendd.ProductCompare.Messages.Changed());\n }\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.ProductCompare, new Vendd.ProductCompare.Messages.Failed(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.ProductCompare.Messages.Clear, Vendd.ProductCompare, function (envelope) {\n\n var options = {\n url: 'EcomService.svc/ClearProductCompare',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n if (response.success) {\n Vendd.ProductCompare.ClearClientModel();\n Vendd.MessageBus.publishAsync(Vendd.ProductCompare, new Vendd.ProductCompare.Messages.Changed());\n }\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.ProductCompare, new Vendd.ProductCompare.Messages.Failed(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.ProductCompare.ClearClientModel = function () {\n localStorage.removeItem('CurrentCompareModel');\n };\n\n Vendd.ProductCompare.GetClientModel = function () {\n var mdl = JSON.parse(localStorage.getItem(\"CurrentCompareModel\"));\n\n return LhApp.Function.validateClientModel(mdl)\n ? $.extend({ IsLocalStorageCache: true }, mdl)\n : null;\n };\n\n Vendd.ProductCompare.SetClientModel = function (widgetModel) {\n localStorage.setItem('CurrentCompareModel', JSON.stringify(widgetModel));\n };\n\n var model = null;\n var widgetModel = Vendd.ProductCompare.GetClientModel();\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.Article.Messages.ReviewSubmit, Vendd.Article, function (envelope) {\n var options = {\n url: 'ArticleService.svc/ArticleReviewSubmit',\n data:\n {\n info: envelope.message.data.model\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Article, new Vendd.Article.Messages.ReviewSuccess(response, envelope.message.data));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Article, new Vendd.Article.Messages.ReviewFailure(response, envelope.message.data));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Article.Messages.ReviewVote, Vendd.Article, function (envelope) {\n var options = {\n url: 'ArticleService.svc/ArticleReviewHelpfullnessVote',\n data:\n {\n info: envelope.message.data.helpfullness\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Article, new Vendd.Article.Messages.ReviewVoteSuccess(response, envelope.message.data.helpfullness.IsPositiveVote));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Article, new Vendd.Article.Messages.ReviewVoteFailure(response, envelope.message.data.helpfullness.IsPositiveVote));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.Article.CreateArticleReviewInfo = function (articleId) {\n\n var articleReviewInfo = {\n ReviewArticleId: articleId,\n ReviewTitle: '',\n ReviewDescription: '',\n ReviewRating: ''\n };\n\n var observable = new Vendd.Observable(articleReviewInfo);\n return observable;\n };\n\n Vendd.Article.CreateArticleReviewInfoValidationModel = function (observable) {\n\n var defaultValidationModel = ({\n ReviewTitle: [{ rule: \"required\" }],\n ReviewDescription: [{ rule: \"required\" }]\n });\n\n var valEngine = Vendd.DataValidation.BuildValidationModel(defaultValidationModel);\n\n var propertyChanging = function propertyChanging(data, propertyName, value) {\n\n var valOptions = {\n ValidationEngine: valEngine,\n PropertyName: propertyName,\n PropertyValue: value\n };\n Vendd.DataValidation.Validate(valOptions);\n };\n\n observable.AddListenerToPropertyChanging('ReviewTitle', propertyChanging);\n observable.AddListenerToPropertyChanging('ReviewDescription', propertyChanging);\n return valEngine;\n };\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.ElasticSearch.Messages.GetCategoryElasticResults, Vendd.ElasticSearch, function (envelope) { \n\n var orderOptions = \"_score:desc\";\n\n\t\tvar options = {\n\t\t\turl: \"../engine/esqueryindex\",\n\t\t\tdata: {\n\t\t\t\ttype: \"categories\",\n\t\t\t\tquery: envelope.message.data.searchTerm,\n\t\t\t\tpagefrom: envelope.message.data.pageFrom,\n\t\t\t\tpagesize: envelope.message.data.pageSize,\n\t\t\t\tsort: orderOptions,\n\t\t\t\tpath: \"?hidefromsearch=1\"\n\t\t\t},\n onSuccess: onSuccess,\n onFailure: onFailure\n\t\t};\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.ElasticSearch, new Vendd.ElasticSearch.Messages.GetCategoryElasticResultsSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.ElasticSearch, new Vendd.ElasticSearch.Messages.GetCategoryElasticResultsFailed(response));\n }\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.ElasticSearch.Messages.GetProductElasticResults, Vendd.ElasticSearch, function (envelope) {\n\n var orderOptions = envelope.message.data.sortingKey + ':' + envelope.message.data.orderType;\n\n\t\tvar options = {\n\t\t\turl: \"../engine/esqueryindex\",\n\t\t\tdata: {\n\t\t\t\ttype: \"products\",\n\t\t\t\tquery: envelope.message.data.searchTerm,\n\t\t\t\tpagefrom: envelope.message.data.pageFrom,\n\t\t\t\tpagesize: envelope.message.data.pageSize,\n\t\t\t\tsort: orderOptions,\n\t\t\t\tpath: \"?hidefromsearch=1\"\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.ElasticSearch, new Vendd.ElasticSearch.Messages.GetProductElasticResultsSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.ElasticSearch, new Vendd.ElasticSearch.Messages.GetProductElasticResultsFailed(response));\n }\n\n Vendd.Service.call(options);\n });\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.Search.Messages.GetSuggestiveResults, Vendd.Search, function (envelope) {\n var options = {\n url: 'SearchService.svc/GetSuggestiveResultsViewModel',\n data: {\n searchTerm: envelope.message.data.searchTerm,\n category: envelope.message.data.category\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Search, new Vendd.Search.Messages.GetSuggestiveResultsSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Search, new Vendd.Search.Messages.GetSuggestiveResultsFailed(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Search.Messages.GetProductSuggestiveResults, Vendd.Search, function (envelope) {\n\n function onSuccess(response) {\n response.sender = envelope.sender;\n Vendd.MessageBus.publishAsync(Vendd.Search, new Vendd.Search.Messages.GetProductSuggestiveResultsSuccess(response));\n }\n\n function onFailure(response) {\n response.sender = envelope.sender;\n Vendd.MessageBus.publishAsync(Vendd.Search, new Vendd.Search.Messages.GetProductSuggestiveResultsFailed(response));\n }\n\n var options = {\n url: 'SearchService.svc/GetProductSuggestiveResultsViewModel',\n data: {\n searchTerm: envelope.message.data.searchTerm,\n maxResults: envelope.message.data.maxResults\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n return Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n var state = {\n id: LhApp.Context.Item.Id,\n path: LhApp.Context.Item.Path\n };\n\n var getStoresForm = function (data) {\n var request = {};\n\n request = _.extend(state, data);\n\n var options = {\n url: 'StoresService.svc/GetStoresForm',\n data: request,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess (response) {\n var model = response;\n state = _.extend(state, data);\n\n Vendd.MessageBus.publishAsync(Vendd.Store, new Vendd.Store.Messages.UpdateForm(model));\n };\n\n function onFailure (response) {\n console.log(response);\n };\n\n Vendd.Service.call(options);\n };\n\n var getStores = function (data) {\n var request = {};\n\n request = _.extend(state, data);\n\n var options = {\n url: 'StoresService.svc/GetStores',\n data: request,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess (response) {\n var model = response;\n\n Vendd.MessageBus.publishAsync(Vendd.Store, new Vendd.Store.Messages.UpdateStores(model));\n };\n\n function onFailure (response) {\n console.log(response);\n };\n\n Vendd.Service.call(options);\n };\n\n var calculateDistances = function (data) {\n \ttry {\n \t\tvar sourcePoint = data.source.trim();\n\n \t\tif (sourcePoint.length === 5 && parseInt(sourcePoint) > 9999) {\n \t\t\tsourcePoint = \"greece+\" + sourcePoint;\n \t\t} else if (sourcePoint.length === 0) {\n \t\t\tsourcePoint = \"athens\";\n \t\t}\n\n \t\tvar origin = sourcePoint;\n \t\tvar destinations = [];\n \t\tfor (var i = 0; i < data.array.length; i++) {\n \t\t\tvar elem = data.array[i];\n \t\t\tdestinations[i] = new google.maps.LatLng(parseFloat(elem.Latitude.trim()), parseFloat(elem.Longitude.trim()));\n \t\t}\n\n \t\tvar service = new google.maps.DistanceMatrixService();\n \t\tservice.getDistanceMatrix(\n\t\t\t {\n\t\t\t \torigins: [origin],\n\t\t\t \tdestinations: destinations,\n\t\t\t \ttravelMode: 'DRIVING',\n\t\t\t \tunitSystem: google.maps.UnitSystem.METRIC\n\t\t\t }, onSuccess);\n \t} catch (ex) {\n \t\tVendd.MessageBus.publishAsync(Vendd.Store, new Vendd.Store.Messages.CalculateDistancesSuccess(data));\n \t\tconsole.log(ex);\n \t}\n \tfunction onSuccess(response, status) {\n \t\tvar model = response;\n \t\tVendd.MessageBus.publishAsync(Vendd.Store, new Vendd.Store.Messages.CalculateDistancesSuccess(model));\n \t};\n\n };\n\n Vendd.Store.Controller = (function () {\n var initialized = false;\n\n return {\n initState: function (initialState) {\n if (initialized === true) {\n\n return state;\n } else {\n\n state = _.extend(state, initialState);\n\n initialized = true;\n\n return state;\n };\n },\n getState: function () {\n return state;\n }\n };\n })();\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.SetContinent, Vendd.Store, function (envelope) {\n var data = {\n continent:envelope.message.data.continent,\n country:\"\",\n city: \"\",\n area: \"\",\n type: 0\n };\n\n getStoresForm(data);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.SetCountry, Vendd.Store, function (envelope) {\n var data = {\n country: envelope.message.data.country,\n city: \"\",\n area: \"\",\n type: 0\n };\n\n getStoresForm(data);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.SetCity, Vendd.Store, function (envelope) {\n var data = {\n city: envelope.message.data.city,\n area: \"\",\n type: 0\n };\n\n getStoresForm(data);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.SetArea, Vendd.Store, function (envelope) {\n var data = {\n area: envelope.message.data.area,\n type: 0\n };\n\n getStoresForm(data);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.SetType, Vendd.Store, function (envelope) {\n var data = {\n type: envelope.message.data.type\n };\n\n getStoresForm(data);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.Refine, Vendd.Store, function (envelope) {\n getStores(envelope.message.data.state);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.CalculateDistances, Vendd.Store, function (envelope) {\n \tcalculateDistances(envelope.message.data);\n });\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.Landing.Messages.Submit, Vendd.Landing, function (envelope) {\n var options = {\n\t\t url: 'CommonService.svc/LandingSubmit',\n\t\t data: envelope.message.data,\n\t\t onSuccess: onSuccess,\n\t\t onFailure: onFailure\n\t\t };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Landing, new Vendd.Landing.Messages.SubmitSuccess(response));\n\t\t\t};\n\n\t\t\tfunction onFailure(response) {\n\t\t\t Vendd.MessageBus.publishAsync(Vendd.Landing, new Vendd.Landing.Messages.SubmitFailure(response));\n\t\t\t};\n\n\t\t\tVendd.Service.call(options);\n \t});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.Contact.Messages.Submit, Vendd.Contact, function (envelope) {\n var options = {\n\t\t url: 'CommonService.svc/ContactSubmit',\n\t\t data: envelope.message.data,\n\t\t onSuccess: onSuccess,\n\t\t onFailure: onFailure\n\t\t };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Contact, new Vendd.Contact.Messages.SubmitSuccess(response));\n\t\t\t};\n\n\t\t\tfunction onFailure(response) {\n\t\t\t Vendd.MessageBus.publishAsync(Vendd.Contact, new Vendd.Contact.Messages.SubmitFailure(response));\n\t\t\t};\n\n\t\t\tVendd.Service.call(options);\n \t});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Newsletter = (function (Newsletter) {\n\n Newsletter.Messages = (function (Messages) {\n\n Messages.Subscribe = function (email, subscriptionType, apiKey, mailparams, gender) {\n\n var data = {\n email: email,\n subscriptionType: subscriptionType,\n apiKey: apiKey,\n mailparams: mailparams || {},\n gender: gender\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Newsletter.Messages.Subscribe\", data);\n };\n Messages.Subscribe.className = \"Vendd.Newsletter.Messages.Subscribe\";\n\n Messages.SubscribeSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Newsletter.Messages.SubscribeSuccess\", response);\n };\n Messages.SubscribeSuccess.className = \"Vendd.Newsletter.Messages.SubscribeSuccess\";\n\n Messages.SubscribeFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Newsletter.Messages.SubscribeFailure\", response);\n };\n Messages.SubscribeFailure.className = \"Vendd.Newsletter.Messages.SubscribeFailure\";\n\n Messages.UpdateNewLetterVariables = function (source, apikey) {\n\n var data = { source: source, apikey: apikey };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Newsletter.Messages.UpdateNewLetterVariables\", data);\n }\n Messages.UpdateNewLetterVariables.className = \"Vendd.Newsletter.Messages.UpdateNewLetterVariables\";\n\n\n Messages.Unsubscribe = function (apiKey) {\n\n var data = {\n apiKey: apiKey\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Newsletter.Messages.Unsubscribe\", data);\n };\n Messages.Unsubscribe.className = \"Vendd.Newsletter.Messages.Unsubscribe\";\n\n Messages.UnsubscribeSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Newsletter.Messages.UnsubscribeSuccess\", response);\n };\n Messages.UnsubscribeSuccess.className = \"Vendd.Newsletter.Messages.UnsubscribeSuccess\";\n\n Messages.UnsubscribeFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Newsletter.Messages.UnsubscribeFailure\", response);\n };\n Messages.UnsubscribeFailure.className = \"Vendd.Newsletter.Messages.UnsubscribeFailure\";\n\n return Messages;\n\n })(Newsletter.Messages || {});\n\n Vendd.MessageBus.subscribe(Newsletter.Messages.Subscribe, Newsletter, function (envelope) {\n\n var $email = envelope.message.data.email;\n\n var serviceOpts = {\n url: 'NewsLetterService.svc/Subscribe',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Newsletter, new Vendd.Newsletter.Messages.SubscribeSuccess($.extend({},response, { 'email' : $email })));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Newsletter, new Vendd.Newsletter.Messages.SubscribeFailure(response));\n };\n\n Vendd.Service.call(serviceOpts);\n });\n\n Vendd.MessageBus.subscribe(Newsletter.Messages.UpdateNewLetterVariables, Newsletter, function (envelope) {\n function onSuccess(response) {\n\n }\n function onFailure(response) {\n\n }\n var options = {\n url: 'NewsLetterService.svc/UpdateNewsLetterVariables',\n data: {\n source: envelope.message.data.source,\n apiKey: envelope.message.data.apikey\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Newsletter.Messages.Unsubscribe, Newsletter, function (envelope) {\n\n var serviceOpts = {\n url: 'NewsLetterService.svc/Unsubscribe',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Newsletter, new Vendd.Newsletter.Messages.UnsubscribeSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Newsletter, new Vendd.Newsletter.Messages.UnsubscribeFailure(response));\n };\n\n Vendd.Service.call(serviceOpts);\n });\n\n return Newsletter;\n\n })(Vendd.Newsletter || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.InvoiceAccess = (function (InvoiceAccess) {\n\n InvoiceAccess.Messages = (function (Messages) {\n\n Messages.Submit = function (orderCode, orderPhone) {\n var data = {\n orderCode: orderCode,\n orderPhone: orderPhone\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.InvoiceAccess.Messages.Submit', data);\n };\n Messages.Submit.className = 'Vendd.InvoiceAccess.Messages.Submit';\n\n Messages.SubmitSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.InvoiceAccess.Messages.SubmitSuccess', response);\n };\n Messages.SubmitSuccess.className = 'Vendd.InvoiceAccess.Messages.SubmitSuccess';\n\n Messages.SubmitFailure = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.InvoiceAccess.Messages.SubmitFailure', response);\n };\n Messages.SubmitFailure.className = 'Vendd.InvoiceAccess.Messages.SubmitFailure';\n\n return Messages;\n\n })(InvoiceAccess.Messages || {});\n\n return InvoiceAccess;\n\n })(Vendd.InvoiceAccess || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.RequestReturn = (function (RequestReturn) {\n\n RequestReturn.Messages = (function (Messages) {\n\n\n Messages.GetReturnRequest = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.GetReturnRequest\", data);\n };\n Messages.GetReturnRequest.className = \"Vendd.RequestReturn.Messages.GetReturnRequest\";\n\n\n Messages.GetReturnRequestSuccess = function (orderid) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.GetReturnRequestSuccess\", orderid);\n };\n Messages.GetReturnRequestSuccess.className = \"Vendd.RequestReturn.Messages.GetReturnRequestSuccess\";\n\n\n Messages.GetReturnRequestFailure = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.GetReturnRequestFailure\", data);\n };\n Messages.GetReturnRequestFailure.className = \"Vendd.RequestReturn.Messages.GetReturnRequestFailure\";\n\n Messages.GetReturnRequestError = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.GetReturnRequestError\", data);\n };\n Messages.GetReturnRequestError.className = \"Vendd.RequestReturn.Messages.GetReturnRequestError\";\n\n\n Messages.SaveReturnItem = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.SaveReturnItem\", data);\n };\n Messages.SaveReturnItem.className = \"Vendd.RequestReturn.Messages.SaveReturnItem\";\n\n\n Messages.SaveReturnItemSuccess = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.SaveReturnItemSuccess\", data.data);\n };\n Messages.SaveReturnItemSuccess.className = \"Vendd.RequestReturn.Messages.SaveReturnItemSuccess\";\n\n Messages.SaveReturnItemFailure = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.SaveReturnItemFailure\", data);\n };\n Messages.SaveReturnItemFailure.className = \"Vendd.RequestReturn.Messages.SaveReturnItemFailure\";\n Messages.SaveReturnItemError = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.SaveReturnItemError\", data);\n };\n Messages.SaveReturnItemError.className = \"Vendd.RequestReturn.Messages.SaveReturnItemError\";\n\n\n\n Messages.DeleteReturnItem = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.DeleteReturnItem\", data);\n };\n Messages.DeleteReturnItem.className = \"Vendd.RequestReturn.Messages.DeleteReturnItem\";\n\n Messages.DeleteReturnItemSuccess = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.DeleteReturnItemSuccess\", data.data);\n };\n Messages.DeleteReturnItemSuccess.className = \"Vendd.RequestReturn.Messages.DeleteReturnItemSuccess\";\n\n Messages.DeleteReturnItemFailure = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.DeleteReturnItemFailure\", data);\n };\n Messages.DeleteReturnItemFailure.className = \"Vendd.RequestReturn.Messages.DeleteReturnItemFailure\";\n Messages.DeleteReturnItemError = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.DeleteReturnItemError\", data);\n };\n Messages.DeleteReturnItemError.className = \"Vendd.RequestReturn.Messages.DeleteReturnItemError\";\n\n Messages.SubmitOrderReturn = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.RequestReturn.Messages.SubmitOrderReturn', data);\n };\n Messages.SubmitOrderReturn.className = 'Vendd.RequestReturn.Messages.SubmitOrderReturn';\n\n\n Messages.SubmitOrderReturnSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.RequestReturn.Messages.SubmitOrderReturnSuccess', response);\n };\n Messages.SubmitOrderReturnSuccess.className = 'Vendd.RequestReturn.Messages.SubmitOrderReturnSuccess';\n\n\n Messages.SubmitOrderReturnsFailed = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.RequestReturn.Messages.SubmitOrderReturnsFailed', data);\n };\n Messages.SubmitOrderReturnsFailed.className = 'Vendd.RequestReturn.Messages.SubmitOrderReturnsFailed';\n\n Messages.SendReturnRequestNotification = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.RequestReturn.Messages.SendReturnRequestNotification', data);\n };\n Messages.SendReturnRequestNotification.className = 'Vendd.RequestReturn.Messages.SendReturnRequestNotification';\n\n\n\n return Messages;\n\n })(RequestReturn.Messages || {});\n\n return RequestReturn;\n\n })(Vendd.RequestReturn || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.UserWishlist = (function (UserWishlist) {\n\n UserWishlist.Messages = (function (Messages) {\n\n\n Messages.GetModel = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserWishlist.Messages.GetModel');\n };\n Messages.GetModel.className = 'Vendd.UserWishlist.Messages.GetModel';\n\n Messages.GetModelSuccess = function (model) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserWishlist.Messages.GetModelSuccess', model);\n };\n Messages.GetModelSuccess.className = 'Vendd.UserWishlist.Messages.GetModelSuccess';\n\n Messages.GetModelFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserWishlist.Messages.GetModelFailed', response);\n };\n Messages.GetModelFailed.className = 'Vendd.UserWishlist.Messages.GetModelFailed';\n\n\n Messages.DeleteWishlist = function (model) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserWishlist.Messages.DeleteWishlist', model);\n };\n Messages.DeleteWishlist.className = 'Vendd.UserWishlist.Messages.DeleteWishlist';\n\n Messages.DeleteWishlistFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserWishlist.Messages.DeleteWishlistFailed', response);\n };\n Messages.DeleteWishlistFailed.className = 'Vendd.UserWishlist.Messages.DeleteWishlistFailed';\n\n Messages.SaveWishlist = function (model) {\n\n var data = {\n visitorList : {\n VisitorListId : model.VisitorListId ? model.VisitorListId : 0,\n VisitorListTypeId : 1, //1 for wishlist\n Code : \"wishlist\",\n Name : model.Name\n }\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserWishlist.Messages.SaveWishlist', data);\n };\n Messages.SaveWishlist.className = 'Vendd.UserWishlist.Messages.SaveWishlist';\n\n Messages.SaveWishlistSuccess = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserWishlist.Messages.SaveWishlistSuccess');\n };\n Messages.SaveWishlistSuccess.className = 'Vendd.UserWishlist.Messages.SaveWishlistSuccess';\n\n Messages.SaveWishlistFailed = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserWishlist.Messages.SaveWishlistFailed', response);\n };\n Messages.SaveWishlistFailed.className = 'Vendd.UserWishlist.Messages.SaveWishlistFailed';\n\n return Messages;\n\n })(UserWishlist.Messages || {});\n\n return UserWishlist;\n\n })(Vendd.UserWishlist || {});\n\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Tracking = (function (Tracking) {\n\n Tracking.Messages = (function (Messages) {\n\n Messages.ProductsUpdated = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Tracking.Messages.ProductsUpdated', data);\n };\n Messages.ProductsUpdated.className = 'Vendd.Tracking.Messages.ProductsUpdated';\n\n return Messages;\n\n })(Tracking.Messages || {});\n\n return Tracking;\n\n })(Vendd.Tracking || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Consents = (function (Consents) {\n\n Consents.Messages = (function (Messages) {\n \n Messages.InsertAllCookiesSuccess = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Consents.Messages.InsertAllCookiesSuccess');\n };\n Messages.InsertAllCookiesSuccess.className = 'Vendd.Consents.Messages.InsertAllCookiesSuccess';\n\n\n Messages.InsertConsents = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Consents.Messages.InsertConsents');\n };\n Messages.InsertConsents.className = 'Vendd.Consents.Messages.InsertConsents';\n \n return Messages;\n\n })(Consents.Messages || {});\n\n return Consents;\n\n })(Vendd.Consents || {});\n\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Loyalty = (function (Loyalty) {\n\n Loyalty.Messages = (function (Messages) {\n\n Messages.CheckByMobile = function (mobile) {\n var data = {\n mobile: mobile\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.CheckByMobile', data);\n };\n Messages.CheckByMobile.className = 'Vendd.Loyalty.Messages.CheckByMobile';\n\n Messages.CheckByMobileSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.CheckByMobileSuccess', response);\n };\n Messages.CheckByMobileSuccess.className = 'Vendd.Loyalty.Messages.CheckByMobileSuccess';\n\n Messages.CheckByMobileFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.CheckByMobileFailure', response);\n };\n Messages.CheckByMobileFailure.className = 'Vendd.Loyalty.Messages.CheckByMobileFailure';\n\n\n Messages.SendSms = function (mobile) {\n var data = {\n mobile: mobile\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.SendSms', data);\n };\n Messages.SendSms.className = 'Vendd.Loyalty.Messages.SendSms';\n\n Messages.SendSmsSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.SendSmsSuccess', response);\n };\n Messages.SendSmsSuccess.className = 'Vendd.Loyalty.Messages.SendSmsSuccess';\n\n Messages.SendSmsFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.SendSmsFailure', response);\n };\n Messages.SendSmsFailure.className = 'Vendd.Loyalty.Messages.SendSmsFailure';\n \n\n Messages.ValidateSmsCode = function (mobile, code) {\n var data = {\n mobile: mobile,\n code: code\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.ValidateSmsCode', data);\n };\n Messages.ValidateSmsCode.className = 'Vendd.Loyalty.Messages.ValidateSmsCode';\n\n Messages.ValidateSmsCodeSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.ValidateSmsCodeSuccess', response);\n };\n Messages.ValidateSmsCodeSuccess.className = 'Vendd.Loyalty.Messages.ValidateSmsCodeSuccess';\n\n Messages.ValidateSmsCodeFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.ValidateSmsCodeFailure', response);\n };\n Messages.ValidateSmsCodeFailure.className = 'Vendd.Loyalty.Messages.ValidateSmsCodeFailure';\n\n\n Messages.SubmitForm = function (formData) {\n \n var data = formData;\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.SubmitForm', data);\n };\n Messages.SubmitForm.className = 'Vendd.Loyalty.Messages.SubmitForm';\n\n Messages.SubmitFormSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.SubmitFormSuccess', response);\n };\n Messages.SubmitFormSuccess.className = 'Vendd.Loyalty.Messages.SubmitFormSuccess';\n\n Messages.SubmitFormFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.SubmitFormFailure', response);\n };\n Messages.SubmitFormFailure.className = 'Vendd.Loyalty.Messages.SubmitFormFailure';\n\n\n Messages.GetPhoneForm = function (pageid) {\n var data = {\n pageid: pageid\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.GetPhoneForm', data);\n };\n Messages.GetPhoneForm.className = 'Vendd.Loyalty.Messages.GetPhoneForm';\n\n Messages.GetPhoneFormSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.GetPhoneFormSuccess', response);\n };\n Messages.GetPhoneFormSuccess.className = 'Vendd.Loyalty.Messages.GetPhoneFormSuccess';\n\n Messages.GetPhoneFormFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.GetPhoneFormFailure', response);\n };\n Messages.GetPhoneFormFailure.className = 'Vendd.Loyalty.Messages.GetPhoneFormFailure';\n\n\n Messages.GetRegistrationForm = function (registered) {\n var data = {\n registered: registered\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.GetRegistrationForm', data);\n };\n Messages.GetRegistrationForm.className = 'Vendd.Loyalty.Messages.GetRegistrationForm';\n\n Messages.GetRegistrationFormSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.GetRegistrationFormSuccess', response);\n };\n Messages.GetRegistrationFormSuccess.className = 'Vendd.Loyalty.Messages.GetRegistrationFormSuccess';\n\n Messages.GetRegistrationFormFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.GetRegistrationFormFailure', response);\n };\n Messages.GetRegistrationFormFailure.className = 'Vendd.Loyalty.Messages.GetRegistrationFormFailure';\n\n\n Messages.SubmitContactForm = function (formData) {\n var data = formData;\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.SubmitContactForm', data);\n };\n Messages.SubmitContactForm.className = 'Vendd.Loyalty.Messages.SubmitContactForm';\n\n Messages.SubmitContactFormSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.SubmitContactFormSuccess', response);\n };\n Messages.SubmitContactFormSuccess.className = 'Vendd.Loyalty.Messages.SubmitContactFormSuccess';\n\n Messages.SubmitContactFormFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.SubmitContactFormFailure', response);\n };\n Messages.SubmitContactFormFailure.className = 'Vendd.Loyalty.Messages.SubmitContactFormFailure';\n\n\n Messages.ValidateCouponAndSendSms = function (discountCode) {\n var data = {\n discountCode: discountCode\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.ValidateCouponAndSendSms', data);\n };\n Messages.ValidateCouponAndSendSms.className = 'Vendd.Loyalty.Messages.ValidateCouponAndSendSms';\n\n\n Messages.ApplyCoupon = function (discountCode) {\n var data = {\n discountCode: discountCode\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.ApplyCoupon', data);\n };\n Messages.ApplyCoupon.className = 'Vendd.Loyalty.Messages.ApplyCoupon';\n\n Messages.ApplyCouponSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.ApplyCouponSuccess', response);\n };\n Messages.ApplyCouponSuccess.className = 'Vendd.Loyalty.Messages.ApplyCouponSuccess';\n\n Messages.ApplyCouponFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.ApplyCouponFailure', response);\n };\n Messages.ApplyCouponFailure.className = 'Vendd.Loyalty.Messages.ApplyCouponFailure';\n\n\n Messages.ClearCoupon = function (discountCode) {\n var data = {\n discountCode: discountCode\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.ClearCoupon', data);\n };\n Messages.ClearCoupon.className = 'Vendd.Loyalty.Messages.ClearCoupon';\n\n Messages.ClearCouponSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.ClearCouponSuccess', response);\n };\n Messages.ClearCouponSuccess.className = 'Vendd.Loyalty.Messages.ClearCouponSuccess';\n\n Messages.ClearCouponFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.ClearCouponFailure', response);\n };\n Messages.ClearCouponFailure.className = 'Vendd.Loyalty.Messages.ClearCouponFailure';\n\n return Messages;\n\n })(Loyalty.Messages || {});\n\n return Loyalty;\n\n })(Vendd.Loyalty || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.InlineAdmin = (function (InlineAdmin) {\n\n InlineAdmin.Messages = (function (Messages) {\n\n Messages.CreateCookieForInlineAdmin = function (renderInline, username, password, redirectUrl) {\n var data = {\n renderInline: renderInline,\n username: username,\n password: password,\n redirectUrl: redirectUrl\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.InlineAdmin.Messages.CreateCookieForInlineAdmin\", data);\n }\n Messages.CreateCookieForInlineAdmin.className = \"Vendd.InlineAdmin.Messages.CreateCookieForInlineAdmin\";\n\n Messages.CreateCookieForInlineAdminSuccess = function (model, redirectUrl) {\n var data = {\n model: model,\n redirectUrl: redirectUrl\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.InlineAdmin.Messages.CreateCookieForInlineAdminSuccess\", data);\n }\n Messages.CreateCookieForInlineAdminSuccess.className = \"Vendd.InlineAdmin.Messages.CreateCookieForInlineAdminSuccess\";\n\n Messages.CreateCookieForInlineAdminFailure = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.InlineAdmin.Messages.CreateCookieForInlineAdminFailure\", data);\n }\n Messages.CreateCookieForInlineAdminFailure.className = \"Vendd.InlineAdmin.Messages.CreateCookieForInlineAdminFailure\";\n\n\n Messages.CheckForInlineAdmin = function (requestNewGuest) {\n var data = {\n RequestNewGuest: requestNewGuest\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.InlineAdmin.Messages.CheckForInlineAdmin\", data);\n }\n Messages.CheckForInlineAdmin.className = \"Vendd.InlineAdmin.Messages.CheckForInlineAdmin\";\n\n Messages.CheckForInlineAdminSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.InlineAdmin.Messages.CheckForInlineAdminSuccess\", data);\n }\n Messages.CheckForInlineAdminSuccess.className = \"Vendd.InlineAdmin.Messages.CheckForInlineAdminSuccess\";\n\n Messages.CheckForInlineAdminFailure = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.InlineAdmin.Messages.CheckForInlineAdminFailure\", data);\n }\n Messages.CheckForInlineAdminFailure.className = \"Vendd.InlineAdmin.Messages.CheckForInlineAdminFailure\";\n\n\n return Messages;\n\n })(InlineAdmin.Messages || {});\n\n return InlineAdmin;\n\n })(Vendd.InlineAdmin || {});\n\n return Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.ReturnOrder = (function (ReturnOrder) {\n\n ReturnOrder.Messages = (function (Messages) {\n\n Messages.SubmitOrderReturn = function () {\n var data = {\n\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.OpenAddressEditForm.Messages.SubmitOrderReturn', data);\n };\n Messages.SubmitOrderReturn.className = 'Vendd.OpenAddressEditForm.Messages.SubmitOrderReturn';\n\n\n Messages.SubmitOrderReturnSuccess = function (model) {\n var data = {\n model: model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.OpenAddressEditForm.Messages.SubmitOrderReturnSuccess', data);\n };\n Messages.SubmitOrderReturnSuccess.className = 'Vendd.OpenAddressEditForm.Messages.SubmitOrderReturnSuccess';\n\n\n Messages.SubmitOrderReturnsFailed = function (model) {\n var data = {\n model: model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.OpenAddressEditForm.Messages.SubmitOrderReturnsFailed', data);\n };\n Messages.SubmitOrderReturnsFailed.className = 'Vendd.OpenAddressEditForm.Messages.SubmitOrderReturnsFailed';\n\n\n Messages.OpenAddressEditForm = function (address) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ReturnOrder.Messages.OpenAddressEditForm', address);\n };\n Messages.OpenAddressEditForm.className = 'Vendd.ReturnOrder.Messages.OpenAddressEditForm';\n\n\n Messages.OpenAddressEditForm = function (address) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ReturnOrder.Messages.OpenAddressEditForm', address);\n };\n Messages.OpenAddressEditForm.className = 'Vendd.ReturnOrder.Messages.OpenAddressEditForm';\n\n Messages.GetRequestReturnSuccess = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.GetRequestReturnSuccess\", data);\n };\n Messages.GetRequestReturnSuccess.className = \"Vendd.ReturnOrder.Messages.GetRequestReturnSuccess\";\n\n Messages.GetRequestReturnFailure = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.GetRequestReturnFailure\", data);\n };\n Messages.GetRequestReturnFailure.className = \"Vendd.ReturnOrder.Messages.GetRequestReturnFailure\";\n\n Messages.GetRequestReturn = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.GetRequestReturn\", data);\n };\n Messages.GetRequestReturn.className = \"Vendd.ReturnOrder.Messages.GetRequestReturn\";\n\n\n Messages.ValidateOrderContactInfo = function (ordercode, phone) {\n var data = {\n ordercode: ordercode,\n phone: phone\n }\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.ValidateOrderContactInfo\", data);\n };\n Messages.ValidateOrderContactInfo.className = \"Vendd.ReturnOrder.Messages.ValidateOrderContactInfo\";\n\n\n Messages.ValidateOrderContactInfoSuccess = function (orderid) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.ValidateOrderContactInfoSuccess\", orderid);\n };\n Messages.ValidateOrderContactInfoSuccess.className = \"Vendd.ReturnOrder.Messages.ValidateOrderContactInfoSuccess\";\n\n\n Messages.ValidateOrderContactInfoFailure = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.ValidateOrderContactInfoFailure\", data);\n };\n Messages.ValidateOrderContactInfoFailure.className = \"Vendd.ReturnOrder.Messages.ValidateOrderContactInfoFailure\";\n\n\n Messages.GetReturnRequestValidationFormModel = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.GetReturnRequestValidationFormModel\", data);\n };\n Messages.GetReturnRequestValidationFormModel.className = \"Vendd.ReturnOrder.Messages.GetReturnRequestValidationFormModel\";\n\n\n Messages.GetReturnRequestValidationFormModelSuccess = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.GetReturnRequestValidationFormModelSuccess\", data);\n };\n Messages.GetReturnRequestValidationFormModelSuccess.className = \"Vendd.ReturnOrder.Messages.GetReturnRequestValidationFormModelSuccess\";\n\n Messages.GetReturnRequestValidationFormModelFailure = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.GetReturnRequestValidationFormModelFailure\", data);\n };\n Messages.GetReturnRequestValidationFormModelFailure.className = \"Vendd.ReturnOrder.Messages.GetReturnRequestValidationFormModelFailure\";\n\n Messages.GetReturnedOrdersModel = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.GetReturnedOrdersModel\", data);\n };\n Messages.GetReturnedOrdersModel.className = \"Vendd.ReturnOrder.Messages.GetReturnedOrdersModel\";\n\n\n Messages.GetReturnedOrdersModelSuccess = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.GetReturnedOrdersModelSuccess\", data);\n };\n Messages.GetReturnedOrdersModelSuccess.className = \"Vendd.ReturnOrder.Messages.GetReturnedOrdersModelSuccess\";\n\n Messages.GetReturnedOrdersModelFailure = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.GetReturnedOrdersModelFailure\", data);\n };\n Messages.GetReturnedOrdersModelFailure.className = \"Vendd.ReturnOrder.Messages.GetReturnedOrdersModelFailure\";\n\n return Messages;\n\n })(ReturnOrder.Messages || {});\n\n return ReturnOrder;\n\n })(Vendd.ReturnOrder || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t'use strict';\n\n\tVendd.Export = (function (Export) {\n\n\t\tExport.Messages = (function (Messages) {\n\n\t\t\tMessages.GetListingExport = function (response) {\n\n\t\t\t\tvar messages = [];\n\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, \"Vendd.Export.Messages.GetListingExport\", response);\n\t\t\t}\n\t\t\tMessages.GetListingExport.className = \"Vendd.Export.Messages.GetListingExport\";\n\n\t\t\tMessages.GetListingExportSuccess = function (response) {\n\n\t\t\t\tvar messages = [];\n\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, \"Vendd.Export.Messages.GetListingExportSuccess\", response);\n\t\t\t}\n\t\t\tMessages.GetListingExportSuccess.className = \"Vendd.Export.Messages.GetListingExportSuccess\";\n\n\t\t\tMessages.GetListingExportFailure = function (response) {\n\n\t\t\t\tvar messages = [];\n\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, \"Vendd.Export.Messages.GetListingExportFailure\", response);\n\t\t\t}\n\t\t\tMessages.GetListingExportFailure.className = \"Vendd.Export.Messages.GetListingExportFailure\";\n\n\t\t\treturn Messages;\n\t\t})(Export.Messages || {});\n\n\t\treturn Export;\n\n\t})(Vendd.Export || {});\n\n\treturn Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.CustomForms = (function (CustomForms) {\n\n CustomForms.Messages = (function (Messages) {\n\n \n Messages.SendNotification = function (data) {\n \n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.CustomForms.Messages.SendNotification', data);\n };\n Messages.SendNotification.className = 'Vendd.CustomForms.Messages.SendNotification';\n\n\n Messages.SendNotificationSuccess = function (response) {\n \n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.CustomForms.Messages.SendNotificationSuccess', response);\n };\n Messages.SendNotificationSuccess.className = 'Vendd.CustomForms.Messages.SendNotificationSuccess';\n\n\n Messages.SendNotificationFailure = function (response) {\n \n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.CustomForms.Messages.SendNotificationFailure', response);\n };\n Messages.SendNotificationFailure.className = 'Vendd.CustomForms.Messages.SendNotificationFailure';\n\n\n Messages.Submit = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.CustomForms.Messages.Submit', data);\n };\n Messages.Submit.className = 'Vendd.CustomForms.Messages.Submit';\n\n\n Messages.SubmitSuccess = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.CustomForms.Messages.SubmitSuccess', response);\n };\n Messages.SubmitSuccess.className = 'Vendd.CustomForms.Messages.SubmitSuccess';\n\n\n Messages.SubmitFailure = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.CustomForms.Messages.SubmitFailure', response);\n };\n Messages.SubmitFailure.className = 'Vendd.CustomForms.Messages.SubmitFailure';\n\n return Messages;\n\n })(CustomForms.Messages || {});\n\n return CustomForms;\n\n })(Vendd.CustomForms || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t'use strict';\n\n\tVendd.SpeedexTrackTrace = (function (SpeedexTrackTrace) {\n\n\t SpeedexTrackTrace.Messages = (function (Messages) {\n\t\t\t\n\t Messages.GetSpeedexTrackTraceModel = function (voucherCode) {\n\t\t\t\tvar data = {\n\t\t\t\t voucherCode: voucherCode\n\t\t\t\t};\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, \"Vendd.SpeedexTrackTrace.Messages.GetSpeedexTrackTraceModel\", data);\n\t\t\t}\n\t Messages.GetSpeedexTrackTraceModel.className = \"Vendd.SpeedexTrackTrace.Messages.GetSpeedexTrackTraceModel\";\n\n\t Messages.GetSpeedexTrackTraceModelSuccess = function (model) {\n\t\t\t\tvar data = {\n\t\t\t\t\tmodel: model\n\t\t\t\t};\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, \"Vendd.SpeedexTrackTrace.Messages.GetSpeedexTrackTraceModelSuccess\", data);\n\t\t\t}\n\t Messages.GetSpeedexTrackTraceModelSuccess.className = \"Vendd.SpeedexTrackTrace.Messages.GetSpeedexTrackTraceModelSuccess\";\n\n\t Messages.GetSpeedexTrackTraceModelFailure = function (model) {\n\t\t\t\tvar data = {\n\t\t\t\t\tmodel: model\n\t\t\t\t};\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, \"Vendd.SpeedexTrackTrace.Messages.GetSpeedexTrackTraceModelFailure\", data);\n\t\t\t}\n\t Messages.GetSpeedexTrackTraceModelFailure.className = \"Vendd.SpeedexTrackTrace.Messages.GetSpeedexTrackTraceModelFailure\";\n\n\t\t\t\n\t\t\treturn Messages;\n\n\t })(SpeedexTrackTrace.Messages || {});\n\n\t return SpeedexTrackTrace;\n\n\t})(Vendd.SpeedexTrackTrace || {});\n\n\treturn Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n Vendd.FilterProduct = (function (FilterProduct) {\n\n FilterProduct.Messages = (function (Messages) {\n\n\n Messages.Add = function (id, path, extraAttributes, bundleItems) {\n var data = {\n id: id,\n path: path,\n extraAttributes: extraAttributes, //example: extraAttributes: [{code:'test',value:'testValue'}]\n bundleItems: bundleItems //example: bundleItems: [{parentProductId:'testValue', productId:'testValue', quantity: 'testValue'}]\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.FilterProduct.Messages.Add\", data);\n };\n Messages.Add.className = \"Vendd.FilterProduct.Messages.Add\";\n\n Messages.Remove = function (id) {\n var data = {\n id: id\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.FilterProduct.Messages.Remove\", data);\n };\n Messages.Remove.className = \"Vendd.FilterProduct.Messages.Remove\";\n\n Messages.Clear = function () {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.FilterProduct.Messages.Clear\");\n };\n Messages.Clear.className = \"Vendd.FilterProduct.Messages.Clear\";\n\n Messages.Changed = function (model) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.FilterProduct.Messages.Changed', model);\n };\n Messages.Changed.className = 'Vendd.FilterProduct.Messages.Changed';\n\n Messages.GetModel = function (configuration) {\n \n var data = {\n configuration: configuration\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.FilterProduct.Messages.GetModel', configuration);\n };\n Messages.GetModel.className = 'Vendd.FilterProduct.Messages.GetModel';\n\n Messages.Failed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.FilterProduct.Messages.Failed', response);\n };\n Messages.Failed.className = 'Vendd.FilterProduct.Messages.Failed';\n\n Messages.GetNextFilter = function () {\n var data = {\n serviceConfiguration: serviceConfiguration\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetNextFilter\", data);\n };\n Messages.GetNextFilter.className = \"Vendd.ScrollList.Messages.GetNextFilter\";\n\n Messages.GetNextFilterSuccess = function (list, model) {\n var data = {\n list: list,\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetNextFilterSuccess\", data);\n };\n Messages.GetNextFilterSuccess.className = \"Vendd.ScrollList.Messages.GetNextFilterSuccess\";\n\n Messages.GetNextFilterFailure = function (list, response) {\n response.data = JSON.parse(response.data);\n var data = {\n list: list,\n response: response\n };\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetNextFilterFailure\", data);\n };\n\n return Messages;\n })(FilterProduct.Messages || {});\n\n return FilterProduct;\n\n })(Vendd.FilterProduct || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t'use strict';\n\n\tVendd.LazyProductList = (function (LazyProductList) {\n\n\t LazyProductList.Messages = (function (Messages) {\n\t\t\t\n\t Messages.GetLazyProductList = function (serviceConfiguration) {\n\t\t\t\tvar data = {\n\t\t\t\t\tserviceConfiguration: serviceConfiguration\n\t\t\t\t};\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, \"Vendd.LazyProductList.Messages.GetLazyProductList\", data);\n\t\t\t}\n\t Messages.GetLazyProductList.className = \"Vendd.LazyProductList.Messages.GetLazyProductList\";\n\n\t Messages.LazyProductListSuccess = function (model) {\n\t\t\t\tvar data = {\n\t\t\t\t\tmodel: model\n\t\t\t\t};\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, \"Vendd.LazyProductList.Messages.LazyProductListSuccess\", data);\n\t\t\t}\n\t Messages.LazyProductListSuccess.className = \"Vendd.LazyProductList.Messages.LazyProductListSuccess\";\n\n\t Messages.LazyProductListFailure = function (model) {\n\t\t\t\tvar data = {\n\t\t\t\t\tmodel: model\n\t\t\t\t};\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, \"Vendd.LazyProductList.Messages.LazyProductListFailure\", data);\n\t\t\t}\n\t Messages.LazyProductListFailure.className = \"Vendd.LazyProductList.Messages.LazyProductListFailure\";\n\n\t\t\t\n\t\t\treturn Messages;\n\n\t })(LazyProductList.Messages || {});\n\n\t return LazyProductList;\n\n\t})(Vendd.LazyProductList || {});\n\n\treturn Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.WishlistMerchant = (function (WishlistMerchant) {\n\n WishlistMerchant.Messages = (function (Messages) {\n\n Messages.Add = function (id, path, extraAttributes, bundleItems) {\n var data = {\n id: id,\n path: path,\n extraAttributes: extraAttributes, //example: extraAttributes: [{code:'test',value:'testValue'}]\n bundleItems: bundleItems //example: bundleItems: [{parentProductId:'testValue', productId:'testValue', quantity: 'testValue'}]\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.WishlistMerchant.Messages.Add\", data);\n };\n Messages.Add.className = \"Vendd.WishlistMerchant.Messages.Add\";\n\n Messages.Remove = function (id) {\n var data = {\n id: id\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.WishlistMerchant.Messages.Remove\", data);\n };\n Messages.Remove.className = \"Vendd.WishlistMerchant.Messages.Remove\";\n\n Messages.Clear = function () {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.WishlistMerchant.Messages.Clear\");\n };\n Messages.Clear.className = \"Vendd.WishlistMerchant.Messages.Clear\";\n\n Messages.Changed = function (model) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.WishlistMerchant.Messages.Changed', model);\n };\n Messages.Changed.className = 'Vendd.WishlistMerchant.Messages.Changed';\n\n Messages.GetModel = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.WishlistMerchant.Messages.GetModel');\n };\n Messages.GetModel.className = 'Vendd.WishlistMerchant.Messages.GetModel';\n\n Messages.Failed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.WishlistMerchant.Messages.Failed', response);\n };\n Messages.Failed.className = 'Vendd.WishlistMerchant.Messages.Failed';\n\n return Messages;\n\n })(WishlistMerchant.Messages || {});\n\n return WishlistMerchant;\n\n })(Vendd.WishlistMerchant || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.WishlistArticle = (function (WishlistArticle) {\n\n WishlistArticle.Messages = (function (Messages) {\n\n Messages.Add = function (id, path, extraAttributes, bundleItems) {\n var data = {\n id: id,\n path: path,\n extraAttributes: extraAttributes, //example: extraAttributes: [{code:'test',value:'testValue'}]\n bundleItems: bundleItems //example: bundleItems: [{parentProductId:'testValue', productId:'testValue', quantity: 'testValue'}]\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.WishlistArticle.Messages.Add\", data);\n };\n Messages.Add.className = \"Vendd.WishlistArticle.Messages.Add\";\n\n Messages.Remove = function (id) {\n var data = {\n id: id\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.WishlistArticle.Messages.Remove\", data);\n };\n Messages.Remove.className = \"Vendd.WishlistArticle.Messages.Remove\";\n\n Messages.Clear = function () {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.WishlistArticle.Messages.Clear\");\n };\n Messages.Clear.className = \"Vendd.WishlistArticle.Messages.Clear\";\n\n Messages.Changed = function (model) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.WishlistArticle.Messages.Changed', model);\n };\n Messages.Changed.className = 'Vendd.WishlistArticle.Messages.Changed';\n\n Messages.GetModel = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.WishlistArticle.Messages.GetModel');\n };\n Messages.GetModel.className = 'Vendd.WishlistArticle.Messages.GetModel';\n\n Messages.Failed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.WishlistArticle.Messages.Failed', response);\n };\n Messages.Failed.className = 'Vendd.WishlistArticle.Messages.Failed';\n\n return Messages;\n\n })(WishlistArticle.Messages || {});\n\n return WishlistArticle;\n\n })(Vendd.WishlistArticle || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Wishlist = (function (Wishlist) {\n\n Wishlist.Messages = (function (Messages) {\n\n Messages.Add = function (id, skuId, path, qty, extraAttributes, bundleItems, listId, currentListId) {\n var data = {\n id: id,\n skuId: skuId,\n path: path,\n qty: qty || 1,\n extraAttributes: extraAttributes, //example: extraAttributes: [{code:'test',value:'testValue'}]\n bundleItems: bundleItems, //example: bundleItems: [{parentProductId:'testValue', productId:'testValue', quantity: 'testValue'}]\n listId: listId || 0,\n currentListId: currentListId || 0 // if previousListId is passed then the product will be removed \n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Wishlist.Messages.Add\", data);\n };\n Messages.Add.className = \"Vendd.Wishlist.Messages.Add\";\n\n Messages.Remove = function (id) {\n var data = {\n id: id\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Wishlist.Messages.Remove\", data);\n };\n Messages.Remove.className = \"Vendd.Wishlist.Messages.Remove\";\n\n Messages.MoveAllToCart = function () {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Wishlist.Messages.MoveAllToCart\");\n };\n Messages.MoveAllToCart.className = \"Vendd.Wishlist.Messages.MoveAllToCart\";\n\n Messages.MoveToCart = function (id) {\n var data = {\n id: id\n };\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Wishlist.Messages.MoveToCart\", data);\n };\n Messages.MoveToCart.className = \"Vendd.Wishlist.Messages.MoveToCart\";\n\n Messages.Clear = function () {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Wishlist.Messages.Clear\");\n };\n Messages.Clear.className = \"Vendd.Wishlist.Messages.Clear\";\n\n Messages.Changed = function (model) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Wishlist.Messages.Changed', model);\n };\n Messages.Changed.className = 'Vendd.Wishlist.Messages.Changed';\n\n Messages.GetModel = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Wishlist.Messages.GetModel');\n };\n Messages.GetModel.className = 'Vendd.Wishlist.Messages.GetModel';\n\n Messages.Failed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Wishlist.Messages.Failed', response);\n };\n Messages.Failed.className = 'Vendd.Wishlist.Messages.Failed';\n\n return Messages;\n\n })(Wishlist.Messages || {});\n\n return Wishlist;\n\n })(Vendd.Wishlist || {});\n\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Widget = (function (Widget) {\n\n Widget.Messages = (function (Messages) {\n\n Messages.BindControl = function (context) {\n var data = {\n context: context\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Widget.Messages.BindControl', data);\n };\n Messages.BindControl.className = 'Vendd.Widget.Messages.BindControl';\n\n Messages.OpenWidget = function (widgetName, immediate) {\n var data = {\n widgetName: widgetName,\n immediate: immediate\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Widget.Messages.OpenWidget\", data);\n };\n Messages.OpenWidget.className = \"Vendd.Widget.Messages.OpenWidget\";\n\n Messages.WidgetOpened = function (widgetName) {\n var data = {\n widgetName: widgetName\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Widget.Messages.WidgetOpened\", data);\n };\n Messages.WidgetOpened.className = \"Vendd.Widget.Messages.WidgetOpened\";\n\n return Messages;\n\n })(Widget.Messages || {});\n\n return Widget;\n\n })(Vendd.Widget || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.DeliveryPoint = (function (DeliveryPoint) {\n\n DeliveryPoint.Messages = (function (Messages) {\n\n Messages.GetModel = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.DeliveryPoint.Messages.GetModel', {});\n };\n Messages.GetModel.className = 'Vendd.DeliveryPoint.Messages.GetModel';\n\n Messages.GetModelSuccess = function (model) {\n var data = {\n model: model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.DeliveryPoint.Messages.GetModelSuccess', data);\n };\n Messages.GetModelSuccess.className = 'Vendd.DeliveryPoint.Messages.GetModelSuccess';\n\n Messages.GetModelFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.DeliveryPoint.Messages.GetModelFailed', response);\n };\n Messages.GetModelFailed.className = 'Vendd.DeliveryPoint.Messages.GetModelFailed'; \n\n return Messages;\n\n })(DeliveryPoint.Messages || {});\n\n return DeliveryPoint;\n\n })(Vendd.DeliveryPoint || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.UserSelect = (function (UserSelect) {\n\n UserSelect.Messages = (function (Messages) {\n // ==========================================================================\n // SUBMIT SET INTERFACE USER\n // ==========================================================================\n Messages.SubmitSetInterfaceUser = function (observable) {\n\n var valOptions = {\n ValidationEngine: observable.valEngine,\n valmodel: observable.model,\n };\n //ToDo: Change Signature to take observable as input\n Vendd.DataValidation.ValidateModel(valOptions);\n\n var data = {\n model: observable.model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.SubmitSetInterfaceUser', data);\n };\n Messages.SubmitSetInterfaceUser.className = 'Vendd.UserSelect.Messages.SubmitSetInterfaceUser';\n\n Messages.SubmitSetInterfaceUserSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.SubmitSetInterfaceUserSuccess', response);\n };\n Messages.SubmitSetInterfaceUserSuccess.className = 'Vendd.UserSelect.Messages.SubmitSetInterfaceUserSuccess';\n\n Messages.SubmitSetInterfaceUserFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.SubmitSetInterfaceUserFailure', response);\n };\n Messages.SubmitSetInterfaceUserFailure.className = 'Vendd.UserSelect.Messages.SubmitSetInterfaceUserFailure';\n\n // ==========================================================================\n // SUBMIT CLEAR INTERFACE USER\n // ==========================================================================\n Messages.ClearInterfaceUser = function (observable) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.ClearInterfaceUser');\n };\n Messages.ClearInterfaceUser.className = 'Vendd.UserSelect.Messages.ClearInterfaceUser';\n\n Messages.ClearInterfaceUserSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.ClearInterfaceUserSuccess', response);\n };\n Messages.ClearInterfaceUserSuccess.className = 'Vendd.UserSelect.Messages.ClearInterfaceUserSuccess';\n\n Messages.ClearInterfaceUserFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.ClearInterfaceUserFailure', response);\n };\n Messages.ClearInterfaceUserFailure.className = 'Vendd.UserSelect.Messages.ClearInterfaceUserFailure';\n\n // ==========================================================================\n // SEARCH USERS\n // ==========================================================================\n Messages.SearchUsers = function (observable) {\n var data = {\n model: observable.model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.SearchUsers', data);\n };\n Messages.SearchUsers.className = 'Vendd.UserSelect.Messages.SearchUsers';\n\n Messages.SearchUsersSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.SearchUsersSuccess', response);\n };\n Messages.SearchUsersSuccess.className = 'Vendd.UserSelect.Messages.SearchUsersSuccess';\n\n Messages.SearchUsersFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.SearchUsersFailure', response);\n };\n Messages.SearchUsersFailure.className = 'Vendd.UserSelect.Messages.SearchUsersFailure';\n\n\n // ==========================================================================\n // SUBMIT SET INTERFACE USER FROM INLINE ADMIN\n // ==========================================================================\n Messages.SubmitSetInterfaceUserInlineAdmin = function (model) {\n\n var data = {\n model: model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.SubmitSetInterfaceUserInlineAdmin', data);\n };\n Messages.SubmitSetInterfaceUserInlineAdmin.className = 'Vendd.UserSelect.Messages.SubmitSetInterfaceUserInlineAdmin';\n\n Messages.SubmitSetInterfaceUserInlineAdminSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.SubmitSetInterfaceUserInlineAdminSuccess', response);\n };\n Messages.SubmitSetInterfaceUserInlineAdminSuccess.className = 'Vendd.UserSelect.Messages.SubmitSetInterfaceUserInlineAdminSuccess';\n\n Messages.SubmitSetInterfaceUserInlineAdminFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.SubmitSetInterfaceUserInlineAdminFailure', response);\n };\n Messages.SubmitSetInterfaceUserInlineAdminFailure.className = 'Vendd.UserSelect.Messages.SubmitSetInterfaceUserInlineAdminFailure';\n\n return Messages;\n\n })(UserSelect.Messages || {});\n\n return UserSelect;\n\n })(Vendd.UserSelect || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.User = (function (User) {\n\n User.Messages = (function (Messages) {\n\n Messages.Login = function (loginName, password, rememberMe, loginRedirectUrl, logoutRedirectUrl, reCaptchaCode) {\n var data = {\n loginName: loginName,\n password: password,\n rememberMe: rememberMe,\n loginRedirectUrl: loginRedirectUrl,\n logoutRedirectUrl: logoutRedirectUrl,\n reCaptchaCode: reCaptchaCode\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.Login', data);\n };\n Messages.Login.className = 'Vendd.User.Messages.Login';\n\n Messages.LoginSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.LoginSuccess', response);\n };\n Messages.LoginSuccess.className = 'Vendd.User.Messages.LoginSuccess';\n\n Messages.LoginFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.LoginFailure', response);\n };\n Messages.LoginFailure.className = 'Vendd.User.Messages.LoginFailure';\n\n\n Messages.Logout = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.Logout', {});\n };\n Messages.Logout.className = 'Vendd.User.Messages.Logout';\n\n Messages.LogoutAuthProviders = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.LogoutAuthProviders', {});\n };\n Messages.LogoutAuthProviders.className = 'Vendd.User.Messages.LogoutAuthProviders';\n\n Messages.LogoutUser = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.LogoutUser', {});\n };\n Messages.LogoutUser.className = 'Vendd.User.Messages.LogoutUser';\n\n Messages.LogoutSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.LogoutSuccess', response);\n };\n Messages.LogoutSuccess.className = 'Vendd.User.Messages.LogoutSuccess';\n\n Messages.LogoutFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.LogoutFailure', response);\n };\n Messages.LogoutFailure.className = 'Vendd.User.Messages.LogoutFailure';\n\n\n Messages.ForgotPassword = function (email) {\n var data = {\n email: email\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.ForgotPassword', data);\n };\n Messages.ForgotPassword.className = 'Vendd.User.Messages.ForgotPassword';\n\n Messages.ForgotPasswordSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.ForgotPasswordSuccess', response);\n };\n Messages.ForgotPasswordSuccess.className = 'Vendd.User.Messages.ForgotPasswordSuccess';\n\n Messages.ForgotPasswordFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.ForgotPasswordFailure', response);\n };\n Messages.ForgotPasswordFailure.className = 'Vendd.User.Messages.ForgotPasswordFailure';\n\n\n Messages.ResetPassword = function (code, password, passwordConfirmation) {\n var data = {\n code: code,\n password: password,\n passwordConfirmation: passwordConfirmation\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.ResetPassword', data);\n };\n Messages.ResetPassword.className = 'Vendd.User.Messages.ResetPassword';\n\n Messages.ResetPasswordSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.ResetPasswordSuccess', response);\n };\n Messages.ResetPasswordSuccess.className = 'Vendd.User.Messages.ResetPasswordSuccess';\n\n Messages.ResetPasswordFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.ResetPasswordFailure', response);\n };\n Messages.ResetPasswordFailure.className = 'Vendd.User.Messages.ResetPasswordFailure';\n\n\n Messages.Register = function (firstName, lastName, email, username, password, passwordConfirmation, newsletter, reCaptchaCode, redirectUrl, b2buser, b2bcompanyname, b2boccupation, b2btaxegency, b2btaxidentifier, b2bvatstatus, phone, mobilephone, birthdate, isLoyaltyMember, loyaltyRequest, loyaltyMemberId, preventRedirect) {\n var data = {\n \"firstName\": firstName,\n \"lastName\": lastName,\n \"email\": email,\n \"username\": username,\n \"password\": password,\n \"passwordConfirmation\": passwordConfirmation,\n \"newsletter\": newsletter,\n \"reCaptchaCode\": reCaptchaCode,\n \"redirectUrl\": redirectUrl,\n \"b2buser\": b2buser,\n \"b2bcompanyname\":b2bcompanyname, \n \"b2boccupation\":b2boccupation, \n \"b2btaxegency\":b2btaxegency, \n \"b2btaxidentifier\": b2btaxidentifier,\n \"b2bvatstatus\": b2bvatstatus,\n \"phone\": phone,\n \"mobilephone\": mobilephone,\n \"BirthDate\": birthdate,\n \"IsLoyaltyMember\": isLoyaltyMember,\n \"LoyaltyRequest\": loyaltyRequest,\n \"LoyaltyMemberId\": loyaltyMemberId,\n \"preventRedirect\" : preventRedirect\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.Register', data);\n };\n Messages.Register.className = 'Vendd.User.Messages.Register';\n\n Messages.RegisterSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.RegisterSuccess', response);\n };\n Messages.RegisterSuccess.className = 'Vendd.User.Messages.RegisterSuccess';\n\n Messages.RegisterFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.RegisterFailure', response);\n };\n Messages.RegisterFailure.className = 'Vendd.User.Messages.RegisterFailure';\n\n Messages.CanRegister = function (loginName, reCaptchaCode) {\n var data = {\n \"loginName\": loginName,\n \"reCaptchaCode\": reCaptchaCode\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.CanRegister', data);\n };\n Messages.CanRegister.className = 'Vendd.User.Messages.CanRegister';\n\n Messages.CanRegisterSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.CanRegisterSuccess', response);\n };\n Messages.CanRegisterSuccess.className = 'Vendd.User.Messages.CanRegisterSuccess';\n\n Messages.CanRegisterFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.CanRegisterFailure', response);\n };\n Messages.CanRegisterFailure.className = 'Vendd.User.Messages.CanRegisterFailure';\n\n Messages.B2BRegister = function\n (companyname, occupation, taxagency, taxidentifier, officername, vatstatus, email, emailconfirmation, username, town, address, number, postalcode, phone, password, passwordconfirmation,\n storesnumber, phoneTwo, mobile, fax, siteurl, store, companyCategory, openingHours, area, prefecture, officerLastName, officerPosition, message, newsletter, recaptchacode, redirecturl) {\n var data = {\n \"companyName\": companyname,\n \"occupation\": occupation,\n \"taxAgency\": taxagency,\n \"taxIdentifier\": taxidentifier,\n \"officerName\": officername,\n \"vatStatus\": vatstatus,\n \"email\": email,\n \"emailConfirmation\": emailconfirmation,\n \"username\": username,\n \"town\": town,\n \"address\": address,\n \"addressNumber\": number,\n \"postalCode\": postalcode,\n \"phone\": phone,\n \"password\": password,\n \"passwordConfirmation\": passwordconfirmation,\n \"storesNumber\": storesnumber,\n \"secondPhone\": phoneTwo,\n \"mobile\": mobile,\n \"fax\": fax,\n \"siteUrl\": siteurl,\n\n \"store\": store,\n \"companyCategory\": companyCategory,\n \"openingHours\": openingHours,\n \"area\": area,\n \"prefecture\": prefecture,\n \"officerLastName\": officerLastName,\n \"officerPosition\": officerPosition,\n\n \"message\": message,\n \"newsletter\": newsletter,\n \"reCaptchaCode\": recaptchacode,\n \"redirectUrl\": redirecturl\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.B2BRegister', data);\n };\n Messages.B2BRegister.className = 'Vendd.User.Messages.B2BRegister';\n\n Messages.B2BRegisterSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.B2BRegisterSuccess', response);\n };\n Messages.B2BRegisterSuccess.className = 'Vendd.User.Messages.B2BRegisterSuccess';\n\n Messages.B2BRegisterFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.B2BRegisterFailure', response);\n };\n Messages.B2BRegisterFailure.className = 'Vendd.User.Messages.B2BRegisterFailure';\n\n Messages.CreateUser = function (firstName, lastName, email, username, redirectUrl) {\n var data = {\n \"firstName\": firstName,\n \"lastName\": lastName,\n \"email\": email,\n \"username\": username,\n \"redirectUrl\": redirectUrl\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.CreateUser', data);\n };\n Messages.CreateUser.className = 'Vendd.User.Messages.CreateUser';\n\n Messages.CreateUserSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.CreateUserSuccess', response);\n };\n Messages.CreateUserSuccess.className = 'Vendd.User.Messages.CreateUserSuccess';\n\n Messages.CreateUserFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.CreateUserFailure', response);\n };\n Messages.CreateUserFailure.className = 'Vendd.User.Messages.CreateUserFailure';\n\n Messages.UserInitialized = function (isAuthenticated) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.UserInitialized', {\n isAuthenticated: isAuthenticated\n });\n };\n Messages.UserInitialized.className = 'Vendd.User.Messages.UserInitialized';\n\n Messages.GetUserViewModel = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.GetUserViewModel', {});\n };\n Messages.GetUserViewModel.className = 'Vendd.User.Messages.GetUserViewModel';\n\n Messages.GetUserViewModelSuccess = function (model) {\n var data = {\n model: model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.GetUserViewModelSuccess', data);\n };\n Messages.GetUserViewModelSuccess.className = 'Vendd.User.Messages.GetUserViewModelSuccess';\n\n Messages.GetUserViewModelFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.GetUserViewModelFailed', response);\n };\n Messages.GetUserViewModelFailed.className = 'Vendd.User.Messages.GetUserViewModelFailed';\n\n Messages.QuoteSubmit = function (email, userName, message, skuId) {\n var data = {\n email: email,\n userName: userName,\n message: message,\n skuId: skuId\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.QuoteSubmit', data);\n };\n Messages.QuoteSubmit.className = 'Vendd.User.Messages.QuoteSubmit';\n\n Messages.QuoteSubmitSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.QuoteSubmitSuccess', response);\n };\n Messages.QuoteSubmitSuccess.className = 'Vendd.User.Messages.QuoteSubmitSuccess';\n\n Messages.QuoteSubmitFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.QuoteSubmitFailure', response);\n };\n Messages.QuoteSubmitFailure.className = 'Vendd.User.Messages.QuoteSubmitFailure';\n\n Messages.LoginRedirect = function (envelope) {\n var data = envelope.message.data;\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.LoginRedirect', data);\n }\n Messages.LoginRedirect.className = 'Vendd.User.Messages.LoginRedirect';\n\n Messages.GetSessionState = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.GetSessionState', {});\n }\n Messages.GetSessionState.className = 'Vendd.User.Messages.GetSessionState';\n\n Messages.GetSessionStateSuccess = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.GetSessionStateSuccess', data);\n }\n Messages.GetSessionStateSuccess.className = 'Vendd.User.Messages.GetSessionStateSuccess';\n\n\n return Messages;\n\n })(User.Messages || {});\n\n return User;\n\n })(Vendd.User || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Store = (function (Store) {\n\n Store.Messages = (function (Messages) {\n\n Messages.BindControl = function (context) {\n var data = {\n context: context\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.BindControl', data);\n };\n Messages.BindControl.className = 'Vendd.Store.Messages.BindControl';\n\n Messages.SetContinent = function (continent) {\n var data = {\n continent: continent\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.SetContinent', data);\n };\n Messages.SetContinent.className = 'Vendd.Store.Messages.SetContinent';\n\n Messages.SetCountry = function (country) {\n var data = {\n country: country\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.SetCountry', data);\n };\n Messages.SetCountry.className = 'Vendd.Store.Messages.SetCountry';\n\n Messages.SetArea = function (area) {\n var data = {\n area: area\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.SetArea', data);\n };\n Messages.SetArea.className = 'Vendd.Store.Messages.SetArea';\n\n Messages.SetCity = function (city) {\n var data = {\n city: city\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.SetCity', data);\n };\n Messages.SetCity.className = 'Vendd.Store.Messages.SetCity';\n\n Messages.SetType = function (type) {\n var data = {\n type: type\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.SetType', data);\n };\n Messages.SetType.className = 'Vendd.Store.Messages.SetType';\n\n Messages.SetPostalCode = function (postalCode) {\n var data = {\n postalCode: postalCode\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.SetPostalCode', data);\n };\n Messages.SetPostalCode.className = 'Vendd.Store.Messages.SetPostalCode';\n\n Messages.Refine = function (data) {\n var data = {\n state: data\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.Refine', data);\n };\n Messages.Refine.className = 'Vendd.Store.Messages.Refine';\n\n\n Messages.UpdateForm = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.UpdateForm', data);\n };\n Messages.UpdateForm.className = 'Vendd.Store.Messages.UpdateForm';\n\n Messages.UpdateStores = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.UpdateStores', data);\n };\n\t\tMessages.UpdateStores.className = 'Vendd.Store.Messages.UpdateStores';\n\n Messages.CalculateDistances = function (array, source) {\n \tvar data = {\n \t\tarray: array,\n\t\t\t\tsource: source\n \t};\n \tVendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.CalculateDistances', data);\n };\n Messages.CalculateDistances.className = 'Vendd.Store.Messages.CalculateDistances';\n\n Messages.CalculateDistancesSuccess = function (data) {\n \t\n \tVendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.CalculateDistancesSuccess', data);\n };\n Messages.CalculateDistancesSuccess.className = 'Vendd.Store.Messages.CalculateDistancesSuccess';\n\n return Messages;\n\n })(Store.Messages || {});\n\n return Store;\n\n })(Vendd.Store || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.ElasticSearch = (function (ElasticSearch) {\n\n ElasticSearch.Messages = (function (Messages) {\n\n Messages.GetCategoryElasticResults = function (searchTerm, pageFrom, pageSize) {\n var data = {\n searchTerm: searchTerm,\n pageFrom: pageFrom,\n pageSize: pageSize\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ElasticSearch.Messages.GetCategoryElasticResults\", data);\n };\n Messages.GetCategoryElasticResults.className = \"Vendd.ElasticSearch.Messages.GetCategoryElasticResults\";\n\n Messages.GetCategoryElasticResultsSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ElasticSearch.Messages.GetCategoryElasticResultsSuccess\", data);\n };\n Messages.GetCategoryElasticResultsSuccess.className = \"Vendd.ElasticSearch.Messages.GetCategoryElasticResultsSuccess\";\n\n Messages.GetCategoryElasticResultsFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ElasticSearch.Messages.GetCategoryElasticResultsFailed\", response);\n };\n Messages.GetCategoryElasticResultsFailed.className = \"Vendd.ElasticSearch.Messages.GetCategoryElasticResultsFailed\";\n\n Messages.GetProductElasticResults = function (searchTerm, pageFrom, pageSize, sortingKey, orderType) {\n var data = {\n searchTerm: searchTerm,\n pageFrom: pageFrom,\n pageSize: pageSize,\n sortingKey: sortingKey,\n orderType: orderType\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ElasticSearch.Messages.GetProductElasticResults\", data);\n };\n Messages.GetProductElasticResults.className = \"Vendd.ElasticSearch.Messages.GetProductElasticResults\";\n\n Messages.GetProductElasticResultsSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ElasticSearch.Messages.GetProductElasticResultsSuccess\", data);\n };\n Messages.GetProductElasticResultsSuccess.className = \"Vendd.ElasticSearch.Messages.GetProductElasticResultsSuccess\";\n\n Messages.GetProductElasticResultsFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ElasticSearch.Messages.GetProductElasticResultsFailed\", response);\n };\n Messages.GetProductElasticResultsFailed.className = \"Vendd.ElasticSearch.Messages.GetProductElasticResultsFailed\";\n\n return Messages;\n\n })(ElasticSearch.Messages || {});\n\n return ElasticSearch;\n\n })(Vendd.ElasticSearch || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Search = (function (Search) {\n\n Search.Messages = (function (Messages) {\n\n Messages.GetSuggestiveResults = function (searchTerm, category) {\n var data = {\n searchTerm: searchTerm,\n category: category\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Search.Messages.GetSuggestiveResults\", data);\n };\n Messages.GetSuggestiveResults.className = \"Vendd.Search.Messages.GetSuggestiveResults\";\n\n Messages.GetSuggestiveResultsSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Search.Messages.GetSuggestiveResultsSuccess\", data);\n };\n Messages.GetSuggestiveResultsSuccess.className = \"Vendd.Search.Messages.GetSuggestiveResultsSuccess\";\n\n Messages.GetSuggestiveResultsFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Search.Messages.GetSuggestiveResultsFailed\", response);\n };\n Messages.GetSuggestiveResultsFailed.className = \"Vendd.Search.Messages.GetSuggestiveResultsFailed\";\n\n Messages.GetProductSuggestiveResults = function (searchTerm, maxResults) {\n var data = {\n searchTerm: searchTerm,\n maxResults: maxResults\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Search.Messages.GetProductSuggestiveResults\", data);\n };\n Messages.GetProductSuggestiveResults.className = \"Vendd.Search.Messages.GetProductSuggestiveResults\";\n\n Messages.GetProductSuggestiveResultsSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Search.Messages.GetProductSuggestiveResultsSuccess\", data);\n };\n Messages.GetProductSuggestiveResultsSuccess.className = \"Vendd.Search.Messages.GetProductSuggestiveResultsSuccess\";\n\n Messages.GetProductSuggestiveResultsFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Search.Messages.GetProductSuggestiveResultsFailed\", response);\n };\n Messages.GetProductSuggestiveResultsFailed.className = \"Vendd.Search.Messages.GetProductSuggestiveResultsFailed\";\n\n return Messages;\n\n })(Search.Messages || {});\n\n return Search;\n\n })(Vendd.Search || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.ScrollList = (function (ScrollList) {\n\n ScrollList.Messages = (function (Messages) {\n\n Messages.GetNextPage = function (list, serviceConfiguration,type) {\n var data = {\n type:type,\n list: list,\n serviceConfiguration: serviceConfiguration\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetNextPage\", data);\n };\n Messages.GetNextPage.className = \"Vendd.ScrollList.Messages.GetNextPage\";\n\n Messages.GetPreviousPage = function (list, serviceConfiguration, type) {\n var data = {\n list: list,\n serviceConfiguration: serviceConfiguration\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetPreviousPage\", data);\n };\n Messages.GetPreviousPage.className = \"Vendd.ScrollList.Messages.GetPreviousPage\";\n\n Messages.GetCurrentPage = function (list, serviceConfiguration, type) {\n var data = {\n type: type,\n list: list,\n serviceConfiguration: serviceConfiguration\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetCurrentPage\", data);\n };\n Messages.GetCurrentPage.className = \"Vendd.ScrollList.Messages.GetCurrentPage\";\n\n Messages.GetPageSuccess = function (list, model, position, type) {\n var data = {\n type: type,\n list: list,\n model: model,\n position: position\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetPageSuccess\", data);\n };\n Messages.GetPageSuccess.className = \"Vendd.ScrollList.Messages.GetPageSuccess\";\n\n Messages.GetCurrentPageSuccess = function (list, model, position, type) {\n var data = {\n type: type,\n list: list,\n model: model,\n position: position\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetCurrentPageSuccess\", data);\n };\n Messages.GetCurrentPageSuccess.className = \"Vendd.ScrollList.Messages.GetCurrentPageSuccess\";\n\n Messages.GetNextPageFailure = function (list, response) {\n response.data = JSON.parse(response.data);\n var data = {\n list: list,\n response: response\n };\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetNextPageFailure\", data);\n };\n Messages.GetNextPageFailure.className = \"Vendd.ScrollList.Messages.GetNextPageFailure\";\n\n Messages.GetPreviousPageFailure = function (list, response) {\n \tresponse.data = JSON.parse(response.data);\n \tvar data = {\n \t\tlist: list,\n \t\tresponse: response\n \t};\n\n \tVendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetPreviousPageFailure\", data);\n };\n Messages.GetPreviousPageFailure.className = \"Vendd.ScrollList.Messages.GetPreviousPageFailure\";\n\n Messages.GetCurrentPageFailure = function (list, response) {\n response.data = JSON.parse(response.data);\n var data = {\n list: list,\n response: response\n };\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetCurrentPageFailure\", data);\n };\n Messages.GetCurrentPageFailure.className = \"Vendd.ScrollList.Messages.GetCurrentPageFailure\";\n\n Messages.GetClientProductListData = function (request) {\n var data = {\n itemIds: request.itemIds,\n fetchPrices: request.fetchPrices,\n fetchAvailabilities: request.fetchAvailabilities,\n fetchStock: request.fetchStock\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetClientProductListData\", data);\n }\n Messages.GetClientProductListData.className = \"Vendd.ScrollList.Messages.GetClientProductListData\";\n\n Messages.GetClientProductListDataSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetClientProductListDataSuccess\", response);\n };\n Messages.GetClientProductListDataSuccess.className = \"Vendd.ScrollList.Messages.GetClientProductListDataSuccess\";\n\n Messages.GetClientProductListDataFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetClientProductListDataFailure\", response);\n };\n Messages.GetClientProductListDataFailure.className = \"Vendd.ScrollList.Messages.GetClientProductListDataFailure\";\n\n return Messages;\n\n })(ScrollList.Messages || {});\n\n return ScrollList;\n\n })(Vendd.ScrollList || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.ProductCompare = (function (ProductCompare) {\n\n ProductCompare.Messages = (function (Messages) {\n\n Messages.Add = function (id, skuId, path, qty) {\n var data = {\n id: id,\n skuId: skuId,\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ProductCompare.Messages.Add\", data);\n };\n Messages.Add.className = \"Vendd.ProductCompare.Messages.Add\";\n\n Messages.Remove = function (id) {\n var data = {\n id: id\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ProductCompare.Messages.Remove\", data);\n };\n Messages.Remove.className = \"Vendd.ProductCompare.Messages.Remove\";\n\n Messages.Clear = function () {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ProductCompare.Messages.Clear\", null);\n };\n Messages.Clear.className = \"Vendd.ProductCompare.Messages.Clear\";\n\n Messages.Changed = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductCompare.Messages.Changed', null);\n };\n Messages.Changed.className = 'Vendd.ProductCompare.Messages.Changed';\n\n Messages.GetModel = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductCompare.Messages.GetModel', null);\n };\n Messages.GetModel.className = 'Vendd.ProductCompare.Messages.GetModel';\n\n Messages.GetModelSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductCompare.Messages.GetModelSuccess', data);\n };\n Messages.GetModelSuccess.className = 'Vendd.ProductCompare.Messages.GetModelSuccess';\n\n Messages.GetWidgetModel = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductCompare.Messages.GetWidgetModel');\n };\n Messages.GetWidgetModel.className = 'Vendd.ProductCompare.Messages.GetWidgetModel';\n\n Messages.GetWidgetModelSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductCompare.Messages.GetWidgetModelSuccess', data);\n };\n Messages.GetWidgetModelSuccess.className = 'Vendd.ProductCompare.Messages.GetWidgetModelSuccess';\n\n\n Messages.Failed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductCompare.Messages.Failed', response);\n };\n Messages.Failed.className = 'Vendd.ProductCompare.Messages.Failed';\n\n return Messages;\n\n })(ProductCompare.Messages || {});\n\n return ProductCompare;\n\n })(Vendd.ProductCompare || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Product = (function (Product) {\n\n Product.Messages = (function (Messages) {\n\n Messages.BindControl = function (context) {\n var data = {\n context: context\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.BindControl', data);\n };\n\n\n\n Messages.BindControl.className = 'Vendd.Product.Messages.BindControl';\n\n Messages.SetQuantity = function (qty) {\n var data = {\n qty: qty\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.SetQuantity', data);\n };\n Messages.SetQuantity.className = 'Vendd.Product.Messages.SetQuantity';\n\n Messages.SetSelected = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.SetSelected', data);\n };\n Messages.SetSelected.className = 'Vendd.Product.Messages.SetSelected';\n\n Messages.SetBundleItems = function (bundleItems) {\n var data = {\n bundleItems: bundleItems //example: bundleItems: [{bundleProductId:'testValue', parentProductId:'testValue', productId:'testValue', quantity: 'testValue'}]\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.SetBundleItems', data);\n };\n Messages.SetBundleItems.className = 'Vendd.Product.Messages.SetBundleItems';\n\n Messages.SetRecipeItems = function (recipeItems) {\n var data = {\n recipeItems: recipeItems\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.SetRecipeItems', data);\n };\n Messages.SetRecipeItems.className = 'Vendd.Product.Messages.SetRecipeItems';\n\n Messages.SetComboItems = function (comboItems) {\n var data = {\n comboItems: comboItems\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.SetComboItems', data);\n };\n Messages.SetComboItems.className = 'Vendd.Product.Messages.SetComboItems';\n\n Messages.Changed = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.Changed', data);\n };\n Messages.Changed.className = 'Vendd.Product.Messages.Changed';\n\n Messages.Notify = function (email) {\n var data = {\n email: email\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.Notify', data);\n };\n Messages.Notify.className = 'Vendd.Product.Messages.Notify';\n\n Messages.NotifySuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.NotifySuccess', response);\n };\n Messages.NotifySuccess.className = 'Vendd.Product.Messages.NotifySuccess';\n\n Messages.NotifyFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.NotifyFailure', response);\n };\n Messages.NotifyFailure.className = 'Vendd.Product.Messages.NotifyFailure';\n\n //VDCORE-1320\n Messages.Review = function (title, description, rating, id) {\n\n var data = {\n productid: id,\n title: title,\n description: description,\n rating: rating,\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.Review', data);\n };\n Messages.Review.className = 'Vendd.Product.Messages.Review';\n\n Messages.ReviewSuccess = function (response, config) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.ReviewSuccess', response, config);\n };\n Messages.ReviewSuccess.className = 'Vendd.Product.Messages.ReviewSuccess';\n\n Messages.ReviewFailure = function (response, config) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.ReviewFailure', response, config);\n };\n Messages.ReviewFailure.className = 'Vendd.Product.Messages.ReviewFailure';\n\n Messages.ReviewVote = function (id, positive) {\n\n var data = {\n helpfullness: {\n id: id,\n ispositivevote: positive\n }\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.ReviewVote', data);\n };\n Messages.ReviewVote.className = 'Vendd.Product.Messages.ReviewVote';\n\n Messages.ReviewVoteSuccess = function (response, vote) {\n response.data = JSON.parse(response.data);\n\n var data = {\n response: response,\n vote: vote\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.ReviewVoteSuccess', data);\n };\n Messages.ReviewVoteSuccess.className = 'Vendd.Product.Messages.ReviewVoteSuccess';\n\n Messages.ReviewVoteFailure = function (response, vote) {\n response.data = JSON.parse(response.data);\n\n var data = {\n response: response,\n vote: vote\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.ReviewVoteFailure', data);\n };\n Messages.ReviewVoteFailure.className = 'Vendd.Product.Messages.ReviewVoteFailure';\n\n\n Messages.ProductSelected = function (id, list) {\n\n var data = {\n id: id,\n list: list\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.ProductSelected', data);\n };\n Messages.ProductSelected.className = 'Vendd.Product.Messages.ProductSelected';\n\n\n Messages.GetAvailableWarehouses = function (code) {\n\n var data = {\n skuCode: code\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetAvailableWarehouses', data);\n };\n Messages.GetAvailableWarehouses.className = 'Vendd.Product.Messages.GetAvailableWarehouses';\n\n Messages.GetAvailableWarehousesSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetAvailableWarehousesSuccess', response);\n };\n Messages.GetAvailableWarehousesSuccess.className = 'Vendd.Product.Messages.GetAvailableWarehousesSuccess';\n\n Messages.GetAvailableWarehousesFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetAvailableWarehousesFailure', response);\n };\n Messages.GetAvailableWarehousesFailure.className = 'Vendd.Product.Messages.GetAvailableWarehousesFailure';\n return Messages;\n\n })(Product.Messages || {});\n\n return Product;\n\n })(Vendd.Product || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n \n Vendd.Order = (function (Order) {\n\n Order.Messages = (function (Messages) {\n\n Messages.CancelUncompletedOrder = function (orderId) {\n var data = {\n orderId: orderId\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Order.Messages.CancelUncompletedOrder', data);\n };\n Messages.CancelUncompletedOrder.className = 'Vendd.Order.Messages.CancelUncompletedOrder';\n\n Messages.CancelUncompletedOrderSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Order.Messages.CancelUncompletedOrderSuccess\", data);\n };\n Messages.CancelUncompletedOrderSuccess.className = 'Vendd.Order.Messages.CancelUncompletedOrderSuccess';\n\n Messages.CancelUncompletedOrderFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Order.Messages.CancelUncompletedOrderFailed\", response);\n };\n Messages.CancelUncompletedOrderFailed.className = \"Vendd.Order.Messages.CancelUncompletedOrderFailed\";\n\n Messages.ReturnOrderItem = function (orderItemId) {\n var data = {\n orderItemId: orderItemId\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Order.Messages.ReturnOrderItem', data);\n };\n Messages.ReturnOrderItem.className = 'Vendd.Order.Messages.ReturnOrderItem';\n\n Messages.ReturnOrderItemSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Order.Messages.ReturnOrderItemSuccess\", data);\n };\n Messages.ReturnOrderItemSuccess.className = 'Vendd.Order.Messages.ReturnOrderItemSuccess';\n\n Messages.ReturnOrderItemFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Order.Messages.ReturnOrderItemFailed\", response);\n };\n Messages.ReturnOrderItemFailed.className = \"Vendd.Order.Messages.ReturnOrderItemFailed\";\n\n Messages.SubmitRequestOrderChange = function (observable) {\n var data = {\n model: observable.model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Order.Messages.SubmitRequestOrderChange', data);\n };\n Messages.SubmitRequestOrderChange.className = 'Vendd.Order.Messages.SubmitRequestOrderChange';\n\n Messages.SubmitRequestOrderChangeSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Order.Messages.SubmitRequestOrderChangeSuccess', response);\n };\n Messages.SubmitRequestOrderChangeSuccess.className = 'Vendd.Order.Messages.SubmitRequestOrderChangeSuccess';\n\n Messages.SubmitRequestOrderChangeFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Order.Messages.SubmitRequestOrderChangeFailure', response);\n };\n Messages.SubmitRequestOrderChangeFailure.className = 'Vendd.Order.Messages.SubmitRequestOrderChangeFailure';\n\n return Messages;\n\n })(Order.Messages || {});\n\n return Order;\n\n })(Vendd.Order || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Newsletter = (function (Newsletter) {\n\n Newsletter.Messages = (function (Messages) {\n\n Messages.Subscribe = function (email, mailparams, gender) {\n var data = {\n email: email,\n mailparams: mailparams || {},\n gender: gender\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Newsletter.Messages.Subscribe\", data);\n };\n Messages.Subscribe.className = \"Vendd.Newsletter.Messages.Subscribe\";\n\n Messages.SubscribeSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Newsletter.Messages.SubscribeSuccess\", response);\n };\n Messages.SubscribeSuccess.className = \"Vendd.Newsletter.Messages.SubscribeSuccess\";\n\n Messages.SubscribeFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Newsletter.Messages.SubscribeFailure\", response);\n };\n Messages.SubscribeFailure.className = \"Vendd.Newsletter.Messages.SubscribeFailure\";\n\n return Messages;\n\n })(Newsletter.Messages || {});\n\n return Newsletter;\n\n })(Vendd.Newsletter || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.DataValidation = (function (DataValidation) {\n\n DataValidation.Messages = (function (Messages) {\n\n Messages.ValidationError = function (errors) {\n var data = {\n errors: errors,\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.DataValidation.Messages.ValidationError\", data);\n };\n Messages.ValidationError.className = \"Vendd.DataValidation.Messages.ValidationError\";\n\n Messages.ValidationSuccess = function () {\n var data = {\n errors: {},\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.DataValidation.Messages.ValidationSuccess\", data);\n };\n Messages.ValidationSuccess.className = \"Vendd.DataValidation.Messages.ValidationSuccess\";\n\n\n return Messages;\n\n })(DataValidation.Messages || {});\n\n return DataValidation;\n\n })(Vendd.DataValidation || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Landing = (function (Landing) {\n\n Landing.Messages = (function (Messages) {\n\n Messages.Submit = function (competition ,email, firstname, lastname, message, newsletter, address, phones, mobiles, fax, gender, customxml, reCaptchaCode, terms) {\n var data = {\n competition: competition, \n email: email,\n firstName: firstname,\n lastName: lastname,\n message: message,\n newsletter: newsletter,\n address: address,\n phones: phones,\n mobiles: mobiles,\n fax: fax,\n gender: gender,\n customxml: customxml,\n reCaptchaCode: reCaptchaCode,\n terms: terms\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Landing.Messages.Submit', data);\n };\n Messages.Submit.className = 'Vendd.Landing.Messages.Submit';\n\n Messages.SubmitSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Landing.Messages.SubmitSuccess', response);\n };\n Messages.SubmitSuccess.className = 'Vendd.Landing.Messages.SubmitSuccess';\n\n Messages.SubmitFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Landing.Messages.SubmitFailure', response);\n };\n Messages.SubmitFailure.className = 'Vendd.Landing.Messages.SubmitFailure';\n\n return Messages;\n\n })(Landing.Messages || {});\n\n return Landing;\n\n })(Vendd.Landing || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Contact = (function (Contact) {\n\n Contact.Messages = (function (Messages) {\n\n Messages.Submit = function (email, firstname, lastname, message, newsletter, address, phones, mobiles, fax, gender, customxml, reCaptchaCode) {\n var data = {\n email: email,\n firstName: firstname,\n lastName: lastname,\n message: message,\n newsletter: newsletter,\n address: address,\n phones: phones,\n mobiles: mobiles,\n fax: fax,\n gender: gender,\n customxml: customxml,\n reCaptchaCode: reCaptchaCode\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Contact.Messages.Submit', data);\n };\n Messages.Submit.className = 'Vendd.Contact.Messages.Submit';\n\n Messages.SubmitSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Contact.Messages.SubmitSuccess', response);\n };\n Messages.SubmitSuccess.className = 'Vendd.Contact.Messages.SubmitSuccess';\n\n Messages.SubmitFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Contact.Messages.SubmitFailure', response);\n };\n Messages.SubmitFailure.className = 'Vendd.Contact.Messages.SubmitFailure';\n\n return Messages;\n\n })(Contact.Messages || {});\n\n return Contact;\n\n })(Vendd.Contact || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Cart = (function (Cart) {\n\n Cart.Messages = (function (Messages) {\n\n Messages.Add = function (id, skuId, path, qty, defaultcolorId, extraAttributes, bundleItems, recipeItems, comboItems, itemInfo, enhancedInfo) {\n\n var quantity = qty;\n if (itemInfo) {\n\n var minQuantity = itemInfo.minQuantity || 0;\n var maxQuantity = itemInfo.maxQuantity || 0;\n var quanta = itemInfo.quanta || 0;\n\n if (quanta > 0 && (qty * 100) % (quanta * 100) !== 0) {\n quantity = Math.round(qty / quanta) * quanta;\n }\n }\n\n var data = {\n id: id,\n skuId: skuId,\n path: path,\n qty: quantity,\n defaultcolorId: defaultcolorId,\n extraAttributes: extraAttributes, //example: extraAttributes: [{code:'test',value:'testValue'}]\n bundleItems: bundleItems, //example: bundleItems: [{bundleProductId:'testValue', parentProductId:'testValue', productId:'testValue', quantity: 'testValue'}]\n recipeItems: recipeItems, //example: recipeItems: [{parentProductId:'testValue', productId:'testValue', quantity: 'testValue'}]\n comboItems: comboItems, //example: comboItems: [{parentProductId:'testValue', productId:'testValue', quantity: 'testValue'}]\n itemInfo: itemInfo, //example: itemInfo: {minQuantity: 'test', maxQuantity: 'testValue'}\n enhancedInfo: enhancedInfo\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.Add', data);\n };\n Messages.Add.className = 'Vendd.Cart.Messages.Add';\n\n Messages.AddCompleted = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.AddCompleted\", data);\n };\n Messages.AddCompleted.className = 'Vendd.Cart.Messages.AddCompleted';\n\n Messages.MultipleAdd = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.MultipleAdd', data);\n };\n Messages.MultipleAdd.className = 'Vendd.Cart.Messages.MultipleAdd';\n\n Messages.MultipleAddSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.MultipleAddSuccess\", data);\n };\n Messages.MultipleAddSuccess.className = 'Vendd.Cart.Messages.MultipleAddSuccess';\n\n Messages.Remove = function (id) {\n var data = {\n id: id\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.Remove', data);\n };\n Messages.Remove.className = 'Vendd.Cart.Messages.Remove';\n\n Messages.SetQuantity = function (id, qty) {\n var data = {\n id: id,\n qty: qty\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.SetQuantity', data);\n };\n Messages.SetQuantity.className = 'Vendd.Cart.Messages.SetQuantity';\n\n Messages.SetQuantities = function (items) {\n var data = {};\n data.items = items;\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.SetQuantities', data);\n };\n Messages.SetQuantities.className = 'Vendd.Cart.Messages.SetQuantities';\n\n Messages.UpdateBundleItems = function (id, bundleItems) {\n\n var data = {\n id: id,\n bundleItems: bundleItems //example: bundleItems: [{bundleProductId:'testValue', parentProductId:'testValue', productId:'testValue', quantity: 'testValue'}]\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.UpdateBundleItems', data);\n };\n Messages.UpdateBundleItems.className = 'Vendd.Cart.Messages.UpdateBundleItems';\n\n Messages.Clear = function () {\n var data = {};\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.Clear', data);\n };\n Messages.Clear.className = 'Vendd.Cart.Messages.Clear';\n\n\n Messages.ApplyCoupon = function (code) {\n var data = {\n code: code\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ApplyCoupon', data);\n };\n Messages.ApplyCoupon.className = 'Vendd.Cart.Messages.ApplyCoupon';\n\n Messages.ClearCoupon = function (code) {\n var data = {\n code: code\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ClearCoupon', data);\n };\n Messages.ClearCoupon.className = 'Vendd.Cart.Messages.ClearCoupon';\n\n Messages.ClearCoupons = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ClearCoupons');\n };\n Messages.ClearCoupons.className = 'Vendd.Cart.Messages.ClearCoupons';\n\n Messages.ApplyExternalCoupon = function (code) {\n var data = {\n code: code\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ApplyExternalCoupon', data);\n };\n Messages.ApplyExternalCoupon.className = 'Vendd.Cart.Messages.ApplyExternalCoupon';\n\n Messages.ClearExternalCoupon = function (code) {\n var data = {\n code: code\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ClearExternalCoupon', data);\n };\n Messages.ClearExternalCoupon.className = 'Vendd.Cart.Messages.ClearExternalCoupon';\n\n Messages.ClearExternalCoupons = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ClearExternalCoupons');\n };\n Messages.ClearExternalCoupons.className = 'Vendd.Cart.Messages.ClearExternalCoupons';\n\n Messages.GetModel = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.GetModel');\n };\n Messages.GetModel.className = 'Vendd.Cart.Messages.GetModel';\n\n Messages.Changed = function (model) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.Changed', model);\n };\n Messages.Changed.className = 'Vendd.Cart.Messages.Changed';\n\n Messages.Failed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.Failed', response);\n };\n Messages.Failed.className = 'Vendd.Cart.Messages.Failed';\n\n Messages.Warning = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.Warning', response);\n };\n Messages.Warning.className = 'Vendd.Cart.Messages.Warning';\n\n Messages.GiftCardApplyFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.GiftCardApplyFailed', response);\n };\n Messages.GiftCardApplyFailed.className = 'Vendd.Cart.Messages.GiftCardApplyFailed';\n\n Messages.ApplyShippingData = function (countryCode, postCode, areaId, shippingMethodId, shippingCompanyId) {\n var data = {\n countryCode: countryCode,\n postCode: postCode,\n areaId: areaId,\n shippingMethodId: shippingMethodId,\n shippingCompanyId: shippingCompanyId\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ApplyShippingData', data);\n };\n Messages.ApplyShippingData.className = 'Vendd.Cart.Messages.ApplyShippingData';\n\n Messages.ApplyShippingDataSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.ApplyShippingDataSuccess\", data);\n };\n Messages.ApplyShippingDataSuccess.className = 'Vendd.Cart.Messages.ApplyShippingDataSuccess';\n\n Messages.ApplyShippingDataFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.ApplyShippingDataFailed\", response);\n };\n Messages.ApplyShippingDataFailed.className = \"Vendd.Cart.Messages.ApplyShippingDataFailed\";\n\n Messages.GetShippingModel = function (countryCode, postCode, areaId, shippingMethodId, shippingCompanyId) {\n var data = {\n countryCode: countryCode,\n postCode: postCode,\n areaId: areaId,\n shippingMethodId: shippingMethodId,\n shippingCompanyId: shippingCompanyId\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.GetShippingModel', data);\n };\n Messages.GetShippingModel.className = 'Vendd.Cart.Messages.GetShippingModel';\n\n Messages.GetShippingModelSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.GetShippingModelSuccess\", data);\n };\n Messages.GetShippingModelSuccess.className = 'Vendd.Cart.Messages.GetShippingModelSuccess';\n\n Messages.GetShippingModelFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.GetShippingModelFailed\", response);\n };\n Messages.GetShippingModelFailed.className = \"Vendd.Cart.Messages.GetShippingModelFailed\";\n\n Messages.SetGiftwrap = function (id, wrapId, message) {\n var data = {\n id: id,\n wrapId: wrapId,\n message: message\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.SetGiftwrap', data);\n };\n Messages.SetGiftwrap.className = 'Vendd.Cart.Messages.SetGiftwrap';\n\n Messages.SetGiftwraps = function (items) {\n var data = {};\n data.items = items;\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.SetGiftwraps', data);\n };\n Messages.SetGiftwraps.className = 'Vendd.Cart.Messages.SetGiftwraps';\n\n Messages.ApplyExtraAllowanceOrCharge = function (itemId, shopAllowanceorChargeId) {\n var data = {\n itemId: itemId,\n shopAllowanceorChargeId: shopAllowanceorChargeId\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ApplyExtraAllowanceOrCharge', data);\n };\n Messages.ApplyExtraAllowanceOrCharge.className = 'Vendd.Cart.Messages.ApplyExtraAllowanceOrCharge';\n\n Messages.DisableExtraAllowanceOrCharge = function (itemId, shopAllowanceorChargeId) {\n var data = {\n itemId: itemId,\n shopAllowanceorChargeId: shopAllowanceorChargeId\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.DisableExtraAllowanceOrCharge', data);\n };\n Messages.DisableExtraAllowanceOrCharge.className = 'Vendd.Cart.Messages.DisableExtraAllowanceOrCharge';\n\n Messages.AddOrderItemsToCart = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.AddOrderItemsToCart', data);\n };\n Messages.AddOrderItemsToCart.className = 'Vendd.Cart.Messages.AddOrderItemsToCart';\n\n Messages.SetGiftCard = function (code, amount) {\n var data = {\n code: code,\n amount: amount,\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.SetGiftCard', data);\n };\n Messages.SetGiftCard.className = 'Vendd.Cart.Messages.SetGiftCard';\n\n Messages.AddGiftCartEmailAddress = function (observableList) {\n\n var itemsList = [];\n $.each(observableList, function (k, observable) {\n\n var valOptions = {\n ValidationEngine: observable.valEngine,\n valmodel: observable.model,\n };\n\n Vendd.DataValidation.ValidateModel(valOptions);\n itemsList.push(observable.model);\n });\n\n\n var data = {\n items: itemsList\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.AddGiftCartEmailAddress', data);\n };\n Messages.AddGiftCartEmailAddress.className = 'Vendd.Cart.Messages.AddGiftCartEmailAddress';\n\n\n Messages.AddGiftCartEmailAddressSuccess = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.AddGiftCartEmailAddressSuccess');\n };\n Messages.AddGiftCartEmailAddressSuccess.className = 'Vendd.Cart.Messages.AddGiftCartEmailAddressSuccess';\n\n Messages.ClearAllGiftCards = function (items) {\n var data = {};\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ClearAllGiftCards', data);\n };\n Messages.ClearAllGiftCards.className = 'Vendd.Cart.Messages.ClearAllGiftCards';\n\n Messages.ClearGiftCard = function (code) {\n var data = {};\n data.code = code;\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ClearGiftCard', data);\n };\n\n Messages.ClearGiftCard.className = 'Vendd.Cart.Messages.ClearGiftCard';\n\n Messages.AddOrderItemsToCartSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.AddOrderItemsToCartSuccess\", data);\n };\n Messages.AddOrderItemsToCartSuccess.className = 'Vendd.Cart.Messages.AddOrderItemsToCartSuccess';\n\n Messages.AddOrderItemsToCartFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.AddOrderItemsToCartFailed\", response);\n };\n Messages.AddOrderItemsToCartFailed.className = \"Vendd.Cart.Messages.AddOrderItemsToCartFailed\";\n\n Messages.ShowMessages = function (response) {\n\n var messages = [];\n\n if (response.data) {\n var responseData = response.data || {};\n messages = responseData.Messages || [];\n }\n\n if (response.Messages) {\n messages = response.Messages || [];\n }\n\n var data = {\n resultMessages: messages\n };\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.ShowMessages\", data);\n }\n Messages.ShowMessages.className = \"Vendd.Cart.Messages.ShowMessages\";\n\n Messages.DownLoadExcel = function (response) {\n\n var messages = [];\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.DownLoadExcel\", response);\n }\n Messages.DownLoadExcel.className = \"Vendd.Cart.Messages.DownLoadExcel\";\n\n Messages.DownLoadExcelSuccess = function (response) {\n\n var messages = [];\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.DownLoadExcelSuccess\", response);\n }\n Messages.DownLoadExcelSuccess.className = \"Vendd.Cart.Messages.DownLoadExcelSuccess\";\n\n Messages.DownLoadExcelFailure = function (response) {\n\n var messages = [];\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.DownLoadExcelFailure\", response);\n }\n Messages.DownLoadExcelFailure.className = \"Vendd.Cart.Messages.DownLoadExcelFailure\";\n\n\n Messages.ProductAdded = function (id) {\n var data = {};\n data.id = id;\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ProductAdded', data);\n };\n Messages.ProductAdded.className = 'Vendd.Cart.Messages.ProductAdded';\n\n Messages.ProductRemoved = function (cartId) {\n var data = {};\n data.cartId = cartId;\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ProductRemoved', data);\n };\n Messages.ProductRemoved.className = 'Vendd.Cart.Messages.ProductRemoved';\n\n Messages.AlreadyInCart = function (id) {\n var data = {};\n data.id = id;\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.AlreadyInCart', data);\n };\n Messages.AlreadyInCart.className = 'Vendd.Cart.Messages.AlreadyInCart';\n\n Messages.CollectionAdded = function () {\n var data = {};\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.CollectionAdded', data);\n };\n Messages.CollectionAdded.className = 'Vendd.Cart.Messages.CollectionAdded';\n\n Messages.SetDeliveryPoint = function (deliveryPointId) {\n var data = {\n deliveryPointId: deliveryPointId\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.SetDeliveryPoint', data);\n };\n Messages.SetDeliveryPoint.className = 'Vendd.Cart.Messages.SetDeliveryPoint';\n\n\n return Messages;\n\n })(Cart.Messages || {});\n\n return Cart;\n\n })(Vendd.Cart || {});\n\n return Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Career = (function (Career) {\n\n Career.Messages = (function (Messages) {\n\n Messages.Submit = function (observable) {\n var data = {\n model: observable.model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Career.Messages.Submit', data);\n };\n Messages.Submit.className = 'Vendd.Career.Messages.Submit';\n\n Messages.SubmitSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Career.Messages.SubmitSuccess', response);\n };\n Messages.SubmitSuccess.className = 'Vendd.Career.Messages.SubmitSuccess';\n\n Messages.SubmitFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Career.Messages.SubmitFailure', response);\n };\n Messages.SubmitFailure.className = 'Vendd.Career.Messages.SubmitFailure';\n\n return Messages;\n\n })(Career.Messages || {});\n\n return Career;\n\n })(Vendd.Career || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.CallMeBack = (function (CallMeBack) {\n\n CallMeBack.Messages = (function (Messages) {\n\n Messages.Submit = function (observable) {\n var data = {\n model: observable.model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.CallMeBack.Messages.Submit', data);\n };\n Messages.Submit.className = 'Vendd.CallMeBack.Messages.Submit';\n\n Messages.SubmitSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.CallMeBack.Messages.SubmitSuccess', response);\n };\n Messages.SubmitSuccess.className = 'Vendd.CallMeBack.Messages.SubmitSuccess';\n\n Messages.SubmitFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.CallMeBack.Messages.SubmitFailure', response);\n };\n Messages.SubmitFailure.className = 'Vendd.CallMeBack.Messages.SubmitFailure';\n\n return Messages;\n\n })(CallMeBack.Messages || {});\n\n return CallMeBack;\n\n })(Vendd.CallMeBack || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Article = (function (Article) {\n\n Article.Messages = (function (Messages) {\n\n Messages.ReviewSubmit = function (observable) {\n var data = {\n model: observable.model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Article.Messages.ReviewSubmit', data);\n };\n Messages.ReviewSubmit.className = 'Vendd.Article.Messages.ReviewSubmit';\n\n Messages.ReviewSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Article.Messages.ReviewSuccess', response);\n };\n Messages.ReviewSuccess.className = 'Vendd.Article.Messages.ReviewSuccess';\n\n Messages.ReviewFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Article.Messages.ReviewFailure', response);\n };\n Messages.ReviewFailure.className = 'Vendd.Article.Messages.ReviewFailure';\n\n Messages.ReviewVote = function (id, positive) {\n var data = {\n helpfullness: {\n Id: id,\n IsPositiveVote: positive\n }\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Article.Messages.ReviewVote', data);\n };\n Messages.ReviewVote.className = 'Vendd.Article.Messages.ReviewVote';\n\n Messages.ReviewVoteSuccess = function (response, vote) {\n response.data = JSON.parse(response.data);\n\n var data = {\n response: response,\n vote: vote\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Article.Messages.ReviewVoteSuccess', data);\n };\n Messages.ReviewVoteSuccess.className = 'Vendd.Article.Messages.ReviewVoteSuccess';\n\n Messages.ReviewVoteFailure = function (response, vote) {\n response.data = JSON.parse(response.data);\n\n var data = {\n response: response,\n vote: vote\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Article.Messages.ReviewVoteFailure', data);\n };\n Messages.ReviewVoteFailure.className = 'Vendd.Article.Messages.ReviewVoteFailure';\n\n return Messages;\n\n })(Article.Messages || {});\n\n return Article;\n\n })(Vendd.Article || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Recipe = (function (Recipe) {\n\n Recipe.Messages = (function (Messages) {\n\n Messages.GetModel = function (productid) {\n var data = {\n productid: productid\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Recipe.Messages.GetModel', data);\n };\n Messages.GetModel.className = 'Vendd.Recipe.Messages.GetModel';\n\n Messages.GetModelSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetModelSuccess', response);\n };\n Messages.GetModelSuccess.className = 'Vendd.Product.Messages.GetModelSuccess';\n\n Messages.GetModelFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetModelFailure', response);\n };\n Messages.GetModelFailure.className = 'Vendd.Product.Messages.GetModelFailure';\n\n Messages.Changed = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Recipe.Messages.Changed', response);\n };\n Messages.Changed.className = 'Vendd.Recipe.Messages.Changed';\n\n Messages.Failed = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Recipe.Messages.Failed', response);\n };\n Messages.Failed.className = 'Vendd.Recipe.Messages.Failed';\n\n return Messages;\n\n })(Recipe.Messages || {});\n\n return Recipe;\n\n })(Vendd.Recipe || {});\n\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Account = (function (Account) {\n\n Account.Messages = (function (Messages) {\n\n Messages.GetUserAccount = function (model) {\n var data = {\n model: model,\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetUserAccount', data);\n };\n Messages.GetUserAccount.className = 'Vendd.Account.Messages.GetUserAccount';\n\n Messages.GetUserAccountFailure = function (response) {\n var data = {\n response: response,\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetUserAccountFailure', data);\n };\n Messages.GetUserAccountFailure.className = 'Vendd.Account.Messages.GetUserAccountFailure';\n\n Messages.GetUserAccountSuccess = function (model) {\n var data = {\n model: model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetUserAccountSuccess', data);\n };\n Messages.GetUserAccountSuccess.className = 'Vendd.Account.Messages.GetUserAccountSuccess';\n\n\n //TODO: Refactoring\n Messages.EditUser = function (observable, valEngine) {\n\n var valOptions = {\n ValidationEngine: valEngine,\n valmodel: observable.model\n };\n Vendd.DataValidation.ValidateModel(valOptions);\n\n\n var data = {\n model: observable.model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.EditUser', data);\n };\n Messages.EditUser.className = 'Vendd.Account.Messages.EditUser';\n\n Messages.EditUserSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Account.Messages.EditUserSuccess\", response);\n };\n Messages.EditUserSuccess.className = 'Vendd.Account.Messages.EditUserSuccess';\n\n Messages.EditUserFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Account.Messages.EditUserFailed\", response);\n };\n Messages.EditUserFailed.className = \"Vendd.Account.Messages.EditUserFailed\";\n\n Messages.GetAddresses = function (addressType) {\n var data = {\n addressType: addressType\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAddresses', data);\n };\n Messages.GetAddresses.className = \"Vendd.Account.Messages.GetAddresses\";\n\n Messages.GetAddressesSuccess = function (model) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAddressesSuccess', model);\n };\n Messages.GetAddressesSuccess.className = 'Vendd.Account.Messages.GetAddressesSuccess';\n\n Messages.GetAddressesFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAddressesFailed', response);\n };\n Messages.GetAddressesFailed.className = 'Vendd.Account.Messages.GetAddressesFailed';\n\n\n Messages.EditAddress = function (observable, addressType) {\n var data = {\n model: observable.model,\n addressType: addressType\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.EditAddress', data, addressType);\n };\n Messages.EditAddress.className = 'Vendd.Account.Messages.EditAddress';\n\n\n Messages.EditAddressSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.EditAddressSuccess', data);\n };\n Messages.EditAddressSuccess.className = 'Vendd.Account.Messages.EditAddressSuccess';\n\n Messages.EditAddressFailed = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.EditAddressFailed', data);\n };\n Messages.EditAddressFailed.className = 'Vendd.Account.Messages.EditAddressFailed';\n\n\n Messages.DeleteAddress = function (addressId, addressType) {\n var data = {\n addressId: addressId,\n addressType: addressType\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.DeleteAddress', data);\n };\n Messages.DeleteAddress.className = 'Vendd.Account.Messages.DeleteAddress';\n\n Messages.DeleteAddressSuccess = function (adressId) {\n var data = {\n adressId: adressId\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.DeleteAddressSuccess', adressId);\n };\n Messages.DeleteAddressSuccess.className = 'Vendd.Account.Messages.DeleteAddressSuccess';\n\n Messages.DeleteAddressFailure = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.DeleteAddressFailure', data);\n };\n Messages.DeleteAddressFailure.className = 'Vendd.Account.Messages.DeleteAddressFailure';\n\n\n Messages.SetDefaultAddress = function (addressId, addressType) {\n var data = {\n addressId: addressId,\n addressType: addressType\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.SetDefaultAddress', data);\n };\n Messages.SetDefaultAddress.className = 'Vendd.Account.Messages.SetDefaultAddress';\n\n Messages.SetDefaultAddressSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.SetDefaultAddressSuccess', data);\n };\n Messages.SetDefaultAddressSuccess.className = 'Vendd.Account.SetDefaultAddressSuccess';\n\n Messages.SetDefaultAddressFailure = function (model) {\n var data = {\n model: model\n\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.SetDefaultAddressFailure', data);\n };\n Messages.SetDefaultAddressFailure.className = 'Vendd.Account.Messages.SetDefaultAddressFailure';\n\n\n Messages.CheckAddressIfExists = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.CheckAddressIfExists', data);\n };\n Messages.CheckAddressIfExists.className = 'Vendd.Account.Messages.CheckAddressIfExists';\n\n Messages.CheckAddressIfExistsSuccess = function (response) {\n var data = {\n response: response\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.CheckAddressIfExistsSuccess', response);\n };\n Messages.CheckAddressIfExistsSuccess.className = 'Vendd.Account.Messages.CheckAddressIfExistsSuccess';\n\n Messages.CheckAddressIfExistsFailure = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.CheckAddressIfExistsFailure', data);\n };\n Messages.CheckAddressIfExistsFailure.className = 'Vendd.Account.Messages.CheckAddressIfExistsFailure';\n\n //TODO: Refactoring\n Messages.OpenAddressEditForm = function (observable, DoNotClone) {\n\n var address\n // Clone Object \n if (DoNotClone) {\n address = observable;\n } else {\n var modelCopy = jQuery.extend(true, {}, observable.model);\n var observableCopy = new Vendd.Observable(modelCopy);\n address = observableCopy;\n }\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.OpenAddressEditForm', address);\n };\n Messages.OpenAddressEditForm.className = 'Vendd.Account.Messages.OpenAddressEditForm';\n\n\n Messages.GetAreasForPostCode = function (observable, postCode, validateAfterLoad) {\n var data = {\n country: observable.model.Country,\n postCode: postCode,\n area: observable.model.Area,\n validateAfterLoad: validateAfterLoad\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAreasForPostCode', data);\n };\n Messages.GetAreasForPostCode.className = 'Vendd.Account.Messages.GetAreasForPostCode';\n\n Messages.GetAreasForPostCodeSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAreasForPostCodeSuccess', data);\n };\n Messages.GetAreasForPostCodeSuccess.className = 'Vendd.Account.Messages.GetAreasForPostCodeSuccess';\n\n Messages.GetAreasForPostCodeFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAreasForPostCodeFailed', response);\n };\n Messages.GetAreasForPostCodeFailed.className = 'Vendd.Account.Messages.GetAreasForPostCodeFailed';\n\n\n Messages.GetCountries = function (observable, addressType) {\n var data = {\n selectedCountryCode: observable.model.Country,\n addressType: addressType\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetCountries', data);\n };\n Messages.GetCountries.className = 'Vendd.Account.Messages.GetCountries';\n\n Messages.GetCountriesSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetCountriesSuccess', data);\n };\n Messages.GetCountriesSuccess.className = 'Vendd.Account.Messages.GetCountriesSuccess';\n\n Messages.GetCountriesFailed = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetCountriesFailed', response);\n };\n Messages.GetCountriesFailed.className = 'Vendd.Account.Messages.GetCountriesFailed';\n\n //todo: refactror \n Messages.GetPrefecture = function (countryCode, area, postCode) {\n var data = {\n postCode: postCode,\n area: area,\n countryCode: countryCode\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetPrefecture', data);\n };\n Messages.GetPrefecture.className = 'Vendd.Account.Messages.GetPrefecture';\n\n Messages.GetPrefectureSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetPrefectureSuccess', data);\n };\n Messages.GetPrefectureSuccess.className = 'Vendd.Account.Messages.GetPrefectureSuccess';\n\n Messages.GetPrefectureFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetPrefectureFailed', response);\n };\n Messages.GetPrefectureFailed.className = 'Vendd.Account.Messages.GetPrefectureFailed';\n\n\n Messages.GetAllTaxAgencies = function (observable) {\n var data = {\n countryCode: observable.model.Country\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAllTaxAgencies', data);\n };\n Messages.GetAllTaxAgencies.className = 'Vendd.Account.Messages.GetAllTaxAgencies';\n\n Messages.GetAllTaxAgenciesSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAllTaxAgenciesSuccess', data);\n };\n Messages.GetAllTaxAgenciesSuccess.className = 'Vendd.Account.Messages.GetAllTaxAgenciesSuccess';\n\n Messages.GetAllTaxAgenciesFailed = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAllTaxAgenciesFailed', response);\n };\n Messages.GetAllTaxAgenciesFailed.className = 'Vendd.Account.Messages.GetAllTaxAgenciesFailed';\n\n Messages.GetAllVatStatuses = function (observable) {\n var data = {\n\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAllVatStatuses', data);\n };\n Messages.GetAllVatStatuses.className = 'Vendd.Account.Messages.GetAllVatStatuses';\n\n Messages.GetAllVatStatusesSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAllVatStatusesSuccess', data);\n };\n Messages.GetAllVatStatusesSuccess.className = 'Vendd.Account.Messages.GetAllVatStatusesSuccess';\n\n Messages.GetAllVatStatusesFailed = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAllVatStatusesFailed', response);\n };\n Messages.GetAllVatStatusesFailed.className = 'Vendd.Account.Messages.GetAllVatStatusesFailed';\n\n Messages.AddressModelChanged = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.AddressModelChanged', response);\n };\n Messages.AddressModelChanged.className = 'Vendd.Account.Messages.AddressModelChanged';\n\n Messages.ConvertPointsToCoupons = function (accountId) {\n var data = {\n accountId: accountId,\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.ConvertPointsToCoupons', data);\n\n };\n Messages.ConvertPointsToCoupons.className = 'Vendd.Account.Messages.ConvertPointsToCoupons';\n\n Messages.ConvertPointsToCouponsFailure = function (response) {\n var data = {\n response: response,\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.ConvertPointsToCouponsFailure', response);\n };\n Messages.ConvertPointsToCouponsFailure.className = 'Vendd.Account.Messages.ConvertPointsToCouponsFailure';\n\n Messages.ConvertPointsToCouponsSuccess = function (model) {\n var data = {\n model: model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.ConvertPointsToCouponsSuccess', data);\n };\n Messages.ConvertPointsToCouponsSuccess.className = 'Vendd.Account.Messages.ConvertPointsToCouponsSuccess';\n\n Messages.ReloadEditControl = function () {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.ReloadEditControl', {});\n };\n Messages.ReloadEditControl.className = 'Vendd.Account.Messages.ReloadEditControl';\n\n Messages.ReloadEditControlSuccess = function () {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.ReloadEditControlSuccess', {});\n };\n Messages.ReloadEditControlSuccess.className = 'Vendd.Account.Messages.ReloadEditControlSuccess';\n\n\n Messages.RequestToDeleteUser = function (model) {\n var data = { reason : model.Reason };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.RequestToDeleteUser', data);\n };\n Messages.RequestToDeleteUser.className = 'Vendd.Account.Messages.RequestToDeleteUser';\n\n Messages.RequestToDeleteUserSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.RequestToDeleteUserSuccess', data);\n };\n Messages.RequestToDeleteUserSuccess.className = 'Vendd.Account.Messages.RequestToDeleteUserSuccess';\n\n Messages.RequestToDeleteUserFailed = function(response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.RequestToDeleteUserFailed', response);\n };\n Messages.RequestToDeleteUserFailed.className = 'Vendd.Account.Messages.RequestToDeleteUserFailed';\n\n\n Messages.RequestToExportData = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.RequestToExportData');\n };\n Messages.RequestToExportData.className = 'Vendd.Account.Messages.RequestToExportData';\n\n Messages.RequestToExportDataSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.RequestToExportDataSuccess', data);\n };\n Messages.RequestToExportDataSuccess.className = 'Vendd.Account.Messages.RequestToExportDataSuccess';\n\n Messages.RequestToExportDataFailed = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.RequestToExportDataFailed', response);\n };\n Messages.RequestToExportDataFailed.className = 'Vendd.Account.Messages.RequestToExportDataFailed';\n\n return Messages;\n\n })(Account.Messages || {});\n\n return Account;\n\n })(Vendd.Account || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n \n Vendd.Plugins = (function (Plugins) {\n\n Plugins.Messages = (function (Messages) {\n\n Messages.RecaptcaLoaded = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Plugins.Messages.RecaptcaLoaded', null);\n };\n Messages.RecaptcaLoaded.className = 'Vendd.Plugins.Messages.RecaptcaLoaded';\n\n Messages.GoogleMapsLoaded = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Plugins.Messages.GoogleMapsLoaded', null);\n };\n Messages.GoogleMapsLoaded.className = 'Vendd.Plugins.Messages.GoogleMapsLoaded';\n\n return Messages;\n\n })(Plugins.Messages || {});\n\n return Plugins;\n\n })(Vendd.Plugins || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t'use strict';\n\n\tVendd.MessageBus = (function (MessageBus) {\n\t\tvar messages = {};\n\n\t\tMessageBus.messages = messages;\n\n\t\tMessageBus.VenddMessage = function (className, data) {\n\t\t this.className = className;\n\t\t this.data = data;\n\t\t};\n\n\t MessageBus.Envelope = function(sender, message, isAsync) {\n\t this.sender = sender;\n\t this.message = message;\n\t this.isAsync = isAsync;\n\t };\n\n\t\tfunction checkMessage(message) {\n\t\t if (!message.className) {\n\t\t\t\tthrow 'Message must have a className';\n\t\t\t}\n\t\t};\n\n\t \tfunction checkMessageFunction(func) {\n\t\t\tif (typeof (func) != 'function') {\n\t\t\t\tthrow 'Func must be a function. Func :' + typeof (func);\n\t\t\t}\n\t\t};\n\n\t\tfunction locateObserver(observers, observer) {\n\t\t\tfor(var i = 0; i < observers.length; i++) {\n\t\t\t\tif (observers[i].Observer === observer) {\n\t\t\t\t\treturn i;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn -1;\n\t\t};\n\n function sendMessage(func, envelope) {\n func(envelope);\n };\n\n function postMessage(func, envelope) {\n _.defer(function() { func(envelope); }, 0);\n };\n\n\t\tMessageBus.subscribe = function (messageType, observer, func) {\n\t\t checkMessage(messageType);\n\t\t checkMessageFunction(func);\n\n\t\t var observers = messages[messageType.className];\n\t\t\tif (!Array.isArray(observers)) {\n\t\t\t\tobservers = [];\n\t\t\t\tmessages[messageType.className] = observers;\n\t\t\t}\n\n\t\t\tvar msg = {\n\t\t\t\tObserver:observer,\n\t\t\t\tFunc:func\n\t\t\t};\n\n\t\t\tvar pos = locateObserver(observers, observer);\n\n\t\t\tif (pos != -1) {\n\t\t\t\tobservers[pos] = msg;\n\t\t\t} else {\n\t\t\t\tobservers.push(msg);\n\t\t\t}\n\t\t};\n\n\t MessageBus.unsubscribe = function(messageType, observer) {\n\t checkMessage(messageType);\n\n\t var observers = messages[messageType.className];\n\t if (!Array.isArray(observers))\n\t return;\n\n\t var pos = locateObserver(observers, observer);\n\t if (pos != -1) {\n\t observers.splice(pos, 1);\n\t }\n\t };\n\n\t\tMessageBus.unsubscribeAll = function (messageType) {\n\t\t checkMessage(messageType);\n\n\t\t\tif (Array.isArray(messages[messageType.className])) {\n\n\t\t\t delete messages[messageType.className];\n\t\t\t}\n\t\t};\n\n\t\tMessageBus.publish = function (sender, message) {\n\t\t\tcheckMessage(message);\n\n\t\t\tvar observers = messages[message.className];\n\t\t\tif (Array.isArray(observers)) {\n\t\t\t var envelope = new MessageBus.Envelope(sender, message, false);\n\t\t\t for (var i = 0; i < observers.length; i++) {\n\t\t\t sendMessage(observers[i].Func, envelope);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tvar asyncMessageQueue = [];\n\n\t\tfunction processMessages() {\n\t\t var localqueue = asyncMessageQueue.slice();\n\t\t asyncMessageQueue = []; \n\n\t\t for (var i = 0; i < localqueue.length; i++) {\n\t\t var message = localqueue[i].message;\n\t\t var sender = localqueue[i].sender;\n\t\t var observers = messages[message.className];\n\t\t if (Array.isArray(observers)) {\n\t\t var envelope = new MessageBus.Envelope(sender, message, true);\n\t\t for (var j = 0; j < observers.length; j++) {\n\t\t postMessage(observers[j].Func, envelope);\n\t\t }\n\t\t }\n\t\t }\n\t\t};\n\n\t\tMessageBus.publishAsync = function (sender, message) {\n\t\t checkMessage(message);\n\t\t asyncMessageQueue.push({\n\t\t sender: sender,\n\t\t message: message\n\t\t });\n\n\t\t _.defer(function() { processMessages(); }, 0);\n\t\t};\n\n\t\treturn MessageBus;\n\n\t})(Vendd.MessageBus || {});\n\n\treturn Vendd;\n\n })(Vendd || {});","var Vendd = (function (Vendd) {\n\t'use strict';\n\n\tVendd.Handlebars = (function (obj) {\n\t\tvar compiledPartials = Object.create({});\n\n\t\tobj.register = function (partials) {\n\t\t\tif (typeof(partials) === 'undefined' || partials.length === 0)\n\t\t\t\tthrow new Error(\"Vendd.Handlebars.registerHandlebarsTemplate: no templates provided.\");\n\n\t\t\tif (typeof(Handlebars) !== \"object\")\n\t\t\t\tthrow new Error(\"Vendd.Handlebars.registerHandlebarsTemplate: Handlebars is not available.\");\n\n\t\t\tif (Array.isArray(partials)) {\n\t\t\t _.each(partials, function (partial) {\n\t\t\t\t\tif (partial.hasOwnProperty('Key') && partial.hasOwnProperty('Value') && Handlebars.partials.hasOwnProperty(partial.Key) === false) {\n\t\t\t\t\t\tHandlebars.registerPartial(partial.Key, partial.Value);\n\t\t\t\t\t};\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t if (partials.hasOwnProperty('Key') && partials.hasOwnProperty('Value') && Handlebars.partials.hasOwnProperty(partials.Key) === false) {\n\t\t\t Handlebars.registerPartial(partials.Key, partials.Value);\n\t\t\t\t};\n\t\t\t};\n\t\t};\n\n\t\tobj.isRegistered = function (partialName) {\n\t\t\tif (Handlebars.partials.hasOwnProperty(partialName))\n\t\t\t\treturn true;\n\n\t\t\treturn false;\n\t\t};\n\n\t\tobj.compile = function (partialName) {\n\t\t\tvar compiledPartial;\n\n\t\t\tif (typeof(Handlebars) !== \"object\")\n\t\t\t\tthrow new Error(\"Vendd.Handlebars.compileHandlebarsPartial: Handlebars is not available.\")\n\n\t\t\tif (typeof(Handlebars.partials[partialName]) === 'undefined')\n\t\t\t\tthrow new Error(\"Vendd.Handlebars.compileHandlebarsPartial: Partial \" + partialName + \" is not registered.\");\n\n\t\t\tif (compiledPartials.hasOwnProperty(partialName)) {\n\t\t\t\tcompiledPartial = compiledPartials[partialName];\n\t\t\t} else {\n\t\t\t\tcompiledPartial = Handlebars.compile(Handlebars.partials[partialName]);\n\n\t\t\t\tcompiledPartials[partialName] = compiledPartial;\n\t\t\t};\n\n\t\t\treturn compiledPartial;\n\t\t};\n\n\t\tobj.parse = function (partial, model) {\n\t\t\tif (typeof(Handlebars) !== \"object\")\n\t\t\t\tthrow new Error(\"Vendd.Handlebars.parseHandlebarsPartial: Handlebars is not available.\");\n\n\t\t\tif (typeof (partial) === \"string\")\n\t\t\t partial = Handlebars.partials[partial]; \n\n\t\t\tif (typeof(partial) !== \"function\")\n\t\t\t\tthrow new Error(\"Vendd.Handlebars.parseHandlebarsPartial: Partial \" + partial + \" is not a valid compiled Handlebars partial.\");\n\n\t\t\tif (typeof(model) !== \"object\")\n\t\t\t\tthrow new Error(\"Vendd.Handlebars.parseHandlebarsPartial: Model is not valid.\");\n\n\t\t\tvar parsed = partial(model);\n\n\t\t\treturn parsed;\n\t\t};\n\n\t\treturn obj;\n\n\t})(Vendd.Handlebars || {});\n\n\treturn Vendd;\n\n})(Vendd || {});"]}