@everymatrix/general-registration 1.56.1 → 1.56.2
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 +1047 -962
- package/dist/cjs/general-registration.cjs.js +2 -2
- package/dist/cjs/{index-59ba6f69.js → index-4ad59840.js} +132 -277
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/general-registration/general-registration.js +19 -48
- package/dist/esm/checkbox-group-input_13.entry.js +1047 -962
- package/dist/esm/general-registration.js +3 -3
- package/dist/esm/{index-de907516.js → index-14f0c56e.js} +132 -277
- package/dist/esm/loader.js +2 -2
- package/dist/general-registration/general-registration.esm.js +1 -1
- package/dist/general-registration/{p-439f617f.entry.js → p-290ae59c.entry.js} +140 -126
- package/dist/general-registration/p-59a2915a.js +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +2 -0
- package/dist/types/components.d.ts +0 -48
- package/dist/types/stencil-public-runtime.d.ts +0 -6
- package/package.json +1 -1
- package/dist/general-registration/p-f0564129.js +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +0 -2
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-input/src/utils/types.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h as h$3, g as getElement, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h as h$3, g as getElement, H as Host } from './index-14f0c56e.js';
|
|
2
2
|
|
|
3
3
|
const DEFAULT_LANGUAGE$1 = 'en';
|
|
4
4
|
const TRANSLATIONS$1 = {
|
|
@@ -218,7 +218,7 @@ const t$1=globalThis,e$2=t$1.ShadowRoot&&(void 0===t$1.ShadyCSS||t$1.ShadyCSS.na
|
|
|
218
218
|
* Copyright 2017 Google LLC
|
|
219
219
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
220
220
|
*/
|
|
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,$$
|
|
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,$$1=/^(?:script|style|textarea|title)$/i,T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A=new WeakMap,C=r$2.createTreeWalker(r$2,129);function P$1(t,i){if(!a$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v$1:void 0!==u[1]?c=_$1:void 0!==u[2]?($$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):void 0!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$1:'"'===u[3]?g$1:p$1):c===g$1||c===p$1?c=m$1:c===v$1||c===_$1?c=f:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e+s.slice(d)+h$1+x):s+h$1+(-2===d?i:x);}return [P$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N$1{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1(t,s);if(this.el=N$1.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e)){const i=v[a++],s=r.getAttribute(t).split(h$1),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$2:"?"===e[1]?I$1:"@"===e[1]?L$1:k$1}),r.removeAttribute(t);}else t.startsWith(h$1)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$1),s=t.length-1;if(s>0){r.textContent=i$1?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$1,t+1));)d.push({type:7,index:c}),t+=h$1.length-1;}c++;}}static createElement(t,i){const s=r$2.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T$1)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M$1{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$2).importNode(i,!0);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$2,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R$1{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E$1||null==t||""===t?(this._$AH!==E$1&&this._$AR(),this._$AH=E$1):t!==this._$AH&&t!==T$1&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$2.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$1.createElement(P$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N$1(t)),i}k(t){a$1(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R$1(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k$1{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E$1?t=E$1:t!==E$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H$2 extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1?void 0:t;}}class I$1 extends k$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1);}}class L$1 extends k$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E$1)===T$1)return;const s=this._$AH,e=t===E$1&&s!==E$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1&&(s===E$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z$1{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j$1=t.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t.litHtmlVersions??=[]).push("3.2.1");const B$2=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
222
222
|
|
|
223
223
|
/**
|
|
224
224
|
* @license
|
|
@@ -15136,23 +15136,27 @@ const CheckboxGroupInput = class {
|
|
|
15136
15136
|
registerInstance(this, hostRef);
|
|
15137
15137
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
15138
15138
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
15139
|
-
/**
|
|
15140
|
-
* Default value for the input.
|
|
15141
|
-
*/
|
|
15142
|
-
this.defaultValue = '';
|
|
15143
|
-
/**
|
|
15144
|
-
* Client custom styling via inline style
|
|
15145
|
-
*/
|
|
15146
|
-
this.clientStyling = '';
|
|
15147
|
-
this.limitStylingAppends = false;
|
|
15148
|
-
this.showTooltip = false;
|
|
15149
|
-
this.selectedValues = [];
|
|
15150
15139
|
this.value = null;
|
|
15151
15140
|
this.setClientStyling = () => {
|
|
15152
15141
|
let sheet = document.createElement('style');
|
|
15153
15142
|
sheet.innerHTML = this.clientStyling;
|
|
15154
15143
|
this.stylingContainer.prepend(sheet);
|
|
15155
15144
|
};
|
|
15145
|
+
this.name = undefined;
|
|
15146
|
+
this.displayName = undefined;
|
|
15147
|
+
this.defaultValue = '';
|
|
15148
|
+
this.autofilled = undefined;
|
|
15149
|
+
this.tooltip = undefined;
|
|
15150
|
+
this.options = undefined;
|
|
15151
|
+
this.validation = undefined;
|
|
15152
|
+
this.language = undefined;
|
|
15153
|
+
this.emitValue = undefined;
|
|
15154
|
+
this.clientStyling = '';
|
|
15155
|
+
this.errorMessage = undefined;
|
|
15156
|
+
this.isValid = undefined;
|
|
15157
|
+
this.limitStylingAppends = false;
|
|
15158
|
+
this.showTooltip = false;
|
|
15159
|
+
this.selectedValues = [];
|
|
15156
15160
|
}
|
|
15157
15161
|
handleStylingChange(newValue, oldValue) {
|
|
15158
15162
|
if (newValue !== oldValue)
|
|
@@ -15255,22 +15259,25 @@ const CheckboxInput = class {
|
|
|
15255
15259
|
registerInstance(this, hostRef);
|
|
15256
15260
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
15257
15261
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
15258
|
-
/**
|
|
15259
|
-
* Default value for the input.
|
|
15260
|
-
*/
|
|
15261
|
-
this.defaultValue = '';
|
|
15262
|
-
/**
|
|
15263
|
-
* Client custom styling via inline style
|
|
15264
|
-
*/
|
|
15265
|
-
this.clientStyling = '';
|
|
15266
|
-
this.limitStylingAppends = false;
|
|
15267
|
-
this.showTooltip = false;
|
|
15268
15262
|
this.value = '';
|
|
15269
15263
|
this.setClientStyling = () => {
|
|
15270
15264
|
let sheet = document.createElement('style');
|
|
15271
15265
|
sheet.innerHTML = this.clientStyling;
|
|
15272
15266
|
this.stylingContainer.prepend(sheet);
|
|
15273
15267
|
};
|
|
15268
|
+
this.name = undefined;
|
|
15269
|
+
this.displayName = undefined;
|
|
15270
|
+
this.defaultValue = '';
|
|
15271
|
+
this.autofilled = undefined;
|
|
15272
|
+
this.tooltip = undefined;
|
|
15273
|
+
this.validation = undefined;
|
|
15274
|
+
this.language = undefined;
|
|
15275
|
+
this.emitValue = undefined;
|
|
15276
|
+
this.clientStyling = '';
|
|
15277
|
+
this.errorMessage = undefined;
|
|
15278
|
+
this.isValid = undefined;
|
|
15279
|
+
this.limitStylingAppends = false;
|
|
15280
|
+
this.showTooltip = false;
|
|
15274
15281
|
}
|
|
15275
15282
|
handleStylingChange(newValue, oldValue) {
|
|
15276
15283
|
if (newValue !== oldValue)
|
|
@@ -30836,16 +30843,6 @@ const DateInput = class {
|
|
|
30836
30843
|
registerInstance(this, hostRef);
|
|
30837
30844
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
30838
30845
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
30839
|
-
/**
|
|
30840
|
-
* Client custom styling via inline style
|
|
30841
|
-
*/
|
|
30842
|
-
this.clientStyling = '';
|
|
30843
|
-
/**
|
|
30844
|
-
* Emit event on click
|
|
30845
|
-
*/
|
|
30846
|
-
this.emitOnClick = false;
|
|
30847
|
-
this.limitStylingAppends = false;
|
|
30848
|
-
this.showTooltip = false;
|
|
30849
30846
|
this.touched = false;
|
|
30850
30847
|
this.formatDate = (dateParts) => {
|
|
30851
30848
|
const { year, month, day } = dateParts;
|
|
@@ -30866,6 +30863,22 @@ const DateInput = class {
|
|
|
30866
30863
|
sheet.innerHTML = this.clientStyling;
|
|
30867
30864
|
this.stylingContainer.prepend(sheet);
|
|
30868
30865
|
};
|
|
30866
|
+
this.name = undefined;
|
|
30867
|
+
this.displayName = undefined;
|
|
30868
|
+
this.placeholder = undefined;
|
|
30869
|
+
this.validation = undefined;
|
|
30870
|
+
this.defaultValue = undefined;
|
|
30871
|
+
this.autofilled = undefined;
|
|
30872
|
+
this.tooltip = undefined;
|
|
30873
|
+
this.language = undefined;
|
|
30874
|
+
this.emitValue = undefined;
|
|
30875
|
+
this.clientStyling = '';
|
|
30876
|
+
this.dateFormat = undefined;
|
|
30877
|
+
this.emitOnClick = false;
|
|
30878
|
+
this.errorMessage = undefined;
|
|
30879
|
+
this.isValid = undefined;
|
|
30880
|
+
this.limitStylingAppends = false;
|
|
30881
|
+
this.showTooltip = false;
|
|
30869
30882
|
}
|
|
30870
30883
|
handleStylingChange(newValue, oldValue) {
|
|
30871
30884
|
if (newValue !== oldValue)
|
|
@@ -30987,12 +31000,6 @@ const EmailInput = class {
|
|
|
30987
31000
|
registerInstance(this, hostRef);
|
|
30988
31001
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
30989
31002
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
30990
|
-
/**
|
|
30991
|
-
* Client custom styling via inline style
|
|
30992
|
-
*/
|
|
30993
|
-
this.clientStyling = '';
|
|
30994
|
-
this.limitStylingAppends = false;
|
|
30995
|
-
this.showTooltip = false;
|
|
30996
31003
|
this.validationPattern = '';
|
|
30997
31004
|
this.touched = false;
|
|
30998
31005
|
this.handleInput = (event) => {
|
|
@@ -31017,6 +31024,21 @@ const EmailInput = class {
|
|
|
31017
31024
|
sheet.innerHTML = this.clientStyling;
|
|
31018
31025
|
this.stylingContainer.prepend(sheet);
|
|
31019
31026
|
};
|
|
31027
|
+
this.name = undefined;
|
|
31028
|
+
this.displayName = undefined;
|
|
31029
|
+
this.placeholder = undefined;
|
|
31030
|
+
this.validation = undefined;
|
|
31031
|
+
this.defaultValue = undefined;
|
|
31032
|
+
this.autofilled = undefined;
|
|
31033
|
+
this.tooltip = undefined;
|
|
31034
|
+
this.language = undefined;
|
|
31035
|
+
this.emitValue = undefined;
|
|
31036
|
+
this.isDuplicateInput = undefined;
|
|
31037
|
+
this.clientStyling = '';
|
|
31038
|
+
this.errorMessage = undefined;
|
|
31039
|
+
this.isValid = undefined;
|
|
31040
|
+
this.limitStylingAppends = false;
|
|
31041
|
+
this.showTooltip = false;
|
|
31020
31042
|
}
|
|
31021
31043
|
handleStylingChange(newValue, oldValue) {
|
|
31022
31044
|
if (newValue !== oldValue)
|
|
@@ -31127,28 +31149,29 @@ const GeneralInputStyle0 = generalInputCss;
|
|
|
31127
31149
|
const GeneralInput = class {
|
|
31128
31150
|
constructor(hostRef) {
|
|
31129
31151
|
registerInstance(this, hostRef);
|
|
31130
|
-
/**
|
|
31131
|
-
* Type the general-input should take. Can take the default HTML input values.
|
|
31132
|
-
*/
|
|
31133
|
-
this.type = 'text';
|
|
31134
|
-
/**
|
|
31135
|
-
* Client custom styling via inline style
|
|
31136
|
-
*/
|
|
31137
|
-
this.clientStyling = '';
|
|
31138
|
-
/**
|
|
31139
|
-
* Translations via URL
|
|
31140
|
-
*/
|
|
31141
|
-
this.translationUrl = '';
|
|
31142
|
-
/**
|
|
31143
|
-
* Emit event on click
|
|
31144
|
-
*/
|
|
31145
|
-
this.emitOnClick = false;
|
|
31146
31152
|
this.handleClick = (event) => {
|
|
31147
31153
|
if (this.emitOnClick) {
|
|
31148
31154
|
event.stopPropagation();
|
|
31149
31155
|
window.postMessage({ type: `registration${this.name}Clicked` }, window.location.href);
|
|
31150
31156
|
}
|
|
31151
31157
|
};
|
|
31158
|
+
this.type = 'text';
|
|
31159
|
+
this.name = undefined;
|
|
31160
|
+
this.displayName = undefined;
|
|
31161
|
+
this.placeholder = undefined;
|
|
31162
|
+
this.action = undefined;
|
|
31163
|
+
this.validation = undefined;
|
|
31164
|
+
this.options = undefined;
|
|
31165
|
+
this.language = undefined;
|
|
31166
|
+
this.autofilled = undefined;
|
|
31167
|
+
this.tooltip = undefined;
|
|
31168
|
+
this.defaultValue = undefined;
|
|
31169
|
+
this.emitValue = undefined;
|
|
31170
|
+
this.isDuplicateInput = undefined;
|
|
31171
|
+
this.clientStyling = '';
|
|
31172
|
+
this.dateFormat = undefined;
|
|
31173
|
+
this.translationUrl = '';
|
|
31174
|
+
this.emitOnClick = false;
|
|
31152
31175
|
}
|
|
31153
31176
|
connectedCallback() {
|
|
31154
31177
|
if (this.translationUrl) {
|
|
@@ -32258,7 +32281,7 @@ function _t$1(t, e, n) {
|
|
|
32258
32281
|
t.$$.on_destroy.push(D$1(e, n));
|
|
32259
32282
|
}
|
|
32260
32283
|
function gt$1(t) {
|
|
32261
|
-
return t;
|
|
32284
|
+
return t ?? "";
|
|
32262
32285
|
}
|
|
32263
32286
|
function G(t, e) {
|
|
32264
32287
|
t.appendChild(e);
|
|
@@ -32267,11 +32290,12 @@ function I(t, e, n) {
|
|
|
32267
32290
|
const s = F(t);
|
|
32268
32291
|
if (!s.getElementById(e)) {
|
|
32269
32292
|
const i = w$1("style");
|
|
32270
|
-
i.id = e, i.textContent = n, J(s, i);
|
|
32293
|
+
i.id = e, i.textContent = n, J$1(s, i);
|
|
32271
32294
|
}
|
|
32272
32295
|
}
|
|
32273
32296
|
function F(t) {
|
|
32274
|
-
if (!t)
|
|
32297
|
+
if (!t)
|
|
32298
|
+
return document;
|
|
32275
32299
|
const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
|
|
32276
32300
|
return e && /** @type {ShadowRoot} */
|
|
32277
32301
|
e.host ? (
|
|
@@ -32279,14 +32303,14 @@ function F(t) {
|
|
|
32279
32303
|
e
|
|
32280
32304
|
) : t.ownerDocument;
|
|
32281
32305
|
}
|
|
32282
|
-
function J(t, e) {
|
|
32306
|
+
function J$1(t, e) {
|
|
32283
32307
|
return G(
|
|
32284
32308
|
/** @type {Document} */
|
|
32285
32309
|
t.head || t,
|
|
32286
32310
|
e
|
|
32287
32311
|
), e.sheet;
|
|
32288
32312
|
}
|
|
32289
|
-
function
|
|
32313
|
+
function v(t, e, n) {
|
|
32290
32314
|
t.insertBefore(e, n || null);
|
|
32291
32315
|
}
|
|
32292
32316
|
function y(t) {
|
|
@@ -32328,7 +32352,7 @@ function Et$1(t, e) {
|
|
|
32328
32352
|
e = "" + e, t.data !== e && (t.data = /** @type {string} */
|
|
32329
32353
|
e);
|
|
32330
32354
|
}
|
|
32331
|
-
class Lt
|
|
32355
|
+
class Lt {
|
|
32332
32356
|
/**
|
|
32333
32357
|
* @private
|
|
32334
32358
|
* @default false
|
|
@@ -32383,7 +32407,7 @@ class Lt$1 {
|
|
|
32383
32407
|
* @returns {void} */
|
|
32384
32408
|
i(e) {
|
|
32385
32409
|
for (let n = 0; n < this.n.length; n += 1)
|
|
32386
|
-
|
|
32410
|
+
v(this.t, this.n[n], e);
|
|
32387
32411
|
}
|
|
32388
32412
|
/**
|
|
32389
32413
|
* @param {string} html
|
|
@@ -32398,7 +32422,7 @@ class Lt$1 {
|
|
|
32398
32422
|
this.n.forEach(y);
|
|
32399
32423
|
}
|
|
32400
32424
|
}
|
|
32401
|
-
function K(t) {
|
|
32425
|
+
function K$1(t) {
|
|
32402
32426
|
const e = {};
|
|
32403
32427
|
return t.childNodes.forEach(
|
|
32404
32428
|
/** @param {Element} node */
|
|
@@ -32411,22 +32435,23 @@ let g;
|
|
|
32411
32435
|
function m(t) {
|
|
32412
32436
|
g = t;
|
|
32413
32437
|
}
|
|
32414
|
-
function Q
|
|
32415
|
-
if (!g)
|
|
32438
|
+
function Q() {
|
|
32439
|
+
if (!g)
|
|
32440
|
+
throw new Error("Function called outside component initialization");
|
|
32416
32441
|
return g;
|
|
32417
32442
|
}
|
|
32418
32443
|
function W(t) {
|
|
32419
|
-
Q
|
|
32444
|
+
Q().$$.on_mount.push(t);
|
|
32420
32445
|
}
|
|
32421
32446
|
const h = [], E = [];
|
|
32422
|
-
let
|
|
32447
|
+
let $ = [];
|
|
32423
32448
|
const j = [], X = /* @__PURE__ */ Promise.resolve();
|
|
32424
32449
|
let L = !1;
|
|
32425
32450
|
function Y$1() {
|
|
32426
32451
|
L || (L = !0, X.then(_));
|
|
32427
32452
|
}
|
|
32428
|
-
function
|
|
32429
|
-
|
|
32453
|
+
function k(t) {
|
|
32454
|
+
$.push(t);
|
|
32430
32455
|
}
|
|
32431
32456
|
const x = /* @__PURE__ */ new Set();
|
|
32432
32457
|
let a = 0;
|
|
@@ -32438,50 +32463,51 @@ function _() {
|
|
|
32438
32463
|
try {
|
|
32439
32464
|
for (; a < h.length; ) {
|
|
32440
32465
|
const e = h[a];
|
|
32441
|
-
a++, m(e), Z
|
|
32466
|
+
a++, m(e), Z(e.$$);
|
|
32442
32467
|
}
|
|
32443
32468
|
} catch (e) {
|
|
32444
32469
|
throw h.length = 0, a = 0, e;
|
|
32445
32470
|
}
|
|
32446
|
-
for (m(null), h.length = 0, a = 0; E.length; )
|
|
32447
|
-
|
|
32448
|
-
|
|
32471
|
+
for (m(null), h.length = 0, a = 0; E.length; )
|
|
32472
|
+
E.pop()();
|
|
32473
|
+
for (let e = 0; e < $.length; e += 1) {
|
|
32474
|
+
const n = $[e];
|
|
32449
32475
|
x.has(n) || (x.add(n), n());
|
|
32450
32476
|
}
|
|
32451
|
-
|
|
32477
|
+
$.length = 0;
|
|
32452
32478
|
} while (h.length);
|
|
32453
32479
|
for (; j.length; )
|
|
32454
32480
|
j.pop()();
|
|
32455
32481
|
L = !1, x.clear(), m(t);
|
|
32456
32482
|
}
|
|
32457
|
-
function Z
|
|
32483
|
+
function Z(t) {
|
|
32458
32484
|
if (t.fragment !== null) {
|
|
32459
32485
|
t.update(), p(t.before_update);
|
|
32460
32486
|
const e = t.dirty;
|
|
32461
|
-
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(
|
|
32487
|
+
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(k);
|
|
32462
32488
|
}
|
|
32463
32489
|
}
|
|
32464
|
-
function tt(t) {
|
|
32490
|
+
function tt$1(t) {
|
|
32465
32491
|
const e = [], n = [];
|
|
32466
|
-
|
|
32492
|
+
$.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), $ = e;
|
|
32467
32493
|
}
|
|
32468
|
-
const et = /* @__PURE__ */ new Set();
|
|
32494
|
+
const et$1 = /* @__PURE__ */ new Set();
|
|
32469
32495
|
function nt(t, e) {
|
|
32470
|
-
t && t.i && (et.delete(t), t.i(e));
|
|
32496
|
+
t && t.i && (et$1.delete(t), t.i(e));
|
|
32471
32497
|
}
|
|
32472
|
-
function
|
|
32498
|
+
function kt$1(t) {
|
|
32473
32499
|
return t?.length !== void 0 ? t : Array.from(t);
|
|
32474
32500
|
}
|
|
32475
32501
|
function st$1(t, e, n) {
|
|
32476
32502
|
const { fragment: s, after_update: i } = t.$$;
|
|
32477
|
-
s && s.m(e, n),
|
|
32503
|
+
s && s.m(e, n), k(() => {
|
|
32478
32504
|
const r = t.$$.on_mount.map(M).filter(O);
|
|
32479
32505
|
t.$$.on_destroy ? t.$$.on_destroy.push(...r) : p(r), t.$$.on_mount = [];
|
|
32480
|
-
}), i.forEach(
|
|
32506
|
+
}), i.forEach(k);
|
|
32481
32507
|
}
|
|
32482
|
-
function it
|
|
32508
|
+
function it(t, e) {
|
|
32483
32509
|
const n = t.$$;
|
|
32484
|
-
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 = []);
|
|
32510
|
+
n.fragment !== null && (tt$1(n.after_update), p(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
32485
32511
|
}
|
|
32486
32512
|
function rt(t, e) {
|
|
32487
32513
|
t.$$.dirty[0] === -1 && (h.push(t), Y$1(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
|
|
@@ -32575,7 +32601,7 @@ typeof HTMLElement == "function" && (H$1 = class extends HTMLElement {
|
|
|
32575
32601
|
* @param {HTMLElement} [anchor]
|
|
32576
32602
|
*/
|
|
32577
32603
|
m: function(c, u) {
|
|
32578
|
-
|
|
32604
|
+
v(c, r, u);
|
|
32579
32605
|
},
|
|
32580
32606
|
d: function(c) {
|
|
32581
32607
|
c && y(r);
|
|
@@ -32585,7 +32611,7 @@ typeof HTMLElement == "function" && (H$1 = class extends HTMLElement {
|
|
|
32585
32611
|
};
|
|
32586
32612
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
32587
32613
|
return;
|
|
32588
|
-
const e = {}, n = K(this);
|
|
32614
|
+
const e = {}, n = K$1(this);
|
|
32589
32615
|
for (const i of this.$$s)
|
|
32590
32616
|
i in n && (e[i] = [t(i)]);
|
|
32591
32617
|
for (const i of this.attributes) {
|
|
@@ -32672,7 +32698,7 @@ function b(t, e, n, s) {
|
|
|
32672
32698
|
return e;
|
|
32673
32699
|
}
|
|
32674
32700
|
}
|
|
32675
|
-
function ot
|
|
32701
|
+
function ot(t, e, n, s, i, r) {
|
|
32676
32702
|
let o = class extends H$1 {
|
|
32677
32703
|
constructor() {
|
|
32678
32704
|
super(t, n, i), this.$$p_d = e;
|
|
@@ -32720,7 +32746,7 @@ class lt$1 {
|
|
|
32720
32746
|
$$set = void 0;
|
|
32721
32747
|
/** @returns {void} */
|
|
32722
32748
|
$destroy() {
|
|
32723
|
-
it
|
|
32749
|
+
it(this, 1), this.$destroy = d;
|
|
32724
32750
|
}
|
|
32725
32751
|
/**
|
|
32726
32752
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -32762,7 +32788,7 @@ function dt$1(t, e) {
|
|
|
32762
32788
|
console.error("There was an error while trying to load client styling from URL", s);
|
|
32763
32789
|
});
|
|
32764
32790
|
}
|
|
32765
|
-
function at
|
|
32791
|
+
function at(t, e, n) {
|
|
32766
32792
|
if (window.emMessageBus) {
|
|
32767
32793
|
const s = document.createElement("style");
|
|
32768
32794
|
window.emMessageBus.subscribe(e, (i) => {
|
|
@@ -32780,7 +32806,7 @@ function $t$1(t) {
|
|
|
32780
32806
|
e = w$1("div"), e.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
|
|
32781
32807
|
},
|
|
32782
32808
|
m(n, s) {
|
|
32783
|
-
|
|
32809
|
+
v(n, e, s), t[4](e);
|
|
32784
32810
|
},
|
|
32785
32811
|
p: d,
|
|
32786
32812
|
i: d,
|
|
@@ -32805,7 +32831,7 @@ function mt$1(t, e, n) {
|
|
|
32805
32831
|
t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
32806
32832
|
3 && s && o && ft$1(o, s), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
32807
32833
|
5 && i && o && dt$1(o, i), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
32808
|
-
9 && r && o && at
|
|
32834
|
+
9 && r && o && at(o, `${r}.Style`);
|
|
32809
32835
|
}, [
|
|
32810
32836
|
o,
|
|
32811
32837
|
s,
|
|
@@ -32849,29 +32875,29 @@ class R extends lt$1 {
|
|
|
32849
32875
|
this.$$set({ mbsource: e }), _();
|
|
32850
32876
|
}
|
|
32851
32877
|
}
|
|
32852
|
-
ot
|
|
32853
|
-
const
|
|
32878
|
+
ot(R, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
32879
|
+
const vt$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
32854
32880
|
__proto__: null,
|
|
32855
32881
|
default: R
|
|
32856
32882
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
32857
32883
|
|
|
32858
|
-
const
|
|
32884
|
+
const GeneralAnimationLoadingBMZE178n = /*#__PURE__*/Object.freeze({
|
|
32859
32885
|
__proto__: null,
|
|
32860
|
-
A:
|
|
32861
|
-
B:
|
|
32862
|
-
C:
|
|
32863
|
-
D:
|
|
32864
|
-
G:
|
|
32865
|
-
H: Lt
|
|
32886
|
+
A: wt$1,
|
|
32887
|
+
B: P,
|
|
32888
|
+
C: Et$1,
|
|
32889
|
+
D: xt$1,
|
|
32890
|
+
G: vt$1,
|
|
32891
|
+
H: Lt,
|
|
32866
32892
|
S: lt$1,
|
|
32867
|
-
a:
|
|
32893
|
+
a: z,
|
|
32868
32894
|
b: ct$1,
|
|
32869
|
-
c: ot
|
|
32870
|
-
d:
|
|
32871
|
-
e:
|
|
32872
|
-
f:
|
|
32873
|
-
g:
|
|
32874
|
-
h:
|
|
32895
|
+
c: ot,
|
|
32896
|
+
d: V,
|
|
32897
|
+
e: B$1,
|
|
32898
|
+
f: v,
|
|
32899
|
+
g: G,
|
|
32900
|
+
h: y,
|
|
32875
32901
|
i: O,
|
|
32876
32902
|
j: _,
|
|
32877
32903
|
k: I,
|
|
@@ -32879,37 +32905,37 @@ const GeneralAnimationLoadingC74Ex5kT = /*#__PURE__*/Object.freeze({
|
|
|
32879
32905
|
m: _t$1,
|
|
32880
32906
|
n: d,
|
|
32881
32907
|
o: W,
|
|
32882
|
-
p:
|
|
32883
|
-
q:
|
|
32908
|
+
p: dt$1,
|
|
32909
|
+
q: gt$1,
|
|
32884
32910
|
r: p,
|
|
32885
|
-
s:
|
|
32886
|
-
t:
|
|
32887
|
-
u:
|
|
32888
|
-
v:
|
|
32889
|
-
w:
|
|
32890
|
-
x:
|
|
32911
|
+
s: D$1,
|
|
32912
|
+
t: E,
|
|
32913
|
+
u: ft$1,
|
|
32914
|
+
v: at,
|
|
32915
|
+
w: kt$1,
|
|
32916
|
+
x: bt$1,
|
|
32891
32917
|
y: pt$1,
|
|
32892
32918
|
z: yt$1
|
|
32893
32919
|
});
|
|
32894
32920
|
|
|
32895
|
-
const
|
|
32896
|
-
function
|
|
32921
|
+
const K = [];
|
|
32922
|
+
function Dr(e, t) {
|
|
32897
32923
|
return {
|
|
32898
|
-
subscribe:
|
|
32924
|
+
subscribe: Ne(e, t).subscribe
|
|
32899
32925
|
};
|
|
32900
32926
|
}
|
|
32901
|
-
function
|
|
32927
|
+
function Ne(e, t = d) {
|
|
32902
32928
|
let r;
|
|
32903
32929
|
const n = /* @__PURE__ */ new Set();
|
|
32904
32930
|
function i(s) {
|
|
32905
32931
|
if (z(e, s) && (e = s, r)) {
|
|
32906
|
-
const h = !
|
|
32932
|
+
const h = !K.length;
|
|
32907
32933
|
for (const u of n)
|
|
32908
|
-
u[1](),
|
|
32934
|
+
u[1](), K.push(u, e);
|
|
32909
32935
|
if (h) {
|
|
32910
|
-
for (let u = 0; u <
|
|
32911
|
-
|
|
32912
|
-
|
|
32936
|
+
for (let u = 0; u < K.length; u += 2)
|
|
32937
|
+
K[u][0](K[u + 1]);
|
|
32938
|
+
K.length = 0;
|
|
32913
32939
|
}
|
|
32914
32940
|
}
|
|
32915
32941
|
}
|
|
@@ -32924,12 +32950,12 @@ function we(e, t = d) {
|
|
|
32924
32950
|
}
|
|
32925
32951
|
return { set: i, update: o, subscribe: a };
|
|
32926
32952
|
}
|
|
32927
|
-
function
|
|
32953
|
+
function ie(e, t, r) {
|
|
32928
32954
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
32929
32955
|
if (!i.every(Boolean))
|
|
32930
32956
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
32931
32957
|
const o = t.length < 2;
|
|
32932
|
-
return
|
|
32958
|
+
return Dr(r, (a, s) => {
|
|
32933
32959
|
let h = !1;
|
|
32934
32960
|
const u = [];
|
|
32935
32961
|
let l = 0, d$1 = d;
|
|
@@ -32939,107 +32965,122 @@ function ne(e, t, r) {
|
|
|
32939
32965
|
d$1();
|
|
32940
32966
|
const f = t(n ? u[0] : u, a, s);
|
|
32941
32967
|
o ? a(f) : d$1 = O(f) ? f : d;
|
|
32942
|
-
},
|
|
32943
|
-
(f,
|
|
32968
|
+
}, b = i.map(
|
|
32969
|
+
(f, g) => D$1(
|
|
32944
32970
|
f,
|
|
32945
|
-
(
|
|
32946
|
-
u[
|
|
32971
|
+
(S) => {
|
|
32972
|
+
u[g] = S, l &= ~(1 << g), h && m();
|
|
32947
32973
|
},
|
|
32948
32974
|
() => {
|
|
32949
|
-
l |= 1 <<
|
|
32975
|
+
l |= 1 << g;
|
|
32950
32976
|
}
|
|
32951
32977
|
)
|
|
32952
32978
|
);
|
|
32953
32979
|
return h = !0, m(), function() {
|
|
32954
|
-
p(
|
|
32980
|
+
p(b), d$1(), h = !1;
|
|
32955
32981
|
};
|
|
32956
32982
|
});
|
|
32957
32983
|
}
|
|
32958
|
-
function
|
|
32984
|
+
function qr(e) {
|
|
32959
32985
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
32960
32986
|
}
|
|
32961
|
-
var
|
|
32962
|
-
return
|
|
32987
|
+
var Gr = function(t) {
|
|
32988
|
+
return Fr(t) && !Vr(t);
|
|
32963
32989
|
};
|
|
32964
|
-
function
|
|
32990
|
+
function Fr(e) {
|
|
32965
32991
|
return !!e && typeof e == "object";
|
|
32966
32992
|
}
|
|
32967
|
-
function
|
|
32993
|
+
function Vr(e) {
|
|
32968
32994
|
var t = Object.prototype.toString.call(e);
|
|
32969
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
32995
|
+
return t === "[object RegExp]" || t === "[object Date]" || Zr(e);
|
|
32970
32996
|
}
|
|
32971
|
-
var
|
|
32972
|
-
function
|
|
32973
|
-
return e.$$typeof ===
|
|
32997
|
+
var Xr = typeof Symbol == "function" && Symbol.for, Wr = Xr ? Symbol.for("react.element") : 60103;
|
|
32998
|
+
function Zr(e) {
|
|
32999
|
+
return e.$$typeof === Wr;
|
|
32974
33000
|
}
|
|
32975
|
-
function
|
|
33001
|
+
function Jr(e) {
|
|
32976
33002
|
return Array.isArray(e) ? [] : {};
|
|
32977
33003
|
}
|
|
32978
|
-
function
|
|
32979
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
33004
|
+
function me(e, t) {
|
|
33005
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ee(Jr(e), e, t) : e;
|
|
32980
33006
|
}
|
|
32981
|
-
function
|
|
33007
|
+
function Qr(e, t, r) {
|
|
32982
33008
|
return e.concat(t).map(function(n) {
|
|
32983
|
-
return
|
|
33009
|
+
return me(n, r);
|
|
32984
33010
|
});
|
|
32985
33011
|
}
|
|
32986
|
-
function
|
|
33012
|
+
function Yr(e, t) {
|
|
32987
33013
|
if (!t.customMerge)
|
|
32988
|
-
return
|
|
33014
|
+
return ee;
|
|
32989
33015
|
var r = t.customMerge(e);
|
|
32990
|
-
return typeof r == "function" ? r :
|
|
33016
|
+
return typeof r == "function" ? r : ee;
|
|
32991
33017
|
}
|
|
32992
|
-
function
|
|
33018
|
+
function Kr(e) {
|
|
32993
33019
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
32994
33020
|
return Object.propertyIsEnumerable.call(e, t);
|
|
32995
33021
|
}) : [];
|
|
32996
33022
|
}
|
|
32997
|
-
function
|
|
32998
|
-
return Object.keys(e).concat(
|
|
33023
|
+
function st(e) {
|
|
33024
|
+
return Object.keys(e).concat(Kr(e));
|
|
32999
33025
|
}
|
|
33000
|
-
function
|
|
33026
|
+
function Rt(e, t) {
|
|
33001
33027
|
try {
|
|
33002
33028
|
return t in e;
|
|
33003
33029
|
} catch {
|
|
33004
33030
|
return !1;
|
|
33005
33031
|
}
|
|
33006
33032
|
}
|
|
33007
|
-
function
|
|
33008
|
-
return
|
|
33033
|
+
function $r(e, t) {
|
|
33034
|
+
return Rt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
33009
33035
|
}
|
|
33010
|
-
function
|
|
33036
|
+
function en(e, t, r) {
|
|
33011
33037
|
var n = {};
|
|
33012
|
-
return r.isMergeableObject(e) &&
|
|
33013
|
-
n[i] =
|
|
33014
|
-
}),
|
|
33015
|
-
|
|
33038
|
+
return r.isMergeableObject(e) && st(e).forEach(function(i) {
|
|
33039
|
+
n[i] = me(e[i], r);
|
|
33040
|
+
}), st(t).forEach(function(i) {
|
|
33041
|
+
$r(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Yr(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
|
|
33016
33042
|
}), n;
|
|
33017
33043
|
}
|
|
33018
|
-
function
|
|
33019
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
33044
|
+
function ee(e, t, r) {
|
|
33045
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Qr, r.isMergeableObject = r.isMergeableObject || Gr, r.cloneUnlessOtherwiseSpecified = me;
|
|
33020
33046
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
33021
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
33047
|
+
return o ? n ? r.arrayMerge(e, t, r) : en(e, t, r) : me(t, r);
|
|
33022
33048
|
}
|
|
33023
|
-
|
|
33049
|
+
ee.all = function(t, r) {
|
|
33024
33050
|
if (!Array.isArray(t))
|
|
33025
33051
|
throw new Error("first argument should be an array");
|
|
33026
33052
|
return t.reduce(function(n, i) {
|
|
33027
|
-
return
|
|
33053
|
+
return ee(n, i, r);
|
|
33028
33054
|
}, {});
|
|
33029
33055
|
};
|
|
33030
|
-
var
|
|
33031
|
-
const
|
|
33032
|
-
|
|
33033
|
-
|
|
33056
|
+
var tn = ee, rn = tn;
|
|
33057
|
+
const nn = /* @__PURE__ */ qr(rn);
|
|
33058
|
+
/*! *****************************************************************************
|
|
33059
|
+
Copyright (c) Microsoft Corporation.
|
|
33060
|
+
|
|
33061
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
33062
|
+
purpose with or without fee is hereby granted.
|
|
33063
|
+
|
|
33064
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
33065
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
33066
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
33067
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
33068
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
33069
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
33070
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
33071
|
+
***************************************************************************** */
|
|
33072
|
+
var De = function(e, t) {
|
|
33073
|
+
return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
33034
33074
|
r.__proto__ = n;
|
|
33035
33075
|
} || function(r, n) {
|
|
33036
|
-
for (var i in n)
|
|
33037
|
-
|
|
33076
|
+
for (var i in n)
|
|
33077
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
33078
|
+
}, De(e, t);
|
|
33038
33079
|
};
|
|
33039
|
-
function
|
|
33080
|
+
function Ae(e, t) {
|
|
33040
33081
|
if (typeof t != "function" && t !== null)
|
|
33041
33082
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
33042
|
-
|
|
33083
|
+
De(e, t);
|
|
33043
33084
|
function r() {
|
|
33044
33085
|
this.constructor = e;
|
|
33045
33086
|
}
|
|
@@ -33049,72 +33090,77 @@ var H = function() {
|
|
|
33049
33090
|
return H = Object.assign || function(t) {
|
|
33050
33091
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
33051
33092
|
r = arguments[n];
|
|
33052
|
-
for (var o in r)
|
|
33093
|
+
for (var o in r)
|
|
33094
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
33053
33095
|
}
|
|
33054
33096
|
return t;
|
|
33055
33097
|
}, H.apply(this, arguments);
|
|
33056
33098
|
};
|
|
33057
|
-
function
|
|
33099
|
+
function on(e, t) {
|
|
33058
33100
|
var r = {};
|
|
33059
|
-
for (var n in e)
|
|
33101
|
+
for (var n in e)
|
|
33102
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
33060
33103
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
33061
33104
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
33062
33105
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
33063
33106
|
return r;
|
|
33064
33107
|
}
|
|
33065
|
-
function
|
|
33066
|
-
if (
|
|
33067
|
-
(
|
|
33068
|
-
|
|
33108
|
+
function Oe(e, t, r) {
|
|
33109
|
+
if (arguments.length === 2)
|
|
33110
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
33111
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
33112
|
+
return e.concat(o || t);
|
|
33069
33113
|
}
|
|
33070
|
-
function
|
|
33071
|
-
var r = t && t.cache ? t.cache :
|
|
33114
|
+
function Ie(e, t) {
|
|
33115
|
+
var r = t && t.cache ? t.cache : hn, n = t && t.serializer ? t.serializer : un, i = t && t.strategy ? t.strategy : sn;
|
|
33072
33116
|
return i(e, {
|
|
33073
33117
|
cache: r,
|
|
33074
33118
|
serializer: n
|
|
33075
33119
|
});
|
|
33076
33120
|
}
|
|
33077
|
-
function
|
|
33121
|
+
function an(e) {
|
|
33078
33122
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
33079
33123
|
}
|
|
33080
|
-
function
|
|
33081
|
-
var i =
|
|
33124
|
+
function Ut(e, t, r, n) {
|
|
33125
|
+
var i = an(n) ? n : r(n), o = t.get(i);
|
|
33082
33126
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
33083
33127
|
}
|
|
33084
|
-
function
|
|
33128
|
+
function Dt(e, t, r) {
|
|
33085
33129
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
33086
33130
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
33087
33131
|
}
|
|
33088
|
-
function
|
|
33132
|
+
function Ke(e, t, r, n, i) {
|
|
33089
33133
|
return r.bind(t, e, n, i);
|
|
33090
33134
|
}
|
|
33091
|
-
function
|
|
33092
|
-
var r = e.length === 1 ?
|
|
33093
|
-
return
|
|
33135
|
+
function sn(e, t) {
|
|
33136
|
+
var r = e.length === 1 ? Ut : Dt;
|
|
33137
|
+
return Ke(e, this, r, t.cache.create(), t.serializer);
|
|
33138
|
+
}
|
|
33139
|
+
function ln(e, t) {
|
|
33140
|
+
return Ke(e, this, Dt, t.cache.create(), t.serializer);
|
|
33094
33141
|
}
|
|
33095
|
-
function
|
|
33096
|
-
return
|
|
33142
|
+
function cn(e, t) {
|
|
33143
|
+
return Ke(e, this, Ut, t.cache.create(), t.serializer);
|
|
33097
33144
|
}
|
|
33098
|
-
var
|
|
33145
|
+
var un = function() {
|
|
33099
33146
|
return JSON.stringify(arguments);
|
|
33100
|
-
}
|
|
33101
|
-
|
|
33102
|
-
|
|
33103
|
-
|
|
33104
|
-
|
|
33105
|
-
|
|
33106
|
-
|
|
33107
|
-
|
|
33108
|
-
|
|
33109
|
-
|
|
33110
|
-
|
|
33111
|
-
}()
|
|
33112
|
-
), cn = {
|
|
33147
|
+
};
|
|
33148
|
+
function $e() {
|
|
33149
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
33150
|
+
}
|
|
33151
|
+
$e.prototype.get = function(e) {
|
|
33152
|
+
return this.cache[e];
|
|
33153
|
+
};
|
|
33154
|
+
$e.prototype.set = function(e, t) {
|
|
33155
|
+
this.cache[e] = t;
|
|
33156
|
+
};
|
|
33157
|
+
var hn = {
|
|
33113
33158
|
create: function() {
|
|
33114
|
-
return new
|
|
33159
|
+
return new $e();
|
|
33115
33160
|
}
|
|
33116
|
-
},
|
|
33117
|
-
variadic:
|
|
33161
|
+
}, je = {
|
|
33162
|
+
variadic: ln,
|
|
33163
|
+
monadic: cn
|
|
33118
33164
|
}, w;
|
|
33119
33165
|
(function(e) {
|
|
33120
33166
|
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";
|
|
@@ -33123,47 +33169,47 @@ var B;
|
|
|
33123
33169
|
(function(e) {
|
|
33124
33170
|
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";
|
|
33125
33171
|
})(B || (B = {}));
|
|
33126
|
-
var
|
|
33172
|
+
var te;
|
|
33127
33173
|
(function(e) {
|
|
33128
33174
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
33129
|
-
})(
|
|
33130
|
-
function
|
|
33175
|
+
})(te || (te = {}));
|
|
33176
|
+
function lt(e) {
|
|
33131
33177
|
return e.type === B.literal;
|
|
33132
33178
|
}
|
|
33133
|
-
function
|
|
33179
|
+
function dn(e) {
|
|
33134
33180
|
return e.type === B.argument;
|
|
33135
33181
|
}
|
|
33136
|
-
function
|
|
33182
|
+
function qt(e) {
|
|
33137
33183
|
return e.type === B.number;
|
|
33138
33184
|
}
|
|
33139
|
-
function
|
|
33185
|
+
function Gt(e) {
|
|
33140
33186
|
return e.type === B.date;
|
|
33141
33187
|
}
|
|
33142
|
-
function
|
|
33188
|
+
function Ft(e) {
|
|
33143
33189
|
return e.type === B.time;
|
|
33144
33190
|
}
|
|
33145
|
-
function
|
|
33191
|
+
function Vt(e) {
|
|
33146
33192
|
return e.type === B.select;
|
|
33147
33193
|
}
|
|
33148
|
-
function
|
|
33194
|
+
function Xt(e) {
|
|
33149
33195
|
return e.type === B.plural;
|
|
33150
33196
|
}
|
|
33151
|
-
function
|
|
33197
|
+
function mn(e) {
|
|
33152
33198
|
return e.type === B.pound;
|
|
33153
33199
|
}
|
|
33154
|
-
function
|
|
33200
|
+
function Wt(e) {
|
|
33155
33201
|
return e.type === B.tag;
|
|
33156
33202
|
}
|
|
33157
|
-
function
|
|
33158
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
33203
|
+
function Zt(e) {
|
|
33204
|
+
return !!(e && typeof e == "object" && e.type === te.number);
|
|
33159
33205
|
}
|
|
33160
|
-
function
|
|
33161
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
33206
|
+
function qe(e) {
|
|
33207
|
+
return !!(e && typeof e == "object" && e.type === te.dateTime);
|
|
33162
33208
|
}
|
|
33163
|
-
var
|
|
33164
|
-
function
|
|
33209
|
+
var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
33210
|
+
function pn(e) {
|
|
33165
33211
|
var t = {};
|
|
33166
|
-
return e.replace(
|
|
33212
|
+
return e.replace(gn, function(r) {
|
|
33167
33213
|
var n = r.length;
|
|
33168
33214
|
switch (r[0]) {
|
|
33169
33215
|
case "G":
|
|
@@ -33252,11 +33298,11 @@ function mn(e) {
|
|
|
33252
33298
|
return "";
|
|
33253
33299
|
}), t;
|
|
33254
33300
|
}
|
|
33255
|
-
var
|
|
33256
|
-
function
|
|
33301
|
+
var fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
33302
|
+
function _n(e) {
|
|
33257
33303
|
if (e.length === 0)
|
|
33258
33304
|
throw new Error("Number skeleton cannot be empty");
|
|
33259
|
-
for (var t = e.split(
|
|
33305
|
+
for (var t = e.split(fn).filter(function(m) {
|
|
33260
33306
|
return m.length > 0;
|
|
33261
33307
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
33262
33308
|
var o = i[n], a = o.split("/");
|
|
@@ -33271,17 +33317,17 @@ function gn(e) {
|
|
|
33271
33317
|
}
|
|
33272
33318
|
return r;
|
|
33273
33319
|
}
|
|
33274
|
-
function
|
|
33320
|
+
function bn(e) {
|
|
33275
33321
|
return e.replace(/^(.*?)-/, "");
|
|
33276
33322
|
}
|
|
33277
|
-
var
|
|
33278
|
-
function
|
|
33323
|
+
var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, vn = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
|
|
33324
|
+
function ut(e) {
|
|
33279
33325
|
var t = {};
|
|
33280
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
33326
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
|
|
33281
33327
|
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)), "";
|
|
33282
33328
|
}), t;
|
|
33283
33329
|
}
|
|
33284
|
-
function
|
|
33330
|
+
function Kt(e) {
|
|
33285
33331
|
switch (e) {
|
|
33286
33332
|
case "sign-auto":
|
|
33287
33333
|
return {
|
|
@@ -33321,7 +33367,7 @@ function Jt(e) {
|
|
|
33321
33367
|
};
|
|
33322
33368
|
}
|
|
33323
33369
|
}
|
|
33324
|
-
function
|
|
33370
|
+
function yn(e) {
|
|
33325
33371
|
var t;
|
|
33326
33372
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
33327
33373
|
notation: "engineering"
|
|
@@ -33329,17 +33375,17 @@ function bn(e) {
|
|
|
33329
33375
|
notation: "scientific"
|
|
33330
33376
|
}, e = e.slice(1)), t) {
|
|
33331
33377
|
var r = e.slice(0, 2);
|
|
33332
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
33378
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
|
|
33333
33379
|
throw new Error("Malformed concise eng/scientific notation");
|
|
33334
33380
|
t.minimumIntegerDigits = e.length;
|
|
33335
33381
|
}
|
|
33336
33382
|
return t;
|
|
33337
33383
|
}
|
|
33338
|
-
function
|
|
33339
|
-
var t = {}, r =
|
|
33384
|
+
function ht(e) {
|
|
33385
|
+
var t = {}, r = Kt(e);
|
|
33340
33386
|
return r || t;
|
|
33341
33387
|
}
|
|
33342
|
-
function
|
|
33388
|
+
function En(e) {
|
|
33343
33389
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
33344
33390
|
var i = n[r];
|
|
33345
33391
|
switch (i.stem) {
|
|
@@ -33363,7 +33409,7 @@ function vn(e) {
|
|
|
33363
33409
|
continue;
|
|
33364
33410
|
case "measure-unit":
|
|
33365
33411
|
case "unit":
|
|
33366
|
-
t.style = "unit", t.unit =
|
|
33412
|
+
t.style = "unit", t.unit = bn(i.options[0]);
|
|
33367
33413
|
continue;
|
|
33368
33414
|
case "compact-short":
|
|
33369
33415
|
case "K":
|
|
@@ -33375,12 +33421,12 @@ function vn(e) {
|
|
|
33375
33421
|
continue;
|
|
33376
33422
|
case "scientific":
|
|
33377
33423
|
t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
33378
|
-
return H(H({}, h),
|
|
33424
|
+
return H(H({}, h), ht(u));
|
|
33379
33425
|
}, {}));
|
|
33380
33426
|
continue;
|
|
33381
33427
|
case "engineering":
|
|
33382
33428
|
t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
33383
|
-
return H(H({}, h),
|
|
33429
|
+
return H(H({}, h), ht(u));
|
|
33384
33430
|
}, {}));
|
|
33385
33431
|
continue;
|
|
33386
33432
|
case "notation-simple":
|
|
@@ -33425,45 +33471,45 @@ function vn(e) {
|
|
|
33425
33471
|
case "integer-width":
|
|
33426
33472
|
if (i.options.length > 1)
|
|
33427
33473
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
33428
|
-
i.options[0].replace(
|
|
33474
|
+
i.options[0].replace(vn, function(h, u, l, d, m, b) {
|
|
33429
33475
|
if (u)
|
|
33430
33476
|
t.minimumIntegerDigits = l.length;
|
|
33431
33477
|
else {
|
|
33432
33478
|
if (d && m)
|
|
33433
33479
|
throw new Error("We currently do not support maximum integer digits");
|
|
33434
|
-
if (
|
|
33480
|
+
if (b)
|
|
33435
33481
|
throw new Error("We currently do not support exact integer digits");
|
|
33436
33482
|
}
|
|
33437
33483
|
return "";
|
|
33438
33484
|
});
|
|
33439
33485
|
continue;
|
|
33440
33486
|
}
|
|
33441
|
-
if (
|
|
33487
|
+
if (Yt.test(i.stem)) {
|
|
33442
33488
|
t.minimumIntegerDigits = i.stem.length;
|
|
33443
33489
|
continue;
|
|
33444
33490
|
}
|
|
33445
|
-
if (
|
|
33491
|
+
if (ct.test(i.stem)) {
|
|
33446
33492
|
if (i.options.length > 1)
|
|
33447
33493
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
33448
|
-
i.stem.replace(
|
|
33449
|
-
return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m &&
|
|
33494
|
+
i.stem.replace(ct, function(h, u, l, d, m, b) {
|
|
33495
|
+
return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && b ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
33450
33496
|
});
|
|
33451
33497
|
var o = i.options[0];
|
|
33452
|
-
o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t),
|
|
33498
|
+
o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), ut(o)));
|
|
33453
33499
|
continue;
|
|
33454
33500
|
}
|
|
33455
|
-
if (
|
|
33456
|
-
t = H(H({}, t),
|
|
33501
|
+
if (Qt.test(i.stem)) {
|
|
33502
|
+
t = H(H({}, t), ut(i.stem));
|
|
33457
33503
|
continue;
|
|
33458
33504
|
}
|
|
33459
|
-
var a =
|
|
33505
|
+
var a = Kt(i.stem);
|
|
33460
33506
|
a && (t = H(H({}, t), a));
|
|
33461
|
-
var s =
|
|
33507
|
+
var s = yn(i.stem);
|
|
33462
33508
|
s && (t = H(H({}, t), s));
|
|
33463
33509
|
}
|
|
33464
33510
|
return t;
|
|
33465
33511
|
}
|
|
33466
|
-
var
|
|
33512
|
+
var Se = {
|
|
33467
33513
|
"001": [
|
|
33468
33514
|
"H",
|
|
33469
33515
|
"h"
|
|
@@ -34878,22 +34924,23 @@ var Ce = {
|
|
|
34878
34924
|
"h"
|
|
34879
34925
|
]
|
|
34880
34926
|
};
|
|
34881
|
-
function
|
|
34927
|
+
function kn(e, t) {
|
|
34882
34928
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
34883
34929
|
var i = e.charAt(n);
|
|
34884
34930
|
if (i === "j") {
|
|
34885
34931
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
34886
34932
|
o++, n++;
|
|
34887
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
34933
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Cn(t);
|
|
34888
34934
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
34889
34935
|
r += h;
|
|
34890
34936
|
for (; a-- > 0; )
|
|
34891
34937
|
r = u + r;
|
|
34892
|
-
} else
|
|
34938
|
+
} else
|
|
34939
|
+
i === "J" ? r += "H" : r += i;
|
|
34893
34940
|
}
|
|
34894
34941
|
return r;
|
|
34895
34942
|
}
|
|
34896
|
-
function
|
|
34943
|
+
function Cn(e) {
|
|
34897
34944
|
var t = e.hourCycle;
|
|
34898
34945
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
34899
34946
|
e.hourCycles && // @ts-ignore
|
|
@@ -34912,23 +34959,23 @@ function En(e) {
|
|
|
34912
34959
|
}
|
|
34913
34960
|
var r = e.language, n;
|
|
34914
34961
|
r !== "root" && (n = e.maximize().region);
|
|
34915
|
-
var i =
|
|
34962
|
+
var i = Se[n || ""] || Se[r || ""] || Se["".concat(r, "-001")] || Se["001"];
|
|
34916
34963
|
return i[0];
|
|
34917
34964
|
}
|
|
34918
|
-
var
|
|
34965
|
+
var Le, Sn = new RegExp("^".concat(Jt.source, "*")), xn = new RegExp("".concat(Jt.source, "*$"));
|
|
34919
34966
|
function N(e, t) {
|
|
34920
34967
|
return { start: e, end: t };
|
|
34921
34968
|
}
|
|
34922
|
-
var
|
|
34969
|
+
var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Tn = !!String.fromCodePoint, wn = !!Object.fromEntries, Nn = !!String.prototype.codePointAt, An = !!String.prototype.trimStart, Hn = !!String.prototype.trimEnd, Pn = !!Number.isSafeInteger, Bn = Pn ? Number.isSafeInteger : function(e) {
|
|
34923
34970
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
34924
|
-
},
|
|
34971
|
+
}, Ge = !0;
|
|
34925
34972
|
try {
|
|
34926
|
-
var
|
|
34927
|
-
|
|
34973
|
+
var zn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
34974
|
+
Ge = ((Le = zn.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
|
|
34928
34975
|
} catch {
|
|
34929
|
-
|
|
34976
|
+
Ge = !1;
|
|
34930
34977
|
}
|
|
34931
|
-
var
|
|
34978
|
+
var dt = Mn ? (
|
|
34932
34979
|
// Native
|
|
34933
34980
|
function(t, r, n) {
|
|
34934
34981
|
return t.startsWith(r, n);
|
|
@@ -34938,7 +34985,7 @@ var ct = Sn ? (
|
|
|
34938
34985
|
function(t, r, n) {
|
|
34939
34986
|
return t.slice(n, n + r.length) === r;
|
|
34940
34987
|
}
|
|
34941
|
-
),
|
|
34988
|
+
), Fe = Tn ? String.fromCodePoint : (
|
|
34942
34989
|
// IE11
|
|
34943
34990
|
function() {
|
|
34944
34991
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -34950,9 +34997,9 @@ var ct = Sn ? (
|
|
|
34950
34997
|
}
|
|
34951
34998
|
return n;
|
|
34952
34999
|
}
|
|
34953
|
-
),
|
|
35000
|
+
), mt = (
|
|
34954
35001
|
// native
|
|
34955
|
-
|
|
35002
|
+
wn ? Object.fromEntries : (
|
|
34956
35003
|
// Ponyfill
|
|
34957
35004
|
function(t) {
|
|
34958
35005
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -34962,7 +35009,7 @@ var ct = Sn ? (
|
|
|
34962
35009
|
return r;
|
|
34963
35010
|
}
|
|
34964
35011
|
)
|
|
34965
|
-
),
|
|
35012
|
+
), $t = Nn ? (
|
|
34966
35013
|
// Native
|
|
34967
35014
|
function(t, r) {
|
|
34968
35015
|
return t.codePointAt(r);
|
|
@@ -34976,7 +35023,7 @@ var ct = Sn ? (
|
|
|
34976
35023
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
34977
35024
|
}
|
|
34978
35025
|
}
|
|
34979
|
-
),
|
|
35026
|
+
), On = An ? (
|
|
34980
35027
|
// Native
|
|
34981
35028
|
function(t) {
|
|
34982
35029
|
return t.trimStart();
|
|
@@ -34984,9 +35031,9 @@ var ct = Sn ? (
|
|
|
34984
35031
|
) : (
|
|
34985
35032
|
// Ponyfill
|
|
34986
35033
|
function(t) {
|
|
34987
|
-
return t.replace(
|
|
35034
|
+
return t.replace(Sn, "");
|
|
34988
35035
|
}
|
|
34989
|
-
),
|
|
35036
|
+
), In = Hn ? (
|
|
34990
35037
|
// Native
|
|
34991
35038
|
function(t) {
|
|
34992
35039
|
return t.trimEnd();
|
|
@@ -34994,32 +35041,32 @@ var ct = Sn ? (
|
|
|
34994
35041
|
) : (
|
|
34995
35042
|
// Ponyfill
|
|
34996
35043
|
function(t) {
|
|
34997
|
-
return t.replace(
|
|
35044
|
+
return t.replace(xn, "");
|
|
34998
35045
|
}
|
|
34999
35046
|
);
|
|
35000
|
-
function
|
|
35047
|
+
function er(e, t) {
|
|
35001
35048
|
return new RegExp(e, t);
|
|
35002
35049
|
}
|
|
35003
|
-
var
|
|
35004
|
-
if (
|
|
35005
|
-
var
|
|
35006
|
-
|
|
35050
|
+
var Ve;
|
|
35051
|
+
if (Ge) {
|
|
35052
|
+
var gt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
35053
|
+
Ve = function(t, r) {
|
|
35007
35054
|
var n;
|
|
35008
|
-
|
|
35009
|
-
var i =
|
|
35055
|
+
gt.lastIndex = r;
|
|
35056
|
+
var i = gt.exec(t);
|
|
35010
35057
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
35011
35058
|
};
|
|
35012
35059
|
} else
|
|
35013
|
-
|
|
35060
|
+
Ve = function(t, r) {
|
|
35014
35061
|
for (var n = []; ; ) {
|
|
35015
|
-
var i =
|
|
35016
|
-
if (i === void 0 ||
|
|
35062
|
+
var i = $t(t, r);
|
|
35063
|
+
if (i === void 0 || tr(i) || Un(i))
|
|
35017
35064
|
break;
|
|
35018
35065
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
35019
35066
|
}
|
|
35020
|
-
return
|
|
35067
|
+
return Fe.apply(void 0, n);
|
|
35021
35068
|
};
|
|
35022
|
-
var
|
|
35069
|
+
var jn = (
|
|
35023
35070
|
/** @class */
|
|
35024
35071
|
function() {
|
|
35025
35072
|
function e(t, r) {
|
|
@@ -35050,7 +35097,7 @@ var On = (
|
|
|
35050
35097
|
if (n)
|
|
35051
35098
|
break;
|
|
35052
35099
|
return this.error(w.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
|
|
35053
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
35100
|
+
} else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
|
|
35054
35101
|
var a = this.parseTag(t, r);
|
|
35055
35102
|
if (a.err)
|
|
35056
35103
|
return a;
|
|
@@ -35083,7 +35130,7 @@ var On = (
|
|
|
35083
35130
|
return o;
|
|
35084
35131
|
var a = o.val, s = this.clonePosition();
|
|
35085
35132
|
if (this.bumpIf("</")) {
|
|
35086
|
-
if (this.isEOF() || !
|
|
35133
|
+
if (this.isEOF() || !Xe(this.char()))
|
|
35087
35134
|
return this.error(w.INVALID_TAG, N(s, this.clonePosition()));
|
|
35088
35135
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
35089
35136
|
return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, N(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -35101,7 +35148,7 @@ var On = (
|
|
|
35101
35148
|
return this.error(w.INVALID_TAG, N(n, this.clonePosition()));
|
|
35102
35149
|
}, e.prototype.parseTagName = function() {
|
|
35103
35150
|
var t = this.offset();
|
|
35104
|
-
for (this.bump(); !this.isEOF() &&
|
|
35151
|
+
for (this.bump(); !this.isEOF() && Rn(this.char()); )
|
|
35105
35152
|
this.bump();
|
|
35106
35153
|
return this.message.slice(t, this.offset());
|
|
35107
35154
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -35130,7 +35177,7 @@ var On = (
|
|
|
35130
35177
|
};
|
|
35131
35178
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
35132
35179
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
35133
|
-
!
|
|
35180
|
+
!Ln(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
35134
35181
|
}, e.prototype.tryParseQuote = function(t) {
|
|
35135
35182
|
if (this.isEOF() || this.char() !== 39)
|
|
35136
35183
|
return null;
|
|
@@ -35164,12 +35211,12 @@ var On = (
|
|
|
35164
35211
|
r.push(n);
|
|
35165
35212
|
this.bump();
|
|
35166
35213
|
}
|
|
35167
|
-
return
|
|
35214
|
+
return Fe.apply(void 0, r);
|
|
35168
35215
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
35169
35216
|
if (this.isEOF())
|
|
35170
35217
|
return null;
|
|
35171
35218
|
var n = this.char();
|
|
35172
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
35219
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
|
|
35173
35220
|
}, e.prototype.parseArgument = function(t, r) {
|
|
35174
35221
|
var n = this.clonePosition();
|
|
35175
35222
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -35198,7 +35245,7 @@ var On = (
|
|
|
35198
35245
|
return this.error(w.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
|
|
35199
35246
|
}
|
|
35200
35247
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
35201
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
35248
|
+
var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
|
|
35202
35249
|
this.bumpTo(i);
|
|
35203
35250
|
var o = this.clonePosition(), a = N(t, o);
|
|
35204
35251
|
return { value: n, location: a };
|
|
@@ -35217,37 +35264,37 @@ var On = (
|
|
|
35217
35264
|
var l = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
35218
35265
|
if (d.err)
|
|
35219
35266
|
return d;
|
|
35220
|
-
var m =
|
|
35267
|
+
var m = In(d.val);
|
|
35221
35268
|
if (m.length === 0)
|
|
35222
35269
|
return this.error(w.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
|
|
35223
|
-
var
|
|
35224
|
-
u = { style: m, styleLocation:
|
|
35270
|
+
var b = N(l, this.clonePosition());
|
|
35271
|
+
u = { style: m, styleLocation: b };
|
|
35225
35272
|
}
|
|
35226
35273
|
var f = this.tryParseArgumentClose(i);
|
|
35227
35274
|
if (f.err)
|
|
35228
35275
|
return f;
|
|
35229
|
-
var
|
|
35230
|
-
if (u &&
|
|
35231
|
-
var
|
|
35276
|
+
var g = N(i, this.clonePosition());
|
|
35277
|
+
if (u && dt(u?.style, "::", 0)) {
|
|
35278
|
+
var S = On(u.style.slice(2));
|
|
35232
35279
|
if (s === "number") {
|
|
35233
|
-
var d = this.parseNumberSkeletonFromString(
|
|
35280
|
+
var d = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
35234
35281
|
return d.err ? d : {
|
|
35235
|
-
val: { type: B.number, value: n, location:
|
|
35282
|
+
val: { type: B.number, value: n, location: g, style: d.val },
|
|
35236
35283
|
err: null
|
|
35237
35284
|
};
|
|
35238
35285
|
} else {
|
|
35239
|
-
if (
|
|
35240
|
-
return this.error(w.EXPECT_DATE_TIME_SKELETON,
|
|
35241
|
-
var _ =
|
|
35242
|
-
this.locale && (_ =
|
|
35286
|
+
if (S.length === 0)
|
|
35287
|
+
return this.error(w.EXPECT_DATE_TIME_SKELETON, g);
|
|
35288
|
+
var _ = S;
|
|
35289
|
+
this.locale && (_ = kn(S, this.locale));
|
|
35243
35290
|
var m = {
|
|
35244
|
-
type:
|
|
35291
|
+
type: te.dateTime,
|
|
35245
35292
|
pattern: _,
|
|
35246
35293
|
location: u.styleLocation,
|
|
35247
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
35248
|
-
},
|
|
35294
|
+
parsedOptions: this.shouldParseSkeletons ? pn(_) : {}
|
|
35295
|
+
}, v = s === "date" ? B.date : B.time;
|
|
35249
35296
|
return {
|
|
35250
|
-
val: { type:
|
|
35297
|
+
val: { type: v, value: n, location: g, style: m },
|
|
35251
35298
|
err: null
|
|
35252
35299
|
};
|
|
35253
35300
|
}
|
|
@@ -35256,7 +35303,7 @@ var On = (
|
|
|
35256
35303
|
val: {
|
|
35257
35304
|
type: s === "number" ? B.number : s === "date" ? B.date : B.time,
|
|
35258
35305
|
value: n,
|
|
35259
|
-
location:
|
|
35306
|
+
location: g,
|
|
35260
35307
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
35261
35308
|
},
|
|
35262
35309
|
err: null
|
|
@@ -35265,11 +35312,11 @@ var On = (
|
|
|
35265
35312
|
case "plural":
|
|
35266
35313
|
case "selectordinal":
|
|
35267
35314
|
case "select": {
|
|
35268
|
-
var
|
|
35315
|
+
var C = this.clonePosition();
|
|
35269
35316
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
35270
|
-
return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(
|
|
35317
|
+
return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(C, H({}, C)));
|
|
35271
35318
|
this.bumpSpace();
|
|
35272
|
-
var P = this.parseIdentifierIfPossible(),
|
|
35319
|
+
var P = this.parseIdentifierIfPossible(), k = 0;
|
|
35273
35320
|
if (s !== "select" && P.value === "offset") {
|
|
35274
35321
|
if (!this.bumpIf(":"))
|
|
35275
35322
|
return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
|
|
@@ -35277,7 +35324,7 @@ var On = (
|
|
|
35277
35324
|
var d = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
35278
35325
|
if (d.err)
|
|
35279
35326
|
return d;
|
|
35280
|
-
this.bumpSpace(), P = this.parseIdentifierIfPossible(),
|
|
35327
|
+
this.bumpSpace(), P = this.parseIdentifierIfPossible(), k = d.val;
|
|
35281
35328
|
}
|
|
35282
35329
|
var z = this.tryParsePluralOrSelectOptions(t, s, r, P);
|
|
35283
35330
|
if (z.err)
|
|
@@ -35285,23 +35332,23 @@ var On = (
|
|
|
35285
35332
|
var f = this.tryParseArgumentClose(i);
|
|
35286
35333
|
if (f.err)
|
|
35287
35334
|
return f;
|
|
35288
|
-
var
|
|
35335
|
+
var W = N(i, this.clonePosition());
|
|
35289
35336
|
return s === "select" ? {
|
|
35290
35337
|
val: {
|
|
35291
35338
|
type: B.select,
|
|
35292
35339
|
value: n,
|
|
35293
|
-
options:
|
|
35294
|
-
location:
|
|
35340
|
+
options: mt(z.val),
|
|
35341
|
+
location: W
|
|
35295
35342
|
},
|
|
35296
35343
|
err: null
|
|
35297
35344
|
} : {
|
|
35298
35345
|
val: {
|
|
35299
35346
|
type: B.plural,
|
|
35300
35347
|
value: n,
|
|
35301
|
-
options:
|
|
35302
|
-
offset:
|
|
35348
|
+
options: mt(z.val),
|
|
35349
|
+
offset: k,
|
|
35303
35350
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
35304
|
-
location:
|
|
35351
|
+
location: W
|
|
35305
35352
|
},
|
|
35306
35353
|
err: null
|
|
35307
35354
|
};
|
|
@@ -35349,16 +35396,16 @@ var On = (
|
|
|
35349
35396
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
35350
35397
|
var n = [];
|
|
35351
35398
|
try {
|
|
35352
|
-
n =
|
|
35399
|
+
n = _n(t);
|
|
35353
35400
|
} catch {
|
|
35354
35401
|
return this.error(w.INVALID_NUMBER_SKELETON, r);
|
|
35355
35402
|
}
|
|
35356
35403
|
return {
|
|
35357
35404
|
val: {
|
|
35358
|
-
type:
|
|
35405
|
+
type: te.number,
|
|
35359
35406
|
tokens: n,
|
|
35360
35407
|
location: r,
|
|
35361
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
35408
|
+
parsedOptions: this.shouldParseSkeletons ? En(n) : {}
|
|
35362
35409
|
},
|
|
35363
35410
|
err: null
|
|
35364
35411
|
};
|
|
@@ -35377,20 +35424,20 @@ var On = (
|
|
|
35377
35424
|
if (h.has(u))
|
|
35378
35425
|
return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
35379
35426
|
u === "other" && (a = !0), this.bumpSpace();
|
|
35380
|
-
var
|
|
35427
|
+
var b = this.clonePosition();
|
|
35381
35428
|
if (!this.bumpIf("{"))
|
|
35382
35429
|
return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
|
|
35383
35430
|
var f = this.parseMessage(t + 1, r, n);
|
|
35384
35431
|
if (f.err)
|
|
35385
35432
|
return f;
|
|
35386
|
-
var
|
|
35387
|
-
if (
|
|
35388
|
-
return
|
|
35433
|
+
var g = this.tryParseArgumentClose(b);
|
|
35434
|
+
if (g.err)
|
|
35435
|
+
return g;
|
|
35389
35436
|
s.push([
|
|
35390
35437
|
u,
|
|
35391
35438
|
{
|
|
35392
35439
|
value: f.val,
|
|
35393
|
-
location: N(
|
|
35440
|
+
location: N(b, this.clonePosition())
|
|
35394
35441
|
}
|
|
35395
35442
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
35396
35443
|
}
|
|
@@ -35406,7 +35453,7 @@ var On = (
|
|
|
35406
35453
|
break;
|
|
35407
35454
|
}
|
|
35408
35455
|
var h = N(i, this.clonePosition());
|
|
35409
|
-
return o ? (a *= n,
|
|
35456
|
+
return o ? (a *= n, Bn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
35410
35457
|
}, e.prototype.offset = function() {
|
|
35411
35458
|
return this.position.offset;
|
|
35412
35459
|
}, e.prototype.isEOF = function() {
|
|
@@ -35421,7 +35468,7 @@ var On = (
|
|
|
35421
35468
|
var t = this.position.offset;
|
|
35422
35469
|
if (t >= this.message.length)
|
|
35423
35470
|
throw Error("out of bound");
|
|
35424
|
-
var r =
|
|
35471
|
+
var r = $t(this.message, t);
|
|
35425
35472
|
if (r === void 0)
|
|
35426
35473
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
35427
35474
|
return r;
|
|
@@ -35440,7 +35487,7 @@ var On = (
|
|
|
35440
35487
|
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);
|
|
35441
35488
|
}
|
|
35442
35489
|
}, e.prototype.bumpIf = function(t) {
|
|
35443
|
-
if (
|
|
35490
|
+
if (dt(this.message, t, this.offset())) {
|
|
35444
35491
|
for (var r = 0; r < t.length; r++)
|
|
35445
35492
|
this.bump();
|
|
35446
35493
|
return !0;
|
|
@@ -35462,7 +35509,7 @@ var On = (
|
|
|
35462
35509
|
break;
|
|
35463
35510
|
}
|
|
35464
35511
|
}, e.prototype.bumpSpace = function() {
|
|
35465
|
-
for (; !this.isEOF() &&
|
|
35512
|
+
for (; !this.isEOF() && tr(this.char()); )
|
|
35466
35513
|
this.bump();
|
|
35467
35514
|
}, e.prototype.peek = function() {
|
|
35468
35515
|
if (this.isEOF())
|
|
@@ -35472,46 +35519,47 @@ var On = (
|
|
|
35472
35519
|
}, e;
|
|
35473
35520
|
}()
|
|
35474
35521
|
);
|
|
35475
|
-
function
|
|
35522
|
+
function Xe(e) {
|
|
35476
35523
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
35477
35524
|
}
|
|
35478
|
-
function
|
|
35479
|
-
return
|
|
35525
|
+
function Ln(e) {
|
|
35526
|
+
return Xe(e) || e === 47;
|
|
35480
35527
|
}
|
|
35481
|
-
function
|
|
35528
|
+
function Rn(e) {
|
|
35482
35529
|
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;
|
|
35483
35530
|
}
|
|
35484
|
-
function
|
|
35531
|
+
function tr(e) {
|
|
35485
35532
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
35486
35533
|
}
|
|
35487
|
-
function
|
|
35534
|
+
function Un(e) {
|
|
35488
35535
|
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;
|
|
35489
35536
|
}
|
|
35490
|
-
function
|
|
35537
|
+
function We(e) {
|
|
35491
35538
|
e.forEach(function(t) {
|
|
35492
|
-
if (delete t.location,
|
|
35539
|
+
if (delete t.location, Vt(t) || Xt(t))
|
|
35493
35540
|
for (var r in t.options)
|
|
35494
|
-
delete t.options[r].location,
|
|
35495
|
-
else
|
|
35541
|
+
delete t.options[r].location, We(t.options[r].value);
|
|
35542
|
+
else
|
|
35543
|
+
qt(t) && Zt(t.style) || (Gt(t) || Ft(t)) && qe(t.style) ? delete t.style.location : Wt(t) && We(t.children);
|
|
35496
35544
|
});
|
|
35497
35545
|
}
|
|
35498
|
-
function
|
|
35546
|
+
function Dn(e, t) {
|
|
35499
35547
|
t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
35500
|
-
var r = new
|
|
35548
|
+
var r = new jn(e, t).parse();
|
|
35501
35549
|
if (r.err) {
|
|
35502
35550
|
var n = SyntaxError(w[r.err.kind]);
|
|
35503
35551
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
35504
35552
|
}
|
|
35505
|
-
return t?.captureLocation ||
|
|
35553
|
+
return t?.captureLocation || We(r.val), r.val;
|
|
35506
35554
|
}
|
|
35507
|
-
var
|
|
35555
|
+
var re;
|
|
35508
35556
|
(function(e) {
|
|
35509
35557
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
35510
|
-
})(
|
|
35511
|
-
var
|
|
35558
|
+
})(re || (re = {}));
|
|
35559
|
+
var He = (
|
|
35512
35560
|
/** @class */
|
|
35513
35561
|
function(e) {
|
|
35514
|
-
|
|
35562
|
+
Ae(t, e);
|
|
35515
35563
|
function t(r, n, i) {
|
|
35516
35564
|
var o = e.call(this, r) || this;
|
|
35517
35565
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -35520,48 +35568,48 @@ var Ae = (
|
|
|
35520
35568
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
35521
35569
|
}, t;
|
|
35522
35570
|
}(Error)
|
|
35523
|
-
),
|
|
35571
|
+
), pt = (
|
|
35524
35572
|
/** @class */
|
|
35525
35573
|
function(e) {
|
|
35526
|
-
|
|
35574
|
+
Ae(t, e);
|
|
35527
35575
|
function t(r, n, i, o) {
|
|
35528
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
35576
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, o) || this;
|
|
35529
35577
|
}
|
|
35530
35578
|
return t;
|
|
35531
|
-
}(
|
|
35532
|
-
),
|
|
35579
|
+
}(He)
|
|
35580
|
+
), qn = (
|
|
35533
35581
|
/** @class */
|
|
35534
35582
|
function(e) {
|
|
35535
|
-
|
|
35583
|
+
Ae(t, e);
|
|
35536
35584
|
function t(r, n, i) {
|
|
35537
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
35585
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
|
|
35538
35586
|
}
|
|
35539
35587
|
return t;
|
|
35540
|
-
}(
|
|
35541
|
-
),
|
|
35588
|
+
}(He)
|
|
35589
|
+
), Gn = (
|
|
35542
35590
|
/** @class */
|
|
35543
35591
|
function(e) {
|
|
35544
|
-
|
|
35592
|
+
Ae(t, e);
|
|
35545
35593
|
function t(r, n) {
|
|
35546
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
35594
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
|
|
35547
35595
|
}
|
|
35548
35596
|
return t;
|
|
35549
|
-
}(
|
|
35597
|
+
}(He)
|
|
35550
35598
|
), D;
|
|
35551
35599
|
(function(e) {
|
|
35552
35600
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
35553
35601
|
})(D || (D = {}));
|
|
35554
|
-
function
|
|
35602
|
+
function Fn(e) {
|
|
35555
35603
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
35556
35604
|
var n = t[t.length - 1];
|
|
35557
35605
|
return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
|
|
35558
35606
|
}, []);
|
|
35559
35607
|
}
|
|
35560
|
-
function
|
|
35608
|
+
function Vn(e) {
|
|
35561
35609
|
return typeof e == "function";
|
|
35562
35610
|
}
|
|
35563
|
-
function
|
|
35564
|
-
if (e.length === 1 &&
|
|
35611
|
+
function xe(e, t, r, n, i, o, a) {
|
|
35612
|
+
if (e.length === 1 && lt(e[0]))
|
|
35565
35613
|
return [
|
|
35566
35614
|
{
|
|
35567
35615
|
type: D.literal,
|
|
@@ -35570,14 +35618,14 @@ function Se(e, t, r, n, i, o, a) {
|
|
|
35570
35618
|
];
|
|
35571
35619
|
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
35572
35620
|
var l = u[h];
|
|
35573
|
-
if (
|
|
35621
|
+
if (lt(l)) {
|
|
35574
35622
|
s.push({
|
|
35575
35623
|
type: D.literal,
|
|
35576
35624
|
value: l.value
|
|
35577
35625
|
});
|
|
35578
35626
|
continue;
|
|
35579
35627
|
}
|
|
35580
|
-
if (
|
|
35628
|
+
if (mn(l)) {
|
|
35581
35629
|
typeof o == "number" && s.push({
|
|
35582
35630
|
type: D.literal,
|
|
35583
35631
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -35586,89 +35634,89 @@ function Se(e, t, r, n, i, o, a) {
|
|
|
35586
35634
|
}
|
|
35587
35635
|
var d = l.value;
|
|
35588
35636
|
if (!(i && d in i))
|
|
35589
|
-
throw new
|
|
35637
|
+
throw new Gn(d, a);
|
|
35590
35638
|
var m = i[d];
|
|
35591
|
-
if (
|
|
35639
|
+
if (dn(l)) {
|
|
35592
35640
|
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
|
|
35593
35641
|
type: typeof m == "string" ? D.literal : D.object,
|
|
35594
35642
|
value: m
|
|
35595
35643
|
});
|
|
35596
35644
|
continue;
|
|
35597
35645
|
}
|
|
35598
|
-
if (
|
|
35599
|
-
var
|
|
35646
|
+
if (Gt(l)) {
|
|
35647
|
+
var b = typeof l.style == "string" ? n.date[l.style] : qe(l.style) ? l.style.parsedOptions : void 0;
|
|
35600
35648
|
s.push({
|
|
35601
35649
|
type: D.literal,
|
|
35602
|
-
value: r.getDateTimeFormat(t,
|
|
35650
|
+
value: r.getDateTimeFormat(t, b).format(m)
|
|
35603
35651
|
});
|
|
35604
35652
|
continue;
|
|
35605
35653
|
}
|
|
35606
|
-
if (
|
|
35607
|
-
var
|
|
35654
|
+
if (Ft(l)) {
|
|
35655
|
+
var b = typeof l.style == "string" ? n.time[l.style] : qe(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
35608
35656
|
s.push({
|
|
35609
35657
|
type: D.literal,
|
|
35610
|
-
value: r.getDateTimeFormat(t,
|
|
35658
|
+
value: r.getDateTimeFormat(t, b).format(m)
|
|
35611
35659
|
});
|
|
35612
35660
|
continue;
|
|
35613
35661
|
}
|
|
35614
|
-
if (
|
|
35615
|
-
var
|
|
35616
|
-
|
|
35662
|
+
if (qt(l)) {
|
|
35663
|
+
var b = typeof l.style == "string" ? n.number[l.style] : Zt(l.style) ? l.style.parsedOptions : void 0;
|
|
35664
|
+
b && b.scale && (m = m * (b.scale || 1)), s.push({
|
|
35617
35665
|
type: D.literal,
|
|
35618
|
-
value: r.getNumberFormat(t,
|
|
35666
|
+
value: r.getNumberFormat(t, b).format(m)
|
|
35619
35667
|
});
|
|
35620
35668
|
continue;
|
|
35621
35669
|
}
|
|
35622
|
-
if (
|
|
35623
|
-
var f = l.children,
|
|
35624
|
-
if (!
|
|
35625
|
-
throw new
|
|
35626
|
-
var _ =
|
|
35627
|
-
return
|
|
35670
|
+
if (Wt(l)) {
|
|
35671
|
+
var f = l.children, g = l.value, S = i[g];
|
|
35672
|
+
if (!Vn(S))
|
|
35673
|
+
throw new qn(g, "function", a);
|
|
35674
|
+
var _ = xe(f, t, r, n, i, o), v = S(_.map(function(k) {
|
|
35675
|
+
return k.value;
|
|
35628
35676
|
}));
|
|
35629
|
-
Array.isArray(
|
|
35677
|
+
Array.isArray(v) || (v = [v]), s.push.apply(s, v.map(function(k) {
|
|
35630
35678
|
return {
|
|
35631
|
-
type: typeof
|
|
35632
|
-
value:
|
|
35679
|
+
type: typeof k == "string" ? D.literal : D.object,
|
|
35680
|
+
value: k
|
|
35633
35681
|
};
|
|
35634
35682
|
}));
|
|
35635
35683
|
}
|
|
35636
|
-
if (
|
|
35637
|
-
var
|
|
35638
|
-
if (!
|
|
35639
|
-
throw new
|
|
35640
|
-
s.push.apply(s,
|
|
35684
|
+
if (Vt(l)) {
|
|
35685
|
+
var C = l.options[m] || l.options.other;
|
|
35686
|
+
if (!C)
|
|
35687
|
+
throw new pt(l.value, m, Object.keys(l.options), a);
|
|
35688
|
+
s.push.apply(s, xe(C.value, t, r, n, i));
|
|
35641
35689
|
continue;
|
|
35642
35690
|
}
|
|
35643
|
-
if (
|
|
35644
|
-
var
|
|
35645
|
-
if (!
|
|
35691
|
+
if (Xt(l)) {
|
|
35692
|
+
var C = l.options["=".concat(m)];
|
|
35693
|
+
if (!C) {
|
|
35646
35694
|
if (!Intl.PluralRules)
|
|
35647
|
-
throw new
|
|
35695
|
+
throw new He(`Intl.PluralRules is not available in this environment.
|
|
35648
35696
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
35649
|
-
`,
|
|
35697
|
+
`, re.MISSING_INTL_API, a);
|
|
35650
35698
|
var P = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
|
|
35651
|
-
|
|
35699
|
+
C = l.options[P] || l.options.other;
|
|
35652
35700
|
}
|
|
35653
|
-
if (!
|
|
35654
|
-
throw new
|
|
35655
|
-
s.push.apply(s,
|
|
35701
|
+
if (!C)
|
|
35702
|
+
throw new pt(l.value, m, Object.keys(l.options), a);
|
|
35703
|
+
s.push.apply(s, xe(C.value, t, r, n, i, m - (l.offset || 0)));
|
|
35656
35704
|
continue;
|
|
35657
35705
|
}
|
|
35658
35706
|
}
|
|
35659
|
-
return
|
|
35707
|
+
return Fn(s);
|
|
35660
35708
|
}
|
|
35661
|
-
function
|
|
35709
|
+
function Xn(e, t) {
|
|
35662
35710
|
return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
35663
35711
|
return r[n] = H(H({}, e[n]), t[n] || {}), r;
|
|
35664
35712
|
}, {})) : e;
|
|
35665
35713
|
}
|
|
35666
|
-
function
|
|
35714
|
+
function Wn(e, t) {
|
|
35667
35715
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
35668
|
-
return r[n] =
|
|
35716
|
+
return r[n] = Xn(e[n], t[n]), r;
|
|
35669
35717
|
}, H({}, e)) : e;
|
|
35670
35718
|
}
|
|
35671
|
-
function
|
|
35719
|
+
function Re(e) {
|
|
35672
35720
|
return {
|
|
35673
35721
|
create: function() {
|
|
35674
35722
|
return {
|
|
@@ -35682,39 +35730,39 @@ function Le(e) {
|
|
|
35682
35730
|
}
|
|
35683
35731
|
};
|
|
35684
35732
|
}
|
|
35685
|
-
function
|
|
35733
|
+
function Zn(e) {
|
|
35686
35734
|
return e === void 0 && (e = {
|
|
35687
35735
|
number: {},
|
|
35688
35736
|
dateTime: {},
|
|
35689
35737
|
pluralRules: {}
|
|
35690
35738
|
}), {
|
|
35691
|
-
getNumberFormat:
|
|
35739
|
+
getNumberFormat: Ie(function() {
|
|
35692
35740
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
35693
35741
|
r[n] = arguments[n];
|
|
35694
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
35742
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
|
|
35695
35743
|
}, {
|
|
35696
|
-
cache:
|
|
35697
|
-
strategy:
|
|
35744
|
+
cache: Re(e.number),
|
|
35745
|
+
strategy: je.variadic
|
|
35698
35746
|
}),
|
|
35699
|
-
getDateTimeFormat:
|
|
35747
|
+
getDateTimeFormat: Ie(function() {
|
|
35700
35748
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
35701
35749
|
r[n] = arguments[n];
|
|
35702
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
35750
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
|
|
35703
35751
|
}, {
|
|
35704
|
-
cache:
|
|
35705
|
-
strategy:
|
|
35752
|
+
cache: Re(e.dateTime),
|
|
35753
|
+
strategy: je.variadic
|
|
35706
35754
|
}),
|
|
35707
|
-
getPluralRules:
|
|
35755
|
+
getPluralRules: Ie(function() {
|
|
35708
35756
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
35709
35757
|
r[n] = arguments[n];
|
|
35710
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
35758
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
|
|
35711
35759
|
}, {
|
|
35712
|
-
cache:
|
|
35713
|
-
strategy:
|
|
35760
|
+
cache: Re(e.pluralRules),
|
|
35761
|
+
strategy: je.variadic
|
|
35714
35762
|
})
|
|
35715
35763
|
};
|
|
35716
35764
|
}
|
|
35717
|
-
var
|
|
35765
|
+
var Jn = (
|
|
35718
35766
|
/** @class */
|
|
35719
35767
|
function() {
|
|
35720
35768
|
function e(t, r, n, i) {
|
|
@@ -35733,7 +35781,7 @@ var Wn = (
|
|
|
35733
35781
|
}, []);
|
|
35734
35782
|
return l.length <= 1 ? l[0] || "" : l;
|
|
35735
35783
|
}, this.formatToParts = function(h) {
|
|
35736
|
-
return
|
|
35784
|
+
return xe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
35737
35785
|
}, this.resolvedOptions = function() {
|
|
35738
35786
|
var h;
|
|
35739
35787
|
return {
|
|
@@ -35745,13 +35793,13 @@ var Wn = (
|
|
|
35745
35793
|
if (this.message = t, !e.__parse)
|
|
35746
35794
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
35747
35795
|
var a = i || {};
|
|
35748
|
-
var s =
|
|
35796
|
+
var s = on(a, ["formatters"]);
|
|
35749
35797
|
this.ast = e.__parse(t, H(H({}, s), { locale: this.resolvedLocale }));
|
|
35750
35798
|
} else
|
|
35751
35799
|
this.ast = t;
|
|
35752
35800
|
if (!Array.isArray(this.ast))
|
|
35753
35801
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
35754
|
-
this.formats =
|
|
35802
|
+
this.formats = Wn(e.formats, n), this.formatters = i && i.formatters || Zn(this.formatterCache);
|
|
35755
35803
|
}
|
|
35756
35804
|
return Object.defineProperty(e, "defaultLocale", {
|
|
35757
35805
|
get: function() {
|
|
@@ -35764,7 +35812,7 @@ var Wn = (
|
|
|
35764
35812
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
35765
35813
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
35766
35814
|
}
|
|
35767
|
-
}, e.__parse =
|
|
35815
|
+
}, e.__parse = Dn, e.formats = {
|
|
35768
35816
|
number: {
|
|
35769
35817
|
integer: {
|
|
35770
35818
|
maximumFractionDigits: 0
|
|
@@ -35825,7 +35873,7 @@ var Wn = (
|
|
|
35825
35873
|
}, e;
|
|
35826
35874
|
}()
|
|
35827
35875
|
);
|
|
35828
|
-
function
|
|
35876
|
+
function Qn(e, t) {
|
|
35829
35877
|
if (t == null)
|
|
35830
35878
|
return;
|
|
35831
35879
|
if (t in e)
|
|
@@ -35846,92 +35894,92 @@ function Zn(e, t) {
|
|
|
35846
35894
|
n = void 0;
|
|
35847
35895
|
return n;
|
|
35848
35896
|
}
|
|
35849
|
-
const
|
|
35897
|
+
const J = {}, Yn = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), rr = (e, t) => {
|
|
35850
35898
|
if (t == null)
|
|
35851
35899
|
return;
|
|
35852
|
-
if (t in
|
|
35853
|
-
return
|
|
35854
|
-
const r =
|
|
35900
|
+
if (t in J && e in J[t])
|
|
35901
|
+
return J[t][e];
|
|
35902
|
+
const r = Pe(t);
|
|
35855
35903
|
for (let n = 0; n < r.length; n++) {
|
|
35856
|
-
const i = r[n], o =
|
|
35904
|
+
const i = r[n], o = $n(i, e);
|
|
35857
35905
|
if (o)
|
|
35858
|
-
return
|
|
35906
|
+
return Yn(e, t, o);
|
|
35859
35907
|
}
|
|
35860
35908
|
};
|
|
35861
|
-
let
|
|
35862
|
-
const
|
|
35863
|
-
function
|
|
35864
|
-
return
|
|
35909
|
+
let et;
|
|
35910
|
+
const _e = Ne({});
|
|
35911
|
+
function Kn(e) {
|
|
35912
|
+
return et[e] || null;
|
|
35865
35913
|
}
|
|
35866
|
-
function
|
|
35867
|
-
return e in
|
|
35914
|
+
function nr(e) {
|
|
35915
|
+
return e in et;
|
|
35868
35916
|
}
|
|
35869
|
-
function
|
|
35870
|
-
if (!
|
|
35917
|
+
function $n(e, t) {
|
|
35918
|
+
if (!nr(e))
|
|
35871
35919
|
return null;
|
|
35872
|
-
const r =
|
|
35873
|
-
return
|
|
35920
|
+
const r = Kn(e);
|
|
35921
|
+
return Qn(r, t);
|
|
35874
35922
|
}
|
|
35875
|
-
function
|
|
35923
|
+
function ei(e) {
|
|
35876
35924
|
if (e == null)
|
|
35877
35925
|
return;
|
|
35878
|
-
const t =
|
|
35926
|
+
const t = Pe(e);
|
|
35879
35927
|
for (let r = 0; r < t.length; r++) {
|
|
35880
35928
|
const n = t[r];
|
|
35881
|
-
if (
|
|
35929
|
+
if (nr(n))
|
|
35882
35930
|
return n;
|
|
35883
35931
|
}
|
|
35884
35932
|
}
|
|
35885
|
-
function
|
|
35886
|
-
delete
|
|
35933
|
+
function ir(e, ...t) {
|
|
35934
|
+
delete J[e], _e.update((r) => (r[e] = nn.all([r[e] || {}, ...t]), r));
|
|
35887
35935
|
}
|
|
35888
|
-
|
|
35889
|
-
[
|
|
35936
|
+
ie(
|
|
35937
|
+
[_e],
|
|
35890
35938
|
([e]) => Object.keys(e)
|
|
35891
35939
|
);
|
|
35892
|
-
|
|
35893
|
-
const
|
|
35894
|
-
function
|
|
35895
|
-
|
|
35940
|
+
_e.subscribe((e) => et = e);
|
|
35941
|
+
const Me = {};
|
|
35942
|
+
function ti(e, t) {
|
|
35943
|
+
Me[e].delete(t), Me[e].size === 0 && delete Me[e];
|
|
35896
35944
|
}
|
|
35897
|
-
function
|
|
35898
|
-
return
|
|
35945
|
+
function or(e) {
|
|
35946
|
+
return Me[e];
|
|
35899
35947
|
}
|
|
35900
|
-
function
|
|
35901
|
-
return
|
|
35902
|
-
const r =
|
|
35948
|
+
function ri(e) {
|
|
35949
|
+
return Pe(e).map((t) => {
|
|
35950
|
+
const r = or(t);
|
|
35903
35951
|
return [t, r ? [...r] : []];
|
|
35904
35952
|
}).filter(([, t]) => t.length > 0);
|
|
35905
35953
|
}
|
|
35906
|
-
function
|
|
35907
|
-
return e == null ? !1 :
|
|
35954
|
+
function Ze(e) {
|
|
35955
|
+
return e == null ? !1 : Pe(e).some(
|
|
35908
35956
|
(t) => {
|
|
35909
35957
|
var r;
|
|
35910
|
-
return (r =
|
|
35958
|
+
return (r = or(t)) == null ? void 0 : r.size;
|
|
35911
35959
|
}
|
|
35912
35960
|
);
|
|
35913
35961
|
}
|
|
35914
|
-
function
|
|
35962
|
+
function ni(e, t) {
|
|
35915
35963
|
return Promise.all(
|
|
35916
|
-
t.map((n) => (
|
|
35917
|
-
).then((n) =>
|
|
35918
|
-
}
|
|
35919
|
-
const
|
|
35920
|
-
function
|
|
35921
|
-
if (!
|
|
35922
|
-
return e in
|
|
35923
|
-
const t =
|
|
35924
|
-
return
|
|
35964
|
+
t.map((n) => (ti(e, n), n().then((i) => i.default || i)))
|
|
35965
|
+
).then((n) => ir(e, ...n));
|
|
35966
|
+
}
|
|
35967
|
+
const he = {};
|
|
35968
|
+
function ar(e) {
|
|
35969
|
+
if (!Ze(e))
|
|
35970
|
+
return e in he ? he[e] : Promise.resolve();
|
|
35971
|
+
const t = ri(e);
|
|
35972
|
+
return he[e] = Promise.all(
|
|
35925
35973
|
t.map(
|
|
35926
|
-
([r, n]) =>
|
|
35974
|
+
([r, n]) => ni(r, n)
|
|
35927
35975
|
)
|
|
35928
35976
|
).then(() => {
|
|
35929
|
-
if (
|
|
35930
|
-
return
|
|
35931
|
-
delete
|
|
35932
|
-
}),
|
|
35977
|
+
if (Ze(e))
|
|
35978
|
+
return ar(e);
|
|
35979
|
+
delete he[e];
|
|
35980
|
+
}), he[e];
|
|
35933
35981
|
}
|
|
35934
|
-
const
|
|
35982
|
+
const ii = {
|
|
35935
35983
|
number: {
|
|
35936
35984
|
scientific: { notation: "scientific" },
|
|
35937
35985
|
engineering: { notation: "engineering" },
|
|
@@ -35960,150 +36008,150 @@ const ri = {
|
|
|
35960
36008
|
timeZoneName: "short"
|
|
35961
36009
|
}
|
|
35962
36010
|
}
|
|
35963
|
-
},
|
|
36011
|
+
}, oi = {
|
|
35964
36012
|
fallbackLocale: null,
|
|
35965
36013
|
loadingDelay: 200,
|
|
35966
|
-
formats:
|
|
36014
|
+
formats: ii,
|
|
35967
36015
|
warnOnMissingMessages: !0,
|
|
35968
36016
|
handleMissingMessage: void 0,
|
|
35969
36017
|
ignoreTag: !0
|
|
35970
|
-
},
|
|
35971
|
-
function
|
|
35972
|
-
return
|
|
36018
|
+
}, ai = oi;
|
|
36019
|
+
function ne() {
|
|
36020
|
+
return ai;
|
|
35973
36021
|
}
|
|
35974
|
-
const
|
|
35975
|
-
var
|
|
36022
|
+
const Ue = Ne(!1);
|
|
36023
|
+
var si = Object.defineProperty, li = Object.defineProperties, ci = Object.getOwnPropertyDescriptors, ft = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, hi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, di = (e, t) => {
|
|
35976
36024
|
for (var r in t || (t = {}))
|
|
35977
|
-
|
|
35978
|
-
if (
|
|
35979
|
-
for (var r of
|
|
35980
|
-
|
|
36025
|
+
ui.call(t, r) && _t(e, r, t[r]);
|
|
36026
|
+
if (ft)
|
|
36027
|
+
for (var r of ft(t))
|
|
36028
|
+
hi.call(t, r) && _t(e, r, t[r]);
|
|
35981
36029
|
return e;
|
|
35982
|
-
},
|
|
35983
|
-
let
|
|
35984
|
-
const Te =
|
|
35985
|
-
function
|
|
36030
|
+
}, mi = (e, t) => li(e, ci(t));
|
|
36031
|
+
let Je;
|
|
36032
|
+
const Te = Ne(null);
|
|
36033
|
+
function bt(e) {
|
|
35986
36034
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
35987
36035
|
}
|
|
35988
|
-
function
|
|
35989
|
-
const r =
|
|
35990
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
36036
|
+
function Pe(e, t = ne().fallbackLocale) {
|
|
36037
|
+
const r = bt(e);
|
|
36038
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
|
|
35991
36039
|
}
|
|
35992
|
-
function
|
|
35993
|
-
return
|
|
36040
|
+
function Y() {
|
|
36041
|
+
return Je ?? void 0;
|
|
35994
36042
|
}
|
|
35995
36043
|
Te.subscribe((e) => {
|
|
35996
|
-
|
|
36044
|
+
Je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
35997
36045
|
});
|
|
35998
|
-
const
|
|
35999
|
-
if (e &&
|
|
36000
|
-
const { loadingDelay: t } =
|
|
36046
|
+
const gi = (e) => {
|
|
36047
|
+
if (e && ei(e) && Ze(e)) {
|
|
36048
|
+
const { loadingDelay: t } = ne();
|
|
36001
36049
|
let r;
|
|
36002
|
-
return typeof window < "u" &&
|
|
36003
|
-
() =>
|
|
36050
|
+
return typeof window < "u" && Y() != null && t ? r = window.setTimeout(
|
|
36051
|
+
() => Ue.set(!0),
|
|
36004
36052
|
t
|
|
36005
|
-
) :
|
|
36053
|
+
) : Ue.set(!0), ar(e).then(() => {
|
|
36006
36054
|
Te.set(e);
|
|
36007
36055
|
}).finally(() => {
|
|
36008
|
-
clearTimeout(r),
|
|
36056
|
+
clearTimeout(r), Ue.set(!1);
|
|
36009
36057
|
});
|
|
36010
36058
|
}
|
|
36011
36059
|
return Te.set(e);
|
|
36012
|
-
},
|
|
36013
|
-
set:
|
|
36014
|
-
}),
|
|
36060
|
+
}, oe = mi(di({}, Te), {
|
|
36061
|
+
set: gi
|
|
36062
|
+
}), Be = (e) => {
|
|
36015
36063
|
const t = /* @__PURE__ */ Object.create(null);
|
|
36016
36064
|
return (n) => {
|
|
36017
36065
|
const i = JSON.stringify(n);
|
|
36018
36066
|
return i in t ? t[i] : t[i] = e(n);
|
|
36019
36067
|
};
|
|
36020
36068
|
};
|
|
36021
|
-
var
|
|
36069
|
+
var pi = Object.defineProperty, we = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
|
|
36022
36070
|
for (var r in t || (t = {}))
|
|
36023
|
-
|
|
36024
|
-
if (
|
|
36025
|
-
for (var r of
|
|
36026
|
-
|
|
36071
|
+
sr.call(t, r) && vt(e, r, t[r]);
|
|
36072
|
+
if (we)
|
|
36073
|
+
for (var r of we(t))
|
|
36074
|
+
lr.call(t, r) && vt(e, r, t[r]);
|
|
36027
36075
|
return e;
|
|
36028
|
-
},
|
|
36076
|
+
}, ae = (e, t) => {
|
|
36029
36077
|
var r = {};
|
|
36030
36078
|
for (var n in e)
|
|
36031
|
-
|
|
36032
|
-
if (e != null &&
|
|
36033
|
-
for (var n of
|
|
36034
|
-
t.indexOf(n) < 0 &&
|
|
36079
|
+
sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
36080
|
+
if (e != null && we)
|
|
36081
|
+
for (var n of we(e))
|
|
36082
|
+
t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
|
|
36035
36083
|
return r;
|
|
36036
36084
|
};
|
|
36037
|
-
const
|
|
36038
|
-
const { formats: r } =
|
|
36085
|
+
const ge = (e, t) => {
|
|
36086
|
+
const { formats: r } = ne();
|
|
36039
36087
|
if (e in r && t in r[e])
|
|
36040
36088
|
return r[e][t];
|
|
36041
36089
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
36042
|
-
},
|
|
36090
|
+
}, fi = Be(
|
|
36043
36091
|
(e) => {
|
|
36044
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
36092
|
+
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
36045
36093
|
if (r == null)
|
|
36046
36094
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
36047
|
-
return n && (i =
|
|
36095
|
+
return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
|
|
36048
36096
|
}
|
|
36049
|
-
),
|
|
36097
|
+
), _i = Be(
|
|
36050
36098
|
(e) => {
|
|
36051
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
36099
|
+
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
36052
36100
|
if (r == null)
|
|
36053
36101
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
36054
|
-
return n ? i =
|
|
36102
|
+
return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
36055
36103
|
}
|
|
36056
|
-
),
|
|
36104
|
+
), bi = Be(
|
|
36057
36105
|
(e) => {
|
|
36058
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
36106
|
+
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
36059
36107
|
if (r == null)
|
|
36060
36108
|
throw new Error(
|
|
36061
36109
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
36062
36110
|
);
|
|
36063
|
-
return n ? i =
|
|
36111
|
+
return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
36064
36112
|
}
|
|
36065
|
-
),
|
|
36113
|
+
), vi = (e = {}) => {
|
|
36066
36114
|
var t = e, {
|
|
36067
|
-
locale: r =
|
|
36068
|
-
} = t, n =
|
|
36115
|
+
locale: r = Y()
|
|
36116
|
+
} = t, n = ae(t, [
|
|
36069
36117
|
"locale"
|
|
36070
36118
|
]);
|
|
36071
|
-
return
|
|
36072
|
-
},
|
|
36119
|
+
return fi(tt({ locale: r }, n));
|
|
36120
|
+
}, yi = (e = {}) => {
|
|
36073
36121
|
var t = e, {
|
|
36074
|
-
locale: r =
|
|
36075
|
-
} = t, n =
|
|
36122
|
+
locale: r = Y()
|
|
36123
|
+
} = t, n = ae(t, [
|
|
36076
36124
|
"locale"
|
|
36077
36125
|
]);
|
|
36078
|
-
return
|
|
36079
|
-
},
|
|
36126
|
+
return _i(tt({ locale: r }, n));
|
|
36127
|
+
}, Ei = (e = {}) => {
|
|
36080
36128
|
var t = e, {
|
|
36081
|
-
locale: r =
|
|
36082
|
-
} = t, n =
|
|
36129
|
+
locale: r = Y()
|
|
36130
|
+
} = t, n = ae(t, [
|
|
36083
36131
|
"locale"
|
|
36084
36132
|
]);
|
|
36085
|
-
return
|
|
36086
|
-
},
|
|
36133
|
+
return bi(tt({ locale: r }, n));
|
|
36134
|
+
}, ki = Be(
|
|
36087
36135
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
36088
|
-
(e, t =
|
|
36089
|
-
ignoreTag:
|
|
36136
|
+
(e, t = Y()) => new Jn(e, t, ne().formats, {
|
|
36137
|
+
ignoreTag: ne().ignoreTag
|
|
36090
36138
|
})
|
|
36091
|
-
),
|
|
36139
|
+
), Ci = (e, t = {}) => {
|
|
36092
36140
|
var r, n, i, o;
|
|
36093
36141
|
let a = t;
|
|
36094
36142
|
typeof e == "object" && (a = e, e = a.id);
|
|
36095
36143
|
const {
|
|
36096
36144
|
values: s,
|
|
36097
|
-
locale: h =
|
|
36145
|
+
locale: h = Y(),
|
|
36098
36146
|
default: u
|
|
36099
36147
|
} = a;
|
|
36100
36148
|
if (h == null)
|
|
36101
36149
|
throw new Error(
|
|
36102
36150
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
36103
36151
|
);
|
|
36104
|
-
let l =
|
|
36152
|
+
let l = rr(e, h);
|
|
36105
36153
|
if (!l)
|
|
36106
|
-
l = (o = (i = (n = (r =
|
|
36154
|
+
l = (o = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
36107
36155
|
else if (typeof l != "string")
|
|
36108
36156
|
return console.warn(
|
|
36109
36157
|
`[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.`
|
|
@@ -36112,7 +36160,7 @@ const me = (e, t) => {
|
|
|
36112
36160
|
return l;
|
|
36113
36161
|
let d = l;
|
|
36114
36162
|
try {
|
|
36115
|
-
d =
|
|
36163
|
+
d = ki(l, h).format(s);
|
|
36116
36164
|
} catch (m) {
|
|
36117
36165
|
m instanceof Error && console.warn(
|
|
36118
36166
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -36120,18 +36168,18 @@ const me = (e, t) => {
|
|
|
36120
36168
|
);
|
|
36121
36169
|
}
|
|
36122
36170
|
return d;
|
|
36123
|
-
},
|
|
36124
|
-
|
|
36125
|
-
|
|
36126
|
-
|
|
36127
|
-
|
|
36128
|
-
function
|
|
36129
|
-
|
|
36130
|
-
}
|
|
36131
|
-
function
|
|
36132
|
-
|
|
36133
|
-
}
|
|
36134
|
-
const
|
|
36171
|
+
}, Si = (e, t) => Ei(t).format(e), xi = (e, t) => yi(t).format(e), Mi = (e, t) => vi(t).format(e), Ti = (e, t = Y()) => rr(e, t), wi = ie([oe, _e], () => Ci);
|
|
36172
|
+
ie([oe], () => Si);
|
|
36173
|
+
ie([oe], () => xi);
|
|
36174
|
+
ie([oe], () => Mi);
|
|
36175
|
+
ie([oe, _e], () => Ti);
|
|
36176
|
+
function yt(e, t) {
|
|
36177
|
+
ir(e, t);
|
|
36178
|
+
}
|
|
36179
|
+
function Ni(e) {
|
|
36180
|
+
oe.set(e);
|
|
36181
|
+
}
|
|
36182
|
+
const Et = {
|
|
36135
36183
|
en: {
|
|
36136
36184
|
invalidUrl: "Failed to construct 'URL': Invalid URL",
|
|
36137
36185
|
fetchConsentsError: "Error: Could not fetch consents.",
|
|
@@ -36703,18 +36751,18 @@ if (typeof window < "u") {
|
|
|
36703
36751
|
}
|
|
36704
36752
|
};
|
|
36705
36753
|
};
|
|
36706
|
-
customElements.define = e(customElements.define), Promise.resolve().then(function () { return
|
|
36754
|
+
customElements.define = e(customElements.define), Promise.resolve().then(function () { return GeneralAnimationLoadingBMZE178n; }).then((t) => t.G).then(({ default: t }) => {
|
|
36707
36755
|
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
|
|
36708
36756
|
});
|
|
36709
36757
|
}
|
|
36710
|
-
function
|
|
36758
|
+
function Ai(e) {
|
|
36711
36759
|
let t, r;
|
|
36712
36760
|
return {
|
|
36713
36761
|
c() {
|
|
36714
36762
|
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");
|
|
36715
36763
|
},
|
|
36716
36764
|
m(n, i) {
|
|
36717
|
-
|
|
36765
|
+
v(n, t, i), G(t, r);
|
|
36718
36766
|
},
|
|
36719
36767
|
p: d,
|
|
36720
36768
|
i: d,
|
|
@@ -36724,34 +36772,34 @@ function wi(e) {
|
|
|
36724
36772
|
}
|
|
36725
36773
|
};
|
|
36726
36774
|
}
|
|
36727
|
-
class
|
|
36775
|
+
class Hi extends lt$1 {
|
|
36728
36776
|
constructor(t) {
|
|
36729
|
-
super(), ct$1(this, t, null,
|
|
36777
|
+
super(), ct$1(this, t, null, Ai, z, {});
|
|
36730
36778
|
}
|
|
36731
36779
|
}
|
|
36732
|
-
customElements.define("circle-exclamation-icon", ot
|
|
36733
|
-
function
|
|
36780
|
+
customElements.define("circle-exclamation-icon", ot(Hi, {}, [], [], !0));
|
|
36781
|
+
function Pi(e) {
|
|
36734
36782
|
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}');
|
|
36735
36783
|
}
|
|
36736
|
-
function
|
|
36784
|
+
function kt(e, t, r) {
|
|
36737
36785
|
const n = e.slice();
|
|
36738
36786
|
return n[64] = t[r], n;
|
|
36739
36787
|
}
|
|
36740
|
-
function
|
|
36788
|
+
function Ct(e, t, r) {
|
|
36741
36789
|
const n = e.slice();
|
|
36742
36790
|
return n[61] = t[r], n[62] = t, n[63] = r, n;
|
|
36743
36791
|
}
|
|
36744
|
-
function
|
|
36792
|
+
function St(e, t, r) {
|
|
36745
36793
|
const n = e.slice();
|
|
36746
36794
|
return n[64] = t[r], n;
|
|
36747
36795
|
}
|
|
36748
|
-
function
|
|
36749
|
-
let t, r, n =
|
|
36796
|
+
function Bi(e) {
|
|
36797
|
+
let t, r, n = kt$1(
|
|
36750
36798
|
/*playerConsents*/
|
|
36751
36799
|
e[9]
|
|
36752
36800
|
), i = [];
|
|
36753
36801
|
for (let o = 0; o < n.length; o += 1)
|
|
36754
|
-
i[o] = kt(
|
|
36802
|
+
i[o] = xt(kt(e, n, o));
|
|
36755
36803
|
return {
|
|
36756
36804
|
c() {
|
|
36757
36805
|
t = w$1("div"), r = w$1("form");
|
|
@@ -36760,7 +36808,7 @@ function Hi(e) {
|
|
|
36760
36808
|
B$1(r, "class", "checkbox svelte-ltb9q9"), B$1(t, "class", "legacyStyle");
|
|
36761
36809
|
},
|
|
36762
36810
|
m(o, a) {
|
|
36763
|
-
|
|
36811
|
+
v(o, t, a), G(t, r);
|
|
36764
36812
|
for (let s = 0; s < i.length; s += 1)
|
|
36765
36813
|
i[s] && i[s].m(r, null);
|
|
36766
36814
|
e[31](r);
|
|
@@ -36768,14 +36816,14 @@ function Hi(e) {
|
|
|
36768
36816
|
p(o, a) {
|
|
36769
36817
|
if (a[0] & /*playerConsents, $_, handleInput*/
|
|
36770
36818
|
590336) {
|
|
36771
|
-
n =
|
|
36819
|
+
n = kt$1(
|
|
36772
36820
|
/*playerConsents*/
|
|
36773
36821
|
o[9]
|
|
36774
36822
|
);
|
|
36775
36823
|
let s;
|
|
36776
36824
|
for (s = 0; s < n.length; s += 1) {
|
|
36777
|
-
const h =
|
|
36778
|
-
i[s] ? i[s].p(h, a) : (i[s] =
|
|
36825
|
+
const h = kt(o, n, s);
|
|
36826
|
+
i[s] ? i[s].p(h, a) : (i[s] = xt(h), i[s].c(), i[s].m(r, null));
|
|
36779
36827
|
}
|
|
36780
36828
|
for (; s < i.length; s += 1)
|
|
36781
36829
|
i[s].d(1);
|
|
@@ -36787,7 +36835,7 @@ function Hi(e) {
|
|
|
36787
36835
|
}
|
|
36788
36836
|
};
|
|
36789
36837
|
}
|
|
36790
|
-
function
|
|
36838
|
+
function zi(e) {
|
|
36791
36839
|
let t = (
|
|
36792
36840
|
/*$_*/
|
|
36793
36841
|
e[16]("title") || /*$_*/
|
|
@@ -36795,67 +36843,67 @@ function Pi(e) {
|
|
|
36795
36843
|
), r, n, i, o = (
|
|
36796
36844
|
/*$_*/
|
|
36797
36845
|
(e[16]("saveButtonContent") || "Save Consents") + ""
|
|
36798
|
-
), a, s, h, u, l, d = t &&
|
|
36846
|
+
), a, s, h, u, l, d = t && Mt(e), m = kt$1(
|
|
36799
36847
|
/*consentsCategories*/
|
|
36800
36848
|
e[8]
|
|
36801
|
-
),
|
|
36802
|
-
for (let
|
|
36803
|
-
|
|
36849
|
+
), b = [];
|
|
36850
|
+
for (let g = 0; g < m.length; g += 1)
|
|
36851
|
+
b[g] = Pt(Ct(e, m, g));
|
|
36804
36852
|
let f = (
|
|
36805
36853
|
/*errorMessage*/
|
|
36806
|
-
e[6] &&
|
|
36854
|
+
e[6] && Bt(e)
|
|
36807
36855
|
);
|
|
36808
36856
|
return {
|
|
36809
36857
|
c() {
|
|
36810
36858
|
d && d.c(), r = pt$1();
|
|
36811
|
-
for (let
|
|
36812
|
-
|
|
36859
|
+
for (let g = 0; g < b.length; g += 1)
|
|
36860
|
+
b[g].c();
|
|
36813
36861
|
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*/
|
|
36814
36862
|
e[14];
|
|
36815
36863
|
},
|
|
36816
|
-
m(
|
|
36817
|
-
d && d.m(
|
|
36818
|
-
for (let _ = 0; _ <
|
|
36819
|
-
|
|
36820
|
-
|
|
36864
|
+
m(g, S) {
|
|
36865
|
+
d && d.m(g, S), v(g, r, S);
|
|
36866
|
+
for (let _ = 0; _ < b.length; _ += 1)
|
|
36867
|
+
b[_] && b[_].m(g, S);
|
|
36868
|
+
v(g, n, S), v(g, i, S), i.innerHTML = o, v(g, s, S), f && f.m(g, S), v(g, h, S), u || (l = wt$1(
|
|
36821
36869
|
i,
|
|
36822
36870
|
"click",
|
|
36823
36871
|
/*saveChanges*/
|
|
36824
36872
|
e[17]
|
|
36825
36873
|
), u = !0);
|
|
36826
36874
|
},
|
|
36827
|
-
p(
|
|
36828
|
-
if (
|
|
36875
|
+
p(g, S) {
|
|
36876
|
+
if (S[0] & /*$_*/
|
|
36829
36877
|
65536 && (t = /*$_*/
|
|
36830
|
-
|
|
36831
|
-
|
|
36878
|
+
g[16]("title") || /*$_*/
|
|
36879
|
+
g[16]("description")), t ? d ? d.p(g, S) : (d = Mt(g), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), S[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
|
|
36832
36880
|
867088) {
|
|
36833
|
-
m =
|
|
36881
|
+
m = kt$1(
|
|
36834
36882
|
/*consentsCategories*/
|
|
36835
|
-
|
|
36883
|
+
g[8]
|
|
36836
36884
|
);
|
|
36837
36885
|
let _;
|
|
36838
36886
|
for (_ = 0; _ < m.length; _ += 1) {
|
|
36839
|
-
const
|
|
36840
|
-
|
|
36887
|
+
const v = Ct(g, m, _);
|
|
36888
|
+
b[_] ? b[_].p(v, S) : (b[_] = Pt(v), b[_].c(), b[_].m(n.parentNode, n));
|
|
36841
36889
|
}
|
|
36842
|
-
for (; _ <
|
|
36843
|
-
|
|
36844
|
-
|
|
36890
|
+
for (; _ < b.length; _ += 1)
|
|
36891
|
+
b[_].d(1);
|
|
36892
|
+
b.length = m.length;
|
|
36845
36893
|
}
|
|
36846
|
-
|
|
36894
|
+
S[0] & /*$_*/
|
|
36847
36895
|
65536 && o !== (o = /*$_*/
|
|
36848
|
-
(
|
|
36896
|
+
(g[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), S[0] & /*isValid*/
|
|
36849
36897
|
16384 && a !== (a = !/*isValid*/
|
|
36850
|
-
|
|
36851
|
-
|
|
36898
|
+
g[14]) && (i.disabled = a), /*errorMessage*/
|
|
36899
|
+
g[6] ? f ? f.p(g, S) : (f = Bt(g), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
|
|
36852
36900
|
},
|
|
36853
|
-
d(
|
|
36854
|
-
|
|
36901
|
+
d(g) {
|
|
36902
|
+
g && (y(r), y(n), y(i), y(s), y(h)), d && d.d(g), bt$1(b, g), f && f.d(g), u = !1, l();
|
|
36855
36903
|
}
|
|
36856
36904
|
};
|
|
36857
36905
|
}
|
|
36858
|
-
function
|
|
36906
|
+
function Oi(e) {
|
|
36859
36907
|
let t, r, n;
|
|
36860
36908
|
return {
|
|
36861
36909
|
c() {
|
|
@@ -36865,7 +36913,7 @@ function Bi(e) {
|
|
|
36865
36913
|
), B$1(r, "class", "ErrorMessage svelte-ltb9q9"), B$1(t, "class", "ContainerCenter svelte-ltb9q9");
|
|
36866
36914
|
},
|
|
36867
36915
|
m(i, o) {
|
|
36868
|
-
|
|
36916
|
+
v(i, t, o), G(t, r), G(r, n);
|
|
36869
36917
|
},
|
|
36870
36918
|
p(i, o) {
|
|
36871
36919
|
o[0] & /*fatalError*/
|
|
@@ -36880,7 +36928,7 @@ function Bi(e) {
|
|
|
36880
36928
|
}
|
|
36881
36929
|
};
|
|
36882
36930
|
}
|
|
36883
|
-
function
|
|
36931
|
+
function Ii(e) {
|
|
36884
36932
|
let t;
|
|
36885
36933
|
return {
|
|
36886
36934
|
c() {
|
|
@@ -36902,7 +36950,7 @@ function zi(e) {
|
|
|
36902
36950
|
);
|
|
36903
36951
|
},
|
|
36904
36952
|
m(r, n) {
|
|
36905
|
-
|
|
36953
|
+
v(r, t, n);
|
|
36906
36954
|
},
|
|
36907
36955
|
p(r, n) {
|
|
36908
36956
|
n[0] & /*clientstyling*/
|
|
@@ -36930,7 +36978,7 @@ function zi(e) {
|
|
|
36930
36978
|
}
|
|
36931
36979
|
};
|
|
36932
36980
|
}
|
|
36933
|
-
function
|
|
36981
|
+
function xt(e) {
|
|
36934
36982
|
let t, r, n, i, o, a, s, h, u = (
|
|
36935
36983
|
/*$_*/
|
|
36936
36984
|
(e[16](`${/*consent*/
|
|
@@ -36939,31 +36987,31 @@ function kt(e) {
|
|
|
36939
36987
|
), l = (
|
|
36940
36988
|
/*consent*/
|
|
36941
36989
|
e[64].mustAccept ? " *" : ""
|
|
36942
|
-
), d, m,
|
|
36943
|
-
function P$1(...
|
|
36990
|
+
), d, m, b, f, g, S, _, v$1, C;
|
|
36991
|
+
function P$1(...k) {
|
|
36944
36992
|
return (
|
|
36945
36993
|
/*input_handler_1*/
|
|
36946
36994
|
e[30](
|
|
36947
36995
|
/*consent*/
|
|
36948
36996
|
e[64],
|
|
36949
|
-
...
|
|
36997
|
+
...k
|
|
36950
36998
|
)
|
|
36951
36999
|
);
|
|
36952
37000
|
}
|
|
36953
37001
|
return {
|
|
36954
37002
|
c() {
|
|
36955
|
-
t = w$1("div"), r = w$1("input"), o = pt$1(), a = w$1("label"), s = w$1("div"), h = new Lt
|
|
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), b = pt$1(), f = w$1("small"), S = pt$1(), B$1(r, "class", "checkbox__input svelte-ltb9q9"), B$1(r, "type", "checkbox"), r.checked = n = /*consent*/
|
|
36956
37004
|
e[64].status === "1", B$1(r, "id", i = `${/*consent*/
|
|
36957
37005
|
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*/
|
|
36958
|
-
e[64].tagCode}__input`), B$1(f, "class", "checkbox__error-message svelte-ltb9q9"), B$1(f, "id",
|
|
37006
|
+
e[64].tagCode}__input`), B$1(f, "class", "checkbox__error-message svelte-ltb9q9"), B$1(f, "id", g = "checkBoxError__" + /*consent*/
|
|
36959
37007
|
e[64].tagCode), B$1(t, "class", _ = "checkbox__wrapper " + /*consent*/
|
|
36960
37008
|
e[64].tagCode + "__input svelte-ltb9q9");
|
|
36961
37009
|
},
|
|
36962
|
-
m(
|
|
36963
|
-
k
|
|
37010
|
+
m(k, z) {
|
|
37011
|
+
v(k, t, z), G(t, r), G(t, o), G(t, a), G(a, s), h.m(u, s), G(s, d), G(t, b), G(t, f), G(t, S), v$1 || (C = wt$1(r, "input", P$1), v$1 = !0);
|
|
36964
37012
|
},
|
|
36965
|
-
p(
|
|
36966
|
-
e =
|
|
37013
|
+
p(k, z) {
|
|
37014
|
+
e = k, z[0] & /*playerConsents*/
|
|
36967
37015
|
512 && n !== (n = /*consent*/
|
|
36968
37016
|
e[64].status === "1") && (r.checked = n), z[0] & /*playerConsents*/
|
|
36969
37017
|
512 && i !== (i = `${/*consent*/
|
|
@@ -36976,44 +37024,44 @@ function kt(e) {
|
|
|
36976
37024
|
e[64].mustAccept ? " *" : "") && Et$1(d, l), z[0] & /*playerConsents*/
|
|
36977
37025
|
512 && m !== (m = `${/*consent*/
|
|
36978
37026
|
e[64].tagCode}__input`) && B$1(a, "for", m), z[0] & /*playerConsents*/
|
|
36979
|
-
512 &&
|
|
36980
|
-
e[64].tagCode) && B$1(f, "id",
|
|
37027
|
+
512 && g !== (g = "checkBoxError__" + /*consent*/
|
|
37028
|
+
e[64].tagCode) && B$1(f, "id", g), z[0] & /*playerConsents*/
|
|
36981
37029
|
512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
|
|
36982
37030
|
e[64].tagCode + "__input svelte-ltb9q9") && B$1(t, "class", _);
|
|
36983
37031
|
},
|
|
36984
|
-
d(
|
|
36985
|
-
|
|
37032
|
+
d(k) {
|
|
37033
|
+
k && y(t), v$1 = !1, C();
|
|
36986
37034
|
}
|
|
36987
37035
|
};
|
|
36988
37036
|
}
|
|
36989
|
-
function
|
|
37037
|
+
function Mt(e) {
|
|
36990
37038
|
let t, r = (
|
|
36991
37039
|
/*$_*/
|
|
36992
37040
|
e[16]("title")
|
|
36993
37041
|
), n, i = (
|
|
36994
37042
|
/*$_*/
|
|
36995
37043
|
e[16]("description")
|
|
36996
|
-
), o = r &&
|
|
37044
|
+
), o = r && Tt(e), a = i && wt(e);
|
|
36997
37045
|
return {
|
|
36998
37046
|
c() {
|
|
36999
37047
|
t = w$1("div"), o && o.c(), n = pt$1(), a && a.c(), B$1(t, "class", "PlayerConsentsHeader svelte-ltb9q9");
|
|
37000
37048
|
},
|
|
37001
37049
|
m(s, h) {
|
|
37002
|
-
|
|
37050
|
+
v(s, t, h), o && o.m(t, null), G(t, n), a && a.m(t, null);
|
|
37003
37051
|
},
|
|
37004
37052
|
p(s, h) {
|
|
37005
37053
|
h[0] & /*$_*/
|
|
37006
37054
|
65536 && (r = /*$_*/
|
|
37007
|
-
s[16]("title")), r ? o ? o.p(s, h) : (o =
|
|
37055
|
+
s[16]("title")), r ? o ? o.p(s, h) : (o = Tt(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
|
|
37008
37056
|
65536 && (i = /*$_*/
|
|
37009
|
-
s[16]("description")), i ? a ? a.p(s, h) : (a =
|
|
37057
|
+
s[16]("description")), i ? a ? a.p(s, h) : (a = wt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
|
|
37010
37058
|
},
|
|
37011
37059
|
d(s) {
|
|
37012
37060
|
s && y(t), o && o.d(), a && a.d();
|
|
37013
37061
|
}
|
|
37014
37062
|
};
|
|
37015
37063
|
}
|
|
37016
|
-
function
|
|
37064
|
+
function Tt(e) {
|
|
37017
37065
|
let t, r = (
|
|
37018
37066
|
/*$_*/
|
|
37019
37067
|
e[16]("title") + ""
|
|
@@ -37023,7 +37071,7 @@ function St(e) {
|
|
|
37023
37071
|
t = w$1("h2"), n = P(r), B$1(t, "class", "PlayerConsentsTitle");
|
|
37024
37072
|
},
|
|
37025
37073
|
m(i, o) {
|
|
37026
|
-
|
|
37074
|
+
v(i, t, o), G(t, n);
|
|
37027
37075
|
},
|
|
37028
37076
|
p(i, o) {
|
|
37029
37077
|
o[0] & /*$_*/
|
|
@@ -37035,7 +37083,7 @@ function St(e) {
|
|
|
37035
37083
|
}
|
|
37036
37084
|
};
|
|
37037
37085
|
}
|
|
37038
|
-
function
|
|
37086
|
+
function wt(e) {
|
|
37039
37087
|
let t, r = (
|
|
37040
37088
|
/*$_*/
|
|
37041
37089
|
e[16]("description") + ""
|
|
@@ -37045,7 +37093,7 @@ function xt(e) {
|
|
|
37045
37093
|
t = w$1("p"), n = P(r), B$1(t, "class", "PlayerConsentsDescription");
|
|
37046
37094
|
},
|
|
37047
37095
|
m(i, o) {
|
|
37048
|
-
|
|
37096
|
+
v(i, t, o), G(t, n);
|
|
37049
37097
|
},
|
|
37050
37098
|
p(i, o) {
|
|
37051
37099
|
o[0] & /*$_*/
|
|
@@ -37057,21 +37105,21 @@ function xt(e) {
|
|
|
37057
37105
|
}
|
|
37058
37106
|
};
|
|
37059
37107
|
}
|
|
37060
|
-
function
|
|
37108
|
+
function Nt(e) {
|
|
37061
37109
|
let t;
|
|
37062
37110
|
return {
|
|
37063
37111
|
c() {
|
|
37064
37112
|
t = w$1("sup"), t.textContent = "*", B$1(t, "class", "ConsentRequired svelte-ltb9q9");
|
|
37065
37113
|
},
|
|
37066
37114
|
m(r, n) {
|
|
37067
|
-
|
|
37115
|
+
v(r, t, n);
|
|
37068
37116
|
},
|
|
37069
37117
|
d(r) {
|
|
37070
37118
|
r && y(t);
|
|
37071
37119
|
}
|
|
37072
37120
|
};
|
|
37073
37121
|
}
|
|
37074
|
-
function
|
|
37122
|
+
function At(e) {
|
|
37075
37123
|
let t, r = (
|
|
37076
37124
|
/*$_*/
|
|
37077
37125
|
(e[16](`${/*consent*/
|
|
@@ -37083,7 +37131,7 @@ function Mt(e) {
|
|
|
37083
37131
|
t = w$1("p"), B$1(t, "class", "ConsentDescription svelte-ltb9q9");
|
|
37084
37132
|
},
|
|
37085
37133
|
m(n, i) {
|
|
37086
|
-
|
|
37134
|
+
v(n, t, i), t.innerHTML = r;
|
|
37087
37135
|
},
|
|
37088
37136
|
p(n, i) {
|
|
37089
37137
|
i[0] & /*$_, playerConsents, consentsCategories*/
|
|
@@ -37097,20 +37145,20 @@ function Mt(e) {
|
|
|
37097
37145
|
}
|
|
37098
37146
|
};
|
|
37099
37147
|
}
|
|
37100
|
-
function
|
|
37148
|
+
function Ht(e) {
|
|
37101
37149
|
let t, r, n, i, o = (
|
|
37102
37150
|
/*$_*/
|
|
37103
37151
|
(e[16](`${/*consent*/
|
|
37104
37152
|
e[64].tagCode}__name`) || /*consent*/
|
|
37105
37153
|
e[64].friendlyName) + ""
|
|
37106
|
-
), a, s, h, u, l, d, m,
|
|
37154
|
+
), a, s, h, u, l, d, m, b, f, g, S, _ = (
|
|
37107
37155
|
/*consent*/
|
|
37108
|
-
e[64].mustAccept === !0 &&
|
|
37109
|
-
),
|
|
37156
|
+
e[64].mustAccept === !0 && Nt()
|
|
37157
|
+
), v$1 = (
|
|
37110
37158
|
/*displayconsentdescription*/
|
|
37111
|
-
e[4] === "true" &&
|
|
37159
|
+
e[4] === "true" && At(e)
|
|
37112
37160
|
);
|
|
37113
|
-
function
|
|
37161
|
+
function C(...P) {
|
|
37114
37162
|
return (
|
|
37115
37163
|
/*input_handler*/
|
|
37116
37164
|
e[29](
|
|
@@ -37122,7 +37170,7 @@ function wt(e) {
|
|
|
37122
37170
|
}
|
|
37123
37171
|
return {
|
|
37124
37172
|
c() {
|
|
37125
|
-
t = w$1("div"), r = w$1("div"), n = w$1("h4"), i = new Lt
|
|
37173
|
+
t = w$1("div"), r = w$1("div"), n = w$1("h4"), i = new Lt(!1), a = pt$1(), _ && _.c(), s = pt$1(), v$1 && v$1.c(), h = pt$1(), u = w$1("label"), l = w$1("input"), b = pt$1(), f = w$1("span"), i.a = a, B$1(n, "class", "ConsentName svelte-ltb9q9"), B$1(r, "class", "ConsentContent"), B$1(l, "type", "checkbox"), l.disabled = d = /*consent*/
|
|
37126
37174
|
e[64].mustAccept === !0 && /*initialConsentsState*/
|
|
37127
37175
|
e[12][
|
|
37128
37176
|
/*consent*/
|
|
@@ -37133,23 +37181,23 @@ function wt(e) {
|
|
|
37133
37181
|
e[64].tagCode
|
|
37134
37182
|
], 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");
|
|
37135
37183
|
},
|
|
37136
|
-
m(P,
|
|
37137
|
-
|
|
37184
|
+
m(P, k) {
|
|
37185
|
+
v(P, t, k), G(t, r), G(r, n), i.m(o, n), G(n, a), _ && _.m(n, null), G(r, s), v$1 && v$1.m(r, null), G(t, h), G(t, u), G(u, l), G(u, b), G(u, f), g || (S = wt$1(l, "input", C), g = !0);
|
|
37138
37186
|
},
|
|
37139
|
-
p(P,
|
|
37140
|
-
e = P,
|
|
37187
|
+
p(P, k) {
|
|
37188
|
+
e = P, k[0] & /*$_, playerConsents, consentsCategories*/
|
|
37141
37189
|
66304 && o !== (o = /*$_*/
|
|
37142
37190
|
(e[16](`${/*consent*/
|
|
37143
37191
|
e[64].tagCode}__name`) || /*consent*/
|
|
37144
37192
|
e[64].friendlyName) + "") && i.p(o), /*consent*/
|
|
37145
|
-
e[64].mustAccept === !0 ? _ || (_ =
|
|
37146
|
-
e[4] === "true" ?
|
|
37193
|
+
e[64].mustAccept === !0 ? _ || (_ = Nt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
|
|
37194
|
+
e[4] === "true" ? v$1 ? v$1.p(e, k) : (v$1 = At(e), v$1.c(), v$1.m(r, null)) : v$1 && (v$1.d(1), v$1 = null), k[0] & /*playerConsents, consentsCategories, initialConsentsState*/
|
|
37147
37195
|
4864 && d !== (d = /*consent*/
|
|
37148
37196
|
e[64].mustAccept === !0 && /*initialConsentsState*/
|
|
37149
37197
|
e[12][
|
|
37150
37198
|
/*consent*/
|
|
37151
37199
|
e[64].tagCode
|
|
37152
|
-
] === !0) && (l.disabled = d),
|
|
37200
|
+
] === !0) && (l.disabled = d), k[0] & /*consentsState, playerConsents, consentsCategories*/
|
|
37153
37201
|
8960 && m !== (m = /*consentsState*/
|
|
37154
37202
|
e[13][
|
|
37155
37203
|
/*consent*/
|
|
@@ -37157,17 +37205,17 @@ function wt(e) {
|
|
|
37157
37205
|
]) && (l.checked = m);
|
|
37158
37206
|
},
|
|
37159
37207
|
d(P) {
|
|
37160
|
-
P && y(t), _ && _.d(),
|
|
37208
|
+
P && y(t), _ && _.d(), v$1 && v$1.d(), g = !1, S();
|
|
37161
37209
|
}
|
|
37162
37210
|
};
|
|
37163
37211
|
}
|
|
37164
|
-
function
|
|
37212
|
+
function Pt(e) {
|
|
37165
37213
|
let t, r, n, i = (
|
|
37166
37214
|
/*$_*/
|
|
37167
37215
|
(e[16](`${/*category*/
|
|
37168
37216
|
e[61].categoryTagCode}__category`) || /*category*/
|
|
37169
37217
|
e[61].friendlyName) + ""
|
|
37170
|
-
), o, a, s, h, u, l, d, m,
|
|
37218
|
+
), o, a, s, h, u, l, d, m, b;
|
|
37171
37219
|
function f() {
|
|
37172
37220
|
e[26].call(
|
|
37173
37221
|
s,
|
|
@@ -37175,7 +37223,7 @@ function Nt(e) {
|
|
|
37175
37223
|
e[61]
|
|
37176
37224
|
);
|
|
37177
37225
|
}
|
|
37178
|
-
function
|
|
37226
|
+
function g() {
|
|
37179
37227
|
return (
|
|
37180
37228
|
/*change_handler*/
|
|
37181
37229
|
e[27](
|
|
@@ -37184,44 +37232,44 @@ function Nt(e) {
|
|
|
37184
37232
|
)
|
|
37185
37233
|
);
|
|
37186
37234
|
}
|
|
37187
|
-
function
|
|
37235
|
+
function S(...C) {
|
|
37188
37236
|
return (
|
|
37189
37237
|
/*func*/
|
|
37190
37238
|
e[28](
|
|
37191
37239
|
/*category*/
|
|
37192
37240
|
e[61],
|
|
37193
|
-
...
|
|
37241
|
+
...C
|
|
37194
37242
|
)
|
|
37195
37243
|
);
|
|
37196
37244
|
}
|
|
37197
|
-
let _ =
|
|
37245
|
+
let _ = kt$1(
|
|
37198
37246
|
/*playerConsents*/
|
|
37199
|
-
e[9].filter(
|
|
37200
|
-
),
|
|
37201
|
-
for (let
|
|
37202
|
-
|
|
37247
|
+
e[9].filter(S)
|
|
37248
|
+
), v$1 = [];
|
|
37249
|
+
for (let C = 0; C < _.length; C += 1)
|
|
37250
|
+
v$1[C] = Ht(St(e, _, C));
|
|
37203
37251
|
return {
|
|
37204
37252
|
c() {
|
|
37205
37253
|
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");
|
|
37206
|
-
for (let
|
|
37207
|
-
|
|
37254
|
+
for (let C = 0; C < v$1.length; C += 1)
|
|
37255
|
+
v$1[C].c();
|
|
37208
37256
|
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");
|
|
37209
37257
|
},
|
|
37210
|
-
m(
|
|
37211
|
-
|
|
37258
|
+
m(C, P) {
|
|
37259
|
+
v(C, t, P), G(t, r), G(r, n), n.innerHTML = i, G(r, o), G(r, a), G(a, s), s.checked = /*categoryToggle*/
|
|
37212
37260
|
e[11][
|
|
37213
37261
|
/*category*/
|
|
37214
37262
|
e[61].categoryTagCode
|
|
37215
37263
|
], G(a, h), G(a, u), G(t, l), G(t, d);
|
|
37216
|
-
for (let
|
|
37217
|
-
|
|
37218
|
-
m || (
|
|
37264
|
+
for (let k = 0; k < v$1.length; k += 1)
|
|
37265
|
+
v$1[k] && v$1[k].m(d, null);
|
|
37266
|
+
m || (b = [
|
|
37219
37267
|
wt$1(s, "change", f),
|
|
37220
|
-
wt$1(s, "change",
|
|
37268
|
+
wt$1(s, "change", g)
|
|
37221
37269
|
], m = !0);
|
|
37222
37270
|
},
|
|
37223
|
-
p(
|
|
37224
|
-
if (e =
|
|
37271
|
+
p(C, P) {
|
|
37272
|
+
if (e = C, P[0] & /*$_, consentsCategories*/
|
|
37225
37273
|
65792 && i !== (i = /*$_*/
|
|
37226
37274
|
(e[16](`${/*category*/
|
|
37227
37275
|
e[61].categoryTagCode}__category`) || /*category*/
|
|
@@ -37232,26 +37280,26 @@ function Nt(e) {
|
|
|
37232
37280
|
e[61].categoryTagCode
|
|
37233
37281
|
]), P[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription*/
|
|
37234
37282
|
602896) {
|
|
37235
|
-
_ =
|
|
37283
|
+
_ = kt$1(
|
|
37236
37284
|
/*playerConsents*/
|
|
37237
|
-
e[9].filter(
|
|
37285
|
+
e[9].filter(S)
|
|
37238
37286
|
);
|
|
37239
|
-
let
|
|
37240
|
-
for (
|
|
37241
|
-
const z =
|
|
37242
|
-
|
|
37287
|
+
let k;
|
|
37288
|
+
for (k = 0; k < _.length; k += 1) {
|
|
37289
|
+
const z = St(e, _, k);
|
|
37290
|
+
v$1[k] ? v$1[k].p(z, P) : (v$1[k] = Ht(z), v$1[k].c(), v$1[k].m(d, null));
|
|
37243
37291
|
}
|
|
37244
|
-
for (;
|
|
37245
|
-
|
|
37246
|
-
|
|
37292
|
+
for (; k < v$1.length; k += 1)
|
|
37293
|
+
v$1[k].d(1);
|
|
37294
|
+
v$1.length = _.length;
|
|
37247
37295
|
}
|
|
37248
37296
|
},
|
|
37249
|
-
d(
|
|
37250
|
-
|
|
37297
|
+
d(C) {
|
|
37298
|
+
C && y(t), bt$1(v$1, C), m = !1, p(b);
|
|
37251
37299
|
}
|
|
37252
37300
|
};
|
|
37253
37301
|
}
|
|
37254
|
-
function
|
|
37302
|
+
function Bt(e) {
|
|
37255
37303
|
let t, r, n, i, o;
|
|
37256
37304
|
return {
|
|
37257
37305
|
c() {
|
|
@@ -37261,7 +37309,7 @@ function At(e) {
|
|
|
37261
37309
|
), xt$1(r, "class", "svelte-ltb9q9"), B$1(i, "class", "ErrorMessage svelte-ltb9q9"), B$1(t, "class", "ConsentErrorContainer svelte-ltb9q9");
|
|
37262
37310
|
},
|
|
37263
37311
|
m(a, s) {
|
|
37264
|
-
|
|
37312
|
+
v(a, t, s), G(t, r), G(t, n), G(t, i), G(i, o);
|
|
37265
37313
|
},
|
|
37266
37314
|
p(a, s) {
|
|
37267
37315
|
s[0] & /*errorMessage*/
|
|
@@ -37276,23 +37324,27 @@ function At(e) {
|
|
|
37276
37324
|
}
|
|
37277
37325
|
};
|
|
37278
37326
|
}
|
|
37279
|
-
function
|
|
37327
|
+
function ji(e) {
|
|
37280
37328
|
let t, r;
|
|
37281
37329
|
function n(a, s) {
|
|
37282
37330
|
if (
|
|
37283
37331
|
/*isLoading*/
|
|
37284
37332
|
a[10]
|
|
37285
|
-
)
|
|
37333
|
+
)
|
|
37334
|
+
return Ii;
|
|
37286
37335
|
if (
|
|
37287
37336
|
/*fatalError*/
|
|
37288
37337
|
a[7]
|
|
37289
|
-
)
|
|
37338
|
+
)
|
|
37339
|
+
return Oi;
|
|
37290
37340
|
if (
|
|
37291
37341
|
/*session*/
|
|
37292
37342
|
a[0]
|
|
37293
|
-
)
|
|
37343
|
+
)
|
|
37344
|
+
return zi;
|
|
37294
37345
|
if (!/*session*/
|
|
37295
|
-
a[0])
|
|
37346
|
+
a[0])
|
|
37347
|
+
return Bi;
|
|
37296
37348
|
}
|
|
37297
37349
|
let i = n(e), o = i && i(e);
|
|
37298
37350
|
return {
|
|
@@ -37300,7 +37352,7 @@ function Oi(e) {
|
|
|
37300
37352
|
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");
|
|
37301
37353
|
},
|
|
37302
37354
|
m(a, s) {
|
|
37303
|
-
|
|
37355
|
+
v(a, t, s), G(t, r), o && o.m(r, null), e[32](r);
|
|
37304
37356
|
},
|
|
37305
37357
|
p(a, s) {
|
|
37306
37358
|
i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
|
|
@@ -37312,189 +37364,190 @@ function Oi(e) {
|
|
|
37312
37364
|
}
|
|
37313
37365
|
};
|
|
37314
37366
|
}
|
|
37315
|
-
function
|
|
37367
|
+
function Li(e, t, r) {
|
|
37316
37368
|
let n;
|
|
37317
|
-
_t$1(e,
|
|
37318
|
-
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:
|
|
37369
|
+
_t$1(e, wi, (c) => r(16, n = c));
|
|
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: b = "false" } = t, f, g, S = !1, _ = !1, v = "", C = "", P = "", k = "", z = [], W$1 = [], O = [], se = !0, be = !0, G = {}, ve = {}, Z = {}, U = {}, le, ye, R = {
|
|
37319
37371
|
none: { key: "0", value: "None" },
|
|
37320
37372
|
accepted: { key: "1", value: "Accepted" },
|
|
37321
37373
|
expired: { key: "2", value: "Expired" },
|
|
37322
37374
|
denied: { key: "3", value: "Denied" },
|
|
37323
37375
|
suspended: { key: "4", value: "Suspended" }
|
|
37324
|
-
},
|
|
37325
|
-
Object.keys(
|
|
37326
|
-
|
|
37376
|
+
}, Ee = !1;
|
|
37377
|
+
Object.keys(Et).forEach((c) => {
|
|
37378
|
+
yt(c, Et[c]);
|
|
37327
37379
|
});
|
|
37328
|
-
const
|
|
37329
|
-
|
|
37330
|
-
},
|
|
37380
|
+
const cr = () => {
|
|
37381
|
+
Ni(l);
|
|
37382
|
+
}, ur = () => {
|
|
37331
37383
|
let c = new URL(m);
|
|
37332
|
-
fetch(c.href).then((
|
|
37333
|
-
Object.keys(
|
|
37334
|
-
|
|
37384
|
+
fetch(c.href).then((p) => p.json()).then((p) => {
|
|
37385
|
+
Object.keys(p).forEach((T) => {
|
|
37386
|
+
yt(T, p[T]);
|
|
37335
37387
|
});
|
|
37336
|
-
}).catch((
|
|
37337
|
-
console.log(
|
|
37388
|
+
}).catch((p) => {
|
|
37389
|
+
console.log(p);
|
|
37338
37390
|
});
|
|
37339
|
-
},
|
|
37340
|
-
i && (
|
|
37341
|
-
},
|
|
37342
|
-
|
|
37343
|
-
},
|
|
37391
|
+
}, hr = () => {
|
|
37392
|
+
i && (v = i, _ = !0), o && (C = o);
|
|
37393
|
+
}, ke = (c, p = !1) => {
|
|
37394
|
+
p ? r(7, k = c) : (_r(), r(6, P = c));
|
|
37395
|
+
}, ce = async (c, p, T, y = !1) => {
|
|
37344
37396
|
try {
|
|
37345
|
-
const
|
|
37346
|
-
if (!
|
|
37347
|
-
throw new Error(n(
|
|
37348
|
-
const I = await
|
|
37349
|
-
return
|
|
37350
|
-
} catch (
|
|
37351
|
-
throw
|
|
37352
|
-
|
|
37397
|
+
const M = await fetch(c, T);
|
|
37398
|
+
if (!M.ok)
|
|
37399
|
+
throw new Error(n(p));
|
|
37400
|
+
const I = await M.json();
|
|
37401
|
+
return _ ? I : I.filter((F) => F.showOnRegister === !0);
|
|
37402
|
+
} catch (M) {
|
|
37403
|
+
throw ke(
|
|
37404
|
+
M instanceof TypeError ? n(p) : M.message,
|
|
37353
37405
|
y
|
|
37354
|
-
),
|
|
37406
|
+
), M;
|
|
37355
37407
|
}
|
|
37356
|
-
},
|
|
37408
|
+
}, dr = async () => {
|
|
37357
37409
|
try {
|
|
37358
|
-
let c = [],
|
|
37359
|
-
if (
|
|
37360
|
-
let y = O.find((
|
|
37410
|
+
let c = [], p = [];
|
|
37411
|
+
if (_ ? [c, p] = await rt() : c = await rt(), r(10, se = !1), W$1 = [...c], r(8, z = gr(W$1).sort((T, y) => T.categoryTagCode.localeCompare(y.categoryTagCode))), r(11, G = pr(z)), ve = { ...G }, r(9, O = [...p]), W$1.forEach((T) => {
|
|
37412
|
+
let y = O.find((M) => M.tagCode === T.tagCode);
|
|
37361
37413
|
y || (y = {
|
|
37362
|
-
...
|
|
37414
|
+
...T,
|
|
37363
37415
|
status: R.denied.value
|
|
37364
|
-
}, O.push(y)), y.description =
|
|
37365
|
-
}),
|
|
37366
|
-
if (r(9, O = O.filter((
|
|
37367
|
-
|
|
37416
|
+
}, O.push(y)), y.description = T.description, y.orderNumber = T.orderNumber;
|
|
37417
|
+
}), b === "true") {
|
|
37418
|
+
if (r(9, O = O.filter((T) => T.status === R.expired.value)), O.length !== 0)
|
|
37419
|
+
return;
|
|
37420
|
+
ke(n("wrongModalConfig"), !0);
|
|
37368
37421
|
}
|
|
37369
|
-
|
|
37422
|
+
fr();
|
|
37370
37423
|
} catch (c) {
|
|
37371
|
-
throw r(10,
|
|
37424
|
+
throw r(10, se = !1), ke(
|
|
37372
37425
|
c instanceof TypeError ? n("invalidUrl") : c.message,
|
|
37373
37426
|
!0
|
|
37374
37427
|
), c;
|
|
37375
37428
|
}
|
|
37376
|
-
},
|
|
37429
|
+
}, rt = async () => {
|
|
37377
37430
|
const c = new URL(`${a}/api/v1/gm/consents`);
|
|
37378
|
-
if (c.searchParams.append("Status", "Active"), !
|
|
37379
|
-
return await
|
|
37380
|
-
const
|
|
37431
|
+
if (c.searchParams.append("Status", "Active"), !_)
|
|
37432
|
+
return await ce(c.href, "fetchConsentsError", { method: "GET" }, !0);
|
|
37433
|
+
const p = new URL(`${a}/api/v1/gm/user-consents/${C}`);
|
|
37381
37434
|
return await Promise.all([
|
|
37382
|
-
|
|
37383
|
-
|
|
37435
|
+
ce(c.href, "fetchConsentsError", { method: "GET" }, !0),
|
|
37436
|
+
ce(p.href, "fetchPlayerConsentsError", {
|
|
37384
37437
|
method: "GET",
|
|
37385
37438
|
headers: {
|
|
37386
|
-
"X-SessionId":
|
|
37439
|
+
"X-SessionId": v,
|
|
37387
37440
|
"Content-Type": "application/json"
|
|
37388
37441
|
}
|
|
37389
37442
|
})
|
|
37390
37443
|
]);
|
|
37391
|
-
},
|
|
37392
|
-
|
|
37393
|
-
const c = new URL(`${a}/api/v2/gm/legislation/consents`),
|
|
37444
|
+
}, mr = () => {
|
|
37445
|
+
Ee = !1;
|
|
37446
|
+
const c = new URL(`${a}/api/v2/gm/legislation/consents`), p = {
|
|
37394
37447
|
"Content-Type": "application/json",
|
|
37395
37448
|
Accept: "application/json"
|
|
37396
|
-
},
|
|
37397
|
-
fetch(c.href,
|
|
37398
|
-
if (!
|
|
37399
|
-
if (
|
|
37449
|
+
}, T = { method: "GET", headers: p };
|
|
37450
|
+
fetch(c.href, T).then((y) => y.ok ? y.json() : (Ee = !0, y.json().then((M) => (console.error(M), Ce(M))))).then((y) => {
|
|
37451
|
+
if (!Ee) {
|
|
37452
|
+
if (W$1 = y, localStorage.getItem("playerConsents")) {
|
|
37400
37453
|
try {
|
|
37401
37454
|
r(9, O = JSON.parse(localStorage.getItem("playerConsents")));
|
|
37402
|
-
} catch (
|
|
37403
|
-
return console.error(
|
|
37455
|
+
} catch (M) {
|
|
37456
|
+
return console.error(M), Ce(M);
|
|
37404
37457
|
}
|
|
37405
37458
|
return;
|
|
37406
37459
|
}
|
|
37407
|
-
return r(9, O =
|
|
37408
|
-
id:
|
|
37460
|
+
return r(9, O = W$1.map((M) => ({
|
|
37461
|
+
id: M.id,
|
|
37409
37462
|
status: R.denied.key,
|
|
37410
|
-
friendlyName:
|
|
37411
|
-
tagCode:
|
|
37463
|
+
friendlyName: M.friendlyName,
|
|
37464
|
+
tagCode: M.tagCode,
|
|
37412
37465
|
selected: null,
|
|
37413
|
-
mustAccept:
|
|
37466
|
+
mustAccept: M.mustAccept
|
|
37414
37467
|
}))), localStorage.setItem("playerConsents", JSON.stringify(O)), O;
|
|
37415
37468
|
}
|
|
37416
|
-
}).catch((y) => (console.error(y),
|
|
37417
|
-
r(10,
|
|
37469
|
+
}).catch((y) => (console.error(y), Ce(y))).finally(() => {
|
|
37470
|
+
r(10, se = !1);
|
|
37418
37471
|
});
|
|
37419
|
-
},
|
|
37420
|
-
const
|
|
37421
|
-
return c.forEach((
|
|
37422
|
-
|
|
37423
|
-
}), Array.from(
|
|
37424
|
-
},
|
|
37425
|
-
const
|
|
37426
|
-
if (
|
|
37427
|
-
const
|
|
37428
|
-
(y,
|
|
37472
|
+
}, gr = (c) => {
|
|
37473
|
+
const p = /* @__PURE__ */ new Map();
|
|
37474
|
+
return c.forEach((T) => {
|
|
37475
|
+
p.has(T.category.categoryTagCode) || p.set(T.category.categoryTagCode, T.category);
|
|
37476
|
+
}), Array.from(p.values());
|
|
37477
|
+
}, pr = (c) => {
|
|
37478
|
+
const p = localStorage.getItem("categoryToggle" + C);
|
|
37479
|
+
if (p === null) {
|
|
37480
|
+
const T = c.reduce(
|
|
37481
|
+
(y, M) => (y[M.categoryTagCode] = !1, y),
|
|
37429
37482
|
{}
|
|
37430
37483
|
);
|
|
37431
|
-
return localStorage.setItem("categoryToggle" +
|
|
37484
|
+
return localStorage.setItem("categoryToggle" + C, JSON.stringify(T)), T;
|
|
37432
37485
|
} else
|
|
37433
|
-
return JSON.parse(
|
|
37434
|
-
},
|
|
37486
|
+
return JSON.parse(p);
|
|
37487
|
+
}, fr = () => {
|
|
37435
37488
|
O.forEach((c) => {
|
|
37436
|
-
r(12,
|
|
37437
|
-
}), r(13, U = { ...
|
|
37438
|
-
},
|
|
37439
|
-
r(13, U = { ...
|
|
37440
|
-
},
|
|
37441
|
-
if (!
|
|
37489
|
+
r(12, Z[c.tagCode] = c.status === R.accepted.value, Z);
|
|
37490
|
+
}), r(13, U = { ...Z });
|
|
37491
|
+
}, _r = () => {
|
|
37492
|
+
r(13, U = { ...Z }), r(11, G = { ...ve });
|
|
37493
|
+
}, br = async () => {
|
|
37494
|
+
if (!be)
|
|
37442
37495
|
return;
|
|
37443
|
-
|
|
37444
|
-
const c = [],
|
|
37496
|
+
be = !1;
|
|
37497
|
+
const c = [], p = [];
|
|
37445
37498
|
if (Object.keys(U).forEach((y) => {
|
|
37446
|
-
const
|
|
37447
|
-
U[y] !==
|
|
37499
|
+
const M = O.find((I) => I.tagCode === y);
|
|
37500
|
+
U[y] !== Z[y] && (M ? c.push({
|
|
37448
37501
|
tagCode: y,
|
|
37449
37502
|
status: U[y] ? R.accepted.value : R.denied.value
|
|
37450
|
-
}) :
|
|
37503
|
+
}) : p.push({
|
|
37451
37504
|
tagCode: y,
|
|
37452
37505
|
status: U[y] ? R.accepted.value : R.denied.value
|
|
37453
37506
|
}));
|
|
37454
|
-
}), !
|
|
37455
|
-
localStorage.setItem("categoryToggle" +
|
|
37507
|
+
}), !_) {
|
|
37508
|
+
localStorage.setItem("categoryToggle" + C, JSON.stringify(G)), ve = { ...G }, window.postMessage(
|
|
37456
37509
|
{
|
|
37457
37510
|
type: "NewPlayerConsentData",
|
|
37458
|
-
data: JSON.stringify(
|
|
37511
|
+
data: JSON.stringify(p)
|
|
37459
37512
|
},
|
|
37460
37513
|
window.location.href
|
|
37461
|
-
),
|
|
37514
|
+
), be = !0;
|
|
37462
37515
|
return;
|
|
37463
37516
|
}
|
|
37464
|
-
const
|
|
37517
|
+
const T = new URL(`${a}/api/v1/gm/user-consents/${C}`);
|
|
37465
37518
|
try {
|
|
37466
37519
|
const y = await Promise.allSettled([
|
|
37467
|
-
|
|
37520
|
+
p.length > 0 && ce(T.href, "updateConsentsError", {
|
|
37468
37521
|
method: "POST",
|
|
37469
37522
|
headers: {
|
|
37470
|
-
"X-SessionId":
|
|
37523
|
+
"X-SessionId": v,
|
|
37471
37524
|
"Content-Type": "application/json"
|
|
37472
37525
|
},
|
|
37473
|
-
body: JSON.stringify({ userConsents:
|
|
37526
|
+
body: JSON.stringify({ userConsents: p })
|
|
37474
37527
|
}),
|
|
37475
|
-
c.length > 0 &&
|
|
37528
|
+
c.length > 0 && ce(T.href, "updateConsentsError", {
|
|
37476
37529
|
method: "PATCH",
|
|
37477
37530
|
headers: {
|
|
37478
|
-
"X-SessionId":
|
|
37531
|
+
"X-SessionId": v,
|
|
37479
37532
|
"Content-Type": "application/json"
|
|
37480
37533
|
},
|
|
37481
37534
|
body: JSON.stringify({ userConsents: c })
|
|
37482
37535
|
})
|
|
37483
37536
|
]);
|
|
37484
|
-
y.forEach((
|
|
37485
|
-
if (
|
|
37486
|
-
const F = I <
|
|
37487
|
-
r(13, U[F.tagCode] =
|
|
37537
|
+
y.forEach((M, I) => {
|
|
37538
|
+
if (M.status === "rejected" || M.value.ok === !1) {
|
|
37539
|
+
const F = I < p.length ? p[I] : c[I - p.length];
|
|
37540
|
+
r(13, U[F.tagCode] = Z[F.tagCode], U);
|
|
37488
37541
|
}
|
|
37489
|
-
}), y.every((
|
|
37542
|
+
}), y.every((M) => M.status === "fulfilled") && (localStorage.setItem("categoryToggle" + C, JSON.stringify(G)), ve = { ...G }, window.postMessage(
|
|
37490
37543
|
{
|
|
37491
37544
|
type: "PlayerConsentUpdated",
|
|
37492
37545
|
success: !0
|
|
37493
37546
|
},
|
|
37494
37547
|
window.location.href
|
|
37495
|
-
), r(12,
|
|
37548
|
+
), r(12, Z = { ...U }));
|
|
37496
37549
|
} catch (y) {
|
|
37497
|
-
|
|
37550
|
+
ke(y instanceof TypeError ? n("saveChangesError") : y.message), window.postMessage(
|
|
37498
37551
|
{
|
|
37499
37552
|
type: "PlayerConsentUpdated",
|
|
37500
37553
|
success: !1
|
|
@@ -37502,57 +37555,58 @@ function Ii(e, t, r) {
|
|
|
37502
37555
|
window.location.href
|
|
37503
37556
|
);
|
|
37504
37557
|
} finally {
|
|
37505
|
-
|
|
37558
|
+
be = !0, r(14, le = !1);
|
|
37506
37559
|
}
|
|
37507
|
-
},
|
|
37508
|
-
const
|
|
37560
|
+
}, vr = (c) => {
|
|
37561
|
+
const p = new URL(`${a}/api/v2/gm/legislation/consents`), T = {
|
|
37509
37562
|
"Content-Type": "application/json",
|
|
37510
37563
|
Accept: "application/json"
|
|
37511
37564
|
}, y = {
|
|
37512
37565
|
playerConsents: O,
|
|
37513
37566
|
registrationId: c
|
|
37514
|
-
},
|
|
37567
|
+
}, M = {
|
|
37515
37568
|
method: "POST",
|
|
37516
37569
|
body: JSON.stringify(y),
|
|
37517
|
-
headers:
|
|
37570
|
+
headers: T
|
|
37518
37571
|
};
|
|
37519
|
-
fetch(
|
|
37520
|
-
I.ok || (
|
|
37521
|
-
}).catch((I) => (console.error(I),
|
|
37522
|
-
r(10,
|
|
37572
|
+
fetch(p.href, M).then((I) => {
|
|
37573
|
+
I.ok || (Ee = !0);
|
|
37574
|
+
}).catch((I) => (console.error(I), Ce(I))).finally(() => {
|
|
37575
|
+
r(10, se = !1);
|
|
37523
37576
|
});
|
|
37524
|
-
},
|
|
37525
|
-
O.filter((
|
|
37526
|
-
|
|
37527
|
-
}), r(14,
|
|
37528
|
-
},
|
|
37529
|
-
const y = O.find((F) => F.id ===
|
|
37577
|
+
}, nt = (c) => {
|
|
37578
|
+
O.filter((p) => p.category.categoryTagCode === c).forEach((p) => {
|
|
37579
|
+
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, le = it());
|
|
37581
|
+
}, ze = (c, p, T) => {
|
|
37582
|
+
const y = O.find((F) => F.id === T), M = p ? "value" : "key";
|
|
37530
37583
|
let I;
|
|
37531
|
-
if (!
|
|
37532
|
-
const F = Array.from(
|
|
37533
|
-
for (const
|
|
37534
|
-
if (I = Array.from(
|
|
37584
|
+
if (!p && y.mustAccept) {
|
|
37585
|
+
const F = Array.from(ye.children);
|
|
37586
|
+
for (const ue of F)
|
|
37587
|
+
if (I = Array.from(ue.children).find((Ar) => Ar.getAttribute("id") === `checkBoxError__${y.tagCode}`), I)
|
|
37588
|
+
break;
|
|
37535
37589
|
}
|
|
37536
|
-
if (y.status === R.accepted[
|
|
37590
|
+
if (y.status === R.accepted[M] ? (y.status = R.denied[M], I && (I.innerHTML = n("requiredError"))) : (y.status = R.accepted[M], I && (I.innerHTML = "")), p) {
|
|
37537
37591
|
r(13, U[y.tagCode] = !U[y.tagCode], U);
|
|
37538
|
-
const F = O.filter((
|
|
37539
|
-
r(11, G[
|
|
37592
|
+
const F = O.filter((ue) => ue.category.categoryTagCode === p.categoryTagCode).every((ue) => ue.status !== R.denied.value);
|
|
37593
|
+
r(11, G[p.categoryTagCode] = F, G);
|
|
37540
37594
|
}
|
|
37541
|
-
|
|
37542
|
-
},
|
|
37543
|
-
let
|
|
37595
|
+
yr();
|
|
37596
|
+
}, yr = ((c, p) => {
|
|
37597
|
+
let T;
|
|
37544
37598
|
return function(...y) {
|
|
37545
|
-
const
|
|
37546
|
-
clearTimeout(
|
|
37599
|
+
const M = this;
|
|
37600
|
+
clearTimeout(T), T = setTimeout(
|
|
37547
37601
|
() => {
|
|
37548
|
-
c.apply(
|
|
37602
|
+
c.apply(M, y);
|
|
37549
37603
|
},
|
|
37550
|
-
|
|
37604
|
+
p
|
|
37551
37605
|
);
|
|
37552
37606
|
};
|
|
37553
|
-
})(() =>
|
|
37554
|
-
r(14,
|
|
37555
|
-
},
|
|
37607
|
+
})(() => Er(), 500), Er = () => {
|
|
37608
|
+
r(14, le = it()), i || (window.postMessage({ type: "isConsentsValid", isValid: le }), localStorage.setItem("playerConsents", JSON.stringify(O)));
|
|
37609
|
+
}, it = () => O.filter((p) => O.some((T) => p.tagCode === T.tagCode && T.mustAccept && (p.status === R.denied.key || p.status === R.denied.value))).length === 0, Ce = (c) => {
|
|
37556
37610
|
window.postMessage(
|
|
37557
37611
|
{
|
|
37558
37612
|
type: "WidgetNotification",
|
|
@@ -37560,46 +37614,46 @@ function Ii(e, t, r) {
|
|
|
37560
37614
|
},
|
|
37561
37615
|
window.location.href
|
|
37562
37616
|
);
|
|
37563
|
-
},
|
|
37564
|
-
c.data && c.data.type !== "setUpPlayerConsents" ||
|
|
37617
|
+
}, kr = (c) => {
|
|
37618
|
+
c.data && c.data.type !== "setUpPlayerConsents" || vr(c.data.registerid);
|
|
37565
37619
|
};
|
|
37566
37620
|
W(() => {
|
|
37567
37621
|
setTimeout(
|
|
37568
37622
|
() => {
|
|
37569
|
-
r(25,
|
|
37623
|
+
r(25, S = !0);
|
|
37570
37624
|
},
|
|
37571
37625
|
50
|
|
37572
37626
|
);
|
|
37573
|
-
const c = (
|
|
37627
|
+
const c = (p) => kr(p);
|
|
37574
37628
|
return window.addEventListener("message", c), () => {
|
|
37575
|
-
window.removeEventListener("message", c);
|
|
37629
|
+
window.emMessageBus && g && g.unsubscribe(), window.removeEventListener("message", c);
|
|
37576
37630
|
};
|
|
37577
37631
|
});
|
|
37578
|
-
function
|
|
37632
|
+
function Cr(c) {
|
|
37579
37633
|
G[c.categoryTagCode] = this.checked, r(11, G);
|
|
37580
37634
|
}
|
|
37581
|
-
const
|
|
37582
|
-
function
|
|
37635
|
+
const Sr = (c) => nt(c.categoryTagCode), xr = (c, p) => p.category.categoryTagCode === c.categoryTagCode, Mr = (c, p) => ze(p, c.category, c.id), Tr = (c, p) => ze(p, null, c.id);
|
|
37636
|
+
function wr(c) {
|
|
37583
37637
|
E[c ? "unshift" : "push"](() => {
|
|
37584
|
-
|
|
37638
|
+
ye = c, r(15, ye);
|
|
37585
37639
|
});
|
|
37586
37640
|
}
|
|
37587
|
-
function
|
|
37641
|
+
function Nr(c) {
|
|
37588
37642
|
E[c ? "unshift" : "push"](() => {
|
|
37589
37643
|
f = c, r(5, f);
|
|
37590
37644
|
});
|
|
37591
37645
|
}
|
|
37592
37646
|
return e.$$set = (c) => {
|
|
37593
|
-
"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,
|
|
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, b = c.modalconsents);
|
|
37594
37648
|
}, e.$$.update = () => {
|
|
37595
37649
|
e.$$.dirty[0] & /*isMounted, session*/
|
|
37596
|
-
33554433 &&
|
|
37597
|
-
1 && (i ||
|
|
37650
|
+
33554433 && S && i && (hr(), dr()), e.$$.dirty[0] & /*session*/
|
|
37651
|
+
1 && (i || mr()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
37598
37652
|
34 && s && f && ft$1(f, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
37599
37653
|
36 && h && f && dt$1(f, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
37600
|
-
40 && f && at
|
|
37601
|
-
4194304 && l &&
|
|
37602
|
-
8388608 && m &&
|
|
37654
|
+
40 && f && at(f, `${u}.Style`), e.$$.dirty[0] & /*lang*/
|
|
37655
|
+
4194304 && l && cr(), e.$$.dirty[0] & /*translationurl*/
|
|
37656
|
+
8388608 && m && ur();
|
|
37603
37657
|
}, [
|
|
37604
37658
|
i,
|
|
37605
37659
|
s,
|
|
@@ -37607,42 +37661,42 @@ function Ii(e, t, r) {
|
|
|
37607
37661
|
u,
|
|
37608
37662
|
d,
|
|
37609
37663
|
f,
|
|
37610
|
-
x,
|
|
37611
37664
|
P,
|
|
37612
|
-
|
|
37665
|
+
k,
|
|
37666
|
+
z,
|
|
37613
37667
|
O,
|
|
37614
|
-
|
|
37668
|
+
se,
|
|
37615
37669
|
G,
|
|
37616
|
-
|
|
37670
|
+
Z,
|
|
37617
37671
|
U,
|
|
37618
|
-
|
|
37619
|
-
|
|
37672
|
+
le,
|
|
37673
|
+
ye,
|
|
37620
37674
|
n,
|
|
37621
|
-
|
|
37622
|
-
|
|
37623
|
-
|
|
37675
|
+
br,
|
|
37676
|
+
nt,
|
|
37677
|
+
ze,
|
|
37624
37678
|
o,
|
|
37625
37679
|
a,
|
|
37626
37680
|
l,
|
|
37627
37681
|
m,
|
|
37628
|
-
|
|
37629
|
-
|
|
37630
|
-
yr,
|
|
37631
|
-
Er,
|
|
37632
|
-
kr,
|
|
37682
|
+
b,
|
|
37683
|
+
S,
|
|
37633
37684
|
Cr,
|
|
37634
37685
|
Sr,
|
|
37635
37686
|
xr,
|
|
37636
|
-
|
|
37687
|
+
Mr,
|
|
37688
|
+
Tr,
|
|
37689
|
+
wr,
|
|
37690
|
+
Nr
|
|
37637
37691
|
];
|
|
37638
37692
|
}
|
|
37639
|
-
class
|
|
37693
|
+
class Ri extends lt$1 {
|
|
37640
37694
|
constructor(t) {
|
|
37641
37695
|
super(), ct$1(
|
|
37642
37696
|
this,
|
|
37643
37697
|
t,
|
|
37644
|
-
|
|
37645
|
-
|
|
37698
|
+
Li,
|
|
37699
|
+
ji,
|
|
37646
37700
|
z,
|
|
37647
37701
|
{
|
|
37648
37702
|
session: 0,
|
|
@@ -37656,7 +37710,7 @@ class ji extends lt$1 {
|
|
|
37656
37710
|
translationurl: 23,
|
|
37657
37711
|
modalconsents: 24
|
|
37658
37712
|
},
|
|
37659
|
-
|
|
37713
|
+
Pi,
|
|
37660
37714
|
[-1, -1, -1]
|
|
37661
37715
|
);
|
|
37662
37716
|
}
|
|
@@ -37721,7 +37775,7 @@ class ji extends lt$1 {
|
|
|
37721
37775
|
this.$$set({ modalconsents: t }), _();
|
|
37722
37776
|
}
|
|
37723
37777
|
}
|
|
37724
|
-
ot
|
|
37778
|
+
ot(Ri, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
|
|
37725
37779
|
|
|
37726
37780
|
function r(t) {
|
|
37727
37781
|
return function(...n) {
|
|
@@ -37735,7 +37789,7 @@ function r(t) {
|
|
|
37735
37789
|
};
|
|
37736
37790
|
}
|
|
37737
37791
|
customElements.define = r(customElements.define);
|
|
37738
|
-
!customElements.get("player-consents") && customElements.define("player-consents",
|
|
37792
|
+
!customElements.get("player-consents") && customElements.define("player-consents", Ri.element);
|
|
37739
37793
|
|
|
37740
37794
|
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}";
|
|
37741
37795
|
const GeneralRegistrationStyle0 = generalRegistrationCss;
|
|
@@ -37745,36 +37799,6 @@ const GeneralRegistration = class {
|
|
|
37745
37799
|
registerInstance(this, hostRef);
|
|
37746
37800
|
this.registrationWidgetLoaded = createEvent(this, "registrationWidgetLoaded", 7);
|
|
37747
37801
|
this.registrationStepUpdated = createEvent(this, "registrationStepUpdated", 7);
|
|
37748
|
-
/**
|
|
37749
|
-
* Currently selected language
|
|
37750
|
-
*/
|
|
37751
|
-
this.language = 'en';
|
|
37752
|
-
/**
|
|
37753
|
-
* Client custom styling via inline styles
|
|
37754
|
-
*/
|
|
37755
|
-
this.clientStyling = '';
|
|
37756
|
-
/**
|
|
37757
|
-
* Client custom styling via url
|
|
37758
|
-
*/
|
|
37759
|
-
this.clientStylingUrl = '';
|
|
37760
|
-
/**
|
|
37761
|
-
* Translations via URL
|
|
37762
|
-
*/
|
|
37763
|
-
this.translationUrl = '';
|
|
37764
|
-
/**
|
|
37765
|
-
* Affiliate code to be passed in and sent in the registration.
|
|
37766
|
-
*/
|
|
37767
|
-
this.btag = null;
|
|
37768
|
-
/**
|
|
37769
|
-
* Boolean flag that tells inputs to emit an event on click.
|
|
37770
|
-
*/
|
|
37771
|
-
this.emitOnClick = false;
|
|
37772
|
-
this.isConsentValid = false;
|
|
37773
|
-
this.isConsentReady = false;
|
|
37774
|
-
this.isLoading = true;
|
|
37775
|
-
this.forms = [];
|
|
37776
|
-
this.limitStylingAppends = false;
|
|
37777
|
-
this.autofilled = false;
|
|
37778
37802
|
this.listOfInputValues = [];
|
|
37779
37803
|
this.listOfInputValidity = [];
|
|
37780
37804
|
this.listOfActions = [];
|
|
@@ -37802,6 +37826,25 @@ const GeneralRegistration = class {
|
|
|
37802
37826
|
setTimeout(() => { this.host.shadowRoot.prepend(cssFile); }, 1);
|
|
37803
37827
|
});
|
|
37804
37828
|
};
|
|
37829
|
+
this.endpoint = undefined;
|
|
37830
|
+
this.language = 'en';
|
|
37831
|
+
this.clientStyling = '';
|
|
37832
|
+
this.clientStylingUrl = '';
|
|
37833
|
+
this.translationUrl = '';
|
|
37834
|
+
this.dateFormat = undefined;
|
|
37835
|
+
this.buttonInsideForm = undefined;
|
|
37836
|
+
this.btag = null;
|
|
37837
|
+
this.emitOnClick = false;
|
|
37838
|
+
this.errorMessage = undefined;
|
|
37839
|
+
this.isFormValid = undefined;
|
|
37840
|
+
this.isConsentValid = false;
|
|
37841
|
+
this.isConsentReady = false;
|
|
37842
|
+
this.isLoading = true;
|
|
37843
|
+
this.isLoadingPOST = undefined;
|
|
37844
|
+
this.registrationStep = undefined;
|
|
37845
|
+
this.forms = [];
|
|
37846
|
+
this.limitStylingAppends = false;
|
|
37847
|
+
this.autofilled = false;
|
|
37805
37848
|
}
|
|
37806
37849
|
sendStep() {
|
|
37807
37850
|
this.registrationStepUpdated.emit(this.registrationStep);
|
|
@@ -38365,12 +38408,6 @@ const NumberInput = class {
|
|
|
38365
38408
|
registerInstance(this, hostRef);
|
|
38366
38409
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
38367
38410
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
38368
|
-
/**
|
|
38369
|
-
* Client custom styling via inline style
|
|
38370
|
-
*/
|
|
38371
|
-
this.clientStyling = '';
|
|
38372
|
-
this.limitStylingAppends = false;
|
|
38373
|
-
this.showTooltip = false;
|
|
38374
38411
|
this.validationPattern = '';
|
|
38375
38412
|
this.touched = false;
|
|
38376
38413
|
this.handleInput = (event) => {
|
|
@@ -38395,6 +38432,20 @@ const NumberInput = class {
|
|
|
38395
38432
|
sheet.innerHTML = this.clientStyling;
|
|
38396
38433
|
this.stylingContainer.prepend(sheet);
|
|
38397
38434
|
};
|
|
38435
|
+
this.name = undefined;
|
|
38436
|
+
this.displayName = undefined;
|
|
38437
|
+
this.placeholder = undefined;
|
|
38438
|
+
this.validation = undefined;
|
|
38439
|
+
this.defaultValue = undefined;
|
|
38440
|
+
this.autofilled = undefined;
|
|
38441
|
+
this.tooltip = undefined;
|
|
38442
|
+
this.language = undefined;
|
|
38443
|
+
this.emitValue = undefined;
|
|
38444
|
+
this.clientStyling = '';
|
|
38445
|
+
this.errorMessage = undefined;
|
|
38446
|
+
this.isValid = undefined;
|
|
38447
|
+
this.limitStylingAppends = false;
|
|
38448
|
+
this.showTooltip = false;
|
|
38398
38449
|
}
|
|
38399
38450
|
handleStylingChange(newValue, oldValue) {
|
|
38400
38451
|
if (newValue !== oldValue)
|
|
@@ -39283,17 +39334,6 @@ const PasswordInput = class {
|
|
|
39283
39334
|
this.sendOriginalValidityState = createEvent(this, "sendOriginalValidityState", 7);
|
|
39284
39335
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
39285
39336
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
39286
|
-
/**
|
|
39287
|
-
* Default value for the input.
|
|
39288
|
-
*/
|
|
39289
|
-
this.defaultValue = '';
|
|
39290
|
-
/**
|
|
39291
|
-
* Client custom styling via inline style
|
|
39292
|
-
*/
|
|
39293
|
-
this.clientStyling = '';
|
|
39294
|
-
this.limitStylingAppends = false;
|
|
39295
|
-
this.showTooltip = false;
|
|
39296
|
-
this.value = '';
|
|
39297
39337
|
this.touched = false;
|
|
39298
39338
|
this.originalValid = false;
|
|
39299
39339
|
this.validationPattern = '';
|
|
@@ -39332,6 +39372,24 @@ const PasswordInput = class {
|
|
|
39332
39372
|
sheet.innerHTML = this.clientStyling;
|
|
39333
39373
|
this.stylingContainer.prepend(sheet);
|
|
39334
39374
|
};
|
|
39375
|
+
this.name = undefined;
|
|
39376
|
+
this.displayName = undefined;
|
|
39377
|
+
this.placeholder = undefined;
|
|
39378
|
+
this.defaultValue = '';
|
|
39379
|
+
this.autofilled = undefined;
|
|
39380
|
+
this.tooltip = undefined;
|
|
39381
|
+
this.validation = undefined;
|
|
39382
|
+
this.language = undefined;
|
|
39383
|
+
this.emitValue = undefined;
|
|
39384
|
+
this.isDuplicateInput = undefined;
|
|
39385
|
+
this.clientStyling = '';
|
|
39386
|
+
this.isValid = undefined;
|
|
39387
|
+
this.errorMessage = undefined;
|
|
39388
|
+
this.limitStylingAppends = false;
|
|
39389
|
+
this.showTooltip = false;
|
|
39390
|
+
this.passwordComplexity = undefined;
|
|
39391
|
+
this.showPopup = undefined;
|
|
39392
|
+
this.value = '';
|
|
39335
39393
|
}
|
|
39336
39394
|
handleStylingChange(newValue, oldValue) {
|
|
39337
39395
|
if (newValue !== oldValue)
|
|
@@ -39516,17 +39574,23 @@ const RadioInput = class {
|
|
|
39516
39574
|
registerInstance(this, hostRef);
|
|
39517
39575
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
39518
39576
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
39519
|
-
/**
|
|
39520
|
-
* Client custom styling via inline style
|
|
39521
|
-
*/
|
|
39522
|
-
this.clientStyling = '';
|
|
39523
|
-
this.limitStylingAppends = false;
|
|
39524
|
-
this.showTooltip = false;
|
|
39525
39577
|
this.setClientStyling = () => {
|
|
39526
39578
|
let sheet = document.createElement('style');
|
|
39527
39579
|
sheet.innerHTML = this.clientStyling;
|
|
39528
39580
|
this.stylingContainer.prepend(sheet);
|
|
39529
39581
|
};
|
|
39582
|
+
this.name = undefined;
|
|
39583
|
+
this.displayName = undefined;
|
|
39584
|
+
this.optionsGroup = undefined;
|
|
39585
|
+
this.validation = undefined;
|
|
39586
|
+
this.tooltip = undefined;
|
|
39587
|
+
this.language = undefined;
|
|
39588
|
+
this.emitValue = undefined;
|
|
39589
|
+
this.clientStyling = '';
|
|
39590
|
+
this.errorMessage = undefined;
|
|
39591
|
+
this.isValid = undefined;
|
|
39592
|
+
this.limitStylingAppends = false;
|
|
39593
|
+
this.showTooltip = false;
|
|
39530
39594
|
}
|
|
39531
39595
|
handleStylingChange(newValue, oldValue) {
|
|
39532
39596
|
if (newValue !== oldValue)
|
|
@@ -45146,20 +45210,6 @@ const SelectInput = class {
|
|
|
45146
45210
|
registerInstance(this, hostRef);
|
|
45147
45211
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
45148
45212
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
45149
|
-
/**
|
|
45150
|
-
* Default value for the input.
|
|
45151
|
-
*/
|
|
45152
|
-
this.defaultValue = '';
|
|
45153
|
-
/**
|
|
45154
|
-
* Options of the input.
|
|
45155
|
-
*/
|
|
45156
|
-
this.options = [];
|
|
45157
|
-
/**
|
|
45158
|
-
* Client custom styling via inline style
|
|
45159
|
-
*/
|
|
45160
|
-
this.clientStyling = '';
|
|
45161
|
-
this.limitStylingAppends = false;
|
|
45162
|
-
this.showTooltip = false;
|
|
45163
45213
|
this.touched = false;
|
|
45164
45214
|
this.handleChange = (event) => {
|
|
45165
45215
|
this.touched = true;
|
|
@@ -45188,6 +45238,22 @@ const SelectInput = class {
|
|
|
45188
45238
|
sheet.innerHTML = this.clientStyling;
|
|
45189
45239
|
this.stylingContainer.prepend(sheet);
|
|
45190
45240
|
};
|
|
45241
|
+
this.name = undefined;
|
|
45242
|
+
this.displayName = undefined;
|
|
45243
|
+
this.placeholder = undefined;
|
|
45244
|
+
this.action = undefined;
|
|
45245
|
+
this.defaultValue = '';
|
|
45246
|
+
this.autofilled = undefined;
|
|
45247
|
+
this.tooltip = undefined;
|
|
45248
|
+
this.options = [];
|
|
45249
|
+
this.validation = undefined;
|
|
45250
|
+
this.language = undefined;
|
|
45251
|
+
this.emitValue = undefined;
|
|
45252
|
+
this.clientStyling = '';
|
|
45253
|
+
this.errorMessage = undefined;
|
|
45254
|
+
this.isValid = undefined;
|
|
45255
|
+
this.limitStylingAppends = false;
|
|
45256
|
+
this.showTooltip = false;
|
|
45191
45257
|
}
|
|
45192
45258
|
handleStylingChange(newValue, oldValue) {
|
|
45193
45259
|
if (newValue !== oldValue)
|
|
@@ -45304,12 +45370,6 @@ const TelInput = class {
|
|
|
45304
45370
|
registerInstance(this, hostRef);
|
|
45305
45371
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
45306
45372
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
45307
|
-
/**
|
|
45308
|
-
* Client custom styling via inline style
|
|
45309
|
-
*/
|
|
45310
|
-
this.clientStyling = '';
|
|
45311
|
-
this.limitStylingAppends = false;
|
|
45312
|
-
this.showTooltip = false;
|
|
45313
45373
|
this.validationPattern = '';
|
|
45314
45374
|
this.touched = false;
|
|
45315
45375
|
this.handleInput = (event) => {
|
|
@@ -45335,6 +45395,22 @@ const TelInput = class {
|
|
|
45335
45395
|
sheet.innerHTML = this.clientStyling;
|
|
45336
45396
|
this.stylingContainer.prepend(sheet);
|
|
45337
45397
|
};
|
|
45398
|
+
this.name = undefined;
|
|
45399
|
+
this.displayName = undefined;
|
|
45400
|
+
this.placeholder = undefined;
|
|
45401
|
+
this.showLabels = undefined;
|
|
45402
|
+
this.action = undefined;
|
|
45403
|
+
this.validation = undefined;
|
|
45404
|
+
this.defaultValue = undefined;
|
|
45405
|
+
this.autofilled = undefined;
|
|
45406
|
+
this.tooltip = undefined;
|
|
45407
|
+
this.language = undefined;
|
|
45408
|
+
this.emitValue = undefined;
|
|
45409
|
+
this.clientStyling = '';
|
|
45410
|
+
this.isValid = undefined;
|
|
45411
|
+
this.errorMessage = undefined;
|
|
45412
|
+
this.limitStylingAppends = false;
|
|
45413
|
+
this.showTooltip = false;
|
|
45338
45414
|
}
|
|
45339
45415
|
handleStylingChange(newValue, oldValue) {
|
|
45340
45416
|
if (newValue !== oldValue)
|
|
@@ -45469,17 +45545,6 @@ const TextInput = class {
|
|
|
45469
45545
|
registerInstance(this, hostRef);
|
|
45470
45546
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
45471
45547
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
45472
|
-
/**
|
|
45473
|
-
* Default value for the input.
|
|
45474
|
-
*/
|
|
45475
|
-
this.defaultValue = '';
|
|
45476
|
-
/**
|
|
45477
|
-
* Client custom styling via inline style
|
|
45478
|
-
*/
|
|
45479
|
-
this.clientStyling = '';
|
|
45480
|
-
this.errorMessage = '';
|
|
45481
|
-
this.limitStylingAppends = false;
|
|
45482
|
-
this.showTooltip = false;
|
|
45483
45548
|
this.value = '';
|
|
45484
45549
|
this.validationPattern = '';
|
|
45485
45550
|
this.duplicateInputValue = null;
|
|
@@ -45509,6 +45574,22 @@ const TextInput = class {
|
|
|
45509
45574
|
sheet.innerHTML = this.clientStyling;
|
|
45510
45575
|
this.stylingContainer.prepend(sheet);
|
|
45511
45576
|
};
|
|
45577
|
+
this.name = undefined;
|
|
45578
|
+
this.displayName = undefined;
|
|
45579
|
+
this.placeholder = undefined;
|
|
45580
|
+
this.validation = undefined;
|
|
45581
|
+
this.defaultValue = '';
|
|
45582
|
+
this.autofilled = undefined;
|
|
45583
|
+
this.tooltip = undefined;
|
|
45584
|
+
this.language = undefined;
|
|
45585
|
+
this.checkValidity = undefined;
|
|
45586
|
+
this.emitValue = undefined;
|
|
45587
|
+
this.isDuplicateInput = undefined;
|
|
45588
|
+
this.clientStyling = '';
|
|
45589
|
+
this.isValid = undefined;
|
|
45590
|
+
this.errorMessage = '';
|
|
45591
|
+
this.limitStylingAppends = false;
|
|
45592
|
+
this.showTooltip = false;
|
|
45512
45593
|
}
|
|
45513
45594
|
handleStylingChange(newValue, oldValue) {
|
|
45514
45595
|
if (newValue !== oldValue)
|
|
@@ -45638,23 +45719,27 @@ const ToggleCheckboxInput = class {
|
|
|
45638
45719
|
registerInstance(this, hostRef);
|
|
45639
45720
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
45640
45721
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
45641
|
-
/**
|
|
45642
|
-
* Default value for the input.
|
|
45643
|
-
*/
|
|
45644
|
-
this.defaultValue = '';
|
|
45645
|
-
/**
|
|
45646
|
-
* Client custom styling via inline style
|
|
45647
|
-
*/
|
|
45648
|
-
this.clientStyling = '';
|
|
45649
|
-
this.limitStylingAppends = false;
|
|
45650
|
-
this.showTooltip = false;
|
|
45651
|
-
this.showFields = this.defaultValue === 'true';
|
|
45652
45722
|
this.value = '';
|
|
45653
45723
|
this.setClientStyling = () => {
|
|
45654
45724
|
let sheet = document.createElement('style');
|
|
45655
45725
|
sheet.innerHTML = this.clientStyling;
|
|
45656
45726
|
this.stylingContainer.prepend(sheet);
|
|
45657
45727
|
};
|
|
45728
|
+
this.name = undefined;
|
|
45729
|
+
this.displayName = undefined;
|
|
45730
|
+
this.defaultValue = '';
|
|
45731
|
+
this.options = undefined;
|
|
45732
|
+
this.autofilled = undefined;
|
|
45733
|
+
this.tooltip = undefined;
|
|
45734
|
+
this.validation = undefined;
|
|
45735
|
+
this.language = undefined;
|
|
45736
|
+
this.emitValue = undefined;
|
|
45737
|
+
this.clientStyling = '';
|
|
45738
|
+
this.errorMessage = undefined;
|
|
45739
|
+
this.isValid = undefined;
|
|
45740
|
+
this.limitStylingAppends = false;
|
|
45741
|
+
this.showTooltip = false;
|
|
45742
|
+
this.showFields = this.defaultValue === 'true';
|
|
45658
45743
|
}
|
|
45659
45744
|
handleStylingChange(newValue, oldValue) {
|
|
45660
45745
|
if (newValue !== oldValue)
|