1(window.webpackJsonp=window.webpackJsonp||[]).push([["website",31,112,113],{CGng:function(e,t,a){},WDvI:function(e,t,a){"use strict";a.r(t);a("3bBZ"),a("FZtP"),a("ex4Q"),a("CGng");var o=a("b7Po");async function r(){return await Promise.all([a.e(8),a.e(33)]).then(a.t.bind(null,"MO+k",7))}async function i(){return await Promise.all([a.e(3),a.e(14)]).then(a.t.bind(null,"mdrt",7))}async function s(){return await a.e(25).then(a.t.bind(null,"+9gu",7)),await a.e(34).then(a.t.bind(null,"ZUyc",7)),(await a.e(28).then(a.bind(null,"+0A1"))).default}var l=()=>o.default.loadCommerce();async function n(){return await a.e(114).then(a.bind(null,"kg7o"))}async function c(){return await a.e(30).then(a.bind(null,"6zSn"))}(()=>{var e={header:document.querySelector("header .wsw-header"),menuHeaderIcon:document.querySelector("header .wsw-header .wsw-menu-icon"),clipInAnimations:document.querySelector("div[data-block-id].wsw-clipIn, .wsw-block-quote-animation-reveal"),animationsOnScroll:document.querySelector(".wsw-animations-onscroll"),headerHeight:null,topBarHeight:null,calcHeaderHeight:null,calcSectionsDividers:null,menuWithHashLinks:!!document.querySelector('.wsw-header-element-menu a[href*="#"], .wsw-block-menu a[href*="#"]'),hashLinksOnPage:document.querySelector('a[href*="#"], div.wsw-link[data-href*="#"]'),goTopButton:document.querySelector("div.wsw-go-to-top-button"),floatingShareButtons:document.querySelector("div.wsw-floating-share-buttons"),floatingShareButtonsSettings:{},closeTopBarButton:document.querySelector("div.wsw-top-bar .wsw-top-bar-element-close-button"),promotionalPopups:document.querySelectorAll("body > div.wsw-promotional-popup"),promotionalPopupsSettings:{},counterBlocks:!!document.querySelector(".wsw-counter-block"),countdownBlocks:!!document.querySelector(".wsw-block-countdown"),progressBlocksWithAnimation:!!document.querySelector(".wsw-block-progress.with-progress-animation"),textWithCustomStyleBlocks:!!document.querySelector("div[data-text] .ql-custom-style, .wsw-block-image .ql-custom-style, .wsw-block-table .ql-custom-style"),textWithHighlightBlocks:!!document.querySelector("div[data-text] .ql-custom-style[data-highlight-pattern], .wsw-block-image .ql-custom-style[data-highlight-pattern], .wsw-block-table .ql-custom-style[data-highlight-pattern]"),animatedTextBlocks:!!document.querySelector(".wsw-block-animated-text"),loginBlocks:!!document.querySelector(".wsw-block-login"),galleryBlocks:!!document.querySelector(".wsw-block-gallery"),videoBlocks:!!document.querySelector(".wsw-block-video .wsw-block-custom-thumbnail .video-play-button"),searchBlocks:!!document.querySelector(".wsw-block-search"),filterBlocks:!!document.querySelector(".wsw-store-filter"),accordionBlocks:!!document.querySelector(".wsw-accordion-block"),reviewsBlocks:!!document.querySelector(".wsw-block-collection-reviews"),blocksWithAutoStretch:!!document.querySelector(".wsw-block-vertical-line.with-auto-stretch, .wsw-block-image.with-vertical-stretch"),blockWithScroll:!!document.querySelector("div[data-pagination-on-scroll]"),blockWithAutoload:!!document.querySelector("div[data-pagination-on-autoload]"),blockWithDynamicPagination:!!document.querySelector("div.wsw-block-pagination[data-dynamic]"),blockWithSplitItemsLoading:!!document.querySelector("div[data-pagination-split-items-loading]"),blockWithCarousel:!!document.querySelector(".wsw-block-collection-layout-carousel"),blockWithBadges:!!document.querySelector(".wsw-block-collection .wsw-block-with-badges, .wsw-block-store-product .wsw-store-product-badges"),commerceBlocks:!!document.querySelector(".wsw-block-collection-products, .wsw-block-collection-categories, .wsw-block-store-product, .wsw-block-cart, .wsw-block-store-cart, .wsw-block-store-checkout, [data-wsw-store]"),withTranslation:document.querySelector("body").getAttribute("data-with-translation"),triggerCounterBlocksOnScroll:!1,triggerProgressBlocksAnimationOnScroll:!1,triggerTextWithHighlightBlocksAnimationOnScroll:!1,triggerAnimatedTextBlocksAnimationOnScroll:!1,triggerPaginationOnScroll:!1,changeActiveLinksOnScroll:!0,autoScrollingInProgress:!1,resizeEventCallbacks:o.default.resizeEventCallbacks,updateMetaValues:null,updateFileSizeMeta:null,youtubeApiAdded:!1,vimeoApiApdded:!1,scrollEventInitialized:!1,lastSearchKeyword:null,searchEvents:null,preloadImages:null,beforeScrollThemeClass:null,resizeEvent:o.default.resizeEvent,getParents:o.default.getParents,fetch:o.default.fetch,broadCastRender(e){o.default.loadBroadCast().then(t=>t.default.broadcastEvent("render",{el:e}))}};if(e.clipInAnimations){var t=0,d=e.clipInAnimations.classList.contains("slow")?200:e.clipInAnimations.classList.contains("fast")?50:100;e.animationsOnScroll&&(d=0),document.querySelectorAll("div[data-block-id].wsw-clipIn >
1 *, .wsw-block-quote-animation-reveal").forEach(e=>{e.style.animationDelay=t+"ms",(e.classList.contains("wsw-image-animation-reveal")||e.classList.contains("wsw-image-animation-collide")||e.classList.contains("wsw-image-animation-custom")||e.classList.contains("wsw-image-animation-horizontalClip")||e.classList.contains("wsw-image-animation-verticalClip"))&&e.querySelectorAll(".wsw-image-wrapper, .wsw-image-caption, .wsw-block-image-text-wrapper").forEach(e=>{e.style.animationDelay=t+"ms"}),t+=d}),document.querySelectorAll("div[data-block-id].wsw-clipIn").forEach(e=>{e.classList.toggle("wsw-fadeIn",!0)})}if((document.querySelector('section[data-section-id] > svg clipPath[id^="section-divider-wsw"]')||document.querySelector("section[data-section-id].wsh"))&&(e.calcSectionsDividers=()=>{for(var t=document.querySelectorAll("section[data-section-id]"),a=t.length,r=a>=10?a+1:null,i=function(i){var s=(i,l,n)=>{var c=i.querySelector('svg clipPath[id="section-divider-'+i.getAttribute("data-section-id")+'"]'),d=i.classList.contains("wsh");if(c||d){var u;if(c){var g=window.getComputedStyle(i).getPropertyValue("height"),w=window.getComputedStyle(i).getPropertyValue("padding-bottom"),h=c.getAttribute("data-divider-height");h||"0"===h||(h="150"),h=parseInt(h);var p=c.getAttribute("data-template-path");if(p){var m=h>=parseFloat(g)||isNaN(parseFloat(g))?1:h/parseFloat(g),b=c.querySelector("path");b&&(p=p.replace(/%1/g,1-m).replace(/%2/g,1+m),b.getAttribute("d")!==p&&b.setAttribute("d",p))}"wave"===c.getAttribute("data-type")&&(h+=.33*parseFloat(g)),h+(w?parseFloat(w):0)>=parseFloat(g)&&(h=parseFloat(g)-(w?parseFloat(w):0)),u="calc("+h+"px + "+(w||0)+")"}for(var v=l+1,y=t[v];y&&!o.default.isVisible(y);)v++,y=t[v];if(y){if([[i,l],[y,v]].forEach(e=>{e[0].hasAttribute("data-transition-end")||(e[0].setAttribute("data-transition-end","true"),e[0].addEventListener("transitionend",()=>{var t=window.getComputedStyle(e[0]).getPropertyValue("height");t!==e[0].getAttribute("data-transition-end")&&s(e[0],e[1],!0),e[0].setAttribute("data-transition-end",t)}))}),!i.style.zIndex&&(i.style.zIndex=a,r&&e.header)){e.header.style.zIndex=r;var f=document.querySelector("div.wsw-top-bar");f&&(f.style.zIndex=r)}n||a--,c&&u&&(i.style.setProperty("--divider-gap",u),y.style.setProperty("--section-padding-top",u))}i.classList.toggle("with-divider",!(!c||d))}else i.style.removeProperty("--divider-gap"),i.classList.contains("with-search-results")||(i.style.zIndex=null),i.classList.toggle("with-divider",!1),i.classList.toggle("with-divider-animation",!1)};o.default.isVisible(t[i])&&s(t[i],i)},s=0;s<t.length;s++)i(s)}),e.header){var u=e.header.classList.contains("wsw-header-transparent"),g=e.header.classList.contains("wsw-header-fixed"),w=e.header.classList.contains("wsw-header-flexible")?e.header.querySelector("section"):null,h=document.querySelector(".wsw-block-store-checkout .wsw-checkout-cart.sticky-cart:not([hidden])");if(e.calcHeaderHeight=t=>{var a=document.querySelector("div.wsw-top-bar"),r=a?a.classList.contains("wsw-top-bar-is-closing"):null,i=a?window.getComputedStyle(a).getPropertyValue("height"):null,s=window.getComputedStyle(document.querySelector("header .wsw-header")).getPropertyValue("height"),l=a?a.querySelector(".wsw-top-bar-element"):null;if(l&&"normal"===window.getComputedStyle(l).lineHeight&&(t||0)<60)requestAnimationFrame(()=>e.calcHeaderHeight((t||0)+1));else{if((g||u)&&i&&!r?(e.topBarHeight=i,e.header.style.top=i,s&&(s=parseFloat(s)+parseFloat(i)+"px"),setTimeout(()=>{e.header.classList.contains("wsw-header-scroll-back")&&e.header.classList.toggle("wsw-header-scroll-back-with-top",!0)},50)):(g||u)&&e.topBarHeight?(e.topBarHeight=null,e.header.style.top=0):g||u||!i||r||!s||(s=parseFloat(s)+parseFloat(i)+"px"),e.header.classList.contains("with-element-image-above")){var n=e.header.querySelector(".wsw-header-elements-block"),c=n?window.getComputedStyle(n).getPropertyValue("height"):0;e.header.classList.contains("wsw-header-transparent")||e.header.classList.contains("wsw-header-was-transparent")?e.header.classList.contains("fixed")&&(e.headerHeight&&(s=e.headerHeight),n&&(n.style.top=i||0)):e.header.classList.contains("fixed")?(c&&(s=c),n&&(n.style.top=i||0,s&&i&&(s=parseFloat(s)+parseFloat(i)+"px"))):(s="0px")&&i&&(s=parseFloat(s)+parseFloat(i)+"px")}s&&!isNaN(parseFloat(s))&&s!==e.headerHeight&&(e.headerHeight=s);for(var d=document.querySelector("main"),w=document.querySelector("main section:first-child");w&&!o.default.isVisible(w);)w=w.nextElementSibling;if(!w)for(w=document.querySelector("footer section:first-child");w&&!o.default.isVisible(w);)w=w.nextElementSibling;if(g||u?((e.header.classList.contains("wsw-header-transparent")||e.header.classList.contains("wsw-header-was-transparent"))&&w?setTimeout(()=>{w.style.setProperty("--section-padding-top",e.headerHeight)},1):d&&o.default.isVisible(d)&&(d.style.paddingTop=e.headerHeight),h&&e.header.classList.contains("wsw-header-fixed")&&!e.header.classList.contains("wsw-header-scroll-back")&&(h.style.top="calc("+e.headerHeight+" + 1rem)")):w&&setTimeout(()=>{w.style.setProperty("--calculated-header-height",s)},1),(u||g&&e.header.classList.contains("wsw-header-scroll-back"))&&w?setTimeout(()=>{w.style.setProperty("--calculated-header-height",s)},1):d&&(g||u)&&d.style.setProperty("--calculated-header-height",e.headerHeight),g){var p=document.querySelector("footer");d&&d.style.setProperty("--fixed-header-offset",e.headerHeight),p&&p.style.setProperty("--fixed-header-offset",e.headerHeight)}setTimeout(()=>{e.calcSectionsDividers&&e.calcSectionsDividers()},1)}},e.calcHeaderHeight(),/Safari/.test(navigator.userAgent)&&/Apple Computer/.test(navigator.vendor)){var p=()=>window.getComputedStyle(e.header).getPropertyValue("height"),m=p(),b=0,v=Date.now()+3e3,y=()=>{var t=p();b=t===m?b+1:0,m=t,b>=3||Date.now()>=v?e.calcHeaderHeight():requestAnimationFrame(y)};requestAnimationFrame(y)}if(e.header.classList.contains("wsw-header-fixed")){var f=null,S=null,L=0,A=25,k=0,q=document.body,E=e.header.querySelector(".wsw-header-element-logo img:not(.wsw-mobile-logo)"),T=e.header.querySelector(".wsw-header-element-logo img.wsw-mobile-logo"),x=e.header.querySelector(".wsw-header-element-logo a[data-scroll]"),C=w||e.header,P=e.header.classList.contains("with-element-image-above")?e.header.querySelector(".wsw-header-element-image-above"):null;(e.header.classList.contains("wsw-header-scroll-theme")||e.header.classList.contains("wsw-header-scroll-back"))&&[e.header,w].forEac
1h(t=>{t&&t.classList.forEach(t=>{0===t.indexOf("wsw-header-scroll-theme--")?f=t.split("--")[1]:0===t.indexOf("wsw-header-scroll-back-theme--")?S=t.split("--")[1]:0===t.indexOf("wsw-theme-")&&(e.beforeScrollThemeClass=t)})}),window.addEventListener("scroll",()=>{if(!q.classList.contains("wsw-header-mobile-open")&&!q.getAttribute("data-ignore-header-scroll")){if(P){var t=parseFloat(window.getComputedStyle(P).getPropertyValue("height"));t&&!isNaN(t)&&t>25&&(A=t+25);var a=document.querySelector("div.wsw-top-bar")?parseFloat(window.getComputedStyle(document.querySelector("div.wsw-top-bar")).getPropertyValue("height")):null;k=a&&!isNaN(a)?a:0}P&&P.getBoundingClientRect().bottom<=k?e.header.classList.contains("fixed")||(e.header.classList.toggle("wsw-header-theme-is-changed",!1),e.header.classList.toggle("fixed",!0),e.calcHeaderHeight()):e.header.classList.contains("fixed")&&(e.header.classList.toggle("fixed",!1),e.calcHeaderHeight());var o=window.pageYOffset;if(o<=A){if(q.classList.contains("scroll-down")&&e.autoScrollingInProgress)return;if(q.classList.remove("scroll-up"),f){if(C.classList.toggle("wsw-theme-"+f,!1),C.classList.toggle(e.beforeScrollThemeClass,!0),u&&(e.header.classList.toggle("wsw-header-was-transparent",!1),e.header.classList.toggle("wsw-header-transparent",!0)),x&&(E&&E.getAttribute("data-orig")&&(E.setAttribute("src",E.getAttribute("data-orig")),E.removeAttribute("data-orig"),E.getAttribute("data-orig-srcset")?(E.setAttribute("srcset",E.getAttribute("data-orig-srcset")),E.removeAttribute("data-orig-srcset")):E.removeAttribute("srcset"),E.getAttribute("data-orig-width")?(E.setAttribute("width",E.getAttribute("data-orig-width")),E.setAttribute("height",E.getAttribute("data-orig-height")),E.removeAttribute("data-orig-width"),E.removeAttribute("data-orig-height")):(E.removeAttribute("width"),E.removeAttribute("height"))),T&&T.getAttribute("data-orig")&&(T.setAttribute("src",T.getAttribute("data-orig")),T.removeAttribute("data-orig"),T.getAttribute("data-orig-srcset")?(T.setAttribute("srcset",T.getAttribute("data-orig-srcset")),T.removeAttribute("data-orig-srcset")):T.removeAttribute("srcset"),T.getAttribute("data-orig-width")?(T.setAttribute("width",T.getAttribute("data-orig-width")),T.setAttribute("height",T.getAttribute("data-orig-height")),T.removeAttribute("data-orig-width"),T.removeAttribute("data-orig-height")):(T.removeAttribute("width"),T.removeAttribute("height"))),!E&&x.querySelector("img[data-scroll-logo]"))){var r=document.createElement("span");r.innerText=x.querySelector("img[data-scroll-logo]").getAttribute("alt"),x.querySelector("img[data-scroll-logo]").replaceWith(r)}}else S&&(C.classList.toggle("wsw-theme-"+S,!1),C.classList.toggle(e.beforeScrollThemeClass,!0),u&&(e.header.classList.toggle("wsw-header-was-transparent",!1),e.header.classList.toggle("wsw-header-transparent",!0)))}else{if(o>L&&!q.classList.contains("scroll-down")){if(q.classList.remove("scroll-up"),q.classList.add("scroll-down"),f&&(e.header.classList.toggle("wsw-header-theme-is-changed",!0),C.classList.toggle(e.beforeScrollThemeClass,!1),C.classList.toggle("wsw-theme-"+f,!0),u&&(e.header.classList.toggle("wsw-header-transparent",!1),e.header.classList.toggle("wsw-header-was-transparent",!0)),x)){var i=x.getAttribute("data-scroll"),s=x.getAttribute("data-scroll-srcset"),l=x.getAttribute("data-scroll-width"),n=x.getAttribute("data-scroll-height");if(E&&(E.getAttribute("data-orig")||(E.setAttribute("data-orig",E.getAttribute("src")),E.getAttribute("srcset")&&E.setAttribute("data-orig-srcset",E.getAttribute("srcset")),E.getAttribute("width")&&E.setAttribute("data-orig-width",E.getAttribute("width")),E.getAttribute("height")&&E.setAttribute("data-orig-height",E.getAttribute("height"))),E.setAttribute("src",i),s?E.setAttribute("srcset",s):E.removeAttribute("srcset"),l?E.setAttribute("width",l):E.removeAttribute("width"),n?E.setAttribute("height",n):E.removeAttribute("height")),T&&(T.getAttribute("data-orig")||(T.setAttribute("data-orig",T.getAttribute("src")),T.getAttribute("srcset")&&T.setAttribute("data-orig-srcset",T.getAttribute("srcset")),T.getAttribute("width")&&T.setAttribute("data-orig-width",T.getAttribute("width")),T.getAttribute("height")&&T.setAttribute("data-orig-height",T.getAttribute("height"))),T.setAttribute("src",i),s?T.setAttribute("srcset",s):T.removeAttribute("srcset"),l?T.setAttribute("width",l):T.removeAttribute("width"),n?T.setAttribute("height",n):T.removeAttribute("height")),!E&&x.querySelector("span")){var c=document.createElement("img");c.setAttribute("src",i),s&&c.setAttribute("srcset",s),c.setAttribute("alt",x.querySelector("span").innerHTML),c.setAttribute("data-scroll-logo","1"),x.querySelector("span").replaceWith(c)}}h&&e.headerHeight&&e.header.classList.contains("wsw-header-scroll-back")&&(h.style.top=null)}else o<L&&q.classList.contains("scroll-down")&&(q.classList.remove("scroll-down"),q.classList.add("scroll-up"),h&&e.headerHeight&&e.header.classList.contains("wsw-header-scroll-back")&&(h.style.top="calc("+e.headerHeight+" + 1rem)"),S&&(e.header.classList.toggle("wsw-header-theme-is-changed",!0),C.classList.toggle(e.beforeScrollThemeClass,!1),C.classList.toggle("wsw-theme-"+S,!0),u&&(e.header.classList.toggle("wsw-header-transparent",!1),e.header.classList.toggle("wsw-header-was-transparent",!0))));L=o}}}),e.resizeEventCallbacks.push(()=>e.calcHeaderHeight()),e.resizeEvent()}else u&&(e.resizeEventCallbacks.push(()=>e.calcHeaderHeight()),e.resizeEvent());if(document.querySelector("header img"))o.default.loadImagesLoaded().then(t=>{new t.default(document.querySelectorAll("header img"),{background:!0},(function(){e.calcHeaderHeight()}))});else if("MutationObserver"in window){var H=0,I=new window.MutationObserver((function(){e.calcHeaderHeight(),++H>=5&&I.disconnect()}));I.observe(e.header,{attributes:!0,childList:!0,characterData:!0,subtree:!0})}}e.preloadImages=()=>{document.querySelector(".wsw-image-preload")&&o.default.loadImagesLoaded().then(e=>{document.querySelectorAll(".wsw-image-preload").forEach(t=>{new e.default(t.querySelectorAll(".wsw-image-wrapper img"),{},(function(){t.classList.toggle("wsw-image-preload",!1)}))})})},e.preloadImages();var B=()=>{var t;e.scrollEventInitialized=!0;var a=function(e){var t=e.getBoundingClientRect();return t.top>=0&&t.top<=(window.innerHeight||document.documentElement.clientHeight)||t.top<=0},r=o.default.isInViewport;o.default.scrollEvent=i=>{t||(t=setTimeout((function(){if(t=null,e.animationsOnScroll&&document.querySelectorAll(".wsw-animations-onscroll").forEach(e
1=>{a(e)&&e.classList.toggle("wsw-animations-onscroll",!1)}),document.querySelector(".wsw-animations-onscroll")||e.menuWithHashLinks||e.goTopButton||e.promotionalPopups.length||e.floatingShareButtons||document.querySelectorAll('.wsw-counter-block[data-state="pending"]').length||document.querySelectorAll(".wsw-block-animated-text:not(.animation-triggered)").length||document.querySelectorAll(".wsw-block-progress.with-progress-animation:not(.animation-triggered)").length||document.querySelectorAll("div[data-block-id][data-text]:not(.text-highlight-rendered) .ql-custom-style[data-highlight-pattern]").length||document.querySelector("div[data-pagination-on-scroll]")||(window.removeEventListener("scroll",o.default.scrollEvent),e.scrollEventInitialized=!1),e.menuWithHashLinks&&e.changeActiveLinksOnScroll){var i=!1;document.querySelectorAll('.wsw-header-element-menu a[href*="#"], .wsw-block-menu a[href*="#"]').forEach(e=>{var t=e.getAttribute("href").split("#");if(t[1]&&(!t[0]||decodeURIComponent(window.location.pathname)===decodeURIComponent(t[0]))){var a="footer"===t[1]?document.querySelector("footer"):document.querySelector('[data-section-id="'+t[1]+'"], [id="'+t[1]+'"]');a&&r(a)&&(document.querySelectorAll(".wsw-header-element-menu .active, .wsw-block-menu .active").forEach(e=>e.classList.toggle("active",!1)),document.querySelectorAll('.wsw-header-element-menu a[href*="#'+t[1]+'"], .wsw-block-menu a[href*="#'+t[1]+'"]').forEach(e=>{e.classList.contains("nav-item-folder-link")?e.parentNode.classList.toggle("active",!0):e.classList.toggle("active",!0)}),i=!0)}}),!i&&e.activeOnLoadMenuLink&&e.activeOnLoadMenuLink.length&&window.pageYOffset<=(window.innerHeight||document.documentElement.clientHeight)&&(document.querySelectorAll(".wsw-header-element-menu .active, .wsw-block-menu .active").forEach(e=>e.classList.toggle("active",!1)),e.activeOnLoadMenuLink.forEach(e=>e.classList.toggle("active",!0)))}if(e.goTopButton&&(window.pageYOffset>=10?(e.goTopButton.classList.toggle("wsw-slideIn",!0),e.goTopButton.classList.toggle("medium",!0),e.goTopButton.classList.toggle("animated",!1)):(e.goTopButton.classList.toggle("wsw-slideIn",!1),e.goTopButton.classList.toggle("animated",!0))),e.promotionalPopups&&e.promotionalPopups.length&&e.promotionalPopups.forEach(t=>{var a=null==t?void 0:t.getAttribute("data-uuid");e.promotionalPopupsSettings[a]&&e.promotionalPopupsSettings[a].timing&&t.classList.contains("animated")&&("scroll"===e.promotionalPopupsSettings[a].timing||"time_scroll"===e.promotionalPopupsSettings[a].timing)&&(window.pageYOffset>=e.promotionalPopupsSettings[a].scrollHeight||!e.promotionalPopupsSettings[a].scrollHeight)&&("time_scroll"===e.promotionalPopupsSettings[a].timing?t.classList.contains("time-scroll-delayed")&&t.classList.toggle("animated",!1):t.classList.toggle("animated",!1))}),e.floatingShareButtons&&e.floatingShareButtonsSettings.scroll){var s=e.floatingShareButtons.classList,l=e.floatingShareButtons.querySelector(".wsw-block-button");window.pageYOffset>=e.floatingShareButtonsSettings.scrollHeight||!e.floatingShareButtonsSettings.scrollHeight?(e.floatingShareButtons.removeAttribute("hidden"),s.toggle("medium",!0),l&&s.contains("state-expanded")||s.contains("animated")||s.toggle("wsw-slideIn",!0),s.toggle("wsw-slideOut",!1),!l||e.floatingShareButtonsSettings.initialToggleWidth&&"auto"!==e.floatingShareButtonsSettings.initialToggleWidth||"auto"===window.getComputedStyle(l).getPropertyValue("width")||(e.floatingShareButtonsSettings.initialToggleWidth=l.style.width=window.getComputedStyle(l).getPropertyValue("width"))):s.contains("layout-popup")||(s.toggle("medium",!1),s.toggle("wsw-slideIn",!1),s.toggle("wsw-slideOut",!0),s.toggle("animated",!1),l&&s.contains("expand-on-click")&&s.contains("state-expanded")&&l.click(),setTimeout(()=>{e.floatingShareButtons.setAttribute("hidden","hidden"),l&&(l.style.width=e.floatingShareButtonsSettings.initialToggleWidth)},350))}e.counterBlocks&&e.triggerCounterBlocksOnScroll&&e.triggerCounterBlocksOnScroll(),e.progressBlocksWithAnimation&&e.triggerProgressBlocksAnimationOnScroll&&e.triggerProgressBlocksAnimationOnScroll(),e.triggerTextWithHighlightBlocksAnimationOnScroll&&e.triggerTextWithHighlightBlocksAnimationOnScroll(),e.animatedTextBlocks&&e.triggerAnimatedTextBlocksAnimationOnScroll&&e.triggerAnimatedTextBlocksAnimationOnScroll(),e.triggerPaginationOnScroll&&e.triggerPaginationOnScroll(a)}),!0===i?1:100))},window.addEventListener("scroll",o.default.scrollEvent),o.default.scrollEvent(!0)};if((e.animationsOnScroll||e.menuWithHashLinks||e.goTopButton||e.floatingShareButtons||e.promotionalPopups.length||e.counterBlocks||e.blockWithScroll||e.progressBlocksWithAnimation||e.textWithHighlightBlocks||e.animatedTextBlocks)&&B(),document.querySelector(".swiper-container")&&async function(){return await a.e(15).then(a.t.bind(null,"xHiC",7)),await a.e(136).then(a.t.bind(null,"feOW",7))}().then(t=>{document.querySelectorAll(".wsw-slider-block").forEach(a=>{var r=e.getParents(a,"section[data-section-id]",!0);if(!r||o.default.isVisible(r)){var i=a.querySelector(".swiper-container"),s=()=>{a.classList.toggle("initialized",!0),e.preloadImages&&e.preloadImages()},l=a.getAttribute("data-navigation"),n=a.getAttribute("data-navigationBulletsStyle"),c=a.getAttribute("data-navigationBulletsCard"),d=(e,t)=>'<span class="'+t+'">'+(e+1)+"</span>",u=()=>{a.querySelector(".swiper-pagination").style.width="auto"},g={direction:"horizontal",effect:a.getAttribute("data-effect")?a.getAttribute("data-effect"):"slide",slidesPerView:a.getAttribute("data-sli
1desperview")?parseInt(a.getAttribute("data-slidesperview")):1,autoplay:!!a.getAttribute("data-autoplay"),parallax:!!a.getAttribute("data-parallax"),autoHeight:!!a.getAttribute("data-autoheight"),watchSlidesProgress:!!a.getAttribute("data-autoheight"),centeredSlides:!!a.getAttribute("data-centeredslides"),loop:!!a.getAttribute("data-loop"),loopAdditionalSlides:a.getAttribute("data-loop")?2:0,grabCursor:!0,spaceBetween:a.getAttribute("data-spacebetween")?parseInt(a.getAttribute("data-spacebetween")):0,speed:a.getAttribute("data-speed")?parseInt(a.getAttribute("data-speed")):300,observer:!0,observeParents:!0,observeSlideChildren:!0,fadeEffect:{crossFade:!0},coverflowEffect:{rotate:30,slideShadows:!1},flipEffect:{rotate:30,slideShadows:!1},cubeEffect:{slideShadows:!1,shadow:!1},preventClicks:!1,preloadImages:!0,lazy:!1,on:{init:()=>{!a.getAttribute("data-autoheight")&&a.getAttribute("data-fixed-size")&&a.getAttribute("data-height")&&(i.style.height=a.getAttribute("data-height")+"px"),[...a.attributes].forEach(e=>{e.name.startsWith("data-")&&a.removeAttribute(e.name)}),a.getAttribute("data-autoplay")||s(),c&&("pagination"===l&&"dynamic"===n||"pagination_dynamic"===l&&["default","dynamic"].includes(n))&&setTimeout(u,10)},transitionStart:s}},w=!!a.getAttribute("data-fixed-size"),h=a.getAttribute("data-height")?parseInt(a.getAttribute("data-height")):0;if(!g.autoHeight&&w&&h?(a.setAttribute("data-height",""+h),a.setAttribute("data-fixed-size","true"),i.style.height=h+"px"):(a.removeAttribute("data-height"),a.removeAttribute("data-fixed-size"),i.style.height=null),g.autoplay&&a.getAttribute("data-delay")&&(g.autoplay={delay:1e3*parseInt(a.getAttribute("data-delay"))}),window.getComputedStyle(document.body).getPropertyValue("--mobile")&&(g.slidesPerView=1),l){var p=a.parentElement.getAttribute("data-block-id");["swiper-button-next","swiper-button-prev","swiper-pagination"].forEach(e=>{a.querySelector("."+e)&&a.querySelector("."+e).classList.toggle(e+p,!0)}),"buttons"===l?g.navigation={nextEl:".swiper-button-next"+p,prevEl:".swiper-button-prev"+p}:"pagination"===l?(g.pagination={el:".swiper-pagination"+p,type:"bullets",dynamicBullets:"dynamic"===n,clickable:!0,renderBullet:"paginated"===n?d:null},g.navigation={nextEl:".swiper-button-next"+p,prevEl:".swiper-button-prev"+p}):"pagination_dynamic"===l?(g.pagination={el:".swiper-pagination"+p,type:"bullets",dynamicBullets:"default"===n||"dynamic"===n,clickable:!0,renderBullet:"paginated"===n?d:null},g.navigation={nextEl:".swiper-button-next"+p,prevEl:".swiper-button-prev"+p}):"progress_bar"===l?(g.pagination={el:".swiper-pagination"+p,type:"progressbar",dynamicBullets:"dynamic"===n,renderBullet:"paginated"===n?d:null},g.navigation={nextEl:".swiper-button-next"+p,prevEl:".swiper-button-prev"+p}
1):"scrollbar"===l&&(g.scrollbar={el:".swiper-scrollbar",draggable:!0},g.navigation={nextEl:".swiper-button-next"+p,prevEl:".swiper-button-prev"+p}),c&&("pagination"===l&&"dynamic"===n||"pagination_dynamic"===l&&["default","dynamic"].includes(n))&&(g.on.slideChange=u)}new t.default(i,g)}})}),document.querySelector(".wsw-block-chart")&&r().then(()=>{document.querySelectorAll(".wsw-block-chart").forEach(e=>{var t=e.querySelector("div[data-block-chart-helper]"),a={};if(t){try{a=JSON.parse(t.innerText)}catch(e){a={}}t.remove()}a.config&&(a.config.options.scales.xAxes[0].ticks.callback=function(e,t,a){return e.length>30?e.substring(0,30)+"...":e},"pie"===a.chart_type&&(a.config.options.tooltips={callbacks:{title:function(e,t){return t.datasets[e[0].datasetIndex].label}}})),r().then(()=>{var t;new Chart((t=document.createElement("canvas"),e.querySelector(".wsw-block-chart-canvas").appendChild(t),t).getContext("2d"),a.config?a.config:{})})})}),e.blocksWithAutoStretch&&document.querySelectorAll(".wsw-block-vertical-line.with-auto-stretch, .wsw-block-image.with-vertical-stretch").forEach(t=>{var a=e.getParents(t,".wsw-section-column",!0);a&&a.classList.toggle("wsw-section-vertical-stretch",!0)}),document.querySelector(".wsw-form-block iframe")&&document.querySelectorAll(".wsw-form-block iframe:not([data-with-resizer])").forEach(t=>{i().then(a=>{var r=()=>{a.iframeResize({log:!1,checkOrigin:!1,onResized:()=>{var a=t.closest(".wsw-content-wrapper");a&&e.broadCastRender(a)}},t)};r(),o.default.isVisible(t)||o.default.waitWhenVisible(t,r),t.setAttribute("data-with-resizer","true")})}),document.querySelector('[data-type="map"] iframe, [data-type="embed"] iframe')&&document.querySelectorAll('[data-type="map"] iframe:not([data-with-resizer]), [data-type="embed"] iframe:not([data-with-resizer])').forEach(e=>{i().then(e=>{})}),e.galleryBlocks&&(document.querySelectorAll(".wsw-block-gallery .wsw-block-gallery-categories:not(.with-filter-events)").forEach(e=>{e.classList.toggle("with-filter-events",!0);var t=e.parentElement,a=e=>{var a=t.querySelector(".wsw-block-gallery-container").classList;a.toggle("wsw-fadeIn",e),a.toggle("wsw-fadeOut",!e)},o=(e,t)=>{t?e.removeAttribute("hidden"):e.setAttribute("hidden","hidden")};e.addEventListener("click",r=>{!r.target||!r.target.classList.contains("wsw-category")||r.target.classList.contains("wsw-category-all")&&r.target.classList.contains("wsw-category-active")||(r.preventDefault(),a(!1),setTimeout(()=>{if(r.target.classList.contains("wsw-category-all"))r.target.classList.toggle("wsw-category-active",!0),e.querySelectorAll(".wsw-category-active:not(.wsw-category-all)").forEach(e=>{e.classList.toggle("wsw-category-active",!1)}),t.querySelectorAll(".wsw-block-gallery-image").forEach(e=>{o(e,!0)});else{var i=[];if(e.hasAttribute("data-multiple"))r.target.classList.toggle("wsw-category-active"),e.querySelectorAll(".wsw-category-active:not(.wsw-category-all) span").forEach(e=>{i.push(e.innerText.toLowerCase())});else{var s=!r.target.classList.contains("wsw-category-active");e.querySelectorAll(".wsw-category-active:not(.wsw-category-all)").forEach(e=>{e.classList.toggle("wsw-category-active",!1)}),s&&(r.target.classList.toggle("wsw-category-active",!0),i.push(r.target.innerText.toLowerCase()))}e.querySelector(".wsw-category-all").classList.toggle("wsw-category-active",!e.querySelector(".wsw-category-active:not(.wsw-category-all)")),t.querySelectorAll(".wsw-block-gallery-image").forEach(e=>{var t=e.getAttribute("data-categories")?e.getAttribute("data-categories").toLowerCase().split(","):[];o(e,t.filter(e=>i.includes(e)).length===i.length)}),0===t.querySelectorAll(".wsw-block-gallery-image:not([hidden])").length?(e.classList.toggle("no-images",!0),t.querySelector(".wsw-block-gallery-container").classList.toggle("no-images",!0)):(e.classList.toggle("no-images",!1),t.querySelector(".wsw-block-gallery-container").classList.toggle("no-images",!1))}a(!0)},100))})}),document.querySelectorAll(".wsw-block-gallery .wsw-block-gallery-pagination:not(.with-pagination-events)").forEach(t=>{t.classList.toggle("with-pagination-events",!0);var a=t.parentElement;t.addEventListener("click",r=>{if(r.target&&r.target.classList.contains("wsw-more-button")){r.preventDefault();var i,s=e.getParents(a,"div[data-block-id]",!0);r.target.classList.contains("wsw-more-button")&&(i=a.querySelector(".wsw-block-gallery-container"),e.fetch("post",window.location.href,JSON.stringify({action:"render-element",block:s.getAttribute("data-block-id"),start:t.getAttribute("data-next-start"),total:t.getAttribute("data-total")}),r=>{if((r="string"==typeof r&&r.startsWith("{")?JSON.parse(r):r)&&r.html){var s=document.createElement("div");s.innerHTML=r.html;var l=s.querySelector(".wsw-block-gallery");
1l&&i&&(l.querySelectorAll(".wsw-block-gallery-image").forEach(e=>{i.appendChild(e)}),i.querySelectorAll(".wsw-block-gallery-image").forEach((e,t)=>{e.setAttribute("data-idx",t)}));var n=s.querySelector(".wsw-block-gallery-pagination");n?["data-next-start","data-total"].forEach(e=>{t.setAttribute(e,n.getAttribute(e))}):t.remove(),a.querySelector("div[data-pagination-split-items-loading]")&&a.querySelector("div[data-pagination-split-items-loading]").remove();var c=s.querySelector("div[data-pagination-split-items-loading]");if(c&&(a.append(c.cloneNode(!0)),!n)){var d=document.createElement("div");d.classList.toggle("wsw-block-gallery-pagination"),d.setAttribute("hidden","hidden"),d.setAttribute("data-next-start",c.getAttribute("data-total")),a.append(d)}e.blockWithSplitItemsLoading&&o.default.paginationSplitItemsLoadingEvent()}},null,{"X-Requested-With":"XMLHttpRequest"}))}})})),document.querySelector(".wsw-block-image-text-wrapper[data-with-link], .wsw-image-caption[data-with-link]")&&document.querySelectorAll(".wsw-block-image-text-wrapper[data-with-link], .wsw-image-caption[data-with-link]").forEach(t=>{if(t.getAttribute("data-href")){var a=e.getParents(t,".wsw-block-image",!0);a&&!a.classList.contains("with-on-click-event")&&(a.classList.toggle("with-on-click-event",!0),a.addEventListener("click",e=>{if(e.target&&"IMG"===e.target.tagName&&a.classList.contains("wsw-lightbox"));else if(!e.target||"A"!==e.target.tagName){var t=a.querySelector("a[data-with-link]");t&&(e.preventDefault(),e.stopPropagation(),t.click())}}))}}),document.querySelector(".wsw-block-gallery.wsw-lightbox, .wsw-product-more-images[data-enable-lightbox], .wsw-block-image.wsw-lightbox, .wsw-accordion-block.wsw-lightbox")&&async function(){return await a.e(2).then(a.t.bind(null,"qem8",7)),(await a.e(69).then(a.bind(null,"8HI5"))).default}().then(t=>{document.querySelectorAll(".wsw-block-gallery.wsw-lightbox, .wsw-product-more-images[data-enable-lightbox], .wsw-block-image.wsw-lightbox, .wsw-accordion-block.wsw-lightbox").forEach(a=>{var o=a.classList.contains("wsw-product-more-images"),r=a.classList.contains("wsw-accordion-block"),i=!0,s=o||r?a:a.querySelector(".wsw-block-gallery-container");s||(i=!1,(s=a).setAttribute("data-idx","0")),s&&s.addEventListener("click",o=>{if(o.target&&"IMG"===o.target.tagName){var r=i?e.getParents(o.target,".wsw-block-gallery-image, .accordion-tab-content",!0):s;if(r){var l=r.getAttribute("data-idx")?parseInt(r.getAttribute("data-idx")):0,n=e.getParents(s,"section[data-section-id]",!0);n&&t.displayImage(n,s,l,!0,a.classList.contains("wsw-lightbox-border"))}}})})}),(window.location.hash||e.menuWithHashLinks||e.hashLinksOnPage||e.goTopButton)&&(e.menuWithHashLinks=!0,e.scrollToHash=t=>{e.changeActiveLinksOnScroll=!1,e.autoScrollingInProgress=!0;var a="#footer"===t?document.querySelector("footer"):document.querySelector('[data-section-id="'+t.substr(1)+'"], [id="'+t.substr(1)+'"]');if(a){document.querySelector("html").style.overflowY=null;var r=/Safari/.test(navigator.userAgent)&&/Apple Computer/.test(navigator.vendor),i=a.getBoundingClientRect().top+a.ownerDocument.defaultView.pageYOffset;e.headerHeight&&!e.header.classList.contains("wsw-header-scroll-back")&&(i-=parseFloat(e.headerHeight)),r||a.scrollIntoView({behavior:"smooth",block:"start"}),o.default.scrollTo(i,500)}setTimeout(()=>{e.changeActiveLinksOnScroll=!0,e.autoScrollingInProgress=!1},500)},e.updateMenu=e=>{document.querySelectorAll(".wsw-header-element-menu .active, .wsw-block-menu .active").forEach(e=>e.classList.toggle("active",!1)),document.querySelectorAll('.wsw-header-element-menu a[href*="'+e+'"], .wsw-block-menu a[href*="'+e+'"]').forEach(e=>{e.classList.contains("nav-item-folder-link")?e.parentNode.classList.toggle("active",!0):e.classList.toggle("active",!0)})},e.checkScrollAfterImagesLoaded=t=>{document.querySelector("img")&&o.default.loadImagesLoaded().then(a=>{new a.default(document.querySelectorAll("img"),{background:!0},(function(){setTimeout(()=>e.scrollToHash(t),1e3)}))})},e.activeOnLoadMenuLink=document.querySelectorAll(".wsw-header-element-menu .active, .wsw-block-menu .active"),window.location.hash&&(e.updateMenu(window.location.hash),e.scrollToHash(window.location.hash),e.checkScrollAfterImagesLoaded(window.location.hash)),document.querySelectorAll('a[href*="#"], div.wsw-link[data-href*="#"]').forEach(t=>{t.addEventListener("click",a=>{var o=t.getAttribute("DIV"===t.nodeName?"data-href":"href").split("#");!o[1]||o[0]&&decodeURIComponent(window.location.pathname)!==decodeURIComponent(o[0])||a.target&&"A"===a.target.tagName&&a.target!==t||(e.promotionalPopups&&e.promotionalPopups.length&&e.promotionalPopups.forEach(e
1=>{e&&e.querySelector(".wsw-promotional-popup-close-icon")&&e.querySelector(".wsw-promotional-popup-close-icon").click()}),e.updateMenu("#"+o[1]),e.scrollToHash("#"+o[1]))})}),e.goTopButton&&document.querySelector("div.wsw-go-to-top-button a").addEventListener("click",()=>{o.default.scrollTo(0,500)})),document.querySelector(".wsw-header-element-menu .nav-item-folder, .wsw-block-menu.collapse-children .nav-item-folder")){var M=null,O=!1,N=t=>{var a=document.querySelector(".nav-item-folder .wsw-header-folder-dropdown"),o=t.getAttribute("data-page-id");if(o){a&&(a.remove(),document.querySelectorAll(".wsw-header-element-menu .nav-item-folder, .wsw-block-menu .nav-item-folder").forEach(e=>{e.classList.toggle("dropdown-shown",!1)})),(a=document.createElement("div")).classList.toggle("wsw-header-folder-dropdown",!0);var r=e.getParents(t,".wsw-header-element-menu, .wsw-block-menu",!0);(r?r.querySelectorAll('a[data-parent-id="'+o+'"]'):document.querySelectorAll('.wsw-header .wsw-header-element-menu a[data-parent-id="'+o+'"], .wsw-block-menu a[data-parent-id="'+o+'"]')).forEach(e=>{var t=e.cloneNode(!0);t.removeAttribute("hidden"),a.innerHTML=a.innerHTML+"<div>"+t.outerHTML+"</div>"}),a.innerHTML="<div>"+a.innerHTML+"</div>",t.append(a),a.classList.toggle("show",!0),t.classList.toggle("dropdown-shown",!0),document.body.classList.toggle("wsw-menu-dropdown-open",!0);var i=e.getParents(t,".wsw-section-inner",!0);i&&(i.style.zIndex=103),(i=e.getParents(t,"div[data-block-id]",!0))&&(i.style.zIndex=103),e.menuWithHashLinks&&a.querySelectorAll('a[href*="#"]').forEach(a=>{a.addEventListener("click",o=>{o.stopPropagation();var r=a.getAttribute("href").split("#");!r[1]||r[0]&&decodeURIComponent(window.location.pathname)!==decodeURIComponent(r[0])||(O=!0,W(t),e.updateMenu("#"+r[1]),e.scrollToHash("#"+r[1]),setTimeout(()=>O=!1,500))})})}},W=t=>{var a=document.querySelector(".nav-item-folder .wsw-header-folder-dropdown");a&&a.remove(),t.classList.toggle("dropdown-shown",!1),document.body.classList.toggle("wsw-menu-dropdown-open",!1);var o=e.getParents(t,".wsw-section-inner",!0);o&&(o.style.zIndex=null),(o=e.getParents(t,"div[data-block-id]",!0))&&(o.style.zIndex=null)};document.querySelectorAll(".wsw-header-element-menu .nav-item-folder, .wsw-block-menu.collapse-children .nav-item-folder").forEach(e=>{e.addEventListener("click",t=>{if(e.classList.contains("nav-item-page-with-children")&&t.target&&t.target.classList.contains("wsw-dropdown-icon")&&(t.preventDefault(),t.stopPropagation()),e.classList.contains("dropdown-shown")&&M&&M===e)return M=null,W(e);O||(M=e,N(e))}),e.addEventListener("mouseenter",()=>{M&&M===e||O||N(e)}),e.addEventListener("mouseleave",()=>{M&&M===e||(M=null,W(e))}),e.addEventListener("keydown",(function(t){if(t&&e===document.activeElement){var a=!e.classList.contains("nav-item-page-with-children")&&("Enter"===t.key||13===t.keyCode||"Enter"===t.code);if(("ArrowDown"===t.key||40===t.keyCode||"ArrowDown"===t.code||a)&&!(M&&M===e||O))return M=e,N(e),t.preventDefault(),void t.stopPropagation();("ArrowUp"===t.key||38===t.keyCode||"ArrowUp"===t.code||a)&&e.classList.contains("dropdown-shown")&&M&&M===e&&(M=null,W(e),t.preventDefault(),t.stopPropagation())}}))}),document.addEventListener("click",e=>{!M||e.target&&e.target.classList.contains("nav-item")||e.target&&e.target.classList.contains("nav-item")&&e.target.getAttribute("data-parent-id")||e.target&&e.target.parentElement&&e.target.parentElement.classList.contains("nav-item-folder")||e.target&&e.target.parentElement&&e.target.parentElement.parentElement&&e.target.parentElement.parentElement.classList.contains("nav-item-folder")||(W(M),M=null)})}if(e.menuHeaderIcon&&(e.menuHeaderIcon.addEventListener("click",()=>{var t=window.getComputedStyle(e.header).getPropertyValue("--mobile-header"),a=t?"mobile":"sidebar",o=document.querySelector("body"),r=e.menuHeaderIcon.querySelector(".wsw-"+a+"-menu-icon"),i=e.menuHeaderIcon.querySelector(".wsw-"+a+"-menu-close-icon"),s=!i&&r?r.querySelector(".hamburger"):null,l=document.querySelector("div.wsw-top-bar"),n=e.header.classList.contains("wsw-header-flexible");if(o.classList.contains("wsw-header-"+a+"-open")){s?s.classList.toggle("is-active",!1):i&&(i.setAttribute("hidden","hidden"),r.removeAttribute("hidden")),o.classList.toggle("wsw-header-"+a+"-open",!1);var c=document.querySelector("header .wsw-header-mobile-menu");return c&&c.remove(),e.header.getAttribute("data-zIndex")&&(e.header.style.zIndex=e.header.getAttribute("data-zIndex"),e.header.removeAttribute("data-zIndex")),l&&l.removeAttribute("hidden"),e.calcHeaderHeight&&e.calcHeaderHeight(),void window.scrollTo(window.scrollX,window.pageYOffset+1)}o.classList.toggle("wsw-header-"+a+"-open",!0),e.menuHeaderIcon.classList.toggle("wsw-fadeIn",!1),t?s?s.classList.toggle("is-active",!0):i&&(i.removeAttribute("hidden"),r.setAttribute("hidden","hidden")):document.querySelector("html").style.overflowY="hidden";var d="";(n&&e.header.querySelector("section")?e.header.querySelector("section"):e.header).classList.forEach(e
1=>{0===e.indexOf("wsw-theme-")&&(d=e)});var u,g=document.createElement("div");if(g.classList.toggle("wsw-header-mobile-menu",!0),"sidebar"===a&&(g.classList.toggle("wsw-header-sidebar-menu",!0),e.beforeScrollThemeClass&&(d=e.beforeScrollThemeClass),e.header.classList.contains("with-menu-dropdown-icon")&&g.classList.toggle("with-dropdown-icon",!0)),d&&g.classList.toggle(d,!0),e.header.style.zIndex&&(e.header.setAttribute("data-zIndex",e.header.style.zIndex),e.header.style.zIndex=null),t){l&&(l.setAttribute("hidden","hidden"),document.querySelector("header .wsw-header").style.top=0);var w=window.getComputedStyle(document.querySelector("header .wsw-header")).getPropertyValue("height");w&&(g.style.paddingTop=w),e.header.classList.contains("with-mobile-menu-separate-links")&&g.classList.toggle("with-separate-links",!0),e.header.classList.contains("with-mobile-menu-link-round-corners")&&g.classList.toggle("with-link-round-corners",!0),e.header.classList.contains("with-mobile-menu-dropdown-icon")&&g.classList.toggle("with-dropdown-icon",!0)}if(n){u=document.createElement("div");var h=e.header.querySelector("section");h&&(u.appendChild(h.cloneNode(!0)),u.querySelectorAll(".wsw-block-site-logo").forEach(t=>{var a=e.getParents(t,"div[data-block-id]",!0);a&&a.remove()}))}else u=e.header.querySelector(".wsw-header-element-menu > div:not(.wsw-menu-icon)").cloneNode(!0);u.querySelectorAll(n?".wsw-block-menu .nav-item":".nav-item").forEach(e=>{if(e.classList.contains("nav-item-folder")){var t=document.createElement("span");t.className=e.className,t.setAttribute("data-page-id",e.getAttribute("data-page-id"));var a=e.querySelector(".wsw-dropdown-icon");a&&(t.innerHTML=a.outerHTML,a.remove()),e.className="nav-item-folder-link",e.removeAttribute("data-page-id"),t.innerHTML=e.outerHTML+t.innerHTML,e.replaceWith(t)}});var p,m,b,v=t?u:document.createElement("div"),y=document.createElement("div");if(!n){if(!e.header.classList.contains("with-element-image-above")){var f=e.header.querySelector(".wsw-header-image-wrapper");f&&v.appendChild(f.cloneNode(!0))}var S=e.header.querySelector(".wsw-social-links");if(S){v.appendChild(S.cloneNode(!0));var L=u.querySelector(".custom-social-link");L&&v.appendChild(L)}var A=e.header.querySelector(".wsw-language-selector");A&&v.appendChild(A.cloneNode(!0));var k=e.header.querySelector(".wsw-block-button:not(.submit-button)");if(k&&(y.classList.toggle("wsw-mobile-actions",!0),y.appendChild(k.cloneNode(!0))),p=e.header.querySelector(".wsw-header-cart")){var q=p.cloneNode(!0);q.querySelectorAll(".with-event").forEach(e=>{e.classList.toggle("with-event",!1)}),y.classList.toggle("wsw-mobile-actions",!0),y.appendChild(q)}if(m=e.header.querySelector(".wsw-header-search")){var E=m.cloneNode(!0);E.querySelectorAll(".with-event").forEach(e=>{e.classList.toggle("with-event",!1)}),y.classList.toggle("wsw-mobile-actions",!0),y.appendChild(E)}if(b=e.header.querySelector(".wsw-header-login")){var T=b.cloneNode(!0);T.querySelectorAll(".with-event").forEach(e=>{e.classList.toggle("with-event",!1)}),y.classList.toggle("wsw-mobile-actions",!0),y.appendChild(T)}}if(y.classList.contains("wsw-mobile-actions")&&v.appendChild(y),g.innerHTML=u.outerHTML,g.querySelectorAll(n?".wsw-block-menu .nav-item-folder":".nav-item-folder").forEach(e=>{var t=e.getAttribute("data-page-id");e.addEventListener("click",a=>{if(a.target&&a.target.classList.contains("wsw-dropdown-icon"))a.preventDefault(),a.stopPropagation();else if(e.classList.contains("nav-item-page-with-children")&&(!a.target||!a.target.classList.contains("nav-item-page-with-children")))return;g.querySelectorAll(".nav-item-folder").forEach(t=>{t!==e&&t.classList.toggle("dropdown-shown",!1)}),g.querySelectorAll('.nav-item[data-parent-id]:not([data-parent-id="'+t+'"]').forEach(e=>{e.setAttribute("hidden","hidden"),e.style.display=null});var o=e.classList.contains("dropdown-shown");g.querySelectorAll('.nav-item[data-parent-id="'+t+'"]').forEach(t=>{o?(t.setAttribute("hidden","hidden"),t.style.display=null,e.classList.toggle("dropdown-shown",!1)):(t.removeAttribute("hidden"),t.style.display="block",e.classList.toggle("dropdown-shown",!0))})})}),e.header.parentNode.insertBefore(g,e.header.nextSibling),e.menuWithHashLinks&&document.querySelectorAll('.wsw-header-mobile-menu a[href*="#"]').forEach(t=>{t.addEventListener("click",()=>{var a=t.getAttribute("href").split("#");!a[1]||a[0]&&decodeURIComponent(window.location.pathname)!==decodeURIComponent(a[0])||-1!==["cart-content"].indexOf(a[1])||(e.menuHeaderIcon.click(),e.updateMenu("#"+a[1]),e.scrollToHash("#"+a[1]))})}),!t&&document.querySelector("header .wsw-header.wsw-header-sidebar")){var x=document.createElement("div"),C=document.createElement("div"),P=document.querySelector("header .wsw-sidebar-menu-close").cloneNode(!0),H=document.querySelector("header .wsw-header-mobile-menu"),I=()=>{H.classList.toggle("show",!1),x.classList.toggle("show",!1),document.querySelector("html").style.overflowY=null,setTimeout(()=>{x.remove(),setTimeout(()=>e.menuHeaderIcon.click(),50)},50)};if(C.classList.toggle("wsw-sidebar-top",!0),v.classList.toggle("wsw-sidebar-bottom",!0),H.appendChild(v),x.classList.toggle("wsw-backdrop",!0),x.classList.toggle("show",!0),e.header.parentNode.insertBefore(x,e.header.nextSibling),P.addEventListener("click",I),x.addEventListener("click",I),e.header.classList.contains("wsw-header-sidebar-right")&&H.classList.toggle("right",!0),P.removeAttribute("hidden"),C.appendChild(P),e.header.classList.contains("with-logo")&&e.header.querySelector(".wsw-header-element-logo > a")){var B=document.createElement("div");B.appendChild(e.header.querySelector(".wsw-header-element-logo > a").cloneNode(!0)),B.classList.toggle("wsw-sidebar-menu-logo",!0),C.appendChild(B)}H.insertBefore(C,H.firstChild),setTimeout(()=>{H.classList.toggle("show",!0),H.children[1].style.height="calc(100vh - "+window.getComputedStyle(C).getPropertyValue("height")+" - "+window.getComputedStyle(v).getPropertyValue("height")+")",parseInt(window.getComputedStyle(H).getPropertyValue("height"))-(H.children[1].scrollHeight+parseInt(window.getComputedStyle(C).getPropertyValue("height"))+
1parseInt(window.getComputedStyle(v).getPropertyValue("height")))<0&&(H.children[1].style.height="auto",v.style.position="initial")},50)}p&&e.commerceBlocks&&window.wswCommerce&&window.wswCommerce.initCart(),m&&e.searchEvents&&e.searchEvents(),b&&e.loginEvents&&e.loginEvents(),document.querySelector("header .wsw-header-mobile-menu .wsw-language-selector span.active")&&G(document.querySelector("header .wsw-header-mobile-menu .wsw-language-selector"))}),e.header.classList.contains("wsw-header-flexible"))){var V=e.header.querySelector(".wsw-block-site-logo");if(V){var _=e.header.querySelector(".wsw-header-mobile .wsw-header-element-logo");_&&_.replaceWith(V.cloneNode(!0))}}if(e.floatingShareButtons&&(e.floatingShareButtonsSettings={scroll:e.floatingShareButtons.getAttribute("data-scroll"),scrollHeight:parseInt(e.floatingShareButtons.getAttribute("data-scroll"))?parseInt(e.floatingShareButtons.getAttribute("data-scroll"))*((document.documentElement.scrollHeight||document.body.clientHeight)-(window.innerHeight||document.documentElement.clientHeight))/100:0},s().then(t=>{var a=e.floatingShareButtons.querySelector(".shariff"),o=e.floatingShareButtons.querySelector(".wsw-block-button");if(e.floatingShareButtonsSettings.scroll||e.floatingShareButtons.removeAttribute("hidden"),o&&e.floatingShareButtons.querySelectorAll("li").length){var r=()=>{var t=e.floatingShareButtons.querySelectorAll("li");parseInt(o.style.width)<parseInt(window.getComputedStyle(e.floatingShareButtons.querySelector("li")).getPropertyValue("width"))&&(o.style.transitionDuration=45*(t.length-1)+250+"ms"),t.forEach((a,o)=>{a.style.animationDelay=(e.floatingShareButtons.classList.contains("top-left")||e.floatingShareButtons.classList.contains("top-right")?45*(o+1):45*(t.length-o))+"ms"})};a.setAttribute("data-orientation","vertical"),setTimeout(()=>{e.floatingShareButtonsSettings.initialToggleWidth=o.style.width=window.getComputedStyle(o).getPropertyValue("width")},150);var i=window.matchMedia("(hover: none)").matches;o.addEventListener("click",()=>{e.floatingShareButtons.classList.contains("state-expanded")?(a.classList.contains("animation-reveal")&&(o.style.transitionDuration=250),o.style.width=e.floatingShareButtonsSettings.initialToggleWidth,e.floatingShareButtons.classList.toggle("state-expanded",!1),o.querySelector(".wsw-toggle-expander").classList.toggle("wsw-fadeIn",!0),o.querySelector(".wsw-toggle-expander").classList.toggle("wsw-fadeOut",!1),o.querySelector(".wsw-toggle-close").classList.toggle("wsw-fadeIn",!1),o.querySelector(".wsw-toggle-close").classList.toggle("wsw-fadeOut",!0),setTimeout(()=>{o.querySelector(".wsw-toggle-close").setAttribute("hidden","hidden"),e.floatingShareButtons.classList.toggle("state-clicked",!1)},350)):(e.floatingShareButtons.classList.toggle("wsw-slideIn",!1),e.floatingShareButtons.classList.toggle("animated",!0),a.classList.contains("animation-reveal")&&r(),o.style.width=window.getComputedStyle(e.floatingShareButtons.querySelector("li")).getPropertyValue("width"),e.floatingShareButtons.classList.toggle("state-expanded",!0),e.floatingShareButtons.classList.toggle("state-clicked",!0),o.querySelector(".wsw-toggle-expander").classList.toggle("wsw-fadeIn",!1),o.querySelector(".wsw-toggle-expander").classList.toggle("wsw-fadeOut",!0),setTimeout(()=>{o.querySelector(".wsw-toggle-close").removeAttribute("hidden"),o.querySelector(".wsw-toggle-close").classList.toggle("wsw-fadeIn",!0),o.querySelector(".wsw-toggle-close").classList.toggle("wsw-fadeOut",!1)},250))}),i||e.floatingShareButtons.classList.contains("expand-on-click")||(o.addEventListener("mouseenter",()=>{e.floatingShareButtons.classList.toggle("wsw-slideIn",!1),e.floatingShareButtons.classList.toggle("animated",!0),a.classList.contains("animation-reveal")&&r(),parseInt(window.getComputedStyle(o).getPropertyValue("width"))<parseInt(window.getComputedStyle(e.floatingShareButtons.querySelector("li")).getPropertyValue("width"))&&(o.style.width=window.getComputedStyle(e.floatingShareButtons.querySelector("li")).getPropertyValue("width")),e.floatingShareButtons.classList.toggle("state-expanded",!0),e.floatingShareButtons.classList.toggle("state-mouseenter",!0)}),e.floatingShareButtons.addEventListener("mouseleave",()=>{a.classList.contains("animation-reveal")&&(o.style.transitionDuration=250),o.style.width=e.floatingShareButtonsSettings.initialToggleWidth,e.floatingShareButtons.classList.toggle("state-expanded",!1),e.floatingShareButtons.classList.toggle("state-mouseenter",!1),o.querySelector(".wsw-toggle-expander").classList.toggle("wsw-fadeIn",!0),o.querySelector(".wsw-toggle-expander").classList.toggle("wsw-fadeOut",!1),o.querySelector(".wsw-toggle-close").classList.toggle("wsw-fadeIn",!1),o.querySelector(".wsw-toggle-close").classList.toggle("wsw-fadeOut",!0),setTimeout(()=>{o.querySelector(".wsw-toggle-close").setAttribute("hidden","hidden"),e.floatingShareButtons.classList.toggle("state-clicked",!1)},350)}))}else e.floatingShareButtons.querySelector(".wsw-share-buttons-popup")&&(a.setAttribute("data-orientation","horizontal"),e.floatingShareButtons.querySelector(".wsw-share-buttons-popup-placeholder").appendChild(a),e.floatingShareButtons.querySelector(".wsw-share-buttons-popup-close").addEventListener("click",t=>{t.preventDefault();var a=e.floatingShareButtons.querySelector(".wsw-share-buttons-popup-wrapper");a.classList.toggle("wsw-fadeIn",!1),a.classList.toggle("wsw-slideOut",!0),e.floatingShareButtons.classList.toggle("wsw-fadeOut",!0),setTimeout(()=>{e.floatingShareButtons.remove(),e.floatingShareButtons=null},355)}));a.setAttribute("data-lang",document.querySelector("html").getAttribute("lang")||null),new Shariff(a),t.loadLabels(a)})),document.querySelector(".wsw-share-buttons-block")&&s().then(e=>{document.querySelectorAll(".wsw-share-buttons-block .shariff").forEach(t=>{t.setAttribute("data-lang",document.querySelector("html").getAttribute("lang")||null),new Shariff(t),e.loadLabels(t)})}),document.querySelector(".wsw-section-background.wsw-section-background-video .wsw-video")){document.querySelectorAll(".wsw-section-background.wsw-section-background-video .wsw-video").forEach(e
1=>{var t=e.getAttribute("data-playback-speed");(e.classList.contains("wsw-youtube-iframe")||e.classList.contains("wsw-vimeo-iframe"))&&(e.onload=()=>{e.classList.contains("wsw-youtube-iframe")?e.contentWindow.postMessage(JSON.stringify({event:"command",func:"setPlaybackRate",args:[t?parseFloat(t):1,!0]}),"*"):e.classList.contains("wsw-vimeo-iframe")&&e.contentWindow.postMessage(JSON.stringify({method:"setPlaybackRate",value:t?parseFloat(t):1}),"*")}),e.classList.contains("wsw-hosted-video")&&e.querySelector("video")&&(e.querySelector("video").playbackRate=t?parseFloat(t):1)});var z=()=>{document.querySelectorAll(".wsw-section-background.wsw-section-background-video > div").forEach(e=>{var t=(e.getAttribute("data-background")?e.getAttribute("data-background"):"").split("|"),a=e.parentNode.parentNode,o=window.getComputedStyle(a).getPropertyValue("height");o=o?parseFloat(o.replace("px","")):0;var r=t[1]?parseInt(t[1]):0;r&&(o+=r*o/100*2);var i=100*o/56.25,s=e.querySelector(".wsw-video");window.innerWidth<i?(e.style.width=i+"px",e.style.height=o+"px",e.style.transform="translate(-"+(i-window.innerWidth)/2+"px,0)",s&&(s.style.width="100%",s.style.height="100%")):(e.style.width=null,e.style.height=null,e.style.transform=null,s&&(s.style=null,s.style.width=null,s.style.height=null))})};e.resizeEventCallbacks.push(()=>z()),e.resizeEvent(),z()}if(e.closeTopBarButton&&e.closeTopBarButton.addEventListener("click",()=>{e.closeTopBarButton=null;var t=document.querySelector("div.wsw-top-bar");e.header.classList.toggle("wsw-header-scroll-back-with-top",!0),e.header.classList.contains("wsw-header-fixed")?(t.remove(),e.calcHeaderHeight&&e.calcHeaderHeight(),setTimeout(()=>e.header.classList.toggle("wsw-header-scroll-back-with-top",!1),450)):(t.style.maxHeight=window.getComputedStyle(t).getPropertyValue("height"),t.classList.toggle("wsw-top-bar-scroll-back",!0),t.classList.toggle("wsw-top-bar-is-closing",!0),e.header.style.top=0,setTimeout(()=>{t.style.maxHeight=0,e.calcHeaderHeight&&e.calcHeaderHeight(),setTimeout(()=>{t.remove(),e.header.classList.toggle("wsw-header-scroll-back-with-top",!1)},400)},10))}),e.promotionalPopups&&e.promotionalPopups.length){var D=t=>{if(t&&t.getAttribute("data-uuid")){var a=t.getAttribute("data-uuid");e.promotionalPopupsSettings[a]={frequency:t.getAttribute("data-frequency"),timing:t.getAttribute("data-timing"),delay:t.getAttribute("data-delay"),scroll:t.getAttribute("data-scroll"),uuid:a,dismissHideIcon:t.getAttribute("data-dismiss-hide-icon"),dismissOutside:t.getAttribute("data-dismiss-outside"),dismissOnImage:t.getAttribute("data-dismiss-on-image")};var r=()=>{if(t){var e=t.querySelector(".wsw-promotional-popup-wrapper > div:first-child"),a=t.querySelector(".wsw-promotional-popup-content-wrapper"),o=window.innerHeight||document.documentElement.clientHeight;t.classList.toggle("with-scroll",!0),e.offsetHeight>o||a.offsetHeight>o?(document.body.classList.toggle("with-overlay",!0),t.classList.contains("wswpp6")||(document.querySelector("html").style.overflowY="hidden")):t.classList.toggle("with-scroll",!1)}};e.promotionalPopupsSettings[a].scrollHeight=e.promotionalPopupsSettings[a].scroll?parseInt(e.promotionalPopupsSettings[a].scroll)*((document.documentElement.scrollHeight||document.body.clientHeight)-(window.innerHeight||document.documentElement.clientHeight))/100:0;var i=window.getComputedStyle(document.body).getPropertyValue("--mobile");if(i&&t.querySelector(".wsw-promotional-popup-image.mobile-ratio-original")||!i&&t.classList.contains("wswpp10")&&t.querySelector(".wsw-promotional-popup-image.ratio-original")){var s=t.querySelector(".wsw-promotional-popup-image"),l=new Image;l.onload=function(){if(t){var e=window.getComputedStyle(s.parentElement).getPropertyValue("border-width"),a=window.getComputedStyle(s.parentElement).getPropertyValue("width");"100%"===a&&(a=window.getComputedStyle(s.parentElement).getPropertyValue("max-width")),a=parseInt(a)-(parseInt(e)?2*parseInt(e):0);var o=this.width?this.height*(a/this.width):0;t.classList.contains("wswpp9")?s.style.height=o+"px":s.style.paddingBottom=o+"px",s.classList.toggle("loaded",!0)}},l.src=window.getComputedStyle(s,":after").getPropertyValue("background-image").replace(/url\(['"]*(.*?)['"]*\)/g,"$1")}t.removeAttribute("data-frequency"),t.removeAttribute("data-timing"),t.removeAttribute("data-delay"),t.removeAttribute("data-scroll");var n=()=>{var a=t.querySelector(".wsw-promotional-popup-wrapper");a.classList.toggle("wsw-scaleIn",!1),a.classList.toggle("wsw-slideIn",!1),a.classList.toggle("wsw-fadeIn",!1),a.classList.toggle("wsw-slideOut",!0),t.classList.toggle("wsw-fadeOut",!0),setTimeout(()=>{document.body.classList.contains("with-overlay")&&(document.body.classList.toggle("with-overlay",!1),document.querySelector("html").style.overflowY=null),t.remove(),e.promotionalPopups=document.querySelectorAll("body > div.wsw-promotional-popup")},355)};if(t.querySelectorAll(".wsw-promotional-popup-dismiss-button, .wsw-promotional-popup-close-icon").forEach(e
1=>{e.addEventListener("click",e=>{e.preventDefault(),n()})}),e.promotionalPopupsSettings[a].dismissOutside&&t.addEventListener("click",e=>{t.querySelector(".wsw-promotional-popup-wrapper > div").contains(e.target)||n()}),e.promotionalPopupsSettings[a].dismissOnImage){var c=t.querySelector(".wsw-promotional-popup-image");c&&(c.addEventListener("click",e=>{e.preventDefault(),n()}),c.classList.add("clickable"))}var d=!0;if(window.localStorage&&a){var u=window.localStorage.getItem("wswppts-"+a);if(u){d=!1;var g=+new Date,w=(g-parseFloat(u))/1e3/60/60;e.promotionalPopupsSettings[a].frequency&&("always"===e.promotionalPopupsSettings[a].frequency&&g-parseFloat(u)>=1e3||"1_hour"===e.promotionalPopupsSettings[a].frequency&&w>=1||"next_day"===e.promotionalPopupsSettings[a].frequency&&w>=24||"1_week"===e.promotionalPopupsSettings[a].frequency&&w>=168||"2_weeks"===e.promotionalPopupsSettings[a].frequency&&w>=336||"30_days"===e.promotionalPopupsSettings[a].frequency&&w>=720?d=!0:"never"===e.promotionalPopupsSettings[a].frequency&&(d=!1))}d&&window.localStorage.setItem("wswppts-"+a,+new Date)}d?"time"===e.promotionalPopupsSettings[a].timing||"time_scroll"===e.promotionalPopupsSettings[a].timing?setTimeout(()=>{e.promotionalPopupsSettings[a]&&("time_scroll"===e.promotionalPopupsSettings[a].timing?(t.classList.toggle("time-scroll-delayed",!0),window.scrollTo(window.scrollX,window.pageYOffset-1)):t.classList.toggle("animated",!1),o.default.isVisible(t)?r():o.default.waitWhenVisible(t,r))},e.promotionalPopupsSettings[a].delay?1e3*parseInt(e.promotionalPopupsSettings[a].delay):0):o.default.waitWhenVisible(t,r):(t.remove(),e.promotionalPopups=document.querySelectorAll("body > div.wsw-promotional-popup"))}};(()=>{if(window.localStorage){var e=window.localStorage.getItem("wswpp");e&&window.localStorage.removeItem("wswpp");var t=window.localStorage.getItem("wswppts");t&&(e&&window.localStorage.setItem("wswppts-"+e,t),window.localStorage.removeItem("wswppts"))}})(),e.promotionalPopups.forEach(e=>D(e))}if(e.counterBlocks&&(e.triggerCounterBlocksOnScroll=()=>{document.querySelectorAll('.wsw-counter-block[data-state="pending"]').forEach(e=>{var t=e.getBoundingClientRect();if(!(t.top>window.innerHeight||t.bottom<0)){var a=e.getAttribute("data-state");if("started"===a||"stopped"===a)return;e.setAttribute("data-state","started");var o=parseInt(e.getAttribute("data-start-number")),r=o,i=parseInt(e.getAttribute("data-stop-number")),s=parseInt(e.getAttribute("data-speed")),l=Math.ceil(Math.abs(i-o)/(99*s));l<1&&(l=1);var n=setInterval(()=>{if("stopped"!==(a=e.getAttribute("data-state"))){if(o<i){if(i<(r+=l))return e.setAttribute("data-state","stopped"),e.querySelector(".counter-number").innerHTML=i.toLocaleString("default"),void clearInterval(n)}else if(i>(r-=l))return e.setAttribute("data-state","stopped"),e.querySelector(".counter-number").innerHTML=i.toLocaleString("default"),void clearInterval(n);e.querySelector(".counter-number").innerHTML=r.toLocaleString("default")}else clearInterval(n)},1===l?s/4:s<100?25:100)}})}),e.countdownBlocks){var F=document.body.getAttribute("data-timezone")||"UTC";document.querySelectorAll(".wsw-block-countdown:not(.with-event)").forEach(e=>{if(e&&e.getAttribute("data-countdown-date")&&e.getAttribute("data-countdown-time")&&F){var t,a,o,r,i=new Date(e.getAttribute("data-countdown-date")+"T"+e.getAttribute("data-countdown-time")+":00"+(t=F,a=new Date,o=new Date(a.toLocaleString("en-US",{timeZone:"UTC"})),0===(r=(new Date(a.toLocaleString("en-US",{timeZone:t})).getTime()-o.getTime())/6e4/60)?"Z":(r<0?"-":"+")+(Math.abs(r)<10?"0":"")+Math.abs(r)+":00"));if(i instanceof Date&&!isNaN(i)){var s,l=!0,n=t=>{if(e)if(i.getTime()<(new Date).getTime())e.querySelectorAll(".wsw-countdown-number").forEach(e=>{e.innerHTML="00"});else{if(s||(s=performance.now()),l||t-s>1e3){l=!1,s=t;var a={weeks:604800,days:86400,hours:3600,minutes:60,seconds:1},o=Math.abs(Math.floor(((new Date).getTime()-i.getTime())/1e3));Object.keys(a).forEach(t=>{if(e.querySelector(".wsw-countdown-timer-"+t+" .wsw-countdown-number")){var r=Math.floor(o/a[t]);o-=r*a[t],e.querySelector(".wsw-countdown-timer-"+t+" .wsw-countdown-number").innerHTML=r?r<10?"0"+r:r:"00"}})}requestAnimationFrame(n)}};requestAnimationFrame(n)}e.classList.toggle("with-event",!0)}})}if(e.progressBlocksWithAnimation&&(e.triggerProgressBlocksAnimationOnScroll=()=>{document.querySelectorAll(".wsw-block-progress.with-progress-animation:not(.animation-triggered)").forEach(e
1=>{var t=e.getBoundingClientRect();!(t.top>window.innerHeight||t.bottom<0)&&e.classList.toggle("animation-triggered",!0)})}),e.videoBlocks&&document.querySelectorAll(".wsw-block-video").forEach(t=>{var a=t.querySelector(".video-play-button");a&&a.addEventListener("click",()=>{if(!a.classList.contains("disabled")){a.classList.toggle("disabled",!0);var o=t.querySelector("video");if(o)o.play();else{var r=t.querySelector("iframe");if(!r)return;r.parentNode.style.display="block";var i=r.getAttribute("data-src");if(i||(i=r.getAttribute("src")),-1!==i.indexOf("youtube")){if(!e.youtubeApiAdded){var s=document.createElement("script");s.src="https://www.youtube.com/iframe_api";var l=document.getElementsByTagName("script")[0];l.parentNode.insertBefore(s,l),e.youtubeApiAdded=!0}var n=()=>{new YT.Player(r.parentNode,{videoId:i.split("/").pop(),events:{onReady:e=>e.target.playVideo()}})};window.YT?n():window.onYouTubeIframeAPIReady=()=>n()}else if(-1!==i.indexOf("vimeo")){if(!e.vimeoApiAdded){var c=document.createElement("script");c.src="https://player.vimeo.com/api/player.js";var d=document.getElementsByTagName("script")[0];d.parentNode.insertBefore(c,d),e.vimeoApiAdded=!0}var u=e=>{setTimeout(()=>{var e;window.Vimeo?(e=r.parentNode,r.remove(),new Vimeo.Player(e,{id:i.split("/").pop()}).play()):u(50)},e)};u(0)}}var g=a.parentNode;g.classList.toggle("hide",!0),setTimeout(()=>{g.remove()},750)}})}),e.loginBlocks){var R=(t,a)=>{var o=t.querySelector(".wsw-login-form"),r=t.querySelector(".wsw-password-reset-form"),i=o.querySelector("[data-translation-authentication-error]");if(i&&(i=i.innerHTML,o.querySelector("[data-translation-authentication-error]").remove()),[o,r].forEach(e=>{if(e){var t=()=>{var t=!0;e.querySelectorAll('input:not([type="hidden"]):not([hidden])').forEach(e=>{e.value||"onAutoFillStart"===getComputedStyle(e).animationName||(t=!1)}),e.querySelector(".submit-button").classList.toggle("disabled",!t)};e.querySelectorAll("input").forEach(e=>e.addEventListener("keyup",t)),setInterval(t,500)}}),r){["user-login","forgot-password"].forEach(e=>{var a=t.querySelector('[href="#'+e+'"]');a&&a.addEventListener("click",t=>{var a="user-login"===e;t.preventDefault(),a?(o.removeAttribute("hidden"),r.setAttribute("hidden","hidden")):(r.removeAttribute("hidden"),o.setAttribute("hidden","hidden")),[o,r].forEach(e=>{if(e){var t=e.querySelector(".form-errors");t&&(t.setAttribute("hidden","hidden"),t.classList.toggle("shake",!1),t.classList.remove("text-success"))}})})});var s=r.querySelector(".submit-button");s.addEventListener("click",t=>{if(t.preventDefault(),!s.classList.contains("disabled")){var a=()=>{r.querySelectorAll('input:not([type="hidden"])').forEach(e=>e.removeAttribute("disabled")),s.classList.toggle("disabled",!1),s.classList.toggle("progress",!1)};r.querySelectorAll('input:not([type="hidden"])').forEach(e=>e.setAttribute("disabled","disabled")),s.classList.toggle("disabled",!0),s.classList.toggle("progress",!0),s.querySelector(".spin").removeAttribute("hidden"),r.querySelector(".form-errors").setAttribute("hidden","hidden"),r.querySelector(".form-errors").classList.toggle("shake",!1),r.querySelector(".form-errors").classList.remove("text-success");var o=r.getAttribute("data-forgot-password-url")||"/forgot-password";e.fetch("post",o,JSON.stringify({email:r.querySelector(".input-username").value,_user_type:(r.querySelector('input[name="_user_type"]')||{value:"/client"}).value,expect:"json"}),e=>{(e="string"==typeof e&&e.startsWith("{")?JSON.parse(e):null)&&e.success?(a(),s.querySelector(".spin").setAttribute("hidden","hidden"),r.querySelector(".form-errors").innerHTML=e.message||"",r.querySelector(".form-errors").classList.add("text-success"),r.querySelector(".form-errors").removeAttribute("hidden")):(e=>{a(),s.querySelector(".spin").setAttribute("hidden","hidden"),r.querySelector(".form-errors").innerHTML=e&&e.errors?e.errors.length?e.errors.pop():e.errors:"",r.querySelector(".form-errors").removeAttribute("hidden"),r.querySelector(".form-errors").classList.toggle("shake",!0)})(e)})}})}var l=o.querySelector(".submit-button");l.addEventListener("click",r=>{if(r.preventDefault(),!l.classList.contains("disabled")){var s=()=>
1{o.querySelectorAll('input:not([type="hidden"])').forEach(e=>e.removeAttribute("disabled")),l.classList.toggle("disabled",!1),l.classList.toggle("progress",!1)};o.querySelectorAll('input:not([type="hidden"])').forEach(e=>e.setAttribute("disabled","disabled")),l.classList.toggle("disabled",!0),l.classList.toggle("progress",!0),l.querySelector(".spin").removeAttribute("hidden"),o.querySelector(".form-errors").setAttribute("hidden","hidden"),o.querySelector(".form-errors").classList.toggle("shake",!1),e.fetch("post","/sign-in",JSON.stringify({email:o.querySelector(".input-username").value,password:o.querySelector(".input-password").value,csrf_token:(o.querySelector('input[name="csrf_token"]')||{value:""}).value.slice(0,-1).split("-").reverse().join("-"),_user_type:(o.querySelector('input[name="_user_type"]')||{value:"/client"}).value,_validate_me:(o.querySelector('input[name="_validate_me"]')||{value:null}).value,expect:"json"}),e=>{e="string"==typeof e&&e.startsWith("{")?JSON.parse(e):null,t.querySelector(".wsw-login-form").removeAttribute("hidden"),t.querySelector(".wsw-password-reset-form")&&t.querySelector(".wsw-password-reset-form").setAttribute("hidden","hidden"),setTimeout(()=>{e&&e.success&&!0===e.success?(e=>{var t=!1,o=e=>{!e.querySelector(".logout-button")||e.getAttribute("data-post-login-action")&&"toggle_button"!==e.getAttribute("data-post-login-action")?t||(t=!0,"redirect_to_page"===e.getAttribute("data-post-login-action")&&e.getAttribute("data-post-login-redirect-page")?window.location.href=e.getAttribute("data-post-login-redirect-page"):window.location.reload()):(e.classList.contains("wsl4")?e.querySelector(".wsw-login-form").setAttribute("hidden","hidden"):e.querySelector(".login-button").setAttribute("hidden","hidden"),e.querySelector(".logout-button").removeAttribute("hidden"))};e.querySelector(".button-close")?e.querySelector(".button-close").click():e.classList.contains("wsw-block-login-overlay")&&e.click(),a?o(a):document.querySelectorAll(".wsw-block-login").forEach(e=>o(e)),s()})(t):(e=>{s(),l.querySelector(".spin").setAttribute("hidden","hidden"),o.querySelector(".form-errors").innerHTML=e&&e.errors?e.errors.length?e.errors.pop():e.errors:i,o.querySelector(".form-errors").removeAttribute("hidden"),o.querySelector(".form-errors").classList.toggle("shake",!0)})(e)},125)})}})};e.loginEvents=()=>{document.querySelectorAll(".wsw-block-login:not(.wsl1):not(.with-event)").forEach(t=>{var a=1;if(t.classList.forEach(e=>{0===e.indexOf("wsl")&&(a=parseInt(e.replace("wsl","")))}),t.querySelector(".login-button")&&a)return 4===a?R(t,t):void t.querySelector(".login-button").addEventListener("click",()=>{var o,r=t.querySelector(".wsw-login-form").cloneNode(!0),i=document.querySelector(".wsw-block-login-overlay"),s=e.getParents(t,"section[data-section-id]",!0),l=e.getParents(t,"div[data-block-id]",!0).getAttribute("data-block-id");s&&s.classList.forEach(e=>{0===e.indexOf("wsw-theme-")&&(o=e)}),i&&i.remove(),(i=document.createElement("div")).classList.toggle("wsw-block-login-overlay",!0),i.classList.toggle("wsl"+a,!0),i.classList.toggle("fade",!0),o&&i.classList.toggle(o,!0),l&&i.setAttribute("data-block-id",l);var n=document.createElement("div");n.classList.toggle("wsw-block-login-backdrop",!0);var c=document.createElement("div");if(c.classList.toggle("form-wrapper",!0),c.appendChild(r),t.querySelector(".wsw-password-reset-form")){var d=t.querySelector(".wsw-password-reset-form").cloneNode(!0);c.appendChild(d)}if(setTimeout(()=>i.classList.toggle("show",!0),50),document.body.appendChild(i),i.appendChild(n),i.appendChild(c),r.classList.toggle("show",!0),i.addEventListener("click",t=>{t.target&&(t.target.classList.contains("wsw-forms-inner")||e.getParents(t.target,".wsw-forms-inner",!0)||5===a&&e.getParents(t.target,".form-wrapper",!0)||5===a&&t.target.classList.contains("form-wrapper"))||window.getSelection().toString().length||(i.classList.toggle("show",!1),setTimeout(()=>i.remove(),150))}),5===a){var u=t.querySelector(".button-close").cloneNode(!0);u.removeAttribute("hidden"),u.addEventListener("click",()=>{i.classList.toggle("show",!1),setTimeout(()=>i.remove(),150)}),c.insertBefore(u,r)}r.querySelector(".input-username").focus(),R(i,t)})})},e.loginEvents()}if(e.searchBlocks){var J=t=>{var a=t.getAttribute("data-block-id");t&&t.remove();var o=document.querySelector('div[data-block-id="'+a+'"]');if(o){if("wsw-header-search"!==a){var r=e.getParents(o,"section[data-section-id]",!0);r&&r.classList.contains("with-search-results")&&r.classList.toggle("with-search-results",!1)}var i=o.querySelector(".search-form .search-input");i&&(i.value="")}},Y=t=>{if(!(t.target&&(e.getParents(t.target,".wsw-block-search-overlay",!0)||e.getParents(t.target,".wsw-block-search",!0)||e.getParents(t.target,".wsw-website-modal-store-product-options-picker",!0))||window.getSelection().toString().length)){var a=document.querySelector(".wsw-block-search-overlay");a&&(document.removeEventListener("click",Y),J(a))}};e.searchEvents=()=>{e.paginationData={}
1,e.appendResults={},e.paginationTotals={},document.querySelectorAll(".wsw-block-search:not(.with-event)").forEach(t=>{var a=t.querySelector(".search-button"),r=1,i=1,s=t.classList.contains("dropdown-right")?"right":"left",n=document.querySelector(".wsw-block-search-overlay"),c=t.querySelector(".search-form"),d=e.getParents(t,"div[data-block-id]",!0),u=e.getParents(d,"section[data-section-id]",!0),g=e.getParents(t,"div.wsw-store-search",!0);t.classList.toggle("with-event",!0),t.classList.forEach(e=>{0===e.indexOf("wsl")&&(i=parseInt(e.replace("wsl","")),r=5===i||6===i?1:i)});var w="";u&&u.classList.forEach(e=>{0===e.indexOf("wsw-theme-")&&(w=e)});var h=t=>{document.querySelectorAll(".wsw-block-search-overlay").forEach(J);var a=d.getAttribute("data-block-id");if((n=document.createElement("div")).classList.toggle("wsl"+r,!0),n.classList.toggle("wsw-block-search-overlay",!0),"wsw-header-search"===a&&e.beforeScrollThemeClass&&(w=e.beforeScrollThemeClass),w&&n.classList.toggle(w,!0),n.classList.toggle("fade",!0),n.setAttribute("data-block-id",a),n.setAttribute("data-is-search","true"),"wsw-header-search"===a&&c&&(2===r||4===r)){var o=window.getComputedStyle(c).getPropertyValue("height"),i=window.getComputedStyle(d).getPropertyValue("height"),l=parseFloat(i)/2+parseFloat(o)/2;n.style.top=l+"px",n.classList.toggle("dropdown-"+s,!0)}if(setTimeout(()=>n.classList.toggle("show",!0),50),"wsw-header-search"!==a&&(2===r||4===r)&&u&&!u.style.zIndex){var g=document.querySelectorAll("section[data-section-id]").length;document.querySelectorAll("section[data-section-id]").forEach(e=>{e.style.zIndex=g,g--}),u.classList.toggle("with-search-results",!0)}t.appendChild(n)},p=a=>{t&&t.classList.toggle("search-aborted",!1),a&&!a.classList.contains("with-event")&&d&&(a.classList.toggle("with-event",!0),a.addEventListener("keyup",o.default.functionDelay((function(s){if(s&&"Escape"===s.key&&!(s.ctrlKey||s.altKey||s.shiftKey))return t&&t.classList.toggle("search-aborted",!0),void(2===r?d&&d.querySelector(".wsw-block-search-overlay")&&d.querySelector(".wsw-block-search-overlay").remove():n&&n.click());if(t&&t.classList.toggle("search-aborted",!1),a.value){var u=null;e.appendResults={},e.paginationData={},e.paginationTotals={};var w=(s,p,b,y)=>{var f,S=n?(n.querySelector(".search-form .search-input")||a).value:a.value;!S||S.length<2||t&&t.classList.contains("search-aborted")||([d,n].forEach(e=>{e&&e.querySelector(".wsw-website-modal-store-product-options-picker")&&e.querySelectorAll(".wsw-website-modal-store-product-options-picker").forEach(e=>e.remove())}),e.fetch("post",window.location.href,JSON.stringify({action:"search",q:S,block:d.getAttribute("data-block-id"),forced_page:null===(f=document.querySelector("body"))||void 0===f?void 0:f.getAttribute("data-page"),forced_pagination:p||null,search_source:s||null}),a=>{if(a="string"==typeof a&&a.startsWith("{")?JSON.parse(a):a){var y=a=>{if((!t||!t.classList.contains("search-aborted"))&&a.html){var p=()=>{n.classList.toggle("with-search-results",!0);var t=window.getComputedStyle(n).getPropertyValue("width"),i="";t&&((t=parseInt(t))>1440?(i=t>2500?"xl":"lg",1!==r&&3!==r||(t=1440)):t<=500?i="xs":t<900&&(i="sm")),n.setAttribute("data-size",i);var g=t?Math.floor(t/340):null;g>10&&(g=10);var h=t?Math.floor(t/("sm"===i?170:340)):null;h>10&&(h=10);var p=t&&t<900?1:null;setTimeout(()=>{if(1===r||3===r){var t=document.createElement("div");t.classList.toggle("wsw-search-sections-overview",!0),c.querySelector(".wsw-search-sections-overview")||(c.appendChild(t),t.addEventListener("click",e=>{if(e.preventDefault(),e.stopPropagation(),e.target&&e.target.hasAttribute("data-source")){var t=n.querySelector('.wsw-search-pagination[data-source="'+e.target.getAttribute("data-source")+'"]');if(t){var a=/Safari/.test(navigator.userAgent)&&/Apple Computer/.test(navigator.vendor);t.getBoundingClientRect().top,t.ownerDocument.defaultView.pageYOffset;a||t.scrollIntoView({behavior:"smooth",block:"start"})}}}))}var i=n.querySelector(".wsw-search-results"),m=1===r||3===r?c:d.querySelector(".search-results-placeholder"),b=s&&"object"==typeof s?s[0]:s||"";e.paginationTotals[b]||(e.paginationTotals[b]={});var v="";if(a.section_title){v='<div class="wsw-search-section-title" hidden><h4>'+a.section_title+'</h4><div class="wsw-search-pagination" data-source="'+b+'"></div></div>';var y=n.querySelector(".wsw-search-sections-overview");if(y){var f=y.querySelector('span[data-source="'+b+'"]');
1if(a.no_results||f)a.no_results&&f&&f.remove();else{var L=document.createElement("span");L.setAttribute("data-source",b),L.innerHTML=a.section_title,s||(y.innerHTML=""),y.appendChild(L)}}}var A=n.querySelector('.wsw-search-results-part[data-source="'+b+'"]');if(A)if(e.appendResults[b]&&A.querySelector(".wsw-block-collection-container")){var k=document.createElement("div");k.innerHTML=a.html.join("</div><div></div>");var q=k.querySelector(".wsw-block-collection-container");q&&(A.querySelector(".wsw-block-collection-container").innerHTML+=q.innerHTML);var E=n.querySelector('.wsw-search-results-part[data-source="'+b+'"] div[data-pagination-search-template]');if(E){var T=k.querySelector("div[data-pagination-search-template]");E.outerHTML=T?T.outerHTML:E.outerHTML}}else A.innerHTML=a.html.join("</div><div></div>");else if(i)i.innerHTML=(s?i.innerHTML:"")+v+'<div class="wsw-search-results-part" data-source="'+b+'">'+a.html.join("</div><div></div>"),A=n.querySelector('.wsw-search-results-part[data-source="'+b+'"]');else if(m){var x=document.createElement("div");x.classList.toggle("wsw-search-results",!0),x.innerHTML=v+'<div class="wsw-search-results-part" data-source="'+b+'">'+a.html.join('</div><div class="wsw-search-results-part" data-source="'+b+'"></div>'),m.parentNode.insertBefore(x,m.nextSibling),A=n.querySelector('.wsw-search-results-part[data-source="'+b+'"]')}var C=A&&A.querySelector(".wsw-block-collection-products"),P=!!e.appendResults[b];if(e.appendResults[b]=!1,!a.no_results){var H=!!a.skip_highlight;A.querySelectorAll(".wsw-block-item").forEach(e=>{if(C)e.classList.toggle("show",!0);else{var t=new RegExp("("+S+")","gmi"),a=0,o=e.querySelector(".wsw-block-item-title a");o&&(a+=(o.innerText.match(t)||[]).length,H||(o.innerHTML=o.innerText.replace(t,"<span data-highlight>$1</span>")));var r=e.querySelector(".wsw-block-item-excerpt > div");r&&(r.querySelector(".wsw-block-item-search-result")?(r.querySelectorAll(".wsw-block-item-search-result").forEach(e=>{a+=(e.innerText.match(t)||[]).length,H||(e.innerHTML=e.innerText.replace(t,"<span data-highlight>$1</span>"))}),H&&r.remove()):(a+=(r.innerText.match(t)||[]).length,H||(r.innerHTML=r.innerText.replace(t,"<span data-highlight>$1</span>")))),a?e.classList.toggle("show",!0):e.classList.toggle("not-found",!0)}})}n.classList.contains("with-pagination-event")||(n.classList.toggle("with-pagination-event",!0),n.addEventListener("click",t=>{if(t.target){var a=parseInt(t.target.getAttribute("data-page")),o=t.target.classList.contains("wsw-search-pagination-next")?"next":t.target.classList.contains("wsw-search-pagination-prev")?"prev":null;if(!isNaN(a)&&o){t.preventDefault(),t.stopPropagation();var r=e.getParents(t.target,".wsw-search-pagination",!0),i=r?r.getAttribute("data-source"):null,s=n.querySelector('.wsw-search-results-part[data-source="'+i+'"]');s&&s.classList.contains("processing")||"next"!==o&&"prev"!==o||(s&&s.classList.toggle("processing",!0),"prev"===o&&e.paginationData[i]&&(e.paginationData[i].pop(),a=e.paginationData[i].pop()||1),w(i,a,!0,o))}else if(t.target.classList.contains("wsw-block-item-search-result")){var l=e.getParents(t.target,".wsw-block-item",!0);l&&l.getAttribute("data-link")&&(t.preventDefault(),t.stopPropagation(),window.location.href=l.getAttribute("data-link"))}}}));var I=n.querySelector('.wsw-search-results-part[data-source="'+b+'"] div[data-pagination-search-template]'),M=n.querySelector('.wsw-search-pagination[data-source="'+b+'"]');if(I&&M){var O=M.querySelector(".wsw-search-pagination-prev"),N=O?O.hasAttribute("disabled"):null;M.innerHTML=I.innerHTML;var W=parseInt(I.getAttribute("data-total")),V=parseInt(I.getAttribute("data-current-page")),_=parseInt(I.getAttribute("data-limit")),z=V*_,D=M.querySelector(".wsw-search-pagination-next");O=M.querySelector(".wsw-search-pagination-prev");var F=M.querySelector(".wsw-search-pagination-total span:first-child");F.innerHTML=C?W:"object"!=typeof e.paginationTotals[b]?e.paginationTotals[b]:"~"+W,V>1?(O.setAttribute("data-page",V-1),O.removeAttribute("disabled")):O.setAttribute("disabled","disabled"),P&&N&&O.setAttribute("disabled","disabled"),D.setAttribute("data-page",V+1);var R=1===V?1:(V-1)*_+1,J=W<=z?W:z,Y=A?A.querySelectorAll(".wsw-block-item:not(.not-found)").length:0;if(e.paginationData[b]||(e.paginationData[b]=[]),P||(e.paginationData[b].push(V),"object"==typeof e.paginationTotals[b]&&(e.paginationTotals[b][V]=Y)),M.querySelector(".wsw-search-pagination-pages span:first-child").innerHTML=R,M.querySelector(".wsw-search-pagination-pages span:last-child").innerHTML=J,C&&M.querySelector(".wsw-search-pagination-pages").removeAttribute("hidden"),W<=z){D.setAttribute("disabled","disabled");var X=0;"object"==typeof e.paginationTotals[b]?(Object.values(e.paginationTotals[b]).forEac
1h(e=>{X+=e}),e.paginationTotals[b]=X):X=e.paginationTotals[b],F.innerHTML=X,X<=0&&(a.no_results=!0)}else D.removeAttribute("disabled");D.hasAttribute("disabled")&&O.hasAttribute("disabled")?M.querySelector(".separator").setAttribute("disabled","disabled"):M.querySelector(".separator").removeAttribute("disabled"),Y<_&&W>z&&D&&(e.appendResults[b]=!0,A&&A.classList.toggle("processing",!1),D.click())}else!I&&M&&(M.innerHTML="");if(M&&(a.no_results?(e.getParents(M,".wsw-search-section-title",!0).setAttribute("hidden","hidden"),A&&(A.setAttribute("hidden","hidden"),A.classList.toggle("processing",!1))):(e.getParents(M,".wsw-search-section-title",!0).removeAttribute("hidden"),A&&(A.removeAttribute("hidden"),A.classList.toggle("processing",!1)))),e.updateMetaValues&&n.querySelectorAll(".wsw-block-collection-meta [data-date]").forEach(t=>{e.updateMetaValues(t)}),(g||h||p)&&n.querySelectorAll(".wsw-block-collection-products, .wsw-block-collection-blog, .wsw-block-collection-pages").forEach(e=>{e.classList.forEach(t=>{if(-1!==t.indexOf("wsw-block-collection-columns-")){var a=parseInt(t.replace("wsw-block-collection-columns-",""));e.classList.contains("wsw-block-collection-products")&&g&&a!==g?(e.classList.toggle(t,!1),e.classList.toggle("wsw-block-collection-columns-"+g,!0)):e.classList.contains("wsw-block-collection-blog")&&h&&a!==h?(e.classList.toggle(t,!1),e.classList.toggle("wsw-block-collection-columns-"+h,!0)):e.classList.contains("wsw-block-collection-pages")&&p&&a!==p&&(e.classList.toggle(t,!1),e.classList.toggle("wsw-block-collection-columns-"+p,!0))}})}),1!==r&&3!==r||(document.body.classList.toggle("with-overlay",!0),document.querySelector("html").style.overflowY="hidden"),e.commerceBlocks&&window.wswCommerce?window.wswCommerce.initEvents():n&&n.querySelector(".wsw-block-collection-products")&&(e.commerceBlocks=!0,l().then(()=>{})),!e.triggerPaginationOnScroll&&o.default.paginationOnScrollEvent&&o.default.paginationOnScrollEvent(),o.default.paginationClickEvent&&o.default.paginationClickEvent(),o.default.paginationSplitItemsLoadingEvent&&o.default.paginationSplitItemsLoadingEvent(),e.scrollEventInitialized&&o.default.scrollEvent||B(),e.lastSearchKeyword=S,1===r||3===r)n.classList.contains("with-scroll")||(n.classList.toggle("with-scroll",!0),n.addEventListener("scroll",o.default.scrollEvent));else{var U=n.firstChild;U.classList.contains("with-scroll")||(U.classList.toggle("with-scroll",!0),U.addEventListener("scroll",o.default.scrollEvent))}if(!u&&!n.querySelectorAll(".wsw-search-results-part:not([hidden]").length){var j=n.querySelector(".wsw-search-results-part[hidden]");j&&j.removeAttribute("hidden")}},3===r?250:1)};if(!n||1!==r&&3!==r){if(2===r||4===r||5===i||6===i){if(!(n=document.querySelector(".wsw-block-search-overlay"))||n.getAttribute("data-block-id")!==d.getAttribute("data-block-id"))if(5===i||6===i){var b=m(r);v(b)}else{h(g||d);var y=document.createElement("div");y.innerHTML='<div class="search-results-placeholder"></div>',n.appendChild(y),4===r&&document.addEventListener("click",Y)}p()}}else p()}},f=()=>{t&&t.classList.contains("search-aborted")||e.fetch("post",window.location.href,JSON.stringify({action:"wait-search",token:a.token,block:d.getAttribute("data-block-id"),search_source:a.search_source||null,forced_pagination:p||null}),e=>{(e="string"==typeof e&&e.startsWith("{")?JSON.parse(e):e)&&(e.wait?setTimeout(()=>f(),200):e.html&&y(e))},null,{"X-Requested-With":"XMLHttpRequest"})};u=a.next_source,a.next_source&&!b&&w(a.next_source),a.wait&&a.token?f():y(a)}},null,{"X-Requested-With":"XMLHttpRequest"}))};w()}else if(n){n.classList.toggle("with-search-results",!1);var p=n.querySelector(".wsw-search-results");p&&p.remove();var b=n.querySelector(".wsw-search-sections-overview");b&&b.remove(),2!==r&&4!==r||(n&&n.remove(),n=null,document.removeEventListener("click",Y))}}),350)))},m=o=>{var r=null;(c=t.querySelector(".search-form").cloneNode(!0)).querySelectorAll(".search-input").forEach(e=>{r=e.value,e.classList.toggle("with-event",!1)}),h(document.body),n.addEventListener("click",a=>{a.target&&(a.target.classList.contains("search-input")||e.getParents(a.target,".wsw-block-collection-container",!0)||a.target.classList.contains("wsw-search-pagination-next")||a.target.classList.contains("wsw-search-pagination-prev")||a.target.classList.contains("wsw-search-pagination-total")||a.target.classList.contains("wsw-search-pagination-pages")||e.getParents(a.target,".wsw-website-modal-store-product-options-picker",!0))||window.getSelection().toString().length||(n.classList.toggle("show",!1),n.classList.toggle("with-search-results",!1),document.body.classList.contains("with-overlay")&&(document.body.classList.toggle("with-overlay",!1),document.querySelector("html").style.overflowY=null),setTimeout(()=>{n&&n.remove(),n=null,t&&t.classList.toggle("search-aborted",!0)},150))});var i=document.createElement("div");i.classList.toggle("wsw-block-search-backdrop",!0),n.appendChild(i),n.appendChild(c),c.classList.toggle("show",!0),c.classList.toggle("search-results-placeholder",!0);var s=window.getComputedStyle(n).getPropertyValue("color"),l=t.querySelector(".search-icon").innerHTML.trim();if(c.querySelector(".search-input").style.backgroundImage="url('data:image/svg+xml;base64,"+btoa(1===o||s?l.replace("currentColor",s||"white"):l)+"')",1===o){c.querySelector(".search-input").setAttribute("type","text");var d=document.createElement("div");d.classList.toggle("button-close",!0),d.innerHTML=a.querySelector(".button-close").innerHTML,d.addEventListener("click",()=>n.click()),c.appendChild(d)}return c.innerHTML="<div>"+c.innerHTML+"</div>",r},b=e=>{var a=window.getComputedStyle(e).getPropertyValue("color"),o=window.getComputedStyle(e).getPropertyValue("background-image"),r=t.querySelector(".search-icon");r&&o&&a&&(r=r.innerHTML.trim(),e.style.backgroundImage="url('data:image/svg+xml;base64,"+btoa(r.replace("currentColor",a))+"')")},v=e=>{var t=c.querySelector(".search-input");
1t.value=e||"",b(t),t.focus(),p(t)};if(a&&a.addEventListener("click",()=>{if(2===i||5===i){var e=c;c.classList.toggle("show",!0),a.querySelector("div").setAttribute("hidden","hidden");var o=a.querySelector(".button-close");o&&!o.classList.contains("with-event")&&(o.classList.toggle("with-event",!0),o.addEventListener("click",r=>{r.stopPropagation(),(c=e).classList.toggle("expanded",!1),c.querySelector(".search-input").value="",n&&(n&&n.remove(),n=null,t&&t.classList.toggle("search-aborted",!0)),setTimeout(()=>{c.classList.toggle("show",!1),a.querySelector("div").removeAttribute("hidden"),o.setAttribute("hidden","hidden")},150)})),setTimeout(()=>c.classList.toggle("expanded",!0),50),setTimeout(()=>o.removeAttribute("hidden"),100)}else 1!==i&&3!==i||m(i);v()}),4===i||6===i){var y=c.querySelector(".search-input");b(y),p(y)}})},e.searchEvents()}if(e.accordionBlocks){var X=(e,t)=>{e.querySelectorAll(".accordion-tab-label").forEach(e=>{e.classList.toggle("active-label",!1)}),e.querySelectorAll(".accordion-tab-content.active-content").forEach(e=>{t?e.classList.toggle("active-content",!1):(e.style.height=e.querySelector("*").offsetHeight+"px",e.classList.toggle("transitioning",!0),setTimeout(()=>e.style.height=null,1),setTimeout(()=>{e.classList.toggle("active-content",!1),e.classList.toggle("transitioning",!1)},551))})},U=(t,a,o)=>{if(t.classList.toggle("active-label",!0),a.classList.toggle("active-content",!0),!o){a.classList.toggle("transitioning",!0);var r=a.querySelector("*").offsetHeight;setTimeout(()=>a.style.height=r+"px",1),setTimeout(()=>{a.classList.toggle("transitioning",!1),a.style.height=null,e.textWithHighlightBlocks&&e.triggerTextWithHighlightBlocksAnimationOnScroll&&e.triggerTextWithHighlightBlocksAnimationOnScroll()},551)}};document.querySelectorAll(".accordion-tab-label").forEach(t=>{t.addEventListener("click",()=>{var a=t.getAttribute("data-idx"),o=e.getParents(t,".accordion-container",!0);if(o){var r=o.querySelector('.accordion-tab-content[data-idx="'+a+'"]');if(o.classList.contains("accordion-vertical-container")){var i=!t.classList.contains("active-label");return X(o),void(i&&U(t,r))}X(o,!0),U(t,r,!0),e.broadCastRender(o.closest("div[data-block-id]"))}})})}if(document.querySelector(".wsw-block-collection-blog, .wsw-block-blog")&&document.querySelectorAll(".wsw-block-collection-blog:not(.with-link-event), .wsw-block-blog:not(.with-link-event)").forEach(t=>{t.classList.toggle("with-link-event",!0),t.addEventListener("click",t=>{if(t.target&&"A"!==t.target.nodeName&&(t.target.classList.contains("wsw-block-item-image")?t.target:e.getParents(t.target,".wsw-block-item-image",!0))){var a=e.getParents(t.target,".wsw-block-item",!0);if(!a||!a.getAttribute("data-link"))return;window.location.href=a.getAttribute("data-link")}})}),document.querySelector(".wsw-block-blog-meta [data-date], .wsw-block-collection-meta [data-date], .wsw-files-block [data-date], .wsw-block-search")&&(e.updateMetaValues=e=>{if(e.getAttribute("data-date")){var t=e.getAttribute("data-date"),a=new Date(t.indexOf(":")>-1?t:parseInt(t)),o=e.getAttribute("data-format"),r=e.getAttribute("data-locale"),i=a.getFullYear(),s=a.getDate();s<10&&(s="0"+s);var l,n=a.getMonth()+1;n<10&&(n="0"+n),l="d.m.Y"===o?s+"."+n+"."+i:"Y-m-d"===o?i+"-"+n+"-"+s:"m/d/Y"===o?n+"/"+s+"/"+i:"d/m/Y"===o?s+"/"+n+"/"+i:"j F"===o?a.toLocaleString(r||"default",{day:"numeric",month:"long"}):a.toLocaleString(r||"default",{day:"numeric",month:"long",year:"numeric"}),e.innerHTML=l,e.removeAttribute("hidden")}},document.querySelectorAll(".wsw-block-blog-meta [data-date], .wsw-block-collection-meta [data-date], .wsw-files-block [data-date]").forEach(t=>{e.updateMetaValues(t)})),document.querySelector("div.wsw-block-pagination")&&async function(){await a.e(17).then(a.t.bind(null,"o5Ts",7))}(),e.blockWithScroll||e.blockWithDynamicPagination||e.blockWithAutoload||e.blockWithCarousel||e.searchBlocks||e.filterBlocks||e.reviewsBlocks||e.blockWithBadges||e.blockWithSplitItemsLoading){o.default.paginationClickEvent=()=>{document.querySelectorAll("div.wsw-block-pagination[data-dynamic]:not([data-with-event])").forEach(t=>{t.setAttribute("data-with-event","true"),t.addEventListener("click",t=>{if(t.target&&t.target.classList.contains("nav-item")&&(t.preventDefault(),t.stopPropagation(),!t.target.classList.contains("active")&&"pause"!==t.target.getAttribute("data-state"))){var a=t.target.getAttribute("href"),o=e.getParents(t.target,"div[data-block-id]",!0);if(a&&o){var r=parseInt(t.target.innerText);isNaN(r)&&(t.target.getAttribute("data-prev-page")?r=parseInt(t.target.getAttribute("data-prev-page")):t.target.getAttribute("data-next-page")&&(r=parseInt(t.target.getAttribute("data-next-page")))),j(a,o,t.target,"dynamic",r)}}})})},o.default.paginationOnScrollEvent=()=>{e.triggerPaginationOnScroll=t=>{document.querySelectorAll('div[data-pagination-on-scroll]:not([data-state="pause"])').forEach(a=>{if(t(a)){var o=a.getAttribute("data-next-slug"),r=e.getParents(a,"div[data-block-id]",!0);o&&r&&!r.querySelector("div[data-pagination-split-items-loading]")&&j(o,r,a,"scroll",parseInt(a.getAttribute("data-current-page"))+1)}})}},o.default.paginationOnAutoloadEvent=t=>{var a=[],r=!1;document.querySelectorAll('div[data-pagination-on-autoload]:not([data-state="pause"])').forEach(t=>{var o=t.getAttribute("data-next-slug"),i=e.getParents(t,"div[data-block-id]",!0);o&&i&&"init"!==t.getAttribute("data-state")&&!i.querySelector("div[data-pagination-split-items-loading]")&&(t.setAttribute("data-state","init"),a.push(new Promise(e=>{setTimeout(()=>j(o,i,t,"autoload",parseInt(t.getAttribute("data-current-page"))+1,()=>{i.querySelector('div[data-pagination-on-autoload]:not([data-state="pause"])')&&(r=!0),e()}),100)})))}),a.length&&Promise.all(a).then(()=>{r&&o.default.paginationOnAutoloadEvent(!0)})},o.default.paginationSplitItemsLoadingEvent=()=>{var t=[],a=!1;document.querySelectorAll('div[data-pagination-split-items-loading]:not([data-state="pause"])').forEach(o=>{var r=o.getAttribute("data-next-slug")||window.location.href,i=e.getParents(o,"div[data-block-id]",!0);r&&i&&"init"!==o.getAttribute("data-state")&&(o.setAttribute("data-state","init"),t.pu
1sh(new Promise(e=>{setTimeout(()=>j(r,i,o,"split-items-loading",o.getAttribute("data-current-page"),()=>{i.querySelector('div[data-pagination-split-items-loading]:not([data-state="pause"])')&&(a=!0),e()}),100)})))}),t&&Promise.all(t).then(()=>{a&&o.default.paginationSplitItemsLoadingEvent(!0)})};var j=(t,a,r,i,s,l)=>{var n,c=null,d=!1,u=!1,g={},w=".wsw-block-item",h=".wsw-block-with-pagination";if(a.getAttribute("data-is-search")){d=!0;var p=a.querySelector("input.search-input");p?c=p.value:e.lastSearchKeyword&&(c=e.lastSearchKeyword)}a.getAttribute("data-is-filter")&&!c&&o.default.lastFilterData&&(g=o.default.lastFilterData,d=!1,u=!0);var m=a.querySelector(".wsw-files-pagination");if(m){var b=r.hasAttribute("data-next-page");if(g={start:m.getAttribute("data-next-start"),total:m.getAttribute("data-total"),is_going_back:!b},b)g.next_continuation_token=m.getAttribute("data-next-continuation-token");else{var v=(m.getAttribute("data-prev-continuation-token")||"").split(",");g.next_continuation_token=v.pop()||"",m.setAttribute("data-prev-continuation-token",v.join(","))}h=".wsw-files-block",w=".wsw-file-item"}var y=a.querySelector(".wsw-block-gallery-pagination");if(y){if("split-items-loading"===i){if(!((g={start:parseInt(r.getAttribute("data-next-start")),total:parseInt(y.getAttribute("data-next-start")),split_items_loading:!0}).start&&g.total&&g.total>g.start))return y.classList.toggle("disabled",!1),void r.remove();y.classList.toggle("disabled",!0),a.querySelector(".wsw-block-gallery-container")&&a.querySelector(".wsw-block-gallery-container").classList.toggle("wsw-fadeIn",!0)}else g={start:y.getAttribute("data-next-start"),total:y.getAttribute("data-total"),is_going_back:!r.hasAttribute("data-next-page")};h=".wsw-block-gallery-container",w=".wsw-block-gallery-image"}var f=a.querySelector(".wsw-block-collection-products");if(f&&"split-items-loading"===i){g={start:parseInt(r.getAttribute("data-next-start")),total:parseInt(r.getAttribute("data-total")),split_items_loading:!0};var S=a.querySelector(".wsw-block-pagination");if(!(g.start&&g.total&&g.total>g.start))return S&&S.classList.toggle("disabled",!1),r.remove(),void(e.blockWithAutoload&&o.default.paginationOnAutoloadEvent());S&&S.classList.toggle("disabled",!0),f.classList.toggle("wsw-fadeIn",!0)}r.setAttribute("data-state","pause"),e.fetch("post",t,JSON.stringify({action:u?"filter":d?"search":"render-element",block:a.getAttribute("data-block-id"),q:c,filter_data:g,forced_pagination:s||null,forced_page:null===(n=document.querySelector("body"))||void 0===n?void 0:n.getAttribute("data-page")}),t=>{if(t="string"==typeof t&&t.startsWith("{")?JSON.parse(t):t){var n=t=>{if(t.html){var s=document.createElement("div");s.innerHTML=t.html;var n=s.querySelector(h),c=a.querySelector(h);if("split-items-loading"===i){if(y){var d=a.querySelector(".wsw-block-gallery-container"),u=s.querySelector(".wsw-block-gallery-container");if(d&&u){u.querySelectorAll(".wsw-block-gallery-image").forEach(e=>{d.append(e.cloneNode(!0))}),d.querySelectorAll(".wsw-block-gallery-image").forEach((e,t)=>{e.setAttribute("data-idx",t)}),e.preloadImages&&e.preloadImages();var g=s.querySelector("div[data-pagination-split-items-loading]");g?y.parentNode.replaceChild(g.cloneNode(!0),r):(r.remove(),y.classList.toggle("disabled",!1))}else y.classList.toggle("disabled",!1)}if(f){var p=a.querySelector(".wsw-block-collection-container"),b=s.querySelector(".wsw-block-collection-container");if(p&&b){b.querySelectorAll(".wsw-block-item").forEach(e=>{p.append(e.cloneNode(!0))}),e.preloadImages&&e.preloadImages();var v=s.querySelector("div[data-pagination-split-items-loading]");v?(v.setAttribute("data-total",r.getAttribute("data-total")),r.parentNode.replaceChild(v.cloneNode(!0),r)):(r.remove(),a.querySelector(".wsw-block-pagination")&&a.querySelector(".wsw-block-pagination").classList.toggle("disabled",!1))}else a.querySelector(".wsw-block-pagination")&&a.querySelector(".wsw-block-pagination").classList.toggle("disabled",!1)}l&&l()}else if("scroll"===i||"carousel"===i||"autoload"===i){n&&c&&n.querySelectorAll(w).forEach(e=>{c.appendChild(e)});var S=s.querySelector("carousel"===i?"div[data-pagination-on-slide]":"div[data-pagination-on-"+("autoload"===i?"autoload":"scroll")+"]");if(S?(r.setAttribute("data-next-slug",S.getAttribute("data-next-slug")),r.setAttribute("data-current-page",S.getAttribute("data-current-page")),r.removeAttribute("data-state")):r.remove(),f){a.querySelector("div[data-pagination-split-items-loading]")&&a.querySelector("div[data-pagination-split-items-loading]").remove();var L=s.querySelector("div[data-pagination-split-items-loading]");L&&f.append(L.cloneNode(!0))}e.calcSectionsDividers&&e.calcSectionsDividers(),l&&l(s)}else{if(n&&c&&(c.innerHTML=n.innerHTML),m){var A=s.querySelector(".wsw-files-pagination"),k=m.getAttribute("data-current-continuation-token"),q=m.getAttribute("data-prev-continuation-token");A?(m.parentNode.replaceChild(A.cloneNode(!0),m),m=a.querySelector(".wsw-files-pagination"),r.hasAttribute("data-next-page")?m.setAttribute("data-prev-continuation-token",q?q+","+k:k):m.setAttribute("data-prev-continuation-token",q||"")):m.innerHTML=""}if(y){var E=s.querySelector(".wsw-block-gallery-pagination");E?(y.parentNode.replaceChild(E.cloneNode(!0),y),y=a.querySelector(".wsw-block-gallery-pagination")):y.innerHTML="",e.preloadImages&&e.preloadImages(),a.querySelector("div[data-pagination-split-items-loading]")&&a.querySelector("div[data-pagination-split-items-loading]").remove();var T=s.querySelector("div[data-pagination-split-items-loading]"),x=a.querySelector(".wsw-block-gallery");T&&x&&x.append(T.cloneNode(!0))}if(f){a.querySelector("div[data-pagination-split-items-loading]")&&a.querySelector("div[data-pagination-split-items-loading]").remove();var C=s.querySelector("div[data-pagination-split-items-loading]");C&&f.append(C.cloneNode(!0))}var P=s.querySelector(".wsw-block-pagination"),H=a.querySelector(".wsw-block-pagination");if(P)if(H)H.innerHTML=P.innerHTML;else{var I=a.querySelector(".wsw-block-pagination-placeholder");I&&I.parentNode.replaceChild(P,I)}else H&&(H.innerHTML="")}if(e.updateMetaValues&&document.querySelectorAll(".wsw-block-blog-meta [data-date], .wsw-block-collection-meta [data-date], .wsw-files-block [data-date]").forEach(t=>{e.updateMetaValues(t)}),m&&e.updateFileSizeMeta&&e.updateFileSizeMeta(),e.commerceBlocks&&window.wswCommerce?window.wswCommerce.initEvents():a.querySelector(".wsw-block-with-badges")&&o.default.prepareBlocksWithBadges&&o.default.prepareBlocksWithBadges(),o.default.paginationClickEvent(),e.blockWithSplitItemsLoading&&o.default.paginationSplitItemsLoadingEvent(),"dynamic"===i&&a&&a.querySelector("div.wsw-block-pagination[data-dynamic].bottom")){var B=o.default.calculateOffsetTop(a);a.scrollIntoView({behavior:"smooth",block:"start"}),o.default.scrollTo(B,500)}}else"scroll"!==i&&"carousel"!==i&&"autoload"!==i||r.remove()},c=()=>{e.fetch("post",window.location.href,JSON.stringify({action:"wait-search",token:t.token,block:a.getAttribute("data-block-id"),forced_pagination:s||null}),e=>{(e="string"==typeof e&&e.startsWith("{")?JSON.parse(e):e)&&(e.wait?setTimeout(()=>c(),200):e.html&&n(e))},null,{"X-Requested-With":"XMLHttpRequest"})};!u&&d&&t.wait&&t.token?c():n(t)}},null,{"X-Requested-With":"XMLHttpRequest"})};e.blockWithSplitItemsLoading&&o.default.paginationSplitItemsLoadingEvent(),e.blockWithScroll&&o.default.paginationOnScrollEvent(),e.blockWithDynamicPagination&&o.default.paginationClickEvent(),e.blockWithAutoload&&o.default.paginationOnAutoloadEvent();var K=()=>{document.querySelectorAll(".wsw-block-collection-layout-carousel:not(.with-carousel-event)").forEach(t=>{(t.classList.toggle("with-carousel-event",!0),t.querySelector(".carousel-buttons")&&!t.querySelector(".carousel-buttons-above"))&&new window.ResizeObserver((function(){t.querySelector(".carousel-buttons").style.top=(parseInt(window.getComputedStyle(t.querySelector(".wsw-block-collection-container")).getPropertyValue("height"))+2*parseInt(window.getComputedStyle(t.querySelector(".wsw-block-collection-container")).getPropertyValue("margin"))-parseInt(window.getComputedStyle(t.querySelector(".carousel-buttons")).getPropertyValue("height")))/2+"px"})).observe(t.querySelector(".wsw-block-collection-container"));var a=t.querySelectorAll(".wsw-block-item:not(.wsw-autoplay-clone)").length,o=!!a&&window.getComputedStyle(t.querySelector(".wsw-block-item")).getPropertyValue("--mobile-item"),r=t.hasAttribute("data-number-of-items")?a:parseInt(t.getAttribute("data-total-number-of-items")),i=parseInt(t.getAttribute("data-items-per-view"));
1if(o&&(i=1),r&&a&&i&&(o||!(r<=i))){var s=0,l=100/i;o&&(l=100);var n=t.hasAttribute("data-autoplay-enabled"),c="1"===t.getAttribute("data-autoplay-loop"),d=parseInt(t.getAttribute("data-autoplay-delay"));isNaN(d)&&(d=1500);var u,g=parseInt(t.getAttribute("data-autoplay-speed"));isNaN(g)&&(g=700);var w=e=>{if(u=setInterval(()=>{if("hidden"!==document.visibilityState&&!t.getAttribute("data-pause-autoplay"))return!c&&s>=r-i?clearInterval(u):void h(t.querySelector(".carousel-button-next"))},d+g),c&&!e.querySelector("div[data-pagination-on-slide]"))for(var a=0;a<i;a++){var o=t.querySelectorAll(".wsw-block-item")[a].cloneNode(!0);o.classList.toggle("wsw-autoplay-clone",!0),t.querySelector(".wsw-block-collection-container").append(o)}t.querySelector(".wsw-block-collection-container").style.transitionDuration=g+"ms"},h=o=>{if(o.classList.contains("carousel-button-prev")){if(s<=0)return;t.querySelector(".carousel-button-next").classList.toggle("disabled",!1),s--,t.querySelector(".wsw-block-collection-container").style.transform="translateX("+s*l*-1+"%)",0===s&&t.querySelector(".carousel-button-prev").classList.toggle("disabled",!0)}else if(o.classList.contains("carousel-button-next")){if(o.classList.contains("disabled"))return;t.querySelector(".carousel-button-prev").classList.toggle("disabled",!1),s!==r-i-1||c||t.querySelector(".carousel-button-next").classList.toggle("disabled",!0),s++,t.querySelector(".wsw-block-collection-container").style.transform="translateX("+s*l*-1+"%)",n&&s===r&&setTimeout(()=>{t.querySelector(".wsw-block-collection-container").style.transitionDuration="0ms",t.querySelector(".wsw-block-collection-container").style.transform="translateX(0%)",t.querySelector(".carousel-button-prev").classList.toggle("disabled",!0),s=0,setTimeout(()=>{t.querySelector(".wsw-block-collection-container").style.transitionDuration=g+"ms"},50)},g);var d=t.querySelector('div[data-pagination-on-slide]:not([data-state="pause"])');if(d&&(1===s&&a<=i||s===a-i)){d.setAttribute("data-state","pause");var h=d.getAttribute("data-next-slug"),p=e.getParents(d,"div[data-block-id]",!0);h&&p&&(n&&clearInterval(u),setTimeout(()=>{j(h,p,d,"carousel",parseInt(d.getAttribute("data-current-page"))+1,e=>{a=t.querySelectorAll(".wsw-block-item:not(.wsw-autoplay-clone)").length;var o=e.querySelector(".wsw-block-collection-layout-carousel");o&&o.getAttribute("data-total-number-of-items")?n&&w(e):t.querySelector(".carousel-button-next").classList.toggle("disabled",!0)})},600))}}if(t.querySelector(".carousel-bullets")){var m=t.querySelector(".carousel-bullets");m.querySelector(".carousel-bullet-active")&&m.querySelector(".carousel-bullet-active").classList.toggle("carousel-bullet-active",!1);var b=s<r?s:0;m.querySelector('.carousel-bullet[data-index="'+b+'"]')&&m.querySelector('.carousel-bullet[data-index="'+b+'"]').classList.toggle("carousel-bullet-active",!0)}};t.querySelector(".carousel-buttons")&&t.querySelector(".carousel-button-next").classList.toggle("disabled",!1),t.addEventListener("click",e=>{e.target&&(n&&(e.target.classList.contains("carousel-button-prev")||e.target.classList.contains("carousel-button-next"))&&t.setAttribute("data-pause-autoplay","true"),h(e.target))}),n&&(t.addEventListener("mouseenter",()=>t.setAttribute("data-pause-autoplay","true")),t.addEventListener("mouseleave",()=>t.removeAttribute("data-pause-autoplay")),w(t))}})};e.blockWithCarousel&&K(),e.reviewsBlocks&&document.querySelectorAll(".wsw-block-collection-reviews").forEach(t=>{var a=e.getParents(t,"div[data-block-id]",!0);e.fetch("post",window.location.href,JSON.stringify({action:"render-element",block:a.getAttribute("data-block-id")}),a=>{if((a="string"==typeof a&&a.startsWith("{")?JSON.parse(a):a)&&a.html){var o=document.createElement("div");o.innerHTML=a.html;var r=o.querySelector(".wsw-block-collection");r&&t.parentNode.replaceChild(r,t),document.querySelector(".wsw-block-collection-layout-carousel")&&(e.blockWithCarousel=!0,K()),r.querySelector(".wsw-read-more")&&r.querySelectorAll(".wsw-read-more > a").forEach(t=>{t.addEventListener("click",a=>{a.preventDefault();var o=e.getParents(t,".wsw-block-item-review-text",!0);o&&(o.querySelector(".wsw-read-more-text").removeAttribute("hidden"),t.parentNode.remove())})})}},null,{"X-Requested-With":"XMLHttpRequest"})}),o.default.prepareBlocksWithBadges=()=>{document.querySelectorAll(".wsw-block-item-badges .amount[data-amount], .wsw-store-product-badges .amount[data-amount]").forEach(o.default.formatPriceAmount),document.querySelectorAll(".wsw-block-collection .wsw-block-with-badges").forEach(e
1=>{if(e.querySelector(".wsw-block-item")){var t=0;e.querySelectorAll(".wsw-block-item").forEach(e=>{if(e.querySelector(".wsw-block-item-badges")&&(e.querySelector(".wsw-block-item-badges .circle")&&e.querySelectorAll(".wsw-block-item-badges .circle").forEach(e=>{var t=parseInt(window.getComputedStyle(e).getPropertyValue("height")),a=parseInt(window.getComputedStyle(e).getPropertyValue("width"));e.style.width=e.style.height=(a>t?a:t)+"px"}),e.querySelector(".wsw-block-item-badges:not(.inside) > div"))){var a=parseInt(window.getComputedStyle(e.querySelector(".wsw-block-item-badges > div")).getPropertyValue("height"));t=t<a?a:t}}),t&&(e.querySelectorAll(".wsw-block-item").forEach(e=>{e.querySelector(".wsw-block-item-badges")&&(e.querySelector(".wsw-block-item-badges").style.top="-"+t/2+"px")}),(e.parentElement.classList.contains("wsw-block-collection-layout-carousel")||e.parentElement.classList.contains("wsw-block-collection-store"))&&(e.parentElement.style.paddingTop=t/2+"px"))}}),document.querySelector(".wsw-block-store-product .wsw-store-product-badges .circle")&&document.querySelectorAll(".wsw-block-store-product .wsw-store-product-badges .circle").forEach(e=>{var t=parseInt(window.getComputedStyle(e).getPropertyValue("height")),a=parseInt(window.getComputedStyle(e).getPropertyValue("width"));e.style.width=e.style.height=(a>t?a:t)+"px"})},e.blockWithBadges&&o.default.prepareBlocksWithBadges()}if(document.querySelector(".wsw-files-block [data-size]")&&(e.updateFileSizeMeta=()=>{var e=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];document.querySelectorAll(".wsw-files-block [data-size]").forEach(t=>{if(t.hasAttribute("data-size")){if(t.getAttribute("data-size")){var a=Math.floor(Math.log(t.getAttribute("data-size"))/Math.log(1024));t.innerHTML=parseFloat((t.getAttribute("data-size")/Math.pow(1024,a)).toFixed(a<2?0:1))+" "+e[a]}else t.innerHTML="0 B";t.removeAttribute("hidden"),t.removeAttribute("data-size")}})},e.updateFileSizeMeta()),document.querySelector(".wsw-files-block .wsw-file-item-placeholder")){var Z=()=>{document.querySelectorAll('.wsw-files-block .wsw-file-item-placeholder:not([data-state="init"])').forEach(t=>{var a=e.getParents(t,"div[data-block-id]",!0);if(a&&t.getAttribute("data-next-start")){var o=()=>{t.setAttribute("data-state","init");var o=e.getParents(t,".wsw-files-block",!0);e.fetch("post",window.location.href,JSON.stringify({action:"render-element",block:a.getAttribute("data-block-id"),next_continuation_token:t.getAttribute("data-next-continuation-token"),start:t.getAttribute("data-next-start"),total:t.getAttribute("data-total")}),a=>{if((a="string"==typeof a&&a.startsWith("{")?JSON.parse(a):a)&&a.html){var r=document.createElement("div");r.innerHTML=a.html;var i=r.querySelector(".wsw-files-block");i&&o&&(i.querySelectorAll(".wsw-file-item:not(.wsw-file-item-placeholder):not(.no-files)").forEach(t=>{var a=t.querySelector("[data-date]");a&&e.updateMetaValues(a),o.appendChild(t)}),e.updateFileSizeMeta&&e.updateFileSizeMeta()),o&&o.querySelectorAll(".wsw-file-item.last-child:not(.wsw-file-item-placeholder):not(.no-files)").forEach(e=>e.classList.toggle("last-child",!1));var s=r.querySelector(".wsw-files-block .wsw-file-item-placeholder");s?(t.setAttribute("data-next-continuation-token",s.getAttribute("data-next-continuation-token")),t.setAttribute("data-next-start",s.getAttribute("data-next-start")),t.setAttribute("data-total",s.getAttribute("data-total")),t.removeAttribute("data-state"),t.classList.contains("load-more")&&(o&&o.appendChild(t),t.previousElementSibling&&t.previousElementSibling.classList.toggle("last-child",!0)),setTimeout(()=>Z(),50)):t.remove()}},null,{"X-Requested-With":"XMLHttpRequest"})};t.classList.contains("load-more")?(t.removeAttribute("hidden"),t.previousElementSibling&&t.previousElementSibling.classList.toggle("last-child",!0),t.classList.contains("with-event")||(t.classList.toggle("with-event",!0),t.addEventListener("click",e=>{e.stopPropagation(),e.preventDefault(),o()}))):o()}})};Z()}var G=t=>{var a=t.querySelector("span.active"),o=t.querySelector(".language-selector-dropdown"),r=!1;if(o&&a){var i=()=>{o.classList.toggle("show",!1),t.classList.toggle("show",!1),a.classList.toggle("dropdown-shown",!1),document.body.classList.toggle("wsw-menu-dropdown-open",!1),document.removeEventListener("click",
1s)},s=t=>{r&&t.target&&!e.getParents(t.target,".wsw-language-selector-dropdown",!0)&&i()};a.addEventListener("click",()=>{if(a.classList.contains("dropdown-shown")&&r)return r=!1,i();r=!0,o.classList.toggle("show",!0),t.classList.toggle("show",!0),a.classList.toggle("dropdown-shown",!0),document.body.classList.toggle("wsw-menu-dropdown-open",!0),document.addEventListener("click",s)})}};if(document.querySelector(".wsw-language-selector span.active")&&document.querySelectorAll(".wsw-language-selector").forEach(e=>G(e)),e.commerceBlocks&&l().then(()=>{}),document.querySelector(".wsw-block-reservation")&&async function(){return await a.e(2).then(a.t.bind(null,"qem8",7)),await a.e(32).then(a.bind(null,"8BiK"))}().then(t=>{t.default.init(),window.location.hash&&setTimeout(()=>e.scrollToHash(window.location.hash),1)}),document.querySelector(".wsw-form-block:not(.wsw-wbs-iframe)")&&async function(){return await a.e(2).then(a.t.bind(null,"qem8",7)),await a.e(12).then(a.bind(null,"aKm1"))}().then(t=>{o.default.renderTextCustomStyles=t=>{n().then(a=>{t.querySelectorAll(".ql-custom-style").forEach(e=>{a.default.applyInlineCustomStyle(e)}),e.triggerTextWithHighlightBlocksAnimationOnScroll||(e.triggerTextWithHighlightBlocksAnimationOnScroll=()=>{n().then(e=>e.default.initTextHighlighting())}),e.triggerTextWithHighlightBlocksAnimationOnScroll()})},t.default.init(),window.location.hash&&setTimeout(()=>e.scrollToHash(window.location.hash),1)}),(e.textWithCustomStyleBlocks||document.querySelector(".wsw-form-block:not(.wsw-wbs-iframe)"))&&document.fonts.ready.then((function(){var t=()=>{n().then(e=>{document.querySelectorAll("div[data-text] .ql-custom-style, .wsw-block-image .ql-custom-style, .wsw-block-table .ql-custom-style").forEach(t=>e.default.applyInlineCustomStyle(t))}),(e.textWithHighlightBlocks||document.querySelector(".wsw-form-block:not(.wsw-wbs-iframe).is-rendered"))&&(e.triggerTextWithHighlightBlocksAnimationOnScroll=()=>{n().then(e=>e.default.initTextHighlighting())},e.scrollEventInitialized&&e.triggerTextWithHighlightBlocksAnimationOnScroll())};e.resizeEventCallbacks.push(()=>{document.querySelectorAll("div[data-block-id] div.text-highlight-rendered").forEach(e=>{e.classList.toggle("text-highlight-rendered",!1)}),t()}),e.resizeEvent(),t()})),document.querySelector(".wsw-block-animated-text")&&(c().then(()=>{window.location.hash&&setTimeout(()=>e.scrollToHash(window.location.hash),1)}),e.triggerAnimatedTextBlocksAnimationOnScroll=()=>{c().then(e=>e.default.init())}),e.withTranslation&&document.querySelectorAll("a[href], div.wsw-link[data-href]").forEach(t=>{var a="DIV"===t.nodeName?"data-href":"href",o=t.getAttribute(a);!o||!o.startsWith("/")||o.startsWith("//")||"/"===o||o.startsWith("/"+e.withTranslation+"/")||o.startsWith("/s3/")||o.startsWith("/files/")||t.classList.contains("wsw-language-selector-link")||t.setAttribute(a,"/"+e.withTranslation+o)}),document.querySelector(".wsw-collapse-admin")){var $=document.querySelector(".wsw-collapse-admin");e.header&&(e.header.addEventListener("mouseenter",()=>$.classList.toggle("visible",!0)),e.header.addEventListener("mouseleave",()=>$.classList.toggle("visible",!1)));var Q=document.querySelector("div.wsw-top-bar");Q&&(Q.addEventListener("mouseenter",()=>$.classList.toggle("visible",!0)),Q.addEventListener("mouseleave",()=>$.classList.toggle("visible",!1))),$.addEventListener("mouseenter",()=>$.classList.toggle("visible",!0)),$.addEventListener("mouseleave",()=>$.classList.toggle("visible",!1)),$.addEventListener("click",()=>{var e=document.querySelector("body").getAttribute("data-page");window.location.href="/admin"+("_404"===e?"/design/404":isNaN(parseInt(e))?"/pages":"/pages/#/page/"+e)})}})()},b7Po:function(e,t,a){"use strict";a.r(t);a("3bBZ"),a("FZtP");async function o(){return await a.e(68).then(a.bind(null,"v4r+"))}var r={},i=e=>!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length),s={resizeEventCallbacks:[],resizeTimeout:null,resizeEventAdded:!1},l={loadCommerce:()=>async function(){return await a.e(111).then(a.bind(null,"Aa++"))}(),getParents:(e,t,a)=>{var o,r=[],i=e.parentNode,s=i?i.parentNode:null;for(s||(s=document);
1i&&s&&(o=!1,s.querySelectorAll(t).forEach(e=>{o||e!==i||(o=!0,r.push(i))}),!a||!o);)(s=(i=i.parentNode)?i.parentNode:null)||(s=document);return a?r.length?r.pop():null:r},fetch:(e,t,a,o,r,i)=>{if(r)return setTimeout(()=>{(void 0).fetch(e,t,a,o,null,i)},r);if("string"==typeof t&&0===t.indexOf("about:")&&window.wswPreviewUrl&&(t=window.wswPreviewUrl),!("fetch"in window)){var s=new XMLHttpRequest;return s.onload=function(){o&&o("response"in s?s.response:s.responseText,{status:s.status,statusText:s.statusText,url:"responseURL"in s?s.responseURL:null})},s.open(e,t,!0),s.withCredentials=!0,void s.send(a)}var l="GET"===e?{method:e,credentials:"include"}:{method:e,credentials:"include",body:a};i&&(l.headers=i),fetch(t,l).then((function(e){o&&e.text().then((function(t){o(t,{status:e.status,statusText:e.statusText,url:"url"in e?e.url:null})}))}))},scrollTo:(e,t,a)=>{var o=a||document.scrollingElement||document.documentElement,r=o.scrollTop,i=e-r,s=+new Date,l=function(){var a,n,c,d=+new Date-s;o.scrollTop=parseInt((a=d,n=r,c=i,(a/=t/2)<1?c/2*a*a+n:-c/2*(--a*(a-2)-1)+n)),d<t?requestAnimationFrame(l):o.scrollTop=e};l()},calculateOffsetTop:e=>{var t=e.getBoundingClientRect().top+e.ownerDocument.defaultView.pageYOffset,a=document.querySelector("div.wsw-top-bar")?window.getComputedStyle(document.querySelector("div.wsw-top-bar")).getPropertyValue("height"):null,o=document.querySelector("header .wsw-header"),r=o?window.getComputedStyle(o).getPropertyValue("height"):0;return a&&r&&(r=parseFloat(r)+parseFloat(a)+"px"),r&&!o.classList.contains("wsw-header-scroll-back")&&(t-=parseFloat(r)),t},formatPriceValue:(e,t)=>{if(t=t||{},e=parseFloat(e),isNaN(e))return"";var a=void 0===t.decimals||null===t.decimals?2:t.decimals;return e.toLocaleString(t.locale?t.locale:"default",t.currency?{style:"currency",currency:t.currency,minimumFractionDigits:t.cutZeros?0:a,maximumFractionDigits:a}:{minimumFractionDigits:t.cutZeros?0:a,maximumFractionDigits:a})},formatPriceAmount:e=>{var t=parseFloat(e.getAttribute("data-amount"));if(!isNaN(t)){var a=l.formatPriceValue(t,{locale:e.getAttribute("data-locale"),currency:e.getAttribute("data-currency"),decimals:e.getAttribute("data-decimals"),cutZeros:e.hasAttribute("data-cut-zeros")});t<0&&a&&a.indexOf("-")>0&&(a=a.replace("-"," -")),e.classList.toggle("opacity-0",!1),e.innerHTML=a}},loadImagesLoaded:async function(){return await a.e(16).then(a.t.bind(null,"vX6Q",7))},loadBroadCast:async function(){return await a.e(70).then(a.bind(null,"s0dO"))},functionDelay:(e,t)=>{var a=0;return function(){clearTimeout(a);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];a=setTimeout(e.bind(this,...r),t||0)}},isVisible:i,isInViewport:e=>{var t=e.getBoundingClientRect(),a=(window.innerHeight||document.documentElement.clientHeight)/2;return t.top>=0&&t.top<=a||t.top<0&&t.bottom>a},waitWhenVisible:(e,t,a)=>{if("MutationObserver"in window){var o=new MutationObserver((function(r){e&&i(e)&&(a?a=t():(o.disconnect(),t()))}));o.observe(document.querySelector("body"),{attributes:!0,childList:!0,characterData:!0,subtree:!0})}else var r=setInterval((function(){e&&i(e)&&(a?a=t():(clearInterval(r),t()))}),250)},collectData:(e,t,a)=>(t||(t={}),("string"==typeof e?document.querySelectorAll(e):e).forEach(e=>{if(e.getAttribute("name")&&(!a||a(e))){var o=e.getAttribute("type"),r=e.getAttribute("name").indexOf("[]")>-1,i=r?e.getAttribute("name").replace("[]",""):e.getAttribute("name");"radio"===o||"checkbox"===o?r&&e.checked?(t[i]||(t[i]=[]),t[i].push(e.value)):e.checked?t[i]=e.value:t[i]||(t[i]=r?[]:null):r?(t[i]||(t[i]=[]),t[i].push(e.value)):t[i]=e.value}}),t),loadCountries:(e,t)=>{if(r[e])return t?t(r[e]):null;(async function(e){return"de"===e?await a.e(26).then(a.bind(null,"c/ka")):await a.e(27).then(a.bind(null,"/TRp"))})(e?e.substring(0,2):null).then(a=>{for(var o=a.default,i=0;i<o.length;i++){for(var s={hasShortcodes:/~/.test(o[i][2]),regions:[]},l=o[i][2].split("|"),n=0;n<l.length;n++){var c=l[n].split("~");s.regions.push([c[0],c[1]])}s.hasRegions=l.length>1,o[i][3]=s}r[e]=o,t&&t(o)})}
1,fillCountryAndRegionFieldsWithData(e,t,a,o,r){e.forEach(e=>{if(!e.classList.contains("with-event")){e.classList.toggle("with-event",!0);var i=[],s={};try{i=JSON.parse(e.getAttribute("data-countries")),e.removeAttribute("data-countries")}catch(e){}a.forEach(t=>{if(!i||i&&i.length&&i.indexOf(t[1])>-1){var a=document.createElement("option");a.value=t[1].toLowerCase(),a.innerHTML=t[0],a.classList.toggle("with-region",!!t[3].hasRegions),i&&i.length?s[t[1]]=a:e.appendChild(a)}}),i&&i.length&&i.forEach(t=>{s[t]&&e.appendChild(s[t])});var l=()=>{var o=e.querySelector('option[value="'+e.value+'"]').classList.contains("with-region");o?t.forEach(t=>{this.getParents(t,".field",!0)&&this.getParents(t,".field",!0).removeAttribute("hidden");var o=t.querySelector("option:first-child");o&&(o=o.innerHTML),t.innerHTML='<option value="">'+o+"</option>",a.forEach(a=>{a[1].toLowerCase()===e.value&&a[3].regions.forEach(e=>{var a=document.createElement("option");a.value=(e[1]?e[1]:e[0]).toLowerCase(),a.innerHTML=e[0],t.appendChild(a)})}),t.getAttribute("data-selected")&&(t.value=t.getAttribute("data-selected"),t.removeAttribute("data-selected"))}):t.forEach(e=>{this.getParents(e,".field",!0)&&this.getParents(e,".field",!0).setAttribute("hidden","hidden"),e.value=null}),r&&r(e.value,o,t)};if(e.addEventListener("change",l),e.getAttribute("data-selected")){var n=e.querySelector('option[value="'+e.getAttribute("data-selected")+'"]');e.value=n?e.getAttribute("data-selected"):"",e.removeAttribute("data-selected"),l(),o&&o(e)}}})},resizeEventCallbacks:s.resizeEventCallbacks,stripeRedirectToCheckout:(e,t)=>{o().then(a=>{a.loadStripe(t).then(t=>{t.redirectToCheckout({sessionId:e})})})},displayStripeCreditCardError:(e,t,a)=>{var o=e.querySelector(".field-message-error");if(o&&(o.innerHTML=a.error?a.error.message:null),e.classList.toggle("field-error",!!a.error),t){var r=t.querySelector(".field-input input");r&&(a.error?r.setAttribute("data-credit-card-error","true"):r.removeAttribute("data-credit-card-error"))}},initStripeCreditCardForm:function(e,t,a,r,i,s,l){var n=this,c=i||(e.querySelector('input[name="csrf_token"]')||{}).value,d=l?l.url:window.location.href,u=l?{action:"checkout",block:l.block,page_id:l.pageId,data:{method:"STRIPE",step:"collect_payment_method_info"}}:{action:"checkout",data:{csrf_token:c,method:"STRIPE"},step:"collect_payment_method_info"};o().then(o=>{n.fetch("post",d,JSON.stringify(u),i=>{var l;(i="string"==typeof i&&i.startsWith("{")?JSON.parse(i):i)&&i.data&&i.data.publishableKey&&(a&&(l=a()),o.loadStripe(i.data.publishableKey).then(a=>{var o=e.querySelector('.external-method-notification[data-method="creditcard"] .card-element');if(o){var i=window.getComputedStyle(o).getPropertyValue("color"),c=e.querySelector('.external-method-notification[data-method="creditcard"] div[data-label]'),d=c?window.getComputedStyle(c).getPropertyValue("color"):null,u=a.elements({locale:document.querySelector("html").getAttribute("lang")||"auto"}).create("card",{hidePostalCode:!0,style:{base:{color:i||null,iconColor:i||null,"::placeholder":{color:i||null}},invalid:{color:d||null,iconColor:d||null}}});u.mount(o),u.on("change",(function(e){n.displayStripeCreditCardError(t,l,e),s&&s(e)})),r&&r({stripe:a,card:u})}}))},null,{"X-Requested-With":"XMLHttpRequest"})})},stripeConfirmCardPayment:(e,t,a)=>e.confirmCardPayment(a,{payment_method:{card:t}}),renderPaymentMethods:function(e){var t=this,a=e.root,o=e.container,r=e.placeholder,i=e.template,s=e.res,l=e.totalAmount,n=e.idPrefix||"payment-method",c=function(o){var r=i.cloneNode(!0),c=r.querySelector(".field-input input"),d=r.querySelector(".field-label label");if(r.querySelector(".field-input").removeAttribute("hidden"),c.setAttribute("id",n+"-"+o.id+(o.credit_card?"-credit-card":"")),d.setAttribute("for",n+"-"+o.id+(o.credit_card?"-credit-card":"")),"STRIPE"===o.code&&o.credit_card){d.innerHTML="";var u=a.querySelector('.external-method-notification[data-method="creditcard"] div[data-label]');u&&(d.innerHTML+=u.innerText);var g=a.querySelector('.external-method-notification[data-method="creditcard"] div[data-card-brands]');g&&(d.innerHTML+=g.innerHTML)}else"PAYPAL"===o.code?d.innerHTML=s.translations&&s.translations[o.code]||'<img src="/build/icons/brands/paypal.svg" alt="PayPal">':s.translations&&s.translations[o.code]?d.innerHTML=s.translations[o.code]:d.innerHTML=o.name;var w="";o.charge&&l?w=o.charge_type&&"PERCENTAGE"!==o.charge_type?o.charge:l>0?l*(parseFloat(o.charge)/100):0:e.doFallbackToDefaults&&o.charge&&parseFloat(o.charge)&&(w="PERCENTAGE"===o.charge_type?parseFloat(o.charge)+"%":o.charge);var h={id:o.id,name:o.name,price:w,code:o.code};w||(w=""),o.credit_card&&(h.credit_card=!0,c.setAttribute("data-credit-card-error","true")),c.value=JSON.stringify(h);var p=r.querySelector(".field-label .amount");return p.setAttribute("data-amount",w),p.innerHTML=w,-1===(""+w).indexOf("%")&&t.formatPriceAmount(p),parseFloat(w)&&r.setAttribute("data-has-price",""),r.removeAttribute("hidden"),r.removeAttribute("data-template"),r},d=o.querySelector(".checkout-loading"),u=!1;s.methods.forEach((function(e){var t=c(e);d?r.insertBefore(t,d):r.appendChild(t),"STRIPE"===e.code&&(u=e)}
1)),u&&t.initStripeCreditCardForm(a,o,(function(){u.credit_card=!0;var e=c(u);r.firstElementChild?r.insertBefore(e,r.firstElementChild):r.appendChild(e);var t=a.querySelector('.external-method-notification[data-method="creditcard"]');return t&&e.parentNode.insertBefore(t,e.nextElementSibling),e}),e.onReady,e.csrfToken,e.onCardChange)},resizeEvent:()=>{s.resizeEventAdded||(s.resizeEventAdded=!0,window.addEventListener("resize",()=>{s.resizeTimeout||(s.resizeTimeout=setTimeout((function(){s.resizeTimeout=null,s.resizeEventCallbacks.forEach(e=>e())}),350))},!1))}};window.wswStripe={redirectToCheckout:l.stripeRedirectToCheckout,initCreditCardForm:l.initStripeCreditCardForm.bind(l),confirmCardPayment:l.stripeConfirmCardPayment,displayCreditCardError:l.displayStripeCreditCardError},window.wswStore=window.wswStore||{},window.wswStore.isStoreReady=function(){return l.loadCommerce().then((function(){return window.wswStore}))},t.default=l},ex4Q:function(e,t,a){}},[["WDvI","runtime",6]]]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.