@everymatrix/player-account-controller-nd 1.74.2 → 1.74.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/PlayerAccountControllerNd-B2aKBoWT.cjs +1 -0
- package/components/{PlayerAccountControllerNd-DjnOphQe.js → PlayerAccountControllerNd-DcyhHnAy.js} +397 -367
- package/components/{PlayerAccountControllerNd-BS-riY4B.js → PlayerAccountControllerNd-NBr8XDI7.js} +387 -357
- package/components/{PlayerAccountProductRestriction-BGhVoupi.js → PlayerAccountProductRestriction-CN53RWXW.js} +1844 -1782
- package/components/{PlayerAccountProductRestriction-BG4D1x1w.js → PlayerAccountProductRestriction-Da-DR_H1.js} +1805 -1743
- package/components/{PlayerAccountProductRestriction-AAK9uBJW.cjs → PlayerAccountProductRestriction-nQ_8_MV1.cjs} +251 -251
- package/components/{PlayerAccountSelfExclusionNd-B6y7tHtr.js → PlayerAccountSelfExclusionNd-B5yQ8mL0.js} +422 -401
- package/components/{PlayerAccountSelfExclusionNd-DsfbSJv5.cjs → PlayerAccountSelfExclusionNd-B7DjoHrS.cjs} +18 -18
- package/components/{PlayerAccountSelfExclusionNd-CSy2aO0P.js → PlayerAccountSelfExclusionNd-yHby6KUf.js} +360 -339
- package/components/{PlayerAccountTimeout-BSXztQgW.js → PlayerAccountTimeout-CkKX0-D_.js} +2 -2
- package/components/{PlayerAccountTimeout-CfHses_T.cjs → PlayerAccountTimeout-CohC33sI.cjs} +1 -1
- package/components/{PlayerAccountTimeout-TK3tc__T.js → PlayerAccountTimeout-G31ynBjD.js} +2 -2
- package/components/PlayerAccountTransactionsHistory--O5i9HfY.cjs +4 -0
- package/components/PlayerAccountTransactionsHistory-CGq9q7Ak.js +1950 -0
- package/components/PlayerAccountTransactionsHistory-lEqFBIwn.js +1919 -0
- package/components/{PlayerBonusHistory-hngswR3n.js → PlayerBonusHistory-B9GBjrhp.js} +1 -1
- package/components/{PlayerBonusHistory-Bl1yBZN6.js → PlayerBonusHistory-DgZlf4DN.js} +1 -1
- package/components/{PlayerBonusHistory-BFQwHuVP.cjs → PlayerBonusHistory-l9JKc1SI.cjs} +1 -1
- package/components/{PlayerGamingHistory-DuN7uKoy.js → PlayerGamingHistory-CUfMRa00.js} +1 -1
- package/components/{PlayerGamingHistory-B97vlhK5.js → PlayerGamingHistory-D-rZL0d1.js} +1 -1
- package/components/{PlayerGamingHistory-Db8SvXdu.cjs → PlayerGamingHistory-DrygiT7t.cjs} +1 -1
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-9c0f6c58-Bv8IBM1p.js → index-9c0f6c58-8sXzcKbt.js} +1 -1
- package/stencil/{index-9c0f6c58-zsW8QQHO.cjs → index-9c0f6c58-CbFwvYJ1.cjs} +1 -1
- package/stencil/{index-9c0f6c58-DLLdeaWe.js → index-9c0f6c58-DH5Ki39B.js} +1 -1
- package/stencil/{player-kyc-verification-DJDR-AK_.js → player-kyc-verification-BJuBsd7A.js} +71 -71
- package/stencil/player-kyc-verification-DW2tWbg_.cjs +181 -0
- package/stencil/{player-kyc-verification-CEsLhoEl.js → player-kyc-verification-u-XUlDen.js} +11 -11
- package/components/PlayerAccountControllerNd-DQ4EqhoO.cjs +0 -1
- package/components/PlayerAccountTransactionsHistory-4ixHf0ux.js +0 -1890
- package/components/PlayerAccountTransactionsHistory-CujRe7uY.cjs +0 -4
- package/components/PlayerAccountTransactionsHistory-D7ud4SRU.js +0 -1859
- package/stencil/player-kyc-verification--Oo2H-oo.cjs +0 -181
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Sr=Object.defineProperty,Ar=Object.defineProperties;var Cr=Object.getOwnPropertyDescriptors;var Xi=Object.getOwnPropertySymbols;var Pr=Object.prototype.hasOwnProperty,kr=Object.prototype.propertyIsEnumerable;var Zi=(o,t,e)=>t in o?Sr(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,_t=(o,t)=>{for(var e in t||(t={}))Pr.call(t,e)&&Zi(o,e,t[e]);if(Xi)for(var e of Xi(t))kr.call(t,e)&&Zi(o,e,t[e]);return o},gt=(o,t)=>Ar(o,Cr(t));var Ke=(o,t,e)=>new Promise((i,s)=>{var r=l=>{try{a(e.next(l))}catch(d){s(d)}},n=l=>{try{a(e.throw(l))}catch(d){s(d)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(r,n);a((e=e.apply(o,t)).next())});const c=require("./GeneralLogout-TofSUXEw.cjs"),fe=require("./PlayerAccountProductRestriction-
|
|
1
|
+
"use strict";var Sr=Object.defineProperty,Ar=Object.defineProperties;var Cr=Object.getOwnPropertyDescriptors;var Xi=Object.getOwnPropertySymbols;var Pr=Object.prototype.hasOwnProperty,kr=Object.prototype.propertyIsEnumerable;var Zi=(o,t,e)=>t in o?Sr(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,_t=(o,t)=>{for(var e in t||(t={}))Pr.call(t,e)&&Zi(o,e,t[e]);if(Xi)for(var e of Xi(t))kr.call(t,e)&&Zi(o,e,t[e]);return o},gt=(o,t)=>Ar(o,Cr(t));var Ke=(o,t,e)=>new Promise((i,s)=>{var r=l=>{try{a(e.next(l))}catch(d){s(d)}},n=l=>{try{a(e.throw(l))}catch(d){s(d)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(r,n);a((e=e.apply(o,t)).next())});const c=require("./GeneralLogout-TofSUXEw.cjs"),fe=require("./PlayerAccountProductRestriction-nQ_8_MV1.cjs");require("../stencil/ui-skeleton-Bez-iF-R.cjs");require("./PlayerAccountGamingLimitsGroupEdit-BEb7Fv28.cjs");/**
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
21
21
|
*/const ot=globalThis,At=ot.trustedTypes,oo=At?At.createPolicy("lit-html",{createHTML:o=>o}):void 0,Qo="$lit$",xe=`lit$${Math.random().toFixed(9).slice(2)}$`,es="?"+xe,Rr=`<${es}>`,Oe=document,rt=()=>Oe.createComment(""),nt=o=>o===null||typeof o!="object"&&typeof o!="function",Di=Array.isArray,Br=o=>Di(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",Ht=`[
|
|
22
22
|
\f\r]`,Ge=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,so=/-->/g,ro=/>/g,Pe=RegExp(`>|${Ht}(?:([^\\s"'>=/]+)(${Ht}*=${Ht}*(?:[^
|
|
23
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),no=/'/g,ao=/"/g,ts=/^(?:script|style|textarea|title)$/i
|
|
23
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),no=/'/g,ao=/"/g,ts=/^(?:script|style|textarea|title)$/i,$e=Symbol.for("lit-noChange"),$=Symbol.for("lit-nothing"),lo=new WeakMap,ke=Oe.createTreeWalker(Oe,129);function is(o,t){if(!Di(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return oo!==void 0?oo.createHTML(t):t}const Hr=(o,t)=>{const e=o.length-1,i=[];let s,r=t===2?"<svg>":t===3?"<math>":"",n=Ge;for(let a=0;a<e;a++){const l=o[a];let d,u,h=-1,p=0;for(;p<l.length&&(n.lastIndex=p,u=n.exec(l),u!==null);)p=n.lastIndex,n===Ge?u[1]==="!--"?n=so:u[1]!==void 0?n=ro:u[2]!==void 0?(ts.test(u[2])&&(s=RegExp("</"+u[2],"g")),n=Pe):u[3]!==void 0&&(n=Pe):n===Pe?u[0]===">"?(n=s!=null?s:Ge,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,d=u[1],n=u[3]===void 0?Pe:u[3]==='"'?ao:no):n===ao||n===no?n=Pe:n===so||n===ro?n=Ge:(n=Pe,s=void 0);const m=n===Pe&&o[a+1].startsWith("/>")?" ":"";r+=n===Ge?l+Rr:h>=0?(i.push(d),l.slice(0,h)+Qo+l.slice(h)+xe+m):l+xe+(h===-2?a:m)}return[is(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]};class at{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[d,u]=Hr(t,e);if(this.el=at.createElement(d,i),ke.currentNode=this.el.content,e===2||e===3){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(s=ke.nextNode())!==null&&l.length<a;){if(s.nodeType===1){if(s.hasAttributes())for(const h of s.getAttributeNames())if(h.endsWith(Qo)){const p=u[n++],m=s.getAttribute(h).split(xe),b=/([.?@])?(.*)/.exec(p);l.push({type:1,index:r,name:b[2],strings:m,ctor:b[1]==="."?$r:b[1]==="?"?jr:b[1]==="@"?Vr:It}),s.removeAttribute(h)}else h.startsWith(xe)&&(l.push({type:6,index:r}),s.removeAttribute(h));if(ts.test(s.tagName)){const h=s.textContent.split(xe),p=h.length-1;if(p>0){s.textContent=At?At.emptyScript:"";for(let m=0;m<p;m++)s.append(h[m],rt()),ke.nextNode(),l.push({type:2,index:++r});s.append(h[p],rt())}}}else if(s.nodeType===8)if(s.data===es)l.push({type:2,index:r});else{let h=-1;for(;(h=s.data.indexOf(xe,h+1))!==-1;)l.push({type:7,index:r}),h+=xe.length-1}r++}}static createElement(t,e){const i=Oe.createElement("template");return i.innerHTML=t,i}}function je(o,t,e=o,i){var n,a,l;if(t===$e)return t;let s=i!==void 0?(n=e._$Co)==null?void 0:n[i]:e._$Cl;const r=nt(t)?void 0:t._$litDirective$;return(s==null?void 0:s.constructor)!==r&&((a=s==null?void 0:s._$AO)==null||a.call(s,!1),r===void 0?s=void 0:(s=new r(o),s._$AT(o,e,i)),i!==void 0?((l=e._$Co)!=null?l:e._$Co=[])[i]=s:e._$Cl=s),s!==void 0&&(t=je(o,s._$AS(o,t.values),s,i)),t}class Yr{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var d;const{el:{content:e},parts:i}=this._$AD,s=((d=t==null?void 0:t.creationScope)!=null?d:Oe).importNode(e,!0);ke.currentNode=s;let r=ke.nextNode(),n=0,a=0,l=i[0];for(;l!==void 0;){if(n===l.index){let u;l.type===2?u=new ft(r,r.nextSibling,this,t):l.type===1?u=new l.ctor(r,l.name,l.strings,this,t):l.type===6&&(u=new Ur(r,this,t)),this._$AV.push(u),l=i[++a]}n!==(l==null?void 0:l.index)&&(r=ke.nextNode(),n++)}return ke.currentNode=Oe,s}p(t){let e=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class ft{get _$AU(){var t,e;return(e=(t=this._$AM)==null?void 0:t._$AU)!=null?e:this._$Cv}constructor(t,e,i,s){var r;this.type=2,this._$AH=$,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cv=(r=s==null?void 0:s.isConnected)!=null?r:!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=je(this,t,e),nt(t)?t===$||t==null||t===""?(this._$AH!==$&&this._$AR(),this._$AH=$):t!==this._$AH&&t!==$e&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Br(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!==$&&nt(this._$AH)?this._$AA.nextSibling.data=t:this.T(Oe.createTextNode(t)),this._$AH=t}$(t){var r;const{values:e,_$litType$:i}=t,s=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=at.createElement(is(i.h,i.h[0]),this.options)),i);if(((r=this._$AH)==null?void 0:r._$AD)===s)this._$AH.p(e);else{const n=new Yr(s,this),a=n.u(this.options);n.p(e),this.T(a),this._$AH=n}}_$AC(t){let e=lo.get(t.strings);return e===void 0&&lo.set(t.strings,e=new at(t)),e}k(t){Di(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const r of t)s===e.length?e.push(i=new ft(this.O(rt()),this.O(rt()),this,this.options)):i=e[s],i._$AI(r),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,e);t&&t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class It{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,s,r){this.type=1,this._$AH=$,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=r,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=$}_$AI(t,e=this,i,s){const r=this.strings;let n=!1;if(r===void 0)t=je(this,t,e,0),n=!nt(t)||t!==this._$AH&&t!==$e,n&&(this._$AH=t);else{const a=t;let l,d;for(t=r[0],l=0;l<r.length-1;l++)d=je(this,a[i+l],e,l),d===$e&&(d=this._$AH[l]),n||(n=!nt(d)||d!==this._$AH[l]),d===$?t=$:t!==$&&(t+=(d!=null?d:"")+r[l+1]),this._$AH[l]=d}n&&!s&&this.j(t)}j(t){t===$?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}}class $r extends It{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===$?void 0:t}}class jr extends It{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==$)}}class Vr extends It{constructor(t,e,i,s,r){super(t,e,i,s,r),this.type=5}_$AI(t,e=this){var n;if((t=(n=je(this,t,e,0))!=null?n:$)===$e)return;const i=this._$AH,s=t===$&&i!==$||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,r=t!==$&&(i===$||s);s&&this.element.removeEventListener(this.name,this,i),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;typeof this._$AH=="function"?this._$AH.call((i=(e=this.options)==null?void 0:e.host)!=null?i:this.element,t):this._$AH.handleEvent(t)}}class Ur{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){je(this,t)}}const Yt=ot.litHtmlPolyfillSupport;var Ko;Yt==null||Yt(at,ft),((Ko=ot.litHtmlVersions)!=null?Ko:ot.litHtmlVersions=[]).push("3.2.1");const Wr=(o,t,e)=>{var r,n;const i=(r=e==null?void 0:e.renderBefore)!=null?r:t;let s=i._$litPart$;if(s===void 0){const a=(n=e==null?void 0:e.renderBefore)!=null?n:null;i._$litPart$=s=new ft(t.insertBefore(rt(),a),a,void 0,e!=null?e:{})}return s._$AI(o),s};/**
|
|
24
24
|
* @license
|
|
25
25
|
* Copyright 2017 Google LLC
|
|
26
26
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
27
|
-
*/class Re extends Le{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,i;const t=super.createRenderRoot();return(i=(e=this.renderOptions).renderBefore)!=null||(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Wr(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return
|
|
27
|
+
*/class Re extends Le{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,i;const t=super.createRenderRoot();return(i=(e=this.renderOptions).renderBefore)!=null||(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Wr(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return $e}}var Go;Re._$litElement$=!0,Re.finalized=!0,(Go=globalThis.litElementHydrateSupport)==null||Go.call(globalThis,{LitElement:Re});const $t=globalThis.litElementPolyfillSupport;$t==null||$t({LitElement:Re});var Jo;((Jo=globalThis.litElementVersions)!=null?Jo:globalThis.litElementVersions=[]).push("4.1.1");/**
|
|
28
28
|
* @license
|
|
29
29
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
30
30
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -2005,7 +2005,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
2005
2005
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
2006
2006
|
Code distributed by Google as part of the polymer project is also
|
|
2007
2007
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2008
|
-
*/const
|
|
2008
|
+
*/const Yn=Ps,ks=H(o=>{class t extends o{static createProperties(i){const s=this.prototype;for(let r in i)r in s||s._createPropertyAccessor(r)}static attributeNameForProperty(i){return i.toLowerCase()}static typeForProperty(i){}_createPropertyAccessor(i,s){this._addPropertyToAttributeMap(i),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[i]||(this.__dataHasAccessor[i]=!0,this._definePropertyAccessor(i,s))}_addPropertyToAttributeMap(i){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let s=this.__dataAttributes[i];return s||(s=this.constructor.attributeNameForProperty(i),this.__dataAttributes[s]=i),s}_definePropertyAccessor(i,s){Object.defineProperty(this,i,{get(){return this.__data[i]},set:s?function(){}:function(r){this._setPendingProperty(i,r,!0)&&this._invalidateProperties()}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__dataCounter=0,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let i in this.__dataHasAccessor)this.hasOwnProperty(i)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[i]=this[i],delete this[i])}_initializeInstanceProperties(i){Object.assign(this,i)}_setProperty(i,s){this._setPendingProperty(i,s)&&this._invalidateProperties()}_getProperty(i){return this.__data[i]}_setPendingProperty(i,s,r){let n=this.__data[i],a=this._shouldPropertyChange(i,s,n);return a&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(i in this.__dataOld)&&(this.__dataOld[i]=n),this.__data[i]=s,this.__dataPending[i]=s),a}_isPropertyPending(i){return!!(this.__dataPending&&this.__dataPending.hasOwnProperty(i))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,Yn.run(()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())}))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){this.__dataCounter++;const i=this.__data,s=this.__dataPending,r=this.__dataOld;this._shouldPropertiesChange(i,s,r)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(i,s,r)),this.__dataCounter--}_shouldPropertiesChange(i,s,r){return!!s}_propertiesChanged(i,s,r){}_shouldPropertyChange(i,s,r){return r!==s&&(r===r||s===s)}attributeChangedCallback(i,s,r,n){s!==r&&this._attributeToProperty(i,r),super.attributeChangedCallback&&super.attributeChangedCallback(i,s,r,n)}_attributeToProperty(i,s,r){if(!this.__serializing){const n=this.__dataAttributes,a=n&&n[i]||i;this[a]=this._deserializeValue(s,r||this.constructor.typeForProperty(a))}}_propertyToAttribute(i,s,r){this.__serializing=!0,r=arguments.length<3?this[i]:r,this._valueToNodeAttribute(this,r,s||this.constructor.attributeNameForProperty(i)),this.__serializing=!1}_valueToNodeAttribute(i,s,r){const n=this._serializeValue(s);(r==="class"||r==="name"||r==="slot")&&(i=W(i)),n===void 0?i.removeAttribute(r):i.setAttribute(r,n===""&&window.trustedTypes?window.trustedTypes.emptyScript:n)}_serializeValue(i){switch(typeof i){case"boolean":return i?"":void 0;default:return i!=null?i.toString():void 0}}_deserializeValue(i,s){switch(s){case Boolean:return i!==null;case Number:return Number(i);default:return i}}}return t});/**
|
|
2009
2009
|
@license
|
|
2010
2010
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
2011
2011
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -2013,7 +2013,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
2013
2013
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
2014
2014
|
Code distributed by Google as part of the polymer project is also
|
|
2015
2015
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2016
|
-
*/const Ds={};let vt=HTMLElement.prototype;for(;vt;){let o=Object.getOwnPropertyNames(vt);for(let t=0;t<o.length;t++)Ds[o[t]]=!0;vt=Object.getPrototypeOf(vt)}const
|
|
2016
|
+
*/const Ds={};let vt=HTMLElement.prototype;for(;vt;){let o=Object.getOwnPropertyNames(vt);for(let t=0;t<o.length;t++)Ds[o[t]]=!0;vt=Object.getPrototypeOf(vt)}const $n=window.trustedTypes?o=>trustedTypes.isHTML(o)||trustedTypes.isScript(o)||trustedTypes.isScriptURL(o):()=>!1;function jn(o,t){if(!Ds[t]){let e=o[t];e!==void 0&&(o.__data?o._setPendingProperty(t,e):(o.__dataProto?o.hasOwnProperty(JSCompiler_renameProperty("__dataProto",o))||(o.__dataProto=Object.create(o.__dataProto)):o.__dataProto={},o.__dataProto[t]=e))}}const Vn=H(o=>{const t=ks(o);class e extends t{static createPropertiesForAttributes(){let s=this.observedAttributes;for(let r=0;r<s.length;r++)this.prototype._createPropertyAccessor(Ss(s[r]))}static attributeNameForProperty(s){return Ft(s)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(s){for(let r in s)this._setProperty(r,s[r])}_ensureAttribute(s,r){const n=this;n.hasAttribute(s)||this._valueToNodeAttribute(n,r,s)}_serializeValue(s){switch(typeof s){case"object":if(s instanceof Date)return s.toString();if(s){if($n(s))return s;try{return JSON.stringify(s)}catch(r){return""}}default:return super._serializeValue(s)}}_deserializeValue(s,r){let n;switch(r){case Object:try{n=JSON.parse(s)}catch(a){n=s}break;case Array:try{n=JSON.parse(s)}catch(a){n=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${s}`)}break;case Date:n=isNaN(s)?String(s):Number(s),n=new Date(n);break;default:n=super._deserializeValue(s,r);break}return n}_definePropertyAccessor(s,r){jn(this,s),super._definePropertyAccessor(s,r)}_hasAccessor(s){return this.__dataHasAccessor&&this.__dataHasAccessor[s]}_isPropertyPending(s){return!!(this.__dataPending&&s in this.__dataPending)}}return e});/**
|
|
2017
2017
|
@license
|
|
2018
2018
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
2019
2019
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -2031,7 +2031,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
2031
2031
|
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
|
2032
2032
|
* Google as part of the polymer project is also subject to an additional IP
|
|
2033
2033
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2034
|
-
*/let ut=0;const ht=[],C={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},Ms="__computeInfo",ta=/[A-Z]/;function jt(o,t,e){let i=o[t];if(!i)i=o[t]={};else if(!o.hasOwnProperty(t)&&(i=o[t]=Object.create(o[t]),e))for(let s in i){let r=i[s],n=i[s]=Array(r.length);for(let a=0;a<r.length;a++)n[a]=r[a]}return i}function tt(o,t,e,i,s,r){if(t){let n=!1;const a=ut++;for(let l in e){let d=s?Fe(l):l,u=t[d];if(u)for(let h=0,p=u.length,m;h<p&&(m=u[h]);h++)(!m.info||m.info.lastRun!==a)&&(!s||Fi(l,m.trigger))&&(m.info&&(m.info.lastRun=a),m.fn(o,l,e,i,m.info,s,r),n=!0)}return n}return!1}function ia(o,t,e,i,s,r,n,a){let l=!1,d=n?Fe(i):i,u=t[d];if(u)for(let h=0,p=u.length,m;h<p&&(m=u[h]);h++)(!m.info||m.info.lastRun!==e)&&(!n||Fi(i,m.trigger))&&(m.info&&(m.info.lastRun=e),m.fn(o,i,s,r,m.info,n,a),l=!0);return l}function Fi(o,t){if(t){let e=t.name;return e==o||!!(t.structured&&ws(e,o))||!!(t.wildcard&&ct(e,o))}else return!0}function vo(o,t,e,i,s){let r=typeof s.method=="string"?o[s.method]:s.method,n=s.property;r?r.call(o,o.__data[n],i[n]):s.dynamicFn||console.warn("observer method `"+s.method+"` not defined")}function oa(o,t,e,i,s){let r=o[C.NOTIFY],n,a=ut++;for(let d in t)t[d]&&(r&&ia(o,r,a,d,e,i,s)||s&&sa(o,d,e))&&(n=!0);let l;n&&(l=o.__dataHost)&&l._invalidateProperties&&l._invalidateProperties()}function sa(o,t,e){let i=Fe(t);if(i!==t){let s=Ft(i)+"-changed";return Os(o,s,e[t],t),!0}return!1}function Os(o,t,e,i){let s={value:e,queueProperty:!0};i&&(s.path=i),W(o).dispatchEvent(new CustomEvent(t,{detail:s}))}function ra(o,t,e,i,s,r){let a=(r?Fe(t):t)!=t?t:null,l=a?Q(o,a):o.__data[t];a&&l===void 0&&(l=e[t]),Os(o,s.eventName,l,a)}function na(o,t,e,i,s){let r,n=o.detail,a=n&&n.path;a?(i=dt(e,i,a),r=n&&n.value):r=o.currentTarget[e],r=s?!r:r,(!t[C.READ_ONLY]||!t[C.READ_ONLY][i])&&t._setPendingPropertyOrPath(i,r,!0,!!a)&&(!n||!n.queueProperty)&&t._invalidateProperties()}function aa(o,t,e,i,s){let r=o.__data[t];Pt&&(r=Pt(r,s.attrName,"attribute",o)),o._propertyToAttribute(t,s.attrName,r)}function la(o,t,e,i){let s=o[C.COMPUTE];if(s)if(Sn){ut++;const r=da(o),n=[];for(let l in t)yo(l,s,n,r,i);let a;for(;a=n.shift();)Is(o,"",t,e,a)&&yo(a.methodInfo,s,n,r,i);Object.assign(e,o.__dataOld),Object.assign(t,o.__dataPending),o.__dataPending=null}else{let r=t;for(;tt(o,s,r,e,i);)Object.assign(e,o.__dataOld),Object.assign(t,o.__dataPending),r=o.__dataPending,o.__dataPending=null}}const ca=(o,t,e)=>{let i=0,s=t.length-1,r=-1;for(;i<=s;){const n=i+s>>1,a=e.get(t[n].methodInfo)-e.get(o.methodInfo);if(a<0)i=n+1;else if(a>0)s=n-1;else{r=n;break}}r<0&&(r=s+1),t.splice(r,0,o)},yo=(o,t,e,i,s)=>{const r=s?Fe(o):o,n=t[r];if(n)for(let a=0;a<n.length;a++){const l=n[a];l.info.lastRun!==ut&&(!s||Fi(o,l.trigger))&&(l.info.lastRun=ut,ca(l.info,e,i))}};function da(o){let t=o.constructor.__orderedComputedDeps;if(!t){t=new Map;const e=o[C.COMPUTE];let{counts:i,ready:s,total:r}=ua(o),n;for(;n=s.shift();){t.set(n,t.size);const a=e[n];a&&a.forEach(l=>{const d=l.info.methodInfo;--r,--i[d]===0&&s.push(d)})}r!==0&&console.warn(`Computed graph for ${o.localName} incomplete; circular?`),o.constructor.__orderedComputedDeps=t}return t}function ua(o){const t=o[Ms],e={},i=o[C.COMPUTE],s=[];let r=0;for(let n in t){const a=t[n];r+=e[n]=a.args.filter(l=>!l.literal).length+(a.dynamicFn?1:0)}for(let n in i)t[n]||s.push(n);return{counts:e,ready:s,total:r}}function Is(o,t,e,i,s){let r=ci(o,t,e,i,s);if(r===ht)return!1;let n=s.methodInfo;return o.__dataHasAccessor&&o.__dataHasAccessor[n]?o._setPendingProperty(n,r,!0):(o[n]=r,!1)}function ha(o,t,e){let i=o.__dataLinkedPaths;if(i){let s;for(let r in i){let n=i[r];ct(r,t)?(s=dt(r,n,t),o._setPendingPropertyOrPath(s,e,!0,!0)):ct(n,t)&&(s=dt(n,r,t),o._setPendingPropertyOrPath(s,e,!0,!0))}}}function Vt(o,t,e,i,s,r,n){e.bindings=e.bindings||[];let a={kind:i,target:s,parts:r,literal:n,isCompound:r.length!==1};if(e.bindings.push(a),ga(a)){let{event:d,negate:u}=a.parts[0];a.listenerEvent=d||Ft(s)+"-changed",a.listenerNegate=u}let l=t.nodeInfoList.length;for(let d=0;d<a.parts.length;d++){let u=a.parts[d];u.compoundIndex=d,pa(o,t,a,u,l)}}function pa(o,t,e,i,s){if(!i.literal)if(e.kind==="attribute"&&e.target[0]==="-")console.warn("Cannot set attribute "+e.target+' because "-" is not a valid attribute starting character');else{let r=i.dependencies,n={index:s,binding:e,part:i,evaluator:o};for(let a=0;a<r.length;a++){let l=r[a];typeof l=="string"&&(l=Ns(l),l.wildcard=!0),o._addTemplatePropertyEffect(t,l.rootProperty,{fn:fa,info:n,trigger:l})}}}function fa(o,t,e,i,s,r,n){let a=n[s.index],l=s.binding,d=s.part;if(r&&d.source&&t.length>d.source.length&&l.kind=="property"&&!l.isCompound&&a.__isPropertyEffectsClient&&a.__dataHasAccessor&&a.__dataHasAccessor[l.target]){let u=e[t];t=dt(d.source,l.target,t),a._setPendingPropertyOrPath(t,u,!1,!0)&&o._enqueueClient(a)}else{let u=s.evaluator._evaluateBinding(o,d,t,e,i,r);u!==ht&&ma(o,a,l,d,u)}}function ma(o,t,e,i,s){if(s=_a(t,s,e,i),Pt&&(s=Pt(s,e.target,e.kind,t)),e.kind=="attribute")o._valueToNodeAttribute(t,s,e.target);else{let r=e.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[r]?(!t[C.READ_ONLY]||!t[C.READ_ONLY][r])&&t._setPendingProperty(r,s)&&o._enqueueClient(t):o._setUnmanagedPropertyToNode(t,r,s)}}function _a(o,t,e,i){if(e.isCompound){let s=o.__dataCompoundStorage[e.target];s[i.compoundIndex]=t,t=s.join("")}return e.kind!=="attribute"&&(e.target==="textContent"||e.target==="value"&&(o.localName==="input"||o.localName==="textarea"))&&(t=t==null?"":t),t}function ga(o){return!!o.target&&o.kind!="attribute"&&o.kind!="text"&&!o.isCompound&&o.parts[0].mode==="{"}function ba(o,t){let{nodeList:e,nodeInfoList:i}=t;if(i.length)for(let s=0;s<i.length;s++){let r=i[s],n=e[s],a=r.bindings;if(a)for(let l=0;l<a.length;l++){let d=a[l];va(n,d),ya(n,o,d)}n.__dataHost=o}}function va(o,t){if(t.isCompound){let e=o.__dataCompoundStorage||(o.__dataCompoundStorage={}),i=t.parts,s=new Array(i.length);for(let n=0;n<i.length;n++)s[n]=i[n].literal;let r=t.target;e[r]=s,t.literal&&t.kind=="property"&&(r==="className"&&(o=W(o)),o[r]=t.literal)}}function ya(o,t,e){if(e.listenerEvent){let i=e.parts[0];o.addEventListener(e.listenerEvent,function(s){na(s,t,e.target,i.source,i.negate)})}}function xo(o,t,e,i,s,r){r=t.static||r&&(typeof r!="object"||r[t.methodName]);let n={methodName:t.methodName,args:t.args,methodInfo:s,dynamicFn:r};for(let a=0,l;a<t.args.length&&(l=t.args[a]);a++)l.literal||o._addPropertyEffect(l.rootProperty,e,{fn:i,info:n,trigger:l});return r&&o._addPropertyEffect(t.methodName,e,{fn:i,info:n}),n}function ci(o,t,e,i,s){let r=o._methodHost||o,n=r[s.methodName];if(n){let a=o._marshalArgs(s.args,t,e);return a===ht?ht:n.apply(r,a)}else s.dynamicFn||console.warn("method `"+s.methodName+"` not defined")}const xa=[],Fs="(?:[a-zA-Z_$][\\w.:$\\-*]*)",wa="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",Ea="(?:'(?:[^'\\\\]|\\\\.)*')",Sa='(?:"(?:[^"\\\\]|\\\\.)*")',Aa="(?:"+Ea+"|"+Sa+")",wo="(?:("+Fs+"|"+wa+"|"+Aa+")\\s*)",Ca="(?:"+wo+"(?:,\\s*"+wo+")*)",Pa="(?:\\(\\s*(?:"+Ca+"?)\\)\\s*)",ka="("+Fs+"\\s*"+Pa+"?)",Da="(\\[\\[|{{)\\s*",Ta="(?:]]|}})",Ma="(?:(!)\\s*)?",Oa=Da+Ma+ka+Ta,Eo=new RegExp(Oa,"g");function So(o){let t="";for(let e=0;e<o.length;e++){let i=o[e].literal;t+=i||""}return t}function Ut(o){let t=o.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){let i={methodName:t[1],static:!0,args:xa};if(t[2].trim()){let s=t[2].replace(/\\,/g,",").split(",");return Ia(s,i)}else return i}return null}function Ia(o,t){return t.args=o.map(function(e){let i=Ns(e);return i.literal||(t.static=!1),i},this),t}function Ns(o){let t=o.trim().replace(/,/g,",").replace(/\\(.)/g,"$1"),e={name:t,value:"",literal:!1},i=t[0];switch(i==="-"&&(i=t[1]),i>="0"&&i<="9"&&(i="#"),i){case"'":case'"':e.value=t.slice(1,-1),e.literal=!0;break;case"#":e.value=Number(t),e.literal=!0;break}return e.literal||(e.rootProperty=Fe(t),e.structured=ai(t),e.structured&&(e.wildcard=t.slice(-2)==".*",e.wildcard&&(e.name=t.slice(0,-2)))),e}function Ao(o,t,e){let i=Q(o,e);return i===void 0&&(i=t[e]),i}function zs(o,t,e,i){const s={indexSplices:i};ni&&!o._overrideLegacyUndefined&&(t.splices=s),o.notifyPath(e+".splices",s),o.notifyPath(e+".length",t.length),ni&&!o._overrideLegacyUndefined&&(s.indexSplices=[])}function Je(o,t,e,i,s,r){zs(o,t,e,[{index:i,addedCount:s,removed:r,object:t,type:"splice"}])}function Fa(o){return o[0].toUpperCase()+o.substring(1)}const Ni=H(o=>{const t=ea(Vn(o));class e extends t{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return C}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(Xe.length){let s=Xe[Xe.length-1];s._enqueueClient(this),this.__dataHost=s}}_initializeProtoProperties(s){this.__data=Object.create(s),this.__dataPending=Object.create(s),this.__dataOld={}}_initializeInstanceProperties(s){let r=this[C.READ_ONLY];for(let n in s)(!r||!r[n])&&(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=s[n])}_addPropertyEffect(s,r,n){this._createPropertyAccessor(s,r==C.READ_ONLY);let a=jt(this,r,!0)[s];a||(a=this[r][s]=[]),a.push(n)}_removePropertyEffect(s,r,n){let a=jt(this,r,!0)[s],l=a.indexOf(n);l>=0&&a.splice(l,1)}_hasPropertyEffect(s,r){let n=this[r];return!!(n&&n[s])}_hasReadOnlyEffect(s){return this._hasPropertyEffect(s,C.READ_ONLY)}_hasNotifyEffect(s){return this._hasPropertyEffect(s,C.NOTIFY)}_hasReflectEffect(s){return this._hasPropertyEffect(s,C.REFLECT)}_hasComputedEffect(s){return this._hasPropertyEffect(s,C.COMPUTE)}_setPendingPropertyOrPath(s,r,n,a){if(a||Fe(Array.isArray(s)?s[0]:s)!==s){if(!a){let l=Q(this,s);if(s=_o(this,s,r),!s||!super._shouldPropertyChange(s,r,l))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(s,r,n))return ha(this,s,r),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[s])return this._setPendingProperty(s,r,n);this[s]=r}return!1}_setUnmanagedPropertyToNode(s,r,n){(n!==s[r]||typeof n=="object")&&(r==="className"&&(s=W(s)),s[r]=n)}_setPendingProperty(s,r,n){let a=this.__dataHasPaths&&ai(s),l=a?this.__dataTemp:this.__data;return this._shouldPropertyChange(s,r,l[s])?(this.__dataPending||(this.__dataPending={},this.__dataOld={}),s in this.__dataOld||(this.__dataOld[s]=this.__data[s]),a?this.__dataTemp[s]=r:this.__data[s]=r,this.__dataPending[s]=r,(a||this[C.NOTIFY]&&this[C.NOTIFY][s])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[s]=n),!0):!1}_setProperty(s,r){this._setPendingProperty(s,r,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(s){this.__dataPendingClients=this.__dataPendingClients||[],s!==this&&this.__dataPendingClients.push(s)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let s=this.__dataPendingClients;if(s){this.__dataPendingClients=null;for(let r=0;r<s.length;r++){let n=s[r];n.__dataEnabled?n.__dataPending&&n._flushProperties():n._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(s,r){for(let n in s)(r||!this[C.READ_ONLY]||!this[C.READ_ONLY][n])&&this._setPendingPropertyOrPath(n,s[n],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(s,r,n){let a=this.__dataHasPaths;this.__dataHasPaths=!1;let l;la(this,r,n,a),l=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(r,n,a),this._flushClients(),tt(this,this[C.REFLECT],r,n,a),tt(this,this[C.OBSERVE],r,n,a),l&&oa(this,l,r,n,a),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(s,r,n){this[C.PROPAGATE]&&tt(this,this[C.PROPAGATE],s,r,n),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,s,r,n)}_runEffectsForTemplate(s,r,n,a){const l=(d,u)=>{tt(this,s.propertyEffects,d,n,u,s.nodeList);for(let h=s.firstChild;h;h=h.nextSibling)this._runEffectsForTemplate(h,d,n,u)};s.runEffects?s.runEffects(l,r,a):l(r,a)}linkPaths(s,r){s=et(s),r=et(r),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[s]=r}unlinkPaths(s){s=et(s),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[s]}notifySplices(s,r){let n={path:""},a=Q(this,s,n);zs(this,a,n.path,r)}get(s,r){return Q(r||this,s)}set(s,r,n){n?_o(n,s,r):(!this[C.READ_ONLY]||!this[C.READ_ONLY][s])&&this._setPendingPropertyOrPath(s,r,!0)&&this._invalidateProperties()}push(s,...r){let n={path:""},a=Q(this,s,n),l=a.length,d=a.push(...r);return r.length&&Je(this,a,n.path,l,r.length,[]),d}pop(s){let r={path:""},n=Q(this,s,r),a=!!n.length,l=n.pop();return a&&Je(this,n,r.path,n.length,0,[l]),l}splice(s,r,n,...a){let l={path:""},d=Q(this,s,l);r<0?r=d.length-Math.floor(-r):r&&(r=Math.floor(r));let u;return arguments.length===2?u=d.splice(r):u=d.splice(r,n,...a),(a.length||u.length)&&Je(this,d,l.path,r,a.length,u),u}shift(s){let r={path:""},n=Q(this,s,r),a=!!n.length,l=n.shift();return a&&Je(this,n,r.path,0,0,[l]),l}unshift(s,...r){let n={path:""},a=Q(this,s,n),l=a.unshift(...r);return r.length&&Je(this,a,n.path,0,r.length,[]),l}notifyPath(s,r){let n;if(arguments.length==1){let a={path:""};r=Q(this,s,a),n=a.path}else Array.isArray(s)?n=et(s):n=s;this._setPendingPropertyOrPath(n,r,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(s,r){this._addPropertyEffect(s,C.READ_ONLY),r&&(this["_set"+Fa(s)]=function(n){this._setProperty(s,n)})}_createPropertyObserver(s,r,n){let a={property:s,method:r,dynamicFn:!!n};this._addPropertyEffect(s,C.OBSERVE,{fn:vo,info:a,trigger:{name:s}}),n&&this._addPropertyEffect(r,C.OBSERVE,{fn:vo,info:a,trigger:{name:r}})}_createMethodObserver(s,r){let n=Ut(s);if(!n)throw new Error("Malformed observer expression '"+s+"'");xo(this,n,C.OBSERVE,ci,null,r)}_createNotifyingProperty(s){this._addPropertyEffect(s,C.NOTIFY,{fn:ra,info:{eventName:Ft(s)+"-changed",property:s}})}_createReflectedProperty(s){let r=this.constructor.attributeNameForProperty(s);r[0]==="-"?console.warn("Property "+s+" cannot be reflected to attribute "+r+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(s,C.REFLECT,{fn:aa,info:{attrName:r}})}_createComputedProperty(s,r,n){let a=Ut(r);if(!a)throw new Error("Malformed computed expression '"+r+"'");const l=xo(this,a,C.COMPUTE,Is,s,n);jt(this,Ms)[s]=l}_marshalArgs(s,r,n){const a=this.__data,l=[];for(let d=0,u=s.length;d<u;d++){let{name:h,structured:p,wildcard:m,value:g,literal:f}=s[d];if(!f)if(m){const _=ct(h,r),y=Ao(a,n,_?r:h);g={path:_?r:h,value:y,base:_?Q(a,h):y}}else g=p?Ao(a,n,h):a[h];if(ni&&!this._overrideLegacyUndefined&&g===void 0&&s.length>1)return ht;l[d]=g}return l}static addPropertyEffect(s,r,n){this.prototype._addPropertyEffect(s,r,n)}static createPropertyObserver(s,r,n){this.prototype._createPropertyObserver(s,r,n)}static createMethodObserver(s,r){this.prototype._createMethodObserver(s,r)}static createNotifyingProperty(s){this.prototype._createNotifyingProperty(s)}static createReadOnlyProperty(s,r){this.prototype._createReadOnlyProperty(s,r)}static createReflectedProperty(s){this.prototype._createReflectedProperty(s)}static createComputedProperty(s,r,n){this.prototype._createComputedProperty(s,r,n)}static bindTemplate(s){return this.prototype._bindTemplate(s)}_bindTemplate(s,r){let n=this.constructor._parseTemplate(s),a=this.__preBoundTemplateInfo==n;if(!a)for(let l in n.propertyEffects)this._createPropertyAccessor(l);if(r)if(n=Object.create(n),n.wasPreBound=a,!this.__templateInfo)this.__templateInfo=n;else{const l=s._parentTemplateInfo||this.__templateInfo,d=l.lastChild;n.parent=l,l.lastChild=n,n.previousSibling=d,d?d.nextSibling=n:l.firstChild=n}else this.__preBoundTemplateInfo=n;return n}static _addTemplatePropertyEffect(s,r,n){let a=s.hostProps=s.hostProps||{};a[r]=!0;let l=s.propertyEffects=s.propertyEffects||{};(l[r]=l[r]||[]).push(n)}_stampTemplate(s,r){r=r||this._bindTemplate(s,!0),Xe.push(this);let n=super._stampTemplate(s,r);if(Xe.pop(),r.nodeList=n.nodeList,!r.wasPreBound){let a=r.childNodes=[];for(let l=n.firstChild;l;l=l.nextSibling)a.push(l)}return n.templateInfo=r,ba(this,r),this.__dataClientsReady&&(this._runEffectsForTemplate(r,this.__data,null,!1),this._flushClients()),n}_removeBoundDom(s){const r=s.templateInfo,{previousSibling:n,nextSibling:a,parent:l}=r;n?n.nextSibling=a:l&&(l.firstChild=a),a?a.previousSibling=n:l&&(l.lastChild=n),r.nextSibling=r.previousSibling=null;let d=r.childNodes;for(let u=0;u<d.length;u++){let h=d[u];W(W(h).parentNode).removeChild(h)}}static _parseTemplateNode(s,r,n){let a=t._parseTemplateNode.call(this,s,r,n);if(s.nodeType===Node.TEXT_NODE){let l=this._parseBindings(s.textContent,r);l&&(s.textContent=So(l)||" ",Vt(this,r,n,"text","textContent",l),a=!0)}return a}static _parseTemplateNodeAttribute(s,r,n,a,l){let d=this._parseBindings(l,r);if(d){let u=a,h="property";ta.test(a)?h="attribute":a[a.length-1]=="$"&&(a=a.slice(0,-1),h="attribute");let p=So(d);return p&&h=="attribute"&&(a=="class"&&s.hasAttribute("class")&&(p+=" "+s.getAttribute(a)),s.setAttribute(a,p)),h=="attribute"&&u=="disable-upgrade$"&&s.setAttribute(a,""),s.localName==="input"&&u==="value"&&s.setAttribute(u,""),s.removeAttribute(u),h==="property"&&(a=Ss(a)),Vt(this,r,n,h,a,d,p),!0}else return t._parseTemplateNodeAttribute.call(this,s,r,n,a,l)}static _parseTemplateNestedTemplate(s,r,n){let a=t._parseTemplateNestedTemplate.call(this,s,r,n);const l=s.parentNode,d=n.templateInfo,u=l.localName==="dom-if",h=l.localName==="dom-repeat";co&&(u||h)&&(l.removeChild(s),n=n.parentInfo,n.templateInfo=d,n.noted=!0,a=!1);let p=d.hostProps;if(An&&u)p&&(r.hostProps=Object.assign(r.hostProps||{},p),co||(n.parentInfo.noted=!0));else{let m="{";for(let g in p){let f=[{mode:m,source:g,dependencies:[g],hostProp:!0}];Vt(this,r,n,"property","_host_"+g,f)}}return a}static _parseBindings(s,r){let n=[],a=0,l;for(;(l=Eo.exec(s))!==null;){l.index>a&&n.push({literal:s.slice(a,l.index)});let d=l[1][0],u=!!l[2],h=l[3].trim(),p=!1,m="",g=-1;d=="{"&&(g=h.indexOf("::"))>0&&(m=h.substring(g+2),h=h.substring(0,g),p=!0);let f=Ut(h),_=[];if(f){let{args:y,methodName:v}=f;for(let w=0;w<y.length;w++){let A=y[w];A.literal||_.push(A)}let E=r.dynamicFns;(E&&E[v]||f.static)&&(_.push(v),f.dynamicFn=!0)}else _.push(h);n.push({source:h,mode:d,negate:u,customEvent:p,signature:f,dependencies:_,event:m}),a=Eo.lastIndex}if(a&&a<s.length){let d=s.substring(a);d&&n.push({literal:d})}return n.length?n:null}static _evaluateBinding(s,r,n,a,l,d){let u;return r.signature?u=ci(s,n,a,l,r.signature):n!=r.source?u=Q(s,r.source):d&&ai(n)?u=Q(s,n):u=s.__data[n],r.negate&&(u=!u),u}}return e}),Xe=[];/**
|
|
2034
|
+
*/let ut=0;const ht=[],C={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},Ms="__computeInfo",ta=/[A-Z]/;function jt(o,t,e){let i=o[t];if(!i)i=o[t]={};else if(!o.hasOwnProperty(t)&&(i=o[t]=Object.create(o[t]),e))for(let s in i){let r=i[s],n=i[s]=Array(r.length);for(let a=0;a<r.length;a++)n[a]=r[a]}return i}function tt(o,t,e,i,s,r){if(t){let n=!1;const a=ut++;for(let l in e){let d=s?Fe(l):l,u=t[d];if(u)for(let h=0,p=u.length,m;h<p&&(m=u[h]);h++)(!m.info||m.info.lastRun!==a)&&(!s||Fi(l,m.trigger))&&(m.info&&(m.info.lastRun=a),m.fn(o,l,e,i,m.info,s,r),n=!0)}return n}return!1}function ia(o,t,e,i,s,r,n,a){let l=!1,d=n?Fe(i):i,u=t[d];if(u)for(let h=0,p=u.length,m;h<p&&(m=u[h]);h++)(!m.info||m.info.lastRun!==e)&&(!n||Fi(i,m.trigger))&&(m.info&&(m.info.lastRun=e),m.fn(o,i,s,r,m.info,n,a),l=!0);return l}function Fi(o,t){if(t){let e=t.name;return e==o||!!(t.structured&&ws(e,o))||!!(t.wildcard&&ct(e,o))}else return!0}function vo(o,t,e,i,s){let r=typeof s.method=="string"?o[s.method]:s.method,n=s.property;r?r.call(o,o.__data[n],i[n]):s.dynamicFn||console.warn("observer method `"+s.method+"` not defined")}function oa(o,t,e,i,s){let r=o[C.NOTIFY],n,a=ut++;for(let d in t)t[d]&&(r&&ia(o,r,a,d,e,i,s)||s&&sa(o,d,e))&&(n=!0);let l;n&&(l=o.__dataHost)&&l._invalidateProperties&&l._invalidateProperties()}function sa(o,t,e){let i=Fe(t);if(i!==t){let s=Ft(i)+"-changed";return Os(o,s,e[t],t),!0}return!1}function Os(o,t,e,i){let s={value:e,queueProperty:!0};i&&(s.path=i),W(o).dispatchEvent(new CustomEvent(t,{detail:s}))}function ra(o,t,e,i,s,r){let a=(r?Fe(t):t)!=t?t:null,l=a?Q(o,a):o.__data[t];a&&l===void 0&&(l=e[t]),Os(o,s.eventName,l,a)}function na(o,t,e,i,s){let r,n=o.detail,a=n&&n.path;a?(i=dt(e,i,a),r=n&&n.value):r=o.currentTarget[e],r=s?!r:r,(!t[C.READ_ONLY]||!t[C.READ_ONLY][i])&&t._setPendingPropertyOrPath(i,r,!0,!!a)&&(!n||!n.queueProperty)&&t._invalidateProperties()}function aa(o,t,e,i,s){let r=o.__data[t];Pt&&(r=Pt(r,s.attrName,"attribute",o)),o._propertyToAttribute(t,s.attrName,r)}function la(o,t,e,i){let s=o[C.COMPUTE];if(s)if(Sn){ut++;const r=da(o),n=[];for(let l in t)yo(l,s,n,r,i);let a;for(;a=n.shift();)Is(o,"",t,e,a)&&yo(a.methodInfo,s,n,r,i);Object.assign(e,o.__dataOld),Object.assign(t,o.__dataPending),o.__dataPending=null}else{let r=t;for(;tt(o,s,r,e,i);)Object.assign(e,o.__dataOld),Object.assign(t,o.__dataPending),r=o.__dataPending,o.__dataPending=null}}const ca=(o,t,e)=>{let i=0,s=t.length-1,r=-1;for(;i<=s;){const n=i+s>>1,a=e.get(t[n].methodInfo)-e.get(o.methodInfo);if(a<0)i=n+1;else if(a>0)s=n-1;else{r=n;break}}r<0&&(r=s+1),t.splice(r,0,o)},yo=(o,t,e,i,s)=>{const r=s?Fe(o):o,n=t[r];if(n)for(let a=0;a<n.length;a++){const l=n[a];l.info.lastRun!==ut&&(!s||Fi(o,l.trigger))&&(l.info.lastRun=ut,ca(l.info,e,i))}};function da(o){let t=o.constructor.__orderedComputedDeps;if(!t){t=new Map;const e=o[C.COMPUTE];let{counts:i,ready:s,total:r}=ua(o),n;for(;n=s.shift();){t.set(n,t.size);const a=e[n];a&&a.forEach(l=>{const d=l.info.methodInfo;--r,--i[d]===0&&s.push(d)})}r!==0&&console.warn(`Computed graph for ${o.localName} incomplete; circular?`),o.constructor.__orderedComputedDeps=t}return t}function ua(o){const t=o[Ms],e={},i=o[C.COMPUTE],s=[];let r=0;for(let n in t){const a=t[n];r+=e[n]=a.args.filter(l=>!l.literal).length+(a.dynamicFn?1:0)}for(let n in i)t[n]||s.push(n);return{counts:e,ready:s,total:r}}function Is(o,t,e,i,s){let r=ci(o,t,e,i,s);if(r===ht)return!1;let n=s.methodInfo;return o.__dataHasAccessor&&o.__dataHasAccessor[n]?o._setPendingProperty(n,r,!0):(o[n]=r,!1)}function ha(o,t,e){let i=o.__dataLinkedPaths;if(i){let s;for(let r in i){let n=i[r];ct(r,t)?(s=dt(r,n,t),o._setPendingPropertyOrPath(s,e,!0,!0)):ct(n,t)&&(s=dt(n,r,t),o._setPendingPropertyOrPath(s,e,!0,!0))}}}function Vt(o,t,e,i,s,r,n){e.bindings=e.bindings||[];let a={kind:i,target:s,parts:r,literal:n,isCompound:r.length!==1};if(e.bindings.push(a),ga(a)){let{event:d,negate:u}=a.parts[0];a.listenerEvent=d||Ft(s)+"-changed",a.listenerNegate=u}let l=t.nodeInfoList.length;for(let d=0;d<a.parts.length;d++){let u=a.parts[d];u.compoundIndex=d,pa(o,t,a,u,l)}}function pa(o,t,e,i,s){if(!i.literal)if(e.kind==="attribute"&&e.target[0]==="-")console.warn("Cannot set attribute "+e.target+' because "-" is not a valid attribute starting character');else{let r=i.dependencies,n={index:s,binding:e,part:i,evaluator:o};for(let a=0;a<r.length;a++){let l=r[a];typeof l=="string"&&(l=Ns(l),l.wildcard=!0),o._addTemplatePropertyEffect(t,l.rootProperty,{fn:fa,info:n,trigger:l})}}}function fa(o,t,e,i,s,r,n){let a=n[s.index],l=s.binding,d=s.part;if(r&&d.source&&t.length>d.source.length&&l.kind=="property"&&!l.isCompound&&a.__isPropertyEffectsClient&&a.__dataHasAccessor&&a.__dataHasAccessor[l.target]){let u=e[t];t=dt(d.source,l.target,t),a._setPendingPropertyOrPath(t,u,!1,!0)&&o._enqueueClient(a)}else{let u=s.evaluator._evaluateBinding(o,d,t,e,i,r);u!==ht&&ma(o,a,l,d,u)}}function ma(o,t,e,i,s){if(s=_a(t,s,e,i),Pt&&(s=Pt(s,e.target,e.kind,t)),e.kind=="attribute")o._valueToNodeAttribute(t,s,e.target);else{let r=e.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[r]?(!t[C.READ_ONLY]||!t[C.READ_ONLY][r])&&t._setPendingProperty(r,s)&&o._enqueueClient(t):o._setUnmanagedPropertyToNode(t,r,s)}}function _a(o,t,e,i){if(e.isCompound){let s=o.__dataCompoundStorage[e.target];s[i.compoundIndex]=t,t=s.join("")}return e.kind!=="attribute"&&(e.target==="textContent"||e.target==="value"&&(o.localName==="input"||o.localName==="textarea"))&&(t=t==null?"":t),t}function ga(o){return!!o.target&&o.kind!="attribute"&&o.kind!="text"&&!o.isCompound&&o.parts[0].mode==="{"}function ba(o,t){let{nodeList:e,nodeInfoList:i}=t;if(i.length)for(let s=0;s<i.length;s++){let r=i[s],n=e[s],a=r.bindings;if(a)for(let l=0;l<a.length;l++){let d=a[l];va(n,d),ya(n,o,d)}n.__dataHost=o}}function va(o,t){if(t.isCompound){let e=o.__dataCompoundStorage||(o.__dataCompoundStorage={}),i=t.parts,s=new Array(i.length);for(let n=0;n<i.length;n++)s[n]=i[n].literal;let r=t.target;e[r]=s,t.literal&&t.kind=="property"&&(r==="className"&&(o=W(o)),o[r]=t.literal)}}function ya(o,t,e){if(e.listenerEvent){let i=e.parts[0];o.addEventListener(e.listenerEvent,function(s){na(s,t,e.target,i.source,i.negate)})}}function xo(o,t,e,i,s,r){r=t.static||r&&(typeof r!="object"||r[t.methodName]);let n={methodName:t.methodName,args:t.args,methodInfo:s,dynamicFn:r};for(let a=0,l;a<t.args.length&&(l=t.args[a]);a++)l.literal||o._addPropertyEffect(l.rootProperty,e,{fn:i,info:n,trigger:l});return r&&o._addPropertyEffect(t.methodName,e,{fn:i,info:n}),n}function ci(o,t,e,i,s){let r=o._methodHost||o,n=r[s.methodName];if(n){let a=o._marshalArgs(s.args,t,e);return a===ht?ht:n.apply(r,a)}else s.dynamicFn||console.warn("method `"+s.methodName+"` not defined")}const xa=[],Fs="(?:[a-zA-Z_$][\\w.:$\\-*]*)",wa="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",Ea="(?:'(?:[^'\\\\]|\\\\.)*')",Sa='(?:"(?:[^"\\\\]|\\\\.)*")',Aa="(?:"+Ea+"|"+Sa+")",wo="(?:("+Fs+"|"+wa+"|"+Aa+")\\s*)",Ca="(?:"+wo+"(?:,\\s*"+wo+")*)",Pa="(?:\\(\\s*(?:"+Ca+"?)\\)\\s*)",ka="("+Fs+"\\s*"+Pa+"?)",Da="(\\[\\[|{{)\\s*",Ta="(?:]]|}})",Ma="(?:(!)\\s*)?",Oa=Da+Ma+ka+Ta,Eo=new RegExp(Oa,"g");function So(o){let t="";for(let e=0;e<o.length;e++){let i=o[e].literal;t+=i||""}return t}function Ut(o){let t=o.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){let i={methodName:t[1],static:!0,args:xa};if(t[2].trim()){let s=t[2].replace(/\\,/g,",").split(",");return Ia(s,i)}else return i}return null}function Ia(o,t){return t.args=o.map(function(e){let i=Ns(e);return i.literal||(t.static=!1),i},this),t}function Ns(o){let t=o.trim().replace(/,/g,",").replace(/\\(.)/g,"$1"),e={name:t,value:"",literal:!1},i=t[0];switch(i==="-"&&(i=t[1]),i>="0"&&i<="9"&&(i="#"),i){case"'":case'"':e.value=t.slice(1,-1),e.literal=!0;break;case"#":e.value=Number(t),e.literal=!0;break}return e.literal||(e.rootProperty=Fe(t),e.structured=ai(t),e.structured&&(e.wildcard=t.slice(-2)==".*",e.wildcard&&(e.name=t.slice(0,-2)))),e}function Ao(o,t,e){let i=Q(o,e);return i===void 0&&(i=t[e]),i}function zs(o,t,e,i){const s={indexSplices:i};ni&&!o._overrideLegacyUndefined&&(t.splices=s),o.notifyPath(e+".splices",s),o.notifyPath(e+".length",t.length),ni&&!o._overrideLegacyUndefined&&(s.indexSplices=[])}function Je(o,t,e,i,s,r){zs(o,t,e,[{index:i,addedCount:s,removed:r,object:t,type:"splice"}])}function Fa(o){return o[0].toUpperCase()+o.substring(1)}const Ni=H(o=>{const t=ea(Vn(o));class e extends t{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return C}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(Xe.length){let s=Xe[Xe.length-1];s._enqueueClient(this),this.__dataHost=s}}_initializeProtoProperties(s){this.__data=Object.create(s),this.__dataPending=Object.create(s),this.__dataOld={}}_initializeInstanceProperties(s){let r=this[C.READ_ONLY];for(let n in s)(!r||!r[n])&&(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=s[n])}_addPropertyEffect(s,r,n){this._createPropertyAccessor(s,r==C.READ_ONLY);let a=jt(this,r,!0)[s];a||(a=this[r][s]=[]),a.push(n)}_removePropertyEffect(s,r,n){let a=jt(this,r,!0)[s],l=a.indexOf(n);l>=0&&a.splice(l,1)}_hasPropertyEffect(s,r){let n=this[r];return!!(n&&n[s])}_hasReadOnlyEffect(s){return this._hasPropertyEffect(s,C.READ_ONLY)}_hasNotifyEffect(s){return this._hasPropertyEffect(s,C.NOTIFY)}_hasReflectEffect(s){return this._hasPropertyEffect(s,C.REFLECT)}_hasComputedEffect(s){return this._hasPropertyEffect(s,C.COMPUTE)}_setPendingPropertyOrPath(s,r,n,a){if(a||Fe(Array.isArray(s)?s[0]:s)!==s){if(!a){let l=Q(this,s);if(s=_o(this,s,r),!s||!super._shouldPropertyChange(s,r,l))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(s,r,n))return ha(this,s,r),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[s])return this._setPendingProperty(s,r,n);this[s]=r}return!1}_setUnmanagedPropertyToNode(s,r,n){(n!==s[r]||typeof n=="object")&&(r==="className"&&(s=W(s)),s[r]=n)}_setPendingProperty(s,r,n){let a=this.__dataHasPaths&&ai(s),l=a?this.__dataTemp:this.__data;return this._shouldPropertyChange(s,r,l[s])?(this.__dataPending||(this.__dataPending={},this.__dataOld={}),s in this.__dataOld||(this.__dataOld[s]=this.__data[s]),a?this.__dataTemp[s]=r:this.__data[s]=r,this.__dataPending[s]=r,(a||this[C.NOTIFY]&&this[C.NOTIFY][s])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[s]=n),!0):!1}_setProperty(s,r){this._setPendingProperty(s,r,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(s){this.__dataPendingClients=this.__dataPendingClients||[],s!==this&&this.__dataPendingClients.push(s)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let s=this.__dataPendingClients;if(s){this.__dataPendingClients=null;for(let r=0;r<s.length;r++){let n=s[r];n.__dataEnabled?n.__dataPending&&n._flushProperties():n._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(s,r){for(let n in s)(r||!this[C.READ_ONLY]||!this[C.READ_ONLY][n])&&this._setPendingPropertyOrPath(n,s[n],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(s,r,n){let a=this.__dataHasPaths;this.__dataHasPaths=!1;let l;la(this,r,n,a),l=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(r,n,a),this._flushClients(),tt(this,this[C.REFLECT],r,n,a),tt(this,this[C.OBSERVE],r,n,a),l&&oa(this,l,r,n,a),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(s,r,n){this[C.PROPAGATE]&&tt(this,this[C.PROPAGATE],s,r,n),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,s,r,n)}_runEffectsForTemplate(s,r,n,a){const l=(d,u)=>{tt(this,s.propertyEffects,d,n,u,s.nodeList);for(let h=s.firstChild;h;h=h.nextSibling)this._runEffectsForTemplate(h,d,n,u)};s.runEffects?s.runEffects(l,r,a):l(r,a)}linkPaths(s,r){s=et(s),r=et(r),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[s]=r}unlinkPaths(s){s=et(s),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[s]}notifySplices(s,r){let n={path:""},a=Q(this,s,n);zs(this,a,n.path,r)}get(s,r){return Q(r||this,s)}set(s,r,n){n?_o(n,s,r):(!this[C.READ_ONLY]||!this[C.READ_ONLY][s])&&this._setPendingPropertyOrPath(s,r,!0)&&this._invalidateProperties()}push(s,...r){let n={path:""},a=Q(this,s,n),l=a.length,d=a.push(...r);return r.length&&Je(this,a,n.path,l,r.length,[]),d}pop(s){let r={path:""},n=Q(this,s,r),a=!!n.length,l=n.pop();return a&&Je(this,n,r.path,n.length,0,[l]),l}splice(s,r,n,...a){let l={path:""},d=Q(this,s,l);r<0?r=d.length-Math.floor(-r):r&&(r=Math.floor(r));let u;return arguments.length===2?u=d.splice(r):u=d.splice(r,n,...a),(a.length||u.length)&&Je(this,d,l.path,r,a.length,u),u}shift(s){let r={path:""},n=Q(this,s,r),a=!!n.length,l=n.shift();return a&&Je(this,n,r.path,0,0,[l]),l}unshift(s,...r){let n={path:""},a=Q(this,s,n),l=a.unshift(...r);return r.length&&Je(this,a,n.path,0,r.length,[]),l}notifyPath(s,r){let n;if(arguments.length==1){let a={path:""};r=Q(this,s,a),n=a.path}else Array.isArray(s)?n=et(s):n=s;this._setPendingPropertyOrPath(n,r,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(s,r){this._addPropertyEffect(s,C.READ_ONLY),r&&(this["_set"+Fa(s)]=function(n){this._setProperty(s,n)})}_createPropertyObserver(s,r,n){let a={property:s,method:r,dynamicFn:!!n};this._addPropertyEffect(s,C.OBSERVE,{fn:vo,info:a,trigger:{name:s}}),n&&this._addPropertyEffect(r,C.OBSERVE,{fn:vo,info:a,trigger:{name:r}})}_createMethodObserver(s,r){let n=Ut(s);if(!n)throw new Error("Malformed observer expression '"+s+"'");xo(this,n,C.OBSERVE,ci,null,r)}_createNotifyingProperty(s){this._addPropertyEffect(s,C.NOTIFY,{fn:ra,info:{eventName:Ft(s)+"-changed",property:s}})}_createReflectedProperty(s){let r=this.constructor.attributeNameForProperty(s);r[0]==="-"?console.warn("Property "+s+" cannot be reflected to attribute "+r+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(s,C.REFLECT,{fn:aa,info:{attrName:r}})}_createComputedProperty(s,r,n){let a=Ut(r);if(!a)throw new Error("Malformed computed expression '"+r+"'");const l=xo(this,a,C.COMPUTE,Is,s,n);jt(this,Ms)[s]=l}_marshalArgs(s,r,n){const a=this.__data,l=[];for(let d=0,u=s.length;d<u;d++){let{name:h,structured:p,wildcard:m,value:b,literal:f}=s[d];if(!f)if(m){const g=ct(h,r),y=Ao(a,n,g?r:h);b={path:g?r:h,value:y,base:g?Q(a,h):y}}else b=p?Ao(a,n,h):a[h];if(ni&&!this._overrideLegacyUndefined&&b===void 0&&s.length>1)return ht;l[d]=b}return l}static addPropertyEffect(s,r,n){this.prototype._addPropertyEffect(s,r,n)}static createPropertyObserver(s,r,n){this.prototype._createPropertyObserver(s,r,n)}static createMethodObserver(s,r){this.prototype._createMethodObserver(s,r)}static createNotifyingProperty(s){this.prototype._createNotifyingProperty(s)}static createReadOnlyProperty(s,r){this.prototype._createReadOnlyProperty(s,r)}static createReflectedProperty(s){this.prototype._createReflectedProperty(s)}static createComputedProperty(s,r,n){this.prototype._createComputedProperty(s,r,n)}static bindTemplate(s){return this.prototype._bindTemplate(s)}_bindTemplate(s,r){let n=this.constructor._parseTemplate(s),a=this.__preBoundTemplateInfo==n;if(!a)for(let l in n.propertyEffects)this._createPropertyAccessor(l);if(r)if(n=Object.create(n),n.wasPreBound=a,!this.__templateInfo)this.__templateInfo=n;else{const l=s._parentTemplateInfo||this.__templateInfo,d=l.lastChild;n.parent=l,l.lastChild=n,n.previousSibling=d,d?d.nextSibling=n:l.firstChild=n}else this.__preBoundTemplateInfo=n;return n}static _addTemplatePropertyEffect(s,r,n){let a=s.hostProps=s.hostProps||{};a[r]=!0;let l=s.propertyEffects=s.propertyEffects||{};(l[r]=l[r]||[]).push(n)}_stampTemplate(s,r){r=r||this._bindTemplate(s,!0),Xe.push(this);let n=super._stampTemplate(s,r);if(Xe.pop(),r.nodeList=n.nodeList,!r.wasPreBound){let a=r.childNodes=[];for(let l=n.firstChild;l;l=l.nextSibling)a.push(l)}return n.templateInfo=r,ba(this,r),this.__dataClientsReady&&(this._runEffectsForTemplate(r,this.__data,null,!1),this._flushClients()),n}_removeBoundDom(s){const r=s.templateInfo,{previousSibling:n,nextSibling:a,parent:l}=r;n?n.nextSibling=a:l&&(l.firstChild=a),a?a.previousSibling=n:l&&(l.lastChild=n),r.nextSibling=r.previousSibling=null;let d=r.childNodes;for(let u=0;u<d.length;u++){let h=d[u];W(W(h).parentNode).removeChild(h)}}static _parseTemplateNode(s,r,n){let a=t._parseTemplateNode.call(this,s,r,n);if(s.nodeType===Node.TEXT_NODE){let l=this._parseBindings(s.textContent,r);l&&(s.textContent=So(l)||" ",Vt(this,r,n,"text","textContent",l),a=!0)}return a}static _parseTemplateNodeAttribute(s,r,n,a,l){let d=this._parseBindings(l,r);if(d){let u=a,h="property";ta.test(a)?h="attribute":a[a.length-1]=="$"&&(a=a.slice(0,-1),h="attribute");let p=So(d);return p&&h=="attribute"&&(a=="class"&&s.hasAttribute("class")&&(p+=" "+s.getAttribute(a)),s.setAttribute(a,p)),h=="attribute"&&u=="disable-upgrade$"&&s.setAttribute(a,""),s.localName==="input"&&u==="value"&&s.setAttribute(u,""),s.removeAttribute(u),h==="property"&&(a=Ss(a)),Vt(this,r,n,h,a,d,p),!0}else return t._parseTemplateNodeAttribute.call(this,s,r,n,a,l)}static _parseTemplateNestedTemplate(s,r,n){let a=t._parseTemplateNestedTemplate.call(this,s,r,n);const l=s.parentNode,d=n.templateInfo,u=l.localName==="dom-if",h=l.localName==="dom-repeat";co&&(u||h)&&(l.removeChild(s),n=n.parentInfo,n.templateInfo=d,n.noted=!0,a=!1);let p=d.hostProps;if(An&&u)p&&(r.hostProps=Object.assign(r.hostProps||{},p),co||(n.parentInfo.noted=!0));else{let m="{";for(let b in p){let f=[{mode:m,source:b,dependencies:[b],hostProp:!0}];Vt(this,r,n,"property","_host_"+b,f)}}return a}static _parseBindings(s,r){let n=[],a=0,l;for(;(l=Eo.exec(s))!==null;){l.index>a&&n.push({literal:s.slice(a,l.index)});let d=l[1][0],u=!!l[2],h=l[3].trim(),p=!1,m="",b=-1;d=="{"&&(b=h.indexOf("::"))>0&&(m=h.substring(b+2),h=h.substring(0,b),p=!0);let f=Ut(h),g=[];if(f){let{args:y,methodName:v}=f;for(let w=0;w<y.length;w++){let A=y[w];A.literal||g.push(A)}let E=r.dynamicFns;(E&&E[v]||f.static)&&(g.push(v),f.dynamicFn=!0)}else g.push(h);n.push({source:h,mode:d,negate:u,customEvent:p,signature:f,dependencies:g,event:m}),a=Eo.lastIndex}if(a&&a<s.length){let d=s.substring(a);d&&n.push({literal:d})}return n.length?n:null}static _evaluateBinding(s,r,n,a,l,d){let u;return r.signature?u=ci(s,n,a,l,r.signature):n!=r.source?u=Q(s,r.source):d&&ai(n)?u=Q(s,n):u=s.__data[n],r.negate&&(u=!u),u}}return e}),Xe=[];/**
|
|
2035
2035
|
@license
|
|
2036
2036
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
2037
2037
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -2057,7 +2057,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
2057
2057
|
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
|
2058
2058
|
* Google as part of the polymer project is also subject to an additional IP
|
|
2059
2059
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2060
|
-
*/const La="3.5.2",Co=window.ShadyCSS&&window.ShadyCSS.cssBuild,Ra=H(o=>{const t=za(Ni(o));function e(l){if(!l.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",l))){l.__propertyDefaults=null;let d=l._properties;for(let u in d){let h=d[u];"value"in h&&(l.__propertyDefaults=l.__propertyDefaults||{},l.__propertyDefaults[u]=h)}}return l.__propertyDefaults}function i(l){return l.hasOwnProperty(JSCompiler_renameProperty("__ownObservers",l))||(l.__ownObservers=l.hasOwnProperty(JSCompiler_renameProperty("observers",l))?l.observers:null),l.__ownObservers}function s(l,d,u,h){u.computed&&(u.readOnly=!0),u.computed&&(l._hasReadOnlyEffect(d)?console.warn(`Cannot redefine computed property '${d}'.`):l._createComputedProperty(d,u.computed,h)),u.readOnly&&!l._hasReadOnlyEffect(d)?l._createReadOnlyProperty(d,!u.computed):u.readOnly===!1&&l._hasReadOnlyEffect(d)&&console.warn(`Cannot make readOnly property '${d}' non-readOnly.`),u.reflectToAttribute&&!l._hasReflectEffect(d)?l._createReflectedProperty(d):u.reflectToAttribute===!1&&l._hasReflectEffect(d)&&console.warn(`Cannot make reflected property '${d}' non-reflected.`),u.notify&&!l._hasNotifyEffect(d)?l._createNotifyingProperty(d):u.notify===!1&&l._hasNotifyEffect(d)&&console.warn(`Cannot make notify property '${d}' non-notify.`),u.observer&&l._createPropertyObserver(d,u.observer,h[u.observer]),l._addPropertyToAttributeMap(d)}function r(l,d,u,h){if(!Co){const p=d.content.querySelectorAll("style"),m=ys(d),
|
|
2060
|
+
*/const La="3.5.2",Co=window.ShadyCSS&&window.ShadyCSS.cssBuild,Ra=H(o=>{const t=za(Ni(o));function e(l){if(!l.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",l))){l.__propertyDefaults=null;let d=l._properties;for(let u in d){let h=d[u];"value"in h&&(l.__propertyDefaults=l.__propertyDefaults||{},l.__propertyDefaults[u]=h)}}return l.__propertyDefaults}function i(l){return l.hasOwnProperty(JSCompiler_renameProperty("__ownObservers",l))||(l.__ownObservers=l.hasOwnProperty(JSCompiler_renameProperty("observers",l))?l.observers:null),l.__ownObservers}function s(l,d,u,h){u.computed&&(u.readOnly=!0),u.computed&&(l._hasReadOnlyEffect(d)?console.warn(`Cannot redefine computed property '${d}'.`):l._createComputedProperty(d,u.computed,h)),u.readOnly&&!l._hasReadOnlyEffect(d)?l._createReadOnlyProperty(d,!u.computed):u.readOnly===!1&&l._hasReadOnlyEffect(d)&&console.warn(`Cannot make readOnly property '${d}' non-readOnly.`),u.reflectToAttribute&&!l._hasReflectEffect(d)?l._createReflectedProperty(d):u.reflectToAttribute===!1&&l._hasReflectEffect(d)&&console.warn(`Cannot make reflected property '${d}' non-reflected.`),u.notify&&!l._hasNotifyEffect(d)?l._createNotifyingProperty(d):u.notify===!1&&l._hasNotifyEffect(d)&&console.warn(`Cannot make notify property '${d}' non-notify.`),u.observer&&l._createPropertyObserver(d,u.observer,h[u.observer]),l._addPropertyToAttributeMap(d)}function r(l,d,u,h){if(!Co){const p=d.content.querySelectorAll("style"),m=ys(d),b=In(u),f=d.content.firstElementChild;for(let y=0;y<b.length;y++){let v=b[y];v.textContent=l._processStyleText(v.textContent,h),d.content.insertBefore(v,f)}let g=0;for(let y=0;y<m.length;y++){let v=m[y],E=p[g];E!==v?(v=v.cloneNode(!0),E.parentNode.insertBefore(v,E)):g++,v.textContent=l._processStyleText(v.textContent,h)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(d,u),Cn&&Co&&yn){const p=d.content.querySelectorAll("style");if(p){let m="";Array.from(p).forEach(b=>{m+=b.textContent,b.parentNode.removeChild(b)}),l._styleSheet=new CSSStyleSheet,l._styleSheet.replaceSync(m)}}}function n(l){let d=null;if(l&&(!kt||wn)&&(d=lt.import(l,"template"),kt&&!d))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);return d}class a extends t{static get polymerElementVersion(){return La}static _finalizeClass(){t._finalizeClass.call(this);const d=i(this);d&&this.createObservers(d,this._properties),this._prepareTemplate()}static _prepareTemplate(){let d=this.template;d&&(typeof d=="string"?(console.error("template getter must return HTMLTemplateElement"),d=null):_s||(d=d.cloneNode(!0))),this.prototype._template=d}static createProperties(d){for(let u in d)s(this.prototype,u,d[u],d)}static createObservers(d,u){const h=this.prototype;for(let p=0;p<d.length;p++)h._createMethodObserver(d[p],u)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let d=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;typeof d=="function"&&(d=d()),this._template=d!==void 0?d:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&n(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(d){this._template=d}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const d=this.importMeta;if(d)this._importPath=Oi(d.url);else{const u=lt.import(this.is);this._importPath=u&&u.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=xn,this.importPath=this.constructor.importPath;let d=e(this.constructor);if(d)for(let u in d){let h=d[u];if(this._canApplyPropertyDefault(u)){let p=typeof h.value=="function"?h.value.call(this):h.value;this._hasAccessor(u)?this._setPendingProperty(u,p,!0):this[u]=p}}}_canApplyPropertyDefault(d){return!this.hasOwnProperty(d)}static _processStyleText(d,u){return Mi(d,u)}static _finalizeTemplate(d){const u=this.prototype._template;if(u&&!u.__polymerFinalized){u.__polymerFinalized=!0;const h=this.importPath,p=h?st(h):"";r(this,u,d,p),this.prototype._bindTemplate(u)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(d){const u=W(this);if(u.attachShadow)return d?(u.shadowRoot||(u.attachShadow({mode:"open",shadyUpgradeFragment:d}),u.shadowRoot.appendChild(d),this.constructor._styleSheet&&(u.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),En&&window.ShadyDOM&&window.ShadyDOM.flushInitial(u.shadowRoot),u.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(d){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,d)}resolveUrl(d,u){return!u&&this.importPath&&(u=st(this.importPath)),st(d,u)}static _parseTemplateContent(d,u,h){return u.dynamicFns=u.dynamicFns||this._properties,t._parseTemplateContent.call(this,d,u,h)}static _addTemplatePropertyEffect(d,u,h){return gs&&!(u in this._properties)&&!(h.info.part.signature&&h.info.part.signature.static)&&!h.info.part.hostProp&&!d.nestedTemplate&&console.warn(`Property '${u}' used in template but not declared in 'properties'; attribute will not be observed.`),t._addTemplatePropertyEffect.call(this,d,u,h)}}return a});/**
|
|
2061
2061
|
@license
|
|
2062
2062
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
2063
2063
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -2077,11 +2077,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
2077
2077
|
* @license
|
|
2078
2078
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
2079
2079
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2080
|
-
*/const pe=[];function di(o,t,e=o.getAttribute("dir")){t?o.setAttribute("dir",t):e!=null&&o.removeAttribute("dir")}function ui(){return document.documentElement.getAttribute("dir")}function Ha(){const o=ui();pe.forEach(t=>{di(t,o)})}const
|
|
2080
|
+
*/const pe=[];function di(o,t,e=o.getAttribute("dir")){t?o.setAttribute("dir",t):e!=null&&o.removeAttribute("dir")}function ui(){return document.documentElement.getAttribute("dir")}function Ha(){const o=ui();pe.forEach(t=>{di(t,o)})}const Ya=new MutationObserver(Ha);Ya.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const Nt=o=>class extends o{static get properties(){return{dir:{type:String,value:"",reflectToAttribute:!0,converter:{fromAttribute:e=>e||"",toAttribute:e=>e===""?null:e}}}}get __isRTL(){return this.getAttribute("dir")==="rtl"}connectedCallback(){super.connectedCallback(),(!this.hasAttribute("dir")||this.__restoreSubscription)&&(this.__subscribe(),di(this,ui(),null))}attributeChangedCallback(e,i,s){if(super.attributeChangedCallback(e,i,s),e!=="dir")return;const r=ui(),n=s===r&&pe.indexOf(this)===-1,a=!s&&i&&pe.indexOf(this)===-1;n||a?(this.__subscribe(),di(this,r,s)):s!==r&&i===r&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=pe.includes(this),this.__unsubscribe()}_valueToNodeAttribute(e,i,s){s==="dir"&&i===""&&!e.hasAttribute("dir")||super._valueToNodeAttribute(e,i,s)}_attributeToProperty(e,i,s){e==="dir"&&!i?this.dir="":super._attributeToProperty(e,i,s)}__subscribe(){pe.includes(this)||pe.push(this)}__unsubscribe(){pe.includes(this)&&pe.splice(pe.indexOf(this),1)}};/**
|
|
2081
2081
|
* @license
|
|
2082
2082
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
2083
2083
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2084
|
-
*/const
|
|
2084
|
+
*/const $a=o=>class extends o{static get properties(){return{disabled:{type:Boolean,reflectToAttribute:!0},readonly:{type:Boolean,reflectToAttribute:!0},invalid:{type:Boolean,reflectToAttribute:!0}}}ready(){super.ready(),this.addEventListener("pointerdown",e=>{e.target===this&&e.preventDefault()}),this.addEventListener("click",e=>{e.target===this&&this.shadowRoot.querySelector("slot:not([name])").assignedNodes({flatten:!0}).forEach(i=>i.focus&&i.focus())})}};/**
|
|
2085
2085
|
* @license
|
|
2086
2086
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
2087
2087
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -2154,7 +2154,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
2154
2154
|
* @license
|
|
2155
2155
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
2156
2156
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2157
|
-
*/I("vaadin-input-container",ja,{moduleId:"vaadin-input-container-styles"});class Va extends
|
|
2157
|
+
*/I("vaadin-input-container",ja,{moduleId:"vaadin-input-container-styles"});class Va extends $a(Ie(Nt(Se))){static get is(){return"vaadin-input-container"}static get template(){return Ne`
|
|
2158
2158
|
<slot name="prefix"></slot>
|
|
2159
2159
|
<slot></slot>
|
|
2160
2160
|
<slot name="suffix"></slot>
|
|
@@ -2225,7 +2225,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
2225
2225
|
* @license
|
|
2226
2226
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
2227
2227
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2228
|
-
*/let zi=!1;window.addEventListener("keydown",()=>{zi=!0},{capture:!0});window.addEventListener("mousedown",()=>{zi=!1},{capture:!0});function hi(){let o=document.activeElement||document.body;for(;o.shadowRoot&&o.shadowRoot.activeElement;)o=o.shadowRoot.activeElement;return o}function Li(){return zi}function Wa(o){const t=o.style;if(t.visibility==="hidden"||t.display==="none")return!0;const e=window.getComputedStyle(o);return e.visibility==="hidden"||e.display==="none"}function qa(o,t){const e=Math.max(o.tabIndex,0),i=Math.max(t.tabIndex,0);return e===0||i===0?i>e:e>i}function Ka(o,t){const e=[];for(;o.length>0&&t.length>0;)qa(o[0],t[0])?e.push(t.shift()):e.push(o.shift());return e.concat(o,t)}function pi(o){const t=o.length;if(t<2)return o;const e=Math.ceil(t/2),i=pi(o.slice(0,e)),s=pi(o.slice(e));return Ka(i,s)}function Hs(o){return o.matches('[tabindex="-1"]')?!1:o.matches("input, select, textarea, button, object")?o.matches(":not([disabled])"):o.matches("a[href], area[href], iframe, [tabindex], [contentEditable]")}function Ga(o){return o.getRootNode().activeElement===o}function Ja(o){if(!Hs(o))return-1;const t=o.getAttribute("tabindex")||0;return Number(t)}function
|
|
2228
|
+
*/let zi=!1;window.addEventListener("keydown",()=>{zi=!0},{capture:!0});window.addEventListener("mousedown",()=>{zi=!1},{capture:!0});function hi(){let o=document.activeElement||document.body;for(;o.shadowRoot&&o.shadowRoot.activeElement;)o=o.shadowRoot.activeElement;return o}function Li(){return zi}function Wa(o){const t=o.style;if(t.visibility==="hidden"||t.display==="none")return!0;const e=window.getComputedStyle(o);return e.visibility==="hidden"||e.display==="none"}function qa(o,t){const e=Math.max(o.tabIndex,0),i=Math.max(t.tabIndex,0);return e===0||i===0?i>e:e>i}function Ka(o,t){const e=[];for(;o.length>0&&t.length>0;)qa(o[0],t[0])?e.push(t.shift()):e.push(o.shift());return e.concat(o,t)}function pi(o){const t=o.length;if(t<2)return o;const e=Math.ceil(t/2),i=pi(o.slice(0,e)),s=pi(o.slice(e));return Ka(i,s)}function Hs(o){return o.matches('[tabindex="-1"]')?!1:o.matches("input, select, textarea, button, object")?o.matches(":not([disabled])"):o.matches("a[href], area[href], iframe, [tabindex], [contentEditable]")}function Ga(o){return o.getRootNode().activeElement===o}function Ja(o){if(!Hs(o))return-1;const t=o.getAttribute("tabindex")||0;return Number(t)}function Ys(o,t){if(o.nodeType!==Node.ELEMENT_NODE||Wa(o))return!1;const e=o,i=Ja(e);let s=i>0;i>=0&&t.push(e);let r=[];return e.localName==="slot"?r=e.assignedNodes({flatten:!0}):r=(e.shadowRoot||e).children,[...r].forEach(n=>{s=Ys(n,t)||s}),s}function Xa(o){const t=[];return Ys(o,t)?pi(t):t}/**
|
|
2229
2229
|
@license
|
|
2230
2230
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
2231
2231
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -2233,7 +2233,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
2233
2233
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
2234
2234
|
Code distributed by Google as part of the polymer project is also
|
|
2235
2235
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2236
|
-
*/let fi=!1,Za=[]
|
|
2236
|
+
*/let fi=!1,Za=[],$s=[];function Qa(){fi=!0,requestAnimationFrame(function(){fi=!1,el(Za),setTimeout(function(){tl($s)})})}function el(o){for(;o.length;)js(o.shift())}function tl(o){for(let t=0,e=o.length;t<e;t++)js(o.shift())}function js(o){const t=o[0],e=o[1],i=o[2];try{e.apply(t,i)}catch(s){setTimeout(()=>{throw s})}}function Vs(o,t,e){fi||Qa(),$s.push([o,t,e])}/**
|
|
2237
2237
|
* @license
|
|
2238
2238
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
2239
2239
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -2241,7 +2241,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
2241
2241
|
* @license
|
|
2242
2242
|
* Copyright (c) 2017 Anton Korzunov
|
|
2243
2243
|
* SPDX-License-Identifier: MIT
|
|
2244
|
-
*/let ze=new WeakMap,yt=new WeakMap,xt={},Wt=0;const ko=o=>o&&o.nodeType===Node.ELEMENT_NODE,qt=(...o)=>{console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`)},nl=(o,t)=>ko(o)?t.map(e=>{if(!ko(e))return qt(e,"is not a valid element"),null;let i=e;for(;i&&i!==o;){if(o.contains(i))return e;i=i.getRootNode().host}return qt(e,"is not contained inside",o),null}).filter(e=>!!e):(qt(o,"is not a valid element"),[]),al=(o,t,e,i)=>{const s=nl(t,Array.isArray(o)?o:[o]);xt[e]||(xt[e]=new WeakMap);const r=xt[e],n=[],a=new Set,l=new Set(s),d=h=>{if(!h||a.has(h))return;a.add(h);const p=h.assignedSlot;p&&d(p),d(h.parentNode||h.host)};s.forEach(d);const u=h=>{if(!h||l.has(h))return;const p=h.shadowRoot;(p?[...h.children,...p.children]:[...h.children]).forEach(
|
|
2244
|
+
*/let ze=new WeakMap,yt=new WeakMap,xt={},Wt=0;const ko=o=>o&&o.nodeType===Node.ELEMENT_NODE,qt=(...o)=>{console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`)},nl=(o,t)=>ko(o)?t.map(e=>{if(!ko(e))return qt(e,"is not a valid element"),null;let i=e;for(;i&&i!==o;){if(o.contains(i))return e;i=i.getRootNode().host}return qt(e,"is not contained inside",o),null}).filter(e=>!!e):(qt(o,"is not a valid element"),[]),al=(o,t,e,i)=>{const s=nl(t,Array.isArray(o)?o:[o]);xt[e]||(xt[e]=new WeakMap);const r=xt[e],n=[],a=new Set,l=new Set(s),d=h=>{if(!h||a.has(h))return;a.add(h);const p=h.assignedSlot;p&&d(p),d(h.parentNode||h.host)};s.forEach(d);const u=h=>{if(!h||l.has(h))return;const p=h.shadowRoot;(p?[...h.children,...p.children]:[...h.children]).forEach(b=>{if(!["template","script","style"].includes(b.localName))if(a.has(b))u(b);else{const f=b.getAttribute(i),g=f!==null&&f!=="false",y=(ze.get(b)||0)+1,v=(r.get(b)||0)+1;ze.set(b,y),r.set(b,v),n.push(b),y===1&&g&&yt.set(b,!0),v===1&&b.setAttribute(e,"true"),g||b.setAttribute(i,"true")}})};return u(t),a.clear(),Wt+=1,()=>{n.forEach(h=>{const p=ze.get(h)-1,m=r.get(h)-1;ze.set(h,p),r.set(h,m),p||(yt.has(h)?yt.delete(h):h.removeAttribute(i)),m||h.removeAttribute(e)}),Wt-=1,Wt||(ze=new WeakMap,ze=new WeakMap,yt=new WeakMap,xt={})}},Ws=(o,t=document.body,e="data-aria-hidden")=>{const i=Array.from(Array.isArray(o)?o:[o]);return t&&i.push(...Array.from(t.querySelectorAll("[aria-live]"))),al(i,t,e,"aria-hidden")};/**
|
|
2245
2245
|
* @license
|
|
2246
2246
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
2247
2247
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -2277,7 +2277,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
2277
2277
|
* @license
|
|
2278
2278
|
* Copyright (c) 2024 Vaadin Ltd.
|
|
2279
2279
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2280
|
-
*/function bl(o,t){let e=null;const i=document.documentElement;function s(){e&&e.disconnect(),e=null}function r(n=!1,a=1){s();const{left:l,top:d,width:u,height:h}=o.getBoundingClientRect();if(n||t(),!u||!h)return;const p=Math.floor(d),m=Math.floor(i.clientWidth-(l+u)),
|
|
2280
|
+
*/function bl(o,t){let e=null;const i=document.documentElement;function s(){e&&e.disconnect(),e=null}function r(n=!1,a=1){s();const{left:l,top:d,width:u,height:h}=o.getBoundingClientRect();if(n||t(),!u||!h)return;const p=Math.floor(d),m=Math.floor(i.clientWidth-(l+u)),b=Math.floor(i.clientHeight-(d+h)),f=Math.floor(l),y={rootMargin:`${-p}px ${-m}px ${-b}px ${-f}px`,threshold:Math.max(0,Math.min(1,a))||1};let v=!0;function E(w){let A=w[0].intersectionRatio;if(A!==a){if(!v)return r();A===0&&(A=1e-7),r(!1,A)}v=!1}e=new IntersectionObserver(E,y),e.observe(o)}return r(!0),s}/**
|
|
2281
2281
|
* @license
|
|
2282
2282
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2283
2283
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -2914,7 +2914,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
2914
2914
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
2915
2915
|
Code distributed by Google as part of the polymer project is also
|
|
2916
2916
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2917
|
-
*/const Hl=!1
|
|
2917
|
+
*/const Hl=!1,Yl=o=>o,Bi=typeof document.head.style.touchAction=="string",yi="__polymerGestures",Zt="__polymerGesturesHandled",xi="__polymerGesturesTouchAction",Io=25,Fo=5,$l=2,jl=["mousedown","mousemove","mouseup","click"],Vl=[0,1,4,2],Ul=function(){try{return new MouseEvent("test",{buttons:1}).buttons===1}catch(o){return!1}}();function Hi(o){return jl.indexOf(o)>-1}let er=!1;(function(){try{const o=Object.defineProperty({},"passive",{get(){er=!0}});window.addEventListener("test",null,o),window.removeEventListener("test",null,o)}catch(o){}})();function Wl(o){if(!(Hi(o)||o==="touchend")&&Bi&&er&&Hl)return{passive:!0}}const ql=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u),Kl={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function Me(o){const t=o.type;if(!Hi(t))return!1;if(t==="mousemove"){let i=o.buttons===void 0?1:o.buttons;return o instanceof window.MouseEvent&&!Ul&&(i=Vl[o.which]||0),!!(i&1)}return(o.button===void 0?0:o.button)===0}function Gl(o){if(o.type==="click"){if(o.detail===0)return!0;const t=Ee(o);if(!t.nodeType||t.nodeType!==Node.ELEMENT_NODE)return!0;const e=t.getBoundingClientRect(),i=o.pageX,s=o.pageY;return!(i>=e.left&&i<=e.right&&s>=e.top&&s<=e.bottom)}return!1}const me={mouse:{target:null,mouseIgnoreJob:null},touch:{x:0,y:0,id:-1,scrollDecided:!1}};function Jl(o){let t="auto";const e=ir(o);for(let i=0,s;i<e.length;i++)if(s=e[i],s[xi]){t=s[xi];break}return t}function tr(o,t,e){o.movefn=t,o.upfn=e,document.addEventListener("mousemove",t),document.addEventListener("mouseup",e)}function Ye(o){document.removeEventListener("mousemove",o.movefn),document.removeEventListener("mouseup",o.upfn),o.movefn=null,o.upfn=null}const ir=window.ShadyDOM&&window.ShadyDOM.noPatch?window.ShadyDOM.composedPath:o=>o.composedPath&&o.composedPath()||[],Yi={},Te=[];function Xl(o,t){let e=document.elementFromPoint(o,t),i=e;for(;i&&i.shadowRoot&&!window.ShadyDOM;){const s=i;if(i=i.shadowRoot.elementFromPoint(o,t),s===i)break;i&&(e=i)}return e}function Ee(o){const t=ir(o);return t.length>0?t[0]:o.target}function Zl(o){const t=o.type,i=o.currentTarget[yi];if(!i)return;const s=i[t];if(!s)return;if(!o[Zt]&&(o[Zt]={},t.startsWith("touch"))){const n=o.changedTouches[0];if(t==="touchstart"&&o.touches.length===1&&(me.touch.id=n.identifier),me.touch.id!==n.identifier)return;Bi||(t==="touchstart"||t==="touchmove")&&Ql(o)}const r=o[Zt];if(!r.skip){for(let n=0,a;n<Te.length;n++)a=Te[n],s[a.name]&&!r[a.name]&&a.flow&&a.flow.start.indexOf(o.type)>-1&&a.reset&&a.reset();for(let n=0,a;n<Te.length;n++)a=Te[n],s[a.name]&&!r[a.name]&&(r[a.name]=!0,a[t](o))}}function Ql(o){const t=o.changedTouches[0],e=o.type;if(e==="touchstart")me.touch.x=t.clientX,me.touch.y=t.clientY,me.touch.scrollDecided=!1;else if(e==="touchmove"){if(me.touch.scrollDecided)return;me.touch.scrollDecided=!0;const i=Jl(o);let s=!1;const r=Math.abs(me.touch.x-t.clientX),n=Math.abs(me.touch.y-t.clientY);o.cancelable&&(i==="none"?s=!0:i==="pan-x"?s=n>r:i==="pan-y"&&(s=r>n)),s?o.preventDefault():Mt("track")}}function le(o,t,e){return Yi[t]?(ec(o,t,e),!0):!1}function ec(o,t,e){const i=Yi[t],s=i.deps,r=i.name;let n=o[yi];n||(o[yi]=n={});for(let a=0,l,d;a<s.length;a++)l=s[a],!(ql&&Hi(l)&&l!=="click")&&(d=n[l],d||(n[l]=d={_count:0}),d._count===0&&o.addEventListener(l,Zl,Wl(l)),d[r]=(d[r]||0)+1,d._count=(d._count||0)+1);o.addEventListener(t,e),i.touchAction&&or(o,i.touchAction)}function $i(o){Te.push(o),o.emits.forEach(t=>{Yi[t]=o})}function tc(o){for(let t=0,e;t<Te.length;t++){e=Te[t];for(let i=0,s;i<e.emits.length;i++)if(s=e.emits[i],s===o)return e}return null}function or(o,t){Bi&&o instanceof HTMLElement&&Fl.run(()=>{o.style.touchAction=t}),o[xi]=t}function ji(o,t,e){const i=new Event(t,{bubbles:!0,cancelable:!0,composed:!0});if(i.detail=e,Yl(o).dispatchEvent(i),i.defaultPrevented){const s=e.preventer||e.sourceEvent;s&&s.preventDefault&&s.preventDefault()}}function Mt(o){const t=tc(o);t.info&&(t.info.prevent=!0)}$i({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset(){Ye(this.info)},mousedown(o){if(!Me(o))return;const t=Ee(o),e=this,i=r=>{Me(r)||(Ze("up",t,r),Ye(e.info))},s=r=>{Me(r)&&Ze("up",t,r),Ye(e.info)};tr(this.info,i,s),Ze("down",t,o)},touchstart(o){Ze("down",Ee(o),o.changedTouches[0],o)},touchend(o){Ze("up",Ee(o),o.changedTouches[0],o)}});function Ze(o,t,e,i){t&&ji(t,o,{x:e.clientX,y:e.clientY,sourceEvent:e,preventer:i,prevent(s){return Mt(s)}})}$i({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove(o){this.moves.length>$l&&this.moves.shift(),this.moves.push(o)},movefn:null,upfn:null,prevent:!1},reset(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,Ye(this.info)},mousedown(o){if(!Me(o))return;const t=Ee(o),e=this,i=r=>{const n=r.clientX,a=r.clientY;No(e.info,n,a)&&(e.info.state=e.info.started?r.type==="mouseup"?"end":"track":"start",e.info.state==="start"&&Mt("tap"),e.info.addMove({x:n,y:a}),Me(r)||(e.info.state="end",Ye(e.info)),t&&Qt(e.info,t,r),e.info.started=!0)},s=r=>{e.info.started&&i(r),Ye(e.info)};tr(this.info,i,s),this.info.x=o.clientX,this.info.y=o.clientY},touchstart(o){const t=o.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchmove(o){const t=Ee(o),e=o.changedTouches[0],i=e.clientX,s=e.clientY;No(this.info,i,s)&&(this.info.state==="start"&&Mt("tap"),this.info.addMove({x:i,y:s}),Qt(this.info,t,e),this.info.state="track",this.info.started=!0)},touchend(o){const t=Ee(o),e=o.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:e.clientX,y:e.clientY}),Qt(this.info,t,e))}});function No(o,t,e){if(o.prevent)return!1;if(o.started)return!0;const i=Math.abs(o.x-t),s=Math.abs(o.y-e);return i>=Fo||s>=Fo}function Qt(o,t,e){if(!t)return;const i=o.moves[o.moves.length-2],s=o.moves[o.moves.length-1],r=s.x-o.x,n=s.y-o.y;let a,l=0;i&&(a=s.x-i.x,l=s.y-i.y),ji(t,"track",{state:o.state,x:e.clientX,y:e.clientY,dx:r,dy:n,ddx:a,ddy:l,sourceEvent:e,hover(){return Xl(e.clientX,e.clientY)}})}$i({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown(o){Me(o)&&(this.info.x=o.clientX,this.info.y=o.clientY)},click(o){Me(o)&&zo(this.info,o)},touchstart(o){const t=o.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchend(o){zo(this.info,o.changedTouches[0],o)}});function zo(o,t,e){const i=Math.abs(t.clientX-o.x),s=Math.abs(t.clientY-o.y),r=Ee(e||t);!r||Kl[r.localName]&&r.hasAttribute("disabled")||(isNaN(i)||isNaN(s)||i<=Io&&s<=Io||Gl(t))&&(o.prevent||ji(r,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:e}))}/**
|
|
2918
2918
|
* @license
|
|
2919
2919
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
2920
2920
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -3345,11 +3345,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
3345
3345
|
* @license
|
|
3346
3346
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
3347
3347
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
3348
|
-
*/const ti=new Map;function Gi(o){return ti.has(o)||ti.set(o,new WeakMap),ti.get(o)}function _r(o,t){o&&o.removeAttribute(t)}function gr(o,t){if(!o||!t)return;const e=Gi(t);if(e.has(o))return;const i=Ri(o.getAttribute(t));e.set(o,new Set(i))}function
|
|
3348
|
+
*/const ti=new Map;function Gi(o){return ti.has(o)||ti.set(o,new WeakMap),ti.get(o)}function _r(o,t){o&&o.removeAttribute(t)}function gr(o,t){if(!o||!t)return;const e=Gi(t);if(e.has(o))return;const i=Ri(o.getAttribute(t));e.set(o,new Set(i))}function Yc(o,t){if(!o||!t)return;const e=Gi(t),i=e.get(o);!i||i.size===0?o.removeAttribute(t):Ks(o,t,Lt(i)),e.delete(o)}function ii(o,t,e={newId:null,oldId:null,fromUser:!1}){if(!o||!t)return;const{newId:i,oldId:s,fromUser:r}=e,n=Gi(t),a=n.get(o);if(!r&&a){s&&a.delete(s),i&&a.add(i);return}r&&(a?i||n.delete(o):gr(o,t),_r(o,t)),_l(o,t,s);const l=i||Lt(a);l&&Ks(o,t,l)}function $c(o,t){gr(o,t),_r(o,t)}/**
|
|
3349
3349
|
* @license
|
|
3350
3350
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
3351
3351
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
3352
|
-
*/class jc{constructor(t){this.host=t,this.__required=!1}setTarget(t){this.__target=t,this.__setAriaRequiredAttribute(this.__required),this.__setLabelIdToAriaAttribute(this.__labelId,this.__labelId),this.__labelIdFromUser!=null&&this.__setLabelIdToAriaAttribute(this.__labelIdFromUser,this.__labelIdFromUser,!0),this.__setErrorIdToAriaAttribute(this.__errorId),this.__setHelperIdToAriaAttribute(this.__helperId),this.setAriaLabel(this.__label)}setRequired(t){this.__setAriaRequiredAttribute(t),this.__required=t}setAriaLabel(t){this.__setAriaLabelToAttribute(t),this.__label=t}setLabelId(t,e=!1){const i=e?this.__labelIdFromUser:this.__labelId;this.__setLabelIdToAriaAttribute(t,i,e),e?this.__labelIdFromUser=t:this.__labelId=t}setErrorId(t){this.__setErrorIdToAriaAttribute(t,this.__errorId),this.__errorId=t}setHelperId(t){this.__setHelperIdToAriaAttribute(t,this.__helperId),this.__helperId=t}__setAriaLabelToAttribute(t){this.__target&&(t?(
|
|
3352
|
+
*/class jc{constructor(t){this.host=t,this.__required=!1}setTarget(t){this.__target=t,this.__setAriaRequiredAttribute(this.__required),this.__setLabelIdToAriaAttribute(this.__labelId,this.__labelId),this.__labelIdFromUser!=null&&this.__setLabelIdToAriaAttribute(this.__labelIdFromUser,this.__labelIdFromUser,!0),this.__setErrorIdToAriaAttribute(this.__errorId),this.__setHelperIdToAriaAttribute(this.__helperId),this.setAriaLabel(this.__label)}setRequired(t){this.__setAriaRequiredAttribute(t),this.__required=t}setAriaLabel(t){this.__setAriaLabelToAttribute(t),this.__label=t}setLabelId(t,e=!1){const i=e?this.__labelIdFromUser:this.__labelId;this.__setLabelIdToAriaAttribute(t,i,e),e?this.__labelIdFromUser=t:this.__labelId=t}setErrorId(t){this.__setErrorIdToAriaAttribute(t,this.__errorId),this.__errorId=t}setHelperId(t){this.__setHelperIdToAriaAttribute(t,this.__helperId),this.__helperId=t}__setAriaLabelToAttribute(t){this.__target&&(t?($c(this.__target,"aria-labelledby"),this.__target.setAttribute("aria-label",t)):this.__label&&(Yc(this.__target,"aria-labelledby"),this.__target.removeAttribute("aria-label")))}__setLabelIdToAriaAttribute(t,e,i){ii(this.__target,"aria-labelledby",{newId:t,oldId:e,fromUser:i})}__setErrorIdToAriaAttribute(t,e){ii(this.__target,"aria-describedby",{newId:t,oldId:e,fromUser:!1})}__setHelperIdToAriaAttribute(t,e){ii(this.__target,"aria-describedby",{newId:t,oldId:e,fromUser:!1})}__setAriaRequiredAttribute(t){this.__target&&(["input","textarea"].includes(this.__target.localName)||(t?this.__target.setAttribute("aria-required","true"):this.__target.removeAttribute("aria-required")))}}/**
|
|
3353
3353
|
* @license
|
|
3354
3354
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
3355
3355
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -3552,4 +3552,4 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
3552
3552
|
></vaadin-date-picker-overlay>
|
|
3553
3553
|
|
|
3554
3554
|
<slot name="tooltip"></slot>
|
|
3555
|
-
`}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new Zc(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e},{uniqueIdPrefix:"search-input"})),this.addController(new Qc(this.inputElement,this._labelController)),this._tooltipController=new Qs(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow(e=>!e.opened),this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown",e=>e.preventDefault()),this.$.overlay.addEventListener("vaadin-overlay-close",this._onVaadinOverlayClose.bind(this))}_onVaadinOverlayClose(t){t.detail.sourceEvent&&t.detail.sourceEvent.composedPath().includes(this)&&t.preventDefault()}_toggle(t){t.stopPropagation(),this.$.overlay.opened?this.close():this.open()}_openedChanged(t){super._openedChanged(t),this.$.overlay.positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this.$.overlay.noVerticalOverlap=!0}}ce(ld);var yr={exports:{}};(function(o,t){(function(e,i){o.exports=i()})(c.commonjsGlobal,function(){var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},i=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,s=/\d\d/,r=/\d\d?/,n=/\d*[^-_:/,()\s\d]+/,a={},l=function(f){return(f=+f)+(f>68?1900:2e3)},d=function(f){return function(_){this[f]=+_}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(f){(this.zone||(this.zone={})).offset=function(_){if(!_||_==="Z")return 0;var y=_.match(/([+-]|\d\d)/g),v=60*y[1]+(+y[2]||0);return v===0?0:y[0]==="+"?-v:v}(f)}],h=function(f){var _=a[f];return _&&(_.indexOf?_:_.s.concat(_.f))},p=function(f,_){var y,v=a.meridiem;if(v){for(var E=1;E<=24;E+=1)if(f.indexOf(v(E,0,_))>-1){y=E>12;break}}else y=f===(_?"pm":"PM");return y},m={A:[n,function(f){this.afternoon=p(f,!1)}],a:[n,function(f){this.afternoon=p(f,!0)}],S:[/\d/,function(f){this.milliseconds=100*+f}],SS:[s,function(f){this.milliseconds=10*+f}],SSS:[/\d{3}/,function(f){this.milliseconds=+f}],s:[r,d("seconds")],ss:[r,d("seconds")],m:[r,d("minutes")],mm:[r,d("minutes")],H:[r,d("hours")],h:[r,d("hours")],HH:[r,d("hours")],hh:[r,d("hours")],D:[r,d("day")],DD:[s,d("day")],Do:[n,function(f){var _=a.ordinal,y=f.match(/\d+/);if(this.day=y[0],_)for(var v=1;v<=31;v+=1)_(v).replace(/\[|\]/g,"")===f&&(this.day=v)}],M:[r,d("month")],MM:[s,d("month")],MMM:[n,function(f){var _=h("months"),y=(h("monthsShort")||_.map(function(v){return v.slice(0,3)})).indexOf(f)+1;if(y<1)throw new Error;this.month=y%12||y}],MMMM:[n,function(f){var _=h("months").indexOf(f)+1;if(_<1)throw new Error;this.month=_%12||_}],Y:[/[+-]?\d+/,d("year")],YY:[s,function(f){this.year=l(f)}],YYYY:[/\d{4}/,d("year")],Z:u,ZZ:u};function g(f){var _,y;_=f,y=a&&a.formats;for(var v=(f=_.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(F,P,T){var M=T&&T.toUpperCase();return P||y[T]||e[T]||y[M].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(G,N,ee){return N||ee.slice(1)})})).match(i),E=v.length,w=0;w<E;w+=1){var A=v[w],q=m[A],$=q&&q[0],L=q&&q[1];v[w]=L?{regex:$,parser:L}:A.replace(/^\[|\]$/g,"")}return function(F){for(var P={},T=0,M=0;T<E;T+=1){var G=v[T];if(typeof G=="string")M+=G.length;else{var N=G.regex,ee=G.parser,oe=F.slice(M),j=N.exec(oe)[0];ee.call(P,j),F=F.replace(j,"")}}return function(J){var R=J.afternoon;if(R!==void 0){var z=J.hours;R?z<12&&(J.hours+=12):z===12&&(J.hours=0),delete J.afternoon}}(P),P}}return function(f,_,y){y.p.customParseFormat=!0,f&&f.parseTwoDigitYear&&(l=f.parseTwoDigitYear);var v=_.prototype,E=v.parse;v.parse=function(w){var A=w.date,q=w.utc,$=w.args;this.$u=q;var L=$[1];if(typeof L=="string"){var F=$[2]===!0,P=$[3]===!0,T=F||P,M=$[2];P&&(M=$[2]),a=this.$locale(),!F&&M&&(a=y.Ls[M]),this.$d=function(oe,j,J){try{if(["x","X"].indexOf(j)>-1)return new Date((j==="X"?1e3:1)*oe);var R=g(j)(oe),z=R.year,X=R.month,re=R.day,ge=R.hours,be=R.minutes,ve=R.seconds,ye=R.milliseconds,de=R.zone,ue=new Date,Z=re||(z||X?1:ue.getDate()),te=z||ue.getFullYear(),D=0;z&&!X||(D=X>0?X-1:ue.getMonth());var O=ge||0,he=be||0,ne=ve||0,K=ye||0;return de?new Date(Date.UTC(te,D,Z,O,he,ne,K+60*de.offset*1e3)):J?new Date(Date.UTC(te,D,Z,O,he,ne,K)):new Date(te,D,Z,O,he,ne,K)}catch(ae){return new Date("")}}(A,L,q),this.init(),M&&M!==!0&&(this.$L=this.locale(M).$L),T&&A!=this.format(L)&&(this.$d=new Date("")),a={}}else if(L instanceof Array)for(var G=L.length,N=1;N<=G;N+=1){$[1]=L[N-1];var ee=y.apply(this,$);if(ee.isValid()){this.$d=ee.$d,this.$L=ee.$L,this.init();break}N===G&&(this.$d=new Date(""))}else E.call(this,w)}}})})(yr);var cd=yr.exports;const xr=c.getDefaultExportFromCjs(cd);function Ho(o,t){c.addMessages(o,t)}function dd(o){c.$locale.set(o)}const $o={en:{titleSelfExclusion:"Self-Exclusion",selfExclusionText:"<p>While self-excluded, access to your account will be entirely restricted.</br>Self-exclusion can only be lifted after the period that you selected has passed by communicating with Customer Support, which will be subject to review and a cooling-off period. </br> Alternatively, you can choose to take a 'time out' (a break of up to 6 weeks) from our services via the '<a href='{baseurl}/{lang}/account/timeout'>Time out</a>' option. </br> If you would prefer just to close your account, '<a href='{baseurl}/{lang}/account/account-closure'>Account Closure</a>' you can choose to do so via the option.</br> We'd recommend you also read our '<a href='{baseurl}/{lang}/page/responsible-gambling'>Responsible Gambling</a>' help pages for further advice should you need it.",selfExclusionEmailText:"E-mail:",duration:"Duration:",dateInstructions:"In order to manually input date use the following format:",forever:"Forever",save:"Save",noPeriodSelected:"Please select a self exclusion period",selectAPeriod:"Select a period",temporarySelfExclusion:"Your self-exclusion period will last until the {date} 23:59.",permanentSelfExclusion:"Your self-exclusion period will be permanent.",SelfExclusionFor30Days:"30 Days",SelfExclusionFor2Months:"2 Months",SelfExclusionFor3Months:"3 Months",SelfExclusionFor6Months:"6 Months",SelfExclusionFor7Months:"7 Months",SelfExclusionFor8Months:"8 Months",SelfExclusionFor9Months:"9 Months",SelfExclusionFor10Months:"10 Months",SelfExclusionFor11Months:"11 Months",SelfExclusionFor1Year:"1 Year",SelfExclusionFor2Years:"2 Years",SelfExclusionFor5Years:"5 Years",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Until",confirmationModalTitle:"Confirmation",selfExclusionSuccess:"Self exclusion active",confirmationModalTextPeriodSelfExclusion:"Are you sure you want to self-exclude for {period}?",confirmationModalTextUntilSelfExclusion:"Are you sure you want to self-exclude until {date}?",errorSelfExclusionCall:"There was a problem while making the self exclusion request.",generalError:"There was an error while fetching the self exclusion.",InvalidSession:"The session is exipired."},"en-us":{titleSelfExclusion:"Self-Exclusion",selfExclusionText:"<p>While self-excluded, access to your account will be entirely restricted.</br>Self-exclusion can only be lifted after the period that you selected has passed by communicating with Customer Support, which will be subject to review and a cooling-off period. </br> Alternatively, you can choose to take a 'time out' (a break of up to 6 weeks) from our services via the '<a href='{baseurl}/{lang}/account/timeout'>Time out</a>' option. </br> If you would prefer just to close your account, '<a href='{baseurl}/{lang}/account/account-closure'>Account Closure</a>' you can choose to do so via the option.</br> We'd recommend you also read our '<a href='{baseurl}/{lang}/page/responsible-gambling'>Responsible Gambling</a>' help pages for further advice should you need it.",selfExclusionEmailText:"E-mail:",duration:"Duration:",dateInstructions:"In order to manually input date use the following format:",forever:"Forever",save:"Save",noPeriodSelected:"Please select a self exclusion period",selectAPeriod:"Select a period",temporarySelfExclusion:"Your self-exclusion period will last until the {date} 23:59.",permanentSelfExclusion:"Your self-exclusion period will be permanent.",SelfExclusionFor30Days:"30 Days",SelfExclusionFor2Months:"2 Months",SelfExclusionFor3Months:"3 Months",SelfExclusionFor6Months:"6 Months",SelfExclusionFor7Months:"7 Months",SelfExclusionFor8Months:"8 Months",SelfExclusionFor9Months:"9 Months",SelfExclusionFor10Months:"10 Months",SelfExclusionFor11Months:"11 Months",SelfExclusionFor1Year:"1 Year",SelfExclusionFor2Years:"2 Years",SelfExclusionFor5Years:"5 Years",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Until",confirmationModalTitle:"Confirmation",selfExclusionSuccess:"Self exclusion active",confirmationModalTextPeriodSelfExclusion:"Are you sure you want to self-exclude for {period}?",confirmationModalTextUntilSelfExclusion:"Are you sure you want to self-exclude until {date}?",errorSelfExclusionCall:"There was a problem while making the self exclusion request.",generalError:"There was an error while fetching the self exclusion.",InvalidSession:"The session is exipired."},"zh-hk":{titleSelfExclusion:"自我排除",selfExclusionText:"<p>在自我排除期間,您的帳戶將完全受到限制。</br> 自我排除僅可在您選擇的期間結束後,通過與客戶支援聯繫進行解除,並將接受審查和冷靜期。</br> 或者,您可以選擇通過'<a href='{baseurl}/{lang}/account/timeout'>暫停</a>'選項從我們的服務中暫停(最多6週)。</br> 如果您更願意關閉帳戶,可以通過'<a href='{baseurl}/{lang}/account/account-closure'>關閉帳戶</a>'選項進行關閉。</br> 我們建議您閱讀我們的'<a href='{baseurl}/{lang}/page/responsible-gambling'>負責任博彩</a>'幫助頁面以獲取進一步的建議。</p>",selfExclusionEmailText:"電子郵件:",duration:"時長:",dateInstructions:"如需手動輸入日期,請使用以下格式:",forever:"永久",save:"保存",noPeriodSelected:"請選擇自我排除時段",selectAPeriod:"選擇一個時段",temporarySelfExclusion:"您的自我排除期將持續到 {date} 23:59。",permanentSelfExclusion:"您的自我排除期將是永久性的。",SelfExclusionFor30Days:"30天",SelfExclusionFor2Months:"2個月",SelfExclusionFor3Months:"3個月",SelfExclusionFor6Months:"6個月",SelfExclusionFor7Months:"7個月",SelfExclusionFor8Months:"8個月",SelfExclusionFor9Months:"9個月",SelfExclusionFor10Months:"10個月",SelfExclusionFor11Months:"11個月",SelfExclusionFor1Year:"1年",SelfExclusionFor2Years:"2年",SelfExclusionFor5Years:"5年",SelfExclusionPermanent:"永久",SelfExclusionUntilSelectedDate:"直到",selfExclusionSuccess:"自我排斥活躍",confirmationModalTitle:"確認",confirmationModalTextPeriodSelfExclusion:"您確定要自我排除 {period} 嗎?",confirmationModalTextUntilSelfExclusion:"您確定要自我排除直到 {date} 嗎?",generalError:"提取自我排除时发生错误。",errorSelfExclusionCall:"发出自我排除请求时出现问题。",InvalidSession:"会话已过期。"},fr:{titleSelfExclusion:"Auto-Exclusion",selfExclusionText:"<p>Pendant la période d'auto-exclusion, l'accès à votre compte sera entièrement restreint.</br> L'auto-exclusion ne peut être levée qu'après la période que vous avez sélectionnée et en contactant le Service Client, sous réserve d'une révision et d'une période de réflexion.</br> Alternativement, vous pouvez choisir de prendre un '<a href='{baseurl}/{lang}/account/timeout'>temps de pause</a>' (jusqu'à 6 semaines) via l'option correspondante.</br> Si vous préférez simplement fermer votre compte, vous pouvez le faire via l'option '<a href='{baseurl}/{lang}/account/account-closure'>Fermeture de compte</a>'.</br> Nous vous recommandons également de consulter nos pages d'aide '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jeu Responsable</a>' pour des conseils supplémentaires si nécessaire.</p>",selfExclusionEmailText:"E-mail :",duration:"Durée :",dateInstructions:"Pour saisir une date manuellement, utilisez le format suivant :",forever:"Pour toujours",save:"Enregistrer",noPeriodSelected:"Veuillez sélectionner une période d'auto-exclusion",selectAPeriod:"Sélectionnez une période",temporarySelfExclusion:"Votre période d'auto-exclusion durera jusqu'au {date} 23:59.",permanentSelfExclusion:"Votre période d'auto-exclusion sera permanente.",SelfExclusionFor30Days:"30 Jours",SelfExclusionFor2Months:"2 Mois",SelfExclusionFor3Months:"3 Mois",SelfExclusionFor6Months:"6 Mois",SelfExclusionFor7Months:"7 Mois",SelfExclusionFor8Months:"8 Mois",SelfExclusionFor9Months:"9 Mois",SelfExclusionFor10Months:"10 Mois",SelfExclusionFor11Months:"11 Mois",SelfExclusionFor1Year:"1 An",SelfExclusionFor2Years:"2 Ans",SelfExclusionFor5Years:"5 Ans",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Jusqu'à",selfExclusionSuccess:"Auto exclusion active",confirmationModalTitle:"Confirmation",confirmationModalTextPeriodSelfExclusion:"Êtes-vous sûr de vouloir vous auto-exclure pour {period} ?",confirmationModalTextUntilSelfExclusion:"Êtes-vous sûr de vouloir vous auto-exclure jusqu'au {date} ?",generalError:"Une erreur s'est produite lors de la récupération de l'auto-exclusion.",errorSelfExclusionCall:"Un problème est survenu lors de la demande d'auto-exclusion.",InvalidSession:"La session a expiré."},ro:{titleSelfExclusion:"Auto-Excludere",selfExclusionText:"<p>În timpul perioadei de autoexcludere, accesul la contul dvs. va fi complet restricționat.</br> Autoexcluderea poate fi ridicată numai după ce perioada selectată de dvs. a expirat, contactând Suportul Clienți, și va fi supusă unei revizuiri și unei perioade de reflecție.</br> Alternativ, puteți alege să luați o '<a href='{baseurl}/{lang}/account/timeout'>pauză</a>' (o întrerupere de până la 6 săptămâni) prin opțiunea corespunzătoare.</br> Dacă preferați să vă închideți contul, puteți face acest lucru prin opțiunea '<a href='{baseurl}/{lang}/account/account-closure'>Închidere cont</a>'.</br> Vă recomandăm, de asemenea, să consultați paginile noastre de ajutor '<a href='{baseurl}/{lang}/page/responsible-gambling'>Joc Responsabil</a>' pentru sfaturi suplimentare, dacă este necesar.</p>",selfExclusionEmailText:"E-mail:",duration:"Durată:",dateInstructions:"Pentru a introduce manual o dată, utilizați următorul format:",forever:"Pentru totdeauna",save:"Salvează",noPeriodSelected:"Vă rugăm să selectați o perioadă de auto-excludere",selectAPeriod:"Selectați o perioadă",temporarySelfExclusion:"Perioada dvs. de auto-excludere va dura până la {date} 23:59.",permanentSelfExclusion:"Perioada dvs. de auto-excludere va fi permanentă.",SelfExclusionFor30Days:"30 de Zile",SelfExclusionFor2Months:"2 Luni",SelfExclusionFor3Months:"3 Luni",SelfExclusionFor6Months:"6 Luni",SelfExclusionFor7Months:"7 Luni",SelfExclusionFor8Months:"8 Luni",SelfExclusionFor9Months:"9 Luni",SelfExclusionFor10Months:"10 Luni",SelfExclusionFor11Months:"11 Luni",SelfExclusionFor1Year:"1 An",SelfExclusionFor2Years:"2 Ani",SelfExclusionFor5Years:"5 Ani",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Până la",selfExclusionSuccess:"Auto-excludere activa",confirmationModalTitle:"Confirmare",confirmationModalTextPeriodSelfExclusion:"Sunteți sigur că doriți să vă auto-excludeți pentru {period}?",confirmationModalTextUntilSelfExclusion:"Sunteți sigur că doriți să vă auto-excludeți până la {date}?",generalError:"A apărut o eroare la preluarea auto-excluderii.",errorSelfExclusionCall:"A apărut o problemă la efectuarea cererii de auto-excludere.",InvalidSession:"Sesiunea a expirat."},es:{titleSelfExclusion:"Autoexclusión",selfExclusionText:"<p>Mientras esté autoexcluido, el acceso a su cuenta estará completamente restringido.</br> La autoexclusión solo se puede levantar después de que haya pasado el período seleccionado, comunicándose con Atención al Cliente, sujeto a una revisión y un período de enfriamiento.</br> Alternativamente, puede optar por tomarse un '<a href='{baseurl}/{lang}/account/timeout'>descanso</a>' (un descanso de hasta 6 semanas) a través de la opción correspondiente.</br> Si prefiere cerrar su cuenta, puede hacerlo a través de la opción '<a href='{baseurl}/{lang}/account/account-closure'>Cierre de Cuenta</a>'.</br> También le recomendamos que lea nuestras páginas de ayuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Juego Responsable</a>' para obtener más consejos si los necesita.</p>",selfExclusionEmailText:"Correo electrónico:",duration:"Duración:",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",forever:"Para siempre",save:"Guardar",noPeriodSelected:"Por favor, seleccione un período de autoexclusión",selectAPeriod:"Seleccione un período",temporarySelfExclusion:"Su período de autoexclusión durará hasta el {date} a las 23:59.",permanentSelfExclusion:"Su período de autoexclusión será permanente.",SelfExclusionFor30Days:"30 Días",SelfExclusionFor2Months:"2 Meses",SelfExclusionFor3Months:"3 Meses",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor7Months:"7 Meses",SelfExclusionFor8Months:"8 Meses",SelfExclusionFor9Months:"9 Meses",SelfExclusionFor10Months:"10 Meses",SelfExclusionFor11Months:"11 Meses",SelfExclusionFor1Year:"1 Año",SelfExclusionFor2Years:"2 Años",SelfExclusionFor5Years:"5 Años",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Hasta",selfExclusionSuccess:"Auto Exclusión activa.",confirmationModalTitle:"Confirmación",confirmationModalTextPeriodSelfExclusion:"¿Estás seguro de que deseas autoexcluirte por {period}?",confirmationModalTextUntilSelfExclusion:"¿Estás seguro de que deseas autoexcluirte hasta {date}?",generalError:"Hubo un error al obtener la autoexclusión.",errorSelfExclusionCall:"Hubo un problema al hacer la solicitud de autoexclusión.",InvalidSession:"La sesión ha expirado."},pt:{titleSelfExclusion:"Autoexclusão",selfExclusionText:"<p>Durante o período de autoexclusão, o acesso à sua conta estará totalmente restrito.</br> A autoexclusão só pode ser levantada após o término do período selecionado, entrando em contato com o Suporte ao Cliente, sujeito a uma revisão e a um período de reflexão.</br> Alternativamente, você pode optar por fazer uma '<a href='{baseurl}/{lang}/account/timeout'>pausa</a>' (um intervalo de até 6 semanas) através da opção correspondente.</br> Se preferir encerrar a sua conta, pode fazê-lo através da opção '<a href='{baseurl}/{lang}/account/account-closure'>Encerramento de Conta</a>'.</br> Recomendamos também que leia as nossas páginas de ajuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jogo Responsável</a>' para obter mais conselhos, caso necessite.</p>",selfExclusionEmailText:"E-mail:",duration:"Duração:",dateInstructions:"Para introduzir manualmente a data, utilize o seguinte formato:",forever:"Para sempre",save:"Guardar",noPeriodSelected:"Por favor, selecione um período de autoexclusão",selectAPeriod:"Selecione um período",temporarySelfExclusion:"O seu período de autoexclusão durará até às {date} 23:59.",permanentSelfExclusion:"O seu período de autoexclusão será permanente.",SelfExclusionFor30Days:"30 Dias",SelfExclusionFor2Months:"2 Meses",SelfExclusionFor3Months:"3 Meses",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor7Months:"7 Meses",SelfExclusionFor8Months:"8 Meses",SelfExclusionFor9Months:"9 Meses",SelfExclusionFor10Months:"10 Meses",SelfExclusionFor11Months:"11 Meses",SelfExclusionFor1Year:"1 Ano",SelfExclusionFor2Years:"2 Anos",SelfExclusionFor5Years:"5 Anos",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Até",selfExclusionSuccess:"Autoexclusão ativa",confirmationModalTitle:"Confirmação",confirmationModalTextPeriodSelfExclusion:"Tem a certeza de que deseja autoexcluir-se por {period}?",confirmationModalTextUntilSelfExclusion:"Tem a certeza de que deseja autoexcluir-se até {date}?",generalError:"Ocorreu um erro ao buscar a autoexclusão.",errorSelfExclusionCall:"Ocorreu um problema ao fazer a solicitação de autoexclusão.",InvalidSession:"A sessão expirou."},hr:{titleSelfExclusion:"Samoisključenje",selfExclusionText:"<p>Tijekom razdoblja samoisključenja, pristup vašem računu bit će potpuno ograničen.</br> Samoisključenje se može ukinuti tek nakon što istekne razdoblje koje ste odabrali, uz kontaktiranje Korisničke podrške, uz reviziju i razdoblje hlađenja.</br> Alternativno, možete odabrati '<a href='{baseurl}/{lang}/account/timeout'>stanku</a>' (pauzu do 6 tjedana) putem odgovarajuće opcije.</br> Ako radije želite zatvoriti svoj račun, to možete učiniti putem opcije '<a href='{baseurl}/{lang}/account/account-closure'>Zatvaranje računa</a>'.</br> Također vam preporučujemo da pročitate naše stranice s pomoći o '<a href='{baseurl}/{lang}/page/responsible-gambling'>Odgovorno kockanje</a>' za dodatne savjete, ako su vam potrebni.</p>",selfExclusionEmailText:"E-mail:",duration:"Trajanje:",dateInstructions:"Za ručni unos datuma koristite sljedeći format:",forever:"Zauvijek",save:"Spremi",noPeriodSelected:"Molimo odaberite razdoblje samoisključenja",selectAPeriod:"Odaberite razdoblje",temporarySelfExclusion:"Vaše razdoblje samoisključenja trajat će do {date} 23:59.",permanentSelfExclusion:"Vaše razdoblje samoisključenja bit će trajno.",SelfExclusionFor30Days:"30 Dana",SelfExclusionFor2Months:"2 Mjeseca",SelfExclusionFor3Months:"3 Mjeseca",SelfExclusionFor6Months:"6 Mjeseci",SelfExclusionFor7Months:"7 Mjeseci",SelfExclusionFor8Months:"8 Mjeseci",SelfExclusionFor9Months:"9 Mjeseci",SelfExclusionFor10Months:"10 Mjeseci",SelfExclusionFor11Months:"11 Mjeseci",SelfExclusionFor1Year:"1 Godina",SelfExclusionFor2Years:"2 Godina",SelfExclusionFor5Years:"5 Godina",SelfExclusionPermanent:"Trajno",SelfExclusionUntilSelectedDate:"Do",selfExclusionSuccess:"Aktivno samoisključivanje",confirmationModalTitle:"Potvrda",confirmationModalTextPeriodSelfExclusion:"Jeste li sigurni da se želite samoisključiti na {period}?",confirmationModalTextUntilSelfExclusion:"Jeste li sigurni da se želite samoisključiti do {date}?",generalError:"Došlo je do pogreške prilikom dohvaćanja samoisključenja.",errorSelfExclusionCall:"Došlo je do problema prilikom slanja zahtjeva za samoisključenje.",InvalidSession:"Sesija je istekla."},"pt-br":{titleSelfExclusion:"Autoexclusão",selfExclusionText:"<p>Durante o período de autoexclusão, o acesso à sua conta será completamente restrito.</br> A autoexclusão só pode ser removida após o término do período selecionado, entrando em contato com o Suporte ao Cliente, sujeito a revisão e a um período de reflexão.</br> Alternativamente, você pode optar por fazer um '<a href='{baseurl}/{lang}/account/timeout'>intervalo</a>' (uma pausa de até 6 semanas) através da opção correspondente.</br> Se preferir encerrar sua conta, você pode fazer isso através da opção '<a href='{baseurl}/{lang}/account/account-closure'>Encerramento de Conta</a>'.</br> Recomendamos também que leia nossas páginas de ajuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jogo Responsável</a>' para obter mais conselhos, caso necessite.</p>",selfExclusionEmailText:"E-mail:",duration:"Duração:",dateInstructions:"Para inserir manualmente a data, use o seguinte formato:",forever:"Para sempre",save:"Salvar",noPeriodSelected:"Por favor, selecione um período de autoexclusão",selectAPeriod:"Selecione um período",temporarySelfExclusion:"Seu período de autoexclusão durará até {date} às 23:59.",permanentSelfExclusion:"Seu período de autoexclusão será permanente.",SelfExclusionFor30Days:"30 Dias",SelfExclusionFor2Months:"2 Meses",SelfExclusionFor3Months:"3 Meses",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor7Months:"7 Meses",SelfExclusionFor8Months:"8 Meses",SelfExclusionFor9Months:"9 Meses",SelfExclusionFor10Months:"10 Meses",SelfExclusionFor11Months:"11 Meses",SelfExclusionFor1Year:"1 Ano",SelfExclusionFor2Years:"2 Anos",SelfExclusionFor5Years:"5 Anos",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Até",selfExclusionSuccess:"Autoexclusão ativa",confirmationModalTitle:"Confirmação",confirmationModalTextPeriodSelfExclusion:"Você tem certeza de que deseja se autoexcluir por {period}?",confirmationModalTextUntilSelfExclusion:"Você tem certeza de que deseja se autoexcluir até {date}?",generalError:"Houve um erro ao buscar a autoexclusão.",errorSelfExclusionCall:"Houve um problema ao fazer a solicitação de autoexclusão.",InvalidSession:"A sessão expirou."},"es-mx":{titleSelfExclusion:"Autoexclusión",selfExclusionText:"<p>Mientras esté autoexcluido, el acceso a su cuenta estará completamente restringido.</br> La autoexclusión solo puede levantarse después de que haya pasado el período que seleccionó, comunicándose con el Servicio al Cliente, sujeto a una revisión y un período de enfriamiento.</br> Alternativamente, puede elegir tomarse un '<a href='{baseurl}/{lang}/account/timeout'>descanso</a>' (una pausa de hasta 6 semanas) a través de la opción correspondiente.</br> Si prefiere cerrar su cuenta, puede hacerlo mediante la opción '<a href='{baseurl}/{lang}/account/account-closure'>Cierre de Cuenta</a>'.</br> También le recomendamos leer nuestras páginas de ayuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Juego Responsable</a>' para obtener más consejos si lo necesita.</p>",selfExclusionEmailText:"Correo electrónico:",duration:"Duración:",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",forever:"Para siempre",save:"Guardar",noPeriodSelected:"Por favor, seleccione un período de autoexclusión",selectAPeriod:"Seleccione un período",temporarySelfExclusion:"Su período de autoexclusión durará hasta el {date} a las 23:59.",permanentSelfExclusion:"Su período de autoexclusión será permanente.",SelfExclusionFor30Days:"30 Días",SelfExclusionFor2Months:"2 Meses",SelfExclusionFor3Months:"3 Meses",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor7Months:"7 Meses",SelfExclusionFor8Months:"8 Meses",SelfExclusionFor9Months:"9 Meses",SelfExclusionFor10Months:"10 Meses",SelfExclusionFor11Months:"11 Meses",SelfExclusionFor1Year:"1 Año",SelfExclusionFor2Years:"2 Anos",SelfExclusionFor5Years:"5 Años",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Hasta",selfExclusionSuccess:"Auto-exclusión activa",confirmationModalTitle:"Confirmación",confirmationModalTextPeriodSelfExclusion:"¿Estás seguro de que deseas autoexcluirte por {period}?",confirmationModalTextUntilSelfExclusion:"¿Estás seguro de que deseas autoexcluirte hasta {date}?",generalError:"Hubo un error al obtener la autoexclusión.",errorSelfExclusionCall:"Hubo un problema al hacer la solicitud de autoexclusión.",InvalidSession:"La sesión ha expirado."},tr:{titleSelfExclusion:"Kendi Kendini Hariç Tutma",selfExclusionText:"<p>Kendinizi dışlama süresince hesabınıza erişiminiz tamamen kısıtlanacaktır.</br> Kendinizi dışlama, yalnızca seçtiğiniz süre sona erdikten sonra, Müşteri Hizmetleri ile iletişime geçerek kaldırılabilir ve inceleme ile bir düşünme süresine tabi olacaktır.</br> Alternatif olarak, '<a href='{baseurl}/{lang}/account/timeout'>Mola</a>' seçeneğiyle hizmetlerimizden (6 haftaya kadar bir ara) faydalanmayı tercih edebilirsiniz.</br> Hesabınızı kapatmayı tercih ederseniz, bunu '<a href='{baseurl}/{lang}/account/account-closure'>Hesap Kapatma</a>' seçeneği aracılığıyla yapabilirsiniz.</br> Ayrıca, gerektiğinde daha fazla tavsiye almak için '<a href='{baseurl}/{lang}/page/responsible-gambling'>Sorumlu Oyun</a>' yardım sayfalarımızı okumanızı öneririz.</p>",selfExclusionEmailText:"E-posta:",duration:"Süre:",dateInstructions:"Tarihi manuel olarak girmek için şu formatı kullanın:",forever:"Sonsuza kadar",save:"Kaydet",noPeriodSelected:"Lütfen bir kendi kendini hariç tutma süresi seçin",selectAPeriod:"Bir süre seçin",temporarySelfExclusion:"Kendi kendini hariç tutma süreniz {date} saat 23:59'a kadar sürecektir.",permanentSelfExclusion:"Kendi kendini hariç tutma süreniz kalıcı olacaktır.",SelfExclusionFor30Days:"30 Gün",SelfExclusionFor2Months:"2 Ay",SelfExclusionFor3Months:"3 Ay",SelfExclusionFor6Months:"6 Ay",SelfExclusionFor7Months:"7 Ay",SelfExclusionFor8Months:"8 Ay",SelfExclusionFor9Months:"9 Ay",SelfExclusionFor10Months:"10 Ay",SelfExclusionFor11Months:"11 Ay",SelfExclusionFor1Year:"1 Yıl",SelfExclusionFor2Years:"2 Yıl",SelfExclusionFor5Years:"5 Yıl",SelfExclusionPermanent:"Kalıcı",SelfExclusionUntilSelectedDate:"Tarihe kadar",selfExclusionSuccess:"Kendini dışlama etkin",confirmationModalTitle:"Onay",confirmationModalTextPeriodSelfExclusion:"{period} için kendinizi hariç tutmak istediğinizden emin misiniz?",confirmationModalTextUntilSelfExclusion:"{date} tarihine kadar kendinizi hariç tutmak istediğinizden emin misiniz?",generalError:"Kendi kendini dışlama alınırken bir hata oluştu.",errorSelfExclusionCall:"Kendi kendini dışlama isteği yapılırken bir sorun oluştu.",InvalidSession:"Oturum süresi doldu."}};function ud(o){c.append_styles(o,"svelte-gvegix",'a{cursor:pointer;text-decoration:underline;font-weight:600}.PlayerSelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionContainer{border-radius:var(--emw--border-radius-medium, 10px);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));container-type:inline-size}.SelfExclusionContainer .SelfExclusionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:var(--emw--border-radius-medium, 10px);max-width:100%;min-height:500px;opacity:1;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SelfExclusionContainer .SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-bold, 700)}.SelfExclusionTitle.SelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px)}.SelfExclusionNotification{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionNotification.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionNotification .SelfExclusionDescriptionText p{font-size:16px}.SelfExclusionNotification .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px;min-height:180px}.SelfExclusionDescription p{font-size:16px}.SelfExclusionDescription a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}}.SelfExclusionConfigWrapper{width:50%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel p{margin:0;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon.active{transform:rotateZ(0deg)}.SelfExclusionConfigWrapper .SelfExclusionDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586B);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:0px 0px var(--emw--border-radius-medium, 10px) var(--emw--border-radius-medium, 10px)}.SelfExclusionConfigWrapper .SelfExclusionDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transition:all 0.5s ease-in-out;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:600px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--color-primary, #23B04E);border-radius:var(--emw--border-radius-medium, 10px);padding:20px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF);cursor:pointer;border:none}.SelfExclusionActionButtons .SelfExclusionSave:hover{filter:brightness(0.9)}.SelfExclusionActionButtons .SelfExclusionSave:disabled{opacity:0.5;cursor:default}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function Yo(o,t,e){const i=o.slice();return i[56]=t[e],i}function hd(o){let t,e,i,s,r=o[20]("titleSelfExclusion")+"",n,a,l,d,u=o[20]("selfExclusionText",{values:{operatorname:o[1],baseurl:o[3],lang:o[0]}})+"",h,p,m=o[20]("selfExclusionEmailText")+"",g,f,_,y,v,E,w,A,q,$=o[20](`${o[13]}`)+"",L,F,P,T,M,G,N,ee,oe,j,J,R,z,X=o[20]("save")+"",re,ge,be,ve,ye,de,ue,Z=o[22]&&fd(o),te=c.ensure_array_like(o[9]),D=[];for(let x=0;x<te.length;x+=1)D[x]=jo(Yo(o,te,x));let O=o[16]&&Vo(o);function he(x,k){return x[15]?gd:x[17]?md:_d}let ne=he(o),K=ne(o),ae=o[23]&&bd(o);return{c(){t=c.element("div"),e=c.element("form"),Z&&Z.c(),i=c.space(),s=c.element("h2"),n=c.text(r),a=c.space(),l=c.element("div"),d=c.element("p"),h=c.space(),p=c.element("p"),g=c.text(m),f=c.space(),_=c.element("a"),y=c.text(o[2]),E=c.space(),w=c.element("div"),A=c.element("div"),q=c.element("p"),L=c.text($),F=c.space(),P=c.svg_element("svg"),T=c.svg_element("g"),M=c.svg_element("path"),G=c.space(),N=c.element("div");for(let x=0;x<D.length;x+=1)D[x].c();ee=c.space(),O&&O.c(),oe=c.space(),j=c.element("div"),K.c(),J=c.space(),R=c.element("div"),z=c.element("button"),re=c.text(X),ve=c.space(),ae&&ae.c(),ye=c.empty(),c.attr(s,"class","PlayerSelfExclusionTitle "+(o[22]?"PlayerSelfExclusionTitleNone":"")),c.attr(d,"class","SelfExclusionDescriptionText"),c.attr(_,"href",v="mailto:"+o[2]),c.attr(p,"class","SelfExclusionDescriptionText"),c.attr(l,"class","SelfExclusionDescription "+(o[22]?"SelfExclusionDescriptionMobile":"")),c.attr(M,"d","M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"),c.attr(M,"stroke-linecap","round"),c.attr(P,"xmlns","http://www.w3.org/2000/svg"),c.attr(P,"xmlns:xlink","http://www.w3.org/1999/xlink"),c.attr(P,"version","1.1"),c.attr(P,"viewBox","0 0 100 100"),c.attr(P,"xml:space","preserve"),c.attr(P,"class","SelfExclusionConfigIcon"),c.toggle_class(P,"active",o[18]),c.attr(A,"class","SelfExclusionConfigLabel"),c.attr(N,"class","SelfExclusionDropDown"),c.toggle_class(N,"active",o[18]),c.attr(w,"class","SelfExclusionConfigWrapper "+(o[22]?"SelfExclusionConfigWrapperMobile":"")),c.toggle_class(w,"active",o[18]),c.attr(j,"class","SelfExclusionNotification "+(o[22]?"SelfExclusionDescriptionMobile":"")),c.attr(z,"class",ge="SelfExclusionSave "+(o[17]?"active":"")),z.disabled=be=!o[17],c.attr(R,"class","SelfExclusionActionButtons "+(o[22]?"SelfExclusionActionButtonsMobile":"")),c.attr(e,"class","SelfExclusionWrapper "+(o[22]?"SelfExclusionWrapperMobile":"")),c.attr(t,"class","SelfExclusionContainer")},m(x,k){c.insert(x,t,k),c.append(t,e),Z&&Z.m(e,null),c.append(e,i),c.append(e,s),c.append(s,n),c.append(e,a),c.append(e,l),c.append(l,d),d.innerHTML=u,c.append(l,h),c.append(l,p),c.append(p,g),c.append(p,f),c.append(p,_),c.append(_,y),c.append(e,E),c.append(e,w),c.append(w,A),c.append(A,q),c.append(q,L),c.append(A,F),c.append(A,P),c.append(P,T),c.append(T,M),c.append(w,G),c.append(w,N);for(let B=0;B<D.length;B+=1)D[B]&&D[B].m(N,null);c.append(e,ee),O&&O.m(e,null),c.append(e,oe),c.append(e,j),K.m(j,null),c.append(e,J),c.append(e,R),c.append(R,z),c.append(z,re),c.insert(x,ve,k),ae&&ae.m(x,k),c.insert(x,ye,k),de||(ue=[c.listen(A,"click",o[37]),c.listen(z,"click",o[40])],de=!0)},p(x,k){if(x[22]&&Z.p(x,k),k[0]&1048576&&r!==(r=x[20]("titleSelfExclusion")+"")&&c.set_data(n,r),k[0]&1048587&&u!==(u=x[20]("selfExclusionText",{values:{operatorname:x[1],baseurl:x[3],lang:x[0]}})+"")&&(d.innerHTML=u),k[0]&1048576&&m!==(m=x[20]("selfExclusionEmailText")+"")&&c.set_data(g,m),k[0]&4&&c.set_data(y,x[2]),k[0]&4&&v!==(v="mailto:"+x[2])&&c.attr(_,"href",v),k[0]&1056768&&$!==($=x[20](`${x[13]}`)+"")&&c.set_data(L,$),k[0]&262144&&c.toggle_class(P,"active",x[18]),k[0]&34603520){te=c.ensure_array_like(x[9]);let B;for(B=0;B<te.length;B+=1){const mt=Yo(x,te,B);D[B]?D[B].p(mt,k):(D[B]=jo(mt),D[B].c(),D[B].m(N,null))}for(;B<D.length;B+=1)D[B].d(1);D.length=te.length}k[0]&262144&&c.toggle_class(N,"active",x[18]),k[0]&262144&&c.toggle_class(w,"active",x[18]),x[16]?O?O.p(x,k):(O=Vo(x),O.c(),O.m(e,oe)):O&&(O.d(1),O=null),ne===(ne=he(x))&&K?K.p(x,k):(K.d(1),K=ne(x),K&&(K.c(),K.m(j,null))),k[0]&1048576&&X!==(X=x[20]("save")+"")&&c.set_data(re,X),k[0]&131072&&ge!==(ge="SelfExclusionSave "+(x[17]?"active":""))&&c.attr(z,"class",ge),k[0]&131072&&be!==(be=!x[17])&&(z.disabled=be),x[23]&&ae.p(x,k)},d(x){x&&(c.detach(t),c.detach(ve),c.detach(ye)),Z&&Z.d(),c.destroy_each(D,x),O&&O.d(),K.d(),ae&&ae.d(x),de=!1,c.run_all(ue)}}}function pd(o){let t,e,i,s,r,n,a,l,d,u,h,p,m,g,f,_,y,v,E,w,A;function q(F,P){return F[22]?yd:vd}let L=q(o)(o);return{c(){t=c.element("div"),e=c.element("div"),L.c(),i=c.space(),s=c.element("div"),r=c.element("ui-skeleton"),n=c.space(),a=c.element("div"),l=c.space(),d=c.element("ui-skeleton"),u=c.space(),h=c.element("div"),p=c.space(),m=c.element("div"),g=c.element("ui-skeleton"),f=c.space(),_=c.element("div"),y=c.space(),v=c.element("ui-skeleton"),E=c.space(),w=c.element("div"),A=c.element("ui-skeleton"),c.set_custom_element_data(r,"structure","text"),c.set_custom_element_data(r,"height",o[22]?"15px":"20px"),c.set_custom_element_data(r,"rows",o[22]?"12":"5"),c.set_custom_element_data(r,"width",o[22]?"100%":"60%"),c.set_style(a,"height",o[22]?"10px":"20px"),c.set_custom_element_data(d,"structure","text"),c.set_custom_element_data(d,"height",o[22]?"15px":"20px"),c.set_custom_element_data(d,"width","30%"),c.set_style(h,"height","10px"),c.attr(s,"class","SelfExclusionDescription"),c.set_custom_element_data(g,"structure","rectangle"),c.set_custom_element_data(g,"width",o[22]?"100%":"50%"),c.set_custom_element_data(g,"height",o[22]?"30px":"44px"),c.set_style(_,"height",o[22]?"15px":"20px"),c.set_custom_element_data(v,"structure","text"),c.set_custom_element_data(v,"height",o[22]?"15px":"20px"),c.set_custom_element_data(v,"width","30%"),c.attr(m,"class","SelfExclusionConfig"),c.set_custom_element_data(A,"structure","rectangle"),c.set_custom_element_data(A,"width","100%"),c.set_custom_element_data(A,"height",o[22]?"35px":"50px"),c.attr(w,"class","SelfExclusionActionButtons "+(o[22]?"SelfExclusionActionButtonsMobile":"")),c.attr(e,"class","SelfExclusionWrapper "+(o[22]?"SelfExclusionWrapperMobile":"")),c.attr(t,"class","SelfExclusionContainer")},m(F,P){c.insert(F,t,P),c.append(t,e),L.m(e,null),c.append(e,i),c.append(e,s),c.append(s,r),c.append(s,n),c.append(s,a),c.append(s,l),c.append(s,d),c.append(s,u),c.append(s,h),c.append(e,p),c.append(e,m),c.append(m,g),c.append(m,f),c.append(m,_),c.append(m,y),c.append(m,v),c.append(e,E),c.append(e,w),c.append(w,A)},p:c.noop,d(F){F&&c.detach(t),L.d()}}}function fd(o){let t,e,i,s,r,n,a,l,d,u,h=o[20]("titleSelfExclusion")+"",p,m,g;return{c(){t=c.element("div"),e=c.svg_element("svg"),i=c.svg_element("defs"),s=c.svg_element("style"),r=c.text(".aaa{fill:var(--emw--color-primary, #22B04E);}"),n=c.svg_element("g"),a=c.svg_element("g"),l=c.svg_element("path"),d=c.space(),u=c.element("h2"),p=c.text(h),c.attr(l,"class","aaa"),c.attr(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),c.attr(l,"transform","translate(15 15) rotate(180)"),c.attr(a,"transform","translate(20 158)"),c.attr(n,"transform","translate(-20 -158)"),c.attr(e,"xmlns","http://www.w3.org/2000/svg"),c.attr(e,"width","15"),c.attr(e,"height","15"),c.attr(e,"viewBox","0 0 15 15"),c.attr(u,"class","PlayerSelfExclusionTitleMobile"),c.attr(t,"class","MenuReturnButton")},m(f,_){c.insert(f,t,_),c.append(t,e),c.append(e,i),c.append(i,s),c.append(s,r),c.append(e,n),c.append(n,a),c.append(a,l),c.append(t,d),c.append(t,u),c.append(u,p),m||(g=c.listen(t,"click",o[36]),m=!0)},p(f,_){_[0]&1048576&&h!==(h=f[20]("titleSelfExclusion")+"")&&c.set_data(p,h)},d(f){f&&c.detach(t),m=!1,g()}}}function jo(o){let t,e=o[20](`${o[56].key}`)+"",i,s,r;function n(){return o[38](o[56])}return{c(){t=c.element("div"),i=c.text(e)},m(a,l){c.insert(a,t,l),c.append(t,i),s||(r=c.listen(t,"click",n),s=!0)},p(a,l){o=a,l[0]&1049088&&e!==(e=o[20](`${o[56].key}`)+"")&&c.set_data(i,e)},d(a){a&&c.detach(t),s=!1,r()}}}function Vo(o){let t,e,i=o[20]("duration")+"",s,r,n,a=o[20]("dateInstructions")+"",l,d,u,h,p,m,g;return{c(){t=c.element("div"),e=c.element("label"),s=c.text(i),r=c.space(),n=c.element("span"),l=c.text(a),d=c.space(),u=c.element("strong"),h=c.text(o[21]),p=c.element("strong"),m=c.space(),g=c.element("vaadin-date-picker"),c.attr(e,"for","SelfExclusionDate"),c.attr(n,"class","SelfExclusionDateInstructions"),c.set_custom_element_data(g,"min",o[10]),c.set_custom_element_data(g,"max",o[11]),c.set_custom_element_data(g,"value",o[12]),c.attr(t,"class","SelfExclusionDateWrapper "+(o[22]?"SelfExclusionDateWrapperMobile":""))},m(f,_){c.insert(f,t,_),c.append(t,e),c.append(e,s),c.append(t,r),c.append(t,n),c.append(n,l),c.append(n,d),c.append(n,u),c.append(u,h),c.append(u,p),c.append(t,m),c.append(t,g),o[39](g)},p(f,_){_[0]&1048576&&i!==(i=f[20]("duration")+"")&&c.set_data(s,i),_[0]&1048576&&a!==(a=f[20]("dateInstructions")+"")&&c.set_data(l,a),_[0]&1024&&c.set_custom_element_data(g,"min",f[10]),_[0]&2048&&c.set_custom_element_data(g,"max",f[11]),_[0]&4096&&c.set_custom_element_data(g,"value",f[12])},d(f){f&&c.detach(t),o[39](null)}}}function md(o){let t,e,i=o[20]("temporarySelfExclusion",{values:{date:fe.dayjs(o[12]).format(o[21])}})+"",s;return{c(){t=c.element("p"),e=c.element("strong"),s=c.text(i),c.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){c.insert(r,t,n),c.append(t,e),c.append(e,s)},p(r,n){n[0]&1052672&&i!==(i=r[20]("temporarySelfExclusion",{values:{date:fe.dayjs(r[12]).format(r[21])}})+"")&&c.set_data(s,i)},d(r){r&&c.detach(t)}}}function _d(o){let t,e,i=o[20]("noPeriodSelected")+"",s;return{c(){t=c.element("p"),e=c.element("strong"),s=c.text(i),c.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){c.insert(r,t,n),c.append(t,e),c.append(e,s)},p(r,n){n[0]&1048576&&i!==(i=r[20]("noPeriodSelected")+"")&&c.set_data(s,i)},d(r){r&&c.detach(t)}}}function gd(o){let t,e,i=o[20]("permanentSelfExclusion")+"",s;return{c(){t=c.element("p"),e=c.element("strong"),s=c.text(i),c.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){c.insert(r,t,n),c.append(t,e),c.append(e,s)},p(r,n){n[0]&1048576&&i!==(i=r[20]("permanentSelfExclusion")+"")&&c.set_data(s,i)},d(r){r&&c.detach(t)}}}function bd(o){let t,e,i;return{c(){t=c.element("player-account-modal"),e=c.element("player-account-general-confirmation-modal"),c.set_custom_element_data(e,"modaltitle",i=o[20]("confirmationModalTitle")),c.set_custom_element_data(e,"modaltext",o[14]),c.set_custom_element_data(e,"hascancelbutton",!1),c.set_custom_element_data(e,"modalconfirmevent",{type:"setSelfExclusion"}),c.set_custom_element_data(e,"mbsource",o[6]),c.set_custom_element_data(e,"lang",o[0]),c.set_custom_element_data(t,"clientstyling",o[4]),c.set_custom_element_data(t,"clientstylingurl",o[5]),c.set_custom_element_data(t,"mbsource",o[6]),c.set_custom_element_data(t,"showmodaleventname","ShowSelfExclusionConfirmationModal")},m(s,r){c.insert(s,t,r),c.append(t,e)},p(s,r){r[0]&1048576&&i!==(i=s[20]("confirmationModalTitle"))&&c.set_custom_element_data(e,"modaltitle",i),r[0]&16384&&c.set_custom_element_data(e,"modaltext",s[14]),r[0]&64&&c.set_custom_element_data(e,"mbsource",s[6]),r[0]&1&&c.set_custom_element_data(e,"lang",s[0]),r[0]&16&&c.set_custom_element_data(t,"clientstyling",s[4]),r[0]&32&&c.set_custom_element_data(t,"clientstylingurl",s[5]),r[0]&64&&c.set_custom_element_data(t,"mbsource",s[6])},d(s){s&&c.detach(t)}}}function vd(o){let t;return{c(){t=c.element("ui-skeleton"),c.set_custom_element_data(t,"structure","title"),c.set_custom_element_data(t,"width","100px"),c.set_custom_element_data(t,"margin-top","20px"),c.set_custom_element_data(t,"margin-bottom","20px")},m(e,i){c.insert(e,t,i)},d(e){e&&c.detach(t)}}}function yd(o){let t;return{c(){t=c.element("div"),t.innerHTML='<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>',c.attr(t,"class","MenuReturnButton")},m(e,i){c.insert(e,t,i)},d(e){e&&c.detach(t)}}}function xd(o){let t;function e(r,n){return r[19]?pd:hd}let i=e(o),s=i(o);return{c(){t=c.element("div"),s.c()},m(r,n){c.insert(r,t,n),s.m(t,null),o[41](t)},p(r,n){i===(i=e(r))&&s?s.p(r,n):(s.d(1),s=i(r),s&&(s.c(),s.m(t,null)))},i:c.noop,o:c.noop,d(r){r&&c.detach(t),s.d(),o[41](null)}}}function wd(o,t,e){let i;c.component_subscribe(o,c.$format,b=>e(20,i=b)),fe.dayjs.extend(xr);let{endpoint:s="",session:r="",userid:n="",lang:a="en",gmversion:l="",operator:d="Everymatrix",supportemail:u="",baseurl:h="",clientstyling:p="",clientstylingurl:m="",mbsource:g,translationurl:f="",hasconfirmationmodal:_="false",dateformat:y="DD/MM/YYYY",sendnotificationemail:v="false"}=t,E,w,A=y.toUpperCase(),q=[],$={},L=window.navigator.userAgent,F,P,T="",M="",G="selectAPeriod",N="",ee="",oe=c.getDevice(L)!=="PC",j=!1,J=!1,R=!1,z=!1,X=_==="true",re=!0;const ge=()=>{fetch(f).then(V=>V.json()).then(V=>{Object.keys(V).forEach(U=>{Ho(U,V[U])})}).catch(V=>{console.log(V)})};Object.keys($o).forEach(b=>{Ho(b,$o[b])});const be=()=>{let b=new URL(`${s}/v1/player/selfExclusionSettings`);fetch(b,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(U=>ye(U)).then(U=>{e(9,q=U.periods)}).catch(U=>{console.log(U),window.postMessage({type:"WidgetNotification",data:{type:"error",message:U.message}},window.location.href)}).finally(()=>{e(19,re=!1)})},ve=b=>{b.data.type==="setSelfExclusion"&&D()},ye=b=>Ke(this,null,function*(){var V;if(!b.ok){$=yield b.json(),ee=(V=$.thirdPartyResponse)==null?void 0:V.errorCode;const U=i(ee||"generalError");throw new Error(U)}return b.json()}),de=()=>{e(18,z=!z)},ue=b=>{switch(M=b.text,e(13,G=b.key),e(17,R=!0),e(18,z=!1),e(15,j=!1),e(16,J=!1),M){case"Until":e(16,J=!0),e(10,F=fe.dayjs().add(6,"M").format("YYYY-MM-DD")),e(11,P=fe.dayjs().add(5,"y").format("YYYY-MM-DD")),e(12,T=F);break;case"Permanent":e(15,j=!j);break;default:const[V,U]=M.split(" "),Ce=U.includes("Day")?"days":U.includes("Month")?"months":U.includes("Year")?"years":null;if(!Ce)return;e(12,T=fe.dayjs().add(Number(V),Ce).format("YYYY-MM-DD"));break}X&&Z()},Z=()=>{if(!X||!M||!T){e(14,N="");return}e(14,N=J?i("confirmationModalTextUntilSelfExclusion",{values:{date:fe.dayjs(T).format(A)}}):i("confirmationModalTextPeriodSelfExclusion",{values:{period:i(M)}}))},te=b=>{b.preventDefault(),X?(Z(),window.postMessage({type:"ShowSelfExclusionConfirmationModal"},window.location.href)):D()},D=()=>{e(19,re=!0);const b=new URL(`${s}/v2/player/${n}/limits${l==="gm16"?"/session":""}`),U={method:"PUT",headers:{"X-SessionID":r,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({selfExclusion:{period:G,expiryDate:T,selfExclusionReason:"UserRequest",sendNotificationEmail:v==="true"}})};fetch(b.href,U).then(Ce=>ye(Ce)).then(Ce=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:i("selfExclusionSuccess")}},window.location.href),window.postMessage({type:"LogoutSuccessfull"},window.location.href)}).catch(Ce=>{console.error(i("errorSelfExclusionCall"),Ce),window.postMessage({type:"WidgetNotification",data:{type:"error",message:i("errorSelfExclusionCall")}},window.location.href)}).finally(()=>{e(19,re=!1)})},O=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:oe},window.location.href)},he=b=>{e(12,T=b.target.value)},ne=()=>{w.addEventListener("change",he,!1),e(8,w.i18n=gt(_t({},w.i18n),{formatDate:b=>fe.dayjs(new Date(b.year,b.month,b.day)).format(A),parseDate:b=>{const V=fe.dayjs(b,A);return{year:V.year(),month:V.month(),day:V.date()}}}),w)};c.onMount(()=>(window.addEventListener("message",ve,!1),()=>{w.removeEventListener("change",he),window.removeEventListener("message",ve)}));const K=()=>{dd(a)},ae=()=>O(),x=()=>de(),k=b=>ue(b);function B(b){c.binding_callbacks[b?"unshift":"push"](()=>{w=b,e(8,w)})}const mt=b=>te(b);function Er(b){c.binding_callbacks[b?"unshift":"push"](()=>{E=b,e(7,E)})}return o.$$set=b=>{"endpoint"in b&&e(28,s=b.endpoint),"session"in b&&e(29,r=b.session),"userid"in b&&e(30,n=b.userid),"lang"in b&&e(0,a=b.lang),"gmversion"in b&&e(31,l=b.gmversion),"operator"in b&&e(1,d=b.operator),"supportemail"in b&&e(2,u=b.supportemail),"baseurl"in b&&e(3,h=b.baseurl),"clientstyling"in b&&e(4,p=b.clientstyling),"clientstylingurl"in b&&e(5,m=b.clientstylingurl),"mbsource"in b&&e(6,g=b.mbsource),"translationurl"in b&&e(32,f=b.translationurl),"hasconfirmationmodal"in b&&e(33,_=b.hasconfirmationmodal),"dateformat"in b&&e(34,y=b.dateformat),"sendnotificationemail"in b&&e(35,v=b.sendnotificationemail)},o.$$.update=()=>{o.$$.dirty[0]&1&&a&&K(),o.$$.dirty[0]&1879048192|o.$$.dirty[1]&1&&s&&r&&n&&l&&be(),o.$$.dirty[0]&256&&w&&ne(),o.$$.dirty[0]&144&&p&&E&&c.setClientStyling(E,p),o.$$.dirty[0]&160&&m&&E&&c.setClientStylingURL(E,m),o.$$.dirty[0]&192&&g&&E&&c.setStreamStyling(E,`${g}.Style`),o.$$.dirty[1]&2&&f&&ge()},X&&Z(),[a,d,u,h,p,m,g,E,w,q,F,P,T,G,N,j,J,R,z,re,i,A,oe,X,de,ue,te,O,s,r,n,l,f,_,y,v,ae,x,k,B,mt,Er]}class wr extends c.SvelteComponent{constructor(t){super(),c.init(this,t,wd,xd,c.safe_not_equal,{endpoint:28,session:29,userid:30,lang:0,gmversion:31,operator:1,supportemail:2,baseurl:3,clientstyling:4,clientstylingurl:5,mbsource:6,translationurl:32,hasconfirmationmodal:33,dateformat:34,sendnotificationemail:35},ud,[-1,-1])}get endpoint(){return this.$$.ctx[28]}set endpoint(t){this.$$set({endpoint:t}),c.flush()}get session(){return this.$$.ctx[29]}set session(t){this.$$set({session:t}),c.flush()}get userid(){return this.$$.ctx[30]}set userid(t){this.$$set({userid:t}),c.flush()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),c.flush()}get gmversion(){return this.$$.ctx[31]}set gmversion(t){this.$$set({gmversion:t}),c.flush()}get operator(){return this.$$.ctx[1]}set operator(t){this.$$set({operator:t}),c.flush()}get supportemail(){return this.$$.ctx[2]}set supportemail(t){this.$$set({supportemail:t}),c.flush()}get baseurl(){return this.$$.ctx[3]}set baseurl(t){this.$$set({baseurl:t}),c.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),c.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),c.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),c.flush()}get translationurl(){return this.$$.ctx[32]}set translationurl(t){this.$$set({translationurl:t}),c.flush()}get hasconfirmationmodal(){return this.$$.ctx[33]}set hasconfirmationmodal(t){this.$$set({hasconfirmationmodal:t}),c.flush()}get dateformat(){return this.$$.ctx[34]}set dateformat(t){this.$$set({dateformat:t}),c.flush()}get sendnotificationemail(){return this.$$.ctx[35]}set sendnotificationemail(t){this.$$set({sendnotificationemail:t}),c.flush()}}c.create_custom_element(wr,{endpoint:{},session:{},userid:{},lang:{},gmversion:{},operator:{},supportemail:{},baseurl:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},hasconfirmationmodal:{},dateformat:{},sendnotificationemail:{}},[],[],!0);const Ed=Object.freeze(Object.defineProperty({__proto__:null,default:wr},Symbol.toStringTag,{value:"Module"}));exports.CustomParseFormat=xr;exports.PlayerAccountSelfExclusionNd_ce=Ed;
|
|
3555
|
+
`}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new Zc(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e},{uniqueIdPrefix:"search-input"})),this.addController(new Qc(this.inputElement,this._labelController)),this._tooltipController=new Qs(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow(e=>!e.opened),this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown",e=>e.preventDefault()),this.$.overlay.addEventListener("vaadin-overlay-close",this._onVaadinOverlayClose.bind(this))}_onVaadinOverlayClose(t){t.detail.sourceEvent&&t.detail.sourceEvent.composedPath().includes(this)&&t.preventDefault()}_toggle(t){t.stopPropagation(),this.$.overlay.opened?this.close():this.open()}_openedChanged(t){super._openedChanged(t),this.$.overlay.positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this.$.overlay.noVerticalOverlap=!0}}ce(ld);var yr={exports:{}};(function(o,t){(function(e,i){o.exports=i()})(c.commonjsGlobal,function(){var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},i=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,s=/\d\d/,r=/\d\d?/,n=/\d*[^-_:/,()\s\d]+/,a={},l=function(f){return(f=+f)+(f>68?1900:2e3)},d=function(f){return function(g){this[f]=+g}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(f){(this.zone||(this.zone={})).offset=function(g){if(!g||g==="Z")return 0;var y=g.match(/([+-]|\d\d)/g),v=60*y[1]+(+y[2]||0);return v===0?0:y[0]==="+"?-v:v}(f)}],h=function(f){var g=a[f];return g&&(g.indexOf?g:g.s.concat(g.f))},p=function(f,g){var y,v=a.meridiem;if(v){for(var E=1;E<=24;E+=1)if(f.indexOf(v(E,0,g))>-1){y=E>12;break}}else y=f===(g?"pm":"PM");return y},m={A:[n,function(f){this.afternoon=p(f,!1)}],a:[n,function(f){this.afternoon=p(f,!0)}],S:[/\d/,function(f){this.milliseconds=100*+f}],SS:[s,function(f){this.milliseconds=10*+f}],SSS:[/\d{3}/,function(f){this.milliseconds=+f}],s:[r,d("seconds")],ss:[r,d("seconds")],m:[r,d("minutes")],mm:[r,d("minutes")],H:[r,d("hours")],h:[r,d("hours")],HH:[r,d("hours")],hh:[r,d("hours")],D:[r,d("day")],DD:[s,d("day")],Do:[n,function(f){var g=a.ordinal,y=f.match(/\d+/);if(this.day=y[0],g)for(var v=1;v<=31;v+=1)g(v).replace(/\[|\]/g,"")===f&&(this.day=v)}],M:[r,d("month")],MM:[s,d("month")],MMM:[n,function(f){var g=h("months"),y=(h("monthsShort")||g.map(function(v){return v.slice(0,3)})).indexOf(f)+1;if(y<1)throw new Error;this.month=y%12||y}],MMMM:[n,function(f){var g=h("months").indexOf(f)+1;if(g<1)throw new Error;this.month=g%12||g}],Y:[/[+-]?\d+/,d("year")],YY:[s,function(f){this.year=l(f)}],YYYY:[/\d{4}/,d("year")],Z:u,ZZ:u};function b(f){var g,y;g=f,y=a&&a.formats;for(var v=(f=g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(F,P,T){var M=T&&T.toUpperCase();return P||y[T]||e[T]||y[M].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(K,N,ee){return N||ee.slice(1)})})).match(i),E=v.length,w=0;w<E;w+=1){var A=v[w],q=m[A],Y=q&&q[0],L=q&&q[1];v[w]=L?{regex:Y,parser:L}:A.replace(/^\[|\]$/g,"")}return function(F){for(var P={},T=0,M=0;T<E;T+=1){var K=v[T];if(typeof K=="string")M+=K.length;else{var N=K.regex,ee=K.parser,oe=F.slice(M),j=N.exec(oe)[0];ee.call(P,j),F=F.replace(j,"")}}return function(J){var R=J.afternoon;if(R!==void 0){var z=J.hours;R?z<12&&(J.hours+=12):z===12&&(J.hours=0),delete J.afternoon}}(P),P}}return function(f,g,y){y.p.customParseFormat=!0,f&&f.parseTwoDigitYear&&(l=f.parseTwoDigitYear);var v=g.prototype,E=v.parse;v.parse=function(w){var A=w.date,q=w.utc,Y=w.args;this.$u=q;var L=Y[1];if(typeof L=="string"){var F=Y[2]===!0,P=Y[3]===!0,T=F||P,M=Y[2];P&&(M=Y[2]),a=this.$locale(),!F&&M&&(a=y.Ls[M]),this.$d=function(oe,j,J){try{if(["x","X"].indexOf(j)>-1)return new Date((j==="X"?1e3:1)*oe);var R=b(j)(oe),z=R.year,X=R.month,re=R.day,ge=R.hours,be=R.minutes,ve=R.seconds,ye=R.milliseconds,de=R.zone,ue=new Date,Z=re||(z||X?1:ue.getDate()),te=z||ue.getFullYear(),D=0;z&&!X||(D=X>0?X-1:ue.getMonth());var O=ge||0,he=be||0,ne=ve||0,G=ye||0;return de?new Date(Date.UTC(te,D,Z,O,he,ne,G+60*de.offset*1e3)):J?new Date(Date.UTC(te,D,Z,O,he,ne,G)):new Date(te,D,Z,O,he,ne,G)}catch(ae){return new Date("")}}(A,L,q),this.init(),M&&M!==!0&&(this.$L=this.locale(M).$L),T&&A!=this.format(L)&&(this.$d=new Date("")),a={}}else if(L instanceof Array)for(var K=L.length,N=1;N<=K;N+=1){Y[1]=L[N-1];var ee=y.apply(this,Y);if(ee.isValid()){this.$d=ee.$d,this.$L=ee.$L,this.init();break}N===K&&(this.$d=new Date(""))}else E.call(this,w)}}})})(yr);var cd=yr.exports;const xr=c.getDefaultExportFromCjs(cd);function Ho(o,t){c.addMessages(o,t)}function dd(o){c.$locale.set(o)}const Yo={en:{titleSelfExclusion:"Self-Exclusion",selfExclusionText:"<p>While self-excluded, access to your account will be entirely restricted.</br>Self-exclusion can only be lifted after the period that you selected has passed by communicating with Customer Support, which will be subject to review and a cooling-off period. </br> Alternatively, you can choose to take a 'time out' (a break of up to 6 weeks) from our services via the '<a href='{baseurl}/{lang}/account/timeout'>Time out</a>' option. </br> If you would prefer just to close your account, '<a href='{baseurl}/{lang}/account/account-closure'>Account Closure</a>' you can choose to do so via the option.</br> We'd recommend you also read our '<a href='{baseurl}/{lang}/page/responsible-gambling'>Responsible Gambling</a>' help pages for further advice should you need it.",selfExclusionEmailText:"E-mail:",duration:"Duration:",dateInstructions:"In order to manually input date use the following format:",forever:"Forever",save:"Save",noPeriodSelected:"Please select a self exclusion period",selectAPeriod:"Select a period",temporarySelfExclusion:"Your self-exclusion period will last until the {date} 23:59.",permanentSelfExclusion:"Your self-exclusion period will be permanent.",SelfExclusionFor30Days:"30 Days",SelfExclusionFor2Months:"2 Months",SelfExclusionFor3Months:"3 Months",SelfExclusionFor6Months:"6 Months",SelfExclusionFor7Months:"7 Months",SelfExclusionFor8Months:"8 Months",SelfExclusionFor9Months:"9 Months",SelfExclusionFor10Months:"10 Months",SelfExclusionFor11Months:"11 Months",SelfExclusionFor1Year:"1 Year",SelfExclusionFor2Years:"2 Years",SelfExclusionFor5Years:"5 Years",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Until",confirmationModalTitle:"Confirmation",selfExclusionSuccess:"Self exclusion active",confirmationModalTextPeriodSelfExclusion:"Are you sure you want to self-exclude for {period}?",confirmationModalTextUntilSelfExclusion:"Are you sure you want to self-exclude until {date}?",errorSelfExclusionCall:"There was a problem while making the self exclusion request.",generalError:"There was an error while fetching the self exclusion.",InvalidSession:"The session is exipired."},"en-us":{titleSelfExclusion:"Self-Exclusion",selfExclusionText:"<p>While self-excluded, access to your account will be entirely restricted.</br>Self-exclusion can only be lifted after the period that you selected has passed by communicating with Customer Support, which will be subject to review and a cooling-off period. </br> Alternatively, you can choose to take a 'time out' (a break of up to 6 weeks) from our services via the '<a href='{baseurl}/{lang}/account/timeout'>Time out</a>' option. </br> If you would prefer just to close your account, '<a href='{baseurl}/{lang}/account/account-closure'>Account Closure</a>' you can choose to do so via the option.</br> We'd recommend you also read our '<a href='{baseurl}/{lang}/page/responsible-gambling'>Responsible Gambling</a>' help pages for further advice should you need it.",selfExclusionEmailText:"E-mail:",duration:"Duration:",dateInstructions:"In order to manually input date use the following format:",forever:"Forever",save:"Save",noPeriodSelected:"Please select a self exclusion period",selectAPeriod:"Select a period",temporarySelfExclusion:"Your self-exclusion period will last until the {date} 23:59.",permanentSelfExclusion:"Your self-exclusion period will be permanent.",SelfExclusionFor30Days:"30 Days",SelfExclusionFor2Months:"2 Months",SelfExclusionFor3Months:"3 Months",SelfExclusionFor6Months:"6 Months",SelfExclusionFor7Months:"7 Months",SelfExclusionFor8Months:"8 Months",SelfExclusionFor9Months:"9 Months",SelfExclusionFor10Months:"10 Months",SelfExclusionFor11Months:"11 Months",SelfExclusionFor1Year:"1 Year",SelfExclusionFor2Years:"2 Years",SelfExclusionFor5Years:"5 Years",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Until",confirmationModalTitle:"Confirmation",selfExclusionSuccess:"Self exclusion active",confirmationModalTextPeriodSelfExclusion:"Are you sure you want to self-exclude for {period}?",confirmationModalTextUntilSelfExclusion:"Are you sure you want to self-exclude until {date}?",errorSelfExclusionCall:"There was a problem while making the self exclusion request.",generalError:"There was an error while fetching the self exclusion.",InvalidSession:"The session is exipired."},"zh-hk":{titleSelfExclusion:"自我排除",selfExclusionText:"<p>在自我排除期間,您的帳戶將完全受到限制。</br> 自我排除僅可在您選擇的期間結束後,通過與客戶支援聯繫進行解除,並將接受審查和冷靜期。</br> 或者,您可以選擇通過'<a href='{baseurl}/{lang}/account/timeout'>暫停</a>'選項從我們的服務中暫停(最多6週)。</br> 如果您更願意關閉帳戶,可以通過'<a href='{baseurl}/{lang}/account/account-closure'>關閉帳戶</a>'選項進行關閉。</br> 我們建議您閱讀我們的'<a href='{baseurl}/{lang}/page/responsible-gambling'>負責任博彩</a>'幫助頁面以獲取進一步的建議。</p>",selfExclusionEmailText:"電子郵件:",duration:"時長:",dateInstructions:"如需手動輸入日期,請使用以下格式:",forever:"永久",save:"保存",noPeriodSelected:"請選擇自我排除時段",selectAPeriod:"選擇一個時段",temporarySelfExclusion:"您的自我排除期將持續到 {date} 23:59。",permanentSelfExclusion:"您的自我排除期將是永久性的。",SelfExclusionFor30Days:"30天",SelfExclusionFor2Months:"2個月",SelfExclusionFor3Months:"3個月",SelfExclusionFor6Months:"6個月",SelfExclusionFor7Months:"7個月",SelfExclusionFor8Months:"8個月",SelfExclusionFor9Months:"9個月",SelfExclusionFor10Months:"10個月",SelfExclusionFor11Months:"11個月",SelfExclusionFor1Year:"1年",SelfExclusionFor2Years:"2年",SelfExclusionFor5Years:"5年",SelfExclusionPermanent:"永久",SelfExclusionUntilSelectedDate:"直到",selfExclusionSuccess:"自我排斥活躍",confirmationModalTitle:"確認",confirmationModalTextPeriodSelfExclusion:"您確定要自我排除 {period} 嗎?",confirmationModalTextUntilSelfExclusion:"您確定要自我排除直到 {date} 嗎?",generalError:"提取自我排除时发生错误。",errorSelfExclusionCall:"发出自我排除请求时出现问题。",InvalidSession:"会话已过期。"},fr:{titleSelfExclusion:"Auto-Exclusion",selfExclusionText:"<p>Pendant la période d'auto-exclusion, l'accès à votre compte sera entièrement restreint.</br> L'auto-exclusion ne peut être levée qu'après la période que vous avez sélectionnée et en contactant le Service Client, sous réserve d'une révision et d'une période de réflexion.</br> Alternativement, vous pouvez choisir de prendre un '<a href='{baseurl}/{lang}/account/timeout'>temps de pause</a>' (jusqu'à 6 semaines) via l'option correspondante.</br> Si vous préférez simplement fermer votre compte, vous pouvez le faire via l'option '<a href='{baseurl}/{lang}/account/account-closure'>Fermeture de compte</a>'.</br> Nous vous recommandons également de consulter nos pages d'aide '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jeu Responsable</a>' pour des conseils supplémentaires si nécessaire.</p>",selfExclusionEmailText:"E-mail :",duration:"Durée :",dateInstructions:"Pour saisir une date manuellement, utilisez le format suivant :",forever:"Pour toujours",save:"Enregistrer",noPeriodSelected:"Veuillez sélectionner une période d'auto-exclusion",selectAPeriod:"Sélectionnez une période",temporarySelfExclusion:"Votre période d'auto-exclusion durera jusqu'au {date} 23:59.",permanentSelfExclusion:"Votre période d'auto-exclusion sera permanente.",SelfExclusionFor30Days:"30 Jours",SelfExclusionFor2Months:"2 Mois",SelfExclusionFor3Months:"3 Mois",SelfExclusionFor6Months:"6 Mois",SelfExclusionFor7Months:"7 Mois",SelfExclusionFor8Months:"8 Mois",SelfExclusionFor9Months:"9 Mois",SelfExclusionFor10Months:"10 Mois",SelfExclusionFor11Months:"11 Mois",SelfExclusionFor1Year:"1 An",SelfExclusionFor2Years:"2 Ans",SelfExclusionFor5Years:"5 Ans",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Jusqu'à",selfExclusionSuccess:"Auto exclusion active",confirmationModalTitle:"Confirmation",confirmationModalTextPeriodSelfExclusion:"Êtes-vous sûr de vouloir vous auto-exclure pour {period} ?",confirmationModalTextUntilSelfExclusion:"Êtes-vous sûr de vouloir vous auto-exclure jusqu'au {date} ?",generalError:"Une erreur s'est produite lors de la récupération de l'auto-exclusion.",errorSelfExclusionCall:"Un problème est survenu lors de la demande d'auto-exclusion.",InvalidSession:"La session a expiré."},ro:{titleSelfExclusion:"Auto-Excludere",selfExclusionText:"<p>În timpul perioadei de autoexcludere, accesul la contul dvs. va fi complet restricționat.</br> Autoexcluderea poate fi ridicată numai după ce perioada selectată de dvs. a expirat, contactând Suportul Clienți, și va fi supusă unei revizuiri și unei perioade de reflecție.</br> Alternativ, puteți alege să luați o '<a href='{baseurl}/{lang}/account/timeout'>pauză</a>' (o întrerupere de până la 6 săptămâni) prin opțiunea corespunzătoare.</br> Dacă preferați să vă închideți contul, puteți face acest lucru prin opțiunea '<a href='{baseurl}/{lang}/account/account-closure'>Închidere cont</a>'.</br> Vă recomandăm, de asemenea, să consultați paginile noastre de ajutor '<a href='{baseurl}/{lang}/page/responsible-gambling'>Joc Responsabil</a>' pentru sfaturi suplimentare, dacă este necesar.</p>",selfExclusionEmailText:"E-mail:",duration:"Durată:",dateInstructions:"Pentru a introduce manual o dată, utilizați următorul format:",forever:"Pentru totdeauna",save:"Salvează",noPeriodSelected:"Vă rugăm să selectați o perioadă de auto-excludere",selectAPeriod:"Selectați o perioadă",temporarySelfExclusion:"Perioada dvs. de auto-excludere va dura până la {date} 23:59.",permanentSelfExclusion:"Perioada dvs. de auto-excludere va fi permanentă.",SelfExclusionFor30Days:"30 de Zile",SelfExclusionFor2Months:"2 Luni",SelfExclusionFor3Months:"3 Luni",SelfExclusionFor6Months:"6 Luni",SelfExclusionFor7Months:"7 Luni",SelfExclusionFor8Months:"8 Luni",SelfExclusionFor9Months:"9 Luni",SelfExclusionFor10Months:"10 Luni",SelfExclusionFor11Months:"11 Luni",SelfExclusionFor1Year:"1 An",SelfExclusionFor2Years:"2 Ani",SelfExclusionFor5Years:"5 Ani",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Până la",selfExclusionSuccess:"Auto-excludere activa",confirmationModalTitle:"Confirmare",confirmationModalTextPeriodSelfExclusion:"Sunteți sigur că doriți să vă auto-excludeți pentru {period}?",confirmationModalTextUntilSelfExclusion:"Sunteți sigur că doriți să vă auto-excludeți până la {date}?",generalError:"A apărut o eroare la preluarea auto-excluderii.",errorSelfExclusionCall:"A apărut o problemă la efectuarea cererii de auto-excludere.",InvalidSession:"Sesiunea a expirat."},es:{titleSelfExclusion:"Autoexclusión",selfExclusionText:"<p>Mientras esté autoexcluido, el acceso a su cuenta estará completamente restringido.</br> La autoexclusión solo se puede levantar después de que haya pasado el período seleccionado, comunicándose con Atención al Cliente, sujeto a una revisión y un período de enfriamiento.</br> Alternativamente, puede optar por tomarse un '<a href='{baseurl}/{lang}/account/timeout'>descanso</a>' (un descanso de hasta 6 semanas) a través de la opción correspondiente.</br> Si prefiere cerrar su cuenta, puede hacerlo a través de la opción '<a href='{baseurl}/{lang}/account/account-closure'>Cierre de Cuenta</a>'.</br> También le recomendamos que lea nuestras páginas de ayuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Juego Responsable</a>' para obtener más consejos si los necesita.</p>",selfExclusionEmailText:"Correo electrónico:",duration:"Duración:",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",forever:"Para siempre",save:"Guardar",noPeriodSelected:"Por favor, seleccione un período de autoexclusión",selectAPeriod:"Seleccione un período",temporarySelfExclusion:"Su período de autoexclusión durará hasta el {date} a las 23:59.",permanentSelfExclusion:"Su período de autoexclusión será permanente.",SelfExclusionFor30Days:"30 Días",SelfExclusionFor2Months:"2 Meses",SelfExclusionFor3Months:"3 Meses",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor7Months:"7 Meses",SelfExclusionFor8Months:"8 Meses",SelfExclusionFor9Months:"9 Meses",SelfExclusionFor10Months:"10 Meses",SelfExclusionFor11Months:"11 Meses",SelfExclusionFor1Year:"1 Año",SelfExclusionFor2Years:"2 Años",SelfExclusionFor5Years:"5 Años",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Hasta",selfExclusionSuccess:"Auto Exclusión activa.",confirmationModalTitle:"Confirmación",confirmationModalTextPeriodSelfExclusion:"¿Estás seguro de que deseas autoexcluirte por {period}?",confirmationModalTextUntilSelfExclusion:"¿Estás seguro de que deseas autoexcluirte hasta {date}?",generalError:"Hubo un error al obtener la autoexclusión.",errorSelfExclusionCall:"Hubo un problema al hacer la solicitud de autoexclusión.",InvalidSession:"La sesión ha expirado."},pt:{titleSelfExclusion:"Autoexclusão",selfExclusionText:"<p>Durante o período de autoexclusão, o acesso à sua conta estará totalmente restrito.</br> A autoexclusão só pode ser levantada após o término do período selecionado, entrando em contato com o Suporte ao Cliente, sujeito a uma revisão e a um período de reflexão.</br> Alternativamente, você pode optar por fazer uma '<a href='{baseurl}/{lang}/account/timeout'>pausa</a>' (um intervalo de até 6 semanas) através da opção correspondente.</br> Se preferir encerrar a sua conta, pode fazê-lo através da opção '<a href='{baseurl}/{lang}/account/account-closure'>Encerramento de Conta</a>'.</br> Recomendamos também que leia as nossas páginas de ajuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jogo Responsável</a>' para obter mais conselhos, caso necessite.</p>",selfExclusionEmailText:"E-mail:",duration:"Duração:",dateInstructions:"Para introduzir manualmente a data, utilize o seguinte formato:",forever:"Para sempre",save:"Guardar",noPeriodSelected:"Por favor, selecione um período de autoexclusão",selectAPeriod:"Selecione um período",temporarySelfExclusion:"O seu período de autoexclusão durará até às {date} 23:59.",permanentSelfExclusion:"O seu período de autoexclusão será permanente.",SelfExclusionFor30Days:"30 Dias",SelfExclusionFor2Months:"2 Meses",SelfExclusionFor3Months:"3 Meses",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor7Months:"7 Meses",SelfExclusionFor8Months:"8 Meses",SelfExclusionFor9Months:"9 Meses",SelfExclusionFor10Months:"10 Meses",SelfExclusionFor11Months:"11 Meses",SelfExclusionFor1Year:"1 Ano",SelfExclusionFor2Years:"2 Anos",SelfExclusionFor5Years:"5 Anos",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Até",selfExclusionSuccess:"Autoexclusão ativa",confirmationModalTitle:"Confirmação",confirmationModalTextPeriodSelfExclusion:"Tem a certeza de que deseja autoexcluir-se por {period}?",confirmationModalTextUntilSelfExclusion:"Tem a certeza de que deseja autoexcluir-se até {date}?",generalError:"Ocorreu um erro ao buscar a autoexclusão.",errorSelfExclusionCall:"Ocorreu um problema ao fazer a solicitação de autoexclusão.",InvalidSession:"A sessão expirou."},hr:{titleSelfExclusion:"Samoisključenje",selfExclusionText:"<p>Tijekom razdoblja samoisključenja, pristup vašem računu bit će potpuno ograničen.</br> Samoisključenje se može ukinuti tek nakon što istekne razdoblje koje ste odabrali, uz kontaktiranje Korisničke podrške, uz reviziju i razdoblje hlađenja.</br> Alternativno, možete odabrati '<a href='{baseurl}/{lang}/account/timeout'>stanku</a>' (pauzu do 6 tjedana) putem odgovarajuće opcije.</br> Ako radije želite zatvoriti svoj račun, to možete učiniti putem opcije '<a href='{baseurl}/{lang}/account/account-closure'>Zatvaranje računa</a>'.</br> Također vam preporučujemo da pročitate naše stranice s pomoći o '<a href='{baseurl}/{lang}/page/responsible-gambling'>Odgovorno kockanje</a>' za dodatne savjete, ako su vam potrebni.</p>",selfExclusionEmailText:"E-mail:",duration:"Trajanje:",dateInstructions:"Za ručni unos datuma koristite sljedeći format:",forever:"Zauvijek",save:"Spremi",noPeriodSelected:"Molimo odaberite razdoblje samoisključenja",selectAPeriod:"Odaberite razdoblje",temporarySelfExclusion:"Vaše razdoblje samoisključenja trajat će do {date} 23:59.",permanentSelfExclusion:"Vaše razdoblje samoisključenja bit će trajno.",SelfExclusionFor30Days:"30 Dana",SelfExclusionFor2Months:"2 Mjeseca",SelfExclusionFor3Months:"3 Mjeseca",SelfExclusionFor6Months:"6 Mjeseci",SelfExclusionFor7Months:"7 Mjeseci",SelfExclusionFor8Months:"8 Mjeseci",SelfExclusionFor9Months:"9 Mjeseci",SelfExclusionFor10Months:"10 Mjeseci",SelfExclusionFor11Months:"11 Mjeseci",SelfExclusionFor1Year:"1 Godina",SelfExclusionFor2Years:"2 Godina",SelfExclusionFor5Years:"5 Godina",SelfExclusionPermanent:"Trajno",SelfExclusionUntilSelectedDate:"Do",selfExclusionSuccess:"Aktivno samoisključivanje",confirmationModalTitle:"Potvrda",confirmationModalTextPeriodSelfExclusion:"Jeste li sigurni da se želite samoisključiti na {period}?",confirmationModalTextUntilSelfExclusion:"Jeste li sigurni da se želite samoisključiti do {date}?",generalError:"Došlo je do pogreške prilikom dohvaćanja samoisključenja.",errorSelfExclusionCall:"Došlo je do problema prilikom slanja zahtjeva za samoisključenje.",InvalidSession:"Sesija je istekla."},"pt-br":{titleSelfExclusion:"Autoexclusão",selfExclusionText:"<p>Durante o período de autoexclusão, o acesso à sua conta será completamente restrito.</br> A autoexclusão só pode ser removida após o término do período selecionado, entrando em contato com o Suporte ao Cliente, sujeito a revisão e a um período de reflexão.</br> Alternativamente, você pode optar por fazer um '<a href='{baseurl}/{lang}/account/timeout'>intervalo</a>' (uma pausa de até 6 semanas) através da opção correspondente.</br> Se preferir encerrar sua conta, você pode fazer isso através da opção '<a href='{baseurl}/{lang}/account/account-closure'>Encerramento de Conta</a>'.</br> Recomendamos também que leia nossas páginas de ajuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jogo Responsável</a>' para obter mais conselhos, caso necessite.</p>",selfExclusionEmailText:"E-mail:",duration:"Duração:",dateInstructions:"Para inserir manualmente a data, use o seguinte formato:",forever:"Para sempre",save:"Salvar",noPeriodSelected:"Por favor, selecione um período de autoexclusão",selectAPeriod:"Selecione um período",temporarySelfExclusion:"Seu período de autoexclusão durará até {date} às 23:59.",permanentSelfExclusion:"Seu período de autoexclusão será permanente.",SelfExclusionFor30Days:"30 Dias",SelfExclusionFor2Months:"2 Meses",SelfExclusionFor3Months:"3 Meses",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor7Months:"7 Meses",SelfExclusionFor8Months:"8 Meses",SelfExclusionFor9Months:"9 Meses",SelfExclusionFor10Months:"10 Meses",SelfExclusionFor11Months:"11 Meses",SelfExclusionFor1Year:"1 Ano",SelfExclusionFor2Years:"2 Anos",SelfExclusionFor5Years:"5 Anos",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Até",selfExclusionSuccess:"Autoexclusão ativa",confirmationModalTitle:"Confirmação",confirmationModalTextPeriodSelfExclusion:"Você tem certeza de que deseja se autoexcluir por {period}?",confirmationModalTextUntilSelfExclusion:"Você tem certeza de que deseja se autoexcluir até {date}?",generalError:"Houve um erro ao buscar a autoexclusão.",errorSelfExclusionCall:"Houve um problema ao fazer a solicitação de autoexclusão.",InvalidSession:"A sessão expirou."},"es-mx":{titleSelfExclusion:"Autoexclusión",selfExclusionText:"<p>Mientras esté autoexcluido, el acceso a su cuenta estará completamente restringido.</br> La autoexclusión solo puede levantarse después de que haya pasado el período que seleccionó, comunicándose con el Servicio al Cliente, sujeto a una revisión y un período de enfriamiento.</br> Alternativamente, puede elegir tomarse un '<a href='{baseurl}/{lang}/account/timeout'>descanso</a>' (una pausa de hasta 6 semanas) a través de la opción correspondiente.</br> Si prefiere cerrar su cuenta, puede hacerlo mediante la opción '<a href='{baseurl}/{lang}/account/account-closure'>Cierre de Cuenta</a>'.</br> También le recomendamos leer nuestras páginas de ayuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Juego Responsable</a>' para obtener más consejos si lo necesita.</p>",selfExclusionEmailText:"Correo electrónico:",duration:"Duración:",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",forever:"Para siempre",save:"Guardar",noPeriodSelected:"Por favor, seleccione un período de autoexclusión",selectAPeriod:"Seleccione un período",temporarySelfExclusion:"Su período de autoexclusión durará hasta el {date} a las 23:59.",permanentSelfExclusion:"Su período de autoexclusión será permanente.",SelfExclusionFor30Days:"30 Días",SelfExclusionFor2Months:"2 Meses",SelfExclusionFor3Months:"3 Meses",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor7Months:"7 Meses",SelfExclusionFor8Months:"8 Meses",SelfExclusionFor9Months:"9 Meses",SelfExclusionFor10Months:"10 Meses",SelfExclusionFor11Months:"11 Meses",SelfExclusionFor1Year:"1 Año",SelfExclusionFor2Years:"2 Anos",SelfExclusionFor5Years:"5 Años",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Hasta",selfExclusionSuccess:"Auto-exclusión activa",confirmationModalTitle:"Confirmación",confirmationModalTextPeriodSelfExclusion:"¿Estás seguro de que deseas autoexcluirte por {period}?",confirmationModalTextUntilSelfExclusion:"¿Estás seguro de que deseas autoexcluirte hasta {date}?",generalError:"Hubo un error al obtener la autoexclusión.",errorSelfExclusionCall:"Hubo un problema al hacer la solicitud de autoexclusión.",InvalidSession:"La sesión ha expirado."},tr:{titleSelfExclusion:"Kendi Kendini Hariç Tutma",selfExclusionText:"<p>Kendinizi dışlama süresince hesabınıza erişiminiz tamamen kısıtlanacaktır.</br> Kendinizi dışlama, yalnızca seçtiğiniz süre sona erdikten sonra, Müşteri Hizmetleri ile iletişime geçerek kaldırılabilir ve inceleme ile bir düşünme süresine tabi olacaktır.</br> Alternatif olarak, '<a href='{baseurl}/{lang}/account/timeout'>Mola</a>' seçeneğiyle hizmetlerimizden (6 haftaya kadar bir ara) faydalanmayı tercih edebilirsiniz.</br> Hesabınızı kapatmayı tercih ederseniz, bunu '<a href='{baseurl}/{lang}/account/account-closure'>Hesap Kapatma</a>' seçeneği aracılığıyla yapabilirsiniz.</br> Ayrıca, gerektiğinde daha fazla tavsiye almak için '<a href='{baseurl}/{lang}/page/responsible-gambling'>Sorumlu Oyun</a>' yardım sayfalarımızı okumanızı öneririz.</p>",selfExclusionEmailText:"E-posta:",duration:"Süre:",dateInstructions:"Tarihi manuel olarak girmek için şu formatı kullanın:",forever:"Sonsuza kadar",save:"Kaydet",noPeriodSelected:"Lütfen bir kendi kendini hariç tutma süresi seçin",selectAPeriod:"Bir süre seçin",temporarySelfExclusion:"Kendi kendini hariç tutma süreniz {date} saat 23:59'a kadar sürecektir.",permanentSelfExclusion:"Kendi kendini hariç tutma süreniz kalıcı olacaktır.",SelfExclusionFor30Days:"30 Gün",SelfExclusionFor2Months:"2 Ay",SelfExclusionFor3Months:"3 Ay",SelfExclusionFor6Months:"6 Ay",SelfExclusionFor7Months:"7 Ay",SelfExclusionFor8Months:"8 Ay",SelfExclusionFor9Months:"9 Ay",SelfExclusionFor10Months:"10 Ay",SelfExclusionFor11Months:"11 Ay",SelfExclusionFor1Year:"1 Yıl",SelfExclusionFor2Years:"2 Yıl",SelfExclusionFor5Years:"5 Yıl",SelfExclusionPermanent:"Kalıcı",SelfExclusionUntilSelectedDate:"Tarihe kadar",selfExclusionSuccess:"Kendini dışlama etkin",confirmationModalTitle:"Onay",confirmationModalTextPeriodSelfExclusion:"{period} için kendinizi hariç tutmak istediğinizden emin misiniz?",confirmationModalTextUntilSelfExclusion:"{date} tarihine kadar kendinizi hariç tutmak istediğinizden emin misiniz?",generalError:"Kendi kendini dışlama alınırken bir hata oluştu.",errorSelfExclusionCall:"Kendi kendini dışlama isteği yapılırken bir sorun oluştu.",InvalidSession:"Oturum süresi doldu."}};function ud(o){c.append_styles(o,"svelte-gvegix",'a{cursor:pointer;text-decoration:underline;font-weight:600}.PlayerSelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionContainer{border-radius:var(--emw--border-radius-medium, 10px);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));container-type:inline-size}.SelfExclusionContainer .SelfExclusionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:var(--emw--border-radius-medium, 10px);max-width:100%;min-height:500px;opacity:1;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SelfExclusionContainer .SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-bold, 700)}.SelfExclusionTitle.SelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px)}.SelfExclusionNotification{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionNotification.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionNotification .SelfExclusionDescriptionText p{font-size:16px}.SelfExclusionNotification .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px;min-height:180px}.SelfExclusionDescription p{font-size:16px}.SelfExclusionDescription a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}}.SelfExclusionConfigWrapper{width:50%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel p{margin:0;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon.active{transform:rotateZ(0deg)}.SelfExclusionConfigWrapper .SelfExclusionDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586B);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:0px 0px var(--emw--border-radius-medium, 10px) var(--emw--border-radius-medium, 10px)}.SelfExclusionConfigWrapper .SelfExclusionDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transition:all 0.5s ease-in-out;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:600px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--color-primary, #23B04E);border-radius:var(--emw--border-radius-medium, 10px);padding:20px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF);cursor:pointer;border:none}.SelfExclusionActionButtons .SelfExclusionSave:hover{filter:brightness(0.9)}.SelfExclusionActionButtons .SelfExclusionSave:disabled{opacity:0.5;cursor:default}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function $o(o,t,e){const i=o.slice();return i[56]=t[e],i}function hd(o){let t,e,i,s,r=o[21]("titleSelfExclusion")+"",n,a,l,d,u=o[21]("selfExclusionText",{values:{operatorname:o[2],baseurl:o[4],lang:o[1]}})+"",h,p,m=o[21]("selfExclusionEmailText")+"",b,f,g,y,v,E,w,A,q,Y=o[21](`${o[14]}`)+"",L,F,P,T,M,K,N,ee,oe,j,J,R,z,X=o[21]("save")+"",re,ge,be,ve,ye,de,ue,Z=o[23]&&fd(o),te=c.ensure_array_like(o[10]),D=[];for(let x=0;x<te.length;x+=1)D[x]=jo($o(o,te,x));let O=o[17]&&Vo(o);function he(x,k){return x[16]?gd:x[18]?md:_d}let ne=he(o),G=ne(o),ae=o[24]&&bd(o);return{c(){t=c.element("div"),e=c.element("form"),Z&&Z.c(),i=c.space(),s=c.element("h2"),n=c.text(r),a=c.space(),l=c.element("div"),d=c.element("p"),h=c.space(),p=c.element("p"),b=c.text(m),f=c.space(),g=c.element("a"),y=c.text(o[3]),E=c.space(),w=c.element("div"),A=c.element("div"),q=c.element("p"),L=c.text(Y),F=c.space(),P=c.svg_element("svg"),T=c.svg_element("g"),M=c.svg_element("path"),K=c.space(),N=c.element("div");for(let x=0;x<D.length;x+=1)D[x].c();ee=c.space(),O&&O.c(),oe=c.space(),j=c.element("div"),G.c(),J=c.space(),R=c.element("div"),z=c.element("button"),re=c.text(X),ve=c.space(),ae&&ae.c(),ye=c.empty(),c.attr(s,"class","PlayerSelfExclusionTitle "+(o[23]?"PlayerSelfExclusionTitleNone":"")),c.attr(d,"class","SelfExclusionDescriptionText"),c.attr(g,"href",v="mailto:"+o[3]),c.attr(p,"class","SelfExclusionDescriptionText"),c.attr(l,"class","SelfExclusionDescription "+(o[23]?"SelfExclusionDescriptionMobile":"")),c.attr(M,"d","M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"),c.attr(M,"stroke-linecap","round"),c.attr(P,"xmlns","http://www.w3.org/2000/svg"),c.attr(P,"xmlns:xlink","http://www.w3.org/1999/xlink"),c.attr(P,"version","1.1"),c.attr(P,"viewBox","0 0 100 100"),c.attr(P,"xml:space","preserve"),c.attr(P,"class","SelfExclusionConfigIcon"),c.toggle_class(P,"active",o[19]),c.attr(A,"class","SelfExclusionConfigLabel"),c.attr(N,"class","SelfExclusionDropDown"),c.toggle_class(N,"active",o[19]),c.attr(w,"class","SelfExclusionConfigWrapper "+(o[23]?"SelfExclusionConfigWrapperMobile":"")),c.toggle_class(w,"active",o[19]),c.attr(j,"class","SelfExclusionNotification "+(o[23]?"SelfExclusionDescriptionMobile":"")),c.attr(z,"class",ge="SelfExclusionSave "+(o[18]?"active":"")),z.disabled=be=!o[18],c.attr(R,"class","SelfExclusionActionButtons "+(o[23]?"SelfExclusionActionButtonsMobile":"")),c.attr(e,"class","SelfExclusionWrapper "+(o[23]?"SelfExclusionWrapperMobile":"")),c.attr(t,"class","SelfExclusionContainer")},m(x,k){c.insert(x,t,k),c.append(t,e),Z&&Z.m(e,null),c.append(e,i),c.append(e,s),c.append(s,n),c.append(e,a),c.append(e,l),c.append(l,d),d.innerHTML=u,c.append(l,h),c.append(l,p),c.append(p,b),c.append(p,f),c.append(p,g),c.append(g,y),c.append(e,E),c.append(e,w),c.append(w,A),c.append(A,q),c.append(q,L),c.append(A,F),c.append(A,P),c.append(P,T),c.append(T,M),c.append(w,K),c.append(w,N);for(let B=0;B<D.length;B+=1)D[B]&&D[B].m(N,null);c.append(e,ee),O&&O.m(e,null),c.append(e,oe),c.append(e,j),G.m(j,null),c.append(e,J),c.append(e,R),c.append(R,z),c.append(z,re),c.insert(x,ve,k),ae&&ae.m(x,k),c.insert(x,ye,k),de||(ue=[c.listen(A,"click",o[37]),c.listen(z,"click",o[40])],de=!0)},p(x,k){if(x[23]&&Z.p(x,k),k[0]&2097152&&r!==(r=x[21]("titleSelfExclusion")+"")&&c.set_data(n,r),k[0]&2097174&&u!==(u=x[21]("selfExclusionText",{values:{operatorname:x[2],baseurl:x[4],lang:x[1]}})+"")&&(d.innerHTML=u),k[0]&2097152&&m!==(m=x[21]("selfExclusionEmailText")+"")&&c.set_data(b,m),k[0]&8&&c.set_data(y,x[3]),k[0]&8&&v!==(v="mailto:"+x[3])&&c.attr(g,"href",v),k[0]&2113536&&Y!==(Y=x[21](`${x[14]}`)+"")&&c.set_data(L,Y),k[0]&524288&&c.toggle_class(P,"active",x[19]),k[0]&69207040){te=c.ensure_array_like(x[10]);let B;for(B=0;B<te.length;B+=1){const mt=$o(x,te,B);D[B]?D[B].p(mt,k):(D[B]=jo(mt),D[B].c(),D[B].m(N,null))}for(;B<D.length;B+=1)D[B].d(1);D.length=te.length}k[0]&524288&&c.toggle_class(N,"active",x[19]),k[0]&524288&&c.toggle_class(w,"active",x[19]),x[17]?O?O.p(x,k):(O=Vo(x),O.c(),O.m(e,oe)):O&&(O.d(1),O=null),ne===(ne=he(x))&&G?G.p(x,k):(G.d(1),G=ne(x),G&&(G.c(),G.m(j,null))),k[0]&2097152&&X!==(X=x[21]("save")+"")&&c.set_data(re,X),k[0]&262144&&ge!==(ge="SelfExclusionSave "+(x[18]?"active":""))&&c.attr(z,"class",ge),k[0]&262144&&be!==(be=!x[18])&&(z.disabled=be),x[24]&&ae.p(x,k)},d(x){x&&(c.detach(t),c.detach(ve),c.detach(ye)),Z&&Z.d(),c.destroy_each(D,x),O&&O.d(),G.d(),ae&&ae.d(x),de=!1,c.run_all(ue)}}}function pd(o){let t,e,i,s,r,n,a,l,d,u,h,p,m,b,f,g,y,v,E,w,A;function q(F,P){return F[23]?yd:vd}let L=q(o)(o);return{c(){t=c.element("div"),e=c.element("div"),L.c(),i=c.space(),s=c.element("div"),r=c.element("ui-skeleton"),n=c.space(),a=c.element("div"),l=c.space(),d=c.element("ui-skeleton"),u=c.space(),h=c.element("div"),p=c.space(),m=c.element("div"),b=c.element("ui-skeleton"),f=c.space(),g=c.element("div"),y=c.space(),v=c.element("ui-skeleton"),E=c.space(),w=c.element("div"),A=c.element("ui-skeleton"),c.set_custom_element_data(r,"structure","text"),c.set_custom_element_data(r,"height",o[23]?"15px":"20px"),c.set_custom_element_data(r,"rows",o[23]?"12":"5"),c.set_custom_element_data(r,"width",o[23]?"100%":"60%"),c.set_style(a,"height",o[23]?"10px":"20px"),c.set_custom_element_data(d,"structure","text"),c.set_custom_element_data(d,"height",o[23]?"15px":"20px"),c.set_custom_element_data(d,"width","30%"),c.set_style(h,"height","10px"),c.attr(s,"class","SelfExclusionDescription"),c.set_custom_element_data(b,"structure","rectangle"),c.set_custom_element_data(b,"width",o[23]?"100%":"50%"),c.set_custom_element_data(b,"height",o[23]?"30px":"44px"),c.set_style(g,"height",o[23]?"15px":"20px"),c.set_custom_element_data(v,"structure","text"),c.set_custom_element_data(v,"height",o[23]?"15px":"20px"),c.set_custom_element_data(v,"width","30%"),c.attr(m,"class","SelfExclusionConfig"),c.set_custom_element_data(A,"structure","rectangle"),c.set_custom_element_data(A,"width","100%"),c.set_custom_element_data(A,"height",o[23]?"35px":"50px"),c.attr(w,"class","SelfExclusionActionButtons "+(o[23]?"SelfExclusionActionButtonsMobile":"")),c.attr(e,"class","SelfExclusionWrapper "+(o[23]?"SelfExclusionWrapperMobile":"")),c.attr(t,"class","SelfExclusionContainer")},m(F,P){c.insert(F,t,P),c.append(t,e),L.m(e,null),c.append(e,i),c.append(e,s),c.append(s,r),c.append(s,n),c.append(s,a),c.append(s,l),c.append(s,d),c.append(s,u),c.append(s,h),c.append(e,p),c.append(e,m),c.append(m,b),c.append(m,f),c.append(m,g),c.append(m,y),c.append(m,v),c.append(e,E),c.append(e,w),c.append(w,A)},p:c.noop,d(F){F&&c.detach(t),L.d()}}}function fd(o){let t,e,i,s,r,n,a,l,d,u,h=o[21]("titleSelfExclusion")+"",p,m,b;return{c(){t=c.element("div"),e=c.svg_element("svg"),i=c.svg_element("defs"),s=c.svg_element("style"),r=c.text(".aaa{fill:var(--emw--color-primary, #22B04E);}"),n=c.svg_element("g"),a=c.svg_element("g"),l=c.svg_element("path"),d=c.space(),u=c.element("h2"),p=c.text(h),c.attr(l,"class","aaa"),c.attr(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),c.attr(l,"transform","translate(15 15) rotate(180)"),c.attr(a,"transform","translate(20 158)"),c.attr(n,"transform","translate(-20 -158)"),c.attr(e,"xmlns","http://www.w3.org/2000/svg"),c.attr(e,"width","15"),c.attr(e,"height","15"),c.attr(e,"viewBox","0 0 15 15"),c.attr(u,"class","PlayerSelfExclusionTitleMobile"),c.attr(t,"class","MenuReturnButton")},m(f,g){c.insert(f,t,g),c.append(t,e),c.append(e,i),c.append(i,s),c.append(s,r),c.append(e,n),c.append(n,a),c.append(a,l),c.append(t,d),c.append(t,u),c.append(u,p),m||(b=c.listen(t,"click",o[36]),m=!0)},p(f,g){g[0]&2097152&&h!==(h=f[21]("titleSelfExclusion")+"")&&c.set_data(p,h)},d(f){f&&c.detach(t),m=!1,b()}}}function jo(o){let t,e=o[21](`${o[56].key}`)+"",i,s,r;function n(){return o[38](o[56])}return{c(){t=c.element("div"),i=c.text(e)},m(a,l){c.insert(a,t,l),c.append(t,i),s||(r=c.listen(t,"click",n),s=!0)},p(a,l){o=a,l[0]&2098176&&e!==(e=o[21](`${o[56].key}`)+"")&&c.set_data(i,e)},d(a){a&&c.detach(t),s=!1,r()}}}function Vo(o){let t,e,i=o[21]("duration")+"",s,r,n,a=o[21]("dateInstructions")+"",l,d,u,h,p,m,b;return{c(){t=c.element("div"),e=c.element("label"),s=c.text(i),r=c.space(),n=c.element("span"),l=c.text(a),d=c.space(),u=c.element("strong"),h=c.text(o[22]),p=c.element("strong"),m=c.space(),b=c.element("vaadin-date-picker"),c.attr(e,"for","SelfExclusionDate"),c.attr(n,"class","SelfExclusionDateInstructions"),c.set_custom_element_data(b,"min",o[11]),c.set_custom_element_data(b,"max",o[12]),c.set_custom_element_data(b,"value",o[13]),c.attr(t,"class","SelfExclusionDateWrapper "+(o[23]?"SelfExclusionDateWrapperMobile":""))},m(f,g){c.insert(f,t,g),c.append(t,e),c.append(e,s),c.append(t,r),c.append(t,n),c.append(n,l),c.append(n,d),c.append(n,u),c.append(u,h),c.append(u,p),c.append(t,m),c.append(t,b),o[39](b)},p(f,g){g[0]&2097152&&i!==(i=f[21]("duration")+"")&&c.set_data(s,i),g[0]&2097152&&a!==(a=f[21]("dateInstructions")+"")&&c.set_data(l,a),g[0]&2048&&c.set_custom_element_data(b,"min",f[11]),g[0]&4096&&c.set_custom_element_data(b,"max",f[12]),g[0]&8192&&c.set_custom_element_data(b,"value",f[13])},d(f){f&&c.detach(t),o[39](null)}}}function md(o){let t,e,i=o[21]("temporarySelfExclusion",{values:{date:fe.dayjs(o[13]).format(o[22])}})+"",s;return{c(){t=c.element("p"),e=c.element("strong"),s=c.text(i),c.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){c.insert(r,t,n),c.append(t,e),c.append(e,s)},p(r,n){n[0]&2105344&&i!==(i=r[21]("temporarySelfExclusion",{values:{date:fe.dayjs(r[13]).format(r[22])}})+"")&&c.set_data(s,i)},d(r){r&&c.detach(t)}}}function _d(o){let t,e,i=o[21]("noPeriodSelected")+"",s;return{c(){t=c.element("p"),e=c.element("strong"),s=c.text(i),c.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){c.insert(r,t,n),c.append(t,e),c.append(e,s)},p(r,n){n[0]&2097152&&i!==(i=r[21]("noPeriodSelected")+"")&&c.set_data(s,i)},d(r){r&&c.detach(t)}}}function gd(o){let t,e,i=o[21]("permanentSelfExclusion")+"",s;return{c(){t=c.element("p"),e=c.element("strong"),s=c.text(i),c.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){c.insert(r,t,n),c.append(t,e),c.append(e,s)},p(r,n){n[0]&2097152&&i!==(i=r[21]("permanentSelfExclusion")+"")&&c.set_data(s,i)},d(r){r&&c.detach(t)}}}function bd(o){let t,e,i,s;return{c(){t=c.element("player-account-modal"),e=c.element("player-account-general-confirmation-modal"),c.set_custom_element_data(e,"modaltitle",i=o[21]("confirmationModalTitle")),c.set_custom_element_data(e,"modaltext",o[15]),c.set_custom_element_data(e,"hascancelbutton",!1),c.set_custom_element_data(e,"modalconfirmevent",s={type:"setSelfExclusion",userid:o[0],selectedPeriodKey:o[14]}),c.set_custom_element_data(e,"mbsource",o[7]),c.set_custom_element_data(e,"lang",o[1]),c.set_custom_element_data(t,"clientstyling",o[5]),c.set_custom_element_data(t,"clientstylingurl",o[6]),c.set_custom_element_data(t,"mbsource",o[7]),c.set_custom_element_data(t,"showmodaleventname","ShowSelfExclusionConfirmationModal")},m(r,n){c.insert(r,t,n),c.append(t,e)},p(r,n){n[0]&2097152&&i!==(i=r[21]("confirmationModalTitle"))&&c.set_custom_element_data(e,"modaltitle",i),n[0]&32768&&c.set_custom_element_data(e,"modaltext",r[15]),n[0]&16385&&s!==(s={type:"setSelfExclusion",userid:r[0],selectedPeriodKey:r[14]})&&c.set_custom_element_data(e,"modalconfirmevent",s),n[0]&128&&c.set_custom_element_data(e,"mbsource",r[7]),n[0]&2&&c.set_custom_element_data(e,"lang",r[1]),n[0]&32&&c.set_custom_element_data(t,"clientstyling",r[5]),n[0]&64&&c.set_custom_element_data(t,"clientstylingurl",r[6]),n[0]&128&&c.set_custom_element_data(t,"mbsource",r[7])},d(r){r&&c.detach(t)}}}function vd(o){let t;return{c(){t=c.element("ui-skeleton"),c.set_custom_element_data(t,"structure","title"),c.set_custom_element_data(t,"width","100px"),c.set_custom_element_data(t,"margin-top","20px"),c.set_custom_element_data(t,"margin-bottom","20px")},m(e,i){c.insert(e,t,i)},d(e){e&&c.detach(t)}}}function yd(o){let t;return{c(){t=c.element("div"),t.innerHTML='<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>',c.attr(t,"class","MenuReturnButton")},m(e,i){c.insert(e,t,i)},d(e){e&&c.detach(t)}}}function xd(o){let t;function e(r,n){return r[20]?pd:hd}let i=e(o),s=i(o);return{c(){t=c.element("div"),s.c()},m(r,n){c.insert(r,t,n),s.m(t,null),o[41](t)},p(r,n){i===(i=e(r))&&s?s.p(r,n):(s.d(1),s=i(r),s&&(s.c(),s.m(t,null)))},i:c.noop,o:c.noop,d(r){r&&c.detach(t),s.d(),o[41](null)}}}function wd(o,t,e){let i;c.component_subscribe(o,c.$format,_=>e(21,i=_)),fe.dayjs.extend(xr);let{endpoint:s="",session:r="",userid:n="",lang:a="en",gmversion:l="",operator:d="Everymatrix",supportemail:u="",baseurl:h="",clientstyling:p="",clientstylingurl:m="",mbsource:b,translationurl:f="",hasconfirmationmodal:g="false",dateformat:y="DD/MM/YYYY",sendnotificationemail:v="false"}=t,E,w,A=y.toUpperCase(),q=[],Y={},L=window.navigator.userAgent,F,P,T="",M="",K="selectAPeriod",N="",ee="",oe=c.getDevice(L)!=="PC",j=!1,J=!1,R=!1,z=!1,X=g==="true",re=!0;const ge=()=>{fetch(f).then(V=>V.json()).then(V=>{Object.keys(V).forEach(U=>{Ho(U,V[U])})}).catch(V=>{console.log(V)})};Object.keys(Yo).forEach(_=>{Ho(_,Yo[_])});const be=()=>{let _=new URL(`${s}/v1/player/selfExclusionSettings`);fetch(_,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(U=>ye(U)).then(U=>{e(10,q=U.periods)}).catch(U=>{console.log(U),window.postMessage({type:"WidgetNotification",data:{type:"error",message:U.message}},window.location.href)}).finally(()=>{e(20,re=!1)})},ve=_=>{_.data.type==="setSelfExclusion"&&(e(0,n=_.data.userid),e(14,K=_.data.selectedPeriodKey),D())},ye=_=>Ke(this,null,function*(){var V;if(!_.ok){Y=yield _.json(),ee=(V=Y.thirdPartyResponse)==null?void 0:V.errorCode;const U=i(ee||"generalError");throw new Error(U)}return _.json()}),de=()=>{e(19,z=!z)},ue=_=>{switch(M=_.text,e(14,K=_.key),e(18,R=!0),e(19,z=!1),e(16,j=!1),e(17,J=!1),M){case"Until":e(17,J=!0),e(11,F=fe.dayjs().add(6,"M").format("YYYY-MM-DD")),e(12,P=fe.dayjs().add(5,"y").format("YYYY-MM-DD")),e(13,T=F);break;case"Permanent":e(16,j=!j);break;default:const[V,U]=M.split(" "),Ce=U.includes("Day")?"days":U.includes("Month")?"months":U.includes("Year")?"years":null;if(!Ce)return;e(13,T=fe.dayjs().add(Number(V),Ce).format("YYYY-MM-DD"));break}X&&Z()},Z=()=>{if(!X||!M||!T){e(15,N="");return}e(15,N=J?i("confirmationModalTextUntilSelfExclusion",{values:{date:fe.dayjs(T).format(A)}}):i("confirmationModalTextPeriodSelfExclusion",{values:{period:i(M)}}))},te=_=>{_.preventDefault(),X?(Z(),window.postMessage({type:"ShowSelfExclusionConfirmationModal"},window.location.href)):D()},D=()=>{e(20,re=!0);const _=new URL(`${s}/v2/player/${n}/limits${l==="gm16"?"/session":""}`),U={method:"PUT",headers:{"X-SessionID":r,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({selfExclusion:{period:K,expiryDate:T,selfExclusionReason:"UserRequest",sendNotificationEmail:v==="true"}})};fetch(_.href,U).then(Ce=>ye(Ce)).then(Ce=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:i("selfExclusionSuccess")}},window.location.href),window.postMessage({type:"LogoutSuccessfull"},window.location.href)}).catch(Ce=>{console.error(i("errorSelfExclusionCall"),Ce),window.postMessage({type:"WidgetNotification",data:{type:"error",message:i("errorSelfExclusionCall")}},window.location.href)}).finally(()=>{e(20,re=!1)})},O=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:oe},window.location.href)},he=_=>{e(13,T=_.target.value)},ne=()=>{w.addEventListener("change",he,!1),e(9,w.i18n=gt(_t({},w.i18n),{formatDate:_=>fe.dayjs(new Date(_.year,_.month,_.day)).format(A),parseDate:_=>{const V=fe.dayjs(_,A);return{year:V.year(),month:V.month(),day:V.date()}}}),w)};c.onMount(()=>(window.addEventListener("message",ve,!1),()=>{w.removeEventListener("change",he),window.removeEventListener("message",ve)}));const G=()=>{dd(a)},ae=()=>O(),x=()=>de(),k=_=>ue(_);function B(_){c.binding_callbacks[_?"unshift":"push"](()=>{w=_,e(9,w)})}const mt=_=>te(_);function Er(_){c.binding_callbacks[_?"unshift":"push"](()=>{E=_,e(8,E)})}return o.$$set=_=>{"endpoint"in _&&e(29,s=_.endpoint),"session"in _&&e(30,r=_.session),"userid"in _&&e(0,n=_.userid),"lang"in _&&e(1,a=_.lang),"gmversion"in _&&e(31,l=_.gmversion),"operator"in _&&e(2,d=_.operator),"supportemail"in _&&e(3,u=_.supportemail),"baseurl"in _&&e(4,h=_.baseurl),"clientstyling"in _&&e(5,p=_.clientstyling),"clientstylingurl"in _&&e(6,m=_.clientstylingurl),"mbsource"in _&&e(7,b=_.mbsource),"translationurl"in _&&e(32,f=_.translationurl),"hasconfirmationmodal"in _&&e(33,g=_.hasconfirmationmodal),"dateformat"in _&&e(34,y=_.dateformat),"sendnotificationemail"in _&&e(35,v=_.sendnotificationemail)},o.$$.update=()=>{o.$$.dirty[0]&2&&a&&G(),o.$$.dirty[0]&1610612737|o.$$.dirty[1]&1&&s&&r&&n&&l&&be(),o.$$.dirty[0]&512&&w&&ne(),o.$$.dirty[0]&288&&p&&E&&c.setClientStyling(E,p),o.$$.dirty[0]&320&&m&&E&&c.setClientStylingURL(E,m),o.$$.dirty[0]&384&&b&&E&&c.setStreamStyling(E,`${b}.Style`),o.$$.dirty[1]&2&&f&&ge()},X&&Z(),[n,a,d,u,h,p,m,b,E,w,q,F,P,T,K,N,j,J,R,z,re,i,A,oe,X,de,ue,te,O,s,r,l,f,g,y,v,ae,x,k,B,mt,Er]}class wr extends c.SvelteComponent{constructor(t){super(),c.init(this,t,wd,xd,c.safe_not_equal,{endpoint:29,session:30,userid:0,lang:1,gmversion:31,operator:2,supportemail:3,baseurl:4,clientstyling:5,clientstylingurl:6,mbsource:7,translationurl:32,hasconfirmationmodal:33,dateformat:34,sendnotificationemail:35},ud,[-1,-1])}get endpoint(){return this.$$.ctx[29]}set endpoint(t){this.$$set({endpoint:t}),c.flush()}get session(){return this.$$.ctx[30]}set session(t){this.$$set({session:t}),c.flush()}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),c.flush()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),c.flush()}get gmversion(){return this.$$.ctx[31]}set gmversion(t){this.$$set({gmversion:t}),c.flush()}get operator(){return this.$$.ctx[2]}set operator(t){this.$$set({operator:t}),c.flush()}get supportemail(){return this.$$.ctx[3]}set supportemail(t){this.$$set({supportemail:t}),c.flush()}get baseurl(){return this.$$.ctx[4]}set baseurl(t){this.$$set({baseurl:t}),c.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),c.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),c.flush()}get mbsource(){return this.$$.ctx[7]}set mbsource(t){this.$$set({mbsource:t}),c.flush()}get translationurl(){return this.$$.ctx[32]}set translationurl(t){this.$$set({translationurl:t}),c.flush()}get hasconfirmationmodal(){return this.$$.ctx[33]}set hasconfirmationmodal(t){this.$$set({hasconfirmationmodal:t}),c.flush()}get dateformat(){return this.$$.ctx[34]}set dateformat(t){this.$$set({dateformat:t}),c.flush()}get sendnotificationemail(){return this.$$.ctx[35]}set sendnotificationemail(t){this.$$set({sendnotificationemail:t}),c.flush()}}c.create_custom_element(wr,{endpoint:{},session:{},userid:{},lang:{},gmversion:{},operator:{},supportemail:{},baseurl:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},hasconfirmationmodal:{},dateformat:{},sendnotificationemail:{}},[],[],!0);const Ed=Object.freeze(Object.defineProperty({__proto__:null,default:wr},Symbol.toStringTag,{value:"Module"}));exports.CustomParseFormat=xr;exports.PlayerAccountSelfExclusionNd_ce=Ed;
|