@everymatrix/general-registration 1.56.3 → 1.58.0

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.
Files changed (21) hide show
  1. package/dist/cjs/checkbox-group-input_13.cjs.entry.js +773 -773
  2. package/dist/collection/components/general-registration/general-registration.stories.js +54 -0
  3. package/dist/esm/checkbox-group-input_13.entry.js +773 -773
  4. package/dist/general-registration/general-registration.esm.js +1 -1
  5. package/dist/general-registration/{p-290ae59c.entry.js → p-c2ac8f4d.entry.js} +31 -31
  6. package/dist/storybook/main.js +47 -0
  7. package/dist/storybook/preview.js +9 -0
  8. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/libs/common/src/storybook/storybook-utils.d.ts +39 -0
  9. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +2 -0
  10. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +2 -0
  11. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/storybook/main.d.ts +3 -0
  12. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/storybook/preview.d.ts +70 -0
  13. package/dist/types/components/general-registration/general-registration.stories.d.ts +5 -0
  14. package/package.json +1 -1
  15. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +0 -2
  16. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +0 -2
  17. /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-input/src/utils/types.d.ts +0 -0
  18. /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/index.d.ts +0 -0
  19. /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  20. /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  21. /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -161,7 +161,7 @@ const tooltipIconSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD
161
161
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
162
162
  */
163
163
 
