{"version":3,"sources":["session.js","ageVerificationPopup_A.js","consentsManager.js","validation.js","form.js","sliders.js","facebookInit.js","formatPrices.js","numberFormatter.js","custom.js","header_B.js","tabPanel_A.js","handlebarsHelpers.js","offCanvasMenu_B.js","switchVersion_A.js","facebookLogin_A.js","googleLogin_A.js","inlineAdmin.js","shareButton_A.js","sortBySelector_A.js","pager_A.js","mainMenu_C.js","sidemenu_A.js","newsletterForm_A.js","currencySelector_A.js","loginForm_A.js","loginWidget_B.js","cartWidget_B.js","registerWidgetForm_A.js","wishlistWidget_A.js","userWishlistsWidget_A.js","userWishlists_A.js","lazyProductList_A.js","productBox_A.js","footer_A.js","elasticSearchBox_A.js","searchbox_A.js","productCompareWidget_B.js","lazyHtmlArea_A.js","cookieAcceptance_A.js","disqusLogin_A.js","faqlist_A.js","customForm_A.js","exportFile_A.js","giftcard_A.js","articleList_A.js","productList_A.js","filtersList_A.js","brandWidget_B.js","headerNotification_A.js","trackTraceForm_A.js","paymentOrder_A.js","warehouseSelectorPopup_A.js","warehouseSelectorPopupStepOne_A.js","warehouseSelectorPopupStepOne_B.js","warehouseSelectorPopupStepOne_C.js","warehouseSelectorPopupStepTwo_A.js","warehouseSelectorWidget_A.js","projectAgoraBanner_A.js","dynamicDiscountBanners_A.js","klarnaPlacement_A.js","trackingData.js","chameleon.js","contactpigeon.js","linkwise.js","facebookpixel.js","retargeting.js","phoneLocalization.js","tiktokpixel.js","googleDynamicRemarketing.js","googleConversionTracking.js","googleEcomTracking.js","googleEnhancedEcommerce.js","googleAnalytics4.js","skroutzAnalytics.js","bestPriceAnalytics.js","mailchimpecommerce360.js","rtbhouse.js","moosendTracking.js","glamiTracking.js","criteo.js","esatisfaction.js","projectAgora.js"],"names":["Vendd","Scripts","load","trackStatsCompleted","trackAffiliatesCompleted","trackStats","window","setTimeout","HandleItemStatistics","HandleProductStatistics","trackAffiliates","LhApp","Context","IsAffiliateTrackingEnabled","IsConsentsEnabled","ConsentsManager","cookiesStatus","marketingCookies","Function","PageTrackingRequest","MessageBus","publishAsync","User","Messages","GetSessionState","Item","Template","indexOf","subscribe","Product","SetSelected","envelope","GetSessionStateSuccess","Consents","InsertAllCookiesSuccess","ageCookie","$container","redirectUrl","cookieDuration","canClose","$wrapper","$","length","Cookies","get","data","toLowerCase","fancybox","margin","modal","afterClose","set","expires","samesite","trigger","click","close","location","href","addClass","removeClass","dontLoadOnLoginSuccess","self","this","cookie","cookieChecked","cookiesWidgetWrapper","cookiesModalWrapper","cookieTypeCodes","endpoints","insertConsents","getCookiesConsentsModel","insertAllCookies","updateAllUserConsents","getCookiesWidgetModel","showCookiesWidget","CookiesDisplay","initCookiesModal","hideCookiesWidget","createOrUpdateCookie","date","Date","setTime","getTime","consentsCookie","getJSON","dataLayer","push","functionalityCookiesEnabled","functionalityCookies","marketingCookiesEnabled","statisticCookiesEnabled","statisticCookies","getCookieStatus","userHasSetCookies","CookiesDefaultActive","onGetCookieModelSuccess","res","UserHasSetCookies","ApprovedFunctionalityCookies","ApprovedMarketingCookies","ApprovedStatisticsCookies","activateCookies","type","options","method","url","onSuccess","response","jQuery","inArray","getCookieConsentsModel","InsertConsents","onFailure","Service","call","Login","message","isLoginForm","remove","path","afterInsertAllCookiesSuccess","Math","random","initModalHtml","html","extend","cookiesModal","map","e","IsActive","ConsentTypeCode","Handlebars","parse","tabsCont","thisTab","siblings","index","fCookies","sCookies","mCookies","source","each","closest","is","registerEvents","trackingModel","Tracking","getTrackingModel","EnableGoogleTagManagerConsents","gtag","ad_storage","analytics_storage","functionality_storage","filter","l","event","LoginSuccess","success","on","preventDefault","ScriptsActivator","loadAllScripts","init","document","ValidationEngine","base","field","fields","firstTime","processFields","k","v","selector","enabled","undefined","processValidations","bindValidations","console","error","validations","key","value","validator","f","$elem","getValue","tag","getTagName","val","attr","prop","searchField","i","validateField","result","fn","opts","matchField","beforeValidation","optional","validationEngine","config","o","afterValidation","validateAll","elem","reset","j","destroy","removeData","addField","addFields","removeField","item","splice","removeFields","array","enable","disable","validate","va","trim","required","checkboxRequired","isEmail","test","isNumeric","isAlphaNumeric","match","value1","value2","arguments","limit","maxLength","minLength","validIBAN","digits","iban","String","toUpperCase","replace","code","GR","fragment","checksum","letter","charCodeAt","slice","offset","substring","parseInt","isSocialSecurityNumber","parameters","isEleven","totalX","Number","substr","isRuleX","totalY1","totalY2","isRuleY","isRuleFirstDigit","isGreekTaxIdentifier","taxIdentifier","isNaN","arrTaxId","split","pow","isServiceValidTaxIdentifier","isValid","isPhoneNumber","isGreekPhone","isGreekMobile","isValidPhoneLocalized","paremeters","iti","intlTelInputGlobals","getInstance","numberType","getNumberType","numberTypeIsValid","intlTelInputUtils","FIXED_LINE","FIXED_LINE_OR_MOBILE","MOBILE","isValidNumber","isValidPostalCode","country","areas","Forms","HookFormsFn","hookFormsFn","HookAjaxFormsFn","hookAjaxFormsFn","$forms","form","$form","validateOnKeyup","token","formUploadBoxesIds","formUploadBoxes","Array","$rows","r","row","$valField","tagName","setValue","s","ii","ubi","ub","id","isFileSelected","group","groupedFields","fieldValue","isMatchValid","gi","gItem","$validator","hide","show","validateSelected","showLoader","find","hideLoader","isLoading","hasClass","valid","keyup","keydown","preventSpecialCharacter","parents","change","update","keyCode","stopPropagation","configData","getConfig","submit","isButtonDisabled","generateVisitorToken","fub","box","input","uploaded","initCallback","bb","successCallback","checkUploadsAndSubmit","done","t","reqData","JSON","stringify","$ajaxForms","methodType","submitUrl","removeAttr","back","request","successMsgVal","$successSection","getText","validationMessage","$failureSection","me","successFn","responseData","parseJSON","d","Success","Code","Data","time","Time","failureFn","ex","responseText","invoke","ajax","async","dataType","contentType","ContentType","Url","getServiceEndpoint","failure","venddProjectConfigs","convertToGreek","convertToUppercase","initOwlSlider","singleItem","rewindSpeed","items","itemsDesktop","itemsDesktopSmall","itemsTablet","itemsMobile","ww","outerWidth","mobile","destroyOwlSlider","defSliderOptions","navigation","pagination","slideSpeed","scrollPerPage","paginationSpeed","addClassActive","navigationText","autoPlay","lazyLoad","container","afterUpdate","assignPagerValues","afterInit","parent","lazyload","afterMove","defOptions","owlCarousel","wrapper","pages","$item","eq","js","fjs","hasLikeBox","hasCustomerChat","ua","navigator","userAgent","isIE","facebookSettings","facebookSettingsEl","AppId","PageId","fbAsyncInit","FB","appId","autoLogAppEvents","xfbml","version","getElementsByTagName","getElementById","createElement","src","parentNode","insertBefore","$enableFormatPrices","formatPrices","$boxes","formed","$box","amount","formatPrice","pos","sep","Currency","DecimalSeparator","cur","decodeEntities","Symbol","NumberOfDigits","NumberFormatter","currencySymbol","currencyFirst","SymbolShownFirst","currencyVisible","DoShowSymbol","decimalSeparator","decimalDigits","pricePrefix","priceSuffix","numberLiteral","toString","number","parseFloat","parsePrice","priceLiteral","format","toFixed","formatInt","sidebar","fancyOverlayColor","fancyOverlayOpacity","rating","numbersOnly","shiftPressed","shiftKey","removeWhiteSpaces","phoneGROnly","currentTarget","stickyContainer","cssClass","containerHeight","height","scrlTop","scrollTop","before","spacer","scroll","scroll_to_class","element_class","removed_height","scroll_to","top","stop","animate","hideOnScrollDown","didScroll","lastScrollTop","setInterval","st","abs","validateEmail","email","isTouch","importEmailForRegistration","sessionStorage","getItem","initSideStickyColumn","stickyConfig","topSpacing","bottomSpacing","containerSelector","innerWrapperSelector","resizeSensor","minWidth","StickySidebar","initTooltips","tooltipBox","not","toggle","target","has","getParentOrSelfVendd","isElementInViewport","el","rect","getBoundingClientRect","left","bottom","innerHeight","documentElement","clientHeight","right","innerWidth","clientWidth","isElementPartialyInViewport","minSize","width","UpdateQueryString","re","RegExp","separator","hash","getQueryStringValueByName","name","results","exec","search","decodeURIComponent","stickyHeader","infoBarHeight","breadcrumbHeight","header","css","initSticky","stickyHeaderResponsive","inlineAdminHeight","eSatisfactionHeight","searchBarHeight","initStickyResponsive","resize","initResponsiveHeader","isMoved","detach","appendTo","insertAfter","initScrollDirection","previousScroll","currentScroll","initCallMeBack","open","toolbar","smallBtn","baseClass","afterShow","contents","initUspSlider","$header","$usps","carouselMainOpts","slidesToShow","slidesToScroll","autoplay","autoplaySpeed","infinite","dots","prevArrow","nextArrow","slick","calculateSearchHeight","headerHeight","closeHeaderElements","except","initTabPanel","innerWrapper","thisTabIndex","children","$this","ready","InitMyAccountFunctions","InitCheckoutFunctions","registerHelper","context","arg1","arg2","inverse","prependTo","Widget","BindControl","$context","$wrappers","AuthProviders","facebook","Error","login","$buttons","google","model","hasCookie","loading","bind","loadJS","callback","scriptTag","onload","onreadystatechange","appendChild","body","applyEditMode","encodeURIComponent","Logout","domain","hostname","protocol","post","alert","reload","InlineAdmin","CheckForInlineAdmin","UserSelect","ClearInterfaceUser","setParameterValue","newGuid","crypto","getRandomValues","Uint8Array","ClearInterfaceUserSuccess","CheckForInlineAdminSuccess","CallCenter","InterfaceUserIsNewGuest","CheckForInlineAdminFailure","CreateCookieForInlineAdminSuccess","languageMappings","control","Q","Username","Password","xhrFields","withCredentials","then","controls","controlFactory","Resolve","all","x","isPromise","Promise","resolve","reject","forEach","build","render","factoriesDictionary","prototype","register","factory","Object","keys","concat","controlBase","element","definition","Id","apply","productId","skuId","create","SiteId","siteId","ItemId","EntityCode","ItemPathChecksum","titleContainer","descriptionContainer","localization","ItemsLocalized","LanguageId","languageId","InlineEditor","editor","titleEditor","setData","Name","hasChanges","catch","descriptionEditor","description","getData","text","ctl","Site","Language","a","a2a_config","callbacks","addToAnyInit","onclick","num_services","prioritize","custom_services","exclude_services","a2a","sSelect","ddMaxHeight","targetUrl","ProductList","GetModelSuccess","Products","Items","SortBySelector","scrolled","newUrl","newParts","pageSizes","pageJumps","prev","next","parts","pageJump","$control","initPageSize","initComboPages","Pager","openClass","calculateMenuHeight","uselessHeight","closeMenu","$submenus","$el","$nav2","sensitivity","interval","over","timeout","out","hoverIntent","initTwoLevelMenu","$submenuItems","$nav3","$parentLi","initThreeLevelMenu","$openOffCanvas","$closeOffCanvas","$backMenu","$closeMenu","closeOffCanvasMenu","resetMainMenu","fadeIn","openOffCanvasMenu","debounce","initMobileMenu","$menu","$nav1","initMenuHeight","iconOpen","iconClose","toggleClass","_","$button","$categoriesWrapper","formData","subscriptionType","apiKey","mailparams","mailLists","option","Newsletter","Subscribe","$categoriesList","mailList","Action","MailListId","Provider","isPopUp","SubscribeSuccess","SubscribeFailure","Cart","ClearClientModel","loginFailedAttempts","isRecaptchaLoaded","isLoginSuccess","forms","LoginForm","$loginForm","$forgotForm","$loginFormButton","$forgotFormButton","loginForm","forgotForm","lf","ff","returnUrl","useEmailAsLoginName","captchaWidgetId","captchaId","$captchaElement","$captchaContainer","captchaEnabled","recaptchaCallback","isRecaptchaInitialized","initRecaptcha","htmlExists","sitekey","grecaptcha","initLoginForm","loginName","password","rememberMe","loginRedirectUrl","logoutRedirectUrl","reCaptchaCode","forgotFormData","validateRecaptcha","resetRecaptcha","removeRecaptcha","usermodel","MultipleWishlistsEnabled","UserWishlist","LoginRedirectUrl","_logoutRedirectUrl","LogoutRedirectUrl","renderInline","pathname","publish","CreateCookieForInlineAdmin","CreateCookieForInlineAdminOnSuccess","loginURL","InLineAdminEndpoint","username","always","baseUrl","host","CreateCookieForInlineAdminOnFailure","vendd_submit","IsSubmitted","val1","val2","currentUrl","accessToken","GetUserViewModelSuccess","LoginFailure","CreateCookieForInlineAdminFailure","ForgotPassword","ForgotPasswordSuccess","ForgotPasswordFailure","loginNameVal","valOpts","checkInitRecaptcha","formobj","SsoEnabled","SsoLogin","initSsoLoginForm","Plugins","RecaptcaLoaded","ActionCounters","FailedLogin","LoginSubmit","loaded","recaptchaLoaded","appendRecaptcha","WidgetOpened","LoginWidget","minimalUpdate","script","LogoutSuccess","GetUserViewModel","widgetName","openWidget","userTriggeredOpen","IsPartiallyLoaded","GetModel","CartWidget","extendModel","ClientEnhancedModel","CartWidgetDisplayOptions","ShowProductCount","ProductsCount","CountAsOneInCart","ProductsInCart","empty","conTotal","initCategoryMenu","$list","$items","$cartMenu","$destination","clone","Remove","OpenWidget","Changed","Failed","IsAddToCartAllowed","toastr","WidgetLiterals","AddToCartAllowedText","timeOut","showDuration","hideDuration","Warning","warning","ProductAdded","flag","isDisabled","CheckoutStatus","IsDisabled","reason","Reason","ReasonText","setItem","MultipleAddSuccess","immediate","isB2B","IsB2BUser","isAuthenticated","IsAuthenticated","SiteIsLocked","findEmailAttempts","RegisterWidgetForm","$registerWidgetForm","registerWidgetForm","initRegisterWidgetForm","clicked","formremoveRecaptcha","CanRegister","rf","fieldName","CanRegisterSuccess","CanRegisterFailure","SsoRegister","initSsoRegistrationForm","CanRegistrer","WishlistWidget","cycle","slides","fx","log","carouselVertical","carouselVisible","allowWrap","disabledClass","Wishlist","MoveAllToCart","AddToWishlistSuccess","fbPixelTracker","fbPixelCanTrack","Properties","FacebookPixelId","fbq","RemoveFromWishlistSuccess","WishlistWarning","ErrorMessage","focus","AddSuccess","RemoveSuccess","wf","listName","IsUserWishlistsWidget","initValidation","listId","qs","QueryString","getValueOf","visitorListId","DeleteWishlist","VisitorListId","SaveWishlist","sender","userWishlistForm","UpdateProductWishlists","userWishlist","$userWishlist","$qty","product","qty","stringToNumber","InitValidation","ShowProductWishlists","GetClientModel","HideAllProductWishlists","ValOpts","reInitLazyProductLists","colorId","$lazyPds","configs","currentitemid","$lazypd","configCode","templateCode","entityCode","itemId","refreshInterval","nodeId","nodePath","photoDimensionId","LazyProductList","GetLazyProductList","addSkuParameterInProductBox","$productBox","selectedColorId","state","$selectedSkuLink","productBox","variantId","defaultColor","$link","query","Quickbuy","initState","selectedColorModel","Colors","defaultSizeId","first","AvailableSizes","selectedSku","GetSkuData","SkuData","SkuId","backToTop","$backToTop","initFooterMenuToggle","mainCont","hiddenCont","accordion","$userWishlists","$wishlist","currentListId","Add","SaveWishlistFailed","$input","$toggleButton","$closeButton","pdPageSize","catPageSize","artPageSize","showOnlyProducts","mask","lazyLoadPrices","$elastic","searchTerm","pdPageNum","pdPageStart","pdFirstShown","pdLastShown","catPageNum","catFirstShown","catLastShown","catPageStart","artPageNum","artPageStart","artFirstShown","artLastShown","scrollToPd","scrollToCat","scrollToArt","ElasticSearch","GetCategoryElasticResultsFailed","categories","GetProductElasticResultsFailed","products","GetArticleElasticResultsFailed","article","GetCategoryElasticResultsSuccess","GetProductElasticResultsSuccess","GetArticleElasticResultsSuccess","articles","hits","defaultSkuDimension","_source","Dimensions","VariantId","DefaultSkuDimension","IsGiftCard","ProductType","currentUser","customPrices","HasCustomPrices","obj","itemIds","pluck","fetchPrices","fetchAvailabilities","fetchStock","ScrollList","GetClientProductListData","GetClientProductListDataSuccess","b2bModel","B2B","shouldHidePrices","DisplayOptions","ShouldHidePrice","b2b","LazyLoadPrices","ShowPriceWithoutVat","modelWithPrices","selectedProduct","Prices","unsubscribe","search_string","pdPaging","catPaging","artPaging","showList","clearValue","checkSearchTerm","pdCont","pdTotal","append","GetProductElasticResults","catCont","catTotal","GetCategoryElasticResults","artCont","artTotal","GetArticleElasticResults","expand","initSearch","toggleButton","filtered","$category","$suggestive","hideEvent","Search","GetSuggestiveResultsFailed","GetSuggestiveResultsSuccess","transformData","SearchProductsUrl","categoriesFilter","removeParameterFromUrl","category","GetSuggestiveResults","delay","hover","clearTimeout","MoreProducts","Manufacturers","ManufacturersCount","Categories","CategoriesCount","MoreCategories","ItemsCount","MaxProductsExceeded","ProductCompare","ProductCompareWidget","Clear","ProductCompareAdded","validation","erroMessage","ProductCompareRemoved","GetWidgetModel","GetWidgetModelSuccess","defaultCallExecuted","defaultCall","SessionState","wrpr","configuration","HasQuickBuy","addToQuickbuyList","partial","SeoTitle","connectedList","ItemsCountText","AlreadyInCartEnabled","AlreadyInWishlistEnabled","AlreadyInCompareListEnabled","onGetClientProductListDataSuccess","GetClientProductListDataFailure","onGetClientProductListDataFailure","HasColorSelector","getConfiguration","setModel","LazyPrices","LazyAvailabilities","itemVariantId","itemData","prices","Price","points","Points","pointsGain","PointsGain","countdownPrices","CountDownProperties","Discount","DiscountValue","DeletedPrice","CurrentPrice","displayedPrice","$currentPrice","PointsPrice","TotalPointsGain","availability","Availability","AvailabilityData","cartEnabled","CanBuy","AvailabilityActionId","LazyProductListSuccess","$connectedFilter","FilterProduct","Filters","$configuration","configurations","wrappers","htmlTemplate","LazyHtmlArea","LazyHtmlAreaSuccess","innerwrapper","configIndex","removeConfiguration","GetLazyHtmlArea","identifier","disqusUrl","DISQUS","page","disqus","slideUp","slideDown","initFaq","files","sentConsents","submitted","phone","radio","checkbox","dropdown","fileUploadEnabled","invalidUpload","fileUploadStep","validateFileUpload","Errors","checkConsents","checkboxes","chkbx","approved","widgetCode","useReCaptcha","file","reader","FileReader","readAsDataURL","onerror","fileData","CustomForms","Submit","cf","clearUploadErrors","val3","initialValidation","setField","$file","fileIndex","validationOptions","inputName","consentType","phoneLocalizationEnabled","touch","autoFocus","fileupload","autoUpload","singleFileUploads","fileInput","add","maxFileSize","fileTypes","acceptFileTypes","SubmitSuccess","SubmitFailure","links","exportCode","listingId","Export","GetListingExport","GetListingExportSuccess","link","today","dd","getDate","mm","getMonth","yyyy","getFullYear","fname","blb","Blob","toArrayBuffer","_buffer","File","URL","createObjectURL","GetListingExportFailure","$formWrapper","$success","$error","fromName","toName","emailconfirm","customText","$selectedGiftcard","enhancedInfo","giftCardsInfo","FromName","Email","ToName","CustomText","minQuantity","maxQuantity","quanta","wishlistArticleBindClicks","articleId","articleUrl","$removeBox","WishlistArticle","WishlistArticleWidget","addEventListener","ArticleId","scrolledWrapper","$scrolledWrapper","isScrolled","totalPages","forwardUpdates","hasNext","list","lastItem","$html","last","grouping","rowSize","currentIndex","li","PageNumber","wrapBoxes","GetNextPage","GetPageSuccess","GetNextPageFailure","updatePageUrl","pageNumber","pager","pageCount","comboPager","$comboPager","history","pushState","querystring","pageText","prevLink","nextLink","replaceState","colorSelectorCallback","$quickBuyBoxes","initProducboxHover","takeawayprice","renderPrice","initTakeAwayPrice","cartIds","MultipleRemove","MultipleRemoveSuccess","SuccessMessage","extraAttributes","bundleItems","color","size","recipeItems","comboItems","defaultcolorId","itemInfo","SelectedColorId","wishlistItemId","varId","wishlistModel","localStorage","$spinner","min","max","step","Helpers","isInteger","skuData","jsonArr","FinalSkuPrices","QuantityPrices","quantity","quantityPrice","From","Value","To","unitPrice","DisplayTotalValue","updateQuantityPrice","ProductSelected","selectedColorName","selectedColorSrc","colorImages","ColorImages","images","imageCont","Href","maxWidth","fitToView","autoSize","closeClick","openEffect","closeEffect","padding","beforeShow","fancy","deliveryPointId","SetDeliveryPoint","userModel","selectedColor","dimensionWidget","quantitySelector","cartButton","wishlistButton","compareButton","priceElement","deletedPriceElement","discountPercentageElement","discountValueElement","image","HasColors","HasSizes","HasDim3","HasSingleDim","HasTwoDims","HasThreeDims","createNewColorState","defaultDimId","createNewState","createNewSizeState","createNewDim3State","GetUserModel","UpdateBoxData","imgSrc","selectedSizeId","SelectedSizeId","selectedDim3Id","SelectedDim3Id","HasSingleColor","HasSingleSize","HasSingleDim3","CanPreorder","NoAvailabilityName","selectedsku","$wishlistButton","UnitPrice","DiscountPercentage","$wrap","isColorList","isSizeList","isDim3List","Update","initQuickBuy","quantityInCart","idsInCart","inCart","ProductId","contains","SkuList","Quantity","productInWishlist","productInCompare","$compareButton","$pl","$selectedRelatedPl","$mainPL","hasInfiniteScroll","hasScrollId","jsonConfiguration","$resultsFancyboxLink","$resultsWraper","hasQuickbuy","hasColorSelector","forwardUpdatesCup","backwardUpdates","backwardUpdatesCup","pagerModel","GetCurrentPage","direction","position","exVatText","inVatText","indicator","latePos","elementFocused","initPos","windowPos","prepend","effect","threshold","skip_invisible","productItems","dataObj","onFailureCurrent","_LTracker","Message Error","publisher","onSuccessCurrent","dataListMovement","GetPreviousPage","updatePlOnFiltersChange","updateSticky","updatePageScroll","PrevPageNumber","NextPageNumber","PagesCount","PagesSize","PagesNumber","PageText","ItemsOfText","IsFirstPage","updatePagerAttr","plData","itemPath","ItemPath","pageSize","sortKey","SortKey","fullPath","FullPath","includeFilters","defaultUriFilter","excludeItemIds","ExcludeItemIds","relationshipTypeName","xRelatedProducts","EnableNoImage","isLazyLoadEnabled","imageTypeCodeArray","GetReplacedByProducts","initializeReplacedPL","isChecked","updateButtonStatus","prObj","MultipleAdd","GetCurrentPageSuccess","GetCurrentPageFailure","GetPreviousPageFailure","partials","multipleAddResults_A","GetReplacedByProductsSuccess","initLazyLoadPrices","showPriceWithoutVat","currentPrice","PriceWithoutVat","FromPriceText","FromPriceWithoutVatText","CurrentPriceWithoutVat","deletedPrice","DeletedPriceWithoutVat","deletedPriceValue","currentPriceValue","mainPL","scrollToProductId","img","removeItem","complete","imageElement","scrollToProduct","scrollRestoration","documentURL","isAjaxLoad","hasSubmitButton","UpdateProductList","$ajaxPL","ajaxPL","queryString","removeValueFromCommaSeparatedString","values","join","getInputFilterValues","$rangeInputFilter","rangeFilter","tempValueFrom","urlWithItem","$filter","$inputFrom","valFrom","$inputTo","valTo","initFilters","filterKey","columnSize","urlWithoutItem","queryName","queryValue","FilterScrollMobileEnabled","saveFiltersState","List","valueNames","matchingItems","filterwrap","dateFrom","dateTo","searchParam","off","toggleFilters","multiplier","closeExpandedFilters","FilterTextMore","FilterTextLess","filters","$slider","$init","$text","urlMask","textMask","symbol","minValue","maxValue","currentMinValue","currentMaxValue","rangeDisabled","fromMax","toMin","ionRangeSlider","grid","from","to","from_max","to_min","block","postfix","skin","hide_min_max","onChange","onFinish","filtersScroll","openedFilter","openFiltersAfterReload","GetLanguageTranslateUrl","GetLanguageTranslateUrlSuccess","urlModel","Iso2Code","calculateHeight","$criticalHeight","$trackTraceForm","trackTraceForm","providerId","voucherCode","orderCode","TrackTrace","GetTrackTraceModel","GetTrackTraceModelSuccess","$paymentOrder","isPaymentOrderAmount","numericLiteral","billingAddress.firstName","billingAddress.lastName","billingAddress.email","billingAddress.phone","billingAddress.mobile","billingAddress.fax","billingAddress.country","billingAddress.address","billingAddress.address2","billingAddress.postCode","billingAddress.city","billingAddress.prefecture","preferredAmount","paymentMethod","updateJSONFieldValues","scrollToError","iframeUrl","$formRowsWithError","scrollOffsetY","logInputData","$field","fieldPrefix","$inputs","inputValue","$root","$steps","$backButton","currentStep","updateViewState","status","switchToStep","onShowing","WarehouseSelector","GetPopupModel","StateChanged","onShown","onHiding","onHidden","GetPopupModelSuccess","GetPopupModelFailed","OpenPopup","beforeClose","ClosePopup","GetStoresSuccess","GetStoresFailed","SetShippingMethodSuccess","toggleDisabled","selectedVal","$postCode","$submitButton","postCode","validationError","updatePostCode","GetStoresByPostCode","$postCodeButton","$area","area","shouldReloadAreas","loadingAreas","loadAreas","updateArea","GetGeoAreas","onAreasLoaded","updateAreaSelector","GeoAreas","GetStoresByGeoArea","GetGeoAreasSuccess","GetGeoAreasFailed","googleMaps","apiUrl","GoogleMapsKey","language","region","Country","useViewport","googleMapOptions","disableDefaultUI","zoomControl","mapTypeControl","fullscreenControl","googleMapsLoaded","warehouseSelectorContext","$map","$locateButton","$address","$addressButton","marker","geolocationAccessDenied","address","locationId","$location","initMap","moveMarkerToLocation","getSelectedLocation","mapOptions","mapZoom","mapLatitude","mapLongitude","zoom","center","lat","lng","maps","Map","addListener","onMapClick","Marker","draggable","onMarkerDragEnd","Address","locationAddress","AddressComponents","StreetNumber","locationStreetNumber","StreetName","locationStreetName","Area","locationArea","City","locationCity","Prefecture","locationPrefecture","PostalCode","locationPostalCode","CountryCode","locationCountryCode","Coordinates","Latitude","locationLatitude","Longitude","locationLongitude","convertDataToModel","LatLng","isVisible","getMap","getPosition","setTitle","setPosition","setMap","Viewport","fitBounds","south","Southwest","west","north","Northeast","east","panTo","setZoom","setCenter","updateMarkerPosition","reverseGeocode","updateAddress","geocode","updateLocationId","updateAndSelectLocationSuggestion","IsSelected","updateLocationSuggestions","locations","geocoding","reverseGeocoding","cancelGeocode","beforeSend","jqXHR","convertPlacesToModel","error_message","latlng","toUrlValue","abort","latLng","geolocation","getCurrentPosition","coords","latitude","longitude","GetStoresByLocation","places","place","types","includes","place_id","formatted_address","getAddressComponent","address_components","geometry","viewport","northeast","southwest","convertPlaceToModel","components","fieldType","component","short_name","scripts","installScript","defer","GoogleMapsLoaded","$formDelivery","$formFromStore","$store","$submitDeliveryButton","$submitFromStoreButton","supportsDelivery","supportsFromStore","store","Stores","$selector","IsDeliveryShippingMethodSupported","IsFromStoreShippingMethodSupported","updateStore","SetDeliveryShippingMethod","SetFromStoreShippingMethod","SetShippingMethodFailed","mode","isDisplayed","isRequired","isSpecified","selectionKey","forceDisplay","shouldOpenConditions","force","shouldOpenUnconditionally","startup","shouldOpenOnStartup","addtocart","shouldOpenOnAddToCart","checkout","default","displayMode","displayCount","display","condition","onaddtocart","oncheckout","refresh","GetModelFailed","trackingId","ProjectAgora","TrackBannerImpression","asyncLoad","GetBanner","widgetId","filterSearchTerm","filterCategoryPathComponents","onGetBannerSuccess","WidgetId","onGetBannerFailure","GetBannerSuccess","GetBannerFailure","discounts","popUpIsOpen","noDiscountCookie","popupCookie","IsLocalStorageCache","GetPromotedDiscounts","GetPromotedDiscountsSuccess","initDynamicDiscountBanners","displayedDiscounts","featuredDiscounts","difference","filteredItems","initPopUp","supportedLocales","en","de","nl","fr","cs","da","fi","sv","it","es","nb","pl","pt","ro","klarnaConfig","IsEnabled","klarnaPlacement","lang","getAttribute","locale","supportedCountries","resolveLocale","dataset","manipulateLanguageCountry","hasAttribute","purchaseAmount","manipulateAmount","clientId","ClientId","environment","IsProduction","TrackingModel","winPerf","performance","winPerfNavEntryTypes","getEntriesByType","updTrackingData","BrowserNavigation","Reload","BackForward","Order","isTest","Request","IsLocal","IsDebug","completionServerReloaded","CompletionPageLoadCounter","browserReloadedOrBackForward","IsAlreadyTracked","updateTrackingData","GoogleTagManagerCode","InitGoogleTagManager","GoogleAnalyticsCode","canTrack","InitGoogleAnalytics","TrackingData","ProductListsData","lists","updatedProducts","idx","Title","Brand","Manufacturer","Category","Path","Color","sel_color","Size","sel_size","PriceN","Fields","FinalPrices","round","DisplayPrice","TotalValue","CurrentPriceN","PriceWithoutVatN","NetValue","CurrentPriceWithoutVatN","Position","Image","Images","origin","TrackingPath","merge","ProductsUpdated","Index","modelProduct","updateProductPrice","productList","productInList","listItem","Tracker","getTracker","ChameleonCode","ChameleonId","ChameleonProjectName","_isUserSelectedProduct","cookieType","CookieGroupCode","CanTrack","_cartAddResponses","Init","cartModel","AddToCartTrack","p","pCartItemModel","Track","getFeedItemId","shift","visitorInitiated","iid","setAttribute","style","FVPMS","b","pid_data","end_pos","lastIndexOf","extra_param","IsProductListPage","ids","listItems","IsProductDetailsPage","ProductData","IsThankYouPage","CartProductsData","TotalPrice","ContactPigeonAccount","ContactPigeonUrl","startsWith","cpaE","scr","cpaAccount","cpa_async","ctag","utmipn","utmipc","utmtid","utmtto","cutmcn","cutmcc","ContactPigeonConfig","cpanots_config","angular","oScope","scope","tracked","checkoutEmail","Model","Profile","IsCheckoutPage","orderAngularElement","orderScope","LinkWiseProgramId","IsCartPage","lw","price","payout","UnitPriceWithoutVatN","q","IsHomePage","InitialPriceWithoutVatN","DiscountAmountWithoutVatN","orderid","ra_key","ra_params","initPhoneLocalization","formRow","getElementsByClassName","initPlugin","querySelector","itiOptions","validationType","defaultItiOptions","initialCountry","preferredCountries","autoPlaceholder","formatOnDisplay","utilsScript","placeholderNumberType","intlTelInput","phoneLocalizationAutoCompleteCode","fullNumber","getNumber","pAddResponse","productContent","content_type","content_name","content_category","currency","content_ids","UnitPriceN","n","callMethod","queue","_fbq","em","sha256","Billing","FirstName","ln","LastName","ph","Mobile","zp","PostCode","external_id","orderproductIds","orderNames","orderproductIdsOBJarr","TotalPriceN","CategoryName","TikTokPixelId","ttq","track","content_id","w","TiktokAnalyticsObject","methods","setAndDefer","instance","_i","_u","_t","_o","orderProducts","_userIdentifier","_currentPath","HashedEmail","ecomm_userid","ecomm_pagetype","ecomm_prodid","ecomm_category","ecomm_totalvalue","len","Summary","GoogleConversionId","GoogleConversionLabel","google_conversion_id","google_conversion_label","google_conversion_value","google_conversion_currency","google_remarketing_only","GoogleConversionRemarketingOnly","dimsInName","EcomTrackingDimensionsInName","brands","sku","ManufacturerProductCode","Dim3","discountType","Discounts","typeDiscounts","discount","AmountN","IsSplitOnProducts","Coupon","AmountWithoutVatN","transactionId","transactionAffiliation","transactionTotal","ProductsCostWithouVatN","transactionTax","VatCostN","transactionShipping","ShippingCostWithoutVatN","transactionProducts","sort","gAnalyticsCode","_currentCartModel","_trackQueue","_batchSize","EnhancedEcommerceBatchProductsAmount","_maxCategoryLength","EnhancedEcommerceMaxCategoryLength","_maxTitleLength","EnhancedEcommerceMaxTitleLength","removeFromList","analyticsBatch","getCookie","cid","gid","tid","prArg","prodData","prod","brand","variant","dimension1","requiredData","title","affiliation","additionalData","tax","shipping","send","settings","crossDomain","_Initialized","IsAllOtherPages","flatten","toArray","ecImpressions","batch","ecImpression","CleanUpTrackingProduct","DefaultColor","nonInteraction","DataLayerPush","ecommerce","impressions","ecAddProduct","detail","amazonSuggestedProductsList","amazonListCode","addToCart","creative","ecAddProducts","actionField","ecActionField","currentBatchProducts","revenue","purchase","smScope","$watch","current","previous","checkout_option","TrackingScriptName","dim","dimension","ColorId","SizeId","findIndex","hasOwnProperty","TrackUsingGA","ga","PopulateDataLayer","listToProductMap","sessionID","homeQuickBuyItemIndex","triggerViewItemList","previousCartModel","wishModel","currentColor","_wishAddResponses","dontTrackNextViewCart","idsToRemove","loginTracked","quantityChanged","firstCartChanged","PLScrollRegistered","cartItems","mapItem","some","cartItem","itemInCart","SetQuantitySuccess","newCartModel","changedItem","currentItem","previousItem","currentItemState","previousItemState","findChangedItem","eventType","currentQuantity","previousQuantity","listKey","itemDataFormattedExtended","addCategories","item_id","item_name","item_brand","item_list_id","item_list_name","item_variant","pushEvent","trackQuantityChange","pdColor","pdList","pdIndex","IsFreeGift","totalPriceWithoutVat","TotalWithoutVat","SelectedProductColorId","ColorData","VersionId","lastListCookie","$envSenderList","isQuickBuy","listType","listTitle","AddToWishTrack","pdFirstDimension","pdPriceWithoutVatN","RegisterSuccess","B2BRegisterSuccess","loginEvent","isAsync","listCurrentVersion","trackedLists","viewedItems","loginEventFromStorage","currentUserModelFromStorage","currentUserModel","userIdentifier","UserIdentifier","userId","IsBrandPage","checkViewableLists","entries","$thisEl","trackedItems","checkTrackedLists","listValues","numOfItems","itemDataFormatted","batchSize","batches","breakArrayTo","trackList","evt","productObject","cookieData","bindSelectItemEvent","firstlistName","$firstPL","$quickBuySearchBox","maxResults","$productsList","$products","startIndex","$product","skuQueryString","getthelooklist","totalPrice","coupons","Coupons","couponCode","combineCoupons","PriceWithoutVatText","ManufacturerName","TotalCost","coupon","shippingInfoPushed","paymentInfoPushed","pushAddShippingInfo","deliveryPointName","shipping_tier","pushAddPaymentInfo","paymentInfo","payment_type","$watchGroup","newValues","oldValues","newCompanyId","newMethodId","newGeoZones","newStoreId","oldCompanyId","oldMethodId","oldGeoZones","newPMethodId","newProcessorId","oldPMethodId","oldProcessorId","deliveryPointCode","DeliveryPoint","checkShipping","paymentMethodName","PaymentMethod","processorCode","ProcessorCode","checkPayment","transaction_id","StoreName","addthis","service","inlineAdminGlobalVariables","share","checkViewablePromos","trackedPromo","creative_slot","creative_name","promoInSlider","func","methodName","hookedFunc","suggestionsCount","resultsCount","searchResults","searchSuggestions","pushSearch","titleTrimmed","$resultItem","searchResultItem","bindResultClick","searchSuggestionItem","bindSuggestionClick","originalMethod","args","trackSearch","item_category","couponCodes","SkroutzAnalyticsCode","c","g","skroutz_analytics","adjustedPriceItems","orderDiscountsNotAppliedOnProductsN","reduce","total","IsSpitOnProducts","orderItems","priceReduction","orderItemsSumN","totalDistributedDiscount","productDiscount","productVolumePercent","productUnitdiscount","AdjustPrices","skroutzOrder","order_id","FinalPaymentCostN","ShippingCostN","SkrouztAnalytics_addOrder","skroutzOrderItem","product_id","SkrouztAnalytics_addItem","BestPriceAnalyticsId","__bp360","charset","head","bp","bpOrder","orderId","PaymentCostN","BestPriceAnalytics_addOrder","bpProduct","BestPriceAnalytics_addItem","qs_mc_cid","unescape","RawUrl","qs_mc_eid","mc_cid","mc_eid","MailChimpEcommerce360Tracking","RtbHashCode","productIds","ExtraProductListTemplateCodes","trackData","ProductsCostN","frameborder","MoosendTrackingId","trackP","itemCode","itemName","itemImage","FeedImage","IsSecure","itemPrice","itemUrl","GetItemUrl","itemQuantity","itemTotalPrice","itemCategory","itemManufacturer","mootrack","trackProduct","now","MooTrackerObject","attachEvent","TrackingGlamiId","glami","item_ids","product_names","h","extraProductListsTemplates","GlamiExtraProductListsTemplates","product_ids","category_text","GlamiCategoryTextSeperator","CriteoId","CriteoTMS","_criteo_q","criteo_q","criteoItems","FinalPriceN","account","trackOrder","CustomerEmail","CustomerMobiles","transaction_date","CompletedDateTime","store_pickup","IsStorePickup","store_id","StoreCode","CitrusAd","trackingScriptName","tracker","ModuleConfiguration","Cantrack","InitAll","projectAgoraBaseUrl","BaseUrl","trackableSelector","trackingClassName","displayedClassName","trackingElements","displayedTrackingIds","clickedTrackingIds","reportedDisplayedTrackingIds","reportedClickedTrackingIds","citrusAd","reportClick","processClick","updateDisplayedElements","processQueuedImpressions","updateTrackingElements","processQueuedClicks","sessionId","SessionId","disableTracking","trackingOptions","reportImpression","getVariations","stock","details","getDetails","dimensions","category_name","getBreadcrumb","excludeIds","breadcrumb","fullPathIdsString","fullPathNames","fullPathIds","getInventory","colors","sizes","inventory","variations","_retargetingTrackerApiKey","RetargetingTrackerApiKey","initEvents","sendBrandInfo","sendCategoryInfo","visitHelpPageInfo","mainProductImg","BrandId","BrandName","setRetargetingInfo","sendEvent","CategoryId","sendProductInfo","DeletedPriceN","promo","Sizes","sendProduct","cartProductsData","getCheckoutIds","modelData","codes","saveOrderInfo","order_no","lastname","firstname","city","discount_code","rebates","fees","saveOrderProducts","variation_code","saveOrder","visit","addToCartInfo","variation","removeFromCartInfo","removeFromCart","Register","setEmail","subscribeEmailInfo","clickImage","param","paramName","ra","_ra","paramsArray","isRegister","setEmailInfo","firstName","lastName","mobilephone"],"mappings":"AAAAA,MAAAC,QAAAC,KAAA,WACA,aAiBA,IAAAC,oBAaAC,yBAZA,SAAAC,aAEAC,OAAAC,WAAA,WACAJ,sBAEAA,qBAAA,EAEAH,MAAAQ,u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{\n 'use strict';\n\n Vendd.MessageBus.publishAsync(Vendd.User, new Vendd.User.Messages.GetSessionState());\n\n if (LhApp.Context.Item.Template.indexOf('productDetails') >= 0) {\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.SetSelected, 'session.js', function (envelope) {\n trackStats();\n trackAffiliates();\n });\n }\n else {\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionStateSuccess, 'session.js', function (envelope) {\n trackStats();\n trackAffiliates();\n });\n }\n\n var trackStatsCompleted;\n function trackStats() {\n //just tracking. allow some delay.\n window.setTimeout(function () {\n if (trackStatsCompleted)\n return;\n trackStatsCompleted = true;\n\n Vendd.HandleItemStatistics();\n Vendd.HandleProductStatistics();\n }, 1000);\n }\n\n var trackAffiliatesCompleted;\n function trackAffiliates() {\n //page trackiing disbaled\n if (!LhApp.Context.IsAffiliateTrackingEnabled)\n return;\n\n //just tracking. allow some delay.\n window.setTimeout(function () {\n if (trackAffiliatesCompleted)\n return;\n\n if (LhApp.Context.IsConsentsEnabled) {\n if (window.ConsentsManager.cookiesStatus.marketingCookies) {\n trackAffiliatesCompleted = true;\n LhApp.Function.PageTrackingRequest();\n }\n } else {\n trackAffiliatesCompleted = true;\n LhApp.Function.PageTrackingRequest();\n }\n }, 1000);\n }\n\n Vendd.MessageBus.subscribe(Vendd.Consents.Messages.InsertAllCookiesSuccess, 'session.js.InsertAllCookiesSuccess', function () {\n trackAffiliates();\n });\n});","Vendd.Scripts.load(function () {\n\n var $wrapper = $('.x-age-verification-popup');\n\n if ($wrapper.length < 1)\n return;\n\n InitAgeVerificationPopUp();\n\n function InitAgeVerificationPopUp() {\n\n var ageCookie = Cookies.get('aboveAge');\n\n var $container = $('.age-verification-popup', $wrapper);\n\n var redirectUrl = $container.data('redirect-url');\n var cookieDuration = $container.data('cookie-duration') || 30;\n var canClose = $container.data('can-close').toLowerCase() === 'true';\n\n if (!ageCookie || typeof ageCookie === \"undefined\") {\n $('.open-fancy-age', $wrapper).fancybox({\n margin: [20, 0],\n modal: !canClose,\n afterClose: function () {\n Cookies.set(\"aboveAge\", true, { expires: cookieDuration, samesite: 'Lax' });\n }\n });\n //open fancybox\n $('.open-fancy-age', $wrapper).trigger(\"click\"); \n\n //age verification\n $('.js-verification', $container).click(function () {\n $.fancybox.close(true);\n });\n\n //age prohibition\n $('.js-prohibition', $container).click(function () {\n if (redirectUrl.length > 0) {\n window.location.href = redirectUrl;\n } else {\n $('.fancy-age-container').addClass('no-verification');\n }\n });\n\n //back to age verification\n $('.js-back-to-verification', $container).click(function () {\n $('.fancy-age-container').removeClass('no-verification');\n });\n } \n }\n});\n","Vendd.Scripts.load(function () {\n\n window.ConsentsManager = new ConsentsManager();\n\n function ConsentsManager() {\n var self = this;\n\n this.cookie = 'ConsentChecked';\n this.cookieChecked;\n this.cookiesStatus = {};\n\n this.cookiesWidgetWrapper = $('.x-cookie-acceptance');\n\n this.cookiesModalWrapper = $('.cookies-modal-container');\n\n this.cookieTypeCodes = [\n \"FunctionalityCookies\",\n \"StatisticsCookies\",\n \"MarketingCookies\"\n ];\n this.endpoints = {\n \"insertConsents\": \"api/Consents/InsertConsents\",\n \"getCookiesConsentsModel\": \"api/Consents/GetCookiesConsentsModel\",\n \"insertAllCookies\": \"api/Consents/InsertAllCookies\",\n \"updateAllUserConsents\": \"api/Consents/UpdateAllUserConsents\",\n \"getCookiesWidgetModel\": \"api/Consents/GetCookiesWidgetModel\"\n };\n\n\n //------------------------------------------------------------------------------\n this.showCookiesWidget = function () {\n if (LhApp.Context.CookiesDisplay === \"Modal\") {\n self.initCookiesModal();\n } else if (LhApp.Context.CookiesDisplay === \"Layer\" && $('.manage-cookies-container').length <= 0) {\n this.cookiesWidgetWrapper.addClass('visible');\n }\n };\n\n //------------------------------------------------------------------------------\n this.hideCookiesWidget = function () {\n this.cookiesWidgetWrapper.removeClass('visible');\n };\n\n //------------------------------------------------------------------------------\n this.createOrUpdateCookie = function () {\n var date = new Date();\n date.setTime(date.getTime() + (60 * 60 * 1000));\n Cookies.set(self.cookie, self.cookiesStatus, { expires: date, samesite: 'Lax' });\n\n /*--DEPRICATED-- Expose Cookie Consents to Data Layer*/\n var consentsCookie = Cookies.getJSON('ConsentChecked');\n if (consentsCookie) {\n window.dataLayer = window.dataLayer || [];\n window.dataLayer.push({ 'functionalityCookiesEnabled': consentsCookie.functionalityCookies, 'marketingCookiesEnabled': consentsCookie.marketingCookies, 'statisticCookiesEnabled': consentsCookie.statisticCookies });\n }\n };\n\n //------------------------------------------------------------------------------\n this.getCookieStatus = function () {\n self.cookiesStatus = !self.cookieChecked ? {\n userHasSetCookies: false,\n functionalityCookies: LhApp.Context.CookiesDefaultActive,\n statisticCookies: LhApp.Context.CookiesDefaultActive,\n marketingCookies: LhApp.Context.CookiesDefaultActive\n } : Cookies.getJSON(self.cookie);\n };\n\n //------------------------------------------------------------------------------\n this.onGetCookieModelSuccess = function (res) {\n\n self.cookiesStatus.userHasSetCookies = res.UserHasSetCookies;\n if (self.cookiesStatus.userHasSetCookies) {\n self.cookiesStatus.functionalityCookies = res.ApprovedFunctionalityCookies;\n self.cookiesStatus.marketingCookies = res.ApprovedMarketingCookies;\n self.cookiesStatus.statisticCookies = res.ApprovedStatisticsCookies;\n }\n\n self.createOrUpdateCookie();\n self.activateCookies();\n\n if (!res.UserHasSetCookies) {\n self.showCookiesWidget();\n } else {\n self.hideCookiesWidget();\n }\n };\n\n //------------------------------------------------------------------------------\n this.insertConsents = function (data) {\n var type = data.type;\n\n function onSuccess(response) {\n\n if (jQuery.inArray(type, self.cookieTypeCodes) > -1) {\n self.getCookieConsentsModel();\n }\n\n Vendd.MessageBus.publishAsync(Vendd.Consents, new Vendd.Consents.Messages.InsertConsents);\n }\n\n function onFailure(response) {\n return response;\n }\n\n var options = {\n method: 'POST',\n url: self.endpoints.insertConsents,\n data: data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n };\n\n var dontLoadOnLoginSuccess;\n Vendd.MessageBus.subscribe(Vendd.User.Messages.Login, self, function (envelope) {\n dontLoadOnLoginSuccess = envelope.message.data.options && envelope.message.data.options.isLoginForm;\n\n if (dontLoadOnLoginSuccess)\n Cookies.remove(self.cookie, { path: '/' });\n });\n\n //------------------------------------------------------------------------------\n this.getCookieConsentsModel = function (afterInsertAllCookiesSuccess) {\n if (dontLoadOnLoginSuccess)\n return;\n\n function onSuccess(response) {\n self.onGetCookieModelSuccess(response.data);\n\n if (afterInsertAllCookiesSuccess || (!self.cookieChecked && !afterInsertAllCookiesSuccess && response.data.UserHasSetCookies))\n Vendd.MessageBus.publishAsync(Vendd.Consents, new Vendd.Consents.Messages.InsertAllCookiesSuccess);\n }\n\n function onFailure(response) {\n return response;\n }\n\n var options = {\n method: 'GET',\n url: self.endpoints.getCookiesConsentsModel + \"?v=\" + Math.random(),\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n };\n\n //------------------------------------------------------------------------------\n this.insertAllCookies = function (data) {\n\n function onSuccess(response) {\n self.getCookieConsentsModel(true);\n }\n\n function onFailure(response) {\n return response;\n }\n\n var options = {\n method: 'POST',\n url: self.endpoints.insertAllCookies,\n data: data,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n };\n\n //------------------------------------------------------------------------------\n this.updateAllUserConsents = function () {\n\n function onSuccess(response) {\n self.getCookieConsentsModel();\n }\n\n function onFailure(response) {\n return response;\n }\n\n var options = {\n method: 'GET',\n url: self.endpoints.updateAllUserConsents,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n };\n\n //------------------------------------------------------------------------------\n this.getCookiesWidgetModel = function () {\n\n function onSuccess(response) {\n var initModalHtml = self.cookiesModalWrapper.html();\n\n response.data = $.extend(response.data, { cookiesModal: true });\n\n /*update model with cookie values*/\n var consentsCookie = Cookies.getJSON(self.cookie);\n if (consentsCookie) {\n $.map(response.data.Cookies, function (e) { return e.IsActive = (e.ConsentTypeCode == \"FunctionalityCookies\") ? consentsCookie.functionalityCookies : (e.ConsentTypeCode == \"StatisticsCookies\") ? consentsCookie.statisticCookies : (e.ConsentTypeCode == \"MarketingCookies\") ? consentsCookie.marketingCookies : e.IsActive });\n }\n var html = Vendd.Handlebars.parse(\"cookiesManager_A\", response.data);\n\n self.cookiesModalWrapper.html(html);\n //$.fancybox.update();\n\n var tabsCont = $('.tabs-container', self.cookiesModalWrapper);\n\n $('.tab-title', tabsCont).click(function () {\n var thisTab = $(this);\n thisTab.addClass('active').siblings().removeClass('active');\n\n $('.tab-content:eq(' + thisTab.index() + ')', tabsCont).addClass('active').siblings().removeClass('active');\n });\n\n $('.js-save-cookies-btn', self.cookiesModalWrapper).click(function () {\n var data = { fCookies: true, sCookies: true, mCookies: true, source: 'Cookie Consent Page' }, type;\n\n $('.switch-checkbox', self.cookiesModalWrapper).each(function () {\n type = $(this).closest('div[data-type]').data('type');\n\n if (type === \"FunctionalityCookies\") {\n data.fCookies = $(this).is(\":checked\");\n } else if (type === \"StatisticsCookies\") {\n data.sCookies = $(this).is(\":checked\");\n } else if (type === \"MarketingCookies\") {\n data.mCookies = $(this).is(\":checked\");\n }\n\n });\n\n self.insertAllCookies(data);\n $.fancybox.close();\n });\n\n $('.js-back-to-modal', self.cookiesModalWrapper).click(function () {\n self.cookiesModalWrapper.html(initModalHtml);\n });\n }\n\n function onFailure(response) {\n return response;\n }\n\n var options = {\n method: 'GET',\n url: self.endpoints.getCookiesWidgetModel,\n onSuccess: onSuccess,\n onFailure: onFailure\n };\n\n Vendd.Service.call(options);\n }\n\n //------------------------------------------------------------------------------\n this.registerEvents = function () {\n\n Vendd.MessageBus.subscribe(Vendd.Consents.Messages.InsertAllCookiesSuccess, self, function () {\n //update tagmanager consents if enabled\n var trackingModel = LhApp.Function.Tracking.getTrackingModel();\n if (trackingModel && trackingModel.EnableGoogleTagManagerConsents) {\n LhApp.Function.Tracking.gtag('consent', 'update', {\n 'ad_storage': window.ConsentsManager.cookiesStatus.marketingCookies ? 'granted' : 'denied',\n 'analytics_storage': window.ConsentsManager.cookiesStatus.statisticCookies ? 'granted' : 'denied',\n 'functionality_storage': window.ConsentsManager.cookiesStatus.functionalityCookies ? 'granted' : 'denied'\n });\n }\n if (dataLayer.filter(function (l) { return l['event'] && l['event'] == 'vendd_consents_ready' }) == 0) {\n dataLayer.push({ 'event': 'vendd_consents_ready' });\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.LoginSuccess, self, function (envelope) {\n //for some reason Login Success is fired even when login fails so the success must be checked....\n if (envelope.message.data.success) {\n self.updateAllUserConsents();\n }\n });\n\n //after successful register always follows login -> unnecessary function in success message\n //Vendd.MessageBus.subscribe(Vendd.User.Messages.RegisterSuccess, self, self.updateAllUserConsents);\n\n //cookies widget\n if (self.cookiesWidgetWrapper.length > 0) {\n self.cookiesWidgetWrapper.on('click', '.js-accept', function (e) {\n e.preventDefault();\n\n var data = { fCookies: true, sCookies: true, mCookies: true, source: 'Cookies Widget' };\n self.insertAllCookies(data);\n });\n }\n\n //cookies modal\n if (self.cookiesModalWrapper.length > 0) {\n self.cookiesModalWrapper.on('click', '.js-accept', function (e) {\n e.preventDefault();\n\n var data = { fCookies: true, sCookies: true, mCookies: true, source: 'Cookies Widget' };\n self.insertAllCookies(data);\n $.fancybox.close();\n });\n }\n\n if (self.cookiesModalWrapper.length > 0) {\n self.cookiesModalWrapper.on('click', '.js-decline', function (e) {\n e.preventDefault();\n\n var data = { fCookies: false, sCookies: false, mCookies: false, source: 'Cookies Widget' };\n self.insertAllCookies(data);\n $.fancybox.close();\n });\n }\n //cookies modal\n if (self.cookiesModalWrapper.length > 0) {\n self.cookiesModalWrapper.on('click', '.terms-link', function (e) {\n e.preventDefault();\n\n self.getCookiesWidgetModel();\n });\n }\n }\n\n //------------------------------------------------------------------------------\n this.initCookiesModal = function () {\n $(\".open-cookies-modal\").fancybox({\n modal: true\n });\n $(\".open-cookies-modal\").trigger(\"click\");\n }\n\n //------------------------------------------------------------------------------\n this.activateCookies = function () {\n window.ScriptsActivator.loadAllScripts(\n self.cookiesStatus.functionalityCookies,\n self.cookiesStatus.marketingCookies,\n self.cookiesStatus.statisticCookies\n );\n };\n\n\n //------------------------------------------------------------------------------\n this.init = function () {\n //behave like consents are activated and we have consent of user for all cookies\n if (!LhApp.Context.IsConsentsEnabled) {\n\n self.cookieChecked = true;\n self.cookiesStatus.userHasSetCookies = true;\n self.cookiesStatus.functionalityCookies = true;\n self.cookiesStatus.marketingCookies = true;\n self.cookiesStatus.statisticCookies = true;\n\n self.activateCookies();\n\n return;//do not run anything else from consents manager\n }\n\n self.cookieChecked = document.cookie.indexOf(self.cookie) !== -1;\n self.getCookieStatus();\n self.activateCookies();\n self.registerEvents();\n\n if (!self.cookieChecked) {\n self.getCookieConsentsModel();\n } else if (!self.cookiesStatus.userHasSetCookies) {\n self.showCookiesWidget();\n }\n };\n\n self.init();\n\n return self;\n };\n});\n","(function ($) {\n\t'use strict';\n\n\tvar ValidationEngine = (function () {\n\t\tvar self = this, base,\n \tfield, validation, fields = [],\n \tfirstTime = true;\n\n\t\tself.processFields = function (options) {\n\n\t\t\t$.each(options, function (k, v) {\n\t\t\t\tfield = {};\n\n\t\t\t\tif (typeof (v) === 'object') {\n\t\t\t\t\tfield.selector = k;\n\t\t\t\t\tfield.enabled = v.enabled !== undefined ? v.enabled : true\n\n\t\t\t\t\tdelete v.enabled; // could be done better :(\n\n\t\t\t\t\tself.processValidations(v);\n\t\t\t\t\tself.bindValidations(field);\n\t\t\t\t\tfields.push(field);\n\t\t\t\t} else {\n\t\t\t\t\tconsole.error('ValidationEngine: ' + k + ' must be of type object. Not ' + typeof (v) + '.');\n\t\t\t\t};\n\t\t\t});\n\t\t};\n\n\t\tself.processValidations = function (validations) {\n\t\t\tfield.validations = {};\n\n\t\t\t$.each(validations, function (k, v) {\n\t\t\t\tfield.validations[k] = {};\n\n\t\t\t\tif (typeof (v) === 'object') {\n\t\t\t\t\t$.each(v, function (key, value) {\n\t\t\t\t\t\tfield.validations[k][key] = value;\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\tfield.validations[k].validator = v;\n\t\t\t\t};\n\t\t\t});\n\t\t};\n\n\t\tself.bindValidations = function (f) {\n\t\t\tf.$elem = $('*[name=\"' + f.selector + '\"]', base.$elem);\n\n\t\t\tif (f.$elem.length !== 1) {\n\t\t\t\tconsole.error('ValidationEngine: None or multiple results for selector: \"' + f.selector + '\".');\n\t\t\t};\n\t\t};\n\n\t\tself.getValue = function (f) {\n\t\t\tvar tag = self.getTagName(f);\n\n\t\t\treturn tag === 'select' || tag === 'textarea'\n ? f.$elem.val()\n : tag === 'input'\n\t\t\t\t\t? f.$elem.attr('type') === 'text' || f.$elem.attr('type') === 'password' || f.$elem.attr('type') === 'date' || f.$elem.attr('type') === 'tel' || f.$elem.attr('type') === 'email'\n ? f.$elem.val()\n : f.$elem.attr('type') === 'radio'\n ? $('input[name=' + f.$elem.attr('name') + ']:checked').val()\n : f.$elem.attr('type') === 'checkbox'\n ? f.$elem.is(':checked')\n : null\n : null;\n\t\t};\n\n\t\tself.getTagName = function (f) {\n\t\t\treturn f.$elem.prop(\"tagName\").toLowerCase();\n\t\t};\n\n\t\tself.searchField = function (selector) {\n\t\t\tvar field;\n\n\t\t\t$.each(fields, function (i, f) {\n\t\t\t\tif (f.selector === selector) {\n\t\t\t\t\tfield = f;\n\n\t\t\t\t\treturn false;\n\t\t\t\t};\n\t\t\t});\n\n\t\t\treturn field;\n\t\t};\n\n\t\tself.validateField = function (f) {\n\t\t\tvar result = true;\n\n\t\t\t$.each(f.validations, function (fn, opts) {\n\t\t\t\tif (fn === 'match') {\n\t\t\t\t\tvar matchField = self.searchField(opts.matchField);\n\n\t\t\t\t\tif (matchField) {\n\t\t\t\t\t\tif (typeof (opts.beforeValidation) === 'function')\n\t\t\t\t\t\t\topts.beforeValidation(f.$elem);\n\n\t\t\t\t\t\tif (opts.optional) {\n\t\t\t\t\t\t\tif ($.fn.validationEngine.validations.optional(self.getValue(f))) {\n\t\t\t\t\t\t\t\tif (!$.fn.validationEngine.validations[fn]\n\t\t\t\t\t\t\t\t\t.call(self, self.getValue(f), self.getValue(matchField), opts.config)) {\n\n\t\t\t\t\t\t\t\t\tresult = opts.validator;\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (!$.fn.validationEngine.validations[fn]\n\t\t\t\t\t\t\t\t.call(self, self.getValue(f), self.getValue(matchField), opts.config)) {\n\n\t\t\t\t\t\t\t\tresult = opts.validator;\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t};\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconsole.error('ValidationEngine: MatchField was not found for match key : \"' + opts.matchField + '\".');\n\t\t\t\t\t};\n\n\t\t\t\t} else {\n\t\t\t\t\tif (typeof (opts.beforeValidation) === 'function')\n\t\t\t\t\t\topts.beforeValidation(f.$elem);\n\n\t\t\t\t\tif (opts.optional) {\n\t\t\t\t\t\tif ($.fn.validationEngine.validations.optional(self.getValue(f))) {\n\t\t\t\t\t\t\tif (!$.fn.validationEngine.validations[fn]\n\t\t\t\t\t\t\t\t.call(self, self.getValue(f), opts.config)) {\n\n\t\t\t\t\t\t\t\tresult = opts.validator;\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t};\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (!$.fn.validationEngine.validations[fn]\n .call(self, self.getValue(f), opts.config, f.$elem.get(0))) {\n\n\t\t\t\t\t\t\tresult = opts.validator;\n\t\t\t\t\t\t};\n\t\t\t\t\t};\n\t\t\t\t};\n\n\t\t\t\tif (result !== true) {\n\t\t\t\t\t$.each(f.validations, function (f, o) {\n\t\t\t\t\t\t$('.' + o.validator, base.$elem).removeClass('error');\n\t\t\t\t\t\tif ($('.' + o.validator, base.$elem).closest('.form-row').length > 0) {\n\t\t\t\t\t\t\t$('.' + o.validator, base.$elem).closest('.form-row').removeClass('with-error');\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t\t\t$('.' + result, base.$elem).addClass('error');\n\n\t\t\t\t\tif ($('.' + result, base.$elem).closest('.form-row').length > 0) {\n\t\t\t\t\t\t$('.' + result, base.$elem).closest('.form-row').addClass('with-error');\n\t\t\t\t\t}\n\t\t\t\t\tif (typeof (opts.afterValidation) === 'function')\n\t\t\t\t\t\topts.afterValidation(f.$elem, result);\n\n\t\t\t\t\treturn false;\n\t\t\t\t};\n\t\t\t});\n\n\t\t\tif (result === true) {\n\t\t\t\t$.each(f.validations, function (fn, opts) {\n\t\t\t\t\t$('.' + opts.validator, base.$elem).removeClass('error');\n\n\t\t\t\t\tif ($('.' + opts.validator, base.$elem).closest('.form-row').length > 0) {\n\t\t\t\t\t\t$('.' + opts.validator, base.$elem).closest('.form-row').removeClass('with-error');\n\t\t\t\t\t}\n\t\t\t\t\tif (typeof (opts.afterValidation) === 'function')\n\t\t\t\t\t\topts.afterValidation(f.$elem, result);\n\t\t\t\t});\n\t\t\t}\n\n\t\t\treturn result;\n\t\t};\n\n\t\tself.validateAll = function () {\n\t\t\tvar result = true;\n\n\t\t\t$.each(fields, function (i, f) {\n\t\t\t\tif (f.enabled === false)\n\t\t\t\t\treturn true;\n\n\t\t\t\tif (self.validateField(f) !== true)\n\t\t\t\t\tresult = false;\n\t\t\t});\n\n\t\t\treturn result;\n\t\t};\n\n\t\treturn {\n\t\t\tinit: function (options, elem) {\n\t\t\t\tbase = this;\n\n\t\t\t\tbase.$elem = $(elem);\n\t\t\t\tbase.options = options;\n\n\t\t\t\tself.processFields(base.options);\n\t\t\t},\n\n\t\t\treset: function () {\n\t\t\t\tfirstTime = true;\n\n\t\t\t\t$.each(fields, function(i, f) {\n\t\t\t\t\t$.each(f.validations, function(j, v) {\n\t\t\t\t\t\t$('.' + v.validator, base.$elem).removeClass('error');\n\t\t\t\t\t\tif ($('.' + v.validator, base.$elem).closest('.form-row').length > 0) {\n\t\t\t\t\t\t\t$('.' + v.validator, base.$elem).closest('.form-row').removeClass('with-error');\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t},\n\n\t\t\tdestroy: function () {\n\t\t\t\tbase.$elem.removeData();\n\n\t\t\t\t/*\n\t\t\t\t * TODO: FIX THIS !!!!\n\t\t\t\t */\n\n\t\t\t\tbase = undefined;\n\t\t\t\tself = undefined;\n\t\t\t},\n\n\t\t\taddField: function (options) {\n\t\t\t\tself.processFields(options);\n\t\t\t},\n\n\t\t\taddFields: function (options) {\n\t\t\t\tself.processFields(options);\n\t\t\t},\n\n\t\t\tremoveField: function (f) {\n\t\t\t\t$.each(fields, function (i, item) {\n\t\t\t\t\tif (item.selector === f) {\n\t\t\t\t\t\tfields.splice(i, 1);\n\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t};\n\t\t\t\t});\n\t\t\t},\n\n\t\t\tremoveFields: function (array) {\n\t\t\t\t$.each(array, function (i, f) {\n\t\t\t\t\tbase.removeField(f);\n\t\t\t\t});\n\t\t\t},\n\n validateField: function (f) {\n if (f) {\n var field = self.searchField(f);\n\n if (field) {\n if (field.enabled)\n self.validateField(field);\n }\n }\n },\n\n\t\t\tenable: function (array) {\n\t\t\t\t$.each(array, function (i, key) {\n\t\t\t\t\tvar f = self.searchField(key);\n\n\t\t\t\t\tif (f)\n\t\t\t\t\t\tf.enabled = true;\n\t\t\t\t\telse\n\t\t\t\t\t\tconsole.error('ValidationEngine: None fields found for key: \"' + key + '\".');\n\t\t\t\t});\n\t\t\t},\n\n\t\t\tdisable: function (array) {\n\t\t\t\t$.each(array, function (i, key) {\n\t\t\t\t\tvar f = self.searchField(key);\n\n\t\t\t\t\tif (f) {\n\t\t\t\t\t\tf.enabled = false;\n\n\t\t\t\t\t\t$.each(f.validations, function (f, o) {\n\t\t\t\t\t\t\t$('.' + o.validator, base.$elem).removeClass('error');\n\t\t\t\t\t\t\tif ($('.' + o.validator, base.$elem).closest('.form-row').length > 0) {\n\t\t\t\t\t\t\t\t$('.' + o.validator, base.$elem).closest('.form-row').removeClass('with-error');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconsole.error('ValidationEngine: None fields found for key: \"' + key + '\".');\n\t\t\t\t\t};\n\t\t\t\t});\n\t\t\t},\n\n\t\t\tvalidate: function (f) {\n\t\t\t\tif (f) {\n\t\t\t\t\tif (firstTime)\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\tvar field = self.searchField(f);\n\n\t\t\t\t\tif (field) {\n\t\t\t\t\t\tif (field.enabled)\n\t\t\t\t\t\t\tself.validateField(field);\n\t\t\t\t\t};\n\t\t\t\t} else {\n\t\t\t\t\tif (firstTime)\n\t\t\t\t\t\tfirstTime = false;\n\n\t\t\t\t\treturn self.validateAll();\n\t\t\t\t};\n\t\t\t}\n\t\t};\n\t});\n\n\t$.fn.validationEngine = function (options) {\n\t\treturn this.each(function () {\n\t\t\tvar va;\n\n\t\t\tif ($(this).data(\"va-init\") === true) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\t$(this).data(\"va-init\", true);\n\n\t\t\tva = new ValidationEngine();\n\t\t\tva.init(options, this);\n\n\t\t\t$.data(this, \"validationEngine\", va);\n\t\t});\n\t};\n\n\t$.fn.validationEngine.validations = {\n\t\toptional: function (value) {\n\t\t\tif ($.trim(value).length === 0)\n\t\t\t\treturn false;\n\n\t\t\treturn true;\n\t\t},\n\n\t\trequired: function (value) {\n\t\t\tif ($.trim(value).length > 0)\n\t\t\t\treturn true;\n\n\t\t\treturn false;\n\t\t},\n\n\t\tcheckboxRequired: function (value) {\n\n\t\t\treturn value;\n\t\t},\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.trim());\n },\n\n\t\tisNumeric: function (value) {\n var reg = /^\\d+$|^$/;\n\n return reg.test(value);\n\n\t\t},\n\n\t\tisAlphaNumeric: function (value) {\n\n\t\t\treturn true;\n\t\t},\n\n\t\tmatch: function (value1, value2) {\n\n\t\t\treturn value1 === value2;\n\t\t},\n\n\t\tlength: function () {\n\t\t\tvar value = arguments[0], config = arguments[1], score;\n\n\t\t\tif (config && config.limit !== 'undefined')\n\t\t\t\treturn value.length === config.limit;\n\n\t\t\treturn false;\n\t\t},\n\n\t\tmaxLength: function () {\n\t\t\tvar value = arguments[0], config = arguments[1], score;\n\n\t\t\tif (config && config.limit !== 'undefined')\n\t\t\t\treturn value.length <= config.limit;\n\n\t\t\treturn false;\n\t\t},\n\n\t\tminLength: function () {\n\t\t\tvar value = arguments[0], config = arguments[1], score;\n\n\t\t\tif (config && config.limit !== 'undefined')\n\t\t\t\treturn value.length >= config.limit;\n\n\t\t\treturn false;\n },\n\n validIBAN: function (value) {\n\n if ($.trim(value).length > 0) {\n\n var CODE_LENGTHS = {\n GR: 27\n \n //AD: 24, AE: 23, AT: 20, AZ: 28, BA: 20, BE: 16, BG: 22, BH: 22, BR: 29,\n //CH: 21, CR: 21, CY: 28, CZ: 24, DE: 22, DK: 18, DO: 28, EE: 20, ES: 24,\n //FI: 18, FO: 18, FR: 27, GB: 22, GI: 23, GL: 18, GR: 27, GT: 28, HR: 21,\n //HU: 28, IE: 22, IL: 23, IS: 26, IT: 27, JO: 30, KW: 30, KZ: 20, LB: 28,\n //LI: 21, LT: 20, LU: 20, LV: 21, MC: 27, MD: 24, ME: 22, MK: 19, MR: 27,\n //MT: 31, MU: 30, NL: 18, NO: 15, PK: 24, PL: 28, PS: 29, PT: 25, QA: 29,\n //RO: 24, RS: 22, SA: 24, SE: 24, SI: 19, SK: 24, SM: 27, TN: 24, TR: 26\n };\n\n var iban = String(value).toUpperCase().replace(/[^A-Z0-9]/g, ''), // keep only alphanumeric characters\n code = iban.match(/^([A-Z]{2})(\\d{2})([A-Z\\d]+)$/), // match and capture (1) the country code, (2) the check digits, and (3) the rest\n digits;\n\n // check syntax and length\n if (!code || iban.length !== CODE_LENGTHS[code[1]]) {\n return false;\n }\n\n // rearrange country code and check digits, and convert chars to ints\n digits = (code[3] + code[1] + code[2]).replace(/[A-Z]/g, function (letter) {\n return letter.charCodeAt(0) - 55;\n });\n\n var checksum = digits.slice(0, 2), fragment;\n for (var offset = 2; offset < digits.length; offset += 7) {\n fragment = String(checksum) + digits.substring(offset, offset + 7);\n checksum = parseInt(fragment, 10) % 97;\n }\n\n if (checksum == 1)\n return true;\n }\n\n return false;\n },\n\n isSocialSecurityNumber: function (value, parameters) {\n if (value.length === 0)\n return true;\n\n var isEleven = /^[0-9]{11}$/.test(value);\n var totalX = 0;\n for (var i = 0; i < 10; i++) {\n totalX += Number(value.substr(i, 1));\n }\n var isRuleX = totalX % 10 == value.substr(10, 1);\n var totalY1 = 0;\n var totalY2 = 0;\n for (var i = 0; i < 10; i += 2) {\n totalY1 += Number(value.substr(i, 1));\n }\n for (var i = 1; i < 10; i += 2) {\n totalY2 += Number(value.substr(i, 1));\n }\n var isRuleY = ((totalY1 * 7) - totalY2) % 10 == value.substr(9, 0);\n var isRuleFirstDigit = value.substr(0, 1) != '0';\n\n return isEleven && isRuleX && isRuleY && isRuleFirstDigit;\n\t\t},\n\n\t\tisGreekTaxIdentifier: function (taxIdentifier) {\n if (taxIdentifier.length === 0)\n return true;\n\n\t\t\tif (!isNaN(parseInt(taxIdentifier)) && taxIdentifier.length === 9) {\n\t\t\t\tvar result = 0;\n\t\t\t\tvar arrTaxId = taxIdentifier.split(\"\").map(function (item) {\n\t\t\t\t\treturn parseInt(item);\n\t\t\t\t});\n\n\t\t\t\tfor (var i = arrTaxId.length - 2; i >= 0; i--) {\n\t\t\t\t\tresult = result + arrTaxId[i] * Math.pow(2, (8 - i));\n\t\t\t\t}\n\n\t\t\t\tif ((result % 11) % 10 === arrTaxId[8]) {\n\t\t\t\t\treturn true;\n\t\t\t\t} else {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t},\n\n\t\tisServiceValidTaxIdentifier: function (value, parameters) {\n\t\t\tif (parameters.isValid) {\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t},\n\n isPhoneNumber: function (value) {\n if (value.length === 0)\n return true;\n\n var reg = /^\\+?\\d{10,14}$/;\n\n return reg.test(value);\n },\n\n isGreekPhone: function (value) {\n if (value.length === 0)\n return true;\n\n var reg = /^2[0-9]{9}$/;\n\n return reg.test(value);\n },\n\n isGreekMobile: function (value) {\n if (value.length === 0)\n return true;\n\n var reg = /^69[0-9]{8}$/;\n\n return reg.test(value);\n },\n\n isValidPhoneLocalized: function (value, paremeters, elem) {\n if (value.length === 0)\n return true;\n\n var iti = window.intlTelInputGlobals.getInstance(elem);\n var type = paremeters.type;\n var numberType = iti.getNumberType();\n var numberTypeIsValid = false;\n\n\t\t\tvar regex = /^\\+{0,1}[0-9]+$/g;\n\n if (type == \"phone\") {\n numberTypeIsValid = (numberType === intlTelInputUtils.numberType.FIXED_LINE || numberType === intlTelInputUtils.numberType.FIXED_LINE_OR_MOBILE) ? true : false;\n } else if (type == \"mobile\") {\n numberTypeIsValid = (numberType === intlTelInputUtils.numberType.MOBILE || numberType === intlTelInputUtils.numberType.FIXED_LINE_OR_MOBILE) ? true : false;\n } else if (type == \"both\") {\n numberTypeIsValid = (numberType === intlTelInputUtils.numberType.FIXED_LINE || numberType === intlTelInputUtils.numberType.MOBILE || numberType === intlTelInputUtils.numberType.FIXED_LINE_OR_MOBILE) ? true : false;\n }\n\n\t\t\treturn iti.isValidNumber() && numberTypeIsValid && regex.test(value);\n },\n\n\t\tisValidPostalCode: function () {\n\t\t\tvar value = arguments[0], config = arguments[1], digits;\n\n\t\t\tswitch (config.country) {\n\t\t\t\tcase 'GR':\n\t\t\t\t\tdigits = 5\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'CY':\n\t\t\t\t\tdigits = 4\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'CL':\n\t\t\t\t\tdigits = 7\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'HU':\n\t\t\t\t\tdigits = 4\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif (!digits) return true;\n\n\t\t\tif (value.length === digits && config.areas.length > 0) {\n\t\t\t\treturn true;\n\t\t\t} else if (value.length < 1) {\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t};\n\n})(jQuery);","var Forms = {\n HookFormsFn: hookFormsFn,\n HookAjaxFormsFn: hookAjaxFormsFn\n};\n\nvar hookFormsFn = function ($forms) {\n\n $forms.each(function (j, form) {\n var $form = $(form);\n\n var validateOnKeyup = false;\n form.token = '';\n\n form.formUploadBoxesIds = {};\n form.formUploadBoxes = new Array();\n /*$(uploadBoxes).each(function (index, ub) {\n if ($form.find('#' + ub.id).length) {\n form.formUploadBoxes.push({\n box: ub,\n uploaded: false\n });\n form.formUploadBoxesIds[ub.id] = ub;\n }\n });*/\n\n var $rows = $('*.form-row.text, *.form-row.textarea, *.form-row.checkbox, *.form-row.select, *.form-row.uploads', $(form));\n $rows.each(function (r, row) {\n var $valField = $('*[data-member]:first', $(row));\n\n row.getValue = function () {\n if ($valField.length == 0)\n return null;\n\n if ($valField.is(':text') || $valField.is(':password') || $valField.get(0).tagName.toLowerCase() == 'textarea' || $valField.get(0).tagName.toLowerCase() == 'select')\n return $valField.val();\n else if ($valField.is(':checkbox'))\n return $valField.is(':checked');\n else if ($($valField.get(0)).data('uploads')) {\n return '';\n }\n\n return null;\n };\n\n row.setValue = function (value) {\n if ($valField.length == 0)\n return;\n\n if ($valField.is(':text') || $valField.is(':password') || $valField.get(0).tagName.toLowerCase() == 'textarea' || $valField.get(0).tagName.toLowerCase() == 'select')\n $valField.val(value);\n else if ($valField.is(':checkbox'))\n $valField.prop('checked', value);\n };\n\n row.isValid = function () {\n if ($valField.length == 0)\n return true;\n\n if ($valField.data('validaterequired')) {\n if ($valField.is(':text') || $valField.is(':password') || $valField.get(0).tagName.toLowerCase() == 'textarea' || $valField.get(0).tagName.toLowerCase() == 'select') {\n if ($valField.val().trim() === '') {\n return false;\n }\n } else if ($valField.is(':checkbox')) {\n var checked = $valField.is(':checked');\n if (!checked)\n return false;\n } else if ($($valField.get(0)).data('uploads')) {\n var s = 0;\n var v = true;\n $('*[data-upload-box]', $(row)).each(function (ii, ubi) {\n var ub = form.formUploadBoxesIds[ubi.id];\n if (ub.isFileSelected())\n s++;\n if (!ub.isValid()) {\n v = false;\n s--;\n }\n });\n if (s < $form.data('required-files') || !v)\n return false;\n }\n }\n\n if ($valField.data('validateemail')) {\n if ($valField.is(':text')) {\n if (!LhApp.Function.String.isEmail($valField.val())) {\n return false;\n }\n }\n }\n\n if ($valField.data('validatematch')) {\n var group = $valField.data('validatematchgroup');\n var groupedFields = $('*[data-member][data-validatematchgroup=\"' + group + '\"]', $(form));\n if (groupedFields.length > 0) {\n var fieldValue = row.getValue();\n var isMatchValid = true;\n\n groupedFields.each(function (gi, gItem) {\n if ($(gItem).is(':text') || $(gItem).is(':password')) {\n if ($(gItem).val() != fieldValue) {\n isMatchValid = false;\n }\n } else if ($(gItem).is(':checkbox')) {\n if ($(gItem).is(':checked') != fieldValue) {\n isMatchValid = false;\n }\n }\n });\n\n if (!isMatchValid) {\n return false;\n }\n }\n }\n\n return true;\n };\n\n row.validate = function () {\n if ($valField.length == 0)\n return true;\n\n $(row).removeClass('x-invalid');\n\n if ($valField.data('validaterequired')) {\n var $validator = $('*[' + $valField.data('validaterequired') + ']', $(form));\n $validator.siblings().hide();\n $validator.hide();\n\n if ($valField.is(':text') || $valField.is(':password') || $valField.get(0).tagName.toLowerCase() == 'textarea' || $valField.get(0).tagName.toLowerCase() == 'select') {\n if ($valField.val().trim() === '') {\n $(row).addClass('x-invalid');\n $validator.show();\n return;\n }\n } else if ($valField.is(':checkbox')) {\n var checked = $valField.is(':checked');\n if (!checked) {\n $(row).addClass('x-invalid');\n $validator.show();\n return;\n }\n } else if ($($valField.get(0)).data('uploads')) {\n var s = 0;\n $('*[data-upload-box]', $(row)).each(function (ii, ubi) {\n var ub = form.formUploadBoxesIds[ubi.id];\n if (ub.isFileSelected()) {\n s++;\n }\n if (!ub.validate()) {\n s--;\n }\n });\n if (s < $form.data('required-files')) {\n $('*[data-upload-box]', $(row)).each(function (ii, ubi) {\n var ub = form.formUploadBoxesIds[ubi.id];\n ub.validateSelected();\n });\n }\n\n if (!row.isValid()) {\n $(row).addClass('x-invalid');\n $validator.show();\n }\n }\n }\n\n if ($valField.data('validateemail')) {\n var $validator = $('*[' + $valField.data('validateemail') + ']', $(form));\n $validator.siblings().hide();\n $validator.hide();\n\n if ($valField.is(':text')) {\n if (!LhApp.Function.String.isEmail($valField.val())) {\n $(row).addClass('x-invalid');\n $validator.show();\n return;\n }\n }\n }\n\n if ($valField.data('validatematch')) {\n\n var $validator = $('*[' + $valField.data('validatematch') + ']', $(form));\n $validator.siblings().hide();\n $validator.hide();\n\n var group = $valField.data('validatematchgroup');\n var groupedFields = $('*[data-member][data-validatematchgroup=\"' + group + '\"]', $(form));\n if (groupedFields.length > 0) {\n var fieldValue = row.getValue();\n var isMatchValid = true;\n\n groupedFields.each(function (gi, gItem) {\n if ($(gItem).is(':text') || $(gItem).is(':password') || $valField.get(0).tagName.toLowerCase() == 'textarea') {\n if ($(gItem).val() != fieldValue) {\n isMatchValid = false;\n }\n } else if ($(gItem).is(':checkbox')) {\n if ($(gItem).is(':checked') != fieldValue) {\n isMatchValid = false;\n }\n }\n });\n\n if (!isMatchValid) {\n $(row).addClass('x-invalid');\n $validator.show();\n return;\n }\n }\n }\n };\n });\n\n form.fields = [];\n form.showLoader = function () {\n\n $('*[data-member]', $(form)).each(function (i, item) {\n if (!$(item).is(':disabled')) {\n form.fields.push($(item).data('member'));\n $(item).prop('disabled', true);\n }\n });\n\n $('*[data-click]', $(form)).each(function (i, item) {\n if (!$(item).is(':disabled')) {\n $(item).prop('disabled', true);\n }\n });\n\n $form.find('.button-wrapper').addClass('x-disabled');\n $form.addClass('x-disabled');\n $form.addClass('x-loading');\n };\n\n form.hideLoader = function () {\n\n $('*[data-member]', $(form)).each(function (i, item) {\n if ($(item).is(':disabled')) {\n if (form.fields.indexOf($(item).data('member')) != -1)\n $(item).prop('disabled', false);\n }\n });\n\n $('*[data-click]', $(form)).each(function (i, item) {\n if ($(item).is(':disabled')) {\n $(item).prop('disabled', false);\n }\n });\n\n $form.find('.button-wrapper').removeClass('x-disabled');\n $form.removeClass('x-disabled');\n $form.removeClass('x-loading');\n };\n\n form.isLoading = function () {\n return $form.hasClass('x-disabled');\n };\n\n form.validate = function () {\n $rows.each(function (r, row) {\n row.validate();\n });\n validateOnKeyup = true;\n };\n\n form.isValid = function () {\n var valid = true;\n\n $rows.each(function (r, row) {\n if (!row.isValid())\n valid = false;\n });\n\n return valid;\n };\n\n form.reset = function () {\n $('*[data-section=\"success\"]', $(form)).hide();\n $('*[data-section=\"failure\"]', $(form)).hide();\n $('*[data-section=\"content\"]', $(form)).show();\n\n\n $('input[type=\"file\"][data-member]', $(form)).val('');\n $('input[type=\"text\"][data-member]', $(form)).val('');\n $('input[type=\"password\"][data-member]', $(form)).val('');\n $('input[type=\"textarea\"][data-member]', $(form)).val('');\n $('input[type=\"checkbox\"][data-member]', $(form)).prop('checked', false);\n\n $('*[data-validator]', $(form)).hide();\n $('*[data-validationmsg]', $(form)).hide();\n };\n\n $('*[data-member]', $(form)).keyup(function (e) {\n if ($(this).data(\"member\") == \"message\") {\n $(this).keydown(preventSpecialCharacter);\n }\n\n if (!validateOnKeyup)\n return;\n\n var $row = $(this).parents('.form-row:first');\n $row.get(0).validate();\n });\n\n $('select[data-member]', $(form)).change(function (e) {\n if (!validateOnKeyup)\n return;\n\n var $row = $(this).parents('.form-row:first');\n $row.get(0).validate();\n });\n\n $('*[data-input]', $('*[data-uploads]', $(form))).change(function (e) {\n $('*[data-upload-box]', $(form)).each(function (i, ub) {\n var ub = form.formUploadBoxesIds[ub.id];\n ub.update();\n if (!validateOnKeyup)\n ub.validate();\n })\n\n if (!validateOnKeyup)\n return;\n var $row = $(this).parents('.form-row:first');\n $row.get(0).validate();\n });\n\n $('*[data-trigger]', $(form)).keyup(function (e) {\n if (e.keyCode == 13) {\n e.stopPropagation();\n e.preventDefault();\n\n if (!form.isValid()) {\n form.validate();\n return;\n }\n\n if (form.isLoading())\n return;\n\n var configData = form.getConfig();\n form.submit(configData);\n }\n });\n\n $('*[data-click=\"submit\"]', $(form)).click(function (e) {\n e.preventDefault();\n\n if (!form.isValid()) {\n form.validate();\n return;\n }\n\n var isDisabled = form.isLoading() || LhApp.Function.isButtonDisabled(this);\n if (isDisabled)\n return;\n\n var configData = form.getConfig();\n form.submit(configData);\n });\n\n // submit customForm\n $('*[data-click=\"generic-submit\"]', $(form)).click(function (e) {\n var code = $(form).data('code');\n\n e.preventDefault();\n form.validate();\n if (!form.isValid()) {\n return;\n }\n\n var isDisabled = form.isLoading() || LhApp.Function.isButtonDisabled(this);\n if (isDisabled)\n return;\n\n form.token = generateVisitorToken();\n $(form.formUploadBoxes).each(function (index, fub) {\n if (fub.box.input.val().length < 1) {\n fub.uploaded = true;\n } else {\n fub.uploaded = false;\n fub.box.initCallback = function (box, token) {\n $(form.formUploadBoxes).each(function (ii, bb) {\n if (bb.box.id == box.id) {\n $('*[data-progress-bar-box]', $(bb.box)).show();\n }\n });\n };\n fub.box.successCallback = function (box, token) {\n $(form.formUploadBoxes).each(function (ii, bb) {\n if (bb.box.id == box.id) {\n bb.uploaded = true;\n $('*[data-progress-bar-box]', $(bb.box)).hide();\n }\n });\n form.checkUploadsAndSubmit();\n };\n fub.box.submit(form.token);\n }\n });\n form.checkUploadsAndSubmit();\n });\n\n form.checkUploadsAndSubmit = function () {\n var done = true;\n var t = new Array();\n $(this.formUploadBoxes).each(function (index, fub) {\n t.push(fub.uploaded);\n if (!fub.uploaded)\n done = false;\n });\n if (done) {\n var code = $(this).data('code');\n var reqData = { code: code, data: JSON.stringify(this.getConfig()), token: this.token };\n this.submit(reqData);\n }\n };\n });\n};\n\nvar hookAjaxFormsFn = function ($ajaxForms) {\n\n $ajaxForms.each(function(i, form) {\n\n var $form = $(form);\n\n form.methodType = $form.data('method');\n form.submitUrl = $form.data('action');\n $form.removeAttr('data-action');\n\n var $rows = $('*.form-row.text, *.form-row.textarea, *.form-row.checkbox, *.form-row.select', $form);\n\n form.back = function() {\n $('*[data-section]', $(form)).hide();\n $('*[data-section=\"content\"]', $(form)).show();\n };\n\n form.getConfig = function() {\n var config = {};\n $rows.each(function(r, row) {\n var $valField = $('*[data-member]:first', $(row));\n if ($valField.length > 0)\n config[$valField.data('member')] = row.getValue();\n });\n $('*[data-hidden-member]', $(form)).each(function(i, item) {\n config[$(item).data('hidden-member')] = $(item).val();\n });\n\n if (form.methodType === 'control') {\n return [\n config\n ];\n }\n else {\n return config;\n }\n };\n\n form.onSuccess = function(request, response) {\n\n var redirectUrl = $(this).data('redirect');\n if (redirectUrl === undefined) {\n $('*[data-validator]', $(form)).hide();\n $('*[data-validationmsg]', $(form)).hide();\n $('.file-uploader', $(form)).hide();\n\n var $successSection = $('*[data-section=\"success\"]', $(form));\n if ($successSection.length > 0) {\n var $sections = $('*[data-section]', $(form));\n $sections.hide();\n\n var successMsgVal = $('*[data-validationmsg=\"success\"]', $successSection);\n successMsgVal.html(LhApp.Function.getText('Validation:' + response.code));\n successMsgVal.show();\n $successSection.show();\n } else {\n var successMsgVal = $('*[data-section=\"content\"] *[data-validationmsg=\"success\"]', $(form));\n successMsgVal.html(LhApp.Function.getText('Validation:' + response.code));\n successMsgVal.show();\n }\n } else if (redirectUrl != '') {\n document.location = redirectUrl;\n }\n };\n\n form.onFailure = function(request, response) {\n var validationMessage = LhApp.Function.getText('Validation:' + response.code);\n\n $('*[data-validator]', $(form)).hide();\n $('*[data-validationmsg]', $(form)).hide();\n var $failureSection = $('*[data-section=\"failure\"]', $(form));\n if ($failureSection.length > 0) {\n var $sections = $('*[data-section]', $(form));\n $sections.hide();\n $failureSection.show();\n\n var $validator = $('*[data-validationmsg=\"failure\"]', $failureSection);\n $validator.html(validationMessage);\n $validator.show();\n } else {\n var $validator = $('*[data-section=\"content\"] *[data-validationmsg=\"failure\"]', $(form));\n if ($validator.length > 0) {\n $validator.html(validationMessage);\n $validator.show();\n } else {\n var $validator = $('*[data-validationmsg]', $(form));\n $validator.html(validationMessage);\n $validator.show();\n }\n }\n };\n\n form.submit = function(config) {\n var me = this;\n\n if (form.isLoading())\n return;\n\n me.showLoader();\n\n var successFn = function (response) {\n me.hideLoader();\n\n var responseData = form.methodType == 'control' ? jQuery.parseJSON(response) : response.d;\n\n if (responseData.Success) responseData.success = responseData.Success;\n if (responseData.Code) responseData.code = responseData.Code;\n if (responseData.data) responseData.data = responseData.Data;\n if (responseData.time) responseData.time = responseData.Time;\n\n if (!responseData.success && responseData.code == 'GenericError') {\n if (typeof (responseData.Data) == 'string') {\n try {\n responseData.Data = jQuery.parseJSON(responseData.Data);\n } catch (e) {\n }\n }\n }\n\n if (responseData.success && typeof (me.onSuccess) === 'function')\n me.onSuccess(config, responseData);\n else if (!responseData.success && typeof (me.onFailure) === 'function')\n me.onFailure(config, responseData);\n };\n\n var failureFn = function (ex) {\n me.hideLoader();\n\n var response = {\n code: 'GenericError',\n success: false,\n time: 0\n };\n\n if (ex.responseText)\n response.data = jQuery.parseJSON(ex.responseText)\n else\n response.data = ex;\n\n if (typeof (me.onFailure) === 'function')\n me.onFailure(config, response);\n };\n\n if (form.methodType === 'control') { // todo: is this used??\n form.invoke(form.config, form.submitUrl, form.methodType == 'control' ? config : JSON.stringify(config), successFn, failureFn);\n }\n else {\n $.ajax({\n async: true,\n type: 'POST',\n dataType: 'json',\n contentType: 'application/json; charset=UTF-8',\n ContentType: 'application/json; charset=UTF-8',\n url: LhApp.Function.Url.getServiceEndpoint(me.submitUrl),\n data: JSON.stringify(config),\n success: successFn,\n error: failureFn,\n failure: failureFn\n });\n }\n };\n\n $('*[data-section=\"failure\"] *[data-click=\"reset\"]', $(form)).click(function(e) {\n e.preventDefault();\n\n var isDisabled = form.isLoading() || LhApp.Function.isButtonDisabled(this);\n if (isDisabled)\n return;\n\n form.reset();\n form.back();\n });\n });\n};\n\nVendd.Scripts.load(function() {\n var $forms = $('.x-control.x-form[data-control=\"form\"]');\n var $ajaxForms = $('.x-control.x-form[data-control=\"form\"][data-ajax=\"true\"]');\n\n hookFormsFn($forms);\n hookAjaxFormsFn($ajaxForms);\n\n if (venddProjectConfigs.convertToGreek)\n convertToGreek();\n\n if (venddProjectConfigs.convertToUppercase)\n convertToUppercase();\n});\n\n\n","Vendd.Scripts.load(function () {\n\n //Always carousel\n initOwlSlider($('.news-slider > ul'), { singleItem: true, rewindSpeed: 1500 });\n initOwlSlider($('.category-list-page .caregory-slider > ul'), { items: 4, itemsDesktop: [1199, 3], itemsDesktopSmall: [959, 3], itemsTablet: [768, 2], itemsMobile: [479, 1] });\n initOwlSlider($('.category-list-page .brands-slider > ul'), { items: 4, itemsDesktop: [1199, 3], itemsDesktopSmall: [959, 3], itemsTablet: [768, 2], itemsMobile: [479, 1] });\n initOwlSlider($('.manufacturer-list-page .x-slider > ul'), { items: 5, itemsDesktop: [1199, 5], itemsDesktopSmall: [959, 3], itemsTablet: [768, 2], itemsMobile: [479, 1] });\n initOwlSlider($('.x-instagram-feed .instagram-list > ul'), { items: 5, itemsDesktop: [1199, 4], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] });\n\n //Carousel only on desktop - Product Lists\n var ww = $(window).outerWidth();\n var mobile = (ww < 960) ? true : false;\n\n if (!mobile) { \n initOwlSlider($('.home-page .countdown-container .x-product-slider .x-product-list > ul'), { items: 3, itemsDesktop: [1199, 3], itemsDesktopSmall: [959, 2], itemsTablet: [640, 1], itemsMobile: [479, 1] }); \n initOwlSlider($('.home-page .on-demand-container .x-product-slider .x-product-list > ul'), { items: 5, itemsDesktop: [1199, 4], itemsDesktopSmall: [959, 3], itemsTablet: [640, 2], itemsMobile: [479, 2] }); \n initOwlSlider($('.manufacturer-details-page .x-product-slider .x-product-list > ul'), { items: 4, itemsDesktop: [1199, 4], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2], });\n initOwlSlider($('.product-details-region .tab-content .x-product-slider .x-product-list > ul'), { items: 3, itemsDesktop: [1599, 2], itemsDesktopSmall: [1199, 1], itemsTablet: [768, 2], itemsMobile: [479, 1] });\n initOwlSlider($('.product-details-region .x-product-slider.same-color-products .x-product-list > ul'), { items: 5, itemsDesktop: [1199, 5], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] }); \n initOwlSlider($('.combo-template-one .x-product-slider .x-product-list > ul'), { items: 5, itemsDesktop: [1199, 5], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] });\n initOwlSlider($('.combo-template-two .x-product-slider .x-product-list > ul'), { items: 5, itemsDesktop: [1199, 5], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] });\n initOwlSlider($('.category-list-page .x-product-slider .x-product-list > ul'), { items: 4, itemsDesktop: [1199, 4], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] });\n initOwlSlider($('.cart-region .x-product-slider .x-product-list > ul'), { items: 3, itemsDesktop: [1199, 3], itemsDesktopSmall: [959, 2], itemsTablet: [768, 2], itemsMobile: [479, 2] }); \n initOwlSlider($('.blog-details-page .x-product-slider .x-product-list > ul'), { items: 4, itemsDesktop: [1199, 4], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] });\n } \n\n $(window).on('resize', function () {\n\n ww = $(window).outerWidth();\n mobile = (ww < 960) ? true : false;\n\n if (!mobile) {\n initOwlSlider($('.home-page .countdown-container .x-product-slider .x-product-list > ul'), { items: 3, itemsDesktop: [1199, 3], itemsDesktopSmall: [959, 2], itemsTablet: [640, 1], itemsMobile: [479, 1] }); \n initOwlSlider($('.home-page .on-demand-container .x-product-slider .x-product-list > ul'), { items: 5, itemsDesktop: [1199, 4], itemsDesktopSmall: [959, 3], itemsTablet: [640, 2], itemsMobile: [479, 2] }); \n initOwlSlider($('.manufacturer-details-page .x-product-slider .x-product-list > ul'), { items: 4, itemsDesktop: [1199, 4], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2], });\n initOwlSlider($('.product-details-region .tab-content .x-product-slider .x-product-list > ul'), { items: 3, itemsDesktop: [1599, 2], itemsDesktopSmall: [1199, 1], itemsTablet: [768, 2], itemsMobile: [479, 1] });\n initOwlSlider($('.product-details-region .x-product-slider.same-color-products .x-product-list > ul'), { items: 5, itemsDesktop: [1199, 5], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] });\n initOwlSlider($('.combo-template-one .x-product-slider .x-product-list > ul'), { items: 5, itemsDesktop: [1199, 5], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] });\n initOwlSlider($('.combo-template-two .x-product-slider .x-product-list > ul'), { items: 5, itemsDesktop: [1199, 5], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] });\n initOwlSlider($('.category-list-page .x-product-slider .x-product-list > ul'), { items: 4, itemsDesktop: [1199, 4], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] });\n initOwlSlider($('.cart-region .x-product-slider .x-product-list > ul'), { items: 3, itemsDesktop: [1199, 3], itemsDesktopSmall: [959, 2], itemsTablet: [768, 2], itemsMobile: [479, 2] });\n initOwlSlider($('.blog-details-page .x-product-slider .x-product-list > ul'), { items: 4, itemsDesktop: [1199, 4], itemsDesktopSmall: [959, 4], itemsTablet: [768, 3], itemsMobile: [479, 2] });\n } else {\n destroyOwlSlider($('.home-page .countdown-container .x-product-slider .x-product-list > ul')); \n destroyOwlSlider($('.home-page .on-demand-container .x-product-slider .x-product-list > ul')); \n destroyOwlSlider($('.manufacturer-details-page .x-product-slider .x-product-list > ul'));\n destroyOwlSlider($('.product-details-region .tab-content .x-product-slider .x-product-list > ul'));\n destroyOwlSlider($('.product-details-region .x-product-slider.same-color-products .x-product-list > ul'));\n destroyOwlSlider($('.combo-template-one .x-product-slider .x-product-list > ul'));\n destroyOwlSlider($('.combo-template-two .x-product-slider .x-product-list > ul'));\n destroyOwlSlider($('.category-list-page .x-product-slider .x-product-list > ul'));\n destroyOwlSlider($('.cart-region .x-product-slider .x-product-list > ul'));\n destroyOwlSlider($('.blog-details-page .x-product-slider .x-product-list > ul'));\n }\n\n });\n \n});\n\nvar defSliderOptions = {\n navigation: true,\n pagination: true,\n items: 3,\n slideSpeed: 600,\n scrollPerPage: true,\n paginationSpeed: 600,\n addClassActive: true,\n navigationText: [\"\", \"\"],\n autoPlay: false,\n lazyLoad: false\n\n};\n\nfunction initOwlSlider(container, options) {\n\n if ($(container).length > 0) {\n\n var $wrapper = $(container).closest('.x-slider');\n\n if (!$wrapper.data('init')) return;\n\n var opts = $.extend({}, defSliderOptions, options);\n\n if ($wrapper.data('detailed-pager')) {\n opts.afterUpdate = function () {\n assignPagerValues($wrapper);\n };\n opts.afterInit = function () {\n assignPagerValues($wrapper);\n };\n }\n\n if ($(container).parent().hasClass(\"js-lazyload\") && typeof $.fn.lazyload === \"function\") {\n\n opts.afterMove = opts.afterMove || function () {\n setTimeout(function () { $('img', $wrapper).trigger('lazyload'); }, defOptions.slideSpeed);\n };\n $(\"img\", $wrapper).lazyload().trigger('lazyload');\n }\n\n container.owlCarousel(opts);\n }\n}\n\nfunction destroyOwlSlider($container) {\n\n if ($container.length > 1) {\n //for those pages that have more than one product list ex category list page\n $container.each(function () {\n if (typeof $(this).data('owlCarousel') !== 'undefined') {\n $(this).data('owlCarousel').destroy();\n $(this).removeClass('owl-carousel');\n }\n });\n } else {\n if (typeof $container.data('owlCarousel') !== 'undefined') {\n $container.data('owlCarousel').destroy();\n $container.removeClass('owl-carousel');\n }\n }\n \n}\n\nfunction assignPagerValues(wrapper) {\n\n if (!wrapper || wrapper.length < 1) return;\n\n var items = $('> ul > .owl-wrapper-outer > .owl-wrapper > .owl-item', wrapper);\n var pages = $('> ul > .owl-controls > .owl-pagination > .owl-page', wrapper);\n\n items.each(function (index, item) {\n var $item = $(item),\n value = $('.slide-container', $item).data('pager');\n $('span', pages.eq(index)).html(value);\n\n });\n\n}\n","Vendd.Scripts.load(function () {\n\n var hasLikeBox = $('.x-facebook-likebox').length > 0;\n var hasCustomerChat = $('.x-facebook-customer-chat').length > 0;\n var ua = window.navigator.userAgent;\n var isIE = /MSIE|Trident/.test(ua);\n\n if ((hasLikeBox || hasCustomerChat) && !isIE) {\n var facebookSettings;\n var facebookSettingsEl = $('#facebook-settings');\n\n if (facebookSettingsEl.length > 0) {\n facebookSettings = {\n AppId: $(facebookSettingsEl[0]).data('facappid'),\n PageId: $(facebookSettingsEl[0]).data('facpageid')\n };\n\n facebookSettingsEl.remove();\n }\n \n if (facebookSettings) {\n window.fbAsyncInit = function () {\n FB.init({\n appId: facebookSettings.AppId,\n autoLogAppEvents: true,\n xfbml: true,\n version: 'v10.0'\n });\n };\n }\n\n (function (d, s, id) {\n var js, fjs = d.getElementsByTagName(s)[0];\n if (d.getElementById(id)) return;\n js = d.createElement(s); js.id = id;\n js.src = \"https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js\";\n fjs.parentNode.insertBefore(js, fjs);\n }(document, 'script', 'facebook-jssdk'));\n }\n\n});","var $enableFormatPrices = false;\nfunction formatPrices($container) {\n if (!$enableFormatPrices) return;\n if (!$container || $container.length < 0) $container = $('html');\n var $boxes = $('[data-format=\"price\"]:not(.price-formatted)', $container);\n $boxes.each(function (index, box) {\n var $box = $(box), amount = $box.html(), formed = \"\";\n if ($box.hasClass('price-formatted')) return;\n $box.addClass('price-formatted');\n formed = formatPrice(amount);\n $box.html(formed);\n });\n return $boxes.length;\n}\n\nfunction formatPrice(amount) {\n var sep = LhApp.Context.Currency.DecimalSeparator, cur = decodeEntities(LhApp.Context.Currency.Symbol), pos, formed = \"\";\n if (!amount) return formed;\n amount = amount.trim();\n pos = amount.indexOf(cur);\n amount = amount.replace(cur, '').trim().split(sep);\n\n /* Respect number of decimal digits */\n amount[1] = amount[1].substring(0, LhApp.Context.Currency.NumberOfDigits);\n\n formed += pos == 0 ? '' + cur + '' : '';\n formed += amount.length > 0 ? '' + amount[0] + '' : '';\n /* Hides decimal part */\n if (amount[1] == '00') {\n formed += amount.length > 1 ? '' + sep + '' + amount[1] + '' : '';\n } else {\n formed += amount.length > 1 ? '' + sep + '' + amount[1] + '' : '';\n }\n formed += pos > 0 ? '' + cur + '' : '';\n return formed;\n}","Vendd.Scripts.load(function () {\n\n\t/**\n\t * NumberFormatter class\n\t * \n\t * Instances of this class may be used to convert numerical literals to native js \n\t * values and vice versa.\n\t * \n\t * The formatter is implicitly configured via the LhApp.context.Currency.* properties,\n\t * that specify the preferred number of decimal digits, the decimal separator, as well \n\t * as the symbol and position of the effective currency (if applicable).\n\t * \n\t * \n\t * Example:\n\t * \n\t * // LhApp.Context.Currency.Symbol = 'EUR';\n\t * // LhApp.Context.Currency.DecimalSeparator = ',';\n\t * // LhApp.Context.Currency.NumberOfDigits = true;\n\t * \n\t * var price = PriceFormatter.parsePrice('1000,45 EUR'); // price = 1000.45\n\t * var priceLiteral = PriceFormater.formatPrice(45.5); // priceLiteral = '45,50 EUR'\n\t * \n\t */\n\n\twindow.NumberFormatter = new NumberFormatter();\n\n\tfunction NumberFormatter() {\n\t\tvar self = this;\n\n\t\tvar currencySymbol = LhApp.Context.Currency.Symbol || '';\n\t\tvar currencyFirst = LhApp.Context.Currency.SymbolShownFirst || false;\n\t\tvar currencyVisible = LhApp.Context.Currency.DoShowSymbol || false;\n\t\tvar decimalSeparator = LhApp.Context.Currency.DecimalSeparator || '.';\n\t\tvar decimalDigits = LhApp.Context.Currency.NumberOfDigits || 0;\n\t\tvar pricePrefix = currencyVisible && currencyFirst ? currencySymbol + ' ' : '';\n\t\tvar priceSuffix = currencyVisible && !currencyFirst ? ' ' + currencySymbol : '';\n\n\t\t// Public methods\n\n\t\t//------------------------------------------------------------------------------\n\t\tthis.parse = function (numberLiteral) {\n if (typeof numberLiteral == 'undefined') {\n return undefined;\n }\n\n if (typeof numberLiteral !== 'string') {\n numberLiteral = numberLiteral.toString();\n }\n\t\t\t\n\t\t\tif (numberLiteral.trim().length === 0) {\n\t\t\t\treturn undefined;\n\t\t\t}\n\n\t\t\tnumberLiteral = numberLiteral.replace(decimalSeparator, '.').trim();\n\t\t\tvar number = parseFloat(numberLiteral);\n\n\t\t\tif (isNaN(number)) {\n\t\t\t\treturn undefined;\n\t\t\t}\n\n\t\t\treturn number;\n\t\t};\n\n\t\t//------------------------------------------------------------------------------\n\t\tthis.parsePrice = function (priceLiteral) {\n\t\t\tif (typeof priceLiteral !== 'string') {\n\t\t\t\treturn undefined;\n\t\t\t}\n\t\t\tif (priceLiteral.trim().length === 0) {\n\t\t\t\treturn undefined;\n\t\t\t}\n\n\t\t\tpriceLiteral = priceLiteral.replace(currencySymbol, '').trim();\n\t\t\tpriceLiteral = priceLiteral.replace(decimalSeparator, '.').trim();\n\t\t\tvar number = parseFloat(priceLiteral);\n\n\t\t\tif (isNaN(number)) {\n\t\t\t\treturn undefined;\n\t\t\t}\n\n\t\t\treturn number;\n\t\t};\n\n\t\t//------------------------------------------------------------------------------\n\t\tthis.formatPrice = function (number) {\n\t\t\tif (number === undefined) {\n\t\t\t\treturn '';\n\t\t\t}\n\t\t\tif (isNaN(number)) {\n\t\t\t\treturn '';\n\t\t\t}\n\n\t\t\tvar numberLiteral = self.format(number);\n\n\t\t\treturn pricePrefix + numberLiteral + priceSuffix;\n\t\t};\n\n\t\t//------------------------------------------------------------------------------\n\t\tthis.format = function (number) {\n\t\t\tif (number === undefined) {\n\t\t\t\treturn '';\n\t\t\t}\n\t\t\tif (isNaN(number)) {\n\t\t\t\treturn '';\n\t\t\t}\n\n\t\t\tvar numberLiteral;\n\n\t\t\tif (0 < decimalDigits) {\n\t\t\t\tnumberLiteral = parseFloat(number).toFixed(decimalDigits);\n\t\t\t\tnumberLiteral = numberLiteral.replace('.', decimalSeparator);\n\t\t\t} else {\n\t\t\t\tnumberLiteral = '' + parseInt(number);\n\t\t\t}\n\n\t\t\treturn numberLiteral;\n\t\t};\n\n\t\t//------------------------------------------------------------------------------\n\t\tthis.formatInt = function (number) {\n\t\t\tif (number === undefined) {\n\t\t\t\treturn '';\n\t\t\t}\n\t\t\tif (isNaN(number)) {\n\t\t\t\treturn '';\n\t\t\t}\n\n\t\t\tvar numberLiteral = '' + parseInt(number);\n\n\t\t\treturn numberLiteral;\n\t\t};\n\n\t\treturn self;\n\t};\n});\n","//============================================================================================================\n// GLOBAL VARS\n//============================================================================================================\n\nvar fancyOverlayColor = '#fff';\nvar fancyOverlayOpacity = 0.75;\nvar rating = 4.3;\nvar sidebar;\n\n//============================================================================================================\n// DOCUMENT READY\n//============================================================================================================\n$(document).ready(function () {\n\n initMyAccountFunctions();\n initCheckoutFunction();\n\n function initMyAccountFunctions() {\n if (typeof (InitMyAccountFunctions) == \"function\")\n InitMyAccountFunctions();\n };\n\n function initCheckoutFunction() {\n if (typeof (InitCheckoutFunctions) == \"function\")\n InitCheckoutFunctions();\n };\n\n $('*[data-numbers-allowed=\"true\"]').keyup(function () {\n var value = this.value.replace(/[^0-9\\.,]/g, '');\n\n if (this.value != value) {\n this.value = value;\n }\n });\n\n $('.scroll-to-next').click(function (e) {\n e.preventDefault();\n\n var infoBarHeight = $('header .region-area-one').height(),\n breadcrumbHeight = $('.x-breadcrumb').height() || 0;\n if( $('.scroll-to-next-target').length ) {\n scroll_to_class('.scroll-to-next-target', infoBarHeight + breadcrumbHeight, 400);\n } \n });\n\n initSideStickyColumn();\n initTooltips();\n\n});\n\n\n\n//============================================================================================================\n// DOCUMENT READY END\n//============================================================================================================\nfunction numbersOnly(event) {\n // left arrow, right arrow, tab\n if (event.keyCode == 37 || event.keyCode == 39 || event.keyCode == 9) {\n }\n else if (event.keyCode == 46 || event.keyCode == 8 || event.keyCode == 36 || event.keyCode == 35) { // delete, backspace, home, end\n }\n else {\n if (event.keyCode < 95) {\n if (event.keyCode < 48 || event.keyCode > 57) // numbers\n event.preventDefault();\n }\n else {\n if (event.keyCode < 96 || event.keyCode > 105) // keypad\n event.preventDefault();\n }\n }\n}\n\nfunction preventSpecialCharacter(e) {\n var shiftPressed = e.shiftKey;\n var keyCode = e.keyCode;\n\n if (shiftPressed) {\n // In Order: '<', '>', '#', '&', '%', '{', '}'\n if (keyCode == 188 || keyCode == 190 || keyCode == 51 || keyCode == 55 || keyCode == 53 || keyCode == 219 || keyCode == 221)\n e.preventDefault();\n } else {\n // In Order: '/', '[', ']', '/(numPad)', '&', '%'\n if (keyCode == 191 || keyCode == 219 || keyCode == 221 || keyCode == 111)\n e.preventDefault();\n }\n};\n\nfunction removeWhiteSpaces(input) {\n //remove white spaces from postal code\n var val = input.val();\n\n if (val.length > 0) {\n val = val.replace(/\\s/g, '');\n input.val(val);\n }\n};\n\nfunction phoneGROnly(event) {\n numbersOnly(event);\n if ($(event.currentTarget).val().length > 9)\n // delete, backspace, home, end, left arrow, right arrow, tab\n if (event.keyCode == 46 || event.keyCode == 8 || event.keyCode == 36 || event.keyCode == 35 || event.keyCode == 37 || event.keyCode == 39 || event.keyCode == 9) { }\n else { event.preventDefault(); }\n}\n\nfunction stickyContainer(container, cssClass) {\n //Sticky container on scroll\n\n //Call Example\n //stickyContainer($('.header-region'), 'sticky');\n\n var containerHeight = container.height();\n var scrlTop = $(window).scrollTop();\n container.before(\"
\");\n var spacer = $('.spacer');\n\n //Initialize\n if (scrlTop >= containerHeight) {\n spacer.height(containerHeight);\n container.addClass(cssClass);\n }\n else {\n spacer.height(0);\n container.removeClass(cssClass);\n }\n\n /* respond to scroll event */\n $(window).scroll(function () {\n scrlTop = $(window).scrollTop();\n if (scrlTop >= containerHeight) {\n spacer.height(containerHeight);\n container.addClass(cssClass);\n }\n else {\n spacer.height(0);\n container.removeClass(cssClass);\n }\n });\n}\n\nfunction scroll_to_class(element_class, removed_height) {\n var scroll_to = $(element_class).offset().top - removed_height;\n if ($(window).scrollTop() != scroll_to) {\n $('html, body').stop().animate({\n scrollTop: scroll_to\n }, 0);\n }\n}\n\nfunction hideOnScrollDown(container, cssClass) {\n // Hide container on on scroll down\n\n //Call Example\n //hideOnScrollDown($('.header-region'), 'hidden');\n\n var containerHeight = container.height();\n\n var didScroll;\n var lastScrollTop = 0;\n var delta = 5;\n\n $(window).scroll(function (event) {\n didScroll = true;\n });\n\n setInterval(function () {\n if (didScroll) {\n var st = $(this).scrollTop();\n // Make sure they scroll more than delta\n if (Math.abs(lastScrollTop - st) <= delta)\n return;\n\n // If they scrolled down and are past the navbar, add class .nav-up.\n // This is necessary so you never see what is \"behind\" the navbar.\n if (st > lastScrollTop && st > containerHeight) {\n // Scroll Down\n container.addClass(cssClass);\n } else {\n // Scroll Up\n if (st + $(window).height() < $(document).height()) {\n container.removeClass(cssClass);\n }\n }\n\n lastScrollTop = st;\n didScroll = false;\n }\n }, 250);\n\n}\n\nfunction validateEmail(email) {\n var re = /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n return re.test(email);\n}\n\nfunction isTouch() {\n return ($('.touch').length > 0);\n}\n\nfunction importEmailForRegistration() {\n\n var email = sessionStorage.getItem('registrationEmail');\n\n if ($('.x-registration-form').length > 0 && email) {\n $('.x-registration-form input[name=\"email\"]').val(email);\n }\n\n if ($('.x-registration-b2b-form').length > 0 && email) {\n $('.x-registration-b2b-form input[name=\"email\"]').val(email);\n }\n\n}\n\nfunction initSideStickyColumn() {\n\n var stickyContainer = $('.side-content.js-sticky-column');\n\n if (stickyContainer.length < 1) return;\n\n var stickyConfig = {};\n if (isTouch()) {\n stickyConfig = {\n topSpacing: 0,\n bottomSpacing: 0,\n containerSelector: '.sticky-full',\n innerWrapperSelector: '.inner-sticky-column',\n resizeSensor: true,\n minWidth: 960\n };\n\n } else {\n stickyConfig = {\n topSpacing: stickyContainer.data('top-spacing') || 50,\n bottomSpacing: stickyContainer.data('bottom-spacing') || 0,\n containerSelector: '.sticky-full',\n innerWrapperSelector: '.inner-sticky-column',\n resizeSensor: true,\n minWidth: 960\n\n };\n\n }\n\n sidebar = new StickySidebar('.side-content.js-sticky-column', stickyConfig);\n}\n\nfunction initTooltips() {\n var $wrapper = $('.form-row .tooltip-info-wrapper');\n\n if ($wrapper.length < 1)\n return;\n\n $('.info-btn', $wrapper).click(function () {\n var tooltipBox = $(this).siblings('.info-tooltip');\n $('.info-tooltip', $wrapper).not(tooltipBox).hide();\n tooltipBox.toggle();\n });\n\n $(document).on('click', function (e) {\n if (!$wrapper.is(e.target) && $wrapper.has(e.target).length === 0) {\n $('.info-tooltip', $wrapper).hide();\n }\n });\n}\n\n// in case of pages that need to load inside an iframe\n// and call parent vendd js to execute some actions\n// make sure that parent vendd iframe is accessible\nfunction getParentOrSelfVendd() {\n try {\n\n if (typeof parent.Vendd != \"undefined\")\n return parent.Vendd;\n }\n catch (error) { }\n\n return Vendd;\n}\n\nfunction isElementInViewport(el) {\n\n if (el.length <= 0)\n return false;\n //special bonus for those using jQuery\n if (typeof jQuery === \"function\" && el instanceof jQuery) {\n el = el[0];\n }\n\n var rect = el.getBoundingClientRect();\n\n return (\n rect.top >= 0 &&\n rect.left >= 0 &&\n rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && /*or $(window).height() */\n rect.right <= (window.innerWidth || document.documentElement.clientWidth) /*or $(window).width() */\n );\n}\n\nfunction isElementPartialyInViewport(el, minSize = { height: 0, width: 0 }) { // minSize = Minimum viewable size of element in viewport\n\n if (el.length <= 0)\n return false;\n //special bonus for those using jQuery\n if (typeof jQuery === \"function\" && el instanceof jQuery) {\n el = el[0];\n }\n\n var rect = el.getBoundingClientRect();\n\n return (\n rect.bottom >= 0 &&\n rect.right >= 0 &&\n (rect.top + minSize.height) <= (window.innerHeight || document.documentElement.clientHeight) &&\n (rect.left + minSize.width) <= (window.innerWidth || document.documentElement.clientWidth)\n );\n} \n \n//============================================================================================================\n\nfunction UpdateQueryString(key, value, url) {\n\n if (!url) url = window.location.href;\n\n // dirty fix for new url rewriter, remove page number to go back to page 1\n url = url.replace(/\\/{1}p{1}[0-9]+/, '');\n\n\n //Vendd.MessageBus.publishAsync(wrapper, new Vendd.FilterProduct.Messages.GetNextFilter());\n\n var re = new RegExp(\"([?|&])\" + key + \"=.*?(&|#|$)\", \"gi\");\n\n if (url.match(re)) {\n if (value)\n var value = url.replace(re, '$1' + key + \"=\" + value + '$2');\n else\n var value = url.replace(re, '$2');\n\n if (value.indexOf('?') == -1) { // convert first paramter separator to query params separator\n var pos = value.indexOf('&');\n if (pos != -1) // has at least one parameter\n value = value.substring(0, pos) + '?' + value.substring(pos + 1, value.length);\n }\n return value;\n }\n else {\n if (value) {\n var separator = url.indexOf('?') !== -1 ? '&' : '?',\n hash = url.split('#');\n url = hash[0] + separator + key + '=' + value;\n if (hash[1]) url += '#' + hash[1];\n return url;\n }\n else\n return url;\n }\n};\n\nfunction getQueryStringValueByName(name) {\n name = name.replace(/[\\[]/, \"\\\\\\[\").replace(/[\\]]/, \"\\\\\\]\");\n var regexS = \"[\\\\?&]\" + name + \"=([^&#]*)\";\n var regex = new RegExp(regexS);\n var results = regex.exec(window.location.search);\n if (results == null)\n return \"\";\n else\n return decodeURIComponent(results[1].replace(/\\+/g, \" \"));\n}","Vendd.Scripts.load(function () {\n\n if ($('.header-template-one').length <= 0)\n return;\n\n if (isTouch()) {\n initResponsiveHeader();\n //initScrollDirection();\n stickyHeaderResponsive();\n } else {\n stickyHeader();\n }\n\n initCallMeBack();\n initUspSlider();\n\n var isMoved = false;\n});\n\nfunction stickyHeader() {\n var header = $('.header-region');\n var spacer = $('.header-spacer');\n var inlineAdminHeight, eSatisfactionHeight, infoBarHeight, breadcrumbHeight;\n\n initSticky();\n // $(window).scroll(initSticky);\n // $(window).resize(function () { initSticky() });\n\n function initSticky() {\n\n if ($('html').hasClass('no-scroll')) return;\n\n infoBarHeight = $('.region-area-one', header).height() || 0;\n breadcrumbHeight = $('.x-breadcrumb').height() || 0;\n inlineAdminHeight = $('.region-area-zero', header).height() || 0;\n eSatisfactionHeight = $('.esat-bar').height() || 0;\n\n // if (($(window).scrollTop() < infoBarHeight + inlineAdminHeight + eSatisfactionHeight || $(window).width() < 1200)) {\n // header.removeClass('sticky');\n // spacer.height(0);\n // } else {\n // header.addClass('sticky');\n // spacer.height(infoBarHeight + breadcrumbHeight); \n // }\n\n spacer.height(infoBarHeight + breadcrumbHeight); \n if( infoBarHeight ) {\n $('.x-breadcrumb').css('top',infoBarHeight);\n }\n if( (infoBarHeight + breadcrumbHeight) > 88 ) {\n $('.fixed-top-element').css('top',infoBarHeight + breadcrumbHeight);\n } else {\n $('.fixed-top-element').css('top','88px');\n }\n } \n}\n\nfunction stickyHeaderResponsive() {\n var header = $('.header-region');\n var spacer = $('.header-spacer');\n var inlineAdminHeight, eSatisfactionHeight, infoBarHeight, breadcrumbHeight, searchBarHeight;\n \n initStickyResponsive();\n $(window).scroll(initStickyResponsive);\n $(window).resize(function () { initStickyResponsive() });\n\n function initStickyResponsive() {\n\n if ($('html').hasClass('no-scroll')) return;\n\n infoBarHeight = $('.region-area-one', header).height() || 0;\n breadcrumbHeight = $('.x-breadcrumb').height() || 0;\n searchBarHeight = $('.region-area-three', header).height();\n inlineAdminHeight = $('.region-area-zero', header).height() || 0;\n eSatisfactionHeight = $('.esat-bar').height() || 0;\n\n if (($(window).scrollTop() <= infoBarHeight + inlineAdminHeight + eSatisfactionHeight)) {\n header.removeClass('sticky');\n if ($(window).width() < 1200) {\n spacer.height(0);\n $('.x-breadcrumb').css('top','auto');\n $('.fixed-top-element:not(.x-product-details-sticky-bar)').css('top',0);\n $('.x-product-details-sticky-bar').css('top',60);\n } else {\n spacer.height(infoBarHeight + breadcrumbHeight);\n if( infoBarHeight ) {\n $('.x-breadcrumb').css('top',infoBarHeight);\n }\n if( (infoBarHeight + breadcrumbHeight) > 88 ) {\n $('.fixed-top-element').css('top',infoBarHeight + breadcrumbHeight);\n } else {\n $('.fixed-top-element').css('top','88px');\n }\n }\n } else {\n header.addClass('sticky');\n if ($(window).outerWidth() < 1200) {\n spacer.height(breadcrumbHeight + infoBarHeight + searchBarHeight);\n $('.x-breadcrumb').css('top','auto');\n $('.fixed-top-element:not(.x-product-details-sticky-bar)').css('top',0);\n $('.x-product-details-sticky-bar').css('top',60);\n } else {\n spacer.height(infoBarHeight + breadcrumbHeight);\n if( infoBarHeight ) {\n $('.x-breadcrumb').css('top',infoBarHeight);\n }\n if( (infoBarHeight + breadcrumbHeight) > 88 ) {\n $('.fixed-top-element').css('top',infoBarHeight + breadcrumbHeight);\n } else {\n $('.fixed-top-element').css('top','88px');\n }\n }\n } \n } \n}\n\nfunction initResponsiveHeader() {\n\n if (isTouch()) {\n $(window).resize(function () {\n attachToResponsiveArea();\n });\n }\n\n var isMoved = false;\n\n if ($(window).outerWidth() < 1200) {\n if (isTouch()) {\n $('.header-region .region-area-two').addClass('reveal');\n $('.header-region .region-area-three').addClass('reveal');\n $('.header-region .x-searchbox').detach().appendTo('.header-region .region-area-three');\n isMoved = true;\n }\n }\n\n function attachToResponsiveArea() {\n\n if ($(window).outerWidth() < 1200) {\n if (!isMoved) {\n $('.header-region .region-area-two').addClass('reveal');\n $('.header-region .region-area-three').addClass('reveal');\n $('.header-region .x-searchbox').detach().appendTo('.header-region .region-area-three');\n isMoved = true;\n }\n } else {\n if (isMoved) {\n $('.header-region .x-searchbox').detach().insertAfter('.header-region .region-area-two .x-menu.main-menu');\n isMoved = false;\n }\n }\n }\n}\n\nfunction initScrollDirection() {\n var header = $('.header-region');\n var previousScroll = 0;\n\n $(window).scroll(function () {\n var currentScroll = $(this).scrollTop();\n if (currentScroll > previousScroll) {\n if (currentScroll > header.height()) {\n header.addClass('scroll-down').removeClass('scroll-up');\n }\n } else {\n header.addClass('scroll-up').removeClass('scroll-down');\n }\n previousScroll = currentScroll;\n });\n\n}\n\nfunction initCallMeBack() {\n\n if ($('.x-call-me-back-widget').length < 1)\n return;\n\n $('.call-me-back').click(function (e) {\n var url = $(this).data('url');\n $.fancybox.open({\n src: url,\n type: \"iframe\",\n toolbar: false,\n smallBtn: true,\n hash: null,\n baseClass: 'call-me-back-fancy',\n afterShow: function () {\n var $iframe = $('.fancybox-iframe').contents();\n $iframe.find('body').addClass('full');\n }\n });\n\n });\n}\n\nfunction initUspSlider() {\n var $header = $('.header-region');\n var $usps = $('.x-usp-widget > ul', $header);\n\n if ($usps.length < 1) return;\n\n var carouselMainOpts = {\n slidesToShow: 1,\n slidesToScroll: 1,\n autoplay: true,\n autoplaySpeed: 4000,\n infinite: true,\n dots: false,\n prevArrow: false,\n nextArrow: false\n };\n\n var ww = $(window).outerWidth();\n var mobile = (ww < 960) ? true : false;\n\n if (mobile) {\n $usps.slick(carouselMainOpts);\n }\n\n $(window).on('resize', function () {\n\n ww = $(window).outerWidth();\n mobile = (ww < 960) ? true : false;\n\n if (mobile) {\n if (!$usps.hasClass('slick-initialized')) $usps.slick(carouselMainOpts); \n } else {\n if ($usps.hasClass('slick-initialized')) $usps.slick('unslick');\n }\n\n });\n\n}\n\nfunction calculateSearchHeight() {\n var $wrapper = $('.x-searchbox.elastic');\n\n if ($wrapper.length < 1) return;\n\n var header = $('.header-region');\n var headerHeight, regionHeight, eSatisfactionHeight, searchOffset;\n\n //header height\n headerHeight = header.height() || 0;\n regionHeight = $('.region-area-four', header).height() || 0;\n headerHeight = headerHeight - regionHeight;\n //esatisfaction height\n eSatisfactionHeight = $('.esat-bar').height() || 0;\n //search offset\n searchOffset = headerHeight + eSatisfactionHeight;\n\n\n // $('.x-elastic-results-list', $wrapper).css({ 'height': 'calc(100% - ' + searchOffset + 'px)', top: searchOffset });\n}\n\nfunction closeHeaderElements(except) {\n // Main menu\n if(except !== 'main-menu') {\n var $wrapper = $('.x-menu.main-menu');\n $wrapper.removeClass('x-open');\n $('.nav-1', $wrapper).removeClass('opened-nav-2').removeClass('opened-nav-3');\n $('.nav-2', $wrapper).removeClass('opened-nav-3');\n $('.hovered', $wrapper).removeClass('hovered');\n $('.revealed', $wrapper).removeClass('revealed');\n }\n // Cart\n if(except !== 'cart') {\n var $wrapper = $('.x-cart-widget');\n $('.js-widget-trigger', $wrapper).removeClass('x-open');\n $('.js-widget-container', $wrapper).removeClass('x-expanded');\n }\n // Search\n if(except !== 'search') {\n var $wrapper = $('.x-searchbox.elastic');\n $wrapper.removeClass('expanded');\n }\n // Account\n if(except !== 'account') {\n var $wrapper = $('.x-login-widget');\n $('.js-widget-trigger', $wrapper).removeClass('x-open');\n $('.js-widget-container', $wrapper).removeClass('x-expanded');\n }\n}\n\n\n","Vendd.Scripts.load(function () {\n initTabPanel();\n});\n\nfunction initTabPanel($wrapper) {\n var $container = $wrapper;\n\n if (!$container) {\n $container = $('html');\n }\n\n $('.x-control.x-tab-panel', $container).each(function (i, wrapper) {\n\n $('*[data-tab-click]', $(wrapper)).click(function () {\n \n $(wrapper).removeClass('default');\n var thisTab = $(this);\n var innerWrapper = thisTab.closest('.x-tab-panel');\n var thisTabIndex = thisTab.data('tab-index');\n\n if ($('.product-details-region').length > 0) {\n $('li[data-tab-content-index=' + thisTabIndex + ']', innerWrapper).children('.mb-title').addClass('icon-arrow-up').removeClass('icon-arrow-down');\n $('li[data-tab-content-index=' + thisTabIndex + ']', innerWrapper).siblings().children('.mb-title').removeClass('icon-arrow-up').addClass('icon-arrow-down');\n }\n\n thisTab.addClass('active').siblings().removeClass('active');\n $('li[data-tab-content-index=' + thisTabIndex + ']', innerWrapper).addClass('active').siblings().removeClass('active');\n\n });\n\t$('*[data-tab-mobile-click]', $(wrapper)).click(function () {\n \n $(wrapper).removeClass('default');\n var $this = $(this);\n var innerWrapper = $this.closest('.x-tab-panel');\n var thisTabIndex = $this.data('tab-index');\n\n \n \n $('.x-tab-mobile', innerWrapper).removeClass('icon-arrow-up').addClass('icon-arrow-down');\n $this.removeClass('icon-arrow-down').addClass('icon-arrow-up');\n \n $('li[data-tab-content-index=' + thisTabIndex + ']', innerWrapper).addClass('active').siblings().removeClass('active');\n });\n\n });\n}","$(document).ready(function () {\n\n Handlebars.registerHelper('serialize', function (context) {\n return (context);\n });\n\n Handlebars.registerHelper('json', function (context) {\n return JSON.stringify(context);\n });\n\n Handlebars.registerHelper('equals', function (arg1, arg2, context) {\n if (arg1 == arg2) {\n return context.fn(this);\n } else {\n return context.inverse(this);\n }\n });\n\n Handlebars.registerHelper('notEquals', function (arg1, arg2, context) {\n if (arg1 != arg2) {\n return context.fn(this);\n } else {\n return context.inverse(this);\n }\n });\n\n});","Vendd.Scripts.load(function () {\n \n if ($('.x-off-canvas-menu').length <= 0)\n return;\n\n if (isTouch()) {\n $(window).resize(function () {\n attachToCanvasMenu();\n });\n }\n\n var isMoved = false;\n\n if ($(window).outerWidth() < 1200) {\n if (isTouch()) {\n if ($('.x-currency-selector').length > 0)\n $('.x-currency-selector').detach().prependTo('.js-canvas-menu').show();\n $('.x-call-me-back-widget').detach().prependTo('.js-canvas-menu').show();\n $('.x-shortcut').detach().prependTo('.js-canvas-menu').show();\n $('.js-main-menu').detach().prependTo('.js-canvas-menu').show();\n // $('.header-region .x-language-selector').detach().prependTo('.js-canvas-menu').show();\n\n isMoved = true;\n }\n }\n\n function attachToCanvasMenu() {\n\n if ($(window).outerWidth() < 1200) {\n if (!isMoved) {\n if ($('.x-currency-selector').length > 0)\n $('.x-currency-selector').detach().prependTo('.js-canvas-menu').show();\n $('.x-call-me-back-widget').detach().prependTo('.js-canvas-menu').show();\n $('.x-shortcut').detach().prependTo('.js-canvas-menu').show();\n $('.js-main-menu').detach().prependTo('.js-canvas-menu').show();\n // $('.header-region .x-language-selector').detach().prependTo('.js-canvas-menu').show();\n\n isMoved = true;\n }\n } else {\n if (isMoved) {\n $('.js-main-menu').detach().insertAfter('header .x-sitelogo');\n // $('.off-canvas-menu .x-language-selector').detach().insertAfter('.x-menu.main-menu');\n $('.x-shortcut').detach().insertAfter('.x-menu.main-menu');\n if ($('.x-currency-selector').length > 0)\n $('.x-currency-selector').detach().insertAfter('.x-menu.main-menu');\n $('.x-call-me-back-widget').detach().insertAfter('.x-menu.main-menu');\n\n isMoved = false;\n }\n }\n }\n\n});\n","$(document).ready(function () {\n\n var $wrapper = $('.site-version-container');\n \n if ($wrapper.length < 1)\n return;\n\n if ($('html').hasClass(\"touch\")) {\n $('.to-desktop', $wrapper).addClass(\"visible\");\n } else {\n $('.to-mobile', $wrapper).addClass(\"visible\");\n }\n\n $('.version-button').click(function () {\n if ($('html').hasClass(\"touch\")) {\n Cookies.set(\"siteVersion\", \"Desktop\", { expires: 365, samesite: 'Lax' });\n } else {\n Cookies.set(\"siteVersion\", \"Mobile\", { expires: 365, samesite: 'Lax' });\n }\n window.location.href = window.location.href;\n });\n\n});\n","Vendd.Scripts.load(function () {\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.BindControl, 'x-facebook-widget', function (envelope) {\n\n var $context = envelope.message.data.context,\n \t$wrappers = $('.x-facebook-widget', $context);\n\n if ($wrappers.length < 1)\n return;\n\n var $buttons = $('.js-fbsubmit-button', $wrappers);\n\n if (!Vendd.User.AuthProviders.facebook)\n throw new Error('facebook vendd auth provider not found');\n\n Vendd.User.AuthProviders.facebook.init();\n\n $('.x-facebook-widget .js-fbsubmit-button').click(function (e) {\n if (typeof (e.preventDefault) === 'function')\n e.preventDefault();\n\n Vendd.User.AuthProviders.facebook.login();\n });\n\n });\n});","Vendd.Scripts.load(function () {\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.BindControl, 'x-google-widget', function (envelope) {\n\n var $context = envelope.message.data.context,\n \t$wrappers = $('.x-google-widget', $context);\n\n if ($wrappers.length < 1)\n return;\n\n var $buttons = $('.js-gsubmit-button', $wrappers);\n\n if (!Vendd.User.AuthProviders.google)\n throw new Error('google vendd auth provider not found');\n\n if ($buttons.length > 0) {\n Vendd.User.AuthProviders.google.init();\n }\n\n $buttons.click(function (e) {\n if (typeof (e.preventDefault) === 'function')\n e.preventDefault();\n\n Vendd.User.AuthProviders.google.login();\n });\n\n });\n});","Vendd.Scripts.load(function () {\n 'use strict';\n\n var $wrapper = $('.x-inline-widget');\n if ($wrapper.length < 1)\n return;\n\n var wrapper = $wrapper.get(0);\n var model = null;\n var hasCookie = Cookies.get('InlineAdmin');\n\n wrapper.loading = function loading(loading) {\n if (loading) {\n $wrapper.addClass('x-loading');\n } else {\n $wrapper.removeClass('x-loading');\n };\n };\n\n wrapper.update = function update() {\n\n wrapper.loading(true);\n\n var html = Vendd.Handlebars.parse(\"inlineAdmin\", model);\n wrapper.bind(html);\n\n wrapper.loading(false);\n };\n\n wrapper.bind = function bind(html) {\n\n $wrapper.html(html);\n\n var loadJS = function (url, location, callback) {\n\n var scriptTag = document.createElement('script');\n\n scriptTag.src = url;\n\n if (!!callback && typeof callback === 'function') {\n\n scriptTag.onload = callback;\n scriptTag.onreadystatechange = callback;\n\n }\n\n location.appendChild(scriptTag);\n };\n\n loadJS('/system/js/plugins/q.js', document.body, function () {\n\n loadJS('https://cdn.ckeditor.com/ckeditor5/29.1.0/inline/ckeditor.js', document.body, function () {\n\n //var wrapper = $('.header-region .region-area-two');\n\n //wrapper.css(\"position\", \"relative\"); \n\n //var html = '
Edit
';\n\n //wrapper.append(html);\n\n $('.js-inline-admin-edit-page').on('click', function (e) {\n\n applyEditMode();\n\n e.preventDefault();\n e.stopPropagation();\n\n });\n\n });\n\n });\n\n $('.js-inline-admin-trigger').on('click', function () {\n\n this.href += '#' + encodeURIComponent(document.location.href);\n });\n\n var fancyOpts = {\n type: 'iframe',\n baseClass: \"inline-admin-popup\",\n toolbar: false,\n smallBtn: true\n };\n\n $(\"section.admin .iframe\").fancybox(fancyOpts);\n\n $('.inline-admin-logout').on('click', '.js-logout', function (e) {\n e.preventDefault();\n\n Vendd.MessageBus.publishAsync($wrapper, new Vendd.User.Messages.Logout());\n });\n\n $('.inline-clear-cache').on('click', '.js-clear-cache', function (e) {\n e.preventDefault();\n\n var domain = document.location.hostname;\n var url = location.protocol + '//' + domain + '/engine/clearcache?cloudflare=true';\n $.post(url, function (data) {\n alert(data);\n location.reload();\n });\n });\n\n $('.inline-admin-newguest').on('click', function (e) {\n e.preventDefault();\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.InlineAdmin.Messages.CheckForInlineAdmin(true));\n\n });\n $('.inline-admin-clearinterfaceuser').on('click', function (e) {\n e.preventDefault();\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.UserSelect.Messages.ClearInterfaceUser());\n\n });\n\n $('section.admin .shippingCountry').on('click', function (e) {\n e.preventDefault();\n window.location.href = LhApp.Function.Url.setParameterValue(\"country\", $(this).data(\"country\"));\n });\n\n $('.header-spacer').addClass('has-inline-admin');\n $('.header-region').addClass('has-inline-admin');\n\n };\n\n wrapper.newGuid = function newGuid() {\n return ([1e7] + [-1e3] + [-4e3] + [-8e3] + [-1e11]).replace(/[018]/g, (parseInt('$2') ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> parseInt('$2') / 4).toString(16));\n };\n\n Vendd.MessageBus.subscribe(Vendd.UserSelect.Messages.ClearInterfaceUserSuccess, wrapper, function (envelope) {\n location.reload();\n });\n\n if (hasCookie) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.InlineAdmin.Messages.CheckForInlineAdmin());\n\n Vendd.MessageBus.subscribe(Vendd.InlineAdmin.Messages.CheckForInlineAdminSuccess, wrapper, function (envelope) {\n\n model = envelope.message.data.model.data;\n if (model.CallCenter.InterfaceUserIsNewGuest)\n location.reload();\n\n wrapper.update();\n });\n\n Vendd.MessageBus.subscribe(Vendd.InlineAdmin.Messages.CheckForInlineAdminFailure, wrapper, function (envelope) {\n Cookies.set('InlineAdmin', '', { expires: 0, samesite: 'Lax' });\n });\n\n Vendd.MessageBus.subscribe(Vendd.InlineAdmin.Messages.CreateCookieForInlineAdminSuccess, wrapper, function (envelope) {\n model = envelope.message.data.model;\n var redirectUrl = envelope.message.data.redirectUrl;\n\n hasCookie = Cookies.get('InlineAdmin');\n\n if (!hasCookie) {\n Cookies.set('InlineAdmin', wrapper.newGuid(), { expires: 1, samesite: 'Lax' });\n }\n\n });\n }\n\n var applyEditMode = function () {\n\n Q($.ajax({\n type: \"POST\",\n url: 'https://venddeshop.test.devlh.com/vendd/api/security/authenticate',\n data: JSON.stringify({\n Username: '',\n Password: ''\n }),\n dataType: 'json',\n contentType: 'application/json; charset=UTF-8',\n ContentType: 'application/json; charset=UTF-8',\n xhrFields: { withCredentials: true }\n }))\n .then(function (response) {\n\n var controls = controlFactory.Resolve($('body'));\n\n Q.all(controls\n .map(function (x) {\n\n var result = x.init(); // promisify this\n\n if (!Q.isPromise(result)) {\n\n result = Q.Promise(function (resolve, reject) {\n\n resolve();\n\n });\n\n }\n\n return result.then(function () {\n return x;\n });\n\n }))\n .then(function () {\n\n controls.forEach(function (x) {\n\n x.build();\n x.render();\n x.bind();\n\n });\n\n });\n\n $('.js-inline-admin-edit-page').addClass('hidden');\n $('.js-inline-admin-edit-page-undo').removeClass('hidden');\n $('.js-inline-admin-edit-page-save').removeClass('hidden');\n\n });\n\n };\n\n var controlFactory = (function () {\n\n var factoriesDictionary = {};\n\n var controlFactory = function () {\n\n };\n\n controlFactory.prototype.register = function (name, factory) {\n\n factoriesDictionary[name] = factory;\n\n };\n\n controlFactory.prototype.Resolve = function (wrapper) {\n\n var results = [];\n\n Object.keys(factoriesDictionary).forEach(function (x) {\n\n results = results.concat(factoriesDictionary[x]());\n\n });\n\n return results;\n\n };\n\n controlFactory.prototype.destroy = function () {\n\n factoriesDictionary = undefined;\n\n };\n\n return new controlFactory();\n\n })();\n\n var controlBase = (function () {\n\n var controlBase = function (element, definition) {\n\n this.element = element;\n this.definition = definition;\n\n };\n\n controlBase.prototype.init = function () {\n\n };\n\n controlBase.prototype.build = function () {\n\n };\n\n controlBase.prototype.render = function () {\n\n };\n\n controlBase.prototype.bind = function () {\n\n };\n\n return controlBase;\n\n })();\n\n (function () {\n\n var languageMappings = [\n { Id: 10, Code: 'bg' },\n { Id: 3, Code: 'de' },\n { Id: 1, Code: 'el' },\n { Id: 2, Code: 'en' },\n { Id: 4, Code: 'es' },\n { Id: 5, Code: 'fr' },\n { Id: 6, Code: 'it' },\n { Id: 9, Code: 'ro' },\n { Id: 7, Code: 'ru' },\n { Id: 8, Code: 'zh' }\n ];\n\n var control = function (element, definition) {\n\n var self = this;\n\n controlBase.apply(self, [element, definition]);\n\n self.productId = element.data('parent-id');\n self.skuId = element.data('selected-id');\n self.path = element.data('path');\n\n };\n\n control.prototype = Object.create(controlBase.prototype);\n\n control.prototype.init = function () {\n\n var self = this;\n\n controlBase.prototype.init.apply(self);\n\n var url = 'https://venddeshop.test.devlh.com/vendd/api/InlineAdmin/GetFullItemAsync';\n var data = {\n SiteId: self.definition.siteId,\n ItemId: self.productId,\n EntityCode: \"product\",\n ItemPathChecksum: self.path\n };\n\n return Q($.ajax({\n type: \"POST\",\n url: url,\n data: JSON.stringify(data),\n dataType: 'json',\n contentType: 'application/json; charset=UTF-8',\n ContentType: 'application/json; charset=UTF-8',\n xhrFields: { withCredentials: true }\n }))\n .then(function (response) {\n\n self.row = response.data;\n\n return data;\n\n });\n\n };\n\n control.prototype.render = function () {\n\n controlBase.prototype.render.apply(self);\n\n var self = this;\n\n self.titleContainer = $('.title-container h1.title', self.element);\n self.descriptionContainer = $('.tabs-content .tab-content.dynamic-content.extended-descritpion').eq(0); // TODO: change this\n\n var localization = self.row.ItemsLocalized.find(function (x) {\n return x.LanguageId === self.definition.languageId;\n });\n\n InlineEditor\n .create(self.titleContainer[0], {\n toolbar: [\"undo\", \"redo\"]\n })\n .then(function (editor) {\n\n self.titleEditor = editor;\n\n editor.setData(localization.Name);\n\n editor.model.document.on('change:data', function() {\n\n $('.js-inline-admin-edit-page-undo').addClass('disabled')\n $('.js-inline-admin-edit-page-save').addClass('disabled')\n\n if (self.hasChanges()) {\n\n $('.js-inline-admin-edit-page-undo').removeClass('disabled')\n $('.js-inline-admin-edit-page-save').removeClass('disabled')\n\n }\n\n });\n\n })\n .catch(function (error) { console.error(error); });\n\n InlineEditor\n .create(self.descriptionContainer[0], {\n toolbar: [\"heading\", \"|\", \"bold\", \"italic\", \"link\", \"bulletedList\", \"numberedList\", \"|\", \"outdent\", \"indent\", \"|\", \"insertTable\", \"|\", \"undo\", \"redo\"]\n })\n .then(function (editor) {\n\n self.descriptionEditor = editor;\n\n self.description = editor.getData();\n\n editor.model.document.on('change:data', function() {\n\n $('.js-inline-admin-edit-page-undo').addClass('disabled')\n $('.js-inline-admin-edit-page-save').addClass('disabled')\n\n if (self.hasChanges()) {\n\n $('.js-inline-admin-edit-page-undo').removeClass('disabled')\n $('.js-inline-admin-edit-page-save').removeClass('disabled')\n\n }\n\n });\n\n })\n .catch(function (error) { console.error(error); });\n\n };\n\n control.prototype.hasChanges = function () {\n\n var self = this;\n\n var localization = self.row.ItemsLocalized.find(function (x) {\n return x.LanguageId === self.definition.languageId;\n });\n\n return localization.Name !== $(self.titleEditor.getData()).text()\n || self.description !== self.descriptionEditor.getData();\n\n };\n\n controlFactory.register('products', function () {\n\n var results = [];\n\n $('.x-product-details').each(function () {\n\n var ctl = new control($(this), {\n siteId: LhApp.Context.Site.Id,\n languageId: languageMappings.find(function (x) { return x.Code === LhApp.Context.Language }).Id\n });\n\n results.push(ctl);\n\n $(this).data('vendd-control', ctl);\n\n });\n\n return results;\n\n });\n\n })();\n\n});\n","Vendd.Scripts.load(function () {\n\n var $wrapper = $('.js-share-button');\n\n if ($wrapper.length < 1) {\n return;\n }\n\n var a = document.createElement('script');\n a.async = true;\n a.src = 'https://static.addtoany.com/menu/page.js';\n var s = document.getElementsByTagName('script')[0];\n s.parentNode.insertBefore(a, s);\n\n a.onload = function () {\n a2a_config.callbacks = a2a_config.callbacks || [];\n a2a_config.callbacks.push({\n ready: addToAnyInit\n });\n }\n\n function addToAnyInit() {\n a2a_config.target = '.share-this';\n a2a_config.onclick = 1;\n a2a_config.num_services = 6;\n a2a_config.prioritize = ['facebook_messenger', 'viber', 'gmail', 'email', 'x', 'whatsapp'];\n a2a_config.custom_services = [\n ['Instagram',\n \"https://www.instagram.com/?url=A2A_LINKURL_ENC&title=A2A_LINKNAME_ENC\",\n \"/Themes/templateThemeTwo/images/addToAny/instagram.svg\",\n ]\n ];\n a2a_config.exclude_services = [\n 'wykop', 'yummly', 'xing', 'wordpress', 'wechat', 'vk', 'typepad_post', 'twiddla', 'trello', 'threema', 'symbaloo_bookmarks',\n 'svejo', 'stocktwits', 'slashdot', 'refind', 'sitejot', 'rediff', 'qzone', 'pusha', 'printfriendly', 'plurk',\n 'pinboard', 'papaly', 'odnoklassniki', 'myspace', 'mixi', 'meneame', 'mendeley', 'mewe', 'mail_ru', 'livejournal',\n 'line', 'known', 'kindle_it', 'kakao', 'instapaper', 'houzz', 'hatena', 'hacker_news', 'google_classroom', 'folkd',\n 'fark', 'douban', 'draugiem', 'diigo', 'diary_ru', 'citeulike', 'box_net', 'bookmarks_fr', 'blogmarks', 'blogger',\n 'bitty_browser', 'bibsonomy', 'balatarin', 'pocket', 'tumblr', 'amazon_wish_list', 'aol_mail', 'telegram',\n 'diaspora', 'buffer', 'flipboard', 'digg', 'evernote', 'mastodon', 'sina_weibo'\n ];\n a2a.init('page');\n }\n\n});\n","Vendd.Scripts.load(function () {\n var $wrapper = $('.x-control.x-sortbyselector[data-control=\"sorter\"]');\n\n if ($wrapper.length < 1) return;\n\n var wrapper = $wrapper.get(0),\n model = null;\n\n wrapper.bind = function () {\n $wrapper.each(function (i, item) {\n $('select', item).sSelect({ ddMaxHeight: '200px' });\n\n $('select', item).change(function (e) {\n var targetUrl = $(this).find(\":selected\").data('url');\n if (targetUrl) document.location = targetUrl;\n });\n });\n };\n\n wrapper.update = function () {\n var html = Vendd.Handlebars.parse(\"sortBySelector_A\", model);\n $wrapper.html(html);\n wrapper.bind();\n };\n\n wrapper.bind();\n\n Vendd.MessageBus.subscribe(Vendd.ProductList.Messages.GetModelSuccess, $wrapper, function (envelope) {\n if (envelope.message.data.data.Products.Items.length < 1)\n return; \n\n model = envelope.message.data.data.SortBySelector;\n wrapper.update();\n });\n\n});\n\n","Vendd.Scripts.load(function () {\n var $wrapper = $('.x-control.x-pager[data-control=\"pager\"]');\n\n if ($wrapper.length < 1) return;\n\n var wrapper = $wrapper.get(0),\n model = null;\n\n var scrolled = $wrapper.data('scrolled') === true;\n\n wrapper.bind = function () {\n if (!isTouch()) updatePagerLinks();\n\n initPageSize();\n initComboPages();\n };\n\n wrapper.update = function () {\n var html;\n if (scrolled) {\n html = Vendd.Handlebars.parse(\"plPager_B\", model);\n } else {\n html = Vendd.Handlebars.parse(\"plPager_A\", model);\n }\n \n $wrapper.html(html);\n wrapper.bind();\n };\n\n\tfunction updatePagerLinks() {\n\t\t$('.pager').each(function (index, wrapper) {\n\t\t\tvar $wrapper = $(wrapper); \n\t\t\t//check if main product list product folder\n\t\t\tif ($wrapper.data('id') !== 'products') return;\n\t\t\tvar pageSizes = $('[data-format-url=\"pagesize\"]', $wrapper);\n\t\t\tvar pageJumps = $('[data-format-url=\"page\"]', $wrapper);\n\t\t\tvar prev = $('[data-format-url=\"prevpage\"]', $wrapper);\n\t\t\tvar next = $('[data-format-url=\"nextpage\"]', $wrapper);\n\n\t\t\tvar url = window.location.href,\n\t\t\t\tparts = url.split('?'),\n\t\t\t\tnewUrl, newParts;\n\n\t\t\tparts[0] = parts[0].replace(/\\/P\\d+\\//i, '');\n\n\t\t\t//prev link\n\t\t\tnewUrl = prev.attr('href');\n\t\t\tif (newUrl) {\n\t\t\t\tnewParts = newUrl.split('?');\n\t\t\t\tnewParts[0] = newParts[0].replace(/\\/P\\d+\\//i, '');\n\t\t\t\tif (newParts[0] !== parts[0]) {\n\t\t\t\t\tnewParts[0] = parts[0];\n\t\t\t\t\tif (newParts[0][newParts[0].length - 1] !== '/') {\n\t\t\t\t\t\tnewParts[0] += '/';\n\t\t\t\t\t}\n\t\t\t\t\tif (parseInt(prev.attr('data-page') || 0) > 1)\n\t\t\t\t\t\tnewParts[0] = newParts[0] + 'p' + prev.attr('data-page') + '/';\n\t\t\t\t\t\n\t\t\t\t\tprev.attr('href', newParts[0] + '?' + newParts[1]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//next link\n\t\t\tnewUrl = next.attr('href');\n\t\t\tif (newUrl) {\n\t\t\t\tnewParts = newUrl.split('?');\n\t\t\t\tnewParts[0] = newParts[0].replace(/\\/P\\d+\\//i, '');\n\t\t\t\tif (newParts[0] !== parts[0]) {\n\t\t\t\t\tnewParts[0] = parts[0];\n\t\t\t\t\tif (newParts[0][newParts[0].length - 1] !== '/') {\n\t\t\t\t\t\tnewParts[0] += '/';\n\t\t\t\t\t}\n\t\t\t\t\tif (parseInt(next.attr('data-page') || 0) > 1)\n\t\t\t\t\t\tnewParts[0] = newParts[0] + 'p' + next.attr('data-page') + '/';\n\t\t\t\t\tnext.attr('href', newParts[0] + '?' + newParts[1]);\n\t\t\t\t}\n\t\t\t}\n\n\n\t\t\t//page sizes\n\t\t\tpageSizes.closest('.x-pager-pagesizes').hide();\n\t\t\t//pageSizes.each(function (index, pageSize) {\n\t\t\t//\tvar $elem = $(pageSize);\n\t\t\t//\tnewUrl = $elem.attr('data-url');\n\t\t\t//\tnewParts = newUrl.split('?');\n\t\t\t//\tif (newParts[0] !== parts[0]) {\n\t\t\t//\t\tnewParts[0] = parts[0].replace(/\\/P\\d+\\//i, '');\n\t\t\t//\t\t$elem.attr('data-url', newParts[0] + '?' + newParts[1]);\n\t\t\t//\t}\n\t\t\t//});\n\n\t\t\t//pages\n\t\t\tpageJumps.each(function (index, pageJump) {\n\t\t\t\tvar $elem = $(pageJump);\n\t\t\t\tnewUrl = $elem.attr('data-url');\n\t\t\t\tnewParts = newUrl.split('?');\n\t\t\t\tif (newParts[0] !== parts[0]) {\n\t\t\t\t\tnewParts[0] = parts[0].replace(/\\/P\\d+\\//i, '');\n\t\t\t\t\tif (newParts[0][newParts[0].length - 1] !== '/') {\n\t\t\t\t\t\tnewParts[0] += '/';\n\t\t\t\t\t}\n\t\t\t\t\tif (parseInt($elem.val() || 0) > 1)\n\t\t\t\t\t\tnewParts[0] += 'p' + $elem.val() + '/';\n\t\t\t\t\t$elem.attr('data-url', newParts[0] + '?' + newParts[1]);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n }\n\n function initPageSize() {\n var $control = $('.x-control[data-control=\"pager\"][data-type=\"pageSize\"]');\n\n if ($control.length < 1) return;\n\n $control.each(function (i, item) {\n if (!isTouch()) $('select', item).sSelect({ ddMaxHeight: '200px' });\n\n $('select', item).change(function (e) {\n document.location = $(this).find(\":selected\").data('url');\n });\n });\n }\n\n function initComboPages() {\n var $control = $('.x-control[data-control=\"pager\"][data-type=\"combopages\"]');\n\n if ($control.length < 1) return;\n\n $control.each(function (i, item) {\n if (!isTouch()) $('select', item).sSelect({ ddMaxHeight: '200px' });\n\n $('select', item).change(function (e) {\n if ($(this).hasClass('disabled')) return;\n\n var element = $('.x-product-list li[data-page=\"' + $(this).find(\":selected\").val() + '\"]');\n if (element.length > 0) {\n $('html,body').animate({ scrollTop: element.eq(0).offset().top - 100 }, 600);\n return;\n }\n document.location = $(this).find(\":selected\").data('url');\n });\n });\n }\n\n wrapper.bind();\n\n Vendd.MessageBus.subscribe(Vendd.ProductList.Messages.GetModelSuccess, $wrapper, function (envelope) {\n if (envelope.message.data.data.Products.Items.length < 1)\n return;\n\n model = envelope.message.data.data.Pager; \n wrapper.update();\n });\n});\n\n","Vendd.Scripts.load(function () {\n\n var $wrapper = $('.x-menu.main-menu');\n var openClass = 'x-open';\n\n if ($wrapper.length < 1) return;\n\n initDesktopMenu();\n if (isTouch()) initMobileMenu();\n\n $(window).resize(function () {\n if (isTouch() && $(window).outerWidth() < 1200) {\n initMenuHeight(); \n } else {\n closeMenu(); \n }\n });\n\n function initDesktopMenu() { \n initMenuTriggers();\n initTwoLevelMenu();\n initThreeLevelMenu();\n }\n\n function initTwoLevelMenu() {\n\n var $submenus = $('.nav-link-1', $wrapper);\n\n if ($submenus.length < 1) return;\n\n //if isTouch menu actions on click\n //else menu actions on hover\n if (isTouch()) {\n\n $submenus.click(function () {\n\n var $el = $(this);\n\n if ($(window).outerWidth() < 1200) {\n var $nav2 = $el.siblings('.nav-2');\n $nav2.addClass('mobile-revealed');\n $('.off-canvas-menu').addClass('is-menu-opened');\n\n } else {\n $el = $(this).closest('li.nav-item-1');\n $('.nav-1', $wrapper).removeClass('opened-nav-3');\n\n if ($el.find('.nav-2').length > 0) {\n $el.closest('.nav-1').addClass('opened-nav-2');\n } else {\n $el.closest('.nav-1').removeClass('opened-nav-2');\n }\n\n $el.addClass('hovered');\n \n $el.children('.nav-2').addClass('revealed');\n $el.closest('.nav-1').find('.nav-2 > .nav-box > ul > li').removeClass(\"hovered\").find('.nav-3').removeClass('revealed');\n $el.siblings().removeClass('hovered').find('.nav-2').removeClass('revealed');\n\n if ($el.find('.nav-2 li.hovered').length > 0) {\n if ($el.find('.nav-2 li.hovered').find('.nav-3').length > 0) {\n $('.nav-1', $wrapper).addClass('opened-nav-3');\n }\n }\n }\n });\n\n } else {\n //hoverIntent configurations\n var config = {\n sensitivity: 50,\n interval: 60,\n over: mouseenter,\n timeout: 10,\n out: mouseleave\n };\n\n function mouseenter() {\n var $el = $(this);\n\n $('.nav-1', $wrapper).removeClass('opened-nav-3');\n\n if ($el.find('.nav-2').length > 0) {\n $el.closest('.nav-1').addClass('opened-nav-2');\n } else {\n $el.closest('.nav-1').removeClass('opened-nav-2');\n }\n\n $el.addClass('hovered');\n \n $el.children('.nav-2').addClass('revealed');\n $el.closest('.nav-1').find('.nav-2 > .nav-box > ul > li').removeClass(\"hovered\").find('.nav-3').removeClass('revealed');\n $el.siblings().removeClass('hovered').find('.nav-2').removeClass('revealed');\n\n if ($el.find('.nav-2 li.hovered').length > 0) {\n if ($el.find('.nav-2 li.hovered').find('.nav-3').length > 0) {\n $('.nav-1', $wrapper).addClass('opened-nav-3');\n }\n }\n }\n\n function mouseleave() {\n return;\n }\n\n $submenus.parent().hoverIntent(config);\n }\n\n }\n\n function initThreeLevelMenu() {\n\n var $submenuItems = $('.nav-2 .nav-item-2 .nav-link-2', $wrapper);\n \n if ($submenuItems.length < 1) return;\n\n //if isTouch menu actions on click\n //else menu actions on hover\n if (isTouch()) {\n\n $submenuItems.click(function () {\n\n var $el = $(this);\n\n if ($(window).outerWidth() < 1200) {\n var $nav3 = $el.siblings('.nav-3');\n $nav3.addClass('mobile-revealed');\n\n } else {\n var $parentLi = $el.closest('li.nav-item-2');\n\n if ($parentLi.find('.nav-3').length > 0) {\n $parentLi.closest('.nav-1').addClass('opened-nav-3');\n } else {\n $parentLi.closest('.nav-1').removeClass('opened-nav-3');\n }\n\n $parentLi.siblings().removeClass('hovered').find('.nav-3').removeClass('revealed');\n $parentLi.addClass('hovered');\n \n $parentLi.children('.nav-3').addClass('revealed');\n }\n\n });\n\n } else {\n\n //hoverIntent configurations\n var config = {\n sensitivity: 50,\n interval: 30,\n over: mouseenter,\n timeout: 0,\n out: mouseleave\n };\n\n function mouseenter() {\n var $el = $(this).closest('.nav-item-2');\n\n if ($el.find('.nav-3').length > 0) {\n $el.closest('.nav-2').addClass('opened-nav-3');\n } else {\n $el.closest('.nav-2').removeClass('opened-nav-3');\n }\n\n $el.addClass('hovered');\n\n $el.children('.nav-3').addClass('revealed');\n\n $el.siblings().removeClass('hovered').find('.nav-3').removeClass('revealed');\n\n }\n\n\n function mouseleave() {\n return;\n }\n\n $submenuItems.hoverIntent(config);\n }\n }\n\n function initMenuTriggers() {\n\n var $trigger = $('.js-menu-trigger', $wrapper);\n\n $trigger.on('click', function () {\n\n if ($('.main-menu').hasClass(openClass)) {\n closeMenu();\n } else {\n openMenu();\n \n }\n });\n\n $('.menu-overlay').on('click', function () {\n closeMenu();\n });\n }\n\n function calculateMenuHeight() {\n var header = $('.header-region');\n var mainMenu = $('.main-menu', header);\n\n var headerHeight, uselessHeight, eSatisfactionHeight, menuOffset;\n\n headerHeight = $('.header-region').height() || 0;\n uselessHeight = $('.header-region .region-area-four').height() || 0;\n eSatisfactionHeight = $('.esat-bar').height() || 0;\n\n menuOffset = headerHeight + eSatisfactionHeight - uselessHeight;\n\n // $('.nav-1, .nav-2, .nav-3', mainMenu).css({ 'height': 'calc(100% - ' + menuOffset + 'px)', top: menuOffset });\n }\n\n function openMenu() {\n closeHeaderElements('main-menu');\n\n if ($wrapper.hasClass(openClass)) return;\n\n $('html, body').addClass('no-scroll');\n // $('.header-region').removeClass('sticky');\n // $('.header-spacer').css('height', 0);\n $('.menu-overlay').addClass('mega-menu-visible');\n $('.main-menu').addClass(openClass);\n calculateMenuHeight();\n setInterval(function () { calculateMenuHeight(); }, 1000);\n }\n\n function closeMenu() {\n\n if (!$wrapper.hasClass(openClass)) return;\n\n $wrapper.removeClass(openClass);\n $('.nav-1', $wrapper).removeClass('opened-nav-2').removeClass('opened-nav-3');\n $('.nav-2', $wrapper).removeClass('opened-nav-3');\n $('.hovered', $wrapper).removeClass('hovered');\n $('.revealed', $wrapper).removeClass('revealed');\n $('.menu-overlay').removeClass('mega-menu-visible');\n $('html, body').removeClass('no-scroll');\n\n }\n\n function initMobileMenu() {\n\n //off canvas buttons\n var $openOffCanvas = $('.header-region .js-mobile-btn');\n var $closeOffCanvas = $('.off-canvas-menu .js-close-canvas');\n //main menu buttons\n var $backMenu = $('.mobile-show-prev', $wrapper);\n var $closeMenu = $('.mobile-show-close', $wrapper);\n\n //open off canvas menu\n $openOffCanvas.on('click', function (e) {\n openOffCanvasMenu();\n });\n\n //close off canvas menu\n $closeOffCanvas.on('click', function (e) {\n closeOffCanvasMenu();\n });\n\n //back to previous menu level\n $backMenu.on('click', function (e) {\n var $this = $(this);\n\n if ($this.hasClass('prev-2')) {\n $this.closest('.nav-2').removeClass('mobile-revealed');\n $this.closest('.nav-1').scrollTop(0);\n $('.off-canvas-menu').removeClass('is-menu-opened');\n } else if ($this.hasClass('prev-3')) {\n $this.closest('.nav-3').removeClass('mobile-revealed');\n $this.closest('.nav-2').scrollTop(0);\n }\n });\n\n //close opened menu levels\n $closeMenu.on('click', function (e) {\n var $this = $(this);\n\n $this.closest('.nav-3').removeClass('mobile-revealed');\n $this.closest('.nav-2').removeClass('mobile-revealed');\n $('.off-canvas-menu').removeClass('is-menu-opened');\n });\n\n $('.site-overlay').on('click', function (e) {\n //reset main menu\n if ($('.off-canvas-menu').hasClass('is-menu-opened')) {\n resetMainMenu();\n }\n //close off canvas\n if ($('html').hasClass('show-canvas')) {\n setTimeout(function () {\n closeOffCanvasMenu();\n }, 200);\n }\n });\n\n $(window).resize($.debounce(100, function () {\n if ($(window).outerWidth() > 1199) {\n //reset main menu\n if ($('.off-canvas-menu').hasClass('is-menu-opened')) {\n resetMainMenu();\n }\n //close off canvas\n if ($('html').hasClass('show-canvas')) {\n closeOffCanvasMenu();\n }\n } \n }));\n\n function openOffCanvasMenu() {\n $(\"html\").addClass(\"show-canvas no-scroll\");\n\n if ($('.header-region').hasClass('sticky')) {\n $('.header-spacer').height(0);\n $('.header-region').removeClass('sticky');\n }\n\n setTimeout(function () {\n $('.site-overlay').fadeIn(300);\n }, 300);\n }\n\n function closeOffCanvasMenu() {\n $('html').removeClass('show-canvas no-scroll');\n $('.site-overlay').hide();\n }\n\n function resetMainMenu() {\n $('.nav-3', $wrapper).removeClass('mobile-revealed');\n $('.nav-2', $wrapper).removeClass('mobile-revealed');\n $('.off-canvas-menu').removeClass('is-menu-opened');\n }\n }\n\n\n\n function initMenuHeight() {\n\n var $menu = $('.x-menu.main-menu');\n var $nav1 = $('.nav-1', $menu);\n var $nav2 = $('.nav-2', $menu);\n var $nav3 = $('.nav-3', $menu);\n\n if ($nav1.length > 0) $nav1.removeAttr('style');\n if ($nav2.length > 0) $nav2.removeAttr('style');\n if ($nav3.length > 0) $nav3.removeAttr('style');\n }\n\n});\n\n\n\n\n","Vendd.Scripts.load(function () {\n\n var $wrapper = $('.side-menu');\n\n if ($wrapper.length < 1)\n return;\n\n var wrapper = $wrapper.get(0);\n\n var iconOpen = $wrapper.data('icon-open');\n var iconClose = $wrapper.data('icon-close');\n\n wrapper.open = function () {\n if ($wrapper.hasClass('with-popup')) {\n $('.header-overlay').addClass('visible');\n $('html, body').addClass('no-scroll');\n }\n $('.mobile-title', $wrapper).addClass('active');\n $('.mobile-title > .icon', $wrapper).removeClass(iconOpen).addClass(iconClose);\n $('.nav-1', $wrapper).addClass('active');\n };\n\n wrapper.close = function () {\n $('.mobile-title', $wrapper).removeClass('active');\n $('.mobile-title > .icon', $wrapper).removeClass(iconClose).addClass(iconOpen);\n $('.nav-1', $wrapper).removeClass('active');\n if ($wrapper.hasClass('with-popup')) {\n $('html, body').removeClass('no-scroll');\n $('.header-overlay').removeClass('visible');\n }\n };\n \n if ($wrapper.hasClass('x-account-menu')) {\n $wrapper.on('click', '.js-logout', function (e) {\n e.preventDefault();\n Vendd.MessageBus.publishAsync($wrapper, new Vendd.User.Messages.Logout());\n });\n }\n\n $wrapper.on('click', '.mobile-title', function (e) {\n e.preventDefault();\n\n var $this = $(this);\n\n if ($this.hasClass('active')) {\n wrapper.close();\n } else {\n wrapper.open();\n }\n });\n\n $wrapper.on('click', '.toggle-nav-3', function (e) {\n e.preventDefault();\n\n var $this = $(this);\n $this.toggleClass('opened-nav-3');\n $this.next('.nav-3').toggleClass('opened');\n });\n\n if ($wrapper.hasClass('with-toggle')) {\n $(document).on('click', function (e) {\n if (!$wrapper.is(e.target) && $wrapper.has(e.target).length === 0) {\n wrapper.close();\n }\n });\n }\n\n if ($wrapper.hasClass('with-popup')) {\n $wrapper.on('click', '.js-close-categories', function (e) {\n e.preventDefault();\n\n var $this = $(this).closest('.nav-1');\n\n if ($this.hasClass('active')) {\n wrapper.close();\n }\n });\n\n $('.header-overlay').on('click', function (e) {\n e.preventDefault();\n wrapper.close();\n });\n\n $(window).resize(_.debounce(function () {\n if ($(window).outerWidth() >= 960) {\n wrapper.close();\n }\n }, 50));\n }\n\n});\n\n","Vendd.Scripts.load(function () {\n var $form = $('.x-newsletter-form');\n\n if ($form.length < 1)\n return;\n\n $.each($form, function (i, form) {\n var $this = $(form),\n $button = $('.js-submit', $this),\n $categoriesWrapper = $('.newsletter-categories-wrapper', $this);\n\n var formData = {\n email: \"\",\n subscriptionType: \"NewsletterForm\",\n apiKey: \"793c8798-df3d-440c-a195-9a973a9f508e\",\n mailparams: \"\",\n mailLists: []\n //mailLists: {\n // Action: 0, //subscribe action\n // MailListId: \"\",\n // Provider: 1 //mailchimp provider\n //}\n };\n\n $this.validationEngine({\n email: {\n required: 'email-required',\n isEmail: 'email-invalid'\n }\n });\n\n var va = $this.data('validationEngine'),\n messageTiming = 3500;\n\n form.loading = function (option) {\n if (option) {\n $this.addClass('x-loading');\n $button.attr(\"disabled\", \"disabled\");\n return;\n }\n\n $this.removeClass('x-loading');\n $button.removeAttr(\"disabled\");\n };\n\n form.onSuccess = function (envelope) {\n var response = envelope.message.data;\n\n if (!$this.hasClass('x-loading'))\n \treturn;\n\n form.loading(false);\n form.reset();\n\n $('.js-success', $this).removeClass('js-visible');\n\n if (response.success) {\n $('.js-content', $this).hide();\n $('.js-success', $this).html(response.data + '' + response.email + '').addClass('js-visible');\n } else {\n if (response.code && response.code === 'Newsletter_AlreadySubscribed') {\n\n $('.js-alreadysubscribed', $this).addClass('js-visible');\n\n setTimeout(function () {\n $('.js-alreadysubscribed', $this).removeClass('js-visible');\n }, messageTiming);\n } else {\n $('.js-generic-error', $this).addClass('js-visible');\n\n setTimeout(function () {\n $('.js-generic-error', $this).removeClass('js-visible');\n }, messageTiming);\n }\n }\n };\n\n form.onFailure = function (envelope) {\n form.loading(false);\n form.reset();\n\n $('.form-result', $this).removeClass('js-visible');\n $('.js-generic-error', $this).addClass('js-visible');\n\n setTimeout(function () {\n $('.js-generic-error', $this).removeClass('js-visible');\n }, messageTiming);\n };\n\n form.submit = function () {\n form.loading(true);\n formData.email = $('input[name=\"email\"]', $this).val();\n Vendd.MessageBus.publishAsync(form, new Vendd.Newsletter.Messages.Subscribe(formData.email, formData.subscriptionType, formData.apiKey, formData.mailparams, formData.mailLists));\n };\n\n form.reset = function () {\n //reset mailLists Array\n formData.mailLists = [];\n //reset input mail\n $('input[name=\"email\"]', $this).val(\"\");\n //reset mailLists Selection\n $('.js-category', $categoriesWrapper).removeClass('selected');\n //reset Selected Categories\n $('.selected-categories', $categoriesWrapper).addClass('hidden');\n $('.selected-categories .count', $categoriesWrapper).text($('.js-category.selected', $categoriesWrapper).length);\n };\n\n $categoriesWrapper.on('click', '.js-categories-trigger', function (e) {\n\n var $categoriesList = $('.newsletter-categories-list', $categoriesWrapper);\n\n if ($categoriesList.hasClass('hidden')) {\n $categoriesList.removeClass('hidden');\n } else {\n $categoriesList.addClass('hidden');\n }\n });\n\n $categoriesWrapper.on('click', '.js-category', function (e) {\n if ($(this).hasClass('selected')) {\n $(this).removeClass('selected');\n } else {\n $(this).addClass('selected');\n }\n\n if ($('.js-category.selected', $categoriesWrapper).length > 0) {\n $('.selected-categories', $categoriesWrapper).removeClass('hidden');\n } else {\n $('.selected-categories', $categoriesWrapper).addClass('hidden'); \n }\n $('.selected-categories .count', $categoriesWrapper).text($('.js-category.selected', $categoriesWrapper).length);\n });\n\n $(document).on('click', function (e) {\n if (!$categoriesWrapper.is(e.target) && $categoriesWrapper.has(e.target).length === 0) {\n if (!$('.newsletter-categories-list', $categoriesWrapper).hasClass('hidden')) {\n $('.newsletter-categories-list', $categoriesWrapper).addClass('hidden');\n }\n }\n });\n\n $this.on('click', '.js-submit', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n $('.js-category', $categoriesWrapper).each(function (index) {\n if ($(this).hasClass('selected')) {\n var mailList = {\n Action: 0, //subscribe action\n MailListId: $(this).data('category-id'),\n Provider: 1 //mailchimp provider\n };\n formData.mailLists.push(mailList);\n }\n });\n\n if ($this.hasClass('pop-up'))\n formData.isPopUp = true;\n\n if (va.validate())\n form.submit(); \n });\n\n $this.on('keyup', 'input[name=\"email\"]', function (e) {\n\n if (e.keyCode == 13) {\n e.preventDefault();\n e.stopPropagation();\n\n $button.click();\n\n return;\n }\n\n va.validate('email');\n });\n\n $this.on('blur', 'input[name=\"email\"]', function (e) {\n setTimeout(function () {\n $('.validator', $form).removeClass('error');\n }, messageTiming);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Newsletter.Messages.SubscribeSuccess, form, form.onSuccess);\n Vendd.MessageBus.subscribe(Vendd.Newsletter.Messages.SubscribeFailure, form, form.onFailure);\n });\n});","Vendd.Scripts.load(function () {\n var $wrapper = $('.x-currency-selector');\n\n $('.js-change-currency', $wrapper).click(function (e) {\n e.preventDefault();\n e.stopPropagation();\n Vendd.Cart.ClearClientModel();\n\n document.location.href = $(this).attr('href');\n });\n});","Vendd.Scripts.load(function () {\n\n var isRecaptchaLoaded = isLoginSuccess = false, forms = [], loginFailedAttempts;\n\n var LoginForm = function () {\n var self = this;\n this.isRecaptchaInitialized = false;\n\n var $context, $loginForm, $forgotForm, $loginFormButton, $forgotFormButton,\n wrapper, loginForm, forgotForm, lf, ff, returnUrl;\n\n var useEmailAsLoginName;\n\n var captchaWidgetId, captchaId, $captchaElement, $captchaContainer, captchaEnabled, recaptchaCallback;\n\n this.initRecaptcha = function () {\n if (typeof loginFailedAttempts === \"undefined\") return;\n self.isRecaptchaInitialized = true;\n\n $captchaElement = $loginForm.find(\".recaptcha-id-element\");\n $captchaContainer = $loginForm.find('.recaptcha-container');\n captchaEnabled = false;\n\n captchaId = $captchaElement.attr('id');\n\n var htmlExists = $captchaElement.length > 0 ? true : false;\n\n if (!htmlExists || loginFailedAttempts < 3)\n return;\n\n if (htmlExists && loginFailedAttempts >= 3) {\n $captchaContainer.show();\n }\n\n var sitekey = $captchaElement.data(\"sitekey\");\n if (sitekey) {\n captchaEnabled = true;\n captchaWidgetId = grecaptcha.render(captchaId, {\n 'sitekey': sitekey,\n 'callback': recaptchaCallback\n });\n }\n };\n\n this.initLoginForm = function (envelope) {\n $context = envelope.message.data.context;\n $wrapper = $('.x-login-form', $context);\n\n if ($wrapper.length < 1)\n return false;\n\n $loginForm = $('.login-form', $wrapper);\n $forgotForm = $('.forgot-form', $wrapper);\n\n $loginFormButton = $('.js-submit-button', $loginForm);\n $forgotFormButton = $('.js-submit-button', $forgotForm);\n\n useEmailAsLoginName = $loginForm.data(\"useemailasloginname\").toString().toLowerCase() === 'true';\n\n wrapper = $wrapper.get(0);\n loginForm = $loginForm.get(0);\n\n\n var formData = {\n loginName: '',\n password: '',\n rememberMe: false,\n loginRedirectUrl: '',\n logoutRedirectUrl: '',\n reCaptchaCode: \"\"\n };\n var forgotFormData = { loginName: \"\" };\n\n\n loginForm.validateRecaptcha = function () {\n if (!captchaEnabled)\n return true;\n\n formData.reCaptchaCode = $captchaElement.find('.g-recaptcha-response').val();\n\n var res = false;\n\n if (formData.reCaptchaCode) {\n $captchaContainer.find('.recaptcha-required').removeClass('error');\n res = true;\n } else {\n $captchaContainer.find('.recaptcha-required').addClass('error');\n }\n\n return res;\n };\n\n loginForm.resetRecaptcha = function () {\n // Website must only verify the user's reCAPTCHA response token (g-recaptcha-response) once. \n // If a verify attempt has been made with a particular token, it cannot be used again. \n // Call grecaptcha.reset() to ask the end user to verify with reCAPTCHA again.\n if (captchaEnabled)\n grecaptcha.reset(captchaWidgetId);\n };\n\n loginForm.removeRecaptcha = function () {\n $captchaElement.remove();\n };\n\n recaptchaCallback = function () {\n loginForm.validateRecaptcha();\n };\n\n wrapper.loading = function (loading) {\n if (loading) {\n $wrapper.addClass('x-loading');\n } else {\n $wrapper.removeClass('x-loading');\n }\n };\n\n loginForm.onSuccess = function (envelope) {\n\n var usermodel = envelope.message.data.model;\n\n loginForm.reset();\n\n Cookies.set(\"ForceClearCartLocalStorage\", 1, { samesite: 'Lax' });\n Cookies.set(\"ForceClearCompareLocalStorage\", 1, { samesite: 'Lax' });\n Cookies.set(\"ForceClearWishlistLocalStorage\", 1, { samesite: 'Lax' });\n if (LhApp.Context.MultipleWishlistsEnabled)\n Vendd.UserWishlist.ClearClientModel();\n returnUrl = usermodel.LoginForm.LoginRedirectUrl;\n _logoutRedirectUrl = usermodel.LoginForm.LogoutRedirectUrl;\n\n\n if ($loginForm.data('redirect')) {\n returnUrl = $loginForm.data('redirect');\n }\n\n var renderInline = (returnUrl && returnUrl === document.location.pathname);\n var iframe = $('#Vendd-InlineAdmin');\n if (iframe.length > 0) {\n //wrapper.loading(false); this will be handled in CreateCookieForInlineAdmin handler\n Vendd.MessageBus.publish(Vendd.InlineAdmin, new Vendd.InlineAdmin.Messages.CreateCookieForInlineAdmin(renderInline, formData.loginName, formData.password, returnUrl));\n } else {\n wrapper.loading(false);\n\n if (returnUrl && returnUrl !== \"\") {\n document.location.href = decodeURIComponent(returnUrl);\n } else {\n document.location.href = document.location.href;\n }\n }\n };\n\n loginForm.onFailure = function (envelope) {\n wrapper.loading(false);\n\n var response = envelope.message.data;\n\n // Hide all errors; then display the most appropriate one.\n $('.js-error', $loginForm).hide();\n\n if (response.code === 'Login_InvalidLoginOrPassword')\n $('.js-error--validation', $loginForm).show();\n else if (response.code === 'Login_LoginIsLocked')\n $('.js-error--locked', $loginForm).show();\n else if (response.code === 'Login_LoginIsNotEnabled')\n $('.js-error--not-enabled', $loginForm).show();\n else\n $('.js-error--generic', $loginForm).show();\n\n $('input[name=\"password\"]', $loginForm).val(\"\");\n\n loginFailedAttempts++;\n\n if (!captchaEnabled)\n self.initRecaptcha();\n else\n loginForm.resetRecaptcha();\n };\n\n loginForm.CreateCookieForInlineAdminOnSuccess = function (envelope) {\n\n var model = envelope.message.data.model;\n returnUrl = model.redirectUrl;\n\n var loginURL = LhApp.Context.InLineAdminEndpoint + '/vendd/api/Security/Authenticate';\n\n $.ajax({\n url: loginURL,\n data: { \"Username\": model.username, \"Password\": model.password },\n dataType: \"json\",\n xhrFields: { withCredentials: true }\n }).always(function () {\n wrapper.loading(false);\n if (returnUrl) {\n document.location = decodeURIComponent(returnUrl);\n } else {\n if (document.location.href.indexOf('/login/') > -1 || document.location.href.indexOf('/registration/') > -1) {\n var baseUrl = document.location.protocol.toLowerCase() + '//' + document.location.host.toLowerCase() + '/';\n document.location.href = baseUrl;\n } else {\n document.location.href = document.location.href;\n }\n }\n });\n }\n\n loginForm.CreateCookieForInlineAdminOnFailure = function (envelope) {\n var model = envelope.message.data.model;\n if (model.redirectUrl) {\n returnUrl = model.redirectUrl;\n }\n\n if (returnUrl) {\n document.location = decodeURIComponent(returnUrl);\n } else {\n if (document.location.href.indexOf('/login/') > -1 || document.location.href.indexOf('/registration/') > -1) {\n var baseUrl = document.location.protocol.toLowerCase() + '//' + document.location.host.toLowerCase() + '/';\n document.location.href = baseUrl;\n } else {\n document.location.href = document.location.href;\n }\n }\n }\n\n loginForm.vendd_submit = function () {\n loginForm.IsSubmitted = true;\n\n formData.loginName = $('input[name=\"username\"]', $loginForm).val().replace(/\\s+/g, '');\n formData.password = $('input[name=\"password\"]', $loginForm).val();\n formData.rememberMe = $('input[name=\"rememberMe\"]', $loginForm).is(':checked');\n\n var val1 = loginForm.validateRecaptcha();\n var val2 = lf.validate();\n\n if (!(val1 && val2))\n return false;\n\n wrapper.loading(true);\n\n var currentUrl = window.location.href;\n\n if (currentUrl.indexOf(\"/login/\") > -1)\n formData.loginRedirectUrl = $loginForm.data('redirect') || formData.loginRedirectUrl;\n else\n formData.loginRedirectUrl = $loginForm.data('redirect') || currentUrl;\n\n formData.logoutRedirectUrl = $loginForm.data('logoutredirect') || formData.logoutRedirectUrl;\n\n var accessToken = getQueryStringValueByName(\"accessToken\") || \"\";\n\n Vendd.MessageBus.publishAsync(loginForm,\n new Vendd.User.Messages.Login(\n formData.loginName,\n formData.password,\n formData.rememberMe,\n formData.loginRedirectUrl,\n formData.logoutRedirectUrl,\n formData.reCaptchaCode,\n accessToken,\n {\n isLoginForm: true\n } \n )\n );\n };\n\n loginForm.reset = function () {\n $('.js-error', $loginForm).hide();\n\n $('input[name=\"username\"]', $loginForm).val(\"\");\n $('input[name=\"password\"]', $loginForm).val(\"\");\n\n lf.reset();\n loginForm.resetRecaptcha();\n };\n\n //event listeners couple 1(1). do not use for anything else. use a copy of event listeners if needed.\n Vendd.MessageBus.subscribe(Vendd.User.Messages.LoginSuccess, loginForm, function (envelope) {\n isLoginSuccess = true;\n });\n //event listeners couple 1(2).do not use for anything else. use a copy of event listeners if needed.\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetUserViewModelSuccess, loginForm, function (envelope) {\n if (isLoginSuccess) {\n isLoginSuccess = true;\n if (loginForm.IsSubmitted)\n loginForm.onSuccess(envelope);\n }\n });\n Vendd.MessageBus.subscribe(Vendd.User.Messages.LoginFailure, loginForm, function (envelope) {\n if (loginForm.IsSubmitted)\n loginForm.onFailure(envelope);\n });\n Vendd.MessageBus.subscribe(Vendd.InlineAdmin.Messages.CreateCookieForInlineAdminSuccess, loginForm, function (envelope) {\n if (loginForm.IsSubmitted)\n loginForm.CreateCookieForInlineAdminOnSuccess(envelope);\n });\n Vendd.MessageBus.subscribe(Vendd.InlineAdmin.Messages.CreateCookieForInlineAdminFailure, loginForm, function (envelope) {\n if (loginForm.IsSubmitted)\n loginForm.CreateCookieForInlineAdminOnFailure(envelope);\n });\n\n if ($forgotForm.length > 0) {\n forgotForm = $forgotForm.get(0);\n\n forgotForm.onSuccess = function (envelope) {\n wrapper.loading(false);\n\n var code = envelope.message.data.code;\n if (code === 'ForgotPassword_OperationSuccesful') {\n $('.js-error', $forgotForm).hide();\n $('.js-validation-error', $forgotForm).hide();\n $('.js-content', $forgotForm).hide();\n $('.js-success', $forgotForm).show();\n } else {\n if (code === 'ForgotPassword_UserNotExists') {\n $('.js-error', $forgotForm).hide();\n $('.js-not-found', $forgotForm).show();\n $('.js-success', $forgotForm).hide();\n } else {\n $('.js-error', $forgotForm).show();\n $('.js-not-found', $forgotForm).hide();\n $('.js-success', $forgotForm).hide();\n }\n }\n };\n\n forgotForm.onFailure = function (envelope) {\n wrapper.loading(false);\n\n $('.js-validation-error', $forgotForm).hide();\n $('.js-error', $forgotForm).show();\n };\n\n forgotForm.submit = function () {\n wrapper.loading(true);\n\n Vendd.MessageBus.publishAsync(forgotForm, new Vendd.User.Messages.ForgotPassword(forgotFormData));\n };\n\n forgotForm.reset = function () {\n $('.js-error', $forgotForm).hide();\n $('.js-validation', $forgotForm).hide();\n $('.js-success', $forgotForm).hide();\n\n $('.js-content', $forgotForm).show();\n\n $('input[name=\"loginName\"]', $forgotForm).val(\"\");\n\n ff.reset();\n };\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.ForgotPasswordSuccess, forgotForm, forgotForm.onSuccess);\n Vendd.MessageBus.subscribe(Vendd.User.Messages.ForgotPasswordFailure, forgotForm, forgotForm.onFailure);\n }\n\n var loginNameVal = { required: 'loginName-required' };\n\n if (useEmailAsLoginName)\n loginNameVal.isEmail = 'loginName-invalid';\n\n var valOpts = {\n username: loginNameVal,\n password: {\n required: 'password-required'\n }\n };\n\n $loginForm.validationEngine(valOpts);\n lf = $loginForm.data('validationEngine');\n\n if ($forgotForm.length > 0) {\n $forgotForm.validationEngine({\n loginName: loginNameVal\n });\n ff = $forgotForm.data('validationEngine');\n }\n\n //$loginForm.on('click', '.js-submit-button', function (e) {\n // e.preventDefault();\n // e.stopPropagation();\n\n // formData.loginName = $('input[name=\"username\"]', $loginForm).val();\n // formData.password = $('input[name=\"password\"]', $loginForm).val();\n\n // var val1 = loginForm.validateRecaptcha();\n // var val2 = lf.validate();\n\n // if (val1 && val2)\n // loginForm.vendd_submit();\n //});\n\n $loginForm.on('keyup', 'input[name]', function (e) {\n var $this = $(this);\n\n if (e.keyCode === 13) {\n e.preventDefault();\n e.stopPropagation();\n\n $loginFormButton.click();\n\n return;\n }\n\n formData[$this.attr('name')] = $this.val();\n lf.validate($this.attr('name'));\n });\n\n $loginForm.on('blur', 'input[name]', function (e) {\n var $this = $(this);\n\n formData[$this.attr('name')] = $this.val();\n lf.validate($this.attr('name'));\n });\n\n if ($forgotForm.length > 0) {\n\n $forgotForm.on('click', '.js-submit-button', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n forgotFormData.loginName = $('input[name=\"loginName\"]', $forgotForm).val();\n\n if (ff.validate())\n forgotForm.submit();\n });\n\n $forgotForm.on('keyup', 'input[name]', function (e) {\n var $this = $(this);\n\n if (e.keyCode === 13) {\n e.preventDefault();\n e.stopPropagation();\n\n $forgotFormButton.click();\n\n return;\n };\n\n forgotFormData[$this.attr('name')] = $this.val();\n ff.validate($this.attr('name'));\n });\n\n $forgotForm.on('blur', 'input[name]', function (e) {\n var $this = $(this);\n\n forgotFormData[$this.attr('name')] = $this.val();\n ff.validate($this.attr('name'));\n });\n }\n\n $wrapper.on('click', '.js-forgot-show', function (e) {\n e.preventDefault();\n\n loginForm.reset();\n\n $loginForm.hide();\n $(this).hide();\n $forgotForm.show();\n });\n\n $wrapper.on('click', '.js-forgot-hide', function (e) {\n e.preventDefault();\n\n forgotForm.reset();\n\n $forgotForm.hide();\n $('.js-forgot-show', $loginForm).show();\n $loginForm.show();\n });\n\n $wrapper.on('click', '.js-password-reveal', function (e) {\n e.preventDefault();\n\n if ($(this).hasClass('shown')) {\n $(this).removeClass('shown').siblings('input').prop('type', 'password');\n } else {\n $(this).addClass('shown').siblings('input').prop('type', 'text');\n }\n });\n\n return true;\n };\n };\n\n var checkInitRecaptcha = function () {\n if (isRecaptchaLoaded) {\n _.each(forms, function (formobj) {\n if (!formobj.isRecaptchaInitialized)\n formobj.initRecaptcha();\n });\n }\n };\n\n function initSsoLoginForm($context) {\n var $wrapper = $('.x-login-form', $context);\n\n if (!$wrapper.length) {\n return false;\n }\n\n var $loginForm = $('.login-form', $wrapper);\n\n $loginForm.on('click', '.sso-login-button', function (e) {\n e.preventDefault();\n\n Vendd.MessageBus.publishAsync($wrapper, new Vendd.User.Messages.SsoLogin());\n });\n }\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.BindControl, 'x-login-form', function (envelope) {\n if (LhApp.Context.SsoEnabled) {\n initSsoLoginForm(envelope.message.data.context);\n\n return;\n }\n\n var form = new LoginForm();\n if (form.initLoginForm(envelope)) {\n forms.push(form);\n checkInitRecaptcha();\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.Plugins.Messages.RecaptcaLoaded, 'login-forms', function () {\n isRecaptchaLoaded = true;\n checkInitRecaptcha();\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionStateSuccess, 'login-forms', function (envelope) {\n loginFailedAttempts = envelope.message.data.ActionCounters ? envelope.message.data.ActionCounters.FailedLogin : 0;\n });\n\n});\n\n//πριν αλλάξετε κάτι δείτε αυτό VDCORE-1899\nVendd.LoginSubmit = function (form) {\n $loginForm = $(form).closest('.login-form');\n if ($loginForm.length < 0) return false;\n loginForm = $loginForm.get(0);\n loginForm.vendd_submit();\n};","Vendd.Scripts.load(function () {\n var $wrapper = $('.x-login-widget');\n\n if ($wrapper.length < 1)\n return;\n\n var wrapper = $wrapper.get(0);\n\n var model = null, loaded = false;\n\n wrapper.open = function () {\n $('.js-widget-trigger', $wrapper).addClass('x-open');\n $('.js-widget-container', $wrapper).addClass('x-expanded');\n\n if (!recaptchaLoaded) wrapper.appendRecaptcha();\n \n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Widget.Messages.WidgetOpened(Vendd.Widget.LoginWidget));\n };\n\n wrapper.close = function () {\n $('.js-widget-trigger', $wrapper).removeClass('x-open');\n $('.js-widget-container', $wrapper).removeClass('x-expanded');\n };\n\n wrapper.loading = function (loading) {\n if (loading) {\n $wrapper.addClass('x-loading');\n } else {\n $wrapper.removeClass('x-loading');\n }\n };\n\n wrapper.minimalUpdate = function () {\n var html = Vendd.Handlebars.parse(\"loginWidget_B\", model);\n $wrapper.html(html);\n\n if (loaded) loaded = false;\n };\n\n wrapper.update = function () {\n wrapper.loading(true);\n var html = Vendd.Handlebars.parse(\"loginWidgetBox_A\", model);\n $('.js-widget-container', $wrapper).html(html);\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Widget.Messages.BindControl($wrapper));\n wrapper.loading(false);\n };\n\n wrapper.appendRecaptcha = function () {\n var url = 'https://www.google.com/recaptcha/api.js?onload=callback_recaptcha&render=explicit&hl=' + LhApp.Context.Language;\n var script = document.createElement(\"script\");\n script.type = \"text/javascript\";\n script.src = url;\n document.getElementsByTagName('body')[0].appendChild(script);\n };\n\n $wrapper.on('click', '.js-logout', function (e) {\n e.preventDefault();\n\n Vendd.MessageBus.publishAsync($wrapper, new Vendd.User.Messages.Logout());\n });\n \n //On click Login Button\n $wrapper.on('click', '.js-widget-trigger', function (e) {\n e.preventDefault();\n\n if (model === null) return;\n\n if ($(this).hasClass('x-open')) {\n // $('.header-overlay').removeClass('visible');\n $('.menu-overlay').removeClass('mega-menu-visible');\n $('.header-region').removeClass('clean-zindex');\n $('html, body').removeClass('no-scroll');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.close();\n } else {\n if (!loaded) {\n wrapper.update();\n loaded = true;\n }\n closeHeaderElements('account');\n $('html, body').addClass('no-scroll');\n // if ($('.header-region').hasClass('sticky')) {\n // $('.header-spacer').height(0);\n // $('.header-region').removeClass('sticky');\n // }\n $('.header-region').addClass('clean-zindex');\n // $('.header-overlay').addClass('visible');\n $('.menu-overlay').addClass('mega-menu-visible');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.loading(false);\n wrapper.open();\n }\n });\n\n //On click Close Button inside Login Widget\n $wrapper.on('click', '.close-button', function (e) {\n e.preventDefault();\n\n // $('.header-overlay').removeClass('visible');\n $('.menu-overlay').removeClass('mega-menu-visible');\n $('.header-region').removeClass('clean-zindex');\n $('html, body').removeClass('no-scroll');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.close();\n });\n\n //On click outside Login Widget\n $('.header-overlay, .menu-overlay').on('click', function (e) {\n e.preventDefault();\n\n // $('.header-overlay').removeClass('visible');\n $('.menu-overlay').removeClass('mega-menu-visible');\n $('.header-region').removeClass('clean-zindex');\n $('html, body').removeClass('no-scroll');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.close();\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.LoginSuccess, wrapper, function (envelope) {\n if (envelope.message.data.success) {\n // $('.header-overlay').removeClass('visible');\n $('.menu-overlay').removeClass('mega-menu-visible');\n $('.header-region').removeClass('clean-zindex');\n $('html, body').removeClass('no-scroll');\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.LogoutSuccess, wrapper, function (envelope) {\n if (envelope.message.data.success) {\n Vendd.MessageBus.publish(wrapper, new Vendd.User.Messages.GetUserViewModel());\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.WidgetOpened, wrapper, function (envelope) {\n if (envelope.message.data.widgetName !== Vendd.Widget.LoginWidget) {\n wrapper.close();\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetUserViewModelSuccess, wrapper, function (envelope) {\n model = envelope.message.data.model;\n\n wrapper.minimalUpdate();\n\n if (loaded) wrapper.update(); \n if ($wrapper.hasClass('x-loading')) $('.js-widget-trigger', $wrapper).trigger(\"click\");\n });\n\n});","Vendd.Scripts.load(function () {\n 'use strict';\n\n var $wrapper = $('.x-cart-widget');\n $wrapper.attr('data-template', '2');\n\n if ($wrapper.length < 1)\n return;\n\n var wrapper = $wrapper.get(0);\n\n var model = null, loaded = false, openWidget = false;\n\n wrapper.open = function (userTriggeredOpen) {\n $('.js-widget-trigger', $wrapper).addClass('x-open');\n $('.js-widget-container', $wrapper).addClass('x-expanded');\n\n openWidget = false;\n\n if (userTriggeredOpen && model && model.IsPartiallyLoaded) {\n Vendd.Cart.ClearClientModel();\n openWidget = true;\n wrapper.loading(true);\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Cart.Messages.GetModel());\n } else {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Widget.Messages.WidgetOpened(Vendd.Widget.CartWidget));\n }\n };\n\n wrapper.close = function () {\n $('.js-widget-trigger', $wrapper).removeClass('x-open');\n $('.js-widget-container', $wrapper).removeClass('x-expanded');\n };\n\n wrapper.loading = function (loading) {\n if (loading) {\n $wrapper.addClass('x-loading');\n } else {\n $wrapper.removeClass('x-loading');\n }\n };\n\n wrapper.extendModel = function () {\n _.extend(model, { ClientEnhancedModel : window.LhApp.ClientEnhancedModel }); // model to be expanded from page html (window.LhApp = window.LhApp || {}; window.LhApp.ClientEnhancedModel = window.LhApp.ClientEnhancedModel || {};\n };\n\n wrapper.minimalUpdate = function () {\n if (model.CartWidgetDisplayOptions.ShowProductCount && model.ProductsCount >= 0) {\n if (model.ProductsCount > 0) {\n $('.js-widget-trigger', $wrapper).addClass('has-items');\n $('.number', $wrapper).text(model.CountAsOneInCart ? model.ProductsInCart : model.ProductsCount);\n } else if (model.ProductsCount == 0) {\n $('.js-widget-trigger', $wrapper).removeClass('has-items');\n $('.number', $wrapper).text('');\n }\n }\n\n if (loaded && !$('.js-widget-trigger', $wrapper).hasClass('x-open')) {\n loaded = false;\n $('.js-widget-container', $wrapper).empty();\n }\n };\n\n wrapper.update = function () {\n wrapper.loading(true);\n\n model.conTotal = $wrapper.data('con-total');\n\n var html = Vendd.Handlebars.parse(\"cartWidget_B\", model);\n wrapper.bind(html);\n\n wrapper.initCategoryMenu();\n wrapper.loading(false);\n };\n\n wrapper.bind = function (html) {\n $('.js-widget-container', $wrapper).html(html);\n\n var $list = $('.x-cart-list', $wrapper);\n var $items = $('.cart-item', $list);\n\n wrapper.initCategoryMenu();\n\n\n\n if ($items.length > 0) {\n $wrapper.addClass('has-products');\n $('.site-wrapper-outer').addClass('hasProd');\n\n } else {\n $wrapper.removeClass('has-products');\n $('.site-wrapper-outer').removeClass('hasProd');\n }\n\n if (openWidget) wrapper.open();\n\n formatPrices($wrapper);\n\n $('.js-expand-combo', $items).click(function () {\n $(this).closest('.cart-item').siblings().find('.combo-item-wrapper.expanded').removeClass('expanded open-above').children('.combo-title').removeClass('icon-arrow-up').addClass('icon-arrow-down');\n\n if ($(this).closest('.cart-item').index() >= ($items.length - 2) && $items.length > 3) {\n $(this).parent().toggleClass('open-above');\n }\n\n $(this).parent().toggleClass('expanded');\n $(this).toggleClass('icon-arrow-down icon-arrow-up');\n });\n\n if ($('.js-warning-message', $wrapper).length > 0) {\n if ($('.js-warning-message', $wrapper).data('reason') === 'DailyTradingLimitReached' || $('.js-warning-message', $wrapper).data('reason') === 'TradingRestriction') {\n $('.js-warning-message', $wrapper).addClass('visible');\n } else {\n $('.js-warning-message', $wrapper).removeClass('visible');\n }\n }\n };\n \n //Append Cart Widget Menu from Header \n wrapper.initCategoryMenu = function () {\n\n var $cartMenu = $('.header-region .promo-categories-container');\n if ($cartMenu.length < 1)\n return;\n\n var $destination = $('.empty-container', $wrapper);\n\n if ($destination.length > 0 && $('.promo-categories-container', $destination).length < 1) {\n $cartMenu.clone().appendTo($destination);\n }\n\n };\n\n $wrapper.on('click', '.js-remove', function (e) {\n e.preventDefault();\n\n var $this = $(this);\n var $item = $this.closest('.cart-item');\n var id = $item.data('identifier');\n\n wrapper.loading(true);\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Cart.Messages.Remove(id));\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Widget.Messages.OpenWidget(Vendd.Widget.CartWidget, false));\n });\n\n //On click Checkout Button\n $wrapper.on('click', '.js-checkout', function (e) {\n if ($('.x-warehouse-selector-widget').trigger('checkout').hasClass('opening')) {\n e.preventDefault();\n }\n });\n\n //On click Cart Button\n $wrapper.on('click', '.js-widget-trigger', function (e) {\n e.preventDefault();\n\n if (model === null) return;\n\n if ($(this).hasClass('x-open')) {\n // $('.header-overlay').removeClass('visible');\n $('.menu-overlay').removeClass('mega-menu-visible');\n $('.header-region').removeClass('clean-zindex');\n $('html, body').removeClass('no-scroll');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.close();\n } else {\n if (!loaded) {\n wrapper.extendModel();\n wrapper.update();\n loaded = true;\n }\n closeHeaderElements('cart');\n $('html, body').addClass('no-scroll');\n // if ($('.header-region').hasClass('sticky')) {\n // $('.header-spacer').height(0);\n // $('.header-region').removeClass('sticky');\n // }\n $('.header-region').addClass('clean-zindex');\n // $('.header-overlay').addClass('visible');\n $('.menu-overlay').addClass('mega-menu-visible');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.loading(false);\n wrapper.open(true);\n }\n });\n\n //On click Close Button inside Cart Widget\n $wrapper.on('click', '.close-button', function (e) {\n e.preventDefault();\n // $('.header-overlay').removeClass('visible');\n $('.menu-overlay').removeClass('mega-menu-visible');\n $('.header-region').removeClass('clean-zindex');\n $('html, body').removeClass('no-scroll');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.close();\n });\n\n //On click outside Cart Widget\n $('.header-overlay, .menu-overlay').on('click', function (e) {\n e.preventDefault();\n // $('.header-overlay').removeClass('visible');\n $('.menu-overlay').removeClass('mega-menu-visible');\n $('.header-region').removeClass('clean-zindex');\n $('html, body').removeClass('no-scroll');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.close();\n });\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Changed, wrapper, function (envelope) {\n model = envelope.message.data.Cart;\n\n wrapper.extendModel();\n wrapper.minimalUpdate();\n\n if (loaded) wrapper.update();\n if ($wrapper.hasClass('x-loading')) $('.js-widget-trigger', $wrapper).trigger(\"click\");\n });\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Failed, wrapper, function (envelope) {\n if (envelope.message.data.success === false) {\n model.IsAddToCartAllowed = true;\n toastr.error(model.WidgetLiterals.AddToCartAllowedText, \"\", {\n timeOut: 1200,\n showDuration: 400,\n hideDuration: 700\n });\n }\n wrapper.loading(false);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Warning, wrapper, function (envelope) {\n if (envelope.message.data.success === true) {\n toastr.warning(envelope.message.data.data.Messages[0], \"\", {\n timeOut: 1200,\n showDuration: 400,\n hideDuration: 700\n });\n }\n wrapper.loading(false);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.WidgetOpened, wrapper, function (envelope) {\n if (envelope.message.data.widgetName !== Vendd.Widget.CartWidget) {\n wrapper.close();\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.ProductAdded, wrapper, function (envelope) {\n var data = envelope.message.data;\n var flag = sessionStorage.getItem('noCartWarning');\n\n toastr.success(LhApp.Function.getText(\"Common:ProductAddedToCart\"), \"\", { timeOut: 1200, showDuration: 400, hideDuration: 700 });\n\n if (data.responseData.Messages.length > 0) {\n _.each(data.responseData.Messages, function (message) {\n toastr.success(message, \"\", { timeOut: 1200, showDuration: 400, hideDuration: 700 });\n }); \n }\n\n var isDisabled = data.responseData.CheckoutStatus ? data.responseData.CheckoutStatus.IsDisabled : null;\n var reason = data.responseData.CheckoutStatus ? data.responseData.CheckoutStatus.Reason : null;\n\n if (isDisabled && (reason === 'DailyTradingLimitReached' || reason === 'TradingRestriction') && flag === null) {\n toastr.warning(data.responseData.CheckoutStatus.ReasonText, \"\", { timeOut: 15000, showDuration: 400, hideDuration: 700 });\n sessionStorage.setItem('noCartWarning', true);\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.MultipleAddSuccess, wrapper, function (envelope) {\n toastr.success(LhApp.Function.getText(\"Common:ProductAddedToCart\"), \"\", { timeOut: 1200, showDuration: 400, hideDuration: 700 });\n });\n\n // TODO: Review\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.OpenWidget, wrapper, function (envelope) {\n if (envelope.message.data.widgetName === Vendd.Widget.CartWidget) {\n if (envelope.message.data.immediate === true) {\n wrapper.open(true);\n } else {\n openWidget = true; // the next refresh will open it\n }\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetUserViewModelSuccess, wrapper, function (envelope) {\n\n var isB2B = envelope.message.data.model.IsB2BUser;\n var isAuthenticated = envelope.message.data.model.IsAuthenticated\n\n if (isB2B && isAuthenticated && venddProjectConfigs.SiteIsLocked) {\n $wrapper.removeClass('site-is-locked');\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Cart.Messages.GetModel());\n }\n });\n\n});","Vendd.Scripts.load(function () {\n\n var isRecaptchaLoaded = false, forms = [], findEmailAttempts;\n\n var RegisterWidgetForm = function () {\n var self = this;\n this.isRecaptchaInitialized = false;\n\n var $context, $registerWidgetForm, registerWidgetForm;\n\n var captchaWidgetId, captchaId, $captchaElement, $captchaContainer, captchaEnabled, recaptchaCallback;\n\n this.initRecaptcha = function () {\n\n self.isRecaptchaInitialized = true;\n\n $captchaElement = $registerWidgetForm.find(\".recaptcha-id-element\");\n $captchaContainer = $registerWidgetForm.find('.recaptcha-container');\n captchaEnabled = false;\n\n captchaId = $captchaElement.attr('id');\n\n var htmlExists = $captchaElement.length > 0 ? true : false;\n\n if (!htmlExists || findEmailAttempts < 3)\n return;\n\n if (htmlExists && findEmailAttempts >= 3) {\n $captchaContainer.show();\n }\n var sitekey = $captchaElement.data(\"sitekey\");\n if (sitekey) {\n captchaEnabled = true;\n captchaWidgetId = grecaptcha.render(captchaId, {\n 'sitekey': sitekey,\n 'callback': recaptchaCallback\n });\n }\n };\n\n this.initRegisterWidgetForm = function (envelope) {\n var formData;\n\n $context = envelope.message.data.context;\n $registerWidgetForm = $('.x-register-widget-form', $context);\n\n if ($registerWidgetForm.length < 1)\n return;\n\n registerWidgetForm = $registerWidgetForm.get(0);\n\n formData = {\n loginName: \"\",\n reCaptchaCode: \"\"\n };\n\n clicked = false;\n\n registerWidgetForm.validateRecaptcha = function () {\n if (!captchaEnabled)\n return true;\n\n formData.reCaptchaCode = $captchaElement.find('.g-recaptcha-response').val();\n\n var res = false;\n\n if (formData.reCaptchaCode) {\n $captchaContainer.find('.recaptcha-required').removeClass('error');\n res = true;\n }\n else {\n $captchaContainer.find('.recaptcha-required').addClass('error');\n }\n\n return res;\n };\n\n registerWidgetForm.resetRecaptcha = function () {\n // Website must only verify the user's reCAPTCHA response token (g-recaptcha-response) once. \n // If a verify attempt has been made with a particular token, it cannot be used again. \n // Call grecaptcha.reset() to ask the end user to verify with reCAPTCHA again.\n if (captchaEnabled)\n grecaptcha.reset(captchaWidgetId);\n };\n\n formremoveRecaptcha = function () {\n $captchaElement.remove();\n };\n\n recaptchaCallback = function () {\n registerWidgetForm.validateRecaptcha();\n };\n\n registerWidgetForm.loading = function (loading) {\n if (loading) {\n $registerWidgetForm.addClass('x-loading');\n } else {\n $registerWidgetForm.removeClass('x-loading');\n }\n };\n\n registerWidgetForm.onSuccess = function (envelope) {\n registerWidgetForm.loading(false);\n\n $('.js-error', $registerWidgetForm).hide();\n\n sessionStorage.setItem('registrationEmail', formData.loginName);\n window.location = $('.js-registration-button', $registerWidgetForm).data('href');\n };\n\n registerWidgetForm.onFailure = function (envelope) {\n\n registerWidgetForm.loading(false);\n\n var data = envelope.message.data;\n\n if (!data.success && data.code === \"Registration_ValidationError\") {\n $('.js-error.generic-error', $registerWidgetForm).hide();\n $('.js-error.already-exist', $registerWidgetForm).show();\n } else {\n $('.js-error.already-exist', $registerWidgetForm).hide();\n $('.js-error.generic-error', $registerWidgetForm).show();\n }\n\n findEmailAttempts++;\n\n if (!captchaEnabled)\n self.initRecaptcha();\n else\n registerWidgetForm.resetRecaptcha();\n\n };\n\n registerWidgetForm.submit = function () {\n registerWidgetForm.loading(true);\n\n formData.loginName = $('.js-registration-input', $registerWidgetForm).val().replace(/\\s+/g, '');\n\n Vendd.MessageBus.publishAsync($registerWidgetForm, new Vendd.User.Messages.CanRegister(formData.loginName, formData.reCaptchaCode));\n };\n\n var valOpts = {\n loginName: {\n required: 'loginName-required',\n isEmail: 'loginName-invalid'\n }\n };\n\n $registerWidgetForm.validationEngine(valOpts);\n rf = $registerWidgetForm.data('validationEngine');\n\n $registerWidgetForm.on('click', '.js-registration-button', function (e) {\n if (rf.validate() && registerWidgetForm.validateRecaptcha()) {\n registerWidgetForm.submit();\n }\n });\n\n $registerWidgetForm.on('keyup', '.js-registration-input', function (e) {\n if (e.keyCode == 13) {\n e.preventDefault();\n e.stopPropagation();\n $('.js-registration-button', $registerWidgetForm).trigger('click');\n\n return;\n }\n\n var $this = $(this);\n var fieldName = $this.attr('name');\n\n rf.validate(fieldName);\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.CanRegisterSuccess, registerWidgetForm, registerWidgetForm.onSuccess);\n Vendd.MessageBus.subscribe(Vendd.User.Messages.CanRegisterFailure, registerWidgetForm, registerWidgetForm.onFailure);\n\n return true;\n };\n };\n\n var checkInitRecaptcha = function () {\n if (isRecaptchaLoaded) {\n _.each(forms, function (formobj) {\n if (!formobj.isRecaptchaInitialized)\n formobj.initRecaptcha();\n });\n }\n };\n\n function initSsoRegistrationForm($context) {\n var $wrapper = $('.x-register-widget-form', $context);\n\n if (!$wrapper.length) {\n return false;\n }\n\n $wrapper.on('click', '.sso-registration-button', function (e) {\n e.preventDefault();\n\n Vendd.MessageBus.publishAsync($wrapper, new Vendd.User.Messages.SsoRegister());\n });\n }\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.BindControl, 'x-register-widget-form', function (envelope) {\n if (LhApp.Context.SsoEnabled) {\n initSsoRegistrationForm(envelope.message.data.context);\n\n return;\n }\n\n var form = new RegisterWidgetForm();\n if (form.initRegisterWidgetForm(envelope)) {\n forms.push(form);\n checkInitRecaptcha();\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.Plugins.Messages.RecaptcaLoaded, 'x-register-widget-form', function () {\n isRecaptchaLoaded = true;\n checkInitRecaptcha();\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionStateSuccess, 'x-register-widget-form', function (envelope) {\n findEmailAttempts = envelope.message.data.ActionCounters ? envelope.message.data.ActionCounters.CanRegistrer : 0;\n });\n\n});","Vendd.Scripts.load(function () {\n 'use strict';\n\n var $wrapper = $('.x-wishlist-widget');\n\n if ($wrapper.length < 1)\n return;\n\n var wrapper = $wrapper.get(0);\n\n var model = null, openWidget = false;\n\n wrapper.open = function () {\n $('.js-widget-trigger', $wrapper).addClass('x-open');\n $('.js-widget-container', $wrapper).addClass('x-expanded');\n\n openWidget = false;\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Widget.Messages.WidgetOpened(Vendd.Widget.WishlistWidget));\n };\n\n wrapper.close = function () {\n $('.js-widget-trigger', $wrapper).removeClass('x-open');\n $('.js-widget-container', $wrapper).removeClass('x-expanded');\n };\n\n wrapper.loading = function (loading) {\n if (loading) {\n $wrapper.addClass('x-loading');\n } else {\n $wrapper.removeClass('x-loading');\n }\n };\n\n wrapper.update = function () {\n wrapper.loading(true);\n\n var html = Vendd.Handlebars.parse(\"wishlistWidget_A\", model);\n wrapper.bind(html);\n\n wrapper.loading(false);\n };\n\n wrapper.bind = function (html) {\n $wrapper.html(html);\n\n var $list = $('.x-wishlist-list', $wrapper);\n var $items = $('.wishlist-item', $list);\n\n if ($items.length > 3) {\n $list.cycle({\n slides: '> li',\n fx: 'carousel',\n timeout: 0,\n prev: '.x-wishlist-widget .nav-btn.prev-vertical',\n next: '.x-wishlist-widget .nav-btn.next-vertical',\n log: false,\n carouselVertical: true,\n carouselVisible: 3,\n allowWrap: false,\n disabledClass: 'disabled'\n });\n $('.nav-btn', $wrapper).show().css(\"display\", \"block\");\n }\n\n if (openWidget) {\n $('html, body').animate({ scrollTop: $wrapper.offset().top }, 600);\n wrapper.open();\n }\n }; \n\n $wrapper.on('click', '.js-remove', function (e) {\n e.preventDefault();\n\n var $this = $(this);\n var $item = $this.closest('.wishlist-item');\n var id = $item.data('identifier');\n\n wrapper.loading(true);\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Wishlist.Messages.Remove(id));\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Widget.Messages.OpenWidget(Vendd.Widget.WishlistWidget, false));\n });\n\n /*\n $wrapper.on('click', '.js-widget-trigger', function (e) {\n e.preventDefault();\n\n var $this = $(this);\n\n if ($this.hasClass('x-open')) {\n wrapper.close();\n } else {\n wrapper.open();\n }\n });\n */\n\n $wrapper.on('click', '.js-move-to-cart', function (e) {\n e.preventDefault();\n\n wrapper.loading(true);\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Wishlist.Messages.MoveAllToCart());\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Widget.Messages.OpenWidget(Vendd.Widget.WishlistWidget, false));\n });\n\n $wrapper.on('click', function (e) {\n e.stopPropagation();\n });\n\n wrapper.AddToWishlistSuccess = function (envelope) {\n var response = envelope.message.data;\n\n if (response.code === \"OperationSuccesful\") {\n /* Track Add To Wishlist */\n if (typeof fbPixelTracker !== 'undefined' && typeof fbPixelCanTrack !== 'undefined') {\n if (fbPixelTracker && fbPixelTracker.Properties.FacebookPixelId && fbPixelCanTrack) {\n fbq('track', 'AddToWishlist');\n }\n }\n /* END Track Add To Wishlist */\n toastr.success(LhApp.Function.getText(\"Common:ProductAddedToWishlist\"), \"\", { timeOut: 1500, showDuration: 600, hideDuration: 700 });\n }\n };\n\n wrapper.RemoveFromWishlistSuccess = function (envelope) {\n var response = envelope.message.data;\n\n if (response.code === \"OperationSuccesful\") {\n /* Track Remove From Wishlist */\n if (typeof fbPixelTracker !== 'undefined' && typeof fbPixelCanTrack !== 'undefined') {\n if (fbPixelTracker && fbPixelTracker.Properties.FacebookPixelId && fbPixelCanTrack) {\n fbq('track', 'RemoveFromWishlist');\n }\n }\n /* END Track Remove From Wishlist */\n toastr.success(LhApp.Function.getText(\"Common:ProductRemovedFromWishlist\"), \"\", { timeOut: 1500, showDuration: 600, hideDuration: 700 });\n }\n };\n\n wrapper.WishlistWarning = function (envelope) {\n var response = envelope.message.data;\n\n //warning message\n if (response.data && response.data.ErrorMessage) {\n toastr.warning(response.data.ErrorMessage, \"\", { timeOut: 1500, showDuration: 600, hideDuration: 700 });\n }\n\n //if requires authentication - open login widget\n if (response.code === \"RequiresAuthenticationError\") { \n setTimeout(function () { $(\".x-login-widget .js-widget-trigger\").trigger('click'); }, 500);\n setTimeout(function () { $(\".x-login-widget .x-login-form input[name ='username']\").focus(); }, 900); \n }\n };\n\n $('body').on('click', function (e) {\n wrapper.close();\n });\n\n Vendd.MessageBus.subscribe(Vendd.Wishlist.Messages.Changed, wrapper, function (envelope) {\n model = envelope.message.data;\n wrapper.update();\n });\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.WidgetOpened, wrapper, function (envelope) {\n if (envelope.message.data.widgetName !== Vendd.Widget.WishlistWidget) {\n wrapper.close();\n }\n });\n\n // TODO: Review\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.OpenWidget, wrapper, function (envelope) {\n if (envelope.message.data.widgetName === Vendd.Widget.WishlistWidget) {\n if (envelope.message.data.immediate === true)\n wrapper.open();\n else\n openWidget = true; // the next refresh will open it\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.Wishlist.Messages.AddSuccess, wrapper, wrapper.AddToWishlistSuccess);\n\n Vendd.MessageBus.subscribe(Vendd.Wishlist.Messages.RemoveSuccess, wrapper, wrapper.RemoveFromWishlistSuccess);\n\n Vendd.MessageBus.subscribe(Vendd.Wishlist.Messages.Warning, wrapper, wrapper.WishlistWarning);\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetUserViewModelSuccess, wrapper, function (envelope) {\n\n var isB2B = envelope.message.data.model.IsB2BUser;\n var isAuthenticated = envelope.message.data.model.IsAuthenticated\n\n if (isB2B && isAuthenticated && venddProjectConfigs.SiteIsLocked) {\n $wrapper.removeClass('site-is-locked');\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Wishlist.Messages.GetModel());\n }\n });\n});\n\n","Vendd.Scripts.load(function () {\n 'use strict';\n\n var $wrapper = $('.x-user-wishlist-widget');\n\n if ($wrapper.length < 1) return;\n\n var wrapper = $wrapper.get(0), model, openWidget = false;\n\n var wf, valOpts = { listName: { required: 'listName-required' } };\n\n wrapper.loading = function (loading) {\n if (loading) {\n $(\".js-widget-container\", $wrapper).addClass('x-loading');\n } else {\n $(\".js-widget-container\", $wrapper).removeClass('x-loading');\n }\n };\n\n\twrapper.open = function () {\n\t\t$(\".js-widget-trigger\", $wrapper).addClass('x-open');\n\t\t$(\".js-widget-container\", $wrapper).addClass('x-expanded');\n\n\t\topenWidget = false;\n\t\tVendd.MessageBus.publishAsync(wrapper, new Vendd.Widget.Messages.WidgetOpened(Vendd.Widget.WishlistWidget));\n\t};\n\n\twrapper.close = function () {\n\t\t$(\".js-widget-trigger\", $wrapper).removeClass('x-open');\n\t\t$(\".js-widget-container\", $wrapper).removeClass('x-expanded');\n\t};\n\n\tif (isTouch()) {\n $wrapper.on('click', '.js-widget-trigger', function (e) {\n e.preventDefault();\n\n var $this = $(this);\n\n if ($this.hasClass('x-open')) {\n wrapper.close();\n } else {\n wrapper.open();\n }\n });\n } else {\n var config = {\n sensitivity: 2,\n interval: 50,\n timeout: 200,\n over: function () {\n wrapper.open();\n },\n out: function () {\n wrapper.close();\n }\n };\n\n $wrapper.hoverIntent(config);\n\t}\n\n wrapper.update = function () {\n wrapper.loading(true);\n\n model.IsUserWishlistsWidget = true;\n\n var html = Vendd.Handlebars.parse(\"userWishlistsWidget_A\", model);\n $wrapper.html(html);\n\n //init validation for user wishlist widget\n wrapper.initValidation();\n\n\t\tif (openWidget) {\n\t\t\twrapper.open();\n\t\t}\n\n wrapper.loading(false);\n };\n\n wrapper.initValidation = function () {\n if (wf) wf.destroy();\n\n $wrapper.validationEngine(valOpts);\n wf = $wrapper.data('validationEngine');\n };\n\n $wrapper.on('click', '.js-list-delete', function (e) {\n e.preventDefault();\n\n var $this = $(this);\n\t\tvar $item = $this.closest('.product-wishlist');\n var listId = $item.data('list-id');\n\t\tvar qs = LhApp.Function.QueryString.getValueOf('list');\n\t\tif (!listId && qs) listId = parseInt(qs);\n\n\t\tif (!listId) return false;\n var data = { visitorListId: listId };\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.UserWishlist.Messages.DeleteWishlist(data));\n });\n\n $wrapper.on('keyup', 'input[name=\"listName\"]', function (e) {\n if (e.keyCode === 13) {\n e.preventDefault();\n e.stopPropagation();\n\n $('.js-list-create', $wrapper).trigger('click');\n\n return;\n }\n\n wf.validate(\"listName\");\n\t});\n\n $wrapper.on('click', '.js-list-create', function (e) {\n e.preventDefault();\n\n if (!wf.validate()) return false;\n\n var $input = $('input[name=\"listName\"]', $wrapper);\n\n var data = { Name: $input.val(), VisitorListId: 0 };\n\n openWidget = true;\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.UserWishlist.Messages.SaveWishlist(data));\n });\n\n Vendd.MessageBus.subscribe(Vendd.UserWishlist.Messages.GetModelSuccess, wrapper, function (envelope, sender) {\n model = envelope.message.data.model;\n\n wrapper.update();\n }); \n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.UserWishlist.Messages.GetModel());\n});\n\n","var UserWishlist = {\n UpdateProductWishlists: function (model, userWishlist) {\n var $userWishlist = $(userWishlist);\n var $box = $userWishlist.closest('.x-product-box, .wishlist-item, .cart-item, .x-product-details, .x-combo-details');\n\n if ($box.length < 1) return;\n\n var $qty = $('.js-qty, .js-quantity, .js-item-quantity, .qty-spinner-input', $box);\n var id = $box.data('productid') || $box.data('parent-id'),\n skuId = $box.data('variantid') || $box.data('selected-id'),\n path = $box.data('path'),\n qty = ($qty.val() ? stringToNumber($qty.val()) : null) || 1;\n var product = { id: id, skuId: skuId, path: path, qty: qty };\n\n //extend user wishlist model\n model = $.extend({}, model, { Product: product });\n model.IsUserWishlistsWidget = false;\n\n //update partial\n var html = Vendd.Handlebars.parse(\"userWishlists_A\", model);\n $userWishlist.html(html);\n\n //init validation for this wishlist\n UserWishlist.InitValidation($userWishlist);\n\n $userWishlist.show();\n },\n ShowProductWishlists: function (userWishlist) {\n //get user wishlist model\n var model = Vendd.UserWishlist.GetClientModel();\n\n UserWishlist.UpdateProductWishlists(model, userWishlist);\n },\n HideAllProductWishlists: function () {\n $('.x-user-wishlists').html(\"\").hide();\n },\n InitValidation: function (userWishlist) {\n if (userWishlistForm) userWishlistForm.destroy();\n\n userWishlist.validationEngine(UserWishlist.ValOpts);\n userWishlistForm = userWishlist.data('validationEngine');\n },\n ValOpts: {\n listName: { required: 'listName-required' }\n }\n};\n\nvar userWishlistForm;\n\nVendd.Scripts.load(function () {\n 'use strict';\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.BindControl, 'x-user-wishlists', function (envelope) {\n\n var $context = envelope.message.data.context,\n $userWishlists = $('.x-user-wishlists', $context);\n\n if ($userWishlists.length < 1 || !LhApp.Context.MultipleWishlistsEnabled) return;\n\n $userWishlists.on('click', '.js-list-select', function (e) {\n e.preventDefault();\n\n var $this = $(this);\n\n var $wishlist = $this.closest('.user-wishlist-item');\n var $box = $this.closest('.x-product-box, .wishlist-item, .cart-item, .x-product-details, .x-combo-details');\n var $qty = $('.js-qty, .js-quantity, .js-item-quantity, .qty-spinner-input', $box);\n\n var qs = LhApp.Function.QueryString.getValueOf('list');\n\n var id = $box.data('productid') || $box.data('parent-id'),\n skuId = $box.data('variantid') || $box.data('selected-id'),\n path = $box.data('path'),\n qty = ($qty.val() ? stringToNumber($qty.val()) : null) || 1,\n extraAttributes = [],\n bundleItems = [],\n listId = $wishlist.attr('data-list-id'),\n currentListId = qs ? parseInt(qs) || 0 : 0;\n\n Vendd.MessageBus.publishAsync($box.find('.x-user-wishlists').get(0), new Vendd.Wishlist.Messages.Add(id, skuId, path, qty, extraAttributes, bundleItems, listId, currentListId));\n });\n\n $userWishlists.on('click', '.js-close-user-wishlists', function (e) {\n e.preventDefault();\n\n UserWishlist.HideAllProductWishlists();\n });\n\n $userWishlists.on('keyup', 'input[name=\"listName\"]', function (e) {\n var $userWishlist = $(this).closest('.x-user-wishlists');\n\n if (e.keyCode === 13) {\n e.preventDefault();\n e.stopPropagation();\n\n $('.js-list-create', $userWishlist).trigger('click');\n\n return;\n }\n\n userWishlistForm.validate(\"listName\");\n });\n\n $userWishlists.on('click', '.js-list-create', function (e) {\n e.preventDefault();\n\n if (!userWishlistForm.validate()) return false;\n\n var $this = $(this).closest('.x-user-wishlists');\n var $input = $('input[name=\"listName\"]', $this);\n\n var data = { Name: $input.val(), VisitorListId: 0 };\n\n Vendd.MessageBus.publishAsync($this.get(0), new Vendd.UserWishlist.Messages.SaveWishlist(data));\n });\n });\n\n Vendd.MessageBus.subscribe(Vendd.UserWishlist.Messages.GetModelSuccess, 'user-wishlists', function (envelope) {\n var model = envelope.message.data.model;\n\n if (envelope.message.data.sender) UserWishlist.UpdateProductWishlists(model, envelope.message.data.sender);\n });\n\n Vendd.MessageBus.subscribe(Vendd.UserWishlist.Messages.SaveWishlistFailed, 'user-wishlists', function (envelope) {\n if (envelope.message.data && envelope.message.data.message) {\n $('.js-error', envelope.sender).text(envelope.message.data.message);\n $('.js-error', envelope.sender).addClass('visible');\n setTimeout(function () { $('.js-error', envelope.sender).removeClass('visible'); }, 3000);\n }\n });\n\n});","Vendd.Scripts.load(function () {\n 'use strict';\n\n var $wrappers = $('.x-lazy-product-list');\n\n if ($wrappers.length < 1)\n return;\n\n var currentitemid = LhApp.Context.Item.Id !== undefined && LhApp.Context.Item.Id > 0 ? LhApp.Context.Item.Id : 0;\n var lazyLoadPrices = $('.list-lazy-load-prices', $wrappers).first().text().toLowerCase().trim() === \"true\";\n var customPrices = false;\n\n $.each($wrappers, function (i, wrpr) {\n var $this = $(wrpr);\n wrpr.model = null;\n\n var configuration = {\n configCode: $this.data(\"code\"),\n templateCode: $this.data(\"template\"),\n entityCode: $this.data(\"entity\"),\n itemId: currentitemid,\n refreshInterval: $this.data(\"refresh-interval\") === undefined ? 0 : parseInt($this.data(\"refresh-interval\")),\n nodeId: $this.data(\"nodeid\"),\n nodePath: $this.data(\"nodepath\"),\n }; \n\n if ($('.x-product-details').length > 0 && $('.x-product-details').data('selected-color-id') > 0 && $this.data(\"photodimensiondependent\")) {\n configuration.photoDimensionId = $('.x-product-details').data('selected-color-id');\n }\n\n wrpr.loading = function loading(loading) {\n if (loading) {\n $this.addClass('x-loading');\n } else {\n $this.removeClass('x-loading');\n }\n };\n\n wrpr.update = function update() {\n wrpr.loading(true);\n\n if (wrpr.model.HasQuickBuy) {\n Vendd.Quickbuy.addToQuickbuyList(wrpr.model.Items[0], true);\n }\n\n var partial = $this.data('partial');\n $this.attr('data-list-title', wrpr.model.SeoTitle);\n var html = Vendd.Handlebars.parse(partial, wrpr.model);\n wrpr.bind(html);\n\n var connectedList = $(wrpr).data('list');\n if (connectedList !== undefined) {\n $('.num-of-products[data-list-count=\"' + connectedList + '\"]').html(wrpr.model.ItemsCountText);\n }\n\n Vendd.MessageBus.publish(wrpr, new Vendd.Widget.Messages.BindControl($(wrpr)));\n\n var $boxes = $('.x-product-box[data-variantid]', wrpr);\n\n if (wrpr.model.Items[0][0].AlreadyInCartEnabled) {\n Vendd.MessageBus.publishAsync(wrpr, new Vendd.Cart.Messages.GetModel());\n }\n if (wrpr.model.Items[0][0].AlreadyInWishlistEnabled) {\n Vendd.MessageBus.publishAsync(wrpr, new Vendd.Wishlist.Messages.GetModel());\n }\n if (wrpr.model.Items[0][0].AlreadyInCompareListEnabled) {\n Vendd.MessageBus.publishAsync(wrpr, new Vendd.ProductCompare.Messages.GetWidgetModel());\n }\n\n if (lazyLoadPrices || customPrices) {\n var items = [];\n $boxes.each(function (i, el) {\n items.push(parseInt($(el).attr('data-variantid')));\n });\n\n var obj = {\n itemIds: items,\n fetchPrices: true,\n fetchAvailabilities: true,\n fetchStock: true\n };\n Vendd.MessageBus.publishAsync(wrpr, new Vendd.ScrollList.Messages.GetClientProductListData(obj));\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetClientProductListDataSuccess, wrpr, wrpr.onGetClientProductListDataSuccess);\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetClientProductListDataFailure, wrpr, wrpr.onGetClientProductListDataFailure);\n }\n\n if (wrpr.model.Items[0][0].HasColorSelector > 0) {\n $boxes.each(function (box, i) {\n var $box = $(this);\n var selectedColorId = $('.js-color-selector.selected', $box).data('id');\n $box.attr('data-selected-colorid', selectedColorId);\n\n addSkuParameterInProductBox($box, selectedColorId);\n });\n }\n\n $('.wrapper-to-delete').remove();\n\n wrpr.loading(false);\n };\n\n wrpr.bind = function bind(html) {\n $this.html(html);\n\n formatPrices($this);\n\n var opts = {\n navigation: true,\n pagination: true,\n items: 5,\n slideSpeed: 600,\n scrollPerPage: true,\n paginationSpeed: 600,\n addClassActive: true,\n navigationText: [\"\", \"\"],\n autoPlay: false,\n lazyLoad: false,\n itemsDesktop: [1199, 5],\n itemsDesktopSmall: [959, 4],\n itemsTablet: [768, 3],\n itemsMobile: [479, 2]\n };\n $('.see-recently-container > ul', $this).owlCarousel(opts);\n };\n\n wrpr.getConfiguration = function () {\n return configuration;\n };\n\n wrpr.setModel = function (model) {\n wrpr.model = model;\n };\n\n wrpr.onGetClientProductListDataSuccess = function (envelope) {\n var result = JSON && JSON.parse(envelope.message.data) || $.parseJSON(envelope.message.data);\n LazyPrices(result);\n LazyAvailabilities(result);\n };\n\n wrpr.onGetClientProductListDataFailure = function (envelope) {\n //console.log(envelope.message.data);\n };\n\n var LazyPrices = function (obj) {\n $('.x-product-box[data-variantid]', wrpr).each(function (i, el) {\n var itemVariantId = parseInt($(el).attr('data-variantid'));\n var itemData = obj.Products.filter(function (a) { return a.VariantId === itemVariantId });\n\n if (itemData.length === 0) return;\n\n var prices = itemData[0].Prices.Price;\n var points = itemData[0].Prices.Points;\n var pointsGain = itemData[0].Prices.PointsGain;\n var countdownPrices = itemData[0].CountDownProperties;\n\n // hide all\n $('.discount-container', el).addClass('hide');\n $('.deleted-price-container', el).addClass('hide');\n $('.current-price-container', el).addClass('hide');\n $('.current-points-price-container', el).addClass('hide');\n $('.current-points-gain-container', el).addClass('hide');\n\n if (prices) {\n if (prices.Discount) {\n $('.tag.discount', el).text('-' + prices.Discount + '%');\n }\n if (prices.DiscountValue) {\n $('.discount-container', el).removeClass('hide');\n $('.discount-value', el).text(decodeEntities(prices.DiscountValue));\n }\n if (prices.DeletedPrice) {\n $('.deleted-price-container', el).removeClass('hide');\n $('.deleted-price', el).text(decodeEntities(prices.DeletedPrice));\n } else if (countdownPrices) {\n $('.deleted-price-container', el).removeClass('hide');\n $('.deleted-price', el).text(decodeEntities(prices.CurrentPrice));\n }\n\n var displayedPrice = decodeEntities(prices.CurrentPrice);\n if (countdownPrices && countdownPrices.Price) {\n displayedPrice = countdownPrices.Price;\n }\n var $currentPrice = $('.current-price', el);\n if ($enableFormatPrices) {\n $currentPrice.html(formatPrice(displayedPrice));\n $currentPrice.addClass('price-formatted');\n } else {\n $currentPrice.text(displayedPrice);\n }\n $('.current-price-container', el).removeClass('hide');\n }\n\n if (points) {\n $('.current-points-price-container', el).removeClass('hide');\n $('.current-points-price-container .points-price', el).text(points.PointsPrice);\n }\n\n if (pointsGain) {\n $('.current-points-gain-container', el).removeClass('hide');\n $('.current-points-gain-container .points-gain', el).text(pointsGain.TotalPointsGain);\n }\n\n });\n };\n\n var LazyAvailabilities = function (obj) {\n $('.x-product-box[data-variantid]', wrpr).each(function (i, el) {\n var itemVariantId = parseInt($(el).attr('data-variantid'));\n var itemData = obj.Products.filter(function (a) { return a.VariantId === itemVariantId });\n if (itemData.length > 0) {\n var availability = itemData[0].Availability.AvailabilityData;\n var cartEnabled = availability.CanBuy === true;\n $('.availability', $(this)).addClass(\"availability-\" + availability.AvailabilityActionId).text(availability.Name).parent('.availability-container').removeClass('hide');\n if (cartEnabled) {\n $('.buttons .add-to-cart', $(this)).removeClass('x-disabled');\n $('.buttons .add-to-cart button', $(this)).removeAttr('disabled', 'disabled');\n }\n }\n });\n };\n\n Vendd.MessageBus.subscribe(Vendd.LazyProductList.Messages.LazyProductListSuccess, wrpr, function (envelope) {\n var sender = envelope.message.data.sender;\n if (wrpr && sender && wrpr == sender) {\n var model = envelope.message.data.model;\n if (model.Items && model.Items.length > 0) {\n wrpr.setModel(model);\n wrpr.update();\n if ($(wrpr).data(\"has-filter\") != undefined) {\n var connectedList = $(wrpr).data('list');\n if (connectedList !== undefined) {\n var $connectedFilter = $('.js-filters-wrapper[data-list=\"' + connectedList + '\"]').first();\n if ($connectedFilter.length > 0) {\n Vendd.MessageBus.publishAsync($connectedFilter.get(0), new Vendd.FilterProduct.Messages.Changed(model.Filters.Filters));\n }\n }\n }\n } \n }\n });\n\n //keep last in component's code\n (function () {\n var defaultCallExecuted;\n function defaultCall() {\n if (Vendd.User.SessionState && !defaultCallExecuted) {\n defaultCallExecuted = true;\n Vendd.MessageBus.publishAsync(wrpr, new Vendd.LazyProductList.Messages.GetLazyProductList(configuration));\n }\n }\n defaultCall();\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionStateSuccess, wrpr, function (envelope) {\n defaultCall();\n });\n })();\n\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetUserViewModelSuccess, $wrappers, function (envelope) {\n customPrices = envelope.message.data.model.HasCustomPrices;\n });\n\n});\n\nfunction reInitLazyProductLists(colorId) {\n\n var $lazyPds = $(\".x-lazy-product-list[data-photodimensiondependent='true']\");\n var configs = [], currentitemid = 0;\n\n if ($lazyPds.length < 1)\n return;\n\n if (LhApp.Context.Item.Id !== undefined && LhApp.Context.Item.Id > 0)\n currentitemid = LhApp.Context.Item.Id;\n\n $lazyPds.each(function () {\n var $lazypd = $(this);\n\n configs.push({\n configCode: $lazypd.data(\"code\"),\n templateCode: $lazypd.data(\"template\"),\n entityCode: $lazypd.data(\"entity\"),\n itemId: currentitemid,\n refreshInterval: $lazypd.data(\"refresh-interval\") === undefined ? 0 : parseInt($lazypd.data(\"refresh-interval\")),\n nodeId: $lazypd.data(\"nodeid\"),\n nodePath: $lazypd.data(\"nodepath\"),\n photoDimensionId: colorId\n });\n });\n\n Vendd.MessageBus.publishAsync($lazyPds.get(0), new Vendd.LazyProductList.Messages.GetLazyProductList(configs[0]));\n}","Vendd.Scripts.load(function () {\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.BindControl, 'x-product-box', function (envelope) {\n\n var $context = envelope.message.data.context, model, quickBuyObj, $hoveredProduct, selectedSku, colorSelectorCallback = false,\n $boxes = $('.x-product-box', $context);\n\n if ($boxes.length < 1)\n return;\n\n if (!isTouch()) {\n initProducboxHover($boxes);\n }\n\n if ($('.takeaway-price-container', $boxes).length > 0) {\n $('.takeaway-price-container', $boxes).each(function () {\n initTakeAwayPrice($(this));\n });\n }\n\n $boxes.on('click', '.js-remove-from-cart', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n var $this = $(this), $box, cartIds;\n\n $box = $this.closest('.x-product-box');\n\n cartIds = $box.prop('data-cartproductid');\n\n Vendd.MessageBus.publishAsync($box.get(0), new Vendd.Cart.Messages.MultipleRemove(cartIds));\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.MultipleRemoveSuccess, $box, function (envelope) {\n $this.attr('disabled', 'disabled').parent().addClass('disabled');\n toastr.success(envelope.message.data.data.SuccessMessage, \"\", { timeOut: 1200, showDuration: 1000, hideDuration: 700 });\n Vendd.MessageBus.unsubscribe(Vendd.Cart.Messages.MultipleRemoveSuccess, $box);\n });\n });\n\n $boxes.on('click', '.js-add-to-cart', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n var $this = $(this),\n $box, $qty,\n id, skuId, path, qty, extraAttributes, bundleItems, color, colorId, size, $wrapper, list, recipeItems, comboItems;\n\n if ($this.hasClass('x-disabled') || $this.is(':disabled'))\n return;\n if ($('.x-warehouse-selector-widget').trigger('addtocart').hasClass('opening'))\n return;\n\n $box = $this.closest('.x-product-box');\n $qty = $('.js-qty', $box);\n\n id = $box.data('productid');\n skuId = $box.data('variantid');\n var defaultcolorId = $box.data('default-colorid');\n\n path = $box.data('path');\n qty = ($qty.val() ? stringToNumber($qty.val()) : null) || 1;\n extraAttributes = [];\n bundleItems = [];\n recipeItems = [];\n comboItems = [];\n\n var itemInfo = {\n minQuantity: parseInt($box.data('min-quantity') || 0),\n maxQuantity: parseInt($box.data('max-quantity') || 0),\n quanta: parseInt($box.data('quanta') || 0)\n };\n\n //enhanced info\n color = $box.attr('data-color');\n size = $box.attr('data-size');\n colorId = $box[0].SelectedColorId || defaultcolorId || 0;\n\n $wrapper = $this.closest('.x-control.x-product-list');\n list = $wrapper.data('list');\n\n var enhancedInfo = { color: color, size: size, list: list, colorId: colorId };\n //enhanced info\n\n Vendd.MessageBus.publishAsync($box.get(0), new Vendd.Cart.Messages.Add(id, skuId, path, qty, extraAttributes, bundleItems, recipeItems, comboItems, itemInfo, enhancedInfo));\n //Open the widget only for template 1 of Cart Widget\n if ($('.x-cart-widget').data('template') === 1) {\n if ($box.closest('.x-searchbox.elastic').length > 0) {\n toastr.success(LhApp.Function.getText(\"Common:ProductAddedToCart\"), \"\", { timeOut: 1200, showDuration: 300, hideDuration: 700 });\n } else {\n Vendd.MessageBus.publishAsync($wrapper, new Vendd.Widget.Messages.OpenWidget(Vendd.Widget.CartWidget, false));\n }\n }\n\n });\n\n $boxes.on('click', '.js-remove-from-wishlist', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n var $this = $(this), $box, wishlistItemId;\n\n if ($this.closest('.wishlist-button').hasClass('x-disabled'))\n return;\n\n $box = $this.closest('.x-product-box');\n\n if ($box.data('hasquickbuy')) {\n var varId = parseInt($box.data('variantid'));\n var wishlistModel = JSON.parse(localStorage.getItem(\"CurrentWishlistModel\"));\n var selectedsku = _.find(wishlistModel.Items, function (item) { return varId === item.VariantId });\n wishlistItemId = selectedsku.Id;\n } else {\n wishlistItemId = $box.prop('data-wishlistitemid');\n }\n\n Vendd.MessageBus.publishAsync($box.get(0), new Vendd.Wishlist.Messages.Remove(wishlistItemId));\n });\n\n $boxes.on('click', '.js-add-to-wishlist', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n var $this = $(this),\n $box, $qty,\n id, skuId, path, qty, extraAttributes, bundleItems;\n\n if ($this.closest('.wishlist-button').hasClass('x-disabled'))\n return;\n\n $box = $this.closest('.x-product-box');\n $qty = $('.js-qty', $box);\n\n id = $box.data('productid');\n skuId = $box.data('variantid');\n path = $box.data('path');\n qty = ($qty.val() ? stringToNumber($qty.val()) : null) || 1;\n extraAttributes = [];\n bundleItems = [];\n\n if (LhApp.Context.MultipleWishlistsEnabled && $('.x-user-wishlists', $box).length > 0) {\n UserWishlist.HideAllProductWishlists();\n UserWishlist.ShowProductWishlists($('.x-user-wishlists', $box).get(0));\n } else {\n Vendd.MessageBus.publishAsync($box.get(0), new Vendd.Wishlist.Messages.Add(id, skuId, path, qty, extraAttributes, bundleItems));\n }\n });\n\n $boxes.on('click', '.js-remove-from-compare', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n var $this = $(this), $box, productId;\n\n if ($this.closest('.compare-button').hasClass('x-disabled'))\n return;\n\n $box = $this.closest('.x-product-box');\n\n productId = $box.prop('data-productid');\n\n Vendd.MessageBus.publishAsync($box.get(0), new Vendd.ProductCompare.Messages.Remove(productId));\n\n if ($('.x-productcompare-widget').data('template') === 1) {\n Vendd.MessageBus.publishAsync($box.get(0), new Vendd.Widget.Messages.OpenWidget(Vendd.Widget.ProductCompareWidget, false));\n }\n });\n\n $boxes.on('click', '.js-add-to-compare', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n var $this = $(this),\n $box, $qty,\n id, skuId, path, qty;\n\n if ($this.closest('.compare-button').hasClass('x-disabled'))\n return;\n\n $box = $this.closest('.x-product-box');\n $qty = $('.js-qty', $box);\n\n id = $box.data('productid');\n skuId = $box.data('variantid');\n path = $box.data('path');\n qty = ($qty.val() ? stringToNumber($qty.val()) : null) || 1;\n\n Vendd.MessageBus.publishAsync($box.get(0), new Vendd.ProductCompare.Messages.Add(id, skuId));\n\n if ($('.x-productcompare-widget').data('template') === 1) {\n Vendd.MessageBus.publishAsync($box.get(0), new Vendd.Widget.Messages.OpenWidget(Vendd.Widget.ProductCompareWidget, false));\n }\n });\n\n $boxes.on('click', '.js-qty-change', function (e) {\n var $this, $spinner, $input, $box, val, min, max, step;\n\n $this = $(this);\n $spinner = $this.parent();\n $input = $this.siblings('input[name=\"qty\"]').eq(0);\n $box = $this.closest($boxes);\n val = parseFloat($input.val()).toFixed(2);\n min = $(this).closest(\"article\").attr(\"data-min-quantity\");\n max = $(this).closest(\"article\").attr(\"data-max-quantity\");\n step = $(this).closest(\"article\").attr(\"data-quanta\");\n\n if ($spinner.hasClass('x-disabled'))\n return;\n\n if ($this.hasClass('js-decrement')) {\n\n if (min === \"\" && max === \"\" && step === \"\") {\n min = parseInt($spinner.data('min'));\n max = parseInt($spinner.data('max'));\n step = parseInt($spinner.data('step'));\n\n if ((parseInt(val) - parseInt(step)) <= parseInt(min)) {\n val = parseInt(min);\n } else {\n val = parseInt(val) - parseInt(step);\n } \n }\n else if (Vendd.Helpers.isInteger(parseFloat(step))) {\n val = parseInt(val) - parseInt(step);\n }\n else if (parseFloat(val) > parseFloat(min) && (parseFloat(val) - parseFloat(step) >= parseFloat(min))) {\n val = parseFloat(val) - parseFloat(step);\n val = parseFloat(val).toFixed(2);\n }\n\n $input.val(val);\n $this.siblings('.js-increment').removeClass('disabled');\n $this.siblings('.js-increment').removeAttr('disabled');\n\n if (val === min) {\n $this.addClass('disabled');\n $this.attr('disabled', 'disabled');\n }\n } else if ($this.hasClass('js-increment')) {\n\n if (min === \"\" && max === \"\" && step === \"\") {\n min = parseInt($spinner.data('min'));\n max = parseInt($spinner.data('max'));\n step = parseInt($spinner.data('step'));\n val = parseInt(val) + parseInt(step);\n }\n else if (Vendd.Helpers.isInteger(parseFloat(step))) {\n val = parseInt(val) + parseInt(step);\n }\n else if (parseFloat(val) < parseFloat((max == null || max === \"\" || max <= 0 ? 1000000 : max)) && (parseFloat(val) + parseFloat(step)) <= parseFloat((max == null || max === \"\" || max <= 0 ? 1000000 : max))) {\n val = parseFloat(val) + parseFloat(step);\n val = parseFloat(val).toFixed(2);\n }\n\n $input.val(val);\n $this.siblings('.js-decrement').removeClass('disabled');\n $this.siblings('.js-decrement').removeAttr('disabled');\n\n if (val === max) {\n $this.addClass('disabled');\n $this.attr('disabled', 'disabled');\n }\n }\n\n updateQuantityPrice($box);\n });\n\n $boxes.on('keydown', '.js-qty', function (e) {\n numbersOnly(e);\n });\n\n $boxes.on('click', '.js-select-product', function (e) {\n\n var $this, $box, id, $wrapper, list;\n $this = $(this);\n\n $box = $this.closest('.x-product-box');\n\n id = $box.data('productid');\n\n $wrapper = $this.closest('section.x-product-list');\n list = $wrapper.data('list');\n\n Vendd.MessageBus.publish($box.get(0), new Vendd.Product.Messages.ProductSelected(id, list));\n });\n\n $boxes.on('click', '.js-color-selector', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n var $this = $(this);\n var $box = $this.closest($boxes);\n\n if (!$box.data('hascolorselector'))\n return;\n\n //get selected color data\n var selectedColorId = $this.data('id');\n var selectedColorName = $this.data('name');\n var selectedColorSrc = $this.data('src');\n\n $('.js-color-selector', $box).removeClass('selected');\n $this.addClass('selected');\n\n //change product box image\n if (typeof selectedColorSrc != 'undefined') {\n $box.attr('data-color', selectedColorName);\n $box.attr('data-selected-colorid', selectedColorId);\n if (selectedColorId) {\n var colorImages = _.find(_.find(jsonArr, function (product) { return product.Id == $box.attr('data-productid'); }).ColorImages, function (color) { return color.id == selectedColorId; }).images;\n var imageCont = $('.image-container .js-product-link', $box);\n if (typeof colorImages != 'undefined' && colorImages[1]) {\n imageCont.html('');\n imageCont.append('');\n } else if (typeof selectedColorSrc != 'undefined') {\n imageCont.html('');\n }\n }\n } \n\n //add the selected sku parameter in product box links\n addSkuParameterInProductBox($box, selectedColorId); \n\n //sync color selector with quick buy - only if quickbuy is open\n if ($box.data('hasquickbuy') && $box.hasClass('x-initialized')) {\n colorSelectorCallback = true;\n $('.js-dimensions li[data-id=' + selectedColorId + ']', $box).trigger('click');\n }\n });\n\n $boxes.on('click', '.js-quick-view', function (e) {\n e.preventDefault();\n e.stopPropagation();\n if (isTouch()) {\n window.location.href = $('> a', $(this).closest('.image-container')).attr('href');\n return;\n }\n var $this = $(this),\n $box, $qty,\n id, skuId, path, qty, extraAttributes, bundleItems;\n\n $box = $this.closest('.x-product-box');\n $qty = $('.js-qty', $box);\n\n id = $box.data('productid');\n skuId = $box.data('variantid');\n path = $box.data('path');\n qty = ($qty.val() ? stringToNumber($qty.val()) : null) || 1;\n extraAttributes = [];\n bundleItems = [];\n\n var Href = '/pages/productdetailspopup.aspx?iid=' + id + '&path=' + path + '&Quantity=' + qty;\n $.fancybox.open({\n src: Href,\n type: 'iframe',\n maxWidth: 840,\n //maxHeight: 745,\n fitToView: false,\n //width: '100%',\n //height: '100%',\n autoSize: false,\n closeClick: false,\n openEffect: 'none',\n closeEffect: 'none',\n padding: 0,\n beforeShow: function () {\n var fancy = $('.fancybox-iframe');\n fancy.closest('.fancybox-skin').addClass('quick-view');\n fancy.contents().find('html').addClass('quick-view');\n fancy.contents().find('.fancybox-my-close').on('click', function () { $.fancybox.close(); });\n this.width = ($('.fancybox-iframe').contents().find('.product-details-popup').width());\n this.height = ($('.fancybox-iframe').contents().find('html').height());\n },\n afterClose: function () {\n }\n });\n });\n\n $boxes.on('click', '.js-set-delivery-point', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n var $this = $(this), $box, deliveryPointId;\n\n $box = $this.closest('.x-product-box');\n\n deliveryPointId = $this.data('id');\n\n $('.js-set-delivery-point').addClass('x-disabled').attr('disabled', 'disabled').parent().addClass('x-loading');\n\n Vendd.MessageBus.publishAsync($box.get(0), new Vendd.Cart.Messages.SetDeliveryPoint(deliveryPointId));\n });\n\n if ($('.product-list-page').length > 0 || $('.search-products-page').length > 0 || $('.manufacturer-product-list').length > 0) {\n $boxes.on('click', '.js-product-link', function (e) {\n var $this = $(this), $box, id, url;\n\n $box = $this.closest('.x-product-box');\n\n if ($box.closest('.x-main-product-list').length < 1)\n return;\n\n //add class to product list\n $box.closest('.x-product-list').addClass('js-redirecting');\n\n //get product id and page number\n id = $box.data('productid');\n pageNumber = $box.closest('li').data('page');\n\n //add product id and page to session storage\n sessionStorage.setItem('scrollToProductId', id);\n\n //manipulate state based on page number\n var querystring = window.location.pathname + (window.location.pathname.slice(-1) != \"/\" ? \"/\" : \"\"),\n pageText = 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 url = window.location.protocol\n + \"//\"\n + window.location.host\n + querystring\n + window.location.search;\n\n if (window.location.href !== url)\n history.replaceState({}, jQuery(document).find('title').text() + pageNumber, url);\n });\n }\n \n $boxes.on('click', '.js-quick-buy', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n var $this = $(this);\n var $box = $this.closest($boxes);\n\n if (!$box.data('hasquickbuy'))\n return;\n\n $boxes.removeClass('shown');\n $box.addClass('shown');\n\n if (!$box.hasClass('x-initialized')) {\n initQuickBuy($box);\n }\n });\n\n function initQuickBuy($wrapper) { \n\n var wrapper = $wrapper.get(0);\n var userModel = {}, showPriceWithoutVat = false;\n\n wrapper.productId = $wrapper.data('productid');\n wrapper.defaultColor = $wrapper.data('default-colorid');\n wrapper.selectedColor = $wrapper.data('selected-colorid');\n\n var state = Vendd.Quickbuy.initState(wrapper.productId, wrapper.defaultColor);\n\n if (state == undefined) return;\n\n wrapper.model = state;\n wrapper.dimensionWidget = $('.x-dimensions-widget', $wrapper);\n wrapper.quantitySelector = $('.x-cart-qty-spinner', $wrapper);\n wrapper.cartButton = $('.add-to-cart', $wrapper);\n wrapper.wishlistButton = $('.wishlist-button', $wrapper);\n wrapper.compareButton = $('.compare-button', $wrapper);\n wrapper.priceElement = $('.current-price', $wrapper);\n wrapper.deletedPriceElement = $('.deleted-price', $wrapper);\n wrapper.discountPercentageElement = $('.discount-percentage', $wrapper);\n wrapper.discountValueElement = $('.discount-value', $wrapper);\n wrapper.image = $('.image-container', $wrapper).find('img');\n\n if (!state.HasColors && !state.HasSizes && !state.HasDim3) {\n wrapper.cartButton.removeClass('x-disabled').find('button').prop(\"disabled\", false);\n wrapper.quantitySelector.removeClass('x-disabled');\n wrapper.wishlistButton.removeClass('x-disabled');\n wrapper.compareButton.removeClass('x-disabled');\n\n return;\n }\n\n if (state.HasSingleDim) $wrapper.addClass('has-one-dim');\n if (state.HasTwoDims) $wrapper.addClass('has-two-dims');\n if (state.HasThreeDims) $wrapper.addClass('has-three-dims');\n\n //check color selector for new state\n if ($wrapper.data('hascolorselector') && $('.js-color-selector.selected', $wrapper).length > 0) {\n state.createNewColorState = true;\n if (wrapper.defaultColor === wrapper.selectedColor) {\n state.defaultDimId = wrapper.defaultColor;\n } else {\n state.defaultDimId = wrapper.selectedColor;\n }\n }\n\n //create new state\n if (state.createNewColorState) {\n Vendd.Quickbuy.createNewState(wrapper, state.defaultDimId, wrapper.productId, wrapper.defaultColor, 'color');\n } else if (state.createNewSizeState) {\n Vendd.Quickbuy.createNewState(wrapper, state.defaultDimId, wrapper.productId, wrapper.defaultColor, 'size');\n } else if (state.createNewDim3State) {\n Vendd.Quickbuy.createNewState(wrapper, state.defaultDimId, wrapper.productId, wrapper.defaultColor, 'dim3');\n }\n\n wrapper.GetUserModel = function () {\n userModel = Vendd.User && Vendd.User.GetClientModel();\n\n if (userModel) {\n _.extend(userModel, { ClientEnhancedModel : window.LhApp.ClientEnhancedModel }); // model to be expanded from page html (window.LhApp = window.LhApp || {}; window.LhApp.ClientEnhancedModel = window.LhApp.ClientEnhancedModel || {};\n showPriceWithoutVat = userModel.ShowPriceWithoutVat;\n }\n };\n\n wrapper.UpdateBoxData = function (type, imgSrc) {\n var $wrapper = $(this);\n \n var selectedColorId = (typeof wrapper.SelectedColorId != 'undefined') ? wrapper.SelectedColorId : null;\n var selectedSizeId = (typeof wrapper.SelectedSizeId != 'undefined') ? wrapper.SelectedSizeId : null;\n var selectedDim3Id = (typeof wrapper.SelectedDim3Id != 'undefined') ? wrapper.SelectedDim3Id : null;\n\n if (selectedColorId && type === 'color') {\n var colorImages = _.find(_.find(jsonArr, function (product) { return product.Id == wrapper.productId; }).ColorImages, function (color) { return color.id == selectedColorId; }).images;\n var imageCont = $('.image-container .js-product-link', $wrapper);\n if (typeof colorImages != 'undefined' && colorImages[1]) {\n imageCont.html('');\n imageCont.append('');\n } else if (typeof imgSrc != 'undefined') {\n imageCont.html('');\n }\n }\n\n if ((wrapper.model.HasColors && !state.HasSingleColor && selectedColorId == null)\n || (wrapper.model.HasSizes && !state.HasSingleSize && selectedSizeId == null)\n || (wrapper.model.HasDim3 && !state.HasSingleDim3 && selectedDim3Id == null))\n {\n wrapper.cartButton.addClass('x-disabled').find('button').prop(\"disabled\", true);\n wrapper.quantitySelector.addClass('x-disabled');\n wrapper.wishlistButton.addClass('x-disabled');\n wrapper.compareButton.addClass('x-disabled');\n \n return;\n }\n \n selectedSku = Vendd.Quickbuy.GetSkuData(wrapper, wrapper.productId, wrapper.defaultColor, selectedColorId, selectedSizeId, selectedDim3Id);\n\n if (selectedSku !== null && typeof selectedSku !== \"undefined\") {\n var skuData = selectedSku.SkuData;\n\n $wrapper.data('variantid', skuData.SkuId);\n\n if (!(skuData.CanBuy || skuData.CanPreorder)) {\n wrapper.cartButton.addClass('x-disabled').find('button').prop(\"disabled\", true).prev('.availability').html(skuData.NoAvailabilityName);\n wrapper.quantitySelector.addClass('x-disabled');\n } else {\n wrapper.cartButton.removeClass('x-disabled').find('button').prop(\"disabled\", false).prev('.availability').html(skuData.NoAvailabilityName);\n wrapper.quantitySelector.removeClass('x-disabled');\n }\n\n var wishlistModel = JSON.parse(localStorage.getItem(\"CurrentWishlistModel\"));\n\n if (wishlistModel) {\n var selectedsku = _.find(wishlistModel.Items, function (item) { return skuData.SkuId === item.VariantId });\n var $wishlistButton = $('.wishlist-button', $wrapper);\n if (selectedsku) {\n $wishlistButton.addClass('already-in-wishlist');\n $('.js-add-to-wishlist', $wishlistButton).addClass('disabled');\n $('.js-remove-from-wishlist', $wishlistButton).removeClass('disabled');\n } else {\n $wishlistButton.removeClass('already-in-wishlist');\n $('.js-add-to-wishlist', $wishlistButton).removeClass('disabled');\n $('.js-remove-from-wishlist', $wishlistButton).addClass('disabled');\n }\n }\n\n wrapper.wishlistButton.removeClass('x-disabled');\n wrapper.compareButton.removeClass('x-disabled');\n\n if (skuData.QuantityPrices) {\n var quantity = parseInt($('input', wrapper.quantitySelector).val());\n var quantityPrice = _.find(skuData.QuantityPrices, function (x) { return quantity >= x.From.Value && quantity <= x.To.Value; });\n\n skuData.UnitPrice = quantityPrice.Price.DisplayTotalValue;\n }\n\n if ($enableFormatPrices) {\n if (!wrapper.priceElement.hasClass('price-formatted')) {\n wrapper.priceElement.addClass('price-formatted');\n }\n wrapper.priceElement.html(formatPrice(skuData.UnitPrice));\n } else {\n wrapper.priceElement.text(skuData.UnitPrice);\n }\n\n if (skuData.DeletedPrice) {\n wrapper.deletedPriceElement.text(skuData.DeletedPrice);\n }\n\n wrapper.discountPercentageElement.text(skuData.DiscountPercentage);\n wrapper.discountValueElement.text(skuData.DiscountValue);\n\n }\n };\n\n $wrapper.on('click', '.js-dimensions li', function (e) {\n\n var $this = $(this), id, type, name, $wrap, wrapper, productId, defaultColor, imgSrc,\n isColorList, isSizeList, isDim3List, $color, $size;\n\n if ($this.hasClass('selected') || $this.hasClass('disabled'))\n return;\n\n id = $this.data('id');\n name = $this.data('name');\n type = $this.closest('.dropdown-content').data('type');\n\n isColorList = ($this.parent().hasClass('colors-list')) ? true : false;\n isSizeList = ($this.parent().hasClass('sizes-list')) ? true : false;\n isDim3List = ($this.parent().hasClass('dim3-list')) ? true : false;\n\n if (isColorList) imgSrc = $this.find('img').attr('src');\n\n $wrap = $this.closest('.x-product-box');\n wrapper = $wrap.get(0);\n productId = $wrap.data('productid');\n defaultColor = $wrap.data('default-colorid');\n\n $this.addClass('selected').siblings().removeClass('selected');\n $this.closest('.dropdown-list').find('.selected-text').html(name);\n\n if (id === undefined) return;\n\n var state = Vendd.Quickbuy.createNewState(wrapper, id, productId, defaultColor, type);\n Vendd.Quickbuy.Update(wrapper.dimensionWidget, state, \"productDimensions_A\");\n\n if (isColorList) {\n wrapper.UpdateBoxData(\"color\", imgSrc);\n $wrap.attr('data-color', name);\n } else if (isSizeList) { \n wrapper.UpdateBoxData(\"size\", imgSrc);\n $wrap.attr('data-size', name);\n } else if (isDim3List) {\n wrapper.UpdateBoxData(\"dim3\", imgSrc);\n $wrap.attr('data-dim3', name);\n }\n\n //sync quick buy with color selector\n if ($wrapper.data('hascolorselector') && isColorList && !colorSelectorCallback) {\n $('.js-color-selector', $wrap).removeClass('selected');\n $('.js-color-selector[data-id=' + id + ']', $wrap).addClass('selected');\n\n addSkuParameterInProductBox($wrap, id, state); \n }\n\n colorSelectorCallback = false;\n });\n\n $wrapper.on('click', '.js-dropdown-btn', function (e) {\n var $this = $(this);\n\n if ($this.hasClass('disabled')) return;\n\n if ($this.hasClass('expanded')) {\n $this.removeClass('expanded');\n } else {\n $('.js-dropdown-btn.expanded').removeClass('expanded');\n $this.addClass('expanded');\n }\n });\n\n $(document).click(function (event) {\n if (!$(event.target).closest('.js-dropdown-btn').length &&\n !$(event.target).is('.js-dropdown-btn')) {\n\n $('.js-dropdown-btn').removeClass(\"expanded\");\n }\n });\n\n $wrapper.closest('.x-product-list').on('mouseleave', function (e) {\n $('.x-product-box.hovered').removeClass('hovered');\n $('.js-dropdown-btn.expanded').removeClass('expanded');\n });\n\n Vendd.Quickbuy.Update(wrapper.dimensionWidget, state, \"productDimensions_A\");\n\n wrapper.GetUserModel();\n\n wrapper.UpdateBoxData();\n\n $wrapper.addClass('x-initialized');\n }\n\n function initProducboxHover($boxes) {\n if ($boxes.length == 0)\n return;\n\n var $quickBuyBoxes = $boxes.filter(function () {\n return $(this).data('hasquickbuy');\n });\n\n var config = {\n sensitivity: 50,\n interval: 180,\n over: mouseenter,\n timeout: 10,\n out: mouseleave\n };\n\n function mouseenter() {\n $this = $(this);\n if (!isTouch()) {\n $this.closest('ul').find('.x-product-box').removeClass('hovered');\n $this.addClass('hovered');\n }\n }\n\n function mouseleave() {\n return;\n }\n\n $quickBuyBoxes.hoverIntent(config);\n }\n\n function initTakeAwayPrice($productBox) {\n if ($productBox.length == 0)\n return;\n\n var takeawayprice = $('.takeaway-price', $productBox).text();\n if (takeawayprice != \"\") {\n $('.takeaway-price', $productBox).text(LhApp.Function.renderPrice(parseFloat(takeawayprice)));\n }\n }\n\n function updateQuantityPrice($wrapper) { \n\n var skuId = $wrapper.data('variantid'), skuData;\n\n //if selectedSku already initialized from quick buy\n if (selectedSku !== null && typeof selectedSku !== \"undefined\") {\n skuData = selectedSku.SkuData;\n } else {\n selectedSku = _.find(window.jsonArr, function (x) { return x.Id = skuId; });\n skuData = selectedSku.FinalSkuPrices[skuId];\n }\n\n if (skuData && skuData.QuantityPrices) {\n var quantity = parseInt($('.x-cart-qty-spinner input', $wrapper).val());\n var quantityPrice = _.find(skuData.QuantityPrices, function (x) { return quantity >= x.From.Value && quantity <= x.To.Value; });\n var unitPrice = quantityPrice.Price.DisplayTotalValue;\n\n $('.current-price', $wrapper).text(unitPrice);\n }\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Changed, 'x-product-box', function (envelope) {\n var model = envelope.message.data.Cart;\n\n var $boxes = $('.x-product-box');\n\n if ($boxes.length < 1)\n return;\n\n $boxes.each(function (i, el) {\n var $el = $(el);\n var productId = $el.data('productid');\n var variantId = $el.data('variantid');\n var quantityInCart = 0, idsInCart = [], inCart = false;\n\n $el.find('.js-remove-from-cart').attr('disabled', 'disabled').parent().addClass('disabled');\n\n for (var j = 0; j < model.Items.length; j++) {\n if (productId == model.Items[j].ProductId) {\n if (window.jsonArr) {\n var list = _.find(window.jsonArr, function (list) {\n return list.Id == productId && _.contains(list.SkuList, model.Items[j].VariantId) && _.contains(list.SkuList, variantId);\n });\n if (list) {\n quantityInCart += model.Items[j].Quantity;\n idsInCart.push(model.Items[j].Id);\n inCart = true;\n }\n }\n }\n }\n\n if (inCart) {\n $el.prop('data-cartproductid', idsInCart);\n $el.find('.js-remove-from-cart').removeAttr('disabled').parent().removeClass('disabled');\n if (!model.CountAsOneInCart) $el.find('.js-cart-quantity').text(\"(\" + quantityInCart + \")\");\n }\n });\n });\n\n Vendd.MessageBus.subscribe(Vendd.Wishlist.Messages.Changed, 'x-product-box', function (envelope) {\n var data = envelope.message.data.Items;\n var $boxes = $('.x-product-box');\n\n if ($boxes.length < 1)\n return;\n\n $boxes.each(function (i, el) {\n var $el = $(el);\n var id = $el.data('variantid');\n\n if (data) {\n var productInWishlist = _.find(data, function (x) { return id === x.VariantId });\n var $wishlistButton = $('.wishlist-button', $el);\n\n if (productInWishlist) {\n $el.prop('data-wishlistitemid', productInWishlist.Id);\n $wishlistButton.addClass('already-in-wishlist');\n $('.js-add-to-wishlist', $wishlistButton).addClass('disabled');\n $('.js-remove-from-wishlist', $wishlistButton).removeClass('disabled');\n } else {\n $wishlistButton.removeClass('already-in-wishlist');\n $('.js-add-to-wishlist', $wishlistButton).removeClass('disabled');\n $('.js-remove-from-wishlist', $wishlistButton).addClass('disabled');\n }\n }\n\n });\n\n });\n\n Vendd.MessageBus.subscribe(Vendd.ProductCompare.Messages.GetWidgetModelSuccess, 'x-product-box', function (envelope) {\n var data = envelope.message.data.model.Items;\n var $boxes = $('.x-product-box');\n\n if ($boxes.length < 1)\n return;\n\n $boxes.each(function (i, el) {\n var $el = $(el);\n var id = $el.data('productid');\n\n if (data) {\n var productInCompare = _.find(data, function (x) { return id === x.Id });\n var $compareButton = $('.compare-button', $el);\n\n if (productInCompare) {\n $el.prop('data-productid', productInCompare.Id);\n $compareButton.addClass('already-in-compare');\n $('.js-add-to-compare', $compareButton).addClass('disabled');\n $('.js-remove-from-compare', $compareButton).removeClass('disabled');\n } else {\n $compareButton.removeClass('already-in-compare');\n $('.js-add-to-compare', $compareButton).removeClass('disabled');\n $('.js-remove-from-compare', $compareButton).addClass('disabled');\n }\n }\n\n });\n\n });\n\n});\n\n//function used in productBox_A.js and productList_A.js\nfunction addSkuParameterInProductBox($productBox, selectedColorId, state) {\n\n if ($productBox.length < 1) return;\n\n var productBox = $productBox.get(0);\n\n //get product box data\n var productId = $productBox.data('productid');\n var variantId = $productBox.data('variantid');\n var defaultColor = $productBox.data('default-colorid');\n var $link = $productBox.data('url');\n var query = ($link.indexOf('?') > -1) ? '&' : '?';\n\n var $selectedSkuLink;\n\n if (defaultColor === selectedColorId) {\n //add data attribute\n $productBox.attr('data-selected-sku', variantId);\n //add sku parameter in product box links\n $selectedSkuLink = $link + (($link.indexOf('skuid=') === -1) ? query + 'skuid=' + variantId : '');\n $('.js-product-link', $productBox).attr('href', $selectedSkuLink);\n } else {\n //get quickbuy model\n var state = state ? state : Vendd.Quickbuy.initState(productId, defaultColor);\n if (!state) return;\n\n //find first available size of selected color\n var selectedColorModel = _.find(state.Colors, function (x) { return x.Id === selectedColorId });\n var defaultSizeId = selectedColorModel ? _.first(selectedColorModel.AvailableSizes) : null;\n\n //get selected sku of selected color\n productBox.model = state;\n var selectedSku = Vendd.Quickbuy.GetSkuData(productBox, productId, defaultColor, selectedColorId, defaultSizeId);\n if (selectedSku !== null && typeof selectedSku !== 'undefined') {\n //add data attribute\n $productBox.attr('data-selected-sku', selectedSku.SkuData.SkuId);\n //add sku parameter in product box links\n $selectedSkuLink = $link + (($link.indexOf('skuid=') === -1) ? query + 'skuid=' + selectedSku.SkuData.SkuId : '');\n $('.js-product-link', $productBox).attr('href', $selectedSkuLink);\n }\n }\n}","Vendd.Scripts.load(function () {\n if ($('.back-to-top').length > 0) {\n backToTop();\n }\n\n if (isTouch()) {\n initFooterMenuToggle();\n }\n});\n\nfunction backToTop() {\n var $backToTop = $(\".back-to-top\"),\n scroll;\n\n scroll = $(window).scrollTop();\n scroll > 500 ? $backToTop.addClass(\"visible\") : $backToTop.removeClass(\"visible\");\n $(window).scroll($.debounce(200, function () {\n scroll = $(window).scrollTop();\n scroll > 500 ? $backToTop.addClass(\"visible\") : $backToTop.removeClass(\"visible\")\n }));\n\n $backToTop.on(\"click\", function () {\n $(\"body,html\").animate({ scrollTop: 0 }, 400, 'swing');\n });\n}\n\nfunction initFooterMenuToggle() {\n var mainCont = $('.footer-template-one .region-area-two');\n $(\".footer-template-one .js-toggle\").click(function () {\n var hiddenCont = $(this).siblings('.js-content-accord');\n $(this).toggleClass('icon-arrow-down icon-arrow-up');\n if (hiddenCont.hasClass('opened')) {\n hiddenCont.removeClass('opened');\n } else {\n mainCont.find('.opened').removeClass('opened').siblings('.js-toggle').toggleClass('icon-arrow-down icon-arrow-up');\n hiddenCont.addClass('opened');\n }\n });\n\n var accordion = false;\n\n if ($(window).outerWidth() <= 767) {\n accordion = true;\n }\n\n $(window).resize(function () {\n if ($(window).outerWidth() > 767) {\n if (accordion) {\n $('.js-content-accord', mainCont).removeClass('opened');\n accordion = false;\n }\n }\n else {\n if (!accordion) {\n $('.js-content-accord', mainCont).siblings('.js-toggle').addClass('icon-arrow-down').removeClass('icon-arrow-up');\n accordion = true;\n }\n }\n });\n}","Vendd.Scripts.load(function () {\n var $wrapper = $('.x-searchbox.elastic');\n\n if ($wrapper.length < 1)\n return;\n\n $.each($wrapper, function (i, wrapper) {\n var $wrapper = $(wrapper);\n\n var $input = $('.js-keyword', $wrapper);\n $input.val(\"\");\n var $button = $('.js-submit', $wrapper);\n var $toggleButton = $('.js-search-toggle', $wrapper);\n var $closeButton = $('.js-search-close', $wrapper);\n var minLength = $wrapper.data('min-search-length');\n var pdPageSize = $wrapper.data('pd-page-size');\n var catPageSize = $wrapper.data('cat-page-size');\n var artPageSize = $wrapper.data('art-page-size');\n var filtered = $wrapper.data('product-categories-filter');\n var showOnlyProducts = $wrapper.data('only-products');\n var mask = $wrapper.data('mask'); \n var lazyLoadPrices = $wrapper.data('lazyload-prices');\n if (typeof lazyLoadPrices === 'string') {\n lazyLoadPrices = lazyLoadPrices.trim().toLowerCase() === 'true';\n }\n\n var ajax = $wrapper.data('ajax');\n if (typeof ajax === 'string')\n ajax = ajax.trim().toLowerCase() === 'true';\n var lazy = false;\n\n var $category, $elastic;\n var model = {};\n\n var searchTerm = \"\"; pdPageNum = 1, pdPageStart = 0, pdFirstShown = 0, pdLastShown = 0, catPageNum = 1, catFirstShown = 0, catLastShown = 0,\n catPageStart = 0, artPageNum = 1, artPageStart = 0, artFirstShown = 0, artLastShown = 0, scrollToPd = false, scrollToCat = false, scrollToArt = false;\n\n if (ajax) {\n $elastic = $(\".x-elastic-results-list\", $wrapper);\n\n if ($elastic.length <= 0)\n throw 'Error: Elastic List does not exist';\n\n lazy = $elastic.data(\"lazy-load-init\");\n\n Vendd.MessageBus.subscribe(Vendd.ElasticSearch.Messages.GetCategoryElasticResultsFailed, wrapper, function (envelope) {\n model.categories = null;\n wrapper.loading(false);\n });\n\n Vendd.MessageBus.subscribe(Vendd.ElasticSearch.Messages.GetProductElasticResultsFailed, wrapper, function (envelope) {\n model.products = null;\n wrapper.loading(false);\n });\n\n Vendd.MessageBus.subscribe(Vendd.ElasticSearch.Messages.GetArticleElasticResultsFailed, wrapper, function (envelope) {\n model.article = null;\n wrapper.loading(false);\n });\n\n Vendd.MessageBus.subscribe(Vendd.ElasticSearch.Messages.GetCategoryElasticResultsSuccess, wrapper, function (envelope) {\n model.categories = envelope.message.data.model;\n wrapper.render();\n });\n\n Vendd.MessageBus.subscribe(Vendd.ElasticSearch.Messages.GetProductElasticResultsSuccess, wrapper, function (envelope) {\n if (envelope.message.data.sender != wrapper) return;\n\n model.products = envelope.message.data.model;\n wrapper.render();\n });\n\n Vendd.MessageBus.subscribe(Vendd.ElasticSearch.Messages.GetArticleElasticResultsSuccess, wrapper, function (envelope) {\n model.articles = envelope.message.data.model;\n wrapper.render();\n });\n }\n\n wrapper.render = function () {\n if (!model.categories) return;\n if (!model.products) return;\n if (!model.articles) return;\n\n if (model.products && model.products.hits.hits.length > 0) {\n _.each(model.products.hits.hits, function (product) {\n //create an object with default sku dimension - used for product image\n var defaultSkuDimension = _.find(product._source.Dimensions, function (x) { return product._source.VariantId === x.SkuId; });\n if (defaultSkuDimension) product._source.DefaultSkuDimension = defaultSkuDimension;\n\n //Create IsGiftCard property\n product._source.IsGiftCard = (product._source.ProductType.Code && product._source.ProductType.Code === 'gift-cart');\n });\n }\n\n //check if current user has custom prices\n var currentUser = Vendd.User && Vendd.User.GetClientModel();\n var customPrices = currentUser && currentUser.HasCustomPrices;\n lazyLoadPrices = lazyLoadPrices || customPrices;\n\n if (lazyLoadPrices && model.products && model.products.hits.hits.length > 0) {\n var items = _.pluck(_.pluck(model.products.hits.hits, '_source'), 'VariantId');\n var obj = {\n itemIds: items,\n fetchPrices: true,\n fetchAvailabilities: false,\n fetchStock: false\n };\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ScrollList.Messages.GetClientProductListData(obj));\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetClientProductListDataSuccess, wrapper, function (envelope) {\n var result = JSON && JSON.parse(envelope.message.data) || $.parseJSON(envelope.message.data);\n var b2bModel = result.B2B;\n var shouldHidePrices = b2bModel && b2bModel.DisplayOptions && b2bModel.DisplayOptions.ShouldHidePrice;\n\n //extend model\n model.b2b = _.extend({}, b2bModel);\n model.LazyLoadPrices = true;\n model.ShowPriceWithoutVat = result.ShowPriceWithoutVat;\n\n if (!shouldHidePrices) {\n var modelWithPrices = _.each(model.products.hits.hits, function (obj) {\n var selectedProduct = _.find(result.Products, function (x) { return obj._source.VariantId === x.VariantId; });\n if (selectedProduct) _.extend(obj._source, selectedProduct.Prices);\n });\n _.extend(model.products.hits.hits, modelWithPrices);\n }\n\n wrapper.bind();\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Cart.Messages.GetModel());\n\n setTimeout(function () { $elastic.removeClass('loading'); }, 50);\n\n Vendd.MessageBus.unsubscribe(Vendd.ScrollList.Messages.GetClientProductListDataSuccess, wrapper);\n\n /* Track Search & SearchTerm */\n if (typeof fbPixelTracker !== 'undefined' && typeof fbPixelCanTrack !== 'undefined') {\n if (fbPixelTracker && fbPixelTracker.Properties.FacebookPixelId && fbPixelCanTrack) {\n fbq('track', 'Search');\n fbq('trackCustom', 'SearchTerm', { search_string: searchTerm });\n }\n }\n /* END Track Search & SearchTerm */\n });\n\n } else {\n\n wrapper.bind();\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Cart.Messages.GetModel());\n\n if (model.categories.hits.hits.length < 1 && model.products.hits.hits.length < 1 && model.articles.hits.hits.length < 1)\n $('.no-results.results', $elastic).addClass('visible');\n\n setTimeout(function () { $elastic.removeClass('loading'); }, 50);\n\n /* Track Search & SearchTerm */\n if (typeof fbPixelTracker !== 'undefined' && typeof fbPixelCanTrack !== 'undefined') {\n if (fbPixelTracker && fbPixelTracker.Properties.FacebookPixelId && fbPixelCanTrack) {\n fbq('track', 'Search');\n fbq('trackCustom', 'SearchTerm', { search_string: searchTerm });\n }\n }\n /* END Track Search & SearchTerm */\n }\n };\n\n wrapper.bind = function () {\n var html = Vendd.Handlebars.parse(\"elasticResultList_A\", model);\n $elastic.html(html);\n\n Vendd.MessageBus.publishAsync($elastic.get(0), new Vendd.Widget.Messages.BindControl($elastic));\n\n wrapper.pdPaging();\n wrapper.catPaging();\n wrapper.artPaging();\n\n wrapper.showList(true);\n wrapper.loading(false);\n };\n\n wrapper.loading = function (loading) {\n if (loading) {\n $wrapper.addClass('x-loading').addClass('x-disabled');\n } else {\n $wrapper.removeClass('x-loading').removeClass('x-disabled');\n }\n };\n\n wrapper.clearValue = function () {\n $input.val(\"\");\n };\n\n wrapper.checkSearchTerm = function () {\n return /[a-zα-ωάέήίόύώϊϋΐΰςа-я0-9]+/i.test(searchTerm);\n };\n\n wrapper.showList = function (show) {\n if (ajax && $elastic.length > 0) {\n if (show) {\n $('html').addClass('no-scroll');\n if ($('.header-region').hasClass('sticky')) {\n $('.header-spacer').height(0);\n $('.header-region').removeClass('sticky');\n }\n $elastic.addClass('js-visible');\n $wrapper.addClass('overlaid');\n $('.header-region').addClass('active clean-zindex');\n $('.header-overlay').addClass('active');\n setTimeout(function () { calculateSearchHeight(); }, 150);\n } else {\n $('html').removeClass('no-scroll');\n $('.header-region').removeClass('active clean-zindex');\n $('.header-overlay').removeClass('active');\n $wrapper.removeClass('overlaid');\n $elastic.removeClass('js-visible');\n }\n }\n };\n\n wrapper.pdPaging = function () {\n var pdCont = $('.elastic-area.products', $elastic);\n var pdTotal = pdCont.data('total');\n\n if (scrollToPd) {\n $(\".result-list-wrapper\", $elastic).animate({ scrollTop: pdCont.offset().top - $(\".result-list-wrapper\", $elastic).offset().top }, 1);\n }\n\n if (pdTotal > pdPageSize) {\n $('.prev-btn', pdCont).removeClass('hidden');\n $('.next-btn', pdCont).removeClass('hidden');\n }\n\n if (pdPageStart <= 0) {\n $('.prev-btn', pdCont).addClass('disabled');\n }\n\n if ((pdPageStart + pdPageSize) >= pdTotal) {\n $('.next-btn', pdCont).addClass('disabled');\n if (pdTotal > pdPageSize) {\n pdFirstShown = pdPageStart + 1;\n pdLastShown = pdTotal;\n $('.js-pd-info', pdCont).append(\", \" + pdCont.data('fromtext') + \" \" + pdFirstShown + \" \" + pdCont.data('totext') + \" \" + pdLastShown + \"\");\n }\n }\n\n if (((pdPageStart + pdPageSize) < pdTotal) && (pdTotal > pdPageSize)) {\n pdFirstShown = pdPageStart + 1;\n pdLastShown = pdPageStart + pdPageSize;\n $('.js-pd-info', pdCont).append(\", \" + pdCont.data('fromtext') + \" \" + pdFirstShown + \" \" + pdCont.data('totext') + \" \" + pdLastShown + \"\");\n }\n\n $('.prev-btn', pdCont).click(function () {\n if (!$(this).hasClass('disabled')) {\n $elastic.addClass('loading');\n pdPageStart -= pdPageSize;\n pdPageNum--;\n scrollToPd = true;\n scrollToCat = false;\n scrollToArt = false;\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ElasticSearch.Messages.GetProductElasticResults(searchTerm, pdPageNum, pdPageSize));\n } else {\n scrollToPd = false;\n }\n });\n\n $('.next-btn', pdCont).click(function () {\n if (!$(this).hasClass('disabled')) {\n $elastic.addClass('loading');\n pdPageStart += pdPageSize;\n pdPageNum++;\n scrollToPd = true;\n scrollToCat = false;\n scrollToArt = false;\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ElasticSearch.Messages.GetProductElasticResults(searchTerm, pdPageNum, pdPageSize));\n } else {\n scrollToPd = false;\n }\n\n });\n\n $('.js-show-elastic-results', pdCont).click(function (e) {\n e.preventDefault;\n wrapper.submit();\n });\n };\n\n wrapper.catPaging = function () {\n var catCont = $('.elastic-area.categories', $elastic);\n var catTotal = catCont.data('total');\n\n if (scrollToCat) {\n $(\".result-list-wrapper\", $elastic).animate({ scrollTop: catCont.offset().top - $(\".result-list-wrapper\", $elastic).offset().top }, 1);\n }\n\n if (catTotal > catPageSize) {\n $('.prev-btn', catCont).removeClass('hidden');\n $('.next-btn', catCont).removeClass('hidden');\n }\n\n if (catPageStart <= 0) {\n $('.prev-btn', catCont).addClass('disabled');\n }\n\n if ((catPageStart + catPageSize) >= catTotal) {\n $('.next-btn', catCont).addClass('disabled');\n if (catTotal > catPageSize) {\n catFirstShown = catPageStart + 1;\n catLastShown = catTotal;\n $('.js-cat-info', catCont).append(\", \" + catCont.data('fromtext') + \" \" + catFirstShown + \" \" + catCont.data('totext') + \" \" + catLastShown + \"\");\n }\n }\n\n if (((catPageStart + catPageSize) < catTotal) && (catTotal > catPageSize)) {\n catFirstShown = catPageStart + 1;\n catLastShown = catPageStart + catPageSize;\n $('.js-cat-info', catCont).append(\", \" + catCont.data('fromtext') + \" \" + catFirstShown + \" \" + catCont.data('totext') + \" \" + catLastShown + \"\");\n }\n\n $('.prev-btn', catCont).click(function () {\n if (!$(this).hasClass('disabled')) {\n $elastic.addClass('loading');\n catPageStart -= catPageSize;\n catPageNum--;\n scrollToCat = true;\n scrollToPd = false;\n scrollToArt = false;\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ElasticSearch.Messages.GetCategoryElasticResults(searchTerm, catPageNum, catPageSize));\n } else {\n scrollToCat = false;\n }\n });\n\n $('.next-btn', catCont).click(function () {\n if (!$(this).hasClass('disabled')) {\n $elastic.addClass('loading');\n catPageStart += catPageSize;\n catPageNum++;\n scrollToCat = true;\n scrollToPd = false;\n scrollToArt = false;\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ElasticSearch.Messages.GetCategoryElasticResults(searchTerm, catPageNum, catPageSize));\n } else {\n scrollToCat = false;\n }\n });\n };\n\n wrapper.artPaging = function () {\n var artCont = $('.elastic-area.articles', $elastic);\n var artTotal = artCont.data('total');\n\n if (scrollToArt) {\n $(\".result-list-wrapper\", $elastic).animate({ scrollTop: artCont.offset().top - $(\".result-list-wrapper\", $elastic).offset().top }, 1);\n }\n\n if (artTotal > artPageSize) {\n $('.prev-btn', artCont).removeClass('hidden');\n $('.next-btn', artCont).removeClass('hidden');\n }\n\n if (artPageStart <= 0) {\n $('.prev-btn', artCont).addClass('disabled');\n }\n\n if ((artPageStart + artPageSize) >= artTotal) {\n $('.next-btn', artCont).addClass('disabled');\n if (artTotal > artPageSize) {\n artFirstShown = artPageStart + 1;\n artLastShown = artTotal;\n $('.js-art-info', artCont).append(\", \" + artCont.data('fromtext') + \" \" + artFirstShown + \" \" + artCont.data('totext') + \" \" + artLastShown + \"\");\n }\n }\n\n if (((artPageStart + artPageSize) < artTotal) && (artTotal > artPageSize)) {\n artFirstShown = artPageStart + 1;\n artLastShown = artPageStart + artPageSize;\n $('.js-art-info', artCont).append(\", \" + artCont.data('fromtext') + \" \" + artFirstShown + \" \" + artCont.data('totext') + \" \" + artLastShown + \"\");\n }\n\n $('.prev-btn', artCont).click(function () {\n if (!$(this).hasClass('disabled')) {\n $elastic.addClass('loading');\n artPageStart -= artPageSize;\n artPageNum--;\n scrollToArt = true;\n scrollToPd = false;\n scrollToCat = false;\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ElasticSearch.Messages.GetArticleElasticResults(searchTerm, artPageNum, artPageSize));\n } else {\n scrollToArt = false;\n }\n });\n\n $('.next-btn', artCont).click(function () {\n if (!$(this).hasClass('disabled')) {\n $elastic.addClass('loading');\n artPageStart += artPageSize;\n artPageNum++;\n scrollToArt = true;\n scrollToPd = false;\n scrollToCat = false;\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ElasticSearch.Messages.GetArticleElasticResults(searchTerm, artPageNum, artPageSize));\n } else {\n scrollToArt = false;\n }\n\n });\n };\n\n wrapper.submit = function () {\n var searchTerm = $input.val();\n var targetUrl = mask.replace(\"((search))\", encodeURIComponent(searchTerm));\n if (showOnlyProducts)\n targetUrl = targetUrl.replace('/search/', '/search-products/');\n\n document.location = targetUrl;\n };\n\n wrapper.expand = function () {\n if ($wrapper.hasClass('expanded')) {\n $wrapper.removeClass('expanded');\n $button.trigger('click');\n\n $('html, body').removeClass('no-scroll');\n $('.menu-overlay').removeClass('mega-menu-visible');\n } else {\n closeHeaderElements('search');\n $wrapper.addClass('expanded');\n $input.focus();\n\n $('html, body').addClass('no-scroll');\n $('.menu-overlay').addClass('mega-menu-visible');\n\n if ($input.val().length >= minLength && wrapper.checkSearchTerm()) {\n if (ajax) {\n wrapper.showList(true);\n }\n }\n }\n\n };\n\n wrapper.initSearch = function () {\n if (searchTerm != $input.val()) {\n searchTerm = $input.val();\n pdPageNum = 1;\n pdPageStart = 0;\n scrollToPd = false;\n catPageStart = 0;\n catPageNum = 1;\n scrollToCat = false;\n artPageStart = 0;\n artPageNum = 1;\n scrollToArt = false;\n if (searchTerm.length >= minLength && wrapper.checkSearchTerm()) {\n if (ajax) {\n wrapper.loading(true);\n wrapper.showList(true);\n model.products = null;\n model.categories = null;\n model.articles = null;\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ElasticSearch.Messages.GetArticleElasticResults(searchTerm, artPageNum, artPageSize));\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ElasticSearch.Messages.GetCategoryElasticResults(searchTerm, catPageNum, catPageSize));\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ElasticSearch.Messages.GetProductElasticResults(searchTerm, pdPageNum, pdPageSize));\n }\n } else {\n wrapper.showList(false);\n }\n }\n };\n\n $input.keyup($.debounce(500, function (e) {\n wrapper.initSearch();\n }));\n\n $input.bind('paste', function (e) {\n if (!e.keyCode) {\n setTimeout(function () {\n wrapper.initSearch();\n }, 10);\n }\n });\n\n $input.keyup(function (e) {\n if (e.keyCode === 13 && $input.val().length >= minLength && wrapper.checkSearchTerm()) {\n wrapper.submit();\n }\n if (searchTerm == $input.val()) {\n $elastic.removeClass('loading');\n }\n else {\n $elastic.addClass('loading');\n }\n });\n\n $input.click(function (e) {\n if (searchTerm.length >= minLength && wrapper.checkSearchTerm()) {\n if (ajax) {\n wrapper.showList(true);\n }\n } else {\n wrapper.showList(false);\n }\n });\n\n $toggleButton.click(function (e) {\n wrapper.expand();\n });\n\n $closeButton.click(function (e) {\n if ($wrapper.hasClass('overlaid')) {\n $wrapper.removeClass('expanded');\n wrapper.showList(false);\n\n $('html, body').removeClass('no-scroll');\n $('.menu-overlay').removeClass('mega-menu-visible');\n } else {\n if ($input.val().length >= minLength && wrapper.checkSearchTerm()) {\n if (ajax) {\n wrapper.showList(true);\n }\n }\n }\n });\n\n $button.click(function (e) {\n e.preventDefault();\n if ($wrapper.hasClass('overlaid')) {\n wrapper.showList(false);\n } else {\n if ($input.val().length >= minLength && wrapper.checkSearchTerm()) {\n if (ajax) {\n wrapper.showList(true);\n }\n }\n $input.focus();\n }\n });\n\n $('.header-overlay, .menu-overlay').on('click', function () {\n // if ($wrapper.hasClass('overlaid')) {\n $wrapper.removeClass('expanded');\n wrapper.showList(false);\n\n $('html, body').removeClass('no-scroll');\n $('.menu-overlay').removeClass('mega-menu-visible');\n // }\n });\n\n $(document).keyup(function (e) {\n // if (e.keyCode == 27 && $wrapper.hasClass('overlaid')) {\n if (e.keyCode == 27) {\n $wrapper.removeClass('expanded');\n wrapper.showList(false);\n\n $('html, body').removeClass('no-scroll');\n $('.menu-overlay').removeClass('mega-menu-visible');\n }\n });\n\n $('.esat-bar').on('click', function () {\n if ($wrapper.hasClass('overlaid')) {\n setTimeout(function () {\n calculateSearchHeight();\n }, 100);\n }\n });\n\n });\n\n});\n","Vendd.Scripts.load(function () {\n var $wrapper = $('.x-searchbox');\n\n if ($wrapper.length < 1 || $wrapper.hasClass('elastic'))\n return;\n\n $.each($wrapper, function (i, wrapper) {\n var $wrapper = $(wrapper);\n\n var lookup = true;\n var $input = $('.js-keyword', $wrapper);\n var $button = $('.js-submit', $wrapper);\n var toggleButton = $('.js-search-toggle', $wrapper);\n \n var minLength = $wrapper.data('min-search-length');\n var filtered = $wrapper.data('product-categories-filter');\n var mask = $wrapper.data('mask'); \n var showOnlyProducts = $wrapper.data('only-products'); \n var ajax = $wrapper.data('ajax');\n if (typeof (ajax) == 'string')\n ajax = $wrapper.data('ajax').toLowerCase() === 'true';\n var lazy = false;\n\n var $category, $suggestive;\n var model = null;\n\n if (filtered) {\n $category = $('.js-search-category', $wrapper);\n\n $category.change(function (e) {\n if (ajax) {\n wrapper.showList(false);\n };\n\n wrapper.clearValue();\n });\n };\n\n if (ajax) {\n $suggestive = $(\".x-suggestive-results-list\", $wrapper);\n\n if ($suggestive.length <= 0)\n throw 'Error: Suggestive List does not exist';\n\n lazy = $suggestive.data(\"lazy-load-init\");\n\n \t//Vendd.MessageBus.subscribe(Vendd.Search.Messages.GetProductSuggestiveResultsFailed, wrapper, function (envelope) {\n \tVendd.MessageBus.subscribe(Vendd.Search.Messages.GetSuggestiveResultsFailed, wrapper, function (envelope) {\n wrapper.loading(false);\n });\n \t\n \t//Vendd.MessageBus.subscribe(Vendd.Search.Messages.GetProductSuggestiveResultsSuccess, wrapper, function (envelope) {\n \tVendd.MessageBus.subscribe(Vendd.Search.Messages.GetSuggestiveResultsSuccess, wrapper, function (envelope) {\n model = envelope.message.data.model;\n\n /* Track Search & SearchTerm */\n if (typeof fbPixelTracker !== 'undefined' && typeof fbPixelCanTrack !== 'undefined') {\n if (fbPixelTracker && fbPixelTracker.Properties.FacebookPixelId && fbPixelCanTrack) {\n fbq('track', 'Search');\n fbq('trackCustom', 'SearchTerm', { search_string: $input });\n }\n }\n /* END Track Search & SearchTerm */\n\n if (showOnlyProducts) {\n model = wrapper.transformData(model);\n mask = model.SearchProductsUrl; // SOS has been add to change to url from Search to Search Products\n }\n var html = Vendd.Handlebars.parse(\"suggestiveResultList_A\", model);\n\n \t$suggestive.html(html); \n\n wrapper.showList(true);\n wrapper.loading(false);\n });\n };\n\n wrapper.loading = function (loading) {\n if (loading) {\n $wrapper.addClass('x-loading').addClass('x-disabled');\n } else {\n $wrapper.removeClass('x-loading').removeClass('x-disabled');\n };\n };\n\n wrapper.clearValue = function () {\n $input.val(\"\");\n };\n\n wrapper.showList = function (show) {\n if (ajax && $suggestive.length > 0) {\n if (show) {\n $suggestive.addClass(\"js-visible\");\n $('.site-overlay').addClass('visible');\n } else {\n $suggestive.removeClass(\"js-visible\");\n $('.site-overlay').removeClass('visible');\n };\n }\n };\n\n wrapper.submit = function () {\n if (mask == '')\n return;\n\n var text = $input.val();\n var targetUrl = mask.replace(\"((search))\", text);\n if (showOnlyProducts)\n targetUrl = targetUrl.replace('/search/', '/search-products/');\n\n if (filtered) {\n var categoriesFilter = $category.val() ? $category.val() : \"\";\n\n if (categoriesFilter !== \"\") {\n targetUrl = targetUrl.replace(\"((category))\", categoriesFilter);\n } else {\n targetUrl = LhApp.Function.Url.removeParameterFromUrl(targetUrl, 'Category'); // chriss TODO\n }\n }\n\n document.location = targetUrl;\n };\n\n wrapper.expand = function () {\n if ($wrapper.hasClass('expanded')) {\n $wrapper.removeClass('expanded');\n } else {\n $wrapper.addClass('expanded');\n $input.focus();\n }\n\n };\n\n $button.click(function (e) {\n if ($input.val().length >= minLength && lookup) {\n e.preventDefault();\n\n wrapper.loading(true);\n wrapper.submit();\n };\n });\n\n toggleButton.click(function (e) {\n wrapper.expand();\n });\n \n $input.keyup($.debounce(850, function (e) {\n var searchTerm = $input.val();\n var category = filtered ? $category.val() : \"\";\n\n if ($input.val().length >= minLength) {\n if (ajax) {\n wrapper.loading(true);\n wrapper.showList(true);\n \n //Vendd.MessageBus.publishAsync(wrapper, new Vendd.Search.Messages.GetProductSuggestiveResults(searchTerm, 200));\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Search.Messages.GetSuggestiveResults(searchTerm, category));\n };\n } else {\n wrapper.showList(false);\n };\n }));\n\n $input.keyup(function (e) {\n if (e.keyCode === 13) {\n e.stopPropagation();\n e.preventDefault();\n\n $button.trigger(\"click\");\n };\n });\n /*\n $wrapper.hover(\n function () {\n if ($input.val().length >= minLength && ajax) {\n wrapper.showList(true);\n } else {\n wrapper.showList(false);\n }\n },\n function () {\n wrapper.showList(false);\n }\n );\n */\n\n var hideEvent;\n var delay = isTouch() ? 0 : 200;\n $wrapper.hover(\n function () {\n clearTimeout(hideEvent);\n if ($input.val().length >= minLength && ajax) {\n wrapper.showList(true);\n } else {\n wrapper.showList(false);\n }\n },\n function () {\n hideEvent = setTimeout(function () {\n wrapper.showList(false);\n }, delay);\n }\n );\n \n toggleButton.hover(\n function (e) {\n e.stopPropagation();\n wrapper.showList(false);\n },\n function () {\n if ($input.val().length >= minLength && ajax) {\n if ($wrapper.is(':hover')) {\n wrapper.showList(true);\n }\n }\n }\n );\n \n $(document).on('click', function (e) {\n if (!$wrapper.is(e.target) && $wrapper.has(e.target).length === 0) {\n $wrapper.removeClass('expanded');\n }\n });\n\n wrapper.transformData = function (model) {\n if (!model) return model;\n if (model.Products && model.Products.length > 5) {\n model.Products.splice(5, model.Products.length);\n model.MoreProducts = true;\n }\n if (model.Manufacturers && model.Manufacturers.length > 0) {\n model.Manufacturers = null;\n model.ManufacturersCount = 0;\n }\n if (model.Categories && model.Categories.length > 0) {\n model.Categories = null;\n model.CategoriesCount = 0;\n }\n if (model.Categories && model.Categories.length > 9) {\n \tmodel.Categories.splice(9, model.Categories.length);\n \tmodel.CategoriesCount = 9;\n \tmodel.MoreCategories = true;\n }\n\n model.ItemsCount = model.ProductsCount;// + model.CategoriesCount;\n return model;\n }\n });\n});","Vendd.Scripts.load(function () {\n 'use strict';\n\n var $wrapper = $('.x-productcompare-widget');\n $wrapper.attr('data-template', '2');\n\n if ($wrapper.length < 1)\n return;\n\n var wrapper = $wrapper.get(0);\n\n var model = null, loaded = false, openWidget = false;\n\n var lazyLoadPrices = $wrapper.data('lazyload-prices');\n if (typeof lazyLoadPrices === 'string') {\n lazyLoadPrices = lazyLoadPrices.trim().toLowerCase() === 'true';\n }\n\n wrapper.open = function () {\n $('.js-widget-trigger', $wrapper).addClass('x-open');\n $('.js-widget-container', $wrapper).addClass('x-expanded');\n\n openWidget = false;\n };\n\n wrapper.close = function () {\n $('.js-widget-trigger', $wrapper).removeClass('x-open');\n $('.js-widget-container', $wrapper).removeClass('x-expanded');\n };\n\n wrapper.loading = function (loading) {\n if (loading) {\n $wrapper.addClass('x-loading');\n } else {\n $wrapper.removeClass('x-loading');\n }\n };\n\n wrapper.extendModel = function () {\n _.extend(model, { ClientEnhancedModel : window.LhApp.ClientEnhancedModel }); // model to be expanded from page html (window.LhApp = window.LhApp || {}; window.LhApp.ClientEnhancedModel = window.LhApp.ClientEnhancedModel || {};\n };\n\n wrapper.minimalUpdate = function () {\n if (model.ProductsCount > 0) {\n $('.js-widget-trigger', $wrapper).addClass('has-items');\n $('.number', $wrapper).text(model.ProductsCount);\n } else if (model.ProductsCount == 0) {\n $('.js-widget-trigger', $wrapper).removeClass('has-items');\n $('.number', $wrapper).text('');\n }\n\n if (loaded && !$('.js-widget-trigger', $wrapper).hasClass('x-open')) {\n loaded = false;\n $('.js-widget-container', $wrapper).empty();\n }\n };\n\n wrapper.update = function () {\n wrapper.loading(true);\n\n if (model.ProductsCount >= 5) {\n model.MaxProductsExceeded = true;\n } else {\n model.MaxProductsExceeded = false;\n }\n\n var html = Vendd.Handlebars.parse(\"productCompareWidget_B\", model);\n wrapper.bind(html);\n\n wrapper.loading(false);\n };\n\n wrapper.bind = function (html) {\n $('.js-widget-container', $wrapper).html(html);\n\n //init fancybox\n $(\".btn-productcompare.pop-up\", $wrapper).fancybox({\n smallBtn: true,\n toolbar: false,\n baseClass: \"compare-pop-up\",\n afterShow: function () {\n $('html').addClass('hide-sticky-btns');\n }\n });\n\n if (openWidget) wrapper.open();\n };\n\n $wrapper.on('click', '.js-remove', function (e) {\n e.preventDefault();\n\n var $this = $(this);\n var $item = $this.closest('.productcompare-item');\n var id = $item.data('identifier');\n\n wrapper.loading(true);\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ProductCompare.Messages.Remove(id));\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Widget.Messages.OpenWidget(Vendd.Widget.ProductCompareWidget, false));\n });\n\n $wrapper.on('click', '.js-remove-all', function (e) {\n e.preventDefault();\n\n wrapper.loading(true);\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ProductCompare.Messages.Clear());\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Widget.Messages.OpenWidget(Vendd.Widget.ProductCompareWidget, false));\n });\n\n //On click Compare Button\n $wrapper.on('click', '.js-widget-trigger', function (e) {\n e.preventDefault();\n\n if (model === null) return;\n\n if ($(this).hasClass('x-open')) {\n $('.header-overlay').removeClass('visible');\n $('.header-region').removeClass('clean-zindex');\n $('html, body').removeClass('no-scroll');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.close();\n } else {\n if (!loaded) {\n wrapper.extendModel();\n wrapper.update();\n loaded = true;\n }\n $('html, body').addClass('no-scroll');\n if ($('.header-region').hasClass('sticky')) {\n $('.header-spacer').height(0);\n $('.header-region').removeClass('sticky');\n }\n $('.header-region').addClass('clean-zindex');\n $('.header-overlay').addClass('visible');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.loading(false);\n wrapper.open();\n }\n\n });\n\n //On click Close Button inside Compare Widget\n $wrapper.on('click', '.close-button', function (e) {\n e.preventDefault();\n\n $('.header-overlay').removeClass('visible');\n $('.header-region').removeClass('clean-zindex');\n $('html, body').removeClass('no-scroll');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.close();\n });\n\n //On click outside Compare Widget\n $('.header-overlay').on('click', function (e) {\n e.preventDefault();\n\n $('.header-overlay').removeClass('visible');\n $('.header-region').removeClass('clean-zindex');\n $('html, body').removeClass('no-scroll');\n $('.js-widget-container', $wrapper).addClass('animation');\n wrapper.close();\n });\n\n Vendd.MessageBus.subscribe(Vendd.ProductCompare.Messages.ProductCompareAdded, wrapper, function (envelope) {\n var validation = envelope.message.data.code;\n var erroMessage = JSON.parse(envelope.message.data.data).Messages[0];\n if (validation == 'ValidationError') {\n toastr.warning(erroMessage, \"\", { timeOut: 1500, showDuration: 600, hideDuration: 700 });\n } else {\n toastr.success(LhApp.Function.getText(\"Common:ProductAddedToCompare\"), \"\", { timeOut: 1500, showDuration: 600, hideDuration: 700 });\n }\n \n });\n\n Vendd.MessageBus.subscribe(Vendd.ProductCompare.Messages.ProductCompareRemoved, wrapper, function (envelope) {\n toastr.success(LhApp.Function.getText(\"Common:ProductRemovedFromCompare\"), \"\", { timeOut: 1500, showDuration: 600, hideDuration: 700 });\n });\n\n Vendd.MessageBus.subscribe(Vendd.ProductCompare.Messages.Changed, wrapper, function (envelope) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ProductCompare.Messages.GetWidgetModel());\n });\n\n Vendd.MessageBus.subscribe(Vendd.ProductCompare.Messages.GetWidgetModelSuccess, wrapper, function (envelope) {\n model = envelope.message.data.model;\n wrapper.extendModel();\n wrapper.minimalUpdate();\n \n if (loaded)\n wrapper.update();\n\n if ($wrapper.hasClass('x-loading') && !$('.js-widget-trigger', $wrapper).hasClass('x-open')) {\n $('.js-widget-trigger', $wrapper).trigger(\"click\");\n } \n });\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.WidgetOpened, wrapper, function (envelope) {\n if (envelope.message.data.widgetName !== Vendd.Widget.ProductCompareWidget) {\n wrapper.close();\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.OpenWidget, wrapper, function (envelope) {\n if (envelope.message.data.widgetName === Vendd.Widget.ProductCompareWidget) {\n if (envelope.message.data.immediate === true)\n wrapper.open();\n else\n openWidget = true; // the next refresh will open it\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.LoginSuccess, wrapper, function (envelope) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ProductCompare.Messages.GetWidgetModel());\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.LogoutSuccess, wrapper, function (envelope) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ProductCompare.Messages.GetWidgetModel());\n });\n\n //keep last in component's code\n (function () {\n var defaultCallExecuted;\n function defaultCall() {\n if (Vendd.User.SessionState && !defaultCallExecuted) {\n defaultCallExecuted = true;\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ProductCompare.Messages.GetWidgetModel());\n }\n }\n defaultCall();\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionStateSuccess, wrapper, function (envelope) {\n defaultCall();\n });\n })();\n});\n\n","Vendd.Scripts.load(function () {\n 'use strict';\n\n var $wrappers = $('.x-lazy-html-area');\n\n var $configuration, configurations = [],\n currentitemid = 0;\n var model = null;\n var wrappers = $wrappers;\n\n if ($wrappers.length < 1)\n return;\n\n if (LhApp.Context.Item.Id !== undefined && LhApp.Context.Item.Id > 0)\n currentitemid = LhApp.Context.Item.Id;\n\n for (var i = 0; i < wrappers.length; i++) {\n var wrpr = wrappers[i];\n\n $configuration = $('.configuration', wrpr);\n\n configurations.push({\n configCode: $configuration.data(\"code\"),\n templateCode: $configuration.data(\"template\"),\n entityCode: $configuration.data(\"entity\"),\n itemId: currentitemid,\n nodeId: $configuration.data(\"node-id\"),\n nodePath: $configuration.data(\"node-path\"),\n htmlTemplate: $configuration.data(\"html\")\n });\n\n $configuration.remove();\n }\n\n $.each($wrappers, function (i, wrpr) {\n var $this = $(wrpr);\n\n wrpr.loading = function loading(loading) {\n if (loading) {\n $this.addClass('x-loading');\n } else {\n $this.removeClass('x-loading');\n };\n };\n\n wrpr.update = function update() {\n wrpr.loading(true);\n\n var html = Vendd.Handlebars.parse(configurations[0].htmlTemplate, model);\n wrpr.bind(html);\n\n Vendd.MessageBus.publish(wrpr, new Vendd.Widget.Messages.BindControl($(wrpr)));\n wrpr.loading(false);\n };\n\n wrpr.bind = function bind(html) {\n $this.html(html);\n\n if (configurations[0].htmlTemplate == \"bannerList_A\")\n initOwlSlider($('> ul', $(this)), {\n items: 3,\n itemsDesktop: [1199, 3],\n itemsDesktopSmall: [959, 3],\n itemsTablet: [768, 2],\n itemsMobile: [479, 1]\n });\n };\n });\n\n Vendd.MessageBus.subscribe(Vendd.LazyHtmlArea.Messages.LazyHtmlAreaSuccess, wrappers.get(0), function (envelope) {\n var innerWrapper = wrappers.get(0);\n var config = configurations[0];\n\n if (innerWrapper) {\n model = envelope.message.data.model;\n innerWrapper.update();\n\n removeConfiguration(innerWrapper, config);\n }\n if (wrappers.length < 1 || configurations.length < 1) return;\n\n Vendd.MessageBus.publishAsync(wrappers.get(0), new Vendd.LazyHtmlArea.Messages.GetLazyHtmlArea(configurations[0]));\n });\n\n function removeConfiguration(innerwrapper, config) {\n\n if (wrappers.length > 0) {\n wrappers = wrappers.slice(1);\n }\n\n if (configurations.length > 0) {\n var configIndex = configurations.indexOf(config);\n configurations.splice(configIndex, 1);\n }\n };\n\n //keep last in component's code\n (function () {\n var defaultCallExecuted;\n function defaultCall() {\n if (Vendd.User.SessionState && !defaultCallExecuted) {\n defaultCallExecuted = true;\n Vendd.MessageBus.publishAsync(wrappers.get(0), new Vendd.LazyHtmlArea.Messages.GetLazyHtmlArea(configurations[0]));\n }\n }\n defaultCall();\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionStateSuccess, wrappers.get(0), function (envelope) {\n defaultCall();\n });\n })();\n\n});","Vendd.Scripts.load(function () {\n\n var $wrapper = $('.x-cookie-acceptance');\n\n if ($wrapper.length < 1 || LhApp.Context.IsConsentsEnabled)\n return;\n\n if (Cookies.get('cookiesAcceptance'))\n return;\n\n $wrapper.addClass('visible');\n\n $wrapper.on('click', '.js-accept', function (e) {\n e.preventDefault();\n Cookies.set('cookiesAcceptance', 'true', { expires: 30, samesite: 'Lax' });\n $wrapper.removeClass('visible');\n });\n\n});","Vendd.Scripts.load(function () {\n\n Vendd.MessageBus.subscribe(Vendd.Widget.Messages.BindControl, 'x-disqus-widget', function (envelope) {\n\n var $context = envelope.message.data.context,\n \t$wrapper = $('.x-disqus-widget');\n\n if ($wrapper.length < 1)\n return;\n\n var identifier = $wrapper.data('disqus-id');\n var disqusUrl = $wrapper.data('disqus-url');\n \n if (window.DISQUS) {\n //if Disqus exists, call it's reset method with new parameters\n DISQUS.reset({\n reload: true,\n config: function () {\n this.page.identifier = identifier;\n this.page.url = url;\n }\n });\n } else {\n $('
').appendTo($('.x-disqus-widget'));\n \n Vendd.User.AuthProviders.disqus.init($wrapper, identifier, disqusUrl);\n }\n\n if (!Vendd.User.AuthProviders.disqus)\n throw new Error('Disqus vendd auth provider not found');\n\n });\n});","Vendd.Scripts.load(function () {\n\n initFaq();\n\n //faqNumber();\n function faqNumber() {\n var i = 1;\n $('.x-faq-list li').each(function () {\n $(this).find('.number').html(i + '.');\n i++;\n });\n }\n\n function initFaq() {\n var $wrapper = $('.x-faq-list');\n\n if ($wrapper.length < 1) {\n return;\n }\n\n var $question = $('.question', $wrapper);\n\n $question.click(function (e) {\n\n if (!$(this).siblings('.answer').hasClass('active')) {\n\n $('.active', $wrapper).stop(true, true).slideUp(200).removeClass('active').siblings().removeClass('open-faq icon-arrow-up').addClass('icon-arrow-down');\n\n $(this).siblings('.answer').addClass('active').stop(true, true).slideDown(200);\n\n $(this).addClass('open-faq icon-arrow-up').removeClass('icon-arrow-down').stop(true, true).slideDown(200);\n\n } else {\n\n $('.active', $wrapper).stop(true, true).slideUp(200).removeClass('active');\n\n $(this).removeClass('open-faq icon-arrow-up').addClass('icon-arrow-down').stop(true, true).slideDown(200);\n\n }\n\n });\n }\n});","Vendd.Scripts.load(function () {\n var $form = $('.x-custom-form'), form, formData, files = [], sentConsents = false, submitted = false;\n\n if ($form.length < 1) return;\n\n form = $form.get(0);\n\n formData = {\n name: $(\"input[name='name']\", $form).val() ? $(\"input[name='name']\", $form).val() : \"\",\n email: $(\"input[name='email']\", $form).val() ? $(\"input[name='email']\", $form).val() : \"\",\n phone: $(\"input[name='phone']\", $form).val() ? $(\"input[name='phone']\", $form).val() : \"\",\n radio: $(\"input[name='radio']\", $form).val() ? $(\"input[name='radio']\", $form).val() : \"\",\n checkbox: $(\"input[name='checkbox']\", $form).prop(\"checked\") ? true : false,\n dropdown: $(\"select[name='dropdown']\", $form).val() ? $(\"select[name='dropdown']\", $form).val() : \"\",\n files: []\n };\n\n \n\n // reCAPTCHA\n var reCaptchaCode;\n var captchaId = \"customFormCaptcha\";\n var captchaWidgetId;\n var $captchaElement = $form.find(\"#\" + captchaId);\n var $captchaContainer = $form.find('.recaptcha-container');\n var captchaEnabled = $captchaElement.length > 0 ? true : false;\n\n //file upload\n var $fileUploadElement = $(\"#cwfileupload\", $form);\n var fileUploadEnabled = $fileUploadElement.length > 0 ? true : false;\n var invalidUpload = false;\n var fileUploadStep = 0;\n\n form.initRecaptcha = function () {\n\n if (!captchaEnabled)\n return;\n\n var sitekey = $captchaElement.data(\"sitekey\");\n if (sitekey) {\n captchaEnabled = true;\n captchaWidgetId = grecaptcha.render(captchaId, {\n 'sitekey': sitekey,\n 'callback': form.recaptchaCallback\n });\n }\n };\n\n form.recaptchaCallback = function () {\n form.validateRecaptcha();\n };\n\n form.resetRecaptcha = function () {\n // Website must only verify the user's reCAPTCHA response token (g-recaptcha-response) once. \n // If a verify attempt has been made with a particular token, it cannot be used again. \n // Call grecaptcha.reset() to ask the end user to verify with reCAPTCHA again.\n if (captchaEnabled)\n grecaptcha.reset(captchaWidgetId);\n };\n\n form.removeRecaptcha = function () {\n $captchaElement.remove();\n };\n\n form.validateRecaptcha = function () {\n if (!captchaEnabled)\n return true;\n\n reCaptchaCode = $captchaElement.find('.g-recaptcha-response').val();\n\n var res = false;\n\n if (reCaptchaCode) {\n $captchaContainer.find('.recaptcha-required').removeClass('error');\n res = true;\n }\n else {\n $captchaContainer.find('.recaptcha-required').addClass('error');\n }\n\n return res;\n };\n\n form.validateFileUpload = function () {\n if (!fileUploadEnabled)\n return true;\n\n if (invalidUpload)\n return false;\n\n if ($(\"#cwfileupload\", $form).data(\"mandatoryfileupload\") === \"True\" && files.length === 0) {\n $('.cwfileupload-required', $form).show();\n $('.form-row.file', $form).addClass('with-error');\n\n return false;\n }\n\n return true;\n };\n\n form.loading = function (loading) {\n if (loading) {\n $form.addClass('x-loading');\n } else {\n $form.removeClass('x-loading');\n }\n };\n\n form.onSuccess = function (envelope) {\n\n if (!submitted) return;\n\n form.loading(false);\n\n var data = envelope.message.data;\n\n if (data.Success) {\n $('.js-error', $form).hide();\n $('.js-generic-error', $form).hide();\n $('.js-content', $form).hide();\n $('.js-success', $form).show();\n\n $('html,body').animate({ scrollTop: $form.offset().top - 80 }, 400);\n\n form.removeRecaptcha();\n form.reset();\n } else {\n\n if (envelope.message.data.Errors) {\n $('.js-error', $form).text(envelope.message.data.Errors[0]).show();\n } else {\n $('.js-generic-error', $form).show();\n }\n \n $('html,body').animate({ scrollTop: $form.offset().top - 80 }, 400);\n form.resetRecaptcha();\n };\n submitted = false;\n };\n\n form.onFailure = function (envelope) {\n\n if (!submitted) return;\n\n form.loading(false);\n\n if (envelope.message.data.Errors) {\n $('.js-error', $form).text(envelope.message.data.Errors[0]).show();\n } else {\n $('.js-generic-error', $form).show();\n }\n \n $('html,body').animate({ scrollTop: $form.offset().top - 80 }, 400);\n form.resetRecaptcha();\n submitted = false;\n };\n\n form.checkConsents = function () {\n var data = [];\n\n var checkboxes = $('.form-row.consent.checkbox', $form);\n $.each(checkboxes, function (e, el) {\n var chkbx = $('.checkbox-wrapper input', el);\n data.push({ type: chkbx.attr('id'), source: 'Custom Form', approved: chkbx.prop(\"checked\") });\n });\n\n if (data.length > 0) {\n sentConsents = true;\n window.ConsentsManager.insertConsents(data);\n } else {\n form.submit();\n }\n };\n\n form.submit = function () {\n form.loading(true);\n\n formData.checkbox = $(\"input[name='checkbox']\", $form).prop(\"checked\");\n formData.radio = $('input[name=radio]:checked', $form).val() ? $('input[name=radio]:checked', $form).val() : '';\n formData.dropdown = $('select option:selected').val() ? $('select option:selected').val() : '';\n\n $('input:not([type=\"checkbox\"],[type=\"radio\"],[type=\"file\"]), textarea:not([name=\"g-recaptcha-response\"])', $form).each(function () {\n if ($(this).attr('name') === 'email') {\n formData[$(this).attr('name')] = $(this).val().trim();\n } else {\n formData[$(this).attr('name')] = $(this).val();\n }\n });\n\n var code = $form.data(\"code\");\n var widgetCode = $form.data(\"item-code\");\n var model = formData;\n\n var data = { model: model, code: code, widgetCode: widgetCode, useReCaptcha: reCaptchaCode };\n\n if (files.length > 0) {\n //init files array\n formData.files = [];\n\n $.each(files, function (index, file) {\n var reader = new FileReader();\n reader.readAsDataURL(file);\n reader.onerror = function (error) { console.log('Error: ', error); };\n reader.onload = function () {\n formData.files.push({ name: file.name, fileData: reader.result });\n if (index == (files.length - 1)) {\n submitted = true;\n Vendd.MessageBus.publishAsync('CustomForm', new Vendd.CustomForms.Messages.Submit(data));\n }\n };\n });\n } else {\n submitted = true;\n Vendd.MessageBus.publishAsync('CustomForm', new Vendd.CustomForms.Messages.Submit(data));\n }\n };\n\n form.reset = function () {\n $('input[name=\"name\"]', $form).val(\"\");\n $('input[name=\"email\"]', $form).val(\"\");\n $('input[name=\"phone\"]', $form).val(\"\");\n $('input[name=\"radio\"]:first', $form).prop('checked', true);\n $('input[name=\"checkbox\"]', $form).prop('checked', false);\n $('select[name=\"dropdown\"]', $form).val(\"\");\n\n $('input[name=\"TermsOfUse\"]', $form).prop('checked', false);\n\n //empty array of files\n files = [];\n fileUploadStep = 0;\n\n cf.reset();\n };\n\n form.clearUploadErrors = function () {\n $('.cwfileupload-required', $form).hide();\n $('.cwfileupload-invalid', $form).hide();\n $('.cwfileupload-exceeds-max-size', $form).hide();\n $('.form-row.file', $form).removeClass('with-error');\n };\n\n $form.on('click', '.js-submit-button', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n var val1 = cf.validate();\n var val2 = form.validateRecaptcha();\n var val3 = form.validateFileUpload();\n\n if (val1 && val2 && val3) {\n if (LhApp.Context.IsConsentsEnabled) {\n form.checkConsents();\n } else {\n form.submit();\n }\n\n } else {\n if ($('.form-row.with-error', $form).length > 0) {\n $('html,body').animate({ scrollTop: $('.form-row.with-error').first().offset().top - 100 }, 400);\n }\n }\n\n initialValidation = true;\n });\n\n $form.on('blur', 'input[name]:not([type=\"checkbox\"],[type=\"radio\"],[type=\"file\"]), textarea[name]', function (e) {\n //validate fields instantly\n if (!initialValidation) {\n if ($(this).attr('name') === \"email\") {\n cf.validateField(\"email\");\n }\n\n if ($(this).attr('name') === \"phone\") {\n cf.validateField(\"phone\");\n }\n\n if ($(this).attr('name') === \"mobilephone\") {\n cf.validateField(\"mobilephone\");\n }\n }\n\n form.setField($(this));\n });\n\n $form.on('keyup', 'input[name]:not([type=\"checkbox\"],[type=\"radio\"],[type=\"file\"]), textarea[name]', function (e) {\n form.setField($(this));\n });\n\n $form.on('change', 'select[name], input[name][type=\"radio\"]', function (e) {\n form.setField($(this));\n });\n\n $form.on('click', '.js-delete-file', function (e) {\n e.preventDefault();\n\n var $file = $(this).parent();\n var fileIndex = $file.index();\n\n //remove html element\n $file.remove();\n //remove row from array\n files.splice(fileIndex, 1);\n\n form.clearUploadErrors();\n });\n\n form.setField = function (field) {\n var fieldName = field.attr('name');\n cf.validate(fieldName);\n };\n\n //init validation options\n var validationOptions = {}, initialValidation = false;\n\n //add required validations\n $.each($('input[data-required], textarea[data-required], select[data-required]', $form), function (e, el) {\n var inputName = $(el).attr('name');\n validationOptions[inputName] = { required: inputName + '-required' };\n });\n\n //add consent validations\n $.each($('div.consent.checkbox[data-required]', $form), function (e, el) {\n var consentType = $('input', el).attr('name');\n validationOptions[consentType] = { checkboxRequired: consentType + '-required' };\n });\n\n //add email validation\n if ($('input[name=\"email\"]', $form).length > 0) {\n validationOptions.email = validationOptions.email || {};\n _.extend(validationOptions.email, { isEmail: 'email-invalid' });\n }\n\n //add phone validation\n if ($('input[name=\"phone\"]', $form).length > 0) {\n validationOptions.phone = validationOptions.phone || {};\n if (venddProjectConfigs.phoneLocalizationEnabled) {\n _.extend(validationOptions.phone, { isValidPhoneLocalized: { validator: 'phone-invalid', config: { type: 'phone' } } });\n } else {\n _.extend(validationOptions.phone, { isPhoneNumber: 'phone-invalid' });\n }\n }\n\n $form.validationEngine(validationOptions);\n var cf = $form.data('validationEngine');\n\n if ($(\".view-terms\", $form).length > 0) {\n $(\".view-terms\", $form).fancybox({\n touch: false,\n autoFocus: false\n });\n }\n\n var $consents = $('.form-row.consent input[type=\"checkbox\"]', $form);\n\n $consents.on('click', function () {\n var fieldName = $(this).attr('name');\n\n cf.validate(fieldName);\n });\n\n $('.cwfileupload', $form).fileupload({\n autoUpload: false,\n singleFileUploads: true,\n fileInput: $(\"input:file\"),\n add: function (e, data) {\n\n form.clearUploadErrors();\n\n var maxFileSize = $(\"#cwfileupload\", $form).data(\"maxfilesize\");\n var fileTypes = $(\"#cwfileupload\", $form).data(\"acceptfiletypes\");\n fileTypes = fileTypes.replace(/\\,./g, '|');\n\n if (fileTypes) {\n var acceptFileTypes = \"(\\.|\\/)(\" + fileTypes + \")$\";\n acceptFileTypes = new RegExp(acceptFileTypes, \"i\");\n }\n var extractExtension = /(?:\\.([^.]+))?$/;\n\n if (acceptFileTypes && data.files[0]['type'].length > 0 && !acceptFileTypes.test(extractExtension.exec(data.files[0].name)[0])) {\n invalidUpload = true;\n $('.cwfileupload-invalid', $form).show();\n $('.form-row.file', $form).addClass('with-error');\n } else if (acceptFileTypes && data.files[0]['type'].length < 1) {\n invalidUpload = true;\n $('.cwfileupload-invalid', $form).show();\n $('.form-row.file', $form).addClass('with-error');\n } else if (data.files[0]['size'] > maxFileSize) {\n invalidUpload = true;\n $('.cwfileupload-exceeds-max-size', $form).show();\n $('.form-row.file', $form).addClass('with-error');\n } else {\n files.push(data.files[0]);\n fileUploadStep = fileUploadStep + 1;\n invalidUpload = false;\n\n var html = '
' + data.files[0].name + '
'\n $('.js-uploaded-files', $form).append(html);\n }\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.CustomForms.Messages.SubmitSuccess, form, form.onSuccess);\n Vendd.MessageBus.subscribe(Vendd.CustomForms.Messages.SubmitFailure, form, form.onFailure);\n Vendd.MessageBus.subscribe(Vendd.Plugins.Messages.RecaptcaLoaded, form, form.initRecaptcha);\n Vendd.MessageBus.subscribe(Vendd.Consents.Messages.InsertConsents, form, function () {\n if (sentConsents) {\n sentConsents = false;\n form.submit(); \n }\n });\n});","Vendd.Scripts.load(function () {\n\n\tvar $wrappers = $('.js-export-file');\n\n\tif ($wrappers.length < 1) return;\n\n\tinitListingExports();\n\n\tfunction initListingExports() {\n\t\tvar links = $('.js-download-listing', $wrappers);\n\n\t\tlinks.on('click', function (e) {\n\t\t\tvar $this = $(this);\n\t\t\tif (!$this.hasClass('loaded')) {\n\t\t\t\tif ($this.hasClass('loading')) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tvar $container = $this.closest('.js-export-file');\n\t\t\t\tvar data = {\n\t\t\t\t\texportCode: $container.data('export-code') || 'export_default',\n\t\t\t\t\tlistingId: $container.data('listing-id') ? \"\" + $container.data('listing-id') : 'none'\n\t\t\t\t};\n\n\t\t\t\tVendd.MessageBus.publishAsync($container.get(0), new Vendd.Export.Messages.GetListingExport(data));\n\t\t\t\t$container.addClass('called');\n\t\t\t\t$this.addClass('loading');\n\t\t\t}\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.Export.Messages.GetListingExportSuccess, Vendd.Export, function (envelope) {\n\n\t\t\tvar container = $('.js-export-file.called'),\n\t\t\t\tlink = $('.js-download-listing', container);\n\n\t\t\tcontainer.removeClass('called loading');\n\n\t\t\tvar today = new Date(), dd = today.getDate(), mm = today.getMonth() + 1, yyyy = today.getFullYear(),\n\t\t\t\tdata = envelope.message.data, opt = { type: \"application/vnd.ms-excel\" };\n\n\t\t\tif (dd < 10) { dd = '0' + dd; }\n\t\t\tif (mm < 10) { mm = '0' + mm; }\n\t\t\ttoday = dd + '/' + mm + '/' + yyyy;\n\n\t\t\tvar fname = container.data('listing-code') ? (link.html() + '-' + container.data('listing-code') + '.xls') : (link.html() + + '-' + today + '.xls'),\n\t\t\t\tblb = new Blob([toArrayBuffer(data._buffer)], opt), file = new File([blb], fname);\n\n\t\t\tlink.attr('href', URL.createObjectURL(file));\n\t\t\tlink.attr('download', file.name);\n\t\t\tlink.addClass('loaded').removeClass('loading');\n\n\t\t\tlink.get(0).click();\n\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.Export.Messages.GetListingExportFailure, Vendd.Export, function (envelope) {\n\t\t\tlinks.remove();\n\t\t});\n\t};\n\n\n});\n","Vendd.Scripts.load(function () {\n 'use strict';\n\n var $form = $(\".js-email-giftcard-form \");\n if ($form.length < 1)\n return;\n\n var $success = $('.js-success', $form), $error = $('.js-error', $form), $submitButton, $formWrapper;\n var form, rf, valOpts, hasData;\n\n form = $form.get(0);\n $submitButton = $('.js-submit-button', $form);\n $formWrapper = $('.form-wrapper', $form);\n\n form.formData = {\n fromName: $('input[name=\"fromName\"]', $form).val(),\n toName: $('input[name=\"toName\"]', $form).val(),\n email: $('input[name=\"email\"]', $form).val(),\n emailconfirm: $('input[name=\"emailconfirm\"]', $form).val(),\n customText: $('textarea[name=\"customText\"]', $form).val()\n };\n\n \n //Disable the paste from the confirmation email field\n\n $('input[name=\"emailconfirm\"]', $form).bind(\"cut copy paste\",function(e) {\n e.preventDefault();\n });\n\n $form.on('keyup', 'input[name],textarea[name]', function (e) {\n var $this = $(this);\n var fieldName = $this.attr('name');\n\n form.formData[fieldName] = $this.val();\n rf = $form.data('validationEngine');\n rf.validate(fieldName);\n });\n\n $form.on('click', '.giftcard-item', function (e) {\n e.stopPropagation();\n var $this = $(this);\n\n $this.siblings('.active').removeClass('active');\n $this.addClass('active');\n });\n\n $form.on('click', '.js-submit-button', function (e) {\n $form.validationEngine(valOpts);\n rf = $form.data('validationEngine');\n\n e.preventDefault();\n e.stopPropagation();\n\n if (rf.validate()) {\n if (LhApp.Context.IsConsentsEnabled) {\n form.checkConsents();\n } else {\n form.submit();\n }\n }\n });\n\n form.submit = function () {\n form.loading(true);\n\n var $selectedGiftcard = $('.giftcard-list input:checked', $form),\n id = $selectedGiftcard.data('id'),\n skuId = $selectedGiftcard.data('skuid'),\n path = $selectedGiftcard.data('path'),\n qty = 1, extraAttributes = [], bundleItems = [], recipeItems = [], comboItems = [],\n itemInfo = {\n minQuantity: null,\n maxQuantity: null,\n quanta: null\n },\n enhancedInfo = {\n giftCardsInfo: [{\n FromName: form.formData.fromName,\n Email: form.formData.email,\n ToName: form.formData.toName,\n CustomText: form.formData.customText\n }]\n };\n\n\n form.formData.skuId = skuId;\n hasData = true;\n Vendd.MessageBus.publishAsync($form, new Vendd.Cart.Messages.Add(id, skuId, path, qty, extraAttributes, bundleItems, recipeItems, comboItems, itemInfo, enhancedInfo));\n };\n\n form.onSuccess = function () {\n form.loading(false);\n\n $error.hide();\n $formWrapper.hide();\n $success.show();\n\n //Open the widget only for template 1 of Cart Widget\n if ($('.x-cart-widget').data('template') === 1) {\n Vendd.MessageBus.publishAsync($wrapper, new Vendd.Widget.Messages.OpenWidget(Vendd.Widget.CartWidget, false));\n }\n };\n\n form.onFailure = function () {\n form.loading(false);\n $error.show();\n };\n\n form.checkConsents = function () {\n var data = [];\n\n var checkboxes = $('.form-row.consent.checkbox', form);\n $.each(checkboxes, function (e, el) {\n var chkbx = $('.checkbox-wrapper input', el);\n data.push({ type: chkbx.attr('id'), source: 'Gift Card', approved: chkbx.prop(\"checked\") });\n });\n\n if (data.length > 0) {\n window.ConsentsManager.insertConsents(data);\n } else {\n form.submit();\n }\n }\n\n form.loading = function (option) {\n if (option)\n $form.addClass('x-loading');\n else\n $form.removeClass('x-loading');\n }\n\n\n valOpts = {\n fromName: {\n required: 'fromName-required'\n },\n toName: {\n required: 'toName-required'\n },\n email: {\n required: 'email-required',\n isEmail: 'email-invalid',\n match: {\n validator: 'emailconfirm-invalid',\n matchField: 'emailconfirm'\n }\n },\n emailconfirm: {\n required: 'emailconfirm-required',\n match: {\n validator: 'emailconfirm-invalid',\n matchField: 'email'\n }\n }\n };\n\n //add consent validations\n $.each($('div.consent.checkbox[data-required]', $form), function (e, el) {\n var consentType = $('input', el).attr('name');\n valOpts[consentType] = {\n checkboxRequired: consentType + '-required'\n };\n });\n\n\n $form.validationEngine(valOpts);\n rf = $form.data('validationEngine');\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Changed, form, function (envelope) {\n form.loading(false);\n });\n\n /*Vendd.MessageBus.subscribe(Vendd.Cart.Messages.AddGiftCartEmailAddressSuccess, form, function () {\n form.onSuccess();\n });\n */\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Warning, form, form.onFailure);\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Failed, form, form.onFailure);\n Vendd.MessageBus.subscribe(Vendd.Consents.Messages.InsertConsents, form, form.submit);\n});\n\n\n","Vendd.Scripts.load(function () {\n wishlistArticleBindClicks = function ($control) {\n $control.on('click', '.js-add-to-wishlistArticle', function (e) {\n e.preventDefault();\n e.stopPropagation();\n articleId = $(this).closest('.x-article-box').data('article-id');\n articleUrl = $(this).closest('.x-article-box').data('article-url');\n var id = articleId,\n path = articleUrl,\n extraAttributes = [],\n bundleItems = null;\n var $removeBox = $(this).closest('.x-article-box').find('.in-wishlistArticle-wrapper');\n $removeBox.removeClass('disabled');\n $removeBox.find('.js-remove-from-wishlistArticle').prop(\"disabled\", false);\n Vendd.MessageBus.publishAsync($control.get(0), new Vendd.WishlistArticle.Messages.Add(id, path, extraAttributes, bundleItems));\n Vendd.MessageBus.publishAsync($control.get(0), new Vendd.Widget.Messages.OpenWidget(Vendd.Widget.WishlistArticleWidget, false));\n });\n\n $control.on('click', '.js-remove-from-wishlistArticle', function (e) {\n e.preventDefault();\n e.stopPropagation();\n articleId = $(this).closest('.x-article-box').data('article-id');\n Vendd.MessageBus.publishAsync($control.get(0), new Vendd.WishlistArticle.Messages.Remove(articleId));\n Vendd.MessageBus.publishAsync($control.get(0), new Vendd.Widget.Messages.OpenWidget(Vendd.Widget.WishlistArticleWidget, false));\n });\n\n Vendd.MessageBus.subscribe(Vendd.WishlistArticle.Messages.Changed, 'x-article-box', function (envelope) {\n var data = envelope.message.data.Items; addEventListener\n var $boxes = $('.x-article-box');\n\n if ($boxes.length < 1)\n return;\n\n $boxes.each(function (i, el) {\n var $el = $(el);\n var id = $el.data('article-id');\n\n $el.find('.js-remove-from-wishlistArticle').attr('disabled', 'disabled').parent().addClass('disabled');\n\n for (var j = 0; j < data.length; j++) {\n if (id == data[j].ArticleId) {\n $el.prop('data-article-id', data[j].Id);\n $el.find('.js-remove-from-wishlistArticle').removeAttr('disabled').parent().removeClass('disabled');\n }\n }\n });\n });\n }\n $control = $('.x-article-box');\n wishlistArticleBindClicks($control);\n\n var $wrapper = $('.x-article-list');\n\n var model = null;\n\n if ($wrapper.length < 1)\n return;\n\n var $scrolledWrapper = $('.x-article-list[data-scrolled=true]'),\n scrolledWrapper,\n $configuration, configuration,\n partial = 'articleList',\n isScrolled = $scrolledWrapper.data('scrolled') === true,\n totalPages = isScrolled ? parseInt($scrolledWrapper.data('total-pages')) : 0,\n forwardUpdates = 0,\n forwardUpdatesCup = 2,\n loading = false,\n hasNext = true;\n\n if ($scrolledWrapper.length < 1)\n return;\n\n scrolledWrapper = $scrolledWrapper.get(0);\n\n if ($scrolledWrapper.data('template')) {\n partial = $scrolledWrapper.data('template');\n }\n\n $configuration = $('#configuration', $scrolledWrapper);\n configuration = $configuration.text();\n $configuration.remove();\n\n scrolledWrapper.loading = function () {\n if (loading === true) {\n $scrolledWrapper.addClass('x-loading');\n } else {\n $scrolledWrapper.removeClass('x-loading');\n if (forwardUpdates >= forwardUpdatesCup) {\n $('.scrolllist-pager-notification').removeClass('x-loading');\n }\n };\n };\n\n scrolledWrapper.onSuccess = function (envelope) {\n if (envelope.message.data.list !== scrolledWrapper)\n return;\n\n model = envelope.message.data.model;\n\n var html = Vendd.Handlebars.parse(partial, model);\n\n var $html = $(html),\n $list = $('> ul', $scrolledWrapper),\n $boxes,\n items, lastItem, grouping, rowSize;\n\n configuration = $('#configuration', $html).text();\n\n $boxes = $('.x-article-box', $html);\n\n lastItem = $list.children().last();\n grouping = $html.data('grouping');\n rowSize = 0;\n\n items = wrapBoxes($boxes, grouping, rowSize, lastItem);\n\n if (parseInt($scrolledWrapper.attr('data-total-pages')) == model.PageNumber) {\n $('.scrolllist-pager-notification').remove();\n }\n\n $list.append(items);\n\n loading = false;\n\n scrolledWrapper.loading(loading);\n\n };\n\n scrolledWrapper.onFailure = function (envelope) {\n if (envelope.message.data.list !== scrolledWrapper)\n return;\n\n loading = false;\n scrolledWrapper.loading(loading);\n };\n\n scrolledWrapper.update = function () {\n\n hasNext = totalPages > parseInt($('>ul>li[data-page]', $scrolledWrapper).eq($('>ul>li[data-page]', $scrolledWrapper).length - 1).attr('data-page'));\n\n if (loading || hasNext === false)\n return;\n\n loading = true;\n scrolledWrapper.loading(loading);\n Vendd.MessageBus.publishAsync(scrolledWrapper, new Vendd.ScrollList.Messages.GetNextPage(scrolledWrapper, configuration, 'articleList'));\n };\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetPageSuccess, scrolledWrapper, scrolledWrapper.onSuccess);\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetNextPageFailure, scrolledWrapper, scrolledWrapper.onFailure);\n\n scrolledWrapper.updatePageUrl = function () {\n\n var element = _.first(_.filter($('>ul>li[data-page]', $scrolledWrapper), function (element) { return $(window).scrollTop() <= $(element).offset().top; })),\n\t\t\tpageNumber = $(element).length ? $(element).data('page') : $('>ul>li[data-page]', $scrolledWrapper).eq($('>ul>li[data-page]', $scrolledWrapper).length - 1).data('page'),\n\t\t\tpager = $('.x-pager[data-page-count]'),\n\t\t\tpageCount = pager.length ? (parseInt(pager.attr('data-page-count')) || 0) : 0,\n\t\t\tcomboPagers = $('.pager .x-pager-combopages');\n\n comboPagers.each(function (index, comboPager) {\n var $comboPager = $(comboPager);\n $('select', $comboPager).addClass('disabled');\n $('.newList>li a', $('select', $comboPager).siblings('.newListSelected')).eq(pageNumber - 1).trigger('click');\n $('select', $comboPager).removeClass('disabled');\n });\n\n if (history.pushState) {\n\n var querystring = window.location.pathname + (window.location.pathname.slice(-1) != \"/\" ? \"/\" : \"\"),\n\t\t\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\t\t\t\t+ \"//\"\n\t\t\t\t+ window.location.host\n\t\t\t\t+ querystring\n\t\t\t\t+ window.location.search;\n\n if (window.location.href !== url) {\n var prev = $(\"head link[rel=prev]\");\n var next = $(\"head link[rel=next]\");\n var prevLink = url.replace(/^(.+\\/p)\\d+(\\/?(\\?.*)?)?$/i, \"$1\" + (pageNumber - 1) + \"$2\");\n var nextLink = url.replace(/^(.+\\/p)\\d+(\\/?(\\?.*)?)?$/i, \"$1\" + (pageNumber + 1) + \"$2\");\n if (prev) {\n if (pageNumber > 1) {\n prev.attr(\"href\", prevLink);\n } else {\n prev.remove();\n }\n } else if (pageNumber > 1) {\n $(\"head\").append(\"link rel=\\\"prev\\\" href=\\\"\" + prevLink + \"\\\" />\");\n }\n if (next) {\n if (pageNumber < pageCount) {\n next.attr(\"href\", nextLink);\n } else {\n next.remove();\n }\n } else if (pageNumber < pageCount) {\n $(\"head\").append(\"link rel=\\\"next\\\" href=\\\"\" + nextLink + \"\\\" />\");\n }\n history.replaceState(stateObject, jQuery(document).find('title').text() + pageNumber, url);\n }\n }\n }\n\n function wrapBoxes($boxes, grouping, rowSize, lastItem) {\n var items = [],\n currentIndex, cssClass;\n\n lastItem.removeClass('last');\n\n currentIndex = lastItem.data('index') + 1;\n\n for (var i = 0; i < $boxes.length; i++) {\n var li = $('
  • ');\n\n cssClass = \"index\" + currentIndex;\n cssClass += (currentIndex % 2) ? \" odd\" : \" even\";\n cssClass += (i === $boxes.length - 1) ? \" last\" : \"\";\n\n cssClass += rowSize === 0 ? \"\" : currentIndex % rowSize === 0 ? \" row-first\" : \"\";\n cssClass += rowSize === 0 ? \"\" : (currentIndex + 1) % rowSize === 0 ? \" row-last\" : \"\";\n\n li.append($boxes.eq(i))\n .addClass(cssClass)\n .attr('data-index', currentIndex)\n .attr('data-page', model.PageNumber);\n\n items.push(li);\n\n currentIndex++;\n };\n\n return items;\n };\n\n $('.scrolllist-pager-notification').on('click', '.js-show', function () {\n forwardUpdates = 0;\n $('.scrolllist-pager-notification').addClass('x-loading');\n scrolledWrapper.update();\n });\n\n if (isScrolled === true) {\n $(window).scroll($.debounce(300, function () {\n if (($(window).scrollTop() >= $(document).height() - $(window).height() - $('.footer-region').height() - 100 || isElementInViewport($('.scrolllist-pager-notification'))) && forwardUpdates < forwardUpdatesCup) {\n forwardUpdates++;\n scrolledWrapper.update();\n $scrolledWrapper.removeClass('x-loading');\n };\n if ($(window).scrollTop() >= 0 && !loading) {\n scrolledWrapper.updatePageUrl();\n }\n }));\n };\n});\n","Vendd.Scripts.load(function () {\n var $pl = $('.x-product-list');\n\n if ($pl.length < 1) return;\n\n var $selectedRelatedPl;\n\n var lazyLoadPrices = $('.list-lazy-load-prices', $pl).first().text().toLowerCase().trim() === \"true\";\n var customPrices = false;\n\n var $mainPL = $('.x-main-product-list .x-product-list');\n var hasInfiniteScroll = $mainPL.data('scrolled') === true;\n var hasScrollId = sessionStorage.getItem('scrollToProductId') ? true : false;\n\n $pl.each(function () {\n var $wrapper = $(this),\n wrapper = $wrapper.get(0),\n $configuration, configuration, jsonConfiguration,\n $resultsFancyboxLink = $('.results-fancybox-link', $wrapper), $resultsWraper = $('.js-results-wrapper', $wrapper),\n isScrolled = $wrapper.data('scrolled') === true,\n hasQuickbuy = $wrapper.data('quickbuy') === true,\n hasColorSelector = $wrapper.data('colorselector') === true,\n forwardUpdates = 0,\n forwardUpdatesCup = 2,\n backwardUpdates = 0,\n backwardUpdatesCup = 0;\n\n var model = {}, pagerModel = {};\n\n if ($resultsFancyboxLink.length > 0) {\n $resultsFancyboxLink.fancybox({ type: 'inline' });\n }\n\n $configuration = $('.configuration', $wrapper);\n\n configuration = $configuration.text();\n\n if (configuration)\n jsonConfiguration = JSON.parse(configuration);\n\n //$configuration.remove();\n\n wrapper.getConfiguration = function () { return configuration; };\n\n $('.wrapper-to-delete').remove();\n\n if (hasQuickbuy) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ScrollList.Messages.GetCurrentPage(wrapper, configuration, 'productList'));\n }\n\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Widget.Messages.BindControl(wrapper));\n\n var loading = false, hasNext = true, hasPrevious = true, initialCall = true;\n\n wrapper.loading = function (option, direction) {\n loading = option;\n if (option === true) {\n $('.scrolllist-pager-notification[data-direction=\"' + direction + '\"]').addClass('disabled');\n $('.scrolllist-pager-notification[data-direction=\"' + direction + '\"]').addClass('x-loading');\n } else {\n if (direction === 'forward') {\n if (forwardUpdates >= forwardUpdatesCup) {\n $('.scrolllist-pager-notification[data-direction=\"backward\"]').removeClass('disabled');\n $('.scrolllist-pager-notification[data-direction=\"forward\"]').removeClass('disabled x-loading');\n }\n }\n else if (direction === 'backward') {\n if (backwardUpdates >= backwardUpdatesCup) {\n $('.scrolllist-pager-notification[data-direction=\"forward\"]').removeClass('disabled');\n $('.scrolllist-pager-notification[data-direction=\"backward\"]').removeClass('disabled x-loading');\n }\n } else {\n $('.scrolllist-pager-notification').removeClass('disabled x-loading');\n }\n }\n };\n\n wrapper.onSuccess = function (envelope) {\n\n if (envelope.message.data.list !== wrapper) return;\n \n var direction = '';\n\n model = envelope.message.data.model;\n\n if (model.Items.length === 0) {\n\n if (envelope.message.data.position == 'BottomOfList') {\n hasNext = false;\n direction = 'forward';\n }\n if (envelope.message.data.position == 'TopOfList') {\n hasPrevious = false;\n direction = 'backward';\n }\n if (envelope.message.data.position != 'Reload') {\n wrapper.loading(false, direction);\n return;\n }\n }\n\n if (model.HasQuickBuy && model.Items.length > 0) {\n Vendd.Quickbuy.addToQuickbuyList(model.Items[0], true);\n }\n\n model.exVatText = $wrapper.data('exvat-label');\n model.inVatText = $wrapper.data('invat-label');\n\n var html = Vendd.Handlebars.parse(\"productList_A\", model);\n\n var $html = $(html),\n $list = $('> ul', $wrapper),\n $boxes,\n items, lastItem, grouping, rowSize;\n\n configuration = $('.configuration', $html).text();\n\n Vendd.MessageBus.publish(wrapper, new Vendd.Widget.Messages.BindControl($html));\n\n $boxes = $('.x-product-box', $html);\n\n lastItem = $list.children().last();\n grouping = $html.data('grouping');\n rowSize = 3;\n\n items = wrapBoxes($boxes, grouping, rowSize, lastItem, model);\n if (envelope.message.data.position == 'BottomOfList') {\n if (parseInt($wrapper.attr('data-total-pages')) == model.PageNumber) {\n $('.scrolllist-pager-notification[data-direction=\"forward\"]').addClass('hidden');\n $('.scrolllist-pager-notification[data-direction=\"backward\"]').removeClass('disabled');\n } else {\n $('.scrolllist-pager-notification[data-direction=\"forward\"] .current-page').html(model.PageNumber);\n }\n\n var indicator = $('.page-indicator', $wrapper).eq(0).clone();\n indicator.attr('data-page', model.PageNumber);\n $('.page-number', indicator).html(model.PageNumber);\n $list.append(indicator);\n $list.append(items);\n $('.page-indicator', $wrapper).removeClass('hidden');\n direction = 'forward';\n }\n\n if (envelope.message.data.position == 'TopOfList') {\n if (model.PageNumber == 1) {\n $('.scrolllist-pager-notification[data-direction=\"backward\"]').addClass('hidden');\n $('.scrolllist-pager-notification[data-direction=\"forward\"]').removeClass('disabled');\n } else {\n $('.scrolllist-pager-notification[data-direction=\"backward\"] .current-page').html(model.PageNumber);\n }\n var elementFocused = $(' >ul >li', $wrapper).eq(0),\n initPos = elementFocused.parent().offset().top, latePos,\n windowPos = $(window).scrollTop(),\n indicator = $('.page-indicator', $wrapper).eq(0).clone();\n\n indicator.attr('data-page', model.PageNumber);\n $('.page-number', indicator).html(model.PageNumber);\n $list.prepend(items);\n $list.prepend(indicator);\n $('.page-indicator', $wrapper).removeClass('hidden');\n latePos = elementFocused.offset().top;\n $('html,body').scrollTop(windowPos + latePos - initPos);\n\n direction = 'backward';\n }\n\n if ($wrapper.hasClass(\"js-lazyload\") && typeof $.fn.lazyload === \"function\") {\n $(\"img[data-lazyload]\", $wrapper).lazyload({\n effect: 'fadeIn',\n threshold: 500,\n skip_invisible: false\n }).removeAttr(\"data-lazyload\");\n }\n\n if (model.Items[0][0].AlreadyInCartEnabled) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Cart.Messages.GetModel());\n }\n if (model.Items[0][0].AlreadyInWishlistEnabled) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Wishlist.Messages.GetModel());\n }\n if (model.Items[0][0].AlreadyInCompareListEnabled) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ProductCompare.Messages.GetWidgetModel());\n }\n\n if (lazyLoadPrices || customPrices) {\n var productItems = [];\n $boxes.each(function (i, el) {\n productItems.push(parseInt($(el).attr('data-variantid')));\n });\n\n var dataObj = {\n itemIds: productItems,\n fetchPrices: true,\n fetchAvailabilities: true,\n fetchStock: true\n };\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ScrollList.Messages.GetClientProductListData(dataObj));\n }\n\n if (hasColorSelector) {\n $boxes.each(function (box, i) {\n var $box = $(this);\n var selectedColorId = $('.js-color-selector.selected', $box).data('id');\n $box.attr('data-selected-colorid', selectedColorId);\n\n addSkuParameterInProductBox($box, selectedColorId);\n });\n } \n\n wrapper.loading(false, direction);\n };\n\n wrapper.onFailure = function (envelope) {\n if (envelope.message.data.list !== wrapper)\n return;\n\n var direction = '';\n\n if (envelope.message.data.position == 'BottomOfList') {\n direction = 'forward';\n }\n if (envelope.message.data.position == 'TopOfList') {\n direction = 'backward';\n }\n wrapper.loading(false, direction);\n };\n\n wrapper.onFailureCurrent = function (envelope) {\n _LTracker.push({\n \"Message Error\": {\n \"message\": \"Quickbuy couldn't be initialized, in Product list\",\n \"publisher\": \"Vendd.ScrollList.Messages.GetCurrentPageFailure\"\n }\n });\n };\n\n wrapper.onSuccessCurrent = function (envelope) {\n\n if (envelope.message.data.list.list != wrapper) return;\n\n var model = envelope.message.data.model; \n\n Vendd.Quickbuy.addToQuickbuyList(model);\n $wrapper.removeClass('quickbuy-loading');\n\n if (hasColorSelector) {\n var $boxes = $('.x-product-box', wrapper);\n $boxes.each(function (box, i) {\n var $box = $(this);\n var selectedColorId = $('.js-color-selector.selected', $box).data('id');\n $box.attr('data-selected-colorid', selectedColorId);\n\n addSkuParameterInProductBox($box, selectedColorId);\n });\n } \n };\n\n wrapper.updatePageUrl = function () {\n\n if ($wrapper.hasClass('js-redirecting'))\n return;\n\n var element = _.first(_.filter($('>ul>li[data-page]', $wrapper), function (element) { return $(window).scrollTop() <= $(element).offset().top; })),\n pageNumber = $(element).length ? $(element).data('page') : $('>ul>li[data-page]', $wrapper).eq($('>ul>li[data-page]', $wrapper).length - 1).data('page'),\n pager = $('.x-pager[data-page-count]'),\n pageCount = pager.length ? (parseInt(pager.attr('data-page-count')) || 0) : 0,\n comboPagers = $('.pager .x-pager-combopages');\n\n comboPagers.each(function (index, comboPager) {\n var $comboPager = $(comboPager);\n $('select', $comboPager).addClass('disabled');\n $('.newList>li a', $('select', $comboPager).siblings('.newListSelected')).eq(pageNumber - 1).trigger('click');\n $('select', $comboPager).removeClass('disabled');\n });\n\n if (history.replaceState) {\n\n var querystring = window.location.pathname + (window.location.pathname.slice(-1) != \"/\" ? \"/\" : \"\"),\n pageText = 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\n if (window.location.href !== url) {\n var prev = $(\"head link[rel=prev]\");\n var next = $(\"head link[rel=next]\");\n var prevLink = url.replace(/^(.+\\/p)\\d+(\\/?(\\?.*)?)?$/i, \"$1\" + (pageNumber - 1) + \"$2\");\n var nextLink = url.replace(/^(.+\\/p)\\d+(\\/?(\\?.*)?)?$/i, \"$1\" + (pageNumber + 1) + \"$2\");\n if (prev) {\n if (pageNumber > 1) {\n prev.attr(\"href\", prevLink);\n } else {\n prev.remove();\n }\n } else if (pageNumber > 1) {\n $(\"head\").append(\"link rel=\\\"prev\\\" href=\\\"\" + prevLink + \"\\\" />\");\n }\n if (next) {\n if (pageNumber < pageCount) {\n next.attr(\"href\", nextLink);\n } else {\n next.remove();\n }\n } else if (pageNumber < pageCount) {\n $(\"head\").append(\"link rel=\\\"next\\\" href=\\\"\" + nextLink + \"\\\" />\");\n }\n history.replaceState(stateObject, jQuery(document).find('title').text() + pageNumber, url);\n //history.pushState(stateObject, jQuery(document).find('title').text() + pageNumber, url);\n }\n }\n };\n\n wrapper.update = function (dataListMovement) {\n\n if (loading) return;\n\n if (dataListMovement == 'forward') {\n hasNext = parseInt($wrapper.attr('data-total-pages')) > parseInt($('>ul>li[data-page]', $wrapper).eq($('>ul>li[data-page]', $wrapper).length - 1).attr('data-page'));\n if (!hasNext) return;\n }\n if (dataListMovement == 'backward') {\n hasPrevious = parseInt($('>ul>li[data-page]', $wrapper).eq(0).attr('data-page')) > 1;\n if (!hasPrevious) return;\n }\n\n wrapper.loading(true, dataListMovement);\n\n if (dataListMovement == 'forward') {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ScrollList.Messages.GetNextPage(wrapper, configuration, 'productList'));\n }\n if (dataListMovement == 'backward') {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ScrollList.Messages.GetPreviousPage(wrapper, configuration, 'productList'));\n }\n\n };\n\n wrapper.updatePlOnFiltersChange = function (envelope) {\n\n if (envelope.message.data.list !== wrapper) return;\n\n model = envelope.message.data.data.Products;\n pagerModel = envelope.message.data.data.Pager;\n\n model.exVatText = $wrapper.data('exvat-label');\n model.inVatText = $wrapper.data('invat-label');\n //init variables for scroll\n forwardUpdates = 0, forwardUpdatesCup = 2, backwardUpdates = 0, backwardUpdatesCup = 0;\n\n //parse new product list\n var html = Vendd.Handlebars.parse(\"productListInner_A\", model);\n $wrapper.html(html);\n\n //updates\n updatePageScroll();\n updatePagerAttr($wrapper, model, pagerModel);\n wrapper.updatePageUrl();\n\n //bind product list\n Vendd.MessageBus.publish(wrapper, new Vendd.Widget.Messages.BindControl($wrapper));\n\n if (model.Items.length > 0) {\n if (model.HasQuickBuy) {\n Vendd.Quickbuy.addToQuickbuyList(model.Items[0], true);\n }\n if (model.Items[0][0].AlreadyInCartEnabled) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Cart.Messages.GetModel());\n }\n if (model.Items[0][0].AlreadyInWishlistEnabled) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Wishlist.Messages.GetModel());\n }\n if (model.Items[0][0].AlreadyInCompareListEnabled) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ProductCompare.Messages.GetWidgetModel());\n }\n }\n\n //hide pager if there are no products\n if (model.Items.length < 1) {\n $wrapper.closest('.x-main-product-list').siblings('.pager').addClass('hidden');\n } else {\n $wrapper.closest('.x-main-product-list').siblings('.pager').removeClass('hidden');\n }\n\n if ($wrapper.hasClass(\"js-lazyload\") && typeof $.fn.lazyload === \"function\") {\n $(\"img[data-lazyload]\", $wrapper).lazyload({\n effect: 'fadeIn',\n threshold: 500,\n skip_invisible: false\n }).removeAttr(\"data-lazyload\");\n }\n\n var $boxes = $('.x-product-box', $wrapper);\n\n if (lazyLoadPrices || customPrices) {\n var productItems = [];\n $boxes.each(function (i, el) {\n productItems.push(parseInt($(el).attr('data-variantid')));\n });\n\n var dataObj = {\n itemIds: productItems,\n fetchPrices: true,\n fetchAvailabilities: true,\n fetchStock: true\n };\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ScrollList.Messages.GetClientProductListData(dataObj));\n }\n\n if (hasColorSelector) {\n $boxes.each(function (box, i) {\n var $box = $(this);\n var selectedColorId = $('.js-color-selector.selected', $box).data('id');\n $box.attr('data-selected-colorid', selectedColorId);\n\n addSkuParameterInProductBox($box, selectedColorId);\n });\n } \n };\n\n $wrapper.on('click', '.x-replaced-by-products .js-toggle', function (e) {\n var $container = $(this).closest('.x-replaced-by-products');\n\n $(this).toggleClass('icon-plus icon-minus');\n $container.find('.js-content').toggle();\n\n if (!$container.hasClass('initiliazed')) {\n initializeReplacedPL($container);\n }\n\n });\n\n $wrapper.on('click', '.js-select', function (e) {\n\n if ($(this).hasClass('selected')) {\n $(this).removeClass('selected');\n } else {\n $(this).addClass('selected');\n }\n\n updateButtonStatus();\n });\n\n $wrapper.on('click', '.js-add-selected', function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n var $this = $(this), $boxes = $('.x-product-box', $wrapper);\n\n if ($boxes.length < 1) {\n $this.attr('disabled', 'disabled').addClass('disabled');\n return;\n }\n\n var data = [], prObj;\n\n $boxes.each(function (i, el) {\n var $el = $(el);\n\n if ($el.find('.js-select').hasClass('selected')) {\n\n prObj = {\n id: $el.data('productid'),\n skuId: $el.data('variantid'),\n path: $el.data('path'),\n qty: 1\n };\n\n data.push(prObj);\n }\n });\n\n if (data.length > 0) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Cart.Messages.MultipleAdd(data));\n }\n });\n\n if (isScrolled === true) {\n $(window).scroll($.debounce(300, function () {\n if (($(window).scrollTop() == 0 || $wrapper.offset().top > $(window).scrollTop()) && backwardUpdates < backwardUpdatesCup) {\n backwardUpdates++;\n wrapper.update('backward');\n }\n if (($(window).scrollTop() >= $(document).height() - $(window).height() - $('.footer-region').height() - 500 || isElementInViewport($('.scrolllist-pager-notification'))) && forwardUpdates < forwardUpdatesCup) {\n forwardUpdates++;\n wrapper.update('forward');\n }\n if ($(window).scrollTop() >= 0 && !loading) {\n wrapper.updatePageUrl();\n }\n }));\n }\n\n //click in order to see more products\n $('.scrolllist-pager-notification').on('click', '.js-show', function () {\n if (!$(this).closest('.scrolllist-pager-notification').hasClass('disabled')) {\n if ($(this).data('direction') === 'forward') forwardUpdates = 0;\n else if ($(this).data('direction') === 'backward') backwardUpdates = 0;\n wrapper.update($(this).data('direction'));\n }\n });\n\n function initializeReplacedPL($container) {\n $selectedRelatedPl = $container.find('.x-replaced-product-list');\n\n $selectedRelatedPl.parent().addClass('x-loading');\n\n var plData = {\n itemId: $selectedRelatedPl.data('product-id'),\n itemPath: jsonConfiguration ? jsonConfiguration.ItemPath : '',\n pageNumber: $selectedRelatedPl.data('page-number'),\n pageSize: $selectedRelatedPl.data('page-size'),\n sortKey: jsonConfiguration ? jsonConfiguration.SortKey : '',\n fullPath: LhApp.Context.Item.FullPath,\n includeFilters: false,\n defaultUriFilter: \"\",\n templateCode: 'productList',\n configCode: \"\",\n excludeItemIds: jsonConfiguration ? jsonConfiguration.ExcludeItemIds : '',\n relationshipTypeName: $selectedRelatedPl.data('rel-type'),\n xRelatedProducts: $selectedRelatedPl.data('max-products'),\n EnableNoImage: $selectedRelatedPl.data('no-image'),\n isLazyLoadEnabled: $selectedRelatedPl.data('lazy-load'),\n imageTypeCodeArray: $selectedRelatedPl.data('image-type'),\n };\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.Product.Messages.GetReplacedByProducts(plData));\n }\n\n function handleMulitpleAddResult(data) {\n var html = Vendd.Handlebars.parse(Handlebars.partials.multipleAddResults_A, JSON.parse(data));\n\n $resultsWraper.html(html);\n $resultsFancyboxLink.trigger('click');\n }\n\n function updateButtonStatus(e) {\n var isChecked = false;\n\n var $boxes = $('.x-product-box', $wrapper);\n\n $boxes.each(function (i, el) {\n var $el = $(el);\n if ($el.find('.js-select').hasClass('selected')) {\n $('.js-add-selected', $wrapper).removeAttr('disabled').removeClass('disabled');\n isChecked = true;\n return;\n }\n });\n\n if (isChecked) return;\n\n $('.js-add-selected', $wrapper).attr('disabled', 'disabled').addClass('disabled');\n }\n\n function wrapBoxes($boxes, grouping, rowSize, lastItem, model) {\n var items = [],\n currentIndex, cssClass;\n\n lastItem.removeClass('last');\n\n currentIndex = lastItem.data('index') + 1;\n\n for (var i = 0; i < $boxes.length; i++) {\n var li = $('
  • ');\n\n cssClass = \"item\" + currentIndex;\n cssClass += (currentIndex % 2) ? \" odd\" : \" even\";\n cssClass += (i === $boxes.length - 1) ? \" last\" : \"\";\n cssClass += currentIndex % rowSize === 0 ? \" row-first\" : \"\";\n cssClass += (currentIndex + 1) % rowSize === 0 ? \" row-last\" : \"\";\n\n li.append($boxes.eq(i))\n .addClass(cssClass)\n .attr('data-index', currentIndex)\n .attr('data-page', model.PageNumber);\n\n items.push(li);\n\n currentIndex++;\n }\n\n return items;\n }\n\n function updatePagerAttr(wrapper, model, pagerModel) {\n //update products count\n $('.js-num-of-products').text(model.ItemsCountText);\n\n //update product list attributes\n wrapper.attr('data-previous-page', pagerModel.PrevPageNumber);\n wrapper.attr('data-next-page', pagerModel.NextPageNumber);\n wrapper.attr('data-total-pages', pagerModel.PagesCount);\n wrapper.attr('data-page-size', pagerModel.PagesSize);\n wrapper.attr('data-current-page', pagerModel.PagesNumber);\n\n //update list items attributes\n $('ul.items-list > li ', wrapper).attr('data-page', pagerModel.PagesNumber);\n\n //update page indicator\n if (wrapper.data('scrolled') === true) {\n $('ul.items-list', wrapper).prepend('
  • ' + pagerModel.PageText + ' ' + pagerModel.PagesNumber + ' ' + pagerModel.ItemsOfText + ' ' + pagerModel.PagesCount + '

  • ');\n }\n\n //update pager\n pagerModel.PagesCount > 1 ? $('.pager .x-pager').removeClass('hidden') : $('.pager .x-pager').addClass('hidden');\n\n //update scrollist pager\n if (parseInt($wrapper.attr('data-total-pages')) == pagerModel.PagesNumber) {\n $('.scrolllist-pager-notification[data-direction=\"forward\"]').addClass('hidden');\n } else {\n $('.scrolllist-pager-notification[data-direction=\"forward\"]').removeClass('hidden disabled');\n $('.scrolllist-pager-notification[data-direction=\"forward\"]').addClass('x-loading');\n }\n if (pagerModel.IsFirstPage) {\n $('.scrolllist-pager-notification[data-direction=\"backward\"]').addClass('hidden');\n }\n }\n\n function updatePageScroll() {\n //scroll to top of the list\n if ($(window).scrollTop() > $wrapper.offset().top) {\n $(\"html, body\").animate({ scrollTop: $wrapper.offset().top - 180 }, 100);\n }\n\n //update sticky sidebar\n if (sidebar.length > 0) sidebar.updateSticky();\n }\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetPageSuccess, wrapper, wrapper.onSuccess);\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetNextPageFailure, wrapper, wrapper.onFailure);\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetCurrentPageSuccess, wrapper, wrapper.onSuccessCurrent);\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetCurrentPageFailure, wrapper, wrapper.onFailureCurrent);\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetPreviousPageFailure, wrapper, wrapper.onFailure);\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.MultipleAddSuccess, wrapper, function (envelope) {\n handleMulitpleAddResult(envelope.message.data.model.data);\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.GetReplacedByProductsSuccess, wrapper, function (envelope) {\n model = envelope.message.data.data;\n\n var html = Vendd.Handlebars.parse(\"productList_A\", model);\n var $html = $(html);\n\n $selectedRelatedPl.closest('.x-replaced-by-products').addClass('initiliazed');\n\n $selectedRelatedPl.parent().removeClass('x-loading');\n\n $selectedRelatedPl.html(html);\n\n Vendd.MessageBus.publish($wrapper, new Vendd.Widget.Messages.BindControl($html));\n });\n\n Vendd.MessageBus.subscribe(Vendd.ProductList.Messages.GetModelSuccess, wrapper, wrapper.updatePlOnFiltersChange);\n\n });\n\n //if global lazyload prices is enabled -> run initLazyLoadPrices\n if (lazyLoadPrices) {\n initLazyLoadPrices();\n } else {\n //if user has custom prices -> run initLazyLoadPrices\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetUserViewModelSuccess, $pl, function (envelope) {\n customPrices = envelope.message.data.model.HasCustomPrices;\n if (customPrices) initLazyLoadPrices();\n });\n }\n\n /* Functionality for Lazy Prices & Availabilities */\n function initLazyLoadPrices() {\n var items = [];\n\n $pl.each(function () {\n var $wrapper = $(this);\n $('.x-product-box[data-variantid]', $wrapper).each(function (i, el) {\n items.push(parseInt($(el).attr('data-variantid')));\n });\n });\n\n var obj = {\n itemIds: items,\n fetchPrices: true,\n fetchAvailabilities: true,\n fetchStock: true\n };\n\n Vendd.MessageBus.publishAsync($pl, new Vendd.ScrollList.Messages.GetClientProductListData(obj));\n }\n\n var LazyPrices = function (obj) {\n $pl.each(function () {\n var $wrapper = $(this);\n var b2bModel = obj.B2B;\n var isB2BUser = b2bModel.IsAuthenticated && b2bModel.IsB2BUser;\n var shouldHidePrices = b2bModel && b2bModel.DisplayOptions && b2bModel.DisplayOptions.ShouldHidePrice;\n\n $('.x-product-box[data-variantid]:not(.prices-lazyloaded)', $wrapper).each(function (i, el) {\n var itemVariantId = parseInt($(el).attr('data-variantid'));\n var itemData = obj.Products.filter(function (a) { return a.VariantId === itemVariantId });\n\n if (itemData.length === 0) {\n return;\n }\n\n // hide all\n $('.discount-container', el).addClass('hide');\n $('.deleted-price-container', el).addClass('hide');\n $('.current-price-container', el).addClass('hide');\n $('.current-points-price-container', el).addClass('hide');\n $('.current-points-gain-container', el).addClass('hide');\n\n if (!shouldHidePrices) {\n var prices = itemData[0].Prices.Price;\n var points = itemData[0].Prices.Points;\n var pointsGain = itemData[0].Prices.PointsGain;\n var countdownPrices = itemData[0].CountDownProperties;\n var showPriceWithoutVat = prices.ShowPriceWithoutVat;\n\n if (prices) {\n //discount percentage\n if (countdownPrices.DiscountPercentage) {\n $('.tag.discount', el).text('-' + countdownPrices.DiscountPercentage);\n } else if (prices.Discount) {\n $('.tag.discount', el).text('-' + prices.Discount + '%');\n }\n //discount value\n if (prices.DiscountValue) {\n $('.discount-container', el).removeClass('hide');\n $('.discount-value', el).text(decodeEntities(prices.DiscountValue));\n }\n \n //current price\n var currentPrice;\n\n if (countdownPrices) {\n currentPrice = showPriceWithoutVat ? countdownPrices.PriceWithoutVat : countdownPrices.Price;\n } else {\n if (prices.FromPriceText) {\n currentPrice = showPriceWithoutVat ? prices.FromPriceWithoutVatText : prices.FromPriceText;\n } else {\n currentPrice = showPriceWithoutVat ? prices.CurrentPriceWithoutVat : prices.CurrentPrice;\n }\n }\n\n //deleted price\n var deletedPrice =\n prices.DeletedPrice && decodeEntities(showPriceWithoutVat ? prices.DeletedPriceWithoutVat : prices.DeletedPrice)\n || countdownPrices && decodeEntities(showPriceWithoutVat ? prices.CurrentPriceWithoutVat : prices.CurrentPrice)\n || undefined;\n var deletedPriceValue = parseFloat(stringToNumber(deletedPrice));\n var currentPriceValue = parseFloat(stringToNumber(currentPrice));\n\n if (!deletedPriceValue || !currentPriceValue || deletedPriceValue <= currentPriceValue) {\n deletedPrice = undefined;\n }\n\n if (deletedPrice) {\n $('.deleted-price-container', el).removeClass('hide');\n $('.deleted-price', el).text(deletedPrice);\n } \n\n if ($enableFormatPrices) {\n $('.current-price', el).html(formatPrice(currentPrice));\n $('.current-price', el).addClass('price-formatted');\n } else {\n $('.current-price', el).text(currentPrice);\n }\n $('.current-price-container', el).removeClass('hide');\n }\n //points\n if (points) {\n $('.current-points-price-container', el).removeClass('hide');\n $('.current-points-price-container .points-price', el).text(points.PointsPrice);\n }\n //points gain\n if (pointsGain) {\n $('.current-points-gain-container', el).removeClass('hide');\n $('.current-points-gain-container .points-gain', el).text(pointsGain.TotalPointsGain);\n }\n }\n\n $(el).addClass('prices-lazyloaded');\n });\n });\n };\n\n var LazyAvailabilities = function (obj) {\n $pl.each(function () {\n var $wrapper = $(this);\n $('.x-product-box[data-variantid]:not(.availabilities-lazyloaded)', $wrapper).each(function (i, el) {\n var itemVariantId = parseInt($(el).attr('data-variantid'));\n var itemData = obj.Products.filter(function (a) { return a.VariantId === itemVariantId });\n if (itemData.length > 0) {\n var availability = itemData[0].Availability.AvailabilityData;\n var cartEnabled = availability.CanBuy === true;\n $('.availability', $(this)).addClass(\"availability-\" + availability.AvailabilityActionId).text(availability.Name).parent('.availability-container').removeClass('hide');\n if (cartEnabled) {\n $('.buttons .add-to-cart', $(this)).removeClass('x-disabled');\n $('.buttons .add-to-cart button', $(this)).removeAttr('disabled', 'disabled');\n }\n }\n\n $(el).addClass('availabilities-lazyloaded');\n });\n });\n };\n\n $pl.onGetClientProductListDataSuccess = function (envelope) {\n var result = JSON && JSON.parse(envelope.message.data) || $.parseJSON(envelope.message.data);\n LazyPrices(result);\n LazyAvailabilities(result);\n };\n $pl.onGetClientProductListDataFailure = function (envelope) {\n //console.log(envelope.message.data);\n };\n\n Vendd.MessageBus.unsubscribe(Vendd.ScrollList.Messages.GetClientProductListDataSuccess, $pl);\n Vendd.MessageBus.unsubscribe(Vendd.ScrollList.Messages.GetClientProductListDataFailure, $pl);\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetClientProductListDataSuccess, $pl, $pl.onGetClientProductListDataSuccess);\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetClientProductListDataFailure, $pl, $pl.onGetClientProductListDataFailure);\n\n //if infinite scroll and scroll query string\n if (hasInfiniteScroll && hasScrollId)\n scrollToProduct($mainPL);\n\n //scroll to product on back browser\n function scrollToProduct(mainPL) {\n\n if (mainPL.length < 1) return;\n\n var scrollToProductId, productBox, img;\n\n //get product id from session\n scrollToProductId = sessionStorage.getItem('scrollToProductId');\n //remove product id from session\n sessionStorage.removeItem('scrollToProductId');\n\n //scroll to product\n productBox = $('.x-product-box[data-productid= ' + scrollToProductId + ']', mainPL);\n\n if (productBox.length < 1) return;\n\n img = $('.image-container img:first', productBox).get(0);\n\n if (img.complete) {\n $('html, body').animate({ scrollTop: productBox.offset().top - 100 }, 0);\n } else {\n waitForImageToLoad(img).then(function () {\n $('html, body').animate({ scrollTop: productBox.offset().top - 100 }, 0);\n });\n }\n\n function waitForImageToLoad(imageElement) {\n return new Promise(function (resolve, reject) {\n imageElement.onload = resolve;\n });\n }\n };\n\n});\n\n//unload function for browser scroll\nwindow.addEventListener(\"unload\", function () {\n if (sessionStorage.getItem('scrollToProductId')) {\n //disable browser scroll\n history.scrollRestoration = \"manual\";\n }\n});\n\n","Vendd.Scripts.load(function () {\n var $wrappers = $('.x-control.x-filters');\n\n $wrappers.each(function (index, wrapper) {\n\n var $wrapper = $(wrapper);\n\n var isAjaxLoad = $wrapper.data('ajax-load').toString().toLowerCase().trim() === \"true\",\n hasSubmitButton = $wrapper.data('submit-button').toString().toLowerCase().trim() === \"true\",\n documentURL;\n\n model = null;\n\n documentURL = document.URL;\n\n function UpdateProductList(url) {\n\n var $ajaxPL = $('.x-control.x-list[data-list=' + $wrapper.data('list') + ']').first(),\n ajaxPL = $ajaxPL.get(0);\n\n //if Ajax Filters call async service with new constracted url \n if (isAjaxLoad && $ajaxPL.length > 0) {\n \n var queryString = url.split(\"?\").length > 1 ? \"?\" + url.split(\"?\")[1] : \"\";\n var configuration = $('.configuration', ajaxPL).text();\n\n //change url\n history.pushState({}, '', url);\n\n Vendd.MessageBus.publishAsync(ajaxPL, new Vendd.ProductList.Messages.GetModel(ajaxPL, configuration, LhApp.Context.Item.Template, queryString, true, wrapper.defaultUriFilter));\n }\n //else refresh page with new constracted url \n else {\n window.location.href = url;\n }\n }\n\n function UpdateQueryString(key, value, url) {\n\n if (!url) url = documentURL;\n\n // dirty fix for new url rewriter, remove page number to go back to page 1\n url = url.replace(/\\/{1}p{1}[0-9]+/, '');\n\n var re = new RegExp(\"([?|&])\" + key + \"=.*?(&|#|$)\", \"gi\");\n\n if (url.match(re)) {\n if (value) {\n value = url.replace(re, '$1' + key + \"=\" + value + '$2');\n } else {\n value = url.replace(re, '$2');\n }\n\n if (value.indexOf('?') == -1) { // convert first paramter separator to query params separator\n var pos = value.indexOf('&');\n if (pos != -1) // has at least one parameter\n value = value.substring(0, pos) + '?' + value.substring(pos + 1, value.length);\n }\n return value;\n }\n else {\n if (value) {\n var separator = url.indexOf('?') !== -1 ? '&' : '?',\n hash = url.split('#');\n url = hash[0] + separator + key + '=' + value;\n\n if (hash[1]) url += '#' + hash[1];\n\n return url;\n } else {\n return url;\n }\n }\n };\n\n function getQueryStringValueByName(name) {\n name = name.replace(/[\\[]/, \"\\\\\\[\").replace(/[\\]]/, \"\\\\\\]\");\n var regexS = \"[\\\\?&]\" + name + \"=([^&#]*)\";\n var regex = new RegExp(regexS);\n var results = regex.exec(documentURL);\n if (results == null)\n return \"\";\n else\n return decodeURIComponent(results[1].replace(/\\+/g, \" \"));\n };\n\n function removeValueFromCommaSeparatedString(list, value, separator) {\n separator = separator || \",\";\n var values = list.split(separator);\n for (var i = 0; i < values.length; i++) {\n if (values[i] == value.replace(/\\s+/g, '-')) {\n values.splice(i, 1);\n return values.join(separator);\n }\n }\n return list;\n };\n\n function getInputFilterValues($rangeInputFilter) {\n\n var $control = $rangeInputFilter ? $rangeInputFilter : $('.x-control[data-control=\"filter\"][data-type=\"range-input\"]', $wrapper);\n\n $control.each(function (i, rangeFilter) {\n\n var $filter = $(rangeFilter);\n var $inputFrom = $('.input-from', $filter);\n var valFrom = $inputFrom.val() ? parseFloat($inputFrom.val()) : null;\n var $inputTo = $('.input-to', $filter);\n var valTo = $inputTo.val() ? parseFloat($inputTo.val()) : null;\n var tempValueFrom;\n var queryName, queryValue, urlWithItem;\n\n //if both inputs are empty -> return\n if (valFrom == null && valTo == null)\n return;\n\n //set valFrom with default minimum value\n if (valFrom == null && valTo)\n valFrom = parseFloat($filter.data('min'));\n\n //set valTo with default maximum value\n if (valTo == null && valFrom)\n valTo = parseFloat($filter.data('max'));\n\n //reverse values if valFrom is bigger\n if (valFrom && valTo && (valFrom > valTo)) {\n tempValueFrom = valFrom;\n valFrom = valTo;\n valTo = tempValueFrom;\n }\n\n if (valFrom) {\n queryName = $filter.data('filter-key') + '-from';\n queryValue = valFrom;\n //update querystring\n urlWithItem = UpdateQueryString(queryName, queryValue, documentURL);\n documentURL = urlWithItem;\n }\n\n if (valTo) {\n queryName = $filter.data('filter-key') + '-to';\n queryValue = valTo;\n //update querystring\n urlWithItem = UpdateQueryString(queryName, queryValue, documentURL);\n documentURL = urlWithItem;\n }\n });\n }\n\n function initSliderFilters() {\n $('.x-control[data-control=\"filter\"][data-type=\"range\"]', $wrapper).each(function (i, rangeFilter) {\n\n var $filter = $(rangeFilter);\n var $slider = $filter.find('*[data-slider]');\n var $init = $filter.find('*[data-init]');\n var $text = $filter.find('input[data-text]');\n var key = $filter.data('filter-key');\n\n var urlMask = $init.data('mask');\n urlMask = urlMask.split('?')[1];\n var textMask = $text.data('mask');\n\n var symbol = $init.data('symbol');\n\n var minValue = parseFloat($init.data('min'));\n var maxValue = parseFloat($init.data('max'));\n var currentMinValue = parseFloat($init.data('from'));\n var currentMaxValue = parseFloat($init.data('to'));\n var step = parseFloat($init.data('step'));\n var rangeDisabled = false, fromMax = 0, toMin = 0;\n\n if (maxValue - minValue <= step) {\n rangeDisabled = true;\n fromMax = minValue;\n toMin = maxValue;\n } else {\n if (currentMinValue < minValue || currentMinValue > maxValue) {\n currentMinValue = minValue;\n }\n\n if (currentMaxValue < minValue || currentMaxValue > maxValue) {\n currentMaxValue = maxValue;\n }\n\n if (currentMaxValue < currentMinValue) {\n currentMinValue = minValue;\n currentMaxValue = maxValue;\n }\n\n fromMax = currentMaxValue - step;\n toMin = currentMinValue + step;\n }\n\n $slider.ionRangeSlider({\n type: \"double\",\n grid: true,\n min: minValue,\n max: maxValue,\n from: currentMinValue,\n to: currentMaxValue,\n from_max: fromMax,\n to_min: toMin,\n block: rangeDisabled,\n postfix: symbol,\n skin: \"flat\",\n step: step,\n hide_min_max: true,\n onChange: function (data) {\n $text.val(textMask.replace(\"((from))\", data.from).replace(\"((to))\", data.to));\n },\n onFinish: function (data) {\n var queryName;\n\n queryName = $(data.input).closest('.x-filter-range-slider').data('filter-key') + '-from';\n documentURL = UpdateQueryString(queryName, data.from, documentURL);\n queryName = $(data.input).closest('.x-filter-range-slider').data('filter-key') + '-to';\n documentURL = UpdateQueryString(queryName, data.to, documentURL);\n\n if (!hasSubmitButton) UpdateProductList(documentURL);\n }\n });\n\n $text.val(textMask.replace(\"((from))\", $slider.data(\"from\")).replace(\"((to))\", $slider.data(\"to\")));\n\n });\n }\n\n function initFilters() {\n var filterKey, searchid, searchList;\n\n //click filter functionality\n $(\".filters .filter ul.filters-list li a\", $wrapper).click(function (e) {\n e.preventDefault();\n\n var itemswithvalue, itemswithoutvalue, urlWithItem, urlWithoutItem;\n var queryName = $(this).attr(\"data-query\");\n var queryValue = $(this).attr(\"data-value\");\n var items = getQueryStringValueByName(queryName);\n\n $(\".filters\", $wrapper).addClass('x-loading');\n\n if (venddProjectConfigs.FilterScrollMobileEnabled)\n saveFiltersState($(this).closest('.filter'));\n\n if ($(this).hasClass(\"checked\")) {\n\n if ($(this).closest('.filter').hasClass('multi-select')) {\n $(this).removeClass(\"checked icon-check\").addClass('icon-empty');\n }\n $(this).removeClass(\"checked\");\n\n itemswithoutvalue = removeValueFromCommaSeparatedString(items, queryValue);\n urlWithoutItem = UpdateQueryString(queryName, itemswithoutvalue, documentURL);\n documentURL = urlWithoutItem;\n } else {\n\n if ($(this).closest('.filter').hasClass('multi-select')) {\n $(this).addClass(\"icon-check\").removeClass('icon-empty');\n } else if ($(this).closest('.filter').hasClass('unique-select')) {\n items = '';\n $(this).closest(\"li\").siblings().find('a').removeClass(\"checked\");\n }\n $(this).addClass(\"checked\");\n\n itemswithvalue = items == '' ? queryValue : items + ',' + queryValue;\n urlWithItem = UpdateQueryString(queryName, itemswithvalue, documentURL);\n documentURL = urlWithItem;\n }\n\n if (!hasSubmitButton) UpdateProductList(documentURL);\n\n $(\".filters\", $wrapper).removeClass('x-loading');\n });\n\n $('.filters .filter.search', $wrapper).each(function () {\n filterKey = $(this).data('filter-key');\n searchid = filterKey + '-search-id';\n\n var options = {\n valueNames: [filterKey]\n };\n\n searchList = new List(searchid, options);\n\n searchList.on('updated', function (list) {\n if (list.matchingItems.length > 0) {\n $('.no-result').hide();\n } else {\n $('.no-result').show();\n }\n });\n });\n\n //date filter functionality\n $(\".js-datefilter .js-apply-Filter-button\", $wrapper).click(function () {\n var filterwrap = this.closest('.js-datefilter');\n var mask = $('.js-datefilterUrlMask', filterwrap)[0].value;\n var dateFrom = $('.js-datefilterdateFrom', filterwrap)[0].value;\n var dateTo = $('.js-datefilterdateTo', filterwrap)[0].value;\n mask = mask.replace(\"(date-from)\", dateFrom).replace(\"(date-to)\", dateTo).replace(\"(tag),\", \"\");\n UpdateProductList(mask);\n });\n\n //submit specific filter\n $(\".js-submit-range-filter\", $wrapper).click(function (e) {\n e.preventDefault();\n\n //get specific filter\n var $rangeInputFilter = $(this).closest('.x-control[data-control=\"filter\"][data-type=\"range-input\"]');\n //get input values\n var $inputFrom = $('.input-from', $rangeInputFilter);\n var valFrom = $inputFrom.val() ? parseFloat($inputFrom.val()) : null;\n var $inputTo = $('.input-to', $rangeInputFilter);\n var valTo = $inputTo.val() ? parseFloat($inputTo.val()) : null;\n //if both inputs are empty -> return\n if (valFrom == null && valTo == null)\n return;\n\n getInputFilterValues($rangeInputFilter);\n UpdateProductList(documentURL);\n });\n\n //submit filters\n $(\".js-submit-filters\", $wrapper).click(function (e) {\n e.preventDefault();\n //get input values\n getInputFilterValues();\n UpdateProductList(documentURL);\n //close pop up in mobile\n if (isAjaxLoad && (isTouch() && $(window).outerWidth() < 960)) {\n wrapper.close();\n }\n });\n\n //clear all applied filters\n $(\".js-clear-all-filter\", $wrapper).click(function (e) {\n e.preventDefault();\n\n var searchParam = getQueryStringValueByName('search-for');\n\n if (searchParam) {\n var url = (documentURL || \"\").split('?')[0];\n url += '?search-for=' + searchParam;\n documentURL = url;\n UpdateProductList(documentURL);\n }\n else {\n //retain old functionality\n documentURL = documentURL.split('?')[0];\n UpdateProductList(documentURL);\n }\n\n });\n\n //clear applied filter\n $(\".js-clear-filter\", $wrapper).click(function () {\n\n var queryName, queryValue, items, itemswithoutvalue, urlWithoutItem;\n\n if ($(this).hasClass('range')) {\n //remove from-value from url\n queryName = $(this).attr(\"data-query\") + '-from';\n queryValue = parseFloat($(this).attr(\"data-from\")).toString();\n items = getQueryStringValueByName(queryName);\n itemswithoutvalue = removeValueFromCommaSeparatedString(items, queryValue);\n urlWithoutItem = UpdateQueryString(queryName, itemswithoutvalue, documentURL);\n //update document url\n documentURL = urlWithoutItem;\n\n //remove to-value from url\n queryName = $(this).attr(\"data-query\") + '-to';\n queryValue = parseFloat($(this).attr(\"data-to\")).toString();\n items = getQueryStringValueByName(queryName);\n itemswithoutvalue = removeValueFromCommaSeparatedString(items, queryValue);\n urlWithoutItem = UpdateQueryString(queryName, itemswithoutvalue, documentURL);\n //update document url\n documentURL = urlWithoutItem;\n } else {\n //remove value from url\n queryName = $(this).attr(\"data-query\");\n queryValue = $(this).attr(\"data-value\");\n items = getQueryStringValueByName(queryName);\n itemswithoutvalue = removeValueFromCommaSeparatedString(items, queryValue);\n urlWithoutItem = UpdateQueryString(queryName, itemswithoutvalue, documentURL);\n //update document url\n documentURL = urlWithoutItem;\n }\n\n UpdateProductList(documentURL);\n });\n\n //function for expand/collapse filters\n expandFilters();\n\n //function for open/close filters\n toggleFilters();\n\n //function for show/hide more filters\n seeMoreToggle(6);\n }\n\n function toggleFilters() {\n var iconOpen = $wrapper.data('icon-open');\n var iconClose = $wrapper.data('icon-close');\n\n wrapper.open = function () {\n if ($wrapper.hasClass('with-popup')) {\n $('.header-overlay').addClass('visible');\n $('html, body').addClass('no-scroll');\n }\n $('.js-filter-toggle-btn', $wrapper).removeClass(iconOpen).addClass(iconClose + ' active');\n $wrapper.addClass('opened');\n };\n\n wrapper.close = function () {\n $('.js-filter-toggle-btn', $wrapper).removeClass(iconClose + ' active').addClass(iconOpen);\n $wrapper.removeClass('opened');\n if ($wrapper.hasClass('with-popup')) {\n $('html, body').removeClass('no-scroll');\n $('.header-overlay').removeClass('visible');\n }\n };\n\n $wrapper.off('click', '.js-filter-toggle-btn').on('click', '.js-filter-toggle-btn', function (e) {\n e.preventDefault();\n var $this = $(this);\n\n if ($this.hasClass('active')) {\n wrapper.close();\n } else {\n wrapper.open();\n }\n });\n\n if ($wrapper.hasClass('with-toggle')) {\n $(document).on('click', function (e) {\n if (!$wrapper.is(e.target) && $wrapper.has(e.target).length === 0) {\n wrapper.close();\n }\n });\n }\n\n if ($wrapper.hasClass('with-popup')) {\n $wrapper.on('click', '.js-close-filters, .js-close-ajax-filters', function (e) {\n e.preventDefault();\n wrapper.close();\n });\n\n $('.header-overlay').on('click', function (e) {\n e.preventDefault();\n wrapper.close();\n });\n\n $(window).resize(_.debounce(function () {\n if ($(window).outerWidth() >= 960) {\n wrapper.close();\n }\n }, 50));\n }\n }\n\n function expandFilters() {\n $(\".filters .filter\", $wrapper).children('.title').addClass('icon-arrow-down');\n $(\".filters .filter.expanded\", $wrapper).children('.title').addClass('icon-arrow-up');\n\n $(\".filters .filter .title\", $wrapper).click(function () {\n if ($(this).parent().hasClass(\"disabled\")) return;\n if ($(this).parent().hasClass(\"expanded\")) {\n $(this).parent().removeClass(\"expanded\");\n $(this).removeClass('icon-arrow-up').addClass('icon-arrow-down');\n } else {\n $(this).parent().addClass(\"expanded\");\n $(this).removeClass('icon-arrow-down').addClass('icon-arrow-up');\n }\n });\n }\n\n function initFilterExpander() {\n if ($(window).outerWidth() < 960) {\n if (!$wrapper.hasClass('mobile')) {\n closeExpandedFilters();\n $wrapper.addClass('mobile');\n }\n } else {\n if ($wrapper.hasClass('mobile')) {\n $('.filter', $wrapper).addClass('expanded').find('.title').removeClass('icon-arrow-down').addClass('icon-arrow-up');\n $wrapper.removeClass('mobile');\n }\n }\n }\n\n function closeExpandedFilters() {\n $('.filter.expanded', $wrapper).removeClass('expanded').find('.title').removeClass('icon-arrow-up').addClass('icon-arrow-down');\n $wrapper.addClass('mobile');\n }\n\n function seeMoreToggle(columnSize) {\n $('.filters .filter.simple.see-more').each(function () {\n var multiplier = $(this).hasClass('two-columns') ? 2 : 1;\n\n if ($(this).find('.filters-list').children('li').length > (columnSize * multiplier)) {\n $(this).find(\".show-more\").addClass('visible');\n }\n });\n $(\".filter-toggle-btn\").click(function () {\n if ($(this).hasClass('show-more'))\n $(this).removeClass('show-more icon-arrow-down').addClass('show-less icon-arrow-up').closest('.filter').addClass('show-all');\n else {\n $(this).removeClass('show-less icon-arrow-up').addClass('show-more icon-arrow-down').closest('.filter').removeClass('show-all');\n }\n });\n }\n\n function saveFiltersState(filter) {\n\n if (!isTouch() || $(window).outerWidth() > 960)\n return;\n\n Cookies.set(\"OpenedFilter\", filter.data('filter-key'), { samesite: 'Lax' });\n }\n\n function openFiltersAfterReload() {\n\n if (!isTouch() || $(window).outerWidth() > 960)\n return;\n\n var filterKey = Cookies.get(\"OpenedFilter\");\n var headerHeight = $('.header-region').height();\n var filtersScroll;\n\n if (filterKey) {\n var openedFilter = $(\".filters .filter[data-filter-key='\" + filterKey + \"']\", $wrapper);\n $('.js-filter-toggle-btn', $wrapper).trigger('click');\n openedFilter.children('.title').trigger('click');\n Cookies.remove(\"OpenedFilter\", { path: '/' });\n filtersScroll = setTimeout(function () {\n $('html, body').animate({\n scrollTop: openedFilter.offset().top - headerHeight\n }, 300);\n }, 2000);\n }\n\n $(window).scroll(function () {\n clearTimeout(filtersScroll);\n });\n }\n\n wrapper.loading = function loading(loading) {\n if (loading) {\n $wrapper.addClass('x-loading');\n } else {\n $wrapper.removeClass('x-loading');\n }\n };\n\n wrapper.update = function update() {\n wrapper.loading(true);\n\n model.Filters.FilterTextMore = $wrapper.data('filter-more');\n model.Filters.FilterTextLess = $wrapper.data('filter-less'); \n\n //update filters\n var filters = Vendd.Handlebars.parse(\"filtersList_A\", model.Filters);\n $wrapper.html(filters);\n\n $('.js-close-ajax-filters', $wrapper).text(model.Products.ItemsCountText);\n\n wrapper.bind();\n\n wrapper.loading(false);\n };\n\n wrapper.bind = function bind() {\n initSliderFilters();\n\n initFilters();\n\n //close expanded filters\n if ($(window).outerWidth() < 960) closeExpandedFilters();\n\n $(window).resize(_.debounce(function () { initFilterExpander(); }, 50));\n\n if (venddProjectConfigs.FilterScrollMobileEnabled)\n openFiltersAfterReload();\n };\n\n wrapper.bind();\n\n Vendd.MessageBus.subscribe(Vendd.ProductList.Messages.GetModelSuccess, wrapper, function (envelope) {\n model = envelope.message.data.data;\n wrapper.update();\n\n //get language selector urls\n if ($('.x-control.x-language-selector').length > 0)\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ProductList.Messages.GetLanguageTranslateUrl(document.location.href));\n });\n\n Vendd.MessageBus.subscribe(Vendd.ProductList.Messages.GetLanguageTranslateUrlSuccess, wrapper, function (envelope) {\n var urlModel = envelope.message.data;\n\n $('.x-control.x-language-selector').each(function (i, wrapper) {\n for (var i = 0; i < urlModel.length; i++) {\n $('a[data-code=' + urlModel[i].Iso2Code + ']', $(wrapper)).attr('href', urlModel[i].Url);\n }\n });\n });\n\n //issue for serialize of Handlebar.NET(sync) & JS Handlebars (async) for rangeFilter.html\n Handlebars.registerHelper('serialize', function (context) {\n return (context);\n });\n\n //reload the page on back browser\n window.addEventListener('popstate', function () {\n if (($('.product-list-page').length > 0 || $('.search-products-page').length > 0) && isAjaxLoad) {\n location.reload();\n }\n }, false);\n });\n\n});\n\n","Vendd.Scripts.load(function () {\n var $wrapper = $('.x-brand-widget');\n\n if ($wrapper.length < 1)\n return;\n\n \n //On click Brands Button\n $wrapper.on('click', '.js-widget-trigger', function (e) {\n e.preventDefault();\n\n if ($(this).hasClass('x-open')) {\n $('html').removeClass('hide-sticky-btns');\n $('.js-widget-trigger', $wrapper).removeClass('x-open');\n $('.js-widget-container', $wrapper).removeClass('x-expanded');\n } else {\n $('html').addClass('hide-sticky-btns');\n $('.js-widget-trigger', $wrapper).addClass('x-open');\n $('.js-widget-container', $wrapper).addClass('x-expanded');\n\n //init height calculation\n if ($(window).outerWidth() < 960 && isTouch()) { \n calculateHeight();\n } \n \n //init Plugin for Search\n initSearch();\n\n }\n });\n\n //Calculate height on resize\n $(window).resize(function () {\n if ($(window).outerWidth() < 960 && isTouch()) {\n if ($('.js-widget-container', $wrapper).hasClass('x-expanded')) {\n calculateHeight();\n }\n }\n });\n\n //On click outside Brand Widget\n $(document).on('click', function (e) {\n\n if (!$('.js-widget-trigger', $wrapper).hasClass('x-open'))\n return;\n\n if (!$wrapper.is(e.target) && $wrapper.has(e.target).length === 0) {\n $('.js-widget-trigger', $wrapper).removeClass('x-open');\n $('.js-widget-container', $wrapper).removeClass('x-expanded');\n }\n });\n\n function calculateHeight() {\n var $container = $('.js-widget-container', $wrapper);\n var $windowHeight = $(window).height();\n var $headerHeight = $('.header-region').height();\n var $criticalHeight = $windowHeight - $headerHeight;\n\n $container.css('height', $criticalHeight);\n\n }\n\n function initSearch() {\n\n var options = {\n valueNames: ['brand']\n };\n\n var brandList = new List('brand-search', options);\n\n brandList.on('updated', function (list) {\n if (list.matchingItems.length > 0) {\n $('.no-result').hide();\n } else {\n $('.no-result').show();\n }\n });\n }\n\n});\n\n","Vendd.Scripts.load(function () {\n 'use strict';\n\n var $wrapper = $('.x-header-notification');\n\n if ($wrapper.length < 1)\n return;\n\n var wrapper = $wrapper.get(0);\n\n var model = null;\n\n wrapper.update = function () {\n var html = Vendd.Handlebars.parse(\"headerNotification_A\", model);\n wrapper.bind(html);\n\n };\n\n wrapper.bind = function (html) {\n $wrapper.html(html);\n\n $('.js-close-header-notification', $wrapper).on('click', function () {\n $('.js-header-notification', $wrapper).removeClass('visible');\n\n sessionStorage.setItem('noHeaderNotification', true);\n });\n };\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetSessionStateSuccess, $wrapper, function (envelope) {\n model = envelope.message.data;\n\n var flag = sessionStorage.getItem('noHeaderNotification');\n\n if (model.CheckoutStatus.IsDisabled && (model.CheckoutStatus.Reason === 'DailyTradingLimitReached' || model.CheckoutStatus.Reason === 'TradingRestriction' ) && flag === null) {\n wrapper.update();\n }\n });\n\n});","Vendd.Scripts.load(function () {\n 'use strict';\n\n var $wrapper = $('.x-track-trace'),\n $trackTraceForm = $('.x-track-trace-form');\n\n var model = null;\n var wrapper = $wrapper;\n\n if ($wrapper.length < 1)\n return;\n\n var trackTraceForm = $trackTraceForm.get(0);\n\n var formData = {\n providerId: 0,\n voucherCode: '',\n orderCode: ''\n };\n\n trackTraceForm.reset = function () {\n $('input[name=\"orderCode\"]', $trackTraceForm).val(\"\");\n $('select[name=\"dlProviderId\"] option:selected', $trackTraceForm).prop(\"selected\", false);\n var voucherId = getQueryStringValueByName('voucher');\n if (!voucherId) {\n $('.js-voucher', $trackTraceForm).addClass('hide');\n $('input[name=\"voucherCode\"]', $trackTraceForm).val(\"\");\n }\n \n }\n\n wrapper.update = function update() {\n wrapper.loading(true);\n\n var html = Vendd.Handlebars.parse(\"trackTraceReview_A\", model);\n wrapper.bind(html);\n \n wrapper.loading(false); \n \n }; \n\n wrapper.bind = function bind(html) {\n wrapper.html(html);\n };\n \n $trackTraceForm.on('click', '.tab-title', function () {\n \n var thisTab = $(this);\n var innerWrapper = thisTab.closest('.x-tab-panel');\n var thisTabIndex = thisTab.data('tab-index');\n\n $('li[data-tab-content-index=' + thisTabIndex + ']', innerWrapper).children('.mb-title').addClass('icon-arrow-up').removeClass('icon-arrow-down');\n $('li[data-tab-content-index=' + thisTabIndex + ']', innerWrapper).siblings().children('.mb-title').removeClass('icon-arrow-up').addClass('icon-arrow-down');\n\n thisTab.addClass('active').siblings().removeClass('active');\n $('li[data-tab-content-index=' + thisTabIndex + ']', innerWrapper).addClass('active').siblings().removeClass('active');\n\n trackTraceForm.reset();\n $('.x-voucher',$wrapper).empty();\n \n });\n\n\n $trackTraceForm.on('change', '.js-select', function () {\n $('.js-voucher', $trackTraceForm).removeClass('hide');\n });\n\n $trackTraceForm.on('click', '.js-submit-button', function (e) {\n e.preventDefault();\n e.stopPropagation();\n wrapper.loading(true);\n\n if ($('.tab-content.active', '.x-tab-panel').hasClass('voucher')) {\n if ($('select[name=\"dlProviderId\"]').length > 0) {\n if ($('select[name=\"dlProviderId\"]').val() && $('select[name=\"dlProviderId\"]').val() == 0) {\n return;\n }\n } else if (!($trackTraceForm.data('default-provider'))) {\n return;\n }\n } else if ($('.tab-content.active', '.x-tab-panel').hasClass('order')) {\n if ($('input[name=\"orderCode\"]').val() === undefined) {\n return;\n }\n }\n \n trackTraceForm.submit();\n \n \n \n });\n\n\n trackTraceForm.submit = function () {\n trackTraceForm.loading(true);\n\n if ($('.tab-content.active', '.x-tab-panel').hasClass('voucher')) {\n formData.voucherCode = $('input[name=\"voucherCode\"]').val();\n formData.orderCode = undefined;\n formData.providerId = ($('select[name=\"dlProviderId\"]').length > 0) ? $('select[name=\"dlProviderId\"]').val() : $trackTraceForm.data('default-provider');\n\n\n } else if ($('.tab-content.active', '.x-tab-panel').hasClass('order')) {\n formData.voucherCode = undefined;\n formData.orderCode = $('input[name=\"orderCode\"]').val();\n formData.providerId = undefined;\n\n }\n\n Vendd.MessageBus.publishAsync(wrapper.get(0), new Vendd.TrackTrace.Messages.GetTrackTraceModel(formData.voucherCode, formData.orderCode, formData.providerId));\n };\n\n trackTraceForm.loading = function (loading) {\n if (loading) {\n $trackTraceForm.addClass('x-loading');\n } else {\n $trackTraceForm.removeClass('x-loading');\n }\n };\n\n wrapper.loading = function loading(loading) {\n if (loading) {\n $wrapper.addClass('x-loading');\n } else {\n $wrapper.removeClass('x-loading');\n };\n };\n Vendd.MessageBus.subscribe(Vendd.TrackTrace.Messages.GetTrackTraceModelSuccess, wrapper, function (envelope) {\n\n model = envelope.message.data.model;\n wrapper.update();\n });\n\n});","Vendd.Scripts.load(function () {\n\n\tvar $wrapper = $('.x-payment-order');\n\n\tif ($wrapper.length < 1) return;\n\n\t$wrapper.each(function () {\n\t\tvar paymentOrder = this;\n\t\tvar $paymentOrder = $(paymentOrder);\n\n\t\tvar $forms = $('.x-payment-order-form', $paymentOrder);\n\n\t\tif ($forms.length < 1) return;\n\n\t\t$forms.each(function () {\n\t\t\tvar form = this;\n\t\t\tvar $form = $(form);\n\n\t\t\t//var $submit = $('.js-submit-button', $paymentOrder);\n\n\t\t\tvar $captcha = $('.recaptcha-wrapper', $form);\n\t\t\tvar captchaId = $captcha.attr('id');\n\t\t\tvar captchaWidgetId = undefined;\n\n\t\t\t// reCAPTCHA\n\t\t\tvar captchaId = \"paymentOrderCaptcha\";\n\t\t\tvar captchaWidgetId;\n\t\t\tvar $captchaElement = $form.find(\"#\" + captchaId);\n\t\t\tvar $captchaContainer = $form.find('.recaptcha-container');\n\t\t\tvar captchaEnabled = $captchaElement.length > 0 ? true : false;\n\n\t\t\t$.fn.validationEngine.validations.isPaymentOrderAmount = function (value) {\n\t\t\t\tvar decimalSeparator = LhApp.Context.Currency.DecimalSeparator || '.';\n\t\t\t\tvar nativeDecimalSeparator = '.';\n\t\t\t\tvar numericLiteral = value.replace(decimalSeparator, nativeDecimalSeparator).trim();\n\t\t\t\tvar numericRegExp = /^(?:\\d+(?:\\.\\d*)?|\\.(?:\\d+)?)$/;\n\n\t\t\t\treturn numericRegExp.test(numericLiteral);\n\t\t\t};\n\n\t\t\tvar validationOptions = {\n\t\t\t\t'billingAddress.firstName': {\n\t\t\t\t\trequired: 'firstname-required'\n\t\t\t\t},\n\t\t\t\t'billingAddress.lastName': {\n\t\t\t\t\trequired: 'lastname-required'\n\t\t\t\t},\n\t\t\t\t'billingAddress.email': {\n\t\t\t\t\trequired: 'email-required',\n\t\t\t\t\tisEmail: 'email-invalid'\n\t\t\t\t},\n\t\t\t\t'billingAddress.phone': {\n\t\t\t\t\trequired: 'phone-required'\n\t\t\t\t},\n\t\t\t\t'billingAddress.mobile': {\n\t\t\t\t\trequired: 'mobile-required'\n\t\t\t\t},\n\t\t\t\t'billingAddress.fax': {\n\t\t\t\t\t// required: 'fax-required'\n\t\t\t\t},\n\t\t\t\t'billingAddress.country': {\n\t\t\t\t\trequired: 'country-required'\n\t\t\t\t},\n\t\t\t\t'billingAddress.address': {\n\t\t\t\t\trequired: 'address-required'\n\t\t\t\t},\n\t\t\t\t'billingAddress.address2': {\n\t\t\t\t\t// required: 'address2-required'\n\t\t\t\t},\n\t\t\t\t'billingAddress.postCode': {\n\t\t\t\t\trequired: 'postcode-required'\n\t\t\t\t},\n\t\t\t\t'billingAddress.city': {\n\t\t\t\t\trequired: 'city-required'\n\t\t\t\t},\n\t\t\t\t'billingAddress.prefecture': {\n\t\t\t\t\trequired: 'prefecture-required'\n\t\t\t\t},\n\t\t\t\t'preferredAmount': {\n\t\t\t\t\trequired: 'amount-required',\n\t\t\t\t\tisPaymentOrderAmount: 'amount-invalid'\n\t\t\t\t},\n\t\t\t\t'paymentMethod': {\n\t\t\t\t\tcheckboxRequired: 'paymentmethod-required'\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tvar validationEngine = $form.validationEngine(validationOptions).data('validationEngine');\n\n\t\t\t$form.on('submit', function (e) {\n\t\t\t\tform.updateJSONFieldValues();\n\t\t\t\t//form.logInputData();\n\n\t\t\t\tif (!validationEngine.validate() || !form.validateRecaptcha()) {\n\t\t\t\t\tform.scrollToError();\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\te.stopPropagation();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tform.loading(true);\n\t\t\t});\n\n\t\t\t$form.on('change', 'select[name], input[name][type=\"radio\"]', function (e) {\n\t\t\t\tvar $field = $(this);\n\t\t\t\tvar name = $field.attr('name');\n\t\t\t\tvalidationEngine.validate(name);\n\t\t\t});\n\n\t\t\t$form.on('keyup', 'input[name], textarea[name]', function (e) {\n\t\t\t\tvar $field = $(this);\n\t\t\t\tvar name = $field.attr('name');\n\t\t\t\tvalidationEngine.validate(name);\n\t\t\t});\n\n\t\t\t$form.on('click', '.js-finloup-popup', function (e) {\n\t\t\t\tvar externalUrl = \"https://finloupms-bucket.s3.eu-central-1.amazonaws.com/externalpopup/\";\n\t\t\t\tvar content = LhApp.Context.Language === \"el\" ? \"finloup_popup_el.html\" : \"finloup_popup.html\";\n\t\t\t\tvar parent = \"?parent=\" + window.document.location;\n\t\t\t\tvar iframeUrl = externalUrl + content + parent;\n\n\t\t\t\t$.fancybox.open({\n\t\t\t\t\tsrc: iframeUrl,\n\t\t\t\t\ttype: \"iframe\",\n\t\t\t\t\ttoolbar: false,\n\t\t\t\t\tsmallBtn: true,\n\t\t\t\t\thash: null,\n\t\t\t\t\tbaseClass: 'finloup-pop-up' \n\t\t\t\t});\n\t\t\t});\n\n\t\t\tform.scrollToError = function () {\n\t\t\t\tvar $formRowsWithError = $('.form-row.with-error', $form);\n\n\t\t\t\tif ($formRowsWithError.length > 0) {\n\t\t\t\t\tvar $formRow = $formRowsWithError.first();\n\t\t\t\t\tvar scrollOffsetY = $formRow.offset().top;\n\n\t\t\t\t\t$('html,body').animate({\n\t\t\t\t\t\tscrollTop: scrollOffsetY - 100\n\t\t\t\t\t}, 600);\n\t\t\t\t}\n\n\t\t\t};\n\n\t\t\tform.logInputData = function () {\n\t\t\t\t$form.find('input').each(function () {\n\t\t\t\t\tvar $field = $(this);\n\t\t\t\t\tvar name = $field.attr('name');\n\t\t\t\t\tvar value = $field.val();\n\n\t\t\t\t\tconsole.log(name + ': \"' + value + '\"');\n\t\t\t\t});\n\t\t\t};\n\n\t\t\tform.initRecaptcha = function () {\n\n\t\t\t\tif (!captchaEnabled)\n\t\t\t\t\treturn;\n\n\t\t\t\tvar sitekey = $captchaElement.data(\"sitekey\");\n\t\t\t\tif (sitekey) {\n\t\t\t\t\tcaptchaEnabled = true;\n\t\t\t\t\tcaptchaWidgetId = grecaptcha.render(captchaId, {\n\t\t\t\t\t\t'sitekey': sitekey,\n\t\t\t\t\t\t'callback': form.recaptchaCallback\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tform.recaptchaCallback = function () {\n\t\t\t\tform.validateRecaptcha();\n\t\t\t};\n\n\t\t\tform.resetRecaptcha = function () {\n\t\t\t\t// Website must only verify the user's reCAPTCHA response token (g-recaptcha-response) once. \n\t\t\t\t// If a verify attempt has been made with a particular token, it cannot be used again. \n\t\t\t\t// Call grecaptcha.reset() to ask the end user to verify with reCAPTCHA again.\n\t\t\t\tif (captchaEnabled)\n\t\t\t\t\tgrecaptcha.reset(captchaWidgetId);\n\t\t\t};\n\n\t\t\tform.removeRecaptcha = function () {\n\t\t\t\t$captchaElement.remove();\n\t\t\t};\n\n\t\t\tform.validateRecaptcha = function () {\n\t\t\t\tif (!captchaEnabled)\n\t\t\t\t\treturn true;\n\n\t\t\t\tformData.reCaptchaCode = $captchaElement.find('.g-recaptcha-response').val();\n\n\t\t\t\tvar res = false;\n\n\t\t\t\tif (formData.reCaptchaCode) {\n\t\t\t\t\t$captchaContainer.find('.recaptcha-required').removeClass('error');\n\t\t\t\t\tres = true;\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\t$captchaContainer.find('.recaptcha-required').addClass('error');\n\t\t\t\t}\n\n\t\t\t\treturn res;\n\t\t\t};\n\n\t\t\tform.loading = function (loading) {\n\t\t\t\t$form.toggleClass('x-loading', loading);\n\t\t\t};\n\n\t\t\tform.updateJSONFieldValues = function () {\n\t\t\t\t$('.js-field-json-data', $form).each(function () {\n\t\t\t\t\tvar $field = $(this);\n\t\t\t\t\tvar name = $field.attr('name');\n\t\t\t\t\tvar value = $field.val();\n\t\t\t\t\tvar data = $field.data();\n\t\t\t\t\t//console.log('JSON data string[' + name + ']: \"' + value + '\"');\n\t\t\t\t\tvalue = value.length ? JSON.parse(value) : {};\n\t\t\t\t\tvalue = $.extend({}, value, data);\n\t\t\t\t\tvalue = JSON.stringify(data);\n\t\t\t\t\t$field.val(value);\n\t\t\t\t});\n\t\t\t\t$('.js-field-json-input', $form).each(function () {\n\t\t\t\t\tvar $field = $(this);\n\t\t\t\t\tvar fieldName = $field.attr('name');\n\t\t\t\t\tvar fieldPrefix = fieldName + '.';\n\t\t\t\t\tvar $inputs = $('input[name^=\"' + fieldPrefix + '\"]', $form);\n\t\t\t\t\tvar value = $field.val();\n\t\t\t\t\t//console.log('JSON input string[' + fieldName + ']: \"' + value + '\"');\n\t\t\t\t\tvalue = value.length ? JSON.parse(value) : {};\n\t\t\t\t\t$inputs.each(function () {\n\t\t\t\t\t\tvar $input = $(this);\n\t\t\t\t\t\tvar inputName = $input.attr('name').substr(fieldPrefix.length);\n\t\t\t\t\t\tvar inputValue = $input.val();\n\t\t\t\t\t\tvalue[inputName] = inputValue;\n\t\t\t\t\t});\n\t\t\t\t\tvalue = JSON.stringify(value);\n\t\t\t\t\t$field.val(value);\n\t\t\t\t});\n\t\t\t};\n\n\t\t\tVendd.MessageBus.subscribe(Vendd.Plugins.Messages.RecaptcaLoaded, form, form.initRecaptcha);\n\t\t});\n\t});\n});","Vendd.Scripts.load(function () {\n\n\tvar $wrapper = $('.x-warehouse-selector-popup');\n\n\tif ($wrapper.length < 1) {\n\t\treturn;\n\t}\n\n\tvar wrapper = $wrapper.get(0),\n\t\t$root,\n\t\t$steps,\n\t\t$backButton,\n\t\t$closeButton;\n\n\tvar state = {\n\t\tcurrentStep: undefined\n\t};\n\n\twrapper.init = function () {\n\t\t$root = $('.warehouse-selector-popup', $wrapper);\n\t\t$steps = $('.warehouse-selector-step', $root);\n\t\t$backButton = $('.js-back', $root);\n\t\t$closeButton = $('.js-close', $root);\n\n\t\tVendd.MessageBus.publish(wrapper, new Vendd.Widget.Messages.BindControl('x-warehouse-selector-popup'));\n\n\t\tstate.currentStep = 0;\n\n\t\twrapper.updateViewState();\n\t};\n\n\twrapper.updateViewState = function () {\n\t\t$steps.removeClass('active').eq(state.currentStep).addClass('active');\n\t\t$backButton.toggle(state.currentStep > 0);\n\t\t$closeButton.toggle(true);\n\t};\n\n\twrapper.update = function (model) {\n\t\t/* console.log('[WarehouseSelector] Popup JSON model: ' + JSON.stringify(model)); */\n\t\tvar html = Vendd.Handlebars.parse(\"warehouseSelectorPopup_A\", model);\n\t\t$wrapper.html(html);\n\t\twrapper.init();\n\t};\n\n\twrapper.loading = function (status) {\n\t\tif (status === undefined) {\n\t\t\treturn $wrapper.hasClass('x-loading');\n\t\t} else {\n\t\t\t$wrapper.toggleClass('x-loading', status);\n\t\t}\n\t};\n\n\twrapper.switchToStep = function (value) {\n\t\tif (value !== state.currentStep) {\n\t\t\t/* console.log('[WarehouseSelector] Current step: \"' + state.currentStep + '\" -> \"' + value + '\"'); */\n\t\t\tstate.currentStep = value;\n\t\t\twrapper.updateViewState();\n\t\t}\n\t};\n\n\twrapper.onShowing = function () {\n\t\twrapper.init();\n\t\twrapper.loading(true);\n\t\tVendd.MessageBus.publishAsync(wrapper, new Vendd.WarehouseSelector.Messages.GetPopupModel());\n\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.StateChanged('opening'));\n\t};\n\n\twrapper.onShown = function () {\n\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.StateChanged('opened'));\n\t};\n\n\twrapper.onHiding = function () {\n\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.StateChanged('closing'));\n\t};\n\n\twrapper.onHidden = function () {\n\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.StateChanged('closed'));\n\t};\n\n\t$wrapper.on('click', '.js-back', function (e) {\n\t\te.preventDefault();\n\t\twrapper.switchToStep(Math.max(0, state.currentStep - 1));\n\t});\n\n\t$wrapper.on('click', '.js-close', function (e) {\n\t\te.preventDefault();\n\t\t$.fancybox.close();\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetPopupModelSuccess, 'x-warehouse-selector-popup', function (envelope) {\n\t\twrapper.loading(false);\n\t\twrapper.update(envelope.message.data.data);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetPopupModelFailed, wrapper, function (envelope) {\n\t\twrapper.loading(false);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.OpenPopup, wrapper, function (envelope) {\n\t\t$.fancybox.open($wrapper, {\n\t\t\tmodal: true,\n\t\t\tbeforeShow: wrapper.onShowing,\n\t\t\tafterShow: wrapper.onShown,\n\t\t\tbeforeClose: wrapper.onHiding,\n\t\t\tafterClose: wrapper.onHidden\n\t\t});\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.ClosePopup, wrapper, function (envelope) {\n\t\t$.fancybox.close();\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetStoresSuccess, wrapper, function () {\n\t\twrapper.switchToStep(1);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetStoresFailed, wrapper, function () {\n\t\twrapper.switchToStep(0);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.SetShippingMethodSuccess, wrapper, function (envelope) {\n\t\t$.fancybox.close();\n\t});\n\n\t/* jQuery extension used by contained components */\n\t$.fn.extend({\n\t\ttoggleDisabled: function (value) {\n\t\t\treturn this\n\t\t\t\t.prop('disabled', value)\n\t\t\t\t.toggleClass('disabled', value)\n\t\t\t\t.toggleClass('x-disabled', value)\n\t\t\t\t;\n\t\t},\n\t\tselectedVal: function (value) {\n\t\t\tif (value === undefined) {\n\t\t\t\tif (this.is('[type=\"radio\"]')) {\n\t\t\t\t\treturn this.filter(':checked').val();\n\t\t\t\t} else {\n\t\t\t\t\treturn this.val();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (this.is('[type=\"radio\"]')) {\n\t\t\t\t\treturn this.filter('[value=\"' + value + '\"]').prop('checked', true);\n\t\t\t\t} else {\n\t\t\t\t\treturn this.val(value);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t});\n});\n","Vendd.Scripts.load(function () {\n\n\tfunction init(context) {\n\t\tvar $context = $(context);\n\t\tvar $wrapper = $('.x-warehouse-selector-popup-step-one_A', $context);\n\n\t\tif ($wrapper.length < 1) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar wrapper = $wrapper.get(0),\n\t\t\t$root,\n\t\t\t$postCode,\n\t\t\t$error,\n\t\t\t$submitButton;\n\n\t\tvar state = {\n\t\t\tpostCode: undefined,\n\t\t\tvalidationError: undefined\n\t\t};\n\n\t\twrapper.init = function () {\n\t\t\t$root = $('.warehouse-selector-popup-step-one', $wrapper);\n\t\t\t$postCode = $(':input[name=\"postcode\"]', $root);\n\t\t\t$error = $('.js-error', $root);\n\t\t\t$submitButton = $('.js-submit', $root);\n\n\t\t\tstate.postCode = $postCode.selectedVal() || '';\n\t\t\tstate.validationError = false;\n\n\t\t\twrapper.updateViewState();\n\t\t};\n\n\t\twrapper.updateViewState = function () {\n\t\t\t$error.toggle(state.validationError);\n\t\t\t$submitButton.toggleDisabled(state.postCode === '' || state.validationError);\n\t\t};\n\n\t\twrapper.loading = function (status) {\n\t\t\tif (status === undefined) {\n\t\t\t\treturn $wrapper.hasClass('x-loading');\n\t\t\t} else {\n\t\t\t\t$wrapper.toggleClass('x-loading', status);\n\t\t\t}\n\t\t};\n\n\t\twrapper.updatePostCode = function (value) {\n\t\t\tif (state.postCode !== value) {\n\t\t\t\tstate.postCode = value;\n\t\t\t\tstate.validationError = false;\n\t\t\t\twrapper.updateViewState();\n\t\t\t}\n\t\t};\n\n\t\t$wrapper.on('click', '.js-submit', function (e) {\n\t\t\te.preventDefault();\n\t\t\twrapper.loading(true);\n\t\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.GetStoresByPostCode(\n\t\t\t\tstate.postCode\n\t\t\t));\n\t\t});\n\n\t\t$wrapper.on('keyup', ':input[name=\"postcode\"]', function (e) {\n\t\t\te.preventDefault();\n\t\t\twrapper.updatePostCode($postCode.val());\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetStoresSuccess, wrapper, function () {\n\t\t\twrapper.loading(false);\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetStoresFailed, wrapper, function () {\n\t\t\tstate.validationError = true;\n\t\t\twrapper.updateViewState();\n\t\t\twrapper.loading(false);\n\t\t});\n\n\t\twrapper.init();\n\t}\n\n\tVendd.MessageBus.subscribe(Vendd.Widget.Messages.BindControl, 'x-warehouse-selector-popup-step-one_A', function (envelope) {\n\t\tif (envelope.message.data.context === 'x-warehouse-selector-popup') {\n\t\t\tinit(envelope.sender);\n\t\t}\n\t});\n});\n","Vendd.Scripts.load(function () {\n\n\tfunction init(context) {\n\t\tvar $context = $(context);\n\t\tvar $wrapper = $('.x-warehouse-selector-popup-step-one_B', $context);\n\n\t\tif ($wrapper.length < 1) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar wrapper = $wrapper.get(0),\n\t\t\t$root,\n\t\t\t$postCode,\n\t\t\t$postCodeButton,\n\t\t\t$area,\n\t\t\t$submitButton;\n\n\t\tvar state = {\n\t\t\tpostCode: undefined,\n\t\t\tarea: undefined\n\t\t};\n\n\t\t/* State management variables for the dynamic fetching of the GeoArea option list,\n\t\t * to enable re-fetching, given that it doesn't support immediate cancellation. */\n\t\tvar shouldReloadAreas = false;\n\t\tvar loadingAreas = false;\n\n\t\twrapper.init = function () {\n\t\t\t$root = $('.warehouse-selector-popup-step-one', $wrapper);\n\t\t\t$postCode = $(':input[name=\"postcode\"]', $root);\n\t\t\t$postCodeButton = $('.js-lookup', $root);\n\t\t\t$area = $(':input[name=\"area\"]', $root);\n\t\t\t$submitButton = $('.js-submit', $root);\n\n\t\t\tstate.postCode = $postCode.selectedVal() || '';\n\t\t\tstate.area = $area.selectedVal() || '';\n\n\t\t\twrapper.updateViewState();\n\t\t};\n\n\t\twrapper.updateViewState = function () {\n\t\t\t$postCodeButton.toggleDisabled(state.postCode === '');\n\t\t\t$area.toggleDisabled($('option', $area).length <= 1);\n\t\t\t$submitButton.toggleDisabled(state.postCode === '' || state.area === '');\n\t\t};\n\n\t\twrapper.loading = function (status) {\n\t\t\tif (status === undefined) {\n\t\t\t\treturn $wrapper.hasClass('x-loading');\n\t\t\t} else {\n\t\t\t\t$wrapper.toggleClass('x-loading', status);\n\t\t\t}\n\t\t};\n\n\t\twrapper.loadAreas = function () {\n\t\t\tif (state.postCode === '') {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (loadingAreas) {\n\t\t\t\tshouldReloadAreas = true;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t$area.find('option').slice(1).remove();\n\t\t\t$area.val('');\n\t\t\twrapper.updateArea('');\n\n\t\t\tshouldReloadAreas = false;\n\t\t\tloadingAreas = true;\n\n\t\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.GetGeoAreas(\n\t\t\t\tstate.postCode\n\t\t\t));\n\t\t};\n\n\t\twrapper.onAreasLoaded = function (model) {\n\t\t\tloadingAreas = false;\n\n\t\t\tif (shouldReloadAreas) {\n\t\t\t\twrapper.loadAreas();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (model) {\n\t\t\t\twrapper.updateAreaSelector(model);\n\t\t\t}\n\t\t};\n\n\t\twrapper.updateAreaSelector = function (model) {\n\t\t\t/* console.log('[WarehouseSelector] Areas JSON model: ' + JSON.stringify(model)); */\n\t\t\tvar html = Vendd.Handlebars.parse(\"warehouseSelectorAreaSelector_A\", model.GeoAreas);\n\t\t\t$('.x-warehouse-selector-area-selector', $wrapper).html(html);\n\t\t\twrapper.init();\n\t\t};\n\n\t\twrapper.updatePostCode = function (value) {\n\t\t\tif (state.postCode !== value) {\n\t\t\t\t/* console.log('[WarehouseSelector] PostCode: \"' + state.postCode + '\" -> \"' + value + '\"'); */\n\t\t\t\tstate.postCode = value;\n\t\t\t\twrapper.loadAreas();\n\t\t\t\twrapper.updateViewState();\n\t\t\t}\n\t\t};\n\n\t\twrapper.updateArea = function (value) {\n\t\t\tif (state.area !== value) {\n\t\t\t\t/* console.log('[WarehouseSelector] Area: \"' + state.area + '\" -> \"' + value + '\"'); */\n\t\t\t\tstate.area = value;\n\t\t\t\twrapper.updateViewState();\n\t\t\t}\n\t\t};\n\n\t\t$wrapper.on('click', '.js-lookup', function (e) {\n\t\t\te.preventDefault();\n\t\t\t/* NOTE: Will only initiate a lookup operation if postcode has been modified since last lookup. */\n\t\t\twrapper.updatePostCode($postCode.val());\n\t\t\t/* console.log(\"[WarehouseSelector] Looking up \" + state.postCode); */\n\t\t});\n\n\t\t$wrapper.on('click', '.js-submit', function (e) {\n\t\t\te.preventDefault();\n\t\t\twrapper.loading(true);\n\t\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.GetStoresByGeoArea(\n\t\t\t\tstate.postCode,\n\t\t\t\tstate.area\n\t\t\t));\n\t\t});\n\n\t\t$wrapper.on('change', ':input[name=\"postcode\"]', function (e) {\n\t\t\twrapper.updatePostCode($postCode.val());\n\t\t});\n\n\t\t$wrapper.on('keyup', ':input[name=\"postcode\"]', function (e) {\n\t\t\te.preventDefault();\n\t\t});\n\n\t\t$wrapper.on('keyup', ':input[name=\"postcode\"]', $.debounce(500, function () {\n\t\t\twrapper.updatePostCode($postCode.val());\n\t\t}));\n\n\t\t$wrapper.on('change', ':input[name=\"area\"]', function (e) {\n\t\t\twrapper.updateArea($area.val());\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetGeoAreasSuccess, wrapper, function (envelope) {\n\t\t\tvar model = envelope.message.data.data;\n\t\t\twrapper.onAreasLoaded(model);\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetGeoAreasFailed, wrapper, function () {\n\t\t\t/* TODO: Shall we provide additional error handling? */\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetStoresSuccess, wrapper, function () {\n\t\t\twrapper.loading(false);\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetStoresFailed, wrapper, function () {\n\t\t\twrapper.loading(false);\n\t\t\t/* TODO: Shall we provide additional error handling? */\n\t\t});\n\n\t\twrapper.init();\n\t}\n\n\tVendd.MessageBus.subscribe(Vendd.Widget.Messages.BindControl, 'x-warehouse-selector-popup-step-one_B', function (envelope) {\n\t\tif (envelope.message.data.context === 'x-warehouse-selector-popup') {\n\t\t\tinit(envelope.sender);\n\t\t}\n\t});\n});\n","Vendd.Scripts.load(function () {\n\n\tvar googleMaps = {\n\t\tapiUrl: 'https://maps.google.com/maps/api/',\n\t\tapiKey: LhApp.Context.Site.GoogleMapsKey,\n\t\tlanguage: LhApp.Context.Language,\n\t\tregion: LhApp.Context.Country,\n\t\tcallback: 'callback_googlemaps',\n\t\trequest: undefined,\n\t\tuseViewport: false\n\t}\n\n\tvar googleMapOptions = {\n\t\tdisableDefaultUI: true,\n\t\tzoomControl: true,\n\t\tmapTypeControl: false,\n\t\tfullscreenControl: false\n\t};\n\n\tvar googleMapsLoaded = false;\n\tvar warehouseSelectorContext = undefined;\n\n\tfunction init(context) {\n\t\tvar $context = $(context);\n\t\tvar $wrapper = $('.x-warehouse-selector-popup-step-one_C', $context);\n\n\t\tif ($wrapper.length < 1) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar wrapper = $wrapper.get(0),\n\t\t\t$root,\n\t\t\t$map,\n\t\t\t$locateButton,\n\t\t\t$address,\n\t\t\t$addressButton,\n\t\t\t$submitButton,\n\t\t\tmap,\n\t\t\tmarker;\n\n\t\tvar state = {\n\t\t\tgeolocationAccessDenied: false,\n\t\t\taddress: undefined,\n\t\t\tlocationId: undefined\n\t\t};\n\n\t\twrapper.init = function () {\n\t\t\t$root = $('.warehouse-selector-popup-step-one', $wrapper);\n\t\t\t$map = $('.map-container', $root);\n\t\t\t$locateButton = $('.js-locate', $root);\n\t\t\t$address = $(':input[name=\"address\"]', $root);\n\t\t\t$addressButton = $('.js-lookup', $root);\n\t\t\t$location = $(':input[name=\"location\"]', $root);\n\t\t\t$submitButton = $('.js-submit', $root);\n\n\t\t\t/* NOTE: The 'geolocationAccessDenied' field should not be updated after a re-init. */\n\t\t\tstate.address = $address.val() || '';\n\t\t\tstate.locationId = $location.selectedVal();\n\n\t\t\twrapper.initMap();\n\t\t\twrapper.moveMarkerToLocation(wrapper.getSelectedLocation());\n\t\t\twrapper.updateViewState();\n\t\t};\n\n\t\twrapper.initMap = function () {\n\t\t\tif (!map) {\n\t\t\t\tvar mapOptions = $.extend({}, googleMapOptions);\n\n\t\t\t\tvar mapZoom = parseFloat($map.data('map-zoom'));\n\t\t\t\tvar mapLatitude = parseFloat($map.data('map-latitude'));\n\t\t\t\tvar mapLongitude = parseFloat($map.data('map-longitude'));\n\n\t\t\t\tif (!isNaN(mapZoom)) {\n\t\t\t\t\tmapOptions = $.extend(mapOptions, {\n\t\t\t\t\t\tzoom: mapZoom\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tif (!isNaN(mapLatitude) && !isNaN(mapLongitude)) {\n\t\t\t\t\tmapOptions = $.extend(mapOptions, {\n\t\t\t\t\t\tcenter: {\n\t\t\t\t\t\t\tlat: mapLatitude,\n\t\t\t\t\t\t\tlng: mapLongitude\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\tmap = new google.maps.Map($map.get(0), mapOptions);\n\t\t\t\tmap.addListener('click', wrapper.onMapClick);\n\t\t\t}\n\n\t\t\tif (!marker) {\n\t\t\t\tvar markerOptions = {\n\t\t\t\t\tdraggable: true\n\t\t\t\t};\n\n\t\t\t\tmarker = new google.maps.Marker(markerOptions);\n\t\t\t\tmarker.addListener('dragend', wrapper.onMarkerDragEnd);\n\t\t\t}\n\t\t};\n\n\t\twrapper.updateViewState = function () {\n\t\t\t$locateButton.toggleDisabled(state.geolocationAccessDenied);\n\t\t\t$addressButton.toggleDisabled(state.address === '');\n\t\t\t$submitButton.toggleDisabled(state.locationId === undefined);\n\t\t};\n\n\t\twrapper.loading = function (status) {\n\t\t\tif (status === undefined) {\n\t\t\t\treturn $wrapper.hasClass('x-loading');\n\t\t\t}\n\t\t\telse {\n\t\t\t\t$wrapper.toggleClass('x-loading', status);\n\t\t\t}\n\t\t};\n\n\t\twrapper.getSelectedLocation = function () {\n\t\t\tvar $selectedLocation = $location.filter('[value=\"' + state.locationId + '\"]');\n\t\t\treturn convertDataToModel($selectedLocation.data());\n\t\t};\n\n\t\twrapper.moveMarkerToLocation = function (location) {\n\t\t\tif (location) {\n\t\t\t\tvar position = new google.maps.LatLng({\n\t\t\t\t\tlat: location.Coordinates.Latitude,\n\t\t\t\t\tlng: location.Coordinates.Longitude\n\t\t\t\t});\n\n\t\t\t\tvar isVisible = marker.getMap() && marker.getPosition();\n\n\t\t\t\tmarker.setTitle(location.Address);\n\t\t\t\tmarker.setPosition(position);\n\t\t\t\tmarker.setMap(map);\n\n\t\t\t\tif (!isVisible) {\n\t\t\t\t\t/* Avoid using panTo(...) method until the map initializes and becomes \n\t\t\t\t\t * visible to the user; use setCenter(...) instead. */\n\t\t\t\t\tmap.setCenter(position);\n\t\t\t\t\tmap.setZoom(18);\n\t\t\t\t}\n\t\t\t\telse if (location.Viewport && googleMaps.useViewport) {\n\t\t\t\t\tmap.fitBounds({\n\t\t\t\t\t\tsouth: location.Viewport.Southwest.Latitude,\n\t\t\t\t\t\twest: location.Viewport.Southwest.Longitude,\n\t\t\t\t\t\tnorth: location.Viewport.Northeast.Latitude,\n\t\t\t\t\t\teast: location.Viewport.Northeast.Longitude\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tmap.panTo(position);\n\t\t\t\t\tmap.setZoom(18);\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\tmarker.setMap(null);\n\t\t\t\tmarker.setPosition(null);\n\t\t\t}\n\n\t\t\twrapper.updateViewState();\n\t\t}\n\n\t\twrapper.updateMarkerPosition = function (position) {\n\t\t\tif (position) {\n\t\t\t\tmarker.setPosition(position);\n\t\t\t\tmarker.setMap(map);\n\t\t\t\twrapper.reverseGeocode();\n\t\t\t}\n\t\t\telse {\n\t\t\t\tmarker.setMap(null);\n\t\t\t\tmarker.setPosition(null);\n\t\t\t}\n\n\t\t\twrapper.updateViewState();\n\t\t};\n\n\t\twrapper.updateAddress = function (address) {\n\t\t\tif (state.address !== address) {\n\t\t\t\tstate.address = address;\n\t\t\t\twrapper.geocode();\n\t\t\t\twrapper.updateViewState();\n\t\t\t}\n\t\t};\n\n\t\twrapper.updateLocationId = function (locationId) {\n\t\t\tif (state.locationId !== locationId) {\n\t\t\t\tstate.locationId = locationId;\n\t\t\t\twrapper.moveMarkerToLocation(wrapper.getSelectedLocation());\n\t\t\t\twrapper.updateViewState();\n\t\t\t}\n\t\t};\n\n\t\twrapper.updateAndSelectLocationSuggestion = function (location) {\n\t\t\tvar items = [{ IsSelected: true, Value: location }];\n\t\t\tvar model = { Items: items };\n\t\t\tvar html = Vendd.Handlebars.parse(\"warehouseSelectorLocationSelector_A\", model);\n\t\t\t$('.x-warehouse-selector-location-selector', $root).html(html);\n\t\t\twrapper.init();\n\t\t}\n\n\t\twrapper.updateLocationSuggestions = function (locations) {\n\t\t\tvar items = $.map(locations, function (location) {\n\t\t\t\treturn { IsSelected: false, Value: location };\n\t\t\t});\n\t\t\tvar model = { Items: items };\n\t\t\tvar html = Vendd.Handlebars.parse(\"warehouseSelectorLocationSelector_A\", model);\n\t\t\t$('.x-warehouse-selector-location-selector', $root).html(html);\n\t\t\twrapper.init();\n\t\t}\n\n\t\t/* Google geocoding and reverse-geocoding services */\n\n\t\twrapper.geocoding = function (status) {\n\t\t\tif (status === undefined) {\n\t\t\t\treturn $wrapper.hasClass('x-geocoding');\n\t\t\t}\n\t\t\telse {\n\t\t\t\t$wrapper.toggleClass('x-geocoding', status);\n\t\t\t}\n\t\t}\n\n\t\twrapper.reverseGeocoding = function (status) {\n\t\t\tif (status === undefined) {\n\t\t\t\treturn $wrapper.hasClass('x-reverse-geocoding');\n\t\t\t}\n\t\t\telse {\n\t\t\t\t$wrapper.toggleClass('x-reverse-geocoding', status);\n\t\t\t}\n\t\t}\n\n\t\twrapper.geocode = function () {\n\t\t\twrapper.cancelGeocode();\n\n\t\t\tif (state.address === '') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tgoogleMaps.request = $.ajax({\n\t\t\t\turl: googleMaps.apiUrl + 'geocode/json',\n\t\t\t\ttype: 'GET',\n\t\t\t\tdata: {\n\t\t\t\t\tkey: googleMaps.apiKey,\n\t\t\t\t\tlanguage: googleMaps.language,\n\t\t\t\t\tregion: googleMaps.region,\n\t\t\t\t\taddress: state.address,\n\t\t\t\t},\n\t\t\t\tbeforeSend: function (jqXHR) {\n\t\t\t\t\twrapper.geocoding(true);\n\t\t\t\t},\n\t\t\t\tcomplete: function (jqXHR, status) {\n\t\t\t\t\tgoogleMaps.request = undefined;\n\t\t\t\t\twrapper.geocoding(false);\n\t\t\t\t},\n\t\t\t\terror: function (jqXHR, status, error) {\n\t\t\t\t\tif (status === 'abort') {\n\t\t\t\t\t\treturn; /* User cancelled request ignore. */\n\t\t\t\t\t}\n\t\t\t\t\tconsole.log('' + error);\n\t\t\t\t},\n\t\t\t\tsuccess: function (data, status, jqXHR) {\n\t\t\t\t\tif (data && data.status === 'OK' && data.results && data.results.length > 0) {\n\t\t\t\t\t\tvar model = convertPlacesToModel(data.results);\n\t\t\t\t\t\tif (model.length === 1) {\n\t\t\t\t\t\t\twrapper.updateAndSelectLocationSuggestion(model[0]);\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if (model.length > 1) {\n\t\t\t\t\t\t\twrapper.updateLocationSuggestions(model);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse if (data && data.error_message) {\n\t\t\t\t\t\ttoastr.error(data.error_message);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\twrapper.reverseGeocode = function () {\n\t\t\twrapper.cancelGeocode();\n\n\t\t\tif (!marker.getMap()) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tgoogleMaps.request = $.ajax({\n\t\t\t\turl: googleMaps.apiUrl + 'geocode/json',\n\t\t\t\ttype: 'GET',\n\t\t\t\tdata: {\n\t\t\t\t\tkey: googleMaps.apiKey,\n\t\t\t\t\tlanguage: googleMaps.language,\n\t\t\t\t\tregion: googleMaps.region,\n\t\t\t\t\tlatlng: marker.getPosition().toUrlValue()\n\t\t\t\t},\n\t\t\t\tbeforeSend: function (jqXHR) {\n\t\t\t\t\twrapper.reverseGeocoding(true);\n\t\t\t\t},\n\t\t\t\tcomplete: function (jqXHR, status) {\n\t\t\t\t\tgoogleMaps.request = undefined;\n\t\t\t\t\twrapper.reverseGeocoding(false);\n\t\t\t\t},\n\t\t\t\terror: function (jqXHR, status, error) {\n\t\t\t\t\tif (status === 'abort') {\n\t\t\t\t\t\treturn; /* User cancelled request ignore. */\n\t\t\t\t\t}\n\t\t\t\t\tconsole.log('' + error);\n\t\t\t\t},\n\t\t\t\tsuccess: function (data, status, jqXHR) {\n\t\t\t\t\tif (data && data.status === 'OK' && data.results && data.results.length > 0) {\n\t\t\t\t\t\tvar model = convertPlacesToModel(data.results);\n\t\t\t\t\t\tif (model.length) {\n\t\t\t\t\t\t\twrapper.updateAndSelectLocationSuggestion(model[0]);\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\twrapper.updateLocationSuggestions([]);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse if (data && data.error_message) {\n\t\t\t\t\t\ttoastr.error(data.error_message);\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t});\n\t\t}\n\n\t\twrapper.cancelGeocode = function () {\n\t\t\tif (googleMaps.request !== undefined) {\n\t\t\t\tgoogleMaps.request.abort();\n\t\t\t\tgoogleMaps.request = undefined;\n\t\t\t}\n\t\t};\n\n\t\t/* Event handlers */\n\n\t\twrapper.onMapClick = function (e) {\n\t\t\twrapper.updateMarkerPosition(e.latLng);\n\t\t};\n\n\t\twrapper.onMarkerDragEnd = function (e) {\n\t\t\twrapper.updateMarkerPosition(e.latLng);\n\t\t};\n\n\t\t$wrapper.on('click', '.js-locate', function (e) {\n\t\t\te.preventDefault();\n\n\t\t\tif (navigator.geolocation) {\n\t\t\t\tnavigator.geolocation.getCurrentPosition(\n\t\t\t\t\tfunction (position) {\n\t\t\t\t\t\tvar latLng = new google.maps.LatLng({\n\t\t\t\t\t\t\tlat: position.coords.latitude,\n\t\t\t\t\t\t\tlng: position.coords.longitude,\n\t\t\t\t\t\t});\n\t\t\t\t\t\twrapper.updateMarkerPosition(latLng);\n\t\t\t\t\t},\n\t\t\t\t\tfunction (error) {\n\t\t\t\t\t\ttoastr.error(error.message);\n\t\t\t\t\t\tstate.geolocationAccessDenied = true;\n\t\t\t\t\t\twrapper.updateViewState();\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t});\n\n\t\t$wrapper.on('click', '.js-lookup', function (e) {\n\t\t\te.preventDefault();\n\t\t\twrapper.geocode();\n\t\t});\n\n\t\t$wrapper.on('change', ':input[name=\"address\"]', function () {\n\t\t\twrapper.updateAddress($address.val());\n\t\t});\n\n\t\t$wrapper.on('keyup', ':input[name=\"address\"]', function (e) {\n\t\t\te.preventDefault();\n\t\t});\n\n\t\t$wrapper.on('keyup', ':input[name=\"address\"]', $.debounce(500, function () {\n\t\t\twrapper.updateAddress($address.val());\n\t\t}));\n\n\t\t$wrapper.on('change', ':input[name=\"location\"]', function (e) {\n\t\t\te.preventDefault();\n\t\t\twrapper.updateLocationId($location.selectedVal());\n\t\t});\n\n\t\t$wrapper.on('click', '.js-submit', function (e) {\n\t\t\te.preventDefault();\n\t\t\twrapper.loading(true);\n\t\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.GetStoresByLocation(\n\t\t\t\twrapper.getSelectedLocation()\n\t\t\t));\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetStoresSuccess, wrapper, function () {\n\t\t\twrapper.loading(false);\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetStoresFailed, wrapper, function () {\n\t\t\twrapper.loading(false);\n\t\t\t/* TODO: Shall we provide additional error handling? */\n\t\t});\n\n\t\twrapper.init();\n\t}\n\n\tVendd.MessageBus.subscribe(Vendd.Widget.Messages.BindControl, 'x-warehouse-selector-popup-step-one_C', function (envelope) {\n\t\tif (envelope.message.data.context === 'x-warehouse-selector-popup') {\n\t\t\twarehouseSelectorContext = envelope.sender;\n\n\t\t\tinstallScript({\n\t\t\t\tsrc: googleMaps.apiUrl + 'js?key=' + googleMaps.apiKey + '&language=' + googleMaps.language + '&callback=' + googleMaps.callback,\n\t\t\t\tasync: true,\n\t\t\t\tdefer: true\n\t\t\t});\n\n\t\t\tif (googleMapsLoaded) {\n\t\t\t\tinit(warehouseSelectorContext);\n\t\t\t}\n\t\t}\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.Plugins.Messages.GoogleMapsLoaded, 'x-warehouse-selector-popup-step-one_C', function (envelope) {\n\t\tgoogleMapsLoaded = true;\n\n\t\tif (warehouseSelectorContext) {\n\t\t\tinit(warehouseSelectorContext);\n\t\t}\n\t});\n\n\n\t/* Helpers */\n\n\tfunction installScript(options) {\n\t\tvar baseUrl = options.src.match(/[^?]*/)[0]; /* Absolute URL without the query part. */\n\n\t\tif (!$('script[src^=\"' + baseUrl + '\"]').length) {\n\t\t\t/* console.log('[WarehouseSelector] Installing script: ' + options.src); */\n\t\t\tvar script = $.extend(document.createElement('script'), options);\n\t\t\tvar scripts = document.getElementsByTagName('script');\n\t\t\tscripts[0].parentNode.appendChild(script);\n\t\t}\n\t}\n\n\tfunction convertPlacesToModel(places) {\n\t\tvar model = [];\n\t\t$.each(places, function (index, place) {\n\t\t\t/* console.log('Types: ' + JSON.stringify(place.types)); */\n\t\t\tif (place.types.includes('street_address') ||\n\t\t\t\tplace.types.includes('intersection') ||\n\t\t\t\tplace.types.includes('premise') ||\n\t\t\t\tplace.types.includes('subpremise') ||\n\t\t\t\tplace.types.includes('establishment') ||\n\t\t\t\tplace.types.includes('point_of_interest')) {\n\t\t\t\tmodel.push(convertPlaceToModel(place));\n\t\t\t}\n\t\t});\n\t\treturn model;\n\t}\n\n\tfunction convertPlaceToModel(place) {\n\t\tif (place) {\n\t\t\t/* console.log('[WarehouseSelector] Place: ' + JSON.stringify(place)); */\n\t\t\treturn {\n\t\t\t\tId: place.place_id,\n\t\t\t\tAddress: place.formatted_address,\n\t\t\t\tAddressComponents: {\n\t\t\t\t\tStreetNumber: getAddressComponent(place.address_components, 'street_number'),\n\t\t\t\t\tStreetName: getAddressComponent(place.address_components, 'route'),\n\t\t\t\t\tArea: getAddressComponent(place.address_components, 'administrative_area_level_3'),\n\t\t\t\t\tCity: getAddressComponent(place.address_components, 'locality'),\n\t\t\t\t\tPrefecture: getAddressComponent(place.address_components, 'administrative_area_level_2'),\n\t\t\t\t\tPostalCode: getAddressComponent(place.address_components, 'postal_code'),\n\t\t\t\t\tCountryCode: getAddressComponent(place.address_components, 'country')\n\t\t\t\t},\n\t\t\t\tCoordinates: {\n\t\t\t\t\tLatitude: place.geometry.location.lat,\n\t\t\t\t\tLongitude: place.geometry.location.lng\n\t\t\t\t},\n\t\t\t\tViewport: {\n\t\t\t\t\tNortheast: {\n\t\t\t\t\t\tLatitude: place.geometry.viewport.northeast.lat,\n\t\t\t\t\t\tLongitude: place.geometry.viewport.northeast.lng\n\t\t\t\t\t},\n\t\t\t\t\tSouthwest: {\n\t\t\t\t\t\tLatitude: place.geometry.viewport.southwest.lat,\n\t\t\t\t\t\tLongitude: place.geometry.viewport.southwest.lng\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t}\n\n\tfunction getAddressComponent(components, fieldType) {\n\t\tvar value = undefined;\n\t\t$.each(components, function (index, component) {\n\t\t\tif (component.types && component.types.includes(fieldType)) {\n\t\t\t\tvalue = component.short_name;\n\t\t\t\treturn false;\n\t\t\t}\n\t\t});\n\t\treturn value;\n\t}\n\n\tfunction convertDataToModel(data) {\n\t\tif (data) {\n\t\t\treturn {\n\t\t\t\tId: data.locationId,\n\t\t\t\tAddress: data.locationAddress,\n\t\t\t\tAddressComponents: {\n\t\t\t\t\tStreetNumber: data.locationStreetNumber,\n\t\t\t\t\tStreetName: data.locationStreetName,\n\t\t\t\t\tArea: data.locationArea,\n\t\t\t\t\tCity: data.locationCity,\n\t\t\t\t\tPrefecture: data.locationPrefecture,\n\t\t\t\t\tPostalCode: data.locationPostalCode,\n\t\t\t\t\tCountryCode: data.locationCountryCode\n\t\t\t\t},\n\t\t\t\tCoordinates: {\n\t\t\t\t\tLatitude: parseFloat(data.locationLatitude),\n\t\t\t\t\tLongitude: parseFloat(data.locationLongitude)\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t}\n});\n","Vendd.Scripts.load(function () {\n\n\tfunction init(context) {\n\t\tvar $context = $(context);\n\t\tvar $wrapper = $('.x-warehouse-selector-popup-step-two', $context);\n\n\t\tif ($wrapper.length < 1) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar wrapper = $wrapper.get(0),\n\t\t\t$root,\n\t\t\t$formDelivery,\n\t\t\t$formFromStore,\n\t\t\t$store,\n\t\t\t$submitDeliveryButton,\n\t\t\t$submitFromStoreButton;\n\n\t\tvar state = {\n\t\t\tsupportsDelivery: undefined,\n\t\t\tsupportsFromStore: undefined,\n\t\t\tstore: undefined\n\t\t};\n\n\t\twrapper.init = function () {\n\t\t\t$root = $('.warehouse-selector-popup-step-two', $wrapper);\n\t\t\t$formDelivery = $('.js-form-delivery', $root);\n\t\t\t$formFromStore = $('.js-form-fromstore', $root);\n\t\t\t$store = $(':input[name=\"store\"]', $root);\n\t\t\t$submitDeliveryButton = $('.js-submit-delivery', $root);\n\t\t\t$submitFromStoreButton = $('.js-submit-fromstore', $root);\n\n\t\t\tstate.supportsDelivery = $root.data('supports-delivery') === 'true';\n\t\t\tstate.supportsFromStore = $root.data('supports-fromstore') === 'true';\n\t\t\tstate.store = $store.selectedVal() || '';\n\n\t\t\twrapper.updateViewState();\n\t\t};\n\n\t\twrapper.updateViewState = function () {\n\t\t\t$formDelivery.toggleClass('js-active', state.supportsDelivery);\n\t\t\t$formFromStore.toggleClass('js-active', state.supportsFromStore);\n\t\t\t$submitDeliveryButton.toggleDisabled(!state.supportsDelivery);\n\t\t\t$submitFromStoreButton.toggleDisabled(!state.supportsFromStore || state.store === '');\n\t\t};\n\n\t\twrapper.update = function (model) {\n\t\t\t//console.log('[WarehouseSelector] Selected store: ' + state.store);\n\t\t\t//console.log('[WarehouseSelector] Stores JSON model: ' + JSON.stringify(model));\n\t\t\tvar html = Vendd.Handlebars.parse(\"warehouseSelectorStoreSelector_A\", model.Stores);\n\t\t\tvar $selector = $('.x-warehouse-selector-store-selector', $root).html(html);\n\t\t\tvar $stores = $(':input[name=\"store\"]', $selector);\n\t\t\t$stores.selectedVal(state.store);\n\t\t\t$root.data('supports-delivery', model.IsDeliveryShippingMethodSupported ? 'true' : 'false');\n\t\t\t$root.data('supports-fromstore', model.IsFromStoreShippingMethodSupported ? 'true' : 'false');\n\t\t\twrapper.init();\n\t\t};\n\n\t\twrapper.loading = function (status) {\n\t\t\tif (status === undefined) {\n\t\t\t\treturn $wrapper.hasClass('x-loading');\n\t\t\t} else {\n\t\t\t\t$wrapper.toggleClass('x-loading', status);\n\t\t\t}\n\t\t};\n\n\t\twrapper.updateStore = function (value) {\n\t\t\tif (state.store !== value) {\n\t\t\t\tconsole.log('[WarehouseSelector] Store: \"' + state.store + '\" -> \"' + value + '\"');\n\t\t\t\tstate.store = value;\n\t\t\t\twrapper.updateViewState();\n\t\t\t}\n\t\t};\n\n\t\t$wrapper.on('click', '.js-submit-delivery', function (e) {\n\t\t\te.preventDefault();\n\t\t\twrapper.loading(true);\n\t\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.SetDeliveryShippingMethod());\n\t\t});\n\n\t\t$wrapper.on('click', '.js-submit-fromstore', function (e) {\n\t\t\te.preventDefault();\n\t\t\twrapper.loading(true);\n\t\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.SetFromStoreShippingMethod(\n\t\t\t\tstate.store\n\t\t\t));\n\t\t});\n\n\t\t$wrapper.on('change', ':input[name=\"store\"]', function (e) {\n\t\t\twrapper.updateStore($store.selectedVal());\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetStoresSuccess, wrapper, function (envelope) {\n\t\t\twrapper.update(envelope.message.data.data);\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.SetShippingMethodSuccess, wrapper, function (envelope) {\n\t\t\twrapper.loading(false);\n\t\t});\n\n\t\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.SetShippingMethodFailed, wrapper, function (envelope) {\n\t\t\twrapper.loading(false); /* TODO: Handle error. */\n\t\t});\n\n\t\twrapper.init();\n\t}\n\n\tVendd.MessageBus.subscribe(Vendd.Widget.Messages.BindControl, 'x-warehouse-selector-popup-step-two', function (envelope) {\n\t\tif (envelope.message.data.context === 'x-warehouse-selector-popup') {\n\t\t\tinit(envelope.sender);\n\t\t}\n\t});\n});\n","Vendd.Scripts.load(function () {\n\n\tvar $wrapper = $('.x-warehouse-selector-widget');\n\n\tif ($wrapper.length < 1) {\n\t\treturn;\n\t}\n\n\tvar wrapper = $wrapper.get(0),\n\t\t$root,\n\t\t$button;\n\n\tvar state = {\n\t\tmode: undefined,\n\t\tisDisplayed: undefined,\n\t\tisRequired: undefined,\n\t\tisSpecified: undefined,\n\t\tselectionKey: undefined,\n\t\tforceDisplay: undefined\n\t};\n\n\tfunction shouldOpenUnconditionally() {\n\t\treturn state.forceDisplay;\n\t}\n\tfunction shouldOpenOnStartup() {\n\t\treturn shouldOpenUnconditionally() || !state.isSpecified && state.mode === 'startup' && !state.isDisplayed;\n\t}\n\tfunction shouldOpenOnAddToCart() {\n\t\treturn shouldOpenOnStartup() || !state.isSpecified && state.mode === 'addtocart' && (!state.isDisplayed || state.isRequired);\n\t}\n\tfunction shouldOpenOnCheckout() {\n\t\treturn shouldOpenOnAddToCart() || !state.isSpecified && state.mode === 'checkout' && (!state.isDisplayed || state.isRequired);\n\t}\n\tfunction shouldOpen() {\n\t\treturn !state.isSpecified;\n\t}\n\n\tvar shouldOpenConditions = {\n\t\t'force': shouldOpenUnconditionally,\n\t\t'startup': shouldOpenOnStartup,\n\t\t'addtocart': shouldOpenOnAddToCart,\n\t\t'checkout': shouldOpenOnCheckout,\n\t\t'default': shouldOpen\n\t};\n\n\twrapper.init = function () {\n\t\t$root = $('.warehouse-selector-widget', $wrapper);\n\t\t$button = $('.js-select-warehouse', $root);\n\t\t$button.toggleDisabled($('.x-warehouse-selector-popup').length === 0);\n\n\t\tvar data = $root.data();\n\t\tvar selectionKey = data.selectionKey;\n\n\t\tif ((state.selectionKey !== undefined) && (state.selectionKey !== selectionKey)) {\n\t\t\twindow.location.reload();\n\t\t\treturn;\n\t\t}\n\n\t\tstate.mode = data.displayMode;\n\t\tstate.isDisplayed = !!parseInt(data.displayCount);\n\t\tstate.isRequired = !!parseInt(data.isRequired);\n\t\tstate.isSpecified = !!parseInt(data.isSpecified);\n\t\tstate.selectionKey = selectionKey;\n\t\tstate.forceDisplay = !!parseInt(data.forceDisplay);\n\n\t\t/* console.log('[WarehouseSelector] Data: ' + JSON.stringify($root.data())); */\n\t\t/* console.log('[WarehouseSelector] Displayed: ' + state.isDisplayed + ', Required: ' + state.isRequired + ', Specified: ' + state.isSpecified); */\n\n\t\t$wrapper.css({ display: '' });\n\t\twrapper.open('startup');\n\t};\n\n\t/** Opens the warehouse popup selector conditionally\n\t * \n\t * @param {any} condition Controls the condition that should be met to open the popup selector.\n\t *\t\tPossible values are:\n\t *\t\t\ttrue (or undefined): Opens the selector unconditionally (force)\n\t *\t\t\tfalse : Opens only if still not specified.\n\t *\t\t\t'startup' : Once upon landing, if still not specified.\n\t *\t\t\t'addtocart' : Upon adding something to cart, if still not specified; only once if not required.\n\t *\t\t\t'checkout' : Upon proceeding to checkout, if still not specified; only once if not required.\n\t * @returns true if the popup selector opens; false otherwise.\n\t */\n\twrapper.open = function (condition) {\n\t\tconsole.log('[WarehouseSelector] Displayed: ' + state.isDisplayed + ', Required: ' + state.isRequired + ', Specified: ' + state.isSpecified);\n\t\tif ((condition === undefined) ||\n\t\t\t(condition === true) ||\n\t\t\t(condition === false && !state.isSpecified) ||\n\t\t\t(typeof shouldOpenConditions[condition] === 'function' && shouldOpenConditions[condition]())) {\n\t\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.OpenPopup());\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t};\n\n\t/* Opens the warehouse popup selector as part of a jQuery trigger('addtocart') operation.\n\t * \n\t * Example:\n\t * \n\t *\tif ($('.x-warehouse-selector-widget').trigger('addtocart').hasClass('opening')) {\n\t *\t\t// The warehouse selector is installed and about to open.\n\t *\t}\n\t */\n\twrapper.onaddtocart = function () {\n\t\twrapper.open('addtocart');\n\t};\n\n\t/* Opens the warehouse popup selector as part of a jQuery trigger('checkout') operation.\n\t *\n\t * Example:\n\t *\n\t *\tif ($('.x-warehouse-selector-widget').trigger('checkout').hasClass('opening')) {\n\t *\t\t// The warehouse selector is installed and about to open.\n\t *\t}\n\t */\n\twrapper.oncheckout = function () {\n\t\twrapper.open('checkout');\n\t};\n\n\twrapper.refresh = function () {\n\t\twrapper.loading(true);\n\t\tVendd.MessageBus.publish(wrapper, new Vendd.WarehouseSelector.Messages.GetModel());\n\t};\n\n\twrapper.update = function (model) {\n\t\t/* console.log('[WarehouseSelector] Widget JSON model: ' + JSON.stringify(model)); */\n\t\tvar html = Vendd.Handlebars.parse(\"warehouseSelectorWidget_A\", model);\n\t\t$wrapper.html(html);\n\t\twrapper.init();\n\t};\n\n\twrapper.loading = function (status) {\n\t\tif (status === undefined) {\n\t\t\treturn $wrapper.hasClass('x-loading');\n\t\t} else {\n\t\t\t$wrapper.toggleClass('x-loading', status);\n\t\t}\n\t};\n\n\t$wrapper.on('click', '.js-select-warehouse', function (e) {\n\t\te.preventDefault();\n\t\twrapper.open();\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetModelSuccess, wrapper, function (envelope) {\n\t\twrapper.loading(false);\n\t\twrapper.update(envelope.message.data.data);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.GetModelFailed, wrapper, function () {\n\t\twrapper.loading(false);\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.SetShippingMethodSuccess, wrapper, function () {\n\t\twrapper.refresh();\n\t});\n\n\tVendd.MessageBus.subscribe(Vendd.WarehouseSelector.Messages.StateChanged, wrapper, function (envelope) {\n\t\t/* console.log('[WarehouseSelector] Modal dialog state changed: ' + envelope.message.data.state); */\n\t\t$wrapper.removeClass('opening opened closing closed').addClass(envelope.message.data.state);\n\t\tstate.isDisplayed = true;\n\t});\n\n\n\t/* Initialization */\n\n\t/* \n\t * NOTE: The 'wrapper.init()' method initializes the widget using the static HTML data, which might\n\t * be stale, due to aggressive caching of CDNs. Calling the 'wrapper.refresh()' method, forces a\n\t * dynamic fetch of the widget's most up-to-date content model (preventing unecessary display of the\n\t * popup selector).\n\t * \n\t * PS. It might be a good idea to make this an back-office controlled option.\n\t * \n\t * --charizakis (2021-01-21)\n\t */\n\twrapper.refresh(); /* - OR - wrapper.init(); */\n});\n","Vendd.Scripts.load(function () {\n\n var $wrappers = $('.x-project-agora-banner');\n\n if ($wrappers.length < 1)\n return;\n\n $wrappers.each(function () {\n var $wrapper = $(this);\n var wrapper = $wrapper.get(0);\n\n var trackingId = undefined; // Set upon successful banner initialization.\n\n wrapper.init = function () {\n var $component = $('.project-agora-banner', $wrapper);\n var data = $component.data();\n\n trackingId = $('.js-banner', $wrapper).data('project-agora-id');\n\n if (trackingId) {\n Vendd.MessageBus.publish(wrapper, new Vendd.ProjectAgora.Messages.TrackBannerImpression(trackingId));\n }\n else if (data.asyncLoad) {\n Vendd.MessageBus.publishAsync(wrapper, new Vendd.ProjectAgora.Messages.GetBanner(\n data.widgetId,\n data.filterSearchTerm,\n data.filterCategoryPathComponents\n ));\n }\n };\n\n wrapper.onGetBannerSuccess = function (response) {\n if (trackingId) {\n return; // Prevent updates on already successfully initialized banners.\n }\n\n var $component = $('.project-agora-banner', $wrapper);\n var data = $component.data();\n\n var model = response.message.data.model;\n\n if (data.widgetId === model.WidgetId) {\n var html = Vendd.Handlebars.parse(\"projectAgoraBanner_A\", model);\n $wrapper.empty().append(html);\n wrapper.init();\n }\n }\n\n wrapper.onGetBannerFailure = function (response) {\n // Nothing to be done.\n }\n\n Vendd.MessageBus.subscribe(Vendd.ProjectAgora.Messages.GetBannerSuccess, wrapper, wrapper.onGetBannerSuccess);\n Vendd.MessageBus.subscribe(Vendd.ProjectAgora.Messages.GetBannerFailure, wrapper, wrapper.onGetBannerFailure);\n\n wrapper.init();\n });\n});\n","Vendd.Scripts.load(function () {\n\n var $wrapper = $('.dynamic-discount-banners');\n\n if ($wrapper.length < 1) return;\n\n var model = null, html, discounts = [], popUpIsOpen = false;\n var cookieDuration = $wrapper.data('cookie-duration') || 1; //duration in days\n\n function initDynamicDiscountBanners() {\n //get an array with discount ids\n getDiscounts();\n\n var cookie = Cookies.get('dynamicDiscountCookie');\n\n if (!cookie || typeof cookie === \"undefined\") {\n //init pop up\n initPopUp(cookie);\n\n } else {\n //get discount ids from cookie\n var displayedDiscounts = JSON.parse(Cookies.get(\"dynamicDiscountCookie\"));\n //check if there is difference\n var featuredDiscounts = _.difference(discounts, displayedDiscounts);\n\n if (featuredDiscounts.length < 1) return; \n\n //get featured discounts from model\n var filteredItems = _.filter(model.Items, function (item) {\n if (_.contains(featuredDiscounts, item.Discount.Id))\n return item;\n });\n\n //change model\n model.Items = filteredItems;\n //init poop up\n initPopUp(cookie);\n }\n \n };\n\n function initPopUp(cookie) {\n\n if (popUpIsOpen) return;\n\n html = Vendd.Handlebars.parse(\"dynamicDiscountBanners_A\", model);\n\n $.fancybox.open(html, {\n type: 'iframe',\n touch: false,\n fitToView: false,\n autoSize: false,\n closeClick: false,\n openEffect: 'none',\n closeEffect: 'none',\n padding: 0,\n beforeShow: function () {\n if (cookie) Cookies.remove('dynamicDiscountCookie');\n popUpIsOpen = true;\n },\n afterClose: function () {\n Cookies.set(\"dynamicDiscountCookie\", discounts, { expires: cookieDuration, samesite: 'Lax' });\n popUpIsOpen = false;\n }\n });\n }\n\n //get an array with discount ids\n function getDiscounts() {\n _.each(model.Items, function (item) {\n discounts.push(item.Discount.Id);\n });\n\n return discounts; \n };\n\n //when there is a change in cart\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Changed, \"DynamicDiscountBanners\", function (envelope) {\n var data = envelope.message.data;\n var noDiscountCookie = Cookies.get('noDynamicDiscountCookie');\n var popupCookie = Cookies.get('dynamicDiscountCookie');\n\n //if cart model has not changed\n if (data.IsLocalStorageCache && (noDiscountCookie || popupCookie)) {\n return;\n } else {\n //remove cookie\n if (noDiscountCookie) Cookies.remove('noDynamicDiscountCookie');\n\n //call service for PromotedDiscounts\n Vendd.MessageBus.publishAsync(Vendd.Cart, new Vendd.Cart.Messages.GetPromotedDiscounts());\n } \n });\n\n //on success of GetPromotedDiscounts\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.GetPromotedDiscountsSuccess, \"DynamicDiscountBanners\", function (envelope) {\n model = envelope.message.data.Data;\n\n if (model.ItemsCount > 0) {\n //init Dynamic Discount Banners\n initDynamicDiscountBanners();\n } else {\n //set cookie for empty array of dynamic discounts\n Cookies.set(\"noDynamicDiscountCookie\", { expires: cookieDuration, samesite: 'Lax' });\n\n return;\n }\n });\n\n});","Vendd.Scripts.load(function () {\n 'use strict';\n\n var supportedLocales = {\n 'en': ['US', 'GB', 'AU', 'AT', 'BE', 'CA', 'CZ', 'DK', 'FI', 'FR', 'DE', 'GR', 'IE', 'IT', 'MX', 'NL', 'NZ', 'NO', 'PL', 'PT', 'RO', 'ES', 'SE', 'CH'],\n 'de': ['DE', 'AT', 'CH'],\n 'nl': ['NL', 'BE'],\n 'fr': ['FR', 'CA', 'CH', 'BE'],\n 'cs': ['CZ',],\n 'da': ['DK',],\n 'fi': ['FI',],\n 'sv': ['SE', 'FI'],\n 'el': ['GR'],\n 'it': ['IT', 'CH'],\n 'es': ['ES', 'MX', 'US'],\n 'nb': ['NO'],\n 'pl': ['PL'],\n 'pt': ['PT'],\n 'ro': ['RO']\n };\n\n if (window.klarnaConfig && window.klarnaConfig.IsEnabled) {\n manipulateLanguageCountry();\n manipulateAmount();\n initKlarna();\n }\n\n function manipulateLanguageCountry() {\n var klarnaPlacement = document.getElementsByTagName('klarna-placement');\n \n if (klarnaPlacement.length < 1) return;\n\n var html = document.getElementsByTagName('html')[0],\n lang = html.getAttribute('lang') || 'el',\n country = html.getAttribute('country') || 'GR',\n locale = resolveLocale(lang, country);\n\n for (var i = 0; i < klarnaPlacement.length; i++) {\n klarnaPlacement[i].dataset.locale = locale;\n }\n }\n\n function manipulateAmount() {\n var klarnaPlacement = document.getElementsByTagName('klarna-placement');\n\n if (klarnaPlacement.length < 1) return;\n\n for (var i = 0; i < klarnaPlacement.length; i++) {\n if (klarnaPlacement[i].hasAttribute('data-purchase-amount')) {\n var purchaseAmount = klarnaPlacement[i].dataset.purchaseAmount;\n\n purchaseAmount = purchaseAmount.split(',');\n purchaseAmount = purchaseAmount[0] + purchaseAmount[1];\n klarnaPlacement[i].dataset.purchaseAmount = purchaseAmount;\n }\n }\n }\n\n function initKlarna() {\n var script = document.createElement(\"script\");\n\n script.type = \"text/javascript\";\n script.src = 'https://osm.klarnaservices.com/lib.js';\n script.dataset.clientId = window.klarnaConfig.ClientId;\n script.dataset.environment = LhApp.Context.IsProduction ? 'production' : 'playground';\n document.getElementsByTagName('body')[0].appendChild(script);\n }\n\n function resolveLocale(lang, country) {\n var supportedCountries = supportedLocales[lang];\n\n if (supportedCountries === undefined) {\n return 'en-US';\n } else if (!supportedCountries.includes(country)) {\n return lang + '-' + supportedCountries[0];\n } else {\n return lang + '-' + country;\n }\n }\n});\n","(function () {\n var s = (typeof (Vendd) != \"undefined\" && Vendd.Scripts) || (typeof (Scripts) != \"undefined\" && Scripts);\n if (!s) return;\n s.load(function () {\n 'use strict';\n var TrackingScriptName = 'TrackingData';\n\n var TrackingModel = LhApp.Function.Tracking.getTrackingModel();\n\n //navigation.type 1=reload, 2=back_forward\n var winPerf = window.performance;\n var winPerfNavEntryTypes = winPerf.getEntriesByType && winPerf.getEntriesByType(\"navigation\").map(function (t) { return t.type });\n var updTrackingData = {\n BrowserNavigation: {\n Reload: (winPerf.navigation && winPerf.navigation.type == 1) || winPerfNavEntryTypes.indexOf('reload') >= 0,\n BackForward: (winPerf.navigation && winPerf.navigation.type == 2) || winPerfNavEntryTypes.indexOf('x-back_forward') >= 0\n }\n };\n\n //order tracking\n if (TrackingModel && TrackingModel.Order) {\n var isTest = LhApp.Context.Request.IsLocal && LhApp.Context.IsDebug;\n var completionServerReloaded = TrackingModel.Order.CompletionPageLoadCounter > 1; //if session lost page would not be reloaded. if that changes keep counter in db\n var browserReloadedOrBackForward = updTrackingData.BrowserNavigation.Reload || updTrackingData.BrowserNavigation.BackForward;\n updTrackingData.Order = {\n IsAlreadyTracked: isTest ? false : (completionServerReloaded || browserReloadedOrBackForward)\n };\n }\n //update TrackingData object\n LhApp.Function.Tracking.updateTrackingData(updTrackingData);\n\n //get new tracking model\n TrackingModel = LhApp.Function.Tracking.getTrackingModel();\n\n //initialize the tag manager or analytics\n if (TrackingModel && TrackingModel.GoogleTagManagerCode) {\n LhApp.Function.Tracking.InitGoogleTagManager();\n }\n if (TrackingModel && TrackingModel.GoogleAnalyticsCode && LhApp.Function.Tracking.canTrack('statisticCookies')) {\n LhApp.Function.Tracking.InitGoogleAnalytics();\n }\n\n // IMPORTANT execute this scripts in all other pages except checout\n if (typeof (Vendd) != \"undefined\" && Vendd.Scripts) {\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetPageSuccess, TrackingScriptName, function (envelope) {\n var model = envelope.message.data.model;\n if (!window.TrackingData || !window.TrackingData.ProductListsData || envelope.message.data.type != 'productList' || !model.Items || model.Items.length < 1)\n return;\n\n var list = model.SeoTitle;\n var lists = window.TrackingData.ProductListsData || [];\n var updatedProducts = [];\n\n if (list in lists) {\n $.each(model.Items[0], function (idx, item) {\n updatedProducts.push({\n ProductId: '' + item.Id,\n SkuId: '' + item.VariantId,\n Name: item.Title,\n Brand: item.Manufacturer,\n Category: item.Category,\n Path: item.Path,\n Color: item.sel_color,\n Size: item.sel_size,\n PriceN: item.Fields && item.Fields.FinalPrices ? Math.round((item.Fields.FinalPrices[0].DisplayPrice.TotalValue || 0) * 100) / 100 : (item.Prices.Price ? Math.round((item.Prices.Price.CurrentPriceN || 0) * 100) / 100 : 0),\n PriceWithoutVatN: item.Fields && item.Fields.FinalPrices ? Math.round((item.Fields.FinalPrices[0].DisplayPrice.NetValue || 0) * 100) / 100 : (item.Prices.Price ? Math.round((item.Prices.Price.CurrentPriceWithoutVatN || 0) * 100) / 100 : 0),\n List: list,\n Position: lists[list].length + idx + 1,\n Quantity: 1,\n Image: item.Images.length > 0 ? item.Images[0].List : '',\n Url: document.location.origin + item.Url,\n Properties: [],\n TrackingPath: item.TrackingPath\n });\n });\n\n if (updatedProducts.length > 0) {\n lists[list] = $.merge(lists[list], updatedProducts);\n Vendd.MessageBus.publishAsync(Vendd.Tracking, new Vendd.Tracking.Messages.ProductsUpdated(updatedProducts));\n }\n }\n\n });\n\n Vendd.MessageBus.subscribe(Vendd.LazyProductList.Messages.LazyProductListSuccess, TrackingScriptName, function (envelope) {\n var model = envelope.message.data.model;\n if (!window.TrackingData || !model.Items || model.Items.length < 1 || !window.TrackingData.ProductListsData)\n return;\n\n var list = model.SeoTitle;\n var lists = window.TrackingData.ProductListsData || [];\n var updatedProducts = [];\n\n $.each(model.Items[0], function (idx, item) {\n updatedProducts.push({\n ProductId: '' + item.Id,\n SkuId: '' + item.VariantId,\n Name: item.Title,\n Brand: item.Manufacturer,\n Category: item.Category,\n Path: item.Path,\n Color: item.sel_color,\n Size: item.sel_size,\n PriceN: item.Fields && item.Fields.FinalPrices ? Math.round((item.Fields.FinalPrices[0].DisplayPrice.TotalValue || 0) * 100) / 100 : (item.Prices.Price ? Math.round((item.Prices.Price.CurrentPriceN || 0) * 100) / 100 : 0),\n PriceWithoutVatN: item.Fields && item.Fields.FinalPrices ? Math.round((item.Fields.FinalPrices[0].DisplayPrice.NetValue || 0) * 100) / 100 : (item.Prices.Price ? Math.round((item.Prices.Price.CurrentPriceWithoutVatN || 0) * 100) / 100 : 0),\n List: idx + 1,\n Position: item.Index,\n Quantity: 1,\n Image: item.Images.length > 0 ? item.Images[0].List : '',\n Url: document.location.origin + item.Url,\n Properties: [],\n TrackingPath: item.TrackingPath\n });\n });\n\n if (updatedProducts.length > 0) {\n\n if (list in lists) {\n window.TrackingData.ProductListsData[list] = $.merge(window.TrackingData.ProductListsData[list], updatedProducts);\n } else {\n window.TrackingData.ProductListsData[list] = updatedProducts;\n }\n\n Vendd.MessageBus.publishAsync(Vendd.Tracking, new Vendd.Tracking.Messages.ProductsUpdated(updatedProducts));\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.ProductList.Messages.GetModelSuccess, TrackingScriptName, function (envelope) {\n if (!envelope.message || !envelope.message.data || !envelope.message.data.data) return;\n var model = envelope.message.data.data;\n if (!window.TrackingData || !window.TrackingData.ProductListsData || !model.Products || model.Products.length < 1)\n return;\n\n var list = model.Products.SeoTitle;\n var updatedProducts = [];\n\n $.each(model.Products.Items[0], function (idx, item) {\n updatedProducts.push({\n ProductId: '' + item.Id,\n SkuId: '' + item.VariantId,\n Name: item.Title,\n Brand: item.Manufacturer,\n Category: item.Category,\n Path: item.Path,\n Color: item.sel_color,\n Size: item.sel_size,\n PriceN: item.Fields && item.Fields.FinalPrices ? Math.round((item.Fields.FinalPrices[0].DisplayPrice.TotalValue || 0) * 100) / 100 : (item.Prices.Price ? Math.round((item.Prices.Price.CurrentPriceN || 0) * 100) / 100 : 0),\n PriceWithoutVatN: item.Fields && item.Fields.FinalPrices ? Math.round((item.Fields.FinalPrices[0].DisplayPrice.NetValue || 0) * 100) / 100 : (item.Prices.Price ? Math.round((item.Prices.Price.CurrentPriceWithoutVatN || 0) * 100) / 100 : 0),\n List: idx + 1,\n Position: item.Index,\n Quantity: 1,\n Image: item.Images.length > 0 ? item.Images[0].List : '',\n Url: document.location.origin + item.Url,\n Properties: [],\n TrackingPath: item.TrackingPath\n });\n });\n\n if (updatedProducts.length > 0) {\n window.TrackingData.ProductListsData[list] = updatedProducts;\n Vendd.MessageBus.publishAsync(Vendd.Tracking, new Vendd.Tracking.Messages.ProductsUpdated(updatedProducts));\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.ScrollList.Messages.GetClientProductListDataSuccess, TrackingScriptName, function (envelope) {\n if (!envelope.message || !envelope.message.data) return;\n var model = JSON.parse(envelope.message.data);\n\n if (!model || !model.Products) return;\n model.Products.forEach(function (modelProduct) { //Each product in model from message\n\n for (var listName in window.TrackingData.ProductListsData) { //For every product list\n var productList = window.TrackingData.ProductListsData[listName];\n \n updateProductPrice(modelProduct, productList);\n }\n\n });\n\n function updateProductPrice(modelProduct, productList) {\n\n //Find product in that list\n var productInList = productList.find(function (listItem) { return modelProduct.VariantId == listItem.SkuId });\n\n if (productInList) { //Update product price without vat\n productInList.PriceWithoutVat = modelProduct.Prices.Price.CurrentPriceWithoutVat;\n productInList.PriceWithoutVatN = modelProduct.Prices.Price.CurrentPriceWithoutVatN;\n }\n }\n\n });\n }\n });\n})();","(function () {\n var s = (typeof (Vendd) != \"undefined\" && Vendd.Scripts) || (typeof (Scripts) != \"undefined\" && Scripts);\n if (!s) return;\n s.load(function () {\n 'use strict';\n var TrackingScriptName = 'Chameleon';\n\n var TrackingModel = LhApp.Function.Tracking.getTrackingModel();\n var Tracker = LhApp.Function.Tracking.getTracker(\"chameleon\", TrackingModel);\n\n if (!Tracker || !Tracker.Properties.ChameleonCode || !Tracker.Properties.ChameleonId || !Tracker.Properties.ChameleonProjectName)\n return;\n\n var cookieType = Tracker.CookieGroupCode ? Tracker.CookieGroupCode : '';\n var CanTrack = LhApp.Function.Tracking.canTrack(cookieType);\n\n var _cartAddResponses = []; // holds a response for every cart add action. \n var _isUserSelectedProduct;\n\n Init();\n\n function Track(type, data) {\n var iid = 'iframeChameleon';\n var i = document.getElementById(iid);\n if (!i) {\n i = document.createElement(\"iframe\");\n i.setAttribute('id', iid);\n i.style.width = \"0px\";\n i.style.height = \"0px\";\n i.style.position = 'absolute';\n document.body.appendChild(i);\n }\n\n var d = [Tracker.Properties.ChameleonProjectName, type, Tracker.Properties.ChameleonId, data, Tracker.Properties.ChameleonCode];\n\n var FVPMS = FVPMS || function () {\n var a = {};\n return {\n init: function (b) {\n a = b;\n var pid_data = encodeURIComponent(a[3]);\n if (500 < pid_data.length) {\n pid_data = pid_data.substring(0, 500);\n var end_pos = pid_data.lastIndexOf(\"%2C\");\n end_pos = 400 < end_pos ? end_pos : 500;\n pid_data = pid_data.substring(0, end_pos);\n }\n var extra_param = \"undefined\" == typeof a[4] ? \"\" : \"&exp=\" + encodeURIComponent(a[4]);\n i.src = 'https://dco.gr/beta/public/pm/pmtrack.php?campaign=' + a[0] + \"&\" + a[1] + \"=\" + a[2] + \"-\" + pid_data + extra_param;\n }\n }\n }();\n FVPMS.init(d); \n\n /*\n var src = idocument.createElement('script');\n src.onload = function () {\n iwindow.FVPMS.init(d); \n };\n src.async = 1;\n src.src = 'https://fv-pm.s3.amazonaws.com/pmtrack.min.js';\n var head = idocument.getElementsByTagName('head')[0];\n head.parentNode.insertBefore(src, head);\n */\n }\n\n function Init() { \n if (!CanTrack) return;\n \n //TRACK product list \n if (TrackingModel.IsProductListPage && TrackingModel.ProductListsData) {\n var ids = [];\n for (var list in TrackingModel.ProductListsData) {\n var listItems = TrackingModel.ProductListsData[list];\n for (var i = 0; i < listItems.length; i++) {\n var product = listItems[i];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\n\n if (ids.indexOf(productId) < 0)\n ids.push(productId);\n };\n }\n if (ids.length > 0)\n Track('sid', '[' + ids.join(',') + ']');\n }\n //TRACK product details\n else if (TrackingModel.IsProductDetailsPage && TrackingModel.ProductData && TrackingModel.ProductData.length > 0) {\n var product = TrackingModel.ProductData[0];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\n\n Track('pid', '[' + productId + ']');\n }\n //TRACK order completion\n else if (TrackingModel.IsThankYouPage && TrackingModel.CartProductsData && TrackingModel.Order) {\n if (TrackingModel.Order.IsAlreadyTracked)\n return;\n\n Track('thankyou', '[' + TrackingModel.Order.Id + '^' + TrackingModel.Order.TotalPrice + ']');\n }\n else {\n Track('all', '');\n }\n }\n\n // IMPORTANT execute this scripts in all other pages except checout\n if (typeof (Vendd) != \"undefined\" && Vendd.Scripts) {\n\n //On consents update, re-initialize this tracker\n Vendd.MessageBus.subscribe(Vendd.Consents.Messages.InsertAllCookiesSuccess, TrackingScriptName, function () {\n CanTrack = LhApp.Function.Tracking.canTrack(cookieType);\n Init();\n });\n\n //HELPER this script keep track of products added to cart\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Add, TrackingScriptName, function (envelope) {\n if (!CanTrack) return;\n\n var res = envelope.message.data;\n _cartAddResponses.push({\n ProductId: res.id,\n SkuId: res.skuId,\n Quantity: parseFloat(res.qty)\n });\n\n });\n //TRACK add to cart (recorded by the ABOVE script)\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Changed, TrackingScriptName, function (envelope) {\n if (!CanTrack) return;\n\n var cartModel = envelope.message.data.Cart;\n //var _cartAddResponses = _cartAddResponses.slice();\n\n var pAddResponse = _cartAddResponses.shift();\n (function AddToCartTrack(p) {\n if (!p)\n return;\n\n var pCartItemModel = cartModel.Items.find(function (i) {\n return i.ProductId == p.ProductId && i.VariantId == p.SkuId;\n });\n\n if (pCartItemModel) {\n var product = pCartItemModel;\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\n\n Track('cartpid', '[' + productId + ']');\n }\n\n AddToCartTrack(_cartAddResponses.shift());\n\n })(pAddResponse);\n\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.SetSelected, TrackingScriptName, function (envelope) {\n //determine if this has been auto raised during product details load in order to avoid tracking twice the product view\n _isUserSelectedProduct = envelope.message.data.visitorInitiated;\n });\n //TRACK product view (changed)\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.Changed, TrackingScriptName, function (envelope) {\n if (!CanTrack) return;\n\n if(!_isUserSelectedProduct)\n return;\n\n var model = envelope.message.data.model;\n\n var product = model;\n var productId = LhApp.Function.Tracking.getFeedItemId(product, 'ProductChanged', Tracker);\n\n Track('pid', '[' + productId + ']');\n });\n }\n });\n})();","(function () {\n var s = (typeof (Vendd) != \"undefined\" && Vendd.Scripts) || (typeof (Scripts) != \"undefined\" && Scripts);\n if (!s) return;\n s.load(function () {\n 'use strict';\n var TrackingScriptName = 'ContactPigeon';\n\n var TrackingModel = LhApp.Function.Tracking.getTrackingModel();\n var Tracker = LhApp.Function.Tracking.getTracker(\"contactpigeon\", TrackingModel);\n\n if (!Tracker || !Tracker.Properties.ContactPigeonAccount || !Tracker.Properties.ContactPigeonUrl || !Tracker.Properties.ContactPigeonUrl.startsWith('//'))\n return;\n\n var cookieType = Tracker.CookieGroupCode ? Tracker.CookieGroupCode : '';\n var CanTrack = LhApp.Function.Tracking.canTrack(cookieType);\n \n function Track() {\n var el = document.createElement('script');\n el.async = 1;\n el.src = Tracker.Properties.ContactPigeonUrl;\n var scr = document.getElementsByTagName('script')[0];\n scr.parentNode.insertBefore(el, scr);\n }\n\n Init();\n\n function Init() { \n if (!CanTrack) return;\n\n window.cpaAccount = Tracker.Properties.ContactPigeonAccount;\n window.cpa_async = { 'ctag': '', 'utmipn': '', 'utmipc': '', 'utmtid': '', 'utmtto': '', 'cutmcn': '', 'cutmcc': '' };\n window.cpaE = '';\n if (Tracker.Properties.ContactPigeonConfig)\n window.cpanots_config = Tracker.Properties.ContactPigeonConfig;\n\n //TRACK order completion\n if (TrackingModel.IsThankYouPage && TrackingModel.CartProductsData && TrackingModel.Order) {\n if (TrackingModel.Order.IsAlreadyTracked)\n return;\n\n if (typeof angular !== 'undefined') {\n angular.element(document).ready(function () {\n var oScope = angular.element('.x-control.x-angular-control.x-checkoutorder').scope();\n var tracked = false;\n if (oScope && !tracked) {\n if (TrackingModel.IsThankYouPage) //cookie consent had been granted\n {\n tracked = true;\n\n var checkoutEmail = oScope.Model.Data.Profile.Email.trim().toLowerCase();\n\n window.cpaE = checkoutEmail;\n Track();\n }\n }\n });\n }\n } \n else if (TrackingModel.IsCheckoutPage && TrackingModel.CartProductsData && typeof angular !== 'undefined') {\n angular.element(document).ready(function () {\n var orderAngularElement = angular.element('.x-control.x-angular-control.x-checkoutorder');\n if (orderAngularElement) {\n var orderScope = orderAngularElement.scope();\n var checkoutEmail = orderScope.Model.Data.Profile\n && orderScope.Model.Data.Profile.Email\n && orderScope.Model.Data.Profile.Email.trim().toLowerCase()\n || '';\n\n window.cpaE = checkoutEmail;\n Track();\n }\n });\n }\n }\n\n if (typeof (Vendd) != \"undefined\" && Vendd.Scripts) {\n\n //On consents update, re-initialize this tracker\n Vendd.MessageBus.subscribe(Vendd.Consents.Messages.InsertAllCookiesSuccess, TrackingScriptName, function () {\n CanTrack = LhApp.Function.Tracking.canTrack(cookieType);\n Init();\n });\n\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetUserViewModelSuccess, TrackingScriptName, function (envelope) {\n if (!CanTrack) return;\n\n if (envelope && envelope.message && envelope.message.data && envelope.message.data.model) {\n if (envelope.message.data.model.IsAuthenticated && envelope.message.data.model.Email) {\n window.cpaE = envelope.message.data.model.Email;\n }\n Track();\n }\n });\n }\n });\n})();","(function () {\n var s = (typeof (Vendd) != \"undefined\" && Vendd.Scripts) || (typeof (Scripts) != \"undefined\" && Scripts);\n if (!s) return;\n s.load(function () {\n 'use strict';\n var TrackingScriptName = 'Linkwise';\n\n var TrackingModel = LhApp.Function.Tracking.getTrackingModel();\n var Tracker = LhApp.Function.Tracking.getTracker(\"linkwisefeed\", TrackingModel);\n\n if (!Tracker || !Tracker.Properties.LinkWiseProgramId)\n return;\n\n var cookieType = Tracker.CookieGroupCode ? Tracker.CookieGroupCode : '';\n var CanTrack = LhApp.Function.Tracking.canTrack(cookieType)\n || TrackingModel.IsThankYouPage; // custom for linkwise\n\n var _isUserSelectedProduct;\n\n Init();\n\n function Init() {\n if (!CanTrack) return;\n\n //include linkwise tracking script\n (function (f, b, e, v, t) {\n if (f.lw) return;\n f.lw = f.lw || function () { { (f.lw.q = f.lw.q || []).push(arguments) } };\n f.lw.l = +new Date;\n t = b.createElement(e);\n t.async = !0;\n t.src = v;\n s = b.getElementsByTagName(e)[0];\n s.parentNode.insertBefore(t, s)\n })(window, document, 'script', '//go.linkwi.se/delivery/js/tl.js');\n lw('setProgram', Tracker.Properties.LinkWiseProgramId);\n lw('setDecimal', '.');\n\n /*TRACK home*/\n if (TrackingModel.IsHomePage) {\n lw('viewhome');\n }\n\n /*TRACK checkout start*/\n if (TrackingModel.IsCheckoutPage) {\n lw('checkout');\n }\n\n //TRACK product list \n if (TrackingModel.IsProductListPage && TrackingModel.ProductListsData) {\n for (var list in TrackingModel.ProductListsData) {\n var listItems = TrackingModel.ProductListsData[list];\n for (var i = 0; i < listItems.length; i++) {\n var product = listItems[i];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\n\n lw(\"addItem\", { id: productId, price: product.PriceWithoutVatN });\n };\n }\n lw('listItems');\n }\n\n //TRACK product details\n if (TrackingModel.IsProductDetailsPage && TrackingModel.ProductData && TrackingModel.ProductData.length > 0) {\n var product = TrackingModel.ProductData[0];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\n\n lw(\"addItem\", { id: productId, price: product.PriceWithoutVatN });\n\n lw('viewItem');\n }\n\n //TRACK order completion\n if (TrackingModel.IsThankYouPage && TrackingModel.CartProductsData && TrackingModel.Order) {\n if (TrackingModel.Order.IsAlreadyTracked)\n return;\n\n lw('setCurrency', LhApp.Context.Currency.Code);\n\n for (var i = 0; i < TrackingModel.CartProductsData.length; i++) {\n var product = TrackingModel.CartProductsData[i];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\n\n lw(\"addItem\", { id: productId, price: product.InitialPriceWithoutVatN, quantity: product.Quantity || 1, payout: 1 });\n }\n\n lw('setCoupon', TrackingModel.Order.DiscountAmountWithoutVatN);\n\n lw('thankyou', { orderid: TrackingModel.Order.Id, status: 'pending' });\n }\n }\n\n // IMPORTANT execute this scripts in all other pages except checkout\n if (typeof (Vendd) != \"undefined\" && Vendd.Scripts) {\n\n //On consents update, re-initialize this tracker\n Vendd.MessageBus.subscribe(Vendd.Consents.Messages.InsertAllCookiesSuccess, TrackingScriptName, function () {\n CanTrack = LhApp.Function.Tracking.canTrack(cookieType); \n Init();\n });\n\n //TRACK add to cart\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Changed, TrackingScriptName, function (envelope) {\n if (!CanTrack) return;\n\n var cartModel = envelope.message.data.Cart;\n\n //TRACK view cart\n if (TrackingModel.IsCartPage) {\n for (var i=0; i < cartModel.Items.length; i++) {\n var product = cartModel.Items[i];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\n\n lw(\"addItem\", { id: productId, price: product.Prices.PriceWithoutVatN, quantity: product.Quantity || 1, payout: 1 });\n }\n\n lw('viewCart');\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.SetSelected, TrackingScriptName, function (envelope) {\n //determine if this has been auto raised during product details load in order to avoid tracking twice the product view\n _isUserSelectedProduct = envelope.message.data.visitorInitiated;\n });\n //TRACK product view (changed)\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.Changed, TrackingScriptName, function (envelope) {\n if (!CanTrack) return;\n\n if (!_isUserSelectedProduct)\n return;\n\n var model = envelope.message.data.model;\n\n var product = model;\n var productId = LhApp.Function.Tracking.getFeedItemId(product, 'ProductChanged', Tracker);\n\n lw(\"addItem\", { id: productId, price: product.Prices.UnitPriceWithoutVatN, quantity: product.Quantity || 1 });\n\n lw('viewItem');\n });\n }\n });\n})();","var fbPixelTracker = null;\nvar fbPixelCanTrack = null;\n\n(function () {\n var s = (typeof (Vendd) != \"undefined\" && Vendd.Scripts) || (typeof (Scripts) != \"undefined\" && Scripts);\n if (!s) return;\n s.load(function () {\n 'use strict';\n var TrackingScriptName = 'FacebookPixel';\n \n var TrackingModel = LhApp.Function.Tracking.getTrackingModel();\n fbPixelTracker = LhApp.Function.Tracking.getTracker(\"facebook\", TrackingModel);\n\n if (!fbPixelTracker || !fbPixelTracker.Properties.FacebookPixelId)\n return;\n\n var cookieType = fbPixelTracker.CookieGroupCode ? fbPixelTracker.CookieGroupCode : '';\n fbPixelCanTrack = LhApp.Function.Tracking.canTrack(cookieType);\n\n var _cartAddResponses = []; // holds a response for every cart add action. \n var _isUserSelectedProduct;\n\n Init();\n\n function Init() {\n if (!fbPixelCanTrack) return;\n\n //include facebook tracking script\n (function (f, b, e, v, n, t, s) {\n if (f.fbq) return;\n n = f.fbq = function () {\n n.callMethod ?\n n.callMethod.apply(n, arguments) : n.queue.push(arguments);\n };\n if (!f._fbq) f._fbq = n;\n n.push = n;\n n.loaded = !0;\n n.version = '2.0';\n n.queue = [];\n t = b.createElement(e);\n t.async = !0;\n t.src = v;\n s = b.getElementsByTagName(e)[0];\n s.parentNode.insertBefore(t, s)\n })(window, document, 'script', '//connect.facebook.net/en_US/fbevents.js');\n\n //if order completion\n if (TrackingModel.IsThankYouPage) {\n if (typeof angular !== 'undefined') {\n angular.element(document).ready(function () {\n var orderScope = angular.element('.x-control.x-angular-control.x-checkoutorder').scope();\n \n fbq('init', fbPixelTracker.Properties.FacebookPixelId, {\n em: sha256(orderScope.Model.Data.Billing.Email),\n fn: sha256(orderScope.Model.Data.Billing.FirstName),\n ln: sha256(orderScope.Model.Data.Billing.LastName),\n ph: sha256(orderScope.Model.Data.Billing.Mobile),\n zp: sha256(orderScope.Model.Data.Billing.PostCode),\n external_id: Cookies.get('_fbc') ? Cookies.get('_fbc') : \"\"\n });\n\n //TRACK page view\n fbq('track', 'PageView');\n\n //TRACK order completion\n if (TrackingModel.CartProductsData && TrackingModel.Order) {\n if (TrackingModel.Order.IsAlreadyTracked)\n return;\n\n var orderproductIds = [];\n var orderNames = [];\n var categories = [];\n var items = TrackingModel.CartProductsData;\n var orderproductIdsOBJarr = [];\n\n for (var i = 0; i < items.length; i++) {\n var product = items[i];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, fbPixelTracker);\n\n orderproductIds.push(productId);\n categories.push(product.Category);\n orderNames.push(product.Name);\n orderproductIdsOBJarr.push({ id: productId, quantity: product.Quantity });\n }\n\n fbq('track', 'Purchase', {\n content_type: 'product',\n content_ids: orderproductIds,\n content_name: orderNames,\n value: TrackingModel.Order.TotalPriceN,\n currency: LhApp.Context.Currency.Code,\n content_category: categories,\n contents: orderproductIdsOBJarr\n });\n }\n\n });\n } \n } else {\n fbq('init', fbPixelTracker.Properties.FacebookPixelId);\n\n //TRACK page view\n fbq('track', 'PageView');\n }\n\n //TRACK product list \n if (TrackingModel.IsProductListPage && TrackingModel.ProductListsData) {\n var ids = [];\n for (var list in TrackingModel.ProductListsData) {\n var listItems = TrackingModel.ProductListsData[list];\n for (var i = 0; i < listItems.length; i++) {\n var product = listItems[i];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, fbPixelTracker);\n\n if (ids.indexOf(productId) < 0)\n ids.push(productId);\n };\n }\n\n fbq('track', 'ViewCategory',\n {\n content_type: 'product',\n content_category: TrackingModel.CategoryName,\n content_ids: ids\n }\n );\n }\n\n //TRACK product details\n if (TrackingModel.IsProductDetailsPage && TrackingModel.ProductData && TrackingModel.ProductData.length > 0) {\n var product = TrackingModel.ProductData[0];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, fbPixelTracker);\n\n fbq('track', 'ViewContent',\n {\n content_type: 'product',\n content_ids: [productId],\n content_name: product.Name,\n content_category: product.Category,\n value: product.PriceN,\n currency: LhApp.Context.Currency.Code\n }\n );\n }\n\n // TRACK Search & SearchTerm - for SearchProducts\n if ($('.search-region[data-searchterm]').length > 0) {\n fbq('track', 'Search');\n fbq('trackCustom', 'SearchTerm', { search_string: $('.search-region[data-searchterm]').data('searchterm') });\n }\n }\n\n // IMPORTANT execute this scripts in all other pages except checkout\n if (typeof (Vendd) != \"undefined\" && Vendd.Scripts) {\n\n //On consents update, re-initialize this tracker\n Vendd.MessageBus.subscribe(Vendd.Consents.Messages.InsertAllCookiesSuccess, TrackingScriptName, function () {\n fbPixelCanTrack = LhApp.Function.Tracking.canTrack(cookieType);\n Init();\n });\n\n //HELPER this script keep track of products added to cart\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Add, TrackingScriptName, function (envelope) {\n if (!fbPixelCanTrack) return;\n\n var res = envelope.message.data;\n _cartAddResponses.push({\n ProductId: res.id,\n SkuId: res.skuId,\n Quantity: parseFloat(res.qty)\n });\n \n });\n\n //TRACK add to cart (recorded by the ABOVE script)\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Changed, TrackingScriptName, function (envelope) {\n if (!fbPixelCanTrack) return;\n\n var cartModel = envelope.message.data.Cart;\n\n var pAddResponse = _cartAddResponses.shift();\n (function AddToCartTrack(p) {\n if (!p)\n return;\n\n var pCartItemModel = cartModel.Items.filter(function (i) {\n return i.ProductId == p.ProductId && i.VariantId == p.SkuId;\n })[0];\n\n if (pCartItemModel) {\n var product = pCartItemModel;\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, fbPixelTracker);\n var productContent = [{ id: productId, quantity: pAddResponse.Quantity }];\n\n fbq('track', 'AddToCart', {\n content_type: 'product',\n contents: productContent, //[productId],\n content_name: pCartItemModel.Title,\n content_category: pCartItemModel.Category,\n value: pCartItemModel.Prices.PriceN,\n currency: LhApp.Context.Currency.Code\n });\n }\n\n AddToCartTrack(_cartAddResponses.shift());\n\n })(pAddResponse);\n \n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.SetSelected, TrackingScriptName, function (envelope) {\n //determine if this has been auto raised during product details load in order to avoid tracking twice the product view\n _isUserSelectedProduct = envelope.message.data.visitorInitiated;\n });\n\n //TRACK product view (changed)\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.Changed, TrackingScriptName, function (envelope) {\n if (!fbPixelCanTrack) return;\n\n if (!_isUserSelectedProduct)\n return;\n\n var model = envelope.message.data.model;\n\n var product = model;\n var productId = LhApp.Function.Tracking.getFeedItemId(product, 'ProductChanged', fbPixelTracker);\n\n fbq('track', 'ViewContent', {\n content_type: 'product',\n content_ids: [productId],\n content_name: model.Name,\n content_category: model.Category,\n value: model.Prices.UnitPriceN,\n currency: LhApp.Context.Currency.Code\n });\n });\n }\n });\n})();","var ra_key;\nvar ra_params;\n\n(function () {\n var s = (typeof (Vendd) != \"undefined\" && Vendd.Scripts) || (typeof (Scripts) != \"undefined\" && Scripts);\n if (!s) return;\n\n s.load(function () {\n 'use strict'\n\n var trackerCode = 'retargeting';\n var TrackingScriptName = 'Retargeting';\n var TrackingModel = LhApp.Function.Tracking.getTrackingModel();\n var Tracker = LhApp.Function.Tracking.getTracker(trackerCode, TrackingModel);\n var _cartAddResponses = [];\n var _currentCartModel;\n\n if (!Tracker)\n return;\n\n var _retargetingTrackerApiKey = Tracker.Properties.RetargetingTrackerApiKey;\n\n if (!_retargetingTrackerApiKey) {\n return;\n }\n\n var cookieType = Tracker.CookieGroupCode ? Tracker.CookieGroupCode : '';\n var CanTrack = LhApp.Function.Tracking.canTrack(cookieType);\n\n InitAll();\n function InitAll() {\n if (!CanTrack) return;\n\n Init();\n // Init Retargeting.biz\n function Init(CanTrack) {\n (function () {\n ra_key = _retargetingTrackerApiKey;\n ra_params = {};\n var ra = document.createElement(\"script\");\n ra.async = true;\n ra.src = \"https://tracking.retargeting.biz/v3/rajs/\" + ra_key + \".js\";\n\n var s = document.getElementsByTagName(\"script\")[0];\n s.parentNode.insertBefore(ra, s);\n\n ra.onload = initEvents;\n })();\n }\n\n // Init events\n function initEvents() {\n // TRACK: Brand page\n if (TrackingModel.IsBrandPage) {\n sendBrand();\n }\n\n // TRACK: Category page\n if (TrackingData.IsProductListPage) {\n sendCategory();\n }\n\n // TRACK: Product detail\n if (TrackingModel.IsProductDetailsPage && TrackingModel.ProductListsData) {\n sendProduct();\n }\n\n // TRACK: Checkout page\n if (TrackingData.IsCheckoutPage) {\n checkoutIds();\n }\n\n // TRACK order completion\n if (TrackingModel.IsThankYouPage) {\n saveOrder(); // ToDo\n }\n\n // TRACK Help page\n if (isHelpPage()) {\n visitHelpPage();\n }\n\n // IMPORTANT execute this scripts in all other pages except checout\n if (typeof (Vendd) != \"undefined\" && Vendd.Scripts) {\n //HELPER this script keep track of products added to cart\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Add, TrackingScriptName, function (envelope) {\n var res = envelope.message.data;\n\n _cartAddResponses.push({\n ProductId: res.id,\n SkuId: res.skuId,\n Quantity: parseFloat(res.qty)\n });\n\n });\n\n //TRACK add to cart (recorded by the ABOVE script)\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Changed, TrackingScriptName, function (envelope) {\n //keep variable of cart items model synced to rela data in order to use it during item deletion\n _currentCartModel = JSON.parse(JSON.stringify(envelope.message.data.Cart));//clone\n\n var cartModel = envelope.message.data.Cart;\n var pAddResponse = _cartAddResponses.shift();\n\n (function AddToCartTrack(p) {\n if (!p) {\n return;\n }\n\n var pCartItemModel = cartModel.Items.filter(function (i) {\n return i.ProductId == p.ProductId && i.VariantId == p.SkuId;\n })[0];\n\n if (pCartItemModel) {\n addToCart(pCartItemModel, pAddResponse);\n }\n\n AddToCartTrack(_cartAddResponses.shift());\n\n })(pAddResponse);\n });\n\n\n // Remove from Cart\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Remove, TrackingScriptName, function (envelope) {\n if (!_currentCartModel) {\n return;\n }\n\n var pCartItemModel = _currentCartModel.Items.filter(function (i) {\n return i.Id == envelope.message.data.id;\n })[0];\n\n if (!pCartItemModel) {\n return;\n }\n\n removeFromCart(pCartItemModel);\n });\n\n\n\n // Add To Wishlist\n Vendd.MessageBus.subscribe(Vendd.Wishlist.Messages.AddSuccess, TrackingScriptName, function (envelope) {\n var res = envelope.message.data;\n\n addToWishlist(res.productId);\n });\n\n // TRACK: User registration\n Vendd.MessageBus.subscribe(Vendd.User.Messages.Register, TrackingScriptName, function (envelope) {\n var res = envelope.message.data;\n\n setEmail(res, true);\n });\n\n // TRACK: Login\n Vendd.MessageBus.subscribe(Vendd.User.Messages.LoginSuccess, TrackingScriptName, function (envelope) {\n var res = envelope.message.data;\n\n setEmail({ email: res.loginName });\n });\n\n // TRACK: Subscribe\n Vendd.MessageBus.subscribe(Vendd.Newsletter.Messages.SubscribeSuccess, TrackingScriptName, function (envelope) {\n var res = envelope.message.data;\n\n subscribeEmailInfo(res.email);\n });\n }\n\n // TRACK: Main product image click\n addEventToMainProductImage();\n }\n\n function addEventToMainProductImage() {\n var mainProductImg = document.querySelector('.first.gallery-item img');\n\n if (mainProductImg) {\n mainProductImg.addEventListener('click', clickImage);\n }\n }\n\n function setRetargetingInfo(param, paramName) {\n var ra = _ra || {};\n\n if (ra.ready !== undefined) {\n ra[paramName] = param;\n }\n }\n\n function sendEvent(methodName, paramsArray) {\n var ra = _ra || {};\n\n if (ra.ready !== undefined) {\n ra[methodName](...paramsArray);\n }\n }\n\n // TRACK: User registers or logs in\n function setEmail(data, isRegister) {\n var setEmailInfo = {\n email: data.email\n };\n\n if (isRegister) {\n setEmailInfo.name = `${data.firstName} ${data.lastName}`;\n setEmailInfo.phone = data.mobilephone;\n }\n\n console.log('setEmailInfo: ', setEmailInfo, isRegister);\n\n sendEvent('setEmail', [setEmailInfo]);\n }\n\n // TRACK: User subscribes\n function subscribeEmailInfo(email) {\n var subscribeEmailInfo = {\n \"email\": email,\n \"status\": true\n };\n\n console.log('subscribeEmailInfo: ', subscribeEmailInfo);\n\n setRetargetingInfo('subscribeEmailInfo', subscribeEmailInfo);\n sendEvent('subscribeEmail', [subscribeEmailInfo]);\n }\n\n // TRACK: Brand page visiting\n function sendBrand() {\n var sendBrandInfo = {\n id: TrackingModel.BrandId,\n name: TrackingModel.BrandName\n };\n\n console.log('sendBrandInfo: ', sendBrandInfo);\n\n setRetargetingInfo('sendBrandInfo: ', sendBrandInfo);\n sendEvent('sendBrand', [sendBrandInfo]);\n }\n\n // TRACK: Category page visiting\n function sendCategory() {\n var breadcrumb = getBreadcrumb([TrackingModel.CategoryId]);\n\n var sendCategoryInfo = {\n id: TrackingModel.CategoryId,\n name: TrackingModel.CategoryName,\n url: document.location.href,\n parent: breadcrumb.length ? breadcrumb[0].id : false,\n breadcrumb: breadcrumb\n };\n\n console.log('sendCategoryInfo: ', sendCategoryInfo);\n\n setRetargetingInfo('sendCategoryInfo', sendCategoryInfo);\n sendEvent('sendCategory', [sendCategoryInfo]);\n }\n\n // TRACK: Adding to cart\n function addToCart(pCartItemModel, pAddResponse) {\n var addToCartInfo = {\n product_id: pAddResponse.ProductId,\n quantity: pAddResponse.Quantity,\n variation: getVariations(pCartItemModel)\n };\n\n console.log('addToCartInfo: ', addToCartInfo);\n\n setRetargetingInfo('addToCartInfo', addToCartInfo);\n sendEvent(\n 'addToCart',\n [addToCartInfo.product_id, addToCartInfo.product_id, addToCartInfo.variation]\n );\n }\n\n // TRACK: Adding to wishlist\n function addToWishlist(product_id) {\n console.log('addToWishlist: ', { product_id });\n\n setRetargetingInfo('addToWishlistInfo', { product_id });\n sendEvent('addToWishlist', [product_id]);\n }\n\n function checkoutIds() {\n var ids = getCheckoutIds(TrackingModel.CartProductsData);\n\n console.log('checkoutIds ids: ', ids);\n\n setRetargetingInfo('checkoutIdsInfo', ids);\n sendEvent('checkoutIds', [ids]);\n }\n\n function clickImage() {\n var product_id = TrackingModel.ProductData[0].ProductId;\n\n console.log('clickImage id: ', { product_id });\n\n setRetargetingInfo('clickImageInfo', { product_id });\n sendEvent('clickImage', [product_id]);\n }\n\n function removeFromCart(pCartItemModel) {\n var removeFromCartInfo = {\n product_id: pCartItemModel.ProductId,\n quantity: pCartItemModel.Quantity,\n variation: getVariations(pCartItemModel)\n };\n\n console.log('removeFromCartInfo: ', removeFromCartInfo);\n\n setRetargetingInfo('removeFromCartInfo: ', removeFromCartInfo);\n sendEvent(\n 'removeFromCart',\n [removeFromCartInfo.product_id,\n removeFromCartInfo.quantity,\n removeFromCartInfo.variation]\n );\n }\n\n function saveOrder() {\n var oScope = angular.element('.x-control.x-angular-control.x-checkoutorder').scope();\n oScope.Model.Data.Profile\n\n var modelData = oScope.Model.Data;\n\n var discounts = {\n codes: [],\n amount: 0\n };\n\n for (var i = 0; i < TrackingModel.Order.Discounts.Order.length; i++) {\n var discount = TrackingModel.Order.Discounts.Order[i];\n\n if (discount.AmountN) {\n discounts.codes.push(discount.Coupon);\n discounts.amount += discount.AmountN;\n }\n }\n\n var saveOrderInfo = {\n order_no: TrackingModel.Order.Code,\n lastname: modelData.Profile.LastName,\n firstname: modelData.Profile.FirstName,\n email: TrackingModel.Order.CustomerEmail,\n phone: TrackingModel.Order.CustomerMobiles,\n state: modelData.Billing.Area,\n city: modelData.Billing.City,\n address: modelData.Billing.Address,\n discount_code: discounts.codes.join('|'),\n discount: discounts.amount,\n shipping: TrackingModel.Order.ShippingCostN,\n rebates: 0,\n fees: 0,\n total: TrackingModel.Order.TotalPriceN\n };\n\n var saveOrderProducts = [];\n\n for (var i = 0; i < TrackingModel.CartProductsData.length; i++) {\n var product = TrackingModel.CartProductsData[i];\n\n saveOrderProducts.push({\n id: product.ProductId,\n quantity: product.Quantity,\n price: product.PriceN,\n variation_code: product.Color ? `${product.Color}-${product.Size}` : \"\"\n });\n }\n\n console.log('saveOrderInfo: ', saveOrderInfo);\n console.log('saveOrderProducts: ', saveOrderProducts);\n\n setRetargetingInfo('saveOrderInfo: ', saveOrderInfo);\n setRetargetingInfo('saveOrderProducts: ', saveOrderProducts);\n sendEvent(\n 'saveOrder',\n [saveOrderInfo, saveOrderProducts]\n );\n }\n\n function sendProduct() {\n var breadcrumb = getBreadcrumb([TrackingModel.CategoryId, TrackingModel.ProductData[0].ProductId]);\n\n var sendProductInfo = {\n id: TrackingModel.ProductData[0].ProductId,\n name: TrackingModel.ProductData[0].Name,\n url: document.location.href,\n img: TrackingModel.ProductData[0].Image,\n price: TrackingModel.ProductData[0].DeletedPriceN ? TrackingModel.ProductData[0].DeletedPriceN : TrackingModel.ProductData[0].PriceN,\n promo: TrackingModel.ProductData[0].DeletedPriceN ? TrackingModel.ProductData[0].PriceN : 0,\n stock: 1,\n brand: {\n id: TrackingModel.ProductData[0].BrandId,\n name: TrackingModel.ProductData[0].Brand\n },\n category: [{\n id: TrackingModel.CategoryId,\n name: TrackingModel.CategoryName,\n parent: breadcrumb[0].id || false,\n breadcrumb: breadcrumb\n }],\n inventory: getInventory(TrackingModel.ProductData[0].Colors, TrackingModel.ProductData[0].Sizes)\n };\n\n console.log('sendProductInfo: ', sendProductInfo);\n\n setRetargetingInfo('sendProductInfo: ', sendProductInfo);\n sendEvent('sendProduct', [sendProductInfo]);\n }\n\n function visitHelpPage() {\n var visitHelpPageInfo = {\n \"visit\": true\n }\n\n console.log('visitHelpPageInfo: ', visitHelpPageInfo);\n\n setRetargetingInfo('visitHelpPageInfo: ', visitHelpPageInfo);\n sendEvent('visitHelpPage', visitHelpPageInfo);\n }\n }\n\n // IMPORTANT execute this scripts in all other pages except checout\n if (typeof (Vendd) != \"undefined\" && Vendd.Scripts) {\n\n //On consents update, re-initialize this tracker\n Vendd.MessageBus.subscribe(Vendd.Consents.Messages.InsertAllCookiesSuccess, TrackingScriptName, function () {\n CanTrack = LhApp.Function.Tracking.canTrack(cookieType);\n InitAll();\n });\n }\n });\n\n // Helpers\n function getVariations(pCartItemModel) {\n if (pCartItemModel.Dimensions.length === 0) {\n return false;\n }\n\n var variation = {\n code: `${pCartItemModel.Dimensions[0].Name}-${pCartItemModel.Dimensions[1].Size}`,\n stock: 1,\n details: getDetails(pCartItemModel.Dimensions)\n }\n\n return variation;\n }\n\n function getDetails(dimensions) {\n if (dimensions.length === 0) {\n return false;\n }\n\n var details = {};\n\n for (let i = 0; i < dimensions.length; i++) {\n var dimension = dimensions[i];\n details[dimension.Name] = {\n category_name: dimension.Color ? \"Color\" : \"Size\",\n category: dimension.Code,\n value: dimension.Color ? dimension.Name : dimension.Size\n }\n }\n\n return details;\n }\n\n function getCheckoutIds(cartProductsData) {\n var ids = [];\n\n for (var i = 0; i < cartProductsData.length; i++) {\n ids.push(cartProductsData[i].ProductId);\n }\n\n return ids;\n }\n\n function getBreadcrumb(excludeIds) {\n var breadcrumb = [];\n var fullPathIdsString = LhApp.Context.Item.FullPath;\n var fullPathNames = TrackingData.Path;\n\n if (fullPathIdsString[0] === ',') {\n fullPathIdsString = fullPathIdsString.slice(1);\n }\n\n if (fullPathIdsString[fullPathIdsString.length - 1] === ',') {\n fullPathIdsString = fullPathIdsString.slice(0, fullPathIdsString.length - 1);\n }\n\n var fullPathIds = fullPathIdsString.split(',');\n fullPathIds = fullPathIds.slice(fullPathIds.length - fullPathNames.length);\n\n for (var i = fullPathNames.length - 1; i >= 0; i--) {\n if (!(excludeIds && excludeIds.includes(fullPathIds[i]))) {\n breadcrumb.push({\n id: fullPathIds[i],\n name: fullPathNames[i],\n parent: i === 0 ? false : fullPathIds[i - 1]\n });\n } \n }\n\n return breadcrumb;\n }\n\n function getInventory(colors, sizes) {\n var inventory = {};\n\n for (var i = 0; i < colors.length; i++) {\n for (let j = 0; j < sizes.length; j++) {\n inventory[`${colors[i].Name}-${sizes[j].Name}`] = true;\n }\n }\n\n if (Object.keys(inventory).length === 0) {\n inventory = {\n stock: true,\n variations: false\n }\n }\n\n return inventory;\n }\n\n function isHelpPage() {\n return LhApp.Context.Item.Template.toLowerCase() === 'faq';\n }\n})();","Vendd.Scripts.load(function () {\n if (venddProjectConfigs.phoneLocalizationEnabled) {\n initPhoneLocalization();\n } \n});\n\nfunction initPhoneLocalization() {\n\n var formRow = document.getElementsByClassName(\"js-phone-localization\");\n\n if (formRow.length < 1) return;\n\n for (var i = 0; i < formRow.length; i++) {\n initPlugin(formRow[i]);\n }\n}\n\nfunction initPlugin(item) {\n\n var input = item.querySelector(\"input\");\n\n if (input.length < 1) return;\n\n var validationType = input.getAttribute(\"data-validation\");\n var iti, itiOptions;\n\n var defaultItiOptions = {\n initialCountry: LhApp.Context.Country.toLowerCase(),\n preferredCountries: [LhApp.Context.Country.toLowerCase()],\n //excludeCountries: [],\n //onlyCountries: [],\n autoPlaceholder: 'aggressive',\n formatOnDisplay: false,\n utilsScript: \"system/js/plugins/utils.js\"\n };\n\n if (validationType === \"phone\") {\n itiOptions = $.extend({}, defaultItiOptions, { placeholderNumberType: 'FIXED_LINE' });\n } else if (validationType === \"mobile\") {\n itiOptions = $.extend({}, defaultItiOptions, { placeholderNumberType: 'MOBILE' });\n } else if (validationType === \"both\") {\n itiOptions = $.extend({}, defaultItiOptions, { placeholderNumberType: 'FIXED_LINE_OR_MOBILE' });\n } else {\n itiOptions = defaultItiOptions;\n }\n\n iti = window.intlTelInput(input, itiOptions);\n\n // on blur: add country phone code\n if (venddProjectConfigs.phoneLocalizationAutoCompleteCode) {\n input.addEventListener('blur', function () {\n if (input.value.trim()) {\n if (iti.isValidNumber()) {\n var fullNumber = iti.getNumber();\n input.value = fullNumber;\n }\n }\n });\n }\n}","(function () {\n var s = (typeof (Vendd) != \"undefined\" && Vendd.Scripts) || (typeof (Scripts) != \"undefined\" && Scripts);\n if (!s) return;\n s.load(function () {\n 'use strict';\n var TrackingScriptName = 'TikTokPixel';\n\n var TrackingModel = LhApp.Function.Tracking.getTrackingModel();\n var Tracker = LhApp.Function.Tracking.getTracker(\"tiktok\", TrackingModel);\n\n if (!Tracker || !Tracker.Properties.TikTokPixelId)\n return;\n\n var CanTrack = LhApp.Function.Tracking.canTrack();\n\n var _cartAddResponses = []; // holds a response for every cart add action. \n var _isUserSelectedProduct;\n\n Init();\n\n function Init() {\n if (!CanTrack) return;\n\n //include facebook tracking script\n !function (w, d, t) {\n w.TiktokAnalyticsObject = t; var ttq = w[t] = w[t] || []; ttq.methods = [\"page\", \"track\", \"identify\", \"instances\", \"debug\", \"on\", \"off\", \"once\", \"ready\", \"alias\", \"group\", \"enableCookie\", \"disableCookie\"], ttq.setAndDefer = function (t, e) { t[e] = function () { t.push([e].concat(Array.prototype.slice.call(arguments, 0))) } }; for (var i = 0; i < ttq.methods.length; i++)ttq.setAndDefer(ttq, ttq.methods[i]); ttq.instance = function (t) { for (var e = ttq._i[t] || [], n = 0; n < ttq.methods.length; n++)ttq.setAndDefer(e, ttq.methods[n]); return e }, ttq.load = function (e, n) { var i = \"https://analytics.tiktok.com/i18n/pixel/events.js\"; ttq._i = ttq._i || {}, ttq._i[e] = [], ttq._i[e]._u = i, ttq._t = ttq._t || {}, ttq._t[e] = +new Date, ttq._o = ttq._o || {}, ttq._o[e] = n || {}; var o = document.createElement(\"script\"); o.type = \"text/javascript\", o.async = !0, o.src = i + \"?sdkid=\" + e + \"&lib=\" + t; var a = document.getElementsByTagName(\"script\")[0]; a.parentNode.insertBefore(o, a) };\n\n ttq.load(Tracker.Properties.TikTokPixelId);\n ttq.page();\n }(window, document, 'ttq');\n \n //TRACK product details\n if (TrackingModel.IsProductDetailsPage && TrackingModel.ProductData && TrackingModel.ProductData.length > 0) {\n var product = TrackingModel.ProductData[0];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\n\n ttq.track('ViewContent',\n {\n content_type: 'product',\n content_id: productId,\n content_name: product.Name,\n content_category: product.Category,\n value: product.PriceN,\n price: product.PriceN,\n currency: LhApp.Context.Currency.Code\n }\n );\n }\n\n //TRACK order completion\n if (TrackingModel.IsThankYouPage && TrackingModel.CartProductsData && TrackingModel.Order) {\n if (TrackingModel.Order.CompletionPageLoadCounter > 1) // if reload return\n if (!(LhApp.Context.Request.IsLocal && LhApp.Context.IsDebug))\n return;\n\n var orderProducts = [];\n var items = TrackingModel.CartProductsData;\n\n for (var i = 0; i < items.length; i++) {\n var product = items[i];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\n\n orderProducts.push({\n content_type: 'product',\n content_id: productId,\n content_name: product.Name,\n quantity: product.Quantity,\n price: product.PriceN,\n });\n }\n\n ttq.track('Purchase', {\n contents: orderProducts,\n value: TrackingModel.Order.TotalPriceN,\n currency: LhApp.Context.Currency.Code\n });\n }\n }\n\n // IMPORTANT execute this scripts in all other pages except checout\n if (typeof (Vendd) != \"undefined\" && Vendd.Scripts) {\n\n //On consents update, re-initialize this tracker\n Vendd.MessageBus.subscribe(Vendd.Consents.Messages.InsertAllCookiesSuccess, TrackingScriptName, function () {\n CanTrack = LhApp.Function.Tracking.canTrack();\n Init();\n });\n\n //HELPER this script keep track of products added to cart\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Add, TrackingScriptName, function (envelope) {\n if (!CanTrack) return;\n\n var res = envelope.message.data;\n _cartAddResponses.push({\n ProductId: res.id,\n SkuId: res.skuId,\n Quantity: parseFloat(res.qty)\n });\n\n });\n //TRACK add to cart (recorded by the ABOVE script)\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Changed, TrackingScriptName, function (envelope) {\n if (!CanTrack) return;\n\n var cartModel = envelope.message.data.Cart;\n\n var pAddResponse = _cartAddResponses.shift();\n (function AddToCartTrack(p) {\n if (!p)\n return;\n\n var pCartItemModel = cartModel.Items.filter(function (i) {\n return i.ProductId == p.ProductId && i.VariantId == p.SkuId;\n })[0];\n\n if (pCartItemModel) {\n var product = pCartItemModel;\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\n \n ttq.track('AddToCart', {\n content_type: 'product',\n content_id: productId,\n content_name: pCartItemModel.Title,\n content_category: pCartItemModel.Category,\n value: pCartItemModel.Prices.PriceN * pAddResponse.Quantity,\n price: pCartItemModel.Prices.PriceN,\n currency: LhApp.Context.Currency.Code\n });\n }\n\n AddToCartTrack(_cartAddResponses.shift());\n\n })(pAddResponse);\n\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.SetSelected, TrackingScriptName, function (envelope) {\n //determine if this has been auto raised during product details load in order to avoid tracking twice the product view\n _isUserSelectedProduct = envelope.message.data.visitorInitiated;\n });\n\n //TRACK product view (changed)\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.Changed, TrackingScriptName, function (envelope) {\n if (!CanTrack) return;\n\n if (!_isUserSelectedProduct)\n return;\n\n var model = envelope.message.data.model;\n\n var product = model;\n var productId = LhApp.Function.Tracking.getFeedItemId(product, 'ProductChanged', Tracker);\n\n ttq.track('ViewContent', {\n content_type: 'product',\n content_id: productId,\n content_name: model.Name,\n content_category: model.Category,\n value: model.Prices.UnitPriceN,\n price: model.Prices.UnitPriceN,\n currency: LhApp.Context.Currency.Code\n });\n });\n }\n });\n})();","(function () {\n var s = (typeof (Vendd) != \"undefined\" && Vendd.Scripts) || (typeof (Scripts) != \"undefined\" && Scripts);\n if (!s) return;\n s.load(function () {\n 'use strict';\n var TrackingScriptName = 'GoogleDynamicRemarketing';\n\n var TrackingModel = LhApp.Function.Tracking.getTrackingModel();\n var Tracker = LhApp.Function.Tracking.getTracker(\"googledynamicremarketing\", TrackingModel);\n\n if (!Tracker)\n return;\n\n var cookieType = Tracker.CookieGroupCode ? Tracker.CookieGroupCode : '';\n var CanTrack = LhApp.Function.Tracking.canTrack(cookieType);\n\n var _userIdentifier = ''; \n var _isUserSelectedProduct;\n var _currentPath = new Array();\n\n Init(); \n\n function Init() {\n if (!CanTrack) return;\n\n LhApp.Function.Tracking.InitGoogleTagManager();\n\n window.dataLayer = window.dataLayer || [];\n \n //TRACK order completion\n if (TrackingModel.IsThankYouPage && TrackingModel.CartProductsData && TrackingModel.Order) {\n if (TrackingModel.Order.IsAlreadyTracked)\n return;\n\n if (typeof angular !== 'undefined') {\n angular.element(document).ready(function () {\n var oScope = angular.element('.x-control.x-angular-control.x-checkoutorder').scope();\n var tracked = false;\n if (oScope && !tracked) {\n if (TrackingModel.IsThankYouPage) //cookie consent had been granted\n {\n tracked = true;\n\n if (oScope.Model.Data.Profile.HashedEmail)\n _userIdentifier = oScope.Model.Data.Profile.HashedEmail;\n\n var ids = [];\n var items = TrackingModel.CartProductsData;\n for (var i = 0, len = items.length; i < len; i++) {\n var product = items[i];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\n\n if(ids.indexOf(productId) < 0)\n ids.push(productId);\n };\n\n window.dataLayer.push({\n 'ecomm_prodid': ids,\n 'ecomm_userid': _userIdentifier,\n 'ecomm_pagetype': 'purchase',\n 'ecomm_totalvalue': TrackingModel.Order.TotalPriceN\n });\n }\n }\n });\n }\n }\n }\n\n // IMPORTANT execute this scripts in all other pages except checout\n if (typeof (Vendd) != \"undefined\" && Vendd.Scripts) {\n\n //On consents update, re-initialize this tracker\n Vendd.MessageBus.subscribe(Vendd.Consents.Messages.InsertAllCookiesSuccess, TrackingScriptName, function () {\n CanTrack = LhApp.Function.Tracking.canTrack(cookieType);\n Init();\n });\n\n //in the case of criteo we first have to retrive user email before sending trcking in\n Vendd.MessageBus.subscribe(Vendd.User.Messages.GetUserViewModelSuccess, TrackingScriptName, function (envelope) {\n if (!CanTrack) return;\n\n if (envelope && envelope.message && envelope.message.data && envelope.message.data.model) {\n if (envelope.message.data.model.IsAuthenticated && envelope.message.data.model.HashedEmail) {\n _userIdentifier = envelope.message.data.model.HashedEmail;\n }\n\n if (TrackingModel.IsHomePage) {\n window.dataLayer.push({\n 'ecomm_userid': _userIdentifier,\n 'ecomm_pagetype': 'home'\n });\n } else if (LhApp.Context.Item.Template === 'searchresults' || LhApp.Context.Item.Template === 'search_products') {\n var ids = []; \n for (var list in TrackingModel.ProductListsData) {\n var listItems = TrackingModel.ProductListsData[list];\n for (var i = 0; i < listItems.length; i++) {\n var product = listItems[i];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\n\n if (ids.indexOf(productId) < 0)\n ids.push(productId);\n };\n }\n\n window.dataLayer.push({\n 'ecomm_prodid': ids,\n 'ecomm_userid': _userIdentifier,\n 'ecomm_pagetype': 'searchresults'\n });\n } else if (TrackingModel.IsProductListPage) {\n window.dataLayer.push({\n 'ecomm_userid': _userIdentifier,\n 'ecomm_pagetype': 'category',\n 'ecomm_category': TrackingModel.Path\n });\n } else if (TrackingModel.IsProductDetailsPage && TrackingModel.ProductData && TrackingModel.ProductData.length > 0) {\n var product = TrackingModel.ProductData[0];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\n\n _currentPath = product.Path.slice(0, product.Path.length - 1);\n\n window.dataLayer.push({\n 'ecomm_userid': _userIdentifier,\n 'ecomm_pagetype': 'product',\n 'ecomm_category': _currentPath,\n 'ecomm_prodid': [productId],\n 'ecomm_totalvalue': product.PriceN\n });\n } else if (TrackingModel.IsCartPage) {\n //this is handled in cart change\n }\n else {\n window.dataLayer.push({\n 'ecomm_userid': _userIdentifier,\n 'ecomm_pagetype': 'other'\n });\n }\n }\n });\n\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.SetSelected, TrackingScriptName, function (envelope) {\n //determine if this has been auto raised during product details load in order to avoid tracking twice the product view\n _isUserSelectedProduct = envelope.message.data.visitorInitiated;\n });\n //TRACK product view (changed)\n Vendd.MessageBus.subscribe(Vendd.Product.Messages.Changed, TrackingScriptName, function (envelope) {\n if (!CanTrack) return;\n\n if (!_isUserSelectedProduct)\n return;\n\n var model = envelope.message.data.model;\n\n var product = model;\n var productId = LhApp.Function.Tracking.getFeedItemId(product, 'ProductChanged', Tracker);\n\n window.dataLayer.push({\n 'ecomm_userid': _userIdentifier,\n 'ecomm_pagetype': 'product',\n 'ecomm_category': _currentPath,\n 'ecomm_prodid': [productId],\n 'ecomm_totalvalue': product.Prices.UnitPriceN\n });\n });\n\n Vendd.MessageBus.subscribe(Vendd.Cart.Messages.Changed, TrackingScriptName, function (envelope) {\n if (!CanTrack) return;\n\n if (TrackingModel.IsCartPage) {\n\n var items = envelope.message.data.Cart.Items || [];\n var ids = [];\n for (var i = 0, len = items.length; i < len; i++) {\n var product = items[i];\n var productId = LhApp.Function.Tracking.getFeedItemId(product, null, Tracker);\n\n if(ids.indexOf(productId) < 0)\n ids.push(productId);\n };\n\n window.dataLayer.push({\n 'ecomm_userid': _userIdentifier,\n 'ecomm_pagetype': 'cart',\n 'ecomm_prodid': ids,\n 'ecomm_totalvalue': envelope.message.data.Cart.Summary.TotalPrice\n });\n }\n });\n }\n });\n})();\n","(function () {\n var s = (typeof (Vendd) != \"undefined\" && Vendd.Scripts) || (typeof (Scripts) != \"undefined\" && Scripts);\n if (!s) return;\n s.load(function () {\n 'use strict';\n var TrackingScriptName = 'GoogleConversionTracking';\n\n var TrackingModel = LhApp.Function.Tracking.getTrackingModel();\n var Tracker = LhApp.Function.Tracking.getTracker(\"googleconversiontracking\", TrackingModel);\n\n if (!Tracker || !Tracker.Properties.GoogleConversionId || !Tracker.Properties.GoogleConversionLabel)\n return;\n\n var cookieType = Tracker.CookieGroupCode ? Tracker.CookieGroupCode : '';\n var CanTrack = LhApp.Function.Tracking.canTrack(cookieType);\n\n Init();\n\n function Init() {\n if (!CanTrack) return;\n\n LhApp.Function.Tracking.InitGoogleTagManager();\n\n //TRACK order completion\n if (TrackingModel.IsThankYouPage && TrackingModel.CartProductsData && TrackingModel.Order) {\n if (TrackingModel.Order.IsAlreadyTracked)\n return;\n\n if (typeof angular !== 'undefined') {\n angular.element(document).ready(function () {\n var oScope = angular.element('.x-control.x-angular-control.x-checkoutorder').scope();\n var tracked = false;\n if (oScope && !tracked) {\n if (TrackingModel.IsThankYouPage) //cookie consent had been granted\n {\n tracked = true;\n\n window.google_conversion_id = Tracker.Properties.GoogleConversionId;\n window.google_conversion_label = Tracker.Properties.GoogleConversionLabel;\n window.google_conversion_value = TrackingModel.Order.TotalPriceN;\n window.google_conversion_currency = LhApp.Context.Currency.Code;\n window.google_remarketing_only = Tracker.Properties.GoogleConversionRemarketingOnly ? true : false; \n\n $('body').prepend(\n '