@justeattakeaway/pie-cookie-banner 1.7.2 → 1.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn_dist/index.js +22 -22
- package/dist/index.js +1 -1
- package/dist/react.d.ts +1 -1
- package/package.json +6 -6
- package/src/react.ts +1 -1
package/cdn_dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var PieCookieBanner=function(e){"use strict";var t;const i=globalThis,o=i.Shadow
|
|
|
14
14
|
* Copyright 2017 Google LLC
|
|
15
15
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
16
16
|
*/
|
|
17
|
-
const _=globalThis,S=_.trustedTypes,$=S?S.createPolicy("lit-html",{createHTML:e=>e}):void 0,E="$lit$",z=`lit$${Math.random().toFixed(9).slice(2)}$`,C="?"+z,
|
|
17
|
+
const _=globalThis,S=_.trustedTypes,$=S?S.createPolicy("lit-html",{createHTML:e=>e}):void 0,E="$lit$",z=`lit$${Math.random().toFixed(9).slice(2)}$`,C="?"+z,B=`<${C}>`,M=document,O=()=>M.createComment(""),T=e=>null===e||"object"!=typeof e&&"function"!=typeof e,L=Array.isArray,P="[ \t\n\f\r]",N=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,j=/-->/g,I=/>/g,D=RegExp(`>|${P}(?:([^\\s"'>=/]+)(${P}*=${P}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),F=/'/g,R=/"/g,H=/^(?:script|style|textarea|title)$/i,V=(G=1,(e,...t)=>({_$litType$:G,strings:e,values:t})),W=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),q=new WeakMap,K=M.createTreeWalker(M,129);var G;function Z(e,t){if(!L(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==$?$.createHTML(t):t}class Y{constructor({strings:e,_$litType$:t},i){let o;this.parts=[];let n=0,r=0;const a=e.length-1,s=this.parts,[l,c]=((e,t)=>{const i=e.length-1,o=[];let n,r=2===t?"<svg>":3===t?"<math>":"",a=N;for(let s=0;s<i;s++){const t=e[s];let i,l,c=-1,d=0;for(;d<t.length&&(a.lastIndex=d,l=a.exec(t),null!==l);)d=a.lastIndex,a===N?"!--"===l[1]?a=j:void 0!==l[1]?a=I:void 0!==l[2]?(H.test(l[2])&&(n=RegExp("</"+l[2],"g")),a=D):void 0!==l[3]&&(a=D):a===D?">"===l[0]?(a=n??N,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,i=l[1],a=void 0===l[3]?D:'"'===l[3]?R:F):a===R||a===F?a=D:a===j||a===I?a=N:(a=D,n=void 0);const h=a===D&&e[s+1].startsWith("/>")?" ":"";r+=a===N?t+B:c>=0?(o.push(i),t.slice(0,c)+E+t.slice(c)+z+h):t+z+(-2===c?s:h)}return[Z(e,r+(e[i]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),o]})(e,t);if(this.el=Y.createElement(l,i),K.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(o=K.nextNode())&&s.length<a;){if(1===o.nodeType){if(o.hasAttributes())for(const e of o.getAttributeNames())if(e.endsWith(E)){const t=c[r++],i=o.getAttribute(e).split(z),a=/([.?@])?(.*)/.exec(t);s.push({type:1,index:n,name:a[2],strings:i,ctor:"."===a[1]?te:"?"===a[1]?ie:"@"===a[1]?oe:ee}),o.removeAttribute(e)}else e.startsWith(z)&&(s.push({type:6,index:n}),o.removeAttribute(e));if(H.test(o.tagName)){const e=o.textContent.split(z),t=e.length-1;if(t>0){o.textContent=S?S.emptyScript:"";for(let i=0;i<t;i++)o.append(e[i],O()),K.nextNode(),s.push({type:2,index:++n});o.append(e[t],O())}}}else if(8===o.nodeType)if(o.data===C)s.push({type:2,index:n});else{let e=-1;for(;-1!==(e=o.data.indexOf(z,e+1));)s.push({type:7,index:n}),e+=z.length-1}n++}}static createElement(e,t){const i=M.createElement("template");return i.innerHTML=e,i}}function X(e,t,i=e,o){var n,r;if(t===W)return t;let a=void 0!==o?null==(n=i._$Co)?void 0:n[o]:i._$Cl;const s=T(t)?void 0:t._$litDirective$;return(null==a?void 0:a.constructor)!==s&&(null==(r=null==a?void 0:a._$AO)||r.call(a,!1),void 0===s?a=void 0:(a=new s(e),a._$AT(e,i,o)),void 0!==o?(i._$Co??(i._$Co=[]))[o]=a:i._$Cl=a),void 0!==a&&(t=X(e,a._$AS(e,t.values),a,o)),t}let Q=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:t},parts:i}=this._$AD,o=((null==e?void 0:e.creationScope)??M).importNode(t,!0);K.currentNode=o;let n=K.nextNode(),r=0,a=0,s=i[0];for(;void 0!==s;){if(r===s.index){let t;2===s.type?t=new J(n,n.nextSibling,this,e):1===s.type?t=new s.ctor(n,s.name,s.strings,this,e):6===s.type&&(t=new ne(n,this,e)),this._$AV.push(t),s=i[++a]}r!==(null==s?void 0:s.index)&&(n=K.nextNode(),r++)}return K.currentNode=M,o}p(e){let t=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}};class J{get _$AU(){var e;return(null==(e=this._$AM)?void 0:e._$AU)??this._$Cv}constructor(e,t,i,o){this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=o,this._$Cv=(null==o?void 0:o.isConnected)??!0}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===(null==e?void 0:e.nodeType)&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=X(this,e,t),T(e)?e===U||null==e||""===e?(this._$AH!==U&&this._$AR(),this._$AH=U):e!==this._$AH&&e!==W&&this._(e):void 0!==e._$litType$?this.$(e):void 0!==e.nodeType?this.T(e):(e=>L(e)||"function"==typeof(null==e?void 0:e[Symbol.iterator]))(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==U&&T(this._$AH)?this._$AA.nextSibling.data=e:this.T(M.createTextNode(e)),this._$AH=e}$(e){var t;const{values:i,_$litType$:o}=e,n="number"==typeof o?this._$AC(e):(void 0===o.el&&(o.el=Y.createElement(Z(o.h,o.h[0]),this.options)),o);if((null==(t=this._$AH)?void 0:t._$AD)===n)this._$AH.p(i);else{const e=new Q(n,this),t=e.u(this.options);e.p(i),this.T(t),this._$AH=e}}_$AC(e){let t=q.get(e.strings);return void 0===t&&q.set(e.strings,t=new Y(e)),t}k(e){L(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let i,o=0;for(const n of e)o===t.length?t.push(i=new J(this.O(O()),this.O(O()),this,this.options)):i=t[o],i._$AI(n),o++;o<t.length&&(this._$AR(i&&i._$AB.nextSibling,o),t.length=o)}_$AR(e=this._$AA.nextSibling,t){var i;for(null==(i=this._$AP)||i.call(this,!1,!0,t);e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){var t;void 0===this._$AM&&(this._$Cv=e,null==(t=this._$AP)||t.call(this,e))}}let ee=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,i,o,n){this.type=1,this._$AH=U,this._$AN=void 0,this.element=e,this.name=t,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=U}_$AI(e,t=this,i,o){const n=this.strings;let r=!1;if(void 0===n)e=X(this,e,t,0),r=!T(e)||e!==this._$AH&&e!==W,r&&(this._$AH=e);else{const o=e;let a,s;for(e=n[0],a=0;a<n.length-1;a++)s=X(this,o[i+a],t,a),s===W&&(s=this._$AH[a]),r||(r=!T(s)||s!==this._$AH[a]),s===U?e=U:e!==U&&(e+=(s??"")+n[a+1]),this._$AH[a]=s}r&&!o&&this.j(e)}j(e){e===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}};class te extends ee{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===U?void 0:e}}class ie extends ee{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==U)}}let oe=class extends ee{constructor(e,t,i,o,n){super(e,t,i,o,n),this.type=5}_$AI(e,t=this){if((e=X(this,e,t,0)??U)===W)return;const i=this._$AH,o=e===U&&i!==U||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,n=e!==U&&(i===U||o);o&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t;"function"==typeof this._$AH?this._$AH.call((null==(t=this.options)?void 0:t.host)??this.element,e):this._$AH.handleEvent(e)}},ne=class{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){X(this,e)}};const re={I:J},ae=_.litHtmlPolyfillSupport;null==ae||ae(Y,J),(_.litHtmlVersions??(_.litHtmlVersions=[])).push("3.3.1");const se=globalThis;
|
|
18
18
|
/**
|
|
19
19
|
* @license
|
|
20
20
|
* Copyright 2017 Google LLC
|
|
@@ -60,22 +60,22 @@ const ye=1,ke=2,we=e=>(...t)=>({_$litDirective$:e,values:t});let xe=class{constr
|
|
|
60
60
|
* @license
|
|
61
61
|
* Copyright 2020 Google LLC
|
|
62
62
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
63
|
-
*/const{I:Ae}=re,_e=()=>document.createComment(""),Se=(e,t,i)=>{var o;const n=e._$AA.parentNode,r=void 0===t?e._$AB:t._$AA;if(void 0===i){const t=n.insertBefore(_e(),r),o=n.insertBefore(_e(),r);i=new Ae(t,o,e,e.options)}else{const t=i._$AB.nextSibling,a=i._$AM,s=a!==e;if(s){let t;null==(o=i._$AQ)||o.call(i,e),i._$AM=e,void 0!==i._$AP&&(t=e._$AU)!==a._$AU&&i._$AP(t)}if(t!==r||s){let e=i._$AA;for(;e!==t;){const t=e.nextSibling;n.insertBefore(e,r),e=t}}}return i},$e=(e,t,i=e)=>(e._$AI(t,i),e),Ee={},ze=e=>{e._$AR(),e._$AA.remove()},Ce=(e,t,i)=>{const o=new Map;for(let n=t;n<=i;n++)o.set(e[n],n);return o},
|
|
63
|
+
*/const{I:Ae}=re,_e=()=>document.createComment(""),Se=(e,t,i)=>{var o;const n=e._$AA.parentNode,r=void 0===t?e._$AB:t._$AA;if(void 0===i){const t=n.insertBefore(_e(),r),o=n.insertBefore(_e(),r);i=new Ae(t,o,e,e.options)}else{const t=i._$AB.nextSibling,a=i._$AM,s=a!==e;if(s){let t;null==(o=i._$AQ)||o.call(i,e),i._$AM=e,void 0!==i._$AP&&(t=e._$AU)!==a._$AU&&i._$AP(t)}if(t!==r||s){let e=i._$AA;for(;e!==t;){const t=e.nextSibling;n.insertBefore(e,r),e=t}}}return i},$e=(e,t,i=e)=>(e._$AI(t,i),e),Ee={},ze=e=>{e._$AR(),e._$AA.remove()},Ce=(e,t,i)=>{const o=new Map;for(let n=t;n<=i;n++)o.set(e[n],n);return o},Be=we(class extends xe{constructor(e){if(super(e),e.type!==ke)throw Error("repeat() can only be used in text expressions")}dt(e,t,i){let o;void 0===i?i=t:void 0!==t&&(o=t);const n=[],r=[];let a=0;for(const s of e)n[a]=o?o(s,a):a,r[a]=i(s,a),a++;return{values:r,keys:n}}render(e,t,i){return this.dt(e,t,i).values}update(e,[t,i,o]){const n=e._$AH,{values:r,keys:a}=this.dt(t,i,o);if(!Array.isArray(n))return this.ut=a,r;const s=this.ut??(this.ut=[]),l=[];let c,d,h=0,p=n.length-1,v=0,b=r.length-1;for(;h<=p&&v<=b;)if(null===n[h])h++;else if(null===n[p])p--;else if(s[h]===a[v])l[v]=$e(n[h],r[v]),h++,v++;else if(s[p]===a[b])l[b]=$e(n[p],r[b]),p--,b--;else if(s[h]===a[b])l[b]=$e(n[h],r[b]),Se(e,l[b+1],n[h]),h++,b--;else if(s[p]===a[v])l[v]=$e(n[p],r[v]),Se(e,n[h],n[p]),p--,v++;else if(void 0===c&&(c=Ce(a,v,b),d=Ce(s,h,p)),c.has(s[h]))if(c.has(s[p])){const t=d.get(a[v]),i=void 0!==t?n[t]:null;if(null===i){const t=Se(e,n[h]);$e(t,r[v]),l[v]=t}else l[v]=$e(i,r[v]),Se(e,n[h],i),n[t]=null;v++}else ze(n[p]),p--;else ze(n[h]),h++;for(;v<=b;){const t=Se(e,l[b+1]);$e(t,r[v]),l[v++]=t}for(;h<=p;){const e=n[h++];null!==e&&ze(e)}return this.ut=a,((e,t=Ee)=>{e._$AH=t})(e,l),W}}),Me=we(class extends xe{constructor(e){var t;if(super(e),e.type!==ye||"class"!==e.name||(null==(t=e.strings)?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){var i,o;if(void 0===this.st){this.st=new Set,void 0!==e.strings&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(e=>""!==e)));for(const e in t)t[e]&&!(null==(i=this.nt)?void 0:i.has(e))&&this.st.add(e);return this.render(t)}const n=e.element.classList;for(const r of this.st)r in t||(n.remove(r),this.st.delete(r));for(const r in t){const e=!!t[r];e===this.st.has(r)||(null==(o=this.nt)?void 0:o.has(r))||(e?(n.add(r),this.st.add(r)):(n.remove(r),this.st.delete(r)))}return W}}),Oe=e=>e??U,Te=(e,t,i)=>function(o,n){const r=`#${n}`;Object.defineProperty(o,n,{get(){return this[r]},set(o){t.includes(o)?this[r]=o:(console.error(`<${e}> Invalid value "${o}" provided for property "${n}".`,`Must be one of: ${t.join(" | ")}.`,`Falling back to default value: "${i}"`),this[r]=i)},configurable:!0})};
|
|
64
64
|
/**
|
|
65
65
|
* @license
|
|
66
66
|
* Copyright 2017 Google LLC
|
|
67
67
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
|
-
*/function Le(e){return t=>{try{(e=>(t,i)=>{void 0!==i?i.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)})(e)(t)}catch(i){const o=customElements.get(e),n=null==o?void 0:o.v;t.v!==n&&console.warn(`PIE Web Component: "${e}" was already registered with version: ${n??"No version data found. Icon components do not contain version data. If the component is not an icon, please report the missing version data."}.`,i)}}}function Pe(e,t,i){t.startsWith("pie-")||console.warn("A custom event name should start with `pie-`");const o=new CustomEvent(t,{bubbles:!0,composed:!0,detail:i});e.dispatchEvent(o)}const Ne=e=>{const t=class extends e{get form(){return this._internals.form}constructor(...e){super(...e),this._internals=this.attachInternals()}};return t.formAssociated=!0,t},je=e=>{const t=class extends e{};return t.shadowRootOptions={...e.shadowRootOptions,delegatesFocus:!0},t},Ie=class e extends le{willUpdate(){this.getAttribute("v")||this.setAttribute("v",e.v)}};Ie.v="1.
|
|
68
|
+
*/function Le(e){return t=>{try{(e=>(t,i)=>{void 0!==i?i.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)})(e)(t)}catch(i){const o=customElements.get(e),n=null==o?void 0:o.v;t.v!==n&&console.warn(`PIE Web Component: "${e}" was already registered with version: ${n??"No version data found. Icon components do not contain version data. If the component is not an icon, please report the missing version data."}.`,i)}}}function Pe(e,t,i){t.startsWith("pie-")||console.warn("A custom event name should start with `pie-`");const o=new CustomEvent(t,{bubbles:!0,composed:!0,detail:i});e.dispatchEvent(o)}const Ne=e=>{const t=class extends e{get form(){return this._internals.form}constructor(...e){super(...e),this._internals=this.attachInternals()}};return t.formAssociated=!0,t},je=e=>{const t=class extends e{};return t.shadowRootOptions={...e.shadowRootOptions,delegatesFocus:!0},t},Ie=class e extends le{willUpdate(){this.getAttribute("v")||this.setAttribute("v",e.v)}};Ie.v="1.4.0";let De=Ie;const Fe="medium",Re="brand";var He=Object.defineProperty,Ve=Object.getOwnPropertyDescriptor,We=(e,t,i,o)=>{for(var n,r=o>1?void 0:o?Ve(t,i):t,a=e.length-1;a>=0;a--)(n=e[a])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&He(t,i,r),r};const Ue="pie-spinner";let qe=class extends De{constructor(){super(...arguments),this.size=Fe,this.variant=Re}render(){const{variant:e,size:t}=this;return V`
|
|
69
69
|
<div
|
|
70
70
|
data-test-id="pie-spinner"
|
|
71
|
-
class="${
|
|
71
|
+
class="${Me({"c-spinner":!0,[`c-spinner--${t}`]:!0,[`c-spinner--${e}`]:!0})}"
|
|
72
72
|
role="status"
|
|
73
73
|
aria-live="polite">
|
|
74
74
|
${this.renderAriaLabel()}
|
|
75
75
|
</div>`}renderAriaLabel(){var e;return null!=(e=this.aria)&&e.label?V`
|
|
76
76
|
<span class="c-spinner-label">
|
|
77
77
|
${this.aria.label}
|
|
78
|
-
</span>`:U}};qe.styles=s("*,*:after,*:before{box-sizing:inherit}:host{display:block}@keyframes rotate360{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.c-spinner{--spinner-size: 24px;--spinner-left-color: hsl(var(--spinner-base-color-h), var(--spinner-base-color-s), var(--spinner-base-color-l), 1);--spinner-right-color: hsl(var(--spinner-base-color-h), var(--spinner-base-color-s), var(--spinner-base-color-l), .35);block-size:var(--spinner-size);inline-size:var(--spinner-size);border-radius:var(--dt-radius-rounded-e);border-width:calc(var(--spinner-size) / 8);border-style:solid;border-color:var(--spinner-left-color) var(--spinner-right-color) var(--spinner-right-color) var(--spinner-left-color);will-change:transform;animation:rotate360 1.15s linear infinite;--spinner-base-color-h: var(--dt-color-content-brand-solid-h);--spinner-base-color-s: var(--dt-color-content-brand-solid-s);--spinner-base-color-l: var(--dt-color-content-brand-solid-l)}.c-spinner.c-spinner--secondary{--spinner-base-color-h: var(--dt-color-content-interactive-secondary-solid-h);--spinner-base-color-s: var(--dt-color-content-interactive-secondary-solid-s);--spinner-base-color-l: var(--dt-color-content-interactive-secondary-solid-l)}.c-spinner.c-spinner--inverse{--spinner-base-color-h: var(--dt-color-content-inverse-solid-h);--spinner-base-color-s: var(--dt-color-content-inverse-solid-s);--spinner-base-color-l: var(--dt-color-content-inverse-solid-l)}.c-spinner.c-spinner--xsmall{--spinner-size: 16px}.c-spinner.c-spinner--small{--spinner-size: 20px}.c-spinner.c-spinner--large{--spinner-size: 32px}.c-spinner.c-spinner--xlarge{--spinner-size: 48px}.c-spinner-label{position:absolute;display:block;height:1px;width:1px;overflow:hidden;padding:1px;white-space:nowrap}"),We([be({type:Object})],qe.prototype,"aria",2),We([be({type:String}),Te(Ue,["xsmall","small","medium","large","xlarge"],Fe)],qe.prototype,"size",2),We([be({type:String}),Te(Ue,["brand","secondary","inverse"],Re)],qe.prototype,"variant",2),qe=We([Le("pie-spinner")],qe),function(e){const t=new WeakMap,i=new WeakMap,o=new WeakMap,n=new WeakMap,r=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap,c=new WeakMap,d=new WeakMap,h=new WeakMap,p=new WeakMap,v=new WeakMap,b=new WeakMap,m=new WeakMap,u={ariaAtomic:"aria-atomic",ariaAutoComplete:"aria-autocomplete",ariaBusy:"aria-busy",ariaChecked:"aria-checked",ariaColCount:"aria-colcount",ariaColIndex:"aria-colindex",ariaColIndexText:"aria-colindextext",ariaColSpan:"aria-colspan",ariaCurrent:"aria-current",ariaDescription:"aria-description",ariaDisabled:"aria-disabled",ariaExpanded:"aria-expanded",ariaHasPopup:"aria-haspopup",ariaHidden:"aria-hidden",ariaInvalid:"aria-invalid",ariaKeyShortcuts:"aria-keyshortcuts",ariaLabel:"aria-label",ariaLevel:"aria-level",ariaLive:"aria-live",ariaModal:"aria-modal",ariaMultiLine:"aria-multiline",ariaMultiSelectable:"aria-multiselectable",ariaOrientation:"aria-orientation",ariaPlaceholder:"aria-placeholder",ariaPosInSet:"aria-posinset",ariaPressed:"aria-pressed",ariaReadOnly:"aria-readonly",ariaRelevant:"aria-relevant",ariaRequired:"aria-required",ariaRoleDescription:"aria-roledescription",ariaRowCount:"aria-rowcount",ariaRowIndex:"aria-rowindex",ariaRowIndexText:"aria-rowindextext",ariaRowSpan:"aria-rowspan",ariaSelected:"aria-selected",ariaSetSize:"aria-setsize",ariaSort:"aria-sort",ariaValueMax:"aria-valuemax",ariaValueMin:"aria-valuemin",ariaValueNow:"aria-valuenow",ariaValueText:"aria-valuetext",role:"role"};function g(e){const t=n.get(e),{form:i}=t;O(e,i,t),E(e,t.labels)}const f=(e,t=!1)=>{const i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>n.has(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});let o=i.nextNode();const r=!t||e.disabled;for(;o;)o.formDisabledCallback&&r&&_(o,e.disabled),o=i.nextNode()},y={attributes:!0,attributeFilter:["disabled","name"]},k=j()?new MutationObserver(e=>{for(const t of e){const e=t.target;if("disabled"===t.attributeName&&(e.constructor.formAssociated?_(e,e.hasAttribute("disabled")):"fieldset"===e.localName&&f(e)),"name"===t.attributeName&&e.constructor.formAssociated){const t=n.get(e),i=c.get(e);t.setFormValue(i)}}}):{};function w(e){e.forEach(e=>{const{addedNodes:t,removedNodes:i}=e,r=Array.from(t),a=Array.from(i);r.forEach(e=>{var t;if(n.has(e)&&e.constructor.formAssociated&&g(e),d.has(e)){const t=d.get(e);Object.keys(u).filter(e=>null!==t[e]).forEach(i=>{e.setAttribute(u[i],t[i])}),d.delete(e)}if(m.has(e)){const t=m.get(e);e.setAttribute("internals-valid",t.validity.valid.toString()),e.setAttribute("internals-invalid",(!t.validity.valid).toString()),e.setAttribute("aria-invalid",(!t.validity.valid).toString()),m.delete(e)}if("form"===e.localName){const t=l.get(e),i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>!n.has(e)||!e.constructor.formAssociated||t&&t.has(e)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT});let o=i.nextNode();for(;o;)g(o),o=i.nextNode()}"fieldset"===e.localName&&(null===(t=k.observe)||void 0===t||t.call(k,e,y),f(e,!0))}),a.forEach(e=>{const t=n.get(e);t&&o.get(t)&&S(t),s.has(e)&&s.get(e).disconnect()})})}function x(e){e.forEach(e=>{const{removedNodes:t}=e;t.forEach(t=>{const i=v.get(e.target);n.has(t)&&N(t),i.disconnect()})})}j()&&new MutationObserver(w);const A={childList:!0,subtree:!0},_=(e,t)=>{e.toggleAttribute("internals-disabled",t),t?e.setAttribute("aria-disabled","true"):e.removeAttribute("aria-disabled"),e.formDisabledCallback&&e.formDisabledCallback.apply(e,[t])},S=e=>{o.get(e).forEach(e=>{e.remove()}),o.set(e,[])},$=(e,t)=>{const i=document.createElement("input");return i.type="hidden",i.name=e.getAttribute("name"),e.after(i),o.get(t).push(i),i},E=(e,t)=>{if(t.length){Array.from(t).forEach(t=>t.addEventListener("click",e.click.bind(e)));let i=t[0].id;t[0].id||(i=`${t[0].htmlFor}_Label`,t[0].id=i),e.setAttribute("aria-labelledby",i)}},z=e=>{const t=Array.from(e.elements).filter(e=>!e.tagName.includes("-")&&e.validity).map(e=>e.validity.valid),i=l.get(e)||[],o=[...t,...Array.from(i).filter(e=>e.isConnected).map(e=>n.get(e).validity.valid)].includes(!1);e.toggleAttribute("internals-invalid",o),e.toggleAttribute("internals-valid",!o)},C=e=>{z(T(e.target))},M=e=>{z(T(e.target))},B=e=>{const t=l.get(e.target);t&&t.size&&t.forEach(e=>{e.constructor.formAssociated&&e.formResetCallback&&e.formResetCallback.apply(e)})},O=(e,t,i)=>{if(t){const o=l.get(t);if(o)o.add(e);else{const i=new Set;i.add(e),l.set(t,i),(e=>{const t=["button[type=submit]","input[type=submit]","button:not([type])"].map(e=>`${e}:not([disabled])`).map(t=>`${t}:not([form])${e.id?`,${t}[form='${e.id}']`:""}`).join(",");e.addEventListener("click",i=>{if(i.target.closest(t)){const t=l.get(e);if(e.noValidate)return;t.size&&Array.from(t).reverse().map(e=>n.get(e).reportValidity()).includes(!1)&&i.preventDefault()}})})(t),t.addEventListener("reset",B),t.addEventListener("input",C),t.addEventListener("change",M)}a.set(t,{ref:e,internals:i}),e.constructor.formAssociated&&e.formAssociatedCallback&&setTimeout(()=>{e.formAssociatedCallback.apply(e,[t])},0),z(t)}},T=e=>{let t=e.parentNode;return t&&"FORM"!==t.tagName&&(t=T(t)),t},L=(e,t,i=DOMException)=>{if(!e.constructor.formAssociated)throw new i(t)},P=(e,t,i)=>{const o=l.get(e);return o&&o.size&&o.forEach(e=>{n.get(e)[i]()||(t=!1)}),t},N=e=>{if(e.constructor.formAssociated){const t=n.get(e),{labels:i,form:o}=t;E(e,i),O(e,o,t)}};function j(){return typeof MutationObserver<"u"}class I{constructor(){this.badInput=!1,this.customError=!1,this.patternMismatch=!1,this.rangeOverflow=!1,this.rangeUnderflow=!1,this.stepMismatch=!1,this.tooLong=!1,this.tooShort=!1,this.typeMismatch=!1,this.valid=!0,this.valueMissing=!1,Object.seal(this)}}const D=e=>{let t=!0;for(let i in e)"valid"!==i&&!1!==e[i]&&(t=!1);return t},F=new WeakMap;function R(e,t){e.toggleAttribute(t,!0),e.part&&e.part.add(t)}class H extends Set{static get isPolyfilled(){return!0}constructor(e){if(super(),!e||!e.tagName||-1===e.tagName.indexOf("-"))throw new TypeError("Illegal constructor");F.set(this,e)}add(e){if(!/^--/.test(e)||"string"!=typeof e)throw new DOMException(`Failed to execute 'add' on 'CustomStateSet': The specified value ${e} must start with '--'.`);const t=super.add(e),i=F.get(this),o=`state${e}`;return i.isConnected?R(i,o):setTimeout(()=>{R(i,o)}),t}clear(){for(let[e]of this.entries())this.delete(e);super.clear()}delete(e){const t=super.delete(e),i=F.get(this);return i.isConnected?(i.toggleAttribute(`state${e}`,!1),i.part&&i.part.remove(`state${e}`)):setTimeout(()=>{i.toggleAttribute(`state${e}`,!1),i.part&&i.part.remove(`state${e}`)}),t}}function V(e,t,i,o){if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(e):o?o.value:t.get(e)}var W;class U{constructor(e){W.set(this,void 0),function(e,t,i){if("function"==typeof t||!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");t.set(e,i)}(this,W,e);for(let t=0;t<e.length;t++){let i=e[t];this[t]=i,i.hasAttribute("name")&&(this[i.getAttribute("name")]=i)}Object.freeze(this)}get length(){return V(this,W,"f").length}[(W=new WeakMap,Symbol.iterator)](){return V(this,W,"f")[Symbol.iterator]()}item(e){return null==this[e]?null:this[e]}namedItem(e){return null==this[e]?null:this[e]}}class q{static get isPolyfilled(){return!0}constructor(e){if(!e||!e.tagName||-1===e.tagName.indexOf("-"))throw new TypeError("Illegal constructor");const r=e.getRootNode(),a=new I;this.states=new H(e),t.set(this,e),i.set(this,a),n.set(e,this),((e,t)=>{for(let i in u){t[i]=null;let o=null;const n=u[i];Object.defineProperty(t,i,{get:()=>o,set(i){o=i,e.isConnected?e.setAttribute(n,i):d.set(e,t)}})}})(e,this),((e,t)=>{var i;o.set(t,[]),null===(i=k.observe)||void 0===i||i.call(k,e,y)})(e,this),Object.seal(this),r instanceof DocumentFragment&&(e=>{var t,i;const o=new MutationObserver(x);!(null===(t=null==window?void 0:window.ShadyDOM)||void 0===t)&&t.inUse&&e.mode&&e.host&&(e=e.host),null===(i=o.observe)||void 0===i||i.call(o,e,{childList:!0}),v.set(e,o)})(r)}checkValidity(){const e=t.get(this);if(L(e,"Failed to execute 'checkValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const o=i.get(this);if(!o.valid){const t=new Event("invalid",{bubbles:!1,cancelable:!0,composed:!1});e.dispatchEvent(t)}return o.valid}get form(){const e=t.get(this);let i;return L(e,"Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element."),!0===e.constructor.formAssociated&&(i=T(e)),i}get labels(){const e=t.get(this);L(e,"Failed to read the 'labels' property from 'ElementInternals': The target element is not a form-associated custom element.");const i=e.getAttribute("id"),o=e.getRootNode();return o&&i?o.querySelectorAll(`[for="${i}"]`):[]}reportValidity(){const e=t.get(this);if(L(e,"Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const i=this.checkValidity(),o=p.get(this);if(o&&!e.constructor.formAssociated)throw new DOMException("Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element.");return!i&&o&&(e.focus(),o.focus()),i}setFormValue(e){const i=t.get(this);L(i,"Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."),S(this),null==e||e instanceof FormData?null!=e&&e instanceof FormData&&Array.from(e).reverse().forEach(([e,t])=>{if("string"==typeof t){const o=$(i,this);o.name=e,o.value=t}}):i.getAttribute("name")&&($(i,this).value=e),c.set(i,e)}setValidity(e,o,n){const a=t.get(this);if(L(a,"Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!e)throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");p.set(this,n);const s=i.get(this),l={};for(const t in e)l[t]=e[t];var c;0===Object.keys(l).length&&((c=s).badInput=!1,c.customError=!1,c.patternMismatch=!1,c.rangeOverflow=!1,c.rangeUnderflow=!1,c.stepMismatch=!1,c.tooLong=!1,c.tooShort=!1,c.typeMismatch=!1,c.valid=!0,c.valueMissing=!1);const d=Object.assign(Object.assign({},s),l);delete d.valid;const{valid:h}=((e,t,i)=>(e.valid=D(t),Object.keys(t).forEach(i=>e[i]=t[i]),i&&z(i),e))(s,d,this.form);if(!h&&!o)throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true.");r.set(this,h?"":o),a.isConnected?(a.toggleAttribute("internals-invalid",!h),a.toggleAttribute("internals-valid",h),a.setAttribute("aria-invalid",`${!h}`)):m.set(a,this)}get shadowRoot(){const e=t.get(this);return h.get(e)||null}get validationMessage(){const e=t.get(this);return L(e,"Failed to read the 'validationMessage' property from 'ElementInternals': The target element is not a form-associated custom element."),r.get(this)}get validity(){const e=t.get(this);return L(e,"Failed to read the 'validity' property from 'ElementInternals': The target element is not a form-associated custom element."),i.get(this)}get willValidate(){const e=t.get(this);return L(e,"Failed to read the 'willValidate' property from 'ElementInternals': The target element is not a form-associated custom element."),!(e.disabled||e.hasAttribute("disabled")||e.hasAttribute("readonly"))}}let K=!1,G=!1;function Z(e){G||(G=!0,window.CustomStateSet=H,e&&(HTMLElement.prototype.attachInternals=function(...t){const i=e.call(this,t);return i.states=new H(this),i}))}function Y(e=!0){if(!K){if(K=!0,typeof window<"u"&&(window.ElementInternals=q),typeof CustomElementRegistry<"u"){const e=CustomElementRegistry.prototype.define;CustomElementRegistry.prototype.define=function(t,i,o){if(i.formAssociated){const e=i.prototype.connectedCallback;i.prototype.connectedCallback=function(){b.has(this)||(b.set(this,!0),this.hasAttribute("disabled")&&_(this,!0)),null!=e&&e.apply(this),N(this)}}e.call(this,t,i,o)}}if(typeof HTMLElement<"u"&&(HTMLElement.prototype.attachInternals=function(){if(!this.tagName)return{};if(-1===this.tagName.indexOf("-"))throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': Unable to attach ElementInternals to non-custom elements.");if(n.has(this))throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");return new q(this)}),typeof Element<"u"){let e=function(...e){const i=t.apply(this,e);if(h.set(this,i),j()){const e=new MutationObserver(w);window.ShadyDOM?e.observe(this,A):e.observe(i,A),s.set(this,e)}return i};const t=Element.prototype.attachShadow;Element.prototype.attachShadow=e}j()&&typeof document<"u"&&new MutationObserver(w).observe(document.documentElement,A),typeof HTMLFormElement<"u"&&function(){const e=HTMLFormElement.prototype.checkValidity;HTMLFormElement.prototype.checkValidity=function(...t){let i=e.apply(this,t);return P(this,i,"checkValidity")};const t=HTMLFormElement.prototype.reportValidity;HTMLFormElement.prototype.reportValidity=function(...e){let i=t.apply(this,e);return P(this,i,"reportValidity")};const{get:i}=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get(...e){const t=i.call(this,...e),o=Array.from(l.get(this)||[]);if(0===o.length)return t;const n=Array.from(t).concat(o).sort((e,t)=>e.compareDocumentPosition?2&e.compareDocumentPosition(t)?1:-1:0);return new U(n)}})}(),(e||typeof window<"u"&&!window.CustomStateSet)&&Z()}}!!customElements.polyfillWrapFlushCallback||(function(){if(typeof window>"u"||!window.ElementInternals||!HTMLElement.prototype.attachInternals)return!1;class e extends HTMLElement{constructor(){super(),this.internals=this.attachInternals()}}const t=`element-internals-feature-detection-${Math.random().toString(36).replace(/[^a-z]+/g,"")}`;customElements.define(t,e);const i=new e;return["shadowRoot","form","willValidate","validity","validationMessage","labels","setFormValue","setValidity","checkValidity","reportValidity"].every(e=>e in i.internals)}()?typeof window<"u"&&!window.CustomStateSet&&Z(HTMLElement.prototype.attachInternals):Y(!1)),e.forceCustomStateSetPolyfill=Z,e.forceElementInternalsPolyfill=Y,Object.defineProperty(e,"__esModule",{value:!0})}({});const Ke=class e extends le{willUpdate(){this.getAttribute("v")||this.setAttribute("v",e.v)}};Ke.v="1.11.0";let Ge=Ke;const Ze="button",Ye="medium",Xe="submit",Qe="primary",Je="leading",et=!1,tt=!1,it=!1,ot=!1;var nt=Object.defineProperty,rt=Object.getOwnPropertyDescriptor,at=(e,t,i,o)=>{for(var n,r=o>1?void 0:o?rt(t,i):t,a=e.length-1;a>=0;a--)(n=e[a])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&nt(t,i,r),r};const st="pie-button";let lt=class extends(je(Ne(Ge))){constructor(){super(...arguments),this.tag=Ze,this.size=Ye,this.type=Xe,this.variant=Qe,this.iconPlacement=Je,this.disabled=et,this.isLoading=tt,this.isFullWidth=it,this.isResponsive=ot,this._handleFormKeyDown=e=>{if("Enter"===e.key&&"submit"===this.type&&!this.disabled){if(e.target instanceof HTMLElement){const t=e.target.tagName.toLowerCase();if("button"===t||"pie-button"===t)return}e.preventDefault(),this._handleClick()}}}connectedCallback(){var e;super.connectedCallback(),"submit"===this.type&&(null==(e=this.form)||e.addEventListener("keydown",this._handleFormKeyDown))}disconnectedCallback(){var e;super.disconnectedCallback(),"submit"===this.type&&(null==(e=this.form)||e.removeEventListener("keydown",this._handleFormKeyDown))}updated(e){var t,i;e.has("type")&&("submit"===this.type?null==(t=this.form)||t.addEventListener("keydown",this._handleFormKeyDown):null==(i=this.form)||i.removeEventListener("keydown",this._handleFormKeyDown))}_simulateNativeButtonClick(e){if(!this.form)return;const t=document.createElement("button");t.type=e,t.style.position="absolute",t.style.width="1px",t.style.height="1px",t.style.padding="0",t.style.margin="-1px",t.style.overflow="hidden",t.style.border="0",t.style.whiteSpace="nowrap","submit"===e&&(this.name&&(t.name=this.name),this.value&&(t.value=this.value),this.formaction&&t.setAttribute("formaction",this.formaction),this.formenctype&&t.setAttribute("formenctype",this.formenctype),this.formmethod&&t.setAttribute("formmethod",this.formmethod),this.formnovalidate&&t.setAttribute("formnovalidate","formnovalidate"),this.formtarget&&t.setAttribute("formtarget",this.formtarget)),this.form.append(t),t.click(),t.remove()}_handleClick(){this.form&&(this.isLoading||"button"===this.tag&&("submit"===this.type?(this.formnovalidate||this.form.reportValidity())&&this._simulateNativeButtonClick("submit"):"reset"===this.type&&this._simulateNativeButtonClick("reset")))}renderSpinner(){const{size:e,variant:t,disabled:i}=this,o=e&&e.includes("small")?"small":"medium";let n;return n=i?"ghost-inverse"===t?"inverse":"secondary":["primary","destructive","outline-inverse","ghost-inverse"].includes(this.variant)?"inverse":"secondary",V`
|
|
78
|
+
</span>`:U}};qe.styles=s("*,*:after,*:before{box-sizing:inherit}:host{display:block}@keyframes rotate360{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.c-spinner{--spinner-size: 24px;--spinner-left-color: hsl(var(--spinner-base-color-h), var(--spinner-base-color-s), var(--spinner-base-color-l), 1);--spinner-right-color: hsl(var(--spinner-base-color-h), var(--spinner-base-color-s), var(--spinner-base-color-l), .35);block-size:var(--spinner-size);inline-size:var(--spinner-size);border-radius:var(--dt-radius-rounded-e);border-width:calc(var(--spinner-size) / 8);border-style:solid;border-color:var(--spinner-left-color) var(--spinner-right-color) var(--spinner-right-color) var(--spinner-left-color);will-change:transform;animation:rotate360 1.15s linear infinite;--spinner-base-color-h: var(--dt-color-content-brand-solid-h);--spinner-base-color-s: var(--dt-color-content-brand-solid-s);--spinner-base-color-l: var(--dt-color-content-brand-solid-l)}.c-spinner.c-spinner--secondary{--spinner-base-color-h: var(--dt-color-content-interactive-secondary-solid-h);--spinner-base-color-s: var(--dt-color-content-interactive-secondary-solid-s);--spinner-base-color-l: var(--dt-color-content-interactive-secondary-solid-l)}.c-spinner.c-spinner--secondary-dark{--spinner-base-color-h: var(--dt-color-content-interactive-dark-solid-h);--spinner-base-color-s: var(--dt-color-content-interactive-dark-solid-s);--spinner-base-color-l: var(--dt-color-content-interactive-dark-solid-l)}.c-spinner.c-spinner--inverse{--spinner-base-color-h: var(--dt-color-content-inverse-solid-h);--spinner-base-color-s: var(--dt-color-content-inverse-solid-s);--spinner-base-color-l: var(--dt-color-content-inverse-solid-l)}.c-spinner.c-spinner--inverse-light{--spinner-base-color-h: var(--dt-color-content-light-solid-h);--spinner-base-color-s: var(--dt-color-content-light-solid-s);--spinner-base-color-l: var(--dt-color-content-light-solid-l)}.c-spinner.c-spinner--xsmall{--spinner-size: 16px}.c-spinner.c-spinner--small{--spinner-size: 20px}.c-spinner.c-spinner--large{--spinner-size: 32px}.c-spinner.c-spinner--xlarge{--spinner-size: 48px}.c-spinner-label{position:absolute;display:block;height:1px;width:1px;overflow:hidden;padding:1px;white-space:nowrap}"),We([be({type:Object})],qe.prototype,"aria",2),We([be({type:String}),Te(Ue,["xsmall","small","medium","large","xlarge"],Fe)],qe.prototype,"size",2),We([be({type:String}),Te(Ue,["brand","secondary","secondary-dark","inverse","inverse-light"],Re)],qe.prototype,"variant",2),qe=We([Le("pie-spinner")],qe),function(e){const t=new WeakMap,i=new WeakMap,o=new WeakMap,n=new WeakMap,r=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap,c=new WeakMap,d=new WeakMap,h=new WeakMap,p=new WeakMap,v=new WeakMap,b=new WeakMap,m=new WeakMap,u={ariaAtomic:"aria-atomic",ariaAutoComplete:"aria-autocomplete",ariaBusy:"aria-busy",ariaChecked:"aria-checked",ariaColCount:"aria-colcount",ariaColIndex:"aria-colindex",ariaColIndexText:"aria-colindextext",ariaColSpan:"aria-colspan",ariaCurrent:"aria-current",ariaDescription:"aria-description",ariaDisabled:"aria-disabled",ariaExpanded:"aria-expanded",ariaHasPopup:"aria-haspopup",ariaHidden:"aria-hidden",ariaInvalid:"aria-invalid",ariaKeyShortcuts:"aria-keyshortcuts",ariaLabel:"aria-label",ariaLevel:"aria-level",ariaLive:"aria-live",ariaModal:"aria-modal",ariaMultiLine:"aria-multiline",ariaMultiSelectable:"aria-multiselectable",ariaOrientation:"aria-orientation",ariaPlaceholder:"aria-placeholder",ariaPosInSet:"aria-posinset",ariaPressed:"aria-pressed",ariaReadOnly:"aria-readonly",ariaRelevant:"aria-relevant",ariaRequired:"aria-required",ariaRoleDescription:"aria-roledescription",ariaRowCount:"aria-rowcount",ariaRowIndex:"aria-rowindex",ariaRowIndexText:"aria-rowindextext",ariaRowSpan:"aria-rowspan",ariaSelected:"aria-selected",ariaSetSize:"aria-setsize",ariaSort:"aria-sort",ariaValueMax:"aria-valuemax",ariaValueMin:"aria-valuemin",ariaValueNow:"aria-valuenow",ariaValueText:"aria-valuetext",role:"role"};function g(e){const t=n.get(e),{form:i}=t;O(e,i,t),E(e,t.labels)}const f=(e,t=!1)=>{const i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>n.has(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});let o=i.nextNode();const r=!t||e.disabled;for(;o;)o.formDisabledCallback&&r&&_(o,e.disabled),o=i.nextNode()},y={attributes:!0,attributeFilter:["disabled","name"]},k=j()?new MutationObserver(e=>{for(const t of e){const e=t.target;if("disabled"===t.attributeName&&(e.constructor.formAssociated?_(e,e.hasAttribute("disabled")):"fieldset"===e.localName&&f(e)),"name"===t.attributeName&&e.constructor.formAssociated){const t=n.get(e),i=c.get(e);t.setFormValue(i)}}}):{};function w(e){e.forEach(e=>{const{addedNodes:t,removedNodes:i}=e,r=Array.from(t),a=Array.from(i);r.forEach(e=>{var t;if(n.has(e)&&e.constructor.formAssociated&&g(e),d.has(e)){const t=d.get(e);Object.keys(u).filter(e=>null!==t[e]).forEach(i=>{e.setAttribute(u[i],t[i])}),d.delete(e)}if(m.has(e)){const t=m.get(e);e.setAttribute("internals-valid",t.validity.valid.toString()),e.setAttribute("internals-invalid",(!t.validity.valid).toString()),e.setAttribute("aria-invalid",(!t.validity.valid).toString()),m.delete(e)}if("form"===e.localName){const t=l.get(e),i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>!n.has(e)||!e.constructor.formAssociated||t&&t.has(e)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT});let o=i.nextNode();for(;o;)g(o),o=i.nextNode()}"fieldset"===e.localName&&(null===(t=k.observe)||void 0===t||t.call(k,e,y),f(e,!0))}),a.forEach(e=>{const t=n.get(e);t&&o.get(t)&&S(t),s.has(e)&&s.get(e).disconnect()})})}function x(e){e.forEach(e=>{const{removedNodes:t}=e;t.forEach(t=>{const i=v.get(e.target);n.has(t)&&N(t),i.disconnect()})})}j()&&new MutationObserver(w);const A={childList:!0,subtree:!0},_=(e,t)=>{e.toggleAttribute("internals-disabled",t),t?e.setAttribute("aria-disabled","true"):e.removeAttribute("aria-disabled"),e.formDisabledCallback&&e.formDisabledCallback.apply(e,[t])},S=e=>{o.get(e).forEach(e=>{e.remove()}),o.set(e,[])},$=(e,t)=>{const i=document.createElement("input");return i.type="hidden",i.name=e.getAttribute("name"),e.after(i),o.get(t).push(i),i},E=(e,t)=>{if(t.length){Array.from(t).forEach(t=>t.addEventListener("click",e.click.bind(e)));let i=t[0].id;t[0].id||(i=`${t[0].htmlFor}_Label`,t[0].id=i),e.setAttribute("aria-labelledby",i)}},z=e=>{const t=Array.from(e.elements).filter(e=>!e.tagName.includes("-")&&e.validity).map(e=>e.validity.valid),i=l.get(e)||[],o=[...t,...Array.from(i).filter(e=>e.isConnected).map(e=>n.get(e).validity.valid)].includes(!1);e.toggleAttribute("internals-invalid",o),e.toggleAttribute("internals-valid",!o)},C=e=>{z(T(e.target))},B=e=>{z(T(e.target))},M=e=>{const t=l.get(e.target);t&&t.size&&t.forEach(e=>{e.constructor.formAssociated&&e.formResetCallback&&e.formResetCallback.apply(e)})},O=(e,t,i)=>{if(t){const o=l.get(t);if(o)o.add(e);else{const i=new Set;i.add(e),l.set(t,i),(e=>{const t=["button[type=submit]","input[type=submit]","button:not([type])"].map(e=>`${e}:not([disabled])`).map(t=>`${t}:not([form])${e.id?`,${t}[form='${e.id}']`:""}`).join(",");e.addEventListener("click",i=>{if(i.target.closest(t)){const t=l.get(e);if(e.noValidate)return;t.size&&Array.from(t).reverse().map(e=>n.get(e).reportValidity()).includes(!1)&&i.preventDefault()}})})(t),t.addEventListener("reset",M),t.addEventListener("input",C),t.addEventListener("change",B)}a.set(t,{ref:e,internals:i}),e.constructor.formAssociated&&e.formAssociatedCallback&&setTimeout(()=>{e.formAssociatedCallback.apply(e,[t])},0),z(t)}},T=e=>{let t=e.parentNode;return t&&"FORM"!==t.tagName&&(t=T(t)),t},L=(e,t,i=DOMException)=>{if(!e.constructor.formAssociated)throw new i(t)},P=(e,t,i)=>{const o=l.get(e);return o&&o.size&&o.forEach(e=>{n.get(e)[i]()||(t=!1)}),t},N=e=>{if(e.constructor.formAssociated){const t=n.get(e),{labels:i,form:o}=t;E(e,i),O(e,o,t)}};function j(){return typeof MutationObserver<"u"}class I{constructor(){this.badInput=!1,this.customError=!1,this.patternMismatch=!1,this.rangeOverflow=!1,this.rangeUnderflow=!1,this.stepMismatch=!1,this.tooLong=!1,this.tooShort=!1,this.typeMismatch=!1,this.valid=!0,this.valueMissing=!1,Object.seal(this)}}const D=e=>{let t=!0;for(let i in e)"valid"!==i&&!1!==e[i]&&(t=!1);return t},F=new WeakMap;function R(e,t){e.toggleAttribute(t,!0),e.part&&e.part.add(t)}class H extends Set{static get isPolyfilled(){return!0}constructor(e){if(super(),!e||!e.tagName||-1===e.tagName.indexOf("-"))throw new TypeError("Illegal constructor");F.set(this,e)}add(e){if(!/^--/.test(e)||"string"!=typeof e)throw new DOMException(`Failed to execute 'add' on 'CustomStateSet': The specified value ${e} must start with '--'.`);const t=super.add(e),i=F.get(this),o=`state${e}`;return i.isConnected?R(i,o):setTimeout(()=>{R(i,o)}),t}clear(){for(let[e]of this.entries())this.delete(e);super.clear()}delete(e){const t=super.delete(e),i=F.get(this);return i.isConnected?(i.toggleAttribute(`state${e}`,!1),i.part&&i.part.remove(`state${e}`)):setTimeout(()=>{i.toggleAttribute(`state${e}`,!1),i.part&&i.part.remove(`state${e}`)}),t}}function V(e,t,i,o){if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(e):o?o.value:t.get(e)}var W;class U{constructor(e){W.set(this,void 0),function(e,t,i){if("function"==typeof t||!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");t.set(e,i)}(this,W,e);for(let t=0;t<e.length;t++){let i=e[t];this[t]=i,i.hasAttribute("name")&&(this[i.getAttribute("name")]=i)}Object.freeze(this)}get length(){return V(this,W,"f").length}[(W=new WeakMap,Symbol.iterator)](){return V(this,W,"f")[Symbol.iterator]()}item(e){return null==this[e]?null:this[e]}namedItem(e){return null==this[e]?null:this[e]}}class q{static get isPolyfilled(){return!0}constructor(e){if(!e||!e.tagName||-1===e.tagName.indexOf("-"))throw new TypeError("Illegal constructor");const r=e.getRootNode(),a=new I;this.states=new H(e),t.set(this,e),i.set(this,a),n.set(e,this),((e,t)=>{for(let i in u){t[i]=null;let o=null;const n=u[i];Object.defineProperty(t,i,{get:()=>o,set(i){o=i,e.isConnected?e.setAttribute(n,i):d.set(e,t)}})}})(e,this),((e,t)=>{var i;o.set(t,[]),null===(i=k.observe)||void 0===i||i.call(k,e,y)})(e,this),Object.seal(this),r instanceof DocumentFragment&&(e=>{var t,i;const o=new MutationObserver(x);!(null===(t=null==window?void 0:window.ShadyDOM)||void 0===t)&&t.inUse&&e.mode&&e.host&&(e=e.host),null===(i=o.observe)||void 0===i||i.call(o,e,{childList:!0}),v.set(e,o)})(r)}checkValidity(){const e=t.get(this);if(L(e,"Failed to execute 'checkValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const o=i.get(this);if(!o.valid){const t=new Event("invalid",{bubbles:!1,cancelable:!0,composed:!1});e.dispatchEvent(t)}return o.valid}get form(){const e=t.get(this);let i;return L(e,"Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element."),!0===e.constructor.formAssociated&&(i=T(e)),i}get labels(){const e=t.get(this);L(e,"Failed to read the 'labels' property from 'ElementInternals': The target element is not a form-associated custom element.");const i=e.getAttribute("id"),o=e.getRootNode();return o&&i?o.querySelectorAll(`[for="${i}"]`):[]}reportValidity(){const e=t.get(this);if(L(e,"Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const i=this.checkValidity(),o=p.get(this);if(o&&!e.constructor.formAssociated)throw new DOMException("Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element.");return!i&&o&&(e.focus(),o.focus()),i}setFormValue(e){const i=t.get(this);L(i,"Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."),S(this),null==e||e instanceof FormData?null!=e&&e instanceof FormData&&Array.from(e).reverse().forEach(([e,t])=>{if("string"==typeof t){const o=$(i,this);o.name=e,o.value=t}}):i.getAttribute("name")&&($(i,this).value=e),c.set(i,e)}setValidity(e,o,n){const a=t.get(this);if(L(a,"Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!e)throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");p.set(this,n);const s=i.get(this),l={};for(const t in e)l[t]=e[t];var c;0===Object.keys(l).length&&((c=s).badInput=!1,c.customError=!1,c.patternMismatch=!1,c.rangeOverflow=!1,c.rangeUnderflow=!1,c.stepMismatch=!1,c.tooLong=!1,c.tooShort=!1,c.typeMismatch=!1,c.valid=!0,c.valueMissing=!1);const d=Object.assign(Object.assign({},s),l);delete d.valid;const{valid:h}=((e,t,i)=>(e.valid=D(t),Object.keys(t).forEach(i=>e[i]=t[i]),i&&z(i),e))(s,d,this.form);if(!h&&!o)throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true.");r.set(this,h?"":o),a.isConnected?(a.toggleAttribute("internals-invalid",!h),a.toggleAttribute("internals-valid",h),a.setAttribute("aria-invalid",`${!h}`)):m.set(a,this)}get shadowRoot(){const e=t.get(this);return h.get(e)||null}get validationMessage(){const e=t.get(this);return L(e,"Failed to read the 'validationMessage' property from 'ElementInternals': The target element is not a form-associated custom element."),r.get(this)}get validity(){const e=t.get(this);return L(e,"Failed to read the 'validity' property from 'ElementInternals': The target element is not a form-associated custom element."),i.get(this)}get willValidate(){const e=t.get(this);return L(e,"Failed to read the 'willValidate' property from 'ElementInternals': The target element is not a form-associated custom element."),!(e.disabled||e.hasAttribute("disabled")||e.hasAttribute("readonly"))}}let K=!1,G=!1;function Z(e){G||(G=!0,window.CustomStateSet=H,e&&(HTMLElement.prototype.attachInternals=function(...t){const i=e.call(this,t);return i.states=new H(this),i}))}function Y(e=!0){if(!K){if(K=!0,typeof window<"u"&&(window.ElementInternals=q),typeof CustomElementRegistry<"u"){const e=CustomElementRegistry.prototype.define;CustomElementRegistry.prototype.define=function(t,i,o){if(i.formAssociated){const e=i.prototype.connectedCallback;i.prototype.connectedCallback=function(){b.has(this)||(b.set(this,!0),this.hasAttribute("disabled")&&_(this,!0)),null!=e&&e.apply(this),N(this)}}e.call(this,t,i,o)}}if(typeof HTMLElement<"u"&&(HTMLElement.prototype.attachInternals=function(){if(!this.tagName)return{};if(-1===this.tagName.indexOf("-"))throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': Unable to attach ElementInternals to non-custom elements.");if(n.has(this))throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");return new q(this)}),typeof Element<"u"){let e=function(...e){const i=t.apply(this,e);if(h.set(this,i),j()){const e=new MutationObserver(w);window.ShadyDOM?e.observe(this,A):e.observe(i,A),s.set(this,e)}return i};const t=Element.prototype.attachShadow;Element.prototype.attachShadow=e}j()&&typeof document<"u"&&new MutationObserver(w).observe(document.documentElement,A),typeof HTMLFormElement<"u"&&function(){const e=HTMLFormElement.prototype.checkValidity;HTMLFormElement.prototype.checkValidity=function(...t){let i=e.apply(this,t);return P(this,i,"checkValidity")};const t=HTMLFormElement.prototype.reportValidity;HTMLFormElement.prototype.reportValidity=function(...e){let i=t.apply(this,e);return P(this,i,"reportValidity")};const{get:i}=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get(...e){const t=i.call(this,...e),o=Array.from(l.get(this)||[]);if(0===o.length)return t;const n=Array.from(t).concat(o).sort((e,t)=>e.compareDocumentPosition?2&e.compareDocumentPosition(t)?1:-1:0);return new U(n)}})}(),(e||typeof window<"u"&&!window.CustomStateSet)&&Z()}}!!customElements.polyfillWrapFlushCallback||(function(){if(typeof window>"u"||!window.ElementInternals||!HTMLElement.prototype.attachInternals)return!1;class e extends HTMLElement{constructor(){super(),this.internals=this.attachInternals()}}const t=`element-internals-feature-detection-${Math.random().toString(36).replace(/[^a-z]+/g,"")}`;customElements.define(t,e);const i=new e;return["shadowRoot","form","willValidate","validity","validationMessage","labels","setFormValue","setValidity","checkValidity","reportValidity"].every(e=>e in i.internals)}()?typeof window<"u"&&!window.CustomStateSet&&Z(HTMLElement.prototype.attachInternals):Y(!1)),e.forceCustomStateSetPolyfill=Z,e.forceElementInternalsPolyfill=Y,Object.defineProperty(e,"__esModule",{value:!0})}({});const Ke=class e extends le{willUpdate(){this.getAttribute("v")||this.setAttribute("v",e.v)}};Ke.v="1.11.1";let Ge=Ke;const Ze="button",Ye="medium",Xe="submit",Qe="primary",Je="leading",et=!1,tt=!1,it=!1,ot=!1;var nt=Object.defineProperty,rt=Object.getOwnPropertyDescriptor,at=(e,t,i,o)=>{for(var n,r=o>1?void 0:o?rt(t,i):t,a=e.length-1;a>=0;a--)(n=e[a])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&nt(t,i,r),r};const st="pie-button";let lt=class extends(je(Ne(Ge))){constructor(){super(...arguments),this.tag=Ze,this.size=Ye,this.type=Xe,this.variant=Qe,this.iconPlacement=Je,this.disabled=et,this.isLoading=tt,this.isFullWidth=it,this.isResponsive=ot,this._handleFormKeyDown=e=>{if("Enter"===e.key&&"submit"===this.type&&!this.disabled){if(e.target instanceof HTMLElement){const t=e.target.tagName.toLowerCase();if("button"===t||"pie-button"===t)return}e.preventDefault(),this._handleClick()}}}connectedCallback(){var e;super.connectedCallback(),"submit"===this.type&&(null==(e=this.form)||e.addEventListener("keydown",this._handleFormKeyDown))}disconnectedCallback(){var e;super.disconnectedCallback(),"submit"===this.type&&(null==(e=this.form)||e.removeEventListener("keydown",this._handleFormKeyDown))}updated(e){var t,i;e.has("type")&&("submit"===this.type?null==(t=this.form)||t.addEventListener("keydown",this._handleFormKeyDown):null==(i=this.form)||i.removeEventListener("keydown",this._handleFormKeyDown))}_simulateNativeButtonClick(e){if(!this.form)return;const t=document.createElement("button");t.type=e,t.style.position="absolute",t.style.width="1px",t.style.height="1px",t.style.padding="0",t.style.margin="-1px",t.style.overflow="hidden",t.style.border="0",t.style.whiteSpace="nowrap","submit"===e&&(this.name&&(t.name=this.name),this.value&&(t.value=this.value),this.formaction&&t.setAttribute("formaction",this.formaction),this.formenctype&&t.setAttribute("formenctype",this.formenctype),this.formmethod&&t.setAttribute("formmethod",this.formmethod),this.formnovalidate&&t.setAttribute("formnovalidate","formnovalidate"),this.formtarget&&t.setAttribute("formtarget",this.formtarget)),this.form.append(t),t.click(),t.remove()}_handleClick(){this.form&&(this.isLoading||"button"===this.tag&&("submit"===this.type?(this.formnovalidate||this.form.reportValidity())&&this._simulateNativeButtonClick("submit"):"reset"===this.type&&this._simulateNativeButtonClick("reset")))}renderSpinner(){const{size:e,variant:t,disabled:i}=this,o=e&&e.includes("small")?"small":"medium";let n;return n=i?"ghost-inverse"===t?"inverse":"secondary":["primary","destructive","outline-inverse","ghost-inverse"].includes(this.variant)?"inverse":"secondary",V`
|
|
79
79
|
<pie-spinner
|
|
80
80
|
size="${o}"
|
|
81
81
|
variant="${n}">
|
|
@@ -85,14 +85,14 @@ const ye=1,ke=2,we=e=>(...t)=>({_$litDirective$:e,values:t});let xe=class{constr
|
|
|
85
85
|
rel="${Oe(o)}"
|
|
86
86
|
target="${Oe(n)}"
|
|
87
87
|
download="${Oe(r)}"
|
|
88
|
-
class="${
|
|
88
|
+
class="${Me(e)}">
|
|
89
89
|
${"leading"===i?V`<slot name="icon"></slot>`:U}
|
|
90
90
|
<slot></slot>
|
|
91
91
|
${"trailing"===i?V`<slot name="icon"></slot>`:U}
|
|
92
92
|
</a>`}renderButton(e){const{disabled:t,iconPlacement:i,isLoading:o,type:n}=this,r={...e,"is-loading":o};return V`
|
|
93
93
|
<button
|
|
94
94
|
@click=${this._handleClick}
|
|
95
|
-
class=${
|
|
95
|
+
class=${Me(r)}
|
|
96
96
|
type=${n}
|
|
97
97
|
?disabled=${t}>
|
|
98
98
|
${o?this.renderSpinner():U}
|
|
@@ -104,7 +104,7 @@ const ye=1,ke=2,we=e=>(...t)=>({_$litDirective$:e,values:t});let xe=class{constr
|
|
|
104
104
|
<div
|
|
105
105
|
id="${gt}"
|
|
106
106
|
data-test-id="${gt}"
|
|
107
|
-
class="${
|
|
107
|
+
class="${Me(n)}"
|
|
108
108
|
aria-labelledby="${gt}-label">
|
|
109
109
|
<hr aria-hidden="true"/>
|
|
110
110
|
<span id="${gt}-label" class="c-divider-label">${i}</span>
|
|
@@ -112,15 +112,15 @@ const ye=1,ke=2,we=e=>(...t)=>({_$litDirective$:e,values:t});let xe=class{constr
|
|
|
112
112
|
</div>`:V`
|
|
113
113
|
<hr id="${gt}"
|
|
114
114
|
data-test-id="${gt}"
|
|
115
|
-
class="${
|
|
115
|
+
class="${Me(n)}"
|
|
116
116
|
aria-hidden="true"
|
|
117
|
-
/>`}`}};ft.styles=s("*,*:after,*:before{box-sizing:inherit}:host{display:block}:host([orientation=vertical]){height:100%}.c-divider{--divider-bg-color: var(--dt-color-divider-default);--divider-width: 100%;--divider-min-width: 16px;--divider-height: 1px;--divider-label-max-width: 90%;--divider-font-size: calc(var(--dt-font-body-l-size) * 1px);--divider-line-height: calc(var(--dt-font-body-l-line-height) * 1px);width:var(--divider-width)}.c-divider,.c-divider hr{margin:0;border:0;background-color:var(--divider-bg-color)}.c-divider:not(.c-divider--labelled){height:var(--divider-height)}.c-divider.c-divider--labelled{display:flex;align-items:center;text-align:center;gap:var(--dt-spacing-b);background-color:transparent;color:var(--dt-color-content-subdued-solid)}.c-divider.c-divider--labelled .c-divider-label{font-size:var(--divider-font-size);line-height:var(--divider-line-height);max-width:var(--divider-label-max-width);word-wrap:break-word}.c-divider.c-divider--labelled hr{flex-grow:1;height:var(--divider-height);min-width:var(--divider-min-width)}.c-divider.c-divider--labelled.c-divider--inverse{color:var(--dt-color-content-inverse-solid)}.c-divider.c-divider--inverse{--divider-bg-color: var(--dt-color-divider-inverse)}.c-divider.c-divider--vertical{--divider-width: 1px;--divider-height: 100%}"),ut([be({type:String}),Te(gt,["default","inverse"],ht)],ft.prototype,"variant",2),ut([be({type:String,reflect:!0}),Te(gt,["horizontal","vertical"],pt)],ft.prototype,"orientation",2),ut([be({type:String})],ft.prototype,"label",2),ft=ut([Le("pie-divider")],ft);const yt=class e extends le{willUpdate(){this.getAttribute("v")||this.setAttribute("v",e.v)}};yt.v="2.
|
|
117
|
+
/>`}`}};ft.styles=s("*,*:after,*:before{box-sizing:inherit}:host{display:block}:host([orientation=vertical]){height:100%}.c-divider{--divider-bg-color: var(--dt-color-divider-default);--divider-width: 100%;--divider-min-width: 16px;--divider-height: 1px;--divider-label-max-width: 90%;--divider-font-size: calc(var(--dt-font-body-l-size) * 1px);--divider-line-height: calc(var(--dt-font-body-l-line-height) * 1px);width:var(--divider-width)}.c-divider,.c-divider hr{margin:0;border:0;background-color:var(--divider-bg-color)}.c-divider:not(.c-divider--labelled){height:var(--divider-height)}.c-divider.c-divider--labelled{display:flex;align-items:center;text-align:center;gap:var(--dt-spacing-b);background-color:transparent;color:var(--dt-color-content-subdued-solid)}.c-divider.c-divider--labelled .c-divider-label{font-size:var(--divider-font-size);line-height:var(--divider-line-height);max-width:var(--divider-label-max-width);word-wrap:break-word}.c-divider.c-divider--labelled hr{flex-grow:1;height:var(--divider-height);min-width:var(--divider-min-width)}.c-divider.c-divider--labelled.c-divider--inverse{color:var(--dt-color-content-inverse-solid)}.c-divider.c-divider--inverse{--divider-bg-color: var(--dt-color-divider-inverse)}.c-divider.c-divider--vertical{--divider-width: 1px;--divider-height: 100%}"),ut([be({type:String}),Te(gt,["default","inverse"],ht)],ft.prototype,"variant",2),ut([be({type:String,reflect:!0}),Te(gt,["horizontal","vertical"],pt)],ft.prototype,"orientation",2),ut([be({type:String})],ft.prototype,"label",2),ft=ut([Le("pie-divider")],ft);const yt=class e extends le{willUpdate(){this.getAttribute("v")||this.setAttribute("v",e.v)}};yt.v="2.6.0";let kt=yt;const wt="medium",xt="primary",At=!1,_t=!1;var St=Object.defineProperty,$t=Object.getOwnPropertyDescriptor,Et=(e,t,i,o)=>{for(var n,r=o>1?void 0:o?$t(t,i):t,a=e.length-1;a>=0;a--)(n=e[a])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&St(t,i,r),r};const zt="pie-icon-button";let Ct=class extends(je(kt)){constructor(){super(...arguments),this.size=wt,this.variant=xt,this.disabled=At,this.isLoading=_t}renderSpinner(){const{variant:e,size:t,disabled:i}=this,o="xsmall"===t?"small":"medium";let n="brand";return/secondary|translucent/.test(e)&&(n="secondary"),"ghost-secondary-dark"===e&&(n="secondary-dark"),"ghost-inverse-light"===e&&(n="inverse-light"),"inverse-outline"===e&&(n="inverse"),(e.includes("primary")&&!i||"ghost-inverse"===e)&&(n="inverse"),V`
|
|
118
118
|
<pie-spinner
|
|
119
119
|
size="${o}"
|
|
120
120
|
variant="${n}">
|
|
121
121
|
</pie-spinner>`}render(){const{disabled:e,size:t,variant:i,isLoading:o,aria:n}=this;return V`
|
|
122
122
|
<button
|
|
123
|
-
class="${
|
|
123
|
+
class="${Me({"o-iconBtn":!0,[`o-iconBtn--${t}`]:!0,[`o-iconBtn--${i}`]:!0,"is-loading":o})}"
|
|
124
124
|
data-test-id="pie-icon-button"
|
|
125
125
|
?disabled="${e}"
|
|
126
126
|
aria-label="${Oe(null==n?void 0:n.label)}"
|
|
@@ -129,7 +129,7 @@ const ye=1,ke=2,we=e=>(...t)=>({_$litDirective$:e,values:t});let xe=class{constr
|
|
|
129
129
|
aria-expanded="${Oe(null==n?void 0:n.expanded)}"
|
|
130
130
|
aria-controls="${Oe(null==n?void 0:n.controls)}">
|
|
131
131
|
${o?this.renderSpinner():V`<slot></slot>`}
|
|
132
|
-
</button>`}};Ct.styles=s("*,*:after,*:before{box-sizing:inherit}:host{display:inline-block;--btn-dimension-default: 48px;--icon-size-override: 24px}.o-iconBtn{--btn-border-radius: var(--dt-radius-rounded-e);--int-states-mixin-bg-color: var(--dt-color-interactive-brand);--btn-icon-fill: var(--dt-color-content-interactive-light);block-size:var(--btn-dimension, var(--btn-dimension-default));inline-size:var(--btn-dimension, var(--btn-dimension-default));border-radius:var(--btn-border-radius);background-color:var(--int-states-mixin-bg-color);color:var(--btn-icon-fill);cursor:pointer;-webkit-user-select:none;user-select:none;outline:none;border:none;display:flex;align-items:center;justify-content:center}.o-iconBtn:focus-visible{box-shadow:0 0 0 2px var(--dt-color-focus-inner),0 0 0 4px var(--dt-color-focus-outer);outline:none}.o-iconBtn.o-iconBtn--primary:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: calc(-1 * var(--dt-color-hover-01));--int-states-mixin-bg-color: hsl(var(--dt-color-interactive-brand-h), var(--dt-color-interactive-brand-s), calc(var(--dt-color-interactive-brand-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--primary:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--primary.is-loading:not(:disabled,.is-disabled){--active-modifier: calc(-1 * var(--dt-color-active-01));--int-states-mixin-bg-color: hsl(var(--dt-color-interactive-brand-h), var(--dt-color-interactive-brand-s), calc(var(--dt-color-interactive-brand-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--primary:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-01-bg) var(--dt-color-hover-01), var(--dt-color-interactive-brand))}.o-iconBtn.o-iconBtn--primary:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--primary.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-01-bg) var(--dt-color-active-01), var(--dt-color-interactive-brand))}}.o-iconBtn.o-iconBtn--primary-alternative{--int-states-mixin-bg-color: var(--dt-color-interactive-primary);--btn-icon-fill: var(--dt-color-content-interactive-primary)}.o-iconBtn.o-iconBtn--primary-alternative:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: var(--dt-color-hover-02);--int-states-mixin-bg-color: hsl(var(--dt-color-interactive-primary-h), var(--dt-color-interactive-primary-s), calc(var(--dt-color-interactive-primary-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--primary-alternative:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--primary-alternative.is-loading:not(:disabled,.is-disabled){--active-modifier: var(--dt-color-active-02);--int-states-mixin-bg-color: hsl(var(--dt-color-interactive-primary-h), var(--dt-color-interactive-primary-s), calc(var(--dt-color-interactive-primary-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--primary-alternative:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-02-bg) var(--dt-color-hover-02), var(--dt-color-interactive-primary))}.o-iconBtn.o-iconBtn--primary-alternative:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--primary-alternative.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-02-bg) var(--dt-color-active-02), var(--dt-color-interactive-primary))}}.o-iconBtn.o-iconBtn--primary-alternative-dark{--int-states-mixin-bg-color: var(--dt-color-interactive-dark);--btn-icon-fill: var(--dt-color-content-interactive-light)}.o-iconBtn.o-iconBtn--primary-alternative-dark:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: var(--dt-color-hover-02);--int-states-mixin-bg-color: hsl(var(--dt-color-interactive-dark-h), var(--dt-color-interactive-dark-s), calc(var(--dt-color-interactive-dark-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--primary-alternative-dark:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--primary-alternative-dark.is-loading:not(:disabled,.is-disabled){--active-modifier: var(--dt-color-active-02);--int-states-mixin-bg-color: hsl(var(--dt-color-interactive-dark-h), var(--dt-color-interactive-dark-s), calc(var(--dt-color-interactive-dark-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--primary-alternative-dark:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-02-bg) var(--dt-color-hover-02), var(--dt-color-interactive-dark))}.o-iconBtn.o-iconBtn--primary-alternative-dark:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--primary-alternative-dark.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-02-bg) var(--dt-color-active-02), var(--dt-color-interactive-dark))}}.o-iconBtn.o-iconBtn--secondary{--int-states-mixin-bg-color: var(--dt-color-interactive-secondary);--btn-icon-fill: var(--dt-color-content-interactive-secondary-solid)}.o-iconBtn.o-iconBtn--secondary:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: calc(-1 * var(--dt-color-hover-01));--int-states-mixin-bg-color: hsl(var(--dt-color-interactive-secondary-h), var(--dt-color-interactive-secondary-s), calc(var(--dt-color-interactive-secondary-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--secondary:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--secondary.is-loading:not(:disabled,.is-disabled){--active-modifier: calc(-1 * var(--dt-color-active-01));--int-states-mixin-bg-color: hsl(var(--dt-color-interactive-secondary-h), var(--dt-color-interactive-secondary-s), calc(var(--dt-color-interactive-secondary-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--secondary:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-01-bg) var(--dt-color-hover-01), var(--dt-color-interactive-secondary))}.o-iconBtn.o-iconBtn--secondary:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--secondary.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-01-bg) var(--dt-color-active-01), var(--dt-color-interactive-secondary))}}.o-iconBtn.o-iconBtn--outline{--int-states-mixin-bg-color: transparent;--btn-icon-fill: var(--dt-color-content-interactive-brand-solid);border:1px solid var(--dt-color-border-strong)}.o-iconBtn.o-iconBtn--outline:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: calc(-1 * var(--dt-color-hover-01));--hover-modifier: var(--dt-color-hover-01);--int-states-mixin-bg-color: hsl(var(--dt-color-black-h), var(--dt-color-black-s), var(--dt-color-black-l), var(--hover-modifier));--int-states-mixin-bg-color: hsl(var(--dt-color-transparent-h), var(--dt-color-transparent-s), calc(var(--dt-color-transparent-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--outline:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--outline.is-loading:not(:disabled,.is-disabled){--active-modifier: calc(-1 * var(--dt-color-active-01));--active-modifier: var(--dt-color-active-01);--int-states-mixin-bg-color: hsl(var(--dt-color-black-h), var(--dt-color-black-s), var(--dt-color-black-l), var(--active-modifier));--int-states-mixin-bg-color: hsl(var(--dt-color-transparent-h), var(--dt-color-transparent-s), calc(var(--dt-color-transparent-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--outline:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-01-bg) var(--dt-color-hover-01), var(--dt-color-transparent))}.o-iconBtn.o-iconBtn--outline:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--outline.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-01-bg) var(--dt-color-active-01), var(--dt-color-transparent))}}.o-iconBtn.o-iconBtn--ghost{--int-states-mixin-bg-color: transparent;--btn-icon-fill: var(--dt-color-content-interactive-brand-solid)}.o-iconBtn.o-iconBtn--ghost:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: calc(-1 * var(--dt-color-hover-01));--hover-modifier: var(--dt-color-hover-01);--int-states-mixin-bg-color: hsl(var(--dt-color-black-h), var(--dt-color-black-s), var(--dt-color-black-l), var(--hover-modifier));--int-states-mixin-bg-color: hsl(var(--dt-color-transparent-h), var(--dt-color-transparent-s), calc(var(--dt-color-transparent-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--ghost:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--ghost.is-loading:not(:disabled,.is-disabled){--active-modifier: calc(-1 * var(--dt-color-active-01));--active-modifier: var(--dt-color-active-01);--int-states-mixin-bg-color: hsl(var(--dt-color-black-h), var(--dt-color-black-s), var(--dt-color-black-l), var(--active-modifier));--int-states-mixin-bg-color: hsl(var(--dt-color-transparent-h), var(--dt-color-transparent-s), calc(var(--dt-color-transparent-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--ghost:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-01-bg) var(--dt-color-hover-01), var(--dt-color-transparent))}.o-iconBtn.o-iconBtn--ghost:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--ghost.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-01-bg) var(--dt-color-active-01), var(--dt-color-transparent))}}.o-iconBtn.o-iconBtn--ghost-secondary{--int-states-mixin-bg-color: transparent;--btn-icon-fill: var(--dt-color-content-interactive-secondary)}.o-iconBtn.o-iconBtn--ghost-secondary:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: calc(-1 * var(--dt-color-hover-01));--hover-modifier: var(--dt-color-hover-01);--int-states-mixin-bg-color: hsl(var(--dt-color-black-h), var(--dt-color-black-s), var(--dt-color-black-l), var(--hover-modifier));--int-states-mixin-bg-color: hsl(var(--dt-color-transparent-h), var(--dt-color-transparent-s), calc(var(--dt-color-transparent-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--ghost-secondary:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--ghost-secondary.is-loading:not(:disabled,.is-disabled){--active-modifier: calc(-1 * var(--dt-color-active-01));--active-modifier: var(--dt-color-active-01);--int-states-mixin-bg-color: hsl(var(--dt-color-black-h), var(--dt-color-black-s), var(--dt-color-black-l), var(--active-modifier));--int-states-mixin-bg-color: hsl(var(--dt-color-transparent-h), var(--dt-color-transparent-s), calc(var(--dt-color-transparent-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--ghost-secondary:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-01-bg) var(--dt-color-hover-01), var(--dt-color-transparent))}.o-iconBtn.o-iconBtn--ghost-secondary:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--ghost-secondary.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-01-bg) var(--dt-color-active-01), var(--dt-color-transparent))}}.o-iconBtn.o-iconBtn--inverse{--int-states-mixin-bg-color: var(--dt-color-interactive-inverse);--btn-icon-fill: var(--dt-color-content-interactive-brand-solid)}.o-iconBtn.o-iconBtn--inverse:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: calc(-1 * var(--dt-color-hover-01));--int-states-mixin-bg-color: hsl(var(--dt-color-interactive-inverse-h), var(--dt-color-interactive-inverse-s), calc(var(--dt-color-interactive-inverse-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--inverse:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--inverse.is-loading:not(:disabled,.is-disabled){--active-modifier: calc(-1 * var(--dt-color-active-01));--int-states-mixin-bg-color: hsl(var(--dt-color-interactive-inverse-h), var(--dt-color-interactive-inverse-s), calc(var(--dt-color-interactive-inverse-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--inverse:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-01-bg) var(--dt-color-hover-01), var(--dt-color-interactive-inverse))}.o-iconBtn.o-iconBtn--inverse:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--inverse.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-01-bg) var(--dt-color-active-01), var(--dt-color-interactive-inverse))}}.o-iconBtn.o-iconBtn--ghost-inverse{--int-states-mixin-bg-color: transparent;--btn-icon-fill: var(--dt-color-content-interactive-primary-solid)}.o-iconBtn.o-iconBtn--ghost-inverse:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: calc(-1 * var(--dt-color-hover-01));--hover-modifier: var(--dt-color-hover-01);--int-states-mixin-bg-color: hsl(var(--dt-color-black-h), var(--dt-color-black-s), var(--dt-color-black-l), var(--hover-modifier));--int-states-mixin-bg-color: hsl(var(--dt-color-transparent-h), var(--dt-color-transparent-s), calc(var(--dt-color-transparent-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--ghost-inverse:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--ghost-inverse.is-loading:not(:disabled,.is-disabled){--active-modifier: calc(-1 * var(--dt-color-active-01));--active-modifier: var(--dt-color-active-01);--int-states-mixin-bg-color: hsl(var(--dt-color-black-h), var(--dt-color-black-s), var(--dt-color-black-l), var(--active-modifier));--int-states-mixin-bg-color: hsl(var(--dt-color-transparent-h), var(--dt-color-transparent-s), calc(var(--dt-color-transparent-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--ghost-inverse:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-02-bg) var(--dt-color-hover-02), var(--dt-color-transparent))}.o-iconBtn.o-iconBtn--ghost-inverse:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--ghost-inverse.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-02-bg) var(--dt-color-active-02), var(--dt-color-transparent))}}.o-iconBtn.o-iconBtn--translucent{--int-states-mixin-bg-color: var(--dt-color-container-neutral);--btn-icon-fill: var(--dt-color-content-interactive-secondary-solid);-webkit-backdrop-filter:blur(var(--dt-blur-neutral));backdrop-filter:blur(var(--dt-blur-neutral));border:1px solid var(--dt-color-border-neutral)}.o-iconBtn.o-iconBtn--translucent:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: calc(-1 * var(--dt-color-hover-01));--int-states-mixin-bg-color: hsl(var(--dt-color-container-neutral-h), var(--dt-color-container-neutral-s), calc(var(--dt-color-container-neutral-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--translucent:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--translucent.is-loading:not(:disabled,.is-disabled){--active-modifier: calc(-1 * var(--dt-color-active-01));--int-states-mixin-bg-color: hsl(var(--dt-color-container-neutral-h), var(--dt-color-container-neutral-s), calc(var(--dt-color-container-neutral-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--translucent:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-01-bg) var(--dt-color-hover-01), var(--dt-color-container-neutral))}.o-iconBtn.o-iconBtn--translucent:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--translucent.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-01-bg) var(--dt-color-active-01), var(--dt-color-container-neutral))}}.o-iconBtn[disabled]{--btn-icon-fill: var(--dt-color-content-disabled-solid);cursor:not-allowed}.o-iconBtn[disabled]:not(.o-iconBtn--ghost,.o-iconBtn--ghost-secondary,.o-iconBtn--ghost-inverse){--int-states-mixin-bg-color: var(--dt-color-disabled-01);--btn-icon-fill: var(--dt-color-content-disabled)}.o-iconBtn[disabled].o-iconBtn--outline,.o-iconBtn[disabled].o-iconBtn--translucent{border-color:var(--dt-color-disabled-01)}.o-iconBtn.o-iconBtn--xsmall{--btn-dimension: 32px;--icon-size-override: 20px}.o-iconBtn.o-iconBtn--small{--btn-dimension: 40px}.o-iconBtn.o-iconBtn--large{--btn-dimension: 56px;--icon-size-override: 28px}"),Et([be({type:Object})],Ct.prototype,"aria",2),Et([be({type:String}),Te(zt,["xsmall","small","medium","large"],wt)],Ct.prototype,"size",2),Et([be({type:String}),Te(zt,["primary","primary-alternative","primary-alternative-dark","secondary","outline","ghost","ghost-secondary","inverse","ghost-inverse","translucent"],xt)],Ct.prototype,"variant",2),Et([be({type:Boolean})],Ct.prototype,"disabled",2),Et([be({type:Boolean})],Ct.prototype,"isLoading",2),Ct=Et([Le("pie-icon-button")],Ct);const Mt=class e extends le{willUpdate(){this.getAttribute("v")||this.setAttribute("v",e.v)}};Mt.v="1.3.8";let Bt=Mt;const Ot="a",Tt="default",Lt="medium",Pt="default",Nt=!1,jt=!1,It=!1,Dt="leading",Ft="submit";var Rt=Object.defineProperty,Ht=Object.getOwnPropertyDescriptor,Vt=(e,t,i,o)=>{for(var n,r=o>1?void 0:o?Ht(t,i):t,a=e.length-1;a>=0;a--)(n=e[a])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Rt(t,i,r),r};const Wt="pie-link";let Ut=class extends Bt{constructor(){super(...arguments),this.tag=Ot,this.variant=Tt,this.size=Lt,this.underline=Pt,this.iconPlacement=Dt,this.isBold=Nt,this.isStandalone=jt,this.hasVisited=It,this.type=Ft}renderContent(){const{iconPlacement:e,isStandalone:t}=this;return V`
|
|
132
|
+
</button>`}};Ct.styles=s("*,*:after,*:before{box-sizing:inherit}:host{display:inline-block;--btn-dimension-default: 48px;--icon-size-override: 24px}.o-iconBtn{--btn-border-radius: var(--dt-radius-rounded-e);--int-states-mixin-bg-color: var(--dt-color-interactive-brand);--btn-icon-fill: var(--dt-color-content-interactive-light);block-size:var(--btn-dimension, var(--btn-dimension-default));inline-size:var(--btn-dimension, var(--btn-dimension-default));border-radius:var(--btn-border-radius);background-color:var(--int-states-mixin-bg-color);color:var(--btn-icon-fill);cursor:pointer;-webkit-user-select:none;user-select:none;outline:none;border:none;display:flex;align-items:center;justify-content:center}.o-iconBtn:focus-visible{box-shadow:0 0 0 2px var(--dt-color-focus-inner),0 0 0 4px var(--dt-color-focus-outer);outline:none}.o-iconBtn.o-iconBtn--primary:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: calc(-1 * var(--dt-color-hover-01));--int-states-mixin-bg-color: hsl(var(--dt-color-interactive-brand-h), var(--dt-color-interactive-brand-s), calc(var(--dt-color-interactive-brand-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--primary:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--primary.is-loading:not(:disabled,.is-disabled){--active-modifier: calc(-1 * var(--dt-color-active-01));--int-states-mixin-bg-color: hsl(var(--dt-color-interactive-brand-h), var(--dt-color-interactive-brand-s), calc(var(--dt-color-interactive-brand-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--primary:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-01-bg) var(--dt-color-hover-01), var(--dt-color-interactive-brand))}.o-iconBtn.o-iconBtn--primary:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--primary.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-01-bg) var(--dt-color-active-01), var(--dt-color-interactive-brand))}}.o-iconBtn.o-iconBtn--primary-alternative{--int-states-mixin-bg-color: var(--dt-color-interactive-primary);--btn-icon-fill: var(--dt-color-content-interactive-primary)}.o-iconBtn.o-iconBtn--primary-alternative:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: var(--dt-color-hover-02);--int-states-mixin-bg-color: hsl(var(--dt-color-interactive-primary-h), var(--dt-color-interactive-primary-s), calc(var(--dt-color-interactive-primary-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--primary-alternative:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--primary-alternative.is-loading:not(:disabled,.is-disabled){--active-modifier: var(--dt-color-active-02);--int-states-mixin-bg-color: hsl(var(--dt-color-interactive-primary-h), var(--dt-color-interactive-primary-s), calc(var(--dt-color-interactive-primary-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--primary-alternative:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-02-bg) var(--dt-color-hover-02), var(--dt-color-interactive-primary))}.o-iconBtn.o-iconBtn--primary-alternative:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--primary-alternative.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-02-bg) var(--dt-color-active-02), var(--dt-color-interactive-primary))}}.o-iconBtn.o-iconBtn--primary-alternative-dark{--int-states-mixin-bg-color: var(--dt-color-interactive-dark);--btn-icon-fill: var(--dt-color-content-interactive-light)}.o-iconBtn.o-iconBtn--primary-alternative-dark:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: var(--dt-color-hover-02);--int-states-mixin-bg-color: hsl(var(--dt-color-interactive-dark-h), var(--dt-color-interactive-dark-s), calc(var(--dt-color-interactive-dark-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--primary-alternative-dark:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--primary-alternative-dark.is-loading:not(:disabled,.is-disabled){--active-modifier: var(--dt-color-active-02);--int-states-mixin-bg-color: hsl(var(--dt-color-interactive-dark-h), var(--dt-color-interactive-dark-s), calc(var(--dt-color-interactive-dark-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--primary-alternative-dark:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-02-bg) var(--dt-color-hover-02), var(--dt-color-interactive-dark))}.o-iconBtn.o-iconBtn--primary-alternative-dark:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--primary-alternative-dark.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-02-bg) var(--dt-color-active-02), var(--dt-color-interactive-dark))}}.o-iconBtn.o-iconBtn--secondary{--int-states-mixin-bg-color: var(--dt-color-interactive-secondary);--btn-icon-fill: var(--dt-color-content-interactive-secondary-solid)}.o-iconBtn.o-iconBtn--secondary:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: calc(-1 * var(--dt-color-hover-01));--int-states-mixin-bg-color: hsl(var(--dt-color-interactive-secondary-h), var(--dt-color-interactive-secondary-s), calc(var(--dt-color-interactive-secondary-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--secondary:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--secondary.is-loading:not(:disabled,.is-disabled){--active-modifier: calc(-1 * var(--dt-color-active-01));--int-states-mixin-bg-color: hsl(var(--dt-color-interactive-secondary-h), var(--dt-color-interactive-secondary-s), calc(var(--dt-color-interactive-secondary-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--secondary:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-01-bg) var(--dt-color-hover-01), var(--dt-color-interactive-secondary))}.o-iconBtn.o-iconBtn--secondary:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--secondary.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-01-bg) var(--dt-color-active-01), var(--dt-color-interactive-secondary))}}.o-iconBtn.o-iconBtn--outline{--int-states-mixin-bg-color: transparent;--btn-icon-fill: var(--dt-color-content-interactive-brand-solid);border:1px solid var(--dt-color-border-strong)}.o-iconBtn.o-iconBtn--outline:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: calc(-1 * var(--dt-color-hover-01));--hover-modifier: var(--dt-color-hover-01);--int-states-mixin-bg-color: hsl(var(--dt-color-black-h), var(--dt-color-black-s), var(--dt-color-black-l), var(--hover-modifier));--int-states-mixin-bg-color: hsl(var(--dt-color-transparent-h), var(--dt-color-transparent-s), calc(var(--dt-color-transparent-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--outline:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--outline.is-loading:not(:disabled,.is-disabled){--active-modifier: calc(-1 * var(--dt-color-active-01));--active-modifier: var(--dt-color-active-01);--int-states-mixin-bg-color: hsl(var(--dt-color-black-h), var(--dt-color-black-s), var(--dt-color-black-l), var(--active-modifier));--int-states-mixin-bg-color: hsl(var(--dt-color-transparent-h), var(--dt-color-transparent-s), calc(var(--dt-color-transparent-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--outline:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-01-bg) var(--dt-color-hover-01), var(--dt-color-transparent))}.o-iconBtn.o-iconBtn--outline:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--outline.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-01-bg) var(--dt-color-active-01), var(--dt-color-transparent))}}.o-iconBtn.o-iconBtn--ghost{--int-states-mixin-bg-color: transparent;--btn-icon-fill: var(--dt-color-content-interactive-brand-solid)}.o-iconBtn.o-iconBtn--ghost:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: calc(-1 * var(--dt-color-hover-01));--hover-modifier: var(--dt-color-hover-01);--int-states-mixin-bg-color: hsl(var(--dt-color-black-h), var(--dt-color-black-s), var(--dt-color-black-l), var(--hover-modifier));--int-states-mixin-bg-color: hsl(var(--dt-color-transparent-h), var(--dt-color-transparent-s), calc(var(--dt-color-transparent-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--ghost:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--ghost.is-loading:not(:disabled,.is-disabled){--active-modifier: calc(-1 * var(--dt-color-active-01));--active-modifier: var(--dt-color-active-01);--int-states-mixin-bg-color: hsl(var(--dt-color-black-h), var(--dt-color-black-s), var(--dt-color-black-l), var(--active-modifier));--int-states-mixin-bg-color: hsl(var(--dt-color-transparent-h), var(--dt-color-transparent-s), calc(var(--dt-color-transparent-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--ghost:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-01-bg) var(--dt-color-hover-01), var(--dt-color-transparent))}.o-iconBtn.o-iconBtn--ghost:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--ghost.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-01-bg) var(--dt-color-active-01), var(--dt-color-transparent))}}.o-iconBtn.o-iconBtn--ghost-secondary{--int-states-mixin-bg-color: transparent;--btn-icon-fill: var(--dt-color-content-interactive-secondary)}.o-iconBtn.o-iconBtn--ghost-secondary:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: calc(-1 * var(--dt-color-hover-01));--hover-modifier: var(--dt-color-hover-01);--int-states-mixin-bg-color: hsl(var(--dt-color-black-h), var(--dt-color-black-s), var(--dt-color-black-l), var(--hover-modifier));--int-states-mixin-bg-color: hsl(var(--dt-color-transparent-h), var(--dt-color-transparent-s), calc(var(--dt-color-transparent-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--ghost-secondary:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--ghost-secondary.is-loading:not(:disabled,.is-disabled){--active-modifier: calc(-1 * var(--dt-color-active-01));--active-modifier: var(--dt-color-active-01);--int-states-mixin-bg-color: hsl(var(--dt-color-black-h), var(--dt-color-black-s), var(--dt-color-black-l), var(--active-modifier));--int-states-mixin-bg-color: hsl(var(--dt-color-transparent-h), var(--dt-color-transparent-s), calc(var(--dt-color-transparent-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--ghost-secondary:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-01-bg) var(--dt-color-hover-01), var(--dt-color-transparent))}.o-iconBtn.o-iconBtn--ghost-secondary:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--ghost-secondary.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-01-bg) var(--dt-color-active-01), var(--dt-color-transparent))}}.o-iconBtn.o-iconBtn--ghost-secondary-dark{--int-states-mixin-bg-color: transparent;--btn-icon-fill: var(--dt-color-content-interactive-dark-solid)}.o-iconBtn.o-iconBtn--ghost-secondary-dark:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: calc(-1 * var(--dt-color-hover-01));--hover-modifier: var(--dt-color-hover-01);--int-states-mixin-bg-color: hsl(var(--dt-color-black-h), var(--dt-color-black-s), var(--dt-color-black-l), var(--hover-modifier));--int-states-mixin-bg-color: hsl(var(--dt-color-transparent-h), var(--dt-color-transparent-s), calc(var(--dt-color-transparent-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--ghost-secondary-dark:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--ghost-secondary-dark.is-loading:not(:disabled,.is-disabled){--active-modifier: calc(-1 * var(--dt-color-active-01));--active-modifier: var(--dt-color-active-01);--int-states-mixin-bg-color: hsl(var(--dt-color-black-h), var(--dt-color-black-s), var(--dt-color-black-l), var(--active-modifier));--int-states-mixin-bg-color: hsl(var(--dt-color-transparent-h), var(--dt-color-transparent-s), calc(var(--dt-color-transparent-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--ghost-secondary-dark:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-01-dark-bg) var(--dt-color-hover-01-dark), var(--dt-color-transparent))}.o-iconBtn.o-iconBtn--ghost-secondary-dark:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--ghost-secondary-dark.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-01-dark-bg) var(--dt-color-active-01-dark), var(--dt-color-transparent))}}.o-iconBtn.o-iconBtn--inverse{--int-states-mixin-bg-color: var(--dt-color-interactive-inverse);--btn-icon-fill: var(--dt-color-content-interactive-brand-solid)}.o-iconBtn.o-iconBtn--inverse:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: calc(-1 * var(--dt-color-hover-01));--int-states-mixin-bg-color: hsl(var(--dt-color-interactive-inverse-h), var(--dt-color-interactive-inverse-s), calc(var(--dt-color-interactive-inverse-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--inverse:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--inverse.is-loading:not(:disabled,.is-disabled){--active-modifier: calc(-1 * var(--dt-color-active-01));--int-states-mixin-bg-color: hsl(var(--dt-color-interactive-inverse-h), var(--dt-color-interactive-inverse-s), calc(var(--dt-color-interactive-inverse-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--inverse:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-01-bg) var(--dt-color-hover-01), var(--dt-color-interactive-inverse))}.o-iconBtn.o-iconBtn--inverse:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--inverse.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-01-bg) var(--dt-color-active-01), var(--dt-color-interactive-inverse))}}.o-iconBtn.o-iconBtn--inverse-outline{--int-states-mixin-bg-color: transparent;--btn-icon-fill: var(--dt-color-content-interactive-primary-solid);border:1px solid var(--dt-color-border-strong)}.o-iconBtn.o-iconBtn--inverse-outline:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: calc(-1 * var(--dt-color-hover-01));--hover-modifier: var(--dt-color-hover-01);--int-states-mixin-bg-color: hsl(var(--dt-color-black-h), var(--dt-color-black-s), var(--dt-color-black-l), var(--hover-modifier));--int-states-mixin-bg-color: hsl(var(--dt-color-transparent-h), var(--dt-color-transparent-s), calc(var(--dt-color-transparent-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--inverse-outline:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--inverse-outline.is-loading:not(:disabled,.is-disabled){--active-modifier: calc(-1 * var(--dt-color-active-01));--active-modifier: var(--dt-color-active-01);--int-states-mixin-bg-color: hsl(var(--dt-color-black-h), var(--dt-color-black-s), var(--dt-color-black-l), var(--active-modifier));--int-states-mixin-bg-color: hsl(var(--dt-color-transparent-h), var(--dt-color-transparent-s), calc(var(--dt-color-transparent-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--inverse-outline:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-02-bg) var(--dt-color-hover-02), var(--dt-color-transparent))}.o-iconBtn.o-iconBtn--inverse-outline:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--inverse-outline.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-02-bg) var(--dt-color-active-02), var(--dt-color-transparent))}}.o-iconBtn.o-iconBtn--ghost-inverse{--int-states-mixin-bg-color: transparent;--btn-icon-fill: var(--dt-color-content-interactive-primary-solid)}.o-iconBtn.o-iconBtn--ghost-inverse:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: calc(-1 * var(--dt-color-hover-01));--hover-modifier: var(--dt-color-hover-01);--int-states-mixin-bg-color: hsl(var(--dt-color-black-h), var(--dt-color-black-s), var(--dt-color-black-l), var(--hover-modifier));--int-states-mixin-bg-color: hsl(var(--dt-color-transparent-h), var(--dt-color-transparent-s), calc(var(--dt-color-transparent-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--ghost-inverse:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--ghost-inverse.is-loading:not(:disabled,.is-disabled){--active-modifier: calc(-1 * var(--dt-color-active-01));--active-modifier: var(--dt-color-active-01);--int-states-mixin-bg-color: hsl(var(--dt-color-black-h), var(--dt-color-black-s), var(--dt-color-black-l), var(--active-modifier));--int-states-mixin-bg-color: hsl(var(--dt-color-transparent-h), var(--dt-color-transparent-s), calc(var(--dt-color-transparent-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--ghost-inverse:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-02-bg) var(--dt-color-hover-02), var(--dt-color-transparent))}.o-iconBtn.o-iconBtn--ghost-inverse:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--ghost-inverse.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-02-bg) var(--dt-color-active-02), var(--dt-color-transparent))}}.o-iconBtn.o-iconBtn--ghost-inverse-light{--int-states-mixin-bg-color: transparent;--btn-icon-fill: var(--dt-color-content-interactive-light-solid)}.o-iconBtn.o-iconBtn--ghost-inverse-light:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: calc(-1 * var(--dt-color-hover-01));--hover-modifier: var(--dt-color-hover-01);--int-states-mixin-bg-color: hsl(var(--dt-color-black-h), var(--dt-color-black-s), var(--dt-color-black-l), var(--hover-modifier));--int-states-mixin-bg-color: hsl(var(--dt-color-transparent-h), var(--dt-color-transparent-s), calc(var(--dt-color-transparent-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--ghost-inverse-light:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--ghost-inverse-light.is-loading:not(:disabled,.is-disabled){--active-modifier: calc(-1 * var(--dt-color-active-01));--active-modifier: var(--dt-color-active-01);--int-states-mixin-bg-color: hsl(var(--dt-color-black-h), var(--dt-color-black-s), var(--dt-color-black-l), var(--active-modifier));--int-states-mixin-bg-color: hsl(var(--dt-color-transparent-h), var(--dt-color-transparent-s), calc(var(--dt-color-transparent-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--ghost-inverse-light:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-02-bg) var(--dt-color-hover-02), var(--dt-color-transparent))}.o-iconBtn.o-iconBtn--ghost-inverse-light:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--ghost-inverse-light.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-02-bg) var(--dt-color-active-02), var(--dt-color-transparent))}}.o-iconBtn.o-iconBtn--translucent{--int-states-mixin-bg-color: var(--dt-color-container-neutral);--btn-icon-fill: var(--dt-color-content-interactive-secondary-solid);-webkit-backdrop-filter:blur(var(--dt-blur-neutral));backdrop-filter:blur(var(--dt-blur-neutral));border:1px solid var(--dt-color-border-neutral)}.o-iconBtn.o-iconBtn--translucent:hover:not(:disabled,.is-disabled,.is-dismissible){--hover-modifier: calc(-1 * var(--dt-color-hover-01));--int-states-mixin-bg-color: hsl(var(--dt-color-container-neutral-h), var(--dt-color-container-neutral-s), calc(var(--dt-color-container-neutral-l) + var(--hover-modifier)))}.o-iconBtn.o-iconBtn--translucent:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--translucent.is-loading:not(:disabled,.is-disabled){--active-modifier: calc(-1 * var(--dt-color-active-01));--int-states-mixin-bg-color: hsl(var(--dt-color-container-neutral-h), var(--dt-color-container-neutral-s), calc(var(--dt-color-container-neutral-l) + var(--active-modifier)))}@supports (background-color: color-mix(in srgb,black,white)){.o-iconBtn.o-iconBtn--translucent:hover:not(:disabled,.is-disabled,.is-dismissible){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-hover-01-bg) var(--dt-color-hover-01), var(--dt-color-container-neutral))}.o-iconBtn.o-iconBtn--translucent:active:not(:disabled,.is-disabled,.is-dismissible),.o-iconBtn.o-iconBtn--translucent.is-loading:not(:disabled,.is-disabled){--int-states-mixin-bg-color: color-mix(in srgb, var(--dt-color-active-01-bg) var(--dt-color-active-01), var(--dt-color-container-neutral))}}.o-iconBtn[disabled]{--btn-icon-fill: var(--dt-color-content-disabled-solid);cursor:not-allowed}.o-iconBtn[disabled]:not(.o-iconBtn--ghost,.o-iconBtn--ghost-secondary,.o-iconBtn--ghost-secondary-dark,.o-iconBtn--ghost-inverse,.o-iconBtn--ghost-inverse-light){--int-states-mixin-bg-color: var(--dt-color-disabled-01);--btn-icon-fill: var(--dt-color-content-disabled)}.o-iconBtn[disabled].o-iconBtn--outline,.o-iconBtn[disabled].o-iconBtn--translucent,.o-iconBtn[disabled].o-iconBtn--inverse-outline{border-color:var(--dt-color-disabled-01)}.o-iconBtn.o-iconBtn--xsmall{--btn-dimension: 32px;--icon-size-override: 20px}.o-iconBtn.o-iconBtn--small{--btn-dimension: 40px}.o-iconBtn.o-iconBtn--large{--btn-dimension: 56px;--icon-size-override: 28px}"),Et([be({type:Object})],Ct.prototype,"aria",2),Et([be({type:String}),Te(zt,["xsmall","small","medium","large"],wt)],Ct.prototype,"size",2),Et([be({type:String}),Te(zt,["primary","primary-alternative","primary-alternative-dark","secondary","outline","ghost","ghost-secondary","ghost-secondary-dark","inverse","inverse-outline","ghost-inverse","ghost-inverse-light","translucent"],xt)],Ct.prototype,"variant",2),Et([be({type:Boolean})],Ct.prototype,"disabled",2),Et([be({type:Boolean})],Ct.prototype,"isLoading",2),Ct=Et([Le("pie-icon-button")],Ct);const Bt=class e extends le{willUpdate(){this.getAttribute("v")||this.setAttribute("v",e.v)}};Bt.v="1.3.9";let Mt=Bt;const Ot="a",Tt="default",Lt="medium",Pt="default",Nt=!1,jt=!1,It=!1,Dt="leading",Ft="submit";var Rt=Object.defineProperty,Ht=Object.getOwnPropertyDescriptor,Vt=(e,t,i,o)=>{for(var n,r=o>1?void 0:o?Ht(t,i):t,a=e.length-1;a>=0;a--)(n=e[a])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Rt(t,i,r),r};const Wt="pie-link";let Ut=class extends Mt{constructor(){super(...arguments),this.tag=Ot,this.variant=Tt,this.size=Lt,this.underline=Pt,this.iconPlacement=Dt,this.isBold=Nt,this.isStandalone=jt,this.hasVisited=It,this.type=Ft}renderContent(){const{iconPlacement:e,isStandalone:t}=this;return V`
|
|
133
133
|
<span class="c-link-content">
|
|
134
134
|
${t&&"leading"===e?V`<slot name="icon"></slot>`:U}
|
|
135
135
|
<slot></slot>
|
|
@@ -137,7 +137,7 @@ const ye=1,ke=2,we=e=>(...t)=>({_$litDirective$:e,values:t});let xe=class{constr
|
|
|
137
137
|
</span>`}renderButton(e){var t;return V`
|
|
138
138
|
<button
|
|
139
139
|
data-test-id="pie-link-button"
|
|
140
|
-
class="${
|
|
140
|
+
class="${Me(e)}"
|
|
141
141
|
type=${this.type}
|
|
142
142
|
aria-label=${Oe(null==(t=this.aria)?void 0:t.label)}
|
|
143
143
|
part="base">
|
|
@@ -145,7 +145,7 @@ const ye=1,ke=2,we=e=>(...t)=>({_$litDirective$:e,values:t});let xe=class{constr
|
|
|
145
145
|
</button>`}renderAnchor(e){var t;return V`
|
|
146
146
|
<a
|
|
147
147
|
data-test-id="pie-link-anchor"
|
|
148
|
-
class="${
|
|
148
|
+
class="${Me(e)}"
|
|
149
149
|
href=${Oe(this.href)}
|
|
150
150
|
target=${Oe(this.target)}
|
|
151
151
|
rel=${Oe(this.rel)}
|
|
@@ -171,7 +171,7 @@ const qt=Symbol.for(""),Kt=e=>{if((null==e?void 0:e.r)===qt)return null==e?void
|
|
|
171
171
|
width: var(--icon-size-override);
|
|
172
172
|
height: var(--icon-size-override);
|
|
173
173
|
}
|
|
174
|
-
`;let ni=oi;ii([be({type:String,reflect:!0})],ni.prototype,"size"),ii([me()],ni.prototype,"_svgWidth"),ii([me()],ni.prototype,"_svgHeight");var ri=Object.defineProperty,ai=Object.getOwnPropertyDescriptor,si=(e,t,i,o)=>{for(var n,r=o>1?void 0:o?ai(t,i):t,a=e.length-1;a>=0;a--)(n=e[a])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&ri(t,i,r),r};let li=class extends ni{constructor(){super(...arguments),this.size="xs",this.defaultClasses="c-pieIcon c-pieIcon--close",this.class="c-pieIcon c-pieIcon--close",this.name="IconClose"}render(){return V`<svg width="${this._svgWidth}" height="${this._svgHeight}" xmlns="http://www.w3.org/2000/svg" role="presentation" focusable="false" fill="currentColor" viewBox="0 0 16 16" class="c-pieIcon c-pieIcon--close"><path d="M11.868 3.205 8 7.073 4.133 3.205l-.928.928L7.073 8l-3.868 3.868.928.927L8 8.928l3.868 3.867.927-.927L8.928 8l3.867-3.867-.927-.928Z"></path></svg>`}};si([be({type:String,reflect:!0})],li.prototype,"size",2),si([be({type:String,reflect:!0})],li.prototype,"class",2),li=si([Le("icon-close")],li);var ci=Object.defineProperty,di=Object.getOwnPropertyDescriptor,hi=(e,t,i,o)=>{for(var n,r=o>1?void 0:o?di(t,i):t,a=e.length-1;a>=0;a--)(n=e[a])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&ci(t,i,r),r};let pi=class extends ni{constructor(){super(...arguments),this.size="xs",this.defaultClasses="c-pieIcon c-pieIcon--chevronLeft",this.class="c-pieIcon c-pieIcon--chevronLeft",this.name="IconChevronLeft"}render(){return V`<svg width="${this._svgWidth}" height="${this._svgHeight}" xmlns="http://www.w3.org/2000/svg" role="presentation" focusable="false" fill="currentColor" viewBox="0 0 16 16" class="c-pieIcon c-pieIcon--chevronLeft"><path d="M10.96 2.82 5.605 8l5.399 5.197-.875.963-5.565-5.364a1.164 1.164 0 0 1 0-1.671l5.495-5.25.901.945Z"></path></svg>`}};hi([be({type:String,reflect:!0})],pi.prototype,"size",2),hi([be({type:String,reflect:!0})],pi.prototype,"class",2),pi=hi([Le("icon-chevron-left")],pi);const vi=class e extends le{willUpdate(){this.getAttribute("v")||this.setAttribute("v",e.v)}};vi.v="1.
|
|
174
|
+
`;let ni=oi;ii([be({type:String,reflect:!0})],ni.prototype,"size"),ii([me()],ni.prototype,"_svgWidth"),ii([me()],ni.prototype,"_svgHeight");var ri=Object.defineProperty,ai=Object.getOwnPropertyDescriptor,si=(e,t,i,o)=>{for(var n,r=o>1?void 0:o?ai(t,i):t,a=e.length-1;a>=0;a--)(n=e[a])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&ri(t,i,r),r};let li=class extends ni{constructor(){super(...arguments),this.size="xs",this.defaultClasses="c-pieIcon c-pieIcon--close",this.class="c-pieIcon c-pieIcon--close",this.name="IconClose"}render(){return V`<svg width="${this._svgWidth}" height="${this._svgHeight}" xmlns="http://www.w3.org/2000/svg" role="presentation" focusable="false" fill="currentColor" viewBox="0 0 16 16" class="c-pieIcon c-pieIcon--close"><path d="M11.868 3.205 8 7.073 4.133 3.205l-.928.928L7.073 8l-3.868 3.868.928.927L8 8.928l3.868 3.867.927-.927L8.928 8l3.867-3.867-.927-.928Z"></path></svg>`}};si([be({type:String,reflect:!0})],li.prototype,"size",2),si([be({type:String,reflect:!0})],li.prototype,"class",2),li=si([Le("icon-close")],li);var ci=Object.defineProperty,di=Object.getOwnPropertyDescriptor,hi=(e,t,i,o)=>{for(var n,r=o>1?void 0:o?di(t,i):t,a=e.length-1;a>=0;a--)(n=e[a])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&ci(t,i,r),r};let pi=class extends ni{constructor(){super(...arguments),this.size="xs",this.defaultClasses="c-pieIcon c-pieIcon--chevronLeft",this.class="c-pieIcon c-pieIcon--chevronLeft",this.name="IconChevronLeft"}render(){return V`<svg width="${this._svgWidth}" height="${this._svgHeight}" xmlns="http://www.w3.org/2000/svg" role="presentation" focusable="false" fill="currentColor" viewBox="0 0 16 16" class="c-pieIcon c-pieIcon--chevronLeft"><path d="M10.96 2.82 5.605 8l5.399 5.197-.875.963-5.565-5.364a1.164 1.164 0 0 1 0-1.671l5.495-5.25.901.945Z"></path></svg>`}};hi([be({type:String,reflect:!0})],pi.prototype,"size",2),hi([be({type:String,reflect:!0})],pi.prototype,"class",2),pi=hi([Le("icon-chevron-left")],pi);const vi=class e extends le{willUpdate(){this.getAttribute("v")||this.setAttribute("v",e.v)}};vi.v="1.24.1";let bi=vi;var mi=!1;if(typeof window<"u"){var ui={get passive(){mi=!0}};window.addEventListener("testPassive",null,ui),window.removeEventListener("testPassive",null,ui)}var gi=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),fi=[],yi=!1,ki=-1,wi=void 0,xi=void 0,Ai=function(e){return fi.some(function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))})},_i=function(e){var t=e||window.event;return!!(Ai(t.target)||t.touches.length>1)||(t.preventDefault&&t.preventDefault(),!1)},Si=function(e,t){if(e){if(!fi.some(function(t){return t.targetElement===e})){var i={targetElement:e,options:{}};fi=[].concat(function(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);t<e.length;t++)i[t]=e[t];return i}return Array.from(e)}(fi),[i]),gi?(e.ontouchstart=function(e){1===e.targetTouches.length&&(ki=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var i=e.targetTouches[0].clientY-ki;!Ai(e.target)&&(t&&0===t.scrollTop&&i>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&i<0?_i(e):e.stopPropagation())}(t,e)},yi||(document.addEventListener("touchmove",_i,mi?{passive:!1}:void 0),yi=!0)):function(){void 0===xi&&(window.innerWidth,document.documentElement.clientWidth);void 0===wi&&(wi=document.body.style.overflow,document.body.style.overflow="hidden")}()}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")},$i=function(e){e?(fi=fi.filter(function(t){return t.targetElement!==e}),gi?(e.ontouchstart=null,e.ontouchmove=null,yi&&0===fi.length&&(document.removeEventListener("touchmove",_i,mi?{passive:!1}:void 0),yi=!1)):fi.length||(void 0!==xi&&(document.body.style.paddingRight=xi,xi=void 0),void 0!==wi&&(document.body.style.overflow=wi,wi=void 0))):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")};const Ei="pie-modal-close",zi="pie-modal-open",Ci="pie-modal-back",Bi=!1,Mi=!1,Oi="h2",Ti=!1,Li=!1,Pi=!1,Ni=!0,ji=!1,Ii=!1,Di="center",Fi="medium",Ri="default",Hi="medium";var Vi=Object.defineProperty,Wi=Object.getOwnPropertyDescriptor,Ui=(e,t,i,o)=>{for(var n,r=o>1?void 0:o?Wi(t,i):t,a=e.length-1;a>=0;a--)(n=e[a])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Vi(t,i,r),r};const qi="pie-modal";let Ki=class extends bi{constructor(){super(...arguments),this.headingLevel=Oi,this.hasBackButton=Bi,this.hasStackedActions=Mi,this.isDismissible=Li,this.isHeadingEmphasised=Pi,this.isFooterPinned=Ni,this.isFullWidthBelowMid=ji,this.isLoading=Ii,this.isOpen=Ti,this.position=Di,this.size=Fi,this.backgroundColor=Ri,this.imageSlotAspectRatio=Hi,this._scrollableContainer=null,this._backButtonClicked=!1,this._escKeyAbortController=null,this._preventModalKeyboardDismissal=e=>{"Escape"===e.key&&e.preventDefault()},this._handleDialogLightDismiss=e=>{if(!this.isDismissible||e.target!==e.currentTarget)return;const t=this._dialog.getBoundingClientRect(),{top:i=0,bottom:o=0,left:n=0,right:r=0}=t||{};0===i&&0===o&&0===n&&0===r||(e.clientY<i||e.clientY>o||e.clientX<n||e.clientX>r)&&(this.isOpen=!1)}}get _modalScrollContainer(){var e;return this._scrollableContainer||(this._scrollableContainer=null==(e=this._dialog)?void 0:e.querySelector(".c-modal-scrollContainer")),this._scrollableContainer}connectedCallback(){super.connectedCallback(),this._abortController=new AbortController;const{signal:e}=this._abortController;this.addEventListener("click",e=>this._handleDialogLightDismiss(e)),this._setupEscKeyListener(),document.addEventListener(zi,e=>this._handleModalOpened(e),{signal:e}),document.addEventListener(Ei,e=>this._handleModalClosed(e),{signal:e}),document.addEventListener(Ci,e=>this._handleModalClosed(e),{signal:e})}disconnectedCallback(){super.disconnectedCallback(),this._abortController.abort(),this._enableBodyScroll(),this._removeEscKeyEventListener()}async firstUpdated(e){(await Promise.resolve().then(()=>qo).then(e=>e.default)).registerDialog(this._dialog);const{signal:t}=this._abortController;this._dialog.addEventListener("close",()=>{this.isOpen=!1},{signal:t}),this._handleModalOpenStateOnFirstRender(e)}updated(e){this._handleModalOpenStateChanged(e),this._handleIsDismissibleChanged(e)}_handleIsDismissibleChanged(e){const t=e.get("isDismissible"),i=this.isDismissible;!t&&i&&this._removeEscKeyEventListener(),t&&!i&&this._setupEscKeyListener()}_handleModalOpened(e){const{targetModal:t}=e.detail;if(t===this){if(this._dialog.hasAttribute("open")||!this._dialog.isConnected)return;this._dialog.showModal(),requestAnimationFrame(()=>{this._dialog.hasAttribute("open")&&(this._disableBodyScroll(),this._setupEscKeyListener())})}}_handleModalClosed(e){const{targetModal:t}=e.detail;t===this&&(this._enableBodyScroll(),this._dialog.close(),this._returnFocus(),this._removeEscKeyEventListener())}_setupEscKeyListener(){if(!this._escKeyAbortController&&!this.isDismissible){this._escKeyAbortController=new AbortController;const{signal:e}=this._escKeyAbortController;document.addEventListener("keydown",e=>this._preventModalKeyboardDismissal(e),{signal:e})}}_removeEscKeyEventListener(){var e;null==(e=this._escKeyAbortController)||e.abort(),this._escKeyAbortController=null}_handleModalOpenStateOnFirstRender(e){void 0===e.get("isOpen")&&this.isOpen&&Pe(this,zi,{targetModal:this})}_handleModalOpenStateChanged(e){const t=e.get("isOpen");void 0!==t&&(t?this._backButtonClicked?(this._backButtonClicked=!1,Pe(this,Ci,{targetModal:this})):Pe(this,Ei,{targetModal:this}):Pe(this,zi,{targetModal:this}))}_handleActionClick(e){"leading"===e?(this._dialog.close("leading"),Pe(this,"pie-modal-leading-action-click",{targetModal:this})):"supporting"===e&&(this._dialog.close("supporting"),Pe(this,"pie-modal-supporting-action-click",{targetModal:this}))}_returnFocus(){var e,t;const i=null==(e=this.returnFocusAfterCloseSelector)?void 0:e.trim();i&&(null==(t=document.querySelector(i))||t.focus())}_enableBodyScroll(){this._scrollableContainer&&$i(this._scrollableContainer)}_disableBodyScroll(){this._modalScrollContainer&&Si(this._modalScrollContainer)}_getHeaderButtonVariant(){const{imageSlotMode:e,backgroundColor:t}=this,i="brand-06"===t;return!!e?"illustration"!==e||!!t&&"default"!==t?i?"ghost-inverse":"secondary":"ghost-secondary":i?"ghost-inverse":"ghost-secondary"}renderCloseButton(){var e,t;if(!this.isDismissible)return U;const i=this._getHeaderButtonVariant();return Zt`
|
|
175
175
|
<pie-icon-button
|
|
176
176
|
@click="${()=>{this.isOpen=!1}}"
|
|
177
177
|
variant="${i}"
|
|
@@ -214,7 +214,7 @@ const qt=Symbol.for(""),Kt=e=>{if((null==e?void 0:e.r)===qt)return null==e?void
|
|
|
214
214
|
${i}
|
|
215
215
|
</pie-button>
|
|
216
216
|
`:U}renderModalFooter(){var e,t;const i=null==(e=this.leadingAction)?void 0:e.text;i||null!=(t=this.supportingAction)&&t.text&&console.warn("You cannot have a supporting action without a leading action. If you only need one button then use a leading action instead.");const o={"c-modal-footer":!0,"c-modal-footer--stackedActions":this.hasStackedActions},n=i?Zt`
|
|
217
|
-
<footer class="${
|
|
217
|
+
<footer class="${Me(o)}" data-test-id="pie-modal-footer">
|
|
218
218
|
${this.renderLeadingAction()}
|
|
219
219
|
${this.renderSupportingAction()}
|
|
220
220
|
</footer>`:U;return Zt`
|
|
@@ -228,7 +228,7 @@ const qt=Symbol.for(""),Kt=e=>{if((null==e?void 0:e.r)===qt)return null==e?void
|
|
|
228
228
|
${this.renderLoadingSpinner()}
|
|
229
229
|
</article>
|
|
230
230
|
${this.renderModalFooter()}`}renderHeading(){const{heading:e,headingLevel:t,isHeadingEmphasised:i}=this,o=(e=>({_$litStatic$:e,r:qt}))(t);return Zt`
|
|
231
|
-
<${o} id="modal-heading" class="${
|
|
231
|
+
<${o} id="modal-heading" class="${Me({"c-modal-heading":!0,"c-modal-heading--emphasised":i})}" part="heading" data-test-id="modal-heading">
|
|
232
232
|
${e}
|
|
233
233
|
</${o}>
|
|
234
234
|
`}render(){const{aria:e,isDismissible:t,isFooterPinned:i,isFullWidthBelowMid:o,isLoading:n,position:r,size:a,backgroundColor:s,imageSlotMode:l}=this,c=!l,d={"c-modal":!0,[`c-modal--${a}`]:!0,"c-modal--top":"top"===r,"c-modal--dismissible":t,"c-modal--loading":n,"c-modal--pinnedFooter":i,"c-modal--fullWidthBelowMid":o,[`c-modal--bg-${s}`]:!0},h=n&&(null==e?void 0:e.loading)||void 0;return Zt`
|
|
@@ -236,7 +236,7 @@ const qt=Symbol.for(""),Kt=e=>{if((null==e?void 0:e.r)===qt)return null==e?void
|
|
|
236
236
|
id="dialog"
|
|
237
237
|
aria-label="${Oe(h)}"
|
|
238
238
|
aria-labelledby="${Oe(h?void 0:"modal-heading")}"
|
|
239
|
-
class="${
|
|
239
|
+
class="${Me(d)}"
|
|
240
240
|
aria-live="polite"
|
|
241
241
|
aria-busy="${n?"true":"false"}"
|
|
242
242
|
data-test-id="pie-modal">
|
|
@@ -251,7 +251,7 @@ const qt=Symbol.for(""),Kt=e=>{if((null==e?void 0:e.r)===qt)return null==e?void
|
|
|
251
251
|
<div class="c-modal-scrollContainer">
|
|
252
252
|
${this.renderModalContentAndFooter()}
|
|
253
253
|
</div>`}
|
|
254
|
-
</dialog>`}};Ki.styles=s('*,*:after,*:before{box-sizing:inherit}dialog{position:absolute;left:0;right:0;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;height:-moz-fit-content;height:-webkit-fit-content;height:fit-content;margin:auto;border:solid;padding:1em;background:#fff;color:#000;display:block}dialog:not([open]){display:none}dialog+.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000001a}._dialog_overlay{position:fixed;top:0;right:0;bottom:0;left:0}dialog.fixed{position:fixed;top:50%;transform:translateY(-50%)}.c-modal{--modal-size-s: 450px;--modal-size-m: 600px;--modal-size-l: 1080px;--modal-border-radius: var(--dt-radius-rounded-d);--modal-font: var(--dt-font-interactive-l-family);--modal-content-color: var(--dt-color-content-default);--modal-bg-color: var(--dt-color-container-default);--modal-elevation: var(--dt-elevation-below-20);--modal-image-slot-bg-color: none;position:fixed;top:0;border-radius:var(--modal-border-radius);border:none;box-shadow:var(--modal-elevation);font-family:var(--modal-font);color:var(--modal-content-color);background-color:var(--modal-bg-color);padding:0;--modal-margin-none: var(--dt-spacing-none);--modal-margin-small: var(--dt-spacing-g);--modal-margin-large: var(--dt-spacing-j);--modal-margin-block: var(--modal-margin-small);--modal-block-size: fit-content;--modal-inline-size: 75%;--modal-max-block-size: calc(100vh - calc(var(--modal-margin-block) * 2));--modal-max-inline-size: var(--modal-size-m);block-size:var(--modal-block-size);inline-size:var(--modal-inline-size);max-block-size:var(--modal-max-block-size);max-inline-size:var(--modal-max-inline-size)}.c-modal:focus-visible{outline:none}@media (max-width: 767px){.c-modal pie-icon-button{--btn-dimension: 40px}}.c-modal[open]{display:flex;flex-direction:column}@media (min-width: 769px){.c-modal{--modal-margin-block: var(--modal-margin-large)}}.c-modal.c-modal--small{--modal-max-inline-size: var(--modal-size-s)}@media (min-width: 769px){.c-modal.c-modal--small{--modal-margin-block: var(--modal-margin-large)}}.c-modal.c-modal--large{--modal-inline-size: 75%;--modal-max-inline-size: var(--modal-size-l);--modal-margin-block: var(--modal-margin-large)}@media (max-width: 767px){.c-modal.c-modal--large,.c-modal.c-modal--medium.c-modal--fullWidthBelowMid{--modal-margin-block: var(--modal-margin-none);--modal-border-radius: var(--dt-radius-rounded-none);--modal-block-size: 100%;--modal-inline-size: 100%;--modal-max-inline-size: 100%}.c-modal.c-modal--large>.c-modal-scrollContainer,.c-modal.c-modal--medium.c-modal--fullWidthBelowMid>.c-modal-scrollContainer{block-size:100%}}.c-modal.c-modal--top{margin-block-start:var(--dt-spacing-j);max-block-size:calc(100% - var(--dt-spacing-j) * 2)}@media (max-width: 767px){.c-modal.c-modal--top.c-modal--large,.c-modal.c-modal--top.c-modal--fullWidthBelowMid.c-modal--medium{margin-block-start:var(--dt-spacing-none);max-block-size:100%}}.c-modal::backdrop{background:var(--dt-color-overlay)}@supports (hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none){.c-modal::backdrop{background:#0000008c}}.c-modal .c-modal-closeBtn{grid-area:close;margin-block-start:var(--dt-spacing-b);margin-block-end:var(--dt-spacing-b);margin-inline-start:var(--dt-spacing-none);margin-inline-end:var(--dt-spacing-b)}@media (min-width: 769px){.c-modal .c-modal-closeBtn{margin-block-start:var(--dt-spacing-c);margin-block-end:var(--dt-spacing-c);margin-inline-start:var(--dt-spacing-none);margin-inline-end:var(--dt-spacing-c)}}.c-modal .c-modal-imageSlot.c-modal-imageSlot--illustration{display:flex;justify-content:center;align-items:center;height:200px;background-color:var(--modal-image-slot-bg-color)}.c-modal .c-modal-imageSlot.c-modal-imageSlot--illustration ::slotted([slot=image]){width:168px;height:168px;overflow:hidden}.c-modal .c-modal-imageSlot.c-modal-imageSlot--image{overflow:hidden;aspect-ratio:16/9}.c-modal .c-modal-imageSlot.c-modal-imageSlot--image.c-modal-imageSlot--small{aspect-ratio:3/1}.c-modal .c-modal-imageSlot.c-modal-imageSlot--image.c-modal-imageSlot--large{aspect-ratio:4/3}.c-modal .c-modal-imageSlot.c-modal-imageSlot--image ::slotted([slot=image]){width:100%}@media (min-width: 769px){.c-modal .c-modal-imageSlot.c-modal-imageSlot--image{aspect-ratio:3/1}.c-modal .c-modal-imageSlot.c-modal-imageSlot--image.c-modal-imageSlot--small{aspect-ratio:4/1}.c-modal .c-modal-imageSlot.c-modal-imageSlot--image.c-modal-imageSlot--large{aspect-ratio:21/9}}.c-modal .c-modal-imageSlot .c-modal-closeBtn{position:absolute;inset-block-start:0;inset-inline-end:0;margin-block-start:var(--dt-spacing-d);margin-inline-end:var(--dt-spacing-d)}.c-modal .c-modal-footer{--modal-button-spacing: var(--dt-spacing-d);--modal-footer-padding: var(--dt-spacing-d);display:flex;flex-flow:row-reverse;flex-wrap:wrap;gap:var(--modal-button-spacing);padding:var(--modal-footer-padding)}@media (min-width: 769px){.c-modal .c-modal-footer{--modal-footer-padding: var(--dt-spacing-e)}}@media (max-width: 767px){.c-modal .c-modal-footer.c-modal-footer--stackedActions{flex-direction:column}}.c-modal ::slotted([slot=footer]){display:flex;width:100%}.c-modal ::slotted([slot=headerContent]){grid-area:content;padding-inline-start:var(--dt-spacing-e);padding-inline-end:var(--dt-spacing-e);margin-block-end:var(--dt-spacing-d)}.c-modal .c-modal-header{display:grid;grid-template-areas:"back heading close" "content content content";grid-template-columns:minmax(0,max-content) minmax(0,1fr) minmax(0,max-content);align-items:start}.c-modal .c-modal-heading{--modal-header-font-size: calc(var(--dt-font-heading-m-size--narrow) * 1px);--modal-header-font-line-height: calc(var(--dt-font-heading-m-line-height--narrow) * 1px);--modal-header-font-weight: var(--dt-font-heading-m-weight);--modal-header-font-style: normal;font-size:var(--modal-header-font-size);line-height:var(--modal-header-font-line-height);font-weight:var(--modal-header-font-weight);font-style:var(--modal-header-font-style);margin:0;grid-area:heading;margin-inline-start:var(--dt-spacing-d);margin-inline-end:var(--dt-spacing-d);margin-block:16px}@media (min-width: 769px){.c-modal .c-modal-heading{--modal-header-font-size: calc(var(--dt-font-heading-m-size--wide) * 1px);--modal-header-font-line-height: calc(var(--dt-font-heading-m-line-height--wide) * 1px);margin-inline-start:var(--dt-spacing-e);margin-inline-end:var(--dt-spacing-e);margin-block:22px}}.c-modal .c-modal-heading.c-modal-heading--emphasised{--modal-header-font-size: calc(var(--dt-font-heading-xl-italic-size--narrow) * 1px);--modal-header-font-line-height: calc(var(--dt-font-heading-m-italic-line-height--narrow) * 1px);--modal-header-font-weight: var(--dt-font-heading-xl-italic-weight);--modal-header-font-style: var(--dt-font-heading-xl-italic-font-style);font-variation-settings:"slnt" -20}@media (min-width: 769px){.c-modal .c-modal-heading.c-modal-heading--emphasised{--modal-header-font-size: calc(var(--dt-font-heading-xl-italic-size--wide) * 1px);--modal-header-font-line-height: calc(var(--dt-font-heading-m-italic-line-height--wide) * 1px)}}.c-modal .c-modal-backBtn+.c-modal-heading{margin-inline-start:var(--dt-spacing-b)}@media (min-width: 769px){.c-modal .c-modal-backBtn+.c-modal-heading{margin-inline-start:var(--dt-spacing-c)}}.c-modal.c-modal--dismissible .c-modal-heading{margin-inline-end:var(--dt-spacing-d)}@media (min-width: 769px){.c-modal.c-modal--dismissible .c-modal-heading{margin-inline-end:var(--dt-spacing-e)}}.c-modal .c-modal-backBtn{grid-area:back;margin-block-start:var(--dt-spacing-b);margin-block-end:var(--dt-spacing-b);margin-inline-start:var(--dt-spacing-b);margin-inline-end:var(--dt-spacing-none)}@media (min-width: 769px){.c-modal .c-modal-backBtn{margin-block-start:var(--dt-spacing-c);margin-block-end:var(--dt-spacing-c);margin-inline-start:var(--dt-spacing-c);margin-inline-end:var(--dt-spacing-none)}}.c-modal .c-modal-content{--modal-content-font-size: calc(var(--dt-font-body-l-size) * 1px);--modal-content-font-weight: var(--dt-font-body-l-weight);--modal-content-line-height: calc(var(--dt-font-body-l-line-height) * 1px);--modal-content-padding-block: var(--dt-spacing-a);--modal-content-padding-inline: var(--dt-spacing-d);--modal-content-padding-block-end: var(--dt-spacing-e);position:relative;font-size:var(--modal-content-font-size);line-height:var(--modal-content-line-height);font-weight:var(--modal-content-font-weight);padding-inline-start:var(--modal-content-padding-inline);padding-inline-end:var(--modal-content-padding-inline);padding-block-start:var(--modal-content-padding-block);padding-block-end:var(--modal-content-padding-block-end);flex-grow:1}@media (min-width: 769px){.c-modal .c-modal-content{--modal-content-padding-inline: var(--dt-spacing-e)}}.c-modal .c-modal-content:has(+slot>footer){padding-block-end:var(--modal-content-padding-block)}.c-modal .c-modal-content--scrollable{background:linear-gradient(to bottom,transparent,var(--dt-color-container-default) 75%) center bottom,linear-gradient(transparent,var(--dt-color-border-strong)) center bottom;background-repeat:no-repeat;background-size:100% 48px,100% 12px;background-attachment:local,scroll}.c-modal>.c-modal-scrollContainer{display:flex;flex-direction:column;overflow-y:auto;--bg-scroll-end: linear-gradient(rgba(255, 255, 255, 0), var(--modal-bg-color) 70%) 0 100%;--bg-scroll-bottom: radial-gradient(farthest-corner at 50% 100%, rgba(0, 0, 0, .3), rgba(0, 0, 0, 0)) 0 100%;--bg-size-scroll-end: 100% 40px;--bg-size-scroll-bottom: 100% 8px;background:var(--bg-scroll-end),var(--bg-scroll-bottom);background-repeat:no-repeat;background-size:var(--bg-size-scroll-end),var(--bg-size-scroll-bottom);background-attachment:local,scroll}.c-modal>.c-modal-scrollContainer .c-modal-content{flex-shrink:0}.c-modal.c-modal--pinnedFooter .c-modal-content{overflow-y:auto}.c-modal.c-modal--loading .c-modal-content pie-spinner{display:flex;justify-content:center;align-items:center;padding:var(--dt-spacing-j) calc(var(--dt-spacing-j) + var(--dt-spacing-d))}.c-modal.c-modal--loading .c-modal-content .c-modal-contentInner{display:none}@supports not (aspect-ratio: 1/1){.c-modal .c-modal-scrollContainer{background:none}}.c-modal .c-modal-backBtn-icon:dir(rtl){transform:rotate(180deg)}.c-modal.c-modal--bg-subtle{--modal-image-slot-bg-color: var(--dt-color-container-subtle)}.c-modal.c-modal--bg-brand-01{--modal-bg-color: var(--dt-color-support-brand-01)}.c-modal.c-modal--bg-brand-02{--modal-bg-color: var(--dt-color-support-brand-02)}.c-modal.c-modal--bg-brand-03{--modal-bg-color: var(--dt-color-support-brand-03)}.c-modal.c-modal--bg-brand-03-subtle{--modal-bg-color: var(--dt-color-support-brand-03-subtle)}.c-modal.c-modal--bg-brand-04{--modal-bg-color: var(--dt-color-support-brand-04)}.c-modal.c-modal--bg-brand-04-subtle{--modal-bg-color: var(--dt-color-support-brand-04-subtle)}.c-modal.c-modal--bg-brand-05{--modal-bg-color: var(--dt-color-support-brand-05)}.c-modal.c-modal--bg-brand-05-subtle{--modal-bg-color: var(--dt-color-support-brand-05-subtle)}.c-modal.c-modal--bg-brand-06{--modal-content-color: var(--dt-color-content-inverse);--modal-bg-color: var(--dt-color-support-brand-06)}.c-modal.c-modal--bg-brand-06-subtle{--modal-bg-color: var(--dt-color-support-brand-06-subtle)}.c-modal.c-modal--bg-brand-08{--modal-bg-color: var(--dt-color-support-brand-08)}.c-modal.c-modal--bg-brand-08-subtle{--modal-bg-color: var(--dt-color-support-brand-08-subtle)}'),Ui([be({type:Object})],Ki.prototype,"aria",2),Ui([be({type:String}),(e=>function(t,i){const o=`#${i}`;Object.defineProperty(t,i,{get(){return this[o]},set(t){(null==t||"string"==typeof t&&""===t.trim())&&console.error(`<${e}> Missing required attribute "${i}"`),this[o]=t},configurable:!0})})(qi)],Ki.prototype,"heading",2),Ui([be({type:String}),Te(qi,["h1","h2","h3","h4","h5","h6"],Oi)],Ki.prototype,"headingLevel",2),Ui([be({type:Boolean})],Ki.prototype,"hasBackButton",2),Ui([be({type:Boolean})],Ki.prototype,"hasStackedActions",2),Ui([be({type:Boolean,reflect:!0})],Ki.prototype,"isDismissible",2),Ui([be({type:Boolean})],Ki.prototype,"isHeadingEmphasised",2),Ui([be({type:Boolean})],Ki.prototype,"isFooterPinned",2),Ui([be({type:Boolean})],Ki.prototype,"isFullWidthBelowMid",2),Ui([be({type:Boolean,reflect:!0})],Ki.prototype,"isLoading",2),Ui([be({type:Boolean})],Ki.prototype,"isOpen",2),Ui([be({type:Object})],Ki.prototype,"leadingAction",2),Ui([be({type:String}),Te(qi,["top","center"],Di)],Ki.prototype,"position",2),Ui([be({type:String})],Ki.prototype,"returnFocusAfterCloseSelector",2),Ui([be({type:String}),Te(qi,["small","medium","large"],Fi)],Ki.prototype,"size",2),Ui([be({type:Object})],Ki.prototype,"supportingAction",2),Ui([be({type:String}),Te(qi,["default","subtle","brand-01","brand-02","brand-03","brand-03-subtle","brand-04","brand-04-subtle","brand-05","brand-05-subtle","brand-06","brand-06-subtle","brand-08","brand-08-subtle"],Ri)],Ki.prototype,"backgroundColor",2),Ui([be({type:String})],Ki.prototype,"imageSlotMode",2),Ui([be({type:String}),Te(qi,["small","medium","large"],Hi)],Ki.prototype,"imageSlotAspectRatio",2),Ui([ge("dialog")],Ki.prototype,"_dialog",2),Ki=Ui([Le("pie-modal")],Ki);var Gi=Object.defineProperty,Zi=Object.getOwnPropertyDescriptor,Yi=(e,t,i,o)=>{for(var n,r=o>1?void 0:o?Zi(t,i):t,a=e.length-1;a>=0;a--)(n=e[a])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Gi(t,i,r),r};let Xi=class extends ni{constructor(){super(...arguments),this.size="xs",this.defaultClasses="c-pieIcon c-pieIcon--check",this.class="c-pieIcon c-pieIcon--check",this.name="IconCheck"}render(){return V`<svg width="${this._svgWidth}" height="${this._svgHeight}" xmlns="http://www.w3.org/2000/svg" role="presentation" focusable="false" fill="currentColor" viewBox="0 0 16 16" class="c-pieIcon c-pieIcon--check"><path d="M5.865 12.489a1.217 1.217 0 0 1-.875-.385L1.875 8.656l.98-.875 3.028 3.369 7.253-7.822.963.875-7.35 7.875c-.113.12-.248.215-.398.282-.15.066-.322.127-.486.129Z"></path></svg>`}};Yi([be({type:String,reflect:!0})],Xi.prototype,"size",2),Yi([be({type:String,reflect:!0})],Xi.prototype,"class",2),Xi=Yi([Le("icon-check")],Xi);const Qi=class e extends le{willUpdate(){this.getAttribute("v")||this.setAttribute("v",e.v)}};Qi.v="2.3.10";let Ji=Qi;!function(e){const t=new WeakMap,i=new WeakMap,o=new WeakMap,n=new WeakMap,r=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap,c=new WeakMap,d=new WeakMap,h=new WeakMap,p=new WeakMap,v=new WeakMap,b=new WeakMap,m=new WeakMap,u={ariaAtomic:"aria-atomic",ariaAutoComplete:"aria-autocomplete",ariaBusy:"aria-busy",ariaChecked:"aria-checked",ariaColCount:"aria-colcount",ariaColIndex:"aria-colindex",ariaColIndexText:"aria-colindextext",ariaColSpan:"aria-colspan",ariaCurrent:"aria-current",ariaDescription:"aria-description",ariaDisabled:"aria-disabled",ariaExpanded:"aria-expanded",ariaHasPopup:"aria-haspopup",ariaHidden:"aria-hidden",ariaInvalid:"aria-invalid",ariaKeyShortcuts:"aria-keyshortcuts",ariaLabel:"aria-label",ariaLevel:"aria-level",ariaLive:"aria-live",ariaModal:"aria-modal",ariaMultiLine:"aria-multiline",ariaMultiSelectable:"aria-multiselectable",ariaOrientation:"aria-orientation",ariaPlaceholder:"aria-placeholder",ariaPosInSet:"aria-posinset",ariaPressed:"aria-pressed",ariaReadOnly:"aria-readonly",ariaRelevant:"aria-relevant",ariaRequired:"aria-required",ariaRoleDescription:"aria-roledescription",ariaRowCount:"aria-rowcount",ariaRowIndex:"aria-rowindex",ariaRowIndexText:"aria-rowindextext",ariaRowSpan:"aria-rowspan",ariaSelected:"aria-selected",ariaSetSize:"aria-setsize",ariaSort:"aria-sort",ariaValueMax:"aria-valuemax",ariaValueMin:"aria-valuemin",ariaValueNow:"aria-valuenow",ariaValueText:"aria-valuetext",role:"role"};function g(e){const t=n.get(e),{form:i}=t;O(e,i,t),E(e,t.labels)}const f=(e,t=!1)=>{const i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>n.has(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});let o=i.nextNode();const r=!t||e.disabled;for(;o;)o.formDisabledCallback&&r&&_(o,e.disabled),o=i.nextNode()},y={attributes:!0,attributeFilter:["disabled","name"]},k=j()?new MutationObserver(e=>{for(const t of e){const e=t.target;if("disabled"===t.attributeName&&(e.constructor.formAssociated?_(e,e.hasAttribute("disabled")):"fieldset"===e.localName&&f(e)),"name"===t.attributeName&&e.constructor.formAssociated){const t=n.get(e),i=c.get(e);t.setFormValue(i)}}}):{};function w(e){e.forEach(e=>{const{addedNodes:t,removedNodes:i}=e,r=Array.from(t),a=Array.from(i);r.forEach(e=>{var t;if(n.has(e)&&e.constructor.formAssociated&&g(e),d.has(e)){const t=d.get(e);Object.keys(u).filter(e=>null!==t[e]).forEach(i=>{e.setAttribute(u[i],t[i])}),d.delete(e)}if(m.has(e)){const t=m.get(e);e.setAttribute("internals-valid",t.validity.valid.toString()),e.setAttribute("internals-invalid",(!t.validity.valid).toString()),e.setAttribute("aria-invalid",(!t.validity.valid).toString()),m.delete(e)}if("form"===e.localName){const t=l.get(e),i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>!n.has(e)||!e.constructor.formAssociated||t&&t.has(e)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT});let o=i.nextNode();for(;o;)g(o),o=i.nextNode()}"fieldset"===e.localName&&(null===(t=k.observe)||void 0===t||t.call(k,e,y),f(e,!0))}),a.forEach(e=>{const t=n.get(e);t&&o.get(t)&&S(t),s.has(e)&&s.get(e).disconnect()})})}function x(e){e.forEach(e=>{const{removedNodes:t}=e;t.forEach(t=>{const i=v.get(e.target);n.has(t)&&N(t),i.disconnect()})})}j()&&new MutationObserver(w);const A={childList:!0,subtree:!0},_=(e,t)=>{e.toggleAttribute("internals-disabled",t),t?e.setAttribute("aria-disabled","true"):e.removeAttribute("aria-disabled"),e.formDisabledCallback&&e.formDisabledCallback.apply(e,[t])},S=e=>{o.get(e).forEach(e=>{e.remove()}),o.set(e,[])},$=(e,t)=>{const i=document.createElement("input");return i.type="hidden",i.name=e.getAttribute("name"),e.after(i),o.get(t).push(i),i},E=(e,t)=>{if(t.length){Array.from(t).forEach(t=>t.addEventListener("click",e.click.bind(e)));let i=t[0].id;t[0].id||(i=`${t[0].htmlFor}_Label`,t[0].id=i),e.setAttribute("aria-labelledby",i)}},z=e=>{const t=Array.from(e.elements).filter(e=>!e.tagName.includes("-")&&e.validity).map(e=>e.validity.valid),i=l.get(e)||[],o=[...t,...Array.from(i).filter(e=>e.isConnected).map(e=>n.get(e).validity.valid)].includes(!1);e.toggleAttribute("internals-invalid",o),e.toggleAttribute("internals-valid",!o)},C=e=>{z(T(e.target))},M=e=>{z(T(e.target))},B=e=>{const t=l.get(e.target);t&&t.size&&t.forEach(e=>{e.constructor.formAssociated&&e.formResetCallback&&e.formResetCallback.apply(e)})},O=(e,t,i)=>{if(t){const o=l.get(t);if(o)o.add(e);else{const i=new Set;i.add(e),l.set(t,i),(e=>{const t=["button[type=submit]","input[type=submit]","button:not([type])"].map(e=>`${e}:not([disabled])`).map(t=>`${t}:not([form])${e.id?`,${t}[form='${e.id}']`:""}`).join(",");e.addEventListener("click",i=>{if(i.target.closest(t)){const t=l.get(e);if(e.noValidate)return;t.size&&Array.from(t).reverse().map(e=>n.get(e).reportValidity()).includes(!1)&&i.preventDefault()}})})(t),t.addEventListener("reset",B),t.addEventListener("input",C),t.addEventListener("change",M)}a.set(t,{ref:e,internals:i}),e.constructor.formAssociated&&e.formAssociatedCallback&&setTimeout(()=>{e.formAssociatedCallback.apply(e,[t])},0),z(t)}},T=e=>{let t=e.parentNode;return t&&"FORM"!==t.tagName&&(t=T(t)),t},L=(e,t,i=DOMException)=>{if(!e.constructor.formAssociated)throw new i(t)},P=(e,t,i)=>{const o=l.get(e);return o&&o.size&&o.forEach(e=>{n.get(e)[i]()||(t=!1)}),t},N=e=>{if(e.constructor.formAssociated){const t=n.get(e),{labels:i,form:o}=t;E(e,i),O(e,o,t)}};function j(){return typeof MutationObserver<"u"}class I{constructor(){this.badInput=!1,this.customError=!1,this.patternMismatch=!1,this.rangeOverflow=!1,this.rangeUnderflow=!1,this.stepMismatch=!1,this.tooLong=!1,this.tooShort=!1,this.typeMismatch=!1,this.valid=!0,this.valueMissing=!1,Object.seal(this)}}const D=e=>{let t=!0;for(let i in e)"valid"!==i&&!1!==e[i]&&(t=!1);return t},F=new WeakMap;function R(e,t){e.toggleAttribute(t,!0),e.part&&e.part.add(t)}class H extends Set{static get isPolyfilled(){return!0}constructor(e){if(super(),!e||!e.tagName||-1===e.tagName.indexOf("-"))throw new TypeError("Illegal constructor");F.set(this,e)}add(e){if(!/^--/.test(e)||"string"!=typeof e)throw new DOMException(`Failed to execute 'add' on 'CustomStateSet': The specified value ${e} must start with '--'.`);const t=super.add(e),i=F.get(this),o=`state${e}`;return i.isConnected?R(i,o):setTimeout(()=>{R(i,o)}),t}clear(){for(let[e]of this.entries())this.delete(e);super.clear()}delete(e){const t=super.delete(e),i=F.get(this);return i.isConnected?(i.toggleAttribute(`state${e}`,!1),i.part&&i.part.remove(`state${e}`)):setTimeout(()=>{i.toggleAttribute(`state${e}`,!1),i.part&&i.part.remove(`state${e}`)}),t}}function V(e,t,i,o){if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(e):o?o.value:t.get(e)}var W;class U{constructor(e){W.set(this,void 0),function(e,t,i){if("function"==typeof t||!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");t.set(e,i)}(this,W,e);for(let t=0;t<e.length;t++){let i=e[t];this[t]=i,i.hasAttribute("name")&&(this[i.getAttribute("name")]=i)}Object.freeze(this)}get length(){return V(this,W,"f").length}[(W=new WeakMap,Symbol.iterator)](){return V(this,W,"f")[Symbol.iterator]()}item(e){return null==this[e]?null:this[e]}namedItem(e){return null==this[e]?null:this[e]}}class q{static get isPolyfilled(){return!0}constructor(e){if(!e||!e.tagName||-1===e.tagName.indexOf("-"))throw new TypeError("Illegal constructor");const r=e.getRootNode(),a=new I;this.states=new H(e),t.set(this,e),i.set(this,a),n.set(e,this),((e,t)=>{for(let i in u){t[i]=null;let o=null;const n=u[i];Object.defineProperty(t,i,{get:()=>o,set(i){o=i,e.isConnected?e.setAttribute(n,i):d.set(e,t)}})}})(e,this),((e,t)=>{var i;o.set(t,[]),null===(i=k.observe)||void 0===i||i.call(k,e,y)})(e,this),Object.seal(this),r instanceof DocumentFragment&&(e=>{var t,i;const o=new MutationObserver(x);!(null===(t=null==window?void 0:window.ShadyDOM)||void 0===t)&&t.inUse&&e.mode&&e.host&&(e=e.host),null===(i=o.observe)||void 0===i||i.call(o,e,{childList:!0}),v.set(e,o)})(r)}checkValidity(){const e=t.get(this);if(L(e,"Failed to execute 'checkValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const o=i.get(this);if(!o.valid){const t=new Event("invalid",{bubbles:!1,cancelable:!0,composed:!1});e.dispatchEvent(t)}return o.valid}get form(){const e=t.get(this);let i;return L(e,"Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element."),!0===e.constructor.formAssociated&&(i=T(e)),i}get labels(){const e=t.get(this);L(e,"Failed to read the 'labels' property from 'ElementInternals': The target element is not a form-associated custom element.");const i=e.getAttribute("id"),o=e.getRootNode();return o&&i?o.querySelectorAll(`[for="${i}"]`):[]}reportValidity(){const e=t.get(this);if(L(e,"Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const i=this.checkValidity(),o=p.get(this);if(o&&!e.constructor.formAssociated)throw new DOMException("Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element.");return!i&&o&&(e.focus(),o.focus()),i}setFormValue(e){const i=t.get(this);L(i,"Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."),S(this),null==e||e instanceof FormData?null!=e&&e instanceof FormData&&Array.from(e).reverse().forEach(([e,t])=>{if("string"==typeof t){const o=$(i,this);o.name=e,o.value=t}}):i.getAttribute("name")&&($(i,this).value=e),c.set(i,e)}setValidity(e,o,n){const a=t.get(this);if(L(a,"Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!e)throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");p.set(this,n);const s=i.get(this),l={};for(const t in e)l[t]=e[t];var c;0===Object.keys(l).length&&((c=s).badInput=!1,c.customError=!1,c.patternMismatch=!1,c.rangeOverflow=!1,c.rangeUnderflow=!1,c.stepMismatch=!1,c.tooLong=!1,c.tooShort=!1,c.typeMismatch=!1,c.valid=!0,c.valueMissing=!1);const d=Object.assign(Object.assign({},s),l);delete d.valid;const{valid:h}=((e,t,i)=>(e.valid=D(t),Object.keys(t).forEach(i=>e[i]=t[i]),i&&z(i),e))(s,d,this.form);if(!h&&!o)throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true.");r.set(this,h?"":o),a.isConnected?(a.toggleAttribute("internals-invalid",!h),a.toggleAttribute("internals-valid",h),a.setAttribute("aria-invalid",`${!h}`)):m.set(a,this)}get shadowRoot(){const e=t.get(this);return h.get(e)||null}get validationMessage(){const e=t.get(this);return L(e,"Failed to read the 'validationMessage' property from 'ElementInternals': The target element is not a form-associated custom element."),r.get(this)}get validity(){const e=t.get(this);return L(e,"Failed to read the 'validity' property from 'ElementInternals': The target element is not a form-associated custom element."),i.get(this)}get willValidate(){const e=t.get(this);return L(e,"Failed to read the 'willValidate' property from 'ElementInternals': The target element is not a form-associated custom element."),!(e.disabled||e.hasAttribute("disabled")||e.hasAttribute("readonly"))}}let K=!1,G=!1;function Z(e){G||(G=!0,window.CustomStateSet=H,e&&(HTMLElement.prototype.attachInternals=function(...t){const i=e.call(this,t);return i.states=new H(this),i}))}function Y(e=!0){if(!K){if(K=!0,typeof window<"u"&&(window.ElementInternals=q),typeof CustomElementRegistry<"u"){const e=CustomElementRegistry.prototype.define;CustomElementRegistry.prototype.define=function(t,i,o){if(i.formAssociated){const e=i.prototype.connectedCallback;i.prototype.connectedCallback=function(){b.has(this)||(b.set(this,!0),this.hasAttribute("disabled")&&_(this,!0)),null!=e&&e.apply(this),N(this)}}e.call(this,t,i,o)}}if(typeof HTMLElement<"u"&&(HTMLElement.prototype.attachInternals=function(){if(!this.tagName)return{};if(-1===this.tagName.indexOf("-"))throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': Unable to attach ElementInternals to non-custom elements.");if(n.has(this))throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");return new q(this)}),typeof Element<"u"){let e=function(...e){const i=t.apply(this,e);if(h.set(this,i),j()){const e=new MutationObserver(w);window.ShadyDOM?e.observe(this,A):e.observe(i,A),s.set(this,e)}return i};const t=Element.prototype.attachShadow;Element.prototype.attachShadow=e}j()&&typeof document<"u"&&new MutationObserver(w).observe(document.documentElement,A),typeof HTMLFormElement<"u"&&function(){const e=HTMLFormElement.prototype.checkValidity;HTMLFormElement.prototype.checkValidity=function(...t){let i=e.apply(this,t);return P(this,i,"checkValidity")};const t=HTMLFormElement.prototype.reportValidity;HTMLFormElement.prototype.reportValidity=function(...e){let i=t.apply(this,e);return P(this,i,"reportValidity")};const{get:i}=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get(...e){const t=i.call(this,...e),o=Array.from(l.get(this)||[]);if(0===o.length)return t;const n=Array.from(t).concat(o).sort((e,t)=>e.compareDocumentPosition?2&e.compareDocumentPosition(t)?1:-1:0);return new U(n)}})}(),(e||typeof window<"u"&&!window.CustomStateSet)&&Z()}}!!customElements.polyfillWrapFlushCallback||(function(){if(typeof window>"u"||!window.ElementInternals||!HTMLElement.prototype.attachInternals)return!1;class e extends HTMLElement{constructor(){super(),this.internals=this.attachInternals()}}const t=`element-internals-feature-detection-${Math.random().toString(36).replace(/[^a-z]+/g,"")}`;customElements.define(t,e);const i=new e;return["shadowRoot","form","willValidate","validity","validationMessage","labels","setFormValue","setValidity","checkValidity","reportValidity"].every(e=>e in i.internals)}()?typeof window<"u"&&!window.CustomStateSet&&Z(HTMLElement.prototype.attachInternals):Y(!1)),e.forceCustomStateSetPolyfill=Z,e.forceElementInternalsPolyfill=Y,Object.defineProperty(e,"__esModule",{value:!0})}({});const eo=!1,to=!1,io="leading",oo=!1,no="on";var ro=Object.defineProperty,ao=Object.getOwnPropertyDescriptor,so=(e,t,i,o)=>{for(var n,r=o>1?void 0:o?ao(t,i):t,a=e.length-1;a>=0;a--)(n=e[a])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&ro(t,i,r),r};let lo=class extends(Ne(je(Ji))){constructor(){super(...arguments),this.labelPlacement=io,this.checked=eo,this.required=oo,this.value=no,this.disabled=to,this._isAnimationAllowed=!1}firstUpdated(){this.handleFormAssociation(),this.input.addEventListener("invalid",e=>{this.dispatchEvent(new Event("invalid",e))})}updated(){this.handleFormAssociation()}handleFormAssociation(){this._internals.form&&this.name&&this.value&&(this.disabled?(this._internals.setFormValue(null),this._internals.setValidity({})):this.checked?(this._internals.setFormValue(this.value),this._internals.setValidity({})):(this._internals.setFormValue(null),this._internals.setValidity(this.validity,this.validationMessage,this.input)))}handleChange(e){const{checked:t}=null==e?void 0:e.currentTarget;this.checked=t;const i=function(e){return new CustomEvent(e.type,{detail:{sourceEvent:e},bubbles:e.bubbles,cancelable:e.cancelable})}(e);this._isAnimationAllowed||(this._isAnimationAllowed=!0),this.dispatchEvent(i),this.handleFormAssociation()}checkValidity(){return this.input.checkValidity()}reportValidity(){return this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this._internals.setValidity(this.validity,this.validationMessage,this.input)}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}renderSwitchLabel(e){const{label:t,labelPlacement:i}=this;return t&&i===e?V`
|
|
254
|
+
</dialog>`}};Ki.styles=s('*,*:after,*:before{box-sizing:inherit}dialog{position:absolute;left:0;right:0;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;height:-moz-fit-content;height:-webkit-fit-content;height:fit-content;margin:auto;border:solid;padding:1em;background:#fff;color:#000;display:block}dialog:not([open]){display:none}dialog+.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000001a}._dialog_overlay{position:fixed;top:0;right:0;bottom:0;left:0}dialog.fixed{position:fixed;top:50%;transform:translateY(-50%)}.c-modal{--modal-size-s: 450px;--modal-size-m: 600px;--modal-size-l: 1080px;--modal-border-radius: var(--dt-radius-rounded-d);--modal-font: var(--dt-font-interactive-l-family);--modal-content-color: var(--dt-color-content-default);--modal-bg-color: var(--dt-color-container-default);--modal-elevation: var(--dt-elevation-below-20);--modal-image-slot-bg-color: none;--modal-easing: var(--dt-motion-easing-persistent-functional);--modal-transition-duration: var(--dt-motion-timing-150);--backdrop-transition-duration: var(--dt-motion-timing-200);opacity:0;transform:translateY(-40px);transition:opacity var(--modal-transition-duration) var(--modal-easing),transform var(--modal-transition-duration) var(--modal-easing),display var(--modal-transition-duration) allow-discrete,overlay var(--backdrop-transition-duration) allow-discrete;position:fixed;top:0;border-radius:var(--modal-border-radius);border:none;box-shadow:var(--modal-elevation);font-family:var(--modal-font);color:var(--modal-content-color);background-color:var(--modal-bg-color);padding:0;display:flex;flex-direction:column;--modal-margin-none: var(--dt-spacing-none);--modal-margin-small: var(--dt-spacing-g);--modal-margin-large: var(--dt-spacing-j);--modal-margin-block: var(--modal-margin-small);--modal-block-size: fit-content;--modal-inline-size: 75%;--modal-max-block-size: calc(100vh - calc(var(--modal-margin-block) * 2));--modal-max-inline-size: var(--modal-size-m);block-size:var(--modal-block-size);inline-size:var(--modal-inline-size);max-block-size:var(--modal-max-block-size);max-inline-size:var(--modal-max-inline-size)}.c-modal:focus-visible{outline:none}@media (max-width: 767px){.c-modal pie-icon-button{--btn-dimension: 40px}}.c-modal[open]{--modal-transition-duration: var(--dt-motion-timing-250);--backdrop-transition-duration: var(--dt-motion-timing-300);opacity:1;transform:translateY(0)}@starting-style{.c-modal[open]{opacity:0;transform:translateY(-40px)}}.c-modal[open]::backdrop{opacity:1}@starting-style{.c-modal[open]::backdrop{opacity:0}}@media (min-width: 769px){.c-modal{--modal-margin-block: var(--modal-margin-large)}}.c-modal.c-modal--small{--modal-max-inline-size: var(--modal-size-s)}@media (min-width: 769px){.c-modal.c-modal--small{--modal-margin-block: var(--modal-margin-large)}}.c-modal.c-modal--large{--modal-inline-size: 75%;--modal-max-inline-size: var(--modal-size-l);--modal-margin-block: var(--modal-margin-large)}@media (max-width: 767px){.c-modal.c-modal--large,.c-modal.c-modal--medium.c-modal--fullWidthBelowMid{--modal-margin-block: var(--modal-margin-none);--modal-border-radius: var(--dt-radius-rounded-none);--modal-block-size: 100%;--modal-inline-size: 100%;--modal-max-inline-size: 100%}.c-modal.c-modal--large>.c-modal-scrollContainer,.c-modal.c-modal--medium.c-modal--fullWidthBelowMid>.c-modal-scrollContainer{block-size:100%}}.c-modal.c-modal--top{margin-block-start:var(--dt-spacing-j);max-block-size:calc(100% - var(--dt-spacing-j) * 2)}@media (max-width: 767px){.c-modal.c-modal--top.c-modal--large,.c-modal.c-modal--top.c-modal--fullWidthBelowMid.c-modal--medium{margin-block-start:var(--dt-spacing-none);max-block-size:100%}}.c-modal::backdrop{background:var(--dt-color-overlay);opacity:0;transition:opacity var(--backdrop-transition-duration) var(--modal-easing),display var(--backdrop-transition-duration) allow-discrete,overlay var(--backdrop-transition-duration) allow-discrete}@supports (hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none){.c-modal::backdrop{background:#0000008c}}.c-modal .c-modal-closeBtn{grid-area:close;margin-block-start:var(--dt-spacing-b);margin-block-end:var(--dt-spacing-b);margin-inline-start:var(--dt-spacing-none);margin-inline-end:var(--dt-spacing-b)}@media (min-width: 769px){.c-modal .c-modal-closeBtn{margin-block-start:var(--dt-spacing-c);margin-block-end:var(--dt-spacing-c);margin-inline-start:var(--dt-spacing-none);margin-inline-end:var(--dt-spacing-c)}}.c-modal .c-modal-imageSlot.c-modal-imageSlot--illustration{display:flex;justify-content:center;align-items:center;height:200px;background-color:var(--modal-image-slot-bg-color)}.c-modal .c-modal-imageSlot.c-modal-imageSlot--illustration ::slotted([slot=image]){width:168px;height:168px;overflow:hidden}.c-modal .c-modal-imageSlot.c-modal-imageSlot--image{overflow:hidden;aspect-ratio:16/9}.c-modal .c-modal-imageSlot.c-modal-imageSlot--image.c-modal-imageSlot--small{aspect-ratio:3/1}.c-modal .c-modal-imageSlot.c-modal-imageSlot--image.c-modal-imageSlot--large{aspect-ratio:4/3}.c-modal .c-modal-imageSlot.c-modal-imageSlot--image ::slotted([slot=image]){width:100%}@media (min-width: 769px){.c-modal .c-modal-imageSlot.c-modal-imageSlot--image{aspect-ratio:3/1}.c-modal .c-modal-imageSlot.c-modal-imageSlot--image.c-modal-imageSlot--small{aspect-ratio:4/1}.c-modal .c-modal-imageSlot.c-modal-imageSlot--image.c-modal-imageSlot--large{aspect-ratio:21/9}}.c-modal .c-modal-imageSlot .c-modal-closeBtn{position:absolute;inset-block-start:0;inset-inline-end:0;margin-block-start:var(--dt-spacing-d);margin-inline-end:var(--dt-spacing-d)}.c-modal .c-modal-footer{--modal-button-spacing: var(--dt-spacing-d);--modal-footer-padding: var(--dt-spacing-d);display:flex;flex-flow:row-reverse;flex-wrap:wrap;gap:var(--modal-button-spacing);padding:var(--modal-footer-padding)}@media (min-width: 769px){.c-modal .c-modal-footer{--modal-footer-padding: var(--dt-spacing-e)}}@media (max-width: 767px){.c-modal .c-modal-footer.c-modal-footer--stackedActions{flex-direction:column}}.c-modal ::slotted([slot=footer]){display:flex;width:100%}.c-modal ::slotted([slot=headerContent]){grid-area:content;padding-inline-start:var(--dt-spacing-e);padding-inline-end:var(--dt-spacing-e);margin-block-end:var(--dt-spacing-d)}.c-modal .c-modal-header{display:grid;grid-template-areas:"back heading close" "content content content";grid-template-columns:minmax(0,max-content) minmax(0,1fr) minmax(0,max-content);align-items:start}.c-modal .c-modal-heading{--modal-header-font-size: calc(var(--dt-font-heading-m-size--narrow) * 1px);--modal-header-font-line-height: calc(var(--dt-font-heading-m-line-height--narrow) * 1px);--modal-header-font-weight: var(--dt-font-heading-m-weight);--modal-header-font-style: normal;font-size:var(--modal-header-font-size);line-height:var(--modal-header-font-line-height);font-weight:var(--modal-header-font-weight);font-style:var(--modal-header-font-style);margin:0;grid-area:heading;margin-inline-start:var(--dt-spacing-d);margin-inline-end:var(--dt-spacing-d);margin-block:16px}@media (min-width: 769px){.c-modal .c-modal-heading{--modal-header-font-size: calc(var(--dt-font-heading-m-size--wide) * 1px);--modal-header-font-line-height: calc(var(--dt-font-heading-m-line-height--wide) * 1px);margin-inline-start:var(--dt-spacing-e);margin-inline-end:var(--dt-spacing-e);margin-block:22px}}.c-modal .c-modal-heading.c-modal-heading--emphasised{--modal-header-font-size: calc(var(--dt-font-heading-xl-italic-size--narrow) * 1px);--modal-header-font-line-height: calc(var(--dt-font-heading-m-italic-line-height--narrow) * 1px);--modal-header-font-weight: var(--dt-font-heading-xl-italic-weight);--modal-header-font-style: var(--dt-font-heading-xl-italic-font-style);font-variation-settings:"slnt" -20}@media (min-width: 769px){.c-modal .c-modal-heading.c-modal-heading--emphasised{--modal-header-font-size: calc(var(--dt-font-heading-xl-italic-size--wide) * 1px);--modal-header-font-line-height: calc(var(--dt-font-heading-m-italic-line-height--wide) * 1px)}}.c-modal .c-modal-backBtn+.c-modal-heading{margin-inline-start:var(--dt-spacing-b)}@media (min-width: 769px){.c-modal .c-modal-backBtn+.c-modal-heading{margin-inline-start:var(--dt-spacing-c)}}.c-modal.c-modal--dismissible .c-modal-heading{margin-inline-end:var(--dt-spacing-d)}@media (min-width: 769px){.c-modal.c-modal--dismissible .c-modal-heading{margin-inline-end:var(--dt-spacing-e)}}.c-modal .c-modal-backBtn{grid-area:back;margin-block-start:var(--dt-spacing-b);margin-block-end:var(--dt-spacing-b);margin-inline-start:var(--dt-spacing-b);margin-inline-end:var(--dt-spacing-none)}@media (min-width: 769px){.c-modal .c-modal-backBtn{margin-block-start:var(--dt-spacing-c);margin-block-end:var(--dt-spacing-c);margin-inline-start:var(--dt-spacing-c);margin-inline-end:var(--dt-spacing-none)}}.c-modal .c-modal-content{--modal-content-font-size: calc(var(--dt-font-body-l-size) * 1px);--modal-content-font-weight: var(--dt-font-body-l-weight);--modal-content-line-height: calc(var(--dt-font-body-l-line-height) * 1px);--modal-content-padding-block: var(--dt-spacing-a);--modal-content-padding-inline: var(--dt-spacing-d);--modal-content-padding-block-end: var(--dt-spacing-e);position:relative;font-size:var(--modal-content-font-size);line-height:var(--modal-content-line-height);font-weight:var(--modal-content-font-weight);padding-inline-start:var(--modal-content-padding-inline);padding-inline-end:var(--modal-content-padding-inline);padding-block-start:var(--modal-content-padding-block);padding-block-end:var(--modal-content-padding-block-end);flex-grow:1}@media (min-width: 769px){.c-modal .c-modal-content{--modal-content-padding-inline: var(--dt-spacing-e)}}.c-modal .c-modal-content:has(+slot>footer){padding-block-end:var(--modal-content-padding-block)}.c-modal .c-modal-content--scrollable{background:linear-gradient(to bottom,transparent,var(--dt-color-container-default) 75%) center bottom,linear-gradient(transparent,var(--dt-color-border-strong)) center bottom;background-repeat:no-repeat;background-size:100% 48px,100% 12px;background-attachment:local,scroll}.c-modal>.c-modal-scrollContainer{display:flex;flex-direction:column;overflow-y:auto;--bg-scroll-end: linear-gradient(rgba(255, 255, 255, 0), var(--modal-bg-color) 70%) 0 100%;--bg-scroll-bottom: radial-gradient(farthest-corner at 50% 100%, rgba(0, 0, 0, .3), rgba(0, 0, 0, 0)) 0 100%;--bg-size-scroll-end: 100% 40px;--bg-size-scroll-bottom: 100% 8px;background:var(--bg-scroll-end),var(--bg-scroll-bottom);background-repeat:no-repeat;background-size:var(--bg-size-scroll-end),var(--bg-size-scroll-bottom);background-attachment:local,scroll}.c-modal>.c-modal-scrollContainer .c-modal-content{flex-shrink:0}.c-modal.c-modal--pinnedFooter .c-modal-content{overflow-y:auto}.c-modal.c-modal--loading .c-modal-content pie-spinner{display:flex;justify-content:center;align-items:center;padding:var(--dt-spacing-j) calc(var(--dt-spacing-j) + var(--dt-spacing-d))}.c-modal.c-modal--loading .c-modal-content .c-modal-contentInner{display:none}@supports not (aspect-ratio: 1/1){.c-modal .c-modal-scrollContainer{background:none}}.c-modal .c-modal-backBtn-icon:dir(rtl){transform:rotate(180deg)}.c-modal.c-modal--bg-subtle{--modal-image-slot-bg-color: var(--dt-color-container-subtle)}.c-modal.c-modal--bg-brand-01{--modal-bg-color: var(--dt-color-support-brand-01)}.c-modal.c-modal--bg-brand-02{--modal-bg-color: var(--dt-color-support-brand-02)}.c-modal.c-modal--bg-brand-03{--modal-bg-color: var(--dt-color-support-brand-03)}.c-modal.c-modal--bg-brand-03-subtle{--modal-bg-color: var(--dt-color-support-brand-03-subtle)}.c-modal.c-modal--bg-brand-04{--modal-bg-color: var(--dt-color-support-brand-04)}.c-modal.c-modal--bg-brand-04-subtle{--modal-bg-color: var(--dt-color-support-brand-04-subtle)}.c-modal.c-modal--bg-brand-05{--modal-bg-color: var(--dt-color-support-brand-05)}.c-modal.c-modal--bg-brand-05-subtle{--modal-bg-color: var(--dt-color-support-brand-05-subtle)}.c-modal.c-modal--bg-brand-06{--modal-content-color: var(--dt-color-content-inverse);--modal-bg-color: var(--dt-color-support-brand-06)}.c-modal.c-modal--bg-brand-06-subtle{--modal-bg-color: var(--dt-color-support-brand-06-subtle)}.c-modal.c-modal--bg-brand-08{--modal-bg-color: var(--dt-color-support-brand-08)}.c-modal.c-modal--bg-brand-08-subtle{--modal-bg-color: var(--dt-color-support-brand-08-subtle)}@media (prefers-reduced-motion: reduce){.c-modal,.c-modal::backdrop{transition:none;transform:none}}'),Ui([be({type:Object})],Ki.prototype,"aria",2),Ui([be({type:String}),(e=>function(t,i){const o=`#${i}`;Object.defineProperty(t,i,{get(){return this[o]},set(t){(null==t||"string"==typeof t&&""===t.trim())&&console.error(`<${e}> Missing required attribute "${i}"`),this[o]=t},configurable:!0})})(qi)],Ki.prototype,"heading",2),Ui([be({type:String}),Te(qi,["h1","h2","h3","h4","h5","h6"],Oi)],Ki.prototype,"headingLevel",2),Ui([be({type:Boolean})],Ki.prototype,"hasBackButton",2),Ui([be({type:Boolean})],Ki.prototype,"hasStackedActions",2),Ui([be({type:Boolean,reflect:!0})],Ki.prototype,"isDismissible",2),Ui([be({type:Boolean})],Ki.prototype,"isHeadingEmphasised",2),Ui([be({type:Boolean})],Ki.prototype,"isFooterPinned",2),Ui([be({type:Boolean})],Ki.prototype,"isFullWidthBelowMid",2),Ui([be({type:Boolean,reflect:!0})],Ki.prototype,"isLoading",2),Ui([be({type:Boolean})],Ki.prototype,"isOpen",2),Ui([be({type:Object})],Ki.prototype,"leadingAction",2),Ui([be({type:String}),Te(qi,["top","center"],Di)],Ki.prototype,"position",2),Ui([be({type:String})],Ki.prototype,"returnFocusAfterCloseSelector",2),Ui([be({type:String}),Te(qi,["small","medium","large"],Fi)],Ki.prototype,"size",2),Ui([be({type:Object})],Ki.prototype,"supportingAction",2),Ui([be({type:String}),Te(qi,["default","subtle","brand-01","brand-02","brand-03","brand-03-subtle","brand-04","brand-04-subtle","brand-05","brand-05-subtle","brand-06","brand-06-subtle","brand-08","brand-08-subtle"],Ri)],Ki.prototype,"backgroundColor",2),Ui([be({type:String})],Ki.prototype,"imageSlotMode",2),Ui([be({type:String}),Te(qi,["small","medium","large"],Hi)],Ki.prototype,"imageSlotAspectRatio",2),Ui([ge("dialog")],Ki.prototype,"_dialog",2),Ki=Ui([Le("pie-modal")],Ki);var Gi=Object.defineProperty,Zi=Object.getOwnPropertyDescriptor,Yi=(e,t,i,o)=>{for(var n,r=o>1?void 0:o?Zi(t,i):t,a=e.length-1;a>=0;a--)(n=e[a])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&Gi(t,i,r),r};let Xi=class extends ni{constructor(){super(...arguments),this.size="xs",this.defaultClasses="c-pieIcon c-pieIcon--check",this.class="c-pieIcon c-pieIcon--check",this.name="IconCheck"}render(){return V`<svg width="${this._svgWidth}" height="${this._svgHeight}" xmlns="http://www.w3.org/2000/svg" role="presentation" focusable="false" fill="currentColor" viewBox="0 0 16 16" class="c-pieIcon c-pieIcon--check"><path d="M5.865 12.489a1.217 1.217 0 0 1-.875-.385L1.875 8.656l.98-.875 3.028 3.369 7.253-7.822.963.875-7.35 7.875c-.113.12-.248.215-.398.282-.15.066-.322.127-.486.129Z"></path></svg>`}};Yi([be({type:String,reflect:!0})],Xi.prototype,"size",2),Yi([be({type:String,reflect:!0})],Xi.prototype,"class",2),Xi=Yi([Le("icon-check")],Xi);const Qi=class e extends le{willUpdate(){this.getAttribute("v")||this.setAttribute("v",e.v)}};Qi.v="2.3.11";let Ji=Qi;!function(e){const t=new WeakMap,i=new WeakMap,o=new WeakMap,n=new WeakMap,r=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap,c=new WeakMap,d=new WeakMap,h=new WeakMap,p=new WeakMap,v=new WeakMap,b=new WeakMap,m=new WeakMap,u={ariaAtomic:"aria-atomic",ariaAutoComplete:"aria-autocomplete",ariaBusy:"aria-busy",ariaChecked:"aria-checked",ariaColCount:"aria-colcount",ariaColIndex:"aria-colindex",ariaColIndexText:"aria-colindextext",ariaColSpan:"aria-colspan",ariaCurrent:"aria-current",ariaDescription:"aria-description",ariaDisabled:"aria-disabled",ariaExpanded:"aria-expanded",ariaHasPopup:"aria-haspopup",ariaHidden:"aria-hidden",ariaInvalid:"aria-invalid",ariaKeyShortcuts:"aria-keyshortcuts",ariaLabel:"aria-label",ariaLevel:"aria-level",ariaLive:"aria-live",ariaModal:"aria-modal",ariaMultiLine:"aria-multiline",ariaMultiSelectable:"aria-multiselectable",ariaOrientation:"aria-orientation",ariaPlaceholder:"aria-placeholder",ariaPosInSet:"aria-posinset",ariaPressed:"aria-pressed",ariaReadOnly:"aria-readonly",ariaRelevant:"aria-relevant",ariaRequired:"aria-required",ariaRoleDescription:"aria-roledescription",ariaRowCount:"aria-rowcount",ariaRowIndex:"aria-rowindex",ariaRowIndexText:"aria-rowindextext",ariaRowSpan:"aria-rowspan",ariaSelected:"aria-selected",ariaSetSize:"aria-setsize",ariaSort:"aria-sort",ariaValueMax:"aria-valuemax",ariaValueMin:"aria-valuemin",ariaValueNow:"aria-valuenow",ariaValueText:"aria-valuetext",role:"role"};function g(e){const t=n.get(e),{form:i}=t;O(e,i,t),E(e,t.labels)}const f=(e,t=!1)=>{const i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>n.has(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});let o=i.nextNode();const r=!t||e.disabled;for(;o;)o.formDisabledCallback&&r&&_(o,e.disabled),o=i.nextNode()},y={attributes:!0,attributeFilter:["disabled","name"]},k=j()?new MutationObserver(e=>{for(const t of e){const e=t.target;if("disabled"===t.attributeName&&(e.constructor.formAssociated?_(e,e.hasAttribute("disabled")):"fieldset"===e.localName&&f(e)),"name"===t.attributeName&&e.constructor.formAssociated){const t=n.get(e),i=c.get(e);t.setFormValue(i)}}}):{};function w(e){e.forEach(e=>{const{addedNodes:t,removedNodes:i}=e,r=Array.from(t),a=Array.from(i);r.forEach(e=>{var t;if(n.has(e)&&e.constructor.formAssociated&&g(e),d.has(e)){const t=d.get(e);Object.keys(u).filter(e=>null!==t[e]).forEach(i=>{e.setAttribute(u[i],t[i])}),d.delete(e)}if(m.has(e)){const t=m.get(e);e.setAttribute("internals-valid",t.validity.valid.toString()),e.setAttribute("internals-invalid",(!t.validity.valid).toString()),e.setAttribute("aria-invalid",(!t.validity.valid).toString()),m.delete(e)}if("form"===e.localName){const t=l.get(e),i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>!n.has(e)||!e.constructor.formAssociated||t&&t.has(e)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT});let o=i.nextNode();for(;o;)g(o),o=i.nextNode()}"fieldset"===e.localName&&(null===(t=k.observe)||void 0===t||t.call(k,e,y),f(e,!0))}),a.forEach(e=>{const t=n.get(e);t&&o.get(t)&&S(t),s.has(e)&&s.get(e).disconnect()})})}function x(e){e.forEach(e=>{const{removedNodes:t}=e;t.forEach(t=>{const i=v.get(e.target);n.has(t)&&N(t),i.disconnect()})})}j()&&new MutationObserver(w);const A={childList:!0,subtree:!0},_=(e,t)=>{e.toggleAttribute("internals-disabled",t),t?e.setAttribute("aria-disabled","true"):e.removeAttribute("aria-disabled"),e.formDisabledCallback&&e.formDisabledCallback.apply(e,[t])},S=e=>{o.get(e).forEach(e=>{e.remove()}),o.set(e,[])},$=(e,t)=>{const i=document.createElement("input");return i.type="hidden",i.name=e.getAttribute("name"),e.after(i),o.get(t).push(i),i},E=(e,t)=>{if(t.length){Array.from(t).forEach(t=>t.addEventListener("click",e.click.bind(e)));let i=t[0].id;t[0].id||(i=`${t[0].htmlFor}_Label`,t[0].id=i),e.setAttribute("aria-labelledby",i)}},z=e=>{const t=Array.from(e.elements).filter(e=>!e.tagName.includes("-")&&e.validity).map(e=>e.validity.valid),i=l.get(e)||[],o=[...t,...Array.from(i).filter(e=>e.isConnected).map(e=>n.get(e).validity.valid)].includes(!1);e.toggleAttribute("internals-invalid",o),e.toggleAttribute("internals-valid",!o)},C=e=>{z(T(e.target))},B=e=>{z(T(e.target))},M=e=>{const t=l.get(e.target);t&&t.size&&t.forEach(e=>{e.constructor.formAssociated&&e.formResetCallback&&e.formResetCallback.apply(e)})},O=(e,t,i)=>{if(t){const o=l.get(t);if(o)o.add(e);else{const i=new Set;i.add(e),l.set(t,i),(e=>{const t=["button[type=submit]","input[type=submit]","button:not([type])"].map(e=>`${e}:not([disabled])`).map(t=>`${t}:not([form])${e.id?`,${t}[form='${e.id}']`:""}`).join(",");e.addEventListener("click",i=>{if(i.target.closest(t)){const t=l.get(e);if(e.noValidate)return;t.size&&Array.from(t).reverse().map(e=>n.get(e).reportValidity()).includes(!1)&&i.preventDefault()}})})(t),t.addEventListener("reset",M),t.addEventListener("input",C),t.addEventListener("change",B)}a.set(t,{ref:e,internals:i}),e.constructor.formAssociated&&e.formAssociatedCallback&&setTimeout(()=>{e.formAssociatedCallback.apply(e,[t])},0),z(t)}},T=e=>{let t=e.parentNode;return t&&"FORM"!==t.tagName&&(t=T(t)),t},L=(e,t,i=DOMException)=>{if(!e.constructor.formAssociated)throw new i(t)},P=(e,t,i)=>{const o=l.get(e);return o&&o.size&&o.forEach(e=>{n.get(e)[i]()||(t=!1)}),t},N=e=>{if(e.constructor.formAssociated){const t=n.get(e),{labels:i,form:o}=t;E(e,i),O(e,o,t)}};function j(){return typeof MutationObserver<"u"}class I{constructor(){this.badInput=!1,this.customError=!1,this.patternMismatch=!1,this.rangeOverflow=!1,this.rangeUnderflow=!1,this.stepMismatch=!1,this.tooLong=!1,this.tooShort=!1,this.typeMismatch=!1,this.valid=!0,this.valueMissing=!1,Object.seal(this)}}const D=e=>{let t=!0;for(let i in e)"valid"!==i&&!1!==e[i]&&(t=!1);return t},F=new WeakMap;function R(e,t){e.toggleAttribute(t,!0),e.part&&e.part.add(t)}class H extends Set{static get isPolyfilled(){return!0}constructor(e){if(super(),!e||!e.tagName||-1===e.tagName.indexOf("-"))throw new TypeError("Illegal constructor");F.set(this,e)}add(e){if(!/^--/.test(e)||"string"!=typeof e)throw new DOMException(`Failed to execute 'add' on 'CustomStateSet': The specified value ${e} must start with '--'.`);const t=super.add(e),i=F.get(this),o=`state${e}`;return i.isConnected?R(i,o):setTimeout(()=>{R(i,o)}),t}clear(){for(let[e]of this.entries())this.delete(e);super.clear()}delete(e){const t=super.delete(e),i=F.get(this);return i.isConnected?(i.toggleAttribute(`state${e}`,!1),i.part&&i.part.remove(`state${e}`)):setTimeout(()=>{i.toggleAttribute(`state${e}`,!1),i.part&&i.part.remove(`state${e}`)}),t}}function V(e,t,i,o){if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(e):o?o.value:t.get(e)}var W;class U{constructor(e){W.set(this,void 0),function(e,t,i){if("function"==typeof t||!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");t.set(e,i)}(this,W,e);for(let t=0;t<e.length;t++){let i=e[t];this[t]=i,i.hasAttribute("name")&&(this[i.getAttribute("name")]=i)}Object.freeze(this)}get length(){return V(this,W,"f").length}[(W=new WeakMap,Symbol.iterator)](){return V(this,W,"f")[Symbol.iterator]()}item(e){return null==this[e]?null:this[e]}namedItem(e){return null==this[e]?null:this[e]}}class q{static get isPolyfilled(){return!0}constructor(e){if(!e||!e.tagName||-1===e.tagName.indexOf("-"))throw new TypeError("Illegal constructor");const r=e.getRootNode(),a=new I;this.states=new H(e),t.set(this,e),i.set(this,a),n.set(e,this),((e,t)=>{for(let i in u){t[i]=null;let o=null;const n=u[i];Object.defineProperty(t,i,{get:()=>o,set(i){o=i,e.isConnected?e.setAttribute(n,i):d.set(e,t)}})}})(e,this),((e,t)=>{var i;o.set(t,[]),null===(i=k.observe)||void 0===i||i.call(k,e,y)})(e,this),Object.seal(this),r instanceof DocumentFragment&&(e=>{var t,i;const o=new MutationObserver(x);!(null===(t=null==window?void 0:window.ShadyDOM)||void 0===t)&&t.inUse&&e.mode&&e.host&&(e=e.host),null===(i=o.observe)||void 0===i||i.call(o,e,{childList:!0}),v.set(e,o)})(r)}checkValidity(){const e=t.get(this);if(L(e,"Failed to execute 'checkValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const o=i.get(this);if(!o.valid){const t=new Event("invalid",{bubbles:!1,cancelable:!0,composed:!1});e.dispatchEvent(t)}return o.valid}get form(){const e=t.get(this);let i;return L(e,"Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element."),!0===e.constructor.formAssociated&&(i=T(e)),i}get labels(){const e=t.get(this);L(e,"Failed to read the 'labels' property from 'ElementInternals': The target element is not a form-associated custom element.");const i=e.getAttribute("id"),o=e.getRootNode();return o&&i?o.querySelectorAll(`[for="${i}"]`):[]}reportValidity(){const e=t.get(this);if(L(e,"Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const i=this.checkValidity(),o=p.get(this);if(o&&!e.constructor.formAssociated)throw new DOMException("Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element.");return!i&&o&&(e.focus(),o.focus()),i}setFormValue(e){const i=t.get(this);L(i,"Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."),S(this),null==e||e instanceof FormData?null!=e&&e instanceof FormData&&Array.from(e).reverse().forEach(([e,t])=>{if("string"==typeof t){const o=$(i,this);o.name=e,o.value=t}}):i.getAttribute("name")&&($(i,this).value=e),c.set(i,e)}setValidity(e,o,n){const a=t.get(this);if(L(a,"Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!e)throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");p.set(this,n);const s=i.get(this),l={};for(const t in e)l[t]=e[t];var c;0===Object.keys(l).length&&((c=s).badInput=!1,c.customError=!1,c.patternMismatch=!1,c.rangeOverflow=!1,c.rangeUnderflow=!1,c.stepMismatch=!1,c.tooLong=!1,c.tooShort=!1,c.typeMismatch=!1,c.valid=!0,c.valueMissing=!1);const d=Object.assign(Object.assign({},s),l);delete d.valid;const{valid:h}=((e,t,i)=>(e.valid=D(t),Object.keys(t).forEach(i=>e[i]=t[i]),i&&z(i),e))(s,d,this.form);if(!h&&!o)throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true.");r.set(this,h?"":o),a.isConnected?(a.toggleAttribute("internals-invalid",!h),a.toggleAttribute("internals-valid",h),a.setAttribute("aria-invalid",`${!h}`)):m.set(a,this)}get shadowRoot(){const e=t.get(this);return h.get(e)||null}get validationMessage(){const e=t.get(this);return L(e,"Failed to read the 'validationMessage' property from 'ElementInternals': The target element is not a form-associated custom element."),r.get(this)}get validity(){const e=t.get(this);return L(e,"Failed to read the 'validity' property from 'ElementInternals': The target element is not a form-associated custom element."),i.get(this)}get willValidate(){const e=t.get(this);return L(e,"Failed to read the 'willValidate' property from 'ElementInternals': The target element is not a form-associated custom element."),!(e.disabled||e.hasAttribute("disabled")||e.hasAttribute("readonly"))}}let K=!1,G=!1;function Z(e){G||(G=!0,window.CustomStateSet=H,e&&(HTMLElement.prototype.attachInternals=function(...t){const i=e.call(this,t);return i.states=new H(this),i}))}function Y(e=!0){if(!K){if(K=!0,typeof window<"u"&&(window.ElementInternals=q),typeof CustomElementRegistry<"u"){const e=CustomElementRegistry.prototype.define;CustomElementRegistry.prototype.define=function(t,i,o){if(i.formAssociated){const e=i.prototype.connectedCallback;i.prototype.connectedCallback=function(){b.has(this)||(b.set(this,!0),this.hasAttribute("disabled")&&_(this,!0)),null!=e&&e.apply(this),N(this)}}e.call(this,t,i,o)}}if(typeof HTMLElement<"u"&&(HTMLElement.prototype.attachInternals=function(){if(!this.tagName)return{};if(-1===this.tagName.indexOf("-"))throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': Unable to attach ElementInternals to non-custom elements.");if(n.has(this))throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");return new q(this)}),typeof Element<"u"){let e=function(...e){const i=t.apply(this,e);if(h.set(this,i),j()){const e=new MutationObserver(w);window.ShadyDOM?e.observe(this,A):e.observe(i,A),s.set(this,e)}return i};const t=Element.prototype.attachShadow;Element.prototype.attachShadow=e}j()&&typeof document<"u"&&new MutationObserver(w).observe(document.documentElement,A),typeof HTMLFormElement<"u"&&function(){const e=HTMLFormElement.prototype.checkValidity;HTMLFormElement.prototype.checkValidity=function(...t){let i=e.apply(this,t);return P(this,i,"checkValidity")};const t=HTMLFormElement.prototype.reportValidity;HTMLFormElement.prototype.reportValidity=function(...e){let i=t.apply(this,e);return P(this,i,"reportValidity")};const{get:i}=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get(...e){const t=i.call(this,...e),o=Array.from(l.get(this)||[]);if(0===o.length)return t;const n=Array.from(t).concat(o).sort((e,t)=>e.compareDocumentPosition?2&e.compareDocumentPosition(t)?1:-1:0);return new U(n)}})}(),(e||typeof window<"u"&&!window.CustomStateSet)&&Z()}}!!customElements.polyfillWrapFlushCallback||(function(){if(typeof window>"u"||!window.ElementInternals||!HTMLElement.prototype.attachInternals)return!1;class e extends HTMLElement{constructor(){super(),this.internals=this.attachInternals()}}const t=`element-internals-feature-detection-${Math.random().toString(36).replace(/[^a-z]+/g,"")}`;customElements.define(t,e);const i=new e;return["shadowRoot","form","willValidate","validity","validationMessage","labels","setFormValue","setValidity","checkValidity","reportValidity"].every(e=>e in i.internals)}()?typeof window<"u"&&!window.CustomStateSet&&Z(HTMLElement.prototype.attachInternals):Y(!1)),e.forceCustomStateSetPolyfill=Z,e.forceElementInternalsPolyfill=Y,Object.defineProperty(e,"__esModule",{value:!0})}({});const eo=!1,to=!1,io="leading",oo=!1,no="on";var ro=Object.defineProperty,ao=Object.getOwnPropertyDescriptor,so=(e,t,i,o)=>{for(var n,r=o>1?void 0:o?ao(t,i):t,a=e.length-1;a>=0;a--)(n=e[a])&&(r=(o?n(t,i,r):n(r))||r);return o&&r&&ro(t,i,r),r};let lo=class extends(Ne(je(Ji))){constructor(){super(...arguments),this.labelPlacement=io,this.checked=eo,this.required=oo,this.value=no,this.disabled=to,this._isAnimationAllowed=!1}firstUpdated(){this.handleFormAssociation(),this.input.addEventListener("invalid",e=>{this.dispatchEvent(new Event("invalid",e))})}updated(){this.handleFormAssociation()}handleFormAssociation(){this._internals.form&&this.name&&this.value&&(this.disabled?(this._internals.setFormValue(null),this._internals.setValidity({})):this.checked?(this._internals.setFormValue(this.value),this._internals.setValidity({})):(this._internals.setFormValue(null),this._internals.setValidity(this.validity,this.validationMessage,this.input)))}handleChange(e){const{checked:t}=null==e?void 0:e.currentTarget;this.checked=t;const i=function(e){return new CustomEvent(e.type,{detail:{sourceEvent:e},bubbles:e.bubbles,cancelable:e.cancelable})}(e);this._isAnimationAllowed||(this._isAnimationAllowed=!0),this.dispatchEvent(i),this.handleFormAssociation()}checkValidity(){return this.input.checkValidity()}reportValidity(){return this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this._internals.setValidity(this.validity,this.validationMessage,this.input)}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}renderSwitchLabel(e){const{label:t,labelPlacement:i}=this;return t&&i===e?V`
|
|
255
255
|
<span
|
|
256
256
|
aria-hidden="true"
|
|
257
257
|
data-test-id="switch-label-${i}"
|
|
@@ -266,7 +266,7 @@ const qt=Symbol.for(""),Kt=e=>{if((null==e?void 0:e.r)===qt)return null==e?void
|
|
|
266
266
|
${this.aria.describedBy}
|
|
267
267
|
</div>`:U}render(){const{label:e,aria:t,checked:i,disabled:o,required:n,_isAnimationAllowed:r}=this;return V`
|
|
268
268
|
<label
|
|
269
|
-
class="${
|
|
269
|
+
class="${Me({"c-switch-wrapper":!0,"c-switch-wrapper--allow-animation":r})}"
|
|
270
270
|
?disabled=${o}>
|
|
271
271
|
${this.renderSwitchLabel("leading")}
|
|
272
272
|
<div
|
|
@@ -307,7 +307,7 @@ const qt=Symbol.for(""),Kt=e=>{if((null==e?void 0:e.r)===qt)return null==e?void
|
|
|
307
307
|
<p class="c-cookieBanner-description" data-test-id="modal-description">
|
|
308
308
|
${this._localiseRichText("preferencesManagement.description")}
|
|
309
309
|
</p>
|
|
310
|
-
${
|
|
310
|
+
${Be(fo,({id:e})=>e,e=>this.renderPreference(e))}`}render(){const e={text:this._localiseText("preferencesManagement.cta.save.label"),ariaLabel:this._localiseText("preferencesManagement.cta.save.label")};return V`
|
|
311
311
|
<pie-modal
|
|
312
312
|
.isOpen="${this._isModalOpen}"
|
|
313
313
|
hasBackButton
|
|
@@ -351,4 +351,4 @@ const qt=Symbol.for(""),Kt=e=>{if((null==e?void 0:e.r)===qt)return null==e?void
|
|
|
351
351
|
${this._localiseText("banner.cta.managePreferences")}
|
|
352
352
|
</pie-link>
|
|
353
353
|
</div>
|
|
354
|
-
</aside>`}},e.PieCookieBanner.styles=s("*,*:after,*:before{box-sizing:inherit}*{margin:0}.c-cookieBanner{--cb-font-family: var(--dt-font-interactive-l-family);--cb-font-size: calc(var(--dt-font-body-l-size) * 1px);--cb-line-height: calc(var(--dt-font-body-l-line-height) * 1px);--cb-font-weight: var(--dt-font-body-l-weight);--cb-padding-inline: var(--dt-spacing-d);--cb-padding-block: var(--dt-spacing-d);--cb-offset: 0;color-scheme:only dark;background-color:var(--dt-color-background-dark);color:var(--dt-color-content-inverse);font-family:var(--cb-font-family);font-size:var(--cb-font-size);line-height:var(--cb-line-height);font-weight:var(--cb-font-weight);padding-block-start:var(--cb-padding-block);padding-block-end:var(--cb-padding-block);max-height:432px;position:fixed;bottom:var(--cb-offset);left:var(--cb-offset);right:var(--cb-offset);border-top-left-radius:var(--dt-radius-rounded-c);border-top-right-radius:var(--dt-radius-rounded-c);z-index:var(--dt-z-index-cookie-banner)}@media (min-width: 700px) and (orientation: landscape){.c-cookieBanner{--cb-padding-inline: var(--dt-spacing-f);--cb-offset: var(--dt-spacing-d);max-height:90%;border-bottom-left-radius:var(--dt-radius-rounded-c);border-bottom-right-radius:var(--dt-radius-rounded-c)}}.c-cookieBanner[isCookieBannerHidden]{display:none}@media (prefers-reduced-motion: no-preference){.c-cookieBanner{animation:.5s animate-enter ease-out}@keyframes animate-enter{0%{transform:translate3d(0,75%,0)}to{transform:translateZ(0)}}}.c-cookieBanner-title,.c-cookieBanner-body,.c-cookieBanner-actions{padding-inline-start:var(--cb-padding-inline);padding-inline-end:var(--cb-padding-inline)}.c-cookieBanner-title{--cb-title-font-size: var(--dt-font-heading-s-size--narrow);--cb-title-line-height: var(--dt-font-heading-s-line-height--narrow);font-size:calc(var(--cb-title-font-size) * 1px);font-weight:var(--dt-font-heading-s-weight);line-height:calc(var(--cb-title-line-height) * 1px)}@media (min-width: 700px) and (orientation: landscape){.c-cookieBanner-title{--cb-title-font-size: var(--dt-font-heading-s-size--wide);--cb-title-line-height: var(--dt-font-heading-s-line-height--wide)}}.c-cookieBanner-body{--cb-scroll-shadow-color: var(--dt-color-black);margin-block-start:var(--dt-spacing-a);max-height:200px;overflow-y:auto;background:linear-gradient(to bottom,transparent,var(--dt-color-background-dark) 75%) center bottom,linear-gradient(transparent,var(--cb-scroll-shadow-color)) center bottom;background-repeat:no-repeat;background-size:100% 48px,100% 8px;background-attachment:local,scroll}@media (min-width: 700px) and (orientation: landscape){.c-cookieBanner-body{max-height:150px}}.c-cookieBanner-actions{--cb-actions-flex-dir: column;margin-block-start:var(--dt-spacing-d);display:flex;gap:var(--dt-spacing-d);flex-direction:var(--cb-actions-flex-dir)}.c-cookieBanner-actions>pie-link{text-align:center;align-self:center}@media (min-width: 700px) and (orientation: landscape){.c-cookieBanner-actions{--cb-actions-flex-dir: row-reverse;justify-content:flex-start;align-items:center}}.c-cookieBanner-subheading{--cb-subheading-font-size: var(--dt-font-heading-s-size--narrow);--cb-subheading-line-height: var(--dt-font-heading-s-line-height--narrow);font-size:calc(var(--cb-subheading-font-size) * 1px);font-weight:var(--dt-font-heading-s-weight);line-height:calc(var(--cb-subheading-line-height) * 1px)}@media (min-width: 700px) and (orientation: landscape){.c-cookieBanner-subheading{--cb-subheading-font-size: var(--dt-font-heading-s-size--wide);--cb-subheading-line-height: var(--dt-font-heading-s-line-height--wide)}}.c-cookieBanner-description{font-size:calc(var(--dt-font-body-s-size) * 1px);line-height:calc(var(--dt-font-body-s-line-height) * 1px)}.c-cookieBanner-preference{display:flex;gap:var(--dt-spacing-d);justify-content:space-between;margin-block-start:var(--dt-spacing-e);margin-block-end:var(--dt-spacing-e)}.c-cookieBanner-preference p{margin-block-start:var(--dt-spacing-b)}.c-cookieBanner-preference:last-child{margin-block-end:0}"),zo([me()],e.PieCookieBanner.prototype,"_isCookieBannerHidden",2),zo([me()],e.PieCookieBanner.prototype,"_isModalOpen",2),zo([me()],e.PieCookieBanner.prototype,"_locale",2),zo([be({type:Boolean})],e.PieCookieBanner.prototype,"hasPrimaryActionsOnly",2),zo([be({type:Object})],e.PieCookieBanner.prototype,"defaultPreferences",2),zo([be({type:String})],e.PieCookieBanner.prototype,"cookieStatementLink",2),zo([be({type:String})],e.PieCookieBanner.prototype,"cookieTechnologiesLink",2),zo([be({type:String})],e.PieCookieBanner.prototype,"country",2),zo([be({type:String})],e.PieCookieBanner.prototype,"language",2),zo([be({type:Boolean})],e.PieCookieBanner.prototype,"openLinksInSameTab",2),zo([(So="pie-switch",(e,t)=>ue(e,t,{get(){return(this.renderRoot??fe??(fe=document.createDocumentFragment())).querySelectorAll(So)}}))],e.PieCookieBanner.prototype,"_preferencesNodes",2),e.PieCookieBanner=zo([Le("pie-cookie-banner")],e.PieCookieBanner);var Co=window.CustomEvent;function Mo(e,t){var i="on"+t.type.toLowerCase();return"function"==typeof e[i]&&e[i](t),e.dispatchEvent(t)}function Bo(e){for(;e;){if("dialog"===e.localName)return e;e=e.parentElement?e.parentElement:e.parentNode?e.parentNode.host:null}return null}function Oo(e){for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;e&&e.blur&&e!==document.body&&e.blur()}function To(e,t){for(var i=0;i<e.length;++i)if(e[i]===t)return!0;return!1}function Lo(e){return!(!e||!e.hasAttribute("method"))&&"dialog"===e.getAttribute("method").toLowerCase()}function Po(e){var t=["button","input","keygen","select","textarea"].map(function(e){return e+":not([disabled])"});t.push('[tabindex]:not([disabled]):not([tabindex=""])');var i=e.querySelector(t.join(", "));if(!i&&"attachShadow"in Element.prototype)for(var o=e.querySelectorAll("*"),n=0;n<o.length&&!(o[n].tagName&&o[n].shadowRoot&&(i=Po(o[n].shadowRoot),i));n++);return i}function No(e){return e.isConnected||document.body.contains(e)}function jo(e){if(e.submitter)return e.submitter;var t=e.target;if(!(t instanceof HTMLFormElement))return null;var i=Fo.formSubmitter;if(!i){var o=e.target;i=("getRootNode"in o&&o.getRootNode()||document).activeElement}return i&&i.form===t?i:null}function Io(e){if(!e.defaultPrevented){var t=e.target,i=Fo.imagemapUseValue,o=jo(e);null===i&&o&&(i=o.value);var n=Bo(t);if(n)"dialog"===(o&&o.getAttribute("formmethod")||t.getAttribute("method"))&&(e.preventDefault(),null!=i?n.close(i):n.close())}}function Do(e){if(this.dialog_=e,this.replacedStyleTop_=!1,this.openAsModal_=!1,e.hasAttribute("role")||e.setAttribute("role","dialog"),e.show=this.show.bind(this),e.showModal=this.showModal.bind(this),e.close=this.close.bind(this),e.addEventListener("submit",Io,!1),"returnValue"in e||(e.returnValue=""),"MutationObserver"in window){new MutationObserver(this.maybeHideModal.bind(this)).observe(e,{attributes:!0,attributeFilter:["open"]})}else{var t,i=!1,o=function(){i?this.downgradeModal():this.maybeHideModal(),i=!1}.bind(this),n=function(n){if(n.target===e){var r="DOMNodeRemoved";i|=n.type.substr(0,14)===r,window.clearTimeout(t),t=window.setTimeout(o,0)}};["DOMAttrModified","DOMNodeRemoved","DOMNodeRemovedFromDocument"].forEach(function(t){e.addEventListener(t,n)})}Object.defineProperty(e,"open",{set:this.setOpen.bind(this),get:e.hasAttribute.bind(e,"open")}),this.backdrop_=document.createElement("div"),this.backdrop_.className="backdrop",this.backdrop_.addEventListener("mouseup",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("mousedown",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("click",this.backdropMouseEvent_.bind(this))}(!Co||"object"==typeof Co)&&(Co=function(e,t){t=t||{};var i=document.createEvent("CustomEvent");return i.initCustomEvent(e,!!t.bubbles,!!t.cancelable,t.detail||null),i},Co.prototype=window.Event.prototype),Do.prototype={get dialog(){return this.dialog_},maybeHideModal:function(){this.dialog_.hasAttribute("open")&&No(this.dialog_)||this.downgradeModal()},downgradeModal:function(){this.openAsModal_&&(this.openAsModal_=!1,this.dialog_.style.zIndex="",this.replacedStyleTop_&&(this.dialog_.style.top="",this.replacedStyleTop_=!1),this.backdrop_.parentNode&&this.backdrop_.parentNode.removeChild(this.backdrop_),Fo.dm.removeDialog(this))},setOpen:function(e){e?this.dialog_.hasAttribute("open")||this.dialog_.setAttribute("open",""):(this.dialog_.removeAttribute("open"),this.maybeHideModal())},backdropMouseEvent_:function(e){if(this.dialog_.hasAttribute("tabindex"))this.dialog_.focus();else{var t=document.createElement("div");this.dialog_.insertBefore(t,this.dialog_.firstChild),t.tabIndex=-1,t.focus(),this.dialog_.removeChild(t)}var i=document.createEvent("MouseEvents");i.initMouseEvent(e.type,e.bubbles,e.cancelable,window,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),this.dialog_.dispatchEvent(i),e.stopPropagation()},focus_:function(){var e=this.dialog_.querySelector("[autofocus]:not([disabled])");!e&&this.dialog_.tabIndex>=0&&(e=this.dialog_),e||(e=Po(this.dialog_)),Oo(document.activeElement),e&&e.focus()},updateZIndex:function(e,t){if(e<t)throw new Error("dialogZ should never be < backdropZ");this.dialog_.style.zIndex=e,this.backdrop_.style.zIndex=t},show:function(){this.dialog_.open||(this.setOpen(!0),this.focus_())},showModal:function(){if(this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'showModal' on dialog: The element is already open, and therefore cannot be opened modally.");if(!No(this.dialog_))throw new Error("Failed to execute 'showModal' on dialog: The element is not in a Document.");if(!Fo.dm.pushDialog(this))throw new Error("Failed to execute 'showModal' on dialog: There are too many open modal dialogs.");(function(e){for(;e&&e!==document.body;){var t=window.getComputedStyle(e),i=function(e,i){return!(void 0===t[e]||t[e]===i)};if(t.opacity<1||i("zIndex","auto")||i("transform","none")||i("mixBlendMode","normal")||i("filter","none")||i("perspective","none")||"isolate"===t.isolation||"fixed"===t.position||"touch"===t.webkitOverflowScrolling)return!0;e=e.parentElement}return!1})(this.dialog_.parentElement)&&console.warn("A dialog is being shown inside a stacking context. This may cause it to be unusable. For more information, see this link: https://github.com/GoogleChrome/dialog-polyfill/#stacking-context"),this.setOpen(!0),this.openAsModal_=!0,Fo.needsCentering(this.dialog_)?(Fo.reposition(this.dialog_),this.replacedStyleTop_=!0):this.replacedStyleTop_=!1,this.dialog_.parentNode.insertBefore(this.backdrop_,this.dialog_.nextSibling),this.focus_()},close:function(e){if(!this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'close' on dialog: The element does not have an 'open' attribute, and therefore cannot be closed.");this.setOpen(!1),void 0!==e&&(this.dialog_.returnValue=e);var t=new Co("close",{bubbles:!1,cancelable:!1});Mo(this.dialog_,t)}};var Fo={reposition:function(e){var t=document.body.scrollTop||document.documentElement.scrollTop,i=t+(window.innerHeight-e.offsetHeight)/2;e.style.top=Math.max(t,i)+"px"},isInlinePositionSetByStylesheet:function(e){for(var t=0;t<document.styleSheets.length;++t){var i=document.styleSheets[t],o=null;try{o=i.cssRules}catch{}if(o)for(var n=0;n<o.length;++n){var r=o[n],a=null;try{a=document.querySelectorAll(r.selectorText)}catch{}if(a&&To(a,e)){var s=r.style.getPropertyValue("top"),l=r.style.getPropertyValue("bottom");if(s&&"auto"!==s||l&&"auto"!==l)return!0}}}return!1},needsCentering:function(e){return!("absolute"!==window.getComputedStyle(e).position||"auto"!==e.style.top&&""!==e.style.top||"auto"!==e.style.bottom&&""!==e.style.bottom)&&!Fo.isInlinePositionSetByStylesheet(e)},forceRegisterDialog:function(e){if((window.HTMLDialogElement||e.showModal)&&console.warn("This browser already supports <dialog>, the polyfill may not work correctly",e),"dialog"!==e.localName)throw new Error("Failed to register dialog: The element is not a dialog.");new Do(e)},registerDialog:function(e){e.showModal||Fo.forceRegisterDialog(e)},DialogManager:function(){this.pendingDialogStack=[];var e=this.checkDOM_.bind(this);this.overlay=document.createElement("div"),this.overlay.className="_dialog_overlay",this.overlay.addEventListener("click",function(t){this.forwardTab_=void 0,t.stopPropagation(),e([])}.bind(this)),this.handleKey_=this.handleKey_.bind(this),this.handleFocus_=this.handleFocus_.bind(this),this.zIndexLow_=1e5,this.zIndexHigh_=100150,this.forwardTab_=void 0,"MutationObserver"in window&&(this.mo_=new MutationObserver(function(t){var i=[];t.forEach(function(e){for(var t,o=0;t=e.removedNodes[o];++o)t instanceof Element&&("dialog"===t.localName&&i.push(t),i=i.concat(t.querySelectorAll("dialog")))}),i.length&&e(i)}))}};if(Fo.DialogManager.prototype.blockDocument=function(){document.documentElement.addEventListener("focus",this.handleFocus_,!0),document.addEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.observe(document,{childList:!0,subtree:!0})},Fo.DialogManager.prototype.unblockDocument=function(){document.documentElement.removeEventListener("focus",this.handleFocus_,!0),document.removeEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.disconnect()},Fo.DialogManager.prototype.updateStacking=function(){for(var e,t=this.zIndexHigh_,i=0;e=this.pendingDialogStack[i];++i)e.updateZIndex(--t,--t),0===i&&(this.overlay.style.zIndex=--t);var o=this.pendingDialogStack[0];o?(o.dialog.parentNode||document.body).appendChild(this.overlay):this.overlay.parentNode&&this.overlay.parentNode.removeChild(this.overlay)},Fo.DialogManager.prototype.containedByTopDialog_=function(e){for(;e=Bo(e);){for(var t,i=0;t=this.pendingDialogStack[i];++i)if(t.dialog===e)return 0===i;e=e.parentElement}return!1},Fo.DialogManager.prototype.handleFocus_=function(e){var t=e.composedPath?e.composedPath()[0]:e.target;if(!this.containedByTopDialog_(t)&&document.activeElement!==document.documentElement&&(e.preventDefault(),e.stopPropagation(),Oo(t),void 0!==this.forwardTab_)){var i=this.pendingDialogStack[0];return i.dialog.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING&&(this.forwardTab_?i.focus_():t!==document.documentElement&&document.documentElement.focus()),!1}},Fo.DialogManager.prototype.handleKey_=function(e){if(this.forwardTab_=void 0,27===e.keyCode){e.preventDefault(),e.stopPropagation();var t=new Co("cancel",{bubbles:!1,cancelable:!0}),i=this.pendingDialogStack[0];i&&Mo(i.dialog,t)&&i.dialog.close()}else 9===e.keyCode&&(this.forwardTab_=!e.shiftKey)},Fo.DialogManager.prototype.checkDOM_=function(e){this.pendingDialogStack.slice().forEach(function(t){-1!==e.indexOf(t.dialog)?t.downgradeModal():t.maybeHideModal()})},Fo.DialogManager.prototype.pushDialog=function(e){var t=(this.zIndexHigh_-this.zIndexLow_)/2-1;return!(this.pendingDialogStack.length>=t)&&(1===this.pendingDialogStack.unshift(e)&&this.blockDocument(),this.updateStacking(),!0)},Fo.DialogManager.prototype.removeDialog=function(e){var t=this.pendingDialogStack.indexOf(e);-1!==t&&(this.pendingDialogStack.splice(t,1),0===this.pendingDialogStack.length&&this.unblockDocument(),this.updateStacking())},Fo.dm=new Fo.DialogManager,Fo.formSubmitter=null,Fo.imagemapUseValue=null,void 0===window.HTMLDialogElement){var Ro=document.createElement("form");if(Ro.setAttribute("method","dialog"),"dialog"!==Ro.method){var Ho=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"method");if(Ho){var Vo=Ho.get;Ho.get=function(){return Lo(this)?"dialog":Vo.call(this)};var Wo=Ho.set;Ho.set=function(e){return"string"==typeof e&&"dialog"===e.toLowerCase()?this.setAttribute("method",e):Wo.call(this,e)},Object.defineProperty(HTMLFormElement.prototype,"method",Ho)}}document.addEventListener("click",function(e){if(Fo.formSubmitter=null,Fo.imagemapUseValue=null,!e.defaultPrevented){var t=e.target;if("composedPath"in e)t=e.composedPath().shift()||t;if(t&&Lo(t.form)){if(!("submit"===t.type&&["button","input"].indexOf(t.localName)>-1)){if("input"!==t.localName||"image"!==t.type)return;Fo.imagemapUseValue=e.offsetX+","+e.offsetY}Bo(t)&&(Fo.formSubmitter=t)}}},!1),document.addEventListener("submit",function(e){var t=e.target;if(!Bo(t)){var i=jo(e);"dialog"===(i&&i.getAttribute("formmethod")||t.getAttribute("method"))&&e.preventDefault()}});var Uo=HTMLFormElement.prototype.submit;HTMLFormElement.prototype.submit=function(){if(!Lo(this))return Uo.call(this);var e=Bo(this);e&&e.close()}}const qo=Object.freeze(Object.defineProperty({__proto__:null,default:Fo},Symbol.toStringTag,{value:"Module"})),Ko=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Бисквитки",description:"Използваме наши собствени бисквитки и бисквитки на трети страни и друга технология, за да усъвършенстваме и персонализираме изживяването ти като потребител, за да оптимизираме статистиката и да показваме реклами на трети страни (прочети нашата <linkStatement>декларация</linkStatement>). Винаги настройваме необходимите бисквитки. Кликни върху <linkNecessaryOnly>Само необходимите</linkNecessaryOnly>, за да продължиш, без да приемаш други. Кликни върху <linkManagePreferences>Управление на предпочитанията</linkManagePreferences>, за да споделиш своите предпочитания или <linkAcceptAll>приеми всички</linkAcceptAll>.",cta:{managePreferences:"Управление на предпочитанията",necessaryOnly:"Само необходимите",acceptAll:"Приемане на всички"}},preferencesManagement:{title:"Управление на предпочитанията",description:"Можеш да намериш цялата информация в <linkCookieStatement>Декларацията за бисквитки</linkCookieStatement> и Списъка с <linkCookieTechList>технологии за бисквитки</linkCookieTechList>.",all:{title:"Включи всички"},necessary:{title:"Необходими",description:"Тези бисквитки са необходими, за да се гарантира правилното функциониране на уебсайта и неговите свойства. Заявените от теб услуги не могат да се предоставят без тези бисквитки."},functional:{title:"Функционални",description:"Тези бисквитки позволяват на уебсайта да запомни направените от теб избори за осигуряване на по-добра функционалност и персонализирани функции."},analytical:{title:"Аналитични",description:"Тези аналитични бисквитки, включително за статистически данни, се използват за разбиране начина, по който посетителите взаимодействат с уебсайта, за да можем да измерваме и подобряваме ефективността на нашия уебсайт."},personalized:{title:"Персонализирани (целеви и рекламни)",description:"Тези маркетингови бисквитки се използват за персонализиране предоставянето на информация на теб въз основа на твоя интерес и за измерване на ефективността на такива реклами на нашия уебсайт и на уебсайтовете на рекламните ни партньори."},cta:{save:{label:"Запази",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),Go=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Galetes",description:"Utilitzem galetes pròpies i de tercers, així com altres tecnologies per millorar i personalitzar la teva experiència d’usuari, optimitzar l’anàlisi i mostrar anuncis amb tercers (llegeix la nostra <linkStatement>Declaració</linkStatement>). Les galetes necessàries sempre estan definides. Fes clic a <linkNecessaryOnly>Només necessàries</linkNecessaryOnly> per continuar sense acceptar-ne més. Fes clic a <linkManagePreferences>Gestionar preferències</linkManagePreferences> per compartir les teves preferències o <linkAcceptAll>Acceptar-les totes</linkAcceptAll>.",cta:{managePreferences:"Gestionar preferències",necessaryOnly:"Només necessàries",acceptAll:"Acceptar-les totes"}},preferencesManagement:{title:"Gestiona les teves preferències",description:"Pots trobar tota la informació a la <linkCookieStatement>Declaració de galetes</linkCookieStatement> i a la <linkCookieTechList>llista de tecnologies de galetes</linkCookieTechList>.",all:{title:"Activar-les totes"},necessary:{title:"Necessàries",description:"Aquestes galetes són necessàries per garantir que el lloc web i les seves característiques funcionin adequadament. Els serveis que has demanat no es poden oferir sense aquestes galetes."},functional:{title:"Funcionals",description:"Aquestes galetes permeten que el lloc web recordi les eleccions que fas per oferir-te una millor funcionalitat i característiques personals."},analytical:{title:"Analítiques",description:"Aquestes galetes analítiques, incloses les estadístiques, s’utilitzen per entendre com interaccionen els visitants amb el lloc web i per poder mesurar i millorar el rendiment del nostre lloc web."},personalized:{title:"Personalitzades (orientació i publicitat)",description:"Aquestes galetes de màrqueting s’utilitzen per adaptar el lliurament de la informació en funció del teu interès i per mesurar l’eficàcia d’aquests anuncis, tant al nostre lloc web com als llocs web dels nostres socis publicitaris."},cta:{save:{label:"Desar",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),Zo=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Cookies",description:"Vi bruger vores egne og tredjepartscookies og anden teknologi til at forbedre og tilpasse din brugeroplevelse, optimere analyser og vise annoncer med tredjeparter (læs vores <linkStatement>erklæring</linkStatement>). Vi bruger altid nødvendige cookier. Klik på <linkNecessaryOnly>Kun nødvendige</linkNecessaryOnly> for at fortsætte uden at acceptere flere. Klik på <linkManagePreferences>Administrer præferencer</linkManagePreferences> for at dele dine præferencer eller <linkAcceptAll>Accepter alle</linkAcceptAll>.",cta:{managePreferences:"Administrer præferencer",necessaryOnly:"Kun nødvendige",acceptAll:"Accepter alle"}},preferencesManagement:{title:"Administrer præferencer",description:"Du kan finde alle oplysningerne i <linkCookieStatement>cookie-erklæringen</linkCookieStatement> og <linkCookieTechList>cookie-teknologilisten</linkCookieTechList>.",all:{title:"Aktiver alle"},necessary:{title:"Nødvendige",description:" Disse cookier er nødvendige for at sikre, at hjemmesiden og dens funktioner fungerer korrekt. Tjenester, som du har bedt om, kan ikke leveres uden disse cookier."},functional:{title:"Funktionelle",description:" Disse cookier gør det muligt for hjemmesiden at huske de valg, du træffer, for at give dig bedre funktionalitet og personlige funktioner."},analytical:{title:"Analytiske",description:" Disse analytiske cookier, herunder statistiske, bruges til at forstå, hvordan besøgende interagerer med hjemmesiden, og vi kan måle og forbedre vores hjemmesides ydeevne."},personalized:{title:"Personlige (målretning og annoncering)",description:"Disse markedsføringscookier bruges til at skræddersy leveringen af oplysninger til dig baseret på dine interesser og til at måle effektiviteten af sådanne annoncer, både på vores hjemmeside og vores annonceringspartneres hjemmesider."},cta:{save:{label:"Gem",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),Yo=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Cookies",description:"Wir nutzen unsere eigenen Cookies und die von Drittanbietern sowie andere Technologien, um dein Nutzererlebnis zu verbessern und zu personalisieren, um Analysen zur Optimierung durchzuführen und um Werbung in Partnerschaft mit Dritten zu schalten (siehe unsere <linkStatement>Hinweise</linkStatement>). Die notwendigen Cookies werden immer gesetzt. Klicke auf <linkNecessaryOnly>Nur notwendige</linkNecessaryOnly>, um fortzufahren, ohne weitere anzunehmen. Klicke auf <linkManagePreferences>Einstellungen verwalten</linkManagePreferences>, um deine Einstellungen zu aktualisieren, oder auf <linkAcceptAll>Alle annehmen</linkAcceptAll>.",cta:{managePreferences:"Einstellungen verwalten",necessaryOnly:"Nur notwendige",acceptAll:"Alle annehmen"}},preferencesManagement:{title:"Deine Einstellungen verwalten",description:"Alle Informationen findest du in der <linkCookieStatement>Cookie-Erklärung</linkCookieStatement> und der <linkCookieTechList>Cookie-Technologie-Liste</linkCookieTechList>.",all:{title:"Alle aktivieren"},necessary:{title:"Notwendig",description:"Diese Cookies sind notwendig, um sicherzustellen, dass die Webseite und ihre Funktionen ordnungsgemäß funktionieren. Die von dir angeforderten Dienste können ohne diese Cookies nicht bereitgestellt werden."},functional:{title:"Funktional",description:"Diese Cookies ermöglichen es der Webseite, sich an die von dir getroffenen Entscheidungen zu erinnern, um dir eine bessere Funktionalität und individuelle Funktionen zu bieten."},analytical:{title:"Analytisch",description:"Diese analytischen Cookies, einschließlich Statistiken, werden verwendet, um zu verstehen, wie Besucher mit der Webseite interagieren, und wir können die Leistung unserer Webseite messen und verbessern."},personalized:{title:"Personalisiert (Targeting und Werbung)",description:"Diese Marketing-Cookies werden verwendet, um die Übermittlung von Informationen an dich auf deine Interessen abzustimmen und um die Effektivität solcher Werbung zu messen, sowohl auf unserer Webseite als auch auf den Webseiten unserer Werbepartner."},cta:{save:{label:"Speichern",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),Xo=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Cookies",description:"We use our own and third party cookies and other tech to enhance and personalise your user experience, optimize analytics, and show ads with third parties (read our <linkStatement>Statement</linkStatement>). Necessary cookies are always set. Select <linkNecessaryOnly>Continue without accepting</linkNecessaryOnly> to accept only essential trackers required for an optimal use of our platform. Click <linkManagePreferences>Manage preferences</linkManagePreferences> to share your preferences or <linkAcceptAll>Accept all</linkAcceptAll>.",cta:{managePreferences:"Manage preferences",necessaryOnly:"Continue without accepting",acceptAll:"Accept all"}},preferencesManagement:{title:"Manage your preferences",description:"You can find all the information in the <linkCookieStatement>Cookie Statement</linkCookieStatement> and <linkCookieTechList>Cookie technology list</linkCookieTechList>.",all:{title:"Turn all on"},necessary:{title:"Necessary Technologies",description:"These technologies are necessary to ensure that the website and its features function properly. Services you have asked for cannot be provided without these technologies."},functional:{title:"Functional Technologies",description:"These technologies allow the website to remember the choices you make to give you better functionality and personal features."},analytical:{title:"Analytical Technologies",description:"These analytical technologies, including statistics, are used to understand how visitors interact with the website and we can measure and improve the performance of our website."},personalized:{title:"Personalised (targeting and advertising) Technologies",description:"These marketing technologies are used to tailor the delivery of information to you based upon your interest and to measure the effectiveness of such advertisements, both on our website and our advertising partners' websites."},cta:{save:{label:"Save",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),Qo=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Cookies",description:"Usamos nuestras propias cookies y de terceros, así como otra tecnología para mejorar y personalizar tu experiencia de usuario, optimizar el análisis y mostrar anuncios con terceros (lee nuestra <linkStatement>Declaración</linkStatement>). Siempre se establecen las cookies necesarias. Haz clic en <linkNecessaryOnly>Sólo necesarias</linkNecessaryOnly> para seguir sin aceptar más. Haz clic en <linkManagePreferences>Gestionar preferencias</linkManagePreferences> para compartir tus preferencias o <linkAcceptAll>Aceptarlas todas</linkAcceptAll>.",cta:{managePreferences:"Gestionar preferencias",necessaryOnly:"Sólo necesarias",acceptAll:"Aceptarlas todas"}},preferencesManagement:{title:"Gestionar tus preferencias",description:"Puedes encontrar toda la información en la <linkCookieStatement>Declaración sobre cookies</linkCookieStatement> y la <linkCookieTechList>Lista de tecnología de cookies</linkCookieTechList>.",all:{title:"Activar todas"},necessary:{title:"Necesarias",description:"Estas cookies son necesarias para garantizar que el sitio web y sus funciones funcionen correctamente. Los servicios que has solicitado no se pueden proporcionar sin estas cookies."},functional:{title:"Funcionales",description:"Estas cookies permiten que el sitio web recuerde las opciones que eliges para ofrecerte una mejor funcionalidad y características personales."},analytical:{title:"Analíticas",description:"Estas cookies analíticas, incluidas las estadísticas, se utilizan para comprender cómo interactúan los visitantes con el sitio web y para que podamos medir y mejorar el rendimiento de nuestro sitio web."},personalized:{title:"Personalizadas (dirigidas y de publicidad)",description:"Estas cookies de marketing se utilizan para adaptar la entrega de información en función de tu interés y para medir la eficacia de dichos anuncios, tanto en nuestro sitio web como en los sitios web de nuestros socios publicitarios."},cta:{save:{label:"Guardar",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),Jo=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Cookies",description:"Nous utilisons nos propres cookies et ceux de tiers, ainsi que d’autres technologies, afin d’améliorer et de personnaliser votre expérience d’utilisateur, d’optimiser nos analyses et d’afficher des publicités en partenariat avec des tiers (veuillez consulter notre <linkStatement>déclaration</linkStatement>). Nous installons toujours les cookies essentiels. Sélectionnez <linkNecessaryOnly>Continuer sans accepter</linkNecessaryOnly> pour accepter seulement les traqueurs nécessaires au fonctionnement optimal de notre plateforme. Cliquez sur <linkManagePreferences>Gérer les préférences</linkManagePreferences> pour choisir vous-même vos cookies ou sur <linkAcceptAll>Tout accepter</linkAcceptAll>.",cta:{managePreferences:"Gérer les préférences",necessaryOnly:"Continuer sans accepter",acceptAll:"Tout accepter"}},preferencesManagement:{title:"Gérer vos préférences",description:"Vous trouverez toutes les informations dans la <linkCookieStatement>déclaration relative aux technologies</linkCookieStatement> et dans la liste des <linkCookieTechList>technologies relatives aux technologies</linkCookieTechList>.",all:{title:"Tout activer"},necessary:{title:"Technologies nécessaires",description:"Ces technologies sont indispensables au bon fonctionnement du site Web et de ses fonctionnalités. Les services que vous avez demandés ne peuvent être fournis sans ces technologies."},functional:{title:"Technologies fonctionnelles",description:"Ces technologies permettent au site Web de se souvenir de vos choix pour vous offrir de meilleures fonctionnalités et une expérience personnalisée."},analytical:{title:"Technologies analytiques",description:"Les technologies analytiques, incluant des technologies statistiques, sont utilisés pour comprendre comment les visiteurs interagissent avec le site Web. Ils nous permettent d’en mesurer et d’en améliorer les performances."},personalized:{title:"Technologies personnalisées (ciblage et publicité)",description:"Ces technologies marketing sont utilisés pour adapter les informations affichées à vos centres d’intérêt et pour mesurer l’efficacité de ces publicités, à la fois sur notre site Web et sur les sites Web de nos partenaires publicitaires."},cta:{save:{label:"Enregistrer",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),en=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Cookies",description:"Nous utilisons nos propres cookies et ceux de tiers, ainsi que d’autres technologies, afin d’améliorer et de personnaliser votre expérience d’utilisateur, d’optimiser nos analyses et d’afficher des publicités en partenariat avec des tiers (veuillez consulter notre <linkStatement>déclaration</linkStatement>). Nous installons toujours les cookies essentiels. Cliquez sur <linkNecessaryOnly>Cookies essentiels uniquement</linkNecessaryOnly> pour continuer en acceptant uniquement les cookies indispensables. Cliquez sur <linkManagePreferences>Gérer les préférences</linkManagePreferences> pour choisir vous-même vos cookies ou sur <linkAcceptAll>Tout accepter</linkAcceptAll>.",cta:{managePreferences:"Gérer les préférences",necessaryOnly:"Cookies essentiels uniquement",acceptAll:"Tout accepter"}},preferencesManagement:{title:"Gérer vos préférences",description:"Vous trouverez toutes les informations dans la <linkCookieStatement>déclaration relative aux cookies</linkCookieStatement> et dans la liste des <linkCookieTechList>technologies relatives aux cookies</linkCookieTechList>.",all:{title:"Tout activer"},necessary:{title:"Cookies essentiels",description:"Ces cookies sont indispensables au bon fonctionnement du site Web et de ses fonctionnalités. Les services que vous avez demandés ne peuvent être fournis sans ces cookies."},functional:{title:"Cookies fonctionnels",description:"Ces cookies permettent au site Web de se souvenir de vos choix pour vous offrir de meilleures fonctionnalités et une expérience personnalisée."},analytical:{title:"Cookies analytiques",description:"Les cookies analytiques, incluant des cookies statistiques, sont utilisés pour comprendre comment les visiteurs interagissent avec le site Web. Ils nous permettent d’en mesurer et d’en améliorer les performances."},personalized:{title:"Cookies de ciblage (publicitaires)",description:"Ces cookies marketing sont utilisés pour adapter les informations affichées à vos centres d’intérêt et pour mesurer l’efficacité de ces publicités, à la fois sur notre site Web et sur les sites Web de nos partenaires publicitaires."},cta:{save:{label:"Enregistrer",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),tn=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"קובצי Cookie",description:"אנו משתמשים בקובצי Cookie ובטכנולוגיות נוספות שלנו ושל צדדים שלישיים כדי לשפר ולהתאים אישית את חוויית המשתמש שלכם, למטב ניתוח נתונים ולהציג פרסומות עם צדדים שלישיים (קראו את <linkStatement>ההצהרה</linkStatement> שלנו). קובצי Cookie הכרחיים תמיד נמצאים בשימוש. לחצו על <linkNecessaryOnly>הכרחי בלבד</linkNecessaryOnly> כדי להמשיך בלי להסכים לסוגים אחרים. לחצו על <linkManagePreferences>ניהול העדפות</linkManagePreferences> כדי לשתף את העדפותיכם או לחצו על <linkAcceptAll>הסכם להכול</linkAcceptAll>.",cta:{managePreferences:"ניהול העדפות",necessaryOnly:"הכרחי בלבד",acceptAll:"הסכם להכול"}},preferencesManagement:{title:"ניהול ההעדפות של",description:"תוכל למצוא את כל המידע <linkCookieStatement>בהצהרת</linkCookieStatement> קובצי ה-Cookie וכן <linkCookieTechList>ברשימת הטכנולוגיה</linkCookieTechList> של קובצי ה-Cookie.",all:{title:"להפעלת הכול"},necessary:{title:"הכרחי",description:"קובצי Cookie אלה הכרחיים כדי להבטיח שאתר האינטרנט והתכונות שלו מתפקדים כראוי. לא ניתן לספק את השירותים שביקשתם ללא קובצי Cookie אלה."},functional:{title:"תפקודיים",description:"קובצי Cookie אלה מאפשרים לאתר האינטרנט לזכור את הבחירות שאתם עושים כדי לספק לכם חוויה מותאמת אישית ותפקודיות טובה יותר."},analytical:{title:"ניתוח נתונים",description:"קובצי Cookie אלה לניתוח נתונים, כולל נתונים סטטיסטיים, משמשים כדי להבין כיצד מבקרים מקיימים אינטראקציה עם אתר האינטרנט וכדי לאפשר לנו למדוד ולשפר את הביצועים של אתר האינטרנט שלנו."},personalized:{title:"התאמה אישית (מיקוד ופרסום)",description:"קובצי Cookie שיווקיים אלה משמשים כדי להתאים אישית את המידע הנמסר לכם על סמך תחומי העניין שלכם וכדי למדוד את היעילות של פרסומות כאלה, הן באתר האינטרנט שלנו והן באתרי האינטרנט של שותפי הפרסום שלנו."},cta:{save:{label:"שמירה",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),on=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Cookie",description:"Usiamo cookie nostri e di terze parti e altre tecnologie per migliorare e personalizzare la tua esperienza utente, ottimizzare l’analisi dei dati e mostrare annunci pubblicitari in collaborazione con terze parti (leggi la nostra <linkStatement>Informativa</linkStatement>). I cookie necessari sono sempre attivi. Premi Solo <linkNecessaryOnly>necessari</linkNecessaryOnly> per proseguire senza accettare altri cookie. Apri <linkManagePreferences>Gestisci preferenze</linkManagePreferences> per scegliere quali cookie attivare, oppure premi <linkAcceptAll>Accetta tutti</linkAcceptAll> per attivare tutti i cookie.",cta:{managePreferences:"Gestisci preferenze",necessaryOnly:"Solo necessari",acceptAll:"Accetta tutti"}},preferencesManagement:{title:"Gestisci le tue preferenze",description:"Tutti i dettagli sono disponibili nell’<linkCookieStatement>Informativa sui cookie</linkCookieStatement> e nell’Elenco delle <linkCookieTechList>tecnologie cookie</linkCookieTechList>.",all:{title:"Attiva tutti"},necessary:{title:"Necessari",description:"Questi cookie servono a garantire che il sito web e le sue componenti funzionino correttamente. Senza i cookie necessari, i servizi da te richiesti non possono essere forniti."},functional:{title:"Funzionali",description:"Questi cookie consentono al sito web di memorizzare le scelte effettuate dall’utente per offrire una migliore funzionalità e personalizzazione."},analytical:{title:"Analitici",description:"Questi cookie, che includono le statistiche, ci consentono di capire come i visitatori interagiscono con il nostro sito web per misurarne e migliorarne le prestazioni."},personalized:{title:"Personalizzati (targeting e pubblicità)",description:"Questi cookie, detti di profilazione, vengono usati per personalizzare le informazioni trasmesse all’utente in base ai suoi interessi e per misurare l’efficacia delle pubblicità, sia sul nostro sito web sia sui siti web dei nostri partner pubblicitari."},cta:{save:{label:"Salva",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),nn=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Cookies",description:"Wij gebruiken onze eigen cookies, cookies van derde partijen en andere technieken om jouw gebruikerservaring te verbeteren en te personaliseren, analyses te optimaliseren en om advertenties met derde partijen te laten zien (lees onze <linkStatement>privacyverklaring</linkStatement>). Wij plaatsen altijd noodzakelijke cookies. Klik op <linkNecessaryOnly>Alleen noodzakelijk</linkNecessaryOnly> om door te gaan zonder meer te accepteren. Klik op <linkManagePreferences>Beheer voorkeuren</linkManagePreferences> om je voorkeuren te delen of <linkAcceptAll>Alles accepteren</linkAcceptAll>.",cta:{managePreferences:"Beheer voorkeuren",necessaryOnly:"Alleen noodzakelijk",acceptAll:"Alles accepteren"}},preferencesManagement:{title:"Beheer je voorkeuren",description:"Je vindt alle informatie in de <linkCookieStatement>Cookieverklaring</linkCookieStatement> en de <linkCookieTechList>Cookietechnologielijst</linkCookieTechList>.",all:{title:"Zet alles aan"},necessary:{title:"Noodzakelijk",description:" Deze cookies zijn noodzakelijk voor een goede werking van de website en alle functies. Zonder deze cookies kunnen je gevraagde diensten niet worden geleverd."},functional:{title:"Functioneel",description:" Met deze cookies kan de website de keuzes die je maakt onthouden om je een betere functionaliteit en persoonlijke functies te bieden."},analytical:{title:"Analytisch",description:"Deze analytische cookies, waaronder statistieken, worden gebruikt om te begrijpen hoe bezoekers de website gebruiken, zodat wij de prestaties van onze website kunnen meten en verbeteren."},personalized:{title:"Gepersonaliseerd (targeting en reclame)",description:"Deze marketingcookies worden gebruikt om de informatievoorziening af te stemmen op jouw interesses en om de effectiviteit van dergelijke advertenties te meten. Zowel op onze website als op de websites van onze reclamepartners."},cta:{save:{label:"Opslaan",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),rn=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Pliki cookie",description:"Używamy własnych plików cookie, plików stron trzecich oraz innych technologii mających na celu ulepszanie i personalizowanie doświadczeń użytkownika, optymalizację analiz i wyświetlanie reklam stronom trzecim (czytaj nasze <linkStatement>Oświadczenie</linkStatement>). Zawsze umieszczamy na urządzeniu użytkownika niezbędne pliki cookie. Kliknij <linkNecessaryOnly>Tylko niezbędne</linkNecessaryOnly>, aby kontynuować bez akceptowania kolejnych. Kliknij <linkManagePreferences>Zarządzaj ustawieniami</linkManagePreferences>, aby udostępnić ustawienia lub <linkAcceptAll>akceptować wszystkie</linkAcceptAll>.",cta:{managePreferences:"Zarządzaj ustawieniami",necessaryOnly:"Tylko niezbędne",acceptAll:"Zaakceptuj wszystkie"}},preferencesManagement:{title:"Zarządzaj swoimi ustawieniami",description:"Wszystkie informacje można znaleźć w <linkCookieStatement>Oświadczeniu o plikach cookie</linkCookieStatement> i na liście <linkCookieTechList>technologii plików cookie</linkCookieTechList>.",all:{title:"Włącz wszystkie"},necessary:{title:"Niezbędne",description:"Te pliki cookie są niezbędne do zapewnienia prawidłowego działania witryny internetowej i jej funkcji. Usługi, o które użytkownik poprosił, nie mogą być świadczone bez tych plików cookie."},functional:{title:"Związane z funkcjonalnością",description:"Te pliki cookie umożliwiają witrynie zapamiętanie wyborów dokonanych przez użytkownika, aby zapewnić mu lepszą funkcjonalność i obsługę funkcji osobistych."},analytical:{title:"Analityczne",description:"Te analityczne pliki cookie, w tym związane ze statystykami, są wykorzystywane do zrozumienia, w jaki sposób odwiedzający wchodzą w interakcję z witryną internetową oraz jak możemy mierzyć i poprawiać wydajność naszej witryny internetowej."},personalized:{title:"Spersonalizowane (targetowanie i reklama)",description:"Te marketingowe pliki cookie są wykorzystywane w celu dostosowania dostarczania informacji użytkownikowi w oparciu o jego zainteresowania oraz w celu pomiaru skuteczności takich reklam, zarówno na naszej stronie internetowej, jak i na stronach internetowych naszych partnerów reklamowych."},cta:{save:{label:"Zapisz",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),an=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Súbory cookie",description:"Na zlepšenie a prispôsobenie používateľského prostredia, optimalizáciu analýz a zobrazovanie reklám tretích strán používame vlastné súbory cookie a súbory cookie tretích strán (prečítajte si naše <linkStatement>Vyhlásenie</linkStatement>). Nevyhnutné súbory cookie sú nastavené vždy. Kliknutím na tlačidlo <linkNecessaryOnly>Iba nevyhnutné</linkNecessaryOnly> môžeš pokračovať bez ďalších súborov cookie. Kliknutím na <linkManagePreferences>Spravovať preferencie</linkManagePreferences> môžeš zdieľať svoje preferencie, alebo kliknúť na <linkAcceptAll>Prijať všetko</linkAcceptAll>.",cta:{managePreferences:"Spravovať preferencie",necessaryOnly:"Iba nevyhnutné",acceptAll:"Prijať všetko"}},preferencesManagement:{title:"Spravovať svoje preferencie",description:"Všetky informácie o našom používaní súborov cookie nájdeš vo <linkCookieStatement>Vyhlásení o súboroch cookie</linkCookieStatement> a zozname <linkCookieTechList>technológie súborov cookie</linkCookieTechList>.",all:{title:"Zapnúť všetky"},necessary:{title:"Nevyhnutné",description:"Tieto súbory cookie sú potrebné na zabezpečenie správneho fungovania webovej stránky a jej funkcií. Služby, o ktoré si požiadal/a, nie je možné poskytovať bez týchto súborov cookie."},functional:{title:"Funkčné",description:"Tieto súbory cookie umožňujú webovej stránke zapamätať si tvoje voľby, aby ti poskytla lepšiu funkčnosť a personalizované funkcie."},analytical:{title:"Analytické",description:"Tieto analytické súbory cookie, vrátane štatistík, sa používajú na pochopenie toho, ako návštevníci interagujú s webovou stránkou, a umožňujú nám merať a zlepšovať výkonnosť našej webovej stránky."},personalized:{title:"Personalizované (zameriavanie a reklama)",description:"Tieto marketingové súbory cookie sa používajú na prispôsobenie poskytovania informácií na základe tvojho záujmu a meranie účinnosti takýchto reklám na našich webových stránkach a webových stránkach našich reklamných partnerov."},cta:{save:{label:"Uložiť",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"}));return e.Country=vo,e.Language=po,e.ON_COOKIE_BANNER_ACCEPT_ALL=bo,e.ON_COOKIE_BANNER_MANAGE_PREFS=uo,e.ON_COOKIE_BANNER_NECESSARY_ONLY=mo,e.ON_COOKIE_BANNER_PREFS_SAVED=go,e.availableLocales=ko,e.defaultLocaleForCountry=wo,e.defaultProps=yo,e.preferences=fo,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e}({});
|
|
354
|
+
</aside>`}},e.PieCookieBanner.styles=s("*,*:after,*:before{box-sizing:inherit}*{margin:0}.c-cookieBanner{--cb-font-family: var(--dt-font-interactive-l-family);--cb-font-size: calc(var(--dt-font-body-l-size) * 1px);--cb-line-height: calc(var(--dt-font-body-l-line-height) * 1px);--cb-font-weight: var(--dt-font-body-l-weight);--cb-padding-inline: var(--dt-spacing-d);--cb-padding-block: var(--dt-spacing-d);--cb-offset: 0;color-scheme:only dark;background-color:var(--dt-color-background-dark);color:var(--dt-color-content-inverse);font-family:var(--cb-font-family);font-size:var(--cb-font-size);line-height:var(--cb-line-height);font-weight:var(--cb-font-weight);padding-block-start:var(--cb-padding-block);padding-block-end:var(--cb-padding-block);max-height:432px;position:fixed;bottom:var(--cb-offset);left:var(--cb-offset);right:var(--cb-offset);border-top-left-radius:var(--dt-radius-rounded-c);border-top-right-radius:var(--dt-radius-rounded-c);z-index:var(--dt-z-index-cookie-banner)}@media (min-width: 700px) and (orientation: landscape){.c-cookieBanner{--cb-padding-inline: var(--dt-spacing-f);--cb-offset: var(--dt-spacing-d);max-height:90%;border-bottom-left-radius:var(--dt-radius-rounded-c);border-bottom-right-radius:var(--dt-radius-rounded-c)}}.c-cookieBanner[isCookieBannerHidden]{display:none}@media (prefers-reduced-motion: no-preference){.c-cookieBanner{animation:.5s animate-enter ease-out}@keyframes animate-enter{0%{transform:translate3d(0,75%,0)}to{transform:translateZ(0)}}}.c-cookieBanner-title,.c-cookieBanner-body,.c-cookieBanner-actions{padding-inline-start:var(--cb-padding-inline);padding-inline-end:var(--cb-padding-inline)}.c-cookieBanner-title{--cb-title-font-size: var(--dt-font-heading-s-size--narrow);--cb-title-line-height: var(--dt-font-heading-s-line-height--narrow);font-size:calc(var(--cb-title-font-size) * 1px);font-weight:var(--dt-font-heading-s-weight);line-height:calc(var(--cb-title-line-height) * 1px)}@media (min-width: 700px) and (orientation: landscape){.c-cookieBanner-title{--cb-title-font-size: var(--dt-font-heading-s-size--wide);--cb-title-line-height: var(--dt-font-heading-s-line-height--wide)}}.c-cookieBanner-body{--cb-scroll-shadow-color: var(--dt-color-black);margin-block-start:var(--dt-spacing-a);max-height:200px;overflow-y:auto;background:linear-gradient(to bottom,transparent,var(--dt-color-background-dark) 75%) center bottom,linear-gradient(transparent,var(--cb-scroll-shadow-color)) center bottom;background-repeat:no-repeat;background-size:100% 48px,100% 8px;background-attachment:local,scroll}@media (min-width: 700px) and (orientation: landscape){.c-cookieBanner-body{max-height:150px}}.c-cookieBanner-actions{--cb-actions-flex-dir: column;margin-block-start:var(--dt-spacing-d);display:flex;gap:var(--dt-spacing-d);flex-direction:var(--cb-actions-flex-dir)}.c-cookieBanner-actions>pie-link{text-align:center;align-self:center}@media (min-width: 700px) and (orientation: landscape){.c-cookieBanner-actions{--cb-actions-flex-dir: row-reverse;justify-content:flex-start;align-items:center}}.c-cookieBanner-subheading{--cb-subheading-font-size: var(--dt-font-heading-s-size--narrow);--cb-subheading-line-height: var(--dt-font-heading-s-line-height--narrow);font-size:calc(var(--cb-subheading-font-size) * 1px);font-weight:var(--dt-font-heading-s-weight);line-height:calc(var(--cb-subheading-line-height) * 1px)}@media (min-width: 700px) and (orientation: landscape){.c-cookieBanner-subheading{--cb-subheading-font-size: var(--dt-font-heading-s-size--wide);--cb-subheading-line-height: var(--dt-font-heading-s-line-height--wide)}}.c-cookieBanner-description{font-size:calc(var(--dt-font-body-s-size) * 1px);line-height:calc(var(--dt-font-body-s-line-height) * 1px)}.c-cookieBanner-preference{display:flex;gap:var(--dt-spacing-d);justify-content:space-between;margin-block-start:var(--dt-spacing-e);margin-block-end:var(--dt-spacing-e)}.c-cookieBanner-preference p{margin-block-start:var(--dt-spacing-b)}.c-cookieBanner-preference:last-child{margin-block-end:0}"),zo([me()],e.PieCookieBanner.prototype,"_isCookieBannerHidden",2),zo([me()],e.PieCookieBanner.prototype,"_isModalOpen",2),zo([me()],e.PieCookieBanner.prototype,"_locale",2),zo([be({type:Boolean})],e.PieCookieBanner.prototype,"hasPrimaryActionsOnly",2),zo([be({type:Object})],e.PieCookieBanner.prototype,"defaultPreferences",2),zo([be({type:String})],e.PieCookieBanner.prototype,"cookieStatementLink",2),zo([be({type:String})],e.PieCookieBanner.prototype,"cookieTechnologiesLink",2),zo([be({type:String})],e.PieCookieBanner.prototype,"country",2),zo([be({type:String})],e.PieCookieBanner.prototype,"language",2),zo([be({type:Boolean})],e.PieCookieBanner.prototype,"openLinksInSameTab",2),zo([(So="pie-switch",(e,t)=>ue(e,t,{get(){return(this.renderRoot??fe??(fe=document.createDocumentFragment())).querySelectorAll(So)}}))],e.PieCookieBanner.prototype,"_preferencesNodes",2),e.PieCookieBanner=zo([Le("pie-cookie-banner")],e.PieCookieBanner);var Co=window.CustomEvent;function Bo(e,t){var i="on"+t.type.toLowerCase();return"function"==typeof e[i]&&e[i](t),e.dispatchEvent(t)}function Mo(e){for(;e;){if("dialog"===e.localName)return e;e=e.parentElement?e.parentElement:e.parentNode?e.parentNode.host:null}return null}function Oo(e){for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;e&&e.blur&&e!==document.body&&e.blur()}function To(e,t){for(var i=0;i<e.length;++i)if(e[i]===t)return!0;return!1}function Lo(e){return!(!e||!e.hasAttribute("method"))&&"dialog"===e.getAttribute("method").toLowerCase()}function Po(e){var t=["button","input","keygen","select","textarea"].map(function(e){return e+":not([disabled])"});t.push('[tabindex]:not([disabled]):not([tabindex=""])');var i=e.querySelector(t.join(", "));if(!i&&"attachShadow"in Element.prototype)for(var o=e.querySelectorAll("*"),n=0;n<o.length&&!(o[n].tagName&&o[n].shadowRoot&&(i=Po(o[n].shadowRoot),i));n++);return i}function No(e){return e.isConnected||document.body.contains(e)}function jo(e){if(e.submitter)return e.submitter;var t=e.target;if(!(t instanceof HTMLFormElement))return null;var i=Fo.formSubmitter;if(!i){var o=e.target;i=("getRootNode"in o&&o.getRootNode()||document).activeElement}return i&&i.form===t?i:null}function Io(e){if(!e.defaultPrevented){var t=e.target,i=Fo.imagemapUseValue,o=jo(e);null===i&&o&&(i=o.value);var n=Mo(t);if(n)"dialog"===(o&&o.getAttribute("formmethod")||t.getAttribute("method"))&&(e.preventDefault(),null!=i?n.close(i):n.close())}}function Do(e){if(this.dialog_=e,this.replacedStyleTop_=!1,this.openAsModal_=!1,e.hasAttribute("role")||e.setAttribute("role","dialog"),e.show=this.show.bind(this),e.showModal=this.showModal.bind(this),e.close=this.close.bind(this),e.addEventListener("submit",Io,!1),"returnValue"in e||(e.returnValue=""),"MutationObserver"in window){new MutationObserver(this.maybeHideModal.bind(this)).observe(e,{attributes:!0,attributeFilter:["open"]})}else{var t,i=!1,o=function(){i?this.downgradeModal():this.maybeHideModal(),i=!1}.bind(this),n=function(n){if(n.target===e){var r="DOMNodeRemoved";i|=n.type.substr(0,14)===r,window.clearTimeout(t),t=window.setTimeout(o,0)}};["DOMAttrModified","DOMNodeRemoved","DOMNodeRemovedFromDocument"].forEach(function(t){e.addEventListener(t,n)})}Object.defineProperty(e,"open",{set:this.setOpen.bind(this),get:e.hasAttribute.bind(e,"open")}),this.backdrop_=document.createElement("div"),this.backdrop_.className="backdrop",this.backdrop_.addEventListener("mouseup",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("mousedown",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("click",this.backdropMouseEvent_.bind(this))}(!Co||"object"==typeof Co)&&(Co=function(e,t){t=t||{};var i=document.createEvent("CustomEvent");return i.initCustomEvent(e,!!t.bubbles,!!t.cancelable,t.detail||null),i},Co.prototype=window.Event.prototype),Do.prototype={get dialog(){return this.dialog_},maybeHideModal:function(){this.dialog_.hasAttribute("open")&&No(this.dialog_)||this.downgradeModal()},downgradeModal:function(){this.openAsModal_&&(this.openAsModal_=!1,this.dialog_.style.zIndex="",this.replacedStyleTop_&&(this.dialog_.style.top="",this.replacedStyleTop_=!1),this.backdrop_.parentNode&&this.backdrop_.parentNode.removeChild(this.backdrop_),Fo.dm.removeDialog(this))},setOpen:function(e){e?this.dialog_.hasAttribute("open")||this.dialog_.setAttribute("open",""):(this.dialog_.removeAttribute("open"),this.maybeHideModal())},backdropMouseEvent_:function(e){if(this.dialog_.hasAttribute("tabindex"))this.dialog_.focus();else{var t=document.createElement("div");this.dialog_.insertBefore(t,this.dialog_.firstChild),t.tabIndex=-1,t.focus(),this.dialog_.removeChild(t)}var i=document.createEvent("MouseEvents");i.initMouseEvent(e.type,e.bubbles,e.cancelable,window,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),this.dialog_.dispatchEvent(i),e.stopPropagation()},focus_:function(){var e=this.dialog_.querySelector("[autofocus]:not([disabled])");!e&&this.dialog_.tabIndex>=0&&(e=this.dialog_),e||(e=Po(this.dialog_)),Oo(document.activeElement),e&&e.focus()},updateZIndex:function(e,t){if(e<t)throw new Error("dialogZ should never be < backdropZ");this.dialog_.style.zIndex=e,this.backdrop_.style.zIndex=t},show:function(){this.dialog_.open||(this.setOpen(!0),this.focus_())},showModal:function(){if(this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'showModal' on dialog: The element is already open, and therefore cannot be opened modally.");if(!No(this.dialog_))throw new Error("Failed to execute 'showModal' on dialog: The element is not in a Document.");if(!Fo.dm.pushDialog(this))throw new Error("Failed to execute 'showModal' on dialog: There are too many open modal dialogs.");(function(e){for(;e&&e!==document.body;){var t=window.getComputedStyle(e),i=function(e,i){return!(void 0===t[e]||t[e]===i)};if(t.opacity<1||i("zIndex","auto")||i("transform","none")||i("mixBlendMode","normal")||i("filter","none")||i("perspective","none")||"isolate"===t.isolation||"fixed"===t.position||"touch"===t.webkitOverflowScrolling)return!0;e=e.parentElement}return!1})(this.dialog_.parentElement)&&console.warn("A dialog is being shown inside a stacking context. This may cause it to be unusable. For more information, see this link: https://github.com/GoogleChrome/dialog-polyfill/#stacking-context"),this.setOpen(!0),this.openAsModal_=!0,Fo.needsCentering(this.dialog_)?(Fo.reposition(this.dialog_),this.replacedStyleTop_=!0):this.replacedStyleTop_=!1,this.dialog_.parentNode.insertBefore(this.backdrop_,this.dialog_.nextSibling),this.focus_()},close:function(e){if(!this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'close' on dialog: The element does not have an 'open' attribute, and therefore cannot be closed.");this.setOpen(!1),void 0!==e&&(this.dialog_.returnValue=e);var t=new Co("close",{bubbles:!1,cancelable:!1});Bo(this.dialog_,t)}};var Fo={reposition:function(e){var t=document.body.scrollTop||document.documentElement.scrollTop,i=t+(window.innerHeight-e.offsetHeight)/2;e.style.top=Math.max(t,i)+"px"},isInlinePositionSetByStylesheet:function(e){for(var t=0;t<document.styleSheets.length;++t){var i=document.styleSheets[t],o=null;try{o=i.cssRules}catch{}if(o)for(var n=0;n<o.length;++n){var r=o[n],a=null;try{a=document.querySelectorAll(r.selectorText)}catch{}if(a&&To(a,e)){var s=r.style.getPropertyValue("top"),l=r.style.getPropertyValue("bottom");if(s&&"auto"!==s||l&&"auto"!==l)return!0}}}return!1},needsCentering:function(e){return!("absolute"!==window.getComputedStyle(e).position||"auto"!==e.style.top&&""!==e.style.top||"auto"!==e.style.bottom&&""!==e.style.bottom)&&!Fo.isInlinePositionSetByStylesheet(e)},forceRegisterDialog:function(e){if((window.HTMLDialogElement||e.showModal)&&console.warn("This browser already supports <dialog>, the polyfill may not work correctly",e),"dialog"!==e.localName)throw new Error("Failed to register dialog: The element is not a dialog.");new Do(e)},registerDialog:function(e){e.showModal||Fo.forceRegisterDialog(e)},DialogManager:function(){this.pendingDialogStack=[];var e=this.checkDOM_.bind(this);this.overlay=document.createElement("div"),this.overlay.className="_dialog_overlay",this.overlay.addEventListener("click",function(t){this.forwardTab_=void 0,t.stopPropagation(),e([])}.bind(this)),this.handleKey_=this.handleKey_.bind(this),this.handleFocus_=this.handleFocus_.bind(this),this.zIndexLow_=1e5,this.zIndexHigh_=100150,this.forwardTab_=void 0,"MutationObserver"in window&&(this.mo_=new MutationObserver(function(t){var i=[];t.forEach(function(e){for(var t,o=0;t=e.removedNodes[o];++o)t instanceof Element&&("dialog"===t.localName&&i.push(t),i=i.concat(t.querySelectorAll("dialog")))}),i.length&&e(i)}))}};if(Fo.DialogManager.prototype.blockDocument=function(){document.documentElement.addEventListener("focus",this.handleFocus_,!0),document.addEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.observe(document,{childList:!0,subtree:!0})},Fo.DialogManager.prototype.unblockDocument=function(){document.documentElement.removeEventListener("focus",this.handleFocus_,!0),document.removeEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.disconnect()},Fo.DialogManager.prototype.updateStacking=function(){for(var e,t=this.zIndexHigh_,i=0;e=this.pendingDialogStack[i];++i)e.updateZIndex(--t,--t),0===i&&(this.overlay.style.zIndex=--t);var o=this.pendingDialogStack[0];o?(o.dialog.parentNode||document.body).appendChild(this.overlay):this.overlay.parentNode&&this.overlay.parentNode.removeChild(this.overlay)},Fo.DialogManager.prototype.containedByTopDialog_=function(e){for(;e=Mo(e);){for(var t,i=0;t=this.pendingDialogStack[i];++i)if(t.dialog===e)return 0===i;e=e.parentElement}return!1},Fo.DialogManager.prototype.handleFocus_=function(e){var t=e.composedPath?e.composedPath()[0]:e.target;if(!this.containedByTopDialog_(t)&&document.activeElement!==document.documentElement&&(e.preventDefault(),e.stopPropagation(),Oo(t),void 0!==this.forwardTab_)){var i=this.pendingDialogStack[0];return i.dialog.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING&&(this.forwardTab_?i.focus_():t!==document.documentElement&&document.documentElement.focus()),!1}},Fo.DialogManager.prototype.handleKey_=function(e){if(this.forwardTab_=void 0,27===e.keyCode){e.preventDefault(),e.stopPropagation();var t=new Co("cancel",{bubbles:!1,cancelable:!0}),i=this.pendingDialogStack[0];i&&Bo(i.dialog,t)&&i.dialog.close()}else 9===e.keyCode&&(this.forwardTab_=!e.shiftKey)},Fo.DialogManager.prototype.checkDOM_=function(e){this.pendingDialogStack.slice().forEach(function(t){-1!==e.indexOf(t.dialog)?t.downgradeModal():t.maybeHideModal()})},Fo.DialogManager.prototype.pushDialog=function(e){var t=(this.zIndexHigh_-this.zIndexLow_)/2-1;return!(this.pendingDialogStack.length>=t)&&(1===this.pendingDialogStack.unshift(e)&&this.blockDocument(),this.updateStacking(),!0)},Fo.DialogManager.prototype.removeDialog=function(e){var t=this.pendingDialogStack.indexOf(e);-1!==t&&(this.pendingDialogStack.splice(t,1),0===this.pendingDialogStack.length&&this.unblockDocument(),this.updateStacking())},Fo.dm=new Fo.DialogManager,Fo.formSubmitter=null,Fo.imagemapUseValue=null,void 0===window.HTMLDialogElement){var Ro=document.createElement("form");if(Ro.setAttribute("method","dialog"),"dialog"!==Ro.method){var Ho=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"method");if(Ho){var Vo=Ho.get;Ho.get=function(){return Lo(this)?"dialog":Vo.call(this)};var Wo=Ho.set;Ho.set=function(e){return"string"==typeof e&&"dialog"===e.toLowerCase()?this.setAttribute("method",e):Wo.call(this,e)},Object.defineProperty(HTMLFormElement.prototype,"method",Ho)}}document.addEventListener("click",function(e){if(Fo.formSubmitter=null,Fo.imagemapUseValue=null,!e.defaultPrevented){var t=e.target;if("composedPath"in e)t=e.composedPath().shift()||t;if(t&&Lo(t.form)){if(!("submit"===t.type&&["button","input"].indexOf(t.localName)>-1)){if("input"!==t.localName||"image"!==t.type)return;Fo.imagemapUseValue=e.offsetX+","+e.offsetY}Mo(t)&&(Fo.formSubmitter=t)}}},!1),document.addEventListener("submit",function(e){var t=e.target;if(!Mo(t)){var i=jo(e);"dialog"===(i&&i.getAttribute("formmethod")||t.getAttribute("method"))&&e.preventDefault()}});var Uo=HTMLFormElement.prototype.submit;HTMLFormElement.prototype.submit=function(){if(!Lo(this))return Uo.call(this);var e=Mo(this);e&&e.close()}}const qo=Object.freeze(Object.defineProperty({__proto__:null,default:Fo},Symbol.toStringTag,{value:"Module"})),Ko=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Бисквитки",description:"Използваме наши собствени бисквитки и бисквитки на трети страни и друга технология, за да усъвършенстваме и персонализираме изживяването ти като потребител, за да оптимизираме статистиката и да показваме реклами на трети страни (прочети нашата <linkStatement>декларация</linkStatement>). Винаги настройваме необходимите бисквитки. Кликни върху <linkNecessaryOnly>Само необходимите</linkNecessaryOnly>, за да продължиш, без да приемаш други. Кликни върху <linkManagePreferences>Управление на предпочитанията</linkManagePreferences>, за да споделиш своите предпочитания или <linkAcceptAll>приеми всички</linkAcceptAll>.",cta:{managePreferences:"Управление на предпочитанията",necessaryOnly:"Само необходимите",acceptAll:"Приемане на всички"}},preferencesManagement:{title:"Управление на предпочитанията",description:"Можеш да намериш цялата информация в <linkCookieStatement>Декларацията за бисквитки</linkCookieStatement> и Списъка с <linkCookieTechList>технологии за бисквитки</linkCookieTechList>.",all:{title:"Включи всички"},necessary:{title:"Необходими",description:"Тези бисквитки са необходими, за да се гарантира правилното функциониране на уебсайта и неговите свойства. Заявените от теб услуги не могат да се предоставят без тези бисквитки."},functional:{title:"Функционални",description:"Тези бисквитки позволяват на уебсайта да запомни направените от теб избори за осигуряване на по-добра функционалност и персонализирани функции."},analytical:{title:"Аналитични",description:"Тези аналитични бисквитки, включително за статистически данни, се използват за разбиране начина, по който посетителите взаимодействат с уебсайта, за да можем да измерваме и подобряваме ефективността на нашия уебсайт."},personalized:{title:"Персонализирани (целеви и рекламни)",description:"Тези маркетингови бисквитки се използват за персонализиране предоставянето на информация на теб въз основа на твоя интерес и за измерване на ефективността на такива реклами на нашия уебсайт и на уебсайтовете на рекламните ни партньори."},cta:{save:{label:"Запази",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),Go=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Galetes",description:"Utilitzem galetes pròpies i de tercers, així com altres tecnologies per millorar i personalitzar la teva experiència d’usuari, optimitzar l’anàlisi i mostrar anuncis amb tercers (llegeix la nostra <linkStatement>Declaració</linkStatement>). Les galetes necessàries sempre estan definides. Fes clic a <linkNecessaryOnly>Només necessàries</linkNecessaryOnly> per continuar sense acceptar-ne més. Fes clic a <linkManagePreferences>Gestionar preferències</linkManagePreferences> per compartir les teves preferències o <linkAcceptAll>Acceptar-les totes</linkAcceptAll>.",cta:{managePreferences:"Gestionar preferències",necessaryOnly:"Només necessàries",acceptAll:"Acceptar-les totes"}},preferencesManagement:{title:"Gestiona les teves preferències",description:"Pots trobar tota la informació a la <linkCookieStatement>Declaració de galetes</linkCookieStatement> i a la <linkCookieTechList>llista de tecnologies de galetes</linkCookieTechList>.",all:{title:"Activar-les totes"},necessary:{title:"Necessàries",description:"Aquestes galetes són necessàries per garantir que el lloc web i les seves característiques funcionin adequadament. Els serveis que has demanat no es poden oferir sense aquestes galetes."},functional:{title:"Funcionals",description:"Aquestes galetes permeten que el lloc web recordi les eleccions que fas per oferir-te una millor funcionalitat i característiques personals."},analytical:{title:"Analítiques",description:"Aquestes galetes analítiques, incloses les estadístiques, s’utilitzen per entendre com interaccionen els visitants amb el lloc web i per poder mesurar i millorar el rendiment del nostre lloc web."},personalized:{title:"Personalitzades (orientació i publicitat)",description:"Aquestes galetes de màrqueting s’utilitzen per adaptar el lliurament de la informació en funció del teu interès i per mesurar l’eficàcia d’aquests anuncis, tant al nostre lloc web com als llocs web dels nostres socis publicitaris."},cta:{save:{label:"Desar",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),Zo=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Cookies",description:"Vi bruger vores egne og tredjepartscookies og anden teknologi til at forbedre og tilpasse din brugeroplevelse, optimere analyser og vise annoncer med tredjeparter (læs vores <linkStatement>erklæring</linkStatement>). Vi bruger altid nødvendige cookier. Klik på <linkNecessaryOnly>Kun nødvendige</linkNecessaryOnly> for at fortsætte uden at acceptere flere. Klik på <linkManagePreferences>Administrer præferencer</linkManagePreferences> for at dele dine præferencer eller <linkAcceptAll>Accepter alle</linkAcceptAll>.",cta:{managePreferences:"Administrer præferencer",necessaryOnly:"Kun nødvendige",acceptAll:"Accepter alle"}},preferencesManagement:{title:"Administrer præferencer",description:"Du kan finde alle oplysningerne i <linkCookieStatement>cookie-erklæringen</linkCookieStatement> og <linkCookieTechList>cookie-teknologilisten</linkCookieTechList>.",all:{title:"Aktiver alle"},necessary:{title:"Nødvendige",description:" Disse cookier er nødvendige for at sikre, at hjemmesiden og dens funktioner fungerer korrekt. Tjenester, som du har bedt om, kan ikke leveres uden disse cookier."},functional:{title:"Funktionelle",description:" Disse cookier gør det muligt for hjemmesiden at huske de valg, du træffer, for at give dig bedre funktionalitet og personlige funktioner."},analytical:{title:"Analytiske",description:" Disse analytiske cookier, herunder statistiske, bruges til at forstå, hvordan besøgende interagerer med hjemmesiden, og vi kan måle og forbedre vores hjemmesides ydeevne."},personalized:{title:"Personlige (målretning og annoncering)",description:"Disse markedsføringscookier bruges til at skræddersy leveringen af oplysninger til dig baseret på dine interesser og til at måle effektiviteten af sådanne annoncer, både på vores hjemmeside og vores annonceringspartneres hjemmesider."},cta:{save:{label:"Gem",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),Yo=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Cookies",description:"Wir nutzen unsere eigenen Cookies und die von Drittanbietern sowie andere Technologien, um dein Nutzererlebnis zu verbessern und zu personalisieren, um Analysen zur Optimierung durchzuführen und um Werbung in Partnerschaft mit Dritten zu schalten (siehe unsere <linkStatement>Hinweise</linkStatement>). Die notwendigen Cookies werden immer gesetzt. Klicke auf <linkNecessaryOnly>Nur notwendige</linkNecessaryOnly>, um fortzufahren, ohne weitere anzunehmen. Klicke auf <linkManagePreferences>Einstellungen verwalten</linkManagePreferences>, um deine Einstellungen zu aktualisieren, oder auf <linkAcceptAll>Alle annehmen</linkAcceptAll>.",cta:{managePreferences:"Einstellungen verwalten",necessaryOnly:"Nur notwendige",acceptAll:"Alle annehmen"}},preferencesManagement:{title:"Deine Einstellungen verwalten",description:"Alle Informationen findest du in der <linkCookieStatement>Cookie-Erklärung</linkCookieStatement> und der <linkCookieTechList>Cookie-Technologie-Liste</linkCookieTechList>.",all:{title:"Alle aktivieren"},necessary:{title:"Notwendig",description:"Diese Cookies sind notwendig, um sicherzustellen, dass die Webseite und ihre Funktionen ordnungsgemäß funktionieren. Die von dir angeforderten Dienste können ohne diese Cookies nicht bereitgestellt werden."},functional:{title:"Funktional",description:"Diese Cookies ermöglichen es der Webseite, sich an die von dir getroffenen Entscheidungen zu erinnern, um dir eine bessere Funktionalität und individuelle Funktionen zu bieten."},analytical:{title:"Analytisch",description:"Diese analytischen Cookies, einschließlich Statistiken, werden verwendet, um zu verstehen, wie Besucher mit der Webseite interagieren, und wir können die Leistung unserer Webseite messen und verbessern."},personalized:{title:"Personalisiert (Targeting und Werbung)",description:"Diese Marketing-Cookies werden verwendet, um die Übermittlung von Informationen an dich auf deine Interessen abzustimmen und um die Effektivität solcher Werbung zu messen, sowohl auf unserer Webseite als auch auf den Webseiten unserer Werbepartner."},cta:{save:{label:"Speichern",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),Xo=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Cookies",description:"We use our own and third party cookies and other tech to enhance and personalise your user experience, optimize analytics, and show ads with third parties (read our <linkStatement>Statement</linkStatement>). Necessary cookies are always set. Select <linkNecessaryOnly>Continue without accepting</linkNecessaryOnly> to accept only essential trackers required for an optimal use of our platform. Click <linkManagePreferences>Manage preferences</linkManagePreferences> to share your preferences or <linkAcceptAll>Accept all</linkAcceptAll>.",cta:{managePreferences:"Manage preferences",necessaryOnly:"Continue without accepting",acceptAll:"Accept all"}},preferencesManagement:{title:"Manage your preferences",description:"You can find all the information in the <linkCookieStatement>Cookie Statement</linkCookieStatement> and <linkCookieTechList>Cookie technology list</linkCookieTechList>.",all:{title:"Turn all on"},necessary:{title:"Necessary Technologies",description:"These technologies are necessary to ensure that the website and its features function properly. Services you have asked for cannot be provided without these technologies."},functional:{title:"Functional Technologies",description:"These technologies allow the website to remember the choices you make to give you better functionality and personal features."},analytical:{title:"Analytical Technologies",description:"These analytical technologies, including statistics, are used to understand how visitors interact with the website and we can measure and improve the performance of our website."},personalized:{title:"Personalised (targeting and advertising) Technologies",description:"These marketing technologies are used to tailor the delivery of information to you based upon your interest and to measure the effectiveness of such advertisements, both on our website and our advertising partners' websites."},cta:{save:{label:"Save",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),Qo=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Cookies",description:"Usamos nuestras propias cookies y de terceros, así como otra tecnología para mejorar y personalizar tu experiencia de usuario, optimizar el análisis y mostrar anuncios con terceros (lee nuestra <linkStatement>Declaración</linkStatement>). Siempre se establecen las cookies necesarias. Haz clic en <linkNecessaryOnly>Sólo necesarias</linkNecessaryOnly> para seguir sin aceptar más. Haz clic en <linkManagePreferences>Gestionar preferencias</linkManagePreferences> para compartir tus preferencias o <linkAcceptAll>Aceptarlas todas</linkAcceptAll>.",cta:{managePreferences:"Gestionar preferencias",necessaryOnly:"Sólo necesarias",acceptAll:"Aceptarlas todas"}},preferencesManagement:{title:"Gestionar tus preferencias",description:"Puedes encontrar toda la información en la <linkCookieStatement>Declaración sobre cookies</linkCookieStatement> y la <linkCookieTechList>Lista de tecnología de cookies</linkCookieTechList>.",all:{title:"Activar todas"},necessary:{title:"Necesarias",description:"Estas cookies son necesarias para garantizar que el sitio web y sus funciones funcionen correctamente. Los servicios que has solicitado no se pueden proporcionar sin estas cookies."},functional:{title:"Funcionales",description:"Estas cookies permiten que el sitio web recuerde las opciones que eliges para ofrecerte una mejor funcionalidad y características personales."},analytical:{title:"Analíticas",description:"Estas cookies analíticas, incluidas las estadísticas, se utilizan para comprender cómo interactúan los visitantes con el sitio web y para que podamos medir y mejorar el rendimiento de nuestro sitio web."},personalized:{title:"Personalizadas (dirigidas y de publicidad)",description:"Estas cookies de marketing se utilizan para adaptar la entrega de información en función de tu interés y para medir la eficacia de dichos anuncios, tanto en nuestro sitio web como en los sitios web de nuestros socios publicitarios."},cta:{save:{label:"Guardar",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),Jo=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Cookies",description:"Nous utilisons nos propres cookies et ceux de tiers, ainsi que d’autres technologies, afin d’améliorer et de personnaliser votre expérience d’utilisateur, d’optimiser nos analyses et d’afficher des publicités en partenariat avec des tiers (veuillez consulter notre <linkStatement>déclaration</linkStatement>). Nous installons toujours les cookies essentiels. Sélectionnez <linkNecessaryOnly>Continuer sans accepter</linkNecessaryOnly> pour accepter seulement les traqueurs nécessaires au fonctionnement optimal de notre plateforme. Cliquez sur <linkManagePreferences>Gérer les préférences</linkManagePreferences> pour choisir vous-même vos cookies ou sur <linkAcceptAll>Tout accepter</linkAcceptAll>.",cta:{managePreferences:"Gérer les préférences",necessaryOnly:"Continuer sans accepter",acceptAll:"Tout accepter"}},preferencesManagement:{title:"Gérer vos préférences",description:"Vous trouverez toutes les informations dans la <linkCookieStatement>déclaration relative aux technologies</linkCookieStatement> et dans la liste des <linkCookieTechList>technologies relatives aux technologies</linkCookieTechList>.",all:{title:"Tout activer"},necessary:{title:"Technologies nécessaires",description:"Ces technologies sont indispensables au bon fonctionnement du site Web et de ses fonctionnalités. Les services que vous avez demandés ne peuvent être fournis sans ces technologies."},functional:{title:"Technologies fonctionnelles",description:"Ces technologies permettent au site Web de se souvenir de vos choix pour vous offrir de meilleures fonctionnalités et une expérience personnalisée."},analytical:{title:"Technologies analytiques",description:"Les technologies analytiques, incluant des technologies statistiques, sont utilisés pour comprendre comment les visiteurs interagissent avec le site Web. Ils nous permettent d’en mesurer et d’en améliorer les performances."},personalized:{title:"Technologies personnalisées (ciblage et publicité)",description:"Ces technologies marketing sont utilisés pour adapter les informations affichées à vos centres d’intérêt et pour mesurer l’efficacité de ces publicités, à la fois sur notre site Web et sur les sites Web de nos partenaires publicitaires."},cta:{save:{label:"Enregistrer",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),en=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Cookies",description:"Nous utilisons nos propres cookies et ceux de tiers, ainsi que d’autres technologies, afin d’améliorer et de personnaliser votre expérience d’utilisateur, d’optimiser nos analyses et d’afficher des publicités en partenariat avec des tiers (veuillez consulter notre <linkStatement>déclaration</linkStatement>). Nous installons toujours les cookies essentiels. Cliquez sur <linkNecessaryOnly>Cookies essentiels uniquement</linkNecessaryOnly> pour continuer en acceptant uniquement les cookies indispensables. Cliquez sur <linkManagePreferences>Gérer les préférences</linkManagePreferences> pour choisir vous-même vos cookies ou sur <linkAcceptAll>Tout accepter</linkAcceptAll>.",cta:{managePreferences:"Gérer les préférences",necessaryOnly:"Cookies essentiels uniquement",acceptAll:"Tout accepter"}},preferencesManagement:{title:"Gérer vos préférences",description:"Vous trouverez toutes les informations dans la <linkCookieStatement>déclaration relative aux cookies</linkCookieStatement> et dans la liste des <linkCookieTechList>technologies relatives aux cookies</linkCookieTechList>.",all:{title:"Tout activer"},necessary:{title:"Cookies essentiels",description:"Ces cookies sont indispensables au bon fonctionnement du site Web et de ses fonctionnalités. Les services que vous avez demandés ne peuvent être fournis sans ces cookies."},functional:{title:"Cookies fonctionnels",description:"Ces cookies permettent au site Web de se souvenir de vos choix pour vous offrir de meilleures fonctionnalités et une expérience personnalisée."},analytical:{title:"Cookies analytiques",description:"Les cookies analytiques, incluant des cookies statistiques, sont utilisés pour comprendre comment les visiteurs interagissent avec le site Web. Ils nous permettent d’en mesurer et d’en améliorer les performances."},personalized:{title:"Cookies de ciblage (publicitaires)",description:"Ces cookies marketing sont utilisés pour adapter les informations affichées à vos centres d’intérêt et pour mesurer l’efficacité de ces publicités, à la fois sur notre site Web et sur les sites Web de nos partenaires publicitaires."},cta:{save:{label:"Enregistrer",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),tn=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"קובצי Cookie",description:"אנו משתמשים בקובצי Cookie ובטכנולוגיות נוספות שלנו ושל צדדים שלישיים כדי לשפר ולהתאים אישית את חוויית המשתמש שלכם, למטב ניתוח נתונים ולהציג פרסומות עם צדדים שלישיים (קראו את <linkStatement>ההצהרה</linkStatement> שלנו). קובצי Cookie הכרחיים תמיד נמצאים בשימוש. לחצו על <linkNecessaryOnly>הכרחי בלבד</linkNecessaryOnly> כדי להמשיך בלי להסכים לסוגים אחרים. לחצו על <linkManagePreferences>ניהול העדפות</linkManagePreferences> כדי לשתף את העדפותיכם או לחצו על <linkAcceptAll>הסכם להכול</linkAcceptAll>.",cta:{managePreferences:"ניהול העדפות",necessaryOnly:"הכרחי בלבד",acceptAll:"הסכם להכול"}},preferencesManagement:{title:"ניהול ההעדפות של",description:"תוכל למצוא את כל המידע <linkCookieStatement>בהצהרת</linkCookieStatement> קובצי ה-Cookie וכן <linkCookieTechList>ברשימת הטכנולוגיה</linkCookieTechList> של קובצי ה-Cookie.",all:{title:"להפעלת הכול"},necessary:{title:"הכרחי",description:"קובצי Cookie אלה הכרחיים כדי להבטיח שאתר האינטרנט והתכונות שלו מתפקדים כראוי. לא ניתן לספק את השירותים שביקשתם ללא קובצי Cookie אלה."},functional:{title:"תפקודיים",description:"קובצי Cookie אלה מאפשרים לאתר האינטרנט לזכור את הבחירות שאתם עושים כדי לספק לכם חוויה מותאמת אישית ותפקודיות טובה יותר."},analytical:{title:"ניתוח נתונים",description:"קובצי Cookie אלה לניתוח נתונים, כולל נתונים סטטיסטיים, משמשים כדי להבין כיצד מבקרים מקיימים אינטראקציה עם אתר האינטרנט וכדי לאפשר לנו למדוד ולשפר את הביצועים של אתר האינטרנט שלנו."},personalized:{title:"התאמה אישית (מיקוד ופרסום)",description:"קובצי Cookie שיווקיים אלה משמשים כדי להתאים אישית את המידע הנמסר לכם על סמך תחומי העניין שלכם וכדי למדוד את היעילות של פרסומות כאלה, הן באתר האינטרנט שלנו והן באתרי האינטרנט של שותפי הפרסום שלנו."},cta:{save:{label:"שמירה",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),on=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Cookie",description:"Usiamo cookie nostri e di terze parti e altre tecnologie per migliorare e personalizzare la tua esperienza utente, ottimizzare l’analisi dei dati e mostrare annunci pubblicitari in collaborazione con terze parti (leggi la nostra <linkStatement>Informativa</linkStatement>). I cookie necessari sono sempre attivi. Premi Solo <linkNecessaryOnly>necessari</linkNecessaryOnly> per proseguire senza accettare altri cookie. Apri <linkManagePreferences>Gestisci preferenze</linkManagePreferences> per scegliere quali cookie attivare, oppure premi <linkAcceptAll>Accetta tutti</linkAcceptAll> per attivare tutti i cookie.",cta:{managePreferences:"Gestisci preferenze",necessaryOnly:"Solo necessari",acceptAll:"Accetta tutti"}},preferencesManagement:{title:"Gestisci le tue preferenze",description:"Tutti i dettagli sono disponibili nell’<linkCookieStatement>Informativa sui cookie</linkCookieStatement> e nell’Elenco delle <linkCookieTechList>tecnologie cookie</linkCookieTechList>.",all:{title:"Attiva tutti"},necessary:{title:"Necessari",description:"Questi cookie servono a garantire che il sito web e le sue componenti funzionino correttamente. Senza i cookie necessari, i servizi da te richiesti non possono essere forniti."},functional:{title:"Funzionali",description:"Questi cookie consentono al sito web di memorizzare le scelte effettuate dall’utente per offrire una migliore funzionalità e personalizzazione."},analytical:{title:"Analitici",description:"Questi cookie, che includono le statistiche, ci consentono di capire come i visitatori interagiscono con il nostro sito web per misurarne e migliorarne le prestazioni."},personalized:{title:"Personalizzati (targeting e pubblicità)",description:"Questi cookie, detti di profilazione, vengono usati per personalizzare le informazioni trasmesse all’utente in base ai suoi interessi e per misurare l’efficacia delle pubblicità, sia sul nostro sito web sia sui siti web dei nostri partner pubblicitari."},cta:{save:{label:"Salva",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),nn=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Cookies",description:"Wij gebruiken onze eigen cookies, cookies van derde partijen en andere technieken om jouw gebruikerservaring te verbeteren en te personaliseren, analyses te optimaliseren en om advertenties met derde partijen te laten zien (lees onze <linkStatement>privacyverklaring</linkStatement>). Wij plaatsen altijd noodzakelijke cookies. Klik op <linkNecessaryOnly>Alleen noodzakelijk</linkNecessaryOnly> om door te gaan zonder meer te accepteren. Klik op <linkManagePreferences>Beheer voorkeuren</linkManagePreferences> om je voorkeuren te delen of <linkAcceptAll>Alles accepteren</linkAcceptAll>.",cta:{managePreferences:"Beheer voorkeuren",necessaryOnly:"Alleen noodzakelijk",acceptAll:"Alles accepteren"}},preferencesManagement:{title:"Beheer je voorkeuren",description:"Je vindt alle informatie in de <linkCookieStatement>Cookieverklaring</linkCookieStatement> en de <linkCookieTechList>Cookietechnologielijst</linkCookieTechList>.",all:{title:"Zet alles aan"},necessary:{title:"Noodzakelijk",description:" Deze cookies zijn noodzakelijk voor een goede werking van de website en alle functies. Zonder deze cookies kunnen je gevraagde diensten niet worden geleverd."},functional:{title:"Functioneel",description:" Met deze cookies kan de website de keuzes die je maakt onthouden om je een betere functionaliteit en persoonlijke functies te bieden."},analytical:{title:"Analytisch",description:"Deze analytische cookies, waaronder statistieken, worden gebruikt om te begrijpen hoe bezoekers de website gebruiken, zodat wij de prestaties van onze website kunnen meten en verbeteren."},personalized:{title:"Gepersonaliseerd (targeting en reclame)",description:"Deze marketingcookies worden gebruikt om de informatievoorziening af te stemmen op jouw interesses en om de effectiviteit van dergelijke advertenties te meten. Zowel op onze website als op de websites van onze reclamepartners."},cta:{save:{label:"Opslaan",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),rn=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Pliki cookie",description:"Używamy własnych plików cookie, plików stron trzecich oraz innych technologii mających na celu ulepszanie i personalizowanie doświadczeń użytkownika, optymalizację analiz i wyświetlanie reklam stronom trzecim (czytaj nasze <linkStatement>Oświadczenie</linkStatement>). Zawsze umieszczamy na urządzeniu użytkownika niezbędne pliki cookie. Kliknij <linkNecessaryOnly>Tylko niezbędne</linkNecessaryOnly>, aby kontynuować bez akceptowania kolejnych. Kliknij <linkManagePreferences>Zarządzaj ustawieniami</linkManagePreferences>, aby udostępnić ustawienia lub <linkAcceptAll>akceptować wszystkie</linkAcceptAll>.",cta:{managePreferences:"Zarządzaj ustawieniami",necessaryOnly:"Tylko niezbędne",acceptAll:"Zaakceptuj wszystkie"}},preferencesManagement:{title:"Zarządzaj swoimi ustawieniami",description:"Wszystkie informacje można znaleźć w <linkCookieStatement>Oświadczeniu o plikach cookie</linkCookieStatement> i na liście <linkCookieTechList>technologii plików cookie</linkCookieTechList>.",all:{title:"Włącz wszystkie"},necessary:{title:"Niezbędne",description:"Te pliki cookie są niezbędne do zapewnienia prawidłowego działania witryny internetowej i jej funkcji. Usługi, o które użytkownik poprosił, nie mogą być świadczone bez tych plików cookie."},functional:{title:"Związane z funkcjonalnością",description:"Te pliki cookie umożliwiają witrynie zapamiętanie wyborów dokonanych przez użytkownika, aby zapewnić mu lepszą funkcjonalność i obsługę funkcji osobistych."},analytical:{title:"Analityczne",description:"Te analityczne pliki cookie, w tym związane ze statystykami, są wykorzystywane do zrozumienia, w jaki sposób odwiedzający wchodzą w interakcję z witryną internetową oraz jak możemy mierzyć i poprawiać wydajność naszej witryny internetowej."},personalized:{title:"Spersonalizowane (targetowanie i reklama)",description:"Te marketingowe pliki cookie są wykorzystywane w celu dostosowania dostarczania informacji użytkownikowi w oparciu o jego zainteresowania oraz w celu pomiaru skuteczności takich reklam, zarówno na naszej stronie internetowej, jak i na stronach internetowych naszych partnerów reklamowych."},cta:{save:{label:"Zapisz",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"})),an=Object.freeze(Object.defineProperty({__proto__:null,default:{banner:{title:"Súbory cookie",description:"Na zlepšenie a prispôsobenie používateľského prostredia, optimalizáciu analýz a zobrazovanie reklám tretích strán používame vlastné súbory cookie a súbory cookie tretích strán (prečítajte si naše <linkStatement>Vyhlásenie</linkStatement>). Nevyhnutné súbory cookie sú nastavené vždy. Kliknutím na tlačidlo <linkNecessaryOnly>Iba nevyhnutné</linkNecessaryOnly> môžeš pokračovať bez ďalších súborov cookie. Kliknutím na <linkManagePreferences>Spravovať preferencie</linkManagePreferences> môžeš zdieľať svoje preferencie, alebo kliknúť na <linkAcceptAll>Prijať všetko</linkAcceptAll>.",cta:{managePreferences:"Spravovať preferencie",necessaryOnly:"Iba nevyhnutné",acceptAll:"Prijať všetko"}},preferencesManagement:{title:"Spravovať svoje preferencie",description:"Všetky informácie o našom používaní súborov cookie nájdeš vo <linkCookieStatement>Vyhlásení o súboroch cookie</linkCookieStatement> a zozname <linkCookieTechList>technológie súborov cookie</linkCookieTechList>.",all:{title:"Zapnúť všetky"},necessary:{title:"Nevyhnutné",description:"Tieto súbory cookie sú potrebné na zabezpečenie správneho fungovania webovej stránky a jej funkcií. Služby, o ktoré si požiadal/a, nie je možné poskytovať bez týchto súborov cookie."},functional:{title:"Funkčné",description:"Tieto súbory cookie umožňujú webovej stránke zapamätať si tvoje voľby, aby ti poskytla lepšiu funkčnosť a personalizované funkcie."},analytical:{title:"Analytické",description:"Tieto analytické súbory cookie, vrátane štatistík, sa používajú na pochopenie toho, ako návštevníci interagujú s webovou stránkou, a umožňujú nám merať a zlepšovať výkonnosť našej webovej stránky."},personalized:{title:"Personalizované (zameriavanie a reklama)",description:"Tieto marketingové súbory cookie sa používajú na prispôsobenie poskytovania informácií na základe tvojho záujmu a meranie účinnosti takýchto reklám na našich webových stránkach a webových stránkach našich reklamných partnerov."},cta:{save:{label:"Uložiť",ariaLabel:""}}}}},Symbol.toStringTag,{value:"Module"}));return e.Country=vo,e.Language=po,e.ON_COOKIE_BANNER_ACCEPT_ALL=bo,e.ON_COOKIE_BANNER_MANAGE_PREFS=uo,e.ON_COOKIE_BANNER_NECESSARY_ONLY=mo,e.ON_COOKIE_BANNER_PREFS_SAVED=go,e.availableLocales=ko,e.defaultLocaleForCountry=wo,e.defaultProps=yo,e.preferences=fo,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e}({});
|
package/dist/index.js
CHANGED
|
@@ -26,7 +26,7 @@ const w = (e, t, n) => {
|
|
|
26
26
|
this.getAttribute("v") || this.setAttribute("v", k.v);
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
|
-
k.v = "1.7.
|
|
29
|
+
k.v = "1.7.4";
|
|
30
30
|
let A = k;
|
|
31
31
|
const O = "*,*:after,*:before{box-sizing:inherit}*{margin:0}.c-cookieBanner{--cb-font-family: var(--dt-font-interactive-l-family);--cb-font-size: calc(var(--dt-font-body-l-size) * 1px);--cb-line-height: calc(var(--dt-font-body-l-line-height) * 1px);--cb-font-weight: var(--dt-font-body-l-weight);--cb-padding-inline: var(--dt-spacing-d);--cb-padding-block: var(--dt-spacing-d);--cb-offset: 0;color-scheme:only dark;background-color:var(--dt-color-background-dark);color:var(--dt-color-content-inverse);font-family:var(--cb-font-family);font-size:var(--cb-font-size);line-height:var(--cb-line-height);font-weight:var(--cb-font-weight);padding-block-start:var(--cb-padding-block);padding-block-end:var(--cb-padding-block);max-height:432px;position:fixed;bottom:var(--cb-offset);left:var(--cb-offset);right:var(--cb-offset);border-top-left-radius:var(--dt-radius-rounded-c);border-top-right-radius:var(--dt-radius-rounded-c);z-index:var(--dt-z-index-cookie-banner)}@media (min-width: 700px) and (orientation: landscape){.c-cookieBanner{--cb-padding-inline: var(--dt-spacing-f);--cb-offset: var(--dt-spacing-d);max-height:90%;border-bottom-left-radius:var(--dt-radius-rounded-c);border-bottom-right-radius:var(--dt-radius-rounded-c)}}.c-cookieBanner[isCookieBannerHidden]{display:none}@media (prefers-reduced-motion: no-preference){.c-cookieBanner{animation:.5s animate-enter ease-out}@keyframes animate-enter{0%{transform:translate3d(0,75%,0)}to{transform:translateZ(0)}}}.c-cookieBanner-title,.c-cookieBanner-body,.c-cookieBanner-actions{padding-inline-start:var(--cb-padding-inline);padding-inline-end:var(--cb-padding-inline)}.c-cookieBanner-title{--cb-title-font-size: var(--dt-font-heading-s-size--narrow);--cb-title-line-height: var(--dt-font-heading-s-line-height--narrow);font-size:calc(var(--cb-title-font-size) * 1px);font-weight:var(--dt-font-heading-s-weight);line-height:calc(var(--cb-title-line-height) * 1px)}@media (min-width: 700px) and (orientation: landscape){.c-cookieBanner-title{--cb-title-font-size: var(--dt-font-heading-s-size--wide);--cb-title-line-height: var(--dt-font-heading-s-line-height--wide)}}.c-cookieBanner-body{--cb-scroll-shadow-color: var(--dt-color-black);margin-block-start:var(--dt-spacing-a);max-height:200px;overflow-y:auto;background:linear-gradient(to bottom,transparent,var(--dt-color-background-dark) 75%) center bottom,linear-gradient(transparent,var(--cb-scroll-shadow-color)) center bottom;background-repeat:no-repeat;background-size:100% 48px,100% 8px;background-attachment:local,scroll}@media (min-width: 700px) and (orientation: landscape){.c-cookieBanner-body{max-height:150px}}.c-cookieBanner-actions{--cb-actions-flex-dir: column;margin-block-start:var(--dt-spacing-d);display:flex;gap:var(--dt-spacing-d);flex-direction:var(--cb-actions-flex-dir)}.c-cookieBanner-actions>pie-link{text-align:center;align-self:center}@media (min-width: 700px) and (orientation: landscape){.c-cookieBanner-actions{--cb-actions-flex-dir: row-reverse;justify-content:flex-start;align-items:center}}.c-cookieBanner-subheading{--cb-subheading-font-size: var(--dt-font-heading-s-size--narrow);--cb-subheading-line-height: var(--dt-font-heading-s-line-height--narrow);font-size:calc(var(--cb-subheading-font-size) * 1px);font-weight:var(--dt-font-heading-s-weight);line-height:calc(var(--cb-subheading-line-height) * 1px)}@media (min-width: 700px) and (orientation: landscape){.c-cookieBanner-subheading{--cb-subheading-font-size: var(--dt-font-heading-s-size--wide);--cb-subheading-line-height: var(--dt-font-heading-s-line-height--wide)}}.c-cookieBanner-description{font-size:calc(var(--dt-font-body-s-size) * 1px);line-height:calc(var(--dt-font-body-s-line-height) * 1px)}.c-cookieBanner-preference{display:flex;gap:var(--dt-spacing-d);justify-content:space-between;margin-block-start:var(--dt-spacing-e);margin-block-end:var(--dt-spacing-e)}.c-cookieBanner-preference p{margin-block-start:var(--dt-spacing-b)}.c-cookieBanner-preference:last-child{margin-block-end:0}", i = {
|
|
32
32
|
BULGARIAN: "bg",
|
package/dist/react.d.ts
CHANGED
|
@@ -137,7 +137,7 @@ export declare const ON_COOKIE_BANNER_NECESSARY_ONLY = "pie-cookie-banner-necess
|
|
|
137
137
|
*/
|
|
138
138
|
export declare const ON_COOKIE_BANNER_PREFS_SAVED = "pie-cookie-banner-prefs-saved";
|
|
139
139
|
|
|
140
|
-
export declare const PieCookieBanner: React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<CookieBannerProps
|
|
140
|
+
export declare const PieCookieBanner: React_2.ForwardRefExoticComponent<React_2.PropsWithChildren<Omit<React_2.PropsWithoutRef<CookieBannerProps>, "children">> & React_2.RefAttributes<PieCookieBanner_2> & PieCookieBannerEvents & ReactBaseType>;
|
|
141
141
|
|
|
142
142
|
/**
|
|
143
143
|
* @tagname pie-cookie-banner
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justeattakeaway/pie-cookie-banner",
|
|
3
3
|
"description": "PIE Design System Cookie Banner built using Web Components",
|
|
4
|
-
"version": "1.7.
|
|
4
|
+
"version": "1.7.4",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/justeattakeaway/pie",
|
|
@@ -57,12 +57,12 @@
|
|
|
57
57
|
"cem-plugin-module-file-extensions": "0.0.5"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@justeattakeaway/pie-button": "1.11.
|
|
60
|
+
"@justeattakeaway/pie-button": "1.11.1",
|
|
61
61
|
"@justeattakeaway/pie-divider": "1.5.7",
|
|
62
|
-
"@justeattakeaway/pie-icon-button": "2.
|
|
63
|
-
"@justeattakeaway/pie-link": "1.3.
|
|
64
|
-
"@justeattakeaway/pie-modal": "1.
|
|
65
|
-
"@justeattakeaway/pie-switch": "2.3.
|
|
62
|
+
"@justeattakeaway/pie-icon-button": "2.6.0",
|
|
63
|
+
"@justeattakeaway/pie-link": "1.3.9",
|
|
64
|
+
"@justeattakeaway/pie-modal": "1.24.1",
|
|
65
|
+
"@justeattakeaway/pie-switch": "2.3.11",
|
|
66
66
|
"@justeattakeaway/pie-webc-core": "6.0.1"
|
|
67
67
|
},
|
|
68
68
|
"volta": {
|
package/src/react.ts
CHANGED
|
@@ -27,5 +27,5 @@ type PieCookieBannerEvents = {
|
|
|
27
27
|
onPieCookieBannerPrefsSaved?: (event: CustomEvent) => void;
|
|
28
28
|
};
|
|
29
29
|
|
|
30
|
-
export const PieCookieBanner = PieCookieBannerReact as React.ForwardRefExoticComponent<React.PropsWithoutRef<CookieBannerProps
|
|
30
|
+
export const PieCookieBanner = PieCookieBannerReact as React.ForwardRefExoticComponent<React.PropsWithChildren<Omit<React.PropsWithoutRef<CookieBannerProps>, 'children'>>
|
|
31
31
|
& React.RefAttributes<PieCookieBannerLit> & PieCookieBannerEvents & ReactBaseType>;
|