1var e=Object.defineProperty,t=Object.defineProperties,o=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertyNames,r=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,s=(t,o,i)=>o in t?e(t,o,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[o]=i,c=(e,t,o)=>new Promise(((i,r)=>{var n=e=>{try{s(o.next(e))}catch(t){r(t)}},a=e=>{try{s(o.throw(e))}catch(t){r(t)}},s=e=>e.done?i(e.value):Promise.resolve(e.value).then(n,a);s((o=o.apply(e,t)).next())}));import{r as l}from"./hobbii-hobbii-modal-DiWfLi34.min.js";import{Z as m}from"./hobbii-chatbot-nudge-DeEfNEsM.min.js";import{p as u,e as b,q as d,f as p,a as h}from"./hobbii-constants-DXYrb0R4.min.js";import{p as f}from"./hobbii-logger-kjAx_iy-.min.js";import{i as g}from"./hobbii-account-login-redirect-BMxmbHYj.min.js";import{i as v}from"./hobbii-dom-SvEnDmWr.min.js";import{i as y}from"./hobbii-hobbii-starter-CYjQ0a09.min.js";import{i as _,u as j}from"./hobbii-posthog.store-Dj0FBRZ-.min.js";import{notifyBugsnagWithContext as E}from"./hobbii-error-2u2rc1Ql.min.js";import{h as w}from"./hobbii-user-59Q2brLQ.min.js";import{s as S}from"./hobbii-cart-CClGGfoH.min.js";import{s as L}from"./hobbii-show-discount-notification-YpEhBHk4.min.js";import"./hobbii-cookie-C8mkdIlf.min.js";import"./hobbii-intl-tel-input-BoEFiupD.min.js";import"./hobbii-pinia-C9rnC9LE.min.js";import"./hobbii-country-switcher-BNm3Hsht.min.js";import"./hobbii-money-formatter-CDf4gx3t.min.js";import"./hobbii-product-BmhgILJ5.min.js";import"./hobbii-config-BWj0BaFh.min.js";import"./hobbii-tracking-RMINnNnb.min.js";import"./hobbii-sdk-CX9kd8c8.min.js";import"./hobbii-notifier-BLiA8JPX.min.js";import"./hobbii-kit-add-to-cart-Cuf4_Isk.min.js";import"./hobbii-product-CpPg1p-U.min.js";import"./hobbii-cart-summary-E6ByOQAV.min.js";import"./hobbii-cart-line-kit-details-D1QxQ_Z2.min.js";import"./hobbii-useKits-DdU6PnZo.min.js";import"./hobbii-core-vue-app-BrItCYHK.min.js";import"./hobbii-i18n-D6SjZpbg.min.js";import"./hobbii-hobbii-coin-DIhcxeei.min.js";import"./hobbii-IconDiscountCode-ARs3tBCW.min.js";import"./hobbii-SkeletonLoader.vue_vue_type_script_setup_true_lang-C2BUtiRK.min.js";import"./hobbii-swiper-element-bundle-D1sluR9H.min.js";import"./hobbii-swiper-core-DRx33D-C.min.js";import"./hobbii-navigation-MCvXK6ga.min.js";import"./hobbii-pagination-CMUwKxtA.min.js";import"./hobbii-autoplay-CEVTFkzk.min.js";import"./hobbii-manipulation-Bjy_waew.min.js";import"./hobbii-free-mode-CFaSuwQy.min.js";import"./hobbii-collection.queries-52FMu02A.min.js";import"./hobbii-shared-9nC0iBPl.min.js";import"./hobbii-IconCart-C2VmXRk1.min.js";import"./hobbii-IconCheck-Dr3IX94R.min.js";import"./hobbii-SideDrawer.vue_vue_type_script_setup_true_lang-BulXKV2H.min.js";import"./hobbii-scroll-yy09VGcZ.min.js";import"./hobbii-IconDelete.vue_vue_type_script_setup_true_lang-D93fByfk.min.js";import"./hobbii-NumberSpinner-LT7qdDB2.min.js";var k,A,T=(k={"hobbii-entrypoint-main-CCBHcVlg.min.js"(e){function i(){const e=document.getElementById(m);if(!e)return;const t=!!document.querySelector('body > [role="dialog"]'),o=!!document.querySelector("body > .z-aa-panel"),i=!!document.querySelector(".hb-navigation.offcanvas--open");e.classList.toggle("hobbii-hidden",t||o||i)}const k=["enable_tracking","tracking_label"],A=e=>{try{const t=JSON.parse(e);return k.forEach((e=>delete t[e])),t}catch(t){return{}}},T=["previous","next"],N=e=>e instanceof Element?(e=>{var t,o;const i=e.closest("button, a");if(!i)return!1;const r=null!=(t=i.getAttribute("name"))?t:"",n=null!=(o=i.getAttribute("aria-label"))?o:"";return T.includes(r.toLowerCase())||T.some((e=>n.toLowerCase().includes(e)))})(e)?"":"A"===e.tagName||e.closest("a")?"link":"BUTTON"===e.tagName||e.closest("button")?"button":"IMG"===e.tagName?"image":e.tagName.toLowerCase():"unknown",I=e=>{if(!(e instanceof Element))return"";const t="A"===e.tagName?e:e.closest("a");return t instanceof HTMLAnchorElement?t.href:""},O=()=>{const e=document.querySelectorAll("[data-track-section]");if(!e.length)return;const i=new Set,c=new Map,l=t=>({section_type:t.dataset.trackSectionType||"",section_id:t.dataset.trackSectionId||"",section_position:Array.from(e).indexOf(t)+1,page_type:document.body.dataset.pageType||"",page_path:window.location.pathname,content_label:t.dataset.trackContentLabel||"",section_settings:A(t.dataset.trackSectionSettings||"{}")}),m=new IntersectionObserver((e=>{e.forEach((e=>{const t=e.target,o=t.dataset.trackSectionId||"";if(e.isIntersecting){if(i.has(o)||c.has(o))return;const e=setTimeout((()=>{var e;if(c.delete(o),i.has(o))return;i.add(o);const r=l(t);f("section_viewed",r),null==(e=window.posthog)||e.capture(u.SECTION_VIEWED,r)}),1e3);c.set(o,e)}else{const e=c.get(o);e&&(clearTimeout(e),c.delete(o))}}))}),{threshold:.5});e.forEach((e=>{m.observe(e),e.addEventListener("click",(i=>{var c;const m=N(i.target);if(!m)return;const b=(d=((e,t)=>{for(var o in t||(t={}))n.call(t,o)&&s(e,o,t[o]);if(r)for(var o of r(t))a.call(t,o)&&s(e,o,t[o]);return e})({},l(e)),p={click_target:m,click_url:I(i.target)}
1,t(d,o(p)));var d,p;f("section_clicked",b),null==(c=window.posthog)||c.capture(u.SECTION_CLICKED,b)}))}))},C="patterns-variant-test",q=()=>{const e=d.PATTERNS_LANDING_TEST_VARIANT,t=new URLSearchParams(window.location.search).get(d.PATTERNS_LANDING_TEST_VARIANT);if((o=t)!==p.TEST&&o!==p.CONTROL)return;var o;w.setItem(b,t);const i=new URL(window.location.href);i.searchParams.delete(e),window.history.replaceState({},"",i)},x=()=>c(null,null,(function*(){const e=document.querySelectorAll("[id*='__test-']");e.length&&((yield c(null,null,(function*(){try{const e=w.getItem(b);if(null!==e)return _(e);yield y();const t=j(),o=yield t.cacheFeatureFlag(h.PATTERNS_LANDING_TEST);return _(o)}catch(e){return E("isPatternsLandingTestEnabled",e),!1}})))?(document.documentElement.classList.add(C),e.forEach((e=>{e.querySelectorAll(".swiper").forEach((e=>{var t;null==(t=e.swiper)||t.update()}))}))):document.documentElement.classList.remove(C))}));let P=!1;(()=>{const e=document.querySelector("[data-redirect-url]"),t=null==e?void 0:e.dataset.redirectUrl;t&&(window.location.href=t)})(),g();const D=()=>{const e=document.querySelectorAll(".hb-toggle-menu"),t=document.querySelector(".hb-navigation"),o=document.querySelector(".hb-hamburger");let i=!1;const r=document.querySelector("body");e.forEach((e=>{e.addEventListener("click",(()=>{i=!i,null==o||o.setAttribute("aria-expanded",String(i)),null==t||t.classList.toggle("offcanvas--open"),null==r||r.classList.toggle("menu-open")}))}
1)),document.querySelectorAll("[data-has-submenu]").forEach((e=>{e.addEventListener("click",(t=>{var o;P&&(t.preventDefault(),document.querySelectorAll(".submenu").forEach((e=>{e.scroll({top:0,behavior:"smooth"})})),null==(o=e.closest("li"))||o.querySelectorAll(".submenu")[0].classList.toggle("submenu--active"))}))})),document.querySelectorAll("[data-close-submenu]").forEach((e=>{e.addEventListener("click",(()=>{var t;null==(t=e.closest(".submenu"))||t.classList.remove("submenu--active")}))}));const n=document.querySelectorAll("[data-menu-tab]");n.forEach((e=>{e.addEventListener("click",(t=>{const o=document.querySelectorAll("[data-menu-tab-content]"),i=e,r=document.querySelectorAll(`[name=${i.dataset.menuTab}]`);n.forEach((e=>{e.classList.remove("tab--active")})),t.target.classList.add("tab--active"),o.forEach((e=>{e.classList.remove("block"),e.classList.add("hidden")})),r.forEach((e=>{e.classList.remove("hidden"),e.classList.add("block")}))}))}))},R=()=>{P=v()};window.addEventListener("resize",R),document.addEventListener("DOMContentLoaded",(()=>{S(),D(),R(),l(),L(),q(),x(),document.querySelectorAll("[data-track-nav-en]").forEach((e=>{e.addEventListener("click",(()=>{var t;const o={category_name:e.dataset.trackNavEn||"",category_localized:e.dataset.trackNavLocalized||""};f("navigation_category_clicked",o),null==(t=window.posthog)||t.capture(u.NAVIGATION_CATEGORY_CLICKED,o)}))})),document.querySelectorAll("[data-track-top-banner]").forEach((e=>{e.addEventListener("click",(()=>{var t,o;const i={banner_text:e.dataset.trackTopBannerText||(null==(t=e.textContent)?void 0:t.trim().replace(/\s+/g," "))||"",banner_url:e.href||""};f("top_banner_clicked",i),null==(o=window.posthog)||o.capture(u.TOP_BANNER_CLICKED,i)}))})),document.querySelectorAll("[data-track-merch-box]").forEach((e=>{e.addEventListener("click",(()=>{var t;const o={box_title:e.dataset.trackMerchBox||"",box_url:e.dataset.trackMerchBoxUrl||"",box_position:e.dataset.trackMerchBoxPosition||""};f("merchandising_box_clicked",o),null==(t=window.posthog)||t.capture(u.MERCHANDISING_BOX_CLICKED,o)}))})),O(),function(){new MutationObserver(i).observe(document.body,{childList:!0});const e=document.querySelector(".hb-navigation");e&&new MutationObserver(i).observe(e,{attributes:!0,attributeFilter:["class"]})}()}))}},function(){return A||(0,k[i(k)[0]])((A={exports:{}}).exports,A),A.exports});export default T(); 2//# sourceMappingURL=hobbii-entrypoint-main-CCBHcVlg.min.js.map
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.