{
  "version": 3,
  "sources": ["/cdn/shop/t/216/assets/fit-selector.js?nc=1792783093437"],
  "sourcesContent": ["/* Fit selector (Regular / Wide). Keeps the \"Fit:\" label in sync, and re-applies the chosen fit after the theme re-renders the product form (e.g. when a size is selected), using the ?fit= value theme.js keeps in the URL. Safe to load more than once, as the theme re-inserts this script on re-render. */ (() => { if (window.goralFitSelector) { window.goralFitSelector.sync(); return; } const getFitFromUrl = () => new URLSearchParams(window.location.search).get('fit'); const updateLabel = (radio) => { const selector = radio.closest('.fit-selector'); const label = selector && selector.querySelector('[data-selected-fit]'); if (label) label.textContent = radio.value; }; const sync = () => { document.querySelectorAll('.fit-selector').forEach((selector) => { const radios = [...selector.querySelectorAll('.fit-selector__radio')]; if (!radios.length) return; const fit = getFitFromUrl(); const chosen = radios.find((r) => r.value === fit) || radios.find((r) => r.checked) || radios[0]; chosen.checked = true; updateLabel(chosen); }); }; document.addEventListener('change', (event) => { const radio = event.target.closest && event.target.closest('.fit-selector__radio'); if (radio && radio.checked) updateLabel(radio); }); /* Prestige fires variant:change (bubbling) after swapping in the re-rendered product form */ document.addEventListener('variant:change', () => { sync(); setTimeout(sync, 50); }); window.goralFitSelector = { sync }; if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', sync); } else { sync(); } })();"],
  "mappings": "CAAgT,IAAM,CAAE,GAAI,OAAO,iBAAkB,CAAE,OAAO,iBAAiB,KAAK,EAAG,MAAQ,CAAE,MAAM,cAAgB,IAAM,IAAI,gBAAgB,OAAO,SAAS,MAAM,EAAE,IAAI,KAAK,EAAS,YAAe,OAAU,CAAE,MAAM,SAAW,MAAM,QAAQ,eAAe,EAAS,MAAQ,UAAY,SAAS,cAAc,qBAAqB,EAAO,QAAO,MAAM,YAAc,MAAM,MAAO,EAAS,KAAO,IAAM,CAAE,SAAS,iBAAiB,eAAe,EAAE,QAAS,UAAa,CAAE,MAAM,OAAS,CAAC,GAAG,SAAS,iBAAiB,sBAAsB,CAAC,EAAG,GAAI,CAAC,OAAO,OAAQ,OAAQ,MAAM,IAAM,cAAc,EAAS,OAAS,OAAO,KAAM,GAAM,EAAE,QAAU,GAAG,GAAK,OAAO,KAAM,GAAM,EAAE,OAAO,GAAK,OAAO,CAAC,EAAG,OAAO,QAAU,GAAM,YAAY,MAAM,CAAG,CAAC,CAAG,EAAG,SAAS,iBAAiB,SAAW,OAAU,CAAE,MAAM,MAAQ,MAAM,OAAO,SAAW,MAAM,OAAO,QAAQ,sBAAsB,EAAO,OAAS,MAAM,SAAS,YAAY,KAAK,CAAG,CAAC,EAAiG,SAAS,iBAAiB,iBAAkB,IAAM,CAAE,KAAK,EAAG,WAAW,KAAM,EAAE,CAAG,CAAC,EAAG,OAAO,iBAAmB,CAAE,IAAK,EAAO,SAAS,aAAe,UAAa,SAAS,iBAAiB,mBAAoB,IAAI,EAAY,KAAK,CAAK,GAAG",
  "names": []
}
