{"version":3,"sources":["vendd.user.js","vendd.deliverypoint.js","vendd.sharedLists.js","vendd.projectAgora.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.offerSubscription.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.allordershistory.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","sharedLists.messages.js","projectAgora.messages.js","installments.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","offerSubscription.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","allOrdershistory.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","getCartModelOptions","MessageBus","subscribe","SharedLists","Messages","ShareCart","envelope","options","url","data","title","message","onSuccess","response","success","publishAsync","ShareCartSuccess","ShareCartFailure","onFailure","Service","call","ShareWishList","listId","ShareWishListSuccess","ShareWishListFailure","SendList","code","email","SendListSuccess","SendListFailure","defaultCallExecuted","defaultCall","User","SessionState","IsNewSession","ClearClientModel","venddProjectConfigs","CartModelEnabled","SiteIsLocked","Cart","GetModel","GetSessionStateSuccess","pending","fetched","ProjectAgora","GetBanner","widgetId","undefined","GetBannerSuccess","GetBannerFailure","Installments","GetInstallmentsData","GetInstallmentsDataSuccess","GetInstallmentsDataFailed","modelPending","popupModelPending","getStores","WarehouseSelector","GetStoresSuccess","GetStoresFailed","setShippingMethod","SetShippingMethodSuccess","SetShippingMethodFailed","GetModelSuccess","GetModelFailed","GetPopupModel","GetPopupModelSuccess","GetPopupModelFailed","GetGeoAreas","GetGeoAreasSuccess","GetGeoAreasFailed","GetStoresByPostCode","GetStoresByGeoArea","GetStoresByLocation","SetDeliveryShippingMethod","SetFromStoreShippingMethod","LoginOrder","model","ValidateLoginOrder","ValidateLoginOrderSuccess","validation","ValidateLoginOrderFailure","ValidateLoginOrderError","GetOrderInfo","RemoveResource","rowid","resource","$","each","PendingProductCollection","x","product","RowId","Resources","grep","Uri","GetObservableAddress","editAddressOpen","address","observableaddress","ReadOnly","AddressLine1","PostCode","Area","Observable","ResetObservableAddress","clonnedAddress","jQuery","extend","Literals","OrderShippingLocation","GetShipmentStatus","method","OrderCode","VoucherCode","GetShipmentStatusSuccess","GetShipmentStatusFailure","GetShipmentStatusError","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","SubmitRequestOfferWidget","SubmitRequestOfferWidgetSuccess","SubmitRequestOfferWidgetFailure","ImportRequestOfferExcel","ImportRequestOfferExcelSuccess","ImportRequestOfferExcelFailure","RequestReturn","updateProductFields","item","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","AvailableItemForReturn","idx","ReturnItems","GetReturnRequestSuccess","GetReturnRequestFailure","GetReturnRequestError","SaveReturnItem","SaveReturnItemSuccess","SaveReturnItemFailure","SaveReturnItemError","DeleteReturnItem","DeleteReturnItemSuccess","DeleteReturnItemFailure","DeleteReturnItemError","SubmitOrderReturn","SubmitOrderReturnSuccess","SendReturnRequestNotification","SubmitOrderReturnsFailed","CheckOrderSession","GetMaxQuantityToAdd","orderitemid","activeQuantity","_","reduce","OrderItemId","memo","result","GetProductToAdd","OrderitemId","first","filter","UploadServiceUrl","MaxQuantity","MaxQuantityLabel","GetProductByGlobalId","UserWishlist","LhApp","Context","Language","LangCode","CurrCode","Currency","Code","SetClientModel","GetClientModel","document","cookie","indexOf","Item","Template","Cookies","remove","path","SaveWishlist","SaveWishlistSuccess","SaveWishlistFailed","responseJSON","DeleteWishlist","DeleteWishlistFailed","localStorage","removeItem","mdl","JSON","parse","getItem","Function","validateClientModel","IsLocalStorageCache","setItem","stringify","OfferSubscription","SubscribeToOffer","SubscribeToOfferFailure","SubscribeToOfferSuccess","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","username","password","publish","CreateCookieForInlineAdminSuccess","CreateCookieForInlineAdminFailure","CheckForInlineAdmin","ItemId","inlineAdminGlobalVariables","ItemPathChecksum","ItemCode","PageTemplate","EntityId","EntityCode","IsEditable","RequestNewGuest","CheckForInlineAdminSuccess","CheckForInlineAdminFailure","ReturnOrder","observabeItemCollection","BillingValidationEngine","BankInfo","DeleteSelected","deletedItemRowIds","i","length","Delete","push","apply","doDeleteItem","DeleteItem","rowId","observableRows","IsAdded","SetPayment","paymentType","Credit","Refund","keepParent","returnItemRowIds","IsSplitted","Children","IsChildElement","Parent","index","IsRemoved","ReturnItemConditionId","activeChildren","NotifyPropertyChanged","ind","UnSplit","observableRow","SelectAll","deleteItems","Split","itemChildren","newOrderitem","MaxIndex","ValidationEngine","observable","CreateOrderReturnItemalidationModel","GetReturnOrderCongfigData","GetObservableItemsCollection","refresh","Literals2","CouponCodes","vItem","EmptytObservableItemsCollection","GetAvailableItemConditions","SetResourceForItem","orderInfo","Request","OrderInfo","OrderItems","PreviousReturns","GetReturnModel","IBAN","Bank","Beneficiary","submitOrderItems","submittedItems","y","__type","valOptions","valmodel","DataValidation","ValidateModel","valBillOptions","Account","ValidateObservable","RequestReturnInfo","OrderId","CreateOrderBillingValidationModel","valEngine","BuildValidationModel","rule","propertyChanging","propertyName","value","PropertyName","PropertyValue","Validate","addOrUpdateValidationRule","updateValidationModel","AddListenerToPropertyChanging","DestroyBillingValidationModel","GetRequestReturn","orderid","GetRequestReturnSuccess","GetRequestReturnFailure","ValidateOrderContactInfo","d","GetReturnRequestValidationFormModelFailure","ValidateOrderContactInfoSuccess","ValidateOrderContactInfoFailure","GetReturnRequestValidationFormModel","GetReturnRequestValidationFormModelSuccess","GetReturnedOrdersModel","GetReturnedOrdersModelSuccess","GetReturnedOrdersModelFailure","Export","GetListingExport","exportCode","listingId","GetListingExportSuccess","GetListingExportFailure","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","AllOrdersHistory","GetOrderItems","orderCode","GetOrderItemsSuccess","GetOrderItemsFailure","OfflineOrdersHistory","orderId","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","languageCode","roleCode","GetModelFailure","initialized","state","getViewModel","id","bundleItems","LoaderOptions","BundleItems","pair","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","GetProductStockAndAvailabilities","GetProductStockAndAvailabilitiesSuccess","GetProductStockAndAvailabilitiesFailure","GetReplacedByProducts","GetReplacedByProductsSuccess","GetReplacedByProductsFailure","GetShippingCost","countryCode","postCode","areaId","itemsJson","GetShippingCostSuccess","GetShippingCostFailed","PdfExport","PdfExportSuccess","PdfExportFailure","GetUserAccount","GetUserAccountSuccess","GetUserAccountFailure","EditUser","EditUserSuccess","Newsletter","UpdateNewLetterVariables","EditUserFailed","GetAddresses","addressType","GetAddressesSuccess","GetAddressesFailed","SetDefaultAddress","addressId","AddressModelChanged","SetDefaultAddressFailure","DeleteAddress","DeleteAddressSuccess","DeleteAddressFailure","EditAddress","EditAddressSuccess","EditAddressFailed","ConvertPointsToCoupons","ConvertPointsToCouponsSuccess","ConvertPointsToCouponsFailure","CheckAddressIfExists","CheckAddressIfExistsSuccess","CheckAddressIfExistsFailure","GetAreasForPostCode","country","postalCode","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","Login","isLoginForm","LoginSuccess","LogoutSuccess","Merchant","templateCode","configCode","WishlistArticle","Wishlist","MultipleWishlistsEnabled","currentItemId","visitorListId","GetVisitorListByQueryString","AddSuccess","Warning","MultipleAdd","items","MultipleAddSuccess","removedProduct","find","ProductId","VariantId","MoveToCart","movedToCartProduct","ProductAdded","ShowMessages","UpdateItemQuantity","MoveAllToCart","toastr","getText","timeOut","showDuration","hideDuration","ListId","ClearSuccess","QueryString","getValueOf","unescape","RawUrl","WishlistModelEnabled","PendingMessages","DownLoadExcel","param","DownLoadExcelSuccess","DownLoadExcelFailure","ignoreExternalModules","CartAvailabilityRestrictionMessages","merge","parseFloat","toFixed","NumberOfDecimals","extraAttributes","enhancedInfo","isDefaultRecipeQuantitiesIncluded","AddCompleted","AlreadyInCart","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","shippingMethodId","shippingCompanyId","ApplyShippingDataSuccess","ApplyShippingDataFailed","GetShippingModel","GetShippingModelSuccess","GetShippingModelFailed","AddOrderItemsToCart","AddOrderItemsToCartSuccess","AddOrderItemsToCartFailed","AddMultipleSkusToCart","AddMultipleSkusToCartSuccess","AddMultipleSkusToCartFailed","SetDeliveryPoint","SetDigitalCare","IsDigitalCareSelected","SetDigitalCareSuccess","SetDigitalCareFailure","GetPromotedDiscounts","GetPromotedDiscountsSuccess","GetPromotedDiscountsFailure","ProductList","ItemPath","list","attr","requestData","itemPath","pageNumber","PageSize","sortKey","SortKey","fullPath","FullPath","excludeItemIds","ExcludeItemIds","includeFilters","defaultUriFilter","uri","GetLanguageTranslateUrl","GetLanguageTranslateUrlSuccess","GetLanguageTranslateUrlFailed","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","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","rawdata","Quickbuy","initialSelectColorText","initialSelectSizeText","initialSelectDim3Text","QuickbuyList","addToQuickbuyList","productsList","color","Dimensionsjson","FinalSkuPrices","Fields","Color","DefaultColorId","SkuList","Skus","skus","keys","selectedSku","SkuData","UnitPrice","DisplayPrice","Display","DeletedPrice","DisplayDeletedPrice","DiscountPercentage","Discount","QuantityPrices","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","CanPreorder","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","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","OpenPopup","ClosePopup","StateChanged","PostalCode","geoAreaId","GeoAreaId","Location","storeId","PreferredStoreId","vinNumber","partnerItemId","orderPhone","wishlistId","widgetCode","formData","WishListId","RequestOfferWidgetCode","RecaptchaCode","UserData","visitorList","VisitorListId","VisitorListTypeId","Tracking","ProductsUpdated","Consents","InsertAllCookiesSuccess","InsertConsents","newsId","mobile","SubmitSfmForm","registrationFormData","SubmitSfmFormSuccess","SubmitSfmFormFailure","pageid","registered","discountCode","renderInline","requestNewGuest","OpenAddressEditForm","ordercode","phone","voucherCode","providerId","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","description","rating","productid","positive","vote","ProductSelected","skuCode","zipCode","ignoreAvailability","geoLocationWithZipCode","topAvailableWarehouse","groupBy","hasGeolocation","latitude","longitude","variantArray","shippingCompany","isOrder","lstVariantInfo","partnerId","variantId","plData","req","allOrdersHistory","OrderItemsRendered","itemsCount","AddSkusListToCart","AddAllToCart","competition","firstname","lastname","phones","mobiles","customxml","terms","subject","contactFileUpload","currentCountryCode","itemInfo","Math","round","itemsList","messages","resultMessages","responseData","cartId","CollectionAdded","jobTitle","jobId","regionTitle","typeTitle","careerFileUpload","Email","Phone","Address","Message","JobTitle","JobId","RegionTitle","TypeTitle","CvFileUploaded","reviewArticleId","reviewTitle","reviewDescription","reviewRating","ReviewArticleId","ReviewTitle","ReviewDescription","ReviewRating","oldPassword","birthDate","receiveEinvoice","resellerDisplayedPrice","ResellerDisplayedPrice","addressGroupFilter","SetDefaultAddressSuccess","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","streetNumberCombined","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":"AAshBA,SAAAA,SAAAC,YACAA,WAAAC,kBACAD,WAAAE,kBAAAC,SCxhBA,ICAAC,MAAA,SAAAA,OACA,aAEA,IAAAC,oBAAA,GA+FA,OA1FAD,MAAAE,WAAAC,UAAAH,MAAAI,YAAAC,SAAAC,UAAAN,MAAAI,YAAA,SAAAG,UAaA,IAAAC,QAAA,CACAC,IAAA,4BACAC,KAAA,CAAAC,MAAAJ,SAAAK,QAAAF,KAAAC,OACAE,UAfA,SAAAC,UACAA,SAAAC,QACAf,MAAAE,WAAAc,aAAAhB,MAAAI,YAAA,IAAAJ,MAAAI,YAAAC,SAAAY,iBAAAH,WAEAd,MAAAE,WAAAc,aAAAhB,MAAAI,YAAA,IAAAJ,MAAAI,YAAAC,SAAAa,iBAAAJ,YAYAK,UARA,SAAAL,UACAd,MAAAE,WAAAc,aAAAhB,MAAAI,YAAA,IAAAJ,M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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\t\t\tmodel = model ? $.extend({}, model, { LangCode: LhApp.Context.Language, CurrCode: LhApp.Context.Currency.Code }) : 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 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\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.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\tmodel = response ? $.extend({}, response, { LangCode: LhApp.Context.Language, CurrCode: LhApp.Context.Currency.Code }) : 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\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\tVendd.MessageBus.subscribe(Vendd.SharedLists.Messages.ShareCart, Vendd.SharedLists, function (envelope) {\n function onSuccess(response) {\n if (response.success) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.SharedLists, new Vendd.SharedLists.Messages.ShareCartSuccess(response));\n\t } else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.SharedLists, new Vendd.SharedLists.Messages.ShareCartFailure(response));\n\t }\n\t }\n\n\t function onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.SharedLists, new Vendd.SharedLists.Messages.ShareCartFailure(response));\n\t }\n\n\t var options = {\n\t\t\turl: 'EcomService.svc/ShareCart',\n\t data: { title: envelope.message.data.title },\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.SharedLists.Messages.ShareWishList, Vendd.SharedLists, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tif (response.success) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.SharedLists, new Vendd.SharedLists.Messages.ShareWishListSuccess(response));\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.SharedLists, new Vendd.SharedLists.Messages.ShareWishListFailure(response));\n\t\t\t}\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.SharedLists, new Vendd.SharedLists.Messages.ShareWishListFailure(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/ShareWishList',\n\t\t\tdata: { listId: envelope.message.data.listId, title: envelope.message.data.title },\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.SharedLists.Messages.SendList, Vendd.SharedLists, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tif (response.success) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.SharedLists, new Vendd.SharedLists.Messages.SendListSuccess(response));\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.SharedLists, new Vendd.SharedLists.Messages.SendListFailure(response));\n\t\t\t}\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.SharedLists, new Vendd.SharedLists.Messages.SendListFailure(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/SendList',\n\t\t\tdata: { code: envelope.message.data.code, title: envelope.message.data.title, email: envelope.message.data.email },\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\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 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\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 Vendd.LoginOrder.GetOrderInfo = function () {\n\n //var clonnedAddress = jQuery.extend(true, { Literals: model.Literals }, model.OrderShippingLocation);\n //observableaddress = new Vendd.Observable(clonnedAddress);\n\n return model;\n };\n\n Vendd.LoginOrder.RemoveResource = function (rowid, resource) {\n $.each(PendingProductCollection, function (x, product) {\n if (x.RowId == rowid) {\n product.Resources = $.grep(product.Resources, function (x) {\n return x.Uri == resource;\n });\n }\n });\n };\n\n LoginOrder.GetObservableAddress = function () {\n editAddressOpen = true;\n var address = observableaddress.GetModel();\n address.ReadOnly = true;\n address.AddressLine1 = '';\n address.PostCode = '';\n address.Area = '';\n observableaddress = new Vendd.Observable(address);\n return observableaddress;\n };\n\n LoginOrder.ResetObservableAddress = function () {\n editAddressOpen = false;\n var clonnedAddress = jQuery.extend(true, { Literals: model.Literals }, model.OrderShippingLocation);\n observableaddress = new Vendd.Observable(clonnedAddress);\n return observableaddress;\n };\n\n function updateProductFields(item) {\n item = item || {};\n item.Literals = {\n Save: model.Literals.Save,\n SKUText: model.Literals.SKUText,\n ProductText: model.Literals.ProductText,\n QuantityText: model.Literals.QuantityText,\n ProductConditionText: model.Literals.ProductConditionText,\n PhotosText: model.Literals.PhotosText,\n CommentsText: model.Literals.CommentsText,\n ResendText: model.Literals.ResendText,\n AttachText: model.Literals.AttachText,\n PhotosLimitText: model.Literals.PhotosLimitText,\n SelectConditionText: model.Literals.SelectConditionText,\n MaxQuantityText: model.Literals.MaxQuantityText,\n QuantityRequiredText: model.Literals.QuantityRequiredText,\n ImagesRequiredText: model.Literals.ImagesRequiredText,\n ResendLabel: model.Literals.ResendLabel,\n CommentsPlaceholder: model.Literals.CommentsPlaceholder,\n YesText: model.Literals.YesText,\n NoText: model.Literals.NoText,\n StatusRequiredText: model.Literals.StatusRequiredText\n };\n item.ReturnRequestGlobalId = model.Return.GlobalId;\n item.ReturnItemGlobalId = item.GlobalId;\n item.AvailableQuantityForReturn = item.Quantity - item.ReturnQuantity;\n item.AvailableConditions = model.Return.AvailableConditions;\n item.DropdownProductDescription = model.Literals.DropdownProductDescription.replace('{{ProductCode}}', item.ProductCode).replace('{{ReturnQuantity}}', item.ReturnQuantity).replace('{{Quantity}}', item.Quantity);\n return item;\n }\n\n Vendd.MessageBus.subscribe(Vendd.LoginOrder.Messages.GetShipmentStatus, Vendd.LoginOrder, function (envelope) {\n\n var options = {\n method: \"GET\",\n url: \"api/LoginOrder/GetShipmentTrackingData?orderCode=\" + envelope.message.data.OrderCode + \"&voucherCode=\" + envelope.message.data.VoucherCode,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n\n if (response.success) {\n\n model = response.data;\n\n model.OrderCode = envelope.message.data.OrderCode;\n\n Vendd.MessageBus.publishAsync(Vendd.LoginOrder, new Vendd.LoginOrder.Messages.GetShipmentStatusSuccess(model));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.LoginOrder, new Vendd.LoginOrder.Messages.GetShipmentStatusFailure(response));\n }\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.LoginOrder, new Vendd.LoginOrder.Messages.GetShipmentStatusError(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.SubmitRequestOfferWidget, Vendd.RequestOffer, function (envelope) {\n\n if (!funcCookiesEnabled)\n return;\n\n var options = {\n url: 'api/RequestOffer/SubmitRequestOfferWidget',\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.SubmitRequestOfferWidgetSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.SubmitRequestOfferWidgetFailure(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\t\tmodel = response.data ? $.extend({}, response.data, { LangCode: LhApp.Context.Language, CurrCode: LhApp.Context.Currency.Code }) : response.data;\n\t Vendd.UserWishlist.SetClientModel(model);\n\t\t\tVendd.MessageBus.publishAsync(Vendd.UserWishlist, new Vendd.UserWishlist.Messages.GetModelSuccess(model, envelope.sender));\n\n\t pending = false;\n\t }\n\n\t function onFailure(response) {\n\t\t\tVendd.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\t\t\tVendd.MessageBus.publishAsync(envelope.sender, new Vendd.UserWishlist.Messages.GetModel());\n\t\t\t\tVendd.MessageBus.publishAsync(envelope.sender, new Vendd.UserWishlist.Messages.SaveWishlistSuccess());\n\t } else {\n\t\t\t\tVendd.MessageBus.publishAsync(envelope.sender, new Vendd.UserWishlist.Messages.SaveWishlistFailed(response));\n\t }\n\t }\n\n\t function onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(envelope.sender, new Vendd.UserWishlist.Messages.SaveWishlistFailed(response.responseJSON));\n\t }\n\n\t var options = {\n\t method: 'POST',\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\t\tVendd.MessageBus.publishAsync(envelope.sender, 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: 'POST',\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(\n Vendd.OfferSubscription.Messages.SubscribeToOffer,\n Vendd.OfferSubscription,\n function (envelope) {\n\n var options = {\n method: 'POST',\n url: 'api/OfferSubscription/SubscribeToOffer',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n if (!response.success) {\n return Vendd.MessageBus.publishAsync(\n Vendd.OfferSubscription,\n new Vendd.OfferSubscription.Messages.SubscribeToOfferFailure(response)\n );\n }\n\n return Vendd.MessageBus.publishAsync(\n Vendd.OfferSubscription,\n new Vendd.OfferSubscription.Messages.SubscribeToOfferSuccess(response.message)\n );\n }\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(\n Vendd.OfferSubscription,\n new Vendd.OfferSubscription.Messages.SubscribeToOfferFailure(response)\n );\n }\n\n Vendd.Service.call(options);\n }\n );\n\n return Vendd;\n\n})(Vendd || {});\n","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: 'POST',\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 function onSuccess(response) {\n if (response && response.data) {\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 return;\n } \n\n response.redirectUrl = envelope.message.data.redirectUrl;\n Vendd.MessageBus.publish(Vendd.InlineAdmin, new Vendd.InlineAdmin.Messages.CreateCookieForInlineAdminFailure(response, envelope.message.data.redirectUrl));\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 if (response && response.data) {\n Vendd.MessageBus.publish(Vendd.InlineAdmin, new Vendd.InlineAdmin.Messages.CheckForInlineAdminSuccess(response));\n return;\n }\n\n Vendd.MessageBus.publish(Vendd.InlineAdmin, new Vendd.InlineAdmin.Messages.CheckForInlineAdminFailure(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.AllOrdersHistory.Messages.GetOrderItems, Vendd.AllOrdersHistory, function (envelope) {\n var options = {\n url: 'api/AllOrdersItemsHistory/GetOrderItems',\n data: {\n orderCode: envelope.message.data,\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(envelope.sender, new Vendd.AllOrdersHistory.Messages.GetOrderItemsSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(envelope.sender, new Vendd.AllOrdersHistory.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.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 = \"\";\n\n if (location.search !== \"\" && (location.search.indexOf('preview') > -1 || location.search.indexOf('forceelastic') > -1)) {\n var parameters = location.search.split(\"&\");\n for (var i = 0; i < parameters.length; i++) {\n var pair = parameters[i].split(\"=\");\n if (pair[0] == 'preview' || pair[0] == 'forceelastic') {\n if (queryString.length > 0) {\n queryString = queryString + '&' + parameters[i];\n } else {\n queryString = '?' + parameters[i]\n }\n }\n }\n }\n \n var options = {\n url: 'AdapterService.svc/GetData' + queryString,\n data: {\n serviceConfiguration: JSON.stringify(configuration)\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n };\n\n Vendd.Product.Controller = (function () {\n var initialized = false;\n\n return {\n 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.GetProductStockAndAvailabilities, Vendd.Product, function (envelope) {\n\n var options = {\n url: 'EcomService.svc/GetProductStockAndAvailabilities',\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.GetProductStockAndAvailabilitiesSuccess(model));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetProductStockAndAvailabilitiesFailure(response));\n }\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetProductStockAndAvailabilitiesFailure(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.GetShippingCost, Vendd.Product, function (envelope) {\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetShippingCostSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetShippingCostFailed(response));\n }\n\n var options = {\n url: 'ProductListService.svc/GetShippingCost',\n data: {\n countryCode: envelope.message.data.countryCode,\n postCode: envelope.message.data.postCode,\n areaId: envelope.message.data.areaId,\n itemsJson: envelope.message.data.itemsJson,\n },\n onSuccess: onSuccess,\n onFailure: onFailure\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 Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.DeleteAddressSuccess(response));\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.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\t\tVendd.MessageBus.publishAsync(envelope.sender, 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\t\tmodel = response.data ? $.extend({}, response.data, { LangCode: LhApp.Context.Language, CurrCode: LhApp.Context.Currency.Code }) : 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' || response.code == 'RequiresAuthenticationError') {\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(envelope.sender, 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.MultipleAdd, Vendd.Wishlist, function (envelope) {\n\t\tvar data = {\n\t\t\titems: envelope.message.data\n\t\t};\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/AddItemsToWishlist',\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.Wishlist.ClearClientModel();\n\n\t\t\tif (LhApp.Context.MultipleWishlistsEnabled)\n\t\t\t\tVendd.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.MultipleAddSuccess(envelope.message.data.id, envelope.message.data.skuId, response));\n\t\t\t\t}\n\n\t\t\t\tif (response.code === 'ValidationError' || response.code == 'RequiresAuthenticationError') {\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(envelope.sender, 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\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\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Wishlist.Messages.Remove, Vendd.Wishlist, function (envelope) {\n\n\t\tvar data = LhApp.Context.MultipleWishlistsEnabled && !envelope.message.data.visitorListId\n\t\t\t? $.extend({}, envelope.message.data, { visitorListId: Vendd.Wishlist.GetVisitorListByQueryString() })\n\t\t\t: envelope.message.data;\n\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Wishlist.ClearClientModel();\n\n\t\t\tif (LhApp.Context.MultipleWishlistsEnabled)\n\t\t\t\tVendd.UserWishlist.ClearClientModel();\n\n\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\t\t\tif (response.code === 'OperationSuccesful') {\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.RemoveSuccess(removedProduct.ProductId, removedProduct.VariantId, response));\n\t\t\t\t}\n\n\t\t\t\tif (response.code === 'ValidationError' || response.code == 'RequiresAuthenticationError') {\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(envelope.sender, new Vendd.Wishlist.Messages.GetModel());\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Failed(response));\n\t\t\t}\t \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: 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\t\t\tVendd.MessageBus.publishAsync(envelope.sender, 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(envelope.sender, 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(envelope.sender, 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\t\tvar listId = Vendd.Wishlist.GetVisitorListByQueryString(), model;\n\n\t\tif (listId == 0) {\n\t\t\tmodel = JSON.parse(localStorage.getItem(\"CurrentWishlistModel\"));\n\t\t\tlistId = model.ListId;\n\t\t}\n\n\t\tvar data = { listId: listId };\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\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.ClearSuccess());\n\t\t\t\tVendd.MessageBus.publishAsync(envelope.sender, 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\tVendd.MessageBus.publishAsync(envelope.sender, new Vendd.Wishlist.Messages.GetModel());\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.LogoutSuccess, Vendd.Wishlist, function (envelope) {\n\t\tVendd.MessageBus.publishAsync(envelope.sender, 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, CurrCode: LhApp.Context.Currency.Code}) : 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\t\t\t\t\tqty: parseFloat(envelope.message.data.qty).toFixed(venddProjectConfigs.NumberOfDecimals ? venddProjectConfigs.NumberOfDecimals : 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.ClearSuccess(response));\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.MessageBus.subscribe(Vendd.Cart.Messages.AddMultipleSkusToCart, 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.AddMultipleSkusToCartSuccess(response));\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\n } else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.AddMultipleSkusToCartFailed(response));\n };\n }\n\n function onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.AddMultipleSkusToCartFailed(response));\n }\n\n var options = {\n url: 'EcomService.svc/AddMultipleSkusToCart',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.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\t\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.GetPromotedDiscounts, Vendd.Cart, function (envelope) {\n\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetPromotedDiscountsSuccess(response));\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetPromotedDiscountsFailure(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'api/cart/GetPromotedDiscounts',\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\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 Vendd.MessageBus.subscribe(Vendd.ProductList.Messages.GetLanguageTranslateUrl, Vendd.ProductList, function (envelope) {\n var data = envelope.message.data;\n\n var options = {\n url: 'CommonService.svc/GetLanguageTranslateUrl',\n data: { url: data.url },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.ProductList, new Vendd.ProductList.Messages.GetLanguageTranslateUrlSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.ProductList, new Vendd.ProductList.Messages.GetLanguageTranslateUrlFailed(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 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 var url = '';\n\n switch (type) {\n case 'articleList':\n url = 'CachedServices/api/Article/GetScrolledArticleList' + (location.search);\n break;\n\n case 'getTheLookList':\n url = 'CachedServices/api/GetTheLook/GetTheLookList' + (location.search);\n break;\n\n default:\n url = 'CachedServices/api/Product/GetScrolledProductList' + (location.search) + (location.search && location.search.length ? '&' : '?') + 'lang=' + LhApp.Context.Language;\n break;\n }\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: JSON.stringify(envelope.message.data),\n rawdata: true,\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 if (parse) {\n productsList[n].Dimensionsjson = JSON.parse(productsList[n].Dimensionsjson);\n productsList[n].FinalSkuPrices = productsList[n].Fields.FinalSkuPrices;\n }\n\n if (!productsList[n].Dimensionsjson)\n continue;\n\n //get color\n color = \"\";\n if (productsList[n].Color) {\n color = \"-\" + productsList[n].Color;\n } else if (productsList[n].DefaultColorId) {\n color = \"-\" + productsList[n].DefaultColorId;\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].FinalSkuPrices);\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].FinalSkuPrices[selectedSku].DisplayPrice.Display;\n item.SkuData.DeletedPrice = productsList[n].FinalSkuPrices[selectedSku].DisplayDeletedPrice.Display;\n item.SkuData.DiscountPercentage = productsList[n].FinalSkuPrices[selectedSku].Discount.Display;\n item.SkuData.QuantityPrices = productsList[n].FinalSkuPrices[selectedSku].QuantityPrices;\n }\n }); \n\n QuickbuyList[productsList[n].Id + color] = productsList[n].Dimensionsjson;\n }\n };\n\n Quickbuy.Update = function ($wrapper, model, partial) {\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 //set single size as selected\n if (state.Sizes.length === 1)\n wrapper.SelectedSizeId = state.Sizes[0].Id;\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 || skus[j].SkuData.CanPreorder);\n\n if (state.SizeDisabled && (skus[j].SkuData.CanBuy || skus[j].SkuData.CanPreorder)) {\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 //set single dim3 as selected\n if (state.Dim3.length === 1)\n wrapper.SelectedDim3Id = state.Dim3[0].Id;\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 || skus[j].SkuData.CanPreorder);\n\n if (state.Dim3Disabled && (skus[j].SkuData.CanBuy || skus[j].SkuData.CanPreorder)) {\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 || skus[j].SkuData.CanPreorder);\n\n if (state.ColorDisabled && (skus[j].SkuData.CanBuy || skus[j].SkuData.CanPreorder)) {\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 //set single dim3 as selected\n if (state.Dim3.length === 1)\n wrapper.SelectedDim3Id = state.Dim3[0].Id;\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 || skus[j].SkuData.CanPreorder);\n\n if (state.Dim3Disabled && (skus[j].SkuData.CanBuy || skus[j].SkuData.CanPreorder)) {\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 ((state.HasColors && skus[j].ColorId == wrapper.SelectedColorId && skus[j].SizeId == state.Sizes[i].Id)\n || (!state.HasColors && skus[j].SizeId == state.Sizes[i].Id)) {\n\n state.Sizes[i].Disabled = !(skus[j].SkuData.CanBuy || skus[j].SkuData.CanPreorder);\n\n if (state.SizeDisabled && (skus[j].SkuData.CanBuy || skus[j].SkuData.CanPreorder)) {\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 //check for disabled dim3\n state.Dim3Disabled = true;\n for (var i = 0; i < state.Dim3.length; i++) {\n for (var j = 0; j < skus.length; j++) {\n if ((state.HasThreeDims && skus[j].ColorId == wrapper.SelectedColorId && skus[j].SizeId == wrapper.SelectedSizeId && skus[j].Dim3Id == state.Dim3[i].Id)\n || (state.HasSizes && skus[j].SizeId == wrapper.SelectedSizeId && skus[j].Dim3Id == state.Dim3[i].Id)\n || (!state.HasColors && !state.HasSizes && skus[j].Dim3Id == state.Dim3[i].Id)) {\n\n state.Dim3[i].Disabled = !(skus[j].SkuData.CanBuy || skus[j].SkuData.CanPreorder);\n\n if (state.Dim3Disabled && (skus[j].SkuData.CanBuy || skus[j].SkuData.CanPreorder)) {\n state.Dim3Disabled = false;\n }\n }\n }\n }\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 response.data = JSON.parse(response.data);\n\n widgetModel = response && response.data ? $.extend({}, response.data, { LangCode: LhApp.Context.Language, CurrCode: LhApp.Context.Currency.Code }) : response.data;\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 path: envelope.message.data.path ? envelope.message.data.path : \"/\",\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 pagesize: envelope.message.data.pageSize,\n path: envelope.message.data.path ? envelope.message.data.path : \"/\",\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 pagesize: envelope.message.data.pageSize,\n path: envelope.message.data.path ? envelope.message.data.path : \"/\",\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, envelope.sender));\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 path: envelope.message.data.path ? envelope.message.data.path : \"/\",\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 path: envelope.message.data.path ? envelope.message.data.path : \"/\"\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 'use strict';\n\n Vendd.SharedLists = (function (SharedLists) {\n\n SharedLists.Messages = (function (Messages) {\n\n Messages.ShareCart = function (title) {\n var data = { title: title };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.SharedLists.Messages.ShareCart', data);\n };\n Messages.ShareCart.className = 'Vendd.SharedLists.Messages.ShareCart';\n\n Messages.ShareCartSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.SharedLists.Messages.ShareCartSuccess', response);\n };\n Messages.ShareCartSuccess.className = 'Vendd.SharedLists.Messages.ShareCartSuccess';\n\n Messages.ShareCartFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.SharedLists.Messages.ShareCartFailure', response);\n };\n Messages.ShareCartFailure.className = 'Vendd.SharedLists.Messages.ShareCartFailure';\n\n\n Messages.ShareWishList = function (listId, title) {\n var data = { listId: listId, title: title };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.SharedLists.Messages.ShareWishList', data);\n };\n Messages.ShareWishList.className = 'Vendd.SharedLists.Messages.ShareWishList';\n\n Messages.ShareWishListSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.SharedLists.Messages.ShareWishListSuccess', response);\n };\n Messages.ShareWishListSuccess.className = 'Vendd.SharedLists.Messages.ShareWishListSuccess';\n\n Messages.ShareWishListFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.SharedLists.Messages.ShareWishListFailure', response);\n };\n Messages.ShareWishListFailure.className = 'Vendd.SharedLists.Messages.ShareWishListFailure';\n\n\n Messages.SendList = function (code, title, email) {\n var data = { code: code, title: title, email: email };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.SharedLists.Messages.SendList', data);\n };\n Messages.SendList.className = 'Vendd.SharedLists.Messages.SendList';\n\n Messages.SendListSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.SharedLists.Messages.SendListSuccess', response);\n };\n Messages.SendListSuccess.className = 'Vendd.SharedLists.Messages.SendListSuccess';\n\n Messages.SendListFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.SharedLists.Messages.SendListFailure', response);\n };\n Messages.SendListFailure.className = 'Vendd.SharedLists.Messages.SendListFailure';\n\n return Messages;\n\n })(SharedLists.Messages || {});\n\n return SharedLists;\n\n })(Vendd.SharedLists || {});\n\n return Vendd;\n\n})(Vendd || {});\n","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\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 Messages.GetShipmentStatus = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.LoginOrder.Messages.GetShipmentStatus\", data);\n };\n Messages.GetShipmentStatus.className = \"Vendd.LoginOrder.Messages.GetShipmentStatus\";\n\n\n Messages.GetShipmentStatusSuccess = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.LoginOrder.Messages.GetShipmentStatusSuccess\", data);\n };\n Messages.GetShipmentStatusSuccess.className = \"Vendd.LoginOrder.Messages.GetShipmentStatusSuccess\";\n\n\n Messages.GetShipmentStatusFailure = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.LoginOrder.Messages.GetShipmentStatusFailure\", data);\n };\n Messages.GetShipmentStatusFailure.className = \"Vendd.LoginOrder.Messages.GetShipmentStatusFailure\";\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\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.SubmitRequestOfferWidget = function (wishlistId, widgetCode, reCaptchaCode, formData) {\n var data = {\n WishListId: wishlistId,\n RequestOfferWidgetCode: widgetCode,\n RecaptchaCode: reCaptchaCode,\n UserData: formData\n };\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.SubmitRequestOfferWidget\", data);\n };\n Messages.SubmitRequestOfferWidget.className = \"Vendd.RequestOffer.Messages.SubmitRequestOfferWidget\";\n\n Messages.SubmitRequestOfferWidgetSuccess = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.SubmitRequestOfferWidgetSuccess\", data);\n };\n Messages.SubmitRequestOfferWidgetSuccess.className = \"Vendd.RequestOffer.Messages.SubmitRequestOfferWidgetSuccess\";\n\n Messages.SubmitRequestOfferWidgetFailure = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.SubmitRequestOfferWidgetFailure\", data);\n };\n Messages.SubmitRequestOfferWidgetFailure.className = \"Vendd.RequestOffer.Messages.SubmitRequestOfferWidgetFailure\";\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\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.RequestReturn = (function (RequestReturn) {\n\n RequestReturn.Messages = (function (Messages) {\n\n\n Messages.GetReturnRequest = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.GetReturnRequest\", data);\n };\n Messages.GetReturnRequest.className = \"Vendd.RequestReturn.Messages.GetReturnRequest\";\n\n\n Messages.GetReturnRequestSuccess = function (orderid) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.GetReturnRequestSuccess\", orderid);\n };\n Messages.GetReturnRequestSuccess.className = \"Vendd.RequestReturn.Messages.GetReturnRequestSuccess\";\n\n\n Messages.GetReturnRequestFailure = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.GetReturnRequestFailure\", data);\n };\n Messages.GetReturnRequestFailure.className = \"Vendd.RequestReturn.Messages.GetReturnRequestFailure\";\n\n Messages.GetReturnRequestError = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.GetReturnRequestError\", data);\n };\n Messages.GetReturnRequestError.className = \"Vendd.RequestReturn.Messages.GetReturnRequestError\";\n\n\n Messages.SaveReturnItem = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.SaveReturnItem\", data);\n };\n Messages.SaveReturnItem.className = \"Vendd.RequestReturn.Messages.SaveReturnItem\";\n\n\n Messages.SaveReturnItemSuccess = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.SaveReturnItemSuccess\", data.data);\n };\n Messages.SaveReturnItemSuccess.className = \"Vendd.RequestReturn.Messages.SaveReturnItemSuccess\";\n\n Messages.SaveReturnItemFailure = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.SaveReturnItemFailure\", data);\n };\n Messages.SaveReturnItemFailure.className = \"Vendd.RequestReturn.Messages.SaveReturnItemFailure\";\n Messages.SaveReturnItemError = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.SaveReturnItemError\", data);\n };\n Messages.SaveReturnItemError.className = \"Vendd.RequestReturn.Messages.SaveReturnItemError\";\n\n\n\n Messages.DeleteReturnItem = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.DeleteReturnItem\", data);\n };\n Messages.DeleteReturnItem.className = \"Vendd.RequestReturn.Messages.DeleteReturnItem\";\n\n Messages.DeleteReturnItemSuccess = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.DeleteReturnItemSuccess\", data.data);\n };\n Messages.DeleteReturnItemSuccess.className = \"Vendd.RequestReturn.Messages.DeleteReturnItemSuccess\";\n\n Messages.DeleteReturnItemFailure = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.DeleteReturnItemFailure\", data);\n };\n Messages.DeleteReturnItemFailure.className = \"Vendd.RequestReturn.Messages.DeleteReturnItemFailure\";\n Messages.DeleteReturnItemError = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.DeleteReturnItemError\", data);\n };\n Messages.DeleteReturnItemError.className = \"Vendd.RequestReturn.Messages.DeleteReturnItemError\";\n\n Messages.SubmitOrderReturn = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.RequestReturn.Messages.SubmitOrderReturn', data);\n };\n Messages.SubmitOrderReturn.className = 'Vendd.RequestReturn.Messages.SubmitOrderReturn';\n\n\n Messages.SubmitOrderReturnSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.RequestReturn.Messages.SubmitOrderReturnSuccess', response);\n };\n Messages.SubmitOrderReturnSuccess.className = 'Vendd.RequestReturn.Messages.SubmitOrderReturnSuccess';\n\n\n Messages.SubmitOrderReturnsFailed = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.RequestReturn.Messages.SubmitOrderReturnsFailed', data);\n };\n Messages.SubmitOrderReturnsFailed.className = 'Vendd.RequestReturn.Messages.SubmitOrderReturnsFailed';\n\n Messages.SendReturnRequestNotification = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.RequestReturn.Messages.SendReturnRequestNotification', data);\n };\n Messages.SendReturnRequestNotification.className = 'Vendd.RequestReturn.Messages.SendReturnRequestNotification';\n\n 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 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, sender) {\n var data = {\n model: model,\n sender: sender\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserWishlist.Messages.GetModelSuccess', data);\n };\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.OfferSubscription = (function (OfferSubscription) {\n\n OfferSubscription.Messages = (function (Messages) {\n\n Messages.SubscribeToOffer = function (formData) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.OfferSubscription.Messages.SubscribeToOffer', formData);\n };\n Messages.SubscribeToOffer.className = 'Vendd.OfferSubscription.Messages.SubscribeToOffer';\n\n Messages.SubscribeToOfferSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.OfferSubscription.Messages.SubscribeToOfferSuccess', response);\n };\n Messages.SubscribeToOfferSuccess.className = 'Vendd.OfferSubscription.Messages.SubscribeToOfferSuccess';\n\n Messages.SubscribeToOfferFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.OfferSubscription.Messages.SubscribeToOfferFailure', response);\n };\n Messages.SubscribeToOfferFailure.className = 'Vendd.OfferSubscription.Messages.SubscribeToOfferFailure';\n\n return Messages;\n\n })(OfferSubscription.Messages || {});\n\n return OfferSubscription;\n\n })(Vendd.OfferSubscription || {});\n\n return Vendd;\n\n})(Vendd || {});\n","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 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 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 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 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 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 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\n return Messages;\n\n })(CustomForms.Messages || {});\n\n return CustomForms;\n\n })(Vendd.CustomForms || {});\n\n return 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.MultipleAdd = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Wishlist.Messages.MultipleAdd', data);\n };\n Messages.MultipleAdd.className = 'Vendd.Wishlist.Messages.MultipleAdd';\n\n Messages.MultipleAddSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Wishlist.Messages.MultipleAddSuccess\", data);\n };\n Messages.MultipleAddSuccess.className = 'Vendd.Wishlist.Messages.MultipleAddSuccess'\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.ClearSuccess = function () {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Wishlist.Messages.ClearSuccess\");\n };\n Messages.ClearSuccess.className = \"Vendd.Wishlist.Messages.ClearSuccess\";\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.Warning = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Wishlist.Messages.Warning', response);\n };\n Messages.Warning.className = 'Vendd.Wishlist.Messages.Warning';\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\n return 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, 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 \"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, 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 \"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, sender) {\n var data = {\n model: model,\n sender: sender\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 Messages.GetLanguageTranslateUrl = function (url) {\n var data = {\n url: url\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductList.Messages.GetLanguageTranslateUrl', data);\n };\n Messages.GetLanguageTranslateUrl.className = 'Vendd.ProductList.Messages.GetLanguageTranslateUrl';\n\n Messages.GetLanguageTranslateUrlSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductList.Messages.GetLanguageTranslateUrlSuccess', response);\n };\n Messages.GetLanguageTranslateUrlSuccess.className = 'Vendd.ProductList.Messages.GetLanguageTranslateUrlSuccess';\n\n Messages.GetLanguageTranslateUrlFailed = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductList.Messages.GetLanguageTranslateUrlFailed', response);\n };\n Messages.GetLanguageTranslateUrlFailed.className = 'Vendd.ProductList.Messages.GetLanguageTranslateUrlFailed';\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 type: type,\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\n Messages.GetShippingCost = function (countryCode, postCode, areaId, itemsJson) {\n var data = {\n countryCode: countryCode,\n postCode: postCode,\n areaId: areaId,\n itemsJson: itemsJson\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetShippingCost', data);\n };\n Messages.GetShippingCost.className = 'Vendd.Product.Messages.GetShippingCost';\n\n Messages.GetShippingCostSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Product.Messages.GetShippingCostSuccess\", data);\n };\n Messages.GetShippingCostSuccess.className = 'Vendd.Product.Messages.GetShippingCostSuccess';\n\n Messages.GetShippingCostFailed = function (response) {\n response.data = response.data && JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Product.Messages.GetShippingCostFailed\", response);\n };\n Messages.GetShippingCostFailed.className = \"Vendd.Product.Messages.GetShippingCostFailed\";\n\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 //Product Stock & Availabilities\n Messages.GetProductStockAndAvailabilities = function (variantId) {\n\n var data = {\n variantId: variantId\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetProductStockAndAvailabilities', data);\n };\n Messages.GetProductStockAndAvailabilities.className = 'Vendd.Product.Messages.GetProductStockAndAvailabilities';\n\n Messages.GetProductStockAndAvailabilitiesSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetProductStockAndAvailabilitiesSuccess', response);\n };\n Messages.GetProductStockAndAvailabilitiesSuccess.className = 'Vendd.Product.Messages.GetProductStockAndAvailabilitiesSuccess';\n\n Messages.GetProductStockAndAvailabilitiesFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetProductStockAndAvailabilitiesFailure', response);\n };\n Messages.GetProductStockAndAvailabilitiesFailure.className = 'Vendd.Product.Messages.GetProductStockAndAvailabilitiesFailure';\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.AllOrdersHistory = (function (allOrdersHistory) {\n\n allOrdersHistory.Messages = (function (Messages) {\n\n // GetOrderItems\n Messages.GetOrderItems = function (orderId) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.AllOrdersHistory.Messages.GetOrderItems', orderId);\n };\n Messages.GetOrderItems.className = 'Vendd.AllOrdersHistory.Messages.GetOrderItems';\n\n Messages.GetOrderItemsSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.AllOrdersHistory.Messages.GetOrderItemsSuccess', response);\n };\n Messages.GetOrderItemsSuccess.className = 'Vendd.AllOrdersHistory.Messages.GetOrderItemsSuccess';\n\n Messages.GetOrderItemsFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.AllOrdersHistory.Messages.GetOrderItemsFailure', response);\n };\n Messages.GetOrderItemsFailure.className = 'Vendd.AllOrdersHistory.Messages.GetOrderItemsFailure';\n\n Messages.OrderItemsRendered = function (itemsCount) {\n Vendd.MessageBus.VenddMessage.call(\n this,\n 'Vendd.AllOrdersHistory.Messages.OrderItemsRendered',\n { itemsCount: itemsCount }\n );\n };\n Messages.OrderItemsRendered.className = 'Vendd.AllOrdersHistory.Messages.OrderItemsRendered';\n\n // AddSkusListToCart\n Messages.AddSkusListToCart = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.AllOrdersHistory.Messages.AddSkusListToCart', data);\n };\n Messages.AddSkusListToCart.className = 'Vendd.AllOrdersHistory.Messages.AddSkusListToCart';\n\n\n return Messages;\n\n })(allOrdersHistory.Messages || {});\n\n return allOrdersHistory;\n\n })(Vendd.AllOrdersHistory || {});\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.ClearSuccess = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ClearSuccess', data);\n };\n Messages.ClearSuccess.className = 'Vendd.Cart.Messages.ClearSuccess';\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.AddMultipleSkusToCart = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.AddMultipleSkusToCart', data);\n };\n Messages.AddMultipleSkusToCart.className = 'Vendd.Cart.Messages.AddMultipleSkusToCart';\n Messages.AddMultipleSkusToCartSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.AddMultipleSkusToCartSuccess\", data);\n };\n Messages.AddMultipleSkusToCartSuccess.className = 'Vendd.Cart.Messages.AddMultipleSkusToCartSuccess';\n\n Messages.AddMultipleSkusToCartFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.AddMultipleSkusToCartFailed\", response);\n };\n Messages.AddMultipleSkusToCartFailed.className = \"Vendd.Cart.Messages.AddMultipleSkusToCartFailed\";\n\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 Messages.GetPromotedDiscounts = function () {\n var data = { };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.GetPromotedDiscounts', data);\n };\n Messages.GetPromotedDiscounts.className = 'Vendd.Cart.Messages.GetPromotedDiscounts';\n\n Messages.GetPromotedDiscountsSuccess = function (model) {\n var data = model.data;\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.GetPromotedDiscountsSuccess\", data);\n };\n Messages.GetPromotedDiscountsSuccess.className = 'Vendd.Cart.Messages.GetPromotedDiscountsSuccess';\n\n Messages.GetPromotedDiscountsFailure = function (model) {\n var data = model.data;\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.GetPromotedDiscountsFailure\", data);\n };\n Messages.GetPromotedDiscountsFailure.className = 'Vendd.Cart.Messages.GetPromotedDiscountsFailure';\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, regionTitle, typeTitle, 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 RegionTitle: regionTitle,\n TypeTitle: typeTitle,\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, reCaptchaCode) {\n var data = {\n email: email,\n firstName: firstname,\n lastName: lastname,\n phone: phone,\n message: message,\n reCaptchaCode: reCaptchaCode\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, streetNumberCombined, postalCode, pageSize, pageNumber) {\n var data = {\n fields: fields,\n countryCode: countryCode,\n prefecture: prefecture,\n city: city,\n geoArea: geoArea,\n postalCode: postalCode,\n streetNumberCombined: streetNumberCombined,\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 || {});"]}