{
  "version": 3,
  "sources": ["/cdn/shop/t/98/assets/consent-banner-style.js?pkm_consent=round-card-v2"],
  "sourcesContent": ["/**\n * consent-banner-style\n * -------------------------------------------------------------------------------------------------\n * Restyles the Pandectes consent banner from a full-width bottom bar into a lifted card with larger\n * buttons. Meta traffic lands straight on a product page and meets this before anything else, so it\n * should read as a decision to make rather than a strip to ignore.\n *\n * WHY IT IS DONE FROM JAVASCRIPT\n * The banner lives inside `<pandectes-cmp>`'s shadow root. Theme CSS cannot cross that boundary, so\n * the only way in from our side is to append a stylesheet to the shadow root itself. The root is\n * `open`, which makes this possible; if Pandectes ever closes it this file simply stops having an\n * effect and nothing breaks.\n *\n * \uD83D\uDEA8 WORDING IS NOT TOUCHED. Every market runs its own consent text \u2014 Germany's is longer because it\n * has to be \u2014 and all of it is authored in the Pandectes admin. This file only changes layout and\n * sizing. Never put copy in here.\n *\n * \u26A0\uFE0F Class names below (`.dialog.notice`, `.actions`, `.filled`, `.outlined`) are Pandectes' own and\n * could change on an app update. The failure mode is cosmetic: the banner falls back to the app's\n * default bar. Worth a look after any Pandectes release.\n */\n(() => {\n  const CSS = `\n    /* DESKTOP. Pandectes leaves a large vertical pause between the privacy heading and the\n       explanatory line in its full-width bar. Keep the bar and actions exactly as supplied by\n       the CMP, but make the two pieces of copy read as one compact group. */\n    @media (min-width: 768px) {\n      /* The current Pandectes bar is identified reliably by its two-row inner-grid/has-header\n         layout; the former .dialog.notice wrapper selector is not present in every render.\n         Move only the left body copy visually upward. Relative positioning preserves the grid's\n         measured height, so the bar and all three action buttons keep their existing dimensions. */\n      .inner.inner-grid.has-header { row-gap: 0 !important; }\n      .inner.inner-grid.has-header > .header { margin: 0 !important; }\n      .inner.inner-grid.has-header > .header > h2 { margin-block: 0 !important; }\n      .inner.inner-grid.has-header > .body {\n        position: relative;\n        top: -6px;\n        margin: 0 !important;\n        padding-top: 0 !important;\n      }\n      .inner.inner-grid.has-header > .body .intro { margin-block: 0 !important; }\n      .inner.inner-grid.has-header > .body .links { margin-top: 2px !important; }\n    }\n\n    /* \uD83D\uDEA8 PHONE ONLY. On desktop the app's full-width bottom bar is the right shape and was never the\n       problem \u2014 the card treatment below is there because the bar covered the product on a phone.\n       Applying it at every width left desktop with a small box floating in the middle of nothing. */\n    @media (max-width: 767.98px) {\n      /* Pandectes changed the notice from a native dialog element to a DIV with the same classes.\n         Keep every proven mobile dimension below; only the selector changes so the existing card,\n         rounded buttons and full-page backdrop become active again. */\n      :host .dialog.notice.bar,\n      .dialog.notice.bar {\n        inset-inline: 0 !important;\n        width: auto !important;\n        max-width: none !important;\n        margin: 0 12px 12px 12px !important;\n        border-radius: 16px !important;\n        padding: 14px 16px !important;\n        background: #fff;\n        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.13) !important;\n      }\n\n      .dialog.notice .inner-grid { gap: 8px !important; }\n      .dialog.notice .header { margin-bottom: 0 !important; }\n      .dialog.notice .title { font-size: 0.9375rem !important; margin: 0 !important; }\n      .dialog.notice .body,\n      .dialog.notice .intro { margin: 0 !important; }\n      .dialog.notice .message { line-height: 1.4; font-size: 0.8125rem; }\n      .dialog.notice .links { margin-top: 2px !important; }\n      .dialog.notice .actions { gap: 6px !important; margin-top: 0 !important; }\n\n      .dialog.notice .actions button {\n        min-height: 44px !important;\n        font-size: 15px;\n        font-weight: 500;\n        border-radius: 10px;\n      }\n\n      .dialog.notice .actions button.outlined {\n        min-height: 42px !important;\n        font-weight: 400;\n      }\n    }\n  `;\n\n\n\n\n  const NOEGLE = 'data-lelafine-consent-style';\n\n  function paafoer() {\n    const vaert = document.querySelector('pandectes-cmp');\n    const sr = vaert && vaert.shadowRoot;\n    if (!sr) return false;\n    if (sr.querySelector(`style[${NOEGLE}]`)) return true;\n\n    const el = document.createElement('style');\n    el.setAttribute(NOEGLE, '1');\n    el.textContent = CSS;\n    // Appended last so it wins over Pandectes' own stylesheet without needing !important.\n    sr.appendChild(el);\n    return true;\n  }\n\n  if (paafoer()) return;\n\n  // The element is injected by the app, so it is usually not there yet on first run.\n  const obs = new MutationObserver(() => {\n    if (paafoer()) obs.disconnect();\n  });\n  obs.observe(document.documentElement, { childList: true, subtree: true });\n\n  // Belt and braces: stop watching after 20s whatever happened.\n  setTimeout(() => obs.disconnect(), 20000);\n})();\n"],
  "mappings": "CAqBC,IAAM,CACL,MAAM,IAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAmEN,OAAS,8BAEf,SAAS,SAAU,CACjB,MAAM,MAAQ,SAAS,cAAc,eAAe,EAC9C,GAAK,OAAS,MAAM,WAC1B,GAAI,CAAC,GAAI,MAAO,GAChB,GAAI,GAAG,cAAc,SAAS,MAAM,GAAG,EAAG,MAAO,GAEjD,MAAM,GAAK,SAAS,cAAc,OAAO,EACzC,UAAG,aAAa,OAAQ,GAAG,EAC3B,GAAG,YAAc,IAEjB,GAAG,YAAY,EAAE,EACV,EACT,CAEA,GAAI,QAAQ,EAAG,OAGf,MAAM,IAAM,IAAI,iBAAiB,IAAM,CACjC,QAAQ,GAAG,IAAI,WAAW,CAChC,CAAC,EACD,IAAI,QAAQ,SAAS,gBAAiB,CAAE,UAAW,GAAM,QAAS,EAAK,CAAC,EAGxE,WAAW,IAAM,IAAI,WAAW,EAAG,GAAK,CAC1C,GAAG",
  "names": []
}
