@everymatrix/general-registration 1.57.0 → 1.59.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.
- package/dist/cjs/checkbox-group-input_13.cjs.entry.js +784 -778
- package/dist/esm/checkbox-group-input_13.entry.js +784 -778
- package/dist/general-registration/general-registration.esm.js +1 -1
- package/dist/general-registration/{p-fb47e4cb.entry.js → p-7cdd3034.entry.js} +61 -61
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +2 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +2 -0
- package/package.json +1 -1
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +0 -2
- 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
- /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/libs/common/src/storybook/storybook-utils.d.ts +0 -0
- /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
- /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/storybook/main.d.ts +0 -0
- /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/storybook/preview.d.ts +0 -0
- /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/index.d.ts +0 -0
- /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
- /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
- /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
|
@@ -20,7 +20,8 @@ const TRANSLATIONS$1 = {
|
|
|
20
20
|
"MustContainCapital": "Password must include a capital letter",
|
|
21
21
|
"MustIncludePunctation": "Password must include punctuation",
|
|
22
22
|
"OnlyNumbers": "Should contains only numbers.",
|
|
23
|
-
"InvalidFieldSize": "The length must be exactly 11 digits."
|
|
23
|
+
"InvalidFieldSize": "The length must be exactly 11 digits.",
|
|
24
|
+
"InvalidDocumentNumber": "Only numerical characters are allowed."
|
|
24
25
|
},
|
|
25
26
|
"hu": {
|
|
26
27
|
"dateError": "A választott dátumnak {min} és {max} között kell lennie",
|
|
@@ -39,7 +40,8 @@ const TRANSLATIONS$1 = {
|
|
|
39
40
|
"MustContainCapital": "A jelszónak tartalmaznia kell egy nagybetűt",
|
|
40
41
|
"MustIncludePunctation": "A jelszónak tartalmaznia kell írásjelet",
|
|
41
42
|
"OnlyNumbers": "Csak számokat kell tartalmaznia.",
|
|
42
|
-
"InvalidFieldSize": "A hosszúságnak pontosan 11 számjegynek kell lennie."
|
|
43
|
+
"InvalidFieldSize": "A hosszúságnak pontosan 11 számjegynek kell lennie.",
|
|
44
|
+
"InvalidDocumentNumber": "Csak számjegyek engedélyezettek.",
|
|
43
45
|
},
|
|
44
46
|
"hr": {
|
|
45
47
|
"dateError": "Odabrani datum treba biti između {min} i {max}",
|
|
@@ -59,7 +61,8 @@ const TRANSLATIONS$1 = {
|
|
|
59
61
|
"MustContainCapital": "Lozinka mora sadržavati veliko slovo",
|
|
60
62
|
"MustIncludePunctation": "Lozinka mora sadržavati barem jedan znak",
|
|
61
63
|
"OnlyNumbers": "Treba sadržavati samo brojeve.",
|
|
62
|
-
"InvalidFieldSize": "Dužina mora biti točno 11 znamenki."
|
|
64
|
+
"InvalidFieldSize": "Dužina mora biti točno 11 znamenki.",
|
|
65
|
+
"InvalidDocumentNumber": "Dopušteni su samo numerički znakovi."
|
|
63
66
|
},
|
|
64
67
|
"tr": {
|
|
65
68
|
"dateError": "Seçilen tarih {min} ve {max} arasında olmalıdır",
|
|
@@ -79,7 +82,8 @@ const TRANSLATIONS$1 = {
|
|
|
79
82
|
"MustContainCapital": "büyük harf içermelidir",
|
|
80
83
|
"MustIncludePunctation": "noktalama işareti içermelidir",
|
|
81
84
|
"OnlyNumbers": "Sadece sayılar içermelidir.",
|
|
82
|
-
"InvalidFieldSize": "Uzunluk tam olarak 11 rakam olmalıdır."
|
|
85
|
+
"InvalidFieldSize": "Uzunluk tam olarak 11 rakam olmalıdır.",
|
|
86
|
+
"InvalidDocumentNumber": "Sadece sayısal karakterlere izin verilir."
|
|
83
87
|
},
|
|
84
88
|
"pt-br": {
|
|
85
89
|
"dateError": "A data selecionada deve estar entre {min} e {max}",
|
|
@@ -99,7 +103,8 @@ const TRANSLATIONS$1 = {
|
|
|
99
103
|
"MustContainCapital": "A senha deve incluir uma letra maiúscula",
|
|
100
104
|
"MustIncludePunctation": "A senha deve incluir um sinal de pontuação",
|
|
101
105
|
"OnlyNumbers": "Deve conter apenas números",
|
|
102
|
-
"InvalidFieldSize": "O comprimento deve ser exatamente 11 dígitos."
|
|
106
|
+
"InvalidFieldSize": "O comprimento deve ser exatamente 11 dígitos.",
|
|
107
|
+
"InvalidDocumentNumber": "Apenas caracteres numéricos são permitidos."
|
|
103
108
|
},
|
|
104
109
|
"es-mx": {
|
|
105
110
|
"dateError": "La fecha seleccionada debe ser entre {min} y {max}",
|
|
@@ -119,7 +124,8 @@ const TRANSLATIONS$1 = {
|
|
|
119
124
|
"MustContainCapital": "La contraseña debe incluir una letra mayúscula",
|
|
120
125
|
"MustIncludePunctation": "La contraseña debe incluir un signo de puntuación",
|
|
121
126
|
"OnlyNumbers": "Solo debe contener números",
|
|
122
|
-
"InvalidFieldSize": "La longitud debe ser exactamente de 11 dígitos."
|
|
127
|
+
"InvalidFieldSize": "La longitud debe ser exactamente de 11 dígitos.",
|
|
128
|
+
"InvalidDocumentNumber": "Solo se permiten caracteres numéricos."
|
|
123
129
|
}
|
|
124
130
|
};
|
|
125
131
|
const translate$2 = (key, customLang, values) => {
|
|
@@ -157,7 +163,7 @@ const tooltipIconSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD
|
|
|
157
163
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
158
164
|
*/
|
|
159
165
|
|
|
160
|
-
function defineCustomElement(CustomElement, version = '24.5.
|
|
166
|
+
function defineCustomElement(CustomElement, version = '24.5.11') {
|
|
161
167
|
Object.defineProperty(CustomElement, 'version', {
|
|
162
168
|
get() {
|
|
163
169
|
return version;
|
|
@@ -218,7 +224,7 @@ const t$1=globalThis,e$2=t$1.ShadowRoot&&(void 0===t$1.ShadyCSS||t$1.ShadyCSS.na
|
|
|
218
224
|
* Copyright 2017 Google LLC
|
|
219
225
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
220
226
|
*/
|
|
221
|
-
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,$$
|
|
227
|
+
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};
|
|
222
228
|
|
|
223
229
|
/**
|
|
224
230
|
* @license
|
|
@@ -32281,7 +32287,7 @@ function _t$1(t, e, n) {
|
|
|
32281
32287
|
t.$$.on_destroy.push(D$1(e, n));
|
|
32282
32288
|
}
|
|
32283
32289
|
function gt$1(t) {
|
|
32284
|
-
return t
|
|
32290
|
+
return t;
|
|
32285
32291
|
}
|
|
32286
32292
|
function G(t, e) {
|
|
32287
32293
|
t.appendChild(e);
|
|
@@ -32290,7 +32296,7 @@ function I(t, e, n) {
|
|
|
32290
32296
|
const s = F(t);
|
|
32291
32297
|
if (!s.getElementById(e)) {
|
|
32292
32298
|
const i = w$1("style");
|
|
32293
|
-
i.id = e, i.textContent = n, J
|
|
32299
|
+
i.id = e, i.textContent = n, J(s, i);
|
|
32294
32300
|
}
|
|
32295
32301
|
}
|
|
32296
32302
|
function F(t) {
|
|
@@ -32303,14 +32309,14 @@ function F(t) {
|
|
|
32303
32309
|
e
|
|
32304
32310
|
) : t.ownerDocument;
|
|
32305
32311
|
}
|
|
32306
|
-
function J
|
|
32312
|
+
function J(t, e) {
|
|
32307
32313
|
return G(
|
|
32308
32314
|
/** @type {Document} */
|
|
32309
32315
|
t.head || t,
|
|
32310
32316
|
e
|
|
32311
32317
|
), e.sheet;
|
|
32312
32318
|
}
|
|
32313
|
-
function
|
|
32319
|
+
function k(t, e, n) {
|
|
32314
32320
|
t.insertBefore(e, n || null);
|
|
32315
32321
|
}
|
|
32316
32322
|
function y(t) {
|
|
@@ -32352,7 +32358,7 @@ function Et$1(t, e) {
|
|
|
32352
32358
|
e = "" + e, t.data !== e && (t.data = /** @type {string} */
|
|
32353
32359
|
e);
|
|
32354
32360
|
}
|
|
32355
|
-
class Lt {
|
|
32361
|
+
class Lt$1 {
|
|
32356
32362
|
/**
|
|
32357
32363
|
* @private
|
|
32358
32364
|
* @default false
|
|
@@ -32407,7 +32413,7 @@ class Lt {
|
|
|
32407
32413
|
* @returns {void} */
|
|
32408
32414
|
i(e) {
|
|
32409
32415
|
for (let n = 0; n < this.n.length; n += 1)
|
|
32410
|
-
|
|
32416
|
+
k(this.t, this.n[n], e);
|
|
32411
32417
|
}
|
|
32412
32418
|
/**
|
|
32413
32419
|
* @param {string} html
|
|
@@ -32422,7 +32428,7 @@ class Lt {
|
|
|
32422
32428
|
this.n.forEach(y);
|
|
32423
32429
|
}
|
|
32424
32430
|
}
|
|
32425
|
-
function K
|
|
32431
|
+
function K(t) {
|
|
32426
32432
|
const e = {};
|
|
32427
32433
|
return t.childNodes.forEach(
|
|
32428
32434
|
/** @param {Element} node */
|
|
@@ -32435,23 +32441,23 @@ let g;
|
|
|
32435
32441
|
function m(t) {
|
|
32436
32442
|
g = t;
|
|
32437
32443
|
}
|
|
32438
|
-
function Q() {
|
|
32444
|
+
function Q$1() {
|
|
32439
32445
|
if (!g)
|
|
32440
32446
|
throw new Error("Function called outside component initialization");
|
|
32441
32447
|
return g;
|
|
32442
32448
|
}
|
|
32443
32449
|
function W(t) {
|
|
32444
|
-
Q().$$.on_mount.push(t);
|
|
32450
|
+
Q$1().$$.on_mount.push(t);
|
|
32445
32451
|
}
|
|
32446
32452
|
const h = [], E = [];
|
|
32447
|
-
let
|
|
32453
|
+
let $$1 = [];
|
|
32448
32454
|
const j = [], X = /* @__PURE__ */ Promise.resolve();
|
|
32449
32455
|
let L = !1;
|
|
32450
32456
|
function Y$1() {
|
|
32451
32457
|
L || (L = !0, X.then(_));
|
|
32452
32458
|
}
|
|
32453
|
-
function
|
|
32454
|
-
|
|
32459
|
+
function v(t) {
|
|
32460
|
+
$$1.push(t);
|
|
32455
32461
|
}
|
|
32456
32462
|
const x = /* @__PURE__ */ new Set();
|
|
32457
32463
|
let a = 0;
|
|
@@ -32463,51 +32469,51 @@ function _() {
|
|
|
32463
32469
|
try {
|
|
32464
32470
|
for (; a < h.length; ) {
|
|
32465
32471
|
const e = h[a];
|
|
32466
|
-
a++, m(e), Z(e.$$);
|
|
32472
|
+
a++, m(e), Z$1(e.$$);
|
|
32467
32473
|
}
|
|
32468
32474
|
} catch (e) {
|
|
32469
32475
|
throw h.length = 0, a = 0, e;
|
|
32470
32476
|
}
|
|
32471
32477
|
for (m(null), h.length = 0, a = 0; E.length; )
|
|
32472
32478
|
E.pop()();
|
|
32473
|
-
for (let e = 0; e <
|
|
32474
|
-
const n =
|
|
32479
|
+
for (let e = 0; e < $$1.length; e += 1) {
|
|
32480
|
+
const n = $$1[e];
|
|
32475
32481
|
x.has(n) || (x.add(n), n());
|
|
32476
32482
|
}
|
|
32477
|
-
|
|
32483
|
+
$$1.length = 0;
|
|
32478
32484
|
} while (h.length);
|
|
32479
32485
|
for (; j.length; )
|
|
32480
32486
|
j.pop()();
|
|
32481
32487
|
L = !1, x.clear(), m(t);
|
|
32482
32488
|
}
|
|
32483
|
-
function Z(t) {
|
|
32489
|
+
function Z$1(t) {
|
|
32484
32490
|
if (t.fragment !== null) {
|
|
32485
32491
|
t.update(), p(t.before_update);
|
|
32486
32492
|
const e = t.dirty;
|
|
32487
|
-
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(
|
|
32493
|
+
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(v);
|
|
32488
32494
|
}
|
|
32489
32495
|
}
|
|
32490
|
-
function tt
|
|
32496
|
+
function tt(t) {
|
|
32491
32497
|
const e = [], n = [];
|
|
32492
|
-
|
|
32498
|
+
$$1.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), $$1 = e;
|
|
32493
32499
|
}
|
|
32494
|
-
const et
|
|
32500
|
+
const et = /* @__PURE__ */ new Set();
|
|
32495
32501
|
function nt(t, e) {
|
|
32496
|
-
t && t.i && (et
|
|
32502
|
+
t && t.i && (et.delete(t), t.i(e));
|
|
32497
32503
|
}
|
|
32498
|
-
function
|
|
32504
|
+
function vt$1(t) {
|
|
32499
32505
|
return t?.length !== void 0 ? t : Array.from(t);
|
|
32500
32506
|
}
|
|
32501
32507
|
function st$1(t, e, n) {
|
|
32502
32508
|
const { fragment: s, after_update: i } = t.$$;
|
|
32503
|
-
s && s.m(e, n),
|
|
32509
|
+
s && s.m(e, n), v(() => {
|
|
32504
32510
|
const r = t.$$.on_mount.map(M).filter(O);
|
|
32505
32511
|
t.$$.on_destroy ? t.$$.on_destroy.push(...r) : p(r), t.$$.on_mount = [];
|
|
32506
|
-
}), i.forEach(
|
|
32512
|
+
}), i.forEach(v);
|
|
32507
32513
|
}
|
|
32508
|
-
function it(t, e) {
|
|
32514
|
+
function it$1(t, e) {
|
|
32509
32515
|
const n = t.$$;
|
|
32510
|
-
n.fragment !== null && (tt
|
|
32516
|
+
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 = []);
|
|
32511
32517
|
}
|
|
32512
32518
|
function rt(t, e) {
|
|
32513
32519
|
t.$$.dirty[0] === -1 && (h.push(t), Y$1(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
|
|
@@ -32601,7 +32607,7 @@ typeof HTMLElement == "function" && (H$1 = class extends HTMLElement {
|
|
|
32601
32607
|
* @param {HTMLElement} [anchor]
|
|
32602
32608
|
*/
|
|
32603
32609
|
m: function(c, u) {
|
|
32604
|
-
|
|
32610
|
+
k(c, r, u);
|
|
32605
32611
|
},
|
|
32606
32612
|
d: function(c) {
|
|
32607
32613
|
c && y(r);
|
|
@@ -32611,7 +32617,7 @@ typeof HTMLElement == "function" && (H$1 = class extends HTMLElement {
|
|
|
32611
32617
|
};
|
|
32612
32618
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
32613
32619
|
return;
|
|
32614
|
-
const e = {}, n = K
|
|
32620
|
+
const e = {}, n = K(this);
|
|
32615
32621
|
for (const i of this.$$s)
|
|
32616
32622
|
i in n && (e[i] = [t(i)]);
|
|
32617
32623
|
for (const i of this.attributes) {
|
|
@@ -32698,7 +32704,7 @@ function b(t, e, n, s) {
|
|
|
32698
32704
|
return e;
|
|
32699
32705
|
}
|
|
32700
32706
|
}
|
|
32701
|
-
function ot(t, e, n, s, i, r) {
|
|
32707
|
+
function ot$1(t, e, n, s, i, r) {
|
|
32702
32708
|
let o = class extends H$1 {
|
|
32703
32709
|
constructor() {
|
|
32704
32710
|
super(t, n, i), this.$$p_d = e;
|
|
@@ -32746,7 +32752,7 @@ class lt$1 {
|
|
|
32746
32752
|
$$set = void 0;
|
|
32747
32753
|
/** @returns {void} */
|
|
32748
32754
|
$destroy() {
|
|
32749
|
-
it(this, 1), this.$destroy = d;
|
|
32755
|
+
it$1(this, 1), this.$destroy = d;
|
|
32750
32756
|
}
|
|
32751
32757
|
/**
|
|
32752
32758
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -32788,7 +32794,7 @@ function dt$1(t, e) {
|
|
|
32788
32794
|
console.error("There was an error while trying to load client styling from URL", s);
|
|
32789
32795
|
});
|
|
32790
32796
|
}
|
|
32791
|
-
function at(t, e, n) {
|
|
32797
|
+
function at$1(t, e, n) {
|
|
32792
32798
|
if (window.emMessageBus) {
|
|
32793
32799
|
const s = document.createElement("style");
|
|
32794
32800
|
window.emMessageBus.subscribe(e, (i) => {
|
|
@@ -32806,7 +32812,7 @@ function $t$1(t) {
|
|
|
32806
32812
|
e = w$1("div"), e.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
|
|
32807
32813
|
},
|
|
32808
32814
|
m(n, s) {
|
|
32809
|
-
|
|
32815
|
+
k(n, e, s), t[4](e);
|
|
32810
32816
|
},
|
|
32811
32817
|
p: d,
|
|
32812
32818
|
i: d,
|
|
@@ -32831,7 +32837,7 @@ function mt$1(t, e, n) {
|
|
|
32831
32837
|
t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
32832
32838
|
3 && s && o && ft$1(o, s), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
32833
32839
|
5 && i && o && dt$1(o, i), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
32834
|
-
9 && r && o && at(o, `${r}.Style`);
|
|
32840
|
+
9 && r && o && at$1(o, `${r}.Style`);
|
|
32835
32841
|
}, [
|
|
32836
32842
|
o,
|
|
32837
32843
|
s,
|
|
@@ -32875,29 +32881,29 @@ class R extends lt$1 {
|
|
|
32875
32881
|
this.$$set({ mbsource: e }), _();
|
|
32876
32882
|
}
|
|
32877
32883
|
}
|
|
32878
|
-
ot(R, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
32879
|
-
const
|
|
32884
|
+
ot$1(R, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
32885
|
+
const kt$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
32880
32886
|
__proto__: null,
|
|
32881
32887
|
default: R
|
|
32882
32888
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
32883
32889
|
|
|
32884
|
-
const
|
|
32890
|
+
const GeneralAnimationLoadingZTNd0X9B = /*#__PURE__*/Object.freeze({
|
|
32885
32891
|
__proto__: null,
|
|
32886
|
-
A:
|
|
32887
|
-
B:
|
|
32888
|
-
C:
|
|
32889
|
-
D:
|
|
32890
|
-
G:
|
|
32891
|
-
H: Lt,
|
|
32892
|
+
A: gt$1,
|
|
32893
|
+
B: ft$1,
|
|
32894
|
+
C: dt$1,
|
|
32895
|
+
D: at$1,
|
|
32896
|
+
G: kt$1,
|
|
32897
|
+
H: Lt$1,
|
|
32892
32898
|
S: lt$1,
|
|
32893
|
-
a:
|
|
32899
|
+
a: D$1,
|
|
32894
32900
|
b: ct$1,
|
|
32895
|
-
c: ot,
|
|
32896
|
-
d:
|
|
32897
|
-
e:
|
|
32898
|
-
f:
|
|
32899
|
-
g:
|
|
32900
|
-
h:
|
|
32901
|
+
c: ot$1,
|
|
32902
|
+
d: y,
|
|
32903
|
+
e: k,
|
|
32904
|
+
f: G,
|
|
32905
|
+
g: V,
|
|
32906
|
+
h: B$1,
|
|
32901
32907
|
i: O,
|
|
32902
32908
|
j: _,
|
|
32903
32909
|
k: I,
|
|
@@ -32905,37 +32911,37 @@ const GeneralAnimationLoadingBMZE178n = /*#__PURE__*/Object.freeze({
|
|
|
32905
32911
|
m: _t$1,
|
|
32906
32912
|
n: d,
|
|
32907
32913
|
o: W,
|
|
32908
|
-
p:
|
|
32909
|
-
q:
|
|
32914
|
+
p: E,
|
|
32915
|
+
q: xt$1,
|
|
32910
32916
|
r: p,
|
|
32911
|
-
s:
|
|
32912
|
-
t:
|
|
32913
|
-
u:
|
|
32914
|
-
v:
|
|
32915
|
-
w:
|
|
32916
|
-
x:
|
|
32917
|
+
s: z,
|
|
32918
|
+
t: Et$1,
|
|
32919
|
+
u: P,
|
|
32920
|
+
v: vt$1,
|
|
32921
|
+
w: bt$1,
|
|
32922
|
+
x: wt$1,
|
|
32917
32923
|
y: pt$1,
|
|
32918
32924
|
z: yt$1
|
|
32919
32925
|
});
|
|
32920
32926
|
|
|
32921
|
-
const
|
|
32922
|
-
function
|
|
32927
|
+
const Y = [];
|
|
32928
|
+
function Lr(e, t) {
|
|
32923
32929
|
return {
|
|
32924
|
-
subscribe:
|
|
32930
|
+
subscribe: we(e, t).subscribe
|
|
32925
32931
|
};
|
|
32926
32932
|
}
|
|
32927
|
-
function
|
|
32933
|
+
function we(e, t = d) {
|
|
32928
32934
|
let r;
|
|
32929
32935
|
const n = /* @__PURE__ */ new Set();
|
|
32930
32936
|
function i(s) {
|
|
32931
32937
|
if (z(e, s) && (e = s, r)) {
|
|
32932
|
-
const h = !
|
|
32938
|
+
const h = !Y.length;
|
|
32933
32939
|
for (const u of n)
|
|
32934
|
-
u[1](),
|
|
32940
|
+
u[1](), Y.push(u, e);
|
|
32935
32941
|
if (h) {
|
|
32936
|
-
for (let u = 0; u <
|
|
32937
|
-
|
|
32938
|
-
|
|
32942
|
+
for (let u = 0; u < Y.length; u += 2)
|
|
32943
|
+
Y[u][0](Y[u + 1]);
|
|
32944
|
+
Y.length = 0;
|
|
32939
32945
|
}
|
|
32940
32946
|
}
|
|
32941
32947
|
}
|
|
@@ -32950,12 +32956,12 @@ function Ne(e, t = d) {
|
|
|
32950
32956
|
}
|
|
32951
32957
|
return { set: i, update: o, subscribe: a };
|
|
32952
32958
|
}
|
|
32953
|
-
function
|
|
32959
|
+
function ne(e, t, r) {
|
|
32954
32960
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
32955
32961
|
if (!i.every(Boolean))
|
|
32956
32962
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
32957
32963
|
const o = t.length < 2;
|
|
32958
|
-
return
|
|
32964
|
+
return Lr(r, (a, s) => {
|
|
32959
32965
|
let h = !1;
|
|
32960
32966
|
const u = [];
|
|
32961
32967
|
let l = 0, d$1 = d;
|
|
@@ -32965,11 +32971,11 @@ function ie(e, t, r) {
|
|
|
32965
32971
|
d$1();
|
|
32966
32972
|
const f = t(n ? u[0] : u, a, s);
|
|
32967
32973
|
o ? a(f) : d$1 = O(f) ? f : d;
|
|
32968
|
-
},
|
|
32974
|
+
}, v = i.map(
|
|
32969
32975
|
(f, g) => D$1(
|
|
32970
32976
|
f,
|
|
32971
|
-
(
|
|
32972
|
-
u[g] =
|
|
32977
|
+
(C) => {
|
|
32978
|
+
u[g] = C, l &= ~(1 << g), h && m();
|
|
32973
32979
|
},
|
|
32974
32980
|
() => {
|
|
32975
32981
|
l |= 1 << g;
|
|
@@ -32977,84 +32983,84 @@ function ie(e, t, r) {
|
|
|
32977
32983
|
)
|
|
32978
32984
|
);
|
|
32979
32985
|
return h = !0, m(), function() {
|
|
32980
|
-
p(
|
|
32986
|
+
p(v), d$1(), h = !1;
|
|
32981
32987
|
};
|
|
32982
32988
|
});
|
|
32983
32989
|
}
|
|
32984
|
-
function
|
|
32990
|
+
function Rr(e) {
|
|
32985
32991
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
32986
32992
|
}
|
|
32987
|
-
var
|
|
32988
|
-
return
|
|
32993
|
+
var Ur = function(t) {
|
|
32994
|
+
return Dr(t) && !qr(t);
|
|
32989
32995
|
};
|
|
32990
|
-
function
|
|
32996
|
+
function Dr(e) {
|
|
32991
32997
|
return !!e && typeof e == "object";
|
|
32992
32998
|
}
|
|
32993
|
-
function
|
|
32999
|
+
function qr(e) {
|
|
32994
33000
|
var t = Object.prototype.toString.call(e);
|
|
32995
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
33001
|
+
return t === "[object RegExp]" || t === "[object Date]" || Vr(e);
|
|
32996
33002
|
}
|
|
32997
|
-
var
|
|
32998
|
-
function
|
|
32999
|
-
return e.$$typeof ===
|
|
33003
|
+
var Gr = typeof Symbol == "function" && Symbol.for, Fr = Gr ? Symbol.for("react.element") : 60103;
|
|
33004
|
+
function Vr(e) {
|
|
33005
|
+
return e.$$typeof === Fr;
|
|
33000
33006
|
}
|
|
33001
|
-
function
|
|
33007
|
+
function Xr(e) {
|
|
33002
33008
|
return Array.isArray(e) ? [] : {};
|
|
33003
33009
|
}
|
|
33004
|
-
function
|
|
33005
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
33010
|
+
function de(e, t) {
|
|
33011
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? $(Xr(e), e, t) : e;
|
|
33006
33012
|
}
|
|
33007
|
-
function
|
|
33013
|
+
function Wr(e, t, r) {
|
|
33008
33014
|
return e.concat(t).map(function(n) {
|
|
33009
|
-
return
|
|
33015
|
+
return de(n, r);
|
|
33010
33016
|
});
|
|
33011
33017
|
}
|
|
33012
|
-
function
|
|
33018
|
+
function Zr(e, t) {
|
|
33013
33019
|
if (!t.customMerge)
|
|
33014
|
-
return
|
|
33020
|
+
return $;
|
|
33015
33021
|
var r = t.customMerge(e);
|
|
33016
|
-
return typeof r == "function" ? r :
|
|
33022
|
+
return typeof r == "function" ? r : $;
|
|
33017
33023
|
}
|
|
33018
|
-
function
|
|
33024
|
+
function Jr(e) {
|
|
33019
33025
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
33020
33026
|
return Object.propertyIsEnumerable.call(e, t);
|
|
33021
33027
|
}) : [];
|
|
33022
33028
|
}
|
|
33023
|
-
function
|
|
33024
|
-
return Object.keys(e).concat(
|
|
33029
|
+
function it(e) {
|
|
33030
|
+
return Object.keys(e).concat(Jr(e));
|
|
33025
33031
|
}
|
|
33026
|
-
function
|
|
33032
|
+
function It(e, t) {
|
|
33027
33033
|
try {
|
|
33028
33034
|
return t in e;
|
|
33029
33035
|
} catch {
|
|
33030
33036
|
return !1;
|
|
33031
33037
|
}
|
|
33032
33038
|
}
|
|
33033
|
-
function
|
|
33034
|
-
return
|
|
33039
|
+
function Qr(e, t) {
|
|
33040
|
+
return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
33035
33041
|
}
|
|
33036
|
-
function
|
|
33042
|
+
function Yr(e, t, r) {
|
|
33037
33043
|
var n = {};
|
|
33038
|
-
return r.isMergeableObject(e) &&
|
|
33039
|
-
n[i] =
|
|
33040
|
-
}),
|
|
33041
|
-
|
|
33044
|
+
return r.isMergeableObject(e) && it(e).forEach(function(i) {
|
|
33045
|
+
n[i] = de(e[i], r);
|
|
33046
|
+
}), it(t).forEach(function(i) {
|
|
33047
|
+
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));
|
|
33042
33048
|
}), n;
|
|
33043
33049
|
}
|
|
33044
|
-
function
|
|
33045
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
33050
|
+
function $(e, t, r) {
|
|
33051
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Wr, r.isMergeableObject = r.isMergeableObject || Ur, r.cloneUnlessOtherwiseSpecified = de;
|
|
33046
33052
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
33047
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
33053
|
+
return o ? n ? r.arrayMerge(e, t, r) : Yr(e, t, r) : de(t, r);
|
|
33048
33054
|
}
|
|
33049
|
-
|
|
33055
|
+
$.all = function(t, r) {
|
|
33050
33056
|
if (!Array.isArray(t))
|
|
33051
33057
|
throw new Error("first argument should be an array");
|
|
33052
33058
|
return t.reduce(function(n, i) {
|
|
33053
|
-
return
|
|
33059
|
+
return $(n, i, r);
|
|
33054
33060
|
}, {});
|
|
33055
33061
|
};
|
|
33056
|
-
var
|
|
33057
|
-
const
|
|
33062
|
+
var Kr = $, $r = Kr;
|
|
33063
|
+
const en = /* @__PURE__ */ Rr($r);
|
|
33058
33064
|
/*! *****************************************************************************
|
|
33059
33065
|
Copyright (c) Microsoft Corporation.
|
|
33060
33066
|
|
|
@@ -33069,18 +33075,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
33069
33075
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
33070
33076
|
PERFORMANCE OF THIS SOFTWARE.
|
|
33071
33077
|
***************************************************************************** */
|
|
33072
|
-
var
|
|
33073
|
-
return
|
|
33078
|
+
var Ue = function(e, t) {
|
|
33079
|
+
return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
33074
33080
|
r.__proto__ = n;
|
|
33075
33081
|
} || function(r, n) {
|
|
33076
33082
|
for (var i in n)
|
|
33077
33083
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
33078
|
-
},
|
|
33084
|
+
}, Ue(e, t);
|
|
33079
33085
|
};
|
|
33080
|
-
function
|
|
33086
|
+
function Ne(e, t) {
|
|
33081
33087
|
if (typeof t != "function" && t !== null)
|
|
33082
33088
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
33083
|
-
|
|
33089
|
+
Ue(e, t);
|
|
33084
33090
|
function r() {
|
|
33085
33091
|
this.constructor = e;
|
|
33086
33092
|
}
|
|
@@ -33096,7 +33102,7 @@ var H = function() {
|
|
|
33096
33102
|
return t;
|
|
33097
33103
|
}, H.apply(this, arguments);
|
|
33098
33104
|
};
|
|
33099
|
-
function
|
|
33105
|
+
function tn(e, t) {
|
|
33100
33106
|
var r = {};
|
|
33101
33107
|
for (var n in e)
|
|
33102
33108
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -33105,62 +33111,60 @@ function on(e, t) {
|
|
|
33105
33111
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
33106
33112
|
return r;
|
|
33107
33113
|
}
|
|
33108
|
-
function
|
|
33114
|
+
function ze(e, t, r) {
|
|
33109
33115
|
if (arguments.length === 2)
|
|
33110
33116
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
33111
33117
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
33112
33118
|
return e.concat(o || t);
|
|
33113
33119
|
}
|
|
33114
|
-
function
|
|
33115
|
-
var r = t && t.cache ? t.cache :
|
|
33120
|
+
function Oe(e, t) {
|
|
33121
|
+
var r = t && t.cache ? t.cache : cn, n = t && t.serializer ? t.serializer : sn, i = t && t.strategy ? t.strategy : on;
|
|
33116
33122
|
return i(e, {
|
|
33117
33123
|
cache: r,
|
|
33118
33124
|
serializer: n
|
|
33119
33125
|
});
|
|
33120
33126
|
}
|
|
33121
|
-
function
|
|
33127
|
+
function rn(e) {
|
|
33122
33128
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
33123
33129
|
}
|
|
33124
|
-
function
|
|
33125
|
-
var i =
|
|
33130
|
+
function nn(e, t, r, n) {
|
|
33131
|
+
var i = rn(n) ? n : r(n), o = t.get(i);
|
|
33126
33132
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
33127
33133
|
}
|
|
33128
|
-
function
|
|
33134
|
+
function jt(e, t, r) {
|
|
33129
33135
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
33130
33136
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
33131
33137
|
}
|
|
33132
|
-
function
|
|
33138
|
+
function Lt(e, t, r, n, i) {
|
|
33133
33139
|
return r.bind(t, e, n, i);
|
|
33134
33140
|
}
|
|
33135
|
-
function
|
|
33136
|
-
var r = e.length === 1 ?
|
|
33137
|
-
return
|
|
33138
|
-
}
|
|
33139
|
-
function ln(e, t) {
|
|
33140
|
-
return Ke(e, this, Dt, t.cache.create(), t.serializer);
|
|
33141
|
+
function on(e, t) {
|
|
33142
|
+
var r = e.length === 1 ? nn : jt;
|
|
33143
|
+
return Lt(e, this, r, t.cache.create(), t.serializer);
|
|
33141
33144
|
}
|
|
33142
|
-
function
|
|
33143
|
-
return
|
|
33145
|
+
function an(e, t) {
|
|
33146
|
+
return Lt(e, this, jt, t.cache.create(), t.serializer);
|
|
33144
33147
|
}
|
|
33145
|
-
var
|
|
33148
|
+
var sn = function() {
|
|
33146
33149
|
return JSON.stringify(arguments);
|
|
33147
|
-
}
|
|
33148
|
-
|
|
33149
|
-
|
|
33150
|
-
|
|
33151
|
-
|
|
33152
|
-
|
|
33153
|
-
|
|
33154
|
-
|
|
33155
|
-
|
|
33156
|
-
|
|
33157
|
-
|
|
33150
|
+
}, ln = (
|
|
33151
|
+
/** @class */
|
|
33152
|
+
function() {
|
|
33153
|
+
function e() {
|
|
33154
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
33155
|
+
}
|
|
33156
|
+
return e.prototype.get = function(t) {
|
|
33157
|
+
return this.cache[t];
|
|
33158
|
+
}, e.prototype.set = function(t, r) {
|
|
33159
|
+
this.cache[t] = r;
|
|
33160
|
+
}, e;
|
|
33161
|
+
}()
|
|
33162
|
+
), cn = {
|
|
33158
33163
|
create: function() {
|
|
33159
|
-
return new
|
|
33164
|
+
return new ln();
|
|
33160
33165
|
}
|
|
33161
|
-
},
|
|
33162
|
-
variadic:
|
|
33163
|
-
monadic: cn
|
|
33166
|
+
}, Ie = {
|
|
33167
|
+
variadic: an
|
|
33164
33168
|
}, w;
|
|
33165
33169
|
(function(e) {
|
|
33166
33170
|
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";
|
|
@@ -33169,47 +33173,47 @@ var B;
|
|
|
33169
33173
|
(function(e) {
|
|
33170
33174
|
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";
|
|
33171
33175
|
})(B || (B = {}));
|
|
33172
|
-
var
|
|
33176
|
+
var ee;
|
|
33173
33177
|
(function(e) {
|
|
33174
33178
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
33175
|
-
})(
|
|
33176
|
-
function
|
|
33179
|
+
})(ee || (ee = {}));
|
|
33180
|
+
function ot(e) {
|
|
33177
33181
|
return e.type === B.literal;
|
|
33178
33182
|
}
|
|
33179
|
-
function
|
|
33183
|
+
function un(e) {
|
|
33180
33184
|
return e.type === B.argument;
|
|
33181
33185
|
}
|
|
33182
|
-
function
|
|
33186
|
+
function Rt(e) {
|
|
33183
33187
|
return e.type === B.number;
|
|
33184
33188
|
}
|
|
33185
|
-
function
|
|
33189
|
+
function Ut(e) {
|
|
33186
33190
|
return e.type === B.date;
|
|
33187
33191
|
}
|
|
33188
|
-
function
|
|
33192
|
+
function Dt(e) {
|
|
33189
33193
|
return e.type === B.time;
|
|
33190
33194
|
}
|
|
33191
|
-
function
|
|
33195
|
+
function qt(e) {
|
|
33192
33196
|
return e.type === B.select;
|
|
33193
33197
|
}
|
|
33194
|
-
function
|
|
33198
|
+
function Gt(e) {
|
|
33195
33199
|
return e.type === B.plural;
|
|
33196
33200
|
}
|
|
33197
|
-
function
|
|
33201
|
+
function hn(e) {
|
|
33198
33202
|
return e.type === B.pound;
|
|
33199
33203
|
}
|
|
33200
|
-
function
|
|
33204
|
+
function Ft(e) {
|
|
33201
33205
|
return e.type === B.tag;
|
|
33202
33206
|
}
|
|
33203
|
-
function
|
|
33204
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
33207
|
+
function Vt(e) {
|
|
33208
|
+
return !!(e && typeof e == "object" && e.type === ee.number);
|
|
33205
33209
|
}
|
|
33206
|
-
function
|
|
33207
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
33210
|
+
function De(e) {
|
|
33211
|
+
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
|
33208
33212
|
}
|
|
33209
|
-
var
|
|
33210
|
-
function
|
|
33213
|
+
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;
|
|
33214
|
+
function mn(e) {
|
|
33211
33215
|
var t = {};
|
|
33212
|
-
return e.replace(
|
|
33216
|
+
return e.replace(dn, function(r) {
|
|
33213
33217
|
var n = r.length;
|
|
33214
33218
|
switch (r[0]) {
|
|
33215
33219
|
case "G":
|
|
@@ -33298,11 +33302,11 @@ function pn(e) {
|
|
|
33298
33302
|
return "";
|
|
33299
33303
|
}), t;
|
|
33300
33304
|
}
|
|
33301
|
-
var
|
|
33302
|
-
function
|
|
33305
|
+
var gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
33306
|
+
function pn(e) {
|
|
33303
33307
|
if (e.length === 0)
|
|
33304
33308
|
throw new Error("Number skeleton cannot be empty");
|
|
33305
|
-
for (var t = e.split(
|
|
33309
|
+
for (var t = e.split(gn).filter(function(m) {
|
|
33306
33310
|
return m.length > 0;
|
|
33307
33311
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
33308
33312
|
var o = i[n], a = o.split("/");
|
|
@@ -33317,17 +33321,17 @@ function _n(e) {
|
|
|
33317
33321
|
}
|
|
33318
33322
|
return r;
|
|
33319
33323
|
}
|
|
33320
|
-
function
|
|
33324
|
+
function fn(e) {
|
|
33321
33325
|
return e.replace(/^(.*?)-/, "");
|
|
33322
33326
|
}
|
|
33323
|
-
var
|
|
33324
|
-
function
|
|
33327
|
+
var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wt = /^(@+)?(\+|#+)?[rs]?$/g, _n = /(\*)(0+)|(#+)(0+)|(0+)/g, Zt = /^(0+)$/;
|
|
33328
|
+
function st(e) {
|
|
33325
33329
|
var t = {};
|
|
33326
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
33330
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wt, function(r, n, i) {
|
|
33327
33331
|
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)), "";
|
|
33328
33332
|
}), t;
|
|
33329
33333
|
}
|
|
33330
|
-
function
|
|
33334
|
+
function Jt(e) {
|
|
33331
33335
|
switch (e) {
|
|
33332
33336
|
case "sign-auto":
|
|
33333
33337
|
return {
|
|
@@ -33367,7 +33371,7 @@ function Kt(e) {
|
|
|
33367
33371
|
};
|
|
33368
33372
|
}
|
|
33369
33373
|
}
|
|
33370
|
-
function
|
|
33374
|
+
function bn(e) {
|
|
33371
33375
|
var t;
|
|
33372
33376
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
33373
33377
|
notation: "engineering"
|
|
@@ -33375,17 +33379,17 @@ function yn(e) {
|
|
|
33375
33379
|
notation: "scientific"
|
|
33376
33380
|
}, e = e.slice(1)), t) {
|
|
33377
33381
|
var r = e.slice(0, 2);
|
|
33378
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
33382
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zt.test(e))
|
|
33379
33383
|
throw new Error("Malformed concise eng/scientific notation");
|
|
33380
33384
|
t.minimumIntegerDigits = e.length;
|
|
33381
33385
|
}
|
|
33382
33386
|
return t;
|
|
33383
33387
|
}
|
|
33384
|
-
function
|
|
33385
|
-
var t = {}, r =
|
|
33388
|
+
function lt(e) {
|
|
33389
|
+
var t = {}, r = Jt(e);
|
|
33386
33390
|
return r || t;
|
|
33387
33391
|
}
|
|
33388
|
-
function
|
|
33392
|
+
function vn(e) {
|
|
33389
33393
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
33390
33394
|
var i = n[r];
|
|
33391
33395
|
switch (i.stem) {
|
|
@@ -33409,7 +33413,7 @@ function En(e) {
|
|
|
33409
33413
|
continue;
|
|
33410
33414
|
case "measure-unit":
|
|
33411
33415
|
case "unit":
|
|
33412
|
-
t.style = "unit", t.unit =
|
|
33416
|
+
t.style = "unit", t.unit = fn(i.options[0]);
|
|
33413
33417
|
continue;
|
|
33414
33418
|
case "compact-short":
|
|
33415
33419
|
case "K":
|
|
@@ -33421,12 +33425,12 @@ function En(e) {
|
|
|
33421
33425
|
continue;
|
|
33422
33426
|
case "scientific":
|
|
33423
33427
|
t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
33424
|
-
return H(H({}, h),
|
|
33428
|
+
return H(H({}, h), lt(u));
|
|
33425
33429
|
}, {}));
|
|
33426
33430
|
continue;
|
|
33427
33431
|
case "engineering":
|
|
33428
33432
|
t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
33429
|
-
return H(H({}, h),
|
|
33433
|
+
return H(H({}, h), lt(u));
|
|
33430
33434
|
}, {}));
|
|
33431
33435
|
continue;
|
|
33432
33436
|
case "notation-simple":
|
|
@@ -33471,45 +33475,45 @@ function En(e) {
|
|
|
33471
33475
|
case "integer-width":
|
|
33472
33476
|
if (i.options.length > 1)
|
|
33473
33477
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
33474
|
-
i.options[0].replace(
|
|
33478
|
+
i.options[0].replace(_n, function(h, u, l, d, m, v) {
|
|
33475
33479
|
if (u)
|
|
33476
33480
|
t.minimumIntegerDigits = l.length;
|
|
33477
33481
|
else {
|
|
33478
33482
|
if (d && m)
|
|
33479
33483
|
throw new Error("We currently do not support maximum integer digits");
|
|
33480
|
-
if (
|
|
33484
|
+
if (v)
|
|
33481
33485
|
throw new Error("We currently do not support exact integer digits");
|
|
33482
33486
|
}
|
|
33483
33487
|
return "";
|
|
33484
33488
|
});
|
|
33485
33489
|
continue;
|
|
33486
33490
|
}
|
|
33487
|
-
if (
|
|
33491
|
+
if (Zt.test(i.stem)) {
|
|
33488
33492
|
t.minimumIntegerDigits = i.stem.length;
|
|
33489
33493
|
continue;
|
|
33490
33494
|
}
|
|
33491
|
-
if (
|
|
33495
|
+
if (at.test(i.stem)) {
|
|
33492
33496
|
if (i.options.length > 1)
|
|
33493
33497
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
33494
|
-
i.stem.replace(
|
|
33495
|
-
return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m &&
|
|
33498
|
+
i.stem.replace(at, function(h, u, l, d, m, v) {
|
|
33499
|
+
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), "";
|
|
33496
33500
|
});
|
|
33497
33501
|
var o = i.options[0];
|
|
33498
|
-
o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t),
|
|
33502
|
+
o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), st(o)));
|
|
33499
33503
|
continue;
|
|
33500
33504
|
}
|
|
33501
|
-
if (
|
|
33502
|
-
t = H(H({}, t),
|
|
33505
|
+
if (Wt.test(i.stem)) {
|
|
33506
|
+
t = H(H({}, t), st(i.stem));
|
|
33503
33507
|
continue;
|
|
33504
33508
|
}
|
|
33505
|
-
var a =
|
|
33509
|
+
var a = Jt(i.stem);
|
|
33506
33510
|
a && (t = H(H({}, t), a));
|
|
33507
|
-
var s =
|
|
33511
|
+
var s = bn(i.stem);
|
|
33508
33512
|
s && (t = H(H({}, t), s));
|
|
33509
33513
|
}
|
|
33510
33514
|
return t;
|
|
33511
33515
|
}
|
|
33512
|
-
var
|
|
33516
|
+
var Ce = {
|
|
33513
33517
|
"001": [
|
|
33514
33518
|
"H",
|
|
33515
33519
|
"h"
|
|
@@ -34924,13 +34928,13 @@ var Se = {
|
|
|
34924
34928
|
"h"
|
|
34925
34929
|
]
|
|
34926
34930
|
};
|
|
34927
|
-
function
|
|
34931
|
+
function yn(e, t) {
|
|
34928
34932
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
34929
34933
|
var i = e.charAt(n);
|
|
34930
34934
|
if (i === "j") {
|
|
34931
34935
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
34932
34936
|
o++, n++;
|
|
34933
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
34937
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = En(t);
|
|
34934
34938
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
34935
34939
|
r += h;
|
|
34936
34940
|
for (; a-- > 0; )
|
|
@@ -34940,7 +34944,7 @@ function kn(e, t) {
|
|
|
34940
34944
|
}
|
|
34941
34945
|
return r;
|
|
34942
34946
|
}
|
|
34943
|
-
function
|
|
34947
|
+
function En(e) {
|
|
34944
34948
|
var t = e.hourCycle;
|
|
34945
34949
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
34946
34950
|
e.hourCycles && // @ts-ignore
|
|
@@ -34959,23 +34963,23 @@ function Cn(e) {
|
|
|
34959
34963
|
}
|
|
34960
34964
|
var r = e.language, n;
|
|
34961
34965
|
r !== "root" && (n = e.maximize().region);
|
|
34962
|
-
var i =
|
|
34966
|
+
var i = Ce[n || ""] || Ce[r || ""] || Ce["".concat(r, "-001")] || Ce["001"];
|
|
34963
34967
|
return i[0];
|
|
34964
34968
|
}
|
|
34965
|
-
var
|
|
34969
|
+
var je, kn = new RegExp("^".concat(Xt.source, "*")), Cn = new RegExp("".concat(Xt.source, "*$"));
|
|
34966
34970
|
function N(e, t) {
|
|
34967
34971
|
return { start: e, end: t };
|
|
34968
34972
|
}
|
|
34969
|
-
var
|
|
34973
|
+
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) {
|
|
34970
34974
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
34971
|
-
},
|
|
34975
|
+
}, qe = !0;
|
|
34972
34976
|
try {
|
|
34973
|
-
var
|
|
34974
|
-
|
|
34977
|
+
var Pn = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
34978
|
+
qe = ((je = Pn.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
|
|
34975
34979
|
} catch {
|
|
34976
|
-
|
|
34980
|
+
qe = !1;
|
|
34977
34981
|
}
|
|
34978
|
-
var
|
|
34982
|
+
var ct = Sn ? (
|
|
34979
34983
|
// Native
|
|
34980
34984
|
function(t, r, n) {
|
|
34981
34985
|
return t.startsWith(r, n);
|
|
@@ -34985,7 +34989,7 @@ var dt = Mn ? (
|
|
|
34985
34989
|
function(t, r, n) {
|
|
34986
34990
|
return t.slice(n, n + r.length) === r;
|
|
34987
34991
|
}
|
|
34988
|
-
),
|
|
34992
|
+
), Ge = xn ? String.fromCodePoint : (
|
|
34989
34993
|
// IE11
|
|
34990
34994
|
function() {
|
|
34991
34995
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -34997,9 +35001,9 @@ var dt = Mn ? (
|
|
|
34997
35001
|
}
|
|
34998
35002
|
return n;
|
|
34999
35003
|
}
|
|
35000
|
-
),
|
|
35004
|
+
), ut = (
|
|
35001
35005
|
// native
|
|
35002
|
-
|
|
35006
|
+
Tn ? Object.fromEntries : (
|
|
35003
35007
|
// Ponyfill
|
|
35004
35008
|
function(t) {
|
|
35005
35009
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -35009,7 +35013,7 @@ var dt = Mn ? (
|
|
|
35009
35013
|
return r;
|
|
35010
35014
|
}
|
|
35011
35015
|
)
|
|
35012
|
-
),
|
|
35016
|
+
), Qt = Mn ? (
|
|
35013
35017
|
// Native
|
|
35014
35018
|
function(t, r) {
|
|
35015
35019
|
return t.codePointAt(r);
|
|
@@ -35023,7 +35027,7 @@ var dt = Mn ? (
|
|
|
35023
35027
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
35024
35028
|
}
|
|
35025
35029
|
}
|
|
35026
|
-
),
|
|
35030
|
+
), Bn = wn ? (
|
|
35027
35031
|
// Native
|
|
35028
35032
|
function(t) {
|
|
35029
35033
|
return t.trimStart();
|
|
@@ -35031,9 +35035,9 @@ var dt = Mn ? (
|
|
|
35031
35035
|
) : (
|
|
35032
35036
|
// Ponyfill
|
|
35033
35037
|
function(t) {
|
|
35034
|
-
return t.replace(
|
|
35038
|
+
return t.replace(kn, "");
|
|
35035
35039
|
}
|
|
35036
|
-
),
|
|
35040
|
+
), zn = Nn ? (
|
|
35037
35041
|
// Native
|
|
35038
35042
|
function(t) {
|
|
35039
35043
|
return t.trimEnd();
|
|
@@ -35041,32 +35045,32 @@ var dt = Mn ? (
|
|
|
35041
35045
|
) : (
|
|
35042
35046
|
// Ponyfill
|
|
35043
35047
|
function(t) {
|
|
35044
|
-
return t.replace(
|
|
35048
|
+
return t.replace(Cn, "");
|
|
35045
35049
|
}
|
|
35046
35050
|
);
|
|
35047
|
-
function
|
|
35051
|
+
function Yt(e, t) {
|
|
35048
35052
|
return new RegExp(e, t);
|
|
35049
35053
|
}
|
|
35050
|
-
var
|
|
35051
|
-
if (
|
|
35052
|
-
var
|
|
35053
|
-
|
|
35054
|
+
var Fe;
|
|
35055
|
+
if (qe) {
|
|
35056
|
+
var ht = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
35057
|
+
Fe = function(t, r) {
|
|
35054
35058
|
var n;
|
|
35055
|
-
|
|
35056
|
-
var i =
|
|
35059
|
+
ht.lastIndex = r;
|
|
35060
|
+
var i = ht.exec(t);
|
|
35057
35061
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
35058
35062
|
};
|
|
35059
35063
|
} else
|
|
35060
|
-
|
|
35064
|
+
Fe = function(t, r) {
|
|
35061
35065
|
for (var n = []; ; ) {
|
|
35062
|
-
var i =
|
|
35063
|
-
if (i === void 0 ||
|
|
35066
|
+
var i = Qt(t, r);
|
|
35067
|
+
if (i === void 0 || Kt(i) || Ln(i))
|
|
35064
35068
|
break;
|
|
35065
35069
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
35066
35070
|
}
|
|
35067
|
-
return
|
|
35071
|
+
return Ge.apply(void 0, n);
|
|
35068
35072
|
};
|
|
35069
|
-
var
|
|
35073
|
+
var On = (
|
|
35070
35074
|
/** @class */
|
|
35071
35075
|
function() {
|
|
35072
35076
|
function e(t, r) {
|
|
@@ -35097,7 +35101,7 @@ var jn = (
|
|
|
35097
35101
|
if (n)
|
|
35098
35102
|
break;
|
|
35099
35103
|
return this.error(w.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
|
|
35100
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
35104
|
+
} else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
|
|
35101
35105
|
var a = this.parseTag(t, r);
|
|
35102
35106
|
if (a.err)
|
|
35103
35107
|
return a;
|
|
@@ -35130,7 +35134,7 @@ var jn = (
|
|
|
35130
35134
|
return o;
|
|
35131
35135
|
var a = o.val, s = this.clonePosition();
|
|
35132
35136
|
if (this.bumpIf("</")) {
|
|
35133
|
-
if (this.isEOF() || !
|
|
35137
|
+
if (this.isEOF() || !Ve(this.char()))
|
|
35134
35138
|
return this.error(w.INVALID_TAG, N(s, this.clonePosition()));
|
|
35135
35139
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
35136
35140
|
return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, N(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -35148,7 +35152,7 @@ var jn = (
|
|
|
35148
35152
|
return this.error(w.INVALID_TAG, N(n, this.clonePosition()));
|
|
35149
35153
|
}, e.prototype.parseTagName = function() {
|
|
35150
35154
|
var t = this.offset();
|
|
35151
|
-
for (this.bump(); !this.isEOF() &&
|
|
35155
|
+
for (this.bump(); !this.isEOF() && jn(this.char()); )
|
|
35152
35156
|
this.bump();
|
|
35153
35157
|
return this.message.slice(t, this.offset());
|
|
35154
35158
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -35177,7 +35181,7 @@ var jn = (
|
|
|
35177
35181
|
};
|
|
35178
35182
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
35179
35183
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
35180
|
-
!
|
|
35184
|
+
!In(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
35181
35185
|
}, e.prototype.tryParseQuote = function(t) {
|
|
35182
35186
|
if (this.isEOF() || this.char() !== 39)
|
|
35183
35187
|
return null;
|
|
@@ -35211,12 +35215,12 @@ var jn = (
|
|
|
35211
35215
|
r.push(n);
|
|
35212
35216
|
this.bump();
|
|
35213
35217
|
}
|
|
35214
|
-
return
|
|
35218
|
+
return Ge.apply(void 0, r);
|
|
35215
35219
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
35216
35220
|
if (this.isEOF())
|
|
35217
35221
|
return null;
|
|
35218
35222
|
var n = this.char();
|
|
35219
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
35223
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
|
|
35220
35224
|
}, e.prototype.parseArgument = function(t, r) {
|
|
35221
35225
|
var n = this.clonePosition();
|
|
35222
35226
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -35245,7 +35249,7 @@ var jn = (
|
|
|
35245
35249
|
return this.error(w.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
|
|
35246
35250
|
}
|
|
35247
35251
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
35248
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
35252
|
+
var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
|
|
35249
35253
|
this.bumpTo(i);
|
|
35250
35254
|
var o = this.clonePosition(), a = N(t, o);
|
|
35251
35255
|
return { value: n, location: a };
|
|
@@ -35264,37 +35268,37 @@ var jn = (
|
|
|
35264
35268
|
var l = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
35265
35269
|
if (d.err)
|
|
35266
35270
|
return d;
|
|
35267
|
-
var m =
|
|
35271
|
+
var m = zn(d.val);
|
|
35268
35272
|
if (m.length === 0)
|
|
35269
35273
|
return this.error(w.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
|
|
35270
|
-
var
|
|
35271
|
-
u = { style: m, styleLocation:
|
|
35274
|
+
var v = N(l, this.clonePosition());
|
|
35275
|
+
u = { style: m, styleLocation: v };
|
|
35272
35276
|
}
|
|
35273
35277
|
var f = this.tryParseArgumentClose(i);
|
|
35274
35278
|
if (f.err)
|
|
35275
35279
|
return f;
|
|
35276
35280
|
var g = N(i, this.clonePosition());
|
|
35277
|
-
if (u &&
|
|
35278
|
-
var
|
|
35281
|
+
if (u && ct(u?.style, "::", 0)) {
|
|
35282
|
+
var C = Bn(u.style.slice(2));
|
|
35279
35283
|
if (s === "number") {
|
|
35280
|
-
var d = this.parseNumberSkeletonFromString(
|
|
35284
|
+
var d = this.parseNumberSkeletonFromString(C, u.styleLocation);
|
|
35281
35285
|
return d.err ? d : {
|
|
35282
35286
|
val: { type: B.number, value: n, location: g, style: d.val },
|
|
35283
35287
|
err: null
|
|
35284
35288
|
};
|
|
35285
35289
|
} else {
|
|
35286
|
-
if (
|
|
35290
|
+
if (C.length === 0)
|
|
35287
35291
|
return this.error(w.EXPECT_DATE_TIME_SKELETON, g);
|
|
35288
|
-
var _ =
|
|
35289
|
-
this.locale && (_ =
|
|
35292
|
+
var _ = C;
|
|
35293
|
+
this.locale && (_ = yn(C, this.locale));
|
|
35290
35294
|
var m = {
|
|
35291
|
-
type:
|
|
35295
|
+
type: ee.dateTime,
|
|
35292
35296
|
pattern: _,
|
|
35293
35297
|
location: u.styleLocation,
|
|
35294
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
35295
|
-
},
|
|
35298
|
+
parsedOptions: this.shouldParseSkeletons ? mn(_) : {}
|
|
35299
|
+
}, b = s === "date" ? B.date : B.time;
|
|
35296
35300
|
return {
|
|
35297
|
-
val: { type:
|
|
35301
|
+
val: { type: b, value: n, location: g, style: m },
|
|
35298
35302
|
err: null
|
|
35299
35303
|
};
|
|
35300
35304
|
}
|
|
@@ -35312,11 +35316,11 @@ var jn = (
|
|
|
35312
35316
|
case "plural":
|
|
35313
35317
|
case "selectordinal":
|
|
35314
35318
|
case "select": {
|
|
35315
|
-
var
|
|
35319
|
+
var x = this.clonePosition();
|
|
35316
35320
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
35317
|
-
return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(
|
|
35321
|
+
return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(x, H({}, x)));
|
|
35318
35322
|
this.bumpSpace();
|
|
35319
|
-
var P = this.parseIdentifierIfPossible(),
|
|
35323
|
+
var P = this.parseIdentifierIfPossible(), E = 0;
|
|
35320
35324
|
if (s !== "select" && P.value === "offset") {
|
|
35321
35325
|
if (!this.bumpIf(":"))
|
|
35322
35326
|
return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
|
|
@@ -35324,7 +35328,7 @@ var jn = (
|
|
|
35324
35328
|
var d = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
35325
35329
|
if (d.err)
|
|
35326
35330
|
return d;
|
|
35327
|
-
this.bumpSpace(), P = this.parseIdentifierIfPossible(),
|
|
35331
|
+
this.bumpSpace(), P = this.parseIdentifierIfPossible(), E = d.val;
|
|
35328
35332
|
}
|
|
35329
35333
|
var z = this.tryParsePluralOrSelectOptions(t, s, r, P);
|
|
35330
35334
|
if (z.err)
|
|
@@ -35332,23 +35336,23 @@ var jn = (
|
|
|
35332
35336
|
var f = this.tryParseArgumentClose(i);
|
|
35333
35337
|
if (f.err)
|
|
35334
35338
|
return f;
|
|
35335
|
-
var
|
|
35339
|
+
var O = N(i, this.clonePosition());
|
|
35336
35340
|
return s === "select" ? {
|
|
35337
35341
|
val: {
|
|
35338
35342
|
type: B.select,
|
|
35339
35343
|
value: n,
|
|
35340
|
-
options:
|
|
35341
|
-
location:
|
|
35344
|
+
options: ut(z.val),
|
|
35345
|
+
location: O
|
|
35342
35346
|
},
|
|
35343
35347
|
err: null
|
|
35344
35348
|
} : {
|
|
35345
35349
|
val: {
|
|
35346
35350
|
type: B.plural,
|
|
35347
35351
|
value: n,
|
|
35348
|
-
options:
|
|
35349
|
-
offset:
|
|
35352
|
+
options: ut(z.val),
|
|
35353
|
+
offset: E,
|
|
35350
35354
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
35351
|
-
location:
|
|
35355
|
+
location: O
|
|
35352
35356
|
},
|
|
35353
35357
|
err: null
|
|
35354
35358
|
};
|
|
@@ -35396,16 +35400,16 @@ var jn = (
|
|
|
35396
35400
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
35397
35401
|
var n = [];
|
|
35398
35402
|
try {
|
|
35399
|
-
n =
|
|
35403
|
+
n = pn(t);
|
|
35400
35404
|
} catch {
|
|
35401
35405
|
return this.error(w.INVALID_NUMBER_SKELETON, r);
|
|
35402
35406
|
}
|
|
35403
35407
|
return {
|
|
35404
35408
|
val: {
|
|
35405
|
-
type:
|
|
35409
|
+
type: ee.number,
|
|
35406
35410
|
tokens: n,
|
|
35407
35411
|
location: r,
|
|
35408
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
35412
|
+
parsedOptions: this.shouldParseSkeletons ? vn(n) : {}
|
|
35409
35413
|
},
|
|
35410
35414
|
err: null
|
|
35411
35415
|
};
|
|
@@ -35424,20 +35428,20 @@ var jn = (
|
|
|
35424
35428
|
if (h.has(u))
|
|
35425
35429
|
return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
35426
35430
|
u === "other" && (a = !0), this.bumpSpace();
|
|
35427
|
-
var
|
|
35431
|
+
var v = this.clonePosition();
|
|
35428
35432
|
if (!this.bumpIf("{"))
|
|
35429
35433
|
return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
|
|
35430
35434
|
var f = this.parseMessage(t + 1, r, n);
|
|
35431
35435
|
if (f.err)
|
|
35432
35436
|
return f;
|
|
35433
|
-
var g = this.tryParseArgumentClose(
|
|
35437
|
+
var g = this.tryParseArgumentClose(v);
|
|
35434
35438
|
if (g.err)
|
|
35435
35439
|
return g;
|
|
35436
35440
|
s.push([
|
|
35437
35441
|
u,
|
|
35438
35442
|
{
|
|
35439
35443
|
value: f.val,
|
|
35440
|
-
location: N(
|
|
35444
|
+
location: N(v, this.clonePosition())
|
|
35441
35445
|
}
|
|
35442
35446
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
35443
35447
|
}
|
|
@@ -35453,7 +35457,7 @@ var jn = (
|
|
|
35453
35457
|
break;
|
|
35454
35458
|
}
|
|
35455
35459
|
var h = N(i, this.clonePosition());
|
|
35456
|
-
return o ? (a *= n,
|
|
35460
|
+
return o ? (a *= n, Hn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
35457
35461
|
}, e.prototype.offset = function() {
|
|
35458
35462
|
return this.position.offset;
|
|
35459
35463
|
}, e.prototype.isEOF = function() {
|
|
@@ -35468,7 +35472,7 @@ var jn = (
|
|
|
35468
35472
|
var t = this.position.offset;
|
|
35469
35473
|
if (t >= this.message.length)
|
|
35470
35474
|
throw Error("out of bound");
|
|
35471
|
-
var r =
|
|
35475
|
+
var r = Qt(this.message, t);
|
|
35472
35476
|
if (r === void 0)
|
|
35473
35477
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
35474
35478
|
return r;
|
|
@@ -35487,7 +35491,7 @@ var jn = (
|
|
|
35487
35491
|
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);
|
|
35488
35492
|
}
|
|
35489
35493
|
}, e.prototype.bumpIf = function(t) {
|
|
35490
|
-
if (
|
|
35494
|
+
if (ct(this.message, t, this.offset())) {
|
|
35491
35495
|
for (var r = 0; r < t.length; r++)
|
|
35492
35496
|
this.bump();
|
|
35493
35497
|
return !0;
|
|
@@ -35509,7 +35513,7 @@ var jn = (
|
|
|
35509
35513
|
break;
|
|
35510
35514
|
}
|
|
35511
35515
|
}, e.prototype.bumpSpace = function() {
|
|
35512
|
-
for (; !this.isEOF() &&
|
|
35516
|
+
for (; !this.isEOF() && Kt(this.char()); )
|
|
35513
35517
|
this.bump();
|
|
35514
35518
|
}, e.prototype.peek = function() {
|
|
35515
35519
|
if (this.isEOF())
|
|
@@ -35519,47 +35523,47 @@ var jn = (
|
|
|
35519
35523
|
}, e;
|
|
35520
35524
|
}()
|
|
35521
35525
|
);
|
|
35522
|
-
function
|
|
35526
|
+
function Ve(e) {
|
|
35523
35527
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
35524
35528
|
}
|
|
35525
|
-
function
|
|
35526
|
-
return
|
|
35529
|
+
function In(e) {
|
|
35530
|
+
return Ve(e) || e === 47;
|
|
35527
35531
|
}
|
|
35528
|
-
function
|
|
35532
|
+
function jn(e) {
|
|
35529
35533
|
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;
|
|
35530
35534
|
}
|
|
35531
|
-
function
|
|
35535
|
+
function Kt(e) {
|
|
35532
35536
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
35533
35537
|
}
|
|
35534
|
-
function
|
|
35538
|
+
function Ln(e) {
|
|
35535
35539
|
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;
|
|
35536
35540
|
}
|
|
35537
|
-
function
|
|
35541
|
+
function Xe(e) {
|
|
35538
35542
|
e.forEach(function(t) {
|
|
35539
|
-
if (delete t.location,
|
|
35543
|
+
if (delete t.location, qt(t) || Gt(t))
|
|
35540
35544
|
for (var r in t.options)
|
|
35541
|
-
delete t.options[r].location,
|
|
35545
|
+
delete t.options[r].location, Xe(t.options[r].value);
|
|
35542
35546
|
else
|
|
35543
|
-
|
|
35547
|
+
Rt(t) && Vt(t.style) || (Ut(t) || Dt(t)) && De(t.style) ? delete t.style.location : Ft(t) && Xe(t.children);
|
|
35544
35548
|
});
|
|
35545
35549
|
}
|
|
35546
|
-
function
|
|
35550
|
+
function Rn(e, t) {
|
|
35547
35551
|
t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
35548
|
-
var r = new
|
|
35552
|
+
var r = new On(e, t).parse();
|
|
35549
35553
|
if (r.err) {
|
|
35550
35554
|
var n = SyntaxError(w[r.err.kind]);
|
|
35551
35555
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
35552
35556
|
}
|
|
35553
|
-
return t?.captureLocation ||
|
|
35557
|
+
return t?.captureLocation || Xe(r.val), r.val;
|
|
35554
35558
|
}
|
|
35555
|
-
var
|
|
35559
|
+
var te;
|
|
35556
35560
|
(function(e) {
|
|
35557
35561
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
35558
|
-
})(
|
|
35559
|
-
var
|
|
35562
|
+
})(te || (te = {}));
|
|
35563
|
+
var Ae = (
|
|
35560
35564
|
/** @class */
|
|
35561
35565
|
function(e) {
|
|
35562
|
-
|
|
35566
|
+
Ne(t, e);
|
|
35563
35567
|
function t(r, n, i) {
|
|
35564
35568
|
var o = e.call(this, r) || this;
|
|
35565
35569
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -35568,48 +35572,48 @@ var He = (
|
|
|
35568
35572
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
35569
35573
|
}, t;
|
|
35570
35574
|
}(Error)
|
|
35571
|
-
),
|
|
35575
|
+
), dt = (
|
|
35572
35576
|
/** @class */
|
|
35573
35577
|
function(e) {
|
|
35574
|
-
|
|
35578
|
+
Ne(t, e);
|
|
35575
35579
|
function t(r, n, i, o) {
|
|
35576
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
35580
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
|
|
35577
35581
|
}
|
|
35578
35582
|
return t;
|
|
35579
|
-
}(
|
|
35580
|
-
),
|
|
35583
|
+
}(Ae)
|
|
35584
|
+
), Un = (
|
|
35581
35585
|
/** @class */
|
|
35582
35586
|
function(e) {
|
|
35583
|
-
|
|
35587
|
+
Ne(t, e);
|
|
35584
35588
|
function t(r, n, i) {
|
|
35585
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
35589
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
|
|
35586
35590
|
}
|
|
35587
35591
|
return t;
|
|
35588
|
-
}(
|
|
35589
|
-
),
|
|
35592
|
+
}(Ae)
|
|
35593
|
+
), Dn = (
|
|
35590
35594
|
/** @class */
|
|
35591
35595
|
function(e) {
|
|
35592
|
-
|
|
35596
|
+
Ne(t, e);
|
|
35593
35597
|
function t(r, n) {
|
|
35594
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
35598
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
|
|
35595
35599
|
}
|
|
35596
35600
|
return t;
|
|
35597
|
-
}(
|
|
35601
|
+
}(Ae)
|
|
35598
35602
|
), D;
|
|
35599
35603
|
(function(e) {
|
|
35600
35604
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
35601
35605
|
})(D || (D = {}));
|
|
35602
|
-
function
|
|
35606
|
+
function qn(e) {
|
|
35603
35607
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
35604
35608
|
var n = t[t.length - 1];
|
|
35605
35609
|
return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
|
|
35606
35610
|
}, []);
|
|
35607
35611
|
}
|
|
35608
|
-
function
|
|
35612
|
+
function Gn(e) {
|
|
35609
35613
|
return typeof e == "function";
|
|
35610
35614
|
}
|
|
35611
|
-
function
|
|
35612
|
-
if (e.length === 1 &&
|
|
35615
|
+
function Se(e, t, r, n, i, o, a) {
|
|
35616
|
+
if (e.length === 1 && ot(e[0]))
|
|
35613
35617
|
return [
|
|
35614
35618
|
{
|
|
35615
35619
|
type: D.literal,
|
|
@@ -35618,14 +35622,14 @@ function xe(e, t, r, n, i, o, a) {
|
|
|
35618
35622
|
];
|
|
35619
35623
|
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
35620
35624
|
var l = u[h];
|
|
35621
|
-
if (
|
|
35625
|
+
if (ot(l)) {
|
|
35622
35626
|
s.push({
|
|
35623
35627
|
type: D.literal,
|
|
35624
35628
|
value: l.value
|
|
35625
35629
|
});
|
|
35626
35630
|
continue;
|
|
35627
35631
|
}
|
|
35628
|
-
if (
|
|
35632
|
+
if (hn(l)) {
|
|
35629
35633
|
typeof o == "number" && s.push({
|
|
35630
35634
|
type: D.literal,
|
|
35631
35635
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -35634,89 +35638,89 @@ function xe(e, t, r, n, i, o, a) {
|
|
|
35634
35638
|
}
|
|
35635
35639
|
var d = l.value;
|
|
35636
35640
|
if (!(i && d in i))
|
|
35637
|
-
throw new
|
|
35641
|
+
throw new Dn(d, a);
|
|
35638
35642
|
var m = i[d];
|
|
35639
|
-
if (
|
|
35643
|
+
if (un(l)) {
|
|
35640
35644
|
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
|
|
35641
35645
|
type: typeof m == "string" ? D.literal : D.object,
|
|
35642
35646
|
value: m
|
|
35643
35647
|
});
|
|
35644
35648
|
continue;
|
|
35645
35649
|
}
|
|
35646
|
-
if (
|
|
35647
|
-
var
|
|
35650
|
+
if (Ut(l)) {
|
|
35651
|
+
var v = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
|
|
35648
35652
|
s.push({
|
|
35649
35653
|
type: D.literal,
|
|
35650
|
-
value: r.getDateTimeFormat(t,
|
|
35654
|
+
value: r.getDateTimeFormat(t, v).format(m)
|
|
35651
35655
|
});
|
|
35652
35656
|
continue;
|
|
35653
35657
|
}
|
|
35654
|
-
if (
|
|
35655
|
-
var
|
|
35658
|
+
if (Dt(l)) {
|
|
35659
|
+
var v = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
35656
35660
|
s.push({
|
|
35657
35661
|
type: D.literal,
|
|
35658
|
-
value: r.getDateTimeFormat(t,
|
|
35662
|
+
value: r.getDateTimeFormat(t, v).format(m)
|
|
35659
35663
|
});
|
|
35660
35664
|
continue;
|
|
35661
35665
|
}
|
|
35662
|
-
if (
|
|
35663
|
-
var
|
|
35664
|
-
|
|
35666
|
+
if (Rt(l)) {
|
|
35667
|
+
var v = typeof l.style == "string" ? n.number[l.style] : Vt(l.style) ? l.style.parsedOptions : void 0;
|
|
35668
|
+
v && v.scale && (m = m * (v.scale || 1)), s.push({
|
|
35665
35669
|
type: D.literal,
|
|
35666
|
-
value: r.getNumberFormat(t,
|
|
35670
|
+
value: r.getNumberFormat(t, v).format(m)
|
|
35667
35671
|
});
|
|
35668
35672
|
continue;
|
|
35669
35673
|
}
|
|
35670
|
-
if (
|
|
35671
|
-
var f = l.children, g = l.value,
|
|
35672
|
-
if (!
|
|
35673
|
-
throw new
|
|
35674
|
-
var _ =
|
|
35675
|
-
return
|
|
35674
|
+
if (Ft(l)) {
|
|
35675
|
+
var f = l.children, g = l.value, C = i[g];
|
|
35676
|
+
if (!Gn(C))
|
|
35677
|
+
throw new Un(g, "function", a);
|
|
35678
|
+
var _ = Se(f, t, r, n, i, o), b = C(_.map(function(E) {
|
|
35679
|
+
return E.value;
|
|
35676
35680
|
}));
|
|
35677
|
-
Array.isArray(
|
|
35681
|
+
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(E) {
|
|
35678
35682
|
return {
|
|
35679
|
-
type: typeof
|
|
35680
|
-
value:
|
|
35683
|
+
type: typeof E == "string" ? D.literal : D.object,
|
|
35684
|
+
value: E
|
|
35681
35685
|
};
|
|
35682
35686
|
}));
|
|
35683
35687
|
}
|
|
35684
|
-
if (
|
|
35685
|
-
var
|
|
35686
|
-
if (!
|
|
35687
|
-
throw new
|
|
35688
|
-
s.push.apply(s,
|
|
35688
|
+
if (qt(l)) {
|
|
35689
|
+
var x = l.options[m] || l.options.other;
|
|
35690
|
+
if (!x)
|
|
35691
|
+
throw new dt(l.value, m, Object.keys(l.options), a);
|
|
35692
|
+
s.push.apply(s, Se(x.value, t, r, n, i));
|
|
35689
35693
|
continue;
|
|
35690
35694
|
}
|
|
35691
|
-
if (
|
|
35692
|
-
var
|
|
35693
|
-
if (!
|
|
35695
|
+
if (Gt(l)) {
|
|
35696
|
+
var x = l.options["=".concat(m)];
|
|
35697
|
+
if (!x) {
|
|
35694
35698
|
if (!Intl.PluralRules)
|
|
35695
|
-
throw new
|
|
35699
|
+
throw new Ae(`Intl.PluralRules is not available in this environment.
|
|
35696
35700
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
35697
|
-
`,
|
|
35701
|
+
`, te.MISSING_INTL_API, a);
|
|
35698
35702
|
var P = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
|
|
35699
|
-
|
|
35703
|
+
x = l.options[P] || l.options.other;
|
|
35700
35704
|
}
|
|
35701
|
-
if (!
|
|
35702
|
-
throw new
|
|
35703
|
-
s.push.apply(s,
|
|
35705
|
+
if (!x)
|
|
35706
|
+
throw new dt(l.value, m, Object.keys(l.options), a);
|
|
35707
|
+
s.push.apply(s, Se(x.value, t, r, n, i, m - (l.offset || 0)));
|
|
35704
35708
|
continue;
|
|
35705
35709
|
}
|
|
35706
35710
|
}
|
|
35707
|
-
return
|
|
35711
|
+
return qn(s);
|
|
35708
35712
|
}
|
|
35709
|
-
function
|
|
35713
|
+
function Fn(e, t) {
|
|
35710
35714
|
return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
35711
35715
|
return r[n] = H(H({}, e[n]), t[n] || {}), r;
|
|
35712
35716
|
}, {})) : e;
|
|
35713
35717
|
}
|
|
35714
|
-
function
|
|
35718
|
+
function Vn(e, t) {
|
|
35715
35719
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
35716
|
-
return r[n] =
|
|
35720
|
+
return r[n] = Fn(e[n], t[n]), r;
|
|
35717
35721
|
}, H({}, e)) : e;
|
|
35718
35722
|
}
|
|
35719
|
-
function
|
|
35723
|
+
function Le(e) {
|
|
35720
35724
|
return {
|
|
35721
35725
|
create: function() {
|
|
35722
35726
|
return {
|
|
@@ -35730,39 +35734,39 @@ function Re(e) {
|
|
|
35730
35734
|
}
|
|
35731
35735
|
};
|
|
35732
35736
|
}
|
|
35733
|
-
function
|
|
35737
|
+
function Xn(e) {
|
|
35734
35738
|
return e === void 0 && (e = {
|
|
35735
35739
|
number: {},
|
|
35736
35740
|
dateTime: {},
|
|
35737
35741
|
pluralRules: {}
|
|
35738
35742
|
}), {
|
|
35739
|
-
getNumberFormat:
|
|
35743
|
+
getNumberFormat: Oe(function() {
|
|
35740
35744
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
35741
35745
|
r[n] = arguments[n];
|
|
35742
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
35746
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ze([void 0], r, !1)))();
|
|
35743
35747
|
}, {
|
|
35744
|
-
cache:
|
|
35745
|
-
strategy:
|
|
35748
|
+
cache: Le(e.number),
|
|
35749
|
+
strategy: Ie.variadic
|
|
35746
35750
|
}),
|
|
35747
|
-
getDateTimeFormat:
|
|
35751
|
+
getDateTimeFormat: Oe(function() {
|
|
35748
35752
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
35749
35753
|
r[n] = arguments[n];
|
|
35750
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
35754
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ze([void 0], r, !1)))();
|
|
35751
35755
|
}, {
|
|
35752
|
-
cache:
|
|
35753
|
-
strategy:
|
|
35756
|
+
cache: Le(e.dateTime),
|
|
35757
|
+
strategy: Ie.variadic
|
|
35754
35758
|
}),
|
|
35755
|
-
getPluralRules:
|
|
35759
|
+
getPluralRules: Oe(function() {
|
|
35756
35760
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
35757
35761
|
r[n] = arguments[n];
|
|
35758
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
35762
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ze([void 0], r, !1)))();
|
|
35759
35763
|
}, {
|
|
35760
|
-
cache:
|
|
35761
|
-
strategy:
|
|
35764
|
+
cache: Le(e.pluralRules),
|
|
35765
|
+
strategy: Ie.variadic
|
|
35762
35766
|
})
|
|
35763
35767
|
};
|
|
35764
35768
|
}
|
|
35765
|
-
var
|
|
35769
|
+
var Wn = (
|
|
35766
35770
|
/** @class */
|
|
35767
35771
|
function() {
|
|
35768
35772
|
function e(t, r, n, i) {
|
|
@@ -35781,7 +35785,7 @@ var Jn = (
|
|
|
35781
35785
|
}, []);
|
|
35782
35786
|
return l.length <= 1 ? l[0] || "" : l;
|
|
35783
35787
|
}, this.formatToParts = function(h) {
|
|
35784
|
-
return
|
|
35788
|
+
return Se(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
35785
35789
|
}, this.resolvedOptions = function() {
|
|
35786
35790
|
var h;
|
|
35787
35791
|
return {
|
|
@@ -35793,13 +35797,13 @@ var Jn = (
|
|
|
35793
35797
|
if (this.message = t, !e.__parse)
|
|
35794
35798
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
35795
35799
|
var a = i || {};
|
|
35796
|
-
var s =
|
|
35800
|
+
var s = tn(a, ["formatters"]);
|
|
35797
35801
|
this.ast = e.__parse(t, H(H({}, s), { locale: this.resolvedLocale }));
|
|
35798
35802
|
} else
|
|
35799
35803
|
this.ast = t;
|
|
35800
35804
|
if (!Array.isArray(this.ast))
|
|
35801
35805
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
35802
|
-
this.formats =
|
|
35806
|
+
this.formats = Vn(e.formats, n), this.formatters = i && i.formatters || Xn(this.formatterCache);
|
|
35803
35807
|
}
|
|
35804
35808
|
return Object.defineProperty(e, "defaultLocale", {
|
|
35805
35809
|
get: function() {
|
|
@@ -35812,7 +35816,7 @@ var Jn = (
|
|
|
35812
35816
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
35813
35817
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
35814
35818
|
}
|
|
35815
|
-
}, e.__parse =
|
|
35819
|
+
}, e.__parse = Rn, e.formats = {
|
|
35816
35820
|
number: {
|
|
35817
35821
|
integer: {
|
|
35818
35822
|
maximumFractionDigits: 0
|
|
@@ -35873,7 +35877,7 @@ var Jn = (
|
|
|
35873
35877
|
}, e;
|
|
35874
35878
|
}()
|
|
35875
35879
|
);
|
|
35876
|
-
function
|
|
35880
|
+
function Zn(e, t) {
|
|
35877
35881
|
if (t == null)
|
|
35878
35882
|
return;
|
|
35879
35883
|
if (t in e)
|
|
@@ -35894,92 +35898,92 @@ function Qn(e, t) {
|
|
|
35894
35898
|
n = void 0;
|
|
35895
35899
|
return n;
|
|
35896
35900
|
}
|
|
35897
|
-
const
|
|
35901
|
+
const Z = {}, Jn = (e, t, r) => r && (t in Z || (Z[t] = {}), e in Z[t] || (Z[t][e] = r), r), $t = (e, t) => {
|
|
35898
35902
|
if (t == null)
|
|
35899
35903
|
return;
|
|
35900
|
-
if (t in
|
|
35901
|
-
return
|
|
35902
|
-
const r =
|
|
35904
|
+
if (t in Z && e in Z[t])
|
|
35905
|
+
return Z[t][e];
|
|
35906
|
+
const r = He(t);
|
|
35903
35907
|
for (let n = 0; n < r.length; n++) {
|
|
35904
|
-
const i = r[n], o =
|
|
35908
|
+
const i = r[n], o = Yn(i, e);
|
|
35905
35909
|
if (o)
|
|
35906
|
-
return
|
|
35910
|
+
return Jn(e, t, o);
|
|
35907
35911
|
}
|
|
35908
35912
|
};
|
|
35909
|
-
let
|
|
35910
|
-
const
|
|
35911
|
-
function
|
|
35912
|
-
return
|
|
35913
|
+
let Ye;
|
|
35914
|
+
const fe = we({});
|
|
35915
|
+
function Qn(e) {
|
|
35916
|
+
return Ye[e] || null;
|
|
35913
35917
|
}
|
|
35914
|
-
function
|
|
35915
|
-
return e in
|
|
35918
|
+
function er(e) {
|
|
35919
|
+
return e in Ye;
|
|
35916
35920
|
}
|
|
35917
|
-
function
|
|
35918
|
-
if (!
|
|
35921
|
+
function Yn(e, t) {
|
|
35922
|
+
if (!er(e))
|
|
35919
35923
|
return null;
|
|
35920
|
-
const r =
|
|
35921
|
-
return
|
|
35924
|
+
const r = Qn(e);
|
|
35925
|
+
return Zn(r, t);
|
|
35922
35926
|
}
|
|
35923
|
-
function
|
|
35927
|
+
function Kn(e) {
|
|
35924
35928
|
if (e == null)
|
|
35925
35929
|
return;
|
|
35926
|
-
const t =
|
|
35930
|
+
const t = He(e);
|
|
35927
35931
|
for (let r = 0; r < t.length; r++) {
|
|
35928
35932
|
const n = t[r];
|
|
35929
|
-
if (
|
|
35933
|
+
if (er(n))
|
|
35930
35934
|
return n;
|
|
35931
35935
|
}
|
|
35932
35936
|
}
|
|
35933
|
-
function
|
|
35934
|
-
delete
|
|
35937
|
+
function tr(e, ...t) {
|
|
35938
|
+
delete Z[e], fe.update((r) => (r[e] = en.all([r[e] || {}, ...t]), r));
|
|
35935
35939
|
}
|
|
35936
|
-
|
|
35937
|
-
[
|
|
35940
|
+
ne(
|
|
35941
|
+
[fe],
|
|
35938
35942
|
([e]) => Object.keys(e)
|
|
35939
35943
|
);
|
|
35940
|
-
|
|
35941
|
-
const
|
|
35942
|
-
function
|
|
35943
|
-
|
|
35944
|
+
fe.subscribe((e) => Ye = e);
|
|
35945
|
+
const xe = {};
|
|
35946
|
+
function $n(e, t) {
|
|
35947
|
+
xe[e].delete(t), xe[e].size === 0 && delete xe[e];
|
|
35944
35948
|
}
|
|
35945
|
-
function
|
|
35946
|
-
return
|
|
35949
|
+
function rr(e) {
|
|
35950
|
+
return xe[e];
|
|
35947
35951
|
}
|
|
35948
|
-
function
|
|
35949
|
-
return
|
|
35950
|
-
const r =
|
|
35952
|
+
function ei(e) {
|
|
35953
|
+
return He(e).map((t) => {
|
|
35954
|
+
const r = rr(t);
|
|
35951
35955
|
return [t, r ? [...r] : []];
|
|
35952
35956
|
}).filter(([, t]) => t.length > 0);
|
|
35953
35957
|
}
|
|
35954
|
-
function
|
|
35955
|
-
return e == null ? !1 :
|
|
35958
|
+
function We(e) {
|
|
35959
|
+
return e == null ? !1 : He(e).some(
|
|
35956
35960
|
(t) => {
|
|
35957
35961
|
var r;
|
|
35958
|
-
return (r =
|
|
35962
|
+
return (r = rr(t)) == null ? void 0 : r.size;
|
|
35959
35963
|
}
|
|
35960
35964
|
);
|
|
35961
35965
|
}
|
|
35962
|
-
function
|
|
35966
|
+
function ti(e, t) {
|
|
35963
35967
|
return Promise.all(
|
|
35964
|
-
t.map((n) => (
|
|
35965
|
-
).then((n) =>
|
|
35966
|
-
}
|
|
35967
|
-
const
|
|
35968
|
-
function
|
|
35969
|
-
if (!
|
|
35970
|
-
return e in
|
|
35971
|
-
const t =
|
|
35972
|
-
return
|
|
35968
|
+
t.map((n) => ($n(e, n), n().then((i) => i.default || i)))
|
|
35969
|
+
).then((n) => tr(e, ...n));
|
|
35970
|
+
}
|
|
35971
|
+
const ue = {};
|
|
35972
|
+
function nr(e) {
|
|
35973
|
+
if (!We(e))
|
|
35974
|
+
return e in ue ? ue[e] : Promise.resolve();
|
|
35975
|
+
const t = ei(e);
|
|
35976
|
+
return ue[e] = Promise.all(
|
|
35973
35977
|
t.map(
|
|
35974
|
-
([r, n]) =>
|
|
35978
|
+
([r, n]) => ti(r, n)
|
|
35975
35979
|
)
|
|
35976
35980
|
).then(() => {
|
|
35977
|
-
if (
|
|
35978
|
-
return
|
|
35979
|
-
delete
|
|
35980
|
-
}),
|
|
35981
|
+
if (We(e))
|
|
35982
|
+
return nr(e);
|
|
35983
|
+
delete ue[e];
|
|
35984
|
+
}), ue[e];
|
|
35981
35985
|
}
|
|
35982
|
-
const
|
|
35986
|
+
const ri = {
|
|
35983
35987
|
number: {
|
|
35984
35988
|
scientific: { notation: "scientific" },
|
|
35985
35989
|
engineering: { notation: "engineering" },
|
|
@@ -36008,150 +36012,150 @@ const ii = {
|
|
|
36008
36012
|
timeZoneName: "short"
|
|
36009
36013
|
}
|
|
36010
36014
|
}
|
|
36011
|
-
},
|
|
36015
|
+
}, ni = {
|
|
36012
36016
|
fallbackLocale: null,
|
|
36013
36017
|
loadingDelay: 200,
|
|
36014
|
-
formats:
|
|
36018
|
+
formats: ri,
|
|
36015
36019
|
warnOnMissingMessages: !0,
|
|
36016
36020
|
handleMissingMessage: void 0,
|
|
36017
36021
|
ignoreTag: !0
|
|
36018
|
-
},
|
|
36019
|
-
function
|
|
36020
|
-
return
|
|
36022
|
+
}, ii = ni;
|
|
36023
|
+
function re() {
|
|
36024
|
+
return ii;
|
|
36021
36025
|
}
|
|
36022
|
-
const
|
|
36023
|
-
var
|
|
36026
|
+
const Re = we(!1);
|
|
36027
|
+
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) => {
|
|
36024
36028
|
for (var r in t || (t = {}))
|
|
36025
|
-
|
|
36026
|
-
if (
|
|
36027
|
-
for (var r of
|
|
36028
|
-
|
|
36029
|
+
li.call(t, r) && gt(e, r, t[r]);
|
|
36030
|
+
if (mt)
|
|
36031
|
+
for (var r of mt(t))
|
|
36032
|
+
ci.call(t, r) && gt(e, r, t[r]);
|
|
36029
36033
|
return e;
|
|
36030
|
-
},
|
|
36031
|
-
let
|
|
36032
|
-
const Te =
|
|
36033
|
-
function
|
|
36034
|
+
}, hi = (e, t) => ai(e, si(t));
|
|
36035
|
+
let Ze;
|
|
36036
|
+
const Te = we(null);
|
|
36037
|
+
function pt(e) {
|
|
36034
36038
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
36035
36039
|
}
|
|
36036
|
-
function
|
|
36037
|
-
const r =
|
|
36038
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
36040
|
+
function He(e, t = re().fallbackLocale) {
|
|
36041
|
+
const r = pt(e);
|
|
36042
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
|
|
36039
36043
|
}
|
|
36040
|
-
function
|
|
36041
|
-
return
|
|
36044
|
+
function Q() {
|
|
36045
|
+
return Ze ?? void 0;
|
|
36042
36046
|
}
|
|
36043
36047
|
Te.subscribe((e) => {
|
|
36044
|
-
|
|
36048
|
+
Ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
36045
36049
|
});
|
|
36046
|
-
const
|
|
36047
|
-
if (e &&
|
|
36048
|
-
const { loadingDelay: t } =
|
|
36050
|
+
const di = (e) => {
|
|
36051
|
+
if (e && Kn(e) && We(e)) {
|
|
36052
|
+
const { loadingDelay: t } = re();
|
|
36049
36053
|
let r;
|
|
36050
|
-
return typeof window < "u" &&
|
|
36051
|
-
() =>
|
|
36054
|
+
return typeof window < "u" && Q() != null && t ? r = window.setTimeout(
|
|
36055
|
+
() => Re.set(!0),
|
|
36052
36056
|
t
|
|
36053
|
-
) :
|
|
36057
|
+
) : Re.set(!0), nr(e).then(() => {
|
|
36054
36058
|
Te.set(e);
|
|
36055
36059
|
}).finally(() => {
|
|
36056
|
-
clearTimeout(r),
|
|
36060
|
+
clearTimeout(r), Re.set(!1);
|
|
36057
36061
|
});
|
|
36058
36062
|
}
|
|
36059
36063
|
return Te.set(e);
|
|
36060
|
-
},
|
|
36061
|
-
set:
|
|
36062
|
-
}),
|
|
36064
|
+
}, ie = hi(ui({}, Te), {
|
|
36065
|
+
set: di
|
|
36066
|
+
}), Pe = (e) => {
|
|
36063
36067
|
const t = /* @__PURE__ */ Object.create(null);
|
|
36064
36068
|
return (n) => {
|
|
36065
36069
|
const i = JSON.stringify(n);
|
|
36066
36070
|
return i in t ? t[i] : t[i] = e(n);
|
|
36067
36071
|
};
|
|
36068
36072
|
};
|
|
36069
|
-
var
|
|
36073
|
+
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) => {
|
|
36070
36074
|
for (var r in t || (t = {}))
|
|
36071
|
-
|
|
36072
|
-
if (
|
|
36073
|
-
for (var r of
|
|
36074
|
-
|
|
36075
|
+
ir.call(t, r) && ft(e, r, t[r]);
|
|
36076
|
+
if (Me)
|
|
36077
|
+
for (var r of Me(t))
|
|
36078
|
+
or.call(t, r) && ft(e, r, t[r]);
|
|
36075
36079
|
return e;
|
|
36076
|
-
},
|
|
36080
|
+
}, oe = (e, t) => {
|
|
36077
36081
|
var r = {};
|
|
36078
36082
|
for (var n in e)
|
|
36079
|
-
|
|
36080
|
-
if (e != null &&
|
|
36081
|
-
for (var n of
|
|
36082
|
-
t.indexOf(n) < 0 &&
|
|
36083
|
+
ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
36084
|
+
if (e != null && Me)
|
|
36085
|
+
for (var n of Me(e))
|
|
36086
|
+
t.indexOf(n) < 0 && or.call(e, n) && (r[n] = e[n]);
|
|
36083
36087
|
return r;
|
|
36084
36088
|
};
|
|
36085
|
-
const
|
|
36086
|
-
const { formats: r } =
|
|
36089
|
+
const me = (e, t) => {
|
|
36090
|
+
const { formats: r } = re();
|
|
36087
36091
|
if (e in r && t in r[e])
|
|
36088
36092
|
return r[e][t];
|
|
36089
36093
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
36090
|
-
},
|
|
36094
|
+
}, gi = Pe(
|
|
36091
36095
|
(e) => {
|
|
36092
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
36096
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
36093
36097
|
if (r == null)
|
|
36094
36098
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
36095
|
-
return n && (i =
|
|
36099
|
+
return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
|
|
36096
36100
|
}
|
|
36097
|
-
),
|
|
36101
|
+
), pi = Pe(
|
|
36098
36102
|
(e) => {
|
|
36099
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
36103
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
36100
36104
|
if (r == null)
|
|
36101
36105
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
36102
|
-
return n ? i =
|
|
36106
|
+
return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
36103
36107
|
}
|
|
36104
|
-
),
|
|
36108
|
+
), fi = Pe(
|
|
36105
36109
|
(e) => {
|
|
36106
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
36110
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
36107
36111
|
if (r == null)
|
|
36108
36112
|
throw new Error(
|
|
36109
36113
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
36110
36114
|
);
|
|
36111
|
-
return n ? i =
|
|
36115
|
+
return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
36112
36116
|
}
|
|
36113
|
-
),
|
|
36117
|
+
), _i = (e = {}) => {
|
|
36114
36118
|
var t = e, {
|
|
36115
|
-
locale: r =
|
|
36116
|
-
} = t, n =
|
|
36119
|
+
locale: r = Q()
|
|
36120
|
+
} = t, n = oe(t, [
|
|
36117
36121
|
"locale"
|
|
36118
36122
|
]);
|
|
36119
|
-
return
|
|
36120
|
-
},
|
|
36123
|
+
return gi(Ke({ locale: r }, n));
|
|
36124
|
+
}, bi = (e = {}) => {
|
|
36121
36125
|
var t = e, {
|
|
36122
|
-
locale: r =
|
|
36123
|
-
} = t, n =
|
|
36126
|
+
locale: r = Q()
|
|
36127
|
+
} = t, n = oe(t, [
|
|
36124
36128
|
"locale"
|
|
36125
36129
|
]);
|
|
36126
|
-
return
|
|
36127
|
-
},
|
|
36130
|
+
return pi(Ke({ locale: r }, n));
|
|
36131
|
+
}, vi = (e = {}) => {
|
|
36128
36132
|
var t = e, {
|
|
36129
|
-
locale: r =
|
|
36130
|
-
} = t, n =
|
|
36133
|
+
locale: r = Q()
|
|
36134
|
+
} = t, n = oe(t, [
|
|
36131
36135
|
"locale"
|
|
36132
36136
|
]);
|
|
36133
|
-
return
|
|
36134
|
-
},
|
|
36137
|
+
return fi(Ke({ locale: r }, n));
|
|
36138
|
+
}, yi = Pe(
|
|
36135
36139
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
36136
|
-
(e, t =
|
|
36137
|
-
ignoreTag:
|
|
36140
|
+
(e, t = Q()) => new Wn(e, t, re().formats, {
|
|
36141
|
+
ignoreTag: re().ignoreTag
|
|
36138
36142
|
})
|
|
36139
|
-
),
|
|
36143
|
+
), Ei = (e, t = {}) => {
|
|
36140
36144
|
var r, n, i, o;
|
|
36141
36145
|
let a = t;
|
|
36142
36146
|
typeof e == "object" && (a = e, e = a.id);
|
|
36143
36147
|
const {
|
|
36144
36148
|
values: s,
|
|
36145
|
-
locale: h =
|
|
36149
|
+
locale: h = Q(),
|
|
36146
36150
|
default: u
|
|
36147
36151
|
} = a;
|
|
36148
36152
|
if (h == null)
|
|
36149
36153
|
throw new Error(
|
|
36150
36154
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
36151
36155
|
);
|
|
36152
|
-
let l =
|
|
36156
|
+
let l = $t(e, h);
|
|
36153
36157
|
if (!l)
|
|
36154
|
-
l = (o = (i = (n = (r =
|
|
36158
|
+
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;
|
|
36155
36159
|
else if (typeof l != "string")
|
|
36156
36160
|
return console.warn(
|
|
36157
36161
|
`[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.`
|
|
@@ -36160,7 +36164,7 @@ const ge = (e, t) => {
|
|
|
36160
36164
|
return l;
|
|
36161
36165
|
let d = l;
|
|
36162
36166
|
try {
|
|
36163
|
-
d =
|
|
36167
|
+
d = yi(l, h).format(s);
|
|
36164
36168
|
} catch (m) {
|
|
36165
36169
|
m instanceof Error && console.warn(
|
|
36166
36170
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -36168,18 +36172,18 @@ const ge = (e, t) => {
|
|
|
36168
36172
|
);
|
|
36169
36173
|
}
|
|
36170
36174
|
return d;
|
|
36171
|
-
},
|
|
36172
|
-
|
|
36173
|
-
|
|
36174
|
-
|
|
36175
|
-
|
|
36176
|
-
function
|
|
36177
|
-
|
|
36178
|
-
}
|
|
36179
|
-
function
|
|
36180
|
-
|
|
36181
|
-
}
|
|
36182
|
-
const
|
|
36175
|
+
}, 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);
|
|
36176
|
+
ne([ie], () => ki);
|
|
36177
|
+
ne([ie], () => Ci);
|
|
36178
|
+
ne([ie], () => Si);
|
|
36179
|
+
ne([ie, fe], () => xi);
|
|
36180
|
+
function _t(e, t) {
|
|
36181
|
+
tr(e, t);
|
|
36182
|
+
}
|
|
36183
|
+
function Mi(e) {
|
|
36184
|
+
ie.set(e);
|
|
36185
|
+
}
|
|
36186
|
+
const bt = {
|
|
36183
36187
|
en: {
|
|
36184
36188
|
invalidUrl: "Failed to construct 'URL': Invalid URL",
|
|
36185
36189
|
fetchConsentsError: "Error: Could not fetch consents.",
|
|
@@ -36751,18 +36755,18 @@ if (typeof window < "u") {
|
|
|
36751
36755
|
}
|
|
36752
36756
|
};
|
|
36753
36757
|
};
|
|
36754
|
-
customElements.define = e(customElements.define), Promise.resolve().then(function () { return
|
|
36758
|
+
customElements.define = e(customElements.define), Promise.resolve().then(function () { return GeneralAnimationLoadingZTNd0X9B; }).then((t) => t.G).then(({ default: t }) => {
|
|
36755
36759
|
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
|
|
36756
36760
|
});
|
|
36757
36761
|
}
|
|
36758
|
-
function
|
|
36762
|
+
function wi(e) {
|
|
36759
36763
|
let t, r;
|
|
36760
36764
|
return {
|
|
36761
36765
|
c() {
|
|
36762
36766
|
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");
|
|
36763
36767
|
},
|
|
36764
36768
|
m(n, i) {
|
|
36765
|
-
|
|
36769
|
+
k(n, t, i), G(t, r);
|
|
36766
36770
|
},
|
|
36767
36771
|
p: d,
|
|
36768
36772
|
i: d,
|
|
@@ -36772,34 +36776,34 @@ function Ai(e) {
|
|
|
36772
36776
|
}
|
|
36773
36777
|
};
|
|
36774
36778
|
}
|
|
36775
|
-
class
|
|
36779
|
+
class Ni extends lt$1 {
|
|
36776
36780
|
constructor(t) {
|
|
36777
|
-
super(), ct$1(this, t, null,
|
|
36781
|
+
super(), ct$1(this, t, null, wi, z, {});
|
|
36778
36782
|
}
|
|
36779
36783
|
}
|
|
36780
|
-
customElements.define("circle-exclamation-icon", ot(
|
|
36781
|
-
function
|
|
36784
|
+
customElements.define("circle-exclamation-icon", ot$1(Ni, {}, [], [], !0));
|
|
36785
|
+
function Ai(e) {
|
|
36782
36786
|
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}');
|
|
36783
36787
|
}
|
|
36784
|
-
function
|
|
36788
|
+
function vt(e, t, r) {
|
|
36785
36789
|
const n = e.slice();
|
|
36786
36790
|
return n[64] = t[r], n;
|
|
36787
36791
|
}
|
|
36788
|
-
function
|
|
36792
|
+
function yt(e, t, r) {
|
|
36789
36793
|
const n = e.slice();
|
|
36790
36794
|
return n[61] = t[r], n[62] = t, n[63] = r, n;
|
|
36791
36795
|
}
|
|
36792
|
-
function
|
|
36796
|
+
function Et(e, t, r) {
|
|
36793
36797
|
const n = e.slice();
|
|
36794
36798
|
return n[64] = t[r], n;
|
|
36795
36799
|
}
|
|
36796
|
-
function
|
|
36797
|
-
let t, r, n =
|
|
36800
|
+
function Hi(e) {
|
|
36801
|
+
let t, r, n = vt$1(
|
|
36798
36802
|
/*playerConsents*/
|
|
36799
36803
|
e[9]
|
|
36800
36804
|
), i = [];
|
|
36801
36805
|
for (let o = 0; o < n.length; o += 1)
|
|
36802
|
-
i[o] =
|
|
36806
|
+
i[o] = kt(vt(e, n, o));
|
|
36803
36807
|
return {
|
|
36804
36808
|
c() {
|
|
36805
36809
|
t = w$1("div"), r = w$1("form");
|
|
@@ -36808,7 +36812,7 @@ function Bi(e) {
|
|
|
36808
36812
|
B$1(r, "class", "checkbox svelte-ltb9q9"), B$1(t, "class", "legacyStyle");
|
|
36809
36813
|
},
|
|
36810
36814
|
m(o, a) {
|
|
36811
|
-
|
|
36815
|
+
k(o, t, a), G(t, r);
|
|
36812
36816
|
for (let s = 0; s < i.length; s += 1)
|
|
36813
36817
|
i[s] && i[s].m(r, null);
|
|
36814
36818
|
e[31](r);
|
|
@@ -36816,14 +36820,14 @@ function Bi(e) {
|
|
|
36816
36820
|
p(o, a) {
|
|
36817
36821
|
if (a[0] & /*playerConsents, $_, handleInput*/
|
|
36818
36822
|
590336) {
|
|
36819
|
-
n =
|
|
36823
|
+
n = vt$1(
|
|
36820
36824
|
/*playerConsents*/
|
|
36821
36825
|
o[9]
|
|
36822
36826
|
);
|
|
36823
36827
|
let s;
|
|
36824
36828
|
for (s = 0; s < n.length; s += 1) {
|
|
36825
|
-
const h =
|
|
36826
|
-
i[s] ? i[s].p(h, a) : (i[s] =
|
|
36829
|
+
const h = vt(o, n, s);
|
|
36830
|
+
i[s] ? i[s].p(h, a) : (i[s] = kt(h), i[s].c(), i[s].m(r, null));
|
|
36827
36831
|
}
|
|
36828
36832
|
for (; s < i.length; s += 1)
|
|
36829
36833
|
i[s].d(1);
|
|
@@ -36835,7 +36839,7 @@ function Bi(e) {
|
|
|
36835
36839
|
}
|
|
36836
36840
|
};
|
|
36837
36841
|
}
|
|
36838
|
-
function
|
|
36842
|
+
function Pi(e) {
|
|
36839
36843
|
let t = (
|
|
36840
36844
|
/*$_*/
|
|
36841
36845
|
e[16]("title") || /*$_*/
|
|
@@ -36843,67 +36847,67 @@ function zi(e) {
|
|
|
36843
36847
|
), r, n, i, o = (
|
|
36844
36848
|
/*$_*/
|
|
36845
36849
|
(e[16]("saveButtonContent") || "Save Consents") + ""
|
|
36846
|
-
), a, s, h, u, l, d = t &&
|
|
36850
|
+
), a, s, h, u, l, d = t && Ct(e), m = vt$1(
|
|
36847
36851
|
/*consentsCategories*/
|
|
36848
36852
|
e[8]
|
|
36849
|
-
),
|
|
36853
|
+
), v = [];
|
|
36850
36854
|
for (let g = 0; g < m.length; g += 1)
|
|
36851
|
-
|
|
36855
|
+
v[g] = Nt(yt(e, m, g));
|
|
36852
36856
|
let f = (
|
|
36853
36857
|
/*errorMessage*/
|
|
36854
|
-
e[6] &&
|
|
36858
|
+
e[6] && At(e)
|
|
36855
36859
|
);
|
|
36856
36860
|
return {
|
|
36857
36861
|
c() {
|
|
36858
36862
|
d && d.c(), r = pt$1();
|
|
36859
|
-
for (let g = 0; g <
|
|
36860
|
-
|
|
36863
|
+
for (let g = 0; g < v.length; g += 1)
|
|
36864
|
+
v[g].c();
|
|
36861
36865
|
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*/
|
|
36862
36866
|
e[14];
|
|
36863
36867
|
},
|
|
36864
|
-
m(g,
|
|
36865
|
-
d && d.m(g,
|
|
36866
|
-
for (let _ = 0; _ <
|
|
36867
|
-
|
|
36868
|
-
|
|
36868
|
+
m(g, C) {
|
|
36869
|
+
d && d.m(g, C), k(g, r, C);
|
|
36870
|
+
for (let _ = 0; _ < v.length; _ += 1)
|
|
36871
|
+
v[_] && v[_].m(g, C);
|
|
36872
|
+
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(
|
|
36869
36873
|
i,
|
|
36870
36874
|
"click",
|
|
36871
36875
|
/*saveChanges*/
|
|
36872
36876
|
e[17]
|
|
36873
36877
|
), u = !0);
|
|
36874
36878
|
},
|
|
36875
|
-
p(g,
|
|
36876
|
-
if (
|
|
36879
|
+
p(g, C) {
|
|
36880
|
+
if (C[0] & /*$_*/
|
|
36877
36881
|
65536 && (t = /*$_*/
|
|
36878
36882
|
g[16]("title") || /*$_*/
|
|
36879
|
-
g[16]("description")), t ? d ? d.p(g,
|
|
36883
|
+
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*/
|
|
36880
36884
|
867088) {
|
|
36881
|
-
m =
|
|
36885
|
+
m = vt$1(
|
|
36882
36886
|
/*consentsCategories*/
|
|
36883
36887
|
g[8]
|
|
36884
36888
|
);
|
|
36885
36889
|
let _;
|
|
36886
36890
|
for (_ = 0; _ < m.length; _ += 1) {
|
|
36887
|
-
const
|
|
36888
|
-
|
|
36891
|
+
const b = yt(g, m, _);
|
|
36892
|
+
v[_] ? v[_].p(b, C) : (v[_] = Nt(b), v[_].c(), v[_].m(n.parentNode, n));
|
|
36889
36893
|
}
|
|
36890
|
-
for (; _ <
|
|
36891
|
-
|
|
36892
|
-
|
|
36894
|
+
for (; _ < v.length; _ += 1)
|
|
36895
|
+
v[_].d(1);
|
|
36896
|
+
v.length = m.length;
|
|
36893
36897
|
}
|
|
36894
|
-
|
|
36898
|
+
C[0] & /*$_*/
|
|
36895
36899
|
65536 && o !== (o = /*$_*/
|
|
36896
|
-
(g[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o),
|
|
36900
|
+
(g[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), C[0] & /*isValid*/
|
|
36897
36901
|
16384 && a !== (a = !/*isValid*/
|
|
36898
36902
|
g[14]) && (i.disabled = a), /*errorMessage*/
|
|
36899
|
-
g[6] ? f ? f.p(g,
|
|
36903
|
+
g[6] ? f ? f.p(g, C) : (f = At(g), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
|
|
36900
36904
|
},
|
|
36901
36905
|
d(g) {
|
|
36902
|
-
g && (y(r), y(n), y(i), y(s), y(h)), d && d.d(g), bt$1(
|
|
36906
|
+
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();
|
|
36903
36907
|
}
|
|
36904
36908
|
};
|
|
36905
36909
|
}
|
|
36906
|
-
function
|
|
36910
|
+
function Bi(e) {
|
|
36907
36911
|
let t, r, n;
|
|
36908
36912
|
return {
|
|
36909
36913
|
c() {
|
|
@@ -36913,7 +36917,7 @@ function Oi(e) {
|
|
|
36913
36917
|
), B$1(r, "class", "ErrorMessage svelte-ltb9q9"), B$1(t, "class", "ContainerCenter svelte-ltb9q9");
|
|
36914
36918
|
},
|
|
36915
36919
|
m(i, o) {
|
|
36916
|
-
|
|
36920
|
+
k(i, t, o), G(t, r), G(r, n);
|
|
36917
36921
|
},
|
|
36918
36922
|
p(i, o) {
|
|
36919
36923
|
o[0] & /*fatalError*/
|
|
@@ -36928,7 +36932,7 @@ function Oi(e) {
|
|
|
36928
36932
|
}
|
|
36929
36933
|
};
|
|
36930
36934
|
}
|
|
36931
|
-
function
|
|
36935
|
+
function zi(e) {
|
|
36932
36936
|
let t;
|
|
36933
36937
|
return {
|
|
36934
36938
|
c() {
|
|
@@ -36950,7 +36954,7 @@ function Ii(e) {
|
|
|
36950
36954
|
);
|
|
36951
36955
|
},
|
|
36952
36956
|
m(r, n) {
|
|
36953
|
-
|
|
36957
|
+
k(r, t, n);
|
|
36954
36958
|
},
|
|
36955
36959
|
p(r, n) {
|
|
36956
36960
|
n[0] & /*clientstyling*/
|
|
@@ -36978,7 +36982,7 @@ function Ii(e) {
|
|
|
36978
36982
|
}
|
|
36979
36983
|
};
|
|
36980
36984
|
}
|
|
36981
|
-
function
|
|
36985
|
+
function kt(e) {
|
|
36982
36986
|
let t, r, n, i, o, a, s, h, u = (
|
|
36983
36987
|
/*$_*/
|
|
36984
36988
|
(e[16](`${/*consent*/
|
|
@@ -36987,31 +36991,31 @@ function xt(e) {
|
|
|
36987
36991
|
), l = (
|
|
36988
36992
|
/*consent*/
|
|
36989
36993
|
e[64].mustAccept ? " *" : ""
|
|
36990
|
-
), d, m,
|
|
36991
|
-
function P$1(...
|
|
36994
|
+
), d, m, v, f, g, C, _, b, x;
|
|
36995
|
+
function P$1(...E) {
|
|
36992
36996
|
return (
|
|
36993
36997
|
/*input_handler_1*/
|
|
36994
36998
|
e[30](
|
|
36995
36999
|
/*consent*/
|
|
36996
37000
|
e[64],
|
|
36997
|
-
...
|
|
37001
|
+
...E
|
|
36998
37002
|
)
|
|
36999
37003
|
);
|
|
37000
37004
|
}
|
|
37001
37005
|
return {
|
|
37002
37006
|
c() {
|
|
37003
|
-
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),
|
|
37007
|
+
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*/
|
|
37004
37008
|
e[64].status === "1", B$1(r, "id", i = `${/*consent*/
|
|
37005
37009
|
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*/
|
|
37006
37010
|
e[64].tagCode}__input`), B$1(f, "class", "checkbox__error-message svelte-ltb9q9"), B$1(f, "id", g = "checkBoxError__" + /*consent*/
|
|
37007
37011
|
e[64].tagCode), B$1(t, "class", _ = "checkbox__wrapper " + /*consent*/
|
|
37008
37012
|
e[64].tagCode + "__input svelte-ltb9q9");
|
|
37009
37013
|
},
|
|
37010
|
-
m(
|
|
37011
|
-
|
|
37014
|
+
m(E, z) {
|
|
37015
|
+
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);
|
|
37012
37016
|
},
|
|
37013
|
-
p(
|
|
37014
|
-
e =
|
|
37017
|
+
p(E, z) {
|
|
37018
|
+
e = E, z[0] & /*playerConsents*/
|
|
37015
37019
|
512 && n !== (n = /*consent*/
|
|
37016
37020
|
e[64].status === "1") && (r.checked = n), z[0] & /*playerConsents*/
|
|
37017
37021
|
512 && i !== (i = `${/*consent*/
|
|
@@ -37029,39 +37033,39 @@ function xt(e) {
|
|
|
37029
37033
|
512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
|
|
37030
37034
|
e[64].tagCode + "__input svelte-ltb9q9") && B$1(t, "class", _);
|
|
37031
37035
|
},
|
|
37032
|
-
d(
|
|
37033
|
-
|
|
37036
|
+
d(E) {
|
|
37037
|
+
E && y(t), b = !1, x();
|
|
37034
37038
|
}
|
|
37035
37039
|
};
|
|
37036
37040
|
}
|
|
37037
|
-
function
|
|
37041
|
+
function Ct(e) {
|
|
37038
37042
|
let t, r = (
|
|
37039
37043
|
/*$_*/
|
|
37040
37044
|
e[16]("title")
|
|
37041
37045
|
), n, i = (
|
|
37042
37046
|
/*$_*/
|
|
37043
37047
|
e[16]("description")
|
|
37044
|
-
), o = r &&
|
|
37048
|
+
), o = r && St(e), a = i && xt(e);
|
|
37045
37049
|
return {
|
|
37046
37050
|
c() {
|
|
37047
37051
|
t = w$1("div"), o && o.c(), n = pt$1(), a && a.c(), B$1(t, "class", "PlayerConsentsHeader svelte-ltb9q9");
|
|
37048
37052
|
},
|
|
37049
37053
|
m(s, h) {
|
|
37050
|
-
|
|
37054
|
+
k(s, t, h), o && o.m(t, null), G(t, n), a && a.m(t, null);
|
|
37051
37055
|
},
|
|
37052
37056
|
p(s, h) {
|
|
37053
37057
|
h[0] & /*$_*/
|
|
37054
37058
|
65536 && (r = /*$_*/
|
|
37055
|
-
s[16]("title")), r ? o ? o.p(s, h) : (o =
|
|
37059
|
+
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] & /*$_*/
|
|
37056
37060
|
65536 && (i = /*$_*/
|
|
37057
|
-
s[16]("description")), i ? a ? a.p(s, h) : (a =
|
|
37061
|
+
s[16]("description")), i ? a ? a.p(s, h) : (a = xt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
|
|
37058
37062
|
},
|
|
37059
37063
|
d(s) {
|
|
37060
37064
|
s && y(t), o && o.d(), a && a.d();
|
|
37061
37065
|
}
|
|
37062
37066
|
};
|
|
37063
37067
|
}
|
|
37064
|
-
function
|
|
37068
|
+
function St(e) {
|
|
37065
37069
|
let t, r = (
|
|
37066
37070
|
/*$_*/
|
|
37067
37071
|
e[16]("title") + ""
|
|
@@ -37071,7 +37075,7 @@ function Tt(e) {
|
|
|
37071
37075
|
t = w$1("h2"), n = P(r), B$1(t, "class", "PlayerConsentsTitle");
|
|
37072
37076
|
},
|
|
37073
37077
|
m(i, o) {
|
|
37074
|
-
|
|
37078
|
+
k(i, t, o), G(t, n);
|
|
37075
37079
|
},
|
|
37076
37080
|
p(i, o) {
|
|
37077
37081
|
o[0] & /*$_*/
|
|
@@ -37083,7 +37087,7 @@ function Tt(e) {
|
|
|
37083
37087
|
}
|
|
37084
37088
|
};
|
|
37085
37089
|
}
|
|
37086
|
-
function
|
|
37090
|
+
function xt(e) {
|
|
37087
37091
|
let t, r = (
|
|
37088
37092
|
/*$_*/
|
|
37089
37093
|
e[16]("description") + ""
|
|
@@ -37093,7 +37097,7 @@ function wt(e) {
|
|
|
37093
37097
|
t = w$1("p"), n = P(r), B$1(t, "class", "PlayerConsentsDescription");
|
|
37094
37098
|
},
|
|
37095
37099
|
m(i, o) {
|
|
37096
|
-
|
|
37100
|
+
k(i, t, o), G(t, n);
|
|
37097
37101
|
},
|
|
37098
37102
|
p(i, o) {
|
|
37099
37103
|
o[0] & /*$_*/
|
|
@@ -37105,21 +37109,21 @@ function wt(e) {
|
|
|
37105
37109
|
}
|
|
37106
37110
|
};
|
|
37107
37111
|
}
|
|
37108
|
-
function
|
|
37112
|
+
function Tt(e) {
|
|
37109
37113
|
let t;
|
|
37110
37114
|
return {
|
|
37111
37115
|
c() {
|
|
37112
37116
|
t = w$1("sup"), t.textContent = "*", B$1(t, "class", "ConsentRequired svelte-ltb9q9");
|
|
37113
37117
|
},
|
|
37114
37118
|
m(r, n) {
|
|
37115
|
-
|
|
37119
|
+
k(r, t, n);
|
|
37116
37120
|
},
|
|
37117
37121
|
d(r) {
|
|
37118
37122
|
r && y(t);
|
|
37119
37123
|
}
|
|
37120
37124
|
};
|
|
37121
37125
|
}
|
|
37122
|
-
function
|
|
37126
|
+
function Mt(e) {
|
|
37123
37127
|
let t, r = (
|
|
37124
37128
|
/*$_*/
|
|
37125
37129
|
(e[16](`${/*consent*/
|
|
@@ -37131,7 +37135,7 @@ function At(e) {
|
|
|
37131
37135
|
t = w$1("p"), B$1(t, "class", "ConsentDescription svelte-ltb9q9");
|
|
37132
37136
|
},
|
|
37133
37137
|
m(n, i) {
|
|
37134
|
-
|
|
37138
|
+
k(n, t, i), t.innerHTML = r;
|
|
37135
37139
|
},
|
|
37136
37140
|
p(n, i) {
|
|
37137
37141
|
i[0] & /*$_, playerConsents, consentsCategories*/
|
|
@@ -37145,20 +37149,20 @@ function At(e) {
|
|
|
37145
37149
|
}
|
|
37146
37150
|
};
|
|
37147
37151
|
}
|
|
37148
|
-
function
|
|
37152
|
+
function wt(e) {
|
|
37149
37153
|
let t, r, n, i, o = (
|
|
37150
37154
|
/*$_*/
|
|
37151
37155
|
(e[16](`${/*consent*/
|
|
37152
37156
|
e[64].tagCode}__name`) || /*consent*/
|
|
37153
37157
|
e[64].friendlyName) + ""
|
|
37154
|
-
), a, s, h, u, l, d, m,
|
|
37158
|
+
), a, s, h, u, l, d, m, v, f, g, C, _ = (
|
|
37155
37159
|
/*consent*/
|
|
37156
|
-
e[64].mustAccept === !0 &&
|
|
37157
|
-
),
|
|
37160
|
+
e[64].mustAccept === !0 && Tt()
|
|
37161
|
+
), b = (
|
|
37158
37162
|
/*displayconsentdescription*/
|
|
37159
|
-
e[4] === "true" &&
|
|
37163
|
+
e[4] === "true" && Mt(e)
|
|
37160
37164
|
);
|
|
37161
|
-
function
|
|
37165
|
+
function x(...P) {
|
|
37162
37166
|
return (
|
|
37163
37167
|
/*input_handler*/
|
|
37164
37168
|
e[29](
|
|
@@ -37170,7 +37174,7 @@ function Ht(e) {
|
|
|
37170
37174
|
}
|
|
37171
37175
|
return {
|
|
37172
37176
|
c() {
|
|
37173
|
-
t = w$1("div"), r = w$1("div"), n = w$1("h4"), i = new Lt(!1), a = pt$1(), _ && _.c(), s = pt$1(),
|
|
37177
|
+
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*/
|
|
37174
37178
|
e[64].mustAccept === !0 && /*initialConsentsState*/
|
|
37175
37179
|
e[12][
|
|
37176
37180
|
/*consent*/
|
|
@@ -37181,23 +37185,23 @@ function Ht(e) {
|
|
|
37181
37185
|
e[64].tagCode
|
|
37182
37186
|
], 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");
|
|
37183
37187
|
},
|
|
37184
|
-
m(P,
|
|
37185
|
-
|
|
37188
|
+
m(P, E) {
|
|
37189
|
+
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);
|
|
37186
37190
|
},
|
|
37187
|
-
p(P,
|
|
37188
|
-
e = P,
|
|
37191
|
+
p(P, E) {
|
|
37192
|
+
e = P, E[0] & /*$_, playerConsents, consentsCategories*/
|
|
37189
37193
|
66304 && o !== (o = /*$_*/
|
|
37190
37194
|
(e[16](`${/*consent*/
|
|
37191
37195
|
e[64].tagCode}__name`) || /*consent*/
|
|
37192
37196
|
e[64].friendlyName) + "") && i.p(o), /*consent*/
|
|
37193
|
-
e[64].mustAccept === !0 ? _ || (_ =
|
|
37194
|
-
e[4] === "true" ?
|
|
37197
|
+
e[64].mustAccept === !0 ? _ || (_ = Tt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
|
|
37198
|
+
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*/
|
|
37195
37199
|
4864 && d !== (d = /*consent*/
|
|
37196
37200
|
e[64].mustAccept === !0 && /*initialConsentsState*/
|
|
37197
37201
|
e[12][
|
|
37198
37202
|
/*consent*/
|
|
37199
37203
|
e[64].tagCode
|
|
37200
|
-
] === !0) && (l.disabled = d),
|
|
37204
|
+
] === !0) && (l.disabled = d), E[0] & /*consentsState, playerConsents, consentsCategories*/
|
|
37201
37205
|
8960 && m !== (m = /*consentsState*/
|
|
37202
37206
|
e[13][
|
|
37203
37207
|
/*consent*/
|
|
@@ -37205,17 +37209,17 @@ function Ht(e) {
|
|
|
37205
37209
|
]) && (l.checked = m);
|
|
37206
37210
|
},
|
|
37207
37211
|
d(P) {
|
|
37208
|
-
P && y(t), _ && _.d(),
|
|
37212
|
+
P && y(t), _ && _.d(), b && b.d(), g = !1, C();
|
|
37209
37213
|
}
|
|
37210
37214
|
};
|
|
37211
37215
|
}
|
|
37212
|
-
function
|
|
37216
|
+
function Nt(e) {
|
|
37213
37217
|
let t, r, n, i = (
|
|
37214
37218
|
/*$_*/
|
|
37215
37219
|
(e[16](`${/*category*/
|
|
37216
37220
|
e[61].categoryTagCode}__category`) || /*category*/
|
|
37217
37221
|
e[61].friendlyName) + ""
|
|
37218
|
-
), o, a, s, h, u, l, d, m,
|
|
37222
|
+
), o, a, s, h, u, l, d, m, v;
|
|
37219
37223
|
function f() {
|
|
37220
37224
|
e[26].call(
|
|
37221
37225
|
s,
|
|
@@ -37232,44 +37236,44 @@ function Pt(e) {
|
|
|
37232
37236
|
)
|
|
37233
37237
|
);
|
|
37234
37238
|
}
|
|
37235
|
-
function
|
|
37239
|
+
function C(...x) {
|
|
37236
37240
|
return (
|
|
37237
37241
|
/*func*/
|
|
37238
37242
|
e[28](
|
|
37239
37243
|
/*category*/
|
|
37240
37244
|
e[61],
|
|
37241
|
-
...
|
|
37245
|
+
...x
|
|
37242
37246
|
)
|
|
37243
37247
|
);
|
|
37244
37248
|
}
|
|
37245
|
-
let _ =
|
|
37249
|
+
let _ = vt$1(
|
|
37246
37250
|
/*playerConsents*/
|
|
37247
|
-
e[9].filter(
|
|
37248
|
-
),
|
|
37249
|
-
for (let
|
|
37250
|
-
|
|
37251
|
+
e[9].filter(C)
|
|
37252
|
+
), b = [];
|
|
37253
|
+
for (let x = 0; x < _.length; x += 1)
|
|
37254
|
+
b[x] = wt(Et(e, _, x));
|
|
37251
37255
|
return {
|
|
37252
37256
|
c() {
|
|
37253
37257
|
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");
|
|
37254
|
-
for (let
|
|
37255
|
-
|
|
37258
|
+
for (let x = 0; x < b.length; x += 1)
|
|
37259
|
+
b[x].c();
|
|
37256
37260
|
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");
|
|
37257
37261
|
},
|
|
37258
|
-
m(
|
|
37259
|
-
|
|
37262
|
+
m(x, P) {
|
|
37263
|
+
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*/
|
|
37260
37264
|
e[11][
|
|
37261
37265
|
/*category*/
|
|
37262
37266
|
e[61].categoryTagCode
|
|
37263
37267
|
], G(a, h), G(a, u), G(t, l), G(t, d);
|
|
37264
|
-
for (let
|
|
37265
|
-
|
|
37266
|
-
m || (
|
|
37268
|
+
for (let E = 0; E < b.length; E += 1)
|
|
37269
|
+
b[E] && b[E].m(d, null);
|
|
37270
|
+
m || (v = [
|
|
37267
37271
|
wt$1(s, "change", f),
|
|
37268
37272
|
wt$1(s, "change", g)
|
|
37269
37273
|
], m = !0);
|
|
37270
37274
|
},
|
|
37271
|
-
p(
|
|
37272
|
-
if (e =
|
|
37275
|
+
p(x, P) {
|
|
37276
|
+
if (e = x, P[0] & /*$_, consentsCategories*/
|
|
37273
37277
|
65792 && i !== (i = /*$_*/
|
|
37274
37278
|
(e[16](`${/*category*/
|
|
37275
37279
|
e[61].categoryTagCode}__category`) || /*category*/
|
|
@@ -37280,26 +37284,26 @@ function Pt(e) {
|
|
|
37280
37284
|
e[61].categoryTagCode
|
|
37281
37285
|
]), P[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription*/
|
|
37282
37286
|
602896) {
|
|
37283
|
-
_ =
|
|
37287
|
+
_ = vt$1(
|
|
37284
37288
|
/*playerConsents*/
|
|
37285
|
-
e[9].filter(
|
|
37289
|
+
e[9].filter(C)
|
|
37286
37290
|
);
|
|
37287
|
-
let
|
|
37288
|
-
for (
|
|
37289
|
-
const z =
|
|
37290
|
-
|
|
37291
|
+
let E;
|
|
37292
|
+
for (E = 0; E < _.length; E += 1) {
|
|
37293
|
+
const z = Et(e, _, E);
|
|
37294
|
+
b[E] ? b[E].p(z, P) : (b[E] = wt(z), b[E].c(), b[E].m(d, null));
|
|
37291
37295
|
}
|
|
37292
|
-
for (;
|
|
37293
|
-
|
|
37294
|
-
|
|
37296
|
+
for (; E < b.length; E += 1)
|
|
37297
|
+
b[E].d(1);
|
|
37298
|
+
b.length = _.length;
|
|
37295
37299
|
}
|
|
37296
37300
|
},
|
|
37297
|
-
d(
|
|
37298
|
-
|
|
37301
|
+
d(x) {
|
|
37302
|
+
x && y(t), bt$1(b, x), m = !1, p(v);
|
|
37299
37303
|
}
|
|
37300
37304
|
};
|
|
37301
37305
|
}
|
|
37302
|
-
function
|
|
37306
|
+
function At(e) {
|
|
37303
37307
|
let t, r, n, i, o;
|
|
37304
37308
|
return {
|
|
37305
37309
|
c() {
|
|
@@ -37309,7 +37313,7 @@ function Bt(e) {
|
|
|
37309
37313
|
), xt$1(r, "class", "svelte-ltb9q9"), B$1(i, "class", "ErrorMessage svelte-ltb9q9"), B$1(t, "class", "ConsentErrorContainer svelte-ltb9q9");
|
|
37310
37314
|
},
|
|
37311
37315
|
m(a, s) {
|
|
37312
|
-
|
|
37316
|
+
k(a, t, s), G(t, r), G(t, n), G(t, i), G(i, o);
|
|
37313
37317
|
},
|
|
37314
37318
|
p(a, s) {
|
|
37315
37319
|
s[0] & /*errorMessage*/
|
|
@@ -37324,27 +37328,27 @@ function Bt(e) {
|
|
|
37324
37328
|
}
|
|
37325
37329
|
};
|
|
37326
37330
|
}
|
|
37327
|
-
function
|
|
37331
|
+
function Oi(e) {
|
|
37328
37332
|
let t, r;
|
|
37329
37333
|
function n(a, s) {
|
|
37330
37334
|
if (
|
|
37331
37335
|
/*isLoading*/
|
|
37332
37336
|
a[10]
|
|
37333
37337
|
)
|
|
37334
|
-
return
|
|
37338
|
+
return zi;
|
|
37335
37339
|
if (
|
|
37336
37340
|
/*fatalError*/
|
|
37337
37341
|
a[7]
|
|
37338
37342
|
)
|
|
37339
|
-
return
|
|
37343
|
+
return Bi;
|
|
37340
37344
|
if (
|
|
37341
37345
|
/*session*/
|
|
37342
37346
|
a[0]
|
|
37343
37347
|
)
|
|
37344
|
-
return
|
|
37348
|
+
return Pi;
|
|
37345
37349
|
if (!/*session*/
|
|
37346
37350
|
a[0])
|
|
37347
|
-
return
|
|
37351
|
+
return Hi;
|
|
37348
37352
|
}
|
|
37349
37353
|
let i = n(e), o = i && i(e);
|
|
37350
37354
|
return {
|
|
@@ -37352,7 +37356,7 @@ function ji(e) {
|
|
|
37352
37356
|
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");
|
|
37353
37357
|
},
|
|
37354
37358
|
m(a, s) {
|
|
37355
|
-
|
|
37359
|
+
k(a, t, s), G(t, r), o && o.m(r, null), e[32](r);
|
|
37356
37360
|
},
|
|
37357
37361
|
p(a, s) {
|
|
37358
37362
|
i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
|
|
@@ -37364,190 +37368,190 @@ function ji(e) {
|
|
|
37364
37368
|
}
|
|
37365
37369
|
};
|
|
37366
37370
|
}
|
|
37367
|
-
function
|
|
37371
|
+
function Ii(e, t, r) {
|
|
37368
37372
|
let n;
|
|
37369
|
-
_t$1(e,
|
|
37370
|
-
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:
|
|
37373
|
+
_t$1(e, Ti, (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: 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 = {
|
|
37371
37375
|
none: { key: "0", value: "None" },
|
|
37372
37376
|
accepted: { key: "1", value: "Accepted" },
|
|
37373
37377
|
expired: { key: "2", value: "Expired" },
|
|
37374
37378
|
denied: { key: "3", value: "Denied" },
|
|
37375
37379
|
suspended: { key: "4", value: "Suspended" }
|
|
37376
|
-
},
|
|
37377
|
-
Object.keys(
|
|
37378
|
-
|
|
37380
|
+
}, ye = !1;
|
|
37381
|
+
Object.keys(bt).forEach((c) => {
|
|
37382
|
+
_t(c, bt[c]);
|
|
37379
37383
|
});
|
|
37380
|
-
const
|
|
37381
|
-
|
|
37382
|
-
},
|
|
37384
|
+
const ar = () => {
|
|
37385
|
+
Mi(l);
|
|
37386
|
+
}, sr = () => {
|
|
37383
37387
|
let c = new URL(m);
|
|
37384
37388
|
fetch(c.href).then((p) => p.json()).then((p) => {
|
|
37385
|
-
Object.keys(p).forEach((
|
|
37386
|
-
|
|
37389
|
+
Object.keys(p).forEach((M) => {
|
|
37390
|
+
_t(M, p[M]);
|
|
37387
37391
|
});
|
|
37388
37392
|
}).catch((p) => {
|
|
37389
37393
|
console.log(p);
|
|
37390
37394
|
});
|
|
37391
|
-
},
|
|
37392
|
-
i && (
|
|
37393
|
-
},
|
|
37394
|
-
p ? r(7,
|
|
37395
|
-
},
|
|
37395
|
+
}, lr = () => {
|
|
37396
|
+
i && (_ = i, C = !0), o && (b = o);
|
|
37397
|
+
}, Ee = (c, p = !1) => {
|
|
37398
|
+
p ? r(7, P = c) : (gr(), r(6, x = c));
|
|
37399
|
+
}, le = async (c, p, M, y = !1) => {
|
|
37396
37400
|
try {
|
|
37397
|
-
const
|
|
37398
|
-
if (!
|
|
37401
|
+
const T = await fetch(c, M);
|
|
37402
|
+
if (!T.ok)
|
|
37399
37403
|
throw new Error(n(p));
|
|
37400
|
-
const I = await
|
|
37401
|
-
return
|
|
37402
|
-
} catch (
|
|
37403
|
-
throw
|
|
37404
|
-
|
|
37404
|
+
const I = await T.json();
|
|
37405
|
+
return C ? I : I.filter((F) => F.showOnRegister === !0);
|
|
37406
|
+
} catch (T) {
|
|
37407
|
+
throw Ee(
|
|
37408
|
+
T instanceof TypeError ? n(p) : T.message,
|
|
37405
37409
|
y
|
|
37406
|
-
),
|
|
37410
|
+
), T;
|
|
37407
37411
|
}
|
|
37408
|
-
},
|
|
37412
|
+
}, cr = async () => {
|
|
37409
37413
|
try {
|
|
37410
37414
|
let c = [], p = [];
|
|
37411
|
-
if (
|
|
37412
|
-
let y = O.find((
|
|
37415
|
+
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) => {
|
|
37416
|
+
let y = O.find((T) => T.tagCode === M.tagCode);
|
|
37413
37417
|
y || (y = {
|
|
37414
|
-
...
|
|
37418
|
+
...M,
|
|
37415
37419
|
status: R.denied.value
|
|
37416
|
-
}, O.push(y)), y.description =
|
|
37417
|
-
}),
|
|
37418
|
-
if (r(9, O = O.filter((
|
|
37420
|
+
}, O.push(y)), y.description = M.description, y.orderNumber = M.orderNumber;
|
|
37421
|
+
}), v === "true") {
|
|
37422
|
+
if (r(9, O = O.filter((M) => M.status === R.expired.value)), O.length !== 0)
|
|
37419
37423
|
return;
|
|
37420
|
-
|
|
37424
|
+
Ee(n("wrongModalConfig"), !0);
|
|
37421
37425
|
}
|
|
37422
|
-
|
|
37426
|
+
mr();
|
|
37423
37427
|
} catch (c) {
|
|
37424
|
-
throw r(10,
|
|
37428
|
+
throw r(10, ae = !1), Ee(
|
|
37425
37429
|
c instanceof TypeError ? n("invalidUrl") : c.message,
|
|
37426
37430
|
!0
|
|
37427
37431
|
), c;
|
|
37428
37432
|
}
|
|
37429
|
-
},
|
|
37433
|
+
}, $e = async () => {
|
|
37430
37434
|
const c = new URL(`${a}/api/v1/gm/consents`);
|
|
37431
|
-
if (c.searchParams.append("Status", "Active"), !
|
|
37432
|
-
return await
|
|
37433
|
-
const p = new URL(`${a}/api/v1/gm/user-consents/${
|
|
37435
|
+
if (c.searchParams.append("Status", "Active"), !C)
|
|
37436
|
+
return await le(c.href, "fetchConsentsError", { method: "GET" }, !0);
|
|
37437
|
+
const p = new URL(`${a}/api/v1/gm/user-consents/${b}`);
|
|
37434
37438
|
return await Promise.all([
|
|
37435
|
-
|
|
37436
|
-
|
|
37439
|
+
le(c.href, "fetchConsentsError", { method: "GET" }, !0),
|
|
37440
|
+
le(p.href, "fetchPlayerConsentsError", {
|
|
37437
37441
|
method: "GET",
|
|
37438
37442
|
headers: {
|
|
37439
|
-
"X-SessionId":
|
|
37443
|
+
"X-SessionId": _,
|
|
37440
37444
|
"Content-Type": "application/json"
|
|
37441
37445
|
}
|
|
37442
37446
|
})
|
|
37443
37447
|
]);
|
|
37444
|
-
},
|
|
37445
|
-
|
|
37448
|
+
}, ur = () => {
|
|
37449
|
+
ye = !1;
|
|
37446
37450
|
const c = new URL(`${a}/api/v2/gm/legislation/consents`), p = {
|
|
37447
37451
|
"Content-Type": "application/json",
|
|
37448
37452
|
Accept: "application/json"
|
|
37449
|
-
},
|
|
37450
|
-
fetch(c.href,
|
|
37451
|
-
if (!
|
|
37452
|
-
if (
|
|
37453
|
+
}, M = { method: "GET", headers: p };
|
|
37454
|
+
fetch(c.href, M).then((y) => y.ok ? y.json() : (ye = !0, y.json().then((T) => (console.error(T), ke(T))))).then((y) => {
|
|
37455
|
+
if (!ye) {
|
|
37456
|
+
if (z = y, localStorage.getItem("playerConsents")) {
|
|
37453
37457
|
try {
|
|
37454
37458
|
r(9, O = JSON.parse(localStorage.getItem("playerConsents")));
|
|
37455
|
-
} catch (
|
|
37456
|
-
return console.error(
|
|
37459
|
+
} catch (T) {
|
|
37460
|
+
return console.error(T), ke(T);
|
|
37457
37461
|
}
|
|
37458
37462
|
return;
|
|
37459
37463
|
}
|
|
37460
|
-
return r(9, O =
|
|
37461
|
-
id:
|
|
37464
|
+
return r(9, O = z.map((T) => ({
|
|
37465
|
+
id: T.id,
|
|
37462
37466
|
status: R.denied.key,
|
|
37463
|
-
friendlyName:
|
|
37464
|
-
tagCode:
|
|
37467
|
+
friendlyName: T.friendlyName,
|
|
37468
|
+
tagCode: T.tagCode,
|
|
37465
37469
|
selected: null,
|
|
37466
|
-
mustAccept:
|
|
37470
|
+
mustAccept: T.mustAccept
|
|
37467
37471
|
}))), localStorage.setItem("playerConsents", JSON.stringify(O)), O;
|
|
37468
37472
|
}
|
|
37469
|
-
}).catch((y) => (console.error(y),
|
|
37470
|
-
r(10,
|
|
37473
|
+
}).catch((y) => (console.error(y), ke(y))).finally(() => {
|
|
37474
|
+
r(10, ae = !1);
|
|
37471
37475
|
});
|
|
37472
|
-
},
|
|
37476
|
+
}, hr = (c) => {
|
|
37473
37477
|
const p = /* @__PURE__ */ new Map();
|
|
37474
|
-
return c.forEach((
|
|
37475
|
-
p.has(
|
|
37478
|
+
return c.forEach((M) => {
|
|
37479
|
+
p.has(M.category.categoryTagCode) || p.set(M.category.categoryTagCode, M.category);
|
|
37476
37480
|
}), Array.from(p.values());
|
|
37477
|
-
},
|
|
37478
|
-
const p = localStorage.getItem("categoryToggle" +
|
|
37481
|
+
}, dr = (c) => {
|
|
37482
|
+
const p = localStorage.getItem("categoryToggle" + b);
|
|
37479
37483
|
if (p === null) {
|
|
37480
|
-
const
|
|
37481
|
-
(y,
|
|
37484
|
+
const M = c.reduce(
|
|
37485
|
+
(y, T) => (y[T.categoryTagCode] = !1, y),
|
|
37482
37486
|
{}
|
|
37483
37487
|
);
|
|
37484
|
-
return localStorage.setItem("categoryToggle" +
|
|
37488
|
+
return localStorage.setItem("categoryToggle" + b, JSON.stringify(M)), M;
|
|
37485
37489
|
} else
|
|
37486
37490
|
return JSON.parse(p);
|
|
37487
|
-
},
|
|
37491
|
+
}, mr = () => {
|
|
37488
37492
|
O.forEach((c) => {
|
|
37489
|
-
r(12,
|
|
37490
|
-
}), r(13, U = { ...
|
|
37491
|
-
},
|
|
37492
|
-
r(13, U = { ...
|
|
37493
|
-
},
|
|
37494
|
-
if (!
|
|
37493
|
+
r(12, W$1[c.tagCode] = c.status === R.accepted.value, W$1);
|
|
37494
|
+
}), r(13, U = { ...W$1 });
|
|
37495
|
+
}, gr = () => {
|
|
37496
|
+
r(13, U = { ...W$1 }), r(11, G = { ...be });
|
|
37497
|
+
}, pr = async () => {
|
|
37498
|
+
if (!_e)
|
|
37495
37499
|
return;
|
|
37496
|
-
|
|
37500
|
+
_e = !1;
|
|
37497
37501
|
const c = [], p = [];
|
|
37498
37502
|
if (Object.keys(U).forEach((y) => {
|
|
37499
|
-
const
|
|
37500
|
-
U[y] !==
|
|
37503
|
+
const T = O.find((I) => I.tagCode === y);
|
|
37504
|
+
U[y] !== W$1[y] && (T ? c.push({
|
|
37501
37505
|
tagCode: y,
|
|
37502
37506
|
status: U[y] ? R.accepted.value : R.denied.value
|
|
37503
37507
|
}) : p.push({
|
|
37504
37508
|
tagCode: y,
|
|
37505
37509
|
status: U[y] ? R.accepted.value : R.denied.value
|
|
37506
37510
|
}));
|
|
37507
|
-
}), !
|
|
37508
|
-
localStorage.setItem("categoryToggle" +
|
|
37511
|
+
}), !C) {
|
|
37512
|
+
localStorage.setItem("categoryToggle" + b, JSON.stringify(G)), be = { ...G }, window.postMessage(
|
|
37509
37513
|
{
|
|
37510
37514
|
type: "NewPlayerConsentData",
|
|
37511
37515
|
data: JSON.stringify(p)
|
|
37512
37516
|
},
|
|
37513
37517
|
window.location.href
|
|
37514
|
-
),
|
|
37518
|
+
), _e = !0;
|
|
37515
37519
|
return;
|
|
37516
37520
|
}
|
|
37517
|
-
const
|
|
37521
|
+
const M = new URL(`${a}/api/v1/gm/user-consents/${b}`);
|
|
37518
37522
|
try {
|
|
37519
37523
|
const y = await Promise.allSettled([
|
|
37520
|
-
p.length > 0 &&
|
|
37524
|
+
p.length > 0 && le(M.href, "updateConsentsError", {
|
|
37521
37525
|
method: "POST",
|
|
37522
37526
|
headers: {
|
|
37523
|
-
"X-SessionId":
|
|
37527
|
+
"X-SessionId": _,
|
|
37524
37528
|
"Content-Type": "application/json"
|
|
37525
37529
|
},
|
|
37526
37530
|
body: JSON.stringify({ userConsents: p })
|
|
37527
37531
|
}),
|
|
37528
|
-
c.length > 0 &&
|
|
37532
|
+
c.length > 0 && le(M.href, "updateConsentsError", {
|
|
37529
37533
|
method: "PATCH",
|
|
37530
37534
|
headers: {
|
|
37531
|
-
"X-SessionId":
|
|
37535
|
+
"X-SessionId": _,
|
|
37532
37536
|
"Content-Type": "application/json"
|
|
37533
37537
|
},
|
|
37534
37538
|
body: JSON.stringify({ userConsents: c })
|
|
37535
37539
|
})
|
|
37536
37540
|
]);
|
|
37537
|
-
y.forEach((
|
|
37538
|
-
if (
|
|
37541
|
+
y.forEach((T, I) => {
|
|
37542
|
+
if (T.status === "rejected" || T.value.ok === !1) {
|
|
37539
37543
|
const F = I < p.length ? p[I] : c[I - p.length];
|
|
37540
|
-
r(13, U[F.tagCode] =
|
|
37544
|
+
r(13, U[F.tagCode] = W$1[F.tagCode], U);
|
|
37541
37545
|
}
|
|
37542
|
-
}), y.every((
|
|
37546
|
+
}), y.every((T) => T.status === "fulfilled") && (localStorage.setItem("categoryToggle" + b, JSON.stringify(G)), be = { ...G }, window.postMessage(
|
|
37543
37547
|
{
|
|
37544
37548
|
type: "PlayerConsentUpdated",
|
|
37545
37549
|
success: !0
|
|
37546
37550
|
},
|
|
37547
37551
|
window.location.href
|
|
37548
|
-
), r(12,
|
|
37552
|
+
), r(12, W$1 = { ...U }));
|
|
37549
37553
|
} catch (y) {
|
|
37550
|
-
|
|
37554
|
+
Ee(y instanceof TypeError ? n("saveChangesError") : y.message), window.postMessage(
|
|
37551
37555
|
{
|
|
37552
37556
|
type: "PlayerConsentUpdated",
|
|
37553
37557
|
success: !1
|
|
@@ -37555,58 +37559,58 @@ function Li(e, t, r) {
|
|
|
37555
37559
|
window.location.href
|
|
37556
37560
|
);
|
|
37557
37561
|
} finally {
|
|
37558
|
-
|
|
37562
|
+
_e = !0, r(14, se = !1);
|
|
37559
37563
|
}
|
|
37560
|
-
},
|
|
37561
|
-
const p = new URL(`${a}/api/v2/gm/legislation/consents`),
|
|
37564
|
+
}, fr = (c) => {
|
|
37565
|
+
const p = new URL(`${a}/api/v2/gm/legislation/consents`), M = {
|
|
37562
37566
|
"Content-Type": "application/json",
|
|
37563
37567
|
Accept: "application/json"
|
|
37564
37568
|
}, y = {
|
|
37565
37569
|
playerConsents: O,
|
|
37566
37570
|
registrationId: c
|
|
37567
|
-
},
|
|
37571
|
+
}, T = {
|
|
37568
37572
|
method: "POST",
|
|
37569
37573
|
body: JSON.stringify(y),
|
|
37570
|
-
headers:
|
|
37574
|
+
headers: M
|
|
37571
37575
|
};
|
|
37572
|
-
fetch(p.href,
|
|
37573
|
-
I.ok || (
|
|
37574
|
-
}).catch((I) => (console.error(I),
|
|
37575
|
-
r(10,
|
|
37576
|
+
fetch(p.href, T).then((I) => {
|
|
37577
|
+
I.ok || (ye = !0);
|
|
37578
|
+
}).catch((I) => (console.error(I), ke(I))).finally(() => {
|
|
37579
|
+
r(10, ae = !1);
|
|
37576
37580
|
});
|
|
37577
|
-
},
|
|
37581
|
+
}, et = (c) => {
|
|
37578
37582
|
O.filter((p) => p.category.categoryTagCode === c).forEach((p) => {
|
|
37579
37583
|
p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[p.tagCode] = G[c] || !1, U);
|
|
37580
|
-
}), r(14,
|
|
37581
|
-
},
|
|
37582
|
-
const y = O.find((F) => F.id ===
|
|
37584
|
+
}), r(14, se = tt());
|
|
37585
|
+
}, Be = (c, p, M) => {
|
|
37586
|
+
const y = O.find((F) => F.id === M), T = p ? "value" : "key";
|
|
37583
37587
|
let I;
|
|
37584
37588
|
if (!p && y.mustAccept) {
|
|
37585
|
-
const F = Array.from(
|
|
37586
|
-
for (const
|
|
37587
|
-
if (I = Array.from(
|
|
37589
|
+
const F = Array.from(ve.children);
|
|
37590
|
+
for (const ce of F)
|
|
37591
|
+
if (I = Array.from(ce.children).find((Mr) => Mr.getAttribute("id") === `checkBoxError__${y.tagCode}`), I)
|
|
37588
37592
|
break;
|
|
37589
37593
|
}
|
|
37590
|
-
if (y.status === R.accepted[
|
|
37594
|
+
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) {
|
|
37591
37595
|
r(13, U[y.tagCode] = !U[y.tagCode], U);
|
|
37592
|
-
const F = O.filter((
|
|
37596
|
+
const F = O.filter((ce) => ce.category.categoryTagCode === p.categoryTagCode).every((ce) => ce.status !== R.denied.value);
|
|
37593
37597
|
r(11, G[p.categoryTagCode] = F, G);
|
|
37594
37598
|
}
|
|
37595
|
-
|
|
37596
|
-
},
|
|
37597
|
-
let
|
|
37599
|
+
_r();
|
|
37600
|
+
}, _r = ((c, p) => {
|
|
37601
|
+
let M;
|
|
37598
37602
|
return function(...y) {
|
|
37599
|
-
const
|
|
37600
|
-
clearTimeout(
|
|
37603
|
+
const T = this;
|
|
37604
|
+
clearTimeout(M), M = setTimeout(
|
|
37601
37605
|
() => {
|
|
37602
|
-
c.apply(
|
|
37606
|
+
c.apply(T, y);
|
|
37603
37607
|
},
|
|
37604
37608
|
p
|
|
37605
37609
|
);
|
|
37606
37610
|
};
|
|
37607
|
-
})(() =>
|
|
37608
|
-
r(14,
|
|
37609
|
-
},
|
|
37611
|
+
})(() => br(), 500), br = () => {
|
|
37612
|
+
r(14, se = tt()), i || (window.postMessage({ type: "isConsentsValid", isValid: se }), localStorage.setItem("playerConsents", JSON.stringify(O)));
|
|
37613
|
+
}, 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) => {
|
|
37610
37614
|
window.postMessage(
|
|
37611
37615
|
{
|
|
37612
37616
|
type: "WidgetNotification",
|
|
@@ -37614,46 +37618,46 @@ function Li(e, t, r) {
|
|
|
37614
37618
|
},
|
|
37615
37619
|
window.location.href
|
|
37616
37620
|
);
|
|
37617
|
-
},
|
|
37618
|
-
c.data && c.data.type !== "setUpPlayerConsents" ||
|
|
37621
|
+
}, vr = (c) => {
|
|
37622
|
+
c.data && c.data.type !== "setUpPlayerConsents" || fr(c.data.registerid);
|
|
37619
37623
|
};
|
|
37620
37624
|
W(() => {
|
|
37621
37625
|
setTimeout(
|
|
37622
37626
|
() => {
|
|
37623
|
-
r(25,
|
|
37627
|
+
r(25, g = !0);
|
|
37624
37628
|
},
|
|
37625
37629
|
50
|
|
37626
37630
|
);
|
|
37627
|
-
const c = (p) =>
|
|
37631
|
+
const c = (p) => vr(p);
|
|
37628
37632
|
return window.addEventListener("message", c), () => {
|
|
37629
|
-
window.
|
|
37633
|
+
window.removeEventListener("message", c);
|
|
37630
37634
|
};
|
|
37631
37635
|
});
|
|
37632
|
-
function
|
|
37636
|
+
function yr(c) {
|
|
37633
37637
|
G[c.categoryTagCode] = this.checked, r(11, G);
|
|
37634
37638
|
}
|
|
37635
|
-
const
|
|
37636
|
-
function
|
|
37639
|
+
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);
|
|
37640
|
+
function xr(c) {
|
|
37637
37641
|
E[c ? "unshift" : "push"](() => {
|
|
37638
|
-
|
|
37642
|
+
ve = c, r(15, ve);
|
|
37639
37643
|
});
|
|
37640
37644
|
}
|
|
37641
|
-
function
|
|
37645
|
+
function Tr(c) {
|
|
37642
37646
|
E[c ? "unshift" : "push"](() => {
|
|
37643
37647
|
f = c, r(5, f);
|
|
37644
37648
|
});
|
|
37645
37649
|
}
|
|
37646
37650
|
return e.$$set = (c) => {
|
|
37647
|
-
"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,
|
|
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, v = c.modalconsents);
|
|
37648
37652
|
}, e.$$.update = () => {
|
|
37649
37653
|
e.$$.dirty[0] & /*isMounted, session*/
|
|
37650
|
-
33554433 &&
|
|
37651
|
-
1 && (i ||
|
|
37654
|
+
33554433 && g && i && (lr(), cr()), e.$$.dirty[0] & /*session*/
|
|
37655
|
+
1 && (i || ur()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
37652
37656
|
34 && s && f && ft$1(f, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
37653
37657
|
36 && h && f && dt$1(f, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
37654
|
-
40 && f && at(f, `${u}.Style`), e.$$.dirty[0] & /*lang*/
|
|
37655
|
-
4194304 && l &&
|
|
37656
|
-
8388608 && m &&
|
|
37658
|
+
40 && f && at$1(f, `${u}.Style`), e.$$.dirty[0] & /*lang*/
|
|
37659
|
+
4194304 && l && ar(), e.$$.dirty[0] & /*translationurl*/
|
|
37660
|
+
8388608 && m && sr();
|
|
37657
37661
|
}, [
|
|
37658
37662
|
i,
|
|
37659
37663
|
s,
|
|
@@ -37661,42 +37665,42 @@ function Li(e, t, r) {
|
|
|
37661
37665
|
u,
|
|
37662
37666
|
d,
|
|
37663
37667
|
f,
|
|
37668
|
+
x,
|
|
37664
37669
|
P,
|
|
37665
|
-
|
|
37666
|
-
z,
|
|
37670
|
+
E$1,
|
|
37667
37671
|
O,
|
|
37668
|
-
|
|
37672
|
+
ae,
|
|
37669
37673
|
G,
|
|
37670
|
-
|
|
37674
|
+
W$1,
|
|
37671
37675
|
U,
|
|
37672
|
-
|
|
37673
|
-
|
|
37676
|
+
se,
|
|
37677
|
+
ve,
|
|
37674
37678
|
n,
|
|
37675
|
-
|
|
37676
|
-
|
|
37677
|
-
|
|
37679
|
+
pr,
|
|
37680
|
+
et,
|
|
37681
|
+
Be,
|
|
37678
37682
|
o,
|
|
37679
37683
|
a,
|
|
37680
37684
|
l,
|
|
37681
37685
|
m,
|
|
37682
|
-
|
|
37683
|
-
|
|
37686
|
+
v,
|
|
37687
|
+
g,
|
|
37688
|
+
yr,
|
|
37689
|
+
Er,
|
|
37690
|
+
kr,
|
|
37684
37691
|
Cr,
|
|
37685
37692
|
Sr,
|
|
37686
37693
|
xr,
|
|
37687
|
-
|
|
37688
|
-
Tr,
|
|
37689
|
-
wr,
|
|
37690
|
-
Nr
|
|
37694
|
+
Tr
|
|
37691
37695
|
];
|
|
37692
37696
|
}
|
|
37693
|
-
class
|
|
37697
|
+
class ji extends lt$1 {
|
|
37694
37698
|
constructor(t) {
|
|
37695
37699
|
super(), ct$1(
|
|
37696
37700
|
this,
|
|
37697
37701
|
t,
|
|
37698
|
-
|
|
37699
|
-
|
|
37702
|
+
Ii,
|
|
37703
|
+
Oi,
|
|
37700
37704
|
z,
|
|
37701
37705
|
{
|
|
37702
37706
|
session: 0,
|
|
@@ -37710,7 +37714,7 @@ class Ri extends lt$1 {
|
|
|
37710
37714
|
translationurl: 23,
|
|
37711
37715
|
modalconsents: 24
|
|
37712
37716
|
},
|
|
37713
|
-
|
|
37717
|
+
Ai,
|
|
37714
37718
|
[-1, -1, -1]
|
|
37715
37719
|
);
|
|
37716
37720
|
}
|
|
@@ -37775,7 +37779,7 @@ class Ri extends lt$1 {
|
|
|
37775
37779
|
this.$$set({ modalconsents: t }), _();
|
|
37776
37780
|
}
|
|
37777
37781
|
}
|
|
37778
|
-
ot(
|
|
37782
|
+
ot$1(ji, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
|
|
37779
37783
|
|
|
37780
37784
|
function r(t) {
|
|
37781
37785
|
return function(...n) {
|
|
@@ -37789,7 +37793,7 @@ function r(t) {
|
|
|
37789
37793
|
};
|
|
37790
37794
|
}
|
|
37791
37795
|
customElements.define = r(customElements.define);
|
|
37792
|
-
!customElements.get("player-consents") && customElements.define("player-consents",
|
|
37796
|
+
!customElements.get("player-consents") && customElements.define("player-consents", ji.element);
|
|
37793
37797
|
|
|
37794
37798
|
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}";
|
|
37795
37799
|
const GeneralRegistrationStyle0 = generalRegistrationCss;
|
|
@@ -45451,8 +45455,10 @@ const TelInput = class {
|
|
|
45451
45455
|
if (this.action.split(" ")[0] == 'GET') {
|
|
45452
45456
|
const endpoint = this.action.split(" ")[1];
|
|
45453
45457
|
return this.getPhoneCodes(endpoint).then((options) => {
|
|
45454
|
-
this.phoneCodesOptions = options.phoneCodes.map(code => {
|
|
45455
|
-
return
|
|
45458
|
+
this.phoneCodesOptions = options.phoneCodes.map((code) => {
|
|
45459
|
+
return typeof code === "object" && code.Prefix
|
|
45460
|
+
? { label: code.Prefix, value: code.Prefix }
|
|
45461
|
+
: { label: code, value: code };
|
|
45456
45462
|
});
|
|
45457
45463
|
});
|
|
45458
45464
|
}
|
|
@@ -45526,8 +45532,8 @@ const TelInput = class {
|
|
|
45526
45532
|
if (this.touched) {
|
|
45527
45533
|
invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
|
|
45528
45534
|
}
|
|
45529
|
-
return h$3("div", { key: '
|
|
45530
|
-
h$3("img", { key: '
|
|
45535
|
+
return h$3("div", { key: 'c301ee1d0c8c256a5f85275d0693c62c7098a537', class: `tel__wrapper ${this.autofilled ? 'tel__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: '4e3b00c3df0e3cd225fcaad8b53dd715a74da455', class: 'tel__wrapper--flex-label' }, h$3("label", { key: 'd7a0c5e439a49a42acf0ca8d65bd91abcea5ca87', class: `tel__label ${this.validation.mandatory ? 'tel__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$3("div", { key: '6ab717e5c3ca495fb5e840a7f7f071b9cb791b54', class: 'tel__wrapper--relative' }, this.tooltip &&
|
|
45536
|
+
h$3("img", { key: '54d9bc2283e91af42aca08340e55c404d57cc690', class: 'tel__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$3("div", { key: '7ef8e2f8c5bdcfd228a1ca5debe0de39a066ded0', class: `tel__wrapper--flex ${invalidClass}` }, h$3("vaadin-combo-box", { key: 'b182d7bc2242f9d2f604360b372a29ebfbae8ca7', class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onChange: (e) => this.handlePrefixInput(e) }), h$3("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 })), h$3("small", { key: '3b427400644daa103a48429d7cf1e139ac6fa73d', class: 'tel__error-message' }, this.errorMessage));
|
|
45531
45537
|
}
|
|
45532
45538
|
static get watchers() { return {
|
|
45533
45539
|
"clientStyling": ["handleStylingChange"],
|