164
- function defineCustomElement(CustomElement, version = '24.5.10') {
164
+ function defineCustomElement(CustomElement, version = '24.5.11') {
165
165
  Object.defineProperty(CustomElement, 'version', {
166
166
  get() {
167
167
  return version;
@@ -222,7 +222,7 @@ const t$1=globalThis,e$2=t$1.ShadowRoot&&(void 0===t$1.ShadyCSS||t$1.ShadyCSS.na
222
222
  * Copyright 2017 Google LLC
223
223
  * SPDX-License-Identifier: BSD-3-Clause
224
224
  */
225
- const t=globalThis,i$1=t.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e="$lit$",h$1=`lit$${Math.random().toFixed(9).slice(2)}$`,o="?"+h$1,n=`<${o}>`,r$2=document,l=()=>r$2.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$1=Array.isArray,u=t=>a$1(t)||"function"==typeof t?.[Symbol.iterator],d$1="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_$1=/>/g,m$1=RegExp(`>|${d$1}(?:([^\\s"'>=/]+)(${d$1}*=${d$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$1=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A=new WeakMap,C=r$2.createTreeWalker(r$2,129);function P$1(t,i){if(!a$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v$1:void 0!==u[1]?c=_$1:void 0!==u[2]?($$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):void 0!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$1:'"'===u[3]?g$1:p$1):c===g$1||c===p$1?c=m$1:c===v$1||c===_$1?c=f:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e+s.slice(d)+h$1+x):s+h$1+(-2===d?i:x);}return [P$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N$1{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1(t,s);if(this.el=N$1.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e)){const i=v[a++],s=r.getAttribute(t).split(h$1),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$2:"?"===e[1]?I$1:"@"===e[1]?L$1:k$1}),r.removeAttribute(t);}else t.startsWith(h$1)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$1),s=t.length-1;if(s>0){r.textContent=i$1?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$1,t+1));)d.push({type:7,index:c}),t+=h$1.length-1;}c++;}}static createElement(t,i){const s=r$2.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T$1)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M$1{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$2).importNode(i,!0);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$2,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R$1{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E$1||null==t||""===t?(this._$AH!==E$1&&this._$AR(),this._$AH=E$1):t!==this._$AH&&t!==T$1&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$2.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$1.createElement(P$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N$1(t)),i}k(t){a$1(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R$1(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k$1{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E$1?t=E$1:t!==E$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H$2 extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1?void 0:t;}}class I$1 extends k$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1);}}class L$1 extends k$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E$1)===T$1)return;const s=this._$AH,e=t===E$1&&s!==E$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1&&(s===E$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z$1{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j$1=t.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t.litHtmlVersions??=[]).push("3.2.1");const B$2=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l(),t),t,void 0,s??{});}return h._$AI(t),h};
225
+ const t=globalThis,i$1=t.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e="$lit$",h$1=`lit$${Math.random().toFixed(9).slice(2)}$`,o="?"+h$1,n=`<${o}>`,r$2=document,l=()=>r$2.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$1=Array.isArray,u=t=>a$1(t)||"function"==typeof t?.[Symbol.iterator],d$1="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_$1=/>/g,m$1=RegExp(`>|${d$1}(?:([^\\s"'>=/]+)(${d$1}*=${d$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$1=/'/g,g$1=/"/g,$$2=/^(?:script|style|textarea|title)$/i,T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A=new WeakMap,C=r$2.createTreeWalker(r$2,129);function P$1(t,i){if(!a$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v$1:void 0!==u[1]?c=_$1:void 0!==u[2]?($$2.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):void 0!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$1:'"'===u[3]?g$1:p$1):c===g$1||c===p$1?c=m$1:c===v$1||c===_$1?c=f:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e+s.slice(d)+h$1+x):s+h$1+(-2===d?i:x);}return [P$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N$1{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1(t,s);if(this.el=N$1.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e)){const i=v[a++],s=r.getAttribute(t).split(h$1),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$2:"?"===e[1]?I$1:"@"===e[1]?L$1:k$1}),r.removeAttribute(t);}else t.startsWith(h$1)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$2.test(r.tagName)){const t=r.textContent.split(h$1),s=t.length-1;if(s>0){r.textContent=i$1?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$1,t+1));)d.push({type:7,index:c}),t+=h$1.length-1;}c++;}}static createElement(t,i){const s=r$2.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T$1)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M$1{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$2).importNode(i,!0);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$2,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R$1{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E$1||null==t||""===t?(this._$AH!==E$1&&this._$AR(),this._$AH=E$1):t!==this._$AH&&t!==T$1&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$2.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$1.createElement(P$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N$1(t)),i}k(t){a$1(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R$1(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k$1{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E$1?t=E$1:t!==E$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H$2 extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1?void 0:t;}}class I$1 extends k$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1);}}class L$1 extends k$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E$1)===T$1)return;const s=this._$AH,e=t===E$1&&s!==E$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1&&(s===E$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z$1{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j$1=t.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t.litHtmlVersions??=[]).push("3.2.1");const B$2=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l(),t),t,void 0,s??{});}return h._$AI(t),h};
226
226
 
227
227
  /**
228
228
  * @license
@@ -15132,7 +15132,7 @@ class CheckboxGroup extends CheckboxGroupMixin(ElementMixin(ThemableMixin(Polyme
15132
15132
 
15133
15133
  defineCustomElement(CheckboxGroup);
15134
15134
 
15135
- const checkboxGroupInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}vaadin-checkbox-group{margin-top:5px;margin-left:40px}.checkboxgroup{font-family:\"Roboto\";font-style:normal;font-size:15px}.checkboxgroup__wrapper{position:relative}.checkboxgroup__wrapper--flex{display:flex;gap:5px;align-content:flex-start}.checkboxgroup__wrapper--relative{position:relative;display:inline}.checkboxgroup__input{vertical-align:baseline}.checkboxgroup__input[indeterminate]::part(checkbox)::after,.checkboxgroup__input[indeterminate]::part(checkbox),.checkboxgroup__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkboxgroup__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;padding-left:10px;vertical-align:baseline}.checkboxgroup__label-text{font-size:16px}.checkboxgroup__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkboxgroup__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.checkboxgroup__tooltip-icon{width:16px;height:auto}.checkboxgroup__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.checkboxgroup__tooltip.visible{opacity:1}.checkbox__input::part(checkbox){background-color:var(--emw--color-white, #FFFFFF)}.checkbox__input[indeterminate]::part(checkbox),.checkbox__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}";
15135
+ const checkboxGroupInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}vaadin-checkbox-group{margin-top:5px;margin-left:40px}.checkboxgroup{font-family:\"Roboto\";font-style:normal;font-size:15px}.checkboxgroup__wrapper{position:relative}.checkboxgroup__wrapper--flex{display:flex;gap:5px;align-content:flex-start}.checkboxgroup__wrapper--relative{position:relative;display:inline}.checkboxgroup__input{vertical-align:baseline}.checkboxgroup__input[indeterminate]::part(checkbox)::after,.checkboxgroup__input[indeterminate]::part(checkbox),.checkboxgroup__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkboxgroup__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;padding-left:10px;vertical-align:baseline}.checkboxgroup__label-text{font-size:16px}.checkboxgroup__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkboxgroup__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.checkboxgroup__tooltip-icon{width:16px;height:auto}.checkboxgroup__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.checkboxgroup__tooltip.visible{opacity:1}.checkbox__input::part(checkbox){background-color:var(--emw--color-white, #FFFFFF);transform:scale(0.8, 0.8);border-radius:var(--emw--border-radius-small, 2px);box-shadow:0 0px 0px 2px var(--emw--color-gray, #7a7a7a)}.checkbox__input[indeterminate]::part(checkbox),.checkbox__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));box-shadow:none}";
15136
15136
  const CheckboxGroupInputStyle0 = checkboxGroupInputCss;
15137
15137
 
15138
15138
  const CheckboxGroupInput = class {
@@ -32285,7 +32285,7 @@ function _t$1(t, e, n) {
32285
32285
  t.$$.on_destroy.push(D$1(e, n));
32286
32286
  }
32287
32287
  function gt$1(t) {
32288
- return t ?? "";
32288
+ return t;
32289
32289
  }
32290
32290
  function G(t, e) {
32291
32291
  t.appendChild(e);
@@ -32294,7 +32294,7 @@ function I(t, e, n) {
32294
32294
  const s = F(t);
32295
32295
  if (!s.getElementById(e)) {
32296
32296
  const i = w$1("style");
32297
- i.id = e, i.textContent = n, J$1(s, i);
32297
+ i.id = e, i.textContent = n, J(s, i);
32298
32298
  }
32299
32299
  }
32300
32300
  function F(t) {
@@ -32307,14 +32307,14 @@ function F(t) {
32307
32307
  e
32308
32308
  ) : t.ownerDocument;
32309
32309
  }
32310
- function J$1(t, e) {
32310
+ function J(t, e) {
32311
32311
  return G(
32312
32312
  /** @type {Document} */
32313
32313
  t.head || t,
32314
32314
  e
32315
32315
  ), e.sheet;
32316
32316
  }
32317
- function v(t, e, n) {
32317
+ function k(t, e, n) {
32318
32318
  t.insertBefore(e, n || null);
32319
32319
  }
32320
32320
  function y(t) {
@@ -32356,7 +32356,7 @@ function Et$1(t, e) {
32356
32356
  e = "" + e, t.data !== e && (t.data = /** @type {string} */
32357
32357
  e);
32358
32358
  }
32359
- class Lt {
32359
+ class Lt$1 {
32360
32360
  /**
32361
32361
  * @private
32362
32362
  * @default false
@@ -32411,7 +32411,7 @@ class Lt {
32411
32411
  * @returns {void} */
32412
32412
  i(e) {
32413
32413
  for (let n = 0; n < this.n.length; n += 1)
32414
- v(this.t, this.n[n], e);
32414
+ k(this.t, this.n[n], e);
32415
32415
  }
32416
32416
  /**
32417
32417
  * @param {string} html
@@ -32426,7 +32426,7 @@ class Lt {
32426
32426
  this.n.forEach(y);
32427
32427
  }
32428
32428
  }
32429
- function K$1(t) {
32429
+ function K(t) {
32430
32430
  const e = {};
32431
32431
  return t.childNodes.forEach(
32432
32432
  /** @param {Element} node */
@@ -32439,23 +32439,23 @@ let g;
32439
32439
  function m(t) {
32440
32440
  g = t;
32441
32441
  }
32442
- function Q() {
32442
+ function Q$1() {
32443
32443
  if (!g)
32444
32444
  throw new Error("Function called outside component initialization");
32445
32445
  return g;
32446
32446
  }
32447
32447
  function W(t) {
32448
- Q().$$.on_mount.push(t);
32448
+ Q$1().$$.on_mount.push(t);
32449
32449
  }
32450
32450
  const h = [], E = [];
32451
- let $ = [];
32451
+ let $$1 = [];
32452
32452
  const j = [], X = /* @__PURE__ */ Promise.resolve();
32453
32453
  let L = !1;
32454
32454
  function Y$1() {
32455
32455
  L || (L = !0, X.then(_));
32456
32456
  }
32457
- function k(t) {
32458
- $.push(t);
32457
+ function v(t) {
32458
+ $$1.push(t);
32459
32459
  }
32460
32460
  const x = /* @__PURE__ */ new Set();
32461
32461
  let a = 0;
@@ -32467,51 +32467,51 @@ function _() {
32467
32467
  try {
32468
32468
  for (; a < h.length; ) {
32469
32469
  const e = h[a];
32470
- a++, m(e), Z(e.$$);
32470
+ a++, m(e), Z$1(e.$$);
32471
32471
  }
32472
32472
  } catch (e) {
32473
32473
  throw h.length = 0, a = 0, e;
32474
32474
  }
32475
32475
  for (m(null), h.length = 0, a = 0; E.length; )
32476
32476
  E.pop()();
32477
- for (let e = 0; e < $.length; e += 1) {
32478
- const n = $[e];
32477
+ for (let e = 0; e < $$1.length; e += 1) {
32478
+ const n = $$1[e];
32479
32479
  x.has(n) || (x.add(n), n());
32480
32480
  }
32481
- $.length = 0;
32481
+ $$1.length = 0;
32482
32482
  } while (h.length);
32483
32483
  for (; j.length; )
32484
32484
  j.pop()();
32485
32485
  L = !1, x.clear(), m(t);
32486
32486
  }
32487
- function Z(t) {
32487
+ function Z$1(t) {
32488
32488
  if (t.fragment !== null) {
32489
32489
  t.update(), p(t.before_update);
32490
32490
  const e = t.dirty;
32491
- t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(k);
32491
+ t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(v);
32492
32492
  }
32493
32493
  }
32494
- function tt$1(t) {
32494
+ function tt(t) {
32495
32495
  const e = [], n = [];
32496
- $.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), $ = e;
32496
+ $$1.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), $$1 = e;
32497
32497
  }
32498
- const et$1 = /* @__PURE__ */ new Set();
32498
+ const et = /* @__PURE__ */ new Set();
32499
32499
  function nt(t, e) {
32500
- t && t.i && (et$1.delete(t), t.i(e));
32500
+ t && t.i && (et.delete(t), t.i(e));
32501
32501
  }
32502
- function kt$1(t) {
32502
+ function vt$1(t) {
32503
32503
  return t?.length !== void 0 ? t : Array.from(t);
32504
32504
  }
32505
32505
  function st$1(t, e, n) {
32506
32506
  const { fragment: s, after_update: i } = t.$$;
32507
- s && s.m(e, n), k(() => {
32507
+ s && s.m(e, n), v(() => {
32508
32508
  const r = t.$$.on_mount.map(M).filter(O);
32509
32509
  t.$$.on_destroy ? t.$$.on_destroy.push(...r) : p(r), t.$$.on_mount = [];
32510
- }), i.forEach(k);
32510
+ }), i.forEach(v);
32511
32511
  }
32512
- function it(t, e) {
32512
+ function it$1(t, e) {
32513
32513
  const n = t.$$;
32514
- n.fragment !== null && (tt$1(n.after_update), p(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
32514
+ n.fragment !== null && (tt(n.after_update), p(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
32515
32515
  }
32516
32516
  function rt(t, e) {
32517
32517
  t.$$.dirty[0] === -1 && (h.push(t), Y$1(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
@@ -32605,7 +32605,7 @@ typeof HTMLElement == "function" && (H$1 = class extends HTMLElement {
32605
32605
  * @param {HTMLElement} [anchor]
32606
32606
  */
32607
32607
  m: function(c, u) {
32608
- v(c, r, u);
32608
+ k(c, r, u);
32609
32609
  },
32610
32610
  d: function(c) {
32611
32611
  c && y(r);
@@ -32615,7 +32615,7 @@ typeof HTMLElement == "function" && (H$1 = class extends HTMLElement {
32615
32615
  };
32616
32616
  if (await Promise.resolve(), !this.$$cn || this.$$c)
32617
32617
  return;
32618
- const e = {}, n = K$1(this);
32618
+ const e = {}, n = K(this);
32619
32619
  for (const i of this.$$s)
32620
32620
  i in n && (e[i] = [t(i)]);
32621
32621
  for (const i of this.attributes) {
@@ -32702,7 +32702,7 @@ function b(t, e, n, s) {
32702
32702
  return e;
32703
32703
  }
32704
32704
  }
32705
- function ot(t, e, n, s, i, r) {
32705
+ function ot$1(t, e, n, s, i, r) {
32706
32706
  let o = class extends H$1 {
32707
32707
  constructor() {
32708
32708
  super(t, n, i), this.$$p_d = e;
@@ -32750,7 +32750,7 @@ class lt$1 {
32750
32750
  $$set = void 0;
32751
32751
  /** @returns {void} */
32752
32752
  $destroy() {
32753
- it(this, 1), this.$destroy = d;
32753
+ it$1(this, 1), this.$destroy = d;
32754
32754
  }
32755
32755
  /**
32756
32756
  * @template {Extract<keyof Events, string>} K
@@ -32792,7 +32792,7 @@ function dt$1(t, e) {
32792
32792
  console.error("There was an error while trying to load client styling from URL", s);
32793
32793
  });
32794
32794
  }
32795
- function at(t, e, n) {
32795
+ function at$1(t, e, n) {
32796
32796
  if (window.emMessageBus) {
32797
32797
  const s = document.createElement("style");
32798
32798
  window.emMessageBus.subscribe(e, (i) => {
@@ -32810,7 +32810,7 @@ function $t$1(t) {
32810
32810
  e = w$1("div"), e.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
32811
32811
  },
32812
32812
  m(n, s) {
32813
- v(n, e, s), t[4](e);
32813
+ k(n, e, s), t[4](e);
32814
32814
  },
32815
32815
  p: d,
32816
32816
  i: d,
@@ -32835,7 +32835,7 @@ function mt$1(t, e, n) {
32835
32835
  t.$$.dirty & /*clientstyling, customStylingContainer*/
32836
32836
  3 && s && o && ft$1(o, s), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
32837
32837
  5 && i && o && dt$1(o, i), t.$$.dirty & /*mbsource, customStylingContainer*/
32838
- 9 && r && o && at(o, `${r}.Style`);
32838
+ 9 && r && o && at$1(o, `${r}.Style`);
32839
32839
  }, [
32840
32840
  o,
32841
32841
  s,
@@ -32879,29 +32879,29 @@ class R extends lt$1 {
32879
32879
  this.$$set({ mbsource: e }), _();
32880
32880
  }
32881
32881
  }
32882
- ot(R, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
32883
- const vt$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
32882
+ ot$1(R, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
32883
+ const kt$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
32884
32884
  __proto__: null,
32885
32885
  default: R
32886
32886
  }, Symbol.toStringTag, { value: "Module" }));
32887
32887
 
32888
- const GeneralAnimationLoadingBMZE178n = /*#__PURE__*/Object.freeze({
32888
+ const GeneralAnimationLoadingZTNd0X9B = /*#__PURE__*/Object.freeze({
32889
32889
  __proto__: null,
32890
- A: wt$1,
32891
- B: P,
32892
- C: Et$1,
32893
- D: xt$1,
32894
- G: vt$1,
32895
- H: Lt,
32890
+ A: gt$1,
32891
+ B: ft$1,
32892
+ C: dt$1,
32893
+ D: at$1,
32894
+ G: kt$1,
32895
+ H: Lt$1,
32896
32896
  S: lt$1,
32897
- a: z,
32897
+ a: D$1,
32898
32898
  b: ct$1,
32899
- c: ot,
32900
- d: V,
32901
- e: B$1,
32902
- f: v,
32903
- g: G,
32904
- h: y,
32899
+ c: ot$1,
32900
+ d: y,
32901
+ e: k,
32902
+ f: G,
32903
+ g: V,
32904
+ h: B$1,
32905
32905
  i: O,
32906
32906
  j: _,
32907
32907
  k: I,
@@ -32909,37 +32909,37 @@ const GeneralAnimationLoadingBMZE178n = /*#__PURE__*/Object.freeze({
32909
32909
  m: _t$1,
32910
32910
  n: d,
32911
32911
  o: W,
32912
- p: dt$1,
32913
- q: gt$1,
32912
+ p: E,
32913
+ q: xt$1,
32914
32914
  r: p,
32915
- s: D$1,
32916
- t: E,
32917
- u: ft$1,
32918
- v: at,
32919
- w: kt$1,
32920
- x: bt$1,
32915
+ s: z,
32916
+ t: Et$1,
32917
+ u: P,
32918
+ v: vt$1,
32919
+ w: bt$1,
32920
+ x: wt$1,
32921
32921
  y: pt$1,
32922
32922
  z: yt$1
32923
32923
  });
32924
32924
 
32925
- const K = [];
32926
- function Dr(e, t) {
32925
+ const Y = [];
32926
+ function Lr(e, t) {
32927
32927
  return {
32928
- subscribe: Ne(e, t).subscribe
32928
+ subscribe: we(e, t).subscribe
32929
32929
  };
32930
32930
  }
32931
- function Ne(e, t = d) {
32931
+ function we(e, t = d) {
32932
32932
  let r;
32933
32933
  const n = /* @__PURE__ */ new Set();
32934
32934
  function i(s) {
32935
32935
  if (z(e, s) && (e = s, r)) {
32936
- const h = !K.length;
32936
+ const h = !Y.length;
32937
32937
  for (const u of n)
32938
- u[1](), K.push(u, e);
32938
+ u[1](), Y.push(u, e);
32939
32939
  if (h) {
32940
- for (let u = 0; u < K.length; u += 2)
32941
- K[u][0](K[u + 1]);
32942
- K.length = 0;
32940
+ for (let u = 0; u < Y.length; u += 2)
32941
+ Y[u][0](Y[u + 1]);
32942
+ Y.length = 0;
32943
32943
  }
32944
32944
  }
32945
32945
  }
@@ -32954,12 +32954,12 @@ function Ne(e, t = d) {
32954
32954
  }
32955
32955
  return { set: i, update: o, subscribe: a };
32956
32956
  }
32957
- function ie(e, t, r) {
32957
+ function ne(e, t, r) {
32958
32958
  const n = !Array.isArray(e), i = n ? [e] : e;
32959
32959
  if (!i.every(Boolean))
32960
32960
  throw new Error("derived() expects stores as input, got a falsy value");
32961
32961
  const o = t.length < 2;
32962
- return Dr(r, (a, s) => {
32962
+ return Lr(r, (a, s) => {
32963
32963
  let h = !1;
32964
32964
  const u = [];
32965
32965
  let l = 0, d$1 = d;
@@ -32969,11 +32969,11 @@ function ie(e, t, r) {
32969
32969
  d$1();
32970
32970
  const f = t(n ? u[0] : u, a, s);
32971
32971
  o ? a(f) : d$1 = O(f) ? f : d;
32972
- }, b = i.map(
32972
+ }, v = i.map(
32973
32973
  (f, g) => D$1(
32974
32974
  f,
32975
- (S) => {
32976
- u[g] = S, l &= ~(1 << g), h && m();
32975
+ (C) => {
32976
+ u[g] = C, l &= ~(1 << g), h && m();
32977
32977
  },
32978
32978
  () => {
32979
32979
  l |= 1 << g;
@@ -32981,84 +32981,84 @@ function ie(e, t, r) {
32981
32981
  )
32982
32982
  );
32983
32983
  return h = !0, m(), function() {
32984
- p(b), d$1(), h = !1;
32984
+ p(v), d$1(), h = !1;
32985
32985
  };
32986
32986
  });
32987
32987
  }
32988
- function qr(e) {
32988
+ function Rr(e) {
32989
32989
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
32990
32990
  }
32991
- var Gr = function(t) {
32992
- return Fr(t) && !Vr(t);
32991
+ var Ur = function(t) {
32992
+ return Dr(t) && !qr(t);
32993
32993
  };
32994
- function Fr(e) {
32994
+ function Dr(e) {
32995
32995
  return !!e && typeof e == "object";
32996
32996
  }
32997
- function Vr(e) {
32997
+ function qr(e) {
32998
32998
  var t = Object.prototype.toString.call(e);
32999
- return t === "[object RegExp]" || t === "[object Date]" || Zr(e);
32999
+ return t === "[object RegExp]" || t === "[object Date]" || Vr(e);
33000
33000
  }
33001
- var Xr = typeof Symbol == "function" && Symbol.for, Wr = Xr ? Symbol.for("react.element") : 60103;
33002
- function Zr(e) {
33003
- return e.$$typeof === Wr;
33001
+ var Gr = typeof Symbol == "function" && Symbol.for, Fr = Gr ? Symbol.for("react.element") : 60103;
33002
+ function Vr(e) {
33003
+ return e.$$typeof === Fr;
33004
33004
  }
33005
- function Jr(e) {
33005
+ function Xr(e) {
33006
33006
  return Array.isArray(e) ? [] : {};
33007
33007
  }
33008
- function me(e, t) {
33009
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(Jr(e), e, t) : e;
33008
+ function de(e, t) {
33009
+ return t.clone !== !1 && t.isMergeableObject(e) ? $(Xr(e), e, t) : e;
33010
33010
  }
33011
- function Qr(e, t, r) {
33011
+ function Wr(e, t, r) {
33012
33012
  return e.concat(t).map(function(n) {
33013
- return me(n, r);
33013
+ return de(n, r);
33014
33014
  });
33015
33015
  }
33016
- function Yr(e, t) {
33016
+ function Zr(e, t) {
33017
33017
  if (!t.customMerge)
33018
- return ee;
33018
+ return $;
33019
33019
  var r = t.customMerge(e);
33020
- return typeof r == "function" ? r : ee;
33020
+ return typeof r == "function" ? r : $;
33021
33021
  }
33022
- function Kr(e) {
33022
+ function Jr(e) {
33023
33023
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
33024
33024
  return Object.propertyIsEnumerable.call(e, t);
33025
33025
  }) : [];
33026
33026
  }
33027
- function st(e) {
33028
- return Object.keys(e).concat(Kr(e));
33027
+ function it(e) {
33028
+ return Object.keys(e).concat(Jr(e));
33029
33029
  }
33030
- function Rt(e, t) {
33030
+ function It(e, t) {
33031
33031
  try {
33032
33032
  return t in e;
33033
33033
  } catch {
33034
33034
  return !1;
33035
33035
  }
33036
33036
  }
33037
- function $r(e, t) {
33038
- return Rt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
33037
+ function Qr(e, t) {
33038
+ return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
33039
33039
  }
33040
- function en(e, t, r) {
33040
+ function Yr(e, t, r) {
33041
33041
  var n = {};
33042
- return r.isMergeableObject(e) && st(e).forEach(function(i) {
33043
- n[i] = me(e[i], r);
33044
- }), st(t).forEach(function(i) {
33045
- $r(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Yr(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
33042
+ return r.isMergeableObject(e) && it(e).forEach(function(i) {
33043
+ n[i] = de(e[i], r);
33044
+ }), it(t).forEach(function(i) {
33045
+ Qr(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zr(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
33046
33046
  }), n;
33047
33047
  }
33048
- function ee(e, t, r) {
33049
- r = r || {}, r.arrayMerge = r.arrayMerge || Qr, r.isMergeableObject = r.isMergeableObject || Gr, r.cloneUnlessOtherwiseSpecified = me;
33048
+ function $(e, t, r) {
33049
+ r = r || {}, r.arrayMerge = r.arrayMerge || Wr, r.isMergeableObject = r.isMergeableObject || Ur, r.cloneUnlessOtherwiseSpecified = de;
33050
33050
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
33051
- return o ? n ? r.arrayMerge(e, t, r) : en(e, t, r) : me(t, r);
33051
+ return o ? n ? r.arrayMerge(e, t, r) : Yr(e, t, r) : de(t, r);
33052
33052
  }
33053
- ee.all = function(t, r) {
33053
+ $.all = function(t, r) {
33054
33054
  if (!Array.isArray(t))
33055
33055
  throw new Error("first argument should be an array");
33056
33056
  return t.reduce(function(n, i) {
33057
- return ee(n, i, r);
33057
+ return $(n, i, r);
33058
33058
  }, {});
33059
33059
  };
33060
- var tn = ee, rn = tn;
33061
- const nn = /* @__PURE__ */ qr(rn);
33060
+ var Kr = $, $r = Kr;
33061
+ const en = /* @__PURE__ */ Rr($r);
33062
33062
  /*! *****************************************************************************
33063
33063
  Copyright (c) Microsoft Corporation.
33064
33064
 
@@ -33073,18 +33073,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
33073
33073
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
33074
33074
  PERFORMANCE OF THIS SOFTWARE.
33075
33075
  ***************************************************************************** */
33076
- var De = function(e, t) {
33077
- return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
33076
+ var Ue = function(e, t) {
33077
+ return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
33078
33078
  r.__proto__ = n;
33079
33079
  } || function(r, n) {
33080
33080
  for (var i in n)
33081
33081
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
33082
- }, De(e, t);
33082
+ }, Ue(e, t);
33083
33083
  };
33084
- function Ae(e, t) {
33084
+ function Ne(e, t) {
33085
33085
  if (typeof t != "function" && t !== null)
33086
33086
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
33087
- De(e, t);
33087
+ Ue(e, t);
33088
33088
  function r() {
33089
33089
  this.constructor = e;
33090
33090
  }
@@ -33100,7 +33100,7 @@ var H = function() {
33100
33100
  return t;
33101
33101
  }, H.apply(this, arguments);
33102
33102
  };
33103
- function on(e, t) {
33103
+ function tn(e, t) {
33104
33104
  var r = {};
33105
33105
  for (var n in e)
33106
33106
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -33109,62 +33109,60 @@ function on(e, t) {
33109
33109
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
33110
33110
  return r;
33111
33111
  }
33112
- function Oe(e, t, r) {
33112
+ function ze(e, t, r) {
33113
33113
  if (arguments.length === 2)
33114
33114
  for (var n = 0, i = t.length, o; n < i; n++)
33115
33115
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
33116
33116
  return e.concat(o || t);
33117
33117
  }
33118
- function Ie(e, t) {
33119
- var r = t && t.cache ? t.cache : hn, n = t && t.serializer ? t.serializer : un, i = t && t.strategy ? t.strategy : sn;
33118
+ function Oe(e, t) {
33119
+ var r = t && t.cache ? t.cache : cn, n = t && t.serializer ? t.serializer : sn, i = t && t.strategy ? t.strategy : on;
33120
33120
  return i(e, {
33121
33121
  cache: r,
33122
33122
  serializer: n
33123
33123
  });
33124
33124
  }
33125
- function an(e) {
33125
+ function rn(e) {
33126
33126
  return e == null || typeof e == "number" || typeof e == "boolean";
33127
33127
  }
33128
- function Ut(e, t, r, n) {
33129
- var i = an(n) ? n : r(n), o = t.get(i);
33128
+ function nn(e, t, r, n) {
33129
+ var i = rn(n) ? n : r(n), o = t.get(i);
33130
33130
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
33131
33131
  }
33132
- function Dt(e, t, r) {
33132
+ function jt(e, t, r) {
33133
33133
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
33134
33134
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
33135
33135
  }
33136
- function Ke(e, t, r, n, i) {
33136
+ function Lt(e, t, r, n, i) {
33137
33137
  return r.bind(t, e, n, i);
33138
33138
  }
33139
- function sn(e, t) {
33140
- var r = e.length === 1 ? Ut : Dt;
33141
- return Ke(e, this, r, t.cache.create(), t.serializer);
33142
- }
33143
- function ln(e, t) {
33144
- return Ke(e, this, Dt, t.cache.create(), t.serializer);
33139
+ function on(e, t) {
33140
+ var r = e.length === 1 ? nn : jt;
33141
+ return Lt(e, this, r, t.cache.create(), t.serializer);
33145
33142
  }
33146
- function cn(e, t) {
33147
- return Ke(e, this, Ut, t.cache.create(), t.serializer);
33143
+ function an(e, t) {
33144
+ return Lt(e, this, jt, t.cache.create(), t.serializer);
33148
33145
  }
33149
- var un = function() {
33146
+ var sn = function() {
33150
33147
  return JSON.stringify(arguments);
33151
- };
33152
- function $e() {
33153
- this.cache = /* @__PURE__ */ Object.create(null);
33154
- }
33155
- $e.prototype.get = function(e) {
33156
- return this.cache[e];
33157
- };
33158
- $e.prototype.set = function(e, t) {
33159
- this.cache[e] = t;
33160
- };
33161
- var hn = {
33148
+ }, ln = (
33149
+ /** @class */
33150
+ function() {
33151
+ function e() {
33152
+ this.cache = /* @__PURE__ */ Object.create(null);
33153
+ }
33154
+ return e.prototype.get = function(t) {
33155
+ return this.cache[t];
33156
+ }, e.prototype.set = function(t, r) {
33157
+ this.cache[t] = r;
33158
+ }, e;
33159
+ }()
33160
+ ), cn = {
33162
33161
  create: function() {
33163
- return new $e();
33162
+ return new ln();
33164
33163
  }
33165
- }, je = {
33166
- variadic: ln,
33167
- monadic: cn
33164
+ }, Ie = {
33165
+ variadic: an
33168
33166
  }, w;
33169
33167
  (function(e) {
33170
33168
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
@@ -33173,47 +33171,47 @@ var B;
33173
33171
  (function(e) {
33174
33172
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
33175
33173
  })(B || (B = {}));
33176
- var te;
33174
+ var ee;
33177
33175
  (function(e) {
33178
33176
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
33179
- })(te || (te = {}));
33180
- function lt(e) {
33177
+ })(ee || (ee = {}));
33178
+ function ot(e) {
33181
33179
  return e.type === B.literal;
33182
33180
  }
33183
- function dn(e) {
33181
+ function un(e) {
33184
33182
  return e.type === B.argument;
33185
33183
  }
33186
- function qt(e) {
33184
+ function Rt(e) {
33187
33185
  return e.type === B.number;
33188
33186
  }
33189
- function Gt(e) {
33187
+ function Ut(e) {
33190
33188
  return e.type === B.date;
33191
33189
  }
33192
- function Ft(e) {
33190
+ function Dt(e) {
33193
33191
  return e.type === B.time;
33194
33192
  }
33195
- function Vt(e) {
33193
+ function qt(e) {
33196
33194
  return e.type === B.select;
33197
33195
  }
33198
- function Xt(e) {
33196
+ function Gt(e) {
33199
33197
  return e.type === B.plural;
33200
33198
  }
33201
- function mn(e) {
33199
+ function hn(e) {
33202
33200
  return e.type === B.pound;
33203
33201
  }
33204
- function Wt(e) {
33202
+ function Ft(e) {
33205
33203
  return e.type === B.tag;
33206
33204
  }
33207
- function Zt(e) {
33208
- return !!(e && typeof e == "object" && e.type === te.number);
33205
+ function Vt(e) {
33206
+ return !!(e && typeof e == "object" && e.type === ee.number);
33209
33207
  }
33210
- function qe(e) {
33211
- return !!(e && typeof e == "object" && e.type === te.dateTime);
33208
+ function De(e) {
33209
+ return !!(e && typeof e == "object" && e.type === ee.dateTime);
33212
33210
  }
33213
- var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
33214
- function pn(e) {
33211
+ var Xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, dn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
33212
+ function mn(e) {
33215
33213
  var t = {};
33216
- return e.replace(gn, function(r) {
33214
+ return e.replace(dn, function(r) {
33217
33215
  var n = r.length;
33218
33216
  switch (r[0]) {
33219
33217
  case "G":
@@ -33302,11 +33300,11 @@ function pn(e) {
33302
33300
  return "";
33303
33301
  }), t;
33304
33302
  }
33305
- var fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
33306
- function _n(e) {
33303
+ var gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
33304
+ function pn(e) {
33307
33305
  if (e.length === 0)
33308
33306
  throw new Error("Number skeleton cannot be empty");
33309
- for (var t = e.split(fn).filter(function(m) {
33307
+ for (var t = e.split(gn).filter(function(m) {
33310
33308
  return m.length > 0;
33311
33309
  }), r = [], n = 0, i = t; n < i.length; n++) {
33312
33310
  var o = i[n], a = o.split("/");
@@ -33321,17 +33319,17 @@ function _n(e) {
33321
33319
  }
33322
33320
  return r;
33323
33321
  }
33324
- function bn(e) {
33322
+ function fn(e) {
33325
33323
  return e.replace(/^(.*?)-/, "");
33326
33324
  }
33327
- var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, vn = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
33328
- function ut(e) {
33325
+ var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wt = /^(@+)?(\+|#+)?[rs]?$/g, _n = /(\*)(0+)|(#+)(0+)|(0+)/g, Zt = /^(0+)$/;
33326
+ function st(e) {
33329
33327
  var t = {};
33330
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
33328
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wt, function(r, n, i) {
33331
33329
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
33332
33330
  }), t;
33333
33331
  }
33334
- function Kt(e) {
33332
+ function Jt(e) {
33335
33333
  switch (e) {
33336
33334
  case "sign-auto":
33337
33335
  return {
@@ -33371,7 +33369,7 @@ function Kt(e) {
33371
33369
  };
33372
33370
  }
33373
33371
  }
33374
- function yn(e) {
33372
+ function bn(e) {
33375
33373
  var t;
33376
33374
  if (e[0] === "E" && e[1] === "E" ? (t = {
33377
33375
  notation: "engineering"
@@ -33379,17 +33377,17 @@ function yn(e) {
33379
33377
  notation: "scientific"
33380
33378
  }, e = e.slice(1)), t) {
33381
33379
  var r = e.slice(0, 2);
33382
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
33380
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zt.test(e))
33383
33381
  throw new Error("Malformed concise eng/scientific notation");
33384
33382
  t.minimumIntegerDigits = e.length;
33385
33383
  }
33386
33384
  return t;
33387
33385
  }
33388
- function ht(e) {
33389
- var t = {}, r = Kt(e);
33386
+ function lt(e) {
33387
+ var t = {}, r = Jt(e);
33390
33388
  return r || t;
33391
33389
  }
33392
- function En(e) {
33390
+ function vn(e) {
33393
33391
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
33394
33392
  var i = n[r];
33395
33393
  switch (i.stem) {
@@ -33413,7 +33411,7 @@ function En(e) {
33413
33411
  continue;
33414
33412
  case "measure-unit":
33415
33413
  case "unit":
33416
- t.style = "unit", t.unit = bn(i.options[0]);
33414
+ t.style = "unit", t.unit = fn(i.options[0]);
33417
33415
  continue;
33418
33416
  case "compact-short":
33419
33417
  case "K":
@@ -33425,12 +33423,12 @@ function En(e) {
33425
33423
  continue;
33426
33424
  case "scientific":
33427
33425
  t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
33428
- return H(H({}, h), ht(u));
33426
+ return H(H({}, h), lt(u));
33429
33427
  }, {}));
33430
33428
  continue;
33431
33429
  case "engineering":
33432
33430
  t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
33433
- return H(H({}, h), ht(u));
33431
+ return H(H({}, h), lt(u));
33434
33432
  }, {}));
33435
33433
  continue;
33436
33434
  case "notation-simple":
@@ -33475,45 +33473,45 @@ function En(e) {
33475
33473
  case "integer-width":
33476
33474
  if (i.options.length > 1)
33477
33475
  throw new RangeError("integer-width stems only accept a single optional option");
33478
- i.options[0].replace(vn, function(h, u, l, d, m, b) {
33476
+ i.options[0].replace(_n, function(h, u, l, d, m, v) {
33479
33477
  if (u)
33480
33478
  t.minimumIntegerDigits = l.length;
33481
33479
  else {
33482
33480
  if (d && m)
33483
33481
  throw new Error("We currently do not support maximum integer digits");
33484
- if (b)
33482
+ if (v)
33485
33483
  throw new Error("We currently do not support exact integer digits");
33486
33484
  }
33487
33485
  return "";
33488
33486
  });
33489
33487
  continue;
33490
33488
  }
33491
- if (Yt.test(i.stem)) {
33489
+ if (Zt.test(i.stem)) {
33492
33490
  t.minimumIntegerDigits = i.stem.length;
33493
33491
  continue;
33494
33492
  }
33495
- if (ct.test(i.stem)) {
33493
+ if (at.test(i.stem)) {
33496
33494
  if (i.options.length > 1)
33497
33495
  throw new RangeError("Fraction-precision stems only accept a single optional option");
33498
- i.stem.replace(ct, function(h, u, l, d, m, b) {
33499
- return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && b ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
33496
+ i.stem.replace(at, function(h, u, l, d, m, v) {
33497
+ return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && v ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + v.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
33500
33498
  });
33501
33499
  var o = i.options[0];
33502
- o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), ut(o)));
33500
+ o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), st(o)));
33503
33501
  continue;
33504
33502
  }
33505
- if (Qt.test(i.stem)) {
33506
- t = H(H({}, t), ut(i.stem));
33503
+ if (Wt.test(i.stem)) {
33504
+ t = H(H({}, t), st(i.stem));
33507
33505
  continue;
33508
33506
  }
33509
- var a = Kt(i.stem);
33507
+ var a = Jt(i.stem);
33510
33508
  a && (t = H(H({}, t), a));
33511
- var s = yn(i.stem);
33509
+ var s = bn(i.stem);
33512
33510
  s && (t = H(H({}, t), s));
33513
33511
  }
33514
33512
  return t;
33515
33513
  }
33516
- var Se = {
33514
+ var Ce = {
33517
33515
  "001": [
33518
33516
  "H",
33519
33517
  "h"
@@ -34928,13 +34926,13 @@ var Se = {
34928
34926
  "h"
34929
34927
  ]
34930
34928
  };
34931
- function kn(e, t) {
34929
+ function yn(e, t) {
34932
34930
  for (var r = "", n = 0; n < e.length; n++) {
34933
34931
  var i = e.charAt(n);
34934
34932
  if (i === "j") {
34935
34933
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
34936
34934
  o++, n++;
34937
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Cn(t);
34935
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = En(t);
34938
34936
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
34939
34937
  r += h;
34940
34938
  for (; a-- > 0; )
@@ -34944,7 +34942,7 @@ function kn(e, t) {
34944
34942
  }
34945
34943
  return r;
34946
34944
  }
34947
- function Cn(e) {
34945
+ function En(e) {
34948
34946
  var t = e.hourCycle;
34949
34947
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
34950
34948
  e.hourCycles && // @ts-ignore
@@ -34963,23 +34961,23 @@ function Cn(e) {
34963
34961
  }
34964
34962
  var r = e.language, n;
34965
34963
  r !== "root" && (n = e.maximize().region);
34966
- var i = Se[n || ""] || Se[r || ""] || Se["".concat(r, "-001")] || Se["001"];
34964
+ var i = Ce[n || ""] || Ce[r || ""] || Ce["".concat(r, "-001")] || Ce["001"];
34967
34965
  return i[0];
34968
34966
  }
34969
- var Le, Sn = new RegExp("^".concat(Jt.source, "*")), xn = new RegExp("".concat(Jt.source, "*$"));
34967
+ var je, kn = new RegExp("^".concat(Xt.source, "*")), Cn = new RegExp("".concat(Xt.source, "*$"));
34970
34968
  function N(e, t) {
34971
34969
  return { start: e, end: t };
34972
34970
  }
34973
- var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Tn = !!String.fromCodePoint, wn = !!Object.fromEntries, Nn = !!String.prototype.codePointAt, An = !!String.prototype.trimStart, Hn = !!String.prototype.trimEnd, Pn = !!Number.isSafeInteger, Bn = Pn ? Number.isSafeInteger : function(e) {
34971
+ var Sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), xn = !!String.fromCodePoint, Tn = !!Object.fromEntries, Mn = !!String.prototype.codePointAt, wn = !!String.prototype.trimStart, Nn = !!String.prototype.trimEnd, An = !!Number.isSafeInteger, Hn = An ? Number.isSafeInteger : function(e) {
34974
34972
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
34975
- }, Ge = !0;
34973
+ }, qe = !0;
34976
34974
  try {
34977
- var zn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
34978
- Ge = ((Le = zn.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
34975
+ var Pn = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
34976
+ qe = ((je = Pn.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
34979
34977
  } catch {
34980
- Ge = !1;
34978
+ qe = !1;
34981
34979
  }
34982
- var dt = Mn ? (
34980
+ var ct = Sn ? (
34983
34981
  // Native
34984
34982
  function(t, r, n) {
34985
34983
  return t.startsWith(r, n);
@@ -34989,7 +34987,7 @@ var dt = Mn ? (
34989
34987
  function(t, r, n) {
34990
34988
  return t.slice(n, n + r.length) === r;
34991
34989
  }
34992
- ), Fe = Tn ? String.fromCodePoint : (
34990
+ ), Ge = xn ? String.fromCodePoint : (
34993
34991
  // IE11
34994
34992
  function() {
34995
34993
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -35001,9 +34999,9 @@ var dt = Mn ? (
35001
34999
  }
35002
35000
  return n;
35003
35001
  }
35004
- ), mt = (
35002
+ ), ut = (
35005
35003
  // native
35006
- wn ? Object.fromEntries : (
35004
+ Tn ? Object.fromEntries : (
35007
35005
  // Ponyfill
35008
35006
  function(t) {
35009
35007
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -35013,7 +35011,7 @@ var dt = Mn ? (
35013
35011
  return r;
35014
35012
  }
35015
35013
  )
35016
- ), $t = Nn ? (
35014
+ ), Qt = Mn ? (
35017
35015
  // Native
35018
35016
  function(t, r) {
35019
35017
  return t.codePointAt(r);
@@ -35027,7 +35025,7 @@ var dt = Mn ? (
35027
35025
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
35028
35026
  }
35029
35027
  }
35030
- ), On = An ? (
35028
+ ), Bn = wn ? (
35031
35029
  // Native
35032
35030
  function(t) {
35033
35031
  return t.trimStart();
@@ -35035,9 +35033,9 @@ var dt = Mn ? (
35035
35033
  ) : (
35036
35034
  // Ponyfill
35037
35035
  function(t) {
35038
- return t.replace(Sn, "");
35036
+ return t.replace(kn, "");
35039
35037
  }
35040
- ), In = Hn ? (
35038
+ ), zn = Nn ? (
35041
35039
  // Native
35042
35040
  function(t) {
35043
35041
  return t.trimEnd();
@@ -35045,32 +35043,32 @@ var dt = Mn ? (
35045
35043
  ) : (
35046
35044
  // Ponyfill
35047
35045
  function(t) {
35048
- return t.replace(xn, "");
35046
+ return t.replace(Cn, "");
35049
35047
  }
35050
35048
  );
35051
- function er(e, t) {
35049
+ function Yt(e, t) {
35052
35050
  return new RegExp(e, t);
35053
35051
  }
35054
- var Ve;
35055
- if (Ge) {
35056
- var gt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
35057
- Ve = function(t, r) {
35052
+ var Fe;
35053
+ if (qe) {
35054
+ var ht = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
35055
+ Fe = function(t, r) {
35058
35056
  var n;
35059
- gt.lastIndex = r;
35060
- var i = gt.exec(t);
35057
+ ht.lastIndex = r;
35058
+ var i = ht.exec(t);
35061
35059
  return (n = i[1]) !== null && n !== void 0 ? n : "";
35062
35060
  };
35063
35061
  } else
35064
- Ve = function(t, r) {
35062
+ Fe = function(t, r) {
35065
35063
  for (var n = []; ; ) {
35066
- var i = $t(t, r);
35067
- if (i === void 0 || tr(i) || Un(i))
35064
+ var i = Qt(t, r);
35065
+ if (i === void 0 || Kt(i) || Ln(i))
35068
35066
  break;
35069
35067
  n.push(i), r += i >= 65536 ? 2 : 1;
35070
35068
  }
35071
- return Fe.apply(void 0, n);
35069
+ return Ge.apply(void 0, n);
35072
35070
  };
35073
- var jn = (
35071
+ var On = (
35074
35072
  /** @class */
35075
35073
  function() {
35076
35074
  function e(t, r) {
@@ -35101,7 +35099,7 @@ var jn = (
35101
35099
  if (n)
35102
35100
  break;
35103
35101
  return this.error(w.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
35104
- } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
35102
+ } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
35105
35103
  var a = this.parseTag(t, r);
35106
35104
  if (a.err)
35107
35105
  return a;
@@ -35134,7 +35132,7 @@ var jn = (
35134
35132
  return o;
35135
35133
  var a = o.val, s = this.clonePosition();
35136
35134
  if (this.bumpIf("</")) {
35137
- if (this.isEOF() || !Xe(this.char()))
35135
+ if (this.isEOF() || !Ve(this.char()))
35138
35136
  return this.error(w.INVALID_TAG, N(s, this.clonePosition()));
35139
35137
  var h = this.clonePosition(), u = this.parseTagName();
35140
35138
  return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, N(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -35152,7 +35150,7 @@ var jn = (
35152
35150
  return this.error(w.INVALID_TAG, N(n, this.clonePosition()));
35153
35151
  }, e.prototype.parseTagName = function() {
35154
35152
  var t = this.offset();
35155
- for (this.bump(); !this.isEOF() && Rn(this.char()); )
35153
+ for (this.bump(); !this.isEOF() && jn(this.char()); )
35156
35154
  this.bump();
35157
35155
  return this.message.slice(t, this.offset());
35158
35156
  }, e.prototype.parseLiteral = function(t, r) {
@@ -35181,7 +35179,7 @@ var jn = (
35181
35179
  };
35182
35180
  }, e.prototype.tryParseLeftAngleBracket = function() {
35183
35181
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
35184
- !Ln(this.peek() || 0)) ? (this.bump(), "<") : null;
35182
+ !In(this.peek() || 0)) ? (this.bump(), "<") : null;
35185
35183
  }, e.prototype.tryParseQuote = function(t) {
35186
35184
  if (this.isEOF() || this.char() !== 39)
35187
35185
  return null;
@@ -35215,12 +35213,12 @@ var jn = (
35215
35213
  r.push(n);
35216
35214
  this.bump();
35217
35215
  }
35218
- return Fe.apply(void 0, r);
35216
+ return Ge.apply(void 0, r);
35219
35217
  }, e.prototype.tryParseUnquoted = function(t, r) {
35220
35218
  if (this.isEOF())
35221
35219
  return null;
35222
35220
  var n = this.char();
35223
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
35221
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
35224
35222
  }, e.prototype.parseArgument = function(t, r) {
35225
35223
  var n = this.clonePosition();
35226
35224
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -35249,7 +35247,7 @@ var jn = (
35249
35247
  return this.error(w.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
35250
35248
  }
35251
35249
  }, e.prototype.parseIdentifierIfPossible = function() {
35252
- var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
35250
+ var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
35253
35251
  this.bumpTo(i);
35254
35252
  var o = this.clonePosition(), a = N(t, o);
35255
35253
  return { value: n, location: a };
@@ -35268,37 +35266,37 @@ var jn = (
35268
35266
  var l = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
35269
35267
  if (d.err)
35270
35268
  return d;
35271
- var m = In(d.val);
35269
+ var m = zn(d.val);
35272
35270
  if (m.length === 0)
35273
35271
  return this.error(w.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
35274
- var b = N(l, this.clonePosition());
35275
- u = { style: m, styleLocation: b };
35272
+ var v = N(l, this.clonePosition());
35273
+ u = { style: m, styleLocation: v };
35276
35274
  }
35277
35275
  var f = this.tryParseArgumentClose(i);
35278
35276
  if (f.err)
35279
35277
  return f;
35280
35278
  var g = N(i, this.clonePosition());
35281
- if (u && dt(u?.style, "::", 0)) {
35282
- var S = On(u.style.slice(2));
35279
+ if (u && ct(u?.style, "::", 0)) {
35280
+ var C = Bn(u.style.slice(2));
35283
35281
  if (s === "number") {
35284
- var d = this.parseNumberSkeletonFromString(S, u.styleLocation);
35282
+ var d = this.parseNumberSkeletonFromString(C, u.styleLocation);
35285
35283
  return d.err ? d : {
35286
35284
  val: { type: B.number, value: n, location: g, style: d.val },
35287
35285
  err: null
35288
35286
  };
35289
35287
  } else {
35290
- if (S.length === 0)
35288
+ if (C.length === 0)
35291
35289
  return this.error(w.EXPECT_DATE_TIME_SKELETON, g);
35292
- var _ = S;
35293
- this.locale && (_ = kn(S, this.locale));
35290
+ var _ = C;
35291
+ this.locale && (_ = yn(C, this.locale));
35294
35292
  var m = {
35295
- type: te.dateTime,
35293
+ type: ee.dateTime,
35296
35294
  pattern: _,
35297
35295
  location: u.styleLocation,
35298
- parsedOptions: this.shouldParseSkeletons ? pn(_) : {}
35299
- }, v = s === "date" ? B.date : B.time;
35296
+ parsedOptions: this.shouldParseSkeletons ? mn(_) : {}
35297
+ }, b = s === "date" ? B.date : B.time;
35300
35298
  return {
35301
- val: { type: v, value: n, location: g, style: m },
35299
+ val: { type: b, value: n, location: g, style: m },
35302
35300
  err: null
35303
35301
  };
35304
35302
  }
@@ -35316,11 +35314,11 @@ var jn = (
35316
35314
  case "plural":
35317
35315
  case "selectordinal":
35318
35316
  case "select": {
35319
- var C = this.clonePosition();
35317
+ var x = this.clonePosition();
35320
35318
  if (this.bumpSpace(), !this.bumpIf(","))
35321
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(C, H({}, C)));
35319
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(x, H({}, x)));
35322
35320
  this.bumpSpace();
35323
- var P = this.parseIdentifierIfPossible(), k = 0;
35321
+ var P = this.parseIdentifierIfPossible(), E = 0;
35324
35322
  if (s !== "select" && P.value === "offset") {
35325
35323
  if (!this.bumpIf(":"))
35326
35324
  return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
@@ -35328,7 +35326,7 @@ var jn = (
35328
35326
  var d = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
35329
35327
  if (d.err)
35330
35328
  return d;
35331
- this.bumpSpace(), P = this.parseIdentifierIfPossible(), k = d.val;
35329
+ this.bumpSpace(), P = this.parseIdentifierIfPossible(), E = d.val;
35332
35330
  }
35333
35331
  var z = this.tryParsePluralOrSelectOptions(t, s, r, P);
35334
35332
  if (z.err)
@@ -35336,23 +35334,23 @@ var jn = (
35336
35334
  var f = this.tryParseArgumentClose(i);
35337
35335
  if (f.err)
35338
35336
  return f;
35339
- var W = N(i, this.clonePosition());
35337
+ var O = N(i, this.clonePosition());
35340
35338
  return s === "select" ? {
35341
35339
  val: {
35342
35340
  type: B.select,
35343
35341
  value: n,
35344
- options: mt(z.val),
35345
- location: W
35342
+ options: ut(z.val),
35343
+ location: O
35346
35344
  },
35347
35345
  err: null
35348
35346
  } : {
35349
35347
  val: {
35350
35348
  type: B.plural,
35351
35349
  value: n,
35352
- options: mt(z.val),
35353
- offset: k,
35350
+ options: ut(z.val),
35351
+ offset: E,
35354
35352
  pluralType: s === "plural" ? "cardinal" : "ordinal",
35355
- location: W
35353
+ location: O
35356
35354
  },
35357
35355
  err: null
35358
35356
  };
@@ -35400,16 +35398,16 @@ var jn = (
35400
35398
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
35401
35399
  var n = [];
35402
35400
  try {
35403
- n = _n(t);
35401
+ n = pn(t);
35404
35402
  } catch {
35405
35403
  return this.error(w.INVALID_NUMBER_SKELETON, r);
35406
35404
  }
35407
35405
  return {
35408
35406
  val: {
35409
- type: te.number,
35407
+ type: ee.number,
35410
35408
  tokens: n,
35411
35409
  location: r,
35412
- parsedOptions: this.shouldParseSkeletons ? En(n) : {}
35410
+ parsedOptions: this.shouldParseSkeletons ? vn(n) : {}
35413
35411
  },
35414
35412
  err: null
35415
35413
  };
@@ -35428,20 +35426,20 @@ var jn = (
35428
35426
  if (h.has(u))
35429
35427
  return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
35430
35428
  u === "other" && (a = !0), this.bumpSpace();
35431
- var b = this.clonePosition();
35429
+ var v = this.clonePosition();
35432
35430
  if (!this.bumpIf("{"))
35433
35431
  return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
35434
35432
  var f = this.parseMessage(t + 1, r, n);
35435
35433
  if (f.err)
35436
35434
  return f;
35437
- var g = this.tryParseArgumentClose(b);
35435
+ var g = this.tryParseArgumentClose(v);
35438
35436
  if (g.err)
35439
35437
  return g;
35440
35438
  s.push([
35441
35439
  u,
35442
35440
  {
35443
35441
  value: f.val,
35444
- location: N(b, this.clonePosition())
35442
+ location: N(v, this.clonePosition())
35445
35443
  }
35446
35444
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
35447
35445
  }
@@ -35457,7 +35455,7 @@ var jn = (
35457
35455
  break;
35458
35456
  }
35459
35457
  var h = N(i, this.clonePosition());
35460
- return o ? (a *= n, Bn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
35458
+ return o ? (a *= n, Hn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
35461
35459
  }, e.prototype.offset = function() {
35462
35460
  return this.position.offset;
35463
35461
  }, e.prototype.isEOF = function() {
@@ -35472,7 +35470,7 @@ var jn = (
35472
35470
  var t = this.position.offset;
35473
35471
  if (t >= this.message.length)
35474
35472
  throw Error("out of bound");
35475
- var r = $t(this.message, t);
35473
+ var r = Qt(this.message, t);
35476
35474
  if (r === void 0)
35477
35475
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
35478
35476
  return r;
@@ -35491,7 +35489,7 @@ var jn = (
35491
35489
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
35492
35490
  }
35493
35491
  }, e.prototype.bumpIf = function(t) {
35494
- if (dt(this.message, t, this.offset())) {
35492
+ if (ct(this.message, t, this.offset())) {
35495
35493
  for (var r = 0; r < t.length; r++)
35496
35494
  this.bump();
35497
35495
  return !0;
@@ -35513,7 +35511,7 @@ var jn = (
35513
35511
  break;
35514
35512
  }
35515
35513
  }, e.prototype.bumpSpace = function() {
35516
- for (; !this.isEOF() && tr(this.char()); )
35514
+ for (; !this.isEOF() && Kt(this.char()); )
35517
35515
  this.bump();
35518
35516
  }, e.prototype.peek = function() {
35519
35517
  if (this.isEOF())
@@ -35523,47 +35521,47 @@ var jn = (
35523
35521
  }, e;
35524
35522
  }()
35525
35523
  );
35526
- function Xe(e) {
35524
+ function Ve(e) {
35527
35525
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
35528
35526
  }
35529
- function Ln(e) {
35530
- return Xe(e) || e === 47;
35527
+ function In(e) {
35528
+ return Ve(e) || e === 47;
35531
35529
  }
35532
- function Rn(e) {
35530
+ function jn(e) {
35533
35531
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
35534
35532
  }
35535
- function tr(e) {
35533
+ function Kt(e) {
35536
35534
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
35537
35535
  }
35538
- function Un(e) {
35536
+ function Ln(e) {
35539
35537
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
35540
35538
  }
35541
- function We(e) {
35539
+ function Xe(e) {
35542
35540
  e.forEach(function(t) {
35543
- if (delete t.location, Vt(t) || Xt(t))
35541
+ if (delete t.location, qt(t) || Gt(t))
35544
35542
  for (var r in t.options)
35545
- delete t.options[r].location, We(t.options[r].value);
35543
+ delete t.options[r].location, Xe(t.options[r].value);
35546
35544
  else
35547
- qt(t) && Zt(t.style) || (Gt(t) || Ft(t)) && qe(t.style) ? delete t.style.location : Wt(t) && We(t.children);
35545
+ Rt(t) && Vt(t.style) || (Ut(t) || Dt(t)) && De(t.style) ? delete t.style.location : Ft(t) && Xe(t.children);
35548
35546
  });
35549
35547
  }
35550
- function Dn(e, t) {
35548
+ function Rn(e, t) {
35551
35549
  t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
35552
- var r = new jn(e, t).parse();
35550
+ var r = new On(e, t).parse();
35553
35551
  if (r.err) {
35554
35552
  var n = SyntaxError(w[r.err.kind]);
35555
35553
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
35556
35554
  }
35557
- return t?.captureLocation || We(r.val), r.val;
35555
+ return t?.captureLocation || Xe(r.val), r.val;
35558
35556
  }
35559
- var re;
35557
+ var te;
35560
35558
  (function(e) {
35561
35559
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
35562
- })(re || (re = {}));
35563
- var He = (
35560
+ })(te || (te = {}));
35561
+ var Ae = (
35564
35562
  /** @class */
35565
35563
  function(e) {
35566
- Ae(t, e);
35564
+ Ne(t, e);
35567
35565
  function t(r, n, i) {
35568
35566
  var o = e.call(this, r) || this;
35569
35567
  return o.code = n, o.originalMessage = i, o;
@@ -35572,48 +35570,48 @@ var He = (
35572
35570
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
35573
35571
  }, t;
35574
35572
  }(Error)
35575
- ), pt = (
35573
+ ), dt = (
35576
35574
  /** @class */
35577
35575
  function(e) {
35578
- Ae(t, e);
35576
+ Ne(t, e);
35579
35577
  function t(r, n, i, o) {
35580
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, o) || this;
35578
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
35581
35579
  }
35582
35580
  return t;
35583
- }(He)
35584
- ), qn = (
35581
+ }(Ae)
35582
+ ), Un = (
35585
35583
  /** @class */
35586
35584
  function(e) {
35587
- Ae(t, e);
35585
+ Ne(t, e);
35588
35586
  function t(r, n, i) {
35589
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
35587
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
35590
35588
  }
35591
35589
  return t;
35592
- }(He)
35593
- ), Gn = (
35590
+ }(Ae)
35591
+ ), Dn = (
35594
35592
  /** @class */
35595
35593
  function(e) {
35596
- Ae(t, e);
35594
+ Ne(t, e);
35597
35595
  function t(r, n) {
35598
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
35596
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
35599
35597
  }
35600
35598
  return t;
35601
- }(He)
35599
+ }(Ae)
35602
35600
  ), D;
35603
35601
  (function(e) {
35604
35602
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
35605
35603
  })(D || (D = {}));
35606
- function Fn(e) {
35604
+ function qn(e) {
35607
35605
  return e.length < 2 ? e : e.reduce(function(t, r) {
35608
35606
  var n = t[t.length - 1];
35609
35607
  return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
35610
35608
  }, []);
35611
35609
  }
35612
- function Vn(e) {
35610
+ function Gn(e) {
35613
35611
  return typeof e == "function";
35614
35612
  }
35615
- function xe(e, t, r, n, i, o, a) {
35616
- if (e.length === 1 && lt(e[0]))
35613
+ function Se(e, t, r, n, i, o, a) {
35614
+ if (e.length === 1 && ot(e[0]))
35617
35615
  return [
35618
35616
  {
35619
35617
  type: D.literal,
@@ -35622,14 +35620,14 @@ function xe(e, t, r, n, i, o, a) {
35622
35620
  ];
35623
35621
  for (var s = [], h = 0, u = e; h < u.length; h++) {
35624
35622
  var l = u[h];
35625
- if (lt(l)) {
35623
+ if (ot(l)) {
35626
35624
  s.push({
35627
35625
  type: D.literal,
35628
35626
  value: l.value
35629
35627
  });
35630
35628
  continue;
35631
35629
  }
35632
- if (mn(l)) {
35630
+ if (hn(l)) {
35633
35631
  typeof o == "number" && s.push({
35634
35632
  type: D.literal,
35635
35633
  value: r.getNumberFormat(t).format(o)
@@ -35638,89 +35636,89 @@ function xe(e, t, r, n, i, o, a) {
35638
35636
  }
35639
35637
  var d = l.value;
35640
35638
  if (!(i && d in i))
35641
- throw new Gn(d, a);
35639
+ throw new Dn(d, a);
35642
35640
  var m = i[d];
35643
- if (dn(l)) {
35641
+ if (un(l)) {
35644
35642
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
35645
35643
  type: typeof m == "string" ? D.literal : D.object,
35646
35644
  value: m
35647
35645
  });
35648
35646
  continue;
35649
35647
  }
35650
- if (Gt(l)) {
35651
- var b = typeof l.style == "string" ? n.date[l.style] : qe(l.style) ? l.style.parsedOptions : void 0;
35648
+ if (Ut(l)) {
35649
+ var v = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
35652
35650
  s.push({
35653
35651
  type: D.literal,
35654
- value: r.getDateTimeFormat(t, b).format(m)
35652
+ value: r.getDateTimeFormat(t, v).format(m)
35655
35653
  });
35656
35654
  continue;
35657
35655
  }
35658
- if (Ft(l)) {
35659
- var b = typeof l.style == "string" ? n.time[l.style] : qe(l.style) ? l.style.parsedOptions : n.time.medium;
35656
+ if (Dt(l)) {
35657
+ var v = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
35660
35658
  s.push({
35661
35659
  type: D.literal,
35662
- value: r.getDateTimeFormat(t, b).format(m)
35660
+ value: r.getDateTimeFormat(t, v).format(m)
35663
35661
  });
35664
35662
  continue;
35665
35663
  }
35666
- if (qt(l)) {
35667
- var b = typeof l.style == "string" ? n.number[l.style] : Zt(l.style) ? l.style.parsedOptions : void 0;
35668
- b && b.scale && (m = m * (b.scale || 1)), s.push({
35664
+ if (Rt(l)) {
35665
+ var v = typeof l.style == "string" ? n.number[l.style] : Vt(l.style) ? l.style.parsedOptions : void 0;
35666
+ v && v.scale && (m = m * (v.scale || 1)), s.push({
35669
35667
  type: D.literal,
35670
- value: r.getNumberFormat(t, b).format(m)
35668
+ value: r.getNumberFormat(t, v).format(m)
35671
35669
  });
35672
35670
  continue;
35673
35671
  }
35674
- if (Wt(l)) {
35675
- var f = l.children, g = l.value, S = i[g];
35676
- if (!Vn(S))
35677
- throw new qn(g, "function", a);
35678
- var _ = xe(f, t, r, n, i, o), v = S(_.map(function(k) {
35679
- return k.value;
35672
+ if (Ft(l)) {
35673
+ var f = l.children, g = l.value, C = i[g];
35674
+ if (!Gn(C))
35675
+ throw new Un(g, "function", a);
35676
+ var _ = Se(f, t, r, n, i, o), b = C(_.map(function(E) {
35677
+ return E.value;
35680
35678
  }));
35681
- Array.isArray(v) || (v = [v]), s.push.apply(s, v.map(function(k) {
35679
+ Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(E) {
35682
35680
  return {
35683
- type: typeof k == "string" ? D.literal : D.object,
35684
- value: k
35681
+ type: typeof E == "string" ? D.literal : D.object,
35682
+ value: E
35685
35683
  };
35686
35684
  }));
35687
35685
  }
35688
- if (Vt(l)) {
35689
- var C = l.options[m] || l.options.other;
35690
- if (!C)
35691
- throw new pt(l.value, m, Object.keys(l.options), a);
35692
- s.push.apply(s, xe(C.value, t, r, n, i));
35686
+ if (qt(l)) {
35687
+ var x = l.options[m] || l.options.other;
35688
+ if (!x)
35689
+ throw new dt(l.value, m, Object.keys(l.options), a);
35690
+ s.push.apply(s, Se(x.value, t, r, n, i));
35693
35691
  continue;
35694
35692
  }
35695
- if (Xt(l)) {
35696
- var C = l.options["=".concat(m)];
35697
- if (!C) {
35693
+ if (Gt(l)) {
35694
+ var x = l.options["=".concat(m)];
35695
+ if (!x) {
35698
35696
  if (!Intl.PluralRules)
35699
- throw new He(`Intl.PluralRules is not available in this environment.
35697
+ throw new Ae(`Intl.PluralRules is not available in this environment.
35700
35698
  Try polyfilling it using "@formatjs/intl-pluralrules"
35701
- `, re.MISSING_INTL_API, a);
35699
+ `, te.MISSING_INTL_API, a);
35702
35700
  var P = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
35703
- C = l.options[P] || l.options.other;
35701
+ x = l.options[P] || l.options.other;
35704
35702
  }
35705
- if (!C)
35706
- throw new pt(l.value, m, Object.keys(l.options), a);
35707
- s.push.apply(s, xe(C.value, t, r, n, i, m - (l.offset || 0)));
35703
+ if (!x)
35704
+ throw new dt(l.value, m, Object.keys(l.options), a);
35705
+ s.push.apply(s, Se(x.value, t, r, n, i, m - (l.offset || 0)));
35708
35706
  continue;
35709
35707
  }
35710
35708
  }
35711
- return Fn(s);
35709
+ return qn(s);
35712
35710
  }
35713
- function Xn(e, t) {
35711
+ function Fn(e, t) {
35714
35712
  return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
35715
35713
  return r[n] = H(H({}, e[n]), t[n] || {}), r;
35716
35714
  }, {})) : e;
35717
35715
  }
35718
- function Wn(e, t) {
35716
+ function Vn(e, t) {
35719
35717
  return t ? Object.keys(e).reduce(function(r, n) {
35720
- return r[n] = Xn(e[n], t[n]), r;
35718
+ return r[n] = Fn(e[n], t[n]), r;
35721
35719
  }, H({}, e)) : e;
35722
35720
  }
35723
- function Re(e) {
35721
+ function Le(e) {
35724
35722
  return {
35725
35723
  create: function() {
35726
35724
  return {
@@ -35734,39 +35732,39 @@ function Re(e) {
35734
35732
  }
35735
35733
  };
35736
35734
  }
35737
- function Zn(e) {
35735
+ function Xn(e) {
35738
35736
  return e === void 0 && (e = {
35739
35737
  number: {},
35740
35738
  dateTime: {},
35741
35739
  pluralRules: {}
35742
35740
  }), {
35743
- getNumberFormat: Ie(function() {
35741
+ getNumberFormat: Oe(function() {
35744
35742
  for (var t, r = [], n = 0; n < arguments.length; n++)
35745
35743
  r[n] = arguments[n];
35746
- return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
35744
+ return new ((t = Intl.NumberFormat).bind.apply(t, ze([void 0], r, !1)))();
35747
35745
  }, {
35748
- cache: Re(e.number),
35749
- strategy: je.variadic
35746
+ cache: Le(e.number),
35747
+ strategy: Ie.variadic
35750
35748
  }),
35751
- getDateTimeFormat: Ie(function() {
35749
+ getDateTimeFormat: Oe(function() {
35752
35750
  for (var t, r = [], n = 0; n < arguments.length; n++)
35753
35751
  r[n] = arguments[n];
35754
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
35752
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ze([void 0], r, !1)))();
35755
35753
  }, {
35756
- cache: Re(e.dateTime),
35757
- strategy: je.variadic
35754
+ cache: Le(e.dateTime),
35755
+ strategy: Ie.variadic
35758
35756
  }),
35759
- getPluralRules: Ie(function() {
35757
+ getPluralRules: Oe(function() {
35760
35758
  for (var t, r = [], n = 0; n < arguments.length; n++)
35761
35759
  r[n] = arguments[n];
35762
- return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
35760
+ return new ((t = Intl.PluralRules).bind.apply(t, ze([void 0], r, !1)))();
35763
35761
  }, {
35764
- cache: Re(e.pluralRules),
35765
- strategy: je.variadic
35762
+ cache: Le(e.pluralRules),
35763
+ strategy: Ie.variadic
35766
35764
  })
35767
35765
  };
35768
35766
  }
35769
- var Jn = (
35767
+ var Wn = (
35770
35768
  /** @class */
35771
35769
  function() {
35772
35770
  function e(t, r, n, i) {
@@ -35785,7 +35783,7 @@ var Jn = (
35785
35783
  }, []);
35786
35784
  return l.length <= 1 ? l[0] || "" : l;
35787
35785
  }, this.formatToParts = function(h) {
35788
- return xe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
35786
+ return Se(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
35789
35787
  }, this.resolvedOptions = function() {
35790
35788
  var h;
35791
35789
  return {
@@ -35797,13 +35795,13 @@ var Jn = (
35797
35795
  if (this.message = t, !e.__parse)
35798
35796
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
35799
35797
  var a = i || {};
35800
- var s = on(a, ["formatters"]);
35798
+ var s = tn(a, ["formatters"]);
35801
35799
  this.ast = e.__parse(t, H(H({}, s), { locale: this.resolvedLocale }));
35802
35800
  } else
35803
35801
  this.ast = t;
35804
35802
  if (!Array.isArray(this.ast))
35805
35803
  throw new TypeError("A message must be provided as a String or AST.");
35806
- this.formats = Wn(e.formats, n), this.formatters = i && i.formatters || Zn(this.formatterCache);
35804
+ this.formats = Vn(e.formats, n), this.formatters = i && i.formatters || Xn(this.formatterCache);
35807
35805
  }
35808
35806
  return Object.defineProperty(e, "defaultLocale", {
35809
35807
  get: function() {
@@ -35816,7 +35814,7 @@ var Jn = (
35816
35814
  var r = Intl.NumberFormat.supportedLocalesOf(t);
35817
35815
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
35818
35816
  }
35819
- }, e.__parse = Dn, e.formats = {
35817
+ }, e.__parse = Rn, e.formats = {
35820
35818
  number: {
35821
35819
  integer: {
35822
35820
  maximumFractionDigits: 0
@@ -35877,7 +35875,7 @@ var Jn = (
35877
35875
  }, e;
35878
35876
  }()
35879
35877
  );
35880
- function Qn(e, t) {
35878
+ function Zn(e, t) {
35881
35879
  if (t == null)
35882
35880
  return;
35883
35881
  if (t in e)
@@ -35898,92 +35896,92 @@ function Qn(e, t) {
35898
35896
  n = void 0;
35899
35897
  return n;
35900
35898
  }
35901
- const J = {}, Yn = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), rr = (e, t) => {
35899
+ const Z = {}, Jn = (e, t, r) => r && (t in Z || (Z[t] = {}), e in Z[t] || (Z[t][e] = r), r), $t = (e, t) => {
35902
35900
  if (t == null)
35903
35901
  return;
35904
- if (t in J && e in J[t])
35905
- return J[t][e];
35906
- const r = Pe(t);
35902
+ if (t in Z && e in Z[t])
35903
+ return Z[t][e];
35904
+ const r = He(t);
35907
35905
  for (let n = 0; n < r.length; n++) {
35908
- const i = r[n], o = $n(i, e);
35906
+ const i = r[n], o = Yn(i, e);
35909
35907
  if (o)
35910
- return Yn(e, t, o);
35908
+ return Jn(e, t, o);
35911
35909
  }
35912
35910
  };
35913
- let et;
35914
- const _e = Ne({});
35915
- function Kn(e) {
35916
- return et[e] || null;
35911
+ let Ye;
35912
+ const fe = we({});
35913
+ function Qn(e) {
35914
+ return Ye[e] || null;
35917
35915
  }
35918
- function nr(e) {
35919
- return e in et;
35916
+ function er(e) {
35917
+ return e in Ye;
35920
35918
  }
35921
- function $n(e, t) {
35922
- if (!nr(e))
35919
+ function Yn(e, t) {
35920
+ if (!er(e))
35923
35921
  return null;
35924
- const r = Kn(e);
35925
- return Qn(r, t);
35922
+ const r = Qn(e);
35923
+ return Zn(r, t);
35926
35924
  }
35927
- function ei(e) {
35925
+ function Kn(e) {
35928
35926
  if (e == null)
35929
35927
  return;
35930
- const t = Pe(e);
35928
+ const t = He(e);
35931
35929
  for (let r = 0; r < t.length; r++) {
35932
35930
  const n = t[r];
35933
- if (nr(n))
35931
+ if (er(n))
35934
35932
  return n;
35935
35933
  }
35936
35934
  }
35937
- function ir(e, ...t) {
35938
- delete J[e], _e.update((r) => (r[e] = nn.all([r[e] || {}, ...t]), r));
35935
+ function tr(e, ...t) {
35936
+ delete Z[e], fe.update((r) => (r[e] = en.all([r[e] || {}, ...t]), r));
35939
35937
  }
35940
- ie(
35941
- [_e],
35938
+ ne(
35939
+ [fe],
35942
35940
  ([e]) => Object.keys(e)
35943
35941
  );
35944
- _e.subscribe((e) => et = e);
35945
- const Me = {};
35946
- function ti(e, t) {
35947
- Me[e].delete(t), Me[e].size === 0 && delete Me[e];
35942
+ fe.subscribe((e) => Ye = e);
35943
+ const xe = {};
35944
+ function $n(e, t) {
35945
+ xe[e].delete(t), xe[e].size === 0 && delete xe[e];
35948
35946
  }
35949
- function or(e) {
35950
- return Me[e];
35947
+ function rr(e) {
35948
+ return xe[e];
35951
35949
  }
35952
- function ri(e) {
35953
- return Pe(e).map((t) => {
35954
- const r = or(t);
35950
+ function ei(e) {
35951
+ return He(e).map((t) => {
35952
+ const r = rr(t);
35955
35953
  return [t, r ? [...r] : []];
35956
35954
  }).filter(([, t]) => t.length > 0);
35957
35955
  }
35958
- function Ze(e) {
35959
- return e == null ? !1 : Pe(e).some(
35956
+ function We(e) {
35957
+ return e == null ? !1 : He(e).some(
35960
35958
  (t) => {
35961
35959
  var r;
35962
- return (r = or(t)) == null ? void 0 : r.size;
35960
+ return (r = rr(t)) == null ? void 0 : r.size;
35963
35961
  }
35964
35962
  );
35965
35963
  }
35966
- function ni(e, t) {
35964
+ function ti(e, t) {
35967
35965
  return Promise.all(
35968
- t.map((n) => (ti(e, n), n().then((i) => i.default || i)))
35969
- ).then((n) => ir(e, ...n));
35970
- }
35971
- const he = {};
35972
- function ar(e) {
35973
- if (!Ze(e))
35974
- return e in he ? he[e] : Promise.resolve();
35975
- const t = ri(e);
35976
- return he[e] = Promise.all(
35966
+ t.map((n) => ($n(e, n), n().then((i) => i.default || i)))
35967
+ ).then((n) => tr(e, ...n));
35968
+ }
35969
+ const ue = {};
35970
+ function nr(e) {
35971
+ if (!We(e))
35972
+ return e in ue ? ue[e] : Promise.resolve();
35973
+ const t = ei(e);
35974
+ return ue[e] = Promise.all(
35977
35975
  t.map(
35978
- ([r, n]) => ni(r, n)
35976
+ ([r, n]) => ti(r, n)
35979
35977
  )
35980
35978
  ).then(() => {
35981
- if (Ze(e))
35982
- return ar(e);
35983
- delete he[e];
35984
- }), he[e];
35979
+ if (We(e))
35980
+ return nr(e);
35981
+ delete ue[e];
35982
+ }), ue[e];
35985
35983
  }
35986
- const ii = {
35984
+ const ri = {
35987
35985
  number: {
35988
35986
  scientific: { notation: "scientific" },
35989
35987
  engineering: { notation: "engineering" },
@@ -36012,150 +36010,150 @@ const ii = {
36012
36010
  timeZoneName: "short"
36013
36011
  }
36014
36012
  }
36015
- }, oi = {
36013
+ }, ni = {
36016
36014
  fallbackLocale: null,
36017
36015
  loadingDelay: 200,
36018
- formats: ii,
36016
+ formats: ri,
36019
36017
  warnOnMissingMessages: !0,
36020
36018
  handleMissingMessage: void 0,
36021
36019
  ignoreTag: !0
36022
- }, ai = oi;
36023
- function ne() {
36024
- return ai;
36020
+ }, ii = ni;
36021
+ function re() {
36022
+ return ii;
36025
36023
  }
36026
- const Ue = Ne(!1);
36027
- var si = Object.defineProperty, li = Object.defineProperties, ci = Object.getOwnPropertyDescriptors, ft = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, hi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, di = (e, t) => {
36024
+ const Re = we(!1);
36025
+ var oi = Object.defineProperty, ai = Object.defineProperties, si = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, ci = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ui = (e, t) => {
36028
36026
  for (var r in t || (t = {}))
36029
- ui.call(t, r) && _t(e, r, t[r]);
36030
- if (ft)
36031
- for (var r of ft(t))
36032
- hi.call(t, r) && _t(e, r, t[r]);
36027
+ li.call(t, r) && gt(e, r, t[r]);
36028
+ if (mt)
36029
+ for (var r of mt(t))
36030
+ ci.call(t, r) && gt(e, r, t[r]);
36033
36031
  return e;
36034
- }, mi = (e, t) => li(e, ci(t));
36035
- let Je;
36036
- const Te = Ne(null);
36037
- function bt(e) {
36032
+ }, hi = (e, t) => ai(e, si(t));
36033
+ let Ze;
36034
+ const Te = we(null);
36035
+ function pt(e) {
36038
36036
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
36039
36037
  }
36040
- function Pe(e, t = ne().fallbackLocale) {
36041
- const r = bt(e);
36042
- return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
36038
+ function He(e, t = re().fallbackLocale) {
36039
+ const r = pt(e);
36040
+ return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
36043
36041
  }
36044
- function Y() {
36045
- return Je ?? void 0;
36042
+ function Q() {
36043
+ return Ze ?? void 0;
36046
36044
  }
36047
36045
  Te.subscribe((e) => {
36048
- Je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
36046
+ Ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
36049
36047
  });
36050
- const gi = (e) => {
36051
- if (e && ei(e) && Ze(e)) {
36052
- const { loadingDelay: t } = ne();
36048
+ const di = (e) => {
36049
+ if (e && Kn(e) && We(e)) {
36050
+ const { loadingDelay: t } = re();
36053
36051
  let r;
36054
- return typeof window < "u" && Y() != null && t ? r = window.setTimeout(
36055
- () => Ue.set(!0),
36052
+ return typeof window < "u" && Q() != null && t ? r = window.setTimeout(
36053
+ () => Re.set(!0),
36056
36054
  t
36057
- ) : Ue.set(!0), ar(e).then(() => {
36055
+ ) : Re.set(!0), nr(e).then(() => {
36058
36056
  Te.set(e);
36059
36057
  }).finally(() => {
36060
- clearTimeout(r), Ue.set(!1);
36058
+ clearTimeout(r), Re.set(!1);
36061
36059
  });
36062
36060
  }
36063
36061
  return Te.set(e);
36064
- }, oe = mi(di({}, Te), {
36065
- set: gi
36066
- }), Be = (e) => {
36062
+ }, ie = hi(ui({}, Te), {
36063
+ set: di
36064
+ }), Pe = (e) => {
36067
36065
  const t = /* @__PURE__ */ Object.create(null);
36068
36066
  return (n) => {
36069
36067
  const i = JSON.stringify(n);
36070
36068
  return i in t ? t[i] : t[i] = e(n);
36071
36069
  };
36072
36070
  };
36073
- var pi = Object.defineProperty, we = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
36071
+ var mi = Object.defineProperty, Me = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
36074
36072
  for (var r in t || (t = {}))
36075
- sr.call(t, r) && vt(e, r, t[r]);
36076
- if (we)
36077
- for (var r of we(t))
36078
- lr.call(t, r) && vt(e, r, t[r]);
36073
+ ir.call(t, r) && ft(e, r, t[r]);
36074
+ if (Me)
36075
+ for (var r of Me(t))
36076
+ or.call(t, r) && ft(e, r, t[r]);
36079
36077
  return e;
36080
- }, ae = (e, t) => {
36078
+ }, oe = (e, t) => {
36081
36079
  var r = {};
36082
36080
  for (var n in e)
36083
- sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
36084
- if (e != null && we)
36085
- for (var n of we(e))
36086
- t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
36081
+ ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
36082
+ if (e != null && Me)
36083
+ for (var n of Me(e))
36084
+ t.indexOf(n) < 0 && or.call(e, n) && (r[n] = e[n]);
36087
36085
  return r;
36088
36086
  };
36089
- const ge = (e, t) => {
36090
- const { formats: r } = ne();
36087
+ const me = (e, t) => {
36088
+ const { formats: r } = re();
36091
36089
  if (e in r && t in r[e])
36092
36090
  return r[e][t];
36093
36091
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
36094
- }, fi = Be(
36092
+ }, gi = Pe(
36095
36093
  (e) => {
36096
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
36094
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
36097
36095
  if (r == null)
36098
36096
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
36099
- return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
36097
+ return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
36100
36098
  }
36101
- ), _i = Be(
36099
+ ), pi = Pe(
36102
36100
  (e) => {
36103
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
36101
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
36104
36102
  if (r == null)
36105
36103
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
36106
- return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
36104
+ return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
36107
36105
  }
36108
- ), bi = Be(
36106
+ ), fi = Pe(
36109
36107
  (e) => {
36110
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
36108
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
36111
36109
  if (r == null)
36112
36110
  throw new Error(
36113
36111
  '[svelte-i18n] A "locale" must be set to format time values'
36114
36112
  );
36115
- return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
36113
+ return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
36116
36114
  }
36117
- ), vi = (e = {}) => {
36115
+ ), _i = (e = {}) => {
36118
36116
  var t = e, {
36119
- locale: r = Y()
36120
- } = t, n = ae(t, [
36117
+ locale: r = Q()
36118
+ } = t, n = oe(t, [
36121
36119
  "locale"
36122
36120
  ]);
36123
- return fi(tt({ locale: r }, n));
36124
- }, yi = (e = {}) => {
36121
+ return gi(Ke({ locale: r }, n));
36122
+ }, bi = (e = {}) => {
36125
36123
  var t = e, {
36126
- locale: r = Y()
36127
- } = t, n = ae(t, [
36124
+ locale: r = Q()
36125
+ } = t, n = oe(t, [
36128
36126
  "locale"
36129
36127
  ]);
36130
- return _i(tt({ locale: r }, n));
36131
- }, Ei = (e = {}) => {
36128
+ return pi(Ke({ locale: r }, n));
36129
+ }, vi = (e = {}) => {
36132
36130
  var t = e, {
36133
- locale: r = Y()
36134
- } = t, n = ae(t, [
36131
+ locale: r = Q()
36132
+ } = t, n = oe(t, [
36135
36133
  "locale"
36136
36134
  ]);
36137
- return bi(tt({ locale: r }, n));
36138
- }, ki = Be(
36135
+ return fi(Ke({ locale: r }, n));
36136
+ }, yi = Pe(
36139
36137
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
36140
- (e, t = Y()) => new Jn(e, t, ne().formats, {
36141
- ignoreTag: ne().ignoreTag
36138
+ (e, t = Q()) => new Wn(e, t, re().formats, {
36139
+ ignoreTag: re().ignoreTag
36142
36140
  })
36143
- ), Ci = (e, t = {}) => {
36141
+ ), Ei = (e, t = {}) => {
36144
36142
  var r, n, i, o;
36145
36143
  let a = t;
36146
36144
  typeof e == "object" && (a = e, e = a.id);
36147
36145
  const {
36148
36146
  values: s,
36149
- locale: h = Y(),
36147
+ locale: h = Q(),
36150
36148
  default: u
36151
36149
  } = a;
36152
36150
  if (h == null)
36153
36151
  throw new Error(
36154
36152
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
36155
36153
  );
36156
- let l = rr(e, h);
36154
+ let l = $t(e, h);
36157
36155
  if (!l)
36158
- l = (o = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
36156
+ l = (o = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
36159
36157
  else if (typeof l != "string")
36160
36158
  return console.warn(
36161
36159
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -36164,7 +36162,7 @@ const ge = (e, t) => {
36164
36162
  return l;
36165
36163
  let d = l;
36166
36164
  try {
36167
- d = ki(l, h).format(s);
36165
+ d = yi(l, h).format(s);
36168
36166
  } catch (m) {
36169
36167
  m instanceof Error && console.warn(
36170
36168
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -36172,18 +36170,18 @@ const ge = (e, t) => {
36172
36170
  );
36173
36171
  }
36174
36172
  return d;
36175
- }, Si = (e, t) => Ei(t).format(e), xi = (e, t) => yi(t).format(e), Mi = (e, t) => vi(t).format(e), Ti = (e, t = Y()) => rr(e, t), wi = ie([oe, _e], () => Ci);
36176
- ie([oe], () => Si);
36177
- ie([oe], () => xi);
36178
- ie([oe], () => Mi);
36179
- ie([oe, _e], () => Ti);
36180
- function yt(e, t) {
36181
- ir(e, t);
36182
- }
36183
- function Ni(e) {
36184
- oe.set(e);
36185
- }
36186
- const Et = {
36173
+ }, ki = (e, t) => vi(t).format(e), Ci = (e, t) => bi(t).format(e), Si = (e, t) => _i(t).format(e), xi = (e, t = Q()) => $t(e, t), Ti = ne([ie, fe], () => Ei);
36174
+ ne([ie], () => ki);
36175
+ ne([ie], () => Ci);
36176
+ ne([ie], () => Si);
36177
+ ne([ie, fe], () => xi);
36178
+ function _t(e, t) {
36179
+ tr(e, t);
36180
+ }
36181
+ function Mi(e) {
36182
+ ie.set(e);
36183
+ }
36184
+ const bt = {
36187
36185
  en: {
36188
36186
  invalidUrl: "Failed to construct 'URL': Invalid URL",
36189
36187
  fetchConsentsError: "Error: Could not fetch consents.",
@@ -36755,18 +36753,18 @@ if (typeof window < "u") {
36755
36753
  }
36756
36754
  };
36757
36755
  };
36758
- customElements.define = e(customElements.define), Promise.resolve().then(function () { return GeneralAnimationLoadingBMZE178n; }).then((t) => t.G).then(({ default: t }) => {
36756
+ customElements.define = e(customElements.define), Promise.resolve().then(function () { return GeneralAnimationLoadingZTNd0X9B; }).then((t) => t.G).then(({ default: t }) => {
36759
36757
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
36760
36758
  });
36761
36759
  }
36762
- function Ai(e) {
36760
+ function wi(e) {
36763
36761
  let t, r;
36764
36762
  return {
36765
36763
  c() {
36766
36764
  t = V("svg"), r = V("path"), B$1(r, "d", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"), B$1(t, "xmlns", "http://www.w3.org/2000/svg"), B$1(t, "viewBox", "0 0 512 512");
36767
36765
  },
36768
36766
  m(n, i) {
36769
- v(n, t, i), G(t, r);
36767
+ k(n, t, i), G(t, r);
36770
36768
  },
36771
36769
  p: d,
36772
36770
  i: d,
@@ -36776,34 +36774,34 @@ function Ai(e) {
36776
36774
  }
36777
36775
  };
36778
36776
  }
36779
- class Hi extends lt$1 {
36777
+ class Ni extends lt$1 {
36780
36778
  constructor(t) {
36781
- super(), ct$1(this, t, null, Ai, z, {});
36779
+ super(), ct$1(this, t, null, wi, z, {});
36782
36780
  }
36783
36781
  }
36784
- customElements.define("circle-exclamation-icon", ot(Hi, {}, [], [], !0));
36785
- function Pi(e) {
36782
+ customElements.define("circle-exclamation-icon", ot$1(Ni, {}, [], [], !0));
36783
+ function Ai(e) {
36786
36784
  I(e, "svelte-ltb9q9", '.DisplayNone.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:none}.ContainerCenter.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{margin-bottom:30px}.AccordionHeader.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{font-weight:bold;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-50, #cccccc);display:flex;align-items:center;justify-content:space-between}.AccordionItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{margin-bottom:10px}.AccordionContent.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:block;padding:10px 0}.AccordionContent.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:last-of-type{padding-bottom:0}.ConsentItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:last-of-type{margin-bottom:0}.ConsentItem.svelte-ltb9q9 .ConsentName.svelte-ltb9q9.svelte-ltb9q9{margin:0}.ConsentItem.svelte-ltb9q9 .ConsentDescription.svelte-ltb9q9.svelte-ltb9q9{font-size:0.8rem}.ToggleSwitch.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{width:53px;height:30px}.ToggleSwitch.Big.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9.svelte-ltb9q9{opacity:0;width:0;height:0}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9{background-color:var(--emw--color-primary, #307fe2)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:disabled+.Slider.svelte-ltb9q9{opacity:0.1}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:focus+.Slider.svelte-ltb9q9{box-shadow:0 0 1px var(--emw--color-primary, #307fe2)}.ToggleSwitch.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--emw--color-gray-150, #a1a1a1);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:var(--emw--color-white, #fff);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-ltb9q9 .Slider.Round.svelte-ltb9q9.svelte-ltb9q9{border-radius:34px}.ToggleSwitch.svelte-ltb9q9 .Slider.Round.svelte-ltb9q9.svelte-ltb9q9:before{border-radius:50%}.SaveConsentsButton.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:block;width:100%;margin:50px auto;outline:none;cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);padding:10px 20px;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.SaveConsentsButton.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:disabled{background:var(--emw--color-pale, var(--emw--color-gray-50, #707070))}.ConsentErrorContainer.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-ltb9q9 circle-exclamation-icon.svelte-ltb9q9.svelte-ltb9q9{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox.svelte-ltb9q9.svelte-ltb9q9{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__wrapper.svelte-ltb9q9.svelte-ltb9q9{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-ltb9q9.svelte-ltb9q9{position:relative}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__input.svelte-ltb9q9.svelte-ltb9q9{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__label.svelte-ltb9q9.svelte-ltb9q9{font-style:inherit;font-family:inherit;font-weight:400;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-ltb9q9.svelte-ltb9q9{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__error-message.svelte-ltb9q9.svelte-ltb9q9{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-ltb9q9.svelte-ltb9q9{width:16px;height:auto}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip.svelte-ltb9q9.svelte-ltb9q9{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-ltb9q9.svelte-ltb9q9{opacity:1}');
36787
36785
  }
36788
- function kt(e, t, r) {
36786
+ function vt(e, t, r) {
36789
36787
  const n = e.slice();
36790
36788
  return n[64] = t[r], n;
36791
36789
  }
36792
- function Ct(e, t, r) {
36790
+ function yt(e, t, r) {
36793
36791
  const n = e.slice();
36794
36792
  return n[61] = t[r], n[62] = t, n[63] = r, n;
36795
36793
  }
36796
- function St(e, t, r) {
36794
+ function Et(e, t, r) {
36797
36795
  const n = e.slice();
36798
36796
  return n[64] = t[r], n;
36799
36797
  }
36800
- function Bi(e) {
36801
- let t, r, n = kt$1(
36798
+ function Hi(e) {
36799
+ let t, r, n = vt$1(
36802
36800
  /*playerConsents*/
36803
36801
  e[9]
36804
36802
  ), i = [];
36805
36803
  for (let o = 0; o < n.length; o += 1)
36806
- i[o] = xt(kt(e, n, o));
36804
+ i[o] = kt(vt(e, n, o));
36807
36805
  return {
36808
36806
  c() {
36809
36807
  t = w$1("div"), r = w$1("form");
@@ -36812,7 +36810,7 @@ function Bi(e) {
36812
36810
  B$1(r, "class", "checkbox svelte-ltb9q9"), B$1(t, "class", "legacyStyle");
36813
36811
  },
36814
36812
  m(o, a) {
36815
- v(o, t, a), G(t, r);
36813
+ k(o, t, a), G(t, r);
36816
36814
  for (let s = 0; s < i.length; s += 1)
36817
36815
  i[s] && i[s].m(r, null);
36818
36816
  e[31](r);
@@ -36820,14 +36818,14 @@ function Bi(e) {
36820
36818
  p(o, a) {
36821
36819
  if (a[0] & /*playerConsents, $_, handleInput*/
36822
36820
  590336) {
36823
- n = kt$1(
36821
+ n = vt$1(
36824
36822
  /*playerConsents*/
36825
36823
  o[9]
36826
36824
  );
36827
36825
  let s;
36828
36826
  for (s = 0; s < n.length; s += 1) {
36829
- const h = kt(o, n, s);
36830
- i[s] ? i[s].p(h, a) : (i[s] = xt(h), i[s].c(), i[s].m(r, null));
36827
+ const h = vt(o, n, s);
36828
+ i[s] ? i[s].p(h, a) : (i[s] = kt(h), i[s].c(), i[s].m(r, null));
36831
36829
  }
36832
36830
  for (; s < i.length; s += 1)
36833
36831
  i[s].d(1);
@@ -36839,7 +36837,7 @@ function Bi(e) {
36839
36837
  }
36840
36838
  };
36841
36839
  }
36842
- function zi(e) {
36840
+ function Pi(e) {
36843
36841
  let t = (
36844
36842
  /*$_*/
36845
36843
  e[16]("title") || /*$_*/
@@ -36847,67 +36845,67 @@ function zi(e) {
36847
36845
  ), r, n, i, o = (
36848
36846
  /*$_*/
36849
36847
  (e[16]("saveButtonContent") || "Save Consents") + ""
36850
- ), a, s, h, u, l, d = t && Mt(e), m = kt$1(
36848
+ ), a, s, h, u, l, d = t && Ct(e), m = vt$1(
36851
36849
  /*consentsCategories*/
36852
36850
  e[8]
36853
- ), b = [];
36851
+ ), v = [];
36854
36852
  for (let g = 0; g < m.length; g += 1)
36855
- b[g] = Pt(Ct(e, m, g));
36853
+ v[g] = Nt(yt(e, m, g));
36856
36854
  let f = (
36857
36855
  /*errorMessage*/
36858
- e[6] && Bt(e)
36856
+ e[6] && At(e)
36859
36857
  );
36860
36858
  return {
36861
36859
  c() {
36862
36860
  d && d.c(), r = pt$1();
36863
- for (let g = 0; g < b.length; g += 1)
36864
- b[g].c();
36861
+ for (let g = 0; g < v.length; g += 1)
36862
+ v[g].c();
36865
36863
  n = pt$1(), i = w$1("button"), s = pt$1(), f && f.c(), h = yt$1(), B$1(i, "class", "SaveConsentsButton svelte-ltb9q9"), i.disabled = a = !/*isValid*/
36866
36864
  e[14];
36867
36865
  },
36868
- m(g, S) {
36869
- d && d.m(g, S), v(g, r, S);
36870
- for (let _ = 0; _ < b.length; _ += 1)
36871
- b[_] && b[_].m(g, S);
36872
- v(g, n, S), v(g, i, S), i.innerHTML = o, v(g, s, S), f && f.m(g, S), v(g, h, S), u || (l = wt$1(
36866
+ m(g, C) {
36867
+ d && d.m(g, C), k(g, r, C);
36868
+ for (let _ = 0; _ < v.length; _ += 1)
36869
+ v[_] && v[_].m(g, C);
36870
+ k(g, n, C), k(g, i, C), i.innerHTML = o, k(g, s, C), f && f.m(g, C), k(g, h, C), u || (l = wt$1(
36873
36871
  i,
36874
36872
  "click",
36875
36873
  /*saveChanges*/
36876
36874
  e[17]
36877
36875
  ), u = !0);
36878
36876
  },
36879
- p(g, S) {
36880
- if (S[0] & /*$_*/
36877
+ p(g, C) {
36878
+ if (C[0] & /*$_*/
36881
36879
  65536 && (t = /*$_*/
36882
36880
  g[16]("title") || /*$_*/
36883
- g[16]("description")), t ? d ? d.p(g, S) : (d = Mt(g), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), S[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
36881
+ g[16]("description")), t ? d ? d.p(g, C) : (d = Ct(g), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), C[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
36884
36882
  867088) {
36885
- m = kt$1(
36883
+ m = vt$1(
36886
36884
  /*consentsCategories*/
36887
36885
  g[8]
36888
36886
  );
36889
36887
  let _;
36890
36888
  for (_ = 0; _ < m.length; _ += 1) {
36891
- const v = Ct(g, m, _);
36892
- b[_] ? b[_].p(v, S) : (b[_] = Pt(v), b[_].c(), b[_].m(n.parentNode, n));
36889
+ const b = yt(g, m, _);
36890
+ v[_] ? v[_].p(b, C) : (v[_] = Nt(b), v[_].c(), v[_].m(n.parentNode, n));
36893
36891
  }
36894
- for (; _ < b.length; _ += 1)
36895
- b[_].d(1);
36896
- b.length = m.length;
36892
+ for (; _ < v.length; _ += 1)
36893
+ v[_].d(1);
36894
+ v.length = m.length;
36897
36895
  }
36898
- S[0] & /*$_*/
36896
+ C[0] & /*$_*/
36899
36897
  65536 && o !== (o = /*$_*/
36900
- (g[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), S[0] & /*isValid*/
36898
+ (g[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), C[0] & /*isValid*/
36901
36899
  16384 && a !== (a = !/*isValid*/
36902
36900
  g[14]) && (i.disabled = a), /*errorMessage*/
36903
- g[6] ? f ? f.p(g, S) : (f = Bt(g), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
36901
+ g[6] ? f ? f.p(g, C) : (f = At(g), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
36904
36902
  },
36905
36903
  d(g) {
36906
- g && (y(r), y(n), y(i), y(s), y(h)), d && d.d(g), bt$1(b, g), f && f.d(g), u = !1, l();
36904
+ g && (y(r), y(n), y(i), y(s), y(h)), d && d.d(g), bt$1(v, g), f && f.d(g), u = !1, l();
36907
36905
  }
36908
36906
  };
36909
36907
  }
36910
- function Oi(e) {
36908
+ function Bi(e) {
36911
36909
  let t, r, n;
36912
36910
  return {
36913
36911
  c() {
@@ -36917,7 +36915,7 @@ function Oi(e) {
36917
36915
  ), B$1(r, "class", "ErrorMessage svelte-ltb9q9"), B$1(t, "class", "ContainerCenter svelte-ltb9q9");
36918
36916
  },
36919
36917
  m(i, o) {
36920
- v(i, t, o), G(t, r), G(r, n);
36918
+ k(i, t, o), G(t, r), G(r, n);
36921
36919
  },
36922
36920
  p(i, o) {
36923
36921
  o[0] & /*fatalError*/
@@ -36932,7 +36930,7 @@ function Oi(e) {
36932
36930
  }
36933
36931
  };
36934
36932
  }
36935
- function Ii(e) {
36933
+ function zi(e) {
36936
36934
  let t;
36937
36935
  return {
36938
36936
  c() {
@@ -36954,7 +36952,7 @@ function Ii(e) {
36954
36952
  );
36955
36953
  },
36956
36954
  m(r, n) {
36957
- v(r, t, n);
36955
+ k(r, t, n);
36958
36956
  },
36959
36957
  p(r, n) {
36960
36958
  n[0] & /*clientstyling*/
@@ -36982,7 +36980,7 @@ function Ii(e) {
36982
36980
  }
36983
36981
  };
36984
36982
  }
36985
- function xt(e) {
36983
+ function kt(e) {
36986
36984
  let t, r, n, i, o, a, s, h, u = (
36987
36985
  /*$_*/
36988
36986
  (e[16](`${/*consent*/
@@ -36991,31 +36989,31 @@ function xt(e) {
36991
36989
  ), l = (
36992
36990
  /*consent*/
36993
36991
  e[64].mustAccept ? " *" : ""
36994
- ), d, m, b, f, g, S, _, v$1, C;
36995
- function P$1(...k) {
36992
+ ), d, m, v, f, g, C, _, b, x;
36993
+ function P$1(...E) {
36996
36994
  return (
36997
36995
  /*input_handler_1*/
36998
36996
  e[30](
36999
36997
  /*consent*/
37000
36998
  e[64],
37001
- ...k
36999
+ ...E
37002
37000
  )
37003
37001
  );
37004
37002
  }
37005
37003
  return {
37006
37004
  c() {
37007
- t = w$1("div"), r = w$1("input"), o = pt$1(), a = w$1("label"), s = w$1("div"), h = new Lt(!1), d = P(l), b = pt$1(), f = w$1("small"), S = pt$1(), B$1(r, "class", "checkbox__input svelte-ltb9q9"), B$1(r, "type", "checkbox"), r.checked = n = /*consent*/
37005
+ t = w$1("div"), r = w$1("input"), o = pt$1(), a = w$1("label"), s = w$1("div"), h = new Lt$1(!1), d = P(l), v = pt$1(), f = w$1("small"), C = pt$1(), B$1(r, "class", "checkbox__input svelte-ltb9q9"), B$1(r, "type", "checkbox"), r.checked = n = /*consent*/
37008
37006
  e[64].status === "1", B$1(r, "id", i = `${/*consent*/
37009
37007
  e[64].tagCode}__input`), h.a = d, B$1(s, "class", "checkbox__label-text svelte-ltb9q9"), B$1(a, "class", "checkbox__label svelte-ltb9q9"), B$1(a, "for", m = `${/*consent*/
37010
37008
  e[64].tagCode}__input`), B$1(f, "class", "checkbox__error-message svelte-ltb9q9"), B$1(f, "id", g = "checkBoxError__" + /*consent*/
37011
37009
  e[64].tagCode), B$1(t, "class", _ = "checkbox__wrapper " + /*consent*/
37012
37010
  e[64].tagCode + "__input svelte-ltb9q9");
37013
37011
  },
37014
- m(k, z) {
37015
- v(k, t, z), G(t, r), G(t, o), G(t, a), G(a, s), h.m(u, s), G(s, d), G(t, b), G(t, f), G(t, S), v$1 || (C = wt$1(r, "input", P$1), v$1 = !0);
37012
+ m(E, z) {
37013
+ k(E, t, z), G(t, r), G(t, o), G(t, a), G(a, s), h.m(u, s), G(s, d), G(t, v), G(t, f), G(t, C), b || (x = wt$1(r, "input", P$1), b = !0);
37016
37014
  },
37017
- p(k, z) {
37018
- e = k, z[0] & /*playerConsents*/
37015
+ p(E, z) {
37016
+ e = E, z[0] & /*playerConsents*/
37019
37017
  512 && n !== (n = /*consent*/
37020
37018
  e[64].status === "1") && (r.checked = n), z[0] & /*playerConsents*/
37021
37019
  512 && i !== (i = `${/*consent*/
@@ -37033,39 +37031,39 @@ function xt(e) {
37033
37031
  512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
37034
37032
  e[64].tagCode + "__input svelte-ltb9q9") && B$1(t, "class", _);
37035
37033
  },
37036
- d(k) {
37037
- k && y(t), v$1 = !1, C();
37034
+ d(E) {
37035
+ E && y(t), b = !1, x();
37038
37036
  }
37039
37037
  };
37040
37038
  }
37041
- function Mt(e) {
37039
+ function Ct(e) {
37042
37040
  let t, r = (
37043
37041
  /*$_*/
37044
37042
  e[16]("title")
37045
37043
  ), n, i = (
37046
37044
  /*$_*/
37047
37045
  e[16]("description")
37048
- ), o = r && Tt(e), a = i && wt(e);
37046
+ ), o = r && St(e), a = i && xt(e);
37049
37047
  return {
37050
37048
  c() {
37051
37049
  t = w$1("div"), o && o.c(), n = pt$1(), a && a.c(), B$1(t, "class", "PlayerConsentsHeader svelte-ltb9q9");
37052
37050
  },
37053
37051
  m(s, h) {
37054
- v(s, t, h), o && o.m(t, null), G(t, n), a && a.m(t, null);
37052
+ k(s, t, h), o && o.m(t, null), G(t, n), a && a.m(t, null);
37055
37053
  },
37056
37054
  p(s, h) {
37057
37055
  h[0] & /*$_*/
37058
37056
  65536 && (r = /*$_*/
37059
- s[16]("title")), r ? o ? o.p(s, h) : (o = Tt(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
37057
+ s[16]("title")), r ? o ? o.p(s, h) : (o = St(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
37060
37058
  65536 && (i = /*$_*/
37061
- s[16]("description")), i ? a ? a.p(s, h) : (a = wt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
37059
+ s[16]("description")), i ? a ? a.p(s, h) : (a = xt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
37062
37060
  },
37063
37061
  d(s) {
37064
37062
  s && y(t), o && o.d(), a && a.d();
37065
37063
  }
37066
37064
  };
37067
37065
  }
37068
- function Tt(e) {
37066
+ function St(e) {
37069
37067
  let t, r = (
37070
37068
  /*$_*/
37071
37069
  e[16]("title") + ""
@@ -37075,7 +37073,7 @@ function Tt(e) {
37075
37073
  t = w$1("h2"), n = P(r), B$1(t, "class", "PlayerConsentsTitle");
37076
37074
  },
37077
37075
  m(i, o) {
37078
- v(i, t, o), G(t, n);
37076
+ k(i, t, o), G(t, n);
37079
37077
  },
37080
37078
  p(i, o) {
37081
37079
  o[0] & /*$_*/
@@ -37087,7 +37085,7 @@ function Tt(e) {
37087
37085
  }
37088
37086
  };
37089
37087
  }
37090
- function wt(e) {
37088
+ function xt(e) {
37091
37089
  let t, r = (
37092
37090
  /*$_*/
37093
37091
  e[16]("description") + ""
@@ -37097,7 +37095,7 @@ function wt(e) {
37097
37095
  t = w$1("p"), n = P(r), B$1(t, "class", "PlayerConsentsDescription");
37098
37096
  },
37099
37097
  m(i, o) {
37100
- v(i, t, o), G(t, n);
37098
+ k(i, t, o), G(t, n);
37101
37099
  },
37102
37100
  p(i, o) {
37103
37101
  o[0] & /*$_*/
@@ -37109,21 +37107,21 @@ function wt(e) {
37109
37107
  }
37110
37108
  };
37111
37109
  }
37112
- function Nt(e) {
37110
+ function Tt(e) {
37113
37111
  let t;
37114
37112
  return {
37115
37113
  c() {
37116
37114
  t = w$1("sup"), t.textContent = "*", B$1(t, "class", "ConsentRequired svelte-ltb9q9");
37117
37115
  },
37118
37116
  m(r, n) {
37119
- v(r, t, n);
37117
+ k(r, t, n);
37120
37118
  },
37121
37119
  d(r) {
37122
37120
  r && y(t);
37123
37121
  }
37124
37122
  };
37125
37123
  }
37126
- function At(e) {
37124
+ function Mt(e) {
37127
37125
  let t, r = (
37128
37126
  /*$_*/
37129
37127
  (e[16](`${/*consent*/
@@ -37135,7 +37133,7 @@ function At(e) {
37135
37133
  t = w$1("p"), B$1(t, "class", "ConsentDescription svelte-ltb9q9");
37136
37134
  },
37137
37135
  m(n, i) {
37138
- v(n, t, i), t.innerHTML = r;
37136
+ k(n, t, i), t.innerHTML = r;
37139
37137
  },
37140
37138
  p(n, i) {
37141
37139
  i[0] & /*$_, playerConsents, consentsCategories*/
@@ -37149,20 +37147,20 @@ function At(e) {
37149
37147
  }
37150
37148
  };
37151
37149
  }
37152
- function Ht(e) {
37150
+ function wt(e) {
37153
37151
  let t, r, n, i, o = (
37154
37152
  /*$_*/
37155
37153
  (e[16](`${/*consent*/
37156
37154
  e[64].tagCode}__name`) || /*consent*/
37157
37155
  e[64].friendlyName) + ""
37158
- ), a, s, h, u, l, d, m, b, f, g, S, _ = (
37156
+ ), a, s, h, u, l, d, m, v, f, g, C, _ = (
37159
37157
  /*consent*/
37160
- e[64].mustAccept === !0 && Nt()
37161
- ), v$1 = (
37158
+ e[64].mustAccept === !0 && Tt()
37159
+ ), b = (
37162
37160
  /*displayconsentdescription*/
37163
- e[4] === "true" && At(e)
37161
+ e[4] === "true" && Mt(e)
37164
37162
  );
37165
- function C(...P) {
37163
+ function x(...P) {
37166
37164
  return (
37167
37165
  /*input_handler*/
37168
37166
  e[29](
@@ -37174,7 +37172,7 @@ function Ht(e) {
37174
37172
  }
37175
37173
  return {
37176
37174
  c() {
37177
- t = w$1("div"), r = w$1("div"), n = w$1("h4"), i = new Lt(!1), a = pt$1(), _ && _.c(), s = pt$1(), v$1 && v$1.c(), h = pt$1(), u = w$1("label"), l = w$1("input"), b = pt$1(), f = w$1("span"), i.a = a, B$1(n, "class", "ConsentName svelte-ltb9q9"), B$1(r, "class", "ConsentContent"), B$1(l, "type", "checkbox"), l.disabled = d = /*consent*/
37175
+ t = w$1("div"), r = w$1("div"), n = w$1("h4"), i = new Lt$1(!1), a = pt$1(), _ && _.c(), s = pt$1(), b && b.c(), h = pt$1(), u = w$1("label"), l = w$1("input"), v = pt$1(), f = w$1("span"), i.a = a, B$1(n, "class", "ConsentName svelte-ltb9q9"), B$1(r, "class", "ConsentContent"), B$1(l, "type", "checkbox"), l.disabled = d = /*consent*/
37178
37176
  e[64].mustAccept === !0 && /*initialConsentsState*/
37179
37177
  e[12][
37180
37178
  /*consent*/
@@ -37185,23 +37183,23 @@ function Ht(e) {
37185
37183
  e[64].tagCode
37186
37184
  ], B$1(l, "class", "svelte-ltb9q9"), B$1(f, "class", "Slider Round svelte-ltb9q9"), B$1(u, "class", "ToggleSwitch svelte-ltb9q9"), B$1(t, "class", "ConsentItem svelte-ltb9q9");
37187
37185
  },
37188
- m(P, k) {
37189
- v(P, t, k), G(t, r), G(r, n), i.m(o, n), G(n, a), _ && _.m(n, null), G(r, s), v$1 && v$1.m(r, null), G(t, h), G(t, u), G(u, l), G(u, b), G(u, f), g || (S = wt$1(l, "input", C), g = !0);
37186
+ m(P, E) {
37187
+ k(P, t, E), G(t, r), G(r, n), i.m(o, n), G(n, a), _ && _.m(n, null), G(r, s), b && b.m(r, null), G(t, h), G(t, u), G(u, l), G(u, v), G(u, f), g || (C = wt$1(l, "input", x), g = !0);
37190
37188
  },
37191
- p(P, k) {
37192
- e = P, k[0] & /*$_, playerConsents, consentsCategories*/
37189
+ p(P, E) {
37190
+ e = P, E[0] & /*$_, playerConsents, consentsCategories*/
37193
37191
  66304 && o !== (o = /*$_*/
37194
37192
  (e[16](`${/*consent*/
37195
37193
  e[64].tagCode}__name`) || /*consent*/
37196
37194
  e[64].friendlyName) + "") && i.p(o), /*consent*/
37197
- e[64].mustAccept === !0 ? _ || (_ = Nt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
37198
- e[4] === "true" ? v$1 ? v$1.p(e, k) : (v$1 = At(e), v$1.c(), v$1.m(r, null)) : v$1 && (v$1.d(1), v$1 = null), k[0] & /*playerConsents, consentsCategories, initialConsentsState*/
37195
+ e[64].mustAccept === !0 ? _ || (_ = Tt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
37196
+ e[4] === "true" ? b ? b.p(e, E) : (b = Mt(e), b.c(), b.m(r, null)) : b && (b.d(1), b = null), E[0] & /*playerConsents, consentsCategories, initialConsentsState*/
37199
37197
  4864 && d !== (d = /*consent*/
37200
37198
  e[64].mustAccept === !0 && /*initialConsentsState*/
37201
37199
  e[12][
37202
37200
  /*consent*/
37203
37201
  e[64].tagCode
37204
- ] === !0) && (l.disabled = d), k[0] & /*consentsState, playerConsents, consentsCategories*/
37202
+ ] === !0) && (l.disabled = d), E[0] & /*consentsState, playerConsents, consentsCategories*/
37205
37203
  8960 && m !== (m = /*consentsState*/
37206
37204
  e[13][
37207
37205
  /*consent*/
@@ -37209,17 +37207,17 @@ function Ht(e) {
37209
37207
  ]) && (l.checked = m);
37210
37208
  },
37211
37209
  d(P) {
37212
- P && y(t), _ && _.d(), v$1 && v$1.d(), g = !1, S();
37210
+ P && y(t), _ && _.d(), b && b.d(), g = !1, C();
37213
37211
  }
37214
37212
  };
37215
37213
  }
37216
- function Pt(e) {
37214
+ function Nt(e) {
37217
37215
  let t, r, n, i = (
37218
37216
  /*$_*/
37219
37217
  (e[16](`${/*category*/
37220
37218
  e[61].categoryTagCode}__category`) || /*category*/
37221
37219
  e[61].friendlyName) + ""
37222
- ), o, a, s, h, u, l, d, m, b;
37220
+ ), o, a, s, h, u, l, d, m, v;
37223
37221
  function f() {
37224
37222
  e[26].call(
37225
37223
  s,
@@ -37236,44 +37234,44 @@ function Pt(e) {
37236
37234
  )
37237
37235
  );
37238
37236
  }
37239
- function S(...C) {
37237
+ function C(...x) {
37240
37238
  return (
37241
37239
  /*func*/
37242
37240
  e[28](
37243
37241
  /*category*/
37244
37242
  e[61],
37245
- ...C
37243
+ ...x
37246
37244
  )
37247
37245
  );
37248
37246
  }
37249
- let _ = kt$1(
37247
+ let _ = vt$1(
37250
37248
  /*playerConsents*/
37251
- e[9].filter(S)
37252
- ), v$1 = [];
37253
- for (let C = 0; C < _.length; C += 1)
37254
- v$1[C] = Ht(St(e, _, C));
37249
+ e[9].filter(C)
37250
+ ), b = [];
37251
+ for (let x = 0; x < _.length; x += 1)
37252
+ b[x] = wt(Et(e, _, x));
37255
37253
  return {
37256
37254
  c() {
37257
37255
  t = w$1("div"), r = w$1("div"), n = w$1("h3"), o = pt$1(), a = w$1("label"), s = w$1("input"), h = pt$1(), u = w$1("span"), l = pt$1(), d = w$1("div");
37258
- for (let C = 0; C < v$1.length; C += 1)
37259
- v$1[C].c();
37256
+ for (let x = 0; x < b.length; x += 1)
37257
+ b[x].c();
37260
37258
  B$1(s, "type", "checkbox"), B$1(s, "class", "svelte-ltb9q9"), B$1(u, "class", "Slider Round svelte-ltb9q9"), B$1(a, "class", "ToggleSwitch Big svelte-ltb9q9"), B$1(r, "class", "AccordionHeader svelte-ltb9q9"), B$1(d, "class", "AccordionContent svelte-ltb9q9"), B$1(t, "class", "AccordionItem svelte-ltb9q9");
37261
37259
  },
37262
- m(C, P) {
37263
- v(C, t, P), G(t, r), G(r, n), n.innerHTML = i, G(r, o), G(r, a), G(a, s), s.checked = /*categoryToggle*/
37260
+ m(x, P) {
37261
+ k(x, t, P), G(t, r), G(r, n), n.innerHTML = i, G(r, o), G(r, a), G(a, s), s.checked = /*categoryToggle*/
37264
37262
  e[11][
37265
37263
  /*category*/
37266
37264
  e[61].categoryTagCode
37267
37265
  ], G(a, h), G(a, u), G(t, l), G(t, d);
37268
- for (let k = 0; k < v$1.length; k += 1)
37269
- v$1[k] && v$1[k].m(d, null);
37270
- m || (b = [
37266
+ for (let E = 0; E < b.length; E += 1)
37267
+ b[E] && b[E].m(d, null);
37268
+ m || (v = [
37271
37269
  wt$1(s, "change", f),
37272
37270
  wt$1(s, "change", g)
37273
37271
  ], m = !0);
37274
37272
  },
37275
- p(C, P) {
37276
- if (e = C, P[0] & /*$_, consentsCategories*/
37273
+ p(x, P) {
37274
+ if (e = x, P[0] & /*$_, consentsCategories*/
37277
37275
  65792 && i !== (i = /*$_*/
37278
37276
  (e[16](`${/*category*/
37279
37277
  e[61].categoryTagCode}__category`) || /*category*/
@@ -37284,26 +37282,26 @@ function Pt(e) {
37284
37282
  e[61].categoryTagCode
37285
37283
  ]), P[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription*/
37286
37284
  602896) {
37287
- _ = kt$1(
37285
+ _ = vt$1(
37288
37286
  /*playerConsents*/
37289
- e[9].filter(S)
37287
+ e[9].filter(C)
37290
37288
  );
37291
- let k;
37292
- for (k = 0; k < _.length; k += 1) {
37293
- const z = St(e, _, k);
37294
- v$1[k] ? v$1[k].p(z, P) : (v$1[k] = Ht(z), v$1[k].c(), v$1[k].m(d, null));
37289
+ let E;
37290
+ for (E = 0; E < _.length; E += 1) {
37291
+ const z = Et(e, _, E);
37292
+ b[E] ? b[E].p(z, P) : (b[E] = wt(z), b[E].c(), b[E].m(d, null));
37295
37293
  }
37296
- for (; k < v$1.length; k += 1)
37297
- v$1[k].d(1);
37298
- v$1.length = _.length;
37294
+ for (; E < b.length; E += 1)
37295
+ b[E].d(1);
37296
+ b.length = _.length;
37299
37297
  }
37300
37298
  },
37301
- d(C) {
37302
- C && y(t), bt$1(v$1, C), m = !1, p(b);
37299
+ d(x) {
37300
+ x && y(t), bt$1(b, x), m = !1, p(v);
37303
37301
  }
37304
37302
  };
37305
37303
  }
37306
- function Bt(e) {
37304
+ function At(e) {
37307
37305
  let t, r, n, i, o;
37308
37306
  return {
37309
37307
  c() {
@@ -37313,7 +37311,7 @@ function Bt(e) {
37313
37311
  ), xt$1(r, "class", "svelte-ltb9q9"), B$1(i, "class", "ErrorMessage svelte-ltb9q9"), B$1(t, "class", "ConsentErrorContainer svelte-ltb9q9");
37314
37312
  },
37315
37313
  m(a, s) {
37316
- v(a, t, s), G(t, r), G(t, n), G(t, i), G(i, o);
37314
+ k(a, t, s), G(t, r), G(t, n), G(t, i), G(i, o);
37317
37315
  },
37318
37316
  p(a, s) {
37319
37317
  s[0] & /*errorMessage*/
@@ -37328,27 +37326,27 @@ function Bt(e) {
37328
37326
  }
37329
37327
  };
37330
37328
  }
37331
- function ji(e) {
37329
+ function Oi(e) {
37332
37330
  let t, r;
37333
37331
  function n(a, s) {
37334
37332
  if (
37335
37333
  /*isLoading*/
37336
37334
  a[10]
37337
37335
  )
37338
- return Ii;
37336
+ return zi;
37339
37337
  if (
37340
37338
  /*fatalError*/
37341
37339
  a[7]
37342
37340
  )
37343
- return Oi;
37341
+ return Bi;
37344
37342
  if (
37345
37343
  /*session*/
37346
37344
  a[0]
37347
37345
  )
37348
- return zi;
37346
+ return Pi;
37349
37347
  if (!/*session*/
37350
37348
  a[0])
37351
- return Bi;
37349
+ return Hi;
37352
37350
  }
37353
37351
  let i = n(e), o = i && i(e);
37354
37352
  return {
@@ -37356,7 +37354,7 @@ function ji(e) {
37356
37354
  t = w$1("div"), r = w$1("div"), o && o.c(), B$1(r, "class", "ConsentsContainer svelte-ltb9q9"), B$1(t, "class", gt$1("") + " svelte-ltb9q9");
37357
37355
  },
37358
37356
  m(a, s) {
37359
- v(a, t, s), G(t, r), o && o.m(r, null), e[32](r);
37357
+ k(a, t, s), G(t, r), o && o.m(r, null), e[32](r);
37360
37358
  },
37361
37359
  p(a, s) {
37362
37360
  i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
@@ -37368,190 +37366,190 @@ function ji(e) {
37368
37366
  }
37369
37367
  };
37370
37368
  }
37371
- function Li(e, t, r) {
37369
+ function Ii(e, t, r) {
37372
37370
  let n;
37373
- _t$1(e, wi, (c) => r(16, n = c));
37374
- let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: b = "false" } = t, f, g, S = !1, _ = !1, v = "", C = "", P = "", k = "", z = [], W$1 = [], O = [], se = !0, be = !0, G = {}, ve = {}, Z = {}, U = {}, le, ye, R = {
37371
+ _t$1(e, Ti, (c) => r(16, n = c));
37372
+ let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: v = "false" } = t, f, g = !1, C = !1, _ = "", b = "", x = "", P = "", E$1 = [], z = [], O = [], ae = !0, _e = !0, G = {}, be = {}, W$1 = {}, U = {}, se, ve, R = {
37375
37373
  none: { key: "0", value: "None" },
37376
37374
  accepted: { key: "1", value: "Accepted" },
37377
37375
  expired: { key: "2", value: "Expired" },
37378
37376
  denied: { key: "3", value: "Denied" },
37379
37377
  suspended: { key: "4", value: "Suspended" }
37380
- }, Ee = !1;
37381
- Object.keys(Et).forEach((c) => {
37382
- yt(c, Et[c]);
37378
+ }, ye = !1;
37379
+ Object.keys(bt).forEach((c) => {
37380
+ _t(c, bt[c]);
37383
37381
  });
37384
- const cr = () => {
37385
- Ni(l);
37386
- }, ur = () => {
37382
+ const ar = () => {
37383
+ Mi(l);
37384
+ }, sr = () => {
37387
37385
  let c = new URL(m);
37388
37386
  fetch(c.href).then((p) => p.json()).then((p) => {
37389
- Object.keys(p).forEach((T) => {
37390
- yt(T, p[T]);
37387
+ Object.keys(p).forEach((M) => {
37388
+ _t(M, p[M]);
37391
37389
  });
37392
37390
  }).catch((p) => {
37393
37391
  console.log(p);
37394
37392
  });
37395
- }, hr = () => {
37396
- i && (v = i, _ = !0), o && (C = o);
37397
- }, ke = (c, p = !1) => {
37398
- p ? r(7, k = c) : (_r(), r(6, P = c));
37399
- }, ce = async (c, p, T, y = !1) => {
37393
+ }, lr = () => {
37394
+ i && (_ = i, C = !0), o && (b = o);
37395
+ }, Ee = (c, p = !1) => {
37396
+ p ? r(7, P = c) : (gr(), r(6, x = c));
37397
+ }, le = async (c, p, M, y = !1) => {
37400
37398
  try {
37401
- const M = await fetch(c, T);
37402
- if (!M.ok)
37399
+ const T = await fetch(c, M);
37400
+ if (!T.ok)
37403
37401
  throw new Error(n(p));
37404
- const I = await M.json();
37405
- return _ ? I : I.filter((F) => F.showOnRegister === !0);
37406
- } catch (M) {
37407
- throw ke(
37408
- M instanceof TypeError ? n(p) : M.message,
37402
+ const I = await T.json();
37403
+ return C ? I : I.filter((F) => F.showOnRegister === !0);
37404
+ } catch (T) {
37405
+ throw Ee(
37406
+ T instanceof TypeError ? n(p) : T.message,
37409
37407
  y
37410
- ), M;
37408
+ ), T;
37411
37409
  }
37412
- }, dr = async () => {
37410
+ }, cr = async () => {
37413
37411
  try {
37414
37412
  let c = [], p = [];
37415
- if (_ ? [c, p] = await rt() : c = await rt(), r(10, se = !1), W$1 = [...c], r(8, z = gr(W$1).sort((T, y) => T.categoryTagCode.localeCompare(y.categoryTagCode))), r(11, G = pr(z)), ve = { ...G }, r(9, O = [...p]), W$1.forEach((T) => {
37416
- let y = O.find((M) => M.tagCode === T.tagCode);
37413
+ if (C ? [c, p] = await $e() : c = await $e(), r(10, ae = !1), z = [...c], r(8, E$1 = hr(z).sort((M, y) => M.categoryTagCode.localeCompare(y.categoryTagCode))), r(11, G = dr(E$1)), be = { ...G }, r(9, O = [...p]), z.forEach((M) => {
37414
+ let y = O.find((T) => T.tagCode === M.tagCode);
37417
37415
  y || (y = {
37418
- ...T,
37416
+ ...M,
37419
37417
  status: R.denied.value
37420
- }, O.push(y)), y.description = T.description, y.orderNumber = T.orderNumber;
37421
- }), b === "true") {
37422
- if (r(9, O = O.filter((T) => T.status === R.expired.value)), O.length !== 0)
37418
+ }, O.push(y)), y.description = M.description, y.orderNumber = M.orderNumber;
37419
+ }), v === "true") {
37420
+ if (r(9, O = O.filter((M) => M.status === R.expired.value)), O.length !== 0)
37423
37421
  return;
37424
- ke(n("wrongModalConfig"), !0);
37422
+ Ee(n("wrongModalConfig"), !0);
37425
37423
  }
37426
- fr();
37424
+ mr();
37427
37425
  } catch (c) {
37428
- throw r(10, se = !1), ke(
37426
+ throw r(10, ae = !1), Ee(
37429
37427
  c instanceof TypeError ? n("invalidUrl") : c.message,
37430
37428
  !0
37431
37429
  ), c;
37432
37430
  }
37433
- }, rt = async () => {
37431
+ }, $e = async () => {
37434
37432
  const c = new URL(`${a}/api/v1/gm/consents`);
37435
- if (c.searchParams.append("Status", "Active"), !_)
37436
- return await ce(c.href, "fetchConsentsError", { method: "GET" }, !0);
37437
- const p = new URL(`${a}/api/v1/gm/user-consents/${C}`);
37433
+ if (c.searchParams.append("Status", "Active"), !C)
37434
+ return await le(c.href, "fetchConsentsError", { method: "GET" }, !0);
37435
+ const p = new URL(`${a}/api/v1/gm/user-consents/${b}`);
37438
37436
  return await Promise.all([
37439
- ce(c.href, "fetchConsentsError", { method: "GET" }, !0),
37440
- ce(p.href, "fetchPlayerConsentsError", {
37437
+ le(c.href, "fetchConsentsError", { method: "GET" }, !0),
37438
+ le(p.href, "fetchPlayerConsentsError", {
37441
37439
  method: "GET",
37442
37440
  headers: {
37443
- "X-SessionId": v,
37441
+ "X-SessionId": _,
37444
37442
  "Content-Type": "application/json"
37445
37443
  }
37446
37444
  })
37447
37445
  ]);
37448
- }, mr = () => {
37449
- Ee = !1;
37446
+ }, ur = () => {
37447
+ ye = !1;
37450
37448
  const c = new URL(`${a}/api/v2/gm/legislation/consents`), p = {
37451
37449
  "Content-Type": "application/json",
37452
37450
  Accept: "application/json"
37453
- }, T = { method: "GET", headers: p };
37454
- fetch(c.href, T).then((y) => y.ok ? y.json() : (Ee = !0, y.json().then((M) => (console.error(M), Ce(M))))).then((y) => {
37455
- if (!Ee) {
37456
- if (W$1 = y, localStorage.getItem("playerConsents")) {
37451
+ }, M = { method: "GET", headers: p };
37452
+ fetch(c.href, M).then((y) => y.ok ? y.json() : (ye = !0, y.json().then((T) => (console.error(T), ke(T))))).then((y) => {
37453
+ if (!ye) {
37454
+ if (z = y, localStorage.getItem("playerConsents")) {
37457
37455
  try {
37458
37456
  r(9, O = JSON.parse(localStorage.getItem("playerConsents")));
37459
- } catch (M) {
37460
- return console.error(M), Ce(M);
37457
+ } catch (T) {
37458
+ return console.error(T), ke(T);
37461
37459
  }
37462
37460
  return;
37463
37461
  }
37464
- return r(9, O = W$1.map((M) => ({
37465
- id: M.id,
37462
+ return r(9, O = z.map((T) => ({
37463
+ id: T.id,
37466
37464
  status: R.denied.key,
37467
- friendlyName: M.friendlyName,
37468
- tagCode: M.tagCode,
37465
+ friendlyName: T.friendlyName,
37466
+ tagCode: T.tagCode,
37469
37467
  selected: null,
37470
- mustAccept: M.mustAccept
37468
+ mustAccept: T.mustAccept
37471
37469
  }))), localStorage.setItem("playerConsents", JSON.stringify(O)), O;
37472
37470
  }
37473
- }).catch((y) => (console.error(y), Ce(y))).finally(() => {
37474
- r(10, se = !1);
37471
+ }).catch((y) => (console.error(y), ke(y))).finally(() => {
37472
+ r(10, ae = !1);
37475
37473
  });
37476
- }, gr = (c) => {
37474
+ }, hr = (c) => {
37477
37475
  const p = /* @__PURE__ */ new Map();
37478
- return c.forEach((T) => {
37479
- p.has(T.category.categoryTagCode) || p.set(T.category.categoryTagCode, T.category);
37476
+ return c.forEach((M) => {
37477
+ p.has(M.category.categoryTagCode) || p.set(M.category.categoryTagCode, M.category);
37480
37478
  }), Array.from(p.values());
37481
- }, pr = (c) => {
37482
- const p = localStorage.getItem("categoryToggle" + C);
37479
+ }, dr = (c) => {
37480
+ const p = localStorage.getItem("categoryToggle" + b);
37483
37481
  if (p === null) {
37484
- const T = c.reduce(
37485
- (y, M) => (y[M.categoryTagCode] = !1, y),
37482
+ const M = c.reduce(
37483
+ (y, T) => (y[T.categoryTagCode] = !1, y),
37486
37484
  {}
37487
37485
  );
37488
- return localStorage.setItem("categoryToggle" + C, JSON.stringify(T)), T;
37486
+ return localStorage.setItem("categoryToggle" + b, JSON.stringify(M)), M;
37489
37487
  } else
37490
37488
  return JSON.parse(p);
37491
- }, fr = () => {
37489
+ }, mr = () => {
37492
37490
  O.forEach((c) => {
37493
- r(12, Z[c.tagCode] = c.status === R.accepted.value, Z);
37494
- }), r(13, U = { ...Z });
37495
- }, _r = () => {
37496
- r(13, U = { ...Z }), r(11, G = { ...ve });
37497
- }, br = async () => {
37498
- if (!be)
37491
+ r(12, W$1[c.tagCode] = c.status === R.accepted.value, W$1);
37492
+ }), r(13, U = { ...W$1 });
37493
+ }, gr = () => {
37494
+ r(13, U = { ...W$1 }), r(11, G = { ...be });
37495
+ }, pr = async () => {
37496
+ if (!_e)
37499
37497
  return;
37500
- be = !1;
37498
+ _e = !1;
37501
37499
  const c = [], p = [];
37502
37500
  if (Object.keys(U).forEach((y) => {
37503
- const M = O.find((I) => I.tagCode === y);
37504
- U[y] !== Z[y] && (M ? c.push({
37501
+ const T = O.find((I) => I.tagCode === y);
37502
+ U[y] !== W$1[y] && (T ? c.push({
37505
37503
  tagCode: y,
37506
37504
  status: U[y] ? R.accepted.value : R.denied.value
37507
37505
  }) : p.push({
37508
37506
  tagCode: y,
37509
37507
  status: U[y] ? R.accepted.value : R.denied.value
37510
37508
  }));
37511
- }), !_) {
37512
- localStorage.setItem("categoryToggle" + C, JSON.stringify(G)), ve = { ...G }, window.postMessage(
37509
+ }), !C) {
37510
+ localStorage.setItem("categoryToggle" + b, JSON.stringify(G)), be = { ...G }, window.postMessage(
37513
37511
  {
37514
37512
  type: "NewPlayerConsentData",
37515
37513
  data: JSON.stringify(p)
37516
37514
  },
37517
37515
  window.location.href
37518
- ), be = !0;
37516
+ ), _e = !0;
37519
37517
  return;
37520
37518
  }
37521
- const T = new URL(`${a}/api/v1/gm/user-consents/${C}`);
37519
+ const M = new URL(`${a}/api/v1/gm/user-consents/${b}`);
37522
37520
  try {
37523
37521
  const y = await Promise.allSettled([
37524
- p.length > 0 && ce(T.href, "updateConsentsError", {
37522
+ p.length > 0 && le(M.href, "updateConsentsError", {
37525
37523
  method: "POST",
37526
37524
  headers: {
37527
- "X-SessionId": v,
37525
+ "X-SessionId": _,
37528
37526
  "Content-Type": "application/json"
37529
37527
  },
37530
37528
  body: JSON.stringify({ userConsents: p })
37531
37529
  }),
37532
- c.length > 0 && ce(T.href, "updateConsentsError", {
37530
+ c.length > 0 && le(M.href, "updateConsentsError", {
37533
37531
  method: "PATCH",
37534
37532
  headers: {
37535
- "X-SessionId": v,
37533
+ "X-SessionId": _,
37536
37534
  "Content-Type": "application/json"
37537
37535
  },
37538
37536
  body: JSON.stringify({ userConsents: c })
37539
37537
  })
37540
37538
  ]);
37541
- y.forEach((M, I) => {
37542
- if (M.status === "rejected" || M.value.ok === !1) {
37539
+ y.forEach((T, I) => {
37540
+ if (T.status === "rejected" || T.value.ok === !1) {
37543
37541
  const F = I < p.length ? p[I] : c[I - p.length];
37544
- r(13, U[F.tagCode] = Z[F.tagCode], U);
37542
+ r(13, U[F.tagCode] = W$1[F.tagCode], U);
37545
37543
  }
37546
- }), y.every((M) => M.status === "fulfilled") && (localStorage.setItem("categoryToggle" + C, JSON.stringify(G)), ve = { ...G }, window.postMessage(
37544
+ }), y.every((T) => T.status === "fulfilled") && (localStorage.setItem("categoryToggle" + b, JSON.stringify(G)), be = { ...G }, window.postMessage(
37547
37545
  {
37548
37546
  type: "PlayerConsentUpdated",
37549
37547
  success: !0
37550
37548
  },
37551
37549
  window.location.href
37552
- ), r(12, Z = { ...U }));
37550
+ ), r(12, W$1 = { ...U }));
37553
37551
  } catch (y) {
37554
- ke(y instanceof TypeError ? n("saveChangesError") : y.message), window.postMessage(
37552
+ Ee(y instanceof TypeError ? n("saveChangesError") : y.message), window.postMessage(
37555
37553
  {
37556
37554
  type: "PlayerConsentUpdated",
37557
37555
  success: !1
@@ -37559,58 +37557,58 @@ function Li(e, t, r) {
37559
37557
  window.location.href
37560
37558
  );
37561
37559
  } finally {
37562
- be = !0, r(14, le = !1);
37560
+ _e = !0, r(14, se = !1);
37563
37561
  }
37564
- }, vr = (c) => {
37565
- const p = new URL(`${a}/api/v2/gm/legislation/consents`), T = {
37562
+ }, fr = (c) => {
37563
+ const p = new URL(`${a}/api/v2/gm/legislation/consents`), M = {
37566
37564
  "Content-Type": "application/json",
37567
37565
  Accept: "application/json"
37568
37566
  }, y = {
37569
37567
  playerConsents: O,
37570
37568
  registrationId: c
37571
- }, M = {
37569
+ }, T = {
37572
37570
  method: "POST",
37573
37571
  body: JSON.stringify(y),
37574
- headers: T
37572
+ headers: M
37575
37573
  };
37576
- fetch(p.href, M).then((I) => {
37577
- I.ok || (Ee = !0);
37578
- }).catch((I) => (console.error(I), Ce(I))).finally(() => {
37579
- r(10, se = !1);
37574
+ fetch(p.href, T).then((I) => {
37575
+ I.ok || (ye = !0);
37576
+ }).catch((I) => (console.error(I), ke(I))).finally(() => {
37577
+ r(10, ae = !1);
37580
37578
  });
37581
- }, nt = (c) => {
37579
+ }, et = (c) => {
37582
37580
  O.filter((p) => p.category.categoryTagCode === c).forEach((p) => {
37583
37581
  p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[p.tagCode] = G[c] || !1, U);
37584
- }), r(14, le = it());
37585
- }, ze = (c, p, T) => {
37586
- const y = O.find((F) => F.id === T), M = p ? "value" : "key";
37582
+ }), r(14, se = tt());
37583
+ }, Be = (c, p, M) => {
37584
+ const y = O.find((F) => F.id === M), T = p ? "value" : "key";
37587
37585
  let I;
37588
37586
  if (!p && y.mustAccept) {
37589
- const F = Array.from(ye.children);
37590
- for (const ue of F)
37591
- if (I = Array.from(ue.children).find((Ar) => Ar.getAttribute("id") === `checkBoxError__${y.tagCode}`), I)
37587
+ const F = Array.from(ve.children);
37588
+ for (const ce of F)
37589
+ if (I = Array.from(ce.children).find((Mr) => Mr.getAttribute("id") === `checkBoxError__${y.tagCode}`), I)
37592
37590
  break;
37593
37591
  }
37594
- if (y.status === R.accepted[M] ? (y.status = R.denied[M], I && (I.innerHTML = n("requiredError"))) : (y.status = R.accepted[M], I && (I.innerHTML = "")), p) {
37592
+ if (y.status === R.accepted[T] ? (y.status = R.denied[T], I && (I.innerHTML = n("requiredError"))) : (y.status = R.accepted[T], I && (I.innerHTML = "")), p) {
37595
37593
  r(13, U[y.tagCode] = !U[y.tagCode], U);
37596
- const F = O.filter((ue) => ue.category.categoryTagCode === p.categoryTagCode).every((ue) => ue.status !== R.denied.value);
37594
+ const F = O.filter((ce) => ce.category.categoryTagCode === p.categoryTagCode).every((ce) => ce.status !== R.denied.value);
37597
37595
  r(11, G[p.categoryTagCode] = F, G);
37598
37596
  }
37599
- yr();
37600
- }, yr = ((c, p) => {
37601
- let T;
37597
+ _r();
37598
+ }, _r = ((c, p) => {
37599
+ let M;
37602
37600
  return function(...y) {
37603
- const M = this;
37604
- clearTimeout(T), T = setTimeout(
37601
+ const T = this;
37602
+ clearTimeout(M), M = setTimeout(
37605
37603
  () => {
37606
- c.apply(M, y);
37604
+ c.apply(T, y);
37607
37605
  },
37608
37606
  p
37609
37607
  );
37610
37608
  };
37611
- })(() => Er(), 500), Er = () => {
37612
- r(14, le = it()), i || (window.postMessage({ type: "isConsentsValid", isValid: le }), localStorage.setItem("playerConsents", JSON.stringify(O)));
37613
- }, it = () => O.filter((p) => O.some((T) => p.tagCode === T.tagCode && T.mustAccept && (p.status === R.denied.key || p.status === R.denied.value))).length === 0, Ce = (c) => {
37609
+ })(() => br(), 500), br = () => {
37610
+ r(14, se = tt()), i || (window.postMessage({ type: "isConsentsValid", isValid: se }), localStorage.setItem("playerConsents", JSON.stringify(O)));
37611
+ }, tt = () => O.filter((p) => O.some((M) => p.tagCode === M.tagCode && M.mustAccept && (p.status === R.denied.key || p.status === R.denied.value))).length === 0, ke = (c) => {
37614
37612
  window.postMessage(
37615
37613
  {
37616
37614
  type: "WidgetNotification",
@@ -37618,46 +37616,46 @@ function Li(e, t, r) {
37618
37616
  },
37619
37617
  window.location.href
37620
37618
  );
37621
- }, kr = (c) => {
37622
- c.data && c.data.type !== "setUpPlayerConsents" || vr(c.data.registerid);
37619
+ }, vr = (c) => {
37620
+ c.data && c.data.type !== "setUpPlayerConsents" || fr(c.data.registerid);
37623
37621
  };
37624
37622
  W(() => {
37625
37623
  setTimeout(
37626
37624
  () => {
37627
- r(25, S = !0);
37625
+ r(25, g = !0);
37628
37626
  },
37629
37627
  50
37630
37628
  );
37631
- const c = (p) => kr(p);
37629
+ const c = (p) => vr(p);
37632
37630
  return window.addEventListener("message", c), () => {
37633
- window.emMessageBus && g && g.unsubscribe(), window.removeEventListener("message", c);
37631
+ window.removeEventListener("message", c);
37634
37632
  };
37635
37633
  });
37636
- function Cr(c) {
37634
+ function yr(c) {
37637
37635
  G[c.categoryTagCode] = this.checked, r(11, G);
37638
37636
  }
37639
- const Sr = (c) => nt(c.categoryTagCode), xr = (c, p) => p.category.categoryTagCode === c.categoryTagCode, Mr = (c, p) => ze(p, c.category, c.id), Tr = (c, p) => ze(p, null, c.id);
37640
- function wr(c) {
37637
+ const Er = (c) => et(c.categoryTagCode), kr = (c, p) => p.category.categoryTagCode === c.categoryTagCode, Cr = (c, p) => Be(p, c.category, c.id), Sr = (c, p) => Be(p, null, c.id);
37638
+ function xr(c) {
37641
37639
  E[c ? "unshift" : "push"](() => {
37642
- ye = c, r(15, ye);
37640
+ ve = c, r(15, ve);
37643
37641
  });
37644
37642
  }
37645
- function Nr(c) {
37643
+ function Tr(c) {
37646
37644
  E[c ? "unshift" : "push"](() => {
37647
37645
  f = c, r(5, f);
37648
37646
  });
37649
37647
  }
37650
37648
  return e.$$set = (c) => {
37651
- "session" in c && r(0, i = c.session), "userid" in c && r(20, o = c.userid), "endpoint" in c && r(21, a = c.endpoint), "clientstyling" in c && r(1, s = c.clientstyling), "clientstylingurl" in c && r(2, h = c.clientstylingurl), "mbsource" in c && r(3, u = c.mbsource), "lang" in c && r(22, l = c.lang), "displayconsentdescription" in c && r(4, d = c.displayconsentdescription), "translationurl" in c && r(23, m = c.translationurl), "modalconsents" in c && r(24, b = c.modalconsents);
37649
+ "session" in c && r(0, i = c.session), "userid" in c && r(20, o = c.userid), "endpoint" in c && r(21, a = c.endpoint), "clientstyling" in c && r(1, s = c.clientstyling), "clientstylingurl" in c && r(2, h = c.clientstylingurl), "mbsource" in c && r(3, u = c.mbsource), "lang" in c && r(22, l = c.lang), "displayconsentdescription" in c && r(4, d = c.displayconsentdescription), "translationurl" in c && r(23, m = c.translationurl), "modalconsents" in c && r(24, v = c.modalconsents);
37652
37650
  }, e.$$.update = () => {
37653
37651
  e.$$.dirty[0] & /*isMounted, session*/
37654
- 33554433 && S && i && (hr(), dr()), e.$$.dirty[0] & /*session*/
37655
- 1 && (i || mr()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
37652
+ 33554433 && g && i && (lr(), cr()), e.$$.dirty[0] & /*session*/
37653
+ 1 && (i || ur()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
37656
37654
  34 && s && f && ft$1(f, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
37657
37655
  36 && h && f && dt$1(f, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
37658
- 40 && f && at(f, `${u}.Style`), e.$$.dirty[0] & /*lang*/
37659
- 4194304 && l && cr(), e.$$.dirty[0] & /*translationurl*/
37660
- 8388608 && m && ur();
37656
+ 40 && f && at$1(f, `${u}.Style`), e.$$.dirty[0] & /*lang*/
37657
+ 4194304 && l && ar(), e.$$.dirty[0] & /*translationurl*/
37658
+ 8388608 && m && sr();
37661
37659
  }, [
37662
37660
  i,
37663
37661
  s,
@@ -37665,42 +37663,42 @@ function Li(e, t, r) {
37665
37663
  u,
37666
37664
  d,
37667
37665
  f,
37666
+ x,
37668
37667
  P,
37669
- k,
37670
- z,
37668
+ E$1,
37671
37669
  O,
37672
- se,
37670
+ ae,
37673
37671
  G,
37674
- Z,
37672
+ W$1,
37675
37673
  U,
37676
- le,
37677
- ye,
37674
+ se,
37675
+ ve,
37678
37676
  n,
37679
- br,
37680
- nt,
37681
- ze,
37677
+ pr,
37678
+ et,
37679
+ Be,
37682
37680
  o,
37683
37681
  a,
37684
37682
  l,
37685
37683
  m,
37686
- b,
37687
- S,
37684
+ v,
37685
+ g,
37686
+ yr,
37687
+ Er,
37688
+ kr,
37688
37689
  Cr,
37689
37690
  Sr,
37690
37691
  xr,
37691
- Mr,
37692
- Tr,
37693
- wr,
37694
- Nr
37692
+ Tr
37695
37693
  ];
37696
37694
  }
37697
- class Ri extends lt$1 {
37695
+ class ji extends lt$1 {
37698
37696
  constructor(t) {
37699
37697
  super(), ct$1(
37700
37698
  this,
37701
37699
  t,
37702
- Li,
37703
- ji,
37700
+ Ii,
37701
+ Oi,
37704
37702
  z,
37705
37703
  {
37706
37704
  session: 0,
@@ -37714,7 +37712,7 @@ class Ri extends lt$1 {
37714
37712
  translationurl: 23,
37715
37713
  modalconsents: 24
37716
37714
  },
37717
- Pi,
37715
+ Ai,
37718
37716
  [-1, -1, -1]
37719
37717
  );
37720
37718
  }
@@ -37779,7 +37777,7 @@ class Ri extends lt$1 {
37779
37777
  this.$$set({ modalconsents: t }), _();
37780
37778
  }
37781
37779
  }
37782
- ot(Ri, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
37780
+ ot$1(ji, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
37783
37781
 
37784
37782
  function r(t) {
37785
37783
  return function(...n) {
@@ -37793,7 +37791,7 @@ function r(t) {
37793
37791
  };
37794
37792
  }
37795
37793
  customElements.define = r(customElements.define);
37796
- !customElements.get("player-consents") && customElements.define("player-consents", Ri.element);
37794
+ !customElements.get("player-consents") && customElements.define("player-consents", ji.element);
37797
37795
 
37798
37796
  const generalRegistrationCss = "*,\n*::before,\n*::after {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n}\n\n.registration__form.hidden {\n display: none;\n}\n\n.registration {\n font-family: \"Roboto\";\n font-style: normal;\n font-family: sans-serif;\n display: flex;\n flex-direction: column;\n gap: 24px;\n width: 100%;\n height: 100%;\n container-type: inline-size;\n}\n.registration__wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.registration__error-message {\n color: var(--emw--color-error, var(--emw--color-red, #ed0909));\n font-size: 13px;\n display: block;\n justify-content: center;\n text-align: center;\n}\n.registration__form {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n gap: 40px;\n justify-items: stretch;\n align-content: flex-start;\n overflow: auto;\n width: 100%;\n height: 100%;\n}\n.registration__buttons-wrapper {\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n align-items: center;\n position: relative;\n}\n.registration__button {\n border-radius: 5px;\n background: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n border: 1px solid var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n color: var(--emw--button-typography, var(--emw--color-white, #FFFFFF));\n text-transform: uppercase;\n font-size: 20px;\n height: 44px;\n width: 100%;\n margin: 0px auto;\n padding: 10px 20px;\n font-weight: normal;\n box-shadow: none;\n cursor: pointer;\n}\n.registration__button--disabled {\n background: var(--emw--color-gray-100, #E6E6E6);\n border: 1px solid var(--emw--color-gray-150, #828282);\n pointer-events: none;\n box-shadow: none;\n}\n.registration__button--first-step {\n display: none;\n}\n\n@container (min-width: 450px) {\n .registration__form {\n grid-template-columns: repeat(2, 1fr);\n }\n .registration__buttons-wrapper {\n flex-direction: row-reverse;\n gap: 15px;\n }\n}\n.spinner {\n animation: rotate 2s linear infinite;\n z-index: 2;\n position: absolute;\n top: 50%;\n left: 50%;\n margin: -25px 0 0 -25px;\n width: 50px;\n height: 50px;\n}\n.spinner .path {\n stroke: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n}\n\n@keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n}";
37799
37797
  const GeneralRegistrationStyle0 = generalRegistrationCss;
@@ -45455,8 +45453,10 @@ const TelInput = class {
45455
45453
  if (this.action.split(" ")[0] == 'GET') {
45456
45454
  const endpoint = this.action.split(" ")[1];
45457
45455
  return this.getPhoneCodes(endpoint).then((options) => {
45458
- this.phoneCodesOptions = options.phoneCodes.map(code => {
45459
- return { label: code.Prefix, value: code.Prefix };
45456
+ this.phoneCodesOptions = options.phoneCodes.map((code) => {
45457
+ return typeof code === "object" && code.Prefix
45458
+ ? { label: code.Prefix, value: code.Prefix }
45459
+ : { label: code, value: code };
45460
45460
  });
45461
45461
  });
45462
45462
  }
@@ -45530,8 +45530,8 @@ const TelInput = class {
45530
45530
  if (this.touched) {
45531
45531
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
45532
45532
  }
45533
- return index.h("div", { key: 'f0f70d8568ba083ee19f9e73e5921104f599e15f', class: `tel__wrapper ${this.autofilled ? 'tel__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { key: '8da9e1c2a6b3ca19caff07540f0218266de22bb2', class: 'tel__wrapper--flex-label' }, index.h("label", { key: 'd0d90bc96e3ea853f401bae9be3f033d4cfd9b17', class: `tel__label ${this.validation.mandatory ? 'tel__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), index.h("div", { key: 'fdf7929f51edcbea8568b35804b0d9e9a93a7249', class: 'tel__wrapper--relative' }, this.tooltip &&
45534
- index.h("img", { key: '0fbc9b5e8c5feef727caa71ef07d4ae80007e04a', class: 'tel__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("div", { key: 'b4a11808a7ae5e5cddce47b51a51003bce3a84f8', class: `tel__wrapper--flex ${invalidClass}` }, index.h("vaadin-combo-box", { key: '2d81ff4c11e559f302a8446816f4aca0de2cfcef', class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onChange: (e) => this.handlePrefixInput(e) }), index.h("input", { key: 'ab52185589bf4d52205bad4cecc9c7ecb54cd409', type: "tel", ref: (el) => this.inputReference = el, id: `${this.name}__input`, readOnly: this.autofilled, class: `tel__input`, value: this.phoneValue, placeholder: `${this.placeholder}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onInput: this.handleInput, onBlur: this.handleBlur })), index.h("small", { key: '6d219de32297bc2fab31995b5a33b14f2eea21d9', class: 'tel__error-message' }, this.errorMessage));
45533
+ return index.h("div", { key: 'c301ee1d0c8c256a5f85275d0693c62c7098a537', class: `tel__wrapper ${this.autofilled ? 'tel__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { key: '4e3b00c3df0e3cd225fcaad8b53dd715a74da455', class: 'tel__wrapper--flex-label' }, index.h("label", { key: 'd7a0c5e439a49a42acf0ca8d65bd91abcea5ca87', class: `tel__label ${this.validation.mandatory ? 'tel__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), index.h("div", { key: '6ab717e5c3ca495fb5e840a7f7f071b9cb791b54', class: 'tel__wrapper--relative' }, this.tooltip &&
45534
+ index.h("img", { key: '54d9bc2283e91af42aca08340e55c404d57cc690', class: 'tel__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("div", { key: '7ef8e2f8c5bdcfd228a1ca5debe0de39a066ded0', class: `tel__wrapper--flex ${invalidClass}` }, index.h("vaadin-combo-box", { key: 'b182d7bc2242f9d2f604360b372a29ebfbae8ca7', class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onChange: (e) => this.handlePrefixInput(e) }), index.h("input", { key: 'c0edad7e540464c2bf8f0468118ce89ec6ff7a92', type: "tel", ref: (el) => this.inputReference = el, id: `${this.name}__input`, readOnly: this.autofilled, class: `tel__input`, value: this.phoneValue, placeholder: `${this.placeholder}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onInput: this.handleInput, onBlur: this.handleBlur })), index.h("small", { key: '3b427400644daa103a48429d7cf1e139ac6fa73d', class: 'tel__error-message' }, this.errorMessage));
45535
45535
  }
45536
45536
  static get watchers() { return {
45537
45537
  "clientStyling": ["handleStylingChange"],