@everymatrix/player-account-controller 1.72.1 → 1.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-CgxHUYZx.js → GeneralLogout-BHj50gej.js} +8 -8
- package/components/{GeneralLogout-CYE3twI-.js → GeneralLogout-INWUDrak.js} +8 -8
- package/components/PlayerAccountBettingHistory-6bdMRw7b.js +311 -0
- package/components/PlayerAccountBettingHistory-BG5_gjSl.cjs +1 -0
- package/components/PlayerAccountBettingHistory-DVj3QpKW.js +310 -0
- package/components/{PlayerAccountBiometrics-CCk_4MyI.js → PlayerAccountBiometrics-C5pUACUE.js} +1 -1
- package/components/{PlayerAccountBiometrics-DrmVF6dX.js → PlayerAccountBiometrics-DkxwtpuF.js} +1 -1
- package/components/{PlayerAccountClosure-B_xwOPds.js → PlayerAccountClosure-D2ApiUXV.js} +1 -1
- package/components/{PlayerAccountClosure-UwL_V2IO.js → PlayerAccountClosure-vPc-BArB.js} +1 -1
- package/components/{PlayerAccountController-CqAFUuWU.js → PlayerAccountController-2uMVXSSQ.js} +25 -25
- package/components/{PlayerAccountController-DOrj81a0.js → PlayerAccountController-COFCcEvV.js} +25 -25
- package/components/{PlayerAccountController-BoNq7g_6.cjs → PlayerAccountController-SUrzo8aT.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-B0QALjVi.js → PlayerAccountGamingLimits-BfrumTwY.js} +2 -2
- package/components/{PlayerAccountGamingLimits-C11On8aq.js → PlayerAccountGamingLimits-DlA29Y4p.js} +2 -2
- package/components/{PlayerAccountGamingLimitsConfirmationModal-57Q5qtf8.js → PlayerAccountGamingLimitsConfirmationModal-Cg5ndunr.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CztJ5DKd.js → PlayerAccountGamingLimitsConfirmationModal-D5LstV9w.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-CoayAtf0.js → PlayerAccountGamingLimitsGroupEdit-DN-VG2ye.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-C40tSY9Z.js → PlayerAccountGamingLimitsGroupEdit-vuv0-MMp.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-Br4h7_eS.js → PlayerAccountGamingLimitsHistory2-B8TPjC1F.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-BLK-Rk6N.js → PlayerAccountGamingLimitsHistory2-GRu_2NJ0.js} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-blI001Nx.js → PlayerAccountGamingLimitsInfoCard-8Ea7IE2K.js} +3 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-D5Vpi7Gd.js → PlayerAccountGamingLimitsInfoCard-BfD6DDSB.js} +3 -3
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BAQqtUjc.js → PlayerAccountGamingLimitsPage2Gm16-B02A1fGD.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Cov3S01u.js → PlayerAccountGamingLimitsPage2Gm16-CnUGDYRk.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DTb6cpuT.js → PlayerAccountGamingLimitsPopup-BlVtbm__.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Dz9ROowj.js → PlayerAccountGamingLimitsPopup-DPu9x2H3.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-LAdy0FnH.js → PlayerAccountGamingLimitsWrapper2-CqXn9yDd.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-CeTGUdpp.js → PlayerAccountGamingLimitsWrapper2-cJf0myiC.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-DbBEBukz.js → PlayerAccountGeneralConfirmationModal-BksqLS7V.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-DzZ3ym_J.js → PlayerAccountGeneralConfirmationModal-eHfDDGZk.js} +1 -1
- package/components/{PlayerAccountMenu-_Qnpkznr.js → PlayerAccountMenu-CE6Ej_rV.js} +2 -2
- package/components/{PlayerAccountMenu-T7u8nYfI.js → PlayerAccountMenu-Cp7Edaq0.js} +2 -2
- package/components/{PlayerAccountModal-Cbpkb5P6.js → PlayerAccountModal-CrjAmgmN.js} +31 -31
- package/components/{PlayerAccountModal-Co5a_OZZ.js → PlayerAccountModal-DYSDyLvm.js} +31 -31
- package/components/PlayerAccountNotifications-Cyle3r2h.cjs +1 -0
- package/components/{PlayerAccountNotifications-BeabE333.js → PlayerAccountNotifications-OyZ1fIUi.js} +21 -21
- package/components/PlayerAccountNotifications-qIJQNyMm.js +363 -0
- package/components/{PlayerAccountProductRestriction-Vl7EIMfJ.js → PlayerAccountProductRestriction-BZ2Y4yzU.js} +3 -3
- package/components/{PlayerAccountProductRestriction-DvqI77xo.js → PlayerAccountProductRestriction-L-vR790T.js} +3 -3
- package/components/{PlayerAccountSelfExclusion-Dq7G7DeK.js → PlayerAccountSelfExclusion-7psd7i6U.js} +229 -230
- package/components/{PlayerAccountSelfExclusion-BUoFSg8L.js → PlayerAccountSelfExclusion-Bd8SgB7m.js} +256 -256
- package/components/{PlayerAccountSelfExclusion-CC2VhBEv.cjs → PlayerAccountSelfExclusion-Dq1gDgcx.cjs} +8 -8
- package/components/{PlayerAccountTimeout-BuNhODT0.cjs → PlayerAccountTimeout-CMLyedNs.cjs} +1 -1
- package/components/{PlayerAccountTimeout-o11NOFXb.js → PlayerAccountTimeout-Dby2FPrP.js} +3 -3
- package/components/{PlayerAccountTimeout-Brl7HCpJ.js → PlayerAccountTimeout-uyeQ1--8.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-Dm5dcrFj.js → PlayerAccountTransactionsHistory-B5-KRVvB.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-DMr6unVm.js → PlayerAccountTransactionsHistory-BWsoBgd6.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-BBn9XxCH.cjs → PlayerAccountTransactionsHistory-Bn5gyj5f.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CaQNGq0m.js → PlayerActiveBonuses-C9i5xuOt.js} +2 -2
- package/components/{PlayerActiveBonuses-DX872Zcz.js → PlayerActiveBonuses-Cz3aqMcu.js} +2 -2
- package/components/{PlayerBonusCard-ZY8S04oT.js → PlayerBonusCard-DatoS2En.js} +2 -2
- package/components/{PlayerBonusCard-Cu5bJlh_.js → PlayerBonusCard-lMeM3LSx.js} +2 -2
- package/components/{PlayerBonusHistory-CNQrPTXb.js → PlayerBonusHistory-BUUBhu5n.js} +4 -4
- package/components/{PlayerBonusHistory-IbQagu8m.js → PlayerBonusHistory-BVbwQ0Zf.js} +4 -4
- package/components/{PlayerChangePassword-C2ZoKuCq.js → PlayerChangePassword-BUYrlClk.js} +1 -1
- package/components/{PlayerChangePassword-ChwKfBC6.js → PlayerChangePassword-CGqqlwlb.js} +1 -1
- package/components/{PlayerDeposit-BPZ5wCAZ.js → PlayerDeposit-CTxatYEW.js} +1 -1
- package/components/{PlayerDeposit-VLcz0tQH.js → PlayerDeposit-DQObc_n_.js} +1 -1
- package/components/{PlayerGamingHistory-DI45HNlI.js → PlayerGamingHistory-BAeIZw2u.js} +4 -4
- package/components/{PlayerGamingHistory-BBZLzVSS.js → PlayerGamingHistory-xZ8szCQB.js} +4 -4
- package/components/{PlayerPendingWithdrawals-go7okUzL.js → PlayerPendingWithdrawals-CuGt7dq1.js} +1 -1
- package/components/{PlayerPendingWithdrawals-DeNKdUgJ.js → PlayerPendingWithdrawals-Dek0JuV2.js} +1 -1
- package/components/{PlayerProfileInfo-C8q-cLYa.js → PlayerProfileInfo-BI4jNmXN.js} +1 -1
- package/components/{PlayerProfileInfo-bwbHpI6M.js → PlayerProfileInfo-C4dNo9s-.js} +1 -1
- package/components/{PlayerRealityCheck-C2w5S2fe.js → PlayerRealityCheck-8KkrG0sn.js} +1 -1
- package/components/{PlayerRealityCheck-BGNjgzIq.js → PlayerRealityCheck-CS9oAjTQ.js} +1 -1
- package/components/{PlayerTransactionHistory-A-aVfyoc.js → PlayerTransactionHistory-Cw0GAF5l.js} +1 -1
- package/components/{PlayerTransactionHistory-BFV_XJw9.js → PlayerTransactionHistory-D7aVTCre.js} +1 -1
- package/components/{PlayerWithdrawal-B_wQZI_t.js → PlayerWithdrawal-BPfYoISW.js} +1 -1
- package/components/{PlayerWithdrawal-CTttZqLr.js → PlayerWithdrawal-C7mFHGlW.js} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_15-OwR3eXhS.js → checkbox-group-input_15-BXx2eI5U.js} +453 -453
- package/stencil/{checkbox-group-input_15-Vwz1wSzH.js → checkbox-group-input_15-C6LpSObs.js} +452 -452
- package/stencil/{checkbox-group-input_15-rrNwAy0j.cjs → checkbox-group-input_15-DadoyfRo.cjs} +4 -4
- package/stencil/{index-13661b98-CmRNR-rV.js → index-13661b98-6KjWiAei.js} +1 -1
- package/stencil/{index-13661b98-DhWvmFjk.js → index-13661b98-DMsw1Rqj.js} +1 -1
- package/stencil/{index-13661b98-D5aIg_pY.cjs → index-13661b98-e0g0ZJ4Q.cjs} +1 -1
- package/stencil/{index-1ef3a64c-uiTzpR-U.cjs → index-1ef3a64c-B7_EyQDJ.cjs} +1 -1
- package/stencil/{index-1ef3a64c-B5I86vac.js → index-1ef3a64c-BMK3b66v.js} +1 -1
- package/stencil/{index-1ef3a64c-DqUPq8OL.js → index-1ef3a64c-Cs1oM3tK.js} +1 -1
- package/stencil/{index-9c0f6c58-DmOKHEVq.cjs → index-9c0f6c58-CtHWkW4O.cjs} +1 -1
- package/stencil/{index-9c0f6c58-bxjYqwOi.js → index-9c0f6c58-DxzXe6Kn.js} +1 -1
- package/stencil/{index-9c0f6c58-BB5opCt9.js → index-9c0f6c58-Hy2JqCeP.js} +1 -1
- package/stencil/{pam-change-password-dEbTDKG0.js → pam-change-password-CIhfcFNO.js} +1 -1
- package/stencil/{pam-change-password-CV0uMtXO.cjs → pam-change-password-CQIieVFW.cjs} +1 -1
- package/stencil/{pam-change-password-B4zuIndQ.js → pam-change-password-L1xQARTQ.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-DAXvLl_6.cjs → pam-change-password-f4a1e7e7-B5NzEtGA.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-CNFdEoO5.js → pam-change-password-f4a1e7e7-Br0FC_GU.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-BdbrsvWx.js → pam-change-password-f4a1e7e7-bArCapa-.js} +1 -1
- package/stencil/{player-kyc-verification-DYcPWwfi.cjs → player-kyc-verification-BVPPMf62.cjs} +3 -2
- package/stencil/{player-kyc-verification-CMAkNiAB.js → player-kyc-verification-BX-zXzBh.js} +2 -1
- package/stencil/{player-kyc-verification-p2WFnKBp.js → player-kyc-verification-CvOTQFbs.js} +2 -1
- package/stencil/user-deposit-withdrawal-B5PikBDs.cjs +72 -0
- package/stencil/{user-deposit-withdrawal-BjmaGgRK.js → user-deposit-withdrawal-BftWiELv.js} +14 -8
- package/stencil/{user-deposit-withdrawal-D6SDVw3h.js → user-deposit-withdrawal-mAQqyXGF.js} +14 -8
- package/components/PlayerAccountBettingHistory-B0IsJ01N.js +0 -328
- package/components/PlayerAccountBettingHistory-BXBMy618.js +0 -329
- package/components/PlayerAccountBettingHistory-BtDZukYI.cjs +0 -1
- package/components/PlayerAccountNotifications-B0Nsdovh.js +0 -363
- package/components/PlayerAccountNotifications-aQgcZXcD.cjs +0 -1
- package/stencil/user-deposit-withdrawal-Du59X_-y.cjs +0 -68
|
@@ -1973,7 +1973,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
1973
1973
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
1974
1974
|
Code distributed by Google as part of the polymer project is also
|
|
1975
1975
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
1976
|
-
*/const
|
|
1976
|
+
*/const W=window.ShadyDOM&&window.ShadyDOM.noPatch&&window.ShadyDOM.wrap?window.ShadyDOM.wrap:window.ShadyDOM?o=>ShadyDOM.patch(o):o=>o;/**
|
|
1977
1977
|
@license
|
|
1978
1978
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
1979
1979
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -1981,7 +1981,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
1981
1981
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
1982
1982
|
Code distributed by Google as part of the polymer project is also
|
|
1983
1983
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
1984
|
-
*/function ai(o){return o.indexOf(".")>=0}function Fe(o){let t=o.indexOf(".");return t===-1?o:o.slice(0,t)}function xs(o,t){return o.indexOf(t+".")===0}function ct(o,t){return t.indexOf(o+".")===0}function dt(o,t,e){return t+e.slice(o.length)}function Fn(o,t){return o===t||xs(o,t)||ct(o,t)}function et(o){if(Array.isArray(o)){let t=[];for(let e=0;e<o.length;e++){let i=o[e].toString().split(".");for(let s=0;s<i.length;s++)t.push(i[s])}return t.join(".")}else return o}function ws(o){return Array.isArray(o)?et(o).split("."):o.toString().split(".")}function
|
|
1984
|
+
*/function ai(o){return o.indexOf(".")>=0}function Fe(o){let t=o.indexOf(".");return t===-1?o:o.slice(0,t)}function xs(o,t){return o.indexOf(t+".")===0}function ct(o,t){return t.indexOf(o+".")===0}function dt(o,t,e){return t+e.slice(o.length)}function Fn(o,t){return o===t||xs(o,t)||ct(o,t)}function et(o){if(Array.isArray(o)){let t=[];for(let e=0;e<o.length;e++){let i=o[e].toString().split(".");for(let s=0;s<i.length;s++)t.push(i[s])}return t.join(".")}else return o}function ws(o){return Array.isArray(o)?et(o).split("."):o.toString().split(".")}function ee(o,t,e){let i=o,s=ws(t);for(let r=0;r<s.length;r++){if(!i)return;let n=s[r];i=i[n]}return e&&(e.path=s.join(".")),i}function mo(o,t,e){let i=o,s=ws(t),r=s[s.length-1];if(s.length>1){for(let n=0;n<s.length-1;n++){let a=s[n];if(i=i[a],!i)return}i[r]=e}else i[t]=e;return s.join(".")}/**
|
|
1985
1985
|
@license
|
|
1986
1986
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
1987
1987
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -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 $n=Cs,Ps=$(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,$n.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=
|
|
2008
|
+
*/const $n=Cs,Ps=$(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,$n.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
|
|
@@ -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=[],A={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},Ts="__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&&xs(e,o))||!!(t.wildcard&&ct(e,o))}else return!0}function bo(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[A.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 Ms(o,s,e[t],t),!0}return!1}function Ms(o,t,e,i){let s={value:e,queueProperty:!0};i&&(s.path=i),V(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?te(o,a):o.__data[t];a&&l===void 0&&(l=e[t]),Ms(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[A.READ_ONLY]||!t[A.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[A.COMPUTE];if(s)if(Sn){ut++;const r=da(o),n=[];for(let l in t)vo(l,s,n,r,i);let a;for(;a=n.shift();)Os(o,"",t,e,a)&&vo(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)},vo=(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[A.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[Ts],e={},i=o[A.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 Os(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=Fs(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[A.READ_ONLY]||!t[A.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=V(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 yo(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=[],Is="(?:[a-zA-Z_$][\\w.:$\\-*]*)",wa="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",Ea="(?:'(?:[^'\\\\]|\\\\.)*')",Sa='(?:"(?:[^"\\\\]|\\\\.)*")',Aa="(?:"+Ea+"|"+Sa+")",xo="(?:("+Is+"|"+wa+"|"+Aa+")\\s*)",Ca="(?:"+xo+"(?:,\\s*"+xo+")*)",Pa="(?:\\(\\s*(?:"+Ca+"?)\\)\\s*)",ka="("+Is+"\\s*"+Pa+"?)",Da="(\\[\\[|{{)\\s*",Ta="(?:]]|}})",Ma="(?:(!)\\s*)?",Oa=Da+Ma+ka+Ta,wo=new RegExp(Oa,"g");function Eo(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=Fs(e);return i.literal||(t.static=!1),i},this),t}function Fs(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 So(o,t,e){let i=te(o,e);return i===void 0&&(i=t[e]),i}function Ns(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){Ns(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=$(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 A}_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[A.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==A.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,A.READ_ONLY)}_hasNotifyEffect(s){return this._hasPropertyEffect(s,A.NOTIFY)}_hasReflectEffect(s){return this._hasPropertyEffect(s,A.REFLECT)}_hasComputedEffect(s){return this._hasPropertyEffect(s,A.COMPUTE)}_setPendingPropertyOrPath(s,r,n,a){if(a||Fe(Array.isArray(s)?s[0]:s)!==s){if(!a){let l=te(this,s);if(s=mo(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=V(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[A.NOTIFY]&&this[A.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[A.READ_ONLY]||!this[A.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[A.REFLECT],r,n,a),tt(this,this[A.OBSERVE],r,n,a),l&&oa(this,l,r,n,a),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(s,r,n){this[A.PROPAGATE]&&tt(this,this[A.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=te(this,s,n);Ns(this,a,n.path,r)}get(s,r){return te(r||this,s)}set(s,r,n){n?mo(n,s,r):(!this[A.READ_ONLY]||!this[A.READ_ONLY][s])&&this._setPendingPropertyOrPath(s,r,!0)&&this._invalidateProperties()}push(s,...r){let n={path:""},a=te(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=te(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=te(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=te(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=te(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=te(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,A.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,A.OBSERVE,{fn:bo,info:a,trigger:{name:s}}),n&&this._addPropertyEffect(r,A.OBSERVE,{fn:bo,info:a,trigger:{name:r}})}_createMethodObserver(s,r){let n=Ut(s);if(!n)throw new Error("Malformed observer expression '"+s+"'");yo(this,n,A.OBSERVE,ci,null,r)}_createNotifyingProperty(s){this._addPropertyEffect(s,A.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,A.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=yo(this,a,A.COMPUTE,Os,s,n);jt(this,Ts)[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=So(a,n,_?r:h);g={path:_?r:h,value:y,base:_?te(a,h):y}}else g=p?So(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];V(V(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=Eo(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=Eo(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=Es(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";lo&&(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),lo||(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=wo.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 C=y[w];C.literal||_.push(C)}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=wo.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=te(s,r.source):d&&ai(n)?u=te(s,n):u=s.__data[n],r.negate&&(u=!u),u}}return e}),Xe=[];/**
|
|
2034
|
+
*/let ut=0;const ht=[],A={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},Ts="__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&&xs(e,o))||!!(t.wildcard&&ct(e,o))}else return!0}function bo(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[A.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 Ms(o,s,e[t],t),!0}return!1}function Ms(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?ee(o,a):o.__data[t];a&&l===void 0&&(l=e[t]),Ms(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[A.READ_ONLY]||!t[A.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[A.COMPUTE];if(s)if(Sn){ut++;const r=da(o),n=[];for(let l in t)vo(l,s,n,r,i);let a;for(;a=n.shift();)Os(o,"",t,e,a)&&vo(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)},vo=(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[A.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[Ts],e={},i=o[A.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 Os(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=Fs(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[A.READ_ONLY]||!t[A.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 yo(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=[],Is="(?:[a-zA-Z_$][\\w.:$\\-*]*)",wa="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",Ea="(?:'(?:[^'\\\\]|\\\\.)*')",Sa='(?:"(?:[^"\\\\]|\\\\.)*")',Aa="(?:"+Ea+"|"+Sa+")",xo="(?:("+Is+"|"+wa+"|"+Aa+")\\s*)",Ca="(?:"+xo+"(?:,\\s*"+xo+")*)",Pa="(?:\\(\\s*(?:"+Ca+"?)\\)\\s*)",ka="("+Is+"\\s*"+Pa+"?)",Da="(\\[\\[|{{)\\s*",Ta="(?:]]|}})",Ma="(?:(!)\\s*)?",Oa=Da+Ma+ka+Ta,wo=new RegExp(Oa,"g");function Eo(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=Fs(e);return i.literal||(t.static=!1),i},this),t}function Fs(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 So(o,t,e){let i=ee(o,e);return i===void 0&&(i=t[e]),i}function Ns(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){Ns(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=$(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 A}_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[A.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==A.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,A.READ_ONLY)}_hasNotifyEffect(s){return this._hasPropertyEffect(s,A.NOTIFY)}_hasReflectEffect(s){return this._hasPropertyEffect(s,A.REFLECT)}_hasComputedEffect(s){return this._hasPropertyEffect(s,A.COMPUTE)}_setPendingPropertyOrPath(s,r,n,a){if(a||Fe(Array.isArray(s)?s[0]:s)!==s){if(!a){let l=ee(this,s);if(s=mo(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[A.NOTIFY]&&this[A.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[A.READ_ONLY]||!this[A.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[A.REFLECT],r,n,a),tt(this,this[A.OBSERVE],r,n,a),l&&oa(this,l,r,n,a),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(s,r,n){this[A.PROPAGATE]&&tt(this,this[A.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=ee(this,s,n);Ns(this,a,n.path,r)}get(s,r){return ee(r||this,s)}set(s,r,n){n?mo(n,s,r):(!this[A.READ_ONLY]||!this[A.READ_ONLY][s])&&this._setPendingPropertyOrPath(s,r,!0)&&this._invalidateProperties()}push(s,...r){let n={path:""},a=ee(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=ee(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=ee(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=ee(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=ee(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=ee(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,A.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,A.OBSERVE,{fn:bo,info:a,trigger:{name:s}}),n&&this._addPropertyEffect(r,A.OBSERVE,{fn:bo,info:a,trigger:{name:r}})}_createMethodObserver(s,r){let n=Ut(s);if(!n)throw new Error("Malformed observer expression '"+s+"'");yo(this,n,A.OBSERVE,ci,null,r)}_createNotifyingProperty(s){this._addPropertyEffect(s,A.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,A.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=yo(this,a,A.COMPUTE,Os,s,n);jt(this,Ts)[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=So(a,n,_?r:h);g={path:_?r:h,value:y,base:_?ee(a,h):y}}else g=p?So(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=Eo(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=Eo(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=Es(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";lo&&(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),lo||(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=wo.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 C=y[w];C.literal||_.push(C)}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=wo.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=ee(s,r.source):d&&ai(n)?u=ee(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",Ao=window.ShadyCSS&&window.ShadyCSS.cssBuild,Ra=$(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(!Ao){const p=d.content.querySelectorAll("style"),m=vs(d),g=In(u),f=d.content.firstElementChild;for(let y=0;y<g.length;y++){let v=g[y];v.textContent=l._processStyleText(v.textContent,h),d.content.insertBefore(v,f)}let _=0;for(let y=0;y<m.length;y++){let v=m[y],E=p[_];E!==v?(v=v.cloneNode(!0),E.parentNode.insertBefore(v,E)):_++,v.textContent=l._processStyleText(v.textContent,h)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(d,u),Cn&&Ao&&yn){const p=d.content.querySelectorAll("style");if(p){let m="";Array.from(p).forEach(g=>{m+=g.textContent,g.parentNode.removeChild(g)}),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):ms||(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=
|
|
2060
|
+
*/const La="3.5.2",Ao=window.ShadyCSS&&window.ShadyCSS.cssBuild,Ra=$(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(!Ao){const p=d.content.querySelectorAll("style"),m=vs(d),g=In(u),f=d.content.firstElementChild;for(let y=0;y<g.length;y++){let v=g[y];v.textContent=l._processStyleText(v.textContent,h),d.content.insertBefore(v,f)}let _=0;for(let y=0;y<m.length;y++){let v=m[y],E=p[_];E!==v?(v=v.cloneNode(!0),E.parentNode.insertBefore(v,E)):_++,v.textContent=l._processStyleText(v.textContent,h)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(d,u),Cn&&Ao&&yn){const p=d.content.querySelectorAll("style");if(p){let m="";Array.from(p).forEach(g=>{m+=g.textContent,g.parentNode.removeChild(g)}),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):ms||(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 _s&&!(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
|
|
@@ -3103,7 +3103,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
3103
3103
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
3104
3104
|
Code distributed by Google as part of the polymer project is also
|
|
3105
3105
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3106
|
-
*/let Ei=null;function Si(){return Ei}Si.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:Si,writable:!0}});const ur=Ni(Si),_c=qi(ur);function gc(o,t){Ei=o,Object.setPrototypeOf(o,t.prototype),new t,Ei=null}const bc=Ni(class{});function vc(o,t){for(let e=0;e<t.length;e++){let i=t[e];if(!!o!=!!i.__hideTemplateChildren__)if(i.nodeType===Node.TEXT_NODE)o?(i.__polymerTextContent__=i.textContent,i.textContent=""):i.textContent=i.__polymerTextContent__;else if(i.localName==="slot")if(o)i.__polymerReplaced__=document.createComment("hidden-slot"),
|
|
3106
|
+
*/let Ei=null;function Si(){return Ei}Si.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:Si,writable:!0}});const ur=Ni(Si),_c=qi(ur);function gc(o,t){Ei=o,Object.setPrototypeOf(o,t.prototype),new t,Ei=null}const bc=Ni(class{});function vc(o,t){for(let e=0;e<t.length;e++){let i=t[e];if(!!o!=!!i.__hideTemplateChildren__)if(i.nodeType===Node.TEXT_NODE)o?(i.__polymerTextContent__=i.textContent,i.textContent=""):i.textContent=i.__polymerTextContent__;else if(i.localName==="slot")if(o)i.__polymerReplaced__=document.createComment("hidden-slot"),W(W(i).parentNode).replaceChild(i.__polymerReplaced__,i);else{const s=i.__polymerReplaced__;s&&W(W(s).parentNode).replaceChild(i,s)}else i.style&&(o?(i.__polymerDisplay__=i.style.display,i.style.display="none"):i.style.display=i.__polymerDisplay__);i.__hideTemplateChildren__=o,i._showHideChildren&&i._showHideChildren(o)}}class Ee extends bc{constructor(t){super(),this._configureProperties(t),this.root=this._stampTemplate(this.__dataHost);let e=[];this.children=e;for(let s=this.root.firstChild;s;s=s.nextSibling)e.push(s),s.__templatizeInstance=this;this.__templatizeOwner&&this.__templatizeOwner.__hideTemplateChildren__&&this._showHideChildren(!0);let i=this.__templatizeOptions;(t&&i.instanceProps||!i.instanceProps)&&this._enableProperties()}_configureProperties(t){if(this.__templatizeOptions.forwardHostProp)for(let i in this.__hostProps)this._setPendingProperty(i,this.__dataHost["_host_"+i]);for(let i in t)this._setPendingProperty(i,t[i])}forwardHostProp(t,e){this._setPendingPropertyOrPath(t,e,!1,!0)&&this.__dataHost._enqueueClient(this)}_addEventListenerToNode(t,e,i){if(this._methodHost&&this.__templatizeOptions.parentModel)this._methodHost._addEventListenerToNode(t,e,s=>{s.model=this,i(s)});else{let s=this.__dataHost.__dataHost;s&&s._addEventListenerToNode(t,e,i)}}_showHideChildren(t){vc(t,this.children)}_setUnmanagedPropertyToNode(t,e,i){t.__hideTemplateChildren__&&t.nodeType==Node.TEXT_NODE&&e=="textContent"?t.__polymerTextContent__=i:super._setUnmanagedPropertyToNode(t,e,i)}get parentModel(){let t=this.__parentModel;if(!t){let e;t=this;do t=t.__dataHost.__dataHost;while((e=t.__templatizeOptions)&&!e.parentModel);this.__parentModel=t}return t}dispatchEvent(t){return!0}}Ee.prototype.__dataHost;Ee.prototype.__templatizeOptions;Ee.prototype._methodHost;Ee.prototype.__templatizeOwner;Ee.prototype.__hostProps;const yc=qi(Ee);function zo(o){let t=o.__dataHost;return t&&t._methodHost||t}function xc(o,t,e){let i=e.mutableData?yc:Ee;Ai.mixin&&(i=Ai.mixin(i));let s=class extends i{};return s.prototype.__templatizeOptions=e,s.prototype._bindTemplate(o),Sc(s,o,t,e),s}function wc(o,t,e,i){let s=e.forwardHostProp;if(s&&t.hasHostProps){const r=o.localName=="template";let n=t.templatizeTemplateClass;if(!n){if(r){let l=e.mutableData?_c:ur;class d extends l{}n=t.templatizeTemplateClass=d}else{const l=o.constructor;class d extends l{}n=t.templatizeTemplateClass=d}let a=t.hostProps;for(let l in a)n.prototype._addPropertyEffect("_host_"+l,n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,{fn:Ec(l,s)}),n.prototype._createNotifyingProperty("_host_"+l);_s&&i&&Pc(t,e,i)}if(o.__dataProto&&Object.assign(o.__data,o.__dataProto),r)gc(o,n),o.__dataTemp={},o.__dataPending=null,o.__dataOld=null,o._enableProperties();else{Object.setPrototypeOf(o,n.prototype);const a=t.hostProps;for(let l in a)if(l="_host_"+l,l in o){const d=o[l];delete o[l],o.__data[l]=d}}}}function Ec(o,t){return function(i,s,r){t.call(i.__templatizeOwner,s.substring(6),r[s])}}function Sc(o,t,e,i){let s=e.hostProps||{};for(let r in i.instanceProps){delete s[r];let n=i.notifyInstanceProp;n&&o.prototype._addPropertyEffect(r,o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:Ac(r,n)})}if(i.forwardHostProp&&t.__dataHost)for(let r in s)e.hasHostProps||(e.hasHostProps=!0),o.prototype._addPropertyEffect(r,o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:Cc()})}function Ac(o,t){return function(i,s,r){t.call(i.__templatizeOwner,i,s,r[s])}}function Cc(){return function(t,e,i){t.__dataHost._setPendingPropertyOrPath("_host_"+e,i[e],!0,!0)}}function Ai(o,t,e){if(kt&&!zo(o))throw new Error("strictTemplatePolicy: template owner not trusted");if(e=e||{},o.__templatizeOwner)throw new Error("A <template> can only be templatized once");o.__templatizeOwner=t;let s=(t?t.constructor:Ee)._parseTemplate(o),r=s.templatizeInstanceClass;r||(r=xc(o,s,e),s.templatizeInstanceClass=r);const n=zo(o);wc(o,s,e,n);let a=class extends r{};return a.prototype._methodHost=n,a.prototype.__dataHost=o,a.prototype.__templatizeOwner=t,a.prototype.__hostProps=s.hostProps,a=a,a}function Pc(o,t,e){const i=e.constructor._properties,{propertyEffects:s}=o,{instanceProps:r}=t;for(let n in s)if(!i[n]&&!(r&&r[n])){const a=s[n];for(let l=0;l<a.length;l++){const{part:d}=a[l].info;if(!(d.signature&&d.signature.static)){console.warn(`Property '${n}' used in template but not declared in 'properties'; attribute will not be observed.`);break}}}}function kc(o,t){let e;for(;t;)if(e=t.__dataHost?t:t.__templatizeInstance)if(e.__dataHost!=o)t=e.__dataHost;else return e;else t=W(t).parentNode;return null}/**
|
|
3107
3107
|
@license
|
|
3108
3108
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
3109
3109
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -3119,7 +3119,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
|
3119
3119
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
3120
3120
|
Code distributed by Google as part of the polymer project is also
|
|
3121
3121
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3122
|
-
*/const Tc=mc(we);class Ro extends Tc{static get is(){return"dom-repeat"}static get template(){return null}static get properties(){return{items:{type:Array},as:{type:String,value:"item"},indexAs:{type:String,value:"index"},itemsIndexAs:{type:String,value:"itemsIndex"},sort:{type:Function,observer:"__sortChanged"},filter:{type:Function,observer:"__filterChanged"},observe:{type:String,observer:"__observeChanged"},delay:Number,renderedItemCount:{type:Number,notify:!co,readOnly:!0},initialCount:{type:Number},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Number,computed:"__computeFrameTime(targetFramerate)"},notifyDomChange:{type:Boolean},reuseChunkedInstances:{type:Boolean}}}static get observers(){return["__itemsChanged(items.*)"]}constructor(){super(),this.__instances=[],this.__renderDebouncer=null,this.__itemsIdxToInstIdx={},this.__chunkCount=null,this.__renderStartTime=null,this.__itemsArrayChanged=!1,this.__shouldMeasureChunk=!1,this.__shouldContinueChunking=!1,this.__chunkingId=0,this.__sortFn=null,this.__filterFn=null,this.__observePaths=null,this.__ctor=null,this.__isDetached=!0,this.template=null,this._templateInfo}disconnectedCallback(){super.disconnectedCallback(),this.__isDetached=!0;for(let t=0;t<this.__instances.length;t++)this.__detachInstance(t);this.__chunkingId&&cancelAnimationFrame(this.__chunkingId)}connectedCallback(){if(super.connectedCallback(),Dc()||(this.style.display="none"),this.__isDetached){this.__isDetached=!1;let t=
|
|
3122
|
+
*/const Tc=mc(we);class Ro extends Tc{static get is(){return"dom-repeat"}static get template(){return null}static get properties(){return{items:{type:Array},as:{type:String,value:"item"},indexAs:{type:String,value:"index"},itemsIndexAs:{type:String,value:"itemsIndex"},sort:{type:Function,observer:"__sortChanged"},filter:{type:Function,observer:"__filterChanged"},observe:{type:String,observer:"__observeChanged"},delay:Number,renderedItemCount:{type:Number,notify:!co,readOnly:!0},initialCount:{type:Number},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Number,computed:"__computeFrameTime(targetFramerate)"},notifyDomChange:{type:Boolean},reuseChunkedInstances:{type:Boolean}}}static get observers(){return["__itemsChanged(items.*)"]}constructor(){super(),this.__instances=[],this.__renderDebouncer=null,this.__itemsIdxToInstIdx={},this.__chunkCount=null,this.__renderStartTime=null,this.__itemsArrayChanged=!1,this.__shouldMeasureChunk=!1,this.__shouldContinueChunking=!1,this.__chunkingId=0,this.__sortFn=null,this.__filterFn=null,this.__observePaths=null,this.__ctor=null,this.__isDetached=!0,this.template=null,this._templateInfo}disconnectedCallback(){super.disconnectedCallback(),this.__isDetached=!0;for(let t=0;t<this.__instances.length;t++)this.__detachInstance(t);this.__chunkingId&&cancelAnimationFrame(this.__chunkingId)}connectedCallback(){if(super.connectedCallback(),Dc()||(this.style.display="none"),this.__isDetached){this.__isDetached=!1;let t=W(W(this).parentNode);for(let e=0;e<this.__instances.length;e++)this.__attachInstance(e,t);this.__chunkingId&&this.__render()}}__ensureTemplatized(){if(!this.__ctor){const t=this;let e=this.template=t._templateInfo?t:this.querySelector("template");if(!e){let s=new MutationObserver(()=>{if(this.querySelector("template"))s.disconnect(),this.__render();else throw new Error("dom-repeat requires a <template> child")});return s.observe(this,{childList:!0}),!1}let i={};i[this.as]=!0,i[this.indexAs]=!0,i[this.itemsIndexAs]=!0,this.__ctor=Ai(e,this,{mutableData:this.mutableData,parentModel:!0,instanceProps:i,forwardHostProp:function(s,r){let n=this.__instances;for(let a=0,l;a<n.length&&(l=n[a]);a++)l.forwardHostProp(s,r)},notifyInstanceProp:function(s,r,n){if(Fn(this.as,r)){let a=s[this.itemsIndexAs];r==this.as&&(this.items[a]=n);let l=dt(this.as,`${JSCompiler_renameProperty("items",this)}.${a}`,r);this.notifyPath(l,n)}}})}return!0}__getMethodHost(){return this.__dataHost._methodHost||this.__dataHost}__functionFromPropertyValue(t){if(typeof t=="string"){let e=t,i=this.__getMethodHost();return function(){return i[e].apply(i,arguments)}}return t}__sortChanged(t){this.__sortFn=this.__functionFromPropertyValue(t),this.items&&this.__debounceRender(this.__render)}__filterChanged(t){this.__filterFn=this.__functionFromPropertyValue(t),this.items&&this.__debounceRender(this.__render)}__computeFrameTime(t){return Math.ceil(1e3/t)}__observeChanged(){this.__observePaths=this.observe&&this.observe.replace(".*",".").split(" ")}__handleObservedPaths(t){if(this.__sortFn||this.__filterFn){if(!t)this.__debounceRender(this.__render,this.delay);else if(this.__observePaths){let e=this.__observePaths;for(let i=0;i<e.length;i++)t.indexOf(e[i])===0&&this.__debounceRender(this.__render,this.delay)}}}__itemsChanged(t){this.items&&!Array.isArray(this.items)&&console.warn("dom-repeat expected array for `items`, found",this.items),this.__handleItemPath(t.path,t.value)||(t.path==="items"&&(this.__itemsArrayChanged=!0),this.__debounceRender(this.__render))}__debounceRender(t,e=0){this.__renderDebouncer=Ot.debounce(this.__renderDebouncer,e>0?Hn.after(e):Cs,t.bind(this)),cc(this.__renderDebouncer)}render(){this.__debounceRender(this.__render),Ui()}__render(){if(!this.__ensureTemplatized())return;let t=this.items||[];const e=this.__sortAndFilterItems(t),i=this.__calculateLimit(e.length);this.__updateInstances(t,i,e),this.initialCount&&(this.__shouldMeasureChunk||this.__shouldContinueChunking)&&(cancelAnimationFrame(this.__chunkingId),this.__chunkingId=requestAnimationFrame(()=>{this.__chunkingId=null,this.__continueChunking()})),this._setRenderedItemCount(this.__instances.length),(!co||this.notifyDomChange)&&this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}__sortAndFilterItems(t){let e=new Array(t.length);for(let i=0;i<t.length;i++)e[i]=i;return this.__filterFn&&(e=e.filter((i,s,r)=>this.__filterFn(t[i],s,r))),this.__sortFn&&e.sort((i,s)=>this.__sortFn(t[i],t[s])),e}__calculateLimit(t){let e=t;const i=this.__instances.length;if(this.initialCount){let s;!this.__chunkCount||this.__itemsArrayChanged&&!this.reuseChunkedInstances?(e=Math.min(t,this.initialCount),s=Math.max(e-i,0),this.__chunkCount=s||1):(s=Math.min(Math.max(t-i,0),this.__chunkCount),e=Math.min(i+s,t)),this.__shouldMeasureChunk=s===this.__chunkCount,this.__shouldContinueChunking=e<t,this.__renderStartTime=performance.now()}return this.__itemsArrayChanged=!1,e}__continueChunking(){if(this.__shouldMeasureChunk){const t=performance.now()-this.__renderStartTime,e=this._targetFrameTime/t;this.__chunkCount=Math.round(this.__chunkCount*e)||1}this.__shouldContinueChunking&&this.__debounceRender(this.__render)}__updateInstances(t,e,i){const s=this.__itemsIdxToInstIdx={};let r;for(r=0;r<e;r++){let n=this.__instances[r],a=i[r],l=t[a];s[a]=r,n?(n._setPendingProperty(this.as,l),n._setPendingProperty(this.indexAs,r),n._setPendingProperty(this.itemsIndexAs,a),n._flushProperties()):this.__insertInstance(l,r,a)}for(let n=this.__instances.length-1;n>=r;n--)this.__detachAndRemoveInstance(n)}__detachInstance(t){let e=this.__instances[t];const i=W(e.root);for(let s=0;s<e.children.length;s++){let r=e.children[s];i.appendChild(r)}return e}__attachInstance(t,e){let i=this.__instances[t];e.insertBefore(i.root,this)}__detachAndRemoveInstance(t){this.__detachInstance(t),this.__instances.splice(t,1)}__stampInstance(t,e,i){let s={};return s[this.as]=t,s[this.indexAs]=e,s[this.itemsIndexAs]=i,new this.__ctor(s)}__insertInstance(t,e,i){const s=this.__stampInstance(t,e,i);let r=this.__instances[e+1],n=r?r.children[0]:this;return W(W(this).parentNode).insertBefore(s.root,n),this.__instances[e]=s,s}_showHideChildren(t){for(let e=0;e<this.__instances.length;e++)this.__instances[e]._showHideChildren(t)}__handleItemPath(t,e){let i=t.slice(6),s=i.indexOf("."),r=s<0?i:i.substring(0,s);if(r==parseInt(r,10)){let n=s<0?"":i.substring(s+1);this.__handleObservedPaths(n);let a=this.__itemsIdxToInstIdx[r],l=this.__instances[a];if(l){let d=this.as+(n?"."+n:"");l._setPendingPropertyOrPath(d,e,!1,!0),l._flushProperties()}return!0}}itemForElement(t){let e=this.modelForElement(t);return e&&e[this.as]}indexForElement(t){let e=this.modelForElement(t);return e&&e[this.indexAs]}modelForElement(t){return kc(this.template,t)}}customElements.define(Ro.is,Ro);/**
|
|
3123
3123
|
* @license
|
|
3124
3124
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
3125
3125
|
* 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 Zs(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 vr={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(N,P,D){var T=D&&D.toUpperCase();return P||y[D]||e[D]||y[T].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(q,z,J){return z||J.slice(1)})})).match(i),E=v.length,w=0;w<E;w+=1){var C=v[w],U=m[C],F=U&&U[0],R=U&&U[1];v[w]=R?{regex:F,parser:R}:C.replace(/^\[|\]$/g,"")}return function(N){for(var P={},D=0,T=0;D<E;D+=1){var q=v[D];if(typeof q=="string")T+=q.length;else{var z=q.regex,J=q.parser,se=N.slice(T),j=z.exec(se)[0];J.call(P,j),N=N.replace(j,"")}}return function(K){var B=K.afternoon;if(B!==void 0){var L=K.hours;B?L<12&&(K.hours+=12):L===12&&(K.hours=0),delete K.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 C=w.date,U=w.utc,F=w.args;this.$u=U;var R=F[1];if(typeof R=="string"){var N=F[2]===!0,P=F[3]===!0,D=N||P,T=F[2];P&&(T=F[2]),a=this.$locale(),!N&&T&&(a=y.Ls[T]),this.$d=function(se,j,K){try{if(["x","X"].indexOf(j)>-1)return new Date((j==="X"?1e3:1)*se);var B=g(j)(se),L=B.year,G=B.month,ae=B.day,me=B.hours,_e=B.minutes,Se=B.seconds,ge=B.milliseconds,be=B.zone,X=new Date,Z=ae||(L||G?1:X.getDate()),M=L||X.getFullYear(),O=0;L&&!G||(O=G>0?G-1:X.getMonth());var de=me||0,re=_e||0,W=Se||0,ie=ge||0;return be?new Date(Date.UTC(M,O,Z,de,re,W,ie+60*be.offset*1e3)):K?new Date(Date.UTC(M,O,Z,de,re,W,ie)):new Date(M,O,Z,de,re,W,ie)}catch(x){return new Date("")}}(C,R,U),this.init(),T&&T!==!0&&(this.$L=this.locale(T).$L),D&&C!=this.format(R)&&(this.$d=new Date("")),a={}}else if(R instanceof Array)for(var q=R.length,z=1;z<=q;z+=1){F[1]=R[z-1];var J=y.apply(this,F);if(J.isValid()){this.$d=J.$d,this.$L=J.$L,this.init();break}z===q&&(this.$d=new Date(""))}else E.call(this,w)}}})})(vr);var cd=vr.exports;const yr=c.getDefaultExportFromCjs(cd);function Bo(o,t){c.addMessages(o,t)}function dd(o){c.$locale.set(o)}const Ho={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-st6cko",'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{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: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 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}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}}.SelfExclusionConfigWrapper{width:50%;height:100%;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:30px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF)}.SelfExclusionActionButtons .SelfExclusionSave:hover{color:white;background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave:active{background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave.active{cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924)}.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[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,C,U,F=o[20](`${o[13]}`)+"",R,N,P,D,T,q,z,J,se,j,K,B,L,G=o[20]("save")+"",ae,me,_e,Se,ge,be,X=o[22]&&fd(o),Z=c.ensure_array_like(o[9]),M=[];for(let x=0;x<Z.length;x+=1)M[x]=Yo($o(o,Z,x));let O=o[16]&&jo(o);function de(x,k){return x[15]?gd:x[17]?md:_d}let re=de(o),W=re(o),ie=o[23]&&bd(o);return{c(){t=c.element("div"),e=c.element("form"),X&&X.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"),C=c.element("div"),U=c.element("p"),R=c.text(F),N=c.space(),P=c.svg_element("svg"),D=c.svg_element("g"),T=c.svg_element("path"),q=c.space(),z=c.element("div");for(let x=0;x<M.length;x+=1)M[x].c();J=c.space(),O&&O.c(),se=c.space(),j=c.element("div"),W.c(),K=c.space(),B=c.element("div"),L=c.element("button"),ae=c.text(G),Se=c.space(),ie&&ie.c(),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(T,"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(T,"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(C,"class","SelfExclusionConfigLabel"),c.attr(z,"class","SelfExclusionDropDown"),c.toggle_class(z,"active",o[18]),c.attr(w,"class","SelfExclusionConfigWrapper "+(o[22]?"SelfExclusionConfigWrapperMobile":"")),c.toggle_class(w,"active",o[18]),c.attr(j,"class","SelfExclusionDescription "+(o[22]?"SelfExclusionDescriptionMobile":"")),c.attr(L,"class",me="SelfExclusionSave "+(o[17]?"active":"")),L.disabled=_e=!o[17],c.attr(B,"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),X&&X.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,C),c.append(C,U),c.append(U,R),c.append(C,N),c.append(C,P),c.append(P,D),c.append(D,T),c.append(w,q),c.append(w,z);for(let H=0;H<M.length;H+=1)M[H]&&M[H].m(z,null);c.append(e,J),O&&O.m(e,null),c.append(e,se),c.append(e,j),W.m(j,null),c.append(e,K),c.append(e,B),c.append(B,L),c.append(L,ae),c.append(t,Se),ie&&ie.m(t,null),ge||(be=[c.listen(C,"click",o[37]),c.listen(L,"click",o[40])],ge=!0)},p(x,k){if(x[22]&&X.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&&F!==(F=x[20](`${x[13]}`)+"")&&c.set_data(R,F),k[0]&262144&&c.toggle_class(P,"active",x[18]),k[0]&34603520){Z=c.ensure_array_like(x[9]);let H;for(H=0;H<Z.length;H+=1){const mt=$o(x,Z,H);M[H]?M[H].p(mt,k):(M[H]=Yo(mt),M[H].c(),M[H].m(z,null))}for(;H<M.length;H+=1)M[H].d(1);M.length=Z.length}k[0]&262144&&c.toggle_class(z,"active",x[18]),k[0]&262144&&c.toggle_class(w,"active",x[18]),x[16]?O?O.p(x,k):(O=jo(x),O.c(),O.m(e,se)):O&&(O.d(1),O=null),re===(re=de(x))&&W?W.p(x,k):(W.d(1),W=re(x),W&&(W.c(),W.m(j,null))),k[0]&1048576&&G!==(G=x[20]("save")+"")&&c.set_data(ae,G),k[0]&131072&&me!==(me="SelfExclusionSave "+(x[17]?"active":""))&&c.attr(L,"class",me),k[0]&131072&&_e!==(_e=!x[17])&&(L.disabled=_e),x[23]&&ie.p(x,k)},d(x){x&&c.detach(t),X&&X.d(),c.destroy_each(M,x),O&&O.d(),W.d(),ie&&ie.d(),ge=!1,c.run_all(be)}}}function pd(o){let t,e,i,s,r,n,a,l,d,u,h,p,m,g,f,_,y,v,E,w,C;function U(N,P){return N[22]?yd:vd}let R=U(o)(o);return{c(){t=c.element("div"),e=c.element("div"),R.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"),C=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","6"),c.set_custom_element_data(r,"width","100%"),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(C,"structure","rectangle"),c.set_custom_element_data(C,"width","100%"),c.set_custom_element_data(C,"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(N,P){c.insert(N,t,P),c.append(t,e),R.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,C)},p:c.noop,d(N){N&&c.detach(t),R.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 Yo(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 jo(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:he.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:he.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)),he.dayjs.extend(yr);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,C=[],U={},F=y.toUpperCase(),R=window.navigator.userAgent,N,P,D="",T="",q="selectAPeriod",z="",J="",se=c.getDevice(R)!=="PC",j=!1,K=!1,B=!1,L=!1,G=_==="true",ae=!0;const me=()=>{fetch(f).then(Q=>Q.json()).then(Q=>{Object.keys(Q).forEach(ee=>{Bo(ee,Q[ee])})}).catch(Q=>{console.log(Q)})};Object.keys(Ho).forEach(b=>{Bo(b,Ho[b])});const _e=()=>{let b=new URL(`${s}/v1/player/selfExclusionSettings`);fetch(b,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(ee=>ge(ee)).then(ee=>{e(9,C=ee.periods)}).catch(ee=>{console.log(ee)}).finally(()=>{e(19,ae=!1)})},Se=b=>{b.data.type==="setSelfExclusion"&&O()},ge=b=>Ke(this,null,function*(){if(b.status>=300)U=yield b.json(),J=U.thirdPartyResponse.errorCode,console.error(i(J||"generalError")),window.postMessage({type:"WidgetNotification",data:{type:"error",message:i(J||"generalError")}},window.location.href);else return b.json()}),be=()=>{e(18,L=!L)},X=b=>{switch(T=b.text,e(13,q=b.key),e(17,B=!0),e(18,L=!1),e(15,j=!1),e(16,K=!1),T){case"Until":e(16,K=!0),e(10,N=he.dayjs().add(6,"months").format("YYYY-MM-DD")),e(11,P=he.dayjs().add(5,"years").format("YYYY-MM-DD")),e(12,D=N);break;case"Permanent":e(15,j=!j);break;default:const[Q,ee]=T.split(" "),Ae=ee.includes("Day")?"days":ee.includes("Month")?"months":ee.includes("Year")?"years":null;if(!Ae)return;e(12,D=he.dayjs().add(Number(Q),Ae).format("YYYY-MM-DD"));break}G&&Z()},Z=()=>{if(!G||!T||!D){e(14,z="");return}e(14,z=K?i("confirmationModalTextUntilSelfExclusion",{values:{date:he.dayjs(D).format(F)}}):i("confirmationModalTextPeriodSelfExclusion",{values:{period:i(T)}}))},M=b=>{b.preventDefault(),G?(Z(),window.postMessage({type:"ShowSelfExclusionConfirmationModal"},window.location.href)):O()},O=()=>{e(19,ae=!0);const b=new URL(`/v2/player/${n}/limits${l==="gm16"?"/session":""}`,s),ee={method:"PUT",headers:{"X-SessionID":r,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({selfExclusion:{period:q,expiryDate:D,selfExclusionReason:"UserRequest",sendNotificationEmail:v==="true"}})};fetch(b.href,ee).then(Ae=>ge(Ae)).then(Ae=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:i("selfExclusionSuccess")}},window.location.href),window.postMessage({type:"LogoutSuccessfull"},window.location.href)}).catch(Ae=>{console.error(i("errorSelfExclusionCall"),Ae),window.postMessage({type:"WidgetNotification",data:{type:"error",message:i("errorSelfExclusionCall")}},window.location.href)}).finally(()=>{e(19,ae=!1)})},de=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:se},window.location.href)},re=b=>{e(12,D=b.target.value)},W=()=>{w.addEventListener("change",re,!1),e(8,w.i18n=gt(_t({},w.i18n),{formatDate:b=>he.dayjs(new Date(b.year,b.month,b.day)).format(F),parseDate:b=>{const Q=he.dayjs(b,F);return{year:Q.year(),month:Q.month(),day:Q.date()}}}),w)};c.onMount(()=>(window.addEventListener("message",Se,!1),()=>{w.removeEventListener("change",re),window.removeEventListener("message",Se)}));const ie=()=>{dd(a)},x=()=>de(),k=()=>be(),H=b=>X(b);function mt(b){c.binding_callbacks[b?"unshift":"push"](()=>{w=b,e(8,w)})}const wr=b=>M(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&&ie(),o.$$.dirty[0]&1879048192|o.$$.dirty[1]&1&&s&&r&&n&&l&&_e(),o.$$.dirty[0]&256&&w&&W(),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&&me()},G&&Z(),[a,d,u,h,p,m,g,E,w,C,N,P,D,q,z,j,K,B,L,ae,i,F,se,G,be,X,M,de,s,r,n,l,f,_,y,v,x,k,H,mt,wr,Er]}class xr 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(xr,{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:xr},Symbol.toStringTag,{value:"Module"}));exports.CustomParseFormat=yr;exports.PlayerAccountSelfExclusion_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 Zs(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 vr={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(N,P,D){var T=D&&D.toUpperCase();return P||y[D]||e[D]||y[T].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(G,z,te){return z||te.slice(1)})})).match(i),E=v.length,w=0;w<E;w+=1){var C=v[w],q=m[C],F=q&&q[0],R=q&&q[1];v[w]=R?{regex:F,parser:R}:C.replace(/^\[|\]$/g,"")}return function(N){for(var P={},D=0,T=0;D<E;D+=1){var G=v[D];if(typeof G=="string")T+=G.length;else{var z=G.regex,te=G.parser,se=N.slice(T),j=z.exec(se)[0];te.call(P,j),N=N.replace(j,"")}}return function(J){var B=J.afternoon;if(B!==void 0){var L=J.hours;B?L<12&&(J.hours+=12):L===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 C=w.date,q=w.utc,F=w.args;this.$u=q;var R=F[1];if(typeof R=="string"){var N=F[2]===!0,P=F[3]===!0,D=N||P,T=F[2];P&&(T=F[2]),a=this.$locale(),!N&&T&&(a=y.Ls[T]),this.$d=function(se,j,J){try{if(["x","X"].indexOf(j)>-1)return new Date((j==="X"?1e3:1)*se);var B=g(j)(se),L=B.year,X=B.month,ae=B.day,me=B.hours,_e=B.minutes,Se=B.seconds,ge=B.milliseconds,be=B.zone,Z=new Date,Q=ae||(L||X?1:Z.getDate()),M=L||Z.getFullYear(),O=0;L&&!X||(O=X>0?X-1:Z.getMonth());var de=me||0,re=_e||0,K=Se||0,ie=ge||0;return be?new Date(Date.UTC(M,O,Q,de,re,K,ie+60*be.offset*1e3)):J?new Date(Date.UTC(M,O,Q,de,re,K,ie)):new Date(M,O,Q,de,re,K,ie)}catch(x){return new Date("")}}(C,R,q),this.init(),T&&T!==!0&&(this.$L=this.locale(T).$L),D&&C!=this.format(R)&&(this.$d=new Date("")),a={}}else if(R instanceof Array)for(var G=R.length,z=1;z<=G;z+=1){F[1]=R[z-1];var te=y.apply(this,F);if(te.isValid()){this.$d=te.$d,this.$L=te.$L,this.init();break}z===G&&(this.$d=new Date(""))}else E.call(this,w)}}})})(vr);var cd=vr.exports;const yr=c.getDefaultExportFromCjs(cd);function Bo(o,t){c.addMessages(o,t)}function dd(o){c.$locale.set(o)}const Ho={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-st6cko",'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{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: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 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}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}}.SelfExclusionConfigWrapper{width:50%;height:100%;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:30px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF)}.SelfExclusionActionButtons .SelfExclusionSave:hover{color:white;background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave:active{background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave.active{cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924)}.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[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,C,q,F=o[20](`${o[13]}`)+"",R,N,P,D,T,G,z,te,se,j,J,B,L,X=o[20]("save")+"",ae,me,_e,Se,ge,be,Z=o[22]&&fd(o),Q=c.ensure_array_like(o[9]),M=[];for(let x=0;x<Q.length;x+=1)M[x]=Yo($o(o,Q,x));let O=o[16]&&jo(o);function de(x,k){return x[15]?gd:x[17]?md:_d}let re=de(o),K=re(o),ie=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"),C=c.element("div"),q=c.element("p"),R=c.text(F),N=c.space(),P=c.svg_element("svg"),D=c.svg_element("g"),T=c.svg_element("path"),G=c.space(),z=c.element("div");for(let x=0;x<M.length;x+=1)M[x].c();te=c.space(),O&&O.c(),se=c.space(),j=c.element("div"),K.c(),J=c.space(),B=c.element("div"),L=c.element("button"),ae=c.text(X),Se=c.space(),ie&&ie.c(),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(T,"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(T,"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(C,"class","SelfExclusionConfigLabel"),c.attr(z,"class","SelfExclusionDropDown"),c.toggle_class(z,"active",o[18]),c.attr(w,"class","SelfExclusionConfigWrapper "+(o[22]?"SelfExclusionConfigWrapperMobile":"")),c.toggle_class(w,"active",o[18]),c.attr(j,"class","SelfExclusionDescription "+(o[22]?"SelfExclusionDescriptionMobile":"")),c.attr(L,"class",me="SelfExclusionSave "+(o[17]?"active":"")),L.disabled=_e=!o[17],c.attr(B,"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,C),c.append(C,q),c.append(q,R),c.append(C,N),c.append(C,P),c.append(P,D),c.append(D,T),c.append(w,G),c.append(w,z);for(let H=0;H<M.length;H+=1)M[H]&&M[H].m(z,null);c.append(e,te),O&&O.m(e,null),c.append(e,se),c.append(e,j),K.m(j,null),c.append(e,J),c.append(e,B),c.append(B,L),c.append(L,ae),c.append(t,Se),ie&&ie.m(t,null),ge||(be=[c.listen(C,"click",o[37]),c.listen(L,"click",o[40])],ge=!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&&F!==(F=x[20](`${x[13]}`)+"")&&c.set_data(R,F),k[0]&262144&&c.toggle_class(P,"active",x[18]),k[0]&34603520){Q=c.ensure_array_like(x[9]);let H;for(H=0;H<Q.length;H+=1){const mt=$o(x,Q,H);M[H]?M[H].p(mt,k):(M[H]=Yo(mt),M[H].c(),M[H].m(z,null))}for(;H<M.length;H+=1)M[H].d(1);M.length=Q.length}k[0]&262144&&c.toggle_class(z,"active",x[18]),k[0]&262144&&c.toggle_class(w,"active",x[18]),x[16]?O?O.p(x,k):(O=jo(x),O.c(),O.m(e,se)):O&&(O.d(1),O=null),re===(re=de(x))&&K?K.p(x,k):(K.d(1),K=re(x),K&&(K.c(),K.m(j,null))),k[0]&1048576&&X!==(X=x[20]("save")+"")&&c.set_data(ae,X),k[0]&131072&&me!==(me="SelfExclusionSave "+(x[17]?"active":""))&&c.attr(L,"class",me),k[0]&131072&&_e!==(_e=!x[17])&&(L.disabled=_e),x[23]&&ie.p(x,k)},d(x){x&&c.detach(t),Z&&Z.d(),c.destroy_each(M,x),O&&O.d(),K.d(),ie&&ie.d(),ge=!1,c.run_all(be)}}}function pd(o){let t,e,i,s,r,n,a,l,d,u,h,p,m,g,f,_,y,v,E,w,C;function q(N,P){return N[22]?yd:vd}let R=q(o)(o);return{c(){t=c.element("div"),e=c.element("div"),R.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"),C=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","6"),c.set_custom_element_data(r,"width","100%"),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(C,"structure","rectangle"),c.set_custom_element_data(C,"width","100%"),c.set_custom_element_data(C,"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(N,P){c.insert(N,t,P),c.append(t,e),R.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,C)},p:c.noop,d(N){N&&c.detach(t),R.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 Yo(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 jo(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:he.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:he.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)),he.dayjs.extend(yr);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,C=[],q={},F=y.toUpperCase(),R=window.navigator.userAgent,N,P,D="",T="",G="selectAPeriod",z="",te="",se=c.getDevice(R)!=="PC",j=!1,J=!1,B=!1,L=!1,X=_==="true",ae=!0;const me=()=>{fetch(f).then(V=>V.json()).then(V=>{Object.keys(V).forEach(U=>{Bo(U,V[U])})}).catch(V=>{console.log(V)})};Object.keys(Ho).forEach(b=>{Bo(b,Ho[b])});const _e=()=>{let b=new URL(`${s}/v1/player/selfExclusionSettings`);fetch(b,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(U=>ge(U)).then(U=>{e(9,C=U.periods)}).catch(U=>{console.log(U),window.postMessage({type:"WidgetNotification",data:{type:"error",message:U.message}},window.location.href)}).finally(()=>{e(19,ae=!1)})},Se=b=>{b.data.type==="setSelfExclusion"&&O()},ge=b=>Ke(this,null,function*(){var V;if(!b.ok){q=yield b.json(),te=(V=q.thirdPartyResponse)==null?void 0:V.errorCode;const U=i(te||"generalError");throw new Error(U)}return b.json()}),be=()=>{e(18,L=!L)},Z=b=>{switch(T=b.text,e(13,G=b.key),e(17,B=!0),e(18,L=!1),e(15,j=!1),e(16,J=!1),T){case"Until":e(16,J=!0),e(10,N=he.dayjs().add(6,"months").format("YYYY-MM-DD")),e(11,P=he.dayjs().add(5,"years").format("YYYY-MM-DD")),e(12,D=N);break;case"Permanent":e(15,j=!j);break;default:const[V,U]=T.split(" "),Ae=U.includes("Day")?"days":U.includes("Month")?"months":U.includes("Year")?"years":null;if(!Ae)return;e(12,D=he.dayjs().add(Number(V),Ae).format("YYYY-MM-DD"));break}X&&Q()},Q=()=>{if(!X||!T||!D){e(14,z="");return}e(14,z=J?i("confirmationModalTextUntilSelfExclusion",{values:{date:he.dayjs(D).format(F)}}):i("confirmationModalTextPeriodSelfExclusion",{values:{period:i(T)}}))},M=b=>{b.preventDefault(),X?(Q(),window.postMessage({type:"ShowSelfExclusionConfirmationModal"},window.location.href)):O()},O=()=>{e(19,ae=!0);const b=new URL(`/v2/player/${n}/limits${l==="gm16"?"/session":""}`,s),U={method:"PUT",headers:{"X-SessionID":r,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({selfExclusion:{period:G,expiryDate:D,selfExclusionReason:"UserRequest",sendNotificationEmail:v==="true"}})};fetch(b.href,U).then(Ae=>ge(Ae)).then(Ae=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:i("selfExclusionSuccess")}},window.location.href),window.postMessage({type:"LogoutSuccessfull"},window.location.href)}).catch(Ae=>{console.error(i("errorSelfExclusionCall"),Ae),window.postMessage({type:"WidgetNotification",data:{type:"error",message:i("errorSelfExclusionCall")}},window.location.href)}).finally(()=>{e(19,ae=!1)})},de=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:se},window.location.href)},re=b=>{e(12,D=b.target.value)},K=()=>{w.addEventListener("change",re,!1),e(8,w.i18n=gt(_t({},w.i18n),{formatDate:b=>he.dayjs(new Date(b.year,b.month,b.day)).format(F),parseDate:b=>{const V=he.dayjs(b,F);return{year:V.year(),month:V.month(),day:V.date()}}}),w)};c.onMount(()=>(window.addEventListener("message",Se,!1),()=>{w.removeEventListener("change",re),window.removeEventListener("message",Se)}));const ie=()=>{dd(a)},x=()=>de(),k=()=>be(),H=b=>Z(b);function mt(b){c.binding_callbacks[b?"unshift":"push"](()=>{w=b,e(8,w)})}const wr=b=>M(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&&ie(),o.$$.dirty[0]&1879048192|o.$$.dirty[1]&1&&s&&r&&n&&l&&_e(),o.$$.dirty[0]&256&&w&&K(),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&&me()},X&&Q(),[a,d,u,h,p,m,g,E,w,C,N,P,D,G,z,j,J,B,L,ae,i,F,se,X,be,Z,M,de,s,r,n,l,f,_,y,v,x,k,H,mt,wr,Er]}class xr 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(xr,{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:xr},Symbol.toStringTag,{value:"Module"}));exports.CustomParseFormat=yr;exports.PlayerAccountSelfExclusion_ce=Ed;
|