{
  "version": 3,
  "sources": ["/cdn/shop/t/2/assets/aurora-consent.js?x=1794907480418"],
  "sourcesContent": ["/* Aurora cookie consent helpers (17 Nov 2026). Styles: assets/aurora-consent.css.\n   1. Shopify's preferences window opens with every optional category ticked. While the visitor\n      has not decided yet (the banner is on screen) the optional boxes start unticked; after a\n      decision the window shows the saved choice untouched.\n   2. [data-aur-cookie-prefs] (footer \"Ustawienia plik\u00F3w cookie\") reopens the preferences, so\n      consent can be changed or withdrawn at any time.\n   3. Consent wall (owner 17 Nov): while the banner is on screen, the page behind it is blurred\n      (#aur-ck-wall), cannot scroll (html.aur-ck-lock) and is inert, until the visitor chooses:\n      \"Zaakceptuj\" on the banner, or \"Odrzu\u0107 wszystkie\" / \"Zapisz dokonane wybory\" in the\n      preferences. Shopify remembers the choice, so the banner and the wall appear once. */\n(function () {\n  var OPT = ['preferences', 'marketing', 'analytics'];\n  var wall = null, watched = null;\n  function visible(el) { return !!el && el.isConnected && getComputedStyle(el).display !== 'none'; }\n\n  function untick() {\n    var d = document.getElementById('shopify-pc__prefs__dialog');\n    if (!d || d.getAttribute('data-aur-tidy')) return;\n    d.setAttribute('data-aur-tidy', '1');\n    if (!visible(document.getElementById('shopify-pc__banner'))) return;\n    OPT.forEach(function (k) {\n      var i = document.getElementById('shopify-pc__prefs__' + k + '-input');\n      if (i && i.checked && i.getAttribute('aria-readonly') !== 'true') i.click();\n    });\n  }\n\n  function sync() {\n    var on = visible(document.getElementById('shopify-pc__banner'));\n    document.documentElement.classList.toggle('aur-ck-lock', on);\n    if (on && !wall) {\n      wall = document.createElement('div');\n      wall.id = 'aur-ck-wall';\n      wall.setAttribute('aria-hidden', 'true');\n      document.body.appendChild(wall);\n    } else if (!on && wall) {\n      wall.remove();\n      wall = null;\n    }\n    Array.prototype.forEach.call(document.body.children, function (el) {\n      if (/^(shopify-pc__|aur-ck-wall)/.test(el.id) || /^(SCRIPT|STYLE|TEMPLATE|LINK|META)$/.test(el.tagName)) return;\n      if (on) {\n        if (!el.hasAttribute('inert')) { el.setAttribute('inert', ''); el.setAttribute('data-aur-inert', ''); }\n      } else if (el.hasAttribute('data-aur-inert')) {\n        el.removeAttribute('inert');\n        el.removeAttribute('data-aur-inert');\n      }\n    });\n  }\n\n  function watchBanner() {\n    var b = document.getElementById('shopify-pc__banner');\n    if (b && b !== watched) {\n      watched = b;\n      new MutationObserver(sync).observe(b, { attributes: true, attributeFilter: ['style', 'class'] });\n    }\n    sync();\n  }\n\n  new MutationObserver(function () {\n    requestAnimationFrame(function () { untick(); watchBanner(); });\n  }).observe(document.body, { childList: true });\n  watchBanner();\n\n  document.addEventListener('click', function (e) {\n    var t = e.target.closest && e.target.closest('[data-aur-cookie-prefs]');\n    if (!t) return;\n    e.preventDefault();\n    if (window.privacyBanner && window.privacyBanner.showPreferences) window.privacyBanner.showPreferences();\n  });\n})();\n"],
  "mappings": "CAUC,UAAY,CACX,IAAI,IAAM,CAAC,cAAe,YAAa,WAAW,EAC9C,KAAO,KAAM,QAAU,KAC3B,SAAS,QAAQ,GAAI,CAAE,MAAO,CAAC,CAAC,IAAM,GAAG,aAAe,iBAAiB,EAAE,EAAE,UAAY,MAAQ,CAEjG,SAAS,QAAS,CAChB,IAAI,EAAI,SAAS,eAAe,2BAA2B,EACvD,CAAC,GAAK,EAAE,aAAa,eAAe,IACxC,EAAE,aAAa,gBAAiB,GAAG,EAC9B,QAAQ,SAAS,eAAe,oBAAoB,CAAC,GAC1D,IAAI,QAAQ,SAAU,EAAG,CACvB,IAAI,EAAI,SAAS,eAAe,sBAAwB,EAAI,QAAQ,EAChE,GAAK,EAAE,SAAW,EAAE,aAAa,eAAe,IAAM,QAAQ,EAAE,MAAM,CAC5E,CAAC,EACH,CAEA,SAAS,MAAO,CACd,IAAI,GAAK,QAAQ,SAAS,eAAe,oBAAoB,CAAC,EAC9D,SAAS,gBAAgB,UAAU,OAAO,cAAe,EAAE,EACvD,IAAM,CAAC,MACT,KAAO,SAAS,cAAc,KAAK,EACnC,KAAK,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