{"version":3,"sources":["vendd.user.js","vendd.deliverypoint.js","vendd.projectAgora.js","vendd.luckyDraw.js","vendd.installments.js","vendd.warehouseSelector.js","vendd.loginOrder.js","vendd.myConfigurations.js","vendd.salesregistrationsystem.js","vendd.stocktrackersystem.js","vendd.invoiceAccess.js","vendd.requestOffer.js","vendd.requestReturn.js","vendd.userwishlist.js","vendd.loyalty.js","vendd.inlineadmin.js","vendd.returnOrder.js","vendd.export.js","vendd.tracktrace.js","vendd.filterproduct.js","vendd.stats.js","vendd.lazyhtmlarea.js","vendd.lazyproductlist.js","vendd.userselect.js","vendd.transactionshistory.js","vendd.offlineordershistory.js","vendd.onlineordershistory.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.account.js","vendd.wishlistMerchant.js","vendd.merchant.js","vendd.wishlistArticle.js","vendd.wishlist.js","vendd.cart.js","vendd.productlist.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","vendd.session.js","projectAgora.messages.js","installments.messages.js","luckyDraw.messages.js","warehouseSelector.messages.js","loginOrder.messages.js","myConfigurations.messages.js","salesregistrationsystem.messages.js","stocktrackersystem.messages.js","invoiceAccess.messages.js","requestOffer.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","tracktrace.messages.js","filterproduct.messages.js","lazyhtmlarea.messages.js","lazyproductlist.messages.js","wishlistmerchant.messages.js","merchant.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","productlist.messages.js","scrolllist.messages.js","productcompare.messages.js","product.messages.js","transactionshistory.messages.js","offlineordershistory.messages.js","onlineordershistory.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","pending","fetched","MessageBus","subscribe","ProjectAgora","Messages","GetBanner","envelope","data","message","widgetId","undefined","options","url","onSuccess","response","publishAsync","GetBannerSuccess","onFailure","GetBannerFailure","Service","call","LuckyDraw","Draw","DrawSuccess","DrawFailure","GetSegmentsAndCurrentBalance","method","GetSegmentsAndCurrentBalanceSuccess","GetSegmentsAndCurrentBalanceFailure","Installments","GetInstallmentsData","GetInstallmentsDataSuccess","GetInstallmentsDataFailed","modelPending","popupModelPending","getStores","WarehouseSelector","GetStoresSuccess","GetStoresFailed","setShippingMethod","SetShippingMethodSuccess","SetShippingMethodFailed","GetModel","GetModelSuccess","GetModelFailed","GetPopupModel","GetPopupModelSuccess","GetPopupModelFailed","GetGeoAreas","GetGeoAreasSuccess","GetGeoAreasFailed","GetStoresByPostCode","GetStoresByGeoArea","GetStoresByLocation","SetDeliveryShippingMethod","SetFromStoreShippingMethod","LoginOrder","model","ValidateLoginOrder","success","ValidateLoginOrderSuccess","validation","ValidateLoginOrderFailure","ValidateLoginOrderError","MyConfigurations","Remove","Id","RemoveSuccess","RemoveFailed","ConfirmInventory","ConfirmInventorySuccess","ConfirmInventoryFailed","SalesRegistrationSystem","StockTrackerSystem","VinNumber","UndoConfirmInventory","UndoConfirmInventorySuccess","UndoConfirmInventoryFailed","GetSubPartners","GetSubPartnersSuccess","GetSubPartnersFailed","ChangePartner","ProductIdentifier","PartnerItemId","ChangePartnerSuccess","ChangePartnerFailed","InvoiceAccess","Submit","SubmitSuccess","SubmitFailure","funcCookiesEnabled","window","ConsentsManager","cookiesStatus","functionalityCookies","RequestOffer","SearchForProducts","searchTerm","sender","SearchForProductsSuccess","SearchForProductsFailed","AddOfferProducts","AddOfferProductsSuccess","AddOfferProductsFailure","GetPendingRequestsOffer","offerid","pageSize","pageNum","GetPendingRequestsOfferSuccess","GetPendingRequestsOfferFailure","UpdateRequestOfferProducts","UpdateRequestOfferProductsSuccess","UpdateRequestOfferProductsFailure","DeleteRequestOffer","DeleteRequestOfferSuccess","DeleteRequestOfferFailure","SubmitRequestOffer","SubmitRequestOfferSuccess","SubmitRequestOfferFailure","ImportRequestOfferExcel","ImportRequestOfferExcelSuccess","ImportRequestOfferExcelFailure","RequestReturn","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","$","each","AvailableItemForReturn","idx","ReturnItems","GetReturnRequestSuccess","GetReturnRequestFailure","GetReturnRequestError","SaveReturnItem","SaveReturnItemSuccess","SaveReturnItemFailure","SaveReturnItemError","DeleteReturnItem","DeleteReturnItemSuccess","DeleteReturnItemFailure","DeleteReturnItemError","SubmitOrderReturn","SubmitOrderReturnSuccess","SendReturnRequestNotification","SubmitOrderReturnsFailed","CheckOrderSession","GetMaxQuantityToAdd","orderitemid","activeQuantity","_","reduce","grep","x","OrderItemId","memo","result","GetProductToAdd","OrderitemId","product","extend","first","filter","UploadServiceUrl","MaxQuantity","MaxQuantityLabel","GetProductByGlobalId","RemoveResource","rowid","resource","RowId","Resources","Uri","UserWishlist","LhApp","Context","Language","LangCode","SetClientModel","GetClientModel","document","cookie","indexOf","Item","Template","Cookies","remove","path","SaveWishlist","ClearClientModel","SaveWishlistSuccess","SaveWishlistFailed","responseJSON","DeleteWishlist","DeleteWishlistFailed","localStorage","removeItem","mdl","JSON","parse","getItem","Function","validateClientModel","IsLocalStorageCache","setItem","stringify","Loyalty","GetLoyaltyNewsDetail","GetLoyaltyNewsDetailSuccess","GetLoyaltyNewsDetailFailure","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","InviteFriends","InviteFriendsSuccess","InviteFriendsFailure","InlineAdmin","CreateCookieForInlineAdmin","async","redirectUrl","publish","CreateCookieForInlineAdminFailure","username","password","CreateCookieForInlineAdminSuccess","CheckForInlineAdmin","ItemId","inlineAdminGlobalVariables","ItemPathChecksum","ItemCode","PageTemplate","EntityId","EntityCode","IsEditable","RequestNewGuest","CheckForInlineAdminSuccess","CheckForInlineAdminFailure","ReturnOrder","observabeItemCollection","observableaddress","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","jQuery","MaxIndex","ValidationEngine","observable","Observable","CreateOrderReturnItemalidationModel","GetReturnOrderCongfigData","GetObservableItemsCollection","refresh","Literals2","CouponCodes","vItem","EmptytObservableItemsCollection","GetAvailableItemConditions","SetResourceForItem","GetObservableAddress","address","AddressLine1","PostCode","Area","ResetObservableAddress","clonnedAddress","OrderShippingLocation","GetOrderInfo","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","TrackTrace","GetTrackTraceModel","GetTrackTraceModelSuccess","GetTrackTraceModelFailure","FilterProduct","configuration","queryString","location","search","console","log","serviceConfiguration","Changed","Failed","HandleItemStatistics","itemStatisticsDataArray","control","$control","Action","inArray","HandleProductStatistics","productStatisticsDataArray","SkuId","LazyHtmlArea","GetLazyHtmlArea","LazyHtmlAreaSuccess","LazyHtmlAreaFailure","LazyProductList","GetLazyProductList","LazyProductListSuccess","LazyProductListFailure","UserSelect","SubmitSetInterfaceUser","loginName","SubmitSetInterfaceUserSuccess","SubmitSetInterfaceUserFailure","ClearInterfaceUser","ClearInterfaceUserSuccess","ClearInterfaceUserFailure","SearchUsers","minChars","MinChars","maxHeight","MaxHeight","zIndex","ZIndex","deferRequestBy","DeferRequestBy","noCache","NoCache","onSelect","OnSelect","SearchUsersSuccess","SearchUsersFailure","SubmitSetInterfaceUserInlineAdmin","LoginName","RedirectToAccount","OrdersHistoryUrl","Url","setParameterValueOnUrl","href","reload","TransactionsHistory","GetAccountDetails","accountId","transactionCode","Items","Translators","GetAccountDetailsSuccess","GetAccountDetailsFailure","OfflineOrdersHistory","GetOrderItems","orderId","GetOrderItemsSuccess","GetOrderItemsFailure","OnlineOrdersHistory","GetOrderDetails","Order","Orders","GetOrderDetailsSuccess","GetOrderDetailsFailure","SubmitRequestOrderChange","SubmitRequestOrderChangeSuccess","SubmitRequestOrderChangeFailure","CancelUncompletedOrder","CancelUncompletedOrderSuccess","CancelUncompletedOrderFailed","ReturnOrderItem","orderItemId","ReturnOrderItemSuccess","ReturnOrderItemFailed","CallMeBack","info","Career","DatabindingTypes","Databinding","bindings","DatabindingHelpers","DatabindingEvents","DataMember","DataShow","CreateControlDatabindings","wrapper","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","Parameters","findWhere","validatePropertybyName","val","p","validationType","parameters","error","validationErrors","Property","Rule","validateAllProperties","optional","trim","required","isEmail","test","isNumeric","isAlphaNumeric","match","maxLength","minLength","isSocialSecurityNumber","isValid","accountOverrides","IsSocialSecurityNumberValidation","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","Path","itemPathChecksum","attributes","currencyCode","Currency","Code","languageCode","roleCode","GetModelFailure","initialized","state","getViewModel","id","bundleItems","LoaderOptions","BundleItems","join","Configuration","PathChecksum","selectedId","minQuantity","MinQuantity","Quanta","maxQuantity","quanta","qty","Product","Controller","IsInitialized","initState","initialState","selectedColorId","parentId","languageId","recipeItems","comboItems","getState","SetQuantity","SetQuanta","SetSelected","skuId","SetBundleItems","SetRecipeItems","SetComboItems","Notify","NotifySuccess","NotifyFailure","GetReviews","GetReviewsSuccess","GetReviewsFailure","Review","ReviewSuccess","ReviewFailure","ReviewVote","ReviewVoteSuccess","helpfullness","ispositivevote","ReviewVoteFailure","GetAvailableWarehouses","GetAvailableWarehousesSuccess","GetAvailableWarehousesFailure","GetDeliveryAvailability","GetDeliveryAvailabilitySuccess","GetDeliveryAvailabilityFailure","GetPickUpAvailability","GetPickUpAvailabilitySuccess","GetPickUpAvailabilityFailure","GetReplacedByProducts","GetReplacedByProductsSuccess","GetReplacedByProductsFailure","PdfExport","PdfExportSuccess","PdfExportFailure","GetUserAccount","GetUserAccountSuccess","GetUserAccountFailure","EditUser","code","EditUserSuccess","Newsletter","UpdateNewLetterVariables","EditUserFailed","GetAddresses","addressType","GetAddressesSuccess","GetAddressesFailed","SetDefaultAddress","addressId","AddressModelChanged","SetDefaultAddressFailure","DeleteAddress","DeleteAddressFailure","EditAddress","EditAddressSuccess","EditAddressFailed","ConvertPointsToCoupons","ConvertPointsToCouponsSuccess","ConvertPointsToCouponsFailure","CheckAddressIfExists","CheckAddressIfExistsSuccess","CheckAddressIfExistsFailure","GetAreasForPostCode","countryCode","country","postalCode","postCode","selectedAreaCode","area","GetAreasForPostCodeSuccess","GetCountries","selectedCountryCode","GetCountriesSuccess","GetCountriesFailed","GetPrefecture","GetPrefectureSuccess","GetPrefectureFailed","GetPrefectures","servicenamespace","GetPrefecturesSuccess","GetPrefecturesFailed","GetCities","encodeURIComponent","prefectureName","GetCitiesSuccess","GetCitiesFailed","GetAreas","cityName","GetAreasSuccess","GetAreasFailed","GetPostCodes","areaName","searchText","GetPostCodesSuccess","GetPostCodesFailed","GetStreets","GetStreetsSuccess","GetStreetsFailed","GetAllTaxAgencies","GetAllTaxAgenciesSuccess","GetAllTaxAgenciesFailed","GetAllVatStatuses","GetAllVatStatusesSuccess","GetAllVatStatusesFailed","GetVatInfo","request","vat","GetVatInfoSuccess","GetVatInfoFailed","GetAllAddressGroups","selectedAddressGroupId","GetAllAddressGroupsSuccess","GetAllAddressGroupsFailed","RequestToDeleteUser","RequestToDeleteUserSuccess","RequestToDeleteUserFailed","RequestToExportData","RequestToExportDataSuccess","RequestToExportDataFailed","GetCouponInformations","GetCouponInformationsSuccess","GetCouponInformationsFailed","InvalidateCouponCode","InvalidateCouponCodeSuccess","InvalidateCouponCodeFailed","GetNewAddress","IsInvoiceEnabled","IsReceiptEnabledForB2B","IsDefault","FirstName","LastName","Title","Bell","AddressLine2","City","Country","CountryDescription","Prefecture","Phones","SocialSecurityNumber","Mobiles","Fax","IsInvoice","InvoiceText","EInvoiceModuleEnabled","Configs","UserCanChangeValue","ReceiveEinvoice","CompanyName","Occupation","Headquarters","TaxIdentifier","TaxAgency","TaxAgencyId","VatStatus","AddressGroupId","IsShippingRestrictedToResolvedCountry","observ","GetAddressInfo","GetAddressInfoSuccess","GetAddressInfoFailed","GetAddressGroups","GetAddressGroupsSuccess","GetAddressGroupsFailed","GetAddressGroup","addressGroupId","GetAddressGroupSuccess","GetAddressGroupFailed","DeleteAddressGroup","DeleteAddressGroupSuccess","DeleteAddressGroupFailure","EditAddressGroup","addressGroup","EditAddressGroupSuccess","EditAddressGroupFailed","GetNewAddressGroup","Description","CheckAddressGroupIfExists","CheckAddressGroupIfExistsSuccess","CheckAddressGroupIfExistsFailure","dontLoadOnLoginSuccess","WishlistMerchant","Add","Clear","User","Login","isLoginForm","LoginSuccess","LogoutSuccess","Merchant","templateCode","configCode","WishlistArticle","Wishlist","MultipleWishlistsEnabled","currentItemId","visitorListId","GetVisitorListByQueryString","AddSuccess","Warning","removedProduct","find","ProductId","VariantId","MoveToCart","listId","movedToCartProduct","Cart","ProductAdded","ShowMessages","UpdateItemQuantity","MoveAllToCart","toastr","getText","timeOut","showDuration","hideDuration","QueryString","getValueOf","unescape","RawUrl","defaultCallExecuted","defaultCall","SessionState","IsNewSession","venddProjectConfigs","WishlistModelEnabled","SiteIsLocked","GetSessionStateSuccess","getCartModelOptions","PendingMessages","DownLoadExcel","param","DownLoadExcelSuccess","DownLoadExcelFailure","ignoreExternalModules","CartAvailabilityRestrictionMessages","merge","parseFloat","toFixed","extraAttributes","enhancedInfo","isDefaultRecipeQuantitiesIncluded","AddCompleted","AlreadyInCart","MultipleAdd","items","MultipleAddSuccess","ProductRemoved","MultipleRemove","ids","MultipleRemoveSuccess","SetQuantitySuccess","SetQuantities","UpdateBundleItems","ApplyExtraAllowanceOrCharge","shopAllowanceorChargeId","DisableExtraAllowanceOrCharge","SetGiftwrap","wrapId","SetGiftwraps","SetGiftCard","amount","GiftCardApplySuccess","GiftCardApplyFailed","AddGiftCartEmailAddress","AddGiftCartEmailAddressSuccess","ClearAllGiftCards","ClearGiftCard","UpdateCartProductReplacingTypes","UpdateCartProductReplacingTypesSuccess","UpdateCartProductReplacingTypesFailed","ClearCoupons","ApplyExternalCoupon","ClearExternalCoupon","ClearExternalCoupons","ApplyShippingData","areaId","shippingMethodId","shippingCompanyId","ApplyShippingDataSuccess","ApplyShippingDataFailed","GetShippingModel","GetShippingModelSuccess","GetShippingModelFailed","AddOrderItemsToCart","AddOrderItemsToCartSuccess","AddOrderItemsToCartFailed","SetDeliveryPoint","SetDigitalCare","IsDigitalCareSelected","SetDigitalCareSuccess","SetDigitalCareFailure","CartModelEnabled","ProductList","ItemPath","list","attr","requestData","itemPath","pageNumber","PageSize","sortKey","SortKey","fullPath","FullPath","excludeItemIds","ExcludeItemIds","includeFilters","defaultUriFilter","uri","doGetPageWithGetMethod","position","reqData","PageNumber","ScrollList","GetCurrentPageFailure","GetNextPageFailure","ajax","contentType","ContentType","GetCurrentPageSuccess","GetPageSuccess","addHistoryObject","failure","history","pushState","querystring","pathname","slice","pager","pageCount","pageText","protocol","host","prev","next","prevLink","nextLink","append","replaceState","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","oauthPopup","open","close","cb","google","js","fjs","getElementsByTagName","getElementById","parentNode","insertBefore","login","logout","fb","throwEx","onError","FB","getLoginStatus","api","emailPermission","permission","status","loginId","email","provider","facebook","isAvailable","AppId","PageId","fbAsyncInit","appId","pageId","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","SendNotificationSuccess","SendNotificationFailure","Quickbuy","initialSelectColorText","initialSelectSizeText","initialSelectDim3Text","QuickbuyList","addToQuickbuyList","productsList","color","Color","DefaultColorId","Dimensionsjson","PricesBySku","Fields","FinalPrices","CountDownPricesBySku","Properties","CountDownOffers","SkuList","Skus","skus","keys","selectedSku","SkuData","UnitPrice","UnitPriceString","UnitPriceWithoutVat","DeletedPrice","DeletedPriceString","DeletedPriceWithoutVat","DiscountPercentage","DiscountString","selectedCountDownSku","CountDownUnitPrice","netPriceString","CountDownUnitPriceWithoutVat","netPriceWithoutVat","Update","$wrapper","partial","html","Handlebars","productId","defaultColor","newState","customId","GetDimJson","Colors","Sizes","Dim3","HasColors","HasSizes","HasDim3","HasSingleColor","HasSingleSize","HasSingleDim3","HasSingleDim","HasTwoDims","HasThreeDims","SizeDisabled","Dim3Disabled","ColorSelected","SizeSelected","Dim3Selected","SelectColorText","SelectSizeText","SelectDim3Text","NoAvailableSizesText","NoAvailableDim3Text","InitialSelectColorText","InitialSelectSizeText","InitialSelectDim3Text","defaultDimId","createNewColorState","createNewSizeState","createNewDim3State","createNewState","dimId","availableDimList","json","UpdateSelectedItems","SelectedColorId","SelectedSizeId","SelectedDim3Id","AvailableSizes","dim","IsSelected","ColorId","SizeId","Disabled","CanBuy","AvailableDim3","Dim3Id","ColorDisabled","AvailableDim3s","Dim3Arr","GetSkuData","colorId","sizeid","dim3id","skuData","isEmptyObject","arr","widgetModelPending","ProductCompare","GetWidgetModel","widgetModel","GetWidgetModelSuccess","ProductCompareAdded","ProductCompareRemoved","Article","ReviewSubmit","IsPositiveVote","ElasticSearch","GetElasticSuggestions","queryTerm","size","since","case","fuzziness","GetElasticSuggestionsSuccess","GetElasticSuggestionsFailed","GetFiltersElasticResults","query","filters","baseuri","GetFiltersElasticResultsSuccess","GetFiltersElasticResultsFailed","GetCategoryElasticResults","pagefrom","pageFrom","pagesize","GetCategoryElasticResultsSuccess","GetCategoryElasticResultsFailed","GetProductElasticResults","es_fields","fields","es_geo_window","geo_window","GetProductElasticResultsSuccess","GetProductElasticResultsFailed","GetArticleElasticResults","GetArticleElasticResultsSuccess","GetArticleElasticResultsFailed","Search","GetSuggestiveResults","category","GetSuggestiveResultsSuccess","GetSuggestiveResultsFailed","GetProductSuggestiveResults","maxResults","GetProductSuggestiveResultsSuccess","GetProductSuggestiveResultsFailed","GetProductSuggestiveElasticResults","GetProductSuggestiveResultsElasticSuccess","GetProductSuggestiveResultsElasticFailed","DeliveryPoint","cookieDeliveryPointId","localStorageDeliveryPointId","ResetStore","ResetStoreSuccess","ResetStoreFailed","ResetDeliveryPoint","deliveryPointId","ResetDeliveryPointSuccess","ResetDeliveryPointFailed","logoutRedirectUrl","SsoLogin","SsoRegister","rememberMe","reCaptchaCode","accessToken","GetUserViewModel","LoginFailure","GetUserViewModelSuccess","LoginForm","LogoutRedirectUrl","ForgotPassword","ForgotPasswordSuccess","ForgotPasswordFailure","ResetPassword","ResetPasswordSuccess","ResetPasswordFailure","ResendActivationCode","ResendActivationCodeSuccess","ResendActivationCodeFailure","Logout","LogoutAuthProviders","logoutPromises","promise","Deferred","defer","resolve","when","then","LogoutUser","samesite","SsoEnabled","LogoutFailure","Register","preventRedirect","RegisterSuccess","LoginRedirect","RegisterFailure","CompleteSsoRegistration","responseCopy","assign","CanRegister","CanRegisterSuccess","CanRegisterFailure","B2BRegister","B2BRegisterSuccess","B2BRegisterFailure","GetAreasForPostCodeFailure","CreateUser","CreateUserSuccess","CreateUserFailure","useModelFromLocalStorage","GetUserViewModelFailed","QuoteSubmit","userName","QuoteSubmitSuccess","QuoteSubmitFailure","loginmessage","GetMemberByLoyaltyNumber","Site","loyaltyMemberCardNumber","GetMemberByLoyaltyNumberSuccess","GetMemberByLoyaltyNumberFailed","UserModelEnabled","getStoresForm","Store","UpdateForm","resetFilters","CountryCode","Continent","TypeId","SearchTerm","resetLocationFilters","SetContinent","continent","SetCountry","SetCity","city","SetArea","SetType","CalculateDistances","sourcePoint","DistanceMeasured","TotalFindInRange","origin","destinations","group","array","elem","maps","LatLng","Latitude","Longitude","DistanceMatrixService","getDistanceMatrix","origins","travelMode","unitSystem","UnitSystem","METRIC","withinRange","distance","duration","distanceString","durationString","warehouse","rows","elements","MAX_SAFE_INTEGER","maxDistance","IsWithinRange","Distance","DistanceString","Duration","DurationString","CalculateDistancesSuccess","calculateDistances","GetCountriesFailure","SearchResults","SearchResultsSuccess","SearchResultsFailure","QueryPartners","QueryPartnersSuccess","QueryPartnersFailure","Landing","Contact","Subscribe","subscriptionType","apiKey","mailparams","mailLists","gender","VenddMessage","className","SubscribeSuccess","SubscribeFailure","apikey","Unsubscribe","UnsubscribeSuccess","UnsubscribeFailure","$email","serviceOpts","clientModel","IsAuthenticated","GetSessionState","categoryPathComponents","CategoryPathComponents","TrackBannerImpression","bannerId","totalCost","productCost","preferredPaymentMethodId","userEmail","userIdentifier","userGuid","OpenPopup","ClosePopup","StateChanged","PostalCode","geoAreaId","GeoAreaId","Location","storeId","PreferredStoreId","vinNumber","partnerItemId","orderCode","orderPhone","visitorList","VisitorListId","VisitorListTypeId","Tracking","ProductsUpdated","Consents","InsertAllCookiesSuccess","InsertConsents","newsId","mobile","formData","SubmitSfmForm","registrationFormData","SubmitSfmFormSuccess","SubmitSfmFormFailure","pageid","registered","discountCode","renderInline","requestNewGuest","OpenAddressEditForm","ordercode","phone","voucherCode","providerId","VoucherCode","OrderCode","GetNextFilter","GetNextFilterSuccess","GetNextFilterFailure","currentListId","quantity","context","OpenWidget","widgetName","immediate","WidgetOpened","SubmitSetInterfaceUserInlineAdminSuccess","SubmitSetInterfaceUserInlineAdminFailure","loginRedirectUrl","passwordConfirmation","activationCode","notificationType","firstName","lastName","newsletter","mobilephone","socialSecurityNumber","birthdate","isLoyaltyMember","loyaltyRequest","loyaltyMemberId","registrationSetData","sfmRegistrationRequest","BirthDate","IsLoyaltyMember","LoyaltyRequest","LoyaltyMemberId","mobilePhone","companyname","occupation","taxagency","taxidentifier","officername","vatstatus","emailconfirmation","town","number","postalcode","passwordconfirmation","storesnumber","phoneTwo","fax","siteurl","store","companyCategory","openingHours","prefecture","officerLastName","officerPosition","redirecturl","companyName","taxAgency","taxIdentifier","officerName","vatStatus","emailConfirmation","addressNumber","storesNumber","secondPhone","siteUrl","UserInitialized","isAuthenticated","SetPostalCode","GetAllPartners","GetAllPartnersSuccess","GetAllPartnersFailure","searchString","textTransform","GetPreviousPageFailure","fetchPrices","fetchAvailabilities","fetchStock","sortBy","isInitialCall","filterBy","title","description","rating","productid","positive","vote","ProductSelected","skuCode","zipCode","ignoreAvailability","geoLocationWithZipCode","topAvailableWarehouse","groupBy","hasGeolocation","latitude","longitude","variantArray","shippingCompany","isOrder","lstVariantInfo","partnerId","plData","req","OrderItemsRendered","itemsCount","AddAllToCart","competition","firstname","lastname","phones","mobiles","customxml","terms","subject","contactFileUpload","currentCountryCode","itemInfo","Math","round","itemsList","messages","resultMessages","responseData","cartId","CollectionAdded","jobTitle","jobId","careerFileUpload","Email","Phone","Address","Message","JobTitle","JobId","CvFileUploaded","reviewArticleId","reviewTitle","reviewDescription","reviewRating","ReviewArticleId","ReviewTitle","ReviewDescription","ReviewRating","oldPassword","birthDate","receiveEinvoice","resellerDisplayedPrice","ResellerDisplayedPrice","addressGroupFilter","SetDefaultAddressSuccess","DeleteAddressSuccess","adressId","addressLine1","addressLine2","streetnumber","apartment","bell","entrance","floor","block","headquarters","taxAgencyId","isInvoice","Streetnumber","Apartment","Entrance","Floor","Block","GroupId","isBillingAddress","isShippingAddress","GetAreasForPostCodeFailed","reason","Reason","couponCode","geoArea","street","ReloadEditControl","ReloadEditControlSuccess","ResetEditControl","ResetEditControlSuccess","ValidateEditControl","ValidateEditControlSuccess","editAddressData","DeleteAddressGroupFailed","OpenAddressGroupEditForm","AddressGroupModelChanged","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","Key","registerPartial","Value","isRegistered","partialName","compile","compiledPartial"],"mappings":"AA4hBA,SAAAA,SAAAC,YACAA,WAAAC,kBACAD,WAAAE,kBAAAC,SC9hBA,ICAAC,MAAA,SAAAA,OACA,aAEA,IAAAC,QAAA,GACAC,QAAA,GAyCA,OAvCAF,MAAAG,WAAAC,UAAAJ,MAAAK,aAAAC,SAAAC,UAAAP,MAAAK,aAAA,SAAAG,UACA,IAAAC,KAAAD,SAAAE,QAAAD,KACAE,SAAAF,KAAAE,SAEA,QAAAC,IAAAD,UAAA,KAAAA,SAGA,QAAAC,IAAAV,QAAAS,WAIA,QAAAC,IAAAX,QAAAU,UAAA,CAIAV,QAAAU,WAAA,EAaA,IAAAE,QAAA,CACAC,IAAA,oCACAL,KAAAA,KACAM,UAdA,SAAAC,UACAd,QAAAS,UAAAK,gBACAf,QAAAU,UACAX,MAAAG,WAAAc,aAAAjB,MAAAK,aAAA,IAAAL,MAAAK,aAAAC,SAAAY,iBAAAP,SAAAK,YAYAG,UATA,SAAAH,iBACAf,QAAAU,UACAX,MAAAG,WAAAc,aAAAjB,MAAAK,aAAA,IAAAL,MAAAK,aAAAC,SAAAc,iBAAAT,SAAAK,aASAhB,MAAAqB,QAAAC,KAAAT,eA1BAb,MAAAG,WAAAc,aAAAjB,MAAAK,aAAA,IAAAL,MAAAK,aAAAC,SAAAY,iBAAAP,SAAAT,QAAAS,cA+BAX,MA7CA,ECAAA,MAAA,SAAAA,OACA,aAyCA,OAvCAA,MAAAG,WAAAC,UAAAJ,MAAAuB,UAAAjB,SAAAkB,KAAAxB,MAAAuB,UAAA,SAAAf,UACA,IAAAK,QAAA,CACAC,IAAA,qBACAL,KAAAD,SAAAE,QAAAD,KACAM,UAIA,SAAAC,UACAhB,MAAAG,WAAAc,aAAAjB,MAAAuB,UAAA,IAAAvB,MAAAuB,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A,MDxFA,MD2FA,MDmmBA,MDxZA,MD9RA,MD0DA,MD/EA,MD6OA,MD7OA,MDuJA,MD5BA,MDqKA,MDxRA,MDHA,MDkDA,MD/CA,MDLA,MDMA,MD6FA,MD3FA,MDAA,MD+CA,MDnCA,MDjBA,MDFA,MDqiBA,MD1fA,MD+MA,MDrKA,MDuIA,MD3DA,MDnKA,MDiGA,MD/FA,MDuCA,MDtBA,MD4FA,MDhHA,MDoBA,MDGA","file":"vendd.system.min.js","sourcesContent":["var Vendd = (function (Vendd) {\n\t'use strict';\n\n var pending = false;\n var logoutRedirectUrl = '';\n\n\tvar getVisitorState = function getVisitorState() {\n\n var cookie = Cookies.get(\"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 cookie = Cookies.get(\"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\tVendd.MessageBus.subscribe(Vendd.User.Messages.SsoLogin, Vendd.User, function (envelope) {\n\t\tVendd.User.ClearClientModel();\n\n\t\tdocument.location.href = '/VenddSso/StartLogin';\n\t});\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.SsoRegister, Vendd.User, function (envelope) {\n Vendd.User.ClearClientModel();\n\n document.location.href = '/VenddSso/StartRegistration';\n\t});\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\taccessToken: envelope.message.data.accessToken\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\n response.loginName = envelope.message.data.loginName;\n response.password = envelope.message.data.password;\n\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.LoginSuccess(response));\n\n //one call here after login and one call in check user session\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetUserViewModel());\n }\n else {\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.LoginFailure(response));\n }\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 });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetUserViewModelSuccess, Vendd.User, function (envelope) {\n var model = envelope && envelope.message && envelope.message.data && envelope.message.data.model;\n if (model) {\n model = model ? $.extend({}, model, { LangCode: LhApp.Context.Language }) : model;\n logoutRedirectUrl = model.LoginForm.LogoutRedirectUrl;\n }\n\n Vendd.User.SetClientModel(model);\n });\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.ResendActivationCode, Vendd.User, function (envelope) {\n\n\t\tvar options = {\n\t\t\turl: 'api/Account/ResetPasswordForPendingCustomer',\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.ResendActivationCodeSuccess(response));\n\t\t};\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.ResendActivationCodeFailure(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 if (response.success) {\n Cookies.set(\"ForceClearCartLocalStorage\", 1, { samesite: 'Lax' });\n Cookies.set(\"ForceClearCompareLocalStorage\", 1, { samesite: 'Lax' });\n Cookies.set(\"ForceClearWishlistLocalStorage\", 1, { samesite: 'Lax' });\n\t\t\t\tif (LhApp.Context.MultipleWishlistsEnabled)\n\t\t\t\t Vendd.UserWishlist.ClearClientModel();\n\n\t\t\t\tvar redirectUrl = logoutRedirectUrl\n\t\t\t\t\t|| (document.location.protocol.toLowerCase() + '//' + document.location.host.toLowerCase() + '/');\n\n\t\t\t\tif (LhApp.Context.SsoEnabled) {\n\t\t\t\t\tdocument.location = '/VenddSso/LogoutSso' + '?redirectUrl=' + redirectUrl;\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tif (redirectUrl === document.location.pathname) {\n\t\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.LogoutSuccess(response));\n\t\t\t\t\t} else {\n\t\t\t\t\t\tdocument.location = redirectUrl;\n\t\t\t\t\t}\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\tVendd.MessageBus.subscribe(Vendd.User.Messages.CompleteSsoRegistration, Vendd.User, function (envelope) {\n\n\t\tvar options = {\n\t\t\turl: 'AuthService.svc/CompleteSsoRegistration',\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\tvar responseCopy = Object.assign({}, response);\n\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.RegisterSuccess(response));\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.LoginSuccess(responseCopy));\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 Vendd.MessageBus.subscribe(Vendd.User.Messages.GetAreasForPostCode, Vendd.User, function (envelope) {\n\n var options = {\n url: 'AccountService.svc/AreaLookUp',\n data: {\n countryCode: envelope.message.data.countryCode,\n postalCode: envelope.message.data.postalCode,\n selectedAreaCode: envelope.message.data.selectedAreaCode\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetAreasForPostCodeSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetAreasForPostCodeFailure(response));\n };\n\n Vendd.Service.call(options);\n });\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 Vendd.MessageBus.subscribe(Vendd.User.Messages.GetUserViewModel, Vendd.User, function (envelope) {\n\n if (pending === true) {\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 Cookies.remove('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\t};\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.GetMemberByLoyaltyNumber, Vendd.User, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetMemberByLoyaltyNumberSuccess(response));\n\t\t}\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetMemberByLoyaltyNumberFailed(response));\n\t\t}\n\t\tvar options = {\n\t\t\turl: 'api/LoyaltyPoints/GetMemberByLoyaltyNumber?siteCode=' + LhApp.Context.Site.Code + '&loyaltyNumber=' + envelope.message.data.loyaltyMemberCardNumber,\n\t\t\tmethod: 'GET',\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\t\tVendd.Service.call(options);\n\t});\n\n\t//this should be moved to every component that requires this component's data. e.g. login widget AND in case your page DOES NOT contain that widget then you have to make sure theres somewhere this call \n\t(function () {\n\t\tvar defaultCallExecuted;\n\t\tfunction defaultCall() {\n\t\t\tif (Vendd.User.SessionState && !defaultCallExecuted) {\n\t\t\t\tdefaultCallExecuted = true;\n\n\t\t\t\tif (Vendd.User.SessionState.IsNewSession)\n\t\t\t\t\tVendd.User.ClearClientModel();\n\n\t\t\t\tif (venddProjectConfigs.UserModelEnabled) {\n\t\t\t\t\t//one call here and one call after login\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetUserViewModel());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tdefaultCall();\n\t\tVendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionStateSuccess, Vendd.User, function (envelope) {\n\t\t\tdefaultCall();\n\t\t});\n\t})();\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 var cookieDeliveryPointId = LhApp.Function.QueryString.getValueOf(\"deliverypointid\", \"?\" + Cookies.get(\"VisitorState\")) || 0;\n var localStorageDeliveryPointId = (((model || {}).data || {}).DeliveryPoint || {}).Id || 0;\n\n if (model != null && model != undefined && document.cookie.indexOf('ForceClearDeliveryPointLocalStorage') == -1 && cookieDeliveryPointId == localStorageDeliveryPointId) {\n Vendd.MessageBus.publishAsync(Vendd.DeliveryPoint, new Vendd.DeliveryPoint.Messages.GetModelSuccess(model));\n return true;\n }\n\n Cookies.remove('ForceClearDeliveryPointLocalStorage', { path: '/' });\n pending = true;\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.DeliveryPoint.Messages.ResetStore, Vendd.DeliveryPoint, function (envelope) {\n\n if (pending === true) {\n return false;\n };\n\n var options = {\n url: 'checkoutservice.svc/SetStore',\n data: {\n data: \"\",\n arguments: JSON.stringify({\n \"Id\": null\n })\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n model = response;\n localStorage.removeItem('CurrentDeliveryPointModel');\n Vendd.MessageBus.publishAsync(Vendd.DeliveryPoint, new Vendd.DeliveryPoint.Messages.ResetStoreSuccess(response));\n pending = false;\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.DeliveryPoint, new Vendd.DeliveryPoint.Messages.ResetStoreFailed(response));\n pending = false;\n };\n \n pending = true;\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.DeliveryPoint.Messages.ResetDeliveryPoint, Vendd.DeliveryPoint, function (envelope) {\n\n if (pending === true) {\n return false;\n };\n\n var options = {\n url: 'api/DeliveryPoint/SetDeliveryPoint',\n data: {\n deliveryPointId: 1 // Set Deivery Point -> fromSite\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n model = response;\n Vendd.MessageBus.publishAsync(Vendd.DeliveryPoint, new Vendd.DeliveryPoint.Messages.ResetDeliveryPointSuccess(response));\n pending = false;\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.DeliveryPoint, new Vendd.DeliveryPoint.Messages.ResetDeliveryPointFailed(response));\n pending = false;\n };\n\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 var pending = {};\n var fetched = {};\n\n Vendd.MessageBus.subscribe(Vendd.ProjectAgora.Messages.GetBanner, Vendd.ProjectAgora, function (envelope) {\n var data = envelope.message.data;\n var widgetId = data.widgetId;\n\n if (widgetId === undefined || widgetId === '') {\n return;\n }\n if (fetched[widgetId] !== undefined) {\n Vendd.MessageBus.publishAsync(Vendd.ProjectAgora, new Vendd.ProjectAgora.Messages.GetBannerSuccess(widgetId, fetched[widgetId]));\n return;\n }\n if (pending[widgetId] !== undefined) {\n return;\n }\n\n pending[widgetId] = true;\n\n function onSuccess(response) {\n fetched[widgetId] = response;\n delete pending[widgetId];\n Vendd.MessageBus.publishAsync(Vendd.ProjectAgora, new Vendd.ProjectAgora.Messages.GetBannerSuccess(widgetId, response));\n };\n\n function onFailure(response) {\n delete pending[widgetId];\n Vendd.MessageBus.publishAsync(Vendd.ProjectAgora, new Vendd.ProjectAgora.Messages.GetBannerFailure(widgetId, response));\n };\n\n var options = {\n url: 'ProjectAgoraService.svc/GetBanner',\n data: data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n Vendd.Service.call(options);\n\n return;\n });\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.LuckyDraw.Messages.Draw, Vendd.LuckyDraw, function (envelope) {\n var options = {\n url: 'api/LuckyDraw/Draw',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.LuckyDraw, new Vendd.LuckyDraw.Messages.DrawSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.LuckyDraw, new Vendd.LuckyDraw.Messages.DrawFailure(response));\n }\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.LuckyDraw.Messages.GetSegmentsAndCurrentBalance, Vendd.LuckyDraw, function (envelope) {\n var options = {\n url: 'api/LuckyDraw/GetSegmentsAndCurrentBalance',\n method: 'GET',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.LuckyDraw, new Vendd.LuckyDraw.Messages.GetSegmentsAndCurrentBalanceSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.LuckyDraw, new Vendd.LuckyDraw.Messages.GetSegmentsAndCurrentBalanceFailure(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\n\tVendd.MessageBus.subscribe(Vendd.Installments.Messages.GetInstallmentsData, Vendd.Installments, function (envelope) {\n\t\tvar options = {\n\t\t\turl: 'api/Installments/GetInstallmentsData',\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.Installments, new Vendd.Installments.Messages.GetInstallmentsDataSuccess(response));\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Installments, new Vendd.Installments.Messages.GetInstallmentsDataFailed(response));\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\t'use strict';\n\n\tvar modelPending = false;\n\tvar popupModelPending = false;\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetModel, Vendd.WarehouseSelector, function (envelope) {\n\t\tif (modelPending) {\n\t\t\treturn false;\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'api/WarehouseSelector/GetModel',\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\tmodelPending = false;\n\t\t\tVendd.MessageBus.publishAsync(Vendd.WarehouseSelector, new Vendd.WarehouseSelector.Messages.GetModelSuccess(response));\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tmodelPending = false;\n\t\t\tVendd.MessageBus.publishAsync(Vendd.WarehouseSelector, new Vendd.WarehouseSelector.Messages.GetModelFailed(response));\n\t\t}\n\n\t\tmodelPending = true;\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetPopupModel, Vendd.WarehouseSelector, function (envelope) {\n\t\tif (popupModelPending) {\n\t\t\treturn false;\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'api/WarehouseSelectorPopup/GetModel',\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\tpopupModelPending = false;\n\t\t\tVendd.MessageBus.publishAsync(Vendd.WarehouseSelector, new Vendd.WarehouseSelector.Messages.GetPopupModelSuccess(response));\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tpopupModelPending = false;\n\t\t\tVendd.MessageBus.publishAsync(Vendd.WarehouseSelector, new Vendd.WarehouseSelector.Messages.GetPopupModelFailed(response));\n\t\t}\n\n\t\tpopupModelPending = true;\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetGeoAreas, Vendd.WarehouseSelector, function (envelope) {\n\t\tvar options = {\n\t\t\turl: 'api/WarehouseSelectorPopup/GetGeoAreas',\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.WarehouseSelector, new Vendd.WarehouseSelector.Messages.GetGeoAreasSuccess(response));\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.WarehouseSelector, new Vendd.WarehouseSelector.Messages.GetGeoAreasFailed(response));\n\t\t}\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetStoresByPostCode, Vendd.WarehouseSelector, function (envelope) {\n\t\tgetStores('api/WarehouseSelectorPopup/GetStoresByPostalCode', envelope.message.data);\n\t});\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetStoresByGeoArea, Vendd.WarehouseSelector, function (envelope) {\n\t\tgetStores('api/WarehouseSelectorPopup/GetStoresByGeoArea', envelope.message.data);\n\t});\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetStoresByLocation, Vendd.WarehouseSelector, function (envelope) {\n\t\tgetStores('api/WarehouseSelectorPopup/GetStoresByLocation', envelope.message.data);\n\t});\n\n\tfunction getStores(url, data) {\n\t\tvar options = {\n\t\t\turl: url,\n\t\t\tdata: 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.WarehouseSelector, new Vendd.WarehouseSelector.Messages.GetStoresSuccess(response));\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.WarehouseSelector, new Vendd.WarehouseSelector.Messages.GetStoresFailed(response));\n\t\t}\n\n\t\tVendd.Service.call(options);\n\t}\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.SetDeliveryShippingMethod, Vendd.WarehouseSelector, function (envelope) {\n\t\tsetShippingMethod('api/WarehouseSelectorPopup/SetDeliveryShippingMethod', envelope.message.data);\n\t});\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.SetFromStoreShippingMethod, Vendd.WarehouseSelector, function (envelope) {\n\t\tsetShippingMethod('api/WarehouseSelectorPopup/SetFromStoreShippingMethod', envelope.message.data);\n\t});\n\n\tfunction setShippingMethod(url, data) {\n\t\tvar options = {\n\t\t\turl: url,\n\t\t\tdata: 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.WarehouseSelector, new Vendd.WarehouseSelector.Messages.SetShippingMethodSuccess(response));\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.WarehouseSelector, new Vendd.WarehouseSelector.Messages.SetShippingMethodFailed(response));\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 Vendd.LoginOrder = (function (LoginOrder) {\n\n var model;\n\n Vendd.MessageBus.subscribe(Vendd.LoginOrder.Messages.ValidateLoginOrder, Vendd.LoginOrder, function (envelope) {\n\n var endpoints = {\n byOrderInfo: \"api/LoginOrder/ValidateLoginOrder\"\n };\n\n var options = {\n url: endpoints.byOrderInfo,\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n\n if (response.success) {\n\n model = response.data;\n\n Vendd.MessageBus.publishAsync(Vendd.LoginOrder, new Vendd.LoginOrder.Messages.ValidateLoginOrderSuccess(model));\n } else {\n response.validation = true;\n Vendd.MessageBus.publishAsync(Vendd.LoginOrder, new Vendd.LoginOrder.Messages.ValidateLoginOrderFailure(response));\n }\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.LoginOrder, new Vendd.LoginOrder.Messages.ValidateLoginOrderError(response));\n }\n\n\n Vendd.Service.call(options);\n });\n\n return LoginOrder;\n })(Vendd.LoginOrder || {});\n\n return Vendd;\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n\n Vendd.MessageBus.subscribe(Vendd.MyConfigurations.Messages.GetModel, Vendd.MyConfigurations, function (envelope) {\n function onSuccess(response) {\n if (response.success) {\n Vendd.MessageBus.publishAsync(Vendd.MyConfigurations, new Vendd.MyConfigurations.Messages.GetModelSuccess(response));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.MyConfigurations, new Vendd.MyConfigurations.Messages.GetModelFailed(response));\n };\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.MyConfigurations, new Vendd.MyConfigurations.Messages.GetModelFailed(response));\n }\n var options = {\n method: 'POST',\n url: 'api/MyConfigurations/GetModel',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.MyConfigurations.Messages.Remove, Vendd.MyConfigurations, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.MyConfigurations, new Vendd.MyConfigurations.Messages.RemoveSuccess());\n }\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.MyConfigurations, new Vendd.MyConfigurations.Messages.RemoveFailed(response));\n }\n\n var options = {\n url: 'api/MyConfigurations/Remove',\n data: {\n Id: envelope.message.data.Id\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.MyConfigurations.Messages.ConfirmInventory, Vendd.MyConfigurations, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.MyConfigurations, new Vendd.MyConfigurations.Messages.ConfirmInventorySuccess());\n }\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.MyConfigurations, new Vendd.MyConfigurations.Messages.ConfirmInventoryFailed(response));\n }\n\n var options = {\n url: 'api/MyConfigurations/ConfirmInventory',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n\n Vendd.Service.call(options);\n });\n \n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.SalesRegistrationSystem.Messages.GetModel, Vendd.SalesRegistrationSystem, function (envelope) {\n function onSuccess(response) {\n if (response.success) {\n Vendd.MessageBus.publishAsync(Vendd.SalesRegistrationSystem, new Vendd.SalesRegistrationSystem.Messages.GetModelSuccess(response));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.SalesRegistrationSystem, new Vendd.SalesRegistrationSystem.Messages.GetModelFailed(response));\n }\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.SalesRegistrationSystem, new Vendd.SalesRegistrationSystem.Messages.GetModelFailed(response));\n }\n var options = {\n method: 'POST',\n url: 'api/SalesRegistrationSystem/GetModel',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n\n Vendd.MessageBus.subscribe(Vendd.StockTrackerSystem.Messages.GetModel, Vendd.StockTrackerSystem, function (envelope) {\n function onSuccess(response) {\n if (response.success) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.GetModelSuccess(response));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.GetModelFailed(response));\n }\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.GetModelFailed(response));\n }\n var options = {\n method: 'POST',\n url: 'api/StockTrackerSystem/GetModel',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.StockTrackerSystem.Messages.Remove, Vendd.StockTrackerSystem, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.RemoveSuccess());\n }\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.RemoveFailed(response));\n }\n \n var options = {\n url: 'api/StockTrackerSystem/Remove',\n data: {\n VinNumber: envelope.message.data.VinNumber\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.StockTrackerSystem.Messages.ConfirmInventory, Vendd.StockTrackerSystem, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.ConfirmInventorySuccess());\n }\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.ConfirmInventoryFailed(response));\n }\n\n var options = {\n url: 'api/StockTrackerSystem/ConfirmInventory',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.StockTrackerSystem.Messages.UndoConfirmInventory, Vendd.StockTrackerSystem, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.UndoConfirmInventorySuccess());\n }\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.UndoConfirmInventoryFailed(response));\n }\n\n var options = {\n url: 'api/StockTrackerSystem/UndoConfirmInventory',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.StockTrackerSystem.Messages.GetSubPartners, Vendd.StockTrackerSystem, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.GetSubPartnersSuccess(response));\n }\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.GetSubPartnersFailed(response));\n }\n\n var options = {\n method: 'POST',\n url: 'api/StockTrackerSystem/GetSubPartners',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.StockTrackerSystem.Messages.ChangePartner, Vendd.StockTrackerSystem, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.ChangePartnerSuccess(response));\n }\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.ChangePartnerFailed(response));\n }\n\n var options = {\n method: 'POST',\n url: 'api/StockTrackerSystem/ChangePartner',\n data: {\n ProductIdentifier: envelope.message.data.ProductIdentifier,\n PartnerItemId: envelope.message.data.PartnerItemId\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n \n\treturn Vendd;\n\n})(Vendd || {});","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 'use strict';\n\n var funcCookiesEnabled = true;\n if (window.ConsentsManager) {\n funcCookiesEnabled = window.ConsentsManager.cookiesStatus.functionalityCookies;\n }\n\n Vendd.MessageBus.subscribe(Vendd.RequestOffer.Messages.SearchForProducts, Vendd.RequestOffer, function (envelope) {\n\n var options = {\n url: 'api/RequestOffer/SearchForProducts?searchterm=' + envelope.message.data.searchTerm,\n method: 'GET',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n response.sender = envelope.sender;\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.SearchForProductsSuccess(response));\n }\n\n function onFailure(response) {\n response.sender = envelope.sender;\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.SearchForProductsFailed(response));\n }\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.RequestOffer.Messages.AddOfferProducts, Vendd.RequestOffer, function (envelope) {\n\n if (!funcCookiesEnabled)\n return;\n\n var options = {\n url: 'api/RequestOffer/AddOfferProducts',\n data: envelope.message.data,\n method: 'POST',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.AddOfferProductsSuccess(response.data));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.AddOfferProductsFailure(response));\n };\n\n Vendd.Service.call(options);\n\n return;\n });\n\n Vendd.MessageBus.subscribe(Vendd.RequestOffer.Messages.GetPendingRequestsOffer, Vendd.RequestOffer, function (envelope) {\n\n if (!funcCookiesEnabled)\n return;\n\n var options = {\n url: 'api/RequestOffer/GetPendingRequestsOffer?offerid=' + envelope.message.data.offerid + '&pageSize=' + envelope.message.data.pageSize + '&pageNum=' +envelope.message.data.pageNum,\n data: envelope.message.data,\n method: 'GET',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.GetPendingRequestsOfferSuccess(response.data));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.GetPendingRequestsOfferFailure(response));\n };\n\n Vendd.Service.call(options);\n\n return;\n });\n\n Vendd.MessageBus.subscribe(Vendd.RequestOffer.Messages.UpdateRequestOfferProducts, Vendd.RequestOffer, function (envelope) {\n\n if (!funcCookiesEnabled)\n return;\n\n var options = {\n url: 'api/RequestOffer/UpdateRequestOfferProducts',\n data: envelope.message.data,\n method: 'POST',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.UpdateRequestOfferProductsSuccess(response.data));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.UpdateRequestOfferProductsFailure(response));\n };\n\n Vendd.Service.call(options);\n\n return;\n });\n\n Vendd.MessageBus.subscribe(Vendd.RequestOffer.Messages.DeleteRequestOffer, Vendd.RequestOffer, function (envelope) {\n\n if (!funcCookiesEnabled)\n return;\n\n var options = {\n url: 'api/RequestOffer/DeleteRequestOffer',\n data: envelope.message.data,\n method: 'POST',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.DeleteRequestOfferSuccess(response.data));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.DeleteRequestOfferFailure(response));\n };\n\n Vendd.Service.call(options);\n\n return;\n })\n\n Vendd.MessageBus.subscribe(Vendd.RequestOffer.Messages.SubmitRequestOffer, Vendd.RequestOffer, function (envelope) {\n\n if (!funcCookiesEnabled)\n return;\n\n var options = {\n url: 'api/RequestOffer/Submit',\n data: envelope.message.data,\n method: 'POST',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.SubmitRequestOfferSuccess(response.data));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.SubmitRequestOfferFailure(response));\n };\n\n Vendd.Service.call(options);\n\n return;\n })\n\n Vendd.MessageBus.subscribe(Vendd.RequestOffer.Messages.ImportRequestOfferExcel, Vendd.RequestOffer, function (envelope) {\n\n if (!funcCookiesEnabled)\n return;\n\n var options = {\n url: 'api/RequestOffer/ImportRequestOfferExcel',\n data: envelope.message.data,\n method: 'POST',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.ImportRequestOfferExcelSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.ImportRequestOfferExcelFailure(response));\n };\n\n Vendd.Service.call(options);\n\n return;\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 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.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 Vendd.MessageBus.subscribe(Vendd.RequestReturn.Messages.CheckOrderSession, Vendd.RequestReturn, function () {\n\n var options = {\n url: \"api/RequestReturn/CheckOrderSession\",\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n\n if (response.success) {\n\n model = response.data;\n $.each(model.Return.AvailableItemForReturn, function (idx, item) {\n item = updateProductFields(item);\n });\n $.each(model.Return.ReturnItems, function (idx, item) {\n item = updateProductFields(item);\n });\n\n Vendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.GetReturnRequestSuccess(model));\n } else {\n response.validation = true;\n Vendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.GetReturnRequestFailure(response));\n }\n }\n\n function onFailure(response) {\n //Vendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.GetReturnRequestError(response));\n }\n\n\n Vendd.Service.call(options);\n });\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\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 Cookies.remove('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.GetLoyaltyNewsDetail, Vendd.Loyalty, function (envelope) {\n\n var options = {\n method: 'POST',\n url: 'api/LoyaltyNews/GetLoyaltyNewsDetail',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n\n if (response.success) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.GetLoyaltyNewsDetailSuccess(response.data));\n }\n\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.GetLoyaltyNewsDetailFailure(response));\n }\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.GetLoyaltyNewsDetailFailure(response));\n }\n\n Vendd.Service.call(options);\n });\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 Vendd.MessageBus.subscribe(Vendd.Loyalty.Messages.InviteFriends, Vendd.Loyalty, function (envelope) {\n\n var options = {\n method: 'GET',\n url: 'api/InviteFriend/SubmitLoyaltyFriendRequests',\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.InviteFriendsSuccess(response));\n };\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.InviteFriendsFailure(response.responseJSON));\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.TrackTrace.Messages.GetTrackTraceModel, Vendd.TrackTrace, function (envelope) {\n \n var options = {\n url: 'TrackTraceService.svc/GetTrackTraceViewModel',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.TrackTrace, new Vendd.TrackTrace.Messages.GetTrackTraceModelSuccess(response));\n\n };\n \n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.TrackTrace, new Vendd.TrackTrace.Messages.GetTrackTraceModelFailure(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 queryString = location.search; \n console.log(queryString);\n var options = {\n url: 'AdapterService.svc/GetData' + queryString + (queryString && queryString.length > 0 ? (queryString.search(/lang/i) > 0 ? '' : '&lang=' + LhApp.Context.Language) : '?lang=' + LhApp.Context.Language), \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.LazyHtmlArea.Messages.GetLazyHtmlArea, Vendd.LazyHtmlArea, function (envelope) {\n\n var options = {\n url: 'api/HtmlArea/GetLazyHtmlArea',\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.data;\n Vendd.MessageBus.publishAsync(Vendd.LazyHtmlArea, new Vendd.LazyHtmlArea.Messages.LazyHtmlAreaSuccess(model));\n }\n\n Vendd.MessageBus.publishAsync(Vendd.LazyHtmlArea, new Vendd.LazyHtmlArea.Messages.LazyHtmlAreaFailure());\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.LazyHtmlArea, new Vendd.LazyHtmlArea.Messages.LazyHtmlAreaFailure(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 Vendd.MessageBus.subscribe(Vendd.LazyProductList.Messages.GetLazyProductList, Vendd.LazyProductList, function (envelope) {\n \n var options = {\n url: 'LazyProductListService.svc/GetLazyProductList' + envelope.message.data.url,\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, envelope.sender));\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, envelope.sender));\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.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.TransactionsHistory.Messages.GetAccountDetails, Vendd.TransactionsHistory, function (envelope) {\n var options = {\n url: 'api/AccountDetails/GetAccountDetails',\n data: {\n accountId: envelope.message.data.accountId,\n transactionCode: envelope.message.data.transactionCode\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n var model = {\n Items: response.data.Items ? response.data.Items : null,\n Translators: response.data.Translators\n };\n\n Vendd.MessageBus.publishAsync(envelope.sender, new Vendd.TransactionsHistory.Messages.GetAccountDetailsSuccess(model));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(envelope.sender, new Vendd.TransactionsHistory.Messages.GetAccountDetailsFailure(response));\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 Vendd.MessageBus.subscribe(Vendd.OfflineOrdersHistory.Messages.GetOrderItems, Vendd.OfflineOrdersHistory, function (envelope) {\n var options = {\n url: 'api/OfflineOrdersHistory/GetOrderItems',\n data: {\n orderId: envelope.message.data,\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(envelope.sender, new Vendd.OfflineOrdersHistory.Messages.GetOrderItemsSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(envelope.sender, new Vendd.OfflineOrdersHistory.Messages.GetOrderItemsFailure(response));\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 Vendd.MessageBus.subscribe(Vendd.OnlineOrdersHistory.Messages.GetOrderDetails, Vendd.OnlineOrdersHistory, function (envelope) {\n var options = {\n url: 'api/OnlineOrdersHistory/GetOrderDetails',\n data: {\n orderId: envelope.message.data,\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n var model = {\n Order: response.data.Orders ? response.data.Orders [0] : null,\n Translators: response.data.Translators\n };\n\n Vendd.MessageBus.publishAsync(envelope.sender, new Vendd.OnlineOrdersHistory.Messages.GetOrderDetailsSuccess(model));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(envelope.sender, new Vendd.OnlineOrdersHistory.Messages.GetOrderDetailsFailure(response));\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 Vendd.MessageBus.subscribe(Vendd.Order.Messages.SubmitRequestOrderChange, Vendd.Order, function (envelope) { \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 var options = {\n url: 'AuthService.svc/RequestOrderChange',\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.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 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: { info: envelope.message.data },\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 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\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 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 isSocialSecurityNumber: function (value, parameters) {\n var isValid = true;\n\n if (accountOverrides && typeof accountOverrides.IsSocialSecurityNumberValidation === 'function') {\n isValid = accountOverrides.IsSocialSecurityNumberValidation(value);\n }\n\n return isValid;\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 isSocialSecurityNumber: \"This property must be a valid security number\"\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 = envelope.message.data.itemId;\n var path = envelope.message.data.path;\n if (itemId === undefined) {\n itemId = LhApp.Context.Item.Id;\n path = LhApp.Context.Item.Path;\n }\n\n var options = {\n data: { itemId: itemId, itemPathChecksum: path, attributes: envelope.message.data.attributes || [], currencyCode: LhApp.Context.Currency.Code, languageCode: LhApp.Context.Language, roleCode: envelope.message.data.roleCode },\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\n if (id) state.selectedId = id;\n if (bundleItems) state.bundleItems = bundleItems;\n\n state.minQuantity = (model.MinQuantity === null || model.MinQuantity === '') ? ((model.Quanta !== null) ? model.Quanta : 1) : model.MinQuantity;\n state.maxQuantity = (model.MaxQuantity === null || model.MaxQuantity === '') ? null : model.MaxQuantity;\n state.quanta = (model.Quanta !== null) ? model.Quanta : 1;\n state.qty = state.minQuantity ? state.minQuantity : state.quanta;\n\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 var options = {\n url: 'AdapterService.svc/GetData', \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 IsInitialized: function () {\n return !!initialized;\n },\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.SetQuanta, Vendd.Product, function (envelope) {\n state.quanta = envelope.message.data.quanta;\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 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, envelope.sender));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.NotifyFailure(response, envelope.sender));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.GetReviews, Vendd.Product, function (envelope) {\n\n var options = {\n url: 'CommonService.svc/GetReviews',\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.GetReviewsSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetReviewsFailure(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 Vendd.MessageBus.subscribe(Vendd.Product.Messages.GetDeliveryAvailability, Vendd.Product, function (envelope) {\n\n var options = {\n url: 'EcomService.svc/GetDeliveryAvailabilityData',\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.GetDeliveryAvailabilitySuccess(model));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetDeliveryAvailabilityFailure(response));\n }\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetDeliveryAvailabilityFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.GetPickUpAvailability, Vendd.Product, function (envelope) {\n\n var options = {\n url: 'EcomService.svc/GetPickupAvailabilityData',\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.GetPickUpAvailabilitySuccess(model));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetPickUpAvailabilityFailure(response));\n }\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetPickUpAvailabilityFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.GetReplacedByProducts, Vendd.Product, function (envelope) {\n var options = {\n url: 'api/Product/GetRelatedProducts',\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.GetReplacedByProductsSuccess(response, envelope.message.data));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetReplacedByProductsFailure(response, envelope.message.data));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.PdfExport, Vendd.Product, function (envelope) {\n var options = {\n url: 'api/PdfExporter/Generate',\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.PdfExportSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.PdfExportFailure(response));\n };\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 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.GetUserAccount, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetUserAccountSuccess(response));\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.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: 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.GetAddresses, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAddressesSuccess(response));\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 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.SetDefaultAddress, Vendd.Account, function (envelope) {\n function onSuccess(response) {\n // Vendd.MessageBus.publishAsync(Account, new Vendd.Account.Messages.SetDefaultAddressSuccess());\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.AddressModelChanged());\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.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.ConvertPointsToCouponsFailure(response));\n }\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.ConvertPointsToCouponsFailure(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.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: 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.GetAreasForPostCode, Vendd.Account, function (envelope) {\n function onSuccess(response) {\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.GetPrefectures, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetPrefecturesSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetPrefecturesFailed(response));\n }\n\n var options = {\n url: 'CachedServices/api/Geo/GetPrefectures?languageCode=' + envelope.message.data.languageCode + '&addressType=' + envelope.message.data.addressType + '&countryCode=' + envelope.message.data.countryCode + '&searchText=&limit=10000',\n method: 'GET',\n servicenamespace: '',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.GetCities, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetCitiesSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetCitiesFailed(response));\n }\n\n var options = {\n url: 'CachedServices/api/Geo/GetCities?languageCode=' + envelope.message.data.languageCode + '&addressType=' + envelope.message.data.addressType + '&countryCode=' + envelope.message.data.countryCode + '&prefectureName=' + encodeURIComponent(envelope.message.data.prefectureName) + '&searchText=&limit=10000',\n method: 'GET',\n servicenamespace: '',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.GetAreas, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAreasSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAreasFailed(response));\n }\n\n var options = {\n url: 'CachedServices/api/Geo/GetAreas?languageCode=' + envelope.message.data.languageCode + '&addressType=' + envelope.message.data.addressType + '&countryCode=' + envelope.message.data.countryCode + '&prefectureName=' + encodeURIComponent(envelope.message.data.prefectureName) + '&cityName=' + encodeURIComponent(envelope.message.data.cityName) + '&searchText=&limit=10000',\n method: 'GET',\n servicenamespace: '',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.GetPostCodes, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetPostCodesSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetPostCodesFailed(response));\n }\n\n var options = {\n url: 'CachedServices/api/Geo/GetPostCodes?languageCode=' + envelope.message.data.languageCode + '&addressType=' + envelope.message.data.addressType + '&countryCode=' + envelope.message.data.countryCode + '&prefectureName=' + encodeURIComponent(envelope.message.data.prefectureName) + '&cityName=' + encodeURIComponent(envelope.message.data.cityName) + '&areaName=' + encodeURIComponent(envelope.message.data.areaName) + '&searchText=' + envelope.message.data.searchText + '&limit=10000',\n method: 'GET',\n servicenamespace: '',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.GetStreets, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetStreetsSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetStreetsFailed(response));\n }\n\n var options = {\n url: 'CachedServices/api/Geo/GetStreets?languageCode=' + envelope.message.data.languageCode + '&addressType=' + envelope.message.data.addressType + '&countryCode=' + envelope.message.data.countryCode + '&prefectureName=' + encodeURIComponent(envelope.message.data.prefectureName) + '&cityName=' + encodeURIComponent(envelope.message.data.cityName) + '&areaName=' + encodeURIComponent(envelope.message.data.areaName) + '&searchText=' + envelope.message.data.searchText + '&limit=10000',\n method: 'GET',\n servicenamespace: '',\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.GetVatInfo, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetVatInfoSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetVatInfoFailed(response));\n }\n\n var options = {\n url: 'EcomService.svc/GetVatInfo',\n data: {\n request: {\n country: envelope.message.data.country,\n vat: envelope.message.data.vat\n }, \n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.GetAllAddressGroups, Vendd.Account, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAllAddressGroupsSuccess(response));\n }\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAllAddressGroupsFailed(response));\n }\n\n var options = {\n url: 'AccountService.svc/GetAllAddressGroups',\n data: {\n selectedAddressGroupId: parseInt(envelope.message.data.selectedAddressGroupId, 10)\n },\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.MessageBus.subscribe(Vendd.Account.Messages.GetCouponInformations, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetCouponInformationsSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetCouponInformationsFailed(response));\n }\n\n var options = {\n method: 'POST',\n url: 'api/Account/GetCouponInformations',\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.InvalidateCouponCode, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.InvalidateCouponCodeSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.InvalidateCouponCodeFailed(response));\n }\n\n var options = {\n method: 'POST',\n url: 'api/Account/InvalidateCouponCode',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.Account.GetNewAddress = function (model) {\n var newAddress = {\n IsInvoiceEnabled: model.IsInvoiceEnabled,\n IsReceiptEnabledForB2B: model.IsReceiptEnabledForB2B,\n IsDefault: false,\n FirstName: '',\n LastName: '',\n Title: '',\n Bell: '',\n AddressLine1: '',\n AddressLine2: '',\n Area: '',\n City: '',\n PostCode: '',\n Country: '',\n CountryDescription: '',\n Prefecture: '',\n Phones: '',\n SocialSecurityNumber: '',\n Mobiles: '',\n Fax: '',\n IsInvoice: false,\n InvoiceText: '',\n EInvoiceModuleEnabled: model.Configs.EInvoiceModuleEnabled,\n UserCanChangeValue: model.Configs.UserCanChangeValue,\n ReceiveEinvoice: null,\n CompanyName: '',\n Occupation: '',\n Headquarters: '',\n TaxIdentifier: '',\n TaxAgency: '',\n TaxAgencyId: -1,\n VatStatus: 0,\n AddressGroupId: -1,\n IsShippingRestrictedToResolvedCountry: model.Configs.IsShippingRestrictedToResolvedCountry\n };\n\n return newAddress;\n };\n\n /*remaining for return order js*/\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 /*new messagebus for entiry address info*/\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.GetAddressInfo, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAddressInfoSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAddressInfoFailed(response));\n }\n\n var options = {\n method: 'POST',\n url: 'api/Address/GetAddressInfo',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n /* Address Groups */\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.GetAddressGroups, Vendd.Account, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAddressGroupsSuccess(response));\n }\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAddressGroupsFailed(response));\n }\n\n var options = {\n url: 'AccountService.svc/GetAddressGroupsViewModel',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.GetAddressGroup, Vendd.Account, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAddressGroupSuccess(response));\n }\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAddressGroupFailed(response));\n }\n\n var options = {\n url: 'AccountService.svc/GetAddressGroupViewModel',\n data: {\n addressGroupId: envelope.message.data.addressGroupId\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.DeleteAddressGroup, Vendd.Account, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.DeleteAddressGroupSuccess(response));\n }\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.DeleteAddressGroupFailure(response));\n }\n\n var options = {\n url: 'AccountService.svc/DeleteAddressGroup',\n data: {\n addressGroupId: envelope.message.data.addressGroupId\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.EditAddressGroup, Vendd.Account, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.EditAddressGroupSuccess(response));\n }\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.EditAddressGroupFailed(response));\n }\n\n var options = {\n url: 'AccountService.svc/EditAddressGroup',\n data: {\n addressGroup: envelope.message.data.model\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.Account.GetNewAddressGroup = function (model) {\n var newAddressGroup = {\n Id: -1,\n Name: '',\n Description: ''\n };\n\n return newAddressGroup;\n };\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.CheckAddressGroupIfExists, Vendd.Account, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.CheckAddressGroupIfExistsSuccess(response));\n }\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.CheckAddressGroupIfExistsFailure(response));\n }\n\n var options = {\n url: 'AccountService.svc/FindAddressGroup',\n data: {\n addressGroup: envelope.message.data.model\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n return 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\tvar dontLoadOnLoginSuccess;\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.Login, Vendd.WishlistMerchant, function (envelope) {\n\t\tdontLoadOnLoginSuccess = envelope.message.data.options && envelope.message.data.options.isLoginForm;\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.LoginSuccess, Vendd.WishlistMerchant, function (envelope) {\n\t\tif (dontLoadOnLoginSuccess)\n\t\t\treturn;\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\tif (dontLoadOnLoginSuccess)\n\t\t\treturn;\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.GetModel());\n\t});\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n\n Vendd.MessageBus.subscribe(Vendd.Merchant.Messages.GetModel, Vendd.Merchant, function (envelope) {\n var reqData =\n {\n \"templateCode\": LhApp.Context.Item.Template,\n \"configCode\": \"\",\n \"itemId\": envelope.message.data.itemId\n\n };\n function onSuccess(response) {\n if (response.success) {\n Vendd.MessageBus.publishAsync(Vendd.Merchant, new Vendd.Merchant.Messages.GetModelSuccess(response));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.Merchant, new Vendd.Merchant.Messages.GetModelFailed(response));\n };\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Merchant, new Vendd.Merchant.Messages.GetModelFailed(response));\n }\n var options = {\n method: 'POST',\n url: 'api/Merchant/GetModel',\n data: reqData,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\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\tvar dontLoadOnLoginSuccess;\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.Login, Vendd.WishlistArticle, function (envelope) {\n\t\tdontLoadOnLoginSuccess = envelope.message.data.options && envelope.message.data.options.isLoginForm;\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.LoginSuccess, Vendd.WishlistArticle, function (envelope) {\n\t\tif (dontLoadOnLoginSuccess)\n\t\t\treturn;\n\t\tVendd.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\tif (dontLoadOnLoginSuccess)\n\t\t\treturn;\n\t\tVendd.MessageBus.publishAsync(Vendd.WishlistArticle, new Vendd.WishlistArticle.Messages.GetModel());\n\t});\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n\tvar pending = false;\n\n\tVendd.MessageBus.subscribe(Vendd.Wishlist.Messages.GetModel, Vendd.Wishlist, function (envelope) {\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 Cookies.remove('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 Vendd.MessageBus.subscribe(Vendd.Wishlist.Messages.Add, Vendd.Wishlist, function (envelope) {\n var data = {};\n data.item = envelope.message.data;\n\n var options = {\n url: 'EcomService.svc/AddToWishlist',\n data: data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\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\t\tif (response.success) {\n\n\t\t\t\tif (response.code === 'OperationSuccesful') {\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.AddSuccess(envelope.message.data.id, envelope.message.data.skuId, response));\n\t\t\t\t}\n\n\t\t\t\tif (response.code === 'ValidationError') {\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Warning(response));\n\t\t\t\t}\n\n\t\t\t\tif (response.code !== 'RequiresAuthenticationError') {\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.GetModel());\n\t\t\t\t}\n\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Failed(response));\n\t\t\t}\n\t \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 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\t\tif (response.success) {\n\t\t\t\tvar removedProduct = _.find(model.Items, function (x) { return envelope.message.data.id == x.Id; });\n\n\t Vendd.Wishlist.ClearClientModel();\n\n\t if (LhApp.Context.MultipleWishlistsEnabled)\n\t\t\t\t\tVendd.UserWishlist.ClearClientModel();\n\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.RemoveSuccess(removedProduct.ProductId, removedProduct.VariantId, response));\n if (response.code !== 'RequiresAuthenticationError') {\n Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.GetModel());\n }\t \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 function onSuccess(response) {\n\t\t\tif (response.success && response.code === 'OperationSuccesful') {\n\t\t\t\tvar movedToCartProduct = _.find(model.Items, function (x) { return envelope.message.data.id == x.Id; });\n\t Vendd.Wishlist.ClearClientModel();\n\t Vendd.Cart.ClearClientModel();\n\t \n\t if (LhApp.Context.MultipleWishlistsEnabled) \n Vendd.UserWishlist.ClearClientModel();\n\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ProductAdded(movedToCartProduct.ProductId, movedToCartProduct.VariantId, response.data));\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 Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Cart.Messages.GetModel());\n } else if (response.success && response.code === 'ValidationError') {\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Warning(response));\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.UpdateItemQuantity, Vendd.Wishlist, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tif (response.success) {\n\t\t\t\tVendd.Wishlist.ClearClientModel();\n\n\t\t\t\tif (LhApp.Context.MultipleWishlistsEnabled)\n\t\t\t\t\tVendd.UserWishlist.ClearClientModel();\n\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.GetModel());\n\t\t\t} else\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Failed(response));\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Failed(response));\n\t\t}\n\n\t\tvar data = envelope.message.data;\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/UpdateWishlistItemQuantity',\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.Wishlist.Messages.MoveAllToCart, Vendd.Wishlist, function (envelope) {\n\n\t var data = { listId: Vendd.Wishlist.GetVisitorListByQueryString() };\n\n\t function onSuccess(response) {\n\t\t\tif (response.success) {\n\t\t\t\tVendd.Wishlist.ClearClientModel();\n\t\t\t\tVendd.Cart.ClearClientModel();\n\n\t\t\t\tif (LhApp.Context.MultipleWishlistsEnabled)\n\t\t\t\t\tVendd.UserWishlist.ClearClientModel();\n\n\t\t\t\tif (response.code === 'OperationSuccesful' || response.code === 'PartialValidationError') {\n\t\t\t\t\ttoastr.success(LhApp.Function.getText(\"Common:AllProductsAddedToCart\"), \"\", { timeOut: 1200, showDuration: 400, hideDuration: 700 });\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.GetModel());\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Cart.Messages.ShowMessages(response));\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Cart.Messages.GetModel());\n\t\t\t\t}\n\n\t\t\t\tif (response.code === 'PartialValidationError') {\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Warning(response));\n\t\t\t\t}\n\n\t\t\t\tif (response.code === 'ValidationError') {\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Warning(response));\n\t\t\t\t}\n\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Failed(response));\n\t\t\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\tvar dontLoadOnLoginSuccess;\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.Login, Vendd.Wishlist, function (envelope) {\n\t\tdontLoadOnLoginSuccess = envelope.message.data.options && envelope.message.data.options.isLoginForm;\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.LoginSuccess, Vendd.Wishlist, function (envelope) {\n\t\tif (dontLoadOnLoginSuccess)\n\t\t\treturn;\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 var model = Vendd.Wishlist.GetClientModel();\n\n\t//this should be moved to every component that requires this component's data. e.g. login widget AND in case your page DOES NOT contain that widget then you have to make sure theres somewhere this call \n\t(function () {\n\t\tvar defaultCallExecuted;\n\t\tfunction defaultCall() {\n\t\t\tif (Vendd.User.SessionState && !defaultCallExecuted) {\n\t\t\t\tdefaultCallExecuted = true;\n\n\t\t\t\tif (Vendd.User.SessionState.IsNewSession)\n\t\t\t\t\tVendd.User.ClearClientModel();\n\n\t\t\t\tif (venddProjectConfigs.WishlistModelEnabled && !venddProjectConfigs.SiteIsLocked) {\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.GetModel());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tdefaultCall();\n\t\tVendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionStateSuccess, Vendd.Wishlist, function (envelope) {\n\t\t\tdefaultCall();\n\t\t});\n\t})();\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t'use strict';\n\n\tvar getCartModelOptions = {\n\t\t// ignoreExternalModules: false do not use it unless your are forcing a value. the default behaviour will be resolved server side from cart widget config attribute ConfigAttributes_CartIgnoreExternalModulesDefault\n\t\t// add other options if needed\n\t};\n\n var pending = false;\n\tVendd.Cart.PendingMessages = null;\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\t\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\t\tfunction onSuccess(response) {\n\t\t\tmodel = response.data ? $.extend(true, {}, response.data, { LangCode: LhApp.Context.Language }) : response.data;\n\n\t\t\tif (venddProjectConfigs.CartAvailabilityRestrictionMessages) {\n\t\t\t\ttry {\n\t\t\t\t\tif (Vendd.Cart.PendingMessages) model.Cart.PendingMessages = $.merge([], Vendd.Cart.PendingMessages);\n\t\t\t\t} catch (ex) {\n\t\t\t\t\tmodel.Cart.PendingMessages = null;\n\t\t\t\t}\n\t\t\t\tVendd.Cart.PendingMessages = null;\n\t\t\t}\n\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ShowMessages(response));\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Changed(model));\n\n Vendd.Cart.SetClientModel(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 dataOptions = {\n\t\t\tcurrentItemId: itemId,\n\t\t\ttemplateCode: templateCode,\n\t\t\tignoreExternalModules: envelope.message && envelope.message.data && envelope.message.data.ignoreExternalModules // when undefined this will not be null in server\n\t\t};\n\n\t\tvar options = {\n\t\t\tdata: dataOptions,\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\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 Cookies.remove('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\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.AddCompleted(response));\n\t\t\tif (venddProjectConfigs.CartAvailabilityRestrictionMessages) {\n\t\t\t\tVendd.Cart.PendingMessages = null;\n\t\t\t\ttry {\n\t\t\t\t\tVendd.Cart.PendingMessages = JSON.parse(response.data).Messages;\n\t\t\t\t} catch (ex) {\n\t\t\t\t\tVendd.Cart.PendingMessages = null;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (response.success && response.code === 'OperationSuccesful') {\n\t\t\t\tVendd.Cart.ClearClientModel();\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ProductAdded(envelope.message.data.id, envelope.message.data.skuId, response.data));\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(getCartModelOptions));\n\t\t\t\t\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\t\t\t\t\tcomboItems: envelope.message.data.comboItems,\n\t\t\t\t\tenhancedInfo: envelope.message.data.enhancedInfo,\n\t\t\t\t\tisDefaultRecipeQuantitiesIncluded: 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 function onSuccess(response) {\n Vendd.Cart.ClearClientModel();\n\n if (response.success && response.code === 'OperationSuccesful') {\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.MultipleAddSuccess(response));\n } else if (response.success && response.code === 'PartialValidationError') {\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.MultipleAddSuccess(response));\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Warning(response));\n } else if (response.success && response.code === 'ValidationError') {\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Warning(response));\n } else {\n 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/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(getCartModelOptions));\t\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\tif (response.success) {\n\t\t\t\tvar removedProduct = _.find(model.Cart.Items, function (x) { return envelope.message.data.id == x.Id; });\n\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ProductRemoved(envelope.message.data.id, removedProduct.ProductId, removedProduct.VariantId));\n\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\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 });\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.MultipleRemove, Vendd.Cart, function (envelope) {\n var data = {\n ids: envelope.message.data\n };\n\n function onSuccess(response) {\n Vendd.Cart.ClearClientModel();\n\n if (response.success) {\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.MultipleRemoveSuccess(response));\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\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: 'EcomService.svc/MultipleRemoveFromCart',\n data: data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\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\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.SetQuantitySuccess(response));\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ShowMessages(response)); \n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\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\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\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\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\n\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(getCartModelOptions));\n\t\t\t}\n\t\t\telse {\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/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(getCartModelOptions));\n\t\t\t}\n\t\t\telse {\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/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(getCartModelOptions));\n\t\t\t}\n\t\t\telse {\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/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(getCartModelOptions));\n\t\t\t}\n\t\t\telse {\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());\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 if (response.success) {\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GiftCardApplySuccess(envelope));\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\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\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\tVendd.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(getCartModelOptions));\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(getCartModelOptions));\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(getCartModelOptions));\n\t\t\t}\n\t\t\telse {\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/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 Vendd.MessageBus.subscribe(Vendd.Cart.Messages.UpdateCartProductReplacingTypes, Vendd.Cart, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.UpdateCartProductReplacingTypesSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.UpdateCartProductReplacingTypesFailed(response));\n }\n\n var options = {\n url: 'api/Cart/UpdateCartProductReplacingTypes',\n data: {\n parameters: envelope.message.data\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n }\n\n Vendd.Service.call(options);\n });\n\n /*Coupons*/\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.ApplyCoupon, Vendd.Cart, function (envelope) {\n function onSuccess(response) {\n\t Vendd.Cart.ClearClientModel();\n if (response.success) {\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ApplyCouponSuccess(envelope));\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\t\t\t\t\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(getCartModelOptions));\t\t\t\t\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(getCartModelOptions));\t\t\t\t\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\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\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\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\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\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\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\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\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(getCartModelOptions));\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\tvar dontLoadOnLoginSuccess;\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.Login, Vendd.Cart, function (envelope) {\n\t\tdontLoadOnLoginSuccess = envelope.message.data.options && envelope.message.data.options.isLoginForm;\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.LoginSuccess, Vendd.Cart, function (envelope) { \n\t\tif (dontLoadOnLoginSuccess)\n\t\t\treturn;\n\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\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(getCartModelOptions));\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(getCartModelOptions));\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(getCartModelOptions));\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.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\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.SetDigitalCare, Vendd.Cart, function (envelope) {\n\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.SetDigitalCareSuccess(envelope));\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.SetDigitalCareFailure(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.SetDigitalCareFailure(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/SetDigitalCare',\n\t\t\tdata: {\n\t\t\t\tIsDigitalCareSelected: envelope.message.data.IsDigitalCareSelected\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\tvar model = Vendd.Cart.GetClientModel();\n\n\t//this should be moved to every place that requires this component's data. e.g. cart widget AND in case your page DOES NOT contain that widget then you have to make sure theres somewhere this call \n\t(function () {\n\t\tvar defaultCallExecuted;\n\t\tfunction defaultCall() {\n\t\t\tif (Vendd.User.SessionState && !defaultCallExecuted) {\n\t\t\t\tdefaultCallExecuted = true;\n\n\t\t\t\tif (Vendd.User.SessionState.IsNewSession)\n\t\t\t\t\tVendd.User.ClearClientModel();\n\n\t\t\t\tif (venddProjectConfigs.CartModelEnabled && !venddProjectConfigs.SiteIsLocked) {\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tdefaultCall();\n\t\tVendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionStateSuccess, Vendd.Cart, function (envelope) {\n\t\t\tdefaultCall();\n\t\t});\n\t})();\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.ProductList.Messages.GetModel, Vendd.ProductList, function (envelope) {\n var data = envelope.message.data;\n if (data.serviceConfiguration == undefined || data.serviceConfiguration == '') return;\n\n var configuration = JSON.parse(data.serviceConfiguration);\n var item = configuration.ItemId != undefined && configuration.ItemId > 0 && configuration.ItemPath != undefined ?\n { Id: configuration.ItemId, Path: configuration.ItemPath } :\n LhApp.Context.Item;\n $(data.list).attr('data-current-page', 1);\n var requestData =\n {\n \"templateCode\": data.type,\n \"configCode\": \"\",\n \"itemId\": LhApp.Context.Item.Id,\n \"itemPath\": LhApp.Context.Item.Path,\n \"pageNumber\": 1,\n \"pageSize\": configuration.PageSize,\n \"sortKey\": configuration.SortKey,\n \"fullPath\": item.FullPath,\n \"excludeItemIds\": configuration.ExcludeItemIds,\n \"includeFilters\": data.includeFilters,\n \"defaultUriFilter\": data.defaultUriFilter\n };\n var options = {\n url: 'CachedServices/api/Product/GetAjaxProductList' + data.uri,\n servicenamespace: '',\n method: 'GET',\n data: requestData,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n \n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.ProductList, new Vendd.ProductList.Messages.GetModelSuccess(response, data.list));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.ProductList, new Vendd.ProductList.Messages.GetModelFailed(response, data.list));\n };\n\n Vendd.Service.call(options);\n });\n\n return 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\t\tvar url = (type == 'articleList' ? 'CachedServices/api/Article/GetScrolledArticleList' + (location.search) : 'CachedServices/api/Product/GetScrolledProductList' + (location.search)) + (location.search && location.search.length ? '&' : '?') + 'lang=' + LhApp.Context.Language;\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 var oauthPopup = window.open('', 'googleLogin', 'status=1,toolbar=0,location=0,menubar=0,directories=0,resizable=0,scrollbars=0,height=550,width=600');\n Vendd.Service.call({\n url: 'Auth/GoogleLoginService.svc/GetConfiguration',\n data: {},\n onSuccess: function (res) {\n oauthPopup.location = res.authUrl;\n oauthPopup.focus();\n },\n onFailure: function (ex) {\n oauthPopup.close();\n throw ex;\n }\n });\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 },\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 var oauthPopup = window.open('', 'fbLogin', 'status=1,toolbar=0,location=0,menubar=0,directories=0,resizable=0,scrollbars=0,height=265,width=600');\n Vendd.Service.call({\n url: 'Auth/FacebookLoginService.svc/GetConfiguration',\n data: {},\n onSuccess: function (res) {\n oauthPopup.location = res.authUrl;\n oauthPopup.focus();\n },\n onFailure: function (ex) {\n oauthPopup.close();\n throw ex;\n }\n });\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 me.Configuration.AppId = AuthProviders.facebook.Configuration.AppId;\n me.Configuration.PageId = AuthProviders.facebook.Configuration.PageId;\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 },\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 = {}, initialSelectColorText, initialSelectSizeText, initialSelectDim3Text;\n\n Quickbuy.addToQuickbuyList = function (productsList, parse) {\n var color;\n for (var n = 0; n < productsList.length; n++) { \n color = \"\";\n\n if (productsList[n].Color) {\n color = \"-\" + productsList[n].Color;\n } else if (productsList[n].DefaultColorId) {\n color = \"-\" + productsList[n].DefaultColorId;\n }\n\n if (parse) {\n productsList[n].Dimensionsjson = JSON.parse(productsList[n].Dimensionsjson);\n productsList[n].PricesBySku = productsList[n].Fields.FinalPrices[0].PricesBySku;\n productsList[n].CountDownPricesBySku = productsList[n].Properties.CountDownOffers;\n }\n\n //update Dimensionsjson - set sku prices from PricesBySku\n _.each(productsList[n].Dimensionsjson.SkuList.Skus, function (item) {\n\n //get skus from object PricesBySku\n var skus = _.keys(productsList[n].PricesBySku);\n //get selected sku for PricesBySku object\n var selectedSku = _.find(skus, function (x) { return item.SkuData.SkuId.toString() === x });\n //update prices\n if (selectedSku) {\n item.SkuData.UnitPrice = productsList[n].PricesBySku[selectedSku].UnitPriceString;\n item.SkuData.UnitPriceWithoutVat = productsList[n].PricesBySku[selectedSku].UnitPriceWithoutVat;\n item.SkuData.DeletedPrice = productsList[n].PricesBySku[selectedSku].DeletedPriceString;\n item.SkuData.DeletedPriceWithoutVat = productsList[n].PricesBySku[selectedSku].DeletedPriceWithoutVat;\n item.SkuData.DiscountPercentage = productsList[n].PricesBySku[selectedSku].DiscountString;\n }\n\n //get selected sku for ountDownPricesBySku object\n var selectedCountDownSku = _.find(productsList[n].CountDownPricesBySku, function (x) { return item.SkuData.SkuId === x.id });\n //update prices\n if (selectedCountDownSku) {\n item.SkuData.CountDownUnitPrice = selectedCountDownSku.netPriceString;\n item.SkuData.CountDownUnitPriceWithoutVat = selectedCountDownSku.netPriceWithoutVat;\n }\n });\n\n QuickbuyList[productsList[n].Id + color] = productsList[n].Dimensionsjson;\n }\n };\n\n Quickbuy.Update = function ($wrapper, model, partial) {\n if (!partial) partial = \"productDimensions\";\n\n var html = Vendd.Handlebars.parse(partial, model);\n $wrapper.html(html);\n };\n\n Quickbuy.initState = function (productId, defaultColor) {\n\n var newState = {}, state;\n\n var customId = productId;\n if (defaultColor) {\n customId = productId + \"-\" + defaultColor;\n }\n\n state = GetDimJson(customId);\n\n if (state == null) return;\n\n newState.Colors = state.Colors;\n newState.Sizes = state.Sizes;\n newState.Dim3 = state.Dim3;\n\n newState.HasColors = state.SkuList.HasColors && state.Colors[0].Id != 0;\n newState.HasSizes = state.SkuList.HasSizes && state.Sizes[0].Id != 0;\n newState.HasDim3 = state.SkuList.HasDim3 && state.Dim3[0].Id != 0;\n\n newState.HasSingleColor = (state.Colors.length == 1 && state.Colors[0].Id != 0) ? true : false;\n newState.HasSingleSize = (state.Sizes.length == 1 && state.Sizes[0].Id != 0) ? true : false;\n newState.HasSingleDim3 = (state.Dim3.length == 1 && state.Dim3[0].Id != 0) ? true : false;\n\n newState.HasSingleDim = (newState.HasColors && !newState.HasSizes && !newState.HasDim3) || (!newState.HasColors && newState.HasSizes && !newState.HasDim3) || (!newState.HasColors && !newState.HasSizes && newState.HasDim3);\n newState.HasTwoDims = (newState.HasColors && newState.HasSizes && !newState.HasDim3) || (newState.HasColors && !newState.HasSizes && newState.HasDim3) || (!newState.HasColors && newState.HasSizes && newState.HasDim3);\n newState.HasThreeDims = newState.HasColors && newState.HasSizes && newState.HasDim3;\n\n newState.SizeDisabled = false;\n newState.Dim3Disabled = false;\n newState.ColorSelected = false;\n newState.SizeSelected = false;\n newState.Dim3Selected = false;\n\n newState.SelectColorText = state.SelectColorText;\n newState.SelectSizeText = state.SelectSizeText;\n newState.SelectDim3Text = state.SelectDim3Text;\n newState.NoAvailableSizesText = state.NoAvailableSizesText;\n newState.NoAvailableDim3Text = state.NoAvailableDim3Text;\n\n initialSelectColorText = state.SelectColorText;\n initialSelectSizeText = state.SelectSizeText;\n initialSelectDim3Text = state.SelectDim3Text;\n\n newState.InitialSelectColorText = initialSelectColorText;\n newState.InitialSelectSizeText = initialSelectSizeText;\n newState.InitialSelectDim3Text = initialSelectDim3Text;\n\n //check cases for new state\n newState.defaultDimId = null;\n newState.createNewColorState = false;\n newState.createNewSizeState = false;\n newState.createNewDim3State = false;\n\n if (newState.HasColors) {\n if (newState.HasSingleDim || newState.HasSingleColor) {\n newState.createNewColorState = true;\n if (newState.HasSingleColor) {\n newState.defaultDimId = newState.Colors[0].Id;\n }\n }\n } else {\n if (newState.HasSizes) {\n if (newState.HasSingleDim || newState.HasSingleSize) {\n newState.createNewSizeState = true;\n if (newState.HasSingleSize) {\n newState.defaultDimId = newState.Sizes[0].Id;\n }\n }\n } else {\n if (newState.HasDim3) {\n if (newState.HasSingleDim || newState.HasSingleDim3) {\n newState.createNewDim3State = true;\n if (newState.HasSingleDim3) {\n newState.defaultDimId = newState.Dim3[0].Id;\n }\n }\n }\n }\n }\n\n return newState;\n };\n\n Quickbuy.createNewState = function (wrapper, dimId, productId, defaultColor, type) {\n var availableDimList;\n\n var customId = productId;\n if (defaultColor) {\n customId = productId + \"-\" + defaultColor;\n }\n\n var json = GetDimJson(customId); \n var skus = json.SkuList.Skus;\n var state = wrapper.model;\n\n if (type === 'color') {\n\n UpdateSelectedItems(state, dimId, type);\n \n wrapper.SelectedColorId = dimId;\n\n if (!state.HasSingleSize)\n wrapper.SelectedSizeId = null;\n if (!state.HasSingleDim3)\n wrapper.SelectedDim3Id = null;\n\n if (state.HasSizes) {\n //get available sizes based on color\n availableDimList = _.first(_.filter(state.Colors, function (x) { return x.Id === dimId })).AvailableSizes;\n\n //create an object in order to store sizes\n state.Sizes = [];\n _.each(availableDimList, function (dim) { state.Sizes.push(_.find(json.Sizes, function (x) { return x.Id === dim })) });\n\n //check for disabled dimensions\n state.SizeDisabled = true;\n for (var i = 0; i < state.Sizes.length; i++) {\n state.Sizes[i].IsSelected = false;\n\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 }\n }\n }\n } else if (state.HasDim3) {\n //get available dim3 based on color\n availableDimList = _.first(_.filter(state.Colors, function (x) { return x.Id === dimId })).AvailableDim3;\n\n //create an object in order to store dim3\n state.Dim3 = [];\n _.each(availableDimList, function (dim) { state.Dim3.push(_.find(json.Dim3, function (x) { return x.Id === dim })) });\n\n //check for disabled dimensions\n state.Dim3Disabled = true;\n for (var i = 0; i < state.Dim3.length; i++) {\n state.Dim3[i].IsSelected = false;\n\n for (var j = 0; j < skus.length; j++) {\n if (skus[j].ColorId == dimId && skus[j].Dim3Id == state.Dim3[i].Id) {\n state.Dim3[i].Disabled = !skus[j].SkuData.CanBuy;\n\n if (state.Dim3Disabled && skus[j].SkuData.CanBuy) {\n state.Dim3Disabled = false;\n }\n }\n }\n }\n\n } else {\n //check for disabled colors\n state.ColorDisabled = true;\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) {\n state.Colors[i].Disabled = !skus[j].SkuData.CanBuy;\n\n if (state.ColorDisabled && skus[j].SkuData.CanBuy) {\n state.ColorDisabled = false;\n }\n }\n }\n }\n }\n \n\n } else if (type === 'size') {\n\n UpdateSelectedItems(state, dimId, type);\n\n wrapper.SelectedSizeId = dimId;\n\n if (!state.HasSingleDim3)\n wrapper.SelectedDim3Id = null;\n\n if (state.HasDim3) {\n //get available dim3 based on size\n availableDimList = _.first(_.filter(state.Sizes, function (x) { return x.Id === dimId })).AvailableDim3s;\n\n //create an object in order to store dim3\n state.Dim3 = [];\n if (state.HasThreeDims) {\n for (var i = 0; i < availableDimList.length; i++) {\n var Dim3Arr = _.find(json.Dim3, function (x) { return x.Id === availableDimList[i] });\n //loop each sku in order to insert only the available dim3 based on selected color and size\n for (var j = 0; j < skus.length; j++) {\n if (state.HasThreeDims && skus[j].ColorId == wrapper.SelectedColorId && skus[j].SizeId == dimId && skus[j].Dim3Id == Dim3Arr.Id) {\n state.Dim3.push(Dim3Arr);\n }\n }\n }\n } else {\n _.each(availableDimList, function (dim) { state.Dim3.push(_.find(json.Dim3, function (x) { return x.Id === dim })) });\n }\n \n //check for disabled dimensions\n state.Dim3Disabled = true;\n for (var i = 0; i < state.Dim3.length; i++) {\n state.Dim3[i].IsSelected = false;\n\n for (var j = 0; j < skus.length; j++) {\n if ((state.HasThreeDims && skus[j].ColorId == wrapper.SelectedColorId && skus[j].SizeId == dimId && skus[j].Dim3Id == state.Dim3[i].Id) ||\n (state.HasTwoDims && skus[j].SizeId == dimId && skus[j].Dim3Id == state.Dim3[i].Id))\n {\n state.Dim3[i].Disabled = !skus[j].SkuData.CanBuy;\n\n if (state.Dim3Disabled && skus[j].SkuData.CanBuy) {\n state.Dim3Disabled = false;\n }\n }\n }\n }\n } else {\n //check for disabled sizes\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].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 }\n }\n }\n }\n\n } else if (type === 'dim3') {\n\n UpdateSelectedItems(state, dimId, type);\n wrapper.SelectedDim3Id = dimId;\n }\n\n return state;\n };\n\n Quickbuy.GetSkuData = function (wrapper, productId, defaultColor, colorId, sizeid, dim3id) {\n var state = wrapper.model;\n\n var customId = productId;\n if (defaultColor) customId = productId + \"-\" + defaultColor;\n\n var product = GetDimJson(customId);\n\n if (product == null)\n return null;\n\n var skuData;\n\n if (state.HasSingleDim) {\n if (state.HasColors) {\n skuData = _.find(product.SkuList.Skus, function (x) { return x.ColorId === colorId });\n } else if (state.HasSizes) {\n skuData = _.find(product.SkuList.Skus, function (x) { return x.SizeId === sizeid });\n } else if (state.HasDim3) {\n skuData = _.find(product.SkuList.Skus, function (x) { return x.Dim3Id === dim3id });\n }\n }\n\n if (state.HasTwoDims) {\n if (state.HasColors && state.HasSizes) {\n skuData = _.find(product.SkuList.Skus, function (x) { return x.ColorId === colorId && x.SizeId === sizeid });\n } else if (state.HasColors && state.HasDim3) {\n skuData = _.find(product.SkuList.Skus, function (x) { return x.ColorId === colorId && x.Dim3Id === dim3id });\n } else if (state.HasSizes && state.HasDim3) {\n skuData = _.find(product.SkuList.Skus, function (x) { return x.SizeId === sizeid && x.Dim3Id === dim3id });\n }\n }\n\n if (state.HasThreeDims) {\n skuData = _.find(product.SkuList.Skus, function (x) { return x.ColorId === colorId && x.SizeId === sizeid && x.Dim3Id === dim3id });\n }\n\n return skuData;\n };\n\n var GetDimJson = function (productId) {\n return ($.isEmptyObject(QuickbuyList)) ? null : QuickbuyList[productId];\n };\n\n var UpdateSelectedItems = function (state, dimId, type) {\n var arr;\n\n if (type === 'color') {\n arr = state.Colors;\n } else if (type === 'size') {\n arr = state.Sizes;\n } else if (type === 'dim3') {\n arr = state.Dim3;\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 (type === 'color') {\n state.SelectColorText = arr[i].Name;\n state.SelectSizeText = initialSelectSizeText;\n state.SelectDim3Text = initialSelectDim3Text;\n state.ColorSelected = true;\n state.SizeSelected = false;\n } else if (type === 'size') {\n state.SelectSizeText = arr[i].Name;\n state.SelectDim3Text = initialSelectDim3Text;\n state.SizeSelected = true;\n state.Dim3Selected = false;\n } else if (type === 'dim3') {\n state.SelectDim3Text = arr[i].Name;\n state.Dim3Selected = true;\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 Cookies.remove('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.ProductCompareAdded(response));\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.ProductCompareRemoved(response));\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\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 return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.ElasticSearch.Messages.GetElasticSuggestions, Vendd.ElasticSearch, function (envelope) {\n\n var options = {\n url: document.location.protocol.toLowerCase() + \"//\" + document.location.host.toLowerCase() + \"/api/search/suggest\",\n data: {\n queryTerm: envelope.message.data.queryTerm,\n size: envelope.message.data.size,\n since: envelope.message.data.since,\n case: envelope.message.data.case,\n fuzziness: envelope.message.data.fuzziness,\n source: envelope.message.data.source\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n var request = { request: options.data };\n _.extend(response, request);\n\n Vendd.MessageBus.publishAsync(Vendd.ElasticSearch, new Vendd.ElasticSearch.Messages.GetElasticSuggestionsSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.ElasticSearch, new Vendd.ElasticSearch.Messages.GetElasticSuggestionsFailed(response));\n }\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.ElasticSearch.Messages.GetFiltersElasticResults, Vendd.ElasticSearch, function (envelope) {\n\n var options = {\n url: document.getElementById(\"base_engine\").href + \"esqueryfiltervalues\",\n data: {\n type: \"products\",\n query: envelope.message.data.searchTerm,\n path: envelope.message.data.path ? envelope.message.data.path : \"/\",\n filters: envelope.message.data.filters,\n baseuri: envelope.message.data.baseuri\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.ElasticSearch, new Vendd.ElasticSearch.Messages.GetFiltersElasticResultsSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.ElasticSearch, new Vendd.ElasticSearch.Messages.GetFiltersElasticResultsFailed(response));\n }\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.ElasticSearch.Messages.GetCategoryElasticResults, Vendd.ElasticSearch, function (envelope) {\n\n\t\tvar options = {\n url: document.getElementById(\"base_engine\").href + \"esqueryindex\" + \"?hidefromsearch=1\",\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},\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 options = {\n url: document.getElementById(\"base_engine\").href + \"esqueryindex\" + (envelope.message.data.query ? envelope.message.data.query : \"\") + \"?hidefromsearch=1\",\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 es_fields: envelope.message.data.fields ? envelope.message.data.fields : \"\",\n es_geo_window: envelope.message.data.geo_window ? envelope.message.data.geo_window : \"\"\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n //extend data options with filters\n if (envelope.message.data.filters) _.extend(options.data, envelope.message.data.filters);\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 Vendd.MessageBus.subscribe(Vendd.ElasticSearch.Messages.GetArticleElasticResults, Vendd.ElasticSearch, function (envelope) {\n\n var options = {\n url: document.getElementById(\"base_engine\").href + \"esqueryindex\" + \"?hidefromsearch=1\",\n data: {\n type: \"articles\",\n query: envelope.message.data.searchTerm,\n pagefrom: envelope.message.data.pageFrom,\n pagesize: envelope.message.data.pageSize\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.ElasticSearch, new Vendd.ElasticSearch.Messages.GetArticleElasticResultsSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.ElasticSearch, new Vendd.ElasticSearch.Messages.GetArticleElasticResultsFailed(response));\n }\n\n Vendd.Service.call(options);\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 pageSize: envelope.message.data.pageSize,\n pageNumber: envelope.message.data.pageNumber\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n\n Vendd.MessageBus.subscribe(Vendd.Search.Messages.GetProductSuggestiveElasticResults, Vendd.Search, function (envelope) {\n\n var options = {\n url: document.getElementById(\"base_engine\").href + \"esqueryindex\" + (envelope.message.data.query ? envelope.message.data.query : \"\") + \"?hidefromsearch=1\",\n data: {\n type: \"products\",\n query: envelope.message.data.searchTerm,\n pagefrom: envelope.message.data.pageFrom,\n pagesize: envelope.message.data.pageSize\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Search, new Vendd.Search.Messages.GetProductSuggestiveResultsElasticSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Search, new Vendd.Search.Messages.GetProductSuggestiveResultsElasticFailed(response));\n }\n\n Vendd.Service.call(options);\n });\n return Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n var state = {\n ItemId: LhApp.Context.Item.Id\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 calculateDistances = function (data, sender) {\n var sourcePoint = data.source.trim();\n data.DistanceMeasured = false;\n data.TotalFindInRange = 0;\n \ttry { \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 var destinations = [];\n var index = 0;\n for (var group = 0; group < data.array.length; group++) {\n for (var i = 0; i < data.array[group].Items.length; i++ , index++) {\n var elem = data.array[group].Items[i];\n destinations[index] = new google.maps.LatLng(parseFloat(elem.Latitude.trim()), parseFloat(elem.Longitude.trim()));\n }\n }\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 Vendd.MessageBus.publishAsync(Vendd.Store, new Vendd.Store.Messages.CalculateDistancesSuccess(data, sender));\n \t\tconsole.log(ex);\n \t}\n \tfunction onSuccess(response, status) {\n if (data) {\n try {\n var index = 0;\n var withinRange = 0;\n for (var group = 0; group < data.array.length; group++) {\n for (var i = 0; i < data.array[group].Items.length; i++ , index++) {\n var distance;\n var distanceString = \"\";\n var duration;\n var durationString = \"\";\n var warehouse = data.array[group].Items[i];\n var elem = response.rows[0].elements[index];\n if (elem.status === \"OK\") {\n distance = elem.distance.value;\n distanceString = elem.distance.text;\n duration = elem.duration.value;\n durationString = elem.duration.text;\n } else {\n distance = Number.MAX_SAFE_INTEGER;\n }\n if (distance && distance <= data.maxDistance) {\n withinRange++;\n warehouse.IsWithinRange = true;\n //isWithinRange = true;\n } else {\n warehouse.IsWithinRange = false;\n //isWithinRange = false;\n }\n warehouse.Distance = distance;\n warehouse.DistanceString = distanceString;\n warehouse.Duration = duration;\n warehouse.DurationString = durationString;\n }\n }\n data.DistanceMeasured = true;\n data.TotalFindInRange = withinRange;\n } catch (ex) {\n data.DistanceMeasured = false;\n }\n }\n Vendd.MessageBus.publishAsync(Vendd.Store, new Vendd.Store.Messages.CalculateDistancesSuccess(data, sender));\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.resetFilters, Vendd.Store, function () {\n var data = {\n CountryCode: \"\",\n Continent: \"\", \n City: \"\",\n Area: \"\",\n TypeId: 0,\n SearchTerm: \"\", \n PostCode: \"\"\n };\n\n getStoresForm(data);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.resetLocationFilters, Vendd.Store, function () {\n var data = {\n CountryCode: \"\",\n Continent: \"\", \n City: \"\",\n Area: \"\"\n };\n\n getStoresForm(data);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.SetContinent, Vendd.Store, function (envelope) {\n var data = { \n CountryCode: \"\",\n Continent: envelope.message.data.continent,\n City: \"\",\n Area: \"\",\n TypeId: 0\n };\n\n getStoresForm(data);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.SetCountry, Vendd.Store, function (envelope) {\n var data = {\n CountryCode: envelope.message.data.country,\n City: \"\",\n Area: \"\",\n TypeId: 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 TypeId: 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 TypeId: 0\n };\n\n getStoresForm(data);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.SetType, Vendd.Store, function (envelope) {\n var data = {\n TypeId: envelope.message.data.type\n };\n\n getStoresForm(data);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.CalculateDistances, Vendd.Store, function (envelope) {\n calculateDistances(envelope.message.data, envelope.sender);\n });\n \n Vendd.MessageBus.subscribe(Vendd.Store.Messages.GetCountries, Vendd.Store, function (envelope) {\n var options = {\n url: 'api/StoreLocator/GetCountries',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Store, new Vendd.Store.Messages.GetCountriesSuccess(response.data));\n\t\t}\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Store, new Vendd.Store.Messages.GetCountriesFailure(response.data));\n\t\t}\n\n\t\tVendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.SearchResults, Vendd.Store, function (envelope) {\n var options = {\n url: 'api/StoreLocator/SearchPOI',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Store, new Vendd.Store.Messages.SearchResultsSuccess(response.data));\n\t\t}\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Store, new Vendd.Store.Messages.SearchResultsFailure(response.data));\n\t\t}\n\n\t\tVendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.QueryPartners, Vendd.Store, function (envelope) {\n var options = {\n url: 'api/StoreLocator/QueryPartners',\n data: envelope.message.data.model,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Store, new Vendd.Store.Messages.QueryPartnersSuccess(response.data));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Store, new Vendd.Store.Messages.QueryPartnersFailure(response.data));\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.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 url: 'CommonService.svc/ContactSubmit',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Contact, new Vendd.Contact.Messages.SubmitSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Contact, new Vendd.Contact.Messages.SubmitFailure(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.Newsletter = (function (Newsletter) {\n\n Newsletter.Messages = (function (Messages) {\n\n Messages.Subscribe = function (email, subscriptionType, apiKey, mailparams, mailLists, gender) {\n\n var data = {\n email: email,\n subscriptionType: subscriptionType,\n apiKey: apiKey,\n mailparams: mailparams || {},\n mailLists: mailLists,\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 var clientModel = Vendd.User && Vendd.User.GetClientModel();\n if (clientModel && clientModel.IsAuthenticated)\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.User = (function (User) {\n\n var pending = false;\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionState, Vendd.User, function (envelope) {\n if (pending === true) {\n return false; //get session cannot run twice\n };\n\n function onSuccess(response) {\n Vendd.User.SessionState = response;\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetSessionStateSuccess(Vendd.User.SessionState));\n };\n\n function onFailure(response) {\n Vendd.User.SessionState = { IsNewSession: true };\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetSessionStateSuccess(Vendd.User.SessionState));\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 User;\n\n })(Vendd.User || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t'use strict';\n\n\tVendd.ProjectAgora = (function (ProjectAgora) {\n\n\t\tProjectAgora.Messages = (function (Messages) {\n\n\t\t\tMessages.GetBanner = function (widgetId, searchTerm, categoryPathComponents) {\n\t\t\t\tsearchTerm = searchTerm || '';\n\t\t\t\tcategoryPathComponents = categoryPathComponents || '';\n\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.ProjectAgora.Messages.GetBanner', {\n\t\t\t\t\twidgetId: widgetId,\n\t\t\t\t\tfilters: {\n\t\t\t\t\t\tSearchTerm: searchTerm,\n\t\t\t\t\t\tCategoryPathComponents: (categoryPathComponents.length) ? categoryPathComponents.split(',') : []\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t};\n\t\t\tMessages.GetBanner.className = 'Vendd.ProjectAgora.Messages.GetBanner';\n\n\t\t\tMessages.GetBannerSuccess = function (widgetId, model) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.ProjectAgora.Messages.GetBannerSuccess', {\n\t\t\t\t\twidgetId: widgetId,\n\t\t\t\t\tmodel: model\n\t\t\t\t});\n\t\t\t};\n\t\t\tMessages.GetBannerSuccess.className = 'Vendd.ProjectAgora.Messages.GetBannerSuccess';\n\n\t\t\tMessages.GetBannerFailure = function (widgetId, error) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.ProjectAgora.Messages.GetBannerFailure', {\n\t\t\t\t\twidgetId: widgetId,\n\t\t\t\t\terror: error\n\t\t\t\t});\n\t\t\t};\n\t\t\tMessages.GetBannerFailure.className = 'Vendd.ProjectAgora.Messages.GetBannerFailure';\n\n\t\t\tMessages.TrackBannerImpression = function (bannerId) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.ProjectAgora.Messages.TrackBannerImpression', {\n\t\t\t\t\tbannerId: bannerId\n\t\t\t\t});\n\t\t\t};\n\t\t\tMessages.TrackBannerImpression.className = 'Vendd.ProjectAgora.Messages.TrackBannerImpression';\n\n\t\t\treturn Messages;\n\n\t\t})(ProjectAgora.Messages || {});\n\n\t\treturn ProjectAgora;\n\n\t})(Vendd.ProjectAgora || {});\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t'use strict';\n\n\tVendd.Installments = (function (Installments) {\n\n\t\tInstallments.Messages = (function (Messages) {\n\n\t\t\tMessages.GetInstallmentsData = function (totalCost, productCost, preferredPaymentMethodId) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.Installments.Messages.GetInstallmentsData', {\n\t\t\t\t\ttotalCost: totalCost,\n\t\t\t\t\tproductCost: productCost,\n\t\t\t\t\tpreferredPaymentMethodId: parseInt(preferredPaymentMethodId)\n\t\t\t\t});\n\t\t\t};\n\t\t\tMessages.GetInstallmentsData.className = 'Vendd.Installments.Messages.GetInstallmentsData';\n\n\t\t\tMessages.GetInstallmentsDataSuccess = function (response) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.Installments.Messages.GetInstallmentsDataSuccess', response);\n\t\t\t};\n\t\t\tMessages.GetInstallmentsDataSuccess.className = 'Vendd.Installments.Messages.GetInstallmentsDataSuccess';\n\n\t\t\tMessages.GetInstallmentsDataFailed = function (response) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.Installments.Messages.GetInstallmentsDataFailed', response);\n\t\t\t};\n\t\t\tMessages.GetInstallmentsDataFailed.className = 'Vendd.Installments.Messages.GetInstallmentsDataFailed';\n\n\t\t\treturn Messages;\n\n\t\t})(Installments.Messages || {});\n\n\t\treturn Installments;\n\n\t})(Vendd.Installments || {});\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.LuckyDraw = (function (LuckyDraw) {\n\n LuckyDraw.Messages = (function (Messages) {\n\n Messages.Draw = function (userEmail, userIdentifier) {\n var data = {\n email: userEmail,\n userGuid: userIdentifier\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.LuckyDraw.Messages.Draw', data);\n };\n Messages.Draw.className = 'Vendd.LuckyDraw.Messages.Draw';\n\n Messages.DrawSuccess = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.LuckyDraw.Messages.DrawSuccess', response);\n };\n Messages.DrawSuccess.className = 'Vendd.LuckyDraw.Messages.DrawSuccess';\n\n Messages.DrawFailure = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.LuckyDraw.Messages.DrawFailure', response);\n };\n Messages.DrawFailure.className = 'Vendd.LuckyDraw.Messages.DrawFailure';\n\n // GetSegmentsAndCurrentBalance\n Messages.GetSegmentsAndCurrentBalance = function () {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.LuckyDraw.Messages.GetSegmentsAndCurrentBalance');\n\n };\n Messages.GetSegmentsAndCurrentBalance.className = 'Vendd.LuckyDraw.Messages.GetSegmentsAndCurrentBalance';\n\n Messages.GetSegmentsAndCurrentBalanceSuccess = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.LuckyDraw.Messages.GetSegmentsAndCurrentBalanceSuccess', response);\n };\n Messages.GetSegmentsAndCurrentBalanceSuccess.className = 'Vendd.LuckyDraw.Messages.GetSegmentsAndCurrentBalanceSuccess';\n\n Messages.GetSegmentsAndCurrentBalanceFailure = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.LuckyDraw.Messages.GetSegmentsAndCurrentBalanceFailure', response);\n };\n Messages.GetSegmentsAndCurrentBalanceFailure.className = 'Vendd.LuckyDraw.Messages.GetSegmentsAndCurrentBalanceFailure';\n\n return Messages;\n\n })(LuckyDraw.Messages || {});\n\n return LuckyDraw;\n\n })(Vendd.LuckyDraw || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t'use strict';\n\n\tVendd.WarehouseSelector = (function (WarehouseSelector) {\n\n\t\tWarehouseSelector.Messages = (function (Messages) {\n\n\t\t\tMessages.GetModel = function () {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetModel', {});\n\t\t\t};\n\t\t\tMessages.GetModel.className = 'Vendd.WarehouseSelector.Messages.GetModel';\n\n\t\t\tMessages.GetModelSuccess = function (response) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetModelSuccess', response);\n\t\t\t};\n\t\t\tMessages.GetModelSuccess.className = 'Vendd.WarehouseSelector.Messages.GetModelSuccess';\n\n\t\t\tMessages.GetModelFailed = function (response) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetModelFailed', response);\n\t\t\t};\n\t\t\tMessages.GetModelFailed.className = 'Vendd.WarehouseSelector.Messages.GetModelFailed';\n\n\n\t\t\tMessages.GetPopupModel = function () {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetPopupModel', {});\n\t\t\t};\n\t\t\tMessages.GetPopupModel.className = 'Vendd.WarehouseSelector.Messages.GetPopupModel';\n\n\t\t\tMessages.GetPopupModelSuccess = function (response) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetPopupModelSuccess', response);\n\t\t\t};\n\t\t\tMessages.GetPopupModelSuccess.className = 'Vendd.WarehouseSelector.Messages.GetPopupModelSuccess';\n\n\t\t\tMessages.GetPopupModelFailed = function (response) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetPopupModelFailed', response);\n\t\t\t};\n\t\t\tMessages.GetPopupModelFailed.className = 'Vendd.WarehouseSelector.Messages.GetPopupModelFailed';\n\n\n\t\t\tMessages.OpenPopup = function () {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.OpenPopup', {});\n\t\t\t};\n\t\t\tMessages.OpenPopup.className = 'Vendd.WarehouseSelector.Messages.OpenPopup';\n\n\n\t\t\tMessages.ClosePopup = function () {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.ClosePopup', {});\n\t\t\t};\n\t\t\tMessages.ClosePopup.className = 'Vendd.WarehouseSelector.Messages.ClosePopup';\n\n\n\t\t\tMessages.StateChanged = function (state) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.StateChanged', {\n\t\t\t\t\tstate: state\n\t\t\t\t});\n\t\t\t};\n\t\t\tMessages.StateChanged.className = 'Vendd.WarehouseSelector.Messages.StateChanged';\n\n\n\t\t\tMessages.GetGeoAreas = function (postCode) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetGeoAreas', {\n\t\t\t\t\tPostalCode: postCode\n\t\t\t\t});\n\t\t\t};\n\t\t\tMessages.GetGeoAreas.className = 'Vendd.WarehouseSelector.Messages.GetGeoAreas';\n\n\t\t\tMessages.GetGeoAreasSuccess = function (response) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetGeoAreasSuccess', response);\n\t\t\t};\n\t\t\tMessages.GetGeoAreasSuccess.className = 'Vendd.WarehouseSelector.Messages.GetGeoAreasSuccess';\n\n\t\t\tMessages.GetGeoAreasFailed = function (response) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetGeoAreasFailed', response);\n\t\t\t};\n\t\t\tMessages.GetGeoAreasFailed.className = 'Vendd.WarehouseSelector.Messages.GetGeoAreasFailed';\n\n\n\t\t\tMessages.GetStoresByPostCode = function (postCode) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetStoresByPostCode', {\n\t\t\t\t\tPostalCode: postCode\n\t\t\t\t});\n\t\t\t};\n\t\t\tMessages.GetStoresByPostCode.className = 'Vendd.WarehouseSelector.Messages.GetStoresByPostCode';\n\n\t\t\tMessages.GetStoresByGeoArea = function (postCode, geoAreaId) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetStoresByGeoArea', {\n\t\t\t\t\tPostalCode: postCode,\n\t\t\t\t\tGeoAreaId: geoAreaId\n\t\t\t\t});\n\t\t\t};\n\t\t\tMessages.GetStoresByGeoArea.className = 'Vendd.WarehouseSelector.Messages.GetStoresByGeoArea';\n\n\t\t\tMessages.GetStoresByLocation = function (location) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetStoresByLocation', {\n\t\t\t\t\tLocation: location\n\t\t\t\t});\n\t\t\t};\n\t\t\tMessages.GetStoresByLocation.className = 'Vendd.WarehouseSelector.Messages.GetStoresByLocation';\n\n\t\t\tMessages.GetStoresSuccess = function (response) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetStoresSuccess', response);\n\t\t\t};\n\t\t\tMessages.GetStoresSuccess.className = 'Vendd.WarehouseSelector.Messages.GetStoresSuccess';\n\n\t\t\tMessages.GetStoresFailed = function (response) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetStoresFailed', response);\n\t\t\t};\n\t\t\tMessages.GetStoresFailed.className = 'Vendd.WarehouseSelector.Messages.GetStoresFailed';\n\n\n\t\t\tMessages.SetDeliveryShippingMethod = function () {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.SetDeliveryShippingMethod', {});\n\t\t\t};\n\t\t\tMessages.SetDeliveryShippingMethod.className = 'Vendd.WarehouseSelector.Messages.SetDeliveryShippingMethod';\n\n\n\t\t\tMessages.SetFromStoreShippingMethod = function (storeId) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.SetFromStoreShippingMethod', {\n\t\t\t\t\tPreferredStoreId: storeId\n\t\t\t\t});\n\t\t\t};\n\t\t\tMessages.SetFromStoreShippingMethod.className = 'Vendd.WarehouseSelector.Messages.SetFromStoreShippingMethod';\n\n\t\t\tMessages.SetShippingMethodSuccess = function (response) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.SetShippingMethodSuccess', response);\n\t\t\t};\n\t\t\tMessages.SetShippingMethodSuccess.className = 'Vendd.WarehouseSelector.Messages.SetShippingMethodSuccess';\n\n\t\t\tMessages.SetShippingMethodFailed = function (response) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.SetShippingMethodFailed', response);\n\t\t\t};\n\t\t\tMessages.SetShippingMethodFailed.className = 'Vendd.WarehouseSelector.Messages.SetShippingMethodFailed';\n\n\t\t\treturn Messages;\n\n\t\t})(WarehouseSelector.Messages || {});\n\n\t\treturn WarehouseSelector;\n\n\t})(Vendd.WarehouseSelector || {});\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.LoginOrder = (function (LoginOrder) {\n\n LoginOrder.Messages = (function (Messages) {\n\n Messages.ValidateLoginOrder = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.LoginOrder.Messages.ValidateLoginOrder\", data);\n };\n Messages.ValidateLoginOrder.className = \"Vendd.LoginOrder.Messages.ValidateLoginOrder\";\n\n\n Messages.ValidateLoginOrderSuccess = function (orderid) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.LoginOrder.Messages.ValidateLoginOrderSuccess\", orderid);\n };\n Messages.ValidateLoginOrderSuccess.className = \"Vendd.LoginOrder.Messages.ValidateLoginOrderSuccess\";\n\n\n Messages.ValidateLoginOrderFailure = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.LoginOrder.Messages.ValidateLoginOrderFailure\", data);\n };\n Messages.ValidateLoginOrderFailure.className = \"Vendd.LoginOrder.Messages.ValidateLoginOrderFailure\";\n\n Messages.ValidateLoginOrderError = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.LoginOrder.Messages.ValidateLoginOrderError\", data);\n };\n Messages.ValidateLoginOrderError.className = \"Vendd.LoginOrder.Messages.ValidateLoginOrderError\";\n\n return Messages;\n\n })(LoginOrder.Messages || {});\n\n return LoginOrder;\n\n })(Vendd.LoginOrder || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MyConfigurations = (function (MyConfigurations) {\n\n MyConfigurations.Messages = (function (Messages) {\n\n Messages.GetModel = function () {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.MyConfigurations.Messages.GetModel', null);\n };\n Messages.GetModel.className = 'Vendd.MyConfigurations.Messages.GetModel';\n\n Messages.GetModelFailed = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.MyConfigurations.Messages.GetModelFailed', response);\n };\n Messages.GetModelFailed.className = 'Vendd.MyConfigurations.Messages.GetModelFailed';\n\n Messages.GetModelSuccess = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.MyConfigurations.Messages.GetModelSuccess', response);\n };\n Messages.GetModelSuccess.className = 'Vendd.MyConfigurations.Messages.GetModelSuccess';\n\n\n\n Messages.Remove = function (Id) {\n var data = {\n Id: Id\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.MyConfigurations.Messages.Remove', data);\n };\n Messages.Remove.className = 'Vendd.MyConfigurations.Messages.Remove';\n\n Messages.RemoveSuccess = function (Id) {\n var data = {\n Id: Id\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.MyConfigurations.Messages.RemoveSuccess', Id);\n };\n Messages.RemoveSuccess.className = 'Vendd.MyConfigurations.Messages.RemoveSuccess';\n\n Messages.RemoveFailed = function (model) {\n var data = {\n Id: Id\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.MyConfigurations.Messages.RemoveFailed', data);\n };\n Messages.RemoveFailed.className = 'Vendd.MyConfigurations.Messages.RemoveFailed';\n\n\n\n Messages.ConfirmInventory = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.MyConfigurations.Messages.ConfirmInventory');\n };\n Messages.ConfirmInventory.className = 'Vendd.MyConfigurations.Messages.ConfirmInventory';\n\n Messages.ConfirmInventorySuccess = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.MyConfigurations.Messages.ConfirmInventorySuccess');\n };\n Messages.ConfirmInventorySuccess.className = 'Vendd.MyConfigurations.Messages.ConfirmInventorySuccess';\n\n Messages.ConfirmInventoryFailed = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.MyConfigurations.Messages.ConfirmInventoryFailed');\n };\n Messages.ConfirmInventoryFailed.className = 'Vendd.MyConfigurations.Messages.ConfirmInventoryFailed';\n\n return Messages;\n\n })(MyConfigurations.Messages || {});\n\n return MyConfigurations;\n\n })(Vendd.MyConfigurations || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.SalesRegistrationSystem = (function (SalesRegistrationSystem) {\n\n SalesRegistrationSystem.Messages = (function (Messages) {\n\n Messages.GetModel = function () {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.SalesRegistrationSystem.Messages.GetModel', null);\n };\n Messages.GetModel.className = 'Vendd.SalesRegistrationSystem.Messages.GetModel';\n\n Messages.GetModelFailed = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.SalesRegistrationSystem.Messages.GetModelFailed', response);\n };\n Messages.GetModelFailed.className = 'Vendd.SalesRegistrationSystem.Messages.GetModelFailed';\n\n Messages.GetModelSuccess = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.SalesRegistrationSystem.Messages.GetModelSuccess', response);\n };\n Messages.GetModelSuccess.className = 'Vendd.SalesRegistrationSystem.Messages.GetModelSuccess';\n\n return Messages;\n\n })(SalesRegistrationSystem.Messages || {});\n\n return SalesRegistrationSystem;\n\n })(Vendd.SalesRegistrationSystem || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.StockTrackerSystem = (function (StockTrackerSystem) {\n\n StockTrackerSystem.Messages = (function (Messages) {\n\n Messages.GetModel = function () {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.GetModel', null);\n };\n Messages.GetModel.className = 'Vendd.StockTrackerSystem.Messages.GetModel';\n\n Messages.GetModelFailed = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.GetModelFailed', response);\n };\n Messages.GetModelFailed.className = 'Vendd.StockTrackerSystem.Messages.GetModelFailed';\n\n Messages.GetModelSuccess = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.GetModelSuccess', response);\n };\n Messages.GetModelSuccess.className = 'Vendd.StockTrackerSystem.Messages.GetModelSuccess';\n\n\n\n Messages.Remove = function (VinNumber) {\n var data = {\n VinNumber: VinNumber\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.Remove', data);\n };\n Messages.Remove.className = 'Vendd.StockTrackerSystem.Messages.Remove';\n\n Messages.RemoveSuccess = function (VinNumber) {\n var data = {\n VinNumber: VinNumber\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.RemoveSuccess', VinNumber);\n };\n Messages.RemoveSuccess.className = 'Vendd.StockTrackerSystem.Messages.RemoveSuccess';\n\n Messages.RemoveFailed = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.RemoveFailed', data);\n };\n Messages.RemoveFailed.className = 'Vendd.StockTrackerSystem.Messages.RemoveFailed';\n\n\n\n Messages.ConfirmInventory = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.ConfirmInventory');\n };\n Messages.ConfirmInventory.className = 'Vendd.StockTrackerSystem.Messages.ConfirmInventory';\n\n Messages.ConfirmInventorySuccess = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.ConfirmInventorySuccess');\n };\n Messages.ConfirmInventorySuccess.className = 'Vendd.StockTrackerSystem.Messages.ConfirmInventorySuccess';\n\n Messages.ConfirmInventoryFailed = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.ConfirmInventoryFailed');\n };\n Messages.ConfirmInventoryFailed.className = 'Vendd.StockTrackerSystem.Messages.ConfirmInventoryFailed';\n\n Messages.UndoConfirmInventory = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.UndoConfirmInventory');\n };\n Messages.UndoConfirmInventory.className = 'Vendd.StockTrackerSystem.Messages.UndoConfirmInventory';\n\n Messages.UndoConfirmInventorySuccess = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.UndoConfirmInventorySuccess');\n };\n Messages.UndoConfirmInventorySuccess.className = 'Vendd.StockTrackerSystem.Messages.UndoConfirmInventorySuccess';\n\n Messages.UndoConfirmInventoryFailed = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.UndoConfirmInventoryFailed');\n };\n Messages.UndoConfirmInventoryFailed.className = 'Vendd.StockTrackerSystem.Messages.UndoConfirmInventoryFailed';\n\n\n\n Messages.GetSubPartners = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.GetSubPartners', null);\n };\n Messages.GetSubPartners.className = 'Vendd.StockTrackerSystem.Messages.GetSubPartners';\n\n Messages.GetSubPartnersSuccess = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.GetSubPartnersSuccess', data);\n };\n Messages.GetSubPartnersSuccess.className = 'Vendd.StockTrackerSystem.Messages.GetSubPartnersSuccess';\n\n Messages.GetSubPartnersFailed = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.GetSubPartnersFailed', data);\n };\n Messages.GetSubPartnersFailed.className = 'Vendd.StockTrackerSystem.Messages.GetSubPartnersFailed';\n\n\n\n Messages.ChangePartner = function (vinNumber, partnerItemId) {\n var data = {\n ProductIdentifier: vinNumber,\n PartnerItemId: partnerItemId\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.ChangePartner', data);\n };\n Messages.ChangePartner.className = 'Vendd.StockTrackerSystem.Messages.ChangePartner';\n\n Messages.ChangePartnerSuccess = function (VinNumber) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.ChangePartnerSuccess', VinNumber);\n };\n Messages.ChangePartnerSuccess.className = 'Vendd.StockTrackerSystem.Messages.ChangePartnerSuccess';\n\n Messages.ChangePartnerFailed = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.ChangePartnerFailed', data);\n };\n Messages.ChangePartnerFailed.className = 'Vendd.StockTrackerSystem.Messages.ChangePartnerFailed';\n\n \n return Messages;\n\n })(StockTrackerSystem.Messages || {});\n\n return StockTrackerSystem;\n\n })(Vendd.StockTrackerSystem || {});\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, reCaptchaCode) {\n var data = {\n orderCode: orderCode,\n orderPhone: orderPhone,\n reCaptchaCode: reCaptchaCode\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.RequestOffer = (function (RequestOffer) {\n\n RequestOffer.Messages = (function (Messages) {\n\n Messages.SearchForProducts = function (searchTerm) {\n var data = {\n searchTerm: searchTerm\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.SearchForProducts\", data);\n };\n Messages.SearchForProducts.className = \"Vendd.RequestOffer.Messages.SearchForProducts\";\n\n Messages.SearchForProductsSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.SearchForProductsSuccess\", data);\n };\n Messages.SearchForProductsSuccess.className = \"Vendd.RequestOffer.Messages.SearchForProductsSuccess\";\n\n Messages.SearchForProductsFailed = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.SearchForProductsFailed\", response);\n };\n Messages.SearchForProductsFailed.className = \"Vendd.RequestOffer.Messages.SearchForProductsFailed\";\n \t\t\n Messages.AddOfferProducts = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.AddOfferProducts\", data);\n };\n Messages.AddOfferProducts.className = \"Vendd.RequestOffer.Messages.AddOfferProducts\";\n\n Messages.AddOfferProductsSuccess = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.AddOfferProductsSuccess\", data);\n };\n Messages.AddOfferProductsSuccess.className = \"Vendd.RequestOffer.Messages.AddOfferProductsSuccess\";\n\n Messages.AddOfferProductsFailure = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.AddOfferProductsFailure\", data);\n };\n Messages.AddOfferProductsFailure.className = \"Vendd.RequestOffer.Messages.AddOfferProductsFailure\";\n\n Messages.GetPendingRequestsOffer = function (offerid, pageSize, pageNum) {\n var data = {\n offerid: offerid,\n pageSize: pageSize,\n pageNum: pageNum\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.GetPendingRequestsOffer\", data);\n };\n Messages.GetPendingRequestsOffer.className = \"Vendd.RequestOffer.Messages.GetPendingRequestsOffer\";\n\n Messages.GetPendingRequestsOfferSuccess = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.GetPendingRequestsOfferSuccess\", data);\n };\n Messages.GetPendingRequestsOfferSuccess.className = \"Vendd.RequestOffer.Messages.GetPendingRequestsOfferSuccess\";\n\n Messages.GetPendingRequestsOfferFailure = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.GetPendingRequestsOfferFailure\", data);\n };\n Messages.GetPendingRequestsOfferFailure.className = \"Vendd.RequestOffer.Messages.GetPendingRequestsOfferFailure\";\n\n Messages.UpdateRequestOfferProducts = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.UpdateRequestOfferProducts\", data);\n };\n Messages.UpdateRequestOfferProducts.className = \"Vendd.RequestOffer.Messages.UpdateRequestOfferProducts\";\n\n Messages.UpdateRequestOfferProductsSuccess = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.UpdateRequestOfferProductsSuccess\", data);\n };\n Messages.UpdateRequestOfferProductsSuccess.className = \"Vendd.RequestOffer.Messages.UpdateRequestOfferProductsSuccess\";\n\n Messages.UpdateRequestOfferProductsFailure = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.UpdateRequestOfferProductsFailure\", data);\n };\n Messages.UpdateRequestOfferProductsFailure.className = \"Vendd.RequestOffer.Messages.UpdateRequestOfferProductsFailure\";\n\n Messages.DeleteRequestOffer = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.DeleteRequestOffer\", data);\n };\n Messages.DeleteRequestOffer.className = \"Vendd.RequestOffer.Messages.DeleteRequestOffer\";\n\n Messages.DeleteRequestOfferSuccess = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.DeleteRequestOfferSuccess\", data);\n };\n Messages.DeleteRequestOfferSuccess.className = \"Vendd.RequestOffer.Messages.DeleteRequestOfferSuccess\";\n\n Messages.DeleteRequestOfferFailure = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.DeleteRequestOfferFailure\", data);\n };\n Messages.DeleteRequestOfferFailure.className = \"Vendd.RequestOffer.Messages.DeleteRequestOfferFailure\";\n\n Messages.SubmitRequestOffer = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.SubmitRequestOffer\", data);\n };\n Messages.SubmitRequestOffer.className = \"Vendd.RequestOffer.Messages.SubmitRequestOffer\";\n\n Messages.SubmitRequestOfferSuccess = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.SubmitRequestOfferSuccess\", data);\n };\n Messages.SubmitRequestOfferSuccess.className = \"Vendd.RequestOffer.Messages.SubmitRequestOfferSuccess\";\n\n Messages.SubmitRequestOfferFailure = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.SubmitRequestOfferFailure\", data);\n };\n Messages.SubmitRequestOfferFailure.className = \"Vendd.RequestOffer.Messages.SubmitRequestOfferFailure\";\n\n Messages.ImportRequestOfferExcel = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.ImportRequestOfferExcel\", data);\n };\n Messages.ImportRequestOfferExcel.className = \"Vendd.RequestOffer.Messages.ImportRequestOfferExcel\";\n\n Messages.ImportRequestOfferExcelSuccess = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.ImportRequestOfferExcelSuccess\", data);\n };\n Messages.ImportRequestOfferExcelSuccess.className = \"Vendd.RequestOffer.Messages.ImportRequestOfferExcelSuccess\";\n\n Messages.ImportRequestOfferExcelFailure = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.ImportRequestOfferExcelFailure\", data);\n };\n Messages.ImportRequestOfferExcelFailure.className = \"Vendd.RequestOffer.Messages.ImportRequestOfferExcelFailure\";\n\n return Messages;\n\n })(RequestOffer.Messages || {});\n\n return RequestOffer;\n\n })(Vendd.RequestOffer || {});\n\nreturn 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 Messages.CheckOrderSession = function () {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.CheckOrderSession\", null);\n };\n Messages.CheckOrderSession.className = \"Vendd.RequestReturn.Messages.CheckOrderSession\";\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.GetLoyaltyNewsDetail = function (newsId) {\n var data = {\n newsId: newsId\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.GetLoyaltyNewsDetail', data);\n };\n Messages.GetLoyaltyNewsDetail.className = 'Vendd.Loyalty.Messages.GetLoyaltyNewsDetail';\n\n Messages.GetLoyaltyNewsDetailSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.GetLoyaltyNewsDetailSuccess', response);\n };\n Messages.GetLoyaltyNewsDetailSuccess.className = 'Vendd.Loyalty.Messages.GetLoyaltyNewsDetailSuccess';\n\n Messages.GetLoyaltyNewsDetailFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.GetLoyaltyNewsDetailFailure', response);\n };\n Messages.GetLoyaltyNewsDetailFailure.className = 'Vendd.Loyalty.Messages.GetLoyaltyNewsDetailFailure';\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 Messages.SendSms = function (mobile, reCaptchaCode) {\n var data = {\n mobile: mobile,\n reCaptchaCode: reCaptchaCode\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 var data = formData;\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 Messages.SubmitSfmForm = function (registrationFormData) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.SubmitSfmForm', registrationFormData);\n };\n Messages.SubmitSfmForm.className = 'Vendd.Loyalty.Messages.SubmitSfmForm';\n\n Messages.SubmitSfmFormSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.SubmitSfmFormSuccess', response);\n };\n Messages.SubmitSfmFormSuccess.className = 'Vendd.Loyalty.Messages.SubmitSfmFormSuccess';\n\n Messages.SubmitSfmFormFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.SubmitSfmFormFailure', response);\n };\n Messages.SubmitSfmFormFailure.className = 'Vendd.Loyalty.Messages.SubmitSfmFormFailure';\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\n Messages.InviteFriends = function (formData) {\n var data = formData;\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.InviteFriends', data);\n };\n Messages.InviteFriends.className = 'Vendd.Loyalty.Messages.InviteFriends';\n\n Messages.InviteFriendsSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.InviteFriendsSuccess', response);\n };\n Messages.InviteFriendsSuccess.className = 'Vendd.Loyalty.Messages.InviteFriendsSuccess';\n\n Messages.InviteFriendsFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.InviteFriendsFailure', response);\n };\n Messages.InviteFriendsFailure.className = 'Vendd.Loyalty.Messages.InviteFriendsFailure';\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.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.TrackTrace = (function (TrackTrace) {\n\n\t TrackTrace.Messages = (function (Messages) {\n\t\t\t\n\t Messages.GetTrackTraceModel = function (voucherCode, orderCode, providerId) {\n\t\t\t\tvar data = {\n\t\t\t\t\tVoucherCode: voucherCode,\n\t\t\t\t\tOrderCode: orderCode,\n\t\t\t\t\tproviderId: providerId\n\t\t\t\t\t\n };\n\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, \"Vendd.TrackTrace.Messages.GetTrackTraceModel\", data);\n\t\t\t}\n\t Messages.GetTrackTraceModel.className = \"Vendd.TrackTrace.Messages.GetTrackTraceModel\";\n\n\t Messages.GetTrackTraceModelSuccess = 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.TrackTrace.Messages.GetTrackTraceModelSuccess\", data);\n\t\t\t}\n\t Messages.GetTrackTraceModelSuccess.className = \"Vendd.TrackTrace.Messages.GetTrackTraceModelSuccess\";\n\n\t Messages.GetTrackTraceModelFailure = 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.TrackTrace.Messages.GetTrackTraceModelFailure\", data);\n\t\t\t}\n\t Messages.GetTrackTraceModelFailure.className = \"Vendd.TrackTrace.Messages.GetTrackTraceModelFailure\";\n\n\t\t\t\n\t\t\treturn Messages;\n\n\t })(TrackTrace.Messages || {});\n\n\t return TrackTrace;\n\n\t})(Vendd.TrackTrace || {});\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 'use strict';\n\n Vendd.LazyHtmlArea = (function (LazyHtmlArea) {\n\n LazyHtmlArea.Messages = (function (Messages) {\n\n Messages.GetLazyHtmlArea = function (serviceConfiguration) {\n var data = {\n serviceConfiguration: serviceConfiguration\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.LazyHtmlArea.Messages.GetLazyHtmlArea\", data);\n }\n Messages.GetLazyHtmlArea.className = \"Vendd.LazyHtmlArea.Messages.GetLazyHtmlArea\";\n\n Messages.LazyHtmlAreaSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.LazyHtmlArea.Messages.LazyHtmlAreaSuccess\", data);\n }\n Messages.LazyHtmlAreaSuccess.className = \"Vendd.LazyHtmlArea.Messages.LazyHtmlAreaSuccess\";\n\n Messages.LazyHtmlAreaFailure = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.LazyHtmlArea.Messages.LazyHtmlAreaFailure\", data);\n }\n Messages.LazyHtmlAreaFailure.className = \"Vendd.LazyHtmlArea.Messages.LazyHtmlAreaFailure\";\n\n\n return Messages;\n\n })(LazyHtmlArea.Messages || {});\n\n return LazyHtmlArea;\n\n })(Vendd.LazyHtmlArea || {});\n\n return Vendd;\n\n})(Vendd || {});\n","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 Messages.GetLazyProductList = function (serviceConfiguration, url) {\n\t\t\t\tvar data = {\n serviceConfiguration: serviceConfiguration,\n url: url || \"\"\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 Messages.LazyProductListSuccess = function (model, sender) {\n\t\t\t\tvar data = {\n model: model,\n sender: sender\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 Messages.LazyProductListFailure = function (model, sender) {\n\t\t\t\tvar data = {\n model: model,\n sender: sender\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.AddSuccess = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.WishlistMerchant.Messages.AddSuccess', response);\n };\n Messages.AddSuccess.className = 'Vendd.WishlistMerchant.Messages.AddSuccess';\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.Merchant = (function (Merchant) {\n\n Merchant.Messages = (function (Messages) {\n\n Messages.GetModel = function (itemId) {\n\n var data = {\n itemId: itemId\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Merchant.Messages.GetModel', data);\n };\n Messages.GetModel.className = 'Vendd.Merchant.Messages.GetModel';\n\n Messages.GetModelFailed = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Merchant.Messages.GetModelFailed', response);\n };\n Messages.GetModelFailed.className = 'Vendd.Merchant.Messages.GetModelFailed';\n\n Messages.GetModelSuccess = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Merchant.Messages.GetModelSuccess', response);\n };\n Messages.GetModelSuccess.className = 'Vendd.Merchant.Messages.GetModelSuccess';\n\n return Messages;\n\n })(Merchant.Messages || {});\n\n return Merchant;\n\n })(Vendd.Merchant || {});\n\n return 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.AddSuccess = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.WishlistArticle.Messages.AddSuccess', response);\n };\n Messages.AddSuccess.className = 'Vendd.WishlistArticle.Messages.AddSuccess';\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.AddSuccess = function (productId, skuId, response) {\n response.data = JSON.parse(response.data);\n response.productId = productId;\n response.skuId = skuId;\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Wishlist.Messages.AddSuccess', response);\n };\n Messages.AddSuccess.className = 'Vendd.Wishlist.Messages.AddSuccess';\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.RemoveSuccess = function (productId, skuId, response) {\n response.data = JSON.parse(response.data);\n response.productId = productId;\n response.skuId = skuId;\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Wishlist.Messages.RemoveSuccess', response);\n };\n Messages.RemoveSuccess.className = 'Vendd.Wishlist.Messages.RemoveSuccess';\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.UpdateItemQuantity = function (itemId, quantity) {\n var data = {\n itemId: itemId,\n quantity: quantity\n };\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Wishlist.Messages.UpdateItemQuantity\", data);\n };\n Messages.UpdateItemQuantity.className = \"Vendd.Wishlist.Messages.UpdateItemQuantity\";\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 Messages.ResetStore = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.DeliveryPoint.Messages.ResetStore', {});\n };\n Messages.ResetStore.className = 'Vendd.DeliveryPoint.Messages.ResetStore';\n\n Messages.ResetStoreSuccess = function (model) {\n var data = {\n model: model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.DeliveryPoint.Messages.ResetStoreSuccess', data);\n };\n Messages.ResetStoreSuccess.className = 'Vendd.DeliveryPoint.Messages.ResetStoreSuccess';\n\n Messages.ResetStoreFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.DeliveryPoint.Messages.ResetStoreFailed', response);\n };\n Messages.ResetStoreFailed.className = 'Vendd.DeliveryPoint.Messages.ResetStoreFailed'; \n\n Messages.ResetDeliveryPoint = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.DeliveryPoint.Messages.ResetDeliveryPoint', {});\n };\n Messages.ResetDeliveryPoint.className = 'Vendd.DeliveryPoint.Messages.ResetDeliveryPoint';\n\n Messages.ResetDeliveryPointSuccess = function (model) {\n var data = {\n model: model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.DeliveryPoint.Messages.ResetDeliveryPointSuccess', data);\n };\n Messages.ResetDeliveryPointSuccess.className = 'Vendd.DeliveryPoint.Messages.ResetDeliveryPointSuccess';\n\n Messages.ResetDeliveryPointFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.DeliveryPoint.Messages.ResetDeliveryPointFailed', response);\n };\n Messages.ResetDeliveryPointFailed.className = 'Vendd.DeliveryPoint.Messages.ResetDeliveryPointFailed'; \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 (model) {\n var data = {\n model: 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 (model) {\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 (model) {\n var data = {\n model: 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, accessToken, options) {\n var data = {\n loginName: loginName,\n password: password,\n rememberMe: rememberMe,\n loginRedirectUrl: loginRedirectUrl,\n logoutRedirectUrl: logoutRedirectUrl,\n reCaptchaCode: reCaptchaCode,\n accessToken: accessToken,\n options: options || {}\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.SsoLogin = function () {\n var data = {};\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.SsoLogin', data);\n };\n Messages.SsoLogin.className = 'Vendd.User.Messages.SsoLogin';\n\n Messages.SsoRegister= function () {\n var data = {};\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.SsoRegister', data);\n };\n Messages.SsoRegister.className = 'Vendd.User.Messages.SsoRegister';\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 Messages.ResendActivationCode = function (code, type) {\n var data = {\n activationCode: code,\n notificationType: type\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.ResendActivationCode', data);\n };\n Messages.ResendActivationCode.className = 'Vendd.User.Messages.ResendActivationCode';\n\n Messages.ResendActivationCodeSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.ResendActivationCodeSuccess', response);\n };\n Messages.ResendActivationCodeSuccess.className = 'Vendd.User.Messages.ResendActivationCodeSuccess';\n\n Messages.ResendActivationCodeFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.ResendActivationCodeFailure', response);\n };\n Messages.ResendActivationCodeFailure.className = 'Vendd.User.Messages.ResendActivationCodeFailure';\n\n Messages.Register = function (firstName, lastName, email, username, password, passwordConfirmation, newsletter, reCaptchaCode, redirectUrl, phone, mobilephone, socialSecurityNumber, birthdate, isLoyaltyMember, loyaltyRequest, ReceiveEinvoice, loyaltyMemberId, preventRedirect, loyaltyMemberCardNumber, postalCode, registrationSetData, sfmRegistrationRequest) {\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 \"phone\": phone,\n \"mobilephone\": mobilephone,\n \"socialSecurityNumber\": socialSecurityNumber,\n \"BirthDate\": birthdate,\n \"IsLoyaltyMember\": isLoyaltyMember,\n \"LoyaltyRequest\": loyaltyRequest,\n \"ReceiveEinvoice\": ReceiveEinvoice,\n \"LoyaltyMemberId\": loyaltyMemberId,\n \"preventRedirect\": preventRedirect,\n \"loyaltyMemberCardNumber\": loyaltyMemberCardNumber,\n \"postalCode\": postalCode,\n \"registrationSetData\": registrationSetData,\n \"sfmRegistrationRequest\": sfmRegistrationRequest\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.CompleteSsoRegistration = function (newsletter, redirectUrl, phone, mobilePhone, socialSecurityNumber, isLoyaltyMember, loyaltyRequest, loyaltyMemberId, preventRedirect, loyaltyMemberCardNumber, postalCode, sfmRegistrationRequest) {\n var data = {\n \"newsletter\": newsletter || false,\n \"redirectUrl\": redirectUrl,\n \"phone\": phone,\n \"mobilePhone\": mobilePhone,\n \"socialSecurityNumber\": socialSecurityNumber,\n \"isLoyaltyMember\": isLoyaltyMember || false,\n \"loyaltyRequest\": loyaltyRequest || false,\n \"loyaltyMemberId\": loyaltyMemberId,\n \"preventRedirect\": preventRedirect,\n \"loyaltyMemberCardNumber\": loyaltyMemberCardNumber,\n \"postalCode\": postalCode,\n \"sfmRegistrationRequest\": sfmRegistrationRequest\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.CompleteSsoRegistration', data);\n };\n Messages.CompleteSsoRegistration.className = 'Vendd.User.Messages.CompleteSsoRegistration';\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, socialSecurityNumber, fax, siteurl, store, companyCategory, openingHours, area, prefecture, officerLastName, officerPosition, message, newsletter, ReceiveEinvoice, reCaptchaCode, redirecturl, countryCode, registrationSetData) {\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 \"socialSecurityNumber\": socialSecurityNumber,\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 \"ReceiveEinvoice\": ReceiveEinvoice,\n \"redirectUrl\": redirecturl,\n\n \"countryCode\": countryCode,\n\n \"registrationSetData\": registrationSetData\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.GetAreasForPostCode = function (countryCode, postalCode, selectedAreaCode) {\n var data = {\n countryCode: countryCode,\n postalCode: postalCode,\n selectedAreaCode: selectedAreaCode \n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.GetAreasForPostCode', data);\n };\n Messages.GetAreasForPostCode.className = 'Vendd.User.Messages.GetAreasForPostCode';\n\n Messages.GetAreasForPostCodeSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.GetAreasForPostCodeSuccess', response);\n };\n Messages.GetAreasForPostCodeSuccess.className = 'Vendd.User.Messages.GetAreasForPostCodeSuccess';\n\n Messages.GetAreasForPostCodeFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.GetAreasForPostCodeFailure', response);\n };\n Messages.GetAreasForPostCodeFailure.className = 'Vendd.User.Messages.GetAreasForPostCodeFailure';\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 Messages.GetMemberByLoyaltyNumber = function (loyaltyMemberCardNumber) {\n var data = {\n loyaltyMemberCardNumber: loyaltyMemberCardNumber\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.GetMemberByLoyaltyNumber', data);\n };\n Messages.GetMemberByLoyaltyNumber.className = 'Vendd.User.Messages.GetMemberByLoyaltyNumber';\n\n Messages.GetMemberByLoyaltyNumberSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.GetMemberByLoyaltyNumberSuccess', data);\n };\n Messages.GetMemberByLoyaltyNumberSuccess.className = 'Vendd.User.Messages.GetMemberByLoyaltyNumberSuccess';\n\n Messages.GetMemberByLoyaltyNumberFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.GetMemberByLoyaltyNumberFailed', response);\n };\n Messages.GetMemberByLoyaltyNumberFailed.className = 'Vendd.User.Messages.GetMemberByLoyaltyNumberFailed';\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 Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.BindControl', data);\n };\n Messages.BindControl.className = 'Vendd.Store.Messages.BindControl';\n\n Messages.resetFilters = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.resetFilters');\n };\n Messages.resetFilters.className = 'Vendd.Store.Messages.resetFilters';\n\n Messages.resetLocationFilters = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.resetLocationFilters');\n };\n Messages.resetLocationFilters.className = 'Vendd.Store.Messages.resetLocationFilters';\n\n Messages.SetContinent = function (continent) {\n var data = {\n continent: continent\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 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 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 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 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 Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.SetPostalCode', data);\n };\n Messages.SetPostalCode.className = 'Vendd.Store.Messages.SetPostalCode';\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.CalculateDistances = function (array, source, maxDistance) {\n var data = {\n array: array,\n source: source,\n maxDistance: maxDistance\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.CalculateDistances', data);\n };\n Messages.CalculateDistances.className = 'Vendd.Store.Messages.CalculateDistances';\n\n Messages.CalculateDistancesSuccess = function (model, sender) {\n var data = {\n model: model,\n sender: sender\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.CalculateDistancesSuccess', data);\n };\n Messages.CalculateDistancesSuccess.className = 'Vendd.Store.Messages.CalculateDistancesSuccess';\n\n Messages.GetAllPartners = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.GetAllPartners', data);\n };\n Messages.GetAllPartners.className = 'Vendd.Store.Messages.GetAllPartners';\n\n Messages.GetAllPartnersSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.GetAllPartnersSuccess', data);\n };\n Messages.GetAllPartnersSuccess.className = 'Vendd.Store.Messages.GetAllPartnersSuccess';\n\n Messages.GetAllPartnersFailure = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.GetAllPartnersFailure', data);\n };\n Messages.GetAllPartnersFailure.className = 'Vendd.Store.Messages.GetAllPartnersFailure';\n\n Messages.GetCountries = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.GetCountries', data);\n };\n Messages.GetCountries.className = 'Vendd.Store.Messages.GetCountries';\n\n Messages.GetCountriesSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.GetCountriesSuccess', data);\n };\n Messages.GetCountriesSuccess.className = 'Vendd.Store.Messages.GetCountriesSuccess';\n\n Messages.GetCountriesFailure = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.GetCountriesFailure', data);\n };\n Messages.GetCountriesFailure.className = 'Vendd.Store.Messages.GetCountriesFailure';\n\n Messages.SearchResults = function (searchString) {\n var data = {\n searchString: searchString\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.SearchResults', data);\n };\n Messages.SearchResults.className = 'Vendd.Store.Messages.SearchResults';\n\n Messages.SearchResultsSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.SearchResultsSuccess', data);\n };\n Messages.SearchResultsSuccess.className = 'Vendd.Store.Messages.SearchResultsSuccess';\n\n Messages.SearchResultsFailure = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.SearchResultsFailure', data);\n };\n Messages.SearchResultsFailure.className = 'Vendd.Store.Messages.SearchResultsFailure';\n\n Messages.QueryPartners = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.QueryPartners', data);\n };\n Messages.QueryPartners.className = 'Vendd.Store.Messages.QueryPartners';\n\n Messages.QueryPartnersSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.QueryPartnersSuccess', data);\n };\n Messages.QueryPartnersSuccess.className = 'Vendd.Store.Messages.QueryPartnersSuccess';\n\n Messages.QueryPartnersFailure = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Store.Messages.QueryPartnersFailure', data);\n };\n Messages.QueryPartnersFailure.className = 'Vendd.Store.Messages.QueryPartnersFailure';\n\n return Messages;\n\n })(Store.Messages || {});\n\n return Store;\n\n })(Vendd.Store || {});\n\n return 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.GetElasticSuggestions = function (searchTerm, size, since, textTransform, fuzziness, source) {\n var data = {\n queryTerm: searchTerm,\n size: size,\n since: since,\n case: textTransform,\n fuzziness: fuzziness,\n source: source\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ElasticSearch.Messages.GetElasticSuggestions\", data);\n };\n Messages.GetElasticSuggestions.className = \"Vendd.ElasticSearch.Messages.GetElasticSuggestions\";\n\n Messages.GetElasticSuggestionsSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ElasticSearch.Messages.GetElasticSuggestionsSuccess\", data);\n };\n Messages.GetElasticSuggestionsSuccess.className = \"Vendd.ElasticSearch.Messages.GetElasticSuggestionsSuccess\";\n\n Messages.GetElasticSuggestionsFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ElasticSearch.Messages.GetElasticSuggestionsFailed\", response);\n };\n Messages.GetElasticSuggestionsFailed.className = \"Vendd.ElasticSearch.Messages.GetElasticSuggestionsFailed\";\n\n Messages.GetFiltersElasticResults = function (searchTerm, filters, baseuri) {\n var data = {\n searchTerm: searchTerm,\n filters: filters,\n baseuri: baseuri\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ElasticSearch.Messages.GetFiltersElasticResults\", data);\n };\n Messages.GetFiltersElasticResults.className = \"Vendd.ElasticSearch.Messages.GetFiltersElasticResults\";\n\n Messages.GetFiltersElasticResultsSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ElasticSearch.Messages.GetFiltersElasticResultsSuccess\", data);\n };\n Messages.GetFiltersElasticResultsSuccess.className = \"Vendd.ElasticSearch.Messages.GetFiltersElasticResultsSuccess\";\n\n Messages.GetFiltersElasticResultsFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ElasticSearch.Messages.GetFiltersElasticResultsFailed\", response);\n };\n Messages.GetFiltersElasticResultsFailed.className = \"Vendd.ElasticSearch.Messages.GetFiltersElasticResultsFailed\";\n\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, query, path, fields, geo_window, filters) {\n var data = {\n searchTerm: searchTerm,\n pageFrom: pageFrom,\n pageSize: pageSize,\n query: query,\n path: path,\n fields: fields,\n geo_window: geo_window,\n filters: filters\n };\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 Messages.GetArticleElasticResults = 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.GetArticleElasticResults\", data);\n };\n Messages.GetArticleElasticResults.className = \"Vendd.ElasticSearch.Messages.GetArticleElasticResults\";\n\n Messages.GetArticleElasticResultsSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ElasticSearch.Messages.GetArticleElasticResultsSuccess\", data);\n };\n Messages.GetArticleElasticResultsSuccess.className = \"Vendd.ElasticSearch.Messages.GetArticleElasticResultsSuccess\";\n\n Messages.GetArticleElasticResultsFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ElasticSearch.Messages.GetArticleElasticResultsFailed\", response);\n };\n Messages.GetArticleElasticResultsFailed.className = \"Vendd.ElasticSearch.Messages.GetArticleElasticResultsFailed\";\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, pageNumber, pageSize) {\n var data = {\n searchTerm: searchTerm,\n maxResults: maxResults,\n pageSize: pageSize,\n pageNumber: pageNumber\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\n\n\n\n\n\n\n\n\n Messages.GetProductSuggestiveElasticResults = function (searchTerm, pageFrom, pageSize, query, path) {\n var data = {\n searchTerm: searchTerm,\n pageFrom: pageFrom,\n pageSize: pageSize,\n query: query,\n path: path\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Search.Messages.GetProductSuggestiveElasticResults\", data);\n };\n\n Messages.GetProductSuggestiveElasticResults.className = \"Vendd.Search.Messages.GetProductSuggestiveElasticResults\";\n\n Messages.GetProductSuggestiveResultsElasticSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Search.Messages.GetProductSuggestiveResultsElasticSuccess\", data);\n };\n Messages.GetProductSuggestiveResultsElasticSuccess.className = \"Vendd.Search.Messages.GetProductSuggestiveResultsElasticSuccess\";\n\n Messages.GetProductSuggestiveResultsElasticFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Search.Messages.GetProductSuggestiveResultsElasticFailed\", response);\n };\n Messages.GetProductSuggestiveResultsElasticFailed.className = \"Vendd.Search.Messages.GetProductSuggestiveResultsElasticFailed\";\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.ProductList = (function (ProductList) {\n\n ProductList.Messages = (function (Messages) {\n\n Messages.GetModel = function (list, serviceConfiguration, type, uri, includeFilters, defaultUriFilter) {\n var data = {\n list: list,\n serviceConfiguration: serviceConfiguration,\n type: type,\n uri: uri,\n includeFilters: includeFilters || false,\n defaultUriFilter: defaultUriFilter || \"\"\n }\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductList.Messages.GetModel', data);\n };\n Messages.GetModel.className = 'Vendd.ProductList.Messages.GetModel';\n\n Messages.GetModelSuccess = function (response, list) {\n response.position = \"Reload\";\n response.list = list;\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductList.Messages.GetModelSuccess', response);\n };\n Messages.GetModelSuccess.className = 'Vendd.ProductList.Messages.GetModelSuccess';\n\n Messages.GetModelFailed = function (response, list) {\n response.list = list;\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductList.Messages.GetModelFailed', response);\n };\n Messages.GetModelFailed.className = 'Vendd.ProductList.Messages.GetModelFailed';\n\n return Messages;\n\n })(ProductList.Messages || {});\n\n return ProductList;\n\n })(Vendd.ProductList || {});\n\n return 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 Messages.ProductCompareAdded = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductCompare.Messages.ProductCompareAdded', response);\n };\n Messages.ProductCompareAdded.className = 'Vendd.ProductCompare.Messages.ProductCompareAdded';\n\n Messages.ProductCompareRemoved = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductCompare.Messages.ProductCompareRemoved', response);\n };\n Messages.ProductCompareRemoved.className = 'Vendd.ProductCompare.Messages.ProductCompareRemoved';\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 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.SetQuanta = function (quanta) {\n var data = {\n quanta: quanta\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.SetQuanta', data);\n };\n Messages.SetQuanta.className = 'Vendd.Product.Messages.SetQuanta';\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, selectedId, languageId) {\n var data = {\n email: email,\n productId: selectedId,\n languageId: languageId\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, sender) {\n response.data = JSON.parse(response.data);\n response.sender = sender;\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 Messages.GetReviews = function (productId, pageNumber, pageSize, sortBy, isInitialCall, filterBy) {\n var data = {\n productId: productId,\n pageNumber: pageNumber,\n pageSize: pageSize,\n sortBy: sortBy,\n isInitialCall: isInitialCall,\n filterBy: filterBy\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetReviews', data);\n };\n Messages.GetReviews.className = 'Vendd.Product.Messages.GetReviews';\n\n Messages.GetReviewsSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetReviewsSuccess', response);\n };\n Messages.GetReviewsSuccess.className = 'Vendd.Product.Messages.GetReviewsSuccess';\n\n Messages.GetReviewsFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetReviewsFailure', response);\n };\n Messages.GetReviewsFailure.className = 'Vendd.Product.Messages.GetReviewsFailure';\n\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 (skuId, skuCode, countryCode, zipCode, maxDistance, ignoreAvailability, geoLocationWithZipCode, topAvailableWarehouse, groupBy, location) {\n\n var data = {\n skuId: skuId,\n skuCode: skuCode,\n countryCode: countryCode,\n zipCode: zipCode,\n maxDistance: maxDistance,\n ignoreAvailability: ignoreAvailability,\n geoLocationWithZipCode: geoLocationWithZipCode,\n topAvailableWarehouse: topAvailableWarehouse,\n groupBy: groupBy,\n hasGeolocation: (((location || {}).latitude || 0) > 0) && (((location || {}).longitude || 0) > 0),\n latitude: (location || {}).latitude || 0,\n longitude: (location || {}).longitude || 0\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\n //Delivery Availability\n Messages.GetDeliveryAvailability = function (variantArray, postalCode, shippingCompany, isOrder) {\n\n var data = {\n lstVariantInfo: variantArray,\n postalCode: postalCode,\n isOrder: isOrder,\n shippingCompany: shippingCompany \n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetDeliveryAvailability', data);\n };\n Messages.GetDeliveryAvailability.className = 'Vendd.Product.Messages.GetDeliveryAvailability';\n\n Messages.GetDeliveryAvailabilitySuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetDeliveryAvailabilitySuccess', response);\n };\n Messages.GetDeliveryAvailabilitySuccess.className = 'Vendd.Product.Messages.GetDeliveryAvailabilitySuccess';\n\n Messages.GetDeliveryAvailabilityFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetDeliveryAvailabilityFailure', response);\n };\n Messages.GetDeliveryAvailabilityFailure.className = 'Vendd.Product.Messages.GetDeliveryAvailabilityFailure';\n\n //Pick Up Availability\n Messages.GetPickUpAvailability = function (variantArray, partnerId, isOrder) {\n\n var data = {\n lstVariantInfo: variantArray,\n partnerId: partnerId,\n isOrder: isOrder\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetPickUpAvailability', data);\n };\n Messages.GetPickUpAvailability.className = 'Vendd.Product.Messages.GetPickUpAvailability';\n\n Messages.GetPickUpAvailabilitySuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetPickUpAvailabilitySuccess', response);\n };\n Messages.GetPickUpAvailabilitySuccess.className = 'Vendd.Product.Messages.GetPickUpAvailabilitySuccess';\n\n Messages.GetPickUpAvailabilityFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetPickUpAvailabilityFailure', response);\n };\n Messages.GetPickUpAvailabilityFailure.className = 'Vendd.Product.Messages.GetPickUpAvailabilityFailure';\n\n //Replaced By\n Messages.GetReplacedByProducts = function (plData) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetReplacedByProducts', plData);\n };\n Messages.GetReplacedByProducts.className = 'Vendd.Product.Messages.GetReplacedByProducts';\n\n Messages.GetReplacedByProductsSuccess = function (response, config) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetReplacedByProductsSuccess', response, config);\n };\n Messages.GetReplacedByProductsSuccess.className = 'Vendd.Product.Messages.GetReplacedByProductsSuccess';\n\n Messages.GetReplacedByProductsFailure = function (response, config) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetReplacedByProductsFailure', response, config);\n };\n Messages.GetReplacedByProductsFailure.className = 'Vendd.Product.Messages.GetReplacedByProductsFailure';\n\n //Pdf Exporter\n Messages.PdfExport = function (req) {\n\n var data = {\n req: req\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.PdfExport', data);\n };\n Messages.PdfExport.className = 'Vendd.Product.Messages.PdfExport';\n\n Messages.PdfExportSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.PdfExportSuccess', response);\n };\n Messages.PdfExportSuccess.className = 'Vendd.Product.Messages.PdfExportSuccess';\n\n Messages.PdfExportFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.PdfExportFailure', response);\n };\n Messages.PdfExportFailure.className = 'Vendd.Product.Messages.PdfExportFailure';\n\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.TransactionsHistory = (function (TransactionsHistory) {\n\n TransactionsHistory.Messages = (function (Messages) {\n\n Messages.GetAccountDetails = function (accountId, transactionCode) {\n var data = {\n accountId: accountId,\n transactionCode: transactionCode\n }\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.TransactionsHistory.Messages.GetAccountDetails', data);\n };\n Messages.GetAccountDetails.className = 'Vendd.TransactionsHistory.Messages.GetAccountDetails';\n\n Messages.GetAccountDetailsSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.TransactionsHistory.Messages.GetAccountDetailsSuccess', response);\n };\n Messages.GetAccountDetailsSuccess.className = 'Vendd.TransactionsHistory.Messages.GetAccountDetailsSuccess';\n\n Messages.GetAccountDetailsFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.TransactionsHistory.Messages.GetAccountDetailsFailure', response);\n };\n Messages.GetAccountDetailsFailure.className = 'Vendd.TransactionsHistory.Messages.GetAccountDetailsFailure';\n\n return Messages;\n\n })(TransactionsHistory.Messages || {});\n\n return TransactionsHistory;\n\n })(Vendd.TransactionsHistory || {})\n\n return Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.OfflineOrdersHistory = (function (OfflineOrdersHistory) {\n\n OfflineOrdersHistory.Messages = (function (Messages) {\n\n Messages.GetOrderItems = function (orderId) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.OfflineOrdersHistory.Messages.GetOrderItems', orderId);\n };\n Messages.GetOrderItems.className = 'Vendd.OfflineOrdersHistory.Messages.GetOrderItems';\n\n Messages.GetOrderItemsSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.OfflineOrdersHistory.Messages.GetOrderItemsSuccess', response);\n };\n Messages.GetOrderItemsSuccess.className = 'Vendd.OfflineOrdersHistory.Messages.GetOrderItemsSuccess';\n\n Messages.GetOrderItemsFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.OfflineOrdersHistory.Messages.GetOrderItemsFailure', response);\n };\n Messages.GetOrderItemsFailure.className = 'Vendd.OfflineOrdersHistory.Messages.GetOrderItemsFailure';\n\n Messages.OrderItemsRendered = function (itemsCount) {\n Vendd.MessageBus.VenddMessage.call(\n this,\n 'Vendd.OfflineOrdersHistory.Messages.OrderItemsRendered',\n { itemsCount: itemsCount }\n );\n };\n Messages.OrderItemsRendered.className = 'Vendd.OfflineOrdersHistory.Messages.OrderItemsRendered';\n\n return Messages;\n\n })(OfflineOrdersHistory.Messages || {});\n\n return OfflineOrdersHistory;\n\n })(Vendd.OfflineOrdersHistory || {})\n\n return Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.OnlineOrdersHistory = (function (OnlineOrdersHistory) {\n\n OnlineOrdersHistory.Messages = (function (Messages) {\n\n Messages.GetOrderDetails = function (orderId) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.OnlineOrdersHistory.Messages.GetOrderDetails', orderId);\n };\n Messages.GetOrderDetails.className = 'Vendd.OnlineOrdersHistory.Messages.GetOrderDetails';\n\n Messages.GetOrderDetailsSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.OnlineOrdersHistory.Messages.GetOrderDetailsSuccess', response);\n };\n Messages.GetOrderDetailsSuccess.className = 'Vendd.OnlineOrdersHistory.Messages.GetOrderDetailsSuccess';\n\n Messages.GetOrderDetailsFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.OnlineOrdersHistory.Messages.GetOrderDetailsFailure', response);\n };\n Messages.GetOrderDetailsFailure.className = 'Vendd.OnlineOrdersHistory.Messages.GetOrderDetailsFailure';\n\n return Messages;\n\n })(OnlineOrdersHistory.Messages || {});\n\n return OnlineOrdersHistory;\n\n })(Vendd.OnlineOrdersHistory || {})\n\n return Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n \n Vendd.Order = (function (Order) {\n\n Order.Messages = (function (Messages) {\n\n Messages.SubmitRequestOrderChange = function (email, code) {\n var data = {\n email: email,\n code: code\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 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.AddAllToCart = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Order.Messages.AddAllToCart', data);\n };\n Messages.AddAllToCart.className = 'Vendd.Order.Messages.AddAllToCart';\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, mailLists, gender) {\n var data = {\n email: email,\n mailparams: mailparams || {},\n mailLists: mailLists,\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, subject, contactFileUpload, currentCountryCode) {\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 subject: subject,\n contactFileUpload: contactFileUpload,\n currentCountryCode: currentCountryCode,\n itemId: Vendd.Product.Controller.IsInitialized() ? Vendd.Product.Controller.getState().selectedId : LhApp.Context.Item.Id,\n itemPathChecksum: LhApp.Context.Item.Path\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\n return 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, 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 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.MultipleRemove = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.MultipleRemove', data);\n };\n Messages.MultipleRemove.className = 'Vendd.Cart.Messages.MultipleRemove';\n\n Messages.MultipleRemoveSuccess = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.MultipleRemoveSuccess\", response);\n };\n Messages.MultipleRemoveSuccess.className = 'Vendd.Cart.Messages.MultipleRemoveSuccess';\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.SetQuantitySuccess = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.SetQuantitySuccess\", response);\n };\n Messages.SetQuantitySuccess.className = 'Vendd.Cart.Messages.SetQuantitySuccess';\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 Messages.UpdateCartProductReplacingTypes = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.UpdateCartProductReplacingTypes', data);\n };\n Messages.UpdateCartProductReplacingTypes.className = 'Vendd.Cart.Messages.UpdateCartProductReplacingTypes';\n\n Messages.UpdateCartProductReplacingTypesSuccess = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.UpdateCartProductReplacingTypesSuccess', data);\n };\n Messages.UpdateCartProductReplacingTypesSuccess.className = 'Vendd.Cart.Messages.UpdateCartProductReplacingTypesSuccess';\n\n Messages.UpdateCartProductReplacingTypesFailed = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.UpdateCartProductReplacingTypesFailed', data);\n };\n Messages.UpdateCartProductReplacingTypesFailed.className = 'Vendd.Cart.Messages.UpdateCartProductReplacingTypesFailed';\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.ApplyCouponSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Contact.Messages.ApplyCouponSuccess', response);\n };\n Messages.ApplyCouponSuccess.className = 'Vendd.Contact.Messages.ApplyCouponSuccess';\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 (options) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.GetModel', options);\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.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.GiftCardApplySuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Contact.Messages.GiftCardApplySuccess', response);\n };\n Messages.GiftCardApplySuccess.className = 'Vendd.Contact.Messages.GiftCardApplySuccess';\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.AddGiftCartEmailAddress = function (itemsList) {\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 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 Messages.ProductAdded = function (id, skuId, responseData) {\n var data = {};\n data.id = id;\n data.skuId = skuId;\n data.responseData = JSON.parse(responseData);\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, productId, skuId) {\n var data = {};\n data.cartId = cartId;\n data.productId = productId;\n data.skuId = skuId;\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 Messages.SetDigitalCare = function (IsDigitalCareSelected) {\n var data = {\n IsDigitalCareSelected: IsDigitalCareSelected\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.SetDigitalCare', data);\n };\n Messages.SetDigitalCare.className = 'Vendd.Cart.Messages.SetDigitalCare';\n\n Messages.SetDigitalCareSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Contact.Messages.SetDigitalCareSuccess', response);\n };\n Messages.SetDigitalCareSuccess.className = 'Vendd.Contact.Messages.SetDigitalCareSuccess';\n\n Messages.SetDigitalCareFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.SetDigitalCareFailure', response);\n };\n Messages.SetDigitalCareFailure.className = 'Vendd.Cart.Messages.SetDigitalCareFailure';\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 (firstname, lastname, email, phone, address, message, jobTitle, jobId, careerFileUpload, reCaptchaCode) {\n var data = {\n Email: email,\n FirstName: firstname,\n LastName: lastname,\n Phone: phone,\n Address: address,\n Message: message,\n JobTitle: jobTitle,\n JobId: jobId,\n CvFileUploaded: careerFileUpload,\n reCaptchaCode: reCaptchaCode\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 (email, firstname, lastname, phone, message) {\n var data = {\n email: email,\n firstName: firstname,\n lastName: lastname,\n phone: phone,\n message: message\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 (reviewArticleId, reviewTitle, reviewDescription, reviewRating) {\n var data = {\n ReviewArticleId: reviewArticleId,\n ReviewTitle: reviewTitle,\n ReviewDescription: reviewDescription,\n ReviewRating: reviewRating\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 (itemId, path, attributes, roleCode) {\n var data = {\n itemId: itemId,\n path: path,\n attributes: attributes,\n roleCode: roleCode\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 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 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 Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetUserAccountSuccess', data);\n };\n Messages.GetUserAccountSuccess.className = 'Vendd.Account.Messages.GetUserAccountSuccess';\n\n Messages.EditUser = function (firstName, lastName, userName, email, oldPassword, password, passwordConfirmation, newsletter, phones, mobilePhone, socialSecurityNumber, birthDate, isLoyaltyMember, loyaltyRequest, receiveEinvoice, loyaltyMemberId, resellerDisplayedPrice, loyaltyMemberCardNumber, sfmRegistrationRequest) {\n var data = {\n firstName: firstName,\n lastName: lastName,\n userName: userName,\n email: email,\n oldPassword: oldPassword,\n password: password,\n passwordConfirmation: passwordConfirmation,\n newsletter: newsletter,\n phones: phones,\n mobilephone: mobilePhone,\n socialSecurityNumber: socialSecurityNumber,\n birthDate: birthDate,\n IsLoyaltyMember: isLoyaltyMember,\n LoyaltyRequest: loyaltyRequest,\n ReceiveEinvoice: receiveEinvoice,\n LoyaltyMemberId: loyaltyMemberId,\n ResellerDisplayedPrice: resellerDisplayedPrice,\n loyaltyMemberCardNumber: loyaltyMemberCardNumber,\n sfmRegistrationRequest: sfmRegistrationRequest\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 response.data = JSON.parse(response.data);\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, addressGroupFilter) {\n var data = {\n addressType: addressType,\n addressGroupFilter: addressGroupFilter\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 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 Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.SetDefaultAddressFailure', data);\n };\n Messages.SetDefaultAddressFailure.className = 'Vendd.Account.Messages.SetDefaultAddressFailure';\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 Messages.EditAddress = function (addressType, Id, title, firstName, lastName, phone, mobile, fax, addressLine1, addressLine2, streetnumber, apartment, bell, entrance, floor, block, postCode, area,\n city, prefecture, country, companyName, headquarters, occupation, taxAgency, taxAgencyId, taxIdentifier, vatStatus, receiveEinvoice, isInvoice, addressGroupId) {\n var data = {\n model: {\n Id: Id,\n Title: title,\n FirstName: firstName,\n LastName: lastName,\n Phones: phone,\n Mobiles: mobile,\n Fax: fax,\n AddressLine1: addressLine1,\n AddressLine2: addressLine2,\n Streetnumber: streetnumber,\n Apartment: apartment,\n Bell: bell,\n Entrance: entrance,\n Floor: floor,\n Block: block,\n PostCode: postCode,\n Area: area,\n City: city,\n Prefecture: prefecture,\n Country: country,\n CompanyName: companyName,\n Headquarters: headquarters,\n Occupation: occupation,\n TaxAgency: taxAgency,\n TaxAgencyId: taxAgencyId,\n TaxIdentifier: taxIdentifier,\n VatStatus: vatStatus,\n ReceiveEinvoice: receiveEinvoice,\n IsInvoice: isInvoice,\n GroupId: addressGroupId\n },\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 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 Messages.CheckAddressIfExists = function (addressId, firstName, lastName, addressLine1, addressLine2, city, postCode, country, area, isBillingAddress, isShippingAddress) {\n var data = {\n addressId: addressId,\n firstName: firstName,\n lastName: lastName,\n addressLine1: addressLine1,\n addressLine2: addressLine2,\n city: city,\n postCode: postCode,\n country: country,\n area: area,\n isBillingAddress: isBillingAddress,\n isShippingAddress: isShippingAddress\n };\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 Messages.OpenAddressEditForm = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.OpenAddressEditForm', data);\n };\n Messages.OpenAddressEditForm.className = 'Vendd.Account.Messages.OpenAddressEditForm';\n\n Messages.GetAreasForPostCode = function (country, postCode, area) {\n var data = {\n country: country,\n postCode: postCode,\n area: area\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 Messages.GetCountries = function (model, addressType) {\n var data = {\n selectedCountryCode: model.Country,\n addressType: addressType\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 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 Messages.GetPrefectures = function (countryCode, addressType) {\n var data = {\n languageCode: LhApp.Context.Language,\n addressType: addressType,\n countryCode: countryCode\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetPrefectures', data);\n };\n Messages.GetPrefectures.className = 'Vendd.Account.Messages.GetPrefectures';\n\n Messages.GetPrefecturesSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetPrefecturesSuccess', data);\n };\n Messages.GetPrefecturesSuccess.className = 'Vendd.Account.Messages.GetPrefecturesSuccess';\n\n Messages.GetPrefecturesFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetPrefecturesFailed', response);\n };\n Messages.GetPrefecturesFailed.className = 'Vendd.Account.Messages.GetPrefecturesFailed';\n\n Messages.GetCities = function (countryCode, prefectureName, addressType) {\n var data = {\n languageCode: LhApp.Context.Language,\n addressType: addressType,\n countryCode: countryCode,\n prefectureName: prefectureName\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetCities', data);\n };\n Messages.GetCities.className = 'Vendd.Account.Messages.GetCities';\n\n Messages.GetCitiesSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetCitiesSuccess', data);\n };\n Messages.GetCitiesSuccess.className = 'Vendd.Account.Messages.GetCitiesSuccess';\n\n Messages.GetCitiesFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetCitiesFailed', response);\n };\n Messages.GetCitiesFailed.className = 'Vendd.Account.Messages.GetCitiesFailed';\n\n Messages.GetAreas = function (countryCode, prefectureName, cityName, addressType) {\n var data = {\n languageCode: LhApp.Context.Language,\n addressType: addressType,\n countryCode: countryCode,\n prefectureName: prefectureName,\n cityName: cityName\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAreas', data);\n };\n Messages.GetAreas.className = 'Vendd.Account.Messages.GetAreas';\n\n Messages.GetAreasSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAreasSuccess', data);\n };\n Messages.GetAreasSuccess.className = 'Vendd.Account.Messages.GetAreasSuccess';\n\n Messages.GetAreasFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAreasFailed', response);\n };\n Messages.GetAreasFailed.className = 'Vendd.Account.Messages.GetAreasFailed';\n\n Messages.GetPostCodes = function (countryCode, prefectureName, cityName, areaName, searchText, addressType) {\n var data = {\n languageCode: LhApp.Context.Language,\n addressType: addressType,\n countryCode: countryCode,\n prefectureName: prefectureName,\n cityName: cityName,\n areaName: areaName,\n searchText: searchText\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetPostCodes', data);\n };\n Messages.GetPostCodes.className = 'Vendd.Account.Messages.GetPostCodes';\n\n Messages.GetPostCodesSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetPostCodesSuccess', data);\n };\n Messages.GetPostCodesSuccess.className = 'Vendd.Account.Messages.GetPostCodesSuccess';\n\n Messages.GetPostCodesFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetPostCodesFailed', response);\n };\n Messages.GetPostCodesFailed.className = 'Vendd.Account.Messages.GetPostCodesFailed';\n\n Messages.GetStreets = function (countryCode, prefectureName, cityName, areaName, searchText, addressType) {\n var data = {\n languageCode: LhApp.Context.Language,\n addressType: addressType,\n countryCode: countryCode,\n prefectureName: prefectureName,\n cityName: cityName,\n areaName: areaName,\n searchText: searchText\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetStreets', data);\n };\n Messages.GetStreets.className = 'Vendd.Account.Messages.GetStreets';\n\n Messages.GetStreetsSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetStreetsSuccess', data);\n };\n Messages.GetStreetsSuccess.className = 'Vendd.Account.Messages.GetStreetsSuccess';\n\n Messages.GetStreetsFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetStreetsFailed', response);\n };\n Messages.GetStreetsFailed.className = 'Vendd.Account.Messages.GetStreetsFailed';\n\n Messages.GetAllTaxAgencies = function (countryCode) {\n var data = {\n countryCode: countryCode\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 (model) {\n var data = {};\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.GetVatInfo = function (country, vat) {\n var data = {\n country: country,\n vat: vat\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetVatInfo', data);\n };\n Messages.GetVatInfo.className = 'Vendd.Account.Messages.GetVatInfo';\n\n Messages.GetVatInfoSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetVatInfoSuccess', data);\n };\n Messages.GetVatInfoSuccess.className = 'Vendd.Account.Messages.GetVatInfoSuccess';\n\n Messages.GetVatInfoFailed = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAllVatStatusesFailed', response);\n };\n Messages.GetVatInfoFailed.className = 'Vendd.Account.Messages.GetVatInfoFailed';\n\n Messages.GetAllAddressGroups = function (selectedAddressGroupId) {\n var data = {\n selectedAddressGroupId: selectedAddressGroupId\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAllAddressGroups', data);\n };\n Messages.GetAllAddressGroups.className = 'Vendd.Account.Messages.GetAllAddressGroups';\n\n Messages.GetAllAddressGroupsSuccess = function (response) {\n var data = {\n model: response\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAllAddressGroupsSuccess', data);\n };\n Messages.GetAllAddressGroupsSuccess.className = 'Vendd.Account.Messages.GetAllAddressGroupsSuccess';\n\n Messages.GetAllAddressGroupsFailed = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAllAddressGroupsFailed', response);\n };\n Messages.GetAllAddressGroupsFailed.className = 'Vendd.Account.Messages.GetAllAddressGroupsFailed';\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 Messages.ConvertPointsToCoupons.className = 'Vendd.Account.Messages.ConvertPointsToCoupons';\n\n Messages.ConvertPointsToCouponsFailure = function (response) {\n var data = {\n response: response\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 Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.ConvertPointsToCouponsSuccess', data);\n };\n Messages.ConvertPointsToCouponsSuccess.className = 'Vendd.Account.Messages.ConvertPointsToCouponsSuccess';\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 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 Messages.GetCouponInformations = function (model) {\n var data = { couponCode: model.couponCode };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetCouponInformations', data);\n };\n Messages.GetCouponInformations.className = 'Vendd.Account.Messages.GetCouponInformations';\n\n Messages.GetCouponInformationsSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetCouponInformationsSuccess', data);\n };\n Messages.GetCouponInformationsSuccess.className = 'Vendd.Account.Messages.GetCouponInformationsSuccess';\n\n Messages.GetCouponInformationsFailed = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetCouponInformationsFailed', response);\n };\n Messages.GetCouponInformationsFailed.className = 'Vendd.Account.Messages.GetCouponInformationsFailed';\n \n Messages.InvalidateCouponCode = function (model) {\n var data = { couponCode: model.couponCode };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.InvalidateCouponCode', data);\n };\n Messages.InvalidateCouponCode.className = 'Vendd.Account.Messages.InvalidateCouponCode';\n\n Messages.InvalidateCouponCodeSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.InvalidateCouponCodeSuccess', data);\n };\n Messages.InvalidateCouponCodeSuccess.className = 'Vendd.Account.Messages.InvalidateCouponCodeSuccess';\n\n Messages.InvalidateCouponCodeFailed = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.InvalidateCouponCodeFailed', response);\n };\n Messages.InvalidateCouponCodeFailed.className = 'Vendd.Account.Messages.InvalidateCouponCodeFailed';\n\n /*new message for entiry address info*/\n Messages.GetAddressInfo = function (fields, countryCode, prefecture, city, geoArea, postalCode, street, pageSize, pageNumber) {\n var data = {\n fields: fields,\n countryCode: countryCode,\n prefecture: prefecture,\n city: city,\n geoArea: geoArea,\n postalCode: postalCode,\n street: street,\n pageSize: pageSize,\n pageNumber: pageNumber\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAddressInfo', data);\n };\n Messages.GetAddressInfo.className = 'Vendd.Account.Messages.GetAddressInfo';\n\n Messages.GetAddressInfoSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAddressInfoSuccess', data);\n };\n Messages.GetAddressInfoSuccess.className = 'Vendd.Account.Messages.GetAddressInfoSuccess';\n\n Messages.GetAddressInfoFailed = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAddressInfoFailed', response);\n };\n Messages.GetAddressInfoFailed.className = 'Vendd.Account.Messages.GetAddressInfoFailed';\n\n /* messages reffering to Request Return - start */\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 Messages.ResetEditControl = function () {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.ResetEditControl', {});\n };\n Messages.ResetEditControl.className = 'Vendd.Account.Messages.ResetEditControl';\n\n Messages.ResetEditControlSuccess = function () {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.ResetEditControlSuccess', {});\n };\n Messages.ResetEditControlSuccess.className = 'Vendd.Account.Messages.ResetEditControlSuccess';\n\n Messages.ValidateEditControl = function () {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.ValidateEditControl', {});\n };\n Messages.ValidateEditControl.className = 'Vendd.Account.Messages.ValidateEditControl';\n\n Messages.ValidateEditControlSuccess = function (isValid, editAddressData) {\n var data = {\n isValid: isValid,\n editAddressData: editAddressData\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.ValidateEditControlSuccess', data);\n };\n Messages.ValidateEditControlSuccess.className = 'Vendd.Account.Messages.ValidateEditControlSuccess';\n /* messages reffering to Request Return - end */\n\n /* Address groups */\n\n Messages.GetAddressGroups = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAddressGroups');\n };\n Messages.GetAddressGroups.className = \"Vendd.Account.Messages.GetAddressGroups\";\n\n Messages.GetAddressGroupsSuccess = function (response) {\n var data = {\n model: response\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAddressGroupsSuccess', data);\n };\n Messages.GetAddressGroupsSuccess.className = 'Vendd.Account.Messages.GetAddressGroupsSuccess';\n\n Messages.GetAddressGroupsFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAddressGroupsFailed', response);\n };\n Messages.GetAddressGroupsFailed.className = 'Vendd.Account.Messages.GetAddressGroupsFailed';\n\n Messages.GetAddressGroup = function (addressGroupId) {\n var data = {\n addressGroupId: addressGroupId\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAddressGroup', data);\n };\n Messages.GetAddressGroup.className = \"Vendd.Account.Messages.GetAddressGroup\";\n\n Messages.GetAddressGroupSuccess = function (response) {\n var data = {\n model: response\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAddressGroupSuccess', data);\n };\n Messages.GetAddressGroupSuccess.className = 'Vendd.Account.Messages.GetAddressGroupSuccess';\n\n Messages.GetAddressGroupFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAddressGroupFailed', response);\n };\n Messages.GetAddressGroupFailed.className = 'Vendd.Account.Messages.GetAddressGroupFailed';\n\n Messages.DeleteAddressGroup = function (addressGroupId) {\n var data = {\n addressGroupId: addressGroupId\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.DeleteAddressGroup', data);\n };\n Messages.DeleteAddressGroup.className = \"Vendd.Account.Messages.DeleteAddressGroup\";\n\n Messages.DeleteAddressGroupSuccess = function (response) {\n var data = {\n addressGroupId: response\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.DeleteAddressGroupSuccess', data);\n };\n Messages.DeleteAddressGroupSuccess.className = 'Vendd.Account.Messages.DeleteAddressGroupSuccess';\n\n Messages.DeleteAddressGroupFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.DeleteAddressGroupFailed', response);\n };\n Messages.DeleteAddressGroupFailed.className = 'Vendd.Account.Messages.DeleteAddressGroupFailed';\n\n Messages.EditAddressGroup = function (id, name, description) {\n var data = {\n model: {\n Id: id,\n Name: name,\n Description: description\n }\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.EditAddressGroup', data);\n };\n Messages.EditAddressGroup.className = \"Vendd.Account.Messages.EditAddressGroup\";\n\n Messages.EditAddressGroupSuccess = function (response) {\n var data = {\n model: response\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.EditAddressGroupSuccess', data);\n };\n Messages.EditAddressGroupSuccess.className = 'Vendd.Account.Messages.EditAddressGroupSuccess';\n\n Messages.EditAddressGroupFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.EditAddressGroupFailed', response);\n };\n Messages.EditAddressGroupFailed.className = 'Vendd.Account.Messages.EditAddressGroupFailed';\n\n\n Messages.CheckAddressGroupIfExists = function (addressGroupId, name, description) {\n var data = {\n model: {\n Id: addressGroupId,\n Name: name,\n Description: description\n }\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.CheckAddressGroupIfExists', data);\n };\n Messages.CheckAddressGroupIfExists.className = 'Vendd.Account.Messages.CheckAddressGroupIfExists';\n\n Messages.CheckAddressGroupIfExistsSuccess = function (response) {\n var data = {\n model: response\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.CheckAddressGroupIfExistsSuccess', data);\n };\n Messages.CheckAddressGroupIfExistsSuccess.className = 'Vendd.Account.Messages.CheckAddressGroupIfExistsSuccess';\n\n Messages.CheckAddressGroupIfExistsFailure = function (response) {\n var data = {\n model: response // Should be null / undefined.\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.CheckAddressGroupIfExistsFailure', data);\n };\n Messages.CheckAddressGroupIfExistsFailure.className = 'Vendd.Account.Messages.CheckAddressGroupIfExistsFailure';\n\n Messages.OpenAddressGroupEditForm = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.OpenAddressGroupEditForm', data);\n };\n Messages.OpenAddressGroupEditForm.className = 'Vendd.Account.Messages.OpenAddressGroupEditForm';\n\n Messages.AddressGroupModelChanged = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.AddressGroupModelChanged', response);\n };\n Messages.AddressGroupModelChanged.className = 'Vendd.Account.Messages.AddressGroupModelChanged';\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 for (var i = 0; i < observers.length; i++) {\n var envelope = new MessageBus.Envelope(sender, message, false);\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 var message = localqueue[i].message; \n\t\t var sender = localqueue[i].sender;\n\t\t var observers = messages[message.className];\n if (Array.isArray(observers)) { \n var envelope = new MessageBus.Envelope(sender, message, true);\n for (var j = 0; j < observers.length; j++) {\n 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 || {});"]}