{"version":3,"sources":["vendd.user.js","vendd.deliverypoint.js","vendd.warehouseSelector.js","vendd.loginOrder.js","vendd.myConfigurations.js","vendd.salesregistrationsystem.js","vendd.stocktrackersystem.js","vendd.invoiceAccess.js","vendd.requestOffer.js","vendd.requestReturn.js","vendd.userwishlist.js","vendd.loyalty.js","vendd.inlineadmin.js","vendd.returnOrder.js","vendd.export.js","vendd.tracktrace.js","vendd.filterproduct.js","vendd.stats.js","vendd.lazyhtmlarea.js","vendd.lazyproductlist.js","vendd.userselect.js","vendd.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","warehouseSelector.messages.js","loginOrder.messages.js","myConfigurations.messages.js","salesregistrationsystem.messages.js","stocktrackersystem.messages.js","invoiceAccess.messages.js","requestOffer.messages.js","requestReturn.messages.js","userwishlist.messages.js","tracking.messages.js","consents.messages.js","loyalty.messages.js","inlineadmin.messages.js","returnOrder.messages.js","export.messages.js","customForms.messages.js","tracktrace.messages.js","filterproduct.messages.js","lazyhtmlarea.messages.js","lazyproductlist.messages.js","wishlistmerchant.messages.js","merchant.messages.js","wishlistarticle.messages.js","wishlist.messages.js","widget.messages.js","deliverypoint.messages.js","userselect.messages.js","user.messages.js","store.messages.js","elasticSearch.messages.js","search.messages.js","productlist.messages.js","scrolllist.messages.js","productcompare.messages.js","product.messages.js","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","modelPending","popupModelPending","getStores","url","data","options","onSuccess","response","MessageBus","publishAsync","WarehouseSelector","Messages","GetStoresSuccess","onFailure","GetStoresFailed","Service","call","setShippingMethod","SetShippingMethodSuccess","SetShippingMethodFailed","subscribe","GetModel","envelope","message","GetModelSuccess","GetModelFailed","GetPopupModel","GetPopupModelSuccess","GetPopupModelFailed","GetGeoAreas","GetGeoAreasSuccess","GetGeoAreasFailed","GetStoresByPostCode","GetStoresByGeoArea","GetStoresByLocation","SetDeliveryShippingMethod","SetFromStoreShippingMethod","LoginOrder","model","observableaddress","PendingProductCollection","ValidateLoginOrder","success","ValidateLoginOrderSuccess","validation","ValidateLoginOrderFailure","ValidateLoginOrderError","GetOrderInfo","RemoveResource","rowid","resource","$","each","x","product","RowId","Resources","grep","Uri","GetObservableAddress","address","ReadOnly","AddressLine1","PostCode","Area","Observable","ResetObservableAddress","clonnedAddress","jQuery","extend","Literals","OrderShippingLocation","MyConfigurations","method","Remove","Id","RemoveSuccess","RemoveFailed","ConfirmInventory","ConfirmInventorySuccess","ConfirmInventoryFailed","SalesRegistrationSystem","StockTrackerSystem","VinNumber","UndoConfirmInventory","UndoConfirmInventorySuccess","UndoConfirmInventoryFailed","GetSubPartners","GetSubPartnersSuccess","GetSubPartnersFailed","ChangePartner","ProductIdentifier","PartnerItemId","ChangePartnerSuccess","ChangePartnerFailed","InvoiceAccess","Submit","SubmitSuccess","SubmitFailure","funcCookiesEnabled","window","ConsentsManager","cookiesStatus","functionalityCookies","RequestOffer","SearchForProducts","searchTerm","sender","SearchForProductsSuccess","SearchForProductsFailed","AddOfferProducts","AddOfferProductsSuccess","AddOfferProductsFailure","GetPendingRequestsOffer","offerid","pageSize","pageNum","GetPendingRequestsOfferSuccess","GetPendingRequestsOfferFailure","UpdateRequestOfferProducts","UpdateRequestOfferProductsSuccess","UpdateRequestOfferProductsFailure","DeleteRequestOffer","DeleteRequestOfferSuccess","DeleteRequestOfferFailure","SubmitRequestOffer","SubmitRequestOfferSuccess","SubmitRequestOfferFailure","ImportRequestOfferExcel","ImportRequestOfferExcelSuccess","ImportRequestOfferExcelFailure","RequestReturn","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","pending","UserWishlist","LhApp","Context","Language","LangCode","SetClientModel","undefined","GetClientModel","document","cookie","indexOf","Item","Template","Cookies","remove","path","SaveWishlist","ClearClientModel","SaveWishlistSuccess","SaveWishlistFailed","responseJSON","DeleteWishlist","DeleteWishlistFailed","localStorage","removeItem","mdl","JSON","parse","getItem","Function","validateClientModel","IsLocalStorageCache","setItem","stringify","Loyalty","CheckByMobile","StatusCode","CheckByMobileSuccess","CheckByMobileFailure","SendSms","SendSmsSuccess","SendSmsFailure","ValidateSmsCode","ValidateSmsCodeSuccess","ValidateSmsCodeFailure","SubmitForm","SubmitFormSuccess","SubmitFormFailure","GetPhoneForm","GetPhoneFormSuccess","GetPhoneFormFailure","GetRegistrationForm","GetRegistrationFormSuccess","GetRegistrationFormFailure","SubmitContactForm","SubmitContactFormSuccess","SubmitContactFormFailure","ValidateCouponAndSendSms","ApplyCoupon","ApplyCouponSuccess","ApplyCouponFailure","ClearCoupon","ClearCouponSuccess","ClearCouponFailure","InlineAdmin","CreateCookieForInlineAdmin","async","redirectUrl","publish","CreateCookieForInlineAdminFailure","username","password","CreateCookieForInlineAdminSuccess","CheckForInlineAdmin","ItemId","inlineAdminGlobalVariables","ItemPathChecksum","ItemCode","PageTemplate","EntityId","EntityCode","IsEditable","RequestNewGuest","CheckForInlineAdminSuccess","CheckForInlineAdminFailure","ReturnOrder","observabeItemCollection","BillingValidationEngine","editAddressOpen","BankInfo","DeleteSelected","deletedItemRowIds","i","length","Delete","push","apply","doDeleteItem","DeleteItem","rowId","observableRows","IsAdded","SetPayment","paymentType","Credit","Refund","keepParent","returnItemRowIds","IsSplitted","Children","IsChildElement","Parent","index","IsRemoved","ReturnItemConditionId","activeChildren","NotifyPropertyChanged","ind","UnSplit","observableRow","SelectAll","deleteItems","Split","itemChildren","newOrderitem","MaxIndex","ValidationEngine","observable","CreateOrderReturnItemalidationModel","GetReturnOrderCongfigData","GetObservableItemsCollection","refresh","Literals2","CouponCodes","vItem","EmptytObservableItemsCollection","GetAvailableItemConditions","SetResourceForItem","orderInfo","Request","OrderInfo","OrderItems","PreviousReturns","GetReturnModel","IBAN","Bank","Beneficiary","submitOrderItems","submittedItems","y","__type","valOptions","valmodel","DataValidation","ValidateModel","valBillOptions","Account","ValidateObservable","RequestReturnInfo","OrderId","CreateOrderBillingValidationModel","valEngine","BuildValidationModel","rule","propertyChanging","propertyName","value","PropertyName","PropertyValue","Validate","addOrUpdateValidationRule","updateValidationModel","AddListenerToPropertyChanging","DestroyBillingValidationModel","GetRequestReturn","orderid","GetRequestReturnSuccess","GetRequestReturnFailure","ValidateOrderContactInfo","d","GetReturnRequestValidationFormModelFailure","ValidateOrderContactInfoSuccess","ValidateOrderContactInfoFailure","GetReturnRequestValidationFormModel","GetReturnRequestValidationFormModelSuccess","GetReturnedOrdersModel","GetReturnedOrdersModelSuccess","GetReturnedOrdersModelFailure","Export","GetListingExport","exportCode","listingId","GetListingExportSuccess","GetListingExportFailure","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","LoginName","SubmitSetInterfaceUserSuccess","SubmitSetInterfaceUserFailure","ClearInterfaceUser","ClearInterfaceUserSuccess","ClearInterfaceUserFailure","SearchUsers","minChars","MinChars","maxHeight","MaxHeight","zIndex","ZIndex","deferRequestBy","DeferRequestBy","noCache","NoCache","onSelect","OnSelect","SearchUsersSuccess","SearchUsersFailure","CreateUserSelect","wrapper","Databinding","CreateControlDatabindings","CreateDefaultSetInterfaceUserValidationModel","SubmitSetInterfaceUserInlineAdmin","RedirectToAccount","OrdersHistoryUrl","Url","setParameterValueOnUrl","href","reload","Order","SubmitRequestOrderChange","email","Email","code","OrderCode","SubmitRequestOrderChangeSuccess","SubmitRequestOrderChangeFailure","CancelUncompletedOrder","orderId","CancelUncompletedOrderSuccess","CancelUncompletedOrderFailed","ReturnOrderItem","orderItemId","ReturnOrderItemSuccess","ReturnOrderItemFailed","CreateChangeOrder","CreateDefaultChangeOrderValidationModel","CallMeBack","info","Career","CreateApplicantInfo","selectedJob","selectedJobId","newApplicantInfo","FirstName","LastName","Phone","Message","JobTitle","JobId","CvFileUploaded","Agreement","CreateDefaultJobInfoValidationModel","Parameters","DatabindingTypes","bindings","DatabindingHelpers","DatabindingEvents","DataMember","DataShow","controlDatabindings","ResolveControlDatabinding","BindControls","DestroyControlDatabindings","UnbindControls","controlDataProperty","Array","isArray","cdp","Control","Data","type","Type","BindControl","UnbindControl","pos","FindBinding","binding","CreateBinding","Event","ControlChanged","AddListenerToPropertyChanged","PropertyChanged","eventCode","GetEventCode","unbind","SetValue","bind","SetVisibility","event","splice","FindControlBindings","addEventListener","removeEventListener","detachEvent","GetCurrentBindings","GetType","res","FindPropertyBindings","forceUpdate","dataMemberControl","dataMemberPath","split","pop","controlDatabinding","GetChildObservableByPath","dataShowControl","dataShowPath","target","srcElement","indexes","GetValue","ex","ControlHelpers","HandleError","nodeName","toLowerCase","dataType","isNaN","Number","checked","controlType","isChecked","Helpers","IsHTML","innerHTML","innerText","filename","show","hide","observableOldValue","exception","focus","select","Error","this","children","propertyChangingEvents","propertyChangedEvents","DefineProperties","prototype","GetNotificationList","events","propName","propertyNotifiers","FindEvent","notificationList","n","GetChildObservable","child","hasOwnProperty","propertyPath","innerData","propertyPathParts","j","propValue","propType","DefineProperty","Object","defineProperty","set","NotifyPropertyChanging","get","SetModel","eventListenerFn","RemoveListenerToPropertyChanging","RemoveListenerToPropertyChanged","scripts","Scripts","load","fn","init","callback_vendd","base","property","self","propertiesList","Errors","processProperties","k","v","prop","searchProperybyName","validations","name","processValidations","findWhere","validatePropertybyName","val","p","validationType","parameters","error","validationErrors","Property","Rule","validateAllProperties","optional","trim","required","isEmail","test","isNumeric","isAlphaNumeric","match","maxLength","minLength","isSocialSecurityNumber","isValid","accountOverrides","IsSocialSecurityNumberValidation","resetValidationModel","empty","removePropertybyName","Name","validateProperty","getErrors","validationName","validationFunction","validationErrorMessage","clearErrors","setTimeout","validationEngine","errors","ValidationError","configOptions","ValidationSuccess","vaEng","Validations","passwordStrength","score","arguments","config","textStrength","limit","variations","variationCount","s","matched","check","digits","lower","upper","nonWords","toString","parseInt","string","a","createElement","c","childNodes","nodeType","isInteger","ValidateNumbers","evt","theEvent","key","keyCode","which","String","fromCharCode","returnValue","preventDefault","Recipe","itemId","Path","itemPathChecksum","attributes","currencyCode","Currency","Code","languageCode","GetModelFailure","initialized","state","getViewModel","id","bundleItems","LoaderOptions","BundleItems","join","Configuration","PathChecksum","selectedId","minQuantity","MinQuantity","Quanta","maxQuantity","quanta","qty","Product","Controller","IsInitialized","initState","initialState","selectedColorId","parentId","languageId","recipeItems","comboItems","getState","SetQuantity","SetQuanta","SetSelected","skuId","SetBundleItems","SetRecipeItems","SetComboItems","Notify","NotifySuccess","NotifyFailure","Review","ReviewSuccess","ReviewFailure","ReviewVote","ReviewVoteSuccess","helpfullness","ispositivevote","ReviewVoteFailure","GetAvailableWarehouses","GetAvailableWarehousesSuccess","GetAvailableWarehousesFailure","GetDeliveryAvailability","GetDeliveryAvailabilitySuccess","GetDeliveryAvailabilityFailure","GetPickUpAvailability","GetPickUpAvailabilitySuccess","GetPickUpAvailabilityFailure","GetReplacedByProducts","GetReplacedByProductsSuccess","GetReplacedByProductsFailure","tempPostCode","tempAreas","countries","addressValEngine","ConvertPointsToCoupons","accountId","ConvertPointsToCouponsSuccess","ConvertPointsToCouponsFailed","GetAddresses","addressType","observableAddresses","Addresses","GetAddressesSuccess","GetAddressesFailed","EditUser","firstName","lastName","userName","UserName","oldPassword","OldPassword","Password","passwordConfirmation","PasswordConfirmation","newsletter","Newsletter","phones","Phones","mobilephone","MobilePhone","socialSecurityNumber","SocialSecurityNumber","birthDate","BirthDate","IsLoyaltyMember","LoyaltyRequest","ReceiveEinvoice","LoyaltyMemberId","ResellerDisplayedPrice","loyaltyMemberCardNumber","LoyaltyMemberCardNumber","EditUserSuccess","UpdateNewLetterVariables","EditUserFailed","SetDefaultAddress","addressId","AddressModelChanged","SetDefaultAddressFailure","DeleteAddress","DeleteAddressFailure","EditAddress","EditAddressSuccess","EditAddressFailed","CheckAddressIfExists","addressLine1","addressLine2","AddressLine2","city","City","postCode","country","Country","area","isBillingAddress","IsBilling","isShippingAddress","IsShipping","CheckAddressIfExistsSuccess","CheckAddressIfExistsFailure","GetAreasForPostCode","countryCode","postalCode","selectedAreaCode","validateAfterLoad","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","GetUserAccount","GetUserAccountSuccess","GetUserAccountFailure","RequestToDeleteUser","RequestToDeleteUserSuccess","RequestToDeleteUserFailed","RequestToExportData","RequestToExportDataSuccess","RequestToExportDataFailed","SelectedCountryChanged","IsFirstAccess","forEach","Selected","where","SetObservable","observ","SetValidationModel","validationMod","SelectedPostCodeChanged","GetNewAccount","newaddress","IsInvoiceEnabled","IsDefault","Title","Bell","CountryDescription","Prefecture","Mobiles","Fax","IsInvoice","InvoiceText","EInvoiceModuleEnabled","Configs","UserCanChangeValue","CompanyName","Occupation","Headquarters","TaxIdentifier","TaxAgency","VatStatus","IsShippingRestrictedToResolvedCountry","literals","configs","CreateDefaultAccountUserValidationModel","useEmailAsLoginName","UseEmailAsLoginName","socialSecurityNumberIsEnabled","SocialSecurityNumberIsEnabled","defaultValidationModel","venddProjectConfigs","EditForm","ValidateSocialSecurityNumber","BirthDateRequired","CreateDefaultAddressValidationModel","valopts","IsAddressLine2Required","IsAddressLine2Visible","IsStreetnumberRequired","IsStreetnumberVisible","Streetnumber","IsFloorRequired","IsFloorVisible","Floor","IsApartmentRequired","IsApartmentVisible","Apartment","IsBlockRequired","IsBlockVisible","Block","IsEntranceRequired","IsEntranceVisible","Entrance","IsPrefectureAutofill","IsAreaAutofill","extravalopts","isValidPostCode","selectedCounries","AreasCount","IsPhoneVisible","IsPhoneRequired","IsMobileVisible","IsMobileRequired","IsFaxVisible","IsFaxRequired","customAccountValidationModel","IsCompanyNameRequired","IsOccupationRequired","IsHeadquartersRequired","validateTaxIdentifier","IsCityAutofill","EmptyAreasOnClose","GetCouponInformations","GetCouponInformationsSuccess","GetCouponInformationsFailed","InvalidateCouponCode","InvalidateCouponCodeSuccess","InvalidateCouponCodeFailed","WishlistMerchant","Add","Clear","User","LoginSuccess","LogoutSuccess","Merchant","templateCode","configCode","WishlistArticle","Wishlist","MultipleWishlistsEnabled","currentItemId","visitorListId","GetVisitorListByQueryString","AddSuccess","MoveToCart","listId","Cart","ShowMessages","MoveAllToCart","QueryString","getValueOf","unescape","RawUrl","defaultCallExecuted","defaultCall","SessionState","IsNewSession","WishlistModelEnabled","GetSessionStateSuccess","getCartModelOptions","PendingMessages","DownLoadExcel","param","DownLoadExcelSuccess","DownLoadExcelFailure","ignoreExternalModules","CartAvailabilityRestrictionMessages","merge","parseFloat","toFixed","extraAttributes","isDefaultRecipeQuantitiesIncluded","AddCompleted","ProductAdded","AlreadyInCart","Warning","MultipleAdd","items","MultipleAddSuccess","ProductRemoved","MultipleRemove","ids","MultipleRemoveSuccess","SetQuantities","UpdateBundleItems","ApplyExtraAllowanceOrCharge","shopAllowanceorChargeId","DisableExtraAllowanceOrCharge","SetGiftwrap","wrapId","SetGiftwraps","SetGiftCard","amount","GiftCardApplySuccess","GiftCardApplyFailed","AddGiftCartEmailAddress","AddGiftCartEmailAddressSuccess","ClearAllGiftCards","ClearGiftCard","UpdateCartProductReplacingTypes","UpdateCartProductReplacingTypesSuccess","UpdateCartProductReplacingTypesFailed","ClearCoupons","ApplyExternalCoupon","ClearExternalCoupon","ClearExternalCoupons","ApplyShippingData","areaId","shippingMethodId","shippingCompanyId","ApplyShippingDataSuccess","ApplyShippingDataFailed","GetShippingModel","GetShippingModelSuccess","GetShippingModelFailed","AddOrderItemsToCart","AddOrderItemsToCartSuccess","AddOrderItemsToCartFailed","GetNewGiftCardEmail","cartItem","newGiftCardEmail","FromName","ToName","CustomText","ProductId","VariantId","CartProductId","CreateGiftCardEmailValidationModel","SetDeliveryPoint","CartModelEnabled","ProductList","ItemPath","list","attr","requestData","itemPath","pageNumber","PageNumber","PageSize","sortKey","SortKey","fullPath","FullPath","excludeItemIds","ExcludeItemIds","includeFilters","defaultUriFilter","uri","position","doGetPageWithGetMethod","reqData","ScrollList","GetCurrentPageFailure","GetNextPageFailure","ajax","contentType","ContentType","GetCurrentPageSuccess","GetPageSuccess","Items","addHistoryObject","failure","history","pushState","querystring","pathname","slice","pager","pageCount","pageText","protocol","host","prev","next","prevLink","nextLink","append","replaceState","find","text","GetNextPage","nextPage","totalPages","GetPreviousPage","previousPage","GetCurrentPage","currentPage","jsonArr","GetClientProductListData","variantIds","itemIds","GetClientProductListDataSuccess","GetClientProductListDataFailure","Widget","CartWidget","WishlistWidget","WishlistArticleWidget","LoginWidget","ProductCompareWidget","AuthProviders","disqus","initiating","initiated","ClientId","AuthUrl","ShortName","source","identifier","me","clientId","authUrl","shortName","src","setAttribute","Date","head","body","appendChild","gg","open","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","Quickbuy","QuickbuyList","addToQuickbuyList","productsList","color","Color","Dimensionsjson","Update","$wrapper","html","Handlebars","productId","defaultColor","newState","customId","GetDimJson","Colors","Sizes","HasColors","SkuList","HasSizes","SelectColorText","SelectSizeText","NoAvailableSizesText","HasSingleColor","HasSingleSize","SizeDisabled","createNewState","dimId","availableDimList","json","skus","Skus","SelectedColorId","AvailableSizes","UpdateSelectedItems","SizeArr","IsSelected","SelectedSizeId","ColorId","SizeId","Disabled","SkuData","CanBuy","AvailableColors","ColorArr","GetSkuData","colorId","sizeid","isEmptyObject","isColor","arr","widgetModelPending","ProductCompare","GetWidgetModel","widgetModel","GetWidgetModelSuccess","ProductCompareAdded","ProductCompareRemoved","Article","ReviewSubmit","IsPositiveVote","CreateArticleReviewInfo","articleId","articleReviewInfo","ReviewArticleId","ReviewTitle","ReviewDescription","ReviewRating","CreateArticleReviewInfoValidationModel","ElasticSearch","GetElasticSuggestions","query","fuzziness","resultType","since","size","GetElasticSuggestionsSuccess","GetElasticSuggestionsFailed","GetFiltersElasticResults","filters","baseuri","GetFiltersElasticResultsSuccess","GetFiltersElasticResultsFailed","GetCategoryElasticResults","pagefrom","pageFrom","pagesize","GetCategoryElasticResultsSuccess","GetCategoryElasticResultsFailed","GetProductElasticResults","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","Login","rememberMe","reCaptchaCode","accessToken","GetUserViewModel","LoginFailure","GetUserViewModelSuccess","LoginForm","LogoutRedirectUrl","ForgotPassword","ForgotPasswordSuccess","ForgotPasswordFailure","ResetPassword","ResetPasswordSuccess","ResetPasswordFailure","Logout","LogoutAuthProviders","logoutPromises","promise","Deferred","defer","resolve","when","then","LogoutUser","samesite","URI","equals","baseUrl","LogoutFailure","Register","preventRedirect","RegisterSuccess","LoginRedirect","RegisterFailure","CanRegister","CanRegisterSuccess","CanRegisterFailure","B2BRegister","B2BRegisterSuccess","B2BRegisterFailure","GetAreasForPostCodeFailure","CreateUser","CreateUserSuccess","CreateUserFailure","useModelFromLocalStorage","GetUserViewModelFailed","QuoteSubmit","QuoteSubmitSuccess","QuoteSubmitFailure","loginmessage","GetMemberByLoyaltyNumber","Site","GetMemberByLoyaltyNumberSuccess","GetMemberByLoyaltyNumberFailed","UserModelEnabled","getStoresForm","Store","UpdateForm","resetFilters","CountryCode","Continent","TypeId","SearchTerm","resetLocationFilters","SetContinent","continent","SetCountry","SetCity","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","OpenPopup","ClosePopup","StateChanged","PostalCode","geoAreaId","GeoAreaId","Location","storeId","PreferredStoreId","vinNumber","partnerItemId","orderCode","orderPhone","visitorList","VisitorListId","VisitorListTypeId","Tracking","ProductsUpdated","Consents","InsertAllCookiesSuccess","InsertConsents","mobile","formData","pageid","registered","discountCode","renderInline","requestNewGuest","OpenAddressEditForm","ordercode","phone","voucherCode","providerId","GetNextFilter","GetNextFilterSuccess","GetNextFilterFailure","currentListId","context","OpenWidget","widgetName","immediate","WidgetOpened","SubmitSetInterfaceUserInlineAdminSuccess","SubmitSetInterfaceUserInlineAdminFailure","loginRedirectUrl","b2buser","b2bcompanyname","b2boccupation","b2btaxegency","b2btaxidentifier","b2bvatstatus","birthdate","isLoyaltyMember","loyaltyRequest","loyaltyMemberId","companyname","occupation","taxagency","taxidentifier","officername","vatstatus","emailconfirmation","town","number","postalcode","passwordconfirmation","storesnumber","phoneTwo","fax","siteurl","store","companyCategory","openingHours","prefecture","officerLastName","officerPosition","redirecturl","companyName","taxAgency","taxIdentifier","officerName","vatStatus","emailConfirmation","addressNumber","storesNumber","secondPhone","siteUrl","UserInitialized","isAuthenticated","SetPostalCode","GetAllPartners","GetAllPartnersSuccess","GetAllPartnersFailure","searchString","GetPreviousPageFailure","request","fetchPrices","fetchAvailabilities","fetchStock","title","description","rating","productid","positive","vote","ProductSelected","skuCode","zipCode","ignoreAvailability","geoLocationWithZipCode","topAvailableWarehouse","groupBy","hasGeolocation","latitude","longitude","variantArray","shippingCompany","isOrder","lstVariantInfo","partnerId","plData","competition","firstname","lastname","mobiles","customxml","terms","subject","contactFileUpload","currentCountryCode","itemInfo","enhancedInfo","quantity","Math","round","observableList","itemsList","messages","resultMessages","responseData","cartId","CollectionAdded","DeleteAddressSuccess","adressId","SetDefaultAddressSuccess","DoNotClone","modelCopy","GetAreasForPostCodeFailed","ConvertPointsToCouponsFailure","ReloadEditControl","ReloadEditControlSuccess","reason","Reason","couponCode","Plugins","RecaptcaLoaded","GoogleMapsLoaded","checkMessage","locateObserver","observers","observer","Observer","sendMessage","func","postMessage","Envelope","isAsync","messageType","checkMessageFunction","msg","Func","unsubscribe","unsubscribeAll","asyncMessageQueue","localqueue","processMessages","obj","compiledPartials","create","register","partials","partial","Key","registerPartial","Value","isRegistered","partialName","compile","compiledPartial"],"mappings":"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MDkLA,MD5IA,MDfA,MDlEA,MD2KA,MDhIA,MD46BA,MDvsBA,MDvKA,MDhFA,MDoFA,MD42BA,MDjsBA,MDtPA,MDyDA,MD/EA,MD6OA,MD7OA,MDuJA,MD5BA,MDqKA,MDlOA,MDzDA,MD0FA,MD2CA,MD/HA,MDAA,MD+CA,MDnCA,MDjBA,MDFA,MDqiBA,MD1fA,MDgKA,MDtHA,MDqKA,MDzFA,MDnKA,MDiGA,MD/FA,MDuCA,MDgDA,MDsBA","file":"vendd.system.min.js","sourcesContent":["var Vendd = (function (Vendd) {\n\t'use strict';\n\n var pending = false;\n var logoutRedirectUrl = '';\n\n\tvar getVisitorState = function getVisitorState() {\n\n var cookie = Cookies.get(\"VisitorState\");\n\n\t\tvar options = {\n\t\t\turl: 'CmsService.svc/InitVisitorState',\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tif (cookie) {\n\t\t\treturn cookie;\n\t\t} else {\n\t\t\tVendd.Service.Call(options);\n\t\t};\n\n\t\tfunction onSuccess(response) {\n cookie = Cookies.get(\"VisitorState\");\n\n\t\t\tif (response.success && cookie) {\n\t\t\t\treturn cookie;\n\t\t\t};\n\t\t};\n\n\t\tfunction onFailure(response) {\n\t\t\tconsole.log(response);\n\t\t};\n\t};\n\n\tvar setVisitorState = function setVisitorState(cookie) {\n\n\t\tif (cookie) {\n\n\t\t\tvar oldUrl = window.location.href;\n\t\t\tvar cookieValueAsUrl = \"?\" + cookieValue;\n\n\t\t}\n\t};\n\n\tVendd.User.AuthProviders = (function (AuthProviders) {\n\t\treturn AuthProviders;\n\t})(Vendd.User.AuthProviders || {});\n\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.Login, Vendd.User, function (envelope) {\n\n\t\tvar options = {\n\t\t\turl: 'AuthService.svc/Login',\n\t\t\tdata: {\n\t\t\t\tloginName: envelope.message.data.loginName,\n\t\t\t\tpassword: envelope.message.data.password,\n\t\t\t\trememberMe: envelope.message.data.rememberMe,\n\t\t\t\treCaptchaCode: envelope.message.data.reCaptchaCode,\n\t\t\t\taccessToken: envelope.message.data.accessToken\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n function onSuccess(response) {\n if (response.success) {\n\n response.loginName = envelope.message.data.loginName;\n response.password = envelope.message.data.password;\n\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.LoginSuccess(response));\n\n //one call here after login and one call in check user session\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetUserViewModel());\n }\n else {\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.LoginFailure(response));\n }\n\t\t};\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.LoginFailure(response));\n\t\t};\n\n Vendd.User.ClearClientModel();\n\n\t\tVendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetUserViewModelSuccess, Vendd.User, function (envelope) {\n var model = envelope && envelope.message && envelope.message.data && envelope.message.data.model;\n if (model) {\n model = model ? $.extend({}, model, { LangCode: LhApp.Context.Language }) : model;\n logoutRedirectUrl = model.LoginForm.LogoutRedirectUrl;\n }\n\n Vendd.User.SetClientModel(model);\n });\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.ForgotPassword, Vendd.User, function (envelope) {\n\n\t\tvar options = {\n\t\t\turl: 'AuthService.svc/ForgotPassword',\n\t\t\tdata: envelope.message.data.email,\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.ForgotPasswordSuccess(response));\n\t\t};\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.ForgotPasswordFailure(response));\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.ResetPassword, Vendd.User, function (envelope) {\n\n\t\tvar options = {\n\t\t\turl: 'AuthService.svc/ResetPassword',\n\t\t\tdata: envelope.message.data,\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.ResetPasswordSuccess(response));\n\t\t};\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.ResetPasswordFailure(response));\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.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 var redirectUrl = logoutRedirectUrl;\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\tif (redirectUrl && URI(redirectUrl).equals(document.location.pathname) === true) {\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.LogoutSuccess(response));\n\t\t\t\t} else if (redirectUrl) {\n\t\t\t\t\tdocument.location = redirectUrl;\n\t\t\t\t} else {\n\t\t\t\t\tvar baseUrl = document.location.protocol.toLowerCase() + '//' + document.location.host.toLowerCase() + '/';\n\t\t\t\t\tdocument.location = baseUrl;\n\t\t\t\t};\n }\n\n\t\t};\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.LogoutFailure(response));\n\t\t};\n\n Vendd.User.ClearClientModel();\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.Register, Vendd.User, function (envelope) {\n\n\t\tvar preventRedirect = envelope.message.data.preventRedirect;\n\n\t\tvar options = {\n\t\t\turl: 'AuthService.svc/Register',\n\t\t\tdata: envelope.message.data,\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tfunction onSuccess(response) {\n\n\t\t\tif (!response.success) return onFailure(response);\n\n\t\t\tif (response.success && response.code === \"Registration_OperationSuccesful\") {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.RegisterSuccess(response));\n\n\t\t\t\tif (!preventRedirect) {\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.LoginRedirect(envelope));\n\t\t\t\t}\n\n\t\t\t}\n\t\t};\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.RegisterFailure(response));\n\t\t};\n\n\t\tVendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.CanRegister, Vendd.User, function (envelope) {\n\n var options = {\n url: 'AuthService.svc/CanRegister',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n\n if (!response.success) return onFailure(response);\n\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.CanRegisterSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.CanRegisterFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.B2BRegister, Vendd.User, function (envelope) {\n\n\t\tvar options = {\n\t\t\turl: 'AuthService.svc/B2BRegister',\n\t\t\tdata: envelope.message.data,\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.B2BRegisterSuccess(response));\n\t\t\tif (response.success && response.code === \"Registration_OperationSuccesful\" && response.data.login) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.LoginRedirect(envelope));\n\t\t\t}\n\t\t};\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.B2BRegisterFailure(response));\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetAreasForPostCode, Vendd.User, function (envelope) {\n\n var options = {\n url: 'AccountService.svc/AreaLookUp',\n data: {\n countryCode: envelope.message.data.countryCode,\n postalCode: envelope.message.data.postalCode,\n selectedAreaCode: envelope.message.data.selectedAreaCode\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetAreasForPostCodeSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetAreasForPostCodeFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.CreateUser, Vendd.User, function (envelope) {\n\n\t\tvar options = {\n\t\t\turl: 'AuthService.svc/CreateUser',\n\t\t\tdata: envelope.message.data,\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.CreateUserSuccess(response));\n\t\t};\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.CreateUserFailure(response));\n\t\t};\n\n\t\tVendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetUserViewModel, Vendd.User, function (envelope) {\n\n if (pending === true) {\n return false;\n };\n\n var model = Vendd.User.GetClientModel();\n\n var useModelFromLocalStorage = model && document.cookie.indexOf('ForceClearUserLocalStorage') === -1;\n if (model && !model.hasOwnProperty(\"RegisterForm\")) //VENDDTHREE-2419: structural change of model we expect this property filled || null\n useModelFromLocalStorage = false;\n\n if (useModelFromLocalStorage) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetUserViewModelSuccess(model));\n return true;\n }\n\n var options = {\n url: 'UserService.svc/GetUserViewModel' + '?lang=' + LhApp.Context.Language, //todo perikstath -> this should be resolved by the rewriter and be like /el/\n data: { templateCode: LhApp.Context.Item ? LhApp.Context.Item.Template : \"\" },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n\t\tfunction onSuccess(response) {\n\t\t model = response ? $.extend({}, response, { LangCode: LhApp.Context.Language }) : response;\n\t\t Vendd.User.SetClientModel(model);\n\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetUserViewModelSuccess(response));\n\t\t\tpending = false;\n\t\t};\n\n\t\tfunction onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetUserViewModelFailed(response));\n\n pending = false;\n\t\t};\n\n Cookies.remove('ForceClearUserLocalStorage', { path: '/' });\n\t\tpending = true;\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.QuoteSubmit, Vendd.User, function (envelope) {\n\n\t\tvar options = {\n\t\t\turl: 'AuthService.svc/QuoteSubmit',\n\t\t\tdata: {\n\t\t\t\temail: envelope.message.data.email,\n\t\t\t\tuserName: envelope.message.data.userName,\n\t\t\t\tmessage: envelope.message.data.message,\n\t\t\t\tskuId: envelope.message.data.skuId\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tfunction onSuccess(response) {\n\t\t\tif (response.success) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.QuoteSubmitSuccess(response));\n\t\t\t}\n\t\t};\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.QuoteSubmitFailure(response));\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.LoginRedirect, Vendd.User, function (envelope) {\n\n\t\tvar loginName = envelope.message.data.loginName || envelope.message.data.email || envelope.message.data.username;\n\n\t\tvar redirectUrl = envelope.message.data.redirectUrl;\n\n\t\t/*if redirect is not defined reload page */\n\t\tif (!redirectUrl) {\n\t\t\tredirectUrl = document.location.protocol.toLowerCase() + '//' + document.location.host.toLowerCase() + '/';\n\t\t}\n\n\t\tvar loginmessage = new Vendd.User.Messages.Login(loginName, envelope.message.data.password, envelope.message.data.rememberMe, redirectUrl);\n\t\tVendd.MessageBus.publishAsync(Vendd.User, loginmessage);\n\t});\n\n Vendd.User.ClearClientModel = function () {\n localStorage.removeItem('CurrentUserModel');\n };\n\n Vendd.User.GetClientModel = function () {\n var mdl = JSON.parse(localStorage.getItem(\"CurrentUserModel\"));\n\n return LhApp.Function.validateClientModel(mdl)\n ? $.extend({ IsLocalStorageCache: true }, mdl)\n : null;\n };\n\n Vendd.User.SetClientModel = function (mdl) {\n localStorage.setItem('CurrentUserModel', JSON.stringify(mdl));\n\t};\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.GetMemberByLoyaltyNumber, Vendd.User, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetMemberByLoyaltyNumberSuccess(response));\n\t\t}\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetMemberByLoyaltyNumberFailed(response));\n\t\t}\n\t\tvar options = {\n\t\t\turl: 'api/LoyaltyPoints/GetMemberByLoyaltyNumber?siteCode=' + LhApp.Context.Site.Code + '&loyaltyNumber=' + envelope.message.data.loyaltyMemberCardNumber,\n\t\t\tmethod: 'GET',\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\t\tVendd.Service.call(options);\n\t});\n\n\t//this should be moved to every component that requires this component's data. e.g. login widget AND in case your page DOES NOT contain that widget then you have to make sure theres somewhere this call \n\t(function () {\n\t\tvar defaultCallExecuted;\n\t\tfunction defaultCall() {\n\t\t\tif (Vendd.User.SessionState && !defaultCallExecuted) {\n\t\t\t\tdefaultCallExecuted = true;\n\n\t\t\t\tif (Vendd.User.SessionState.IsNewSession)\n\t\t\t\t\tVendd.User.ClearClientModel();\n\n\t\t\t\tif (venddProjectConfigs.UserModelEnabled) {\n\t\t\t\t\t//one call here and one call after login\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetUserViewModel());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tdefaultCall();\n\t\tVendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionStateSuccess, Vendd.User, function (envelope) {\n\t\t\tdefaultCall();\n\t\t});\n\t})();\n\n\treturn Vendd;\n\n})(Vendd || {});\n\n\n\nfunction onSignIn(googleUser) {\n\tvar profile = googleUser.getBasicProfile();\n\tvar id_token = googleUser.getAuthResponse().id_token;\n};\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n var model = JSON.parse(localStorage.getItem(\"CurrentDeliveryPointModel\"));\n var pending = false;\n\n Vendd.MessageBus.subscribe(Vendd.DeliveryPoint.Messages.GetModel, Vendd.DeliveryPoint, function (envelope) {\n\n if (pending === true) {\n return false;\n };\n\n var options = {\n url: 'api/DeliveryPoint/GetDeliveryPointWidgetModel',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n model = response;\n localStorage.setItem('CurrentDeliveryPointModel', JSON.stringify(model));\n Vendd.MessageBus.publishAsync(Vendd.DeliveryPoint, new Vendd.DeliveryPoint.Messages.GetModelSuccess(response));\n pending = false;\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.DeliveryPoint, new Vendd.DeliveryPoint.Messages.GetModelFailed(response));\n pending = false;\n };\n\n var cookieDeliveryPointId = LhApp.Function.QueryString.getValueOf(\"deliverypointid\", \"?\" + Cookies.get(\"VisitorState\")) || 0;\n var localStorageDeliveryPointId = (((model || {}).data || {}).DeliveryPoint || {}).Id || 0;\n\n if (model != null && model != undefined && document.cookie.indexOf('ForceClearDeliveryPointLocalStorage') == -1 && cookieDeliveryPointId == localStorageDeliveryPointId) {\n Vendd.MessageBus.publishAsync(Vendd.DeliveryPoint, new Vendd.DeliveryPoint.Messages.GetModelSuccess(model));\n return true;\n }\n\n Cookies.remove('ForceClearDeliveryPointLocalStorage', { path: '/' });\n pending = true;\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.DeliveryPoint.Messages.ResetStore, Vendd.DeliveryPoint, function (envelope) {\n\n if (pending === true) {\n return false;\n };\n\n var options = {\n url: 'checkoutservice.svc/SetStore',\n data: {\n data: \"\",\n arguments: JSON.stringify({\n \"Id\": null\n })\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n model = response;\n localStorage.removeItem('CurrentDeliveryPointModel');\n Vendd.MessageBus.publishAsync(Vendd.DeliveryPoint, new Vendd.DeliveryPoint.Messages.ResetStoreSuccess(response));\n pending = false;\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.DeliveryPoint, new Vendd.DeliveryPoint.Messages.ResetStoreFailed(response));\n pending = false;\n };\n \n pending = true;\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.DeliveryPoint.Messages.ResetDeliveryPoint, Vendd.DeliveryPoint, function (envelope) {\n\n if (pending === true) {\n return false;\n };\n\n var options = {\n url: 'api/DeliveryPoint/SetDeliveryPoint',\n data: {\n deliveryPointId: 1 // Set Deivery Point -> fromSite\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n model = response;\n Vendd.MessageBus.publishAsync(Vendd.DeliveryPoint, new Vendd.DeliveryPoint.Messages.ResetDeliveryPointSuccess(response));\n pending = false;\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.DeliveryPoint, new Vendd.DeliveryPoint.Messages.ResetDeliveryPointFailed(response));\n pending = false;\n };\n\n pending = true;\n Vendd.Service.call(options);\n });\n\n return Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n\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 var observableaddress = {};\n var editAddressOpen = false;\n var PendingProductCollection = [];\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 return LoginOrder;\n })(Vendd.LoginOrder || {});\n\n return Vendd;\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n\n Vendd.MessageBus.subscribe(Vendd.MyConfigurations.Messages.GetModel, Vendd.MyConfigurations, function (envelope) {\n function onSuccess(response) {\n if (response.success) {\n Vendd.MessageBus.publishAsync(Vendd.MyConfigurations, new Vendd.MyConfigurations.Messages.GetModelSuccess(response));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.MyConfigurations, new Vendd.MyConfigurations.Messages.GetModelFailed(response));\n };\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.MyConfigurations, new Vendd.MyConfigurations.Messages.GetModelFailed(response));\n }\n var options = {\n method: 'POST',\n url: 'api/MyConfigurations/GetModel',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.MyConfigurations.Messages.Remove, Vendd.MyConfigurations, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.MyConfigurations, new Vendd.MyConfigurations.Messages.RemoveSuccess());\n }\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.MyConfigurations, new Vendd.MyConfigurations.Messages.RemoveFailed(response));\n }\n\n var options = {\n url: 'api/MyConfigurations/Remove',\n data: {\n Id: envelope.message.data.Id\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.MyConfigurations.Messages.ConfirmInventory, Vendd.MyConfigurations, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.MyConfigurations, new Vendd.MyConfigurations.Messages.ConfirmInventorySuccess());\n }\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.MyConfigurations, new Vendd.MyConfigurations.Messages.ConfirmInventoryFailed(response));\n }\n\n var options = {\n url: 'api/MyConfigurations/ConfirmInventory',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n\n Vendd.Service.call(options);\n });\n \n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.SalesRegistrationSystem.Messages.GetModel, Vendd.SalesRegistrationSystem, function (envelope) {\n function onSuccess(response) {\n if (response.success) {\n Vendd.MessageBus.publishAsync(Vendd.SalesRegistrationSystem, new Vendd.SalesRegistrationSystem.Messages.GetModelSuccess(response));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.SalesRegistrationSystem, new Vendd.SalesRegistrationSystem.Messages.GetModelFailed(response));\n }\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.SalesRegistrationSystem, new Vendd.SalesRegistrationSystem.Messages.GetModelFailed(response));\n }\n var options = {\n method: 'POST',\n url: 'api/SalesRegistrationSystem/GetModel',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n\n Vendd.MessageBus.subscribe(Vendd.StockTrackerSystem.Messages.GetModel, Vendd.StockTrackerSystem, function (envelope) {\n function onSuccess(response) {\n if (response.success) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.GetModelSuccess(response));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.GetModelFailed(response));\n }\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.GetModelFailed(response));\n }\n var options = {\n method: 'POST',\n url: 'api/StockTrackerSystem/GetModel',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.StockTrackerSystem.Messages.Remove, Vendd.StockTrackerSystem, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.RemoveSuccess());\n }\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.RemoveFailed(response));\n }\n \n var options = {\n url: 'api/StockTrackerSystem/Remove',\n data: {\n VinNumber: envelope.message.data.VinNumber\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.StockTrackerSystem.Messages.ConfirmInventory, Vendd.StockTrackerSystem, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.ConfirmInventorySuccess());\n }\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.ConfirmInventoryFailed(response));\n }\n\n var options = {\n url: 'api/StockTrackerSystem/ConfirmInventory',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.StockTrackerSystem.Messages.UndoConfirmInventory, Vendd.StockTrackerSystem, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.UndoConfirmInventorySuccess());\n }\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.UndoConfirmInventoryFailed(response));\n }\n\n var options = {\n url: 'api/StockTrackerSystem/UndoConfirmInventory',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.StockTrackerSystem.Messages.GetSubPartners, Vendd.StockTrackerSystem, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.GetSubPartnersSuccess(response));\n }\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.GetSubPartnersFailed(response));\n }\n\n var options = {\n method: 'POST',\n url: 'api/StockTrackerSystem/GetSubPartners',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.StockTrackerSystem.Messages.ChangePartner, Vendd.StockTrackerSystem, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.ChangePartnerSuccess(response));\n }\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.StockTrackerSystem, new Vendd.StockTrackerSystem.Messages.ChangePartnerFailed(response));\n }\n\n var options = {\n method: 'POST',\n url: 'api/StockTrackerSystem/ChangePartner',\n data: {\n ProductIdentifier: envelope.message.data.ProductIdentifier,\n PartnerItemId: envelope.message.data.PartnerItemId\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n \n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.InvoiceAccess.Messages.Submit, Vendd.InvoiceAccess, function (envelope) {\n var options = {\n url: 'api/eInvoice/GetInvoiceCheckIfOrderExists',\n method: 'POST',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.InvoiceAccess, new Vendd.InvoiceAccess.Messages.SubmitSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.InvoiceAccess, new Vendd.InvoiceAccess.Messages.SubmitFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n var funcCookiesEnabled = true;\n if (window.ConsentsManager) {\n funcCookiesEnabled = window.ConsentsManager.cookiesStatus.functionalityCookies;\n }\n\n Vendd.MessageBus.subscribe(Vendd.RequestOffer.Messages.SearchForProducts, Vendd.RequestOffer, function (envelope) {\n\n var options = {\n url: 'api/RequestOffer/SearchForProducts?searchterm=' + envelope.message.data.searchTerm,\n method: 'GET',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n response.sender = envelope.sender;\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.SearchForProductsSuccess(response));\n }\n\n function onFailure(response) {\n response.sender = envelope.sender;\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.SearchForProductsFailed(response));\n }\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.RequestOffer.Messages.AddOfferProducts, Vendd.RequestOffer, function (envelope) {\n\n if (!funcCookiesEnabled)\n return;\n\n var options = {\n url: 'api/RequestOffer/AddOfferProducts',\n data: envelope.message.data,\n method: 'POST',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.AddOfferProductsSuccess(response.data));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.AddOfferProductsFailure(response));\n };\n\n Vendd.Service.call(options);\n\n return;\n });\n\n Vendd.MessageBus.subscribe(Vendd.RequestOffer.Messages.GetPendingRequestsOffer, Vendd.RequestOffer, function (envelope) {\n\n if (!funcCookiesEnabled)\n return;\n\n var options = {\n url: 'api/RequestOffer/GetPendingRequestsOffer?offerid=' + envelope.message.data.offerid + '&pageSize=' + envelope.message.data.pageSize + '&pageNum=' +envelope.message.data.pageNum,\n data: envelope.message.data,\n method: 'GET',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.GetPendingRequestsOfferSuccess(response.data));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.GetPendingRequestsOfferFailure(response));\n };\n\n Vendd.Service.call(options);\n\n return;\n });\n\n Vendd.MessageBus.subscribe(Vendd.RequestOffer.Messages.UpdateRequestOfferProducts, Vendd.RequestOffer, function (envelope) {\n\n if (!funcCookiesEnabled)\n return;\n\n var options = {\n url: 'api/RequestOffer/UpdateRequestOfferProducts',\n data: envelope.message.data,\n method: 'POST',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.UpdateRequestOfferProductsSuccess(response.data));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.UpdateRequestOfferProductsFailure(response));\n };\n\n Vendd.Service.call(options);\n\n return;\n });\n\n Vendd.MessageBus.subscribe(Vendd.RequestOffer.Messages.DeleteRequestOffer, Vendd.RequestOffer, function (envelope) {\n\n if (!funcCookiesEnabled)\n return;\n\n var options = {\n url: 'api/RequestOffer/DeleteRequestOffer',\n data: envelope.message.data,\n method: 'POST',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.DeleteRequestOfferSuccess(response.data));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.DeleteRequestOfferFailure(response));\n };\n\n Vendd.Service.call(options);\n\n return;\n })\n\n Vendd.MessageBus.subscribe(Vendd.RequestOffer.Messages.SubmitRequestOffer, Vendd.RequestOffer, function (envelope) {\n\n if (!funcCookiesEnabled)\n return;\n\n var options = {\n url: 'api/RequestOffer/Submit',\n data: envelope.message.data,\n method: 'POST',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.SubmitRequestOfferSuccess(response.data));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.SubmitRequestOfferFailure(response));\n };\n\n Vendd.Service.call(options);\n\n return;\n })\n\n Vendd.MessageBus.subscribe(Vendd.RequestOffer.Messages.ImportRequestOfferExcel, Vendd.RequestOffer, function (envelope) {\n\n if (!funcCookiesEnabled)\n return;\n\n var options = {\n url: 'api/RequestOffer/ImportRequestOfferExcel',\n data: envelope.message.data,\n method: 'POST',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.ImportRequestOfferExcelSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.RequestOffer, new Vendd.RequestOffer.Messages.ImportRequestOfferExcelFailure(response));\n };\n\n Vendd.Service.call(options);\n\n return;\n });\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t\"use strict\";\n\tVendd.RequestReturn = (function (RequestReturn) {\n\n\t\tvar model;\n\t\tvar observableaddress = {};\n\t\tvar editAddressOpen = false;\n\t\tvar PendingProductCollection = []\n\n\t\tVendd.MessageBus.subscribe(Vendd.RequestReturn.Messages.GetReturnRequest, Vendd.RequestReturn, function (envelope) {\n\n\t\t\tvar endpoints = {\n\t\t\t\tbyOrderInfo: \"api/RequestReturn/GetReturnRequestByOrderInfo\",\n\t\t\t\tbyGlobalId: \"api/RequestReturn/GetReturnRequestByGlobalId\"\n\t\t\t};\n\n\t\t\tvar options = {\n\t\t\t\turl: envelope.message.data.globalId ? endpoints.byGlobalId : endpoints.byOrderInfo,\n\t\t\t\tdata: envelope.message.data,\n\t\t\t\tonSuccess: onSuccess,\n\t\t\t\tonFailure: onFailure\n\t\t\t};\n\n\t\t\tfunction onSuccess(response) {\n\n\t\t\t\tif (response.success) {\n\n\t\t\t\t\tmodel = response.data;\n\t\t\t\t\t$.each(model.Return.AvailableItemForReturn, function (idx, item) {\n\t\t\t\t\t\titem = updateProductFields(item);\n\t\t\t\t\t});\n\t\t\t\t\t$.each(model.Return.ReturnItems, function (idx, item) {\n\t\t\t\t\t\titem = updateProductFields(item);\n\t\t\t\t\t});\n\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.GetReturnRequestSuccess(model));\n\t\t\t\t} else {\n\t\t\t\t\tresponse.validation = true;\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.GetReturnRequestFailure(response));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfunction onFailure(response) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.GetReturnRequestError(response));\n\t\t\t}\n\n\n\t\t\tVendd.Service.call(options);\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.RequestReturn.Messages.SaveReturnItem, Vendd.RequestReturn, function (envelope) {\n\n\t\t\tvar options = {\n\t\t\t\turl: \"api/RequestReturn/SaveReturnItem\",\n\t\t\t\tdata: envelope.message.data,\n\t\t\t\tonSuccess: onSuccess,\n\t\t\t\tonFailure: onFailure\n\t\t\t};\n\n\t\t\tfunction onSuccess(response) {\n\t\t\t\tif (response.success) {\n\t\t\t\t\tmodel.Return.ReturnItems = response.data;\n\t\t\t\t\t$.each(model.Return.ReturnItems, function (idx, item) {\n\t\t\t\t\t\titem = updateProductFields(item);\n\t\t\t\t\t});\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.SaveReturnItemSuccess(response));\n\t\t\t\t} else {\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.SaveReturnItemFailure(response));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfunction onFailure(response) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.SaveReturnItemError(response));\n\t\t\t}\n\n\t\t\tVendd.Service.call(options);\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.RequestReturn.Messages.DeleteReturnItem, Vendd.RequestReturn, function (envelope) {\n\n\t\t\tvar options = {\n\t\t\t\turl: \"api/RequestReturn/DeleteReturnItem\",\n\t\t\t\tdata: {\n\t\t\t\t\tReturnRequestGlobalId: model.Return.GlobalId,\n\t\t\t\t\tReturnItemGlobalId: envelope.message.data\n\t\t\t\t},\n\t\t\t\tonSuccess: onSuccess,\n\t\t\t\tonFailure: onFailure\n\t\t\t};\n\n\t\t\tfunction onSuccess(response) {\n\t\t\t\tif (response.success) {\n\t\t\t\t\tmodel.Return.ReturnItems = response.data;\n\t\t\t\t\t$.each(model.Return.ReturnItems, function (idx, item) {\n\t\t\t\t\t\titem = updateProductFields(item);\n\t\t\t\t\t});\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.DeleteReturnItemSuccess(response));\n\t\t\t\t} else {\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.DeleteReturnItemFailure(response));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfunction onFailure(response) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.DeleteReturnItemError(response));\n\t\t\t}\n\n\t\t\tVendd.Service.call(options);\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.RequestReturn.Messages.SubmitOrderReturn, Vendd.RequestReturn, function (envelope) {\n\t\t\tvar data = envelope.message.data;\n\t\t\tdata.OrderShippingLocation = observableaddress.GetModel();\n\t\t\tdata.GlobalId = model.Return.GlobalId;\n\n\t\t\tvar options = {\n\t\t\t\turl: \"api/RequestReturn/SubmitReturnRequest\",\n\t\t\t\tdata: data,\n\t\t\t\tonSuccess: onSuccess,\n\t\t\t\tonFailure: onFailure\n\t\t\t};\n\n\t\t\tfunction onSuccess(response) {\n\t\t\t\tif (response.success) {\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.SubmitOrderReturnSuccess(response));\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.SendReturnRequestNotification(model.Return.GlobalId));\n\t\t\t\t} else {\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.SubmitOrderReturnsFailed(response));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfunction onFailure(response) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.RequestReturn, new Vendd.RequestReturn.Messages.SubmitOrderReturnsFailed(response));\n\t\t\t}\n\n\t\t\tVendd.Service.call(options);\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.RequestReturn.Messages.SendReturnRequestNotification, Vendd.RequestReturn, function (envelope) {\n\t\t\tvar options = {\n\t\t\t\turl: \"api/RequestReturn/ReturnRequestNotification\",\n\t\t\t\tdata: { GlobalId: envelope.message.data }\n\t\t\t};\n\n\t\t\tVendd.Service.call(options);\n\t\t});\n\n 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.GetOrderInfo = function () {\n\n\t\t\tvar clonnedAddress = jQuery.extend(true, { Literals: model.Literals }, model.OrderShippingLocation);\n\t\t\tobservableaddress = new Vendd.Observable(clonnedAddress);\n\n\t\t\treturn model;\n\n\t\t};\n\n\t\tVendd.RequestReturn.GetMaxQuantityToAdd = function (orderitemid) {\n\t\t\tvar activeQuantity = _.reduce($.grep(model.Return.ReturnItems, function (x) { return x.OrderItemId === orderitemid }), function (memo, x) { return memo + x.Quantity; }, 0);\n\t\t\tvar maxQuantity = _.reduce($.grep(model.Return.AvailableItemForReturn, function (x) { return x.OrderItemId == orderitemid }), function (memo, x) { return memo + x.Quantity - x.ReturnQuantity; }, 0);\n\t\t\tvar result = maxQuantity - activeQuantity;\n\t\t\treturn result > 0 ? result : 0;\n\t\t};\n\n\t\tVendd.RequestReturn.GetProductToAdd = function (OrderitemId) {\n\t\t\tvar product = $.extend({}, _.first(_.filter(model.Return.AvailableItemForReturn, function (x) { return x.OrderItemId == OrderitemId; })));\n\t\t\tproduct.UploadServiceUrl = model.UploadServiceUrl;\n\t\t\tproduct.Quantity = 1;\n\t\t\tproduct.MaxQuantity = Vendd.RequestReturn.GetMaxQuantityToAdd(product.OrderItemId);\n\t\t\tproduct.MaxQuantityLabel = product.Literals.MaxQuantityText.replace('{{MaxQuantity}}', product.MaxQuantity);\n\t\t\treturn product;\n\t\t};\n\n\t\tVendd.RequestReturn.GetProductByGlobalId = function (globalId) {\n\t\t\tvar product = $.extend({}, _.first(_.filter(model.Return.ReturnItems, function (x) { return x.GlobalId == globalId; })))\n\t\t\tproduct.MaxQuantity = Vendd.RequestReturn.GetMaxQuantityToAdd(product.OrderItemId) + product.Quantity;\n\t\t\tproduct.MaxQuantityLabel = product.Literals.MaxQuantityText.replace('{{MaxQuantity}}', product.MaxQuantity);\n\t\t\tproduct.UploadServiceUrl = model.UploadServiceUrl;\n\t\t\treturn product;\n\t\t};\n\n\t\tVendd.RequestReturn.RemoveResource = function (rowid, resource) {\n\t\t\t$.each(PendingProductCollection, function (x, product) {\n\t\t\t\tif (x.RowId == rowid) {\n\t\t\t\t\tproduct.Resources = $.grep(product.Resources, function (x) {\n\t\t\t\t\t\treturn x.Uri == resource;\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t});\n\t\t};\n\n\t\tRequestReturn.GetObservableAddress = function () {\n\t\t\teditAddressOpen = true;\n\t\t\tvar address = observableaddress.GetModel();\n\t\t\taddress.ReadOnly = true;\n\t\t\taddress.AddressLine1 = '';\n\t\t\taddress.PostCode = '';\n\t\t\taddress.Area = '';\n\t\t\tobservableaddress = new Vendd.Observable(address);\n\t\t\treturn observableaddress;\n\t\t};\n\n\t\tRequestReturn.ResetObservableAddress = function () {\n\t\t\teditAddressOpen = false;\n\t\t\tvar clonnedAddress = jQuery.extend(true, { Literals: model.Literals }, model.OrderShippingLocation);\n\t\t\tobservableaddress = new Vendd.Observable(clonnedAddress);\n\t\t\treturn observableaddress;\n\t\t};\n\n\t\tfunction updateProductFields(item) {\n\t\t\titem = item || {};\n\t\t\titem.Literals = {\n\t\t\t\tSave: model.Literals.Save,\n\t\t\t\tSKUText: model.Literals.SKUText,\n\t\t\t\tProductText: model.Literals.ProductText,\n\t\t\t\tQuantityText: model.Literals.QuantityText,\n\t\t\t\tProductConditionText: model.Literals.ProductConditionText,\n\t\t\t\tPhotosText: model.Literals.PhotosText,\n\t\t\t\tCommentsText: model.Literals.CommentsText,\n\t\t\t\tResendText: model.Literals.ResendText,\n\t\t\t\tAttachText: model.Literals.AttachText,\n\t\t\t\tPhotosLimitText: model.Literals.PhotosLimitText,\n\t\t\t\tSelectConditionText: model.Literals.SelectConditionText,\n\t\t\t\tMaxQuantityText: model.Literals.MaxQuantityText,\n\t\t\t\tQuantityRequiredText: model.Literals.QuantityRequiredText,\n\t\t\t\tImagesRequiredText: model.Literals.ImagesRequiredText,\n\t\t\t\tResendLabel: model.Literals.ResendLabel,\n\t\t\t\tCommentsPlaceholder: model.Literals.CommentsPlaceholder,\n\t\t\t\tYesText: model.Literals.YesText,\n\t\t\t\tNoText: model.Literals.NoText,\n\t\t\t\tStatusRequiredText: model.Literals.StatusRequiredText\n\t\t\t};\n\t\t\titem.ReturnRequestGlobalId = model.Return.GlobalId;\n\t\t\titem.ReturnItemGlobalId = item.GlobalId;\n\t\t\titem.AvailableQuantityForReturn = item.Quantity - item.ReturnQuantity;\n\t\t\titem.AvailableConditions = model.Return.AvailableConditions;\n\t\t\titem.DropdownProductDescription = model.Literals.DropdownProductDescription.replace('{{ProductCode}}', item.ProductCode).replace('{{ReturnQuantity}}', item.ReturnQuantity).replace('{{Quantity}}', item.Quantity);\n\t\t\treturn item;\n\t\t}\n\n\t\treturn RequestReturn;\n\t})(Vendd.RequestReturn || {});\n\n\treturn Vendd;\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n\tvar pending = false;\n\n\tVendd.MessageBus.subscribe(Vendd.UserWishlist.Messages.GetModel, Vendd.UserWishlist, function (envelope) {\n\n\t if (pending === true) {\n\t return false;\n\t };\n\n\t function onSuccess(response) {\n\t model = response.data ? $.extend({}, response.data, { LangCode: LhApp.Context.Language }) : response.data;\n\t Vendd.UserWishlist.SetClientModel(model);\n\t Vendd.MessageBus.publishAsync(Vendd.UserWishlist, new Vendd.UserWishlist.Messages.GetModelSuccess(model));\n\n\t pending = false;\n\t }\n\n\t function onFailure(response) {\n\t Vendd.MessageBus.publishAsync(Vendd.UserWishlist, new Vendd.UserWishlist.Messages.GetModelFailed(response));\n\t }\n\n\t var options = {\n\t method: 'GET',\n\t url: 'api/Wishlist/GetUserWishlists' + '?lang=' + LhApp.Context.Language, //todo perikstath -> this should be resolved by the rewriter and be like /el/\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t if (model != null && model != undefined && Vendd.UserWishlist.GetClientModel() != null && document.cookie.indexOf('ForceClearUserWishlistsLocalStorage') == -1 && LhApp.Context.Item.Template != \"wishlist\") {\n\n\t Vendd.MessageBus.publishAsync(Vendd.UserWishlist, new Vendd.UserWishlist.Messages.GetModelSuccess(model));\n\t return true;\n\t }\n\n\t pending = true;\n Cookies.remove('ForceClearUserWishlistsLocalStorage', { path: '/' });\n\n\t Vendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.UserWishlist.Messages.SaveWishlist, Vendd.UserWishlist, function (envelope) {\n\n\t function onSuccess(response) {\n\t if (response.success) {\n\t Vendd.UserWishlist.ClearClientModel();\n\t Vendd.MessageBus.publishAsync(Vendd.UserWishlist, new Vendd.UserWishlist.Messages.GetModel());\n\t Vendd.MessageBus.publishAsync(Vendd.UserWishlist, new Vendd.UserWishlist.Messages.SaveWishlistSuccess());\n\t } else {\n\t Vendd.MessageBus.publishAsync(Vendd.UserWishlist, new Vendd.UserWishlist.Messages.SaveWishlistFailed(response));\n\t }\n\t }\n\n\t function onFailure(response) {\n\t Vendd.MessageBus.publishAsync(Vendd.UserWishlist, new Vendd.UserWishlist.Messages.SaveWishlistFailed(response.responseJSON));\n\t }\n\n\t var options = {\n\t method: 'PUT',\n\t data: envelope.message.data,\n\t url: 'api/Wishlist/SaveWishlist',\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t Vendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.UserWishlist.Messages.DeleteWishlist, Vendd.UserWishlist, function (envelope) {\n\n\t function onSuccess(response) {\n\t Vendd.UserWishlist.ClearClientModel();\n\t Vendd.MessageBus.publishAsync(Vendd.UserWishlist, new Vendd.UserWishlist.Messages.GetModel());\n\t }\n\n\t function onFailure(response) {\n\t Vendd.MessageBus.publishAsync(Vendd.UserWishlist, new Vendd.UserWishlist.Messages.DeleteWishlistFailed(response));\n\t }\n\n\t var options = {\n\t method: 'DELETE',\n\t data: envelope.message.data,\n\t url: 'api/Wishlist/DeleteWishlist',\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t Vendd.Service.call(options);\n\t});\n\n\n\tVendd.UserWishlist.ClearClientModel = function () {\n\t localStorage.removeItem('CurrentUserWishlistModel');\n\t};\n\n\tVendd.UserWishlist.GetClientModel = function () {\n\t var mdl = JSON.parse(localStorage.getItem(\"CurrentUserWishlistModel\"));\n\n\t return LhApp.Function.validateClientModel(mdl)\n ? $.extend({ IsLocalStorageCache: true }, mdl)\n : null;\n\t};\n\n\tVendd.UserWishlist.SetClientModel = function (mdl) {\n\t localStorage.setItem('CurrentUserWishlistModel', JSON.stringify(mdl));\n\t};\n\n\tvar model = Vendd.UserWishlist.GetClientModel();\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.Loyalty.Messages.CheckByMobile, Vendd.Loyalty, function (envelope) {\n\n var options = {\n method: 'POST',\n url: 'api/LoyaltyPoints/CheckLoyaltyExistence',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n \n if (response.data.StatusCode) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.CheckByMobileSuccess(response.data));\n }\n\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.CheckByMobileFailure(response));\n };\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.CheckByMobileFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Loyalty.Messages.SendSms, Vendd.Loyalty, function (envelope) {\n\n var options = {\n method: 'POST',\n url: 'api/LoyaltyPoints/SendSms',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n\n if (response.data.StatusCode) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.SendSmsSuccess(response.data));\n }\n\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.SendSmsFailure(response));\n };\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.SendSmsFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Loyalty.Messages.ValidateSmsCode, Vendd.Loyalty, function (envelope) {\n\n var options = {\n method: 'POST',\n url: 'api/LoyaltyPoints/ValidateSmsCode',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.ValidateSmsCodeSuccess(response.data));\n };\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.ValidateSmsCodeFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Loyalty.Messages.SubmitForm, Vendd.Loyalty, function (envelope) {\n\n var options = {\n method: 'POST',\n url: 'api/LoyaltyPoints/SubmitRegistrationForm',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.SubmitFormSuccess(response.data));\n };\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.SubmitFormFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Loyalty.Messages.GetPhoneForm, Vendd.Loyalty, function (envelope) {\n\n var options = {\n method: 'POST',\n url: 'api/LoyaltyPoints/GetPhoneFormModel',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.GetPhoneFormSuccess(response.data));\n };\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.GetPhoneFormFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Loyalty.Messages.GetRegistrationForm, Vendd.Loyalty, function (envelope) {\n\n var options = {\n method: 'POST',\n url: 'api/LoyaltyPoints/GetRegistrationFormModel',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.GetRegistrationFormSuccess(response.data));\n };\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.GetRegistrationFormFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Loyalty.Messages.SubmitContactForm, Vendd.Loyalty, function (envelope) {\n\n var options = {\n method: 'POST',\n url: 'api/LoyaltyPoints/SubmitContactForm',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.SubmitContactFormSuccess(response.data));\n };\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.SubmitContactFormFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Loyalty.Messages.ValidateCouponAndSendSms, Vendd.Loyalty, function (envelope) {\n\n var options = {\n method: 'POST',\n url: 'api/LoyaltyPoints/ValidateCouponAndSendSms',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n\n if (response.data.StatusCode) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.SendSmsSuccess(response.data));\n }\n\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.SendSmsFailure(response));\n };\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.SendSmsFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n \n Vendd.MessageBus.subscribe(Vendd.Loyalty.Messages.ApplyCoupon, Vendd.Loyalty, function (envelope) {\n\n var options = {\n method: 'POST',\n url: 'api/LoyaltyPoints/ApplyCoupon',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.ApplyCouponSuccess(response.data));\n };\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.ApplyCouponFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Loyalty.Messages.ClearCoupon, Vendd.Loyalty, function (envelope) {\n\n var options = {\n method: 'POST',\n url: 'api/LoyaltyPoints/ClearCoupon',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.ClearCouponSuccess(response.data));\n };\n\n function onFailure(response) {\n return Vendd.MessageBus.publishAsync(Vendd.Loyalty, new Vendd.Loyalty.Messages.ClearCouponFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.InlineAdmin.Messages.CreateCookieForInlineAdmin, Vendd.InlineAdmin, function (envelope) {\n\n var options = {\n async: false,\n method: 'GET',\n url: 'api/InlineAdmin/CreateCookieForInlineAdmin',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n var redirectUrl = envelope.message.data.redirectUrl;\n\n function onSuccess(response) {\n if (response.data == false) {\n response.redirectUrl = envelope.message.data.redirectUrl;\n Vendd.MessageBus.publish(Vendd.InlineAdmin, new Vendd.InlineAdmin.Messages.CreateCookieForInlineAdminFailure(response, envelope.message.data.redirectUrl));\n return;\n }\n response.redirectUrl = envelope.message.data.redirectUrl;\n response.username = envelope.message.data.username;\n response.password = envelope.message.data.password;\n\n Vendd.MessageBus.publish(Vendd.InlineAdmin, new Vendd.InlineAdmin.Messages.CreateCookieForInlineAdminSuccess(response, envelope.message.data.redirectUrl));\n\n };\n\n function onFailure(response) {\n\n Vendd.MessageBus.publish(Vendd.InlineAdmin, new Vendd.InlineAdmin.Messages.CreateCookieForInlineAdminFailure(response));\n };\n\n Vendd.Service.call(options);\n\n });\n\n Vendd.MessageBus.subscribe(Vendd.InlineAdmin.Messages.CheckForInlineAdmin, Vendd.InlineAdmin, function (envelope) {\n var options = {\n method: 'POST',\n url: 'api/InlineAdmin/CheckForInlineAdmin',\n data: { \n ItemId: window.inlineAdminGlobalVariables.ItemId,\n ItemPathChecksum: window.inlineAdminGlobalVariables.ItemPathChecksum,\n ItemCode: window.inlineAdminGlobalVariables.ItemCode,\n PageTemplate: window.inlineAdminGlobalVariables.PageTemplate,\n EntityId: window.inlineAdminGlobalVariables.EntityId,\n EntityCode: window.inlineAdminGlobalVariables.EntityCode,\n IsEditable: window.inlineAdminGlobalVariables.IsEditable === 'True',\n RequestNewGuest: envelope && envelope.message && envelope.message.data && envelope.message.data.RequestNewGuest\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publish(Vendd.InlineAdmin, new Vendd.InlineAdmin.Messages.CheckForInlineAdminSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publish(Vendd.InlineAdmin, new Vendd.InlineAdmin.Messages.CheckForInlineAdminFailure(response));\n };\n\n Vendd.Service.call(options);\n\n });\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t\"use strict\";\n\tVendd.ReturnOrder = (function (ReturnOrder) {\n\t\tvar model = {};\n\t\tvar observabeItemCollection = [];\n\t\tvar observableaddress = {};\n\t\tvar BillingValidationEngine = {};\n\t\tvar editAddressOpen = false;\n\t\tvar BankInfo = {};\n\t\tReturnOrder.DeleteSelected = function () {\n\t\t\tvar deletedItemRowIds = [];\n\n\t\t\tfor (var i = observabeItemCollection.length - 1; i >= 0; i--) {\n\t\t\t\tif (observabeItemCollection[i] != undefined && observabeItemCollection[i].Delete) {\n\t\t\t\t\tdeletedItemRowIds.push.apply(deletedItemRowIds, doDeleteItem(observabeItemCollection[i]));\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn deletedItemRowIds;\n\t\t};\n\n\t\tReturnOrder.DeleteItem = function (rowId) {\n\t\t\tvar observableRows = _.filter(observabeItemCollection, function (item) {\n\t\t\t\treturn item.RowId == rowId;\n\t\t\t});\n\t\t\tif (observableRows[0]) observableRows[0].IsAdded = false;\n\t\t\treturn doDeleteItem(observableRows[0]);\n\t\t};\n\n\t\tReturnOrder.SetPayment = function (paymentType) {\n\t\t\tif (paymentType == 'coupon') {\n\n\t\t\t\t$.each(observabeItemCollection, function (idx, item) {\n\t\t\t\t\tif (item != undefined) {\n\t\t\t\t\t\titem.Credit = true;\n\t\t\t\t\t\titem.Refund = false;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t\tif (paymentType == 'bank') {\n\t\t\t\t$.each(observabeItemCollection, function (idx, item) {\n\t\t\t\t\tif (item != undefined) {\n\t\t\t\t\t\titem.Credit = false;\n\t\t\t\t\t\titem.Refund = true;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t};\n\n\t\tvar doDeleteItem = function (item, keepParent) {\n\t\t\tvar returnItemRowIds = [];\n\t\t\tif (!item) return returnItemRowIds;\n\t\t\tif (item.IsSplitted && item.GetModel().Children) {\n\n\t\t\t\tfor (var i = item.GetModel().Children.length - 1; i >= 0; i--) {\n\t\t\t\t\tif (item.GetModel().Children && item.GetModel().Children[i]) {\n\t\t\t\t\t\treturnItemRowIds.push.apply(returnItemRowIds, doDeleteItem(item.GetModel().Children[i]));\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tif (item.IsChildElement && item.GetModel() && item.GetModel().Parent && item.GetModel().Parent.GetModel() && item.GetModel().Parent.GetModel().Children) {\n\t\t\t\tvar index = item.GetModel().Parent.GetModel().Children.indexOf(item);\n\t\t\t\tif (item.GetModel().Parent.GetModel().Children[index]) {\n\t\t\t\t\titem.GetModel().Parent.GetModel().Children[index].IsAdded = false;\n\t\t\t\t\titem.GetModel().Parent.GetModel().Children[index].IsRemoved = true;\n\t\t\t\t\titem.GetModel().Parent.GetModel().Children[index].model.ReturnItemConditionId = 0;\n\t\t\t\t}\n\t\t\t\tvar activeChildren = _.filter(item.GetModel().Parent.GetModel().Children, function (x) { return !(x.IsRemoved === true); });\n\t\t\t\tif (!_.first(activeChildren)) {\n\t\t\t\t\titem.GetModel().Parent.GetModel().IsSplitted = false;\n\t\t\t\t\titem.GetModel().Parent.GetModel().ReturnItemConditionId = 0;\n\t\t\t\t\titem.GetModel().Parent.GetModel().IsRemoved = true;\n\t\t\t\t\titem.GetModel().Parent.GetModel().AvailableQuantityForReturn = item.GetModel().Parent.GetModel().Quantity - item.GetModel().Parent.GetModel().ReturnQuantity;\n\t\t\t\t\tif (!keepParent) {\n\t\t\t\t\t\treturnItemRowIds.push(item.GetModel().Parent.GetModel().RowId);\n\t\t\t\t\t\tdoDeleteItem(item.GetModel().Parent.GetModel().RowId);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\titem.GetModel().Parent.GetModel().AvailableQuantityForReturn = activeChildren.length;\n\t\t\t\t}\n\t\t\t\titem.GetModel().Parent.NotifyPropertyChanged(\"AvailableQuantityForReturn\", item.GetModel().Parent.GetModel().AvailableQuantityForReturn);\n\t\t\t}\n\t\t\tvar ind = observabeItemCollection.indexOf(item);\n\t\t\tif (observabeItemCollection[ind]) {\n\t\t\t\tobservabeItemCollection[ind].model.ReturnItemConditionId = 0;\n\t\t\t\tobservabeItemCollection[ind].IsRemoved = true;\n\t\t\t}\n\t\t\treturnItemRowIds.push(item.RowId);\n\t\t\treturn returnItemRowIds;\n\t\t};\n\n\t\tReturnOrder.UnSplit = function (rowid, keepParent) {\n\t\t\tvar observableRows = _.filter(observabeItemCollection, function (item) {\n\t\t\t\treturn item.RowId == rowid;\n\t\t\t});\n\n\t\t\tvar returnItemRowIds = [];\n\n\t\t\tvar observableRow = observableRows[0];\n\t\t\tobservableRow.IsSplitted = false;\n\t\t\tobservableRow.AvailableQuantityForReturn = observableRow.Quantity - observableRow.ReturnQuantity;\n\t\t\tobservableRow.NotifyPropertyChanged(\"AvailableQuantityForReturn\", observableRow.AvailableQuantityForReturn);\n\t\t\tif (observableRow.GetModel().Children == undefined || observableRow.GetModel().Children.length < 2) {\n\t\t\t\treturn returnItemRowIds;\n\t\t\t}\n\t\t\tfor (var i = observableRow.GetModel().Children.length - 1; i >= 0; i--) {\n\t\t\t\tif (observableRow.GetModel().Children && observableRow.GetModel().Children[i] && !observableRow.GetModel().Children[i].IsRemoved) {\n\t\t\t\t\treturnItemRowIds.push.apply(returnItemRowIds, doDeleteItem(observableRow.GetModel().Children[i], keepParent));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn returnItemRowIds;\n\t\t};\n\n\t\tReturnOrder.SelectAll = function (deleteItems) {\n\t\t\t$.each(observabeItemCollection, function (idx, item) {\n\t\t\t\tif (item != undefined) {\n\t\t\t\t\titem.Delete = deleteItems;\n\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\n\t\tReturnOrder.Split = function (rowid) {\n\n\t\t\tvar observableRows = _.filter(observabeItemCollection, function (item) {\n\t\t\t\tif (item.model.Parent && item.model.Parent.model.RowId == rowid) item.model.IsRemoved = true;\n\t\t\t\treturn item.RowId == rowid;\n\t\t\t});\n\t\t\tvar itemChildren = [];\n\t\t\tvar observableRow = observableRows[0];\n\t\t\tobservableRow.AvailableQuantityForReturn = observableRow.Quantity - observableRow.ReturnQuantity;\n\t\t\tif (observableRow.AvailableQuantityForReturn == 1) {\n\t\t\t\treturn itemChildren;\n\t\t\t}\n\t\t\tfor (var i = 0; i < observableRow.AvailableQuantityForReturn; i++) {\n\t\t\t\tvar newOrderitem = jQuery.extend(true, {}, observableRow.GetModel());\n\t\t\t\tif (newOrderitem.Children) newOrderitem.Children = null;\n\t\t\t\tnewOrderitem.Quantity = 1;\n\t\t\t\tnewOrderitem.AvailableQuantityForReturn = 1;\n\t\t\t\tnewOrderitem.IsSplitted = false;\n\t\t\t\tnewOrderitem.IsRemoved = false;\n\t\t\t\tnewOrderitem.RowId = observabeItemCollection.MaxIndex + 1;\n\t\t\t\tnewOrderitem.IsChildElement = true;\n\t\t\t\tobservabeItemCollection.MaxIndex = newOrderitem.RowId;\n\t\t\t\tnewOrderitem.AvailableConditions = {};\n\t\t\t\tdelete newOrderitem.ValidationEngine;\n\t\t\t\tvar observable = new Vendd.Observable(newOrderitem);\n\n\t\t\t\tobservable.GetModel().Parent = observableRow;\n\t\t\t\tobservable.GetModel().ValidationEngine = Vendd.ReturnOrder.CreateOrderReturnItemalidationModel(observable);\n\t\t\t\titemChildren.push(observable);\n\t\t\t\tobservabeItemCollection.push(observable);\n\t\t\t}\n\t\t\tobservableRow.GetModel().Children = itemChildren;\n\t\t\tobservableRow.GetModel().IsSplitted = true;\n\n\t\t\treturn itemChildren;\n\t\t};\n\n\t\tReturnOrder.GetReturnOrderCongfigData = function () {\n\t\t\tvar configs = {\n\t\t\t\tUploadServiceUrl: model.UploadServiceUrl\n\t\t\t};\n\t\t\treturn configs;\n\t\t}\n\n\t\tReturnOrder.GetObservableItemsCollection = function (refresh) {\n\t\t\tif (observabeItemCollection.length == 0 || refresh) {\n\t\t\t\t$.each(model.Return.AvailableItemForReturn, function (idx, item) {\n\n\t\t\t\t\titem.Literals2 = model.Return.Literals2;\n\n\t\t\t\t\tdelete item.AvailableConditions;\n\t\t\t\t\tdelete item.ValidationEngine;\n\t\t\t\t\tdelete item.CouponCodes;\n\t\t\t\t\tdelete item.Resources;\n\n\t\t\t\t\tvar vItem = jQuery.extend(\n\t\t\t\t\t\ttrue,\n\t\t\t\t\t\titem,\n\t\t\t\t\t\t{ Delete: false },\n\t\t\t\t\t\t{ RowId: idx },\n\t\t\t\t\t\t{ IsSplitted: false },\n\t\t\t\t\t\t{ IsAdded: false },\n\t\t\t\t\t\t{ IsRemoved: false },\n\t\t\t\t\t\t{ Children: null },\n\t\t\t\t\t\t{ IsChildElement: false },\n\t\t\t\t\t\t{ AvailableQuantityForReturn: item.Quantity - item.ReturnQuantity }\n\t\t\t\t\t);\n\n\t\t\t\t\tvar observable = new Vendd.Observable(vItem);\n\t\t\t\t\tobservable.GetModel().ValidationEngine = ReturnOrder.CreateOrderReturnItemalidationModel(observable)\n\t\t\t\t\tobservabeItemCollection.push(observable);\n\t\t\t\t\tobservabeItemCollection.MaxIndex = idx;\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn observabeItemCollection;\n\t\t};\n\n\t\tReturnOrder.EmptytObservableItemsCollection = function () {\n\t\t\tobservabeItemCollection = [];\n\t\t};\n\n\t\tReturnOrder.GetAvailableItemConditions = function () {\n\t\t\treturn { AvailableConditions: model.Return.AvailableConditions };\n\t\t};\n\n\t\tReturnOrder.SetResourceForItem = function (rowid, resource) {\n\t\t\tvar observableRow = _.filter(observabeItemCollection, function (item) {\n\t\t\t\treturn item.RowId == rowid;\n\t\t\t});\n\t\t\tvar item = observableRow[0].GetModel();\n\t\t\tif (item.Resources == undefined) {\n\t\t\t\titem.Resources = [];\n\t\t\t}\n\t\t\titem.Resources.push(resource);\n\t\t};\n\n\t\tReturnOrder.GetObservableAddress = function () {\n\t\t\teditAddressOpen = true;\n\t\t\tvar address = observableaddress.GetModel();\n\t\t\taddress.AddressLine1 = '';\n\t\t\taddress.PostCode = '';\n\t\t\taddress.Area = '';\n\t\t\tobservableaddress = new Vendd.Observable(address);\n\t\t\treturn observableaddress;\n\t\t};\n\n\t\tReturnOrder.ResetObservableAddress = function () {\n\t\t\teditAddressOpen = false;\n\t\t\tvar clonnedAddress = jQuery.extend(true, {}, model.OrderShippingLocation);\n\t\t\tobservableaddress = new Vendd.Observable(clonnedAddress);\n\t\t\treturn observableaddress;\n\t\t};\n\n\t\tReturnOrder.GetOrderInfo = function () {\n\t\t\tvar orderInfo = {\n\t\t\t\tRequest: {\n\t\t\t\t\tOrderInfo: model.OrderInfo,\n\t\t\t\t\tOrderShippingLocation: model.OrderShippingLocation,\n\t\t\t\t\tOrderItems: model.Return.AvailableItemForReturn,\n\t\t\t\t\tPreviousReturns: model.Return.PreviousReturns\n\t\t\t\t}\n\t\t\t};\n\t\t\tvar clonnedAddress = jQuery.extend(true, {}, model.OrderShippingLocation);\n\t\t\tobservableaddress = new Vendd.Observable(clonnedAddress);\n\n\t\t\treturn orderInfo;\n\t\t};\n\n\t\tReturnOrder.GetReturnModel = function () {\n\n\t\t\tBankInfo = new Vendd.Observable({ IBAN: \"\", Bank: \"\", Beneficiary: \"\" });\n\n\t\t\treturn BankInfo;\n\t\t};\n\n\t\tVendd.MessageBus.subscribe(\n\t\t\tVendd.ReturnOrder.Messages.SubmitOrderReturn,\n\t\t\t\"ReturnOrder\",\n\t\t\tfunction (envelope) {\n\t\t\t\tvar submitOrderItems = [];\n\t\t\t\tvar submittedItems = _.filter(observabeItemCollection, function (x) {\n\t\t\t\t\tx.model.Children = _.filter(x.model.Children, function (y) {\n\t\t\t\t\t\treturn y.IsAdded;\n\t\t\t\t\t});\n\t\t\t\t\treturn x.IsAdded == true;\n\t\t\t\t});\n\t\t\t\t$.each(submittedItems, function (idx, item) {\n\t\t\t\t\titem.model.__type = \"RequestItemViewModel:#Lighthouse.Lh3.FrontEnd.Root.Model\";\n\t\t\t\t\tif (item.IsSplitted != undefined && item.IsSplitted == false) {\n\t\t\t\t\t\titem.GetModel().Parent = undefined;\n\n\t\t\t\t\t\tvar valOptions = {\n\t\t\t\t\t\t\tValidationEngine: item.GetModel().ValidationEngine,\n\t\t\t\t\t\t\tvalmodel: item.GetModel(),\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tVendd.DataValidation.ValidateModel(valOptions);\n\n\t\t\t\t\t\tsubmitOrderItems.push(item.GetModel());\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\tif (submitOrderItems[0].Refund) {\n\n\t\t\t\t\tvar valBillOptions = {\n\t\t\t\t\t\tValidationEngine: BillingValidationEngine,\n\t\t\t\t\t\tvalmodel: BankInfo.GetModel(),\n\t\t\t\t\t};\n\t\t\t\t\tVendd.DataValidation.ValidateModel(valBillOptions);\n\t\t\t\t}\n\n\t\t\t\tif (editAddressOpen) {\n\n\t\t\t\t\tVendd.Account.ValidateObservable();\n\t\t\t\t}\n\n\t\t\t\tvar submitData = {\n\t\t\t\t\tOrderInfo: { OrderId: model.OrderInfo.OrderId },\n\t\t\t\t\tOrderShippingLocation: observableaddress.GetModel(),\n\t\t\t\t\tReturn: {\n\t\t\t\t\t\tIBAN: BankInfo.IBAN,\n\t\t\t\t\t\tBank: BankInfo.Bank,\n\t\t\t\t\t\tBeneficiary: BankInfo.Beneficiary,\n\t\t\t\t\t\tReturnItems: submitOrderItems\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\tvar options = {\n\t\t\t\t\turl: \"ReturnOrderService.svc/RequestOrderSubmit\",\n\t\t\t\t\tdata: {\n\t\t\t\t\t\tRequestReturnInfo: submitData\n\t\t\t\t\t},\n\t\t\t\t\tonSuccess: onSuccess,\n\t\t\t\t\tonFailure: onFailure\n\t\t\t\t};\n\n\t\t\t\tfunction onSuccess(response) {\n\t\t\t\t\tVendd.MessageBus.publishAsync(\n\t\t\t\t\t\t\"ReturnOrder\",\n\t\t\t\t\t\tnew Vendd.ReturnOrder.Messages.SubmitOrderReturnSuccess(response)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tfunction onFailure(response) {\n\t\t\t\t\tVendd.MessageBus.publishAsync(\n\t\t\t\t\t\t\"ReturnOrder\",\n\t\t\t\t\t\tnew Vendd.ReturnOrder.Messages.SubmitOrderReturnsFailed(response)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tVendd.Service.call(options);\n\t\t\t}\n\t\t);\n\n\n\t\tReturnOrder.CreateOrderBillingValidationModel = function (observable) {\n\n\t\t\tvar defaultValidationModel = {\n\t\t\t\tIBAN: [{ rule: \"required\" }],\n\t\t\t\tBank: [{ rule: \"required\" }],\n\t\t\t\tBeneficiary: [{ rule: \"required\" }]\n\t\t\t};\n\n\t\t\tvar valEngine = Vendd.DataValidation.BuildValidationModel(defaultValidationModel);\n\n\t\t\tvar propertyChanging = function propertyChanging(data, propertyName, value) {\n\n\t\t\t\tvar valOptions = {\n\t\t\t\t\tValidationEngine: valEngine,\n\t\t\t\t\tPropertyName: propertyName,\n\t\t\t\t\tPropertyValue: value\n\t\t\t\t};\n\t\t\t\tVendd.DataValidation.Validate(valOptions);\n\t\t\t};\n\n\t\t\tvar customReturnValidationModel = ({\n\t\t\t\tIBAN: [{ rule: \"isIbanCorrect\" }],\n\n\t\t\t});\n\n\t\t\tvar isIbanCorrect = function (value) {\n\t\t\t\tif (value.length > 27 || value.length < 27) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t};\n\n\t\t\tvalEngine.addOrUpdateValidationRule('isIbanCorrect', isIbanCorrect, 'Iban must be Shorter than 27 characters');\n\t\t\tvalEngine.updateValidationModel(customReturnValidationModel);\n\n\t\t\tobservable.AddListenerToPropertyChanging('IBAN', propertyChanging);\n\t\t\tobservable.AddListenerToPropertyChanging('Bank', propertyChanging);\n\t\t\tobservable.AddListenerToPropertyChanging('Beneficiary', propertyChanging);\n\t\t\tBillingValidationEngine = valEngine;\n\t\t\treturn BillingValidationEngine;\n\t\t};\n\n\t\tReturnOrder.DestroyBillingValidationModel = function (observable) {\n\n\t\t}\n\n\t\tReturnOrder.CreateOrderReturnItemalidationModel = function (observable) {\n\n\t\t\tvar defaultValidationModel = {\n\t\t\t\tReturnItemConditionId: [{ rule: \"required\" }],\n\n\t\t\t};\n\n\t\t\tvar valEngine = Vendd.DataValidation.BuildValidationModel(defaultValidationModel);\n\n\t\t\tvar customReturnValidationModel = ({\n\t\t\t\tReturnItemConditionId: [{ rule: \"IsPhotoRequired\" }, { rule: \"mustHaveCondition\" }],\n\n\t\t\t});\n\n\t\t\tvar mustHaveCondition = function (value) {\n\t\t\t\tif (value == 0) {\n\t\t\t\t\treturn false\n\t\t\t\t}\n\n\t\t\t\treturn true;\n\t\t\t};\n\n\t\t\tvar IsPhotoRequired = function (value) {\n\t\t\t\tif (value == 5 || value == 0 || value == 4) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (observable.GetModel().Resources != undefined && observable.GetModel().Resources.length > 0) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t};\n\n\t\t\tvalEngine.addOrUpdateValidationRule('IsPhotoRequired', IsPhotoRequired, 'This Condition is requires an Image');\n\t\t\tvalEngine.addOrUpdateValidationRule('mustHaveCondition', mustHaveCondition, 'All items must have a condition');\n\n\t\t\tvalEngine.updateValidationModel(customReturnValidationModel);\n\n\t\t\treturn valEngine;\n\t\t};\n\n\n\t\tVendd.MessageBus.subscribe(\n\t\t\tVendd.ReturnOrder.Messages.GetRequestReturn,\n\t\t\t\"ReturnOrder\",\n\t\t\tfunction (envelope) {\n\t\t\t\tvar options = {\n\t\t\t\t\turl: \"ReturnOrderService.svc/GetReturnRequestOrderData\",\n\t\t\t\t\tdata: {\n\t\t\t\t\t\torderid: envelope.message.data\n\t\t\t\t\t},\n\t\t\t\t\tonSuccess: onSuccess,\n\t\t\t\t\tonFailure: onFailure\n\t\t\t\t};\n\n\t\t\t\tfunction onSuccess(response) {\n\t\t\t\t\tmodel = response;\n\t\t\t\t\tVendd.MessageBus.publishAsync(\n\t\t\t\t\t\t\"ReturnOrder\",\n\t\t\t\t\t\tnew Vendd.ReturnOrder.Messages.GetRequestReturnSuccess(response)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tfunction onFailure(response) {\n\t\t\t\t\tVendd.MessageBus.publishAsync(\n\t\t\t\t\t\t\"ReturnOrder\",\n\t\t\t\t\t\tnew Vendd.ReturnOrder.Messages.GetRequestReturnFailure(response)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tVendd.Service.call(options);\n\t\t\t}\n\t\t);\n\n\t\tVendd.MessageBus.subscribe(\n\t\t\tVendd.ReturnOrder.Messages.ValidateOrderContactInfo,\n\t\t\t\"ReturnOrder\",\n\t\t\tfunction (envelope) {\n\t\t\t\tvar options = {\n\t\t\t\t\turl: \"ReturnOrderService.svc/ValidateOrderContactInfo\",\n\t\t\t\t\tdata: envelope.message.data,\n\t\t\t\t\tonSuccess: onSuccess,\n\t\t\t\t\tonFailure: onFailure\n\t\t\t\t};\n\n\t\t\t\tfunction onSuccess(response) {\n\t\t\t\t\tmodel = response;\n\t\t\t\t\tif (response.d == 0) {\n\t\t\t\t\t\tVendd.MessageBus.publishAsync(\n\t\t\t\t\t\t\t\"ReturnOrder\",\n\t\t\t\t\t\t\tnew Vendd.ReturnOrder.Messages.GetReturnRequestValidationFormModelFailure(\n\t\t\t\t\t\t\t\tresponse\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tVendd.MessageBus.publishAsync(\n\t\t\t\t\t\t\t\"ReturnOrder\",\n\t\t\t\t\t\t\tnew Vendd.ReturnOrder.Messages.ValidateOrderContactInfoSuccess(\n\t\t\t\t\t\t\t\tresponse\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfunction onFailure(response) {\n\t\t\t\t\tVendd.MessageBus.publishAsync(\n\t\t\t\t\t\t\"ReturnOrder\",\n\t\t\t\t\t\tnew Vendd.ReturnOrder.Messages.ValidateOrderContactInfoFailure(\n\t\t\t\t\t\t\tresponse\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tVendd.Service.call(options);\n\t\t\t}\n\t\t);\n\n\t\tVendd.MessageBus.subscribe(\n\t\t\tVendd.ReturnOrder.Messages.GetReturnRequestValidationFormModel,\n\t\t\t\"ReturnOrder\",\n\t\t\tfunction (envelope) {\n\t\t\t\tvar options = {\n\t\t\t\t\turl: \"ReturnOrderService.svc/GetReturnRequestValidationFormModel\",\n\t\t\t\t\tdata: envelope.message.data,\n\t\t\t\t\tonSuccess: onSuccess,\n\t\t\t\t\tonFailure: onFailure\n\t\t\t\t};\n\n\t\t\t\tfunction onSuccess(response) {\n\t\t\t\t\tmodel = response;\n\t\t\t\t\tVendd.MessageBus.publishAsync(\n\t\t\t\t\t\t\"ReturnOrder\",\n\t\t\t\t\t\tnew Vendd.ReturnOrder.Messages.GetReturnRequestValidationFormModelSuccess(\n\t\t\t\t\t\t\tresponse\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tfunction onFailure(response) {\n\t\t\t\t\tVendd.MessageBus.publishAsync(\n\t\t\t\t\t\t\"ReturnOrder\",\n\t\t\t\t\t\tnew Vendd.ReturnOrder.Messages.GetReturnRequestValidationFormModelFailure(\n\t\t\t\t\t\t\tresponse\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tVendd.Service.call(options);\n\t\t\t}\n\t\t);\n\n\t\tVendd.MessageBus.subscribe(\n\t\t\tVendd.ReturnOrder.Messages.GetReturnedOrdersModel,\n\t\t\t\"ReturnedOrder\",\n\t\t\tfunction (envelope) {\n\t\t\t\tvar options = {\n\t\t\t\t\turl: \"ReturnOrderService.svc/GetUserReturnRequests\",\n\t\t\t\t\tdata: envelope.message.data,\n\t\t\t\t\tonSuccess: onSuccess,\n\t\t\t\t\tonFailure: onFailure\n\t\t\t\t};\n\n\t\t\t\tfunction onSuccess(response) {\n\t\t\t\t\tmodel = response;\n\t\t\t\t\tVendd.MessageBus.publishAsync(\n\t\t\t\t\t\t\"ReturnedOrder\",\n\t\t\t\t\t\tnew Vendd.ReturnOrder.Messages.GetReturnedOrdersModelSuccess(\n\t\t\t\t\t\t\tresponse\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tfunction onFailure(response) {\n\t\t\t\t\tVendd.MessageBus.publishAsync(\n\t\t\t\t\t\t\"ReturnedOrder\",\n\t\t\t\t\t\tnew Vendd.ReturnOrder.Messages.GetReturnedOrdersModelFailure(\n\t\t\t\t\t\t\tresponse\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tVendd.Service.call(options);\n\t\t\t}\n\t\t);\n\n\t\treturn ReturnOrder;\n\t})(Vendd.ReturnOrder || {});\n\n\treturn Vendd;\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n\t'use strict';\n\n\tVendd.MessageBus.subscribe(Vendd.Export.Messages.GetListingExport, Vendd.Export, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Export, new Vendd.Export.Messages.GetListingExportSuccess(response));\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Export, new Vendd.Export.Messages.GetListingExportFailure(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'ExportService.svc/GetListingExport',\n\t\t\tdata: {\n\t\t\t\texportCode: envelope.message.data.exportCode,\n\t\t\t\tlistingId: envelope.message.data.listingId\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\treturn Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.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.UserSelect.CreateUserSelect = function (wrapper) {\n\n\t var userSelectInfo = {\n\t LoginName: ''\n\t };\n\n\t var observable = new Vendd.Observable(userSelectInfo);\n\n\t Vendd.Databinding.CreateControlDatabindings(wrapper, observable);\n\t observable.valEngine = Vendd.UserSelect.CreateDefaultSetInterfaceUserValidationModel(observable);\n\n\t return observable;\n\t };\n\n\tVendd.UserSelect.CreateDefaultSetInterfaceUserValidationModel = function (observable) {\n\n\t var defaultValidationModel = ({\n\t LoginName: [{ rule: \"required\" }, { rule: \"isEmail\" }]\n\t });\n\n\t var valEngine = Vendd.DataValidation.BuildValidationModel(defaultValidationModel);\n\n\t var propertyChanging = function propertyChanging(data, propertyName, value) {\n\n\t var valOptions = {\n\t ValidationEngine: valEngine,\n\t PropertyName: propertyName,\n\t PropertyValue: value\n\t };\n\t Vendd.DataValidation.Validate(valOptions);\n\t };\n\n\t observable.AddListenerToPropertyChanging('LoginName', propertyChanging);\n\t return valEngine;\n\t };\n\n\tVendd.MessageBus.subscribe(Vendd.UserSelect.Messages.SubmitSetInterfaceUserInlineAdmin, Vendd.UserSelect, function (envelope) {\n\t var options = {\n\t url: 'AuthService.svc/SetInterfaceUser',\n\t data: {\n\t loginName: envelope.message.data.model.LoginName\n\t },\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t function onSuccess(response) {\n\t if (response.success === true) {\n\t Vendd.MessageBus.publishAsync(Vendd.UserSelect, new Vendd.UserSelect.Messages.SubmitSetInterfaceUserSuccess(response));\n\n\t if (envelope.message.data.model.RedirectToAccount) {\n\t var redirectUrl = LhApp.Context.OrdersHistoryUrl; \n\n\t if (envelope.message.data.model.OrderId) { \n\t redirectUrl = LhApp.Function.Url.setParameterValueOnUrl(redirectUrl, \"oIds\", envelope.message.data.model.OrderId);\n\t }\n\t window.location.href = redirectUrl;\n\t } else {\n\t location.reload();\n\t }\n\n\t } else {\n\t Vendd.MessageBus.publishAsync(Vendd.UserSelect, new Vendd.UserSelect.Messages.SubmitSetInterfaceUserFailure(response));\n\t }\n\t };\n\n\t function onFailure(response) {\n\t Vendd.MessageBus.publishAsync(Vendd.UserSelect, new Vendd.UserSelect.Messages.SubmitSetInterfaceUserFailure(response));\n\t };\n\n\t Vendd.Service.call(options);\n\t});\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.Order.Messages.SubmitRequestOrderChange, Vendd.Order, function (envelope) {\n var options = {\n url: 'AuthService.svc/RequestOrderChange',\n data:\n {\n email: envelope.message.data.model.Email,\n code: envelope.message.data.model.OrderCode\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n if (response.success === true) {\n Vendd.MessageBus.publishAsync(Vendd.Order, new Vendd.Order.Messages.SubmitRequestOrderChangeSuccess(response));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.Order, new Vendd.Order.Messages.SubmitRequestOrderChangeFailure(response));\n }\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Order, new Vendd.Order.Messages.SubmitRequestOrderChangeFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Order.Messages.CancelUncompletedOrder, Vendd.Order, function (envelope) {\n function onSuccess(response) {\n if (response.success) {\n Vendd.MessageBus.publishAsync(Vendd.Order, new Vendd.Order.Messages.CancelUncompletedOrderSuccess(response));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.Order, new Vendd.Order.Messages.CancelUncompletedOrderFailed(response));\n };\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Order, new Vendd.Order.Messages.CancelUncompletedOrderFailed(response));\n }\n\n var options = {\n url: 'EcomService.svc/CancelUncompletedOrder',\n data: {\n orderId: envelope.message.data.orderId\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Order.Messages.ReturnOrderItem, Vendd.Order, function (envelope) {\n function onSuccess(response) {\n if (response.success) {\n Vendd.MessageBus.publishAsync(Vendd.Order, new Vendd.Order.Messages.ReturnOrderItemSuccess(response));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.Order, new Vendd.Order.Messages.ReturnOrderItemFailed(response));\n };\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Order, new Vendd.Order.Messages.ReturnOrderItemFailed(response));\n }\n\n var options = {\n url: 'EcomService.svc/ReturnOrderItem',\n data: {\n orderItemId: envelope.message.data.orderItemId\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.Order.CreateChangeOrder = function () {\n\n var changeOrderInfo = {\n Email: '',\n OrderCode: ''\n };\n\n\n var observable = new Vendd.Observable(changeOrderInfo);\n return observable;\n };\n\n Vendd.Order.CreateDefaultChangeOrderValidationModel = function (observable) {\n\n var defaultValidationModel = ({\n Email: [{ rule: \"required\" }, { rule: \"isEmail\" }],\n OrderCode: [{ rule: \"required\" }]\n });\n\n var valEngine = Vendd.DataValidation.BuildValidationModel(defaultValidationModel);\n\n var propertyChanging = function propertyChanging(data, propertyName, value) {\n\n var valOptions = {\n ValidationEngine: valEngine,\n PropertyName: propertyName,\n PropertyValue: value\n };\n Vendd.DataValidation.Validate(valOptions);\n };\n\n observable.AddListenerToPropertyChanging('Email', propertyChanging);\n observable.AddListenerToPropertyChanging('OrderCode', propertyChanging);\n return valEngine;\n };\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.CallMeBack.Messages.Submit, Vendd.CallMeBack, function (envelope) {\n var options = {\n url: 'CallMeBackService.svc/SubmitCallMeBackRequest',\n data: { 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.model\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n if (response.success) {\n Vendd.MessageBus.publishAsync(Vendd.Career, new Vendd.Career.Messages.SubmitSuccess(response));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.Career, new Vendd.Career.Messages.SubmitFailure(response));\n }\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Career, new Vendd.Career.Messages.SubmitFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.Career.CreateApplicantInfo = function (selectedJob, selectedJobId) {\n\n var newApplicantInfo = {\n Email: '',\n FirstName: '',\n LastName: '',\n Phone: '',\n Message: '',\n JobTitle: selectedJob,\n JobId: selectedJobId,\n CvFileUploaded: '',\n Agreement: false\n };\n\n\n var observable = new Vendd.Observable(newApplicantInfo);\n return observable;\n };\n\n Vendd.Career.CreateDefaultJobInfoValidationModel = function (observable) {\n\n var defaultValidationModel = ({\n FirstName: [{ rule: \"required\" }],\n LastName: [{ rule: \"required\" }],\n Email: [{ rule: \"required\" }, { rule: \"isEmail\" }],\n Phone: [{ rule: \"required\" }, { rule: \"isNumeric\" }],\n JobTitle: [{ rule: \"required\" }],\n CvFileUploaded: [{ rule: \"required\" }],\n Agreement: [{ rule: \"required\" }, { rule: \"match\", Parameters: [true] }]\n });\n\n var valEngine = Vendd.DataValidation.BuildValidationModel(defaultValidationModel);\n\n var propertyChanging = function propertyChanging(data, propertyName, value) {\n\n var valOptions = {\n ValidationEngine: valEngine,\n PropertyName: propertyName,\n PropertyValue: value\n };\n Vendd.DataValidation.Validate(valOptions);\n };\n\n observable.AddListenerToPropertyChanging('FirstName', propertyChanging);\n observable.AddListenerToPropertyChanging('LastName', propertyChanging);\n observable.AddListenerToPropertyChanging('Email', propertyChanging);\n observable.AddListenerToPropertyChanging('Phone', propertyChanging);\n observable.AddListenerToPropertyChanging('Message', propertyChanging);\n observable.AddListenerToPropertyChanging('JobTitle', propertyChanging);\n observable.AddListenerToPropertyChanging('JobId', propertyChanging);\n observable.AddListenerToPropertyChanging('Agreement', propertyChanging);\n return valEngine;\n };\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function(Vendd) {\n 'use strict';\n\n Vendd.DatabindingTypes = (function (DatabindingTypes) {\n\n DatabindingTypes.DataMember = \"dataMember\";\n DatabindingTypes.DataShow = \"dataShow\";\n\n return DatabindingTypes;\n\n })(Vendd.DatabindingTypes || {});\n\n Vendd.Databinding = (function(Databinding) {\n\n var bindings = [];\n\n Databinding.CreateControlDatabindings = function(wrapper, data) {\n\n var controlDatabindings = Vendd.DatabindingHelpers.ResolveControlDatabinding(wrapper, data);\n\n Databinding.BindControls(controlDatabindings);\n };\n\n Databinding.DestroyControlDatabindings = function (wrapper, data) {\n\n var controlDatabindings = Vendd.DatabindingHelpers.ResolveControlDatabinding(wrapper, data);\n\n Databinding.UnbindControls(controlDatabindings);\n };\n\n Databinding.BindControls = function(controlDataProperty) {\n if (controlDataProperty && Array.isArray(controlDataProperty)) {\n for (var i = 0; i < controlDataProperty.length; i++) {\n var cdp = controlDataProperty[i];\n\n var control = cdp.Control;\n var data = cdp.Data;\n var propertyName = cdp.PropertyName;\n var type = cdp.Type;\n\n if (!control && !data && !propertyName) continue;\n\n Databinding.BindControl(control, data, propertyName, type);\n }\n }\n };\n\n Databinding.UnbindControls = function(controlDataProperty) {\n if (controlDataProperty && Array.isArray(controlDataProperty)) {\n for (var i = 0; i < controlDataProperty.length; i++) {\n var cdp = controlDataProperty[i];\n\n var control = cdp.Control;\n var data = cdp.Data;\n var propertyName = cdp.PropertyName;\n var type = cdp.Type;\n\n if (!control && !data && !propertyName) continue;\n\n Databinding.UnbindControl(control, data, propertyName, type);\n }\n }\n };\n\n Databinding.BindControl = function (control, data, propertyName, type) {\n if (control && typeof control === 'object') {\n\n var pos = Vendd.DatabindingHelpers.FindBinding(control, data, propertyName, type);\n var binding = (pos === -1) ? Vendd.DatabindingHelpers.CreateBinding(control, data, propertyName, type, bindings) : bindings[pos];\n\n binding.Event = Vendd.DatabindingEvents.ControlChanged;\n\n if (data instanceof Vendd.Observable) {\n data.AddListenerToPropertyChanged(propertyName, Vendd.DatabindingEvents.PropertyChanged);\n }\n\n var eventCode = Vendd.DatabindingHelpers.GetEventCode(control);\n var value = data[propertyName];\n\n // we must use jQuery to bind the events because jQuery hooks on change event globally per control and disables our handlers unless we use his API\n switch (binding.Type)\n {\n case Vendd.DatabindingTypes.DataMember:\n $(control).unbind(eventCode, binding.Event);\n Vendd.Control.SetValue(control, value);\n $(control).bind(eventCode, binding.Event);\n break;\n case Vendd.DatabindingTypes.DataShow:\n Vendd.Control.SetVisibility(control, value);\n break;\n }\n };\n };\n\n Databinding.UnbindControl = function (control, data, propertyName, type) {\n if (control && typeof control === 'object') {\n var pos = Vendd.DatabindingHelpers.FindBinding(control, data, propertyName, type);\n if (pos === -1)\n return;\n\n var event = bindings[pos].Event;\n bindings.splice(pos, 1);\n\n var indexes = Vendd.DatabindingHelpers.FindControlBindings(control);\n if (indexes.length === 0) {\n\n var eventCode = Vendd.DatabindingHelpers.GetEventCode(control);\n\n if (control.addEventListener) {\n control.removeEventListener(eventCode, event);\n } else {\n control.detachEvent(eventCode, event);\n };\n\n };\n };\n };\n\n Databinding.GetCurrentBindings = function getCurrentBindings() {\n return bindings;\n };\n\n return Databinding;\n\n })(Vendd.Databinding || {});\n\n Vendd.DatabindingHelpers = (function (DatabindingHelpers) {\n\n DatabindingHelpers.GetEventCode = function (control) {\n if (typeof ($(control).data(\"event\")) == \"string\") {\n\n return $(control).data(\"event\");\n }\n var controlType = Vendd.Control.GetType(control);\n\n switch (controlType) {\n default:\n return 'change';\n }\n };\n\n DatabindingHelpers.FindBinding = function findBinding(control, data, propertyName, type) {\n\n var bindings = Vendd.Databinding.GetCurrentBindings();\n\n if (typeof control === 'object') {\n for (var i = 0; i < bindings.length; i++) {\n if (bindings[i].Control === control &&\n bindings[i].Data === data &&\n bindings[i].Type === type &&\n bindings[i].PropertyName === propertyName)\n return i;\n };\n };\n\n return -1;\n };\n\n DatabindingHelpers.FindControlBindings = function findControlBindings(control) {\n var res = [];\n\n var bindings = Vendd.Databinding.GetCurrentBindings();\n\n if (typeof control === 'object') {\n for (var i = 0; i < bindings.length; i++) {\n if (bindings[i].Control === control)\n res.push(i);\n };\n };\n\n return res;\n };\n\n DatabindingHelpers.FindPropertyBindings = function findPropertyBindings(data, propertyName, forceUpdate) {\n\n if (forceUpdate === null || typeof(forceUpdate) != \"boolean\")\n forceUpdate = false;\n\n var bindings = Vendd.Databinding.GetCurrentBindings();\n var res = [];\n\n if (typeof data === 'object' && typeof propertyName === 'string') {\n for (var i = 0; i < bindings.length; i++) {\n if (bindings[i].Data === data && bindings[i].PropertyName === propertyName)\n res.push(i);\n };\n };\n\n return res;\n };\n\n DatabindingHelpers.CreateBinding = function createBinding(control, data, propertyName, type, bindings) {\n var binding = {\n Control: control,\n Data: data,\n PropertyName: propertyName,\n Type: type,\n Event: null\n };\n bindings.push(binding);\n\n return binding;\n };\n\n DatabindingHelpers.ResolveControlDatabinding = function(wrapper, data) {\n\n var controlDatabindings = [];\n\n if (!data) \n return controlDatabindings;\n\n $('*[data-member]', wrapper).each(function (i, dataMemberControl) {\n\n var $dataMemberControl = $(dataMemberControl);\n\n var dataMemberPath = $dataMemberControl.data('member');\n var propertyName = dataMemberPath.split('.').pop();\n\n var innerData = data.GetChildObservableByPath(dataMemberPath);\n\n var controlDatabinding = {\n Control: dataMemberControl,\n Data: innerData,\n PropertyName: propertyName,\n Type: Vendd.DatabindingTypes.DataMember\n };\n\n controlDatabindings.push(controlDatabinding);\n });\n\n $('*[data-show]', wrapper).each(function (i, dataShowControl) {\n\n var $dataShowControl = $(dataShowControl);\n\n var dataShowPath = $dataShowControl.data('show');\n var propertyName = dataShowPath.split('.').pop();\n\n var innerData = data.GetChildObservableByPath(dataShowPath);\n\n var controlDatabinding = {\n Control: dataShowControl,\n Data: innerData,\n PropertyName: propertyName,\n Type: Vendd.DatabindingTypes.DataShow\n };\n\n controlDatabindings.push(controlDatabinding);\n });\n\n return controlDatabindings;\n };\n\n return DatabindingHelpers;\n\n })(Vendd.DatabindingHelpers || {});\n\n Vendd.DatabindingEvents = (function (DatabindingEvents) {\n\n DatabindingEvents.ControlChanged = function controlChanged(event) {\n var target = event.target || event.srcElement;\n var indexes = Vendd.DatabindingHelpers.FindControlBindings(target);\n if (indexes.length === 0)\n return;\n\n var bindings = Vendd.Databinding.GetCurrentBindings();\n\n for (var i = 0; i < indexes.length; i++) {\n var binding = bindings[indexes[i]];\n var control = binding.Control;\n var data = binding.Data;\n var propertyName = binding.PropertyName;\n\n try {\n data[propertyName] = Vendd.Control.GetValue(control, typeof data[propertyName]);\n } catch (ex) {\n Vendd.ControlHelpers.HandleError(target, data[propertyName], ex);\n }\n \n };\n };\n\n DatabindingEvents.PropertyChanged = function propertyChanged(data, propertyName, value) {\n\n var bindings = Vendd.Databinding.GetCurrentBindings();\n\n var indexes = Vendd.DatabindingHelpers.FindPropertyBindings(data, propertyName);\n if (indexes.length === 0)\n return;\n\n for (var i = 0; i < indexes.length; i++) {\n var binding = bindings[indexes[i]];\n var control = binding.Control;\n\n switch (binding.Type)\n {\n case Vendd.DatabindingTypes.DataMember:\n Vendd.Control.SetValue(control, value);\n break;\n case Vendd.DatabindingTypes.DataShow:\n Vendd.Control.SetVisibility(control, value);\n break;\n }\n };\n };\n\n return DatabindingEvents;\n\n })(Vendd.DatabindingEvents || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function(Vendd) {\n 'use strict';\n\n Vendd.Control = (function(Control) {\n\n Control.GetType = function(control) {\n return control.nodeName.toLowerCase() + '.' + control.type;\n };\n\n Control.GetValue = function (control, dataType) {\n var controlType = Control.GetType(control);\n\n \n\n if (control && typeof (dataType) === 'string') {\n switch (dataType) {\n case 'string':\n return control.value;\n case 'number':\n return isNaN(control.value) ? \"\" : Number(control.value);\n case 'boolean':\n return control.checked;\n case 'object':\n return control.value;\n default:\n return control.value;\n }\n }\n };\n\n Control.SetValue = function(control, value) {\n\n var controlType = Control.GetType(control);\n\n\n if (value === undefined) {\n if (!control.type) {\n control.innerText = \"\";\n } else {\n switch (controlType) {\n case 'input.radio':\n\n case 'input.file':\n control.filename = \"\";\n break;\n case 'input.checkbox':\n\n var isChecked = false;\n\n break;\n default:\n control.value = \"\";\n break;\n };\n };\n return ;\n }\n\n if (!control.type) {\n if (Vendd.Helpers.IsHTML(value))\n control.innerHTML = value;\n else if (control.innerText) {\n control.innerText = value;\n } else {\n control.innerHTML = value;\n }\n } else {\n switch (controlType) {\n case 'input.radio':\n break;\n case 'input.file':\n break;\n case 'input.checkbox': \n\n var isChecked = false;\n\n if (typeof value === 'string')\n isChecked = control.value === value;\n\n if (typeof value === 'boolean')\n isChecked = value;\n\n\n control.checked = isChecked;\n break;\n default:\n control.value = value;\n break;\n };\n };\n };\n\n Control.SetVisibility = function (control, value) {\n\n var $control = $(control);\n\n if (value === undefined) {\n $control.hide();\n return;\n }\n\n if (typeof value === \"boolean\") {\n\n if (value) {\n $control.show();\n } else {\n $control.hide();\n }\n\n return;\n }\n\n if (typeof value === \"string\") {\n\n if (value.length > 0) {\n $control.show();\n } else {\n $control.hide();\n }\n\n return;\n }\n\n\n };\n\n return Control;\n\n })(Vendd.Control || {});\n\n Vendd.ControlHelpers = (function (ControlHelpers) {\n\n ControlHelpers.HandleError = function (control, observableOldValue, exception) {\n\n \n control.value = observableOldValue;\n control.focus();\n control.select();\n /*throw exception;*/\n };\n\n return ControlHelpers;\n })(Vendd.ControlHelpers || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Observable = (function (Observable) {\n\n Observable = function(model) {\n\n if (typeof model !== 'object')\n throw new Error('The model must be type of object.');\n\n this.model = model;\n this.children = {};\n\n this.propertyChangingEvents = {};\n this.propertyChangedEvents = {};\n\n this.DefineProperties();\n }\n\n \n \n \n Observable.prototype.GetNotificationList = function(events, propName) {\n var propertyNotifiers = events[propName];\n if (!propertyNotifiers) {\n propertyNotifiers = [];\n events[propName] = propertyNotifiers;\n };\n\n return propertyNotifiers;\n };\n\n Observable.prototype.FindEvent = function(notificationList, event) {\n for (var i = 0, n = notificationList.length; i < n; i++) {\n if (notificationList[i] === event)\n return i;\n };\n\n return -1;\n };\n\n Observable.prototype.GetChildObservable = function(propName) {\n for (var child in this.children) {\n if (this.children.hasOwnProperty(child)) {\n if (child === propName)\n return this.children[propName];\n }\n };\n\n return null;\n };\n\n Observable.prototype.GetChildObservableByPath = function (propertyPath) {\n var innerData = this;\n\n var propertyPathParts = propertyPath.split('.');\n if (propertyPathParts.length > 1) {\n for (var j = 0; j < propertyPathParts.length - 1; j++) {\n innerData = innerData.GetChildObservable(propertyPathParts[j]);\n }\n }\n\n return innerData;\n };\n\n Observable.prototype.GetModel = function() {\n return this.model;\n };\n\n Observable.prototype.DefineProperties = function() {\n for (var propName in this.model) {\n if (this.model.hasOwnProperty(propName)) {\n var propValue = this.model[propName];\n var propType = typeof propValue;\n\n if (Array.isArray(propValue)) {\n //throw new Error('DefineProperties for array is not implemented yet!');\n\t\t\t\t\t\tdelete this.model.propName;\n } else if (propType === 'string' || propType === 'number' || propType === 'boolean') {\n this.DefineProperty(propName, propValue);\n } else if (propType === 'object') {\n this.children[propName] = new Vendd.Observable(propValue);\n };\n };\n };\n };\n\n Observable.prototype.DefineProperty = function (propName, value) {\n Object.defineProperty(this, propName, {\n set: function(value) {\n this.NotifyPropertyChanging(propName, value);\n this.model[propName] = value;\n this.NotifyPropertyChanged(propName, value);\n },\n get: function() {\n return this.model[propName];\n }\n });\n };\n\n Observable.prototype.NotifyPropertyChanging = function (propName, value) {\n var propertyNotifiers = this.GetNotificationList(this.propertyChangingEvents, propName);\n for (var i = 0, n = propertyNotifiers.length; i < n; i++) {\n propertyNotifiers[i](this, propName, value);\n };\n };\n\n Observable.prototype.NotifyPropertyChanged = function (propName, value) {\n var propertyNotifiers = this.GetNotificationList(this.propertyChangedEvents, propName);\n for (var i = 0, n = propertyNotifiers.length; i < n; i++) {\n propertyNotifiers[i](this, propName, value);\n };\n };\n\n Observable.prototype.SetModel = function(model) {\n this.model = model;\n for (var propName in this.model) {\n if (this.model.hasOwnProperty(propName)) {\n var propValue = this.model[propName];\n var propType = typeof propValue;\n\n if (Array.isArray(propValue)) {\n this.NotifyPropertyChanged(propName, propValue); // need to check this\n } else if (propType === 'string' || propType === 'number' || propType === 'boolean') {\n this.NotifyPropertyChanged(propName, propValue);\n } else if (propType === 'object') {\n this.children[propName].SetModel(propValue);\n };\n };\n };\n };\n\n Observable.prototype.AddListenerToPropertyChanging = function(propName, eventListenerFn) {\n if (typeof (eventListenerFn) === 'function') {\n var propertyNotifiers = this.GetNotificationList(this.propertyChangingEvents, propName);\n var pos = this.FindEvent(propertyNotifiers, eventListenerFn);\n if (pos === -1)\n propertyNotifiers.push(eventListenerFn);\n };\n };\n\n Observable.prototype.AddListenerToPropertyChanged = function(propName, eventListenerFn) {\n if (typeof (eventListenerFn) === 'function') {\n var propertyNotifiers = this.GetNotificationList(this.propertyChangedEvents, propName);\n var pos = this.FindEvent(propertyNotifiers, eventListenerFn);\n if (pos === -1)\n propertyNotifiers.push(eventListenerFn);\n };\n };\n\n Observable.prototype.RemoveListenerToPropertyChanging = function(propName, eventListenerFn) {\n if (typeof (eventListenerFn) === 'function') {\n var propertyNotifiers = this.GetNotificationList(this.propertyChangingEvents, propName);\n var pos = this.FindEvent(propertyNotifiers, eventListenerFn);\n if (pos === -1)\n propertyNotifiers.splice(pos, 1);\n };\n };\n\n Observable.prototype.RemoveListenerToPropertyChanged = function(propName, eventListenerFn) {\n if (typeof (eventListenerFn) === 'function') {\n var propertyNotifiers = this.GetNotificationList(this.propertyChangedEvents, propName);\n var pos = this.FindEvent(propertyNotifiers, eventListenerFn);\n if (pos === -1)\n propertyNotifiers.splice(pos, 1);\n };\n };\n\n return Observable;\n\n })(Vendd.Observable || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t'use strict';\n\n\tVendd.Scripts = (function () {\n\t\tvar scripts = [];\n\n\t\treturn {\n\t\t\tload: function (fn) {\n\t\t\t\tscripts.push(fn);\n\t\t\t},\n\n\t\t\tinit: function () {\n\t\t\t _.each(scripts, function (fn) {\n\t\t\t\t\tfn();\n\t\t\t });\n\n\t\t\t callback_vendd();\n\t\t\t}\n\t\t};\n\t})();\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n \n var ValidationEngine = (function () { \n\n var self = this, base,\n property, validation, propertiesList = [],\n firstTime = true;\n self.Errors = [];\n\n self.processProperties = function (options) {\n $.each(options, function (k, v) {\n var prop = self.searchProperybyName(k);\n if (prop === false) { \n property = { validations: '', name: '' };\n property.validations = [];\n property.name = k;\n self.processValidations(v, property);\n propertiesList.push(property);\n } else {\n self.processValidations(v,prop);\n }\n\n });\n };\n\n self.processValidations = function (validations, property) {\n $.each(validations, function (i,v) {\n property.validations[v.rule] = {};\n if (v.hasOwnProperty('Parameters')) {\n property.validations[v.rule].Parameters = v.Parameters;\n } else {\n property.validations[v.rule].Parameters = [];\n }\n });\n };\n\n self.searchProperybyName = function (name) {\n var prop=_.findWhere(propertiesList, {name:name});\n if (prop === undefined) {\n return false;\n }\n return prop;\n };\n\n self.validatePropertybyName = function (name,val) {\n var result = true;\n var p = self.searchProperybyName(name);\n for (var validationType in p.validations){\n var parameters = p.validations[validationType].Parameters;\n if (parameters.length == 0) {\n result = self.validations[validationType](val);\n } else {\n result = self.validations[validationType](val, parameters);\n }\n if (result === false) {\n //On First Error we stop the validation\n var error = self.validationErrors[validationType];\n self.Errors.push({ Property: name, Error: error, Rule: validationType });\n return result;\n }\n else {\n \n }\n };\n return result;\n };\n self.validateAllProperties = function (model) {\n var result = true;\n for (var property in model) {\n var currentProp = self.searchProperybyName(property);\n if (currentProp !== false) {\n if (self.validatePropertybyName(property, model[property]) == false) {\n result = false;\n }\n } \n }\n if (self.Errors.length > 0) {\n result = false;\n }\n\n return result;\n };\n\n self.validations = {\n\n optional: function (value) {\n if ($.trim(value).length === 0)\n return false;\n\n return true;\n },\n\n required: function (value) {\n if ($.trim(value).length > 0)\n return true;\n return false;\n },\n\n isEmail: function (value) {\n var reg = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,20}$/i;\n\n return reg.test(value);\n },\n\n isNumeric: function (value) {\n var reg = /^\\d+$/;\n return reg.test(value);\n },\n\n isAlphaNumeric: function (value) {\n\n return true;\n },\n\n match: function (value, parameters) {\n\n return value === parameters[0];\n },\n\n length: function (value, parameters) {\n return value.length === parameters[0];\n },\n\n maxLength: function (value, parameters) {\n\n return value.length <= parameters[0];\n },\n\n minLength: function (value, parameters) {\n return value.length >= parameters[0];\n },\n\n 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 = 0;\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 },\n url: 'ProductRecipeService.svc/GetProductRecipes',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n pending = true;\n\n Vendd.Service.call(options);\n });\n\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n var state = {};\n var getViewModel = function (id, bundleItems) {\n var data = _.extend({}, state);\n\n var configuration = JSON.parse(data.serviceConfiguration);\n\n if (id) configuration.LoaderOptions.SkuId = id;\n if (bundleItems) configuration.LoaderOptions.BundleItems = bundleItems;\n\n function onFailure(response) {\n console.log(response);\n }\n\n function onSuccess(response) {\n var model = response;\n state.serviceConfiguration = model.Configuration;\n state.path = model.PathChecksum;\n\n if (id) state.selectedId = id;\n if (bundleItems) state.bundleItems = bundleItems;\n\n state.minQuantity = (model.MinQuantity === null || model.MinQuantity === '') ? ((model.Quanta !== null) ? model.Quanta : 1) : model.MinQuantity;\n state.maxQuantity = (model.MaxQuantity === null || model.MaxQuantity === '') ? null : model.MaxQuantity;\n state.quanta = (model.Quanta !== null) ? model.Quanta : 1;\n state.qty = state.minQuantity ? state.minQuantity : state.quanta;\n\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.Changed(model));\n }\n\n var queryString = location.search;\n if (queryString !== \"\") {\n var parameters = queryString.split(\"&\");\n if (queryString.indexOf('sdim') >= 0) {\n for (var i = 0; i < parameters.length; i++) {\n var pair = parameters[i].split(\"=\");\n if (pair[0] == 'sdim') {\n parameters.splice(i, 1);\n }\n }\n queryString = parameters.join(\"&\");\n }\n }\n var options = {\n url: 'AdapterService.svc/GetData', \n data: {\n serviceConfiguration: JSON.stringify(configuration)\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n };\n\n Vendd.Product.Controller = (function () {\n var initialized = false;\n\n return {\n IsInitialized: function () {\n return !!initialized;\n },\n initState: function (initialState) {\n if (initialized === true) {\n\n return state;\n } else {\n\n var data = {\n serviceConfiguration: initialState.serviceConfiguration,\n selectedId: initialState.selectedId,\n selectedColorId: initialState.selectedColorId,\n parentId: initialState.parentId,\n languageId: initialState.languageId,\n qty: initialState.qty,\n\n path: initialState.path,\n\n minQuantity: initialState.minQuantity,\n maxQuantity: initialState.maxQuantity,\n quanta: initialState.quanta,\n bundleItems: initialState.bundleItems, \n recipeItems: initialState.recipeItems,\n comboItems: initialState.comboItems\n };\n\n state = _.extend({}, data);\n\n initialized = true;\n\n return state;\n };\n },\n getState: function () {\n return state;\n }\n };\n })();\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.SetQuantity, Vendd.Product, function (envelope) {\n state.qty = envelope.message.data.qty;\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.SetQuanta, Vendd.Product, function (envelope) {\n state.quanta = envelope.message.data.quanta;\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.SetSelected, Vendd.Product, function (envelope) {\n\n var skuId = envelope.message.data.id;\n\n getViewModel(skuId, null);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.SetBundleItems, Vendd.Product, function (envelope) {\n\n var bundleItems = envelope.message.data.bundleItems || [];\n\n getViewModel(null, bundleItems);\n });\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.SetRecipeItems, Vendd.Product, function (envelope) {\n\n state.recipeItems = envelope.message.data.recipeItems || [];\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.SetComboItems, Vendd.Product, function (envelope) {\n\n state.comboItems = envelope.message.data.comboItems || [];\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.Notify, Vendd.Product, function (envelope) {\n\n var options = {\n url: 'EcomService.svc/SendAvailabityNotification',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.NotifySuccess(response, envelope.sender));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.NotifyFailure(response, envelope.sender));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.Review, Vendd.Product, function (envelope) {\n var options = {\n url: 'CommonService.svc/ProductReviewSubmit',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.ReviewSuccess(response, envelope.message.data));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.ReviewFailure(response, envelope.message.data));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.ReviewVote, Vendd.Product, function (envelope) {\n\n var options = {\n url: 'CommonService.svc/ProductReviewHelpfullnessVote',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.ReviewVoteSuccess(response, envelope.message.data.helpfullness.ispositivevote));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.ReviewVoteFailure(response, envelope.message.data.helpfullness.ispositivevote));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.GetAvailableWarehouses, Vendd.Product, function (envelope) {\n\n var options = {\n url: 'EcomService.svc/GetProductAvailableWarehouses',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n\n if (response.success) {\n var model = response.data && response.data !== \"\" ? JSON.parse(response.data) : \"\";\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetAvailableWarehousesSuccess(model));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetAvailableWarehousesFailure(response));\n }\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetAvailableWarehousesFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.GetDeliveryAvailability, Vendd.Product, function (envelope) {\n\n var options = {\n url: 'EcomService.svc/GetDeliveryAvailabilityData',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n\n if (response.success) {\n var model = response.data && response.data !== \"\" ? JSON.parse(response.data) : \"\";\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetDeliveryAvailabilitySuccess(model));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetDeliveryAvailabilityFailure(response));\n }\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetDeliveryAvailabilityFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.GetPickUpAvailability, Vendd.Product, function (envelope) {\n\n var options = {\n url: 'EcomService.svc/GetPickupAvailabilityData',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n\n if (response.success) {\n var model = response.data && response.data !== \"\" ? JSON.parse(response.data) : \"\";\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetPickUpAvailabilitySuccess(model));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetPickUpAvailabilityFailure(response));\n }\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetPickUpAvailabilityFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.GetReplacedByProducts, Vendd.Product, function (envelope) {\n var options = {\n url: 'api/Product/GetRelatedProducts',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetReplacedByProductsSuccess(response, envelope.message.data));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Product, new Vendd.Product.Messages.GetReplacedByProductsFailure(response, envelope.message.data));\n };\n\n Vendd.Service.call(options);\n });\n\n\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.ConvertPointsToCoupons, Vendd.Account, function (envelope) {\n function onSuccess(response) {\n if (response.success) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.ConvertPointsToCouponsSuccess(response));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.ConvertPointsToCouponsFailed(response));\n };\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.ConvertPointsToCouponsFailed(response));\n }\n var options = {\n url: 'EcomService.svc/ConvertPointsToCoupons',\n data: {\n accountId: envelope.message.data.accountId\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.GetAddresses, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n var model = response;\n var observableAddresses = [];\n\n for (var i = 0; i < model.Addresses.length; i++) {\n var address = model.Addresses[i];\n\n var observable = new Vendd.Observable(address);\n observableAddresses.push(observable);\n }\n\n model.Addresses = observableAddresses;\n\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAddressesSuccess(model));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAddressesFailed(response));\n }\n\n var url = envelope.message.data.addressType === 'shipping'\n ? 'AccountService.svc/GetShippingAddressesViewModel'\n : 'AccountService.svc/GetBillingAddressesViewModel';\n\n var options = {\n url: url,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.EditUser, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n if (response.success === true && response.code === \"AccountEdit_OperationSuccesful\") {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.EditUserSuccess(response));\n\n Vendd.MessageBus.publishAsync(Vendd.Newsletter, new Vendd.Newsletter.Messages.UpdateNewLetterVariables(3, null));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.EditUserFailed(response));\n }\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.EditUserFailed(response));\n }\n\n var options = {\n url: 'AuthService.svc/EditUser',\n data: {\n firstName: envelope.message.data.model.FirstName,\n lastName: envelope.message.data.model.LastName,\n userName: envelope.message.data.model.UserName,\n email: envelope.message.data.model.Email,\n oldPassword: envelope.message.data.model.OldPassword,\n password: envelope.message.data.model.Password,\n passwordConfirmation: envelope.message.data.model.PasswordConfirmation,\n newsletter: envelope.message.data.model.Newsletter,\n phones: envelope.message.data.model.Phones,\n mobilephone: envelope.message.data.model.MobilePhone,\n socialSecurityNumber: envelope.message.data.model.SocialSecurityNumber,\n birthDate: envelope.message.data.model.BirthDate,\n IsLoyaltyMember: envelope.message.data.model.IsLoyaltyMember,\n LoyaltyRequest: envelope.message.data.model.LoyaltyRequest,\n ReceiveEinvoice: envelope.message.data.model.ReceiveEinvoice,\n LoyaltyMemberId: envelope.message.data.model.LoyaltyMemberId,\n ResellerDisplayedPrice: envelope.message.data.model.ResellerDisplayedPrice,\n loyaltyMemberCardNumber: envelope.message.data.model.LoyaltyMemberCardNumber\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.SetDefaultAddress, Vendd.Account, function (envelope) {\n function onSuccess(response) {\n // Vendd.MessageBus.publishAsync(Account, new Vendd.Account.Messages.SetDefaultAddressSuccess());\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.AddressModelChanged());\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.SetDefaultAddressFailure(response));\n }\n\n var url = envelope.message.data.addressType === 'shipping'\n ? 'CommonService.svc/SetDefaultShippingAddress'\n : 'CommonService.svc/SetDefaultBillingAddress';\n\n\n var options = {\n url: url,\n data: {\n addressId: envelope.message.data.addressId\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.DeleteAddress, Vendd.Account, function (envelope) {\n function onSuccess(response) {\n\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.AddressModelChanged());\n\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.DeleteAddressFailure(response));\n }\n\n var url = envelope.message.data.addressType === 'shipping'\n ? 'CommonService.svc/DeleteShippingAddress'\n : 'CommonService.svc/DeleteBillingAddress';\n\n\n var options = {\n url: url,\n data: {\n addressId: envelope.message.data.addressId\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.EditAddress, Vendd.Account, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.EditAddressSuccess());\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.EditAddressFailed(response));\n }\n\n var options = {\n url: 'AccountService.svc/EditUserAddress',\n data: {\n addressType: envelope.message.data.addressType,\n address: envelope.message.data.model\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.CheckAddressIfExists, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.CheckAddressIfExistsSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.CheckAddressIfExistsFailure(response));\n }\n\n var options = {\n url: 'CommonService.svc/CheckAddressIfExists',\n data: {\n addressId: envelope.message.data.model.Id,\n firstName: envelope.message.data.model.FirstName,\n lastName: envelope.message.data.model.LastName,\n addressLine1: envelope.message.data.model.AddressLine1,\n addressLine2: envelope.message.data.model.AddressLine2,\n city: envelope.message.data.model.City,\n postCode: envelope.message.data.model.PostCode,\n country: envelope.message.data.model.Country,\n area: envelope.message.data.model.Area,\n isBillingAddress: envelope.message.data.model.IsBilling,\n isShippingAddress: envelope.message.data.model.IsShipping\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.GetAreasForPostCode, Vendd.Account, function (envelope) {\n function onSuccess(response) {\n //Validate Only if its Called From OnChange\n tempAreas = response;\n if (envelope.message.data.validateAfterLoad === true) {\n var valOptions = {\n ValidationEngine: addressValEngine,\n PropertyName: 'PostCode',\n PropertyValue: tempPostCode\n };\n\n validateAreas = false;\n Vendd.DataValidation.Validate(valOptions);\n }\n\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAreasForPostCodeSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.EditAddressFailed(response));\n }\n\n var options = {\n url: 'AccountService.svc/AreaLookUp',\n data: {\n countryCode: envelope.message.data.country,\n postalCode: envelope.message.data.postCode,\n selectedAreaCode: envelope.message.data.area\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.GetCountries, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n countries = response;\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetCountriesSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetCountriesFailed(response));\n }\n\n var options = {\n url: 'AccountService.svc/GetCountries',\n data: {\n selectedCountryCode: envelope.message.data.selectedCountryCode,\n addressType: envelope.message.data.addressType\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.GetPrefecture, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetPrefectureSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetPrefectureFailed(response));\n }\n\n var options = {\n url: 'AccountService.svc/PrefectureLookUp',\n data: {\n countryCode: envelope.message.data.countryCode,\n postalCode: envelope.message.data.postCode,\n area: envelope.message.data.area\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.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.GetUserAccount, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n var model = response;\n var observable = new Vendd.Observable(model);\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetUserAccountSuccess(observable));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetUserAccountFailure(response));\n }\n\n var options = {\n url: 'AccountService.svc/GetUserAccountViewModel',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.RequestToDeleteUser, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.RequestToDeleteUserSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.RequestToDeleteUserFailed(response));\n }\n\n var options = {\n method: 'POST',\n url: 'api/Account/RequestToDeleteUser',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Account.Messages.RequestToExportData, Vendd.Account, function (envelope) {\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.RequestToExportDataSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.RequestToExportDataFailed(response));\n }\n\n var options = {\n method: 'POST',\n url: 'api/Account/RequestToExportData',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.Account.SelectedCountryChanged = function (observable) {\n observable.Area = '';\n observable.PostCode = '';\n observable.IsFirstAccess = true;\n\n countries.forEach(function (country) {\n country.Selected = false;\n });\n var currentCountry = _.where(countries, { Code: observable.Country });\n currentCountry[0].Selected = true;\n\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAllTaxAgencies(observable));\n };\n\n Vendd.Account.SetObservable = function (observ) {\n observable = observ;\n };\n\n Vendd.Account.SetValidationModel = function (validationMod) {\n validationModel = validationMod;\n };\n\n Vendd.Account.ValidateObservable = function (observ) {\n\n if (observ == undefined) {\n observ = observable;\n }\n var valOptions = {\n ValidationEngine: addressValEngine,\n valmodel: observ.model,\n };\n Vendd.DataValidation.ValidateModel(valOptions);\n };\n\n\tVendd.Account.SelectedPostCodeChanged = function (observable) {\n\t observable.Area = '';\n\t // Vendd.MessageBus.publishAsync(Account, new Vendd.Account.Messages.GetAreasForPostCode(observable, value, true));\n\t};\n\n\tVendd.Account.GetNewAccount = function (observable) {\n\t var newaddress = {\n IsInvoiceEnabled: observable.IsInvoiceEnabled,\n\t IsDefault: false,\n\t FirstName: '',\n\t LastName: '',\n\t Title: '',\n\t Bell: '',\n\t AddressLine1: '',\n\t AddressLine2: '',\n\t Area: '',\n\t City: '',\n\t PostCode: '',\n\t Country: '',\n CountryDescription: '',\n Prefecture: '',\n Phones: '',\n SocialSecurityNumber: '',\n\t Mobiles: '',\n\t Fax: '',\n\t IsInvoice: false,\n InvoiceText: '',\n EInvoiceModuleEnabled: observable.Configs.EInvoiceModuleEnabled,\n UserCanChangeValue: observable.Configs.UserCanChangeValue,\n ReceiveEinvoice: null,\n\t CompanyName: '',\n\t Occupation: '',\n\t Headquarters: '',\n\t TaxIdentifier: '',\n\t TaxAgency: '',\n VatStatus:0,\n IsFirstAccess: true,\n IsShippingRestrictedToResolvedCountry: observable.Configs.IsShippingRestrictedToResolvedCountry,\n\t };\n\n var literals = { Literals: observable.Literals };\n $.extend(newaddress, literals);\n\n var configs = { Configs: observable.Configs };\n $.extend(newaddress, configs);\n\n\t observable = new Vendd.Observable(newaddress);\n\t return observable;\n\t};\n\n\tVendd.Account.CreateDefaultAccountUserValidationModel = function (observable) {\n\n\t var useEmailAsLoginName = observable.model.UseEmailAsLoginName;\n var socialSecurityNumberIsEnabled = observable.model.SocialSecurityNumberIsEnabled;\n\n\t var defaultValidationModel = {\n\t FirstName: [{ rule: \"required\" }],\n\t LastName: [{ rule: \"required\" }],\n Email: [{ rule: \"required\" }, { rule: \"isEmail\" }]\n\t };\n\n\t if (!useEmailAsLoginName) {\n\t defaultValidationModel.UserName = [{ rule: \"required\" }];\n }\n\n if (socialSecurityNumberIsEnabled && venddProjectConfigs && venddProjectConfigs.Account && venddProjectConfigs.Account.EditForm && venddProjectConfigs.Account.EditForm.ValidateSocialSecurityNumber === true) {\n defaultValidationModel.SocialSecurityNumber = [{ rule: \"isSocialSecurityNumber\" }];\n }\n\n if (!venddProjectConfigs || !venddProjectConfigs.Account || !venddProjectConfigs.Account.EditForm || venddProjectConfigs.Account.EditForm.BirthDateRequired === true) {\n defaultValidationModel.BirthDate = [{ rule: \"required\" }];\n }\n\n\t var valEngine = Vendd.DataValidation.BuildValidationModel(defaultValidationModel);\n\n\t var propertyChanging = function propertyChanging(data, propertyName, value) {\n\n\t var valOptions = {\n\t ValidationEngine: valEngine,\n\t PropertyName: propertyName,\n\t PropertyValue: value\n };\n\t Vendd.DataValidation.Validate(valOptions);\n\t };\n\n\t var customUserAccountValidationModel = ({\n\t PasswordConfirmation: [{ rule: \"isEqualWithPassword\" }],\n\t Password: [{ rule: \"isNotWeak\" }],\n\t OldPassword: [{ rule: \"isOldPasswordProperlySetOP\" }]\n\t });\n\n\t var isOldPasswordProperlySetPW = function (value) {\n\t if (value.length == 0)\n\t return true;\n\n\t if (value.length > 0 && observable.OldPassword.length > 0)\n\t return true;\n\n\t return false;\n\t };\n\n\t var isOldPasswordProperlySetOP = function (value) {\n\t if (value.length > 0 && observable.Password.length > 0)\n\t return true;\n\n\t if (observable.Password.length == 0)\n\t return true;\n\n\t return false;\n\t };\n\n\t var isEqualWithPassword = function (value) {\n\t if (value.length > 0 && observable.Password === value) {\n\t return true;\n\t }\n\n\t if (value.length == 0 && observable.Password === value) {\n\t return true;\n\t }\n\n\t return false;\n\t };\n\n\t var isNotWeak = function (value) {\n\t if (value.length == 0 && observable.PasswordConfirmation.length == 0)\n\t return true;\n\n\t var score = Vendd.Helpers.textStrength(value);\n\t //1 is the weak value of passowrd we need more than weak\n\t if (score > 2) {\n\t return true;\n\t }\n\t return false;\n\t };\n\n\t //valEngine.addOrUpdateValidationRule('isOldPasswordProperlySetPW', isOldPasswordProperlySetPW, 'Old password must be completed if a new password is requested');\n\t valEngine.addOrUpdateValidationRule('isOldPasswordProperlySetOP', isOldPasswordProperlySetOP, 'Complete old password');\n\t valEngine.addOrUpdateValidationRule('isEqualWithPassword', isEqualWithPassword, 'Confirmation must be equal with Password');\n\t valEngine.addOrUpdateValidationRule('isNotWeak', isNotWeak, 'Password must not be weak');\n\t valEngine.updateValidationModel(customUserAccountValidationModel);\n\n\t observable.AddListenerToPropertyChanging('FirstName', propertyChanging);\n\t observable.AddListenerToPropertyChanging('LastName', propertyChanging);\n observable.AddListenerToPropertyChanging('Email', propertyChanging);\n observable.AddListenerToPropertyChanging('BirthDate', propertyChanging);\n\t observable.AddListenerToPropertyChanging('Password', propertyChanging);\n\t observable.AddListenerToPropertyChanging('OldPassword', propertyChanging);\n observable.AddListenerToPropertyChanging('PasswordConfirmation', propertyChanging);\n observable.AddListenerToPropertyChanging('SocialSecurityNumber', propertyChanging);\n\t return valEngine;\n\t};\n\n\tVendd.Account.CreateDefaultAddressValidationModel = function (observable) {\n var valopts = {\n FirstName: [{ rule: \"required\" }],\n LastName: [{ rule: \"required\" }],\n AddressLine1: [{ rule: \"required\" }],\n City: [{ rule: \"required\" }],\n Country: [{ rule: \"required\" }]\n };\n\n if (observable.model.Configs && observable.model.Configs.IsAddressLine2Required && observable.model.Configs.IsAddressLine2Visible) {\n valopts.AddressLine2 = [{ rule: \"required\" }];\n }\n\n if (observable.model.Configs && observable.model.Configs.IsStreetnumberRequired && observable.model.Configs.IsStreetnumberVisible) {\n valopts.Streetnumber = [{ rule: \"required\" }];\n }\n\n if (observable.model.Configs && observable.model.Configs.IsFloorRequired && observable.model.Configs.IsFloorVisible) {\n valopts.Floor = [{ rule: \"required\" }];\n }\n\n if (observable.model.Configs && observable.model.Configs.IsApartmentRequired && observable.model.Configs.IsApartmentVisible) {\n valopts.Apartment = [{ rule: \"required\" }];\n }\n\n if (observable.model.Configs && observable.model.Configs.IsBlockRequired && observable.model.Configs.IsBlockVisible) {\n valopts.Block = [{ rule: \"required\" }];\n }\n\n if (observable.model.Configs && observable.model.Configs.IsEntranceRequired && observable.model.Configs.IsEntranceVisible) {\n valopts.Entrance = [{ rule: \"required\" }];\n }\n\n if (observable.model.Configs && observable.model.Configs.IsPrefectureAutofill) {\n valopts.Prefecture = [{ rule: \"required\" }];\n }\n\n if (observable.model.Configs && observable.model.Configs.IsAreaAutofill) {\n valopts.PostCode = [{ rule: \"required\" }];\n valopts.Area = [{ rule: \"required\" }];\n }\n\n var defaultValidationModel = (valopts);\n\n\t addressValEngine = Vendd.DataValidation.BuildValidationModel(defaultValidationModel);\n\n\t //Add Custom Validation engine\n var extravalopts = {};\n\t //Custom Validations\n if (observable.model.Configs && !observable.model.Configs.IsAreaAutofill) {\n var isValidPostCode = function (value) {\n var selectedCounries = _.where(countries, {\n Code: observable.Country\n });\n if (selectedCounries.length <= 0) {\n return true;\n }\n if (selectedCounries.length > 0 && observable.PostCode == '' && observable.IsFirstAccess === true) {\n observable.IsFirstAccess = false;\n return true;\n }\n\n //id does not have any areas but postcode is properly completed\n if (selectedCounries[0].AreasCount < 2 && observable.PostCode) {\n return true;\n }\n\n if ((tempAreas.length > 0) && selectedCounries[0].AreasCount > 1) {\n return true;\n }\n\n return false;\n };\n addressValEngine.addOrUpdateValidationRule(\"isValidPostCode\", isValidPostCode, 'This Property must be a valid Postal Code');\n\n var isAreaProperlySet = function (value) {\n if (observable.PostCode.length > 0 && isValidPostCode(observable.PostCode) && value.length > 0)\n return true;\n\n if (observable.PostCode.length <= 0)\n return true;\n\n return false;\n };\n addressValEngine.addOrUpdateValidationRule(\"isAreaProperlySet\", isAreaProperlySet, 'Area not completed');\n extravalopts = {\n PostCode: [{ rule: \"isValidPostCode\" }],\n Area: [{ rule: \"isAreaProperlySet\" }]\n };\n }\n\n var isValidPhoneNumber = function (value) {\n var reg = /(^[0-9]+$|^$)/g;\n return reg.test(value);\n };\n addressValEngine.addOrUpdateValidationRule(\"isValidPhoneNumber\", isValidPhoneNumber, 'This Property must be a valid Phone Number');\n\n if (observable.model.Configs && observable.model.Configs.IsPhoneVisible) {\n extravalopts.Phones = observable.model.Configs.IsPhoneRequired ? [{ rule: \"required\" }, { rule: \"isValidPhoneNumber\" }] : [{ rule: \"isValidPhoneNumber\" }];\n }\n\n if (observable.model.Configs && observable.model.Configs.IsMobileVisible) {\n extravalopts.Mobiles = observable.model.Configs.IsMobileRequired ? [{ rule: \"required\" }, { rule: \"isValidPhoneNumber\" }] : [{ rule: \"isValidPhoneNumber\" }];\n }\n\n if (observable.model.Configs && observable.model.Configs.IsFaxVisible) {\n extravalopts.Fax = observable.model.Configs.IsFaxRequired ? [{ rule: \"required\" }, { rule: \"isValidPhoneNumber\" }] : [{ rule: \"isValidPhoneNumber\" }];\n }\n\n //Custom validation Model Custom Rules\n var customAccountValidationModel = (extravalopts);\n addressValEngine.updateValidationModel(customAccountValidationModel);\n\t // =======================================================================\n\t // INVOICE VALIDATION\n\t // =======================================================================\n\n var isValidCompanyName = function (value) {\n if (observable.IsInvoice === true && value.length <= 0 && observable.model.Configs && observable.model.Configs.IsCompanyNameRequired) {\n return false;\n } else {\n return true;\n }\n\t };\n\t addressValEngine.addOrUpdateValidationRule(\"isValidCompanyName\", isValidCompanyName, 'Please insert Company Name');\n\n var isValidOccupation = function (value) {\n if (observable.IsInvoice === true && value.length <= 0 && observable.model.Configs && observable.model.Configs.IsOccupationRequired) {\n return false;\n } else {\n return true;\n }\n\t };\n\t addressValEngine.addOrUpdateValidationRule(\"isValidOccupation\", isValidOccupation, 'Please insert Occupation');\n\n\t var isValidHeadquarters = function (value) {\n if (observable.IsInvoice === true && value.length <= 0 && observable.model.Configs && observable.model.Configs.IsHeadquartersRequired) {\n return false;\n } else {\n return true;\n }\n\t };\n addressValEngine.addOrUpdateValidationRule(\"isValidHeadquarters\", isValidHeadquarters, 'Please insert Headquarters');\n\n\t var isValidTaxAgency = function (value) {\n\t if (observable.IsInvoice === true && value.length > 0)\n\t return true;\n\n if (observable.IsInvoice !== true)\n\t return true;\n\n\t return false;\n\t };\n\t addressValEngine.addOrUpdateValidationRule(\"isValidTaxAgency\", isValidTaxAgency, 'Please insert a valid Tax Agency');\n\n\t var isValidVatStatus = function (value) {\n\t if (observable.IsInvoice === true && value.length > 0)\n\t return true;\n\n\t if (observable.IsInvoice !== true)\n\t return true;\n\n\t return false;\n\t };\n addressValEngine.addOrUpdateValidationRule(\"isValidVatStatus\", isValidVatStatus, 'Please insert a valid Vat Status');\n\n var customRequiredTaxIdentifier = function (value) {\n if (observable.IsInvoice === true && value.length > 0)\n return true;\n\n if (observable.IsInvoice !== true)\n return true;\n\n return false;\n };\n addressValEngine.addOrUpdateValidationRule(\"customRequiredTaxIdentifier\", customRequiredTaxIdentifier, 'Please insert a Tax Identifier');\n\n\t var isValidTaxIdentifier = function (value) {\n if (observable.IsInvoice !== true)\n return true;\n\n if (value.length <= 0)\n return true;\n\n\t return LhApp.Function.validateTaxIdentifier(observable.IsInvoice, observable.Country, value);\n\t };\n\t addressValEngine.addOrUpdateValidationRule(\"isValidTaxIdentifier\", isValidTaxIdentifier, 'Please insert a valid Tax Identifier');\n\n\t // Custom validation Model for Invoice data\n\t var customAccountInvoiceValidationModel = ({\n\t CompanyName: [{ rule: 'isValidCompanyName' }],\n\t Occupation: [{ rule: 'isValidOccupation' }],\n Headquarters: [{ rule: 'isValidHeadquarters' }],\n\t TaxAgency: [{ rule: 'isValidTaxAgency' }],\n TaxIdentifier: [{ rule: \"customRequiredTaxIdentifier\" }, { rule: 'isValidTaxIdentifier' }],\n\t });\n\t addressValEngine.updateValidationModel(customAccountInvoiceValidationModel);\n\n\t //Validation Binding\n\t var propertyChanging = function propertyChanging(data, propertyName, value) {\n\t var valOptions = {\n\t ValidationEngine: addressValEngine,\n\t PropertyName: propertyName,\n\t PropertyValue: value\n\t };\n\t Vendd.DataValidation.Validate(valOptions);\n\t };\n\n\t observable.AddListenerToPropertyChanging('FirstName', propertyChanging);\n\t observable.AddListenerToPropertyChanging('LastName', propertyChanging);\n\t observable.AddListenerToPropertyChanging('Mobiles', propertyChanging);\n observable.AddListenerToPropertyChanging('Phones', propertyChanging);\n observable.AddListenerToPropertyChanging('Fax', propertyChanging);\n observable.AddListenerToPropertyChanging('AddressLine1', propertyChanging);\n observable.AddListenerToPropertyChanging('AddressLine2', propertyChanging);\n\t observable.AddListenerToPropertyChanging('IsInvoice', propertyChanging);\n\t observable.AddListenerToPropertyChanging('CompanyName', propertyChanging);\n\t observable.AddListenerToPropertyChanging('Occupation', propertyChanging);\n\t observable.AddListenerToPropertyChanging('Headquarters', propertyChanging);\n\t observable.AddListenerToPropertyChanging('TaxIdentifier', propertyChanging);\n\t observable.AddListenerToPropertyChanging('TaxAgency', propertyChanging);\n observable.AddListenerToPropertyChanging('VatStatus', propertyChanging);\n\n if (observable.model.Configs && !observable.model.Configs.IsCityAutofill) {\n observable.AddListenerToPropertyChanging('City', propertyChanging);\n }\n\n if (observable.model.Configs && !observable.model.Configs.IsAreaAutofill) {\n observable.AddListenerToPropertyChanging('PostCode', function postpropertyChanging(data, propertyName, value) {\n //if (observable.model.PostCode !== '') {\n tempPostCode = value;\n validateAreas = true;\n Vendd.MessageBus.publishAsync(Vendd.Account, new Vendd.Account.Messages.GetAreasForPostCode(observable, value, true));\n //}\n });\n }\n\n\t //observable.AddListenerToPropertyChanging('Area', propertyChanging);\n\t return addressValEngine;\n\t};\n\n\tVendd.Account.EmptyAreasOnClose = function (observable) {\n\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\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t'use strict';\n \n\t\n\n\tvar model = null;\n\tvar pending = false;\n\n\tVendd.MessageBus.subscribe(Vendd.WishlistMerchant.Messages.GetModel, Vendd.WishlistMerchant, function (envelope) {\n\n\t if (pending === true) {\n\t return false;\n\t };\n\n\t pending = true;\n\n\t function onSuccess(response) {\n\t model = response.data;\n\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.Changed(model));\n\n\t pending = false;\n\t }\n\n\t function onFailure(response) {\n\t console.log(\"Vendd.MessageBus.subscribe fail\");\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.Failed(response));\n\t }\n\n\t var options = {\n\t url: 'api/Wishlist/GetWishlistMerchantViewModel',\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t Vendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WishlistMerchant.Messages.Add, Vendd.WishlistMerchant, function (envelope) {\n\t var data = {};\n\t data.item = envelope.message.data;\n\n\t function onSuccess(response) {\n\t if (response.success)\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.GetModel());\n\t else\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.Failed(response));\n }\n\n\t function onFailure(response) {\n\t console.log(\"fail response:\" + JSON.stringify(response));\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.Failed(response));\n\t }\n\n\t var options = {\n\t url: 'EcomService.svc/AddToWishlistMerchant',\n\t data: data,\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t Vendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WishlistMerchant.Messages.Remove, Vendd.WishlistMerchant, function (envelope) {\n\t function onSuccess(response) {\n if (response.success)\n Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.GetModel());\n else\n Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.Failed(response));\n }\n\n\t function onFailure(response) {\n\t console.log(\"fail response:\" + JSON.stringify(response));\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.Failed(response));\n }\n\n var options = {\n url: 'EcomService.svc/RemoveFromWishlistMerchant',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WishlistMerchant.Messages.Clear, Vendd.WishlistMerchant, function (envelope) {\n function onSuccess (response) {\n if (response.success)\n Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.GetModel());\n else\n Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.Failed(response));\n }\n\n function onFailure (response) {\n Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.Failed(response));\n }\n\n var options = {\n url: 'EcomService.svc/ClearWishlistMerchant',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.LoginSuccess, Vendd.WishlistMerchant, function (envelope) {\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.GetModel());\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.LogoutSuccess, Vendd.WishlistMerchant, function (envelope) {\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistMerchant, new Vendd.WishlistMerchant.Messages.GetModel());\n\t});\n\n\t \n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n '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\tVendd.MessageBus.subscribe(Vendd.User.Messages.LoginSuccess, Vendd.WishlistArticle, function (envelope) {\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistArticle, new Vendd.WishlistArticle.Messages.GetModel());\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.LogoutSuccess, Vendd.WishlistArticle, function (envelope) {\n\t Vendd.MessageBus.publishAsync(Vendd.WishlistArticle, new Vendd.WishlistArticle.Messages.GetModel());\n\t});\n\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n\tvar pending = false;\n\n\tVendd.MessageBus.subscribe(Vendd.Wishlist.Messages.GetModel, Vendd.Wishlist, function (envelope) {\n\n\t if (LhApp.Context.MultipleWishlistsEnabled) {\n\t Vendd.MessageBus.publishAsync(Vendd.UserWishlist, new Vendd.UserWishlist.Messages.GetModel());\n\n\t if (LhApp.Context.Item.Template != 'wishlist')\n\t return true;\n\t }\n\n\t if (pending === true) {\n\t return false;\n\t }; \n\n\t function onSuccess (response) {\n\t model = response.data ? $.extend({}, response.data, { LangCode: LhApp.Context.Language }) : response.data;\n\t Vendd.Wishlist.SetClientModel(model);\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Changed(model));\n\n\t pending = false;\n\t }\n\n\t function onFailure (response) {\n Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Failed(response));\n\n pending = false;\n\t }\n\n\t var itemId = 0, templateCode = \"\";\n\t if (LhApp.Context.Item !== undefined) {\n\t itemId = LhApp.Context.Item.Id;\n\t }\n\n\t if (LhApp.Context.Item) {\n\t templateCode = LhApp.Context.Item.Template;\n\t }\n\n\t var visitorListId = Vendd.Wishlist.GetVisitorListByQueryString();\n\n\t var options = {\n\t data: { currentItemId: itemId, templateCode: templateCode, visitorListId: visitorListId },\n\t url: 'api/Wishlist/GetWishlistViewModel' + '?lang=' + LhApp.Context.Language, //todo perikstath -> this should be resolved by the rewriter and be like /el/\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t if (model != null && model != undefined && Vendd.Wishlist.GetClientModel() != null && document.cookie.indexOf('ForceClearWishlistLocalStorage') == -1) {\n\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Changed(model));\n\t return true;\n\t }\n\n Cookies.remove('ForceClearWishlistLocalStorage', { path: '/' });\n\t pending = true;\n\n\t Vendd.Service.call(options);\n\n\t});\n\n Vendd.MessageBus.subscribe(Vendd.Wishlist.Messages.Changed, Vendd.Wishlist, function (envelope) {\n if (envelope && !envelope.message.data.IsLocalStorageCache)\n Vendd.MessageBus.publishAsync(Vendd.Newsletter, new Vendd.Newsletter.Messages.UpdateNewLetterVariables(1, null));\n });\n\n Vendd.MessageBus.subscribe(Vendd.Wishlist.Messages.Add, Vendd.Wishlist, function (envelope) {\n var data = {};\n data.item = envelope.message.data;\n\n var options = {\n url: 'EcomService.svc/AddToWishlist',\n data: data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n\t function onSuccess(response) {\n\t Vendd.Wishlist.ClearClientModel();\n\n\t if (LhApp.Context.MultipleWishlistsEnabled)\n\t Vendd.UserWishlist.ClearClientModel();\n\n if (response.success) {\n Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.AddSuccess(response));\n if (response.code !== 'RequiresAuthenticationError') {\n Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.GetModel());\n }\n\t } else\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Failed(response));\n\t }\n\n\t function onFailure (response) {\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Failed(response));\n\t }\n\n\t Vendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Wishlist.Messages.Remove, Vendd.Wishlist, function (envelope) {\n\n\t function onSuccess(response) {\n\t if (response.success) {\n\t Vendd.Wishlist.ClearClientModel();\n\n\t if (LhApp.Context.MultipleWishlistsEnabled)\n Vendd.UserWishlist.ClearClientModel();\n\n Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.RemoveSuccess(response));\n if (response.code !== 'RequiresAuthenticationError') {\n Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.GetModel());\n }\t \n\t } else\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Failed(response));\n\t }\n\n function onFailure (response) {\n Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Failed(response));\n }\n\n var options = {\n url: 'EcomService.svc/RemoveFromWishlist',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Wishlist.Messages.MoveToCart, Vendd.Wishlist, function (envelope) {\n\n\t var data = LhApp.Context.MultipleWishlistsEnabled && !envelope.message.data.listId\n\t ? $.extend({}, envelope.message.data, { listId: Vendd.Wishlist.GetVisitorListByQueryString() })\n\t : envelope.message.data;\n\n\t function onSuccess(response) {\n\t if (response.success) {\n\t Vendd.Wishlist.ClearClientModel();\n\t Vendd.Cart.ClearClientModel();\n\t \n\t if (LhApp.Context.MultipleWishlistsEnabled)\n\t Vendd.UserWishlist.ClearClientModel();\n\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.GetModel());\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Cart.Messages.ShowMessages(response));\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Cart.Messages.GetModel());\n\t } else\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Failed(response));\n\t }\n\n\t function onFailure (response) {\n\t Vendd.MessageBus.publishAsync(envelope.sender, new Vendd.Wishlist.Messages.Failed(response));\n\t }\n\n\t var options = {\n\t url: 'EcomService.svc/MoveWishlistProductToCart',\n\t data: data,\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t Vendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Wishlist.Messages.MoveAllToCart, Vendd.Wishlist, function (envelope) { \n\n\t var data = { listId: Vendd.Wishlist.GetVisitorListByQueryString() };\n\n\t function onSuccess(response) {\n\t if (response.success) {\n\t Vendd.Wishlist.ClearClientModel();\n\t Vendd.Cart.ClearClientModel();\n\t \n\t if (LhApp.Context.MultipleWishlistsEnabled)\n\t Vendd.UserWishlist.ClearClientModel();\n\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.GetModel());\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Cart.Messages.ShowMessages(response));\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Cart.Messages.GetModel());\n\t };\n\t }\n\n\t function onFailure (response) {\n\t Vendd.MessageBus.publishAsync(envelope.sender, new Vendd.Wishlist.Messages.Failed(response));\n\t }\n\n\t var options = {\n\t url: 'EcomService.svc/MoveWishlistToCart',\n data: data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n\t Vendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Wishlist.Messages.Clear, Vendd.Wishlist, function (envelope) {\n\n\t var data = { listId: Vendd.Wishlist.GetVisitorListByQueryString() };\n\n\t function onSuccess(response) {\n if (response.success) {\n Vendd.Wishlist.ClearClientModel();\n \n if (LhApp.Context.MultipleWishlistsEnabled)\n Vendd.UserWishlist.ClearClientModel();\n\n Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.GetModel());\n } else\n Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Failed(response));\n }\n\n function onFailure (response) {\n Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.Failed(response));\n }\n\n var options = {\n url: 'EcomService.svc/ClearWishlist',\n data : data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.LoginSuccess, Vendd.Wishlist, function (envelope) {\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.GetModel());\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.User.Messages.LogoutSuccess, Vendd.Wishlist, function (envelope) {\n\t Vendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.GetModel());\n\t});\n\n\n\tVendd.Wishlist.ClearClientModel = function () {\n\t localStorage.removeItem('CurrentWishlistModel');\n\t};\n\n Vendd.Wishlist.GetClientModel = function () {\n var mdl = JSON.parse(localStorage.getItem(\"CurrentWishlistModel\"));\n\n return LhApp.Function.validateClientModel(mdl)\n ? $.extend({ IsLocalStorageCache: true }, mdl)\n : null;\n };\n\n\tVendd.Wishlist.SetClientModel = function (mdl) {\n\t localStorage.setItem('CurrentWishlistModel', JSON.stringify(mdl));\n\t};\n\n Vendd.Wishlist.GetVisitorListByQueryString = function() {\n return LhApp.Function.QueryString.getValueOf('list', unescape(LhApp.Context.Request.RawUrl)) || 0;\n };\n\n 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) {\n\t\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Wishlist, new Vendd.Wishlist.Messages.GetModel());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tdefaultCall();\n\t\tVendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionStateSuccess, Vendd.Wishlist, function (envelope) {\n\t\t\tdefaultCall();\n\t\t});\n\t})();\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t'use strict';\n\n\tvar getCartModelOptions = {\n\t\t// ignoreExternalModules: false do not use it unless your are forcing a value. the default behaviour will be resolved server side from cart widget config attribute ConfigAttributes_CartIgnoreExternalModulesDefault\n\t\t// add other options if needed\n\t};\n\n var pending = false;\n\tVendd.Cart.PendingMessages = null;\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.DownLoadExcel, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.DownLoadExcelSuccess(response));\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.DownLoadExcelFailure(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/GetCartItemsToExcel',\n\t\t\tdata: {\n\t\t\t\tparam: envelope.message.data\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\t\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.GetModel, Vendd.Cart, function (envelope) {\n\n\t\tif (pending === true) {\n\t\t\treturn false;\n\t\t};\n\n\t\tfunction onSuccess(response) {\n\t\t\tmodel = response.data ? $.extend(true, {}, response.data, { LangCode: LhApp.Context.Language }) : response.data;\n\n\t\t\tif (venddProjectConfigs.CartAvailabilityRestrictionMessages) {\n\t\t\t\ttry {\n\t\t\t\t\tif (Vendd.Cart.PendingMessages) model.Cart.PendingMessages = $.merge([], Vendd.Cart.PendingMessages);\n\t\t\t\t} catch (ex) {\n\t\t\t\t\tmodel.Cart.PendingMessages = null;\n\t\t\t\t}\n\t\t\t\tVendd.Cart.PendingMessages = null;\n\t\t\t}\n\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ShowMessages(response));\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Changed(model));\n\n Vendd.Cart.SetClientModel(model);\n\t\t\tpending = false;\n\t\t}\n\n\t\tfunction onFailure(response) {\n\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t\tpending = false;\n\t\t}\n\n\t\tvar itemId = 0, templateCode = \"\";\n\t\tif (LhApp.Context.Item !== undefined) {\n\t\t\titemId = LhApp.Context.Item.Id;\n\t\t}\n\n\t\tif (LhApp.Context.Item) {\n\t\t templateCode = LhApp.Context.Item.Template;\n\t\t}\n\n\t\tvar dataOptions = {\n\t\t\tcurrentItemId: itemId,\n\t\t\ttemplateCode: templateCode,\n\t\t\tignoreExternalModules: envelope.message && envelope.message.data && envelope.message.data.ignoreExternalModules // when undefined this will not be null in server\n\t\t};\n\n\t\tvar options = {\n\t\t\tdata: dataOptions,\n\t\t url: 'api/Cart/GetCartViewModel' + '?lang=' + LhApp.Context.Language, //todo perikstath -> this should be resolved by the rewriter and be like /el/\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tif (model != null && model != undefined && Vendd.Cart.GetClientModel() != null && document.cookie.indexOf('ForceClearCartLocalStorage') == -1) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Changed(model));\n\t\t\treturn true;\n\t\t}\n\n\t\tpending = true;\n Cookies.remove('ForceClearCartLocalStorage', { path: '/' });\n\n\t\tpending = true;\n\t\tVendd.Service.call(options);\n\n\t\treturn true;\n });\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Changed, Vendd.Cart, function (envelope) {\n if (envelope && !envelope.message.data.IsLocalStorageCache)\n Vendd.MessageBus.publishAsync(Vendd.Newsletter, new Vendd.Newsletter.Messages.UpdateNewLetterVariables(2, null));\n });\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.Add, Vendd.Cart, function (envelope) {\n function onSuccess(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.AddCompleted(response));\n\t\t\tif (venddProjectConfigs.CartAvailabilityRestrictionMessages) {\n\t\t\t\tVendd.Cart.PendingMessages = null;\n\t\t\t\ttry {\n\t\t\t\t\tVendd.Cart.PendingMessages = JSON.parse(response.data).Messages;\n\t\t\t\t} catch (ex) {\n\t\t\t\t\tVendd.Cart.PendingMessages = null;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (response.success && response.code === 'OperationSuccesful') {\n\t\t\t\tVendd.Cart.ClearClientModel();\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ProductAdded(envelope.message.data.id, response.data));\n\t\t\t\t\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ShowMessages(response));\n \n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\n\t\t\t\t\n\t\t\t} else if (response.success && response.code === 'AlreadyInCart') {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.AlreadyInCart(envelope.message.data.id));\n\t\t\t} else if (response.success && response.code === 'ValidationError') {\n\t\t\t Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Warning(response));\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t\t}\n\t\t}\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.AddCompleted(response));\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n var options = {\n url: 'EcomService.svc/AddToCart',\n data: {\n item: {\n id: envelope.message.data.id,\n skuId: envelope.message.data.skuId,\n path: envelope.message.data.path,\n qty: parseFloat(envelope.message.data.qty).toFixed(2),\n extraAttributes: envelope.message.data.extraAttributes,\n bundleItems: envelope.message.data.bundleItems,\n recipeItems: envelope.message.data.recipeItems,\n comboItems: envelope.message.data.comboItems,\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) {\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.MultipleAddSuccess(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 if (response.success) {\n\t\t Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ProductRemoved(envelope.message.data.id));\n\t\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\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\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.AddGiftCartEmailAddress, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\n\t\t\tif (response.success) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel());\n\t\t\t Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.AddGiftCartEmailAddressSuccess());\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t\t};\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/AddGiftCartEmailAddress',\n\t\t\tdata: {\n\t\t\t\titems: envelope.message.data.items,\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.ClearAllGiftCards, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\n\t\t\tif (response.success) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t\t};\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/ClearAllGiftCards',\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.ClearGiftCard, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\t\t\tif (response.success) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t\t};\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/ClearGiftCard',\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.Clear, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\n\t\t\tif (response.success) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\n\t\t\t}\n\t\t\telse {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t\t}\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/ClearCart',\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.UpdateCartProductReplacingTypes, Vendd.Cart, function (envelope) {\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.UpdateCartProductReplacingTypesSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.UpdateCartProductReplacingTypesFailed(response));\n }\n\n var options = {\n url: 'api/Cart/UpdateCartProductReplacingTypes',\n data: {\n parameters: envelope.message.data\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n }\n\n Vendd.Service.call(options);\n });\n\n /*Coupons*/\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.ApplyCoupon, Vendd.Cart, function (envelope) {\n function onSuccess(response) {\n\t Vendd.Cart.ClearClientModel();\n if (response.success) {\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ApplyCouponSuccess(envelope));\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\t\t\t\t\n\t } else {\n\t Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t };\n\t }\n\n\t function onFailure(response) {\n\t Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t }\n\n\t var options = {\n\t url: 'EcomService.svc/SetCoupon',\n\t data: {\n\t code: envelope.message.data.code\n\t },\n\t onSuccess: onSuccess,\n\t onFailure: onFailure\n\t };\n\n\t Vendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.ClearCoupon, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tif (response.success) {\n\t\t\t\tVendd.Cart.ClearClientModel();\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\t\t\t\t\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t\t};\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/ClearCoupon',\n\t\t\tdata: {\n\t\t\t\tcode: envelope.message.data.code\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.ClearCoupons, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\t\t\tif (response.success) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\t\t\t\t\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t\t};\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.Failed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/ClearCoupons',\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n });\n\n\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\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\tVendd.MessageBus.subscribe(Vendd.User.Messages.LoginSuccess, 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.User.Messages.LogoutSuccess, Vendd.Cart, function (envelope) {\n\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.ApplyShippingData, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\t\t\tif (response.success) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ApplyShippingDataSuccess(response));\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ApplyShippingDataFailed(response));\n\t\t\t};\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.ApplyShippingDataFailed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'CartService.svc/ApplyShippingData',\n\t\t\tdata: {\n\t\t\t\tcountryCode: envelope.message.data.countryCode,\n\t\t\t\tpostCode: envelope.message.data.postCode,\n\t\t\t\tareaId: envelope.message.data.areaId,\n\t\t\t\tshippingMethodId: envelope.message.data.shippingMethodId,\n\t\t\t\tshippingCompanyId: envelope.message.data.shippingCompanyId\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.GetShippingModel, Vendd.Cart, function (envelope) {\n\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetShippingModelSuccess(response));\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetShippingModelFailed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'CartService.svc/GetShippingViewModel',\n\t\t\tdata: {\n\t\t\t\tcountryCode: envelope.message.data.countryCode,\n\t\t\t\tpostCode: envelope.message.data.postCode,\n\t\t\t\tareaId: envelope.message.data.areaId,\n\t\t\t\tshippingMethodId: envelope.message.data.shippingMethodId,\n\t\t\t\tshippingCompanyId: envelope.message.data.shippingCompanyId\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Cart.Messages.AddOrderItemsToCart, Vendd.Cart, function (envelope) {\n\t\tfunction onSuccess(response) {\n\t\t\tVendd.Cart.ClearClientModel();\n\t\t\tif (response.success) {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.AddOrderItemsToCartSuccess(response));\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetModel(getCartModelOptions));\n\t\t\t} else {\n\t\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.AddOrderItemsToCartFailed(response));\n\t\t\t};\n\t\t}\n\n\t\tfunction onFailure(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.AddOrderItemsToCartFailed(response));\n\t\t}\n\n\t\tvar options = {\n\t\t\turl: 'EcomService.svc/AddOrderItemsToCart',\n\t\t\tdata: envelope.message.data,\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n\t\tVendd.Service.call(options);\n\t});\n\n\tVendd.Cart.GetNewGiftCardEmail = function (cartItem, literals, wrapper) {\n\t\tvar newGiftCardEmail = {\n\t\t\tFromName: '',\n\t\t\tToName: '',\n\t\t\tEmail: '',\n\t\t\tCustomText: '',\n\t\t\tTitle: cartItem.Title,\n\t\t\tProductId: cartItem.ProductId,\n\t\t\tVariantId: cartItem.VariantId,\n\t\t\tCartProductId: cartItem.Id\n\t\t};\n\n\t\tvar literals = { Literals: literals };\n\t\t$.extend(newGiftCardEmail, literals);\n\t\tvar observable = new Vendd.Observable(newGiftCardEmail);\n\t\tobservable.valEngine = Vendd.Cart.CreateGiftCardEmailValidationModel(observable);\n\n\t\treturn observable;\n\t};\n\n\tVendd.Cart.CreateGiftCardEmailValidationModel = function (observable) {\n\n\t\tvar defaultValidationModel = ({\n\t\t\tFromName: [{ rule: \"required\" }],\n\t\t\tToName: [{ rule: \"required\" }],\n\t\t\tEmail: [{ rule: \"required\" }, { rule: \"isEmail\" }]\n\t\t});\n\n\t\tvar valEngine = Vendd.DataValidation.BuildValidationModel(defaultValidationModel);\n\n\t\tvar propertyChanging = function propertyChanging(data, propertyName, value) {\n\n\t\t\tvar valOptions = {\n\t\t\t\tValidationEngine: valEngine,\n\t\t\t\tPropertyName: propertyName,\n\t\t\t\tPropertyValue: value\n\t\t\t};\n\t\t\tVendd.DataValidation.Validate(valOptions);\n\t\t};\n\n\t\tobservable.AddListenerToPropertyChanging('FromName', propertyChanging);\n\t\tobservable.AddListenerToPropertyChanging('ToName', propertyChanging);\n\t\tobservable.AddListenerToPropertyChanging('Email', propertyChanging);\n\t\treturn valEngine;\n\t};\n\n\tVendd.Cart.ClearClientModel = function () {\n\t\tlocalStorage.removeItem('CurrentCartModel');\n\t};\n\n\tVendd.Cart.GetClientModel = function () {\n\t var mdl = JSON.parse(localStorage.getItem(\"CurrentCartModel\"));\n\n\t return LhApp.Function.validateClientModel(mdl)\n ? $.extend({ IsLocalStorageCache: true }, mdl)\n : null;\n\t};\n\n\tVendd.Cart.SetClientModel = function (mdl) {\n\t localStorage.setItem('CurrentCartModel', JSON.stringify(mdl));\n\t};\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.SetDeliveryPoint, Vendd.Cart, function (envelope) {\n function onSuccess(success) {\n if (success)\n window.location.reload();\n }\n\n function onFailure(response) {\n }\n\n var options = {\n url: 'ProductListService.svc/SetDeliveryPoint',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n });\n\n\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) {\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\": item.Id,\n \"itemPath\": item.Path,\n \"pageNumber\": configuration.PageNumber,\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/GetScrolledProductList' + (data.uri || \"\" != \"\" ? data.uri + \"&\" : \"?\") + $.param(requestData),\n servicenamespace: '',\n method: 'GET',\n data: requestData,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n response.list = data.list;\n response.position = \"Reload\";\n response.model = response.data;\n Vendd.MessageBus.publishAsync(Vendd.ProductList, new Vendd.ProductList.Messages.GetModelSuccess(response));\n };\n\n function onFailure(response) {\n response.list = data.list;\n Vendd.MessageBus.publishAsync(Vendd.ProductList, new Vendd.ProductList.Messages.GetModelFailed(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 var doGetPageWithGetMethod = function (data, configuration, position, type) {\n var reqData =\n {\n \"templateCode\": LhApp.Context.Item.Template,\n \"configCode\": \"\",\n \"itemId\": LhApp.Context.Item.Id,\n \"itemPath\": LhApp.Context.Item.Path,\n \"pageNumber\": configuration.PageNumber,\n \"pageSize\": configuration.PageSize,\n \"sortKey\": configuration.SortKey,\n \"fullPath\": LhApp.Context.Item.FullPath,\n \"excludeItemIds\": configuration.ExcludeItemIds \n\n };\n\n\t\tvar url = (type == 'articleList' ? 'CachedServices/api/Article/GetScrolledArticleList' + (location.search) : 'CachedServices/api/Product/GetScrolledProductList' + (location.search)) + (location.search && location.search.length ? '&' : '?') + 'lang=' + LhApp.Context.Language;\n\n $.ajax({\n async: true,\n type: \"GET\",\n dataType: 'json',\n contentType: 'application/json; charset=UTF-8',\n ContentType: 'application/json; charset=UTF-8',\n url: url,\n data: (reqData),\n success: function (response) {\n response.success ? onSuccess(response.data) : onFailure(response.data);\n },\n failure: function (ex) {\n onFailure(ex);\n }\n });\n\n function onSuccess(response) {\n var model = response ? response : onFailure(response);\n\n if (position === \"Current\") {\n Vendd.MessageBus.publishAsync(Vendd.ScrollList, new Vendd.ScrollList.Messages.GetCurrentPageSuccess(data.list, model, position, type));\n } else {\n model.PageNumber = configuration.PageNumber;\n Vendd.MessageBus.publishAsync(Vendd.ScrollList, new Vendd.ScrollList.Messages.GetPageSuccess(data.list, model, position, type));\n if (model.Items.length > 0 && model.Items[0].length > 1) {\n addHistoryObject(configuration.PageNumber);\n }\n }\n };\n function onFailure(response) {\n if (position === \"Current\") {\n Vendd.MessageBus.publishAsync(Vendd.ScrollList, new Vendd.ScrollList.Messages.GetCurrentPageFailure(data.list, response));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.ScrollList, new Vendd.ScrollList.Messages.GetNextPageFailure(data.list, response));\n }\n };\n }\n\n var addHistoryObject = function (pageNumber) {\n\n if (history.pushState) {\n\n\t\t\tvar querystring = window.location.pathname + (window.location.pathname.slice(-1) != \"/\" ? \"/\" : \"\"),\n\t\t\t\tpager = $('.x-pager[data-page-count]'),\n\t\t\t\tpageCount = pager.length ? (parseInt(pager.attr('data-page-count')) || 0) : 0,\n \t\tpageText = pageNumber > 1 ? \"p\" + pageNumber + \"/\" : \"\";\n\n if (!(/\\/P\\d+\\//i.test(querystring))) {\n querystring = querystring + pageText;\n } else {\n querystring = querystring.replace(/\\/P\\d+\\//i, \"/\" + pageText);\n }\n\n var stateObject = {};\n var url = window.location.protocol\n + \"//\"\n + window.location.host\n + querystring\n + window.location.search;\n\t\t\tif (window.location.url !== url) {\n\t\t\t\tvar prev = $(\"head link[rel=prev]\");\n\t\t\t\tvar next = $(\"head link[rel=next]\");\n\t\t\t\tvar prevLink = url.replace(/^(.+\\/p)\\d+(\\/?(\\?.*)?)?$/i, \"$1\" + (pageNumber - 1) + \"$2\");\n\t\t\t\tvar nextLink = url.replace(/^(.+\\/p)\\d+(\\/?(\\?.*)?)?$/i, \"$1\" + (pageNumber + 1) + \"$2\");\n\t\t\t\tif (prev) {\n\t\t\t\t\tif (pageNumber > 1) {\n\t\t\t\t\t\tprev.attr(\"href\", prevLink);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tprev.remove();\n\t\t\t\t\t}\n\t\t\t\t} else if (pageNumber > 1) {\n\t\t\t\t\t$(\"head\").append(\"link rel=\\\"prev\\\" href=\\\"\" + prevLink + \"\\\" />\");\n\t\t\t\t}\n\t\t\t\tif (next) {\n\t\t\t\t\tif (pageNumber < pageCount) {\n\t\t\t\t\t\tnext.attr(\"href\", nextLink);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tnext.remove();\n\t\t\t\t\t}\n\t\t\t\t} else if (pageNumber < pageCount) {\n\t\t\t\t\t\t$(\"head\").append(\"link rel=\\\"next\\\" href=\\\"\" + nextLink + \"\\\" />\");\n\t\t\t\t}\n\t\t\t\thistory.replaceState(stateObject, jQuery(document).find('title').text() + pageNumber, url);\n\t\t\t}\n }\n\n }\n\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetNextPage, Vendd.ScrollList, function (envelope) {\n\n if (envelope.message.data.serviceConfiguration == undefined || envelope.message.data.serviceConfiguration == '') return;\n\n var configuration = JSON.parse(envelope.message.data.serviceConfiguration);\n var nextPage = parseInt($(envelope.message.data.list).attr('data-next-page')),\n \t\ttotalPages = parseInt($(envelope.message.data.list).attr('data-total-pages'));\n if (nextPage > 1) {\n configuration.PageNumber = nextPage;\n $(envelope.message.data.list).attr('data-next-page', nextPage + 1);\n $(envelope.message.data.list).attr('data-current-page', nextPage);\n if (nextPage <= totalPages) {\n doGetPageWithGetMethod(envelope.message.data, configuration, \"BottomOfList\", envelope.message.data.type);\n } else {\n Vendd.MessageBus.publishAsync(Vendd.ScrollList, new Vendd.ScrollList.Messages.GetNextPageFailure(envelope.message.data.list, { data: '{}' }));\n }\n } else {\n Vendd.MessageBus.publishAsync(Vendd.ScrollList, new Vendd.ScrollList.Messages.GetNextPageFailure(envelope.message.data.list, { data: '{}' }));\n }\n\n });\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetPreviousPage, Vendd.ScrollList, function (envelope) {\n\n if (envelope.message.data.serviceConfiguration == undefined || envelope.message.data.serviceConfiguration == '') return;\n\n var configuration = JSON.parse(envelope.message.data.serviceConfiguration);\n var previousPage = parseInt($(envelope.message.data.list).attr('data-previous-page')),\n \t\ttotalPages = parseInt($(envelope.message.data.list).attr('data-total-pages'));\n configuration.PageNumber = previousPage;\n $(envelope.message.data.list).attr('data-previous-page', previousPage - 1);\n $(envelope.message.data.list).attr('data-current-page', previousPage);\n if (previousPage >= 1) {\n doGetPageWithGetMethod(envelope.message.data, configuration, \"TopOfList\", envelope.message.data.type);\n } else {\n Vendd.MessageBus.publishAsync(Vendd.ScrollList, new Vendd.ScrollList.Messages.GetNextPageFailure(envelope.message.data.list, { data: '{}' }));\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetCurrentPage, Vendd.ScrollList, function (envelope) {\n\n var configuration = (envelope.message.data.serviceConfiguration != \"\") ? JSON.parse(envelope.message.data.serviceConfiguration) : \"\";\n\n var currentPage = parseInt($(envelope.message.data.list).attr('data-current-page'));\n\n if (currentPage > 0 && configuration != \"\") {\n configuration.PageNumber = currentPage;\n\n Vendd.MessageBus.publishAsync(Vendd.ScrollList, new Vendd.ScrollList.Messages.GetCurrentPageSuccess(envelope.message.data, window.jsonArr, \"Current\", envelope.message.data.type));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.ScrollList, new Vendd.ScrollList.Messages.GetCurrentPageFailure(envelope.message.data.list, { data: '{}' }));\n }\n\n });\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetClientProductListData, Vendd.ScrollList, function (envelope) {\n Vendd.Service.call({\n url: 'EcomService.svc/GetProductListData',\n data: {\n variantIds: envelope.message.data.itemIds\n },\n onSuccess: function (res) {\n if (res.success) {\n Vendd.MessageBus.publishAsync(Vendd.ScrollList, new Vendd.ScrollList.Messages.GetClientProductListDataSuccess(res.data));\n } else {\n Vendd.MessageBus.publishAsync(Vendd.ScrollList, new Vendd.ScrollList.Messages.GetClientProductListDataFailure(res.data));\n }\n }\n });\n });\n\n return Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n\t'use strict';\n\n\tVendd.Widget.CartWidget = 'CartWidget';\n\tVendd.Widget.WishlistWidget = 'WishlistWidget';\n\tVendd.Widget.WishlistArticleWidget = 'WishlistArticleWidget';\n\tVendd.Widget.LoginWidget = 'LoginWidget';\n\tVendd.Widget.ProductCompareWidget = 'ProductCompareWidget';\n\t\n\treturn Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.User = (function (User) {\n\n User.AuthProviders = (function (AuthProviders) {\n\n var dq = {\n\n connect: function (loginId, email, onSuccess, onError) {\n Vendd.Service.call({\n url: 'AuthService.svc/ConnectAuthenticationProvider',\n data: {\n provider: 'disqus',\n loginId: loginId,\n email: email\n },\n onSuccess: onSuccess,\n onFailure: onError\n });\n }\n };\n\n AuthProviders.disqus = {\n\n initiating: false,\n initiated: false,\n\n Configuration: {\n ClientId: '',\n AuthUrl: '',\n ShortName: ''\n },\n\n init: function (source, identifier, url) {\n var me = this;\n\n if (!this.initiating && !this.initiated) {\n this.initiating = true;\n\n Vendd.Service.call({\n url: 'Auth/DisqusService.svc/GetConfiguration',\n data: {},\n onSuccess: function (res) {\n\n me.Configuration.ClientId = res.clientId;\n me.Configuration.AuthUrl = res.authUrl;\n me.Configuration.ShortName = res.shortName;\n\n var d = document, s = d.createElement('script');\n \n s.src = '//' + me.Configuration.ShortName + '.disqus.com/embed.js';\n\n s.setAttribute('data-timestamp', +new Date());\n (d.head || d.body).appendChild(s);\n\n me.initiated = true;\n },\n onFailure: function (ex) {\n throw ex;\n }\n }); \n }\n }\n\n };\n\n return AuthProviders;\n\n })(User.AuthProviders || {});\n\n return User;\n\n })(Vendd.User || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.User = (function (User) {\n\n User.AuthProviders = (function (AuthProviders) {\n\n var gg = {\n \n connect: function (loginId, email, onSuccess, onError) {\n Vendd.Service.call({\n url: 'AuthService.svc/ConnectAuthenticationProvider',\n data: {\n provider: 'google',\n loginId: loginId,\n email: email\n },\n onSuccess: onSuccess,\n onFailure: onError\n });\n },\n\n login: function () {\n Vendd.Service.call({\n url: 'Auth/GoogleLoginService.svc/GetConfiguration',\n data: {},\n onSuccess: function (res) {\n window.open(res.authUrl, 'googleLogin', 'status=1,toolbar=0,location=0,menubar=0,directories=0,resizable=0,scrollbars=0,height=550,width=600');\n },\n onFailure: function (ex) {\n throw ex;\n }\n });\n //window.open(AuthProviders.google.Configuration.AuthUrl, 'googleLogin', 'status=1,toolbar=0,location=0,menubar=0,directories=0,resizable=0,scrollbars=0,height=550,width=600');\n },\n\n logout: function (cb) {\n cb();\n }\n };\n\n AuthProviders.google = {\n\n initiating: false,\n initiated: false,\n\n Configuration: {\n ClientId: '',\n AuthUrl: ''\n },\n\n init: function () {\n var me = this;\n\n if (!this.initiating && !this.initiated) {\n this.initiating = true;\n\n (function (d, s, id) {\n var js,\n fjs = d.getElementsByTagName(s)[0];\n if (d.getElementById(id))\n return;\n\n js = d.createElement(s);\n js.id = id;\n js.src = \"https://apis.google.com/js/platform.js\";\n\n fjs.parentNode.insertBefore(js, fjs);\n }(document, 'script', 'google-jssdk'));\n }\n },\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 Vendd.Service.call({\n url: 'Auth/FacebookLoginService.svc/GetConfiguration',\n data: {},\n onSuccess: function (res) {\n window.open(res.authUrl, 'fbLogin', 'status=1,toolbar=0,location=0,menubar=0,directories=0,resizable=0,scrollbars=0,height=265,width=600');\n },\n onFailure: function (ex) {\n throw ex;\n }\n });\n //window.open(AuthProviders.facebook.Configuration.AuthUrl, 'fbLogin', 'status=1,toolbar=0,location=0,menubar=0,directories=0,resizable=0,scrollbars=0,height=265,width=600');\n },\n\n logout: function (cb) {\n FB.logout(cb);\n }\n };\n\n var deleteFbCookie = function () {\n var theCookies = document.cookie.split(';');\n for (var i = 0 ; i < theCookies.length; i++) {\n\n var c = theCookies[i];\n while (c.charAt(0) == ' ') c = c.substring(1);\n\n var cparts = c.split('=');\n var name;\n if (cparts.length == 2)\n name = cparts[0];\n\n if (name && (name.indexOf(\"fblo_\") == 0 || name.indexOf(\"fbsr_\") == 0)) {\n document.cookie = name + \"=; expires=Thu, 01 Jan 1970 00:00:00 UTC\";\n }\n }\n }\n\n var throwEx = function (ex) {\n if (typeof (ex) === typeof (Error))\n throw ex;\n else\n console.log(ex);\n }\n\n AuthProviders.facebook = {\n\n isAvailable: true,\n initiating: false,\n initiated: false,\n\n Configuration: {\n AppId: '',\n PageId: '',\n AuthUrl: ''\n },\n\n init: function () {\n var me = this;\n\n if (!me.initiating && !me.initiated) {\n me.initiating = true;\n\n me.Configuration.AppId = AuthProviders.facebook.Configuration.AppId;\n me.Configuration.PageId = AuthProviders.facebook.Configuration.PageId;\n\n if (typeof (FB) === \"object\") {\n me.initiated = true;\n } else {\n window.fbAsyncInit = function () {\n FB.init({\n appId: me.Configuration.AppId,\n pageId: me.Configuration.PageId,\n cookie: false,\n xfbml: true,\n version: 'v3.2'\n });\n\n me.initiated = true;\n };\n\n (function (d, s, id) {\n var fjs = d.getElementsByTagName(s)[0];\n if (d.getElementById(id))\n return;\n\n var js = d.createElement(s);\n js.id = id;\n js.src = '//connect.facebook.net/en_US/all.js';\n js.onload = function (e) {\n me.isAvailable = true;\n };\n js.onerror = function (e) {\n me.isAvailable = false;\n console.warn('Facebook authentication provider is not available via this network! All FB calls will be ignored..');\n };\n\n fjs.parentNode.insertBefore(js, fjs);\n }(document, 'script', 'facebook-jssdk'));\n }\n }\n },\n\n statusChanged: function (statusResponse) {\n var me = this;\n\n if (!me.isAvailable) return;\n\n if (statusResponse.status === 'connected') {\n var facebookid = statusResponse.authResponse.userID;\n\n fb.getUser(function (userResponse) {\n fb.connect(facebookid, userResponse.email, function (connectedResponse) {\n if (connectedResponse !== 'Connected') {\n if (connectedResponse === 'Authenticated') {\n document.location = document.location;\n }\n else if (connectedResponse === 'CreatedAndAuthenticated') {\n document.location = document.location;\n }\n else if (connectedResponse === 'Disconnected') {\n fb.login();\n }\n }\n }, function (connectedEx) {\n throwEx(connectedEx);\n });\n\n }, function (userEx) {\n throwEx(userEx);\n });\n }\n },\n\n checkLoginState: function () {\n var me = this;\n\n if (!me.isAvailable) return;\n\n fb.getStatus(function (response) {\n me.statusChanged(response);\n }, function (ex) {\n throw ex;\n });\n },\n\n login: function () {\n var me = this;\n\n if (!me.isAvailable) return;\n\n fb.login();\n },\n\n logout: function (cb) {\n var me = this;\n\n if (!me.isAvailable) {\n cb();\n return;\n }\n\n fb.getStatus(function(statusResponse) {\n if (statusResponse.status === 'connected') {\n fb.logout(function() {\n\n //Facebook bugfix: delete cookie\n deleteFbCookie();\n\n cb();\n });\n } else {\n cb();\n }\n }, function(ex) {\n cb();\n });\n }\n\n };\n\n return AuthProviders;\n\n })(User.AuthProviders || {});\n\n return User;\n\n })(Vendd.User || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.CustomForms.Messages.SendNotification, Vendd.CustomForms, function (envelope) {\n var options = {\n url: 'SendNotificationsToUser',\n data:\n {toemail:envelope.message.data.toemail,\n fromemail: envelope.message.data.fromemail,\n relatedObjectid: envelope.message.data.relatedObjectid,\n langCode: envelope.message.data.langCode,\n notificationTemplateCode: envelope.message.data.notificationTemplateCode,\n param: envelope.message.data.param,\n },\n servicenamespace:'services/api/notification',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.CustomForms, new Vendd.CustomForms.Messages.SendNotificationSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.CustomForms, new Vendd.CustomForms.Messages.SendNotificationFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.CustomForms.Messages.Submit, Vendd.CustomForms, function (envelope) {\n var options = {\n url: 'SubmitCustomForm',\n data: envelope.message.data,\n servicenamespace: 'services/api/notification',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.CustomForms, new Vendd.CustomForms.Messages.SubmitSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.CustomForms, new Vendd.CustomForms.Messages.SubmitFailure(response));\n };\n\n Vendd.Service.call(options);\n });\n\n\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Quickbuy = (function (Quickbuy) {\n var QuickbuyList = {}\n\n Quickbuy.addToQuickbuyList = function (productsList, parse) {\n var color;\n for (var n = 0; n < productsList.length; n++) { \n color = \"\";\n\n if (productsList[n].Color)\n color = \"-\" + productsList[n].Color; \n\n QuickbuyList[productsList[n].Id + color] = parse ? JSON.parse(productsList[n].Dimensionsjson) : productsList[n].Dimensionsjson;\n }\n };\n\n Quickbuy.Update = function ($wrapper, model) {\n var html = Vendd.Handlebars.parse(\"productDimensions\", model);\n\n $wrapper.html(html);\n };\n\n Quickbuy.initState = function (productId, defaultColor) {\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)\n return;\n\n newState.Colors = state.Colors;\n newState.Sizes = state.Sizes;\n newState.HasColors = state.SkuList.HasColors;\n newState.HasSizes = state.SkuList.HasSizes;\n newState.SelectColorText = state.SelectColorText;\n newState.SelectSizeText = state.SelectSizeText;\n newState.NoAvailableSizesText = state.NoAvailableSizesText;\n newState.HasSingleColor = (state.Colors.length == 1) ? true : false;\n newState.HasSingleSize = (state.Sizes.length == 1) ? true : false;\n newState.SizeDisabled = false;\n\n return newState;\n };\n\n Quickbuy.createNewState = function (wrapper, dimId, productId, defaultColor, type) {\n var availableDimList, state, json, skus;\n\n var customId = productId;\n if (defaultColor) {\n customId = productId + \"-\" + defaultColor;\n }\n\n json = GetDimJson(customId); \n skus = json.SkuList.Skus;\n state = wrapper.model;\n\n if (type === 'color') {\n if (!state.HasSizes)\n return;\n\n wrapper.SelectedColorId = dimId;\n availableDimList = _.first(_.filter(state.Colors, function (x) { return x.Id === dimId })).AvailableSizes;\n UpdateSelectedItems(state, dimId, true);\n\n state.Sizes = [];\n for (var i = 0; i < availableDimList.length; i++) {\n var SizeArr = _.find(json.Sizes, function (x) { return x.Id === availableDimList[i] });\n SizeArr.IsSelected = (typeof wrapper.SelectedSizeId != 'undefined' && wrapper.SelectedSizeId == availableDimList[i]) ? true : false;\n state.Sizes[i] = SizeArr;\n }\n\n\n state.SizeDisabled = true;\n for (var i = 0; i < state.Sizes.length; i++) {\n for (var j = 0; j < skus.length; j++) {\n if (skus[j].ColorId == dimId && skus[j].SizeId == state.Sizes[i].Id) {\n state.Sizes[i].Disabled = !skus[j].SkuData.CanBuy;\n\n if (state.SizeDisabled && skus[j].SkuData.CanBuy) {\n state.SizeDisabled = false;\n }\n break;\n }\n }\n }\n\n } else if (type === 'size') {\n\n if (!state.HasColors)\n return;\n\n wrapper.SelectedSizeId = dimId;\n availableDimList = _.first(_.filter(state.Sizes, function (x) { return x.Id === dimId })).AvailableColors;\n UpdateSelectedItems(state, dimId, false);\n\n state.Colors = [];\n for (var i = 0; i < availableDimList.length; i++) {\n var ColorArr = _.find(json.Colors, function (x) { return x.Id === availableDimList[i] });\n ColorArr.IsSelected = (typeof wrapper.SelectedColorId != 'undefined' && wrapper.SelectedColorId == availableDimList[i]) ? true : false;\n state.Colors[i] = ColorArr;\n }\n\n for (var i = 0; i < state.Colors.length; i++) {\n for (var j = 0; j < skus.length; j++) {\n if (skus[j].ColorId == state.Colors[i].Id && skus[j].SizeId == dimId) {\n state.Colors[i].Disabled = !skus[j].SkuData.CanBuy;\n break;\n }\n }\n }\n }\n return state;\n };\n\n Quickbuy.GetSkuData = function (productId, defaultColor, colorId, sizeid) {\n\n var customId = productId;\n if (defaultColor) {\n customId = productId + \"-\" + defaultColor;\n }\n\n var product = GetDimJson(customId);\n\n return (product == null) ? null : _.find(product.SkuList.Skus, function (x) { return x.ColorId === colorId && x.SizeId === sizeid });\n };\n\n var GetDimJson = function (productId) {\n return ($.isEmptyObject(QuickbuyList)) ? null : QuickbuyList[productId];\n };\n\n var UpdateSelectedItems = function (state, dimId, isColor) {\n var arr;\n\n if (isColor) {\n arr = state.Colors;\n } else {\n arr = state.Sizes;\n }\n\n for (var i = 0; i < arr.length; i++) {\n arr[i].IsSelected = false;\n\n if (arr[i].Id === dimId) {\n arr[i].IsSelected = true;\n if (isColor) {\n state.SelectColorText = arr[i].Name;\n } else {\n state.SelectSizeText = arr[i].Name;\n }\n }\n }\n };\n\n return Quickbuy;\n\n })(Vendd.Quickbuy || {});\n\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n var pending = false;\n var widgetModelPending = false;\n\n Vendd.MessageBus.subscribe(Vendd.ProductCompare.Messages.GetModel, Vendd.ProductCompare, function (envelope) {\n\n if (pending === true) {\n return false;\n };\n\n pending = true;\n\n var options = {\n url: 'ProductCompareService.svc/GetProductCompareViewModel',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n model = response;\n\n Vendd.MessageBus.publishAsync(Vendd.ProductCompare, new Vendd.ProductCompare.Messages.GetModelSuccess(model));\n\n pending = false;\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.ProductCompare, new Vendd.ProductCompare.Messages.Failed(response));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.ProductCompare.Messages.GetWidgetModel, Vendd.ProductCompare, function (envelope) {\n\n if (widgetModelPending === true) {\n return false;\n };\n\n function onSuccess(response) {\n widgetModel = response ? $.extend({}, response, { LangCode: LhApp.Context.Language }) : response;\n Vendd.ProductCompare.SetClientModel(widgetModel);\n Vendd.MessageBus.publishAsync(Vendd.ProductCompare, new Vendd.ProductCompare.Messages.GetWidgetModelSuccess(widgetModel));\n\n widgetModelPending = false;\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.ProductCompare, new Vendd.ProductCompare.Messages.Failed(response));\n };\n\n var options = {\n url: 'ProductCompareService.svc/GetProductCompareWidgetViewModel' + '?lang=' + LhApp.Context.Language, //todo perikstath -> this should be resolved by the rewriter and be like /el/\n data: { templateCode: LhApp.Context.Item ? LhApp.Context.Item.Template : \"\" },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n if (widgetModel != null && widgetModel != undefined && Vendd.ProductCompare.GetClientModel() != null && document.cookie.indexOf('ForceClearCompareLocalStorage') == -1) {\n\n Vendd.MessageBus.publishAsync(Vendd.ProductCompare, new Vendd.ProductCompare.Messages.GetWidgetModelSuccess(widgetModel));\n return true;\n }\n\n 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.model\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Article, new Vendd.Article.Messages.ReviewSuccess(response, envelope.message.data));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Article, new Vendd.Article.Messages.ReviewFailure(response, envelope.message.data));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Article.Messages.ReviewVote, Vendd.Article, function (envelope) {\n var options = {\n url: 'ArticleService.svc/ArticleReviewHelpfullnessVote',\n data:\n {\n info: envelope.message.data.helpfullness\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Article, new Vendd.Article.Messages.ReviewVoteSuccess(response, envelope.message.data.helpfullness.IsPositiveVote));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Article, new Vendd.Article.Messages.ReviewVoteFailure(response, envelope.message.data.helpfullness.IsPositiveVote));\n };\n\n Vendd.Service.call(options);\n });\n\n Vendd.Article.CreateArticleReviewInfo = function (articleId) {\n\n var articleReviewInfo = {\n ReviewArticleId: articleId,\n ReviewTitle: '',\n ReviewDescription: '',\n ReviewRating: ''\n };\n\n var observable = new Vendd.Observable(articleReviewInfo);\n return observable;\n };\n\n Vendd.Article.CreateArticleReviewInfoValidationModel = function (observable) {\n\n var defaultValidationModel = ({\n ReviewTitle: [{ rule: \"required\" }],\n ReviewDescription: [{ rule: \"required\" }]\n });\n\n var valEngine = Vendd.DataValidation.BuildValidationModel(defaultValidationModel);\n\n var propertyChanging = function propertyChanging(data, propertyName, value) {\n\n var valOptions = {\n ValidationEngine: valEngine,\n PropertyName: propertyName,\n PropertyValue: value\n };\n Vendd.DataValidation.Validate(valOptions);\n };\n\n observable.AddListenerToPropertyChanging('ReviewTitle', propertyChanging);\n observable.AddListenerToPropertyChanging('ReviewDescription', propertyChanging);\n return valEngine;\n };\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.ElasticSearch.Messages.GetElasticSuggestions, Vendd.ElasticSearch, function (envelope) {\n\n var options = {\n url: \"../engine/essuggest\",\n data: {\n query: envelope.message.data.query,\n fuzziness: envelope.message.data.fuzziness,\n resultType: envelope.message.data.resultType,\n since: envelope.message.data.since,\n size: envelope.message.data.size\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\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: \"../engine/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\t\t\turl: \"../engine/esqueryindex\",\n\t\t\tdata: {\n\t\t\t\ttype: \"categories\",\n\t\t\t\tquery: envelope.message.data.searchTerm,\n\t\t\t\tpagefrom: envelope.message.data.pageFrom,\n\t\t\t\tpagesize: envelope.message.data.pageSize,\n\t\t\t\tpath: \"?hidefromsearch=1\"\n\t\t\t},\n onSuccess: onSuccess,\n onFailure: onFailure\n\t\t};\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.ElasticSearch, new Vendd.ElasticSearch.Messages.GetCategoryElasticResultsSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.ElasticSearch, new Vendd.ElasticSearch.Messages.GetCategoryElasticResultsFailed(response));\n }\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.ElasticSearch.Messages.GetProductElasticResults, Vendd.ElasticSearch, function (envelope) {\n\n var options = {\n url: envelope.message.data.query ? \"../engine/esqueryindex\" + envelope.message.data.query : \"../engine/esqueryindex\",\n\t\t\tdata: {\n\t\t\t\ttype: \"products\",\n\t\t\t\tquery: envelope.message.data.searchTerm,\n\t\t\t\tpagefrom: envelope.message.data.pageFrom,\n\t\t\t\tpagesize: envelope.message.data.pageSize,\n\t\t\t\tpath: envelope.message.data.path ? envelope.message.data.path : \"?hidefromsearch=1\"\n\t\t\t},\n\t\t\tonSuccess: onSuccess,\n\t\t\tonFailure: onFailure\n\t\t};\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.ElasticSearch, new Vendd.ElasticSearch.Messages.GetProductElasticResultsSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.ElasticSearch, new Vendd.ElasticSearch.Messages.GetProductElasticResultsFailed(response));\n }\n\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.ElasticSearch.Messages.GetArticleElasticResults, Vendd.ElasticSearch, function (envelope) {\n\n var options = {\n url: \"../engine/esqueryindex\",\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: \"?hidefromsearch=1\"\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: envelope.message.data.query ? \"../engine/esqueryindex\" + envelope.message.data.query : \"../engine/esqueryindex\",\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 : \"?hidefromsearch=1\"\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Search, new Vendd.Search.Messages.GetProductSuggestiveResultsElasticSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Search, new Vendd.Search.Messages.GetProductSuggestiveResultsElasticFailed(response));\n }\n\n Vendd.Service.call(options);\n });\n return Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n var state = {\n ItemId: LhApp.Context.Item.Id\n };\n\n var getStoresForm = function (data) {\n var request = {};\n\n request = _.extend(state, data);\n\n var options = {\n url: 'StoresService.svc/GetStoresForm',\n data: request,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess (response) {\n var model = response;\n state = _.extend(state, data);\n\n Vendd.MessageBus.publishAsync(Vendd.Store, new Vendd.Store.Messages.UpdateForm(model));\n };\n\n function onFailure (response) {\n console.log(response);\n };\n\n Vendd.Service.call(options);\n };\n\n var calculateDistances = function (data, sender) {\n var sourcePoint = data.source.trim();\n data.DistanceMeasured = false;\n data.TotalFindInRange = 0;\n \ttry { \n \t\tif (sourcePoint.length === 5 && parseInt(sourcePoint) > 9999) {\n \t\t\tsourcePoint = \"greece+\" + sourcePoint;\n \t\t} else if (sourcePoint.length === 0) {\n \t\t\tsourcePoint = \"athens\";\n \t\t}\n\n \t\tvar origin = sourcePoint;\n var destinations = [];\n var index = 0;\n for (var group = 0; group < data.array.length; group++) {\n for (var i = 0; i < data.array[group].Items.length; i++ , index++) {\n var elem = data.array[group].Items[i];\n destinations[index] = new google.maps.LatLng(parseFloat(elem.Latitude.trim()), parseFloat(elem.Longitude.trim()));\n }\n }\n\n \t\tvar service = new google.maps.DistanceMatrixService();\n \t\tservice.getDistanceMatrix(\n\t\t\t {\n\t\t\t \torigins: [origin],\n\t\t\t \tdestinations: destinations,\n\t\t\t \ttravelMode: 'DRIVING',\n\t\t\t \tunitSystem: google.maps.UnitSystem.METRIC\n\t\t\t }, onSuccess);\n \t} catch (ex) {\n Vendd.MessageBus.publishAsync(Vendd.Store, new Vendd.Store.Messages.CalculateDistancesSuccess(data, sender));\n \t\tconsole.log(ex);\n \t}\n \tfunction onSuccess(response, status) {\n if (data) {\n try {\n var index = 0;\n var withinRange = 0;\n for (var group = 0; group < data.array.length; group++) {\n for (var i = 0; i < data.array[group].Items.length; i++ , index++) {\n var distance;\n var distanceString = \"\";\n var duration;\n var durationString = \"\";\n var warehouse = data.array[group].Items[i];\n var elem = response.rows[0].elements[index];\n if (elem.status === \"OK\") {\n distance = elem.distance.value;\n distanceString = elem.distance.text;\n duration = elem.duration.value;\n durationString = elem.duration.text;\n } else {\n distance = Number.MAX_SAFE_INTEGER;\n }\n if (distance && distance <= data.maxDistance) {\n withinRange++;\n warehouse.IsWithinRange = true;\n //isWithinRange = true;\n } else {\n warehouse.IsWithinRange = false;\n //isWithinRange = false;\n }\n warehouse.Distance = distance;\n warehouse.DistanceString = distanceString;\n warehouse.Duration = duration;\n warehouse.DurationString = durationString;\n }\n }\n data.DistanceMeasured = true;\n data.TotalFindInRange = withinRange;\n } catch (ex) {\n data.DistanceMeasured = false;\n }\n }\n Vendd.MessageBus.publishAsync(Vendd.Store, new Vendd.Store.Messages.CalculateDistancesSuccess(data, sender));\n \t};\n\n };\n\n Vendd.Store.Controller = (function () {\n var initialized = false;\n\n return {\n initState: function (initialState) {\n if (initialized === true) {\n\n return state;\n } else {\n\n state = _.extend(state, initialState);\n\n initialized = true;\n\n return state;\n }\n },\n getState: function () {\n return state;\n }\n };\n })();\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.resetFilters, Vendd.Store, function () {\n var data = {\n CountryCode: \"\",\n Continent: \"\", \n City: \"\",\n Area: \"\",\n TypeId: 0,\n SearchTerm: \"\", \n PostCode: \"\"\n };\n\n getStoresForm(data);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.resetLocationFilters, Vendd.Store, function () {\n var data = {\n CountryCode: \"\",\n Continent: \"\", \n City: \"\",\n Area: \"\"\n };\n\n getStoresForm(data);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.SetContinent, Vendd.Store, function (envelope) {\n var data = { \n CountryCode: \"\",\n Continent: envelope.message.data.continent,\n City: \"\",\n Area: \"\",\n TypeId: 0\n };\n\n getStoresForm(data);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.SetCountry, Vendd.Store, function (envelope) {\n var data = {\n CountryCode: envelope.message.data.country,\n City: \"\",\n Area: \"\",\n TypeId: 0\n };\n\n getStoresForm(data);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.SetCity, Vendd.Store, function (envelope) {\n var data = {\n City: envelope.message.data.city,\n Area: \"\",\n TypeId: 0\n };\n\n getStoresForm(data);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.SetArea, Vendd.Store, function (envelope) {\n var data = {\n Area: envelope.message.data.area,\n TypeId: 0\n };\n\n getStoresForm(data);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.SetType, Vendd.Store, function (envelope) {\n var data = {\n TypeId: envelope.message.data.type\n };\n\n getStoresForm(data);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.CalculateDistances, Vendd.Store, function (envelope) {\n calculateDistances(envelope.message.data, envelope.sender);\n });\n \n Vendd.MessageBus.subscribe(Vendd.Store.Messages.GetCountries, Vendd.Store, function (envelope) {\n var options = {\n url: 'api/StoreLocator/GetCountries',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n\t\t\tVendd.MessageBus.publishAsync(Vendd.Store, new Vendd.Store.Messages.GetCountriesSuccess(response.data));\n\t\t}\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Store, new Vendd.Store.Messages.GetCountriesFailure(response.data));\n\t\t}\n\n\t\tVendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.SearchResults, Vendd.Store, function (envelope) {\n var options = {\n url: 'api/StoreLocator/SearchPOI',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Store, new Vendd.Store.Messages.SearchResultsSuccess(response.data));\n\t\t}\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Store, new Vendd.Store.Messages.SearchResultsFailure(response.data));\n\t\t}\n\n\t\tVendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Store.Messages.QueryPartners, Vendd.Store, function (envelope) {\n var options = {\n url: 'api/StoreLocator/QueryPartners',\n data: envelope.message.data.model,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Store, new Vendd.Store.Messages.QueryPartnersSuccess(response.data));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Store, new Vendd.Store.Messages.QueryPartnersFailure(response.data));\n }\n\n Vendd.Service.call(options);\n });\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.Landing.Messages.Submit, Vendd.Landing, function (envelope) {\n var options = {\n\t\t url: 'CommonService.svc/LandingSubmit',\n\t\t data: envelope.message.data,\n\t\t onSuccess: onSuccess,\n\t\t onFailure: onFailure\n\t\t };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Landing, new Vendd.Landing.Messages.SubmitSuccess(response));\n\t\t\t};\n\n\t\t\tfunction onFailure(response) {\n\t\t\t Vendd.MessageBus.publishAsync(Vendd.Landing, new Vendd.Landing.Messages.SubmitFailure(response));\n\t\t\t};\n\n\t\t\tVendd.Service.call(options);\n \t});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.Contact.Messages.Submit, Vendd.Contact, function (envelope) {\n var options = {\n url: 'CommonService.svc/ContactSubmit',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Contact, new Vendd.Contact.Messages.SubmitSuccess(response));\n }\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Contact, new Vendd.Contact.Messages.SubmitFailure(response));\n }\n\n Vendd.Service.call(options);\n });\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Newsletter = (function (Newsletter) {\n\n Newsletter.Messages = (function (Messages) {\n\n Messages.Subscribe = function (email, subscriptionType, apiKey, mailparams, mailLists, gender) {\n\n var data = {\n email: email,\n subscriptionType: subscriptionType,\n apiKey: apiKey,\n mailparams: mailparams || {},\n mailLists: mailLists,\n gender: gender\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Newsletter.Messages.Subscribe\", data);\n };\n Messages.Subscribe.className = \"Vendd.Newsletter.Messages.Subscribe\";\n\n Messages.SubscribeSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Newsletter.Messages.SubscribeSuccess\", response);\n };\n Messages.SubscribeSuccess.className = \"Vendd.Newsletter.Messages.SubscribeSuccess\";\n\n Messages.SubscribeFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Newsletter.Messages.SubscribeFailure\", response);\n };\n Messages.SubscribeFailure.className = \"Vendd.Newsletter.Messages.SubscribeFailure\";\n\n Messages.UpdateNewLetterVariables = function (source, apikey) {\n\n var data = { source: source, apikey: apikey };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Newsletter.Messages.UpdateNewLetterVariables\", data);\n }\n Messages.UpdateNewLetterVariables.className = \"Vendd.Newsletter.Messages.UpdateNewLetterVariables\";\n\n\n Messages.Unsubscribe = function (apiKey) {\n\n var data = {\n apiKey: apiKey\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Newsletter.Messages.Unsubscribe\", data);\n };\n Messages.Unsubscribe.className = \"Vendd.Newsletter.Messages.Unsubscribe\";\n\n Messages.UnsubscribeSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Newsletter.Messages.UnsubscribeSuccess\", response);\n };\n Messages.UnsubscribeSuccess.className = \"Vendd.Newsletter.Messages.UnsubscribeSuccess\";\n\n Messages.UnsubscribeFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Newsletter.Messages.UnsubscribeFailure\", response);\n };\n Messages.UnsubscribeFailure.className = \"Vendd.Newsletter.Messages.UnsubscribeFailure\";\n\n return Messages;\n\n })(Newsletter.Messages || {});\n\n Vendd.MessageBus.subscribe(Newsletter.Messages.Subscribe, Newsletter, function (envelope) {\n\n var $email = envelope.message.data.email;\n\n var serviceOpts = {\n url: 'NewsLetterService.svc/Subscribe',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Newsletter, new Vendd.Newsletter.Messages.SubscribeSuccess($.extend({},response, { 'email' : $email })));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Newsletter, new Vendd.Newsletter.Messages.SubscribeFailure(response));\n };\n\n Vendd.Service.call(serviceOpts);\n });\n\n Vendd.MessageBus.subscribe(Newsletter.Messages.UpdateNewLetterVariables, Newsletter, function (envelope) {\n function onSuccess(response) {\n\n }\n function onFailure(response) {\n\n }\n var options = {\n url: 'NewsLetterService.svc/UpdateNewsLetterVariables',\n data: {\n source: envelope.message.data.source,\n apiKey: envelope.message.data.apikey\n },\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n var clientModel = Vendd.User && Vendd.User.GetClientModel();\n if (clientModel && clientModel.IsAuthenticated)\n Vendd.Service.call(options);\n });\n\n Vendd.MessageBus.subscribe(Newsletter.Messages.Unsubscribe, Newsletter, function (envelope) {\n\n var serviceOpts = {\n url: 'NewsLetterService.svc/Unsubscribe',\n data: envelope.message.data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n function onSuccess(response) {\n Vendd.MessageBus.publishAsync(Vendd.Newsletter, new Vendd.Newsletter.Messages.UnsubscribeSuccess(response));\n };\n\n function onFailure(response) {\n Vendd.MessageBus.publishAsync(Vendd.Newsletter, new Vendd.Newsletter.Messages.UnsubscribeFailure(response));\n };\n\n Vendd.Service.call(serviceOpts);\n });\n\n return Newsletter;\n\n })(Vendd.Newsletter || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.User = (function (User) {\n\n var pending = false;\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionState, Vendd.User, function (envelope) {\n if (pending === true) {\n return false; //get session cannot run twice\n };\n\n function onSuccess(response) {\n Vendd.User.SessionState = response;\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetSessionStateSuccess(Vendd.User.SessionState));\n };\n\n function onFailure(response) {\n Vendd.User.SessionState = { IsNewSession: true };\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetSessionStateSuccess(Vendd.User.SessionState));\n };\n\n var options = {\n method: 'POST',\n url: 'api/Tools/GetSessionStatus',\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n pending = true;\n\n Vendd.Service.call(options);\n\n return true;\n });\n\n return User;\n\n })(Vendd.User || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t'use strict';\n\n\tVendd.WarehouseSelector = (function (WarehouseSelector) {\n\n\t\tWarehouseSelector.Messages = (function (Messages) {\n\n\t\t\tMessages.GetModel = function () {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetModel', {});\n\t\t\t};\n\t\t\tMessages.GetModel.className = 'Vendd.WarehouseSelector.Messages.GetModel';\n\n\t\t\tMessages.GetModelSuccess = function (response) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetModelSuccess', response);\n\t\t\t};\n\t\t\tMessages.GetModelSuccess.className = 'Vendd.WarehouseSelector.Messages.GetModelSuccess';\n\n\t\t\tMessages.GetModelFailed = function (response) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetModelFailed', response);\n\t\t\t};\n\t\t\tMessages.GetModelFailed.className = 'Vendd.WarehouseSelector.Messages.GetModelFailed';\n\n\n\t\t\tMessages.GetPopupModel = function () {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetPopupModel', {});\n\t\t\t};\n\t\t\tMessages.GetPopupModel.className = 'Vendd.WarehouseSelector.Messages.GetPopupModel';\n\n\t\t\tMessages.GetPopupModelSuccess = function (response) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetPopupModelSuccess', response);\n\t\t\t};\n\t\t\tMessages.GetPopupModelSuccess.className = 'Vendd.WarehouseSelector.Messages.GetPopupModelSuccess';\n\n\t\t\tMessages.GetPopupModelFailed = function (response) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetPopupModelFailed', response);\n\t\t\t};\n\t\t\tMessages.GetPopupModelFailed.className = 'Vendd.WarehouseSelector.Messages.GetPopupModelFailed';\n\n\n\t\t\tMessages.OpenPopup = function () {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.OpenPopup', {});\n\t\t\t};\n\t\t\tMessages.OpenPopup.className = 'Vendd.WarehouseSelector.Messages.OpenPopup';\n\n\n\t\t\tMessages.ClosePopup = function () {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.ClosePopup', {});\n\t\t\t};\n\t\t\tMessages.ClosePopup.className = 'Vendd.WarehouseSelector.Messages.ClosePopup';\n\n\n\t\t\tMessages.StateChanged = function (state) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.StateChanged', {\n\t\t\t\t\tstate: state\n\t\t\t\t});\n\t\t\t};\n\t\t\tMessages.StateChanged.className = 'Vendd.WarehouseSelector.Messages.StateChanged';\n\n\n\t\t\tMessages.GetGeoAreas = function (postCode) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetGeoAreas', {\n\t\t\t\t\tPostalCode: postCode\n\t\t\t\t});\n\t\t\t};\n\t\t\tMessages.GetGeoAreas.className = 'Vendd.WarehouseSelector.Messages.GetGeoAreas';\n\n\t\t\tMessages.GetGeoAreasSuccess = function (response) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetGeoAreasSuccess', response);\n\t\t\t};\n\t\t\tMessages.GetGeoAreasSuccess.className = 'Vendd.WarehouseSelector.Messages.GetGeoAreasSuccess';\n\n\t\t\tMessages.GetGeoAreasFailed = function (response) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetGeoAreasFailed', response);\n\t\t\t};\n\t\t\tMessages.GetGeoAreasFailed.className = 'Vendd.WarehouseSelector.Messages.GetGeoAreasFailed';\n\n\n\t\t\tMessages.GetStoresByPostCode = function (postCode) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetStoresByPostCode', {\n\t\t\t\t\tPostalCode: postCode\n\t\t\t\t});\n\t\t\t};\n\t\t\tMessages.GetStoresByPostCode.className = 'Vendd.WarehouseSelector.Messages.GetStoresByPostCode';\n\n\t\t\tMessages.GetStoresByGeoArea = function (postCode, geoAreaId) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetStoresByGeoArea', {\n\t\t\t\t\tPostalCode: postCode,\n\t\t\t\t\tGeoAreaId: geoAreaId\n\t\t\t\t});\n\t\t\t};\n\t\t\tMessages.GetStoresByGeoArea.className = 'Vendd.WarehouseSelector.Messages.GetStoresByGeoArea';\n\n\t\t\tMessages.GetStoresByLocation = function (location) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetStoresByLocation', {\n\t\t\t\t\tLocation: location\n\t\t\t\t});\n\t\t\t};\n\t\t\tMessages.GetStoresByLocation.className = 'Vendd.WarehouseSelector.Messages.GetStoresByLocation';\n\n\t\t\tMessages.GetStoresSuccess = function (response) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetStoresSuccess', response);\n\t\t\t};\n\t\t\tMessages.GetStoresSuccess.className = 'Vendd.WarehouseSelector.Messages.GetStoresSuccess';\n\n\t\t\tMessages.GetStoresFailed = function (response) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.GetStoresFailed', response);\n\t\t\t};\n\t\t\tMessages.GetStoresFailed.className = 'Vendd.WarehouseSelector.Messages.GetStoresFailed';\n\n\n\t\t\tMessages.SetDeliveryShippingMethod = function () {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.SetDeliveryShippingMethod', {});\n\t\t\t};\n\t\t\tMessages.SetDeliveryShippingMethod.className = 'Vendd.WarehouseSelector.Messages.SetDeliveryShippingMethod';\n\n\n\t\t\tMessages.SetFromStoreShippingMethod = function (storeId) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.SetFromStoreShippingMethod', {\n\t\t\t\t\tPreferredStoreId: storeId\n\t\t\t\t});\n\t\t\t};\n\t\t\tMessages.SetFromStoreShippingMethod.className = 'Vendd.WarehouseSelector.Messages.SetFromStoreShippingMethod';\n\n\t\t\tMessages.SetShippingMethodSuccess = function (response) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.SetShippingMethodSuccess', response);\n\t\t\t};\n\t\t\tMessages.SetShippingMethodSuccess.className = 'Vendd.WarehouseSelector.Messages.SetShippingMethodSuccess';\n\n\t\t\tMessages.SetShippingMethodFailed = function (response) {\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, 'Vendd.WarehouseSelector.Messages.SetShippingMethodFailed', response);\n\t\t\t};\n\t\t\tMessages.SetShippingMethodFailed.className = 'Vendd.WarehouseSelector.Messages.SetShippingMethodFailed';\n\n\t\t\treturn Messages;\n\n\t\t})(WarehouseSelector.Messages || {});\n\n\t\treturn WarehouseSelector;\n\n\t})(Vendd.WarehouseSelector || {});\n\n\treturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.LoginOrder = (function (LoginOrder) {\n\n LoginOrder.Messages = (function (Messages) {\n\n Messages.ValidateLoginOrder = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.LoginOrder.Messages.ValidateLoginOrder\", data);\n };\n Messages.ValidateLoginOrder.className = \"Vendd.LoginOrder.Messages.ValidateLoginOrder\";\n\n\n Messages.ValidateLoginOrderSuccess = function (orderid) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.LoginOrder.Messages.ValidateLoginOrderSuccess\", orderid);\n };\n Messages.ValidateLoginOrderSuccess.className = \"Vendd.LoginOrder.Messages.ValidateLoginOrderSuccess\";\n\n\n Messages.ValidateLoginOrderFailure = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.LoginOrder.Messages.ValidateLoginOrderFailure\", data);\n };\n Messages.ValidateLoginOrderFailure.className = \"Vendd.LoginOrder.Messages.ValidateLoginOrderFailure\";\n\n Messages.ValidateLoginOrderError = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.LoginOrder.Messages.ValidateLoginOrderError\", data);\n };\n Messages.ValidateLoginOrderError.className = \"Vendd.LoginOrder.Messages.ValidateLoginOrderError\";\n\n return Messages;\n\n })(LoginOrder.Messages || {});\n\n return LoginOrder;\n\n })(Vendd.LoginOrder || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.MyConfigurations = (function (MyConfigurations) {\n\n MyConfigurations.Messages = (function (Messages) {\n\n Messages.GetModel = function () {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.MyConfigurations.Messages.GetModel', null);\n };\n Messages.GetModel.className = 'Vendd.MyConfigurations.Messages.GetModel';\n\n Messages.GetModelFailed = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.MyConfigurations.Messages.GetModelFailed', response);\n };\n Messages.GetModelFailed.className = 'Vendd.MyConfigurations.Messages.GetModelFailed';\n\n Messages.GetModelSuccess = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.MyConfigurations.Messages.GetModelSuccess', response);\n };\n Messages.GetModelSuccess.className = 'Vendd.MyConfigurations.Messages.GetModelSuccess';\n\n\n\n Messages.Remove = function (Id) {\n var data = {\n Id: Id\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.MyConfigurations.Messages.Remove', data);\n };\n Messages.Remove.className = 'Vendd.MyConfigurations.Messages.Remove';\n\n Messages.RemoveSuccess = function (Id) {\n var data = {\n Id: Id\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.MyConfigurations.Messages.RemoveSuccess', Id);\n };\n Messages.RemoveSuccess.className = 'Vendd.MyConfigurations.Messages.RemoveSuccess';\n\n Messages.RemoveFailed = function (model) {\n var data = {\n Id: Id\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.MyConfigurations.Messages.RemoveFailed', data);\n };\n Messages.RemoveFailed.className = 'Vendd.MyConfigurations.Messages.RemoveFailed';\n\n\n\n Messages.ConfirmInventory = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.MyConfigurations.Messages.ConfirmInventory');\n };\n Messages.ConfirmInventory.className = 'Vendd.MyConfigurations.Messages.ConfirmInventory';\n\n Messages.ConfirmInventorySuccess = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.MyConfigurations.Messages.ConfirmInventorySuccess');\n };\n Messages.ConfirmInventorySuccess.className = 'Vendd.MyConfigurations.Messages.ConfirmInventorySuccess';\n\n Messages.ConfirmInventoryFailed = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.MyConfigurations.Messages.ConfirmInventoryFailed');\n };\n Messages.ConfirmInventoryFailed.className = 'Vendd.MyConfigurations.Messages.ConfirmInventoryFailed';\n\n return Messages;\n\n })(MyConfigurations.Messages || {});\n\n return MyConfigurations;\n\n })(Vendd.MyConfigurations || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.SalesRegistrationSystem = (function (SalesRegistrationSystem) {\n\n SalesRegistrationSystem.Messages = (function (Messages) {\n\n Messages.GetModel = function () {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.SalesRegistrationSystem.Messages.GetModel', null);\n };\n Messages.GetModel.className = 'Vendd.SalesRegistrationSystem.Messages.GetModel';\n\n Messages.GetModelFailed = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.SalesRegistrationSystem.Messages.GetModelFailed', response);\n };\n Messages.GetModelFailed.className = 'Vendd.SalesRegistrationSystem.Messages.GetModelFailed';\n\n Messages.GetModelSuccess = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.SalesRegistrationSystem.Messages.GetModelSuccess', response);\n };\n Messages.GetModelSuccess.className = 'Vendd.SalesRegistrationSystem.Messages.GetModelSuccess';\n\n return Messages;\n\n })(SalesRegistrationSystem.Messages || {});\n\n return SalesRegistrationSystem;\n\n })(Vendd.SalesRegistrationSystem || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.StockTrackerSystem = (function (StockTrackerSystem) {\n\n StockTrackerSystem.Messages = (function (Messages) {\n\n Messages.GetModel = function () {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.GetModel', null);\n };\n Messages.GetModel.className = 'Vendd.StockTrackerSystem.Messages.GetModel';\n\n Messages.GetModelFailed = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.GetModelFailed', response);\n };\n Messages.GetModelFailed.className = 'Vendd.StockTrackerSystem.Messages.GetModelFailed';\n\n Messages.GetModelSuccess = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.GetModelSuccess', response);\n };\n Messages.GetModelSuccess.className = 'Vendd.StockTrackerSystem.Messages.GetModelSuccess';\n\n\n\n Messages.Remove = function (VinNumber) {\n var data = {\n VinNumber: VinNumber\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.Remove', data);\n };\n Messages.Remove.className = 'Vendd.StockTrackerSystem.Messages.Remove';\n\n Messages.RemoveSuccess = function (VinNumber) {\n var data = {\n VinNumber: VinNumber\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.RemoveSuccess', VinNumber);\n };\n Messages.RemoveSuccess.className = 'Vendd.StockTrackerSystem.Messages.RemoveSuccess';\n\n Messages.RemoveFailed = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.RemoveFailed', data);\n };\n Messages.RemoveFailed.className = 'Vendd.StockTrackerSystem.Messages.RemoveFailed';\n\n\n\n Messages.ConfirmInventory = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.ConfirmInventory');\n };\n Messages.ConfirmInventory.className = 'Vendd.StockTrackerSystem.Messages.ConfirmInventory';\n\n Messages.ConfirmInventorySuccess = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.ConfirmInventorySuccess');\n };\n Messages.ConfirmInventorySuccess.className = 'Vendd.StockTrackerSystem.Messages.ConfirmInventorySuccess';\n\n Messages.ConfirmInventoryFailed = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.ConfirmInventoryFailed');\n };\n Messages.ConfirmInventoryFailed.className = 'Vendd.StockTrackerSystem.Messages.ConfirmInventoryFailed';\n\n Messages.UndoConfirmInventory = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.UndoConfirmInventory');\n };\n Messages.UndoConfirmInventory.className = 'Vendd.StockTrackerSystem.Messages.UndoConfirmInventory';\n\n Messages.UndoConfirmInventorySuccess = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.UndoConfirmInventorySuccess');\n };\n Messages.UndoConfirmInventorySuccess.className = 'Vendd.StockTrackerSystem.Messages.UndoConfirmInventorySuccess';\n\n Messages.UndoConfirmInventoryFailed = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.UndoConfirmInventoryFailed');\n };\n Messages.UndoConfirmInventoryFailed.className = 'Vendd.StockTrackerSystem.Messages.UndoConfirmInventoryFailed';\n\n\n\n Messages.GetSubPartners = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.GetSubPartners', null);\n };\n Messages.GetSubPartners.className = 'Vendd.StockTrackerSystem.Messages.GetSubPartners';\n\n Messages.GetSubPartnersSuccess = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.GetSubPartnersSuccess', data);\n };\n Messages.GetSubPartnersSuccess.className = 'Vendd.StockTrackerSystem.Messages.GetSubPartnersSuccess';\n\n Messages.GetSubPartnersFailed = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.GetSubPartnersFailed', data);\n };\n Messages.GetSubPartnersFailed.className = 'Vendd.StockTrackerSystem.Messages.GetSubPartnersFailed';\n\n\n\n Messages.ChangePartner = function (vinNumber, partnerItemId) {\n var data = {\n ProductIdentifier: vinNumber,\n PartnerItemId: partnerItemId\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.ChangePartner', data);\n };\n Messages.ChangePartner.className = 'Vendd.StockTrackerSystem.Messages.ChangePartner';\n\n Messages.ChangePartnerSuccess = function (VinNumber) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.ChangePartnerSuccess', VinNumber);\n };\n Messages.ChangePartnerSuccess.className = 'Vendd.StockTrackerSystem.Messages.ChangePartnerSuccess';\n\n Messages.ChangePartnerFailed = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.StockTrackerSystem.Messages.ChangePartnerFailed', data);\n };\n Messages.ChangePartnerFailed.className = 'Vendd.StockTrackerSystem.Messages.ChangePartnerFailed';\n\n \n return Messages;\n\n })(StockTrackerSystem.Messages || {});\n\n return StockTrackerSystem;\n\n })(Vendd.StockTrackerSystem || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.InvoiceAccess = (function (InvoiceAccess) {\n\n InvoiceAccess.Messages = (function (Messages) {\n\n Messages.Submit = function (orderCode, orderPhone) {\n var data = {\n orderCode: orderCode,\n orderPhone: orderPhone\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.InvoiceAccess.Messages.Submit', data);\n };\n Messages.Submit.className = 'Vendd.InvoiceAccess.Messages.Submit';\n\n Messages.SubmitSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.InvoiceAccess.Messages.SubmitSuccess', response);\n };\n Messages.SubmitSuccess.className = 'Vendd.InvoiceAccess.Messages.SubmitSuccess';\n\n Messages.SubmitFailure = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.InvoiceAccess.Messages.SubmitFailure', response);\n };\n Messages.SubmitFailure.className = 'Vendd.InvoiceAccess.Messages.SubmitFailure';\n\n return Messages;\n\n })(InvoiceAccess.Messages || {});\n\n return InvoiceAccess;\n\n })(Vendd.InvoiceAccess || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.RequestOffer = (function (RequestOffer) {\n\n RequestOffer.Messages = (function (Messages) {\n\n Messages.SearchForProducts = function (searchTerm) {\n var data = {\n searchTerm: searchTerm\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.SearchForProducts\", data);\n };\n Messages.SearchForProducts.className = \"Vendd.RequestOffer.Messages.SearchForProducts\";\n\n Messages.SearchForProductsSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.SearchForProductsSuccess\", data);\n };\n Messages.SearchForProductsSuccess.className = \"Vendd.RequestOffer.Messages.SearchForProductsSuccess\";\n\n Messages.SearchForProductsFailed = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.SearchForProductsFailed\", response);\n };\n Messages.SearchForProductsFailed.className = \"Vendd.RequestOffer.Messages.SearchForProductsFailed\";\n \t\t\n Messages.AddOfferProducts = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.AddOfferProducts\", data);\n };\n Messages.AddOfferProducts.className = \"Vendd.RequestOffer.Messages.AddOfferProducts\";\n\n Messages.AddOfferProductsSuccess = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.AddOfferProductsSuccess\", data);\n };\n Messages.AddOfferProductsSuccess.className = \"Vendd.RequestOffer.Messages.AddOfferProductsSuccess\";\n\n Messages.AddOfferProductsFailure = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.AddOfferProductsFailure\", data);\n };\n Messages.AddOfferProductsFailure.className = \"Vendd.RequestOffer.Messages.AddOfferProductsFailure\";\n\n Messages.GetPendingRequestsOffer = function (offerid, pageSize, pageNum) {\n var data = {\n offerid: offerid,\n pageSize: pageSize,\n pageNum: pageNum\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.GetPendingRequestsOffer\", data);\n };\n Messages.GetPendingRequestsOffer.className = \"Vendd.RequestOffer.Messages.GetPendingRequestsOffer\";\n\n Messages.GetPendingRequestsOfferSuccess = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.GetPendingRequestsOfferSuccess\", data);\n };\n Messages.GetPendingRequestsOfferSuccess.className = \"Vendd.RequestOffer.Messages.GetPendingRequestsOfferSuccess\";\n\n Messages.GetPendingRequestsOfferFailure = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.GetPendingRequestsOfferFailure\", data);\n };\n Messages.GetPendingRequestsOfferFailure.className = \"Vendd.RequestOffer.Messages.GetPendingRequestsOfferFailure\";\n\n Messages.UpdateRequestOfferProducts = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.UpdateRequestOfferProducts\", data);\n };\n Messages.UpdateRequestOfferProducts.className = \"Vendd.RequestOffer.Messages.UpdateRequestOfferProducts\";\n\n Messages.UpdateRequestOfferProductsSuccess = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.UpdateRequestOfferProductsSuccess\", data);\n };\n Messages.UpdateRequestOfferProductsSuccess.className = \"Vendd.RequestOffer.Messages.UpdateRequestOfferProductsSuccess\";\n\n Messages.UpdateRequestOfferProductsFailure = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.UpdateRequestOfferProductsFailure\", data);\n };\n Messages.UpdateRequestOfferProductsFailure.className = \"Vendd.RequestOffer.Messages.UpdateRequestOfferProductsFailure\";\n\n Messages.DeleteRequestOffer = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.DeleteRequestOffer\", data);\n };\n Messages.DeleteRequestOffer.className = \"Vendd.RequestOffer.Messages.DeleteRequestOffer\";\n\n Messages.DeleteRequestOfferSuccess = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.DeleteRequestOfferSuccess\", data);\n };\n Messages.DeleteRequestOfferSuccess.className = \"Vendd.RequestOffer.Messages.DeleteRequestOfferSuccess\";\n\n Messages.DeleteRequestOfferFailure = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.DeleteRequestOfferFailure\", data);\n };\n Messages.DeleteRequestOfferFailure.className = \"Vendd.RequestOffer.Messages.DeleteRequestOfferFailure\";\n\n Messages.SubmitRequestOffer = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.SubmitRequestOffer\", data);\n };\n Messages.SubmitRequestOffer.className = \"Vendd.RequestOffer.Messages.SubmitRequestOffer\";\n\n Messages.SubmitRequestOfferSuccess = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.SubmitRequestOfferSuccess\", data);\n };\n Messages.SubmitRequestOfferSuccess.className = \"Vendd.RequestOffer.Messages.SubmitRequestOfferSuccess\";\n\n Messages.SubmitRequestOfferFailure = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.SubmitRequestOfferFailure\", data);\n };\n Messages.SubmitRequestOfferFailure.className = \"Vendd.RequestOffer.Messages.SubmitRequestOfferFailure\";\n\n Messages.ImportRequestOfferExcel = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.ImportRequestOfferExcel\", data);\n };\n Messages.ImportRequestOfferExcel.className = \"Vendd.RequestOffer.Messages.ImportRequestOfferExcel\";\n\n Messages.ImportRequestOfferExcelSuccess = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.ImportRequestOfferExcelSuccess\", data);\n };\n Messages.ImportRequestOfferExcelSuccess.className = \"Vendd.RequestOffer.Messages.ImportRequestOfferExcelSuccess\";\n\n Messages.ImportRequestOfferExcelFailure = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestOffer.Messages.ImportRequestOfferExcelFailure\", data);\n };\n Messages.ImportRequestOfferExcelFailure.className = \"Vendd.RequestOffer.Messages.ImportRequestOfferExcelFailure\";\n\n return Messages;\n\n })(RequestOffer.Messages || {});\n\n return RequestOffer;\n\n })(Vendd.RequestOffer || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.RequestReturn = (function (RequestReturn) {\n\n RequestReturn.Messages = (function (Messages) {\n\n\n Messages.GetReturnRequest = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.GetReturnRequest\", data);\n };\n Messages.GetReturnRequest.className = \"Vendd.RequestReturn.Messages.GetReturnRequest\";\n\n\n Messages.GetReturnRequestSuccess = function (orderid) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.GetReturnRequestSuccess\", orderid);\n };\n Messages.GetReturnRequestSuccess.className = \"Vendd.RequestReturn.Messages.GetReturnRequestSuccess\";\n\n\n Messages.GetReturnRequestFailure = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.GetReturnRequestFailure\", data);\n };\n Messages.GetReturnRequestFailure.className = \"Vendd.RequestReturn.Messages.GetReturnRequestFailure\";\n\n Messages.GetReturnRequestError = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.GetReturnRequestError\", data);\n };\n Messages.GetReturnRequestError.className = \"Vendd.RequestReturn.Messages.GetReturnRequestError\";\n\n\n Messages.SaveReturnItem = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.SaveReturnItem\", data);\n };\n Messages.SaveReturnItem.className = \"Vendd.RequestReturn.Messages.SaveReturnItem\";\n\n\n Messages.SaveReturnItemSuccess = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.SaveReturnItemSuccess\", data.data);\n };\n Messages.SaveReturnItemSuccess.className = \"Vendd.RequestReturn.Messages.SaveReturnItemSuccess\";\n\n Messages.SaveReturnItemFailure = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.SaveReturnItemFailure\", data);\n };\n Messages.SaveReturnItemFailure.className = \"Vendd.RequestReturn.Messages.SaveReturnItemFailure\";\n Messages.SaveReturnItemError = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.SaveReturnItemError\", data);\n };\n Messages.SaveReturnItemError.className = \"Vendd.RequestReturn.Messages.SaveReturnItemError\";\n\n\n\n Messages.DeleteReturnItem = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.DeleteReturnItem\", data);\n };\n Messages.DeleteReturnItem.className = \"Vendd.RequestReturn.Messages.DeleteReturnItem\";\n\n Messages.DeleteReturnItemSuccess = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.DeleteReturnItemSuccess\", data.data);\n };\n Messages.DeleteReturnItemSuccess.className = \"Vendd.RequestReturn.Messages.DeleteReturnItemSuccess\";\n\n Messages.DeleteReturnItemFailure = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.DeleteReturnItemFailure\", data);\n };\n Messages.DeleteReturnItemFailure.className = \"Vendd.RequestReturn.Messages.DeleteReturnItemFailure\";\n Messages.DeleteReturnItemError = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.DeleteReturnItemError\", data);\n };\n Messages.DeleteReturnItemError.className = \"Vendd.RequestReturn.Messages.DeleteReturnItemError\";\n\n Messages.SubmitOrderReturn = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.RequestReturn.Messages.SubmitOrderReturn', data);\n };\n Messages.SubmitOrderReturn.className = 'Vendd.RequestReturn.Messages.SubmitOrderReturn';\n\n\n Messages.SubmitOrderReturnSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.RequestReturn.Messages.SubmitOrderReturnSuccess', response);\n };\n Messages.SubmitOrderReturnSuccess.className = 'Vendd.RequestReturn.Messages.SubmitOrderReturnSuccess';\n\n\n Messages.SubmitOrderReturnsFailed = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.RequestReturn.Messages.SubmitOrderReturnsFailed', data);\n };\n Messages.SubmitOrderReturnsFailed.className = 'Vendd.RequestReturn.Messages.SubmitOrderReturnsFailed';\n\n Messages.SendReturnRequestNotification = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.RequestReturn.Messages.SendReturnRequestNotification', data);\n };\n Messages.SendReturnRequestNotification.className = 'Vendd.RequestReturn.Messages.SendReturnRequestNotification';\n\n Messages.CheckOrderSession = function () {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.RequestReturn.Messages.CheckOrderSession\", null);\n };\n Messages.CheckOrderSession.className = \"Vendd.RequestReturn.Messages.CheckOrderSession\";\n\n return Messages;\n\n })(RequestReturn.Messages || {});\n\n return RequestReturn;\n\n })(Vendd.RequestReturn || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.UserWishlist = (function (UserWishlist) {\n\n UserWishlist.Messages = (function (Messages) {\n\n\n Messages.GetModel = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserWishlist.Messages.GetModel');\n };\n Messages.GetModel.className = 'Vendd.UserWishlist.Messages.GetModel';\n\n Messages.GetModelSuccess = function (model) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserWishlist.Messages.GetModelSuccess', model);\n };\n Messages.GetModelSuccess.className = 'Vendd.UserWishlist.Messages.GetModelSuccess';\n\n Messages.GetModelFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserWishlist.Messages.GetModelFailed', response);\n };\n Messages.GetModelFailed.className = 'Vendd.UserWishlist.Messages.GetModelFailed';\n\n\n Messages.DeleteWishlist = function (model) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserWishlist.Messages.DeleteWishlist', model);\n };\n Messages.DeleteWishlist.className = 'Vendd.UserWishlist.Messages.DeleteWishlist';\n\n Messages.DeleteWishlistFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserWishlist.Messages.DeleteWishlistFailed', response);\n };\n Messages.DeleteWishlistFailed.className = 'Vendd.UserWishlist.Messages.DeleteWishlistFailed';\n\n Messages.SaveWishlist = function (model) {\n\n var data = {\n visitorList : {\n VisitorListId : model.VisitorListId ? model.VisitorListId : 0,\n VisitorListTypeId : 1, //1 for wishlist\n Code : \"wishlist\",\n Name : model.Name\n }\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserWishlist.Messages.SaveWishlist', data);\n };\n Messages.SaveWishlist.className = 'Vendd.UserWishlist.Messages.SaveWishlist';\n\n Messages.SaveWishlistSuccess = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserWishlist.Messages.SaveWishlistSuccess');\n };\n Messages.SaveWishlistSuccess.className = 'Vendd.UserWishlist.Messages.SaveWishlistSuccess';\n\n Messages.SaveWishlistFailed = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserWishlist.Messages.SaveWishlistFailed', response);\n };\n Messages.SaveWishlistFailed.className = 'Vendd.UserWishlist.Messages.SaveWishlistFailed';\n\n return Messages;\n\n })(UserWishlist.Messages || {});\n\n return UserWishlist;\n\n })(Vendd.UserWishlist || {});\n\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Tracking = (function (Tracking) {\n\n Tracking.Messages = (function (Messages) {\n\n Messages.ProductsUpdated = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Tracking.Messages.ProductsUpdated', data);\n };\n Messages.ProductsUpdated.className = 'Vendd.Tracking.Messages.ProductsUpdated';\n\n return Messages;\n\n })(Tracking.Messages || {});\n\n return Tracking;\n\n })(Vendd.Tracking || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Consents = (function (Consents) {\n\n Consents.Messages = (function (Messages) {\n \n Messages.InsertAllCookiesSuccess = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Consents.Messages.InsertAllCookiesSuccess');\n };\n Messages.InsertAllCookiesSuccess.className = 'Vendd.Consents.Messages.InsertAllCookiesSuccess';\n\n\n Messages.InsertConsents = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Consents.Messages.InsertConsents');\n };\n Messages.InsertConsents.className = 'Vendd.Consents.Messages.InsertConsents';\n \n return Messages;\n\n })(Consents.Messages || {});\n\n return Consents;\n\n })(Vendd.Consents || {});\n\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Loyalty = (function (Loyalty) {\n\n Loyalty.Messages = (function (Messages) {\n\n Messages.CheckByMobile = function (mobile) {\n var data = {\n mobile: mobile\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.CheckByMobile', data);\n };\n Messages.CheckByMobile.className = 'Vendd.Loyalty.Messages.CheckByMobile';\n\n Messages.CheckByMobileSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.CheckByMobileSuccess', response);\n };\n Messages.CheckByMobileSuccess.className = 'Vendd.Loyalty.Messages.CheckByMobileSuccess';\n\n Messages.CheckByMobileFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.CheckByMobileFailure', response);\n };\n Messages.CheckByMobileFailure.className = 'Vendd.Loyalty.Messages.CheckByMobileFailure';\n\n\n Messages.SendSms = function (mobile) {\n var data = {\n mobile: mobile\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.SendSms', data);\n };\n Messages.SendSms.className = 'Vendd.Loyalty.Messages.SendSms';\n\n Messages.SendSmsSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.SendSmsSuccess', response);\n };\n Messages.SendSmsSuccess.className = 'Vendd.Loyalty.Messages.SendSmsSuccess';\n\n Messages.SendSmsFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.SendSmsFailure', response);\n };\n Messages.SendSmsFailure.className = 'Vendd.Loyalty.Messages.SendSmsFailure';\n \n\n Messages.ValidateSmsCode = function (mobile, code) {\n var data = {\n mobile: mobile,\n code: code\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.ValidateSmsCode', data);\n };\n Messages.ValidateSmsCode.className = 'Vendd.Loyalty.Messages.ValidateSmsCode';\n\n Messages.ValidateSmsCodeSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.ValidateSmsCodeSuccess', response);\n };\n Messages.ValidateSmsCodeSuccess.className = 'Vendd.Loyalty.Messages.ValidateSmsCodeSuccess';\n\n Messages.ValidateSmsCodeFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.ValidateSmsCodeFailure', response);\n };\n Messages.ValidateSmsCodeFailure.className = 'Vendd.Loyalty.Messages.ValidateSmsCodeFailure';\n\n\n Messages.SubmitForm = function (formData) {\n \n var data = formData;\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.SubmitForm', data);\n };\n Messages.SubmitForm.className = 'Vendd.Loyalty.Messages.SubmitForm';\n\n Messages.SubmitFormSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.SubmitFormSuccess', response);\n };\n Messages.SubmitFormSuccess.className = 'Vendd.Loyalty.Messages.SubmitFormSuccess';\n\n Messages.SubmitFormFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.SubmitFormFailure', response);\n };\n Messages.SubmitFormFailure.className = 'Vendd.Loyalty.Messages.SubmitFormFailure';\n\n\n Messages.GetPhoneForm = function (pageid) {\n var data = {\n pageid: pageid\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.GetPhoneForm', data);\n };\n Messages.GetPhoneForm.className = 'Vendd.Loyalty.Messages.GetPhoneForm';\n\n Messages.GetPhoneFormSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.GetPhoneFormSuccess', response);\n };\n Messages.GetPhoneFormSuccess.className = 'Vendd.Loyalty.Messages.GetPhoneFormSuccess';\n\n Messages.GetPhoneFormFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.GetPhoneFormFailure', response);\n };\n Messages.GetPhoneFormFailure.className = 'Vendd.Loyalty.Messages.GetPhoneFormFailure';\n\n\n Messages.GetRegistrationForm = function (registered) {\n var data = {\n registered: registered\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.GetRegistrationForm', data);\n };\n Messages.GetRegistrationForm.className = 'Vendd.Loyalty.Messages.GetRegistrationForm';\n\n Messages.GetRegistrationFormSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.GetRegistrationFormSuccess', response);\n };\n Messages.GetRegistrationFormSuccess.className = 'Vendd.Loyalty.Messages.GetRegistrationFormSuccess';\n\n Messages.GetRegistrationFormFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.GetRegistrationFormFailure', response);\n };\n Messages.GetRegistrationFormFailure.className = 'Vendd.Loyalty.Messages.GetRegistrationFormFailure';\n\n\n Messages.SubmitContactForm = function (formData) {\n var data = formData;\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.SubmitContactForm', data);\n };\n Messages.SubmitContactForm.className = 'Vendd.Loyalty.Messages.SubmitContactForm';\n\n Messages.SubmitContactFormSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.SubmitContactFormSuccess', response);\n };\n Messages.SubmitContactFormSuccess.className = 'Vendd.Loyalty.Messages.SubmitContactFormSuccess';\n\n Messages.SubmitContactFormFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.SubmitContactFormFailure', response);\n };\n Messages.SubmitContactFormFailure.className = 'Vendd.Loyalty.Messages.SubmitContactFormFailure';\n\n\n Messages.ValidateCouponAndSendSms = function (discountCode) {\n var data = {\n discountCode: discountCode\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.ValidateCouponAndSendSms', data);\n };\n Messages.ValidateCouponAndSendSms.className = 'Vendd.Loyalty.Messages.ValidateCouponAndSendSms';\n\n\n Messages.ApplyCoupon = function (discountCode) {\n var data = {\n discountCode: discountCode\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.ApplyCoupon', data);\n };\n Messages.ApplyCoupon.className = 'Vendd.Loyalty.Messages.ApplyCoupon';\n\n Messages.ApplyCouponSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.ApplyCouponSuccess', response);\n };\n Messages.ApplyCouponSuccess.className = 'Vendd.Loyalty.Messages.ApplyCouponSuccess';\n\n Messages.ApplyCouponFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.ApplyCouponFailure', response);\n };\n Messages.ApplyCouponFailure.className = 'Vendd.Loyalty.Messages.ApplyCouponFailure';\n\n\n Messages.ClearCoupon = function (discountCode) {\n var data = {\n discountCode: discountCode\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.ClearCoupon', data);\n };\n Messages.ClearCoupon.className = 'Vendd.Loyalty.Messages.ClearCoupon';\n\n Messages.ClearCouponSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.ClearCouponSuccess', response);\n };\n Messages.ClearCouponSuccess.className = 'Vendd.Loyalty.Messages.ClearCouponSuccess';\n\n Messages.ClearCouponFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Loyalty.Messages.ClearCouponFailure', response);\n };\n Messages.ClearCouponFailure.className = 'Vendd.Loyalty.Messages.ClearCouponFailure';\n\n return Messages;\n\n })(Loyalty.Messages || {});\n\n return Loyalty;\n\n })(Vendd.Loyalty || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.InlineAdmin = (function (InlineAdmin) {\n\n InlineAdmin.Messages = (function (Messages) {\n\n Messages.CreateCookieForInlineAdmin = function (renderInline, username, password, redirectUrl) {\n var data = {\n renderInline: renderInline,\n username: username,\n password: password,\n redirectUrl: redirectUrl\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.InlineAdmin.Messages.CreateCookieForInlineAdmin\", data);\n }\n Messages.CreateCookieForInlineAdmin.className = \"Vendd.InlineAdmin.Messages.CreateCookieForInlineAdmin\";\n\n Messages.CreateCookieForInlineAdminSuccess = function (model, redirectUrl) {\n var data = {\n model: model,\n redirectUrl: redirectUrl\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.InlineAdmin.Messages.CreateCookieForInlineAdminSuccess\", data);\n }\n Messages.CreateCookieForInlineAdminSuccess.className = \"Vendd.InlineAdmin.Messages.CreateCookieForInlineAdminSuccess\";\n\n Messages.CreateCookieForInlineAdminFailure = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.InlineAdmin.Messages.CreateCookieForInlineAdminFailure\", data);\n }\n Messages.CreateCookieForInlineAdminFailure.className = \"Vendd.InlineAdmin.Messages.CreateCookieForInlineAdminFailure\";\n\n\n Messages.CheckForInlineAdmin = function (requestNewGuest) {\n var data = {\n RequestNewGuest: requestNewGuest\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.InlineAdmin.Messages.CheckForInlineAdmin\", data);\n }\n Messages.CheckForInlineAdmin.className = \"Vendd.InlineAdmin.Messages.CheckForInlineAdmin\";\n\n Messages.CheckForInlineAdminSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.InlineAdmin.Messages.CheckForInlineAdminSuccess\", data);\n }\n Messages.CheckForInlineAdminSuccess.className = \"Vendd.InlineAdmin.Messages.CheckForInlineAdminSuccess\";\n\n Messages.CheckForInlineAdminFailure = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.InlineAdmin.Messages.CheckForInlineAdminFailure\", data);\n }\n Messages.CheckForInlineAdminFailure.className = \"Vendd.InlineAdmin.Messages.CheckForInlineAdminFailure\";\n\n\n return Messages;\n\n })(InlineAdmin.Messages || {});\n\n return InlineAdmin;\n\n })(Vendd.InlineAdmin || {});\n\n return Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.ReturnOrder = (function (ReturnOrder) {\n\n ReturnOrder.Messages = (function (Messages) {\n\n Messages.SubmitOrderReturn = function () {\n var data = {\n\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.OpenAddressEditForm.Messages.SubmitOrderReturn', data);\n };\n Messages.SubmitOrderReturn.className = 'Vendd.OpenAddressEditForm.Messages.SubmitOrderReturn';\n\n\n Messages.SubmitOrderReturnSuccess = function (model) {\n var data = {\n model: model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.OpenAddressEditForm.Messages.SubmitOrderReturnSuccess', data);\n };\n Messages.SubmitOrderReturnSuccess.className = 'Vendd.OpenAddressEditForm.Messages.SubmitOrderReturnSuccess';\n\n\n Messages.SubmitOrderReturnsFailed = function (model) {\n var data = {\n model: model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.OpenAddressEditForm.Messages.SubmitOrderReturnsFailed', data);\n };\n Messages.SubmitOrderReturnsFailed.className = 'Vendd.OpenAddressEditForm.Messages.SubmitOrderReturnsFailed';\n\n\n Messages.OpenAddressEditForm = function (address) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ReturnOrder.Messages.OpenAddressEditForm', address);\n };\n Messages.OpenAddressEditForm.className = 'Vendd.ReturnOrder.Messages.OpenAddressEditForm';\n\n\n Messages.OpenAddressEditForm = function (address) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ReturnOrder.Messages.OpenAddressEditForm', address);\n };\n Messages.OpenAddressEditForm.className = 'Vendd.ReturnOrder.Messages.OpenAddressEditForm';\n\n Messages.GetRequestReturnSuccess = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.GetRequestReturnSuccess\", data);\n };\n Messages.GetRequestReturnSuccess.className = \"Vendd.ReturnOrder.Messages.GetRequestReturnSuccess\";\n\n Messages.GetRequestReturnFailure = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.GetRequestReturnFailure\", data);\n };\n Messages.GetRequestReturnFailure.className = \"Vendd.ReturnOrder.Messages.GetRequestReturnFailure\";\n\n Messages.GetRequestReturn = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.GetRequestReturn\", data);\n };\n Messages.GetRequestReturn.className = \"Vendd.ReturnOrder.Messages.GetRequestReturn\";\n\n\n Messages.ValidateOrderContactInfo = function (ordercode, phone) {\n var data = {\n ordercode: ordercode,\n phone: phone\n }\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.ValidateOrderContactInfo\", data);\n };\n Messages.ValidateOrderContactInfo.className = \"Vendd.ReturnOrder.Messages.ValidateOrderContactInfo\";\n\n\n Messages.ValidateOrderContactInfoSuccess = function (orderid) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.ValidateOrderContactInfoSuccess\", orderid);\n };\n Messages.ValidateOrderContactInfoSuccess.className = \"Vendd.ReturnOrder.Messages.ValidateOrderContactInfoSuccess\";\n\n\n Messages.ValidateOrderContactInfoFailure = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.ValidateOrderContactInfoFailure\", data);\n };\n Messages.ValidateOrderContactInfoFailure.className = \"Vendd.ReturnOrder.Messages.ValidateOrderContactInfoFailure\";\n\n\n Messages.GetReturnRequestValidationFormModel = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.GetReturnRequestValidationFormModel\", data);\n };\n Messages.GetReturnRequestValidationFormModel.className = \"Vendd.ReturnOrder.Messages.GetReturnRequestValidationFormModel\";\n\n\n Messages.GetReturnRequestValidationFormModelSuccess = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.GetReturnRequestValidationFormModelSuccess\", data);\n };\n Messages.GetReturnRequestValidationFormModelSuccess.className = \"Vendd.ReturnOrder.Messages.GetReturnRequestValidationFormModelSuccess\";\n\n Messages.GetReturnRequestValidationFormModelFailure = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.GetReturnRequestValidationFormModelFailure\", data);\n };\n Messages.GetReturnRequestValidationFormModelFailure.className = \"Vendd.ReturnOrder.Messages.GetReturnRequestValidationFormModelFailure\";\n\n Messages.GetReturnedOrdersModel = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.GetReturnedOrdersModel\", data);\n };\n Messages.GetReturnedOrdersModel.className = \"Vendd.ReturnOrder.Messages.GetReturnedOrdersModel\";\n\n\n Messages.GetReturnedOrdersModelSuccess = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.GetReturnedOrdersModelSuccess\", data);\n };\n Messages.GetReturnedOrdersModelSuccess.className = \"Vendd.ReturnOrder.Messages.GetReturnedOrdersModelSuccess\";\n\n Messages.GetReturnedOrdersModelFailure = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ReturnOrder.Messages.GetReturnedOrdersModelFailure\", data);\n };\n Messages.GetReturnedOrdersModelFailure.className = \"Vendd.ReturnOrder.Messages.GetReturnedOrdersModelFailure\";\n\n return Messages;\n\n })(ReturnOrder.Messages || {});\n\n return ReturnOrder;\n\n })(Vendd.ReturnOrder || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t'use strict';\n\n\tVendd.Export = (function (Export) {\n\n\t\tExport.Messages = (function (Messages) {\n\n\t\t\tMessages.GetListingExport = function (response) {\n\n\t\t\t\tvar messages = [];\n\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, \"Vendd.Export.Messages.GetListingExport\", response);\n\t\t\t}\n\t\t\tMessages.GetListingExport.className = \"Vendd.Export.Messages.GetListingExport\";\n\n\t\t\tMessages.GetListingExportSuccess = function (response) {\n\n\t\t\t\tvar messages = [];\n\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, \"Vendd.Export.Messages.GetListingExportSuccess\", response);\n\t\t\t}\n\t\t\tMessages.GetListingExportSuccess.className = \"Vendd.Export.Messages.GetListingExportSuccess\";\n\n\t\t\tMessages.GetListingExportFailure = function (response) {\n\n\t\t\t\tvar messages = [];\n\n\t\t\t\tVendd.MessageBus.VenddMessage.call(this, \"Vendd.Export.Messages.GetListingExportFailure\", response);\n\t\t\t}\n\t\t\tMessages.GetListingExportFailure.className = \"Vendd.Export.Messages.GetListingExportFailure\";\n\n\t\t\treturn Messages;\n\t\t})(Export.Messages || {});\n\n\t\treturn Export;\n\n\t})(Vendd.Export || {});\n\n\treturn Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.CustomForms = (function (CustomForms) {\n\n CustomForms.Messages = (function (Messages) {\n\n \n Messages.SendNotification = function (data) {\n \n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.CustomForms.Messages.SendNotification', data);\n };\n Messages.SendNotification.className = 'Vendd.CustomForms.Messages.SendNotification';\n\n\n Messages.SendNotificationSuccess = function (response) {\n \n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.CustomForms.Messages.SendNotificationSuccess', response);\n };\n Messages.SendNotificationSuccess.className = 'Vendd.CustomForms.Messages.SendNotificationSuccess';\n\n\n Messages.SendNotificationFailure = function (response) {\n \n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.CustomForms.Messages.SendNotificationFailure', response);\n };\n Messages.SendNotificationFailure.className = 'Vendd.CustomForms.Messages.SendNotificationFailure';\n\n\n Messages.Submit = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.CustomForms.Messages.Submit', data);\n };\n Messages.Submit.className = 'Vendd.CustomForms.Messages.Submit';\n\n\n Messages.SubmitSuccess = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.CustomForms.Messages.SubmitSuccess', response);\n };\n Messages.SubmitSuccess.className = 'Vendd.CustomForms.Messages.SubmitSuccess';\n\n\n Messages.SubmitFailure = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.CustomForms.Messages.SubmitFailure', response);\n };\n Messages.SubmitFailure.className = 'Vendd.CustomForms.Messages.SubmitFailure';\n\n return Messages;\n\n })(CustomForms.Messages || {});\n\n return CustomForms;\n\n })(Vendd.CustomForms || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n\t'use strict';\n\n\tVendd.TrackTrace = (function (TrackTrace) {\n\n\t TrackTrace.Messages = (function (Messages) {\n\t\t\t\n\t Messages.GetTrackTraceModel = function (voucherCode, providerId) {\n\t\t\t\tvar data = {\n voucherCode: voucherCode,\n providerId: providerId\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 (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Wishlist.Messages.AddSuccess', response);\n };\n Messages.AddSuccess.className = 'Vendd.Wishlist.Messages.AddSuccess';\n\n Messages.Remove = function (id) {\n var data = {\n id: id\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Wishlist.Messages.Remove\", data);\n };\n Messages.Remove.className = \"Vendd.Wishlist.Messages.Remove\";\n\n Messages.RemoveSuccess = function (response) {\n response.data = JSON.parse(response.data);\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.Clear = function () {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Wishlist.Messages.Clear\");\n };\n Messages.Clear.className = \"Vendd.Wishlist.Messages.Clear\";\n\n Messages.Changed = function (model) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Wishlist.Messages.Changed', model);\n };\n Messages.Changed.className = 'Vendd.Wishlist.Messages.Changed';\n\n Messages.GetModel = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Wishlist.Messages.GetModel');\n };\n Messages.GetModel.className = 'Vendd.Wishlist.Messages.GetModel';\n\n Messages.Failed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Wishlist.Messages.Failed', response);\n };\n Messages.Failed.className = 'Vendd.Wishlist.Messages.Failed';\n\n return Messages;\n\n })(Wishlist.Messages || {});\n\n return Wishlist;\n\n })(Vendd.Wishlist || {});\n\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Widget = (function (Widget) {\n\n Widget.Messages = (function (Messages) {\n\n Messages.BindControl = function (context) {\n var data = {\n context: context\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Widget.Messages.BindControl', data);\n };\n Messages.BindControl.className = 'Vendd.Widget.Messages.BindControl';\n\n Messages.OpenWidget = function (widgetName, immediate) {\n var data = {\n widgetName: widgetName,\n immediate: immediate\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Widget.Messages.OpenWidget\", data);\n };\n Messages.OpenWidget.className = \"Vendd.Widget.Messages.OpenWidget\";\n\n Messages.WidgetOpened = function (widgetName) {\n var data = {\n widgetName: widgetName\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Widget.Messages.WidgetOpened\", data);\n };\n Messages.WidgetOpened.className = \"Vendd.Widget.Messages.WidgetOpened\";\n\n return Messages;\n\n })(Widget.Messages || {});\n\n return Widget;\n\n })(Vendd.Widget || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.DeliveryPoint = (function (DeliveryPoint) {\n\n DeliveryPoint.Messages = (function (Messages) {\n\n Messages.GetModel = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.DeliveryPoint.Messages.GetModel', {});\n };\n Messages.GetModel.className = 'Vendd.DeliveryPoint.Messages.GetModel';\n\n Messages.GetModelSuccess = function (model) {\n var data = {\n model: model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.DeliveryPoint.Messages.GetModelSuccess', data);\n };\n Messages.GetModelSuccess.className = 'Vendd.DeliveryPoint.Messages.GetModelSuccess';\n\n Messages.GetModelFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.DeliveryPoint.Messages.GetModelFailed', response);\n };\n Messages.GetModelFailed.className = 'Vendd.DeliveryPoint.Messages.GetModelFailed'; \n\n Messages.ResetStore = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.DeliveryPoint.Messages.ResetStore', {});\n };\n Messages.ResetStore.className = 'Vendd.DeliveryPoint.Messages.ResetStore';\n\n Messages.ResetStoreSuccess = function (model) {\n var data = {\n model: model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.DeliveryPoint.Messages.ResetStoreSuccess', data);\n };\n Messages.ResetStoreSuccess.className = 'Vendd.DeliveryPoint.Messages.ResetStoreSuccess';\n\n Messages.ResetStoreFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.DeliveryPoint.Messages.ResetStoreFailed', response);\n };\n Messages.ResetStoreFailed.className = 'Vendd.DeliveryPoint.Messages.ResetStoreFailed'; \n\n Messages.ResetDeliveryPoint = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.DeliveryPoint.Messages.ResetDeliveryPoint', {});\n };\n Messages.ResetDeliveryPoint.className = 'Vendd.DeliveryPoint.Messages.ResetDeliveryPoint';\n\n Messages.ResetDeliveryPointSuccess = function (model) {\n var data = {\n model: model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.DeliveryPoint.Messages.ResetDeliveryPointSuccess', data);\n };\n Messages.ResetDeliveryPointSuccess.className = 'Vendd.DeliveryPoint.Messages.ResetDeliveryPointSuccess';\n\n Messages.ResetDeliveryPointFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.DeliveryPoint.Messages.ResetDeliveryPointFailed', response);\n };\n Messages.ResetDeliveryPointFailed.className = 'Vendd.DeliveryPoint.Messages.ResetDeliveryPointFailed'; \n\n return Messages;\n\n })(DeliveryPoint.Messages || {});\n\n return DeliveryPoint;\n\n })(Vendd.DeliveryPoint || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.UserSelect = (function (UserSelect) {\n\n UserSelect.Messages = (function (Messages) {\n // ==========================================================================\n // SUBMIT SET INTERFACE USER\n // ==========================================================================\n Messages.SubmitSetInterfaceUser = function (observable) {\n\n var valOptions = {\n ValidationEngine: observable.valEngine,\n valmodel: observable.model,\n };\n //ToDo: Change Signature to take observable as input\n Vendd.DataValidation.ValidateModel(valOptions);\n\n var data = {\n model: observable.model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.SubmitSetInterfaceUser', data);\n };\n Messages.SubmitSetInterfaceUser.className = 'Vendd.UserSelect.Messages.SubmitSetInterfaceUser';\n\n Messages.SubmitSetInterfaceUserSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.SubmitSetInterfaceUserSuccess', response);\n };\n Messages.SubmitSetInterfaceUserSuccess.className = 'Vendd.UserSelect.Messages.SubmitSetInterfaceUserSuccess';\n\n Messages.SubmitSetInterfaceUserFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.SubmitSetInterfaceUserFailure', response);\n };\n Messages.SubmitSetInterfaceUserFailure.className = 'Vendd.UserSelect.Messages.SubmitSetInterfaceUserFailure';\n\n // ==========================================================================\n // SUBMIT CLEAR INTERFACE USER\n // ==========================================================================\n Messages.ClearInterfaceUser = function (observable) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.ClearInterfaceUser');\n };\n Messages.ClearInterfaceUser.className = 'Vendd.UserSelect.Messages.ClearInterfaceUser';\n\n Messages.ClearInterfaceUserSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.ClearInterfaceUserSuccess', response);\n };\n Messages.ClearInterfaceUserSuccess.className = 'Vendd.UserSelect.Messages.ClearInterfaceUserSuccess';\n\n Messages.ClearInterfaceUserFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.ClearInterfaceUserFailure', response);\n };\n Messages.ClearInterfaceUserFailure.className = 'Vendd.UserSelect.Messages.ClearInterfaceUserFailure';\n\n // ==========================================================================\n // SEARCH USERS\n // ==========================================================================\n Messages.SearchUsers = function (observable) {\n var data = {\n model: observable.model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.SearchUsers', data);\n };\n Messages.SearchUsers.className = 'Vendd.UserSelect.Messages.SearchUsers';\n\n Messages.SearchUsersSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.SearchUsersSuccess', response);\n };\n Messages.SearchUsersSuccess.className = 'Vendd.UserSelect.Messages.SearchUsersSuccess';\n\n Messages.SearchUsersFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.SearchUsersFailure', response);\n };\n Messages.SearchUsersFailure.className = 'Vendd.UserSelect.Messages.SearchUsersFailure';\n\n\n // ==========================================================================\n // SUBMIT SET INTERFACE USER FROM INLINE ADMIN\n // ==========================================================================\n Messages.SubmitSetInterfaceUserInlineAdmin = function (model) {\n\n var data = {\n model: model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.SubmitSetInterfaceUserInlineAdmin', data);\n };\n Messages.SubmitSetInterfaceUserInlineAdmin.className = 'Vendd.UserSelect.Messages.SubmitSetInterfaceUserInlineAdmin';\n\n Messages.SubmitSetInterfaceUserInlineAdminSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.SubmitSetInterfaceUserInlineAdminSuccess', response);\n };\n Messages.SubmitSetInterfaceUserInlineAdminSuccess.className = 'Vendd.UserSelect.Messages.SubmitSetInterfaceUserInlineAdminSuccess';\n\n Messages.SubmitSetInterfaceUserInlineAdminFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.UserSelect.Messages.SubmitSetInterfaceUserInlineAdminFailure', response);\n };\n Messages.SubmitSetInterfaceUserInlineAdminFailure.className = 'Vendd.UserSelect.Messages.SubmitSetInterfaceUserInlineAdminFailure';\n\n return Messages;\n\n })(UserSelect.Messages || {});\n\n return UserSelect;\n\n })(Vendd.UserSelect || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.User = (function (User) {\n\n User.Messages = (function (Messages) {\n\n Messages.Login = function (loginName, password, rememberMe, loginRedirectUrl, logoutRedirectUrl, reCaptchaCode, accessToken) {\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 };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.Login', data);\n };\n Messages.Login.className = 'Vendd.User.Messages.Login';\n\n Messages.LoginSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.LoginSuccess', response);\n };\n Messages.LoginSuccess.className = 'Vendd.User.Messages.LoginSuccess';\n\n Messages.LoginFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.LoginFailure', response);\n };\n Messages.LoginFailure.className = 'Vendd.User.Messages.LoginFailure';\n\n\n Messages.Logout = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.Logout', {});\n };\n Messages.Logout.className = 'Vendd.User.Messages.Logout';\n\n Messages.LogoutAuthProviders = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.LogoutAuthProviders', {});\n };\n Messages.LogoutAuthProviders.className = 'Vendd.User.Messages.LogoutAuthProviders';\n\n Messages.LogoutUser = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.LogoutUser', {});\n };\n Messages.LogoutUser.className = 'Vendd.User.Messages.LogoutUser';\n\n Messages.LogoutSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.LogoutSuccess', response);\n };\n Messages.LogoutSuccess.className = 'Vendd.User.Messages.LogoutSuccess';\n\n Messages.LogoutFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.LogoutFailure', response);\n };\n Messages.LogoutFailure.className = 'Vendd.User.Messages.LogoutFailure';\n\n\n Messages.ForgotPassword = function (email) {\n var data = {\n email: email\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.ForgotPassword', data);\n };\n Messages.ForgotPassword.className = 'Vendd.User.Messages.ForgotPassword';\n\n Messages.ForgotPasswordSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.ForgotPasswordSuccess', response);\n };\n Messages.ForgotPasswordSuccess.className = 'Vendd.User.Messages.ForgotPasswordSuccess';\n\n Messages.ForgotPasswordFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.ForgotPasswordFailure', response);\n };\n Messages.ForgotPasswordFailure.className = 'Vendd.User.Messages.ForgotPasswordFailure';\n\n\n Messages.ResetPassword = function (code, password, passwordConfirmation) {\n var data = {\n code: code,\n password: password,\n passwordConfirmation: passwordConfirmation\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.ResetPassword', data);\n };\n Messages.ResetPassword.className = 'Vendd.User.Messages.ResetPassword';\n\n Messages.ResetPasswordSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.ResetPasswordSuccess', response);\n };\n Messages.ResetPasswordSuccess.className = 'Vendd.User.Messages.ResetPasswordSuccess';\n\n Messages.ResetPasswordFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.ResetPasswordFailure', response);\n };\n Messages.ResetPasswordFailure.className = 'Vendd.User.Messages.ResetPasswordFailure';\n\n\n Messages.Register = function (firstName, lastName, email, username, password, passwordConfirmation, newsletter, reCaptchaCode, redirectUrl, b2buser, b2bcompanyname, b2boccupation, b2btaxegency, b2btaxidentifier, b2bvatstatus, phone, mobilephone, socialSecurityNumber, birthdate, isLoyaltyMember, loyaltyRequest, ReceiveEinvoice, loyaltyMemberId, preventRedirect, loyaltyMemberCardNumber) {\n var data = {\n \"firstName\": firstName,\n \"lastName\": lastName,\n \"email\": email,\n \"username\": username,\n \"password\": password,\n \"passwordConfirmation\": passwordConfirmation,\n \"newsletter\": newsletter,\n \"reCaptchaCode\": reCaptchaCode,\n \"redirectUrl\": redirectUrl,\n \"b2buser\": b2buser,\n \"b2bcompanyname\":b2bcompanyname, \n \"b2boccupation\":b2boccupation, \n \"b2btaxegency\":b2btaxegency, \n \"b2btaxidentifier\": b2btaxidentifier,\n \"b2bvatstatus\": b2bvatstatus,\n \"phone\": phone,\n \"mobilephone\": mobilephone,\n \"socialSecurityNumber\": socialSecurityNumber,\n \"BirthDate\": birthdate,\n \"IsLoyaltyMember\": isLoyaltyMember,\n \"LoyaltyRequest\": loyaltyRequest,\n \"ReceiveEinvoice\": ReceiveEinvoice,\n \"LoyaltyMemberId\": loyaltyMemberId,\n \"preventRedirect\": preventRedirect,\n \"loyaltyMemberCardNumber\": loyaltyMemberCardNumber\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.Register', data);\n };\n Messages.Register.className = 'Vendd.User.Messages.Register';\n\n Messages.RegisterSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.RegisterSuccess', response);\n };\n Messages.RegisterSuccess.className = 'Vendd.User.Messages.RegisterSuccess';\n\n Messages.RegisterFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.RegisterFailure', response);\n };\n Messages.RegisterFailure.className = 'Vendd.User.Messages.RegisterFailure';\n\n Messages.CanRegister = function (loginName, reCaptchaCode) {\n var data = {\n \"loginName\": loginName,\n \"reCaptchaCode\": reCaptchaCode\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.CanRegister', data);\n };\n Messages.CanRegister.className = 'Vendd.User.Messages.CanRegister';\n\n Messages.CanRegisterSuccess = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.CanRegisterSuccess', response);\n };\n Messages.CanRegisterSuccess.className = 'Vendd.User.Messages.CanRegisterSuccess';\n\n Messages.CanRegisterFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.User.Messages.CanRegisterFailure', response);\n };\n Messages.CanRegisterFailure.className = 'Vendd.User.Messages.CanRegisterFailure';\n\n Messages.B2BRegister = function\n (companyname, occupation, taxagency, taxidentifier, officername, vatstatus, email, emailconfirmation, username, town, address, number, postalcode, phone, password, passwordconfirmation,\n storesnumber, phoneTwo, mobile, socialSecurityNumber, fax, siteurl, store, companyCategory, openingHours, area, prefecture, officerLastName, officerPosition, message, newsletter, ReceiveEinvoice, reCaptchaCode, redirecturl) {\n var data = {\n \"companyName\": companyname,\n \"occupation\": occupation,\n \"taxAgency\": taxagency,\n \"taxIdentifier\": taxidentifier,\n \"officerName\": officername,\n \"vatStatus\": vatstatus,\n \"email\": email,\n \"emailConfirmation\": emailconfirmation,\n \"username\": username,\n \"town\": town,\n \"address\": address,\n \"addressNumber\": number,\n \"postalCode\": postalcode,\n \"phone\": phone,\n \"password\": password,\n \"passwordConfirmation\": passwordconfirmation,\n \"storesNumber\": storesnumber,\n \"secondPhone\": phoneTwo,\n \"mobile\": mobile,\n \"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\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 (query, fuzziness, resultType, since, size) {\n var data = {\n query: query,\n fuzziness: fuzziness,\n resultType: resultType,\n since: since,\n size: size\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) {\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.ElasticSearch.Messages.GetProductElasticResults\", data);\n };\n Messages.GetProductElasticResults.className = \"Vendd.ElasticSearch.Messages.GetProductElasticResults\";\n\n Messages.GetProductElasticResultsSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ElasticSearch.Messages.GetProductElasticResultsSuccess\", data);\n };\n Messages.GetProductElasticResultsSuccess.className = \"Vendd.ElasticSearch.Messages.GetProductElasticResultsSuccess\";\n\n Messages.GetProductElasticResultsFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ElasticSearch.Messages.GetProductElasticResultsFailed\", response);\n };\n Messages.GetProductElasticResultsFailed.className = \"Vendd.ElasticSearch.Messages.GetProductElasticResultsFailed\";\n\n Messages.GetArticleElasticResults = function (searchTerm, pageFrom, pageSize) {\n var data = {\n searchTerm: searchTerm,\n pageFrom: pageFrom,\n pageSize: pageSize\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ElasticSearch.Messages.GetArticleElasticResults\", data);\n };\n Messages.GetArticleElasticResults.className = \"Vendd.ElasticSearch.Messages.GetArticleElasticResults\";\n\n Messages.GetArticleElasticResultsSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ElasticSearch.Messages.GetArticleElasticResultsSuccess\", data);\n };\n Messages.GetArticleElasticResultsSuccess.className = \"Vendd.ElasticSearch.Messages.GetArticleElasticResultsSuccess\";\n\n Messages.GetArticleElasticResultsFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ElasticSearch.Messages.GetArticleElasticResultsFailed\", response);\n };\n Messages.GetArticleElasticResultsFailed.className = \"Vendd.ElasticSearch.Messages.GetArticleElasticResultsFailed\";\n\n return Messages;\n\n })(ElasticSearch.Messages || {});\n\n return ElasticSearch;\n\n })(Vendd.ElasticSearch || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Search = (function (Search) {\n\n Search.Messages = (function (Messages) {\n\n Messages.GetSuggestiveResults = function (searchTerm, category) {\n var data = {\n searchTerm: searchTerm,\n category: category\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Search.Messages.GetSuggestiveResults\", data);\n };\n Messages.GetSuggestiveResults.className = \"Vendd.Search.Messages.GetSuggestiveResults\";\n\n Messages.GetSuggestiveResultsSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Search.Messages.GetSuggestiveResultsSuccess\", data);\n };\n Messages.GetSuggestiveResultsSuccess.className = \"Vendd.Search.Messages.GetSuggestiveResultsSuccess\";\n\n Messages.GetSuggestiveResultsFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Search.Messages.GetSuggestiveResultsFailed\", response);\n };\n Messages.GetSuggestiveResultsFailed.className = \"Vendd.Search.Messages.GetSuggestiveResultsFailed\";\n\n Messages.GetProductSuggestiveResults = function (searchTerm, maxResults, pageNumber, pageSize) {\n var data = {\n searchTerm: searchTerm,\n maxResults: maxResults,\n pageSize: pageSize,\n pageNumber: pageNumber\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Search.Messages.GetProductSuggestiveResults\", data);\n };\n Messages.GetProductSuggestiveResults.className = \"Vendd.Search.Messages.GetProductSuggestiveResults\";\n\n Messages.GetProductSuggestiveResultsSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Search.Messages.GetProductSuggestiveResultsSuccess\", data);\n };\n Messages.GetProductSuggestiveResultsSuccess.className = \"Vendd.Search.Messages.GetProductSuggestiveResultsSuccess\";\n\n Messages.GetProductSuggestiveResultsFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Search.Messages.GetProductSuggestiveResultsFailed\", response);\n };\n Messages.GetProductSuggestiveResultsFailed.className = \"Vendd.Search.Messages.GetProductSuggestiveResultsFailed\";\n\n\n\n\n\n\n\n\n\n\n Messages.GetProductSuggestiveElasticResults = function (searchTerm, pageFrom, pageSize, query, path) {\n var data = {\n searchTerm: searchTerm,\n pageFrom: pageFrom,\n pageSize: pageSize,\n query: query,\n path: path\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Search.Messages.GetProductSuggestiveElasticResults\", data);\n };\n\n Messages.GetProductSuggestiveElasticResults.className = \"Vendd.Search.Messages.GetProductSuggestiveElasticResults\";\n\n Messages.GetProductSuggestiveResultsElasticSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Search.Messages.GetProductSuggestiveResultsElasticSuccess\", data);\n };\n Messages.GetProductSuggestiveResultsElasticSuccess.className = \"Vendd.Search.Messages.GetProductSuggestiveResultsElasticSuccess\";\n\n Messages.GetProductSuggestiveResultsElasticFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Search.Messages.GetProductSuggestiveResultsElasticFailed\", response);\n };\n Messages.GetProductSuggestiveResultsElasticFailed.className = \"Vendd.Search.Messages.GetProductSuggestiveResultsElasticFailed\";\n\n return Messages;\n\n })(Search.Messages || {});\n\n return Search;\n\n })(Vendd.Search || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.ProductList = (function (ProductList) {\n\n ProductList.Messages = (function (Messages) {\n\n Messages.GetModel = function (list, serviceConfiguration, type, uri, includeFilters, defaultUriFilter) {\n var data = {\n list: list,\n serviceConfiguration: serviceConfiguration,\n type: type,\n uri: uri,\n includeFilters: includeFilters || false,\n defaultUriFilter: defaultUriFilter || \"\"\n }\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductList.Messages.GetModel', data);\n };\n Messages.GetModel.className = 'Vendd.ProductList.Messages.GetModel';\n\n Messages.GetModelSuccess = function (response) {\n\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) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductList.Messages.GetModelFailed', response);\n };\n Messages.GetModelFailed.className = 'Vendd.ProductList.Messages.GetModelFailed';\n\n return Messages;\n\n })(ProductList.Messages || {});\n\n return ProductList;\n\n })(Vendd.ProductList || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.ScrollList = (function (ScrollList) {\n\n ScrollList.Messages = (function (Messages) {\n\n Messages.GetNextPage = function (list, serviceConfiguration, type) {\n var data = {\n type:type,\n list: list,\n serviceConfiguration: serviceConfiguration\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetNextPage\", data);\n };\n Messages.GetNextPage.className = \"Vendd.ScrollList.Messages.GetNextPage\";\n\n Messages.GetPreviousPage = function (list, serviceConfiguration, type) {\n var data = {\n list: list,\n serviceConfiguration: serviceConfiguration\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetPreviousPage\", data);\n };\n Messages.GetPreviousPage.className = \"Vendd.ScrollList.Messages.GetPreviousPage\";\n\n Messages.GetCurrentPage = function (list, serviceConfiguration, type) {\n var data = {\n type: type,\n list: list,\n serviceConfiguration: serviceConfiguration\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetCurrentPage\", data);\n };\n Messages.GetCurrentPage.className = \"Vendd.ScrollList.Messages.GetCurrentPage\";\n\n Messages.GetPageSuccess = function (list, model, position, type) {\n var data = {\n type: type,\n list: list,\n model: model,\n position: position\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetPageSuccess\", data);\n };\n Messages.GetPageSuccess.className = \"Vendd.ScrollList.Messages.GetPageSuccess\";\n\n Messages.GetCurrentPageSuccess = function (list, model, position, type) {\n var data = {\n type: type,\n list: list,\n model: model,\n position: position\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetCurrentPageSuccess\", data);\n };\n Messages.GetCurrentPageSuccess.className = \"Vendd.ScrollList.Messages.GetCurrentPageSuccess\";\n\n Messages.GetNextPageFailure = function (list, response) {\n response.data = JSON.parse(response.data);\n var data = {\n list: list,\n response: response\n };\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetNextPageFailure\", data);\n };\n Messages.GetNextPageFailure.className = \"Vendd.ScrollList.Messages.GetNextPageFailure\";\n\n Messages.GetPreviousPageFailure = function (list, response) {\n \tresponse.data = JSON.parse(response.data);\n \tvar data = {\n \t\tlist: list,\n \t\tresponse: response\n \t};\n\n \tVendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetPreviousPageFailure\", data);\n };\n Messages.GetPreviousPageFailure.className = \"Vendd.ScrollList.Messages.GetPreviousPageFailure\";\n\n Messages.GetCurrentPageFailure = function (list, response) {\n response.data = JSON.parse(response.data);\n var data = {\n list: list,\n response: response\n };\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetCurrentPageFailure\", data);\n };\n Messages.GetCurrentPageFailure.className = \"Vendd.ScrollList.Messages.GetCurrentPageFailure\";\n\n Messages.GetClientProductListData = function (request) {\n var data = {\n itemIds: request.itemIds,\n fetchPrices: request.fetchPrices,\n fetchAvailabilities: request.fetchAvailabilities,\n fetchStock: request.fetchStock\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetClientProductListData\", data);\n }\n Messages.GetClientProductListData.className = \"Vendd.ScrollList.Messages.GetClientProductListData\";\n\n Messages.GetClientProductListDataSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetClientProductListDataSuccess\", response);\n };\n Messages.GetClientProductListDataSuccess.className = \"Vendd.ScrollList.Messages.GetClientProductListDataSuccess\";\n\n Messages.GetClientProductListDataFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ScrollList.Messages.GetClientProductListDataFailure\", response);\n };\n Messages.GetClientProductListDataFailure.className = \"Vendd.ScrollList.Messages.GetClientProductListDataFailure\";\n\n return Messages;\n\n })(ScrollList.Messages || {});\n\n return ScrollList;\n\n })(Vendd.ScrollList || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.ProductCompare = (function (ProductCompare) {\n\n ProductCompare.Messages = (function (Messages) {\n\n Messages.Add = function (id, skuId, path, qty) {\n var data = {\n id: id,\n skuId: skuId,\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ProductCompare.Messages.Add\", data);\n };\n Messages.Add.className = \"Vendd.ProductCompare.Messages.Add\";\n\n Messages.Remove = function (id) {\n var data = {\n id: id\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ProductCompare.Messages.Remove\", data);\n };\n Messages.Remove.className = \"Vendd.ProductCompare.Messages.Remove\";\n\n Messages.Clear = function () {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.ProductCompare.Messages.Clear\", null);\n };\n Messages.Clear.className = \"Vendd.ProductCompare.Messages.Clear\";\n\n Messages.Changed = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductCompare.Messages.Changed', null);\n };\n Messages.Changed.className = 'Vendd.ProductCompare.Messages.Changed';\n\n Messages.GetModel = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductCompare.Messages.GetModel', null);\n };\n Messages.GetModel.className = 'Vendd.ProductCompare.Messages.GetModel';\n\n Messages.GetModelSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductCompare.Messages.GetModelSuccess', data);\n };\n Messages.GetModelSuccess.className = 'Vendd.ProductCompare.Messages.GetModelSuccess';\n\n Messages.GetWidgetModel = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductCompare.Messages.GetWidgetModel');\n };\n Messages.GetWidgetModel.className = 'Vendd.ProductCompare.Messages.GetWidgetModel';\n\n Messages.GetWidgetModelSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductCompare.Messages.GetWidgetModelSuccess', data);\n };\n Messages.GetWidgetModelSuccess.className = 'Vendd.ProductCompare.Messages.GetWidgetModelSuccess';\n\n\n Messages.Failed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductCompare.Messages.Failed', response);\n };\n Messages.Failed.className = 'Vendd.ProductCompare.Messages.Failed';\n\n Messages.ProductCompareAdded = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductCompare.Messages.ProductCompareAdded', response);\n };\n Messages.ProductCompareAdded.className = 'Vendd.ProductCompare.Messages.ProductCompareAdded';\n\n Messages.ProductCompareRemoved = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.ProductCompare.Messages.ProductCompareRemoved', response);\n };\n Messages.ProductCompareRemoved.className = 'Vendd.ProductCompare.Messages.ProductCompareRemoved';\n\n return Messages;\n\n })(ProductCompare.Messages || {});\n\n return ProductCompare;\n\n })(Vendd.ProductCompare || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Product = (function (Product) {\n\n Product.Messages = (function (Messages) {\n\n Messages.BindControl = function (context) {\n var data = {\n context: context\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.BindControl', data);\n };\n\n Messages.BindControl.className = 'Vendd.Product.Messages.BindControl';\n\n Messages.SetQuantity = function (qty) {\n var data = {\n qty: qty\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.SetQuantity', data);\n };\n Messages.SetQuantity.className = 'Vendd.Product.Messages.SetQuantity';\n\n Messages.SetQuanta = function (quanta) {\n var data = {\n quanta: quanta\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.SetQuanta', data);\n };\n Messages.SetQuanta.className = 'Vendd.Product.Messages.SetQuanta';\n\n Messages.SetSelected = function (data) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.SetSelected', data);\n };\n Messages.SetSelected.className = 'Vendd.Product.Messages.SetSelected';\n\n Messages.SetBundleItems = function (bundleItems) {\n var data = {\n bundleItems: bundleItems //example: bundleItems: [{bundleProductId:'testValue', parentProductId:'testValue', productId:'testValue', quantity: 'testValue'}]\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.SetBundleItems', data);\n };\n Messages.SetBundleItems.className = 'Vendd.Product.Messages.SetBundleItems';\n\n Messages.SetRecipeItems = function (recipeItems) {\n var data = {\n recipeItems: recipeItems\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.SetRecipeItems', data);\n };\n Messages.SetRecipeItems.className = 'Vendd.Product.Messages.SetRecipeItems';\n\n Messages.SetComboItems = function (comboItems) {\n var data = {\n comboItems: comboItems\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.SetComboItems', data);\n };\n Messages.SetComboItems.className = 'Vendd.Product.Messages.SetComboItems';\n\n Messages.Changed = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.Changed', data);\n };\n Messages.Changed.className = 'Vendd.Product.Messages.Changed';\n\n Messages.Notify = function (email, selectedId, languageId) {\n var data = {\n email: email,\n productId: selectedId,\n languageId: languageId\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.Notify', data);\n };\n Messages.Notify.className = 'Vendd.Product.Messages.Notify';\n\n Messages.NotifySuccess = function (response, sender) {\n response.data = JSON.parse(response.data);\n response.sender = sender;\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.NotifySuccess', response);\n };\n Messages.NotifySuccess.className = 'Vendd.Product.Messages.NotifySuccess';\n\n Messages.NotifyFailure = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.NotifyFailure', response);\n };\n Messages.NotifyFailure.className = 'Vendd.Product.Messages.NotifyFailure';\n\n //VDCORE-1320\n Messages.Review = function (title, description, rating, id) {\n\n var data = {\n productid: id,\n title: title,\n description: description,\n rating: rating\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.Review', data);\n };\n Messages.Review.className = 'Vendd.Product.Messages.Review';\n\n Messages.ReviewSuccess = function (response, config) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.ReviewSuccess', response, config);\n };\n Messages.ReviewSuccess.className = 'Vendd.Product.Messages.ReviewSuccess';\n\n Messages.ReviewFailure = function (response, config) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.ReviewFailure', response, config);\n };\n Messages.ReviewFailure.className = 'Vendd.Product.Messages.ReviewFailure';\n\n Messages.ReviewVote = function (id, positive) {\n\n var data = {\n helpfullness: {\n id: id,\n ispositivevote: positive\n }\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.ReviewVote', data);\n };\n Messages.ReviewVote.className = 'Vendd.Product.Messages.ReviewVote';\n\n Messages.ReviewVoteSuccess = function (response, vote) {\n response.data = JSON.parse(response.data);\n\n var data = {\n response: response,\n vote: vote\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.ReviewVoteSuccess', data);\n };\n Messages.ReviewVoteSuccess.className = 'Vendd.Product.Messages.ReviewVoteSuccess';\n\n Messages.ReviewVoteFailure = function (response, vote) {\n response.data = JSON.parse(response.data);\n\n var data = {\n response: response,\n vote: vote\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.ReviewVoteFailure', data);\n };\n Messages.ReviewVoteFailure.className = 'Vendd.Product.Messages.ReviewVoteFailure';\n\n\n Messages.ProductSelected = function (id, list) {\n\n var data = {\n id: id,\n list: list\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.ProductSelected', data);\n };\n Messages.ProductSelected.className = 'Vendd.Product.Messages.ProductSelected';\n\n\n Messages.GetAvailableWarehouses = function (skuId, skuCode, countryCode, zipCode, maxDistance, ignoreAvailability, geoLocationWithZipCode, topAvailableWarehouse, groupBy, location) {\n\n var data = {\n skuId: skuId,\n skuCode: skuCode,\n countryCode: countryCode,\n zipCode: zipCode,\n maxDistance: maxDistance,\n ignoreAvailability: ignoreAvailability,\n geoLocationWithZipCode: geoLocationWithZipCode,\n topAvailableWarehouse: topAvailableWarehouse,\n groupBy: groupBy,\n hasGeolocation: (((location || {}).latitude || 0) > 0) && (((location || {}).longitude || 0) > 0),\n latitude: (location || {}).latitude || 0,\n longitude: (location || {}).longitude || 0\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetAvailableWarehouses', data);\n };\n Messages.GetAvailableWarehouses.className = 'Vendd.Product.Messages.GetAvailableWarehouses';\n\n Messages.GetAvailableWarehousesSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetAvailableWarehousesSuccess', response);\n };\n Messages.GetAvailableWarehousesSuccess.className = 'Vendd.Product.Messages.GetAvailableWarehousesSuccess';\n\n Messages.GetAvailableWarehousesFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetAvailableWarehousesFailure', response);\n };\n Messages.GetAvailableWarehousesFailure.className = 'Vendd.Product.Messages.GetAvailableWarehousesFailure';\n\n //Delivery Availability\n Messages.GetDeliveryAvailability = function (variantArray, postalCode, shippingCompany, isOrder) {\n\n var data = {\n lstVariantInfo: variantArray,\n postalCode: postalCode,\n isOrder: isOrder,\n shippingCompany: shippingCompany \n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetDeliveryAvailability', data);\n };\n Messages.GetDeliveryAvailability.className = 'Vendd.Product.Messages.GetDeliveryAvailability';\n\n Messages.GetDeliveryAvailabilitySuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetDeliveryAvailabilitySuccess', response);\n };\n Messages.GetDeliveryAvailabilitySuccess.className = 'Vendd.Product.Messages.GetDeliveryAvailabilitySuccess';\n\n Messages.GetDeliveryAvailabilityFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetDeliveryAvailabilityFailure', response);\n };\n Messages.GetDeliveryAvailabilityFailure.className = 'Vendd.Product.Messages.GetDeliveryAvailabilityFailure';\n\n //Pick Up Availability\n Messages.GetPickUpAvailability = function (variantArray, partnerId, isOrder) {\n\n var data = {\n lstVariantInfo: variantArray,\n partnerId: partnerId,\n isOrder: isOrder\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetPickUpAvailability', data);\n };\n Messages.GetPickUpAvailability.className = 'Vendd.Product.Messages.GetPickUpAvailability';\n\n Messages.GetPickUpAvailabilitySuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetPickUpAvailabilitySuccess', response);\n };\n Messages.GetPickUpAvailabilitySuccess.className = 'Vendd.Product.Messages.GetPickUpAvailabilitySuccess';\n\n Messages.GetPickUpAvailabilityFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetPickUpAvailabilityFailure', response);\n };\n Messages.GetPickUpAvailabilityFailure.className = 'Vendd.Product.Messages.GetPickUpAvailabilityFailure';\n\n //Replaced By\n Messages.GetReplacedByProducts = function (plData) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetReplacedByProducts', plData);\n };\n Messages.GetReplacedByProducts.className = 'Vendd.Product.Messages.GetReplacedByProducts';\n\n Messages.GetReplacedByProductsSuccess = function (response, config) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetReplacedByProductsSuccess', response, config);\n };\n Messages.GetReplacedByProductsSuccess.className = 'Vendd.Product.Messages.GetReplacedByProductsSuccess';\n\n Messages.GetReplacedByProductsFailure = function (response, config) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetReplacedByProductsFailure', response, config);\n };\n Messages.GetReplacedByProductsFailure.className = 'Vendd.Product.Messages.GetReplacedByProductsFailure';\n\n return Messages;\n\n })(Product.Messages || {});\n\n return Product;\n\n })(Vendd.Product || {});\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n \n Vendd.Order = (function (Order) {\n\n Order.Messages = (function (Messages) {\n\n Messages.CancelUncompletedOrder = function (orderId) {\n var data = {\n orderId: orderId\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Order.Messages.CancelUncompletedOrder', data);\n };\n Messages.CancelUncompletedOrder.className = 'Vendd.Order.Messages.CancelUncompletedOrder';\n\n Messages.CancelUncompletedOrderSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Order.Messages.CancelUncompletedOrderSuccess\", data);\n };\n Messages.CancelUncompletedOrderSuccess.className = 'Vendd.Order.Messages.CancelUncompletedOrderSuccess';\n\n Messages.CancelUncompletedOrderFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Order.Messages.CancelUncompletedOrderFailed\", response);\n };\n Messages.CancelUncompletedOrderFailed.className = \"Vendd.Order.Messages.CancelUncompletedOrderFailed\";\n\n Messages.ReturnOrderItem = function (orderItemId) {\n var data = {\n orderItemId: orderItemId\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Order.Messages.ReturnOrderItem', data);\n };\n Messages.ReturnOrderItem.className = 'Vendd.Order.Messages.ReturnOrderItem';\n\n Messages.ReturnOrderItemSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Order.Messages.ReturnOrderItemSuccess\", data);\n };\n Messages.ReturnOrderItemSuccess.className = 'Vendd.Order.Messages.ReturnOrderItemSuccess';\n\n Messages.ReturnOrderItemFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Order.Messages.ReturnOrderItemFailed\", response);\n };\n Messages.ReturnOrderItemFailed.className = \"Vendd.Order.Messages.ReturnOrderItemFailed\";\n\n Messages.SubmitRequestOrderChange = function (observable) {\n var data = {\n model: observable.model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Order.Messages.SubmitRequestOrderChange', data);\n };\n Messages.SubmitRequestOrderChange.className = 'Vendd.Order.Messages.SubmitRequestOrderChange';\n\n Messages.SubmitRequestOrderChangeSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Order.Messages.SubmitRequestOrderChangeSuccess', response);\n };\n Messages.SubmitRequestOrderChangeSuccess.className = 'Vendd.Order.Messages.SubmitRequestOrderChangeSuccess';\n\n Messages.SubmitRequestOrderChangeFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Order.Messages.SubmitRequestOrderChangeFailure', response);\n };\n Messages.SubmitRequestOrderChangeFailure.className = 'Vendd.Order.Messages.SubmitRequestOrderChangeFailure';\n\n return Messages;\n\n })(Order.Messages || {});\n\n return Order;\n\n })(Vendd.Order || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Newsletter = (function (Newsletter) {\n\n Newsletter.Messages = (function (Messages) {\n\n Messages.Subscribe = function (email, mailparams, 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.SetQuantities = function (items) {\n var data = {};\n data.items = items;\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.SetQuantities', data);\n };\n Messages.SetQuantities.className = 'Vendd.Cart.Messages.SetQuantities';\n\n Messages.UpdateBundleItems = function (id, bundleItems) {\n\n var data = {\n id: id,\n bundleItems: bundleItems //example: bundleItems: [{bundleProductId:'testValue', parentProductId:'testValue', productId:'testValue', quantity: 'testValue'}]\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.UpdateBundleItems', data);\n };\n Messages.UpdateBundleItems.className = 'Vendd.Cart.Messages.UpdateBundleItems';\n\n Messages.Clear = function () {\n var data = {};\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.Clear', data);\n };\n Messages.Clear.className = 'Vendd.Cart.Messages.Clear';\n\n Messages.UpdateCartProductReplacingTypes = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.UpdateCartProductReplacingTypes', data);\n };\n Messages.UpdateCartProductReplacingTypes.className = 'Vendd.Cart.Messages.UpdateCartProductReplacingTypes';\n\n Messages.UpdateCartProductReplacingTypesSuccess = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.UpdateCartProductReplacingTypesSuccess', data);\n };\n Messages.UpdateCartProductReplacingTypesSuccess.className = 'Vendd.Cart.Messages.UpdateCartProductReplacingTypesSuccess';\n\n Messages.UpdateCartProductReplacingTypesFailed = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.UpdateCartProductReplacingTypesFailed', data);\n };\n Messages.UpdateCartProductReplacingTypesFailed.className = 'Vendd.Cart.Messages.UpdateCartProductReplacingTypesFailed';\n\n Messages.ApplyCoupon = function (code) {\n var data = {\n code: code\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ApplyCoupon', data);\n };\n Messages.ApplyCoupon.className = 'Vendd.Cart.Messages.ApplyCoupon';\n\n Messages.ApplyCouponSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Contact.Messages.ApplyCouponSuccess', response);\n };\n Messages.ApplyCouponSuccess.className = 'Vendd.Contact.Messages.ApplyCouponSuccess';\n\n Messages.ClearCoupon = function (code) {\n var data = {\n code: code\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ClearCoupon', data);\n };\n Messages.ClearCoupon.className = 'Vendd.Cart.Messages.ClearCoupon';\n\n Messages.ClearCoupons = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ClearCoupons');\n };\n Messages.ClearCoupons.className = 'Vendd.Cart.Messages.ClearCoupons';\n\n Messages.ApplyExternalCoupon = function (code) {\n var data = {\n code: code\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ApplyExternalCoupon', data);\n };\n Messages.ApplyExternalCoupon.className = 'Vendd.Cart.Messages.ApplyExternalCoupon';\n\n Messages.ClearExternalCoupon = function (code) {\n var data = {\n code: code\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ClearExternalCoupon', data);\n };\n Messages.ClearExternalCoupon.className = 'Vendd.Cart.Messages.ClearExternalCoupon';\n\n Messages.ClearExternalCoupons = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ClearExternalCoupons');\n };\n Messages.ClearExternalCoupons.className = 'Vendd.Cart.Messages.ClearExternalCoupons';\n\n Messages.GetModel = function (options) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.GetModel', options);\n };\n Messages.GetModel.className = 'Vendd.Cart.Messages.GetModel';\n\n Messages.Changed = function (model) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.Changed', model);\n };\n Messages.Changed.className = 'Vendd.Cart.Messages.Changed';\n\n Messages.Failed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.Failed', response);\n };\n Messages.Failed.className = 'Vendd.Cart.Messages.Failed';\n\n Messages.Warning = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.Warning', response);\n };\n Messages.Warning.className = 'Vendd.Cart.Messages.Warning';\n\n Messages.ApplyShippingData = function (countryCode, postCode, areaId, shippingMethodId, shippingCompanyId) {\n var data = {\n countryCode: countryCode,\n postCode: postCode,\n areaId: areaId,\n shippingMethodId: shippingMethodId,\n shippingCompanyId: shippingCompanyId\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ApplyShippingData', data);\n };\n Messages.ApplyShippingData.className = 'Vendd.Cart.Messages.ApplyShippingData';\n\n Messages.ApplyShippingDataSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.ApplyShippingDataSuccess\", data);\n };\n Messages.ApplyShippingDataSuccess.className = 'Vendd.Cart.Messages.ApplyShippingDataSuccess';\n\n Messages.ApplyShippingDataFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.ApplyShippingDataFailed\", response);\n };\n Messages.ApplyShippingDataFailed.className = \"Vendd.Cart.Messages.ApplyShippingDataFailed\";\n\n Messages.GetShippingModel = function (countryCode, postCode, areaId, shippingMethodId, shippingCompanyId) {\n var data = {\n countryCode: countryCode,\n postCode: postCode,\n areaId: areaId,\n shippingMethodId: shippingMethodId,\n shippingCompanyId: shippingCompanyId\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.GetShippingModel', data);\n };\n Messages.GetShippingModel.className = 'Vendd.Cart.Messages.GetShippingModel';\n\n Messages.GetShippingModelSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.GetShippingModelSuccess\", data);\n };\n Messages.GetShippingModelSuccess.className = 'Vendd.Cart.Messages.GetShippingModelSuccess';\n\n Messages.GetShippingModelFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.GetShippingModelFailed\", response);\n };\n Messages.GetShippingModelFailed.className = \"Vendd.Cart.Messages.GetShippingModelFailed\";\n\n Messages.SetGiftwrap = function (id, wrapId, message) {\n var data = {\n id: id,\n wrapId: wrapId,\n message: message\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.SetGiftwrap', data);\n };\n Messages.SetGiftwrap.className = 'Vendd.Cart.Messages.SetGiftwrap';\n\n Messages.SetGiftwraps = function (items) {\n var data = {};\n data.items = items;\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.SetGiftwraps', data);\n };\n Messages.SetGiftwraps.className = 'Vendd.Cart.Messages.SetGiftwraps';\n\n Messages.ApplyExtraAllowanceOrCharge = function (itemId, shopAllowanceorChargeId) {\n var data = {\n itemId: itemId,\n shopAllowanceorChargeId: shopAllowanceorChargeId\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ApplyExtraAllowanceOrCharge', data);\n };\n Messages.ApplyExtraAllowanceOrCharge.className = 'Vendd.Cart.Messages.ApplyExtraAllowanceOrCharge';\n\n Messages.DisableExtraAllowanceOrCharge = function (itemId, shopAllowanceorChargeId) {\n var data = {\n itemId: itemId,\n shopAllowanceorChargeId: shopAllowanceorChargeId\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.DisableExtraAllowanceOrCharge', data);\n };\n Messages.DisableExtraAllowanceOrCharge.className = 'Vendd.Cart.Messages.DisableExtraAllowanceOrCharge';\n\n Messages.AddOrderItemsToCart = function (data) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.AddOrderItemsToCart', data);\n };\n Messages.AddOrderItemsToCart.className = 'Vendd.Cart.Messages.AddOrderItemsToCart';\n\n Messages.SetGiftCard = function (code, amount) {\n var data = {\n code: code,\n amount: amount,\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.SetGiftCard', data);\n };\n Messages.SetGiftCard.className = 'Vendd.Cart.Messages.SetGiftCard';\n\n Messages.GiftCardApplySuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Contact.Messages.GiftCardApplySuccess', response);\n };\n Messages.GiftCardApplySuccess.className = 'Vendd.Contact.Messages.GiftCardApplySuccess';\n\n Messages.GiftCardApplyFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.GiftCardApplyFailed', response);\n };\n Messages.GiftCardApplyFailed.className = 'Vendd.Cart.Messages.GiftCardApplyFailed';\n\n Messages.AddGiftCartEmailAddress = function (observableList) {\n\n var itemsList = [];\n $.each(observableList, function (k, observable) {\n\n var valOptions = {\n ValidationEngine: observable.valEngine,\n valmodel: observable.model,\n };\n\n Vendd.DataValidation.ValidateModel(valOptions);\n itemsList.push(observable.model);\n });\n\n\n var data = {\n items: itemsList\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.AddGiftCartEmailAddress', data);\n };\n Messages.AddGiftCartEmailAddress.className = 'Vendd.Cart.Messages.AddGiftCartEmailAddress';\n\n Messages.AddGiftCartEmailAddressSuccess = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.AddGiftCartEmailAddressSuccess');\n };\n Messages.AddGiftCartEmailAddressSuccess.className = 'Vendd.Cart.Messages.AddGiftCartEmailAddressSuccess';\n\n Messages.ClearAllGiftCards = function (items) {\n var data = {};\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ClearAllGiftCards', data);\n };\n Messages.ClearAllGiftCards.className = 'Vendd.Cart.Messages.ClearAllGiftCards';\n\n Messages.ClearGiftCard = function (code) {\n var data = {};\n data.code = code;\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ClearGiftCard', data);\n };\n\n Messages.ClearGiftCard.className = 'Vendd.Cart.Messages.ClearGiftCard';\n\n Messages.AddOrderItemsToCartSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.AddOrderItemsToCartSuccess\", data);\n };\n Messages.AddOrderItemsToCartSuccess.className = 'Vendd.Cart.Messages.AddOrderItemsToCartSuccess';\n\n Messages.AddOrderItemsToCartFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.AddOrderItemsToCartFailed\", response);\n };\n Messages.AddOrderItemsToCartFailed.className = \"Vendd.Cart.Messages.AddOrderItemsToCartFailed\";\n\n Messages.ShowMessages = function (response) {\n\n var messages = [];\n\n if (response.data) {\n var responseData = response.data || {};\n messages = responseData.Messages || [];\n }\n\n if (response.Messages) {\n messages = response.Messages || [];\n }\n\n var data = {\n resultMessages: messages\n };\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.ShowMessages\", data);\n }\n Messages.ShowMessages.className = \"Vendd.Cart.Messages.ShowMessages\";\n\n Messages.DownLoadExcel = function (response) {\n\n var messages = [];\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.DownLoadExcel\", response);\n }\n Messages.DownLoadExcel.className = \"Vendd.Cart.Messages.DownLoadExcel\";\n\n Messages.DownLoadExcelSuccess = function (response) {\n\n var messages = [];\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.DownLoadExcelSuccess\", response);\n }\n Messages.DownLoadExcelSuccess.className = \"Vendd.Cart.Messages.DownLoadExcelSuccess\";\n\n Messages.DownLoadExcelFailure = function (response) {\n\n var messages = [];\n\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Cart.Messages.DownLoadExcelFailure\", response);\n }\n Messages.DownLoadExcelFailure.className = \"Vendd.Cart.Messages.DownLoadExcelFailure\";\n\n Messages.ProductAdded = function (id, responseData) {\n var data = {};\n data.id = id;\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) {\n var data = {};\n data.cartId = cartId;\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.ProductRemoved', data);\n };\n Messages.ProductRemoved.className = 'Vendd.Cart.Messages.ProductRemoved';\n\n Messages.AlreadyInCart = function (id) {\n var data = {};\n data.id = id;\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.AlreadyInCart', data);\n };\n Messages.AlreadyInCart.className = 'Vendd.Cart.Messages.AlreadyInCart';\n\n Messages.CollectionAdded = function () {\n var data = {};\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.CollectionAdded', data);\n };\n Messages.CollectionAdded.className = 'Vendd.Cart.Messages.CollectionAdded';\n\n Messages.SetDeliveryPoint = function (deliveryPointId) {\n var data = {\n deliveryPointId: deliveryPointId\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Cart.Messages.SetDeliveryPoint', data);\n };\n Messages.SetDeliveryPoint.className = 'Vendd.Cart.Messages.SetDeliveryPoint';\n \n return Messages;\n\n })(Cart.Messages || {});\n\n return Cart;\n\n })(Vendd.Cart || {});\n\n return Vendd;\n\n})(Vendd || {});\n","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Career = (function (Career) {\n\n Career.Messages = (function (Messages) {\n\n Messages.Submit = function (observable) {\n var data = {\n model: observable.model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Career.Messages.Submit', data);\n };\n Messages.Submit.className = 'Vendd.Career.Messages.Submit';\n\n Messages.SubmitSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Career.Messages.SubmitSuccess', response);\n };\n Messages.SubmitSuccess.className = 'Vendd.Career.Messages.SubmitSuccess';\n\n Messages.SubmitFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Career.Messages.SubmitFailure', response);\n };\n Messages.SubmitFailure.className = 'Vendd.Career.Messages.SubmitFailure';\n\n return Messages;\n\n })(Career.Messages || {});\n\n return Career;\n\n })(Vendd.Career || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.CallMeBack = (function (CallMeBack) {\n\n CallMeBack.Messages = (function (Messages) {\n\n Messages.Submit = function (email, firstname, lastname, phone, message) {\n var data = {\n email: email,\n firstName: firstname,\n lastName: lastname,\n phone: phone,\n message: message\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.CallMeBack.Messages.Submit', data);\n };\n Messages.Submit.className = 'Vendd.CallMeBack.Messages.Submit';\n\n Messages.SubmitSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.CallMeBack.Messages.SubmitSuccess', response);\n };\n Messages.SubmitSuccess.className = 'Vendd.CallMeBack.Messages.SubmitSuccess';\n\n Messages.SubmitFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.CallMeBack.Messages.SubmitFailure', response);\n };\n Messages.SubmitFailure.className = 'Vendd.CallMeBack.Messages.SubmitFailure';\n\n return Messages;\n\n })(CallMeBack.Messages || {});\n\n return CallMeBack;\n\n })(Vendd.CallMeBack || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Article = (function (Article) {\n\n Article.Messages = (function (Messages) {\n\n Messages.ReviewSubmit = function (observable) {\n var data = {\n model: observable.model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Article.Messages.ReviewSubmit', data);\n };\n Messages.ReviewSubmit.className = 'Vendd.Article.Messages.ReviewSubmit';\n\n Messages.ReviewSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Article.Messages.ReviewSuccess', response);\n };\n Messages.ReviewSuccess.className = 'Vendd.Article.Messages.ReviewSuccess';\n\n Messages.ReviewFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Article.Messages.ReviewFailure', response);\n };\n Messages.ReviewFailure.className = 'Vendd.Article.Messages.ReviewFailure';\n\n Messages.ReviewVote = function (id, positive) {\n var data = {\n helpfullness: {\n Id: id,\n IsPositiveVote: positive\n }\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Article.Messages.ReviewVote', data);\n };\n Messages.ReviewVote.className = 'Vendd.Article.Messages.ReviewVote';\n\n Messages.ReviewVoteSuccess = function (response, vote) {\n response.data = JSON.parse(response.data);\n\n var data = {\n response: response,\n vote: vote\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Article.Messages.ReviewVoteSuccess', data);\n };\n Messages.ReviewVoteSuccess.className = 'Vendd.Article.Messages.ReviewVoteSuccess';\n\n Messages.ReviewVoteFailure = function (response, vote) {\n response.data = JSON.parse(response.data);\n\n var data = {\n response: response,\n vote: vote\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Article.Messages.ReviewVoteFailure', data);\n };\n Messages.ReviewVoteFailure.className = 'Vendd.Article.Messages.ReviewVoteFailure';\n\n return Messages;\n\n })(Article.Messages || {});\n\n return Article;\n\n })(Vendd.Article || {});\n\nreturn Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Recipe = (function (Recipe) {\n\n Recipe.Messages = (function (Messages) {\n\n Messages.GetModel = function (itemId, path, attributes) {\n var data = {\n itemId: itemId,\n path: path,\n attributes: attributes\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Recipe.Messages.GetModel', data);\n };\n Messages.GetModel.className = 'Vendd.Recipe.Messages.GetModel';\n\n Messages.GetModelSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetModelSuccess', response);\n };\n Messages.GetModelSuccess.className = 'Vendd.Product.Messages.GetModelSuccess';\n\n Messages.GetModelFailure = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Product.Messages.GetModelFailure', response);\n };\n Messages.GetModelFailure.className = 'Vendd.Product.Messages.GetModelFailure';\n\n Messages.Changed = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Recipe.Messages.Changed', response);\n };\n Messages.Changed.className = 'Vendd.Recipe.Messages.Changed';\n\n Messages.Failed = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Recipe.Messages.Failed', response);\n };\n Messages.Failed.className = 'Vendd.Recipe.Messages.Failed';\n\n return Messages;\n\n })(Recipe.Messages || {});\n\n return Recipe;\n\n })(Vendd.Recipe || {});\n\n\n return Vendd;\n\n})(Vendd || {});","var Vendd = (function (Vendd) {\n 'use strict';\n\n Vendd.Account = (function (Account) {\n\n Account.Messages = (function (Messages) {\n\n Messages.GetUserAccount = function (model) {\n var data = {\n model: model,\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetUserAccount', data);\n };\n Messages.GetUserAccount.className = 'Vendd.Account.Messages.GetUserAccount';\n\n Messages.GetUserAccountFailure = function (response) {\n var data = {\n response: response,\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetUserAccountFailure', data);\n };\n Messages.GetUserAccountFailure.className = 'Vendd.Account.Messages.GetUserAccountFailure';\n\n Messages.GetUserAccountSuccess = function (model) {\n var data = {\n model: model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetUserAccountSuccess', data);\n };\n Messages.GetUserAccountSuccess.className = 'Vendd.Account.Messages.GetUserAccountSuccess';\n\n\n //TODO: Refactoring\n Messages.EditUser = function (observable, valEngine) {\n\n var valOptions = {\n ValidationEngine: valEngine,\n valmodel: observable.model\n };\n Vendd.DataValidation.ValidateModel(valOptions);\n\n\n var data = {\n model: observable.model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.EditUser', data);\n };\n Messages.EditUser.className = 'Vendd.Account.Messages.EditUser';\n\n Messages.EditUserSuccess = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Account.Messages.EditUserSuccess\", response);\n };\n Messages.EditUserSuccess.className = 'Vendd.Account.Messages.EditUserSuccess';\n\n Messages.EditUserFailed = function (response) {\n response.data = JSON.parse(response.data);\n Vendd.MessageBus.VenddMessage.call(this, \"Vendd.Account.Messages.EditUserFailed\", response);\n };\n Messages.EditUserFailed.className = \"Vendd.Account.Messages.EditUserFailed\";\n\n Messages.GetAddresses = function (addressType) {\n var data = {\n addressType: addressType\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAddresses', data);\n };\n Messages.GetAddresses.className = \"Vendd.Account.Messages.GetAddresses\";\n\n Messages.GetAddressesSuccess = function (model) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAddressesSuccess', model);\n };\n Messages.GetAddressesSuccess.className = 'Vendd.Account.Messages.GetAddressesSuccess';\n\n Messages.GetAddressesFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAddressesFailed', response);\n };\n Messages.GetAddressesFailed.className = 'Vendd.Account.Messages.GetAddressesFailed';\n\n\n Messages.EditAddress = function (observable, addressType) {\n var data = {\n model: observable.model,\n addressType: addressType\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.EditAddress', data, addressType);\n };\n Messages.EditAddress.className = 'Vendd.Account.Messages.EditAddress';\n\n\n Messages.EditAddressSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.EditAddressSuccess', data);\n };\n Messages.EditAddressSuccess.className = 'Vendd.Account.Messages.EditAddressSuccess';\n\n Messages.EditAddressFailed = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.EditAddressFailed', data);\n };\n Messages.EditAddressFailed.className = 'Vendd.Account.Messages.EditAddressFailed';\n\n\n Messages.DeleteAddress = function (addressId, addressType) {\n var data = {\n addressId: addressId,\n addressType: addressType\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.DeleteAddress', data);\n };\n Messages.DeleteAddress.className = 'Vendd.Account.Messages.DeleteAddress';\n\n Messages.DeleteAddressSuccess = function (adressId) {\n var data = {\n adressId: adressId\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.DeleteAddressSuccess', adressId);\n };\n Messages.DeleteAddressSuccess.className = 'Vendd.Account.Messages.DeleteAddressSuccess';\n\n Messages.DeleteAddressFailure = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.DeleteAddressFailure', data);\n };\n Messages.DeleteAddressFailure.className = 'Vendd.Account.Messages.DeleteAddressFailure';\n\n\n Messages.SetDefaultAddress = function (addressId, addressType) {\n var data = {\n addressId: addressId,\n addressType: addressType\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.SetDefaultAddress', data);\n };\n Messages.SetDefaultAddress.className = 'Vendd.Account.Messages.SetDefaultAddress';\n\n Messages.SetDefaultAddressSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.SetDefaultAddressSuccess', data);\n };\n Messages.SetDefaultAddressSuccess.className = 'Vendd.Account.SetDefaultAddressSuccess';\n\n Messages.SetDefaultAddressFailure = function (model) {\n var data = {\n model: model\n\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.SetDefaultAddressFailure', data);\n };\n Messages.SetDefaultAddressFailure.className = 'Vendd.Account.Messages.SetDefaultAddressFailure';\n\n\n Messages.CheckAddressIfExists = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.CheckAddressIfExists', data);\n };\n Messages.CheckAddressIfExists.className = 'Vendd.Account.Messages.CheckAddressIfExists';\n\n Messages.CheckAddressIfExistsSuccess = function (response) {\n var data = {\n response: response\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.CheckAddressIfExistsSuccess', response);\n };\n Messages.CheckAddressIfExistsSuccess.className = 'Vendd.Account.Messages.CheckAddressIfExistsSuccess';\n\n Messages.CheckAddressIfExistsFailure = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.CheckAddressIfExistsFailure', data);\n };\n Messages.CheckAddressIfExistsFailure.className = 'Vendd.Account.Messages.CheckAddressIfExistsFailure';\n\n //TODO: Refactoring\n Messages.OpenAddressEditForm = function (observable, DoNotClone) {\n\n var address\n // Clone Object \n if (DoNotClone) {\n address = observable;\n } else {\n var modelCopy = jQuery.extend(true, {}, observable.model);\n var observableCopy = new Vendd.Observable(modelCopy);\n address = observableCopy;\n }\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.OpenAddressEditForm', address);\n };\n Messages.OpenAddressEditForm.className = 'Vendd.Account.Messages.OpenAddressEditForm';\n\n\n Messages.GetAreasForPostCode = function (observable, postCode, validateAfterLoad) {\n var data = {\n country: observable.model.Country,\n postCode: postCode,\n area: observable.model.Area,\n validateAfterLoad: validateAfterLoad\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAreasForPostCode', data);\n };\n Messages.GetAreasForPostCode.className = 'Vendd.Account.Messages.GetAreasForPostCode';\n\n Messages.GetAreasForPostCodeSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAreasForPostCodeSuccess', data);\n };\n Messages.GetAreasForPostCodeSuccess.className = 'Vendd.Account.Messages.GetAreasForPostCodeSuccess';\n\n Messages.GetAreasForPostCodeFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAreasForPostCodeFailed', response);\n };\n Messages.GetAreasForPostCodeFailed.className = 'Vendd.Account.Messages.GetAreasForPostCodeFailed';\n\n\n Messages.GetCountries = function (observable, addressType) {\n var data = {\n selectedCountryCode: observable.model.Country,\n addressType: addressType\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetCountries', data);\n };\n Messages.GetCountries.className = 'Vendd.Account.Messages.GetCountries';\n\n Messages.GetCountriesSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetCountriesSuccess', data);\n };\n Messages.GetCountriesSuccess.className = 'Vendd.Account.Messages.GetCountriesSuccess';\n\n Messages.GetCountriesFailed = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetCountriesFailed', response);\n };\n Messages.GetCountriesFailed.className = 'Vendd.Account.Messages.GetCountriesFailed';\n\n //todo: refactror \n Messages.GetPrefecture = function (countryCode, area, postCode) {\n var data = {\n postCode: postCode,\n area: area,\n countryCode: countryCode\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetPrefecture', data);\n };\n Messages.GetPrefecture.className = 'Vendd.Account.Messages.GetPrefecture';\n\n Messages.GetPrefectureSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetPrefectureSuccess', data);\n };\n Messages.GetPrefectureSuccess.className = 'Vendd.Account.Messages.GetPrefectureSuccess';\n\n Messages.GetPrefectureFailed = function (response) {\n response.data = JSON.parse(response.data);\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetPrefectureFailed', response);\n };\n Messages.GetPrefectureFailed.className = 'Vendd.Account.Messages.GetPrefectureFailed';\n\n 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 (observable) {\n var data = {\n countryCode: observable.model.Country\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAllTaxAgencies', data);\n };\n Messages.GetAllTaxAgencies.className = 'Vendd.Account.Messages.GetAllTaxAgencies';\n\n Messages.GetAllTaxAgenciesSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAllTaxAgenciesSuccess', data);\n };\n Messages.GetAllTaxAgenciesSuccess.className = 'Vendd.Account.Messages.GetAllTaxAgenciesSuccess';\n\n Messages.GetAllTaxAgenciesFailed = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAllTaxAgenciesFailed', response);\n };\n Messages.GetAllTaxAgenciesFailed.className = 'Vendd.Account.Messages.GetAllTaxAgenciesFailed';\n\n Messages.GetAllVatStatuses = function (observable) {\n var data = {\n\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAllVatStatuses', data);\n };\n Messages.GetAllVatStatuses.className = 'Vendd.Account.Messages.GetAllVatStatuses';\n\n Messages.GetAllVatStatusesSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAllVatStatusesSuccess', data);\n };\n Messages.GetAllVatStatusesSuccess.className = 'Vendd.Account.Messages.GetAllVatStatusesSuccess';\n\n Messages.GetAllVatStatusesFailed = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.GetAllVatStatusesFailed', response);\n };\n Messages.GetAllVatStatusesFailed.className = 'Vendd.Account.Messages.GetAllVatStatusesFailed';\n\n Messages.AddressModelChanged = function (response) {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.AddressModelChanged', response);\n };\n Messages.AddressModelChanged.className = 'Vendd.Account.Messages.AddressModelChanged';\n\n Messages.ConvertPointsToCoupons = function (accountId) {\n var data = {\n accountId: accountId,\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.ConvertPointsToCoupons', data);\n\n };\n Messages.ConvertPointsToCoupons.className = 'Vendd.Account.Messages.ConvertPointsToCoupons';\n\n Messages.ConvertPointsToCouponsFailure = function (response) {\n var data = {\n response: response,\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.ConvertPointsToCouponsFailure', response);\n };\n Messages.ConvertPointsToCouponsFailure.className = 'Vendd.Account.Messages.ConvertPointsToCouponsFailure';\n\n Messages.ConvertPointsToCouponsSuccess = function (model) {\n var data = {\n model: model\n };\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.ConvertPointsToCouponsSuccess', data);\n };\n Messages.ConvertPointsToCouponsSuccess.className = 'Vendd.Account.Messages.ConvertPointsToCouponsSuccess';\n\n Messages.ReloadEditControl = function () {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.ReloadEditControl', {});\n };\n Messages.ReloadEditControl.className = 'Vendd.Account.Messages.ReloadEditControl';\n\n Messages.ReloadEditControlSuccess = function () {\n\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.ReloadEditControlSuccess', {});\n };\n Messages.ReloadEditControlSuccess.className = 'Vendd.Account.Messages.ReloadEditControlSuccess';\n\n\n Messages.RequestToDeleteUser = function (model) {\n var data = { reason : model.Reason };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.RequestToDeleteUser', data);\n };\n Messages.RequestToDeleteUser.className = 'Vendd.Account.Messages.RequestToDeleteUser';\n\n Messages.RequestToDeleteUserSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.RequestToDeleteUserSuccess', data);\n };\n Messages.RequestToDeleteUserSuccess.className = 'Vendd.Account.Messages.RequestToDeleteUserSuccess';\n\n Messages.RequestToDeleteUserFailed = function(response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.RequestToDeleteUserFailed', response);\n };\n Messages.RequestToDeleteUserFailed.className = 'Vendd.Account.Messages.RequestToDeleteUserFailed';\n\n\n Messages.RequestToExportData = function () {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.RequestToExportData');\n };\n Messages.RequestToExportData.className = 'Vendd.Account.Messages.RequestToExportData';\n\n Messages.RequestToExportDataSuccess = function (model) {\n var data = {\n model: model\n };\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.RequestToExportDataSuccess', data);\n };\n Messages.RequestToExportDataSuccess.className = 'Vendd.Account.Messages.RequestToExportDataSuccess';\n\n Messages.RequestToExportDataFailed = function (response) {\n Vendd.MessageBus.VenddMessage.call(this, 'Vendd.Account.Messages.RequestToExportDataFailed', response);\n };\n Messages.RequestToExportDataFailed.className = 'Vendd.Account.Messages.RequestToExportDataFailed';\n\n 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\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 || {});"]}