@everymatrix/player-account-controller-nd 1.69.0 → 1.69.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountControllerNd-zBnRxjjD.cjs → PlayerAccountControllerNd-B8_Eg8M7.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-Dwdl_p1l.js → PlayerAccountControllerNd-C9c5qHpB.js} +12 -12
- package/components/{PlayerAccountControllerNd-C4fyqqh1.js → PlayerAccountControllerNd-D2utEHf5.js} +12 -12
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-D0j9FESV.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-B6tELts_.cjs} +3 -3
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-JTp7ykpl.js → PlayerAccountGamingLimitsPage2Gm16Nd-CXQX6eNH.js} +108 -114
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Cp0HPknx.js → PlayerAccountGamingLimitsPage2Gm16Nd-Dx02fxKY.js} +129 -135
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DnzmU3uL.js → PlayerAccountGamingLimitsWrapper2Nd-CpyV2hP1.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-D6DATRJZ.cjs → PlayerAccountGamingLimitsWrapper2Nd-D5nHHoLm.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-BEi1Ax2s.js → PlayerAccountGamingLimitsWrapper2Nd-DT0rCXco.js} +1 -1
- package/components/{PlayerAccountMenuNd-Cs9UjL2S.js → PlayerAccountMenuNd-BMBUbI6y.js} +1 -1
- package/components/{PlayerAccountMenuNd-BFdU3ZXb.cjs → PlayerAccountMenuNd-Bb8eCevo.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-Cx7Fxjin.js → PlayerAccountMenuNd-D1RwH7wH.js} +1 -1
- package/components/{PlayerAccountNotifications-bjLmyXO3.js → PlayerAccountNotifications-B-74n2wI.js} +1 -1
- package/components/{PlayerAccountNotifications-ejASOsrU.cjs → PlayerAccountNotifications-D8r2XtCv.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BjAtYQls.js → PlayerAccountNotifications-k9UyYE2n.js} +1 -1
- package/components/{PlayerAccountProductRestriction-uj_BwdJ0.cjs → PlayerAccountProductRestriction-BRQ_0iRa.cjs} +261 -261
- package/components/{PlayerAccountProductRestriction-ESKHafqp.js → PlayerAccountProductRestriction-Bb852CXS.js} +1928 -1932
- package/components/{PlayerAccountProductRestriction-h9nnGXrP.js → PlayerAccountProductRestriction-DuhY6Smp.js} +1916 -1920
- package/components/{PlayerAccountSelfExclusionNd-BxnljuoQ.cjs → PlayerAccountSelfExclusionNd-CSTSxxS9.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-9tdRb-BD.js → PlayerAccountSelfExclusionNd-Ce5YAsGV.js} +2 -2
- package/components/{PlayerAccountSelfExclusionNd-BQlI8ffc.js → PlayerAccountSelfExclusionNd-kOAMG31m.js} +2 -2
- package/components/{PlayerAccountTimeout-Bf9hZOsd.js → PlayerAccountTimeout-C5PJ_msd.js} +3 -3
- package/components/{PlayerAccountTimeout-6ruoWoF3.cjs → PlayerAccountTimeout-CMtwjwEg.cjs} +1 -1
- package/components/{PlayerAccountTimeout-CZR3PPPV.js → PlayerAccountTimeout-ocrV5KJH.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-CLGmdqFi.js → PlayerAccountTransactionsHistory-097RLBFr.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-CtyhdBep.js → PlayerAccountTransactionsHistory-DH_DQqUA.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-CRmQjcHX.cjs → PlayerAccountTransactionsHistory-DmawfuJF.cjs} +1 -1
- package/components/{PlayerBonusHistory-D2uJLN_3.cjs → PlayerBonusHistory-1O3uWzIQ.cjs} +1 -1
- package/components/{PlayerBonusHistory-BBM_Ee_C.js → PlayerBonusHistory-BM4fFqSh.js} +1 -1
- package/components/{PlayerBonusHistory-DtPqQdZo.js → PlayerBonusHistory-ByBUgN3W.js} +1 -1
- package/components/{PlayerGamingHistory-D5C8zTFo.cjs → PlayerGamingHistory-DQ4HRmmw.cjs} +1 -1
- package/components/{PlayerGamingHistory-DlQpmkPh.js → PlayerGamingHistory-_yfFEV_F.js} +1 -1
- package/components/{PlayerGamingHistory-COsI7V9y.js → PlayerGamingHistory-z-S43iX0.js} +1 -1
- package/components/{PlayerProfileInfo-DcmY9plr.cjs → PlayerProfileInfo-B_Ljin_V.cjs} +1 -1
- package/components/{PlayerProfileInfo-Cnrcnxn9.js → PlayerProfileInfo-D_Tgt-Px.js} +1 -1
- package/components/{PlayerProfileInfo-yVopMUMB.js → PlayerProfileInfo-DzX5fe6K.js} +1 -1
- package/components/{PlayerRealityCheck-RsT9a67Q.js → PlayerRealityCheck-6XXRahxA.js} +1 -1
- package/components/{PlayerRealityCheck-BrVF76qp.cjs → PlayerRealityCheck-BjYYGdSA.cjs} +1 -1
- package/components/{PlayerRealityCheck-C7EUl18t.js → PlayerRealityCheck-DGjxJY9s.js} +1 -1
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_14-D0Wi9yCm.js → checkbox-group-input_14-BFSnZagr.js} +59 -39
- package/stencil/{checkbox-group-input_14-0MlabybW.js → checkbox-group-input_14-GLjTTxmH.js} +59 -39
- package/stencil/{checkbox-group-input_14-BUUOn-f1.cjs → checkbox-group-input_14-uRy46KSq.cjs} +117 -117
- package/stencil/{index-13661b98-wjpz7oVL.cjs → index-13661b98-4yXy6CPB.cjs} +1 -1
- package/stencil/{index-13661b98-Dd0kDfGP.js → index-13661b98-D2nlyS8e.js} +1 -1
- package/stencil/{index-13661b98-Vb11Gqfi.js → index-13661b98-DIbjgfzn.js} +1 -1
- package/stencil/{index-b2193545-Ct5AhxM8.cjs → index-b2193545-BabAkr0e.cjs} +1 -1
- package/stencil/{index-b2193545-DePry399.js → index-b2193545-BiOpH9En.js} +1 -1
- package/stencil/{index-b2193545-CnMZ4-Ff.js → index-b2193545-Ce-13pAo.js} +1 -1
- package/stencil/{pam-change-password-D23ISzqi.js → pam-change-password-BJkxTpcZ.js} +2 -2
- package/stencil/{pam-change-password-1_IegfkZ.cjs → pam-change-password-DBQlR2TU.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-DzJmDiaX.js → pam-change-password-f4a1e7e7-BWQCkDNb.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-Cxe8Atmr.js → pam-change-password-f4a1e7e7-C9NkOxiM.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-BqEyIcXD.cjs → pam-change-password-f4a1e7e7-D-bYL6gs.cjs} +1 -1
- package/stencil/{pam-change-password-BUGFXbZ2.js → pam-change-password-iLjG4ryi.js} +2 -2
- package/stencil/ui-skeleton-161699c3-B01ZhhJT.cjs +73 -0
- package/stencil/{ui-skeleton-1cb75d00-CwDKR1VD.js → ui-skeleton-161699c3-B6lE-0Wi.js} +61 -41
- package/stencil/{ui-skeleton-1cb75d00-BI5A-j0y.js → ui-skeleton-161699c3-D0o9EmS0.js} +61 -41
- package/stencil/{ui-skeleton-DoX-UmRU.js → ui-skeleton-B3VBr2Bz.js} +3 -3
- package/stencil/{ui-skeleton-C974aG7g.js → ui-skeleton-BENu4NGl.js} +3 -3
- package/stencil/{ui-skeleton-t0bb1jH7.cjs → ui-skeleton-DQD9osiT.cjs} +1 -1
- package/stencil/ui-skeleton-1cb75d00-Batko5iK.cjs +0 -73
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var z=(i,t,a)=>new Promise((l,n)=>{var r=u=>{try{y(a.next(u))}catch(h){n(h)}},s=u=>{try{y(a.throw(u))}catch(h){n(h)}},y=u=>u.done?l(u.value):Promise.resolve(u.value).then(r,s);y((a=a.apply(i,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-Dzu2Sl-x.cjs");require("../stencil/ui-skeleton-t0bb1jH7.cjs");function O(i,t){e.addMessages(i,t)}function W(i){e.$locale.set(i)}const A={en:{titleRealityCheck:"Reality Check",never:"Never",minutes:"Minutes",oneHour:"1 Hour",hours:"Hours",successMessage:"Reality check has been successfully updated.",realityCheckText:"The Reality Check facility allows you to set the frequency at which you will see a Reality Check on the screen within your gaming session. A Reality Check means a display of the time elapsed since your session began. You are able to control the frequency at which the Reality Check will appear on your screen.",realityCheckLoading:"Loading items, please wait ...",setFrequency:"Set frequency"},"zh-hk":{titleRealityCheck:"現實檢查",never:"絕不",minutes:"分鐘",oneHour:"1小時",hours:"小時",successMessage:"現實檢查已成功更新。",realityCheckText:"該工具允許您設置在遊戲會話中在屏幕上看到消息的頻率。 它將顯示自會話開始以來經過的時間。",realityCheckLoading:"正在加載項目,請稍候...",setFrequency:"設置頻率"},fr:{titleRealityCheck:"Verification de la réalité",never:"Jamais",minutes:"Minutes",oneHour:"1 Heure",hours:"Heure",successMessage:"Le contrôle de la réalité a été mis à jour avec succès.",realityCheckText:"La fonction de contrôle de la réalité vous permet de définir la fréquence à laquelle vous verrez un contrôlede la réalité sur l'écran au cours de votre sessions de jeu , c'est-à-dire un affichage du temps écoulé depuis le début de votre session.",realityCheckLoading:"Chargement des éléments, veuillez patienter ...",setFrequency:"Régler la fréquence"},ro:{titleRealityCheck:"Verificare timp",never:"Niciodata",minutes:"Minute",oneHour:"1 Ora",hours:"Ore",successMessage:"Frecvența a fost setată cu succes!",realityCheckText:"Opțiunea Reality Check îți permite să setezi frecvența cu care vei vedea verificarea timpului de joc pe parcursul sesiunii tale de joc. O astfel de verificare reprezintă afișarea timpului trecut de la începerea sesiunii de joc.",realityCheckLoading:"Se încarcă...",setFrequency:"Stabilește frecvența"},es:{titleRealityCheck:"Verificación de la realidad",never:"Nunca",minutes:"Minutos",oneHour:"1 Hora",hours:"Horas",successMessage:"La verificación de la realidad se ha actualizado con éxito.",realityCheckText:"La función de Verificación de la realidad le permite establecer la frecuencia con la que verá una Verificación de la realidad en la pantalla dentro de su sesión de juego. Una verificación de la realidad significa una visualización del tiempo transcurrido desde que comenzó su sesión. Puede controlar la frecuencia con la que aparecerá la Verificación de realidad en su pantalla.",realityCheckLoading:"Cargando items",setFrequency:"Estabelecer frecuencia"},pt:{titleRealityCheck:"Verificação da realidade",never:"Nunca",minutes:"Minutos",oneHour:"1 hora",hours:"Horas",successMessage:"A verificação da realidade foi atualizada com sucesso.",realityCheckText:"O recurso Verificação da Realidade permite que você defina a frequência com que você verá uma Verificação da Realidade na tela durante sua sessão de jogo. Uma verificação da realidade significa uma exibição do tempo decorrido desde o início da sua sessão.",realityCheckLoading:"Carregando itens, por favor aguarde...",setFrequency:"Definir frequência"},hr:{titleRealityCheck:"Provjera stvarnosti",never:"Nikad",minutes:"Minuta",oneHour:"1 sat",hours:"Sati",successMessage:"Provjera stvarnosti je uspješno ažurirana.",realityCheckText:"Mogućnost Provjere stvarnosti omogućuje vam da postavite učestalost na kojoj ćete vidjeti Provjeru stvarnosti na zaslonu tijekom svoje sesije igranja. Provjera stvarnosti znači prikaz vremena proteklog od početka vaše sesije. Možete kontrolirati učestalost kojom će se Reality Provjera stvarnosti pojaviti na vašem zaslonu.",realityCheckLoading:"Učitavanje stavki",setFrequency:"Postavite frekvenciju"},"pt-br":{titleRealityCheck:"Verificação da realidade",never:"Nunca",minutes:"Minutos",oneHour:"1 hora",hours:"Horas",successMessage:"A verificação da realidade foi atualizada com sucesso.",realityCheckText:"A instalação da verificação da realidade permite ajustar a frequência com que a verificação da realidade aparece na tela durante a sessão de jogo. Uma verificação da realidade significa exibir o tempo decorrido desde que você iniciou sua sessão. Você é capaz de controlar a frequência com que essa verificação da realidade aparecerá na sua tela.",realityCheckLoading:"Carregando itens, por favor espere...",setFrequency:"Definir frequência"},"es-mx":{titleRealityCheck:"Control de Realidad",never:"Nunca",minutes:"Minutos",oneHour:"1 Hora",hours:"Horas",successMessage:"El control de realidad ha sido actualizada exitosamente.",realityCheckText:"La instalación del control de realidad le permite ajustar la frequencia en la que aparece la verificación de realidad en la pantalla durante su sesión de juego. Un control de realidad significa la visualización del tiempo transcurrido desde que arranco su sesión. Ustede es capaza de controlar la frecuencia en la que esta verificación de realidad aparecerá en su pantalla.",realityCheckLoading:"Cargando elementos, por favor espere...",setFrequency:"Fijar frecuencia"},"en-us":{titleRealityCheck:"Reality Check",never:"Never",minutes:"Minutes",oneHour:"1 Hour",hours:"Hours",successMessage:"Reality check has been successfully updated.",realityCheckText:"The Reality Check facility allows you to set the frequency at which you will see a Reality Check on the screen within your gaming session. A Reality Check means a display of the time elapsed since your session began. You are able to control the frequency at which the Reality Check will appear on your screen.",realityCheckLoading:"Loading items, please wait ...",setFrequency:"Set frequency"}};function X(i){e.append_styles(i,"svelte-17lev58",'.SkeletonContainer{width:100%;display:flex;flex-direction:column;gap:17px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SkeletonContainer .SkeletonMenuButton{display:flex;gap:20px;width:100%}.SkeletonContainer .SkeletonMenuButton.Mobile{margin-top:10px}.SkeletonContainer .SkeletonTextContainer{width:100%;min-height:140px}.SkeletonContainer .SkeletonOptionContainer{display:flex;flex-direction:column;width:100%;min-height:200px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption{display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;margin:0 0 13px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption .SkeletonOptionText{width:20%;margin-top:10px}.SkeletonContainer .SkeletonOptionContainer .Button{margin-top:5px}.successMessage{position:absolute;display:block;top:25px;left:50px;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessage.successMessageMobile{display:none}.successMessageMobile{display:block;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessageMobile.successMessage{display:none}.TextContainer{display:flex;flex-direction:column;padding:10px 20px}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=radio]{position:absolute;left:-9999px}.customRadio input[type=radio]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=radio]+label:before{content:"";background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=radio]+label:after{content:"";background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.RealityCheckDescription{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));line-height:24px}.RealityCheckDescription p{min-height:140px}.RealityCheckDescription.RealityChecktionMobile{font-size:12px;line-height:18px}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerRealityCheckWrapper{position:relative;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.PlayerRealityCheckWrapper.PlayerRealityCheckWrapperMobile{padding:20px 15px;max-width:unset}.RealityCheckTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.RealityCheckTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.RealityCheckTitleNone{display:none}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.ButtonInactive{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed;opacity:0.6;color:var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerDetailsContent{grid-template-columns:1fr}.containerTimeout{animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:20PX}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function V(i,t,a){const l=i.slice();return l[33]=t[a].value,l[34]=t[a].text,l[36]=a,l}function G(i,t,a){const l=i.slice();return l[30]=t[a],l}function Y(i){let t,a,l,n,r=i[5]("titleRealityCheck")+"",s,y,u,h,k=i[5]("realityCheckText")+"",v,g,C,b,d,p,f=i[5]("setFrequency")+"",x,T,F,H,L,j=i[6]&&Z(i),R=i[4]&&N(i),q=e.ensure_array_like(i[7]),w=[];for(let m=0;m<q.length;m+=1)w[m]=D(V(i,q,m));return{c(){t=e.element("div"),j&&j.c(),a=e.space(),R&&R.c(),l=e.space(),n=e.element("h2"),s=e.text(r),y=e.space(),u=e.element("div"),h=e.element("p"),v=e.text(k),g=e.space(),C=e.element("form");for(let m=0;m<w.length;m+=1)w[m].c();b=e.space(),d=e.element("div"),p=e.element("button"),x=e.text(f),e.attr(n,"class","RealityCheckTitle "+(i[6]?"RealityCheckTitleNone":"")),e.attr(u,"class","RealityCheckDescription "+(i[6]?"RealityCheckDescriptionMobile":"")),e.attr(p,"class",T="PlayerRealityCheckButton "+(i[3]===i[2]?"ButtonInactive":"")),p.disabled=F=i[3]===i[2],e.attr(d,"class","BottomButtonsArea "+(i[6]?"BottomButtonsAreaMobile":"")),e.attr(C,"class","customRadio"),e.attr(t,"class","containerTimeout")},m(m,S){e.insert(m,t,S),j&&j.m(t,null),e.append(t,a),R&&R.m(t,null),e.append(t,l),e.append(t,n),e.append(n,s),e.append(t,y),e.append(t,u),e.append(u,h),e.append(h,v),e.append(t,g),e.append(t,C);for(let _=0;_<w.length;_+=1)w[_]&&w[_].m(C,null);e.append(C,b),e.append(C,d),e.append(d,p),e.append(p,x),H||(L=e.listen(p,"click",i[8]),H=!0)},p(m,S){if(m[6]&&j.p(m,S),m[4]?R?R.p(m,S):(R=N(m),R.c(),R.m(t,l)):R&&(R.d(1),R=null),S[0]&32&&r!==(r=m[5]("titleRealityCheck")+"")&&e.set_data(s,r),S[0]&32&&k!==(k=m[5]("realityCheckText")+"")&&e.set_data(v,k),S[0]&132){q=e.ensure_array_like(m[7]);let _;for(_=0;_<q.length;_+=1){const P=V(m,q,_);w[_]?w[_].p(P,S):(w[_]=D(P),w[_].c(),w[_].m(C,b))}for(;_<w.length;_+=1)w[_].d(1);w.length=q.length}S[0]&32&&f!==(f=m[5]("setFrequency")+"")&&e.set_data(x,f),S[0]&12&&T!==(T="PlayerRealityCheckButton "+(m[3]===m[2]?"ButtonInactive":""))&&e.attr(p,"class",T),S[0]&12&&F!==(F=m[3]===m[2])&&(p.disabled=F)},d(m){m&&e.detach(t),j&&j.d(),R&&R.d(),e.destroy_each(w,m),H=!1,L()}}}function J(i){let t,a,l,n,r,s,y,u,h;function k(d,p){return d[6]?Q:K}let g=k(i)(i),C=e.ensure_array_like({length:6}),b=[];for(let d=0;d<C.length;d+=1)b[d]=$(G(i,C,d));return{c(){t=e.element("div"),g.c(),a=e.space(),l=e.element("div"),n=e.element("ui-skeleton"),r=e.space(),s=e.element("div");for(let d=0;d<b.length;d+=1)b[d].c();y=e.space(),u=e.element("div"),h=e.element("ui-skeleton"),e.set_custom_element_data(n,"structure","text"),e.set_custom_element_data(n,"height","15px"),e.set_custom_element_data(n,"width","100%"),e.set_custom_element_data(n,"margin-bottom","7px"),e.set_custom_element_data(n,"rows",i[6]?"5":"3"),e.attr(l,"class","SkeletonTextContainer"),e.set_custom_element_data(h,"structure","rectangle"),e.set_custom_element_data(h,"height","50px"),e.set_custom_element_data(h,"margin-bottom","0"),e.set_custom_element_data(h,"borderRadius","5px"),e.set_custom_element_data(h,"width",i[6]?"100%":"350px"),e.attr(u,"class","Button"),e.attr(s,"class","SkeletonOptionContainer"),e.attr(t,"class","SkeletonContainer")},m(d,p){e.insert(d,t,p),g.m(t,null),e.append(t,a),e.append(t,l),e.append(l,n),e.append(t,r),e.append(t,s);for(let f=0;f<b.length;f+=1)b[f]&&b[f].m(s,null);e.append(s,y),e.append(s,u),e.append(u,h)},p(d,p){g.p(d,p)},d(d){d&&e.detach(t),g.d(),e.destroy_each(b,d)}}}function Z(i){let t,a,l,n,r,s,y,u,h,k,v,g=i[5]("titleRealityCheck")+"",C,b,d,p=i[4]&&E(i);return{c(){p&&p.c(),t=e.space(),a=e.element("div"),l=e.svg_element("svg"),n=e.svg_element("defs"),r=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),y=e.svg_element("g"),u=e.svg_element("g"),h=e.svg_element("path"),k=e.space(),v=e.element("h2"),C=e.text(g),e.attr(h,"class","aaa"),e.attr(h,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(h,"transform","translate(15 15) rotate(180)"),e.attr(u,"transform","translate(20 158)"),e.attr(y,"transform","translate(-20 -158)"),e.attr(l,"xmlns","http://www.w3.org/2000/svg"),e.attr(l,"width","15"),e.attr(l,"height","15"),e.attr(l,"viewBox","0 0 15 15"),e.attr(v,"class","RealityCheckTitleMobile"),e.attr(a,"class","MenuReturnButton")},m(f,x){p&&p.m(f,x),e.insert(f,t,x),e.insert(f,a,x),e.append(a,l),e.append(l,n),e.append(n,r),e.append(r,s),e.append(l,y),e.append(y,u),e.append(u,h),e.append(a,k),e.append(a,v),e.append(v,C),b||(d=[e.listen(a,"click",i[18]),e.listen(a,"keydown",null)],b=!0)},p(f,x){f[4]?p?p.p(f,x):(p=E(f),p.c(),p.m(t.parentNode,t)):p&&(p.d(1),p=null),x[0]&32&&g!==(g=f[5]("titleRealityCheck")+"")&&e.set_data(C,g)},d(f){f&&(e.detach(t),e.detach(a)),p&&p.d(f),b=!1,e.run_all(d)}}}function E(i){let t,a=i[5]("successMessage")+"",l;return{c(){t=e.element("div"),l=e.text(a),e.attr(t,"class","successMessageMobile")},m(n,r){e.insert(n,t,r),e.append(t,l)},p(n,r){r[0]&32&&a!==(a=n[5]("successMessage")+"")&&e.set_data(l,a)},d(n){n&&e.detach(t)}}}function N(i){let t,a=i[5]("successMessage")+"",l;return{c(){t=e.element("div"),l=e.text(a),e.attr(t,"class","successMessage "+(i[6]?"successMessageMobile":""))},m(n,r){e.insert(n,t,r),e.append(t,l)},p(n,r){r[0]&32&&a!==(a=n[5]("successMessage")+"")&&e.set_data(l,a)},d(n){n&&e.detach(t)}}}function D(i){let t,a,l,n,r=i[34]+"",s,y,u,h;return y=e.init_binding_group(i[20][0]),{c(){t=e.element("div"),a=e.element("input"),l=e.space(),n=e.element("label"),s=e.text(r),e.attr(a,"type","radio"),e.attr(a,"id",i[33]),a.__value=i[33],e.set_input_value(a,a.__value),e.attr(n,"for",i[33]),y.p(a)},m(k,v){e.insert(k,t,v),e.append(t,a),a.checked=a.__value===i[2],e.append(t,l),e.append(t,n),e.append(n,s),u||(h=e.listen(a,"change",i[19]),u=!0)},p(k,v){v[0]&4&&(a.checked=a.__value===k[2])},d(k){k&&e.detach(t),y.r(),u=!1,h()}}}function K(i){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="200px" margin-top="20px"></ui-skeleton>',e.attr(t,"class","SkeletonHeaderText")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function Q(i){let t,a,l,n;return{c(){t=e.element("div"),a=e.element("ui-skeleton"),l=e.space(),n=e.element("ui-skeleton"),e.set_custom_element_data(a,"structure","title"),e.set_custom_element_data(a,"width","20px"),e.set_custom_element_data(a,"height","20px"),e.set_custom_element_data(a,"margin-top","5px"),e.set_custom_element_data(a,"margin-bottom","15px"),e.set_custom_element_data(n,"structure","title"),e.set_custom_element_data(n,"width","100px"),e.set_custom_element_data(n,"height","20px"),e.set_custom_element_data(n,"margin-top","5px"),e.set_custom_element_data(n,"margin-bottom","15px"),e.attr(t,"class","SkeletonMenuButton "+(i[6]?"Mobile":""))},m(r,s){e.insert(r,t,s),e.append(t,a),e.append(t,l),e.append(t,n)},p:e.noop,d(r){r&&e.detach(t)}}}function $(i){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="SkeletonOptionCircle"><ui-skeleton structure="circle" size="20px"></ui-skeleton></div> <div class="SkeletonOptionText"><ui-skeleton structure="text" height="10px" width="auto"></ui-skeleton></div>',e.attr(t,"class","SkeletonOption")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function ee(i){let t;function a(r,s){return r[1]?J:Y}let l=a(i),n=l(i);return{c(){t=e.element("div"),n.c(),e.attr(t,"class","PlayerRealityCheckWrapper "+(i[6]?"PlayerRealityCheckWrapperMobile":""))},m(r,s){e.insert(r,t,s),n.m(t,null),i[21](t)},p(r,s){l===(l=a(r))&&n?n.p(r,s):(n.d(1),n=l(r),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(r){r&&e.detach(t),n.d(),i[21](null)}}}function te(i,t,a){let l;e.component_subscribe(i,e.$format,o=>a(5,l=o));let{endpoint:n=""}=t,{playerid:r=""}=t,{session:s=""}=t,{lang:y="en"}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{mbsource:k}=t,{translationurl:v=""}=t,g,C=e.getDevice(window.navigator.userAgent)!=="PC",b=!0,d,p,f=!1,x=[];const T=()=>{const o=new URL(`${n}/v1/player/${r}/realitycheck`),c=new Headers;c.append("X-SessionID",s);const B={method:"GET",headers:c};fetch(o.href,B).then(M=>M.json()).then(M=>{a(2,d=a(3,p=M.UserRealityCheckValue))},M=>{console.error(M)})},F=()=>{const o=new URL(`${n}/v1/player/${r}/availablerealityvalues`),c=new Headers;c.append("X-SessionID",s),c.append("accept","application/json");const B={method:"GET",headers:c};fetch(o.href,B).then(M=>M.json()).then(M=>{H(M.AvailableRealityCheckValues),a(1,b=!1)},M=>{console.error(M)})},H=o=>{o.forEach(c=>{c==0?x.push({value:c.toString(),text:l("never")}):c<60?x.push({value:c.toString(),text:c+" "+l("minutes")}):c==60?x.push({value:c.toString(),text:l("oneHour")}):c>60&&x.push({value:c.toString(),text:c/60+" "+l("hours")})})},L=()=>z(this,null,function*(){const o=new URL(`${n}/v1/player/${r}/realitycheck`),c=new Headers;c.append("X-SessionID",s),c.append("Content-Type","application/json"),c.append("Accept","application/json"),c.append("realityCheckValue",`${parseInt(d,10)}`);const B={method:"POST",headers:c};return yield fetch(o.href,B).then(M=>M.status==200,M=>(console.error(M),!1))}),j=o=>{o.preventDefault(),L().then(c=>{c&&(R(),T())})},R=()=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:l("realityCheckSuccess")}},window.location.href),a(4,f=!0),setTimeout(()=>a(4,f=!1),2e3)},q=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:C},window.location.href)},w=()=>{W(y)},m=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(B=>{O(B,c[B])})}).catch(c=>{console.log(c)})};Object.keys(A).forEach(o=>{O(o,A[o])}),e.onMount(()=>()=>{});const S=[[]],_=()=>q();function P(){d=this.__value,a(2,d)}function I(o){e.binding_callbacks[o?"unshift":"push"](()=>{g=o,a(0,g)})}return i.$$set=o=>{"endpoint"in o&&a(10,n=o.endpoint),"playerid"in o&&a(11,r=o.playerid),"session"in o&&a(12,s=o.session),"lang"in o&&a(13,y=o.lang),"clientstyling"in o&&a(14,u=o.clientstyling),"clientstylingurl"in o&&a(15,h=o.clientstylingurl),"mbsource"in o&&a(16,k=o.mbsource),"translationurl"in o&&a(17,v=o.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&8192&&y&&w(),i.$$.dirty[0]&7168&&n&&r&&s&&T(),i.$$.dirty[0]&7168&&n&&r&&s&&F(),i.$$.dirty[0]&16385&&u&&g&&e.setClientStyling(g,u),i.$$.dirty[0]&32769&&h&&g&&e.setClientStylingURL(g,h),i.$$.dirty[0]&65537&&k&&g&&e.setStreamStyling(g,`${k}.Style`),i.$$.dirty[0]&131072&&v&&m()},[g,b,d,p,f,l,C,x,j,q,n,r,s,y,u,h,k,v,_,P,S,I]}class U extends e.SvelteComponent{constructor(t){super(),e.init(this,t,te,ee,e.safe_not_equal,{endpoint:10,playerid:11,session:12,lang:13,clientstyling:14,clientstylingurl:15,mbsource:16,translationurl:17},X,[-1,-1])}get endpoint(){return this.$$.ctx[10]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get playerid(){return this.$$.ctx[11]}set playerid(t){this.$$set({playerid:t}),e.flush()}get session(){return this.$$.ctx[12]}set session(t){this.$$set({session:t}),e.flush()}get lang(){return this.$$.ctx[13]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[16]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[17]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(U,{endpoint:{},playerid:{},session:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=U;
|
|
1
|
+
"use strict";var z=(i,t,a)=>new Promise((l,n)=>{var r=u=>{try{y(a.next(u))}catch(h){n(h)}},s=u=>{try{y(a.throw(u))}catch(h){n(h)}},y=u=>u.done?l(u.value):Promise.resolve(u.value).then(r,s);y((a=a.apply(i,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-Dzu2Sl-x.cjs");require("../stencil/ui-skeleton-DQD9osiT.cjs");function O(i,t){e.addMessages(i,t)}function W(i){e.$locale.set(i)}const A={en:{titleRealityCheck:"Reality Check",never:"Never",minutes:"Minutes",oneHour:"1 Hour",hours:"Hours",successMessage:"Reality check has been successfully updated.",realityCheckText:"The Reality Check facility allows you to set the frequency at which you will see a Reality Check on the screen within your gaming session. A Reality Check means a display of the time elapsed since your session began. You are able to control the frequency at which the Reality Check will appear on your screen.",realityCheckLoading:"Loading items, please wait ...",setFrequency:"Set frequency"},"zh-hk":{titleRealityCheck:"現實檢查",never:"絕不",minutes:"分鐘",oneHour:"1小時",hours:"小時",successMessage:"現實檢查已成功更新。",realityCheckText:"該工具允許您設置在遊戲會話中在屏幕上看到消息的頻率。 它將顯示自會話開始以來經過的時間。",realityCheckLoading:"正在加載項目,請稍候...",setFrequency:"設置頻率"},fr:{titleRealityCheck:"Verification de la réalité",never:"Jamais",minutes:"Minutes",oneHour:"1 Heure",hours:"Heure",successMessage:"Le contrôle de la réalité a été mis à jour avec succès.",realityCheckText:"La fonction de contrôle de la réalité vous permet de définir la fréquence à laquelle vous verrez un contrôlede la réalité sur l'écran au cours de votre sessions de jeu , c'est-à-dire un affichage du temps écoulé depuis le début de votre session.",realityCheckLoading:"Chargement des éléments, veuillez patienter ...",setFrequency:"Régler la fréquence"},ro:{titleRealityCheck:"Verificare timp",never:"Niciodata",minutes:"Minute",oneHour:"1 Ora",hours:"Ore",successMessage:"Frecvența a fost setată cu succes!",realityCheckText:"Opțiunea Reality Check îți permite să setezi frecvența cu care vei vedea verificarea timpului de joc pe parcursul sesiunii tale de joc. O astfel de verificare reprezintă afișarea timpului trecut de la începerea sesiunii de joc.",realityCheckLoading:"Se încarcă...",setFrequency:"Stabilește frecvența"},es:{titleRealityCheck:"Verificación de la realidad",never:"Nunca",minutes:"Minutos",oneHour:"1 Hora",hours:"Horas",successMessage:"La verificación de la realidad se ha actualizado con éxito.",realityCheckText:"La función de Verificación de la realidad le permite establecer la frecuencia con la que verá una Verificación de la realidad en la pantalla dentro de su sesión de juego. Una verificación de la realidad significa una visualización del tiempo transcurrido desde que comenzó su sesión. Puede controlar la frecuencia con la que aparecerá la Verificación de realidad en su pantalla.",realityCheckLoading:"Cargando items",setFrequency:"Estabelecer frecuencia"},pt:{titleRealityCheck:"Verificação da realidade",never:"Nunca",minutes:"Minutos",oneHour:"1 hora",hours:"Horas",successMessage:"A verificação da realidade foi atualizada com sucesso.",realityCheckText:"O recurso Verificação da Realidade permite que você defina a frequência com que você verá uma Verificação da Realidade na tela durante sua sessão de jogo. Uma verificação da realidade significa uma exibição do tempo decorrido desde o início da sua sessão.",realityCheckLoading:"Carregando itens, por favor aguarde...",setFrequency:"Definir frequência"},hr:{titleRealityCheck:"Provjera stvarnosti",never:"Nikad",minutes:"Minuta",oneHour:"1 sat",hours:"Sati",successMessage:"Provjera stvarnosti je uspješno ažurirana.",realityCheckText:"Mogućnost Provjere stvarnosti omogućuje vam da postavite učestalost na kojoj ćete vidjeti Provjeru stvarnosti na zaslonu tijekom svoje sesije igranja. Provjera stvarnosti znači prikaz vremena proteklog od početka vaše sesije. Možete kontrolirati učestalost kojom će se Reality Provjera stvarnosti pojaviti na vašem zaslonu.",realityCheckLoading:"Učitavanje stavki",setFrequency:"Postavite frekvenciju"},"pt-br":{titleRealityCheck:"Verificação da realidade",never:"Nunca",minutes:"Minutos",oneHour:"1 hora",hours:"Horas",successMessage:"A verificação da realidade foi atualizada com sucesso.",realityCheckText:"A instalação da verificação da realidade permite ajustar a frequência com que a verificação da realidade aparece na tela durante a sessão de jogo. Uma verificação da realidade significa exibir o tempo decorrido desde que você iniciou sua sessão. Você é capaz de controlar a frequência com que essa verificação da realidade aparecerá na sua tela.",realityCheckLoading:"Carregando itens, por favor espere...",setFrequency:"Definir frequência"},"es-mx":{titleRealityCheck:"Control de Realidad",never:"Nunca",minutes:"Minutos",oneHour:"1 Hora",hours:"Horas",successMessage:"El control de realidad ha sido actualizada exitosamente.",realityCheckText:"La instalación del control de realidad le permite ajustar la frequencia en la que aparece la verificación de realidad en la pantalla durante su sesión de juego. Un control de realidad significa la visualización del tiempo transcurrido desde que arranco su sesión. Ustede es capaza de controlar la frecuencia en la que esta verificación de realidad aparecerá en su pantalla.",realityCheckLoading:"Cargando elementos, por favor espere...",setFrequency:"Fijar frecuencia"},"en-us":{titleRealityCheck:"Reality Check",never:"Never",minutes:"Minutes",oneHour:"1 Hour",hours:"Hours",successMessage:"Reality check has been successfully updated.",realityCheckText:"The Reality Check facility allows you to set the frequency at which you will see a Reality Check on the screen within your gaming session. A Reality Check means a display of the time elapsed since your session began. You are able to control the frequency at which the Reality Check will appear on your screen.",realityCheckLoading:"Loading items, please wait ...",setFrequency:"Set frequency"}};function X(i){e.append_styles(i,"svelte-17lev58",'.SkeletonContainer{width:100%;display:flex;flex-direction:column;gap:17px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SkeletonContainer .SkeletonMenuButton{display:flex;gap:20px;width:100%}.SkeletonContainer .SkeletonMenuButton.Mobile{margin-top:10px}.SkeletonContainer .SkeletonTextContainer{width:100%;min-height:140px}.SkeletonContainer .SkeletonOptionContainer{display:flex;flex-direction:column;width:100%;min-height:200px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption{display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;margin:0 0 13px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption .SkeletonOptionText{width:20%;margin-top:10px}.SkeletonContainer .SkeletonOptionContainer .Button{margin-top:5px}.successMessage{position:absolute;display:block;top:25px;left:50px;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessage.successMessageMobile{display:none}.successMessageMobile{display:block;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessageMobile.successMessage{display:none}.TextContainer{display:flex;flex-direction:column;padding:10px 20px}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=radio]{position:absolute;left:-9999px}.customRadio input[type=radio]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=radio]+label:before{content:"";background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=radio]+label:after{content:"";background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.RealityCheckDescription{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));line-height:24px}.RealityCheckDescription p{min-height:140px}.RealityCheckDescription.RealityChecktionMobile{font-size:12px;line-height:18px}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerRealityCheckWrapper{position:relative;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.PlayerRealityCheckWrapper.PlayerRealityCheckWrapperMobile{padding:20px 15px;max-width:unset}.RealityCheckTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.RealityCheckTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.RealityCheckTitleNone{display:none}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.ButtonInactive{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed;opacity:0.6;color:var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerDetailsContent{grid-template-columns:1fr}.containerTimeout{animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:20PX}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function V(i,t,a){const l=i.slice();return l[33]=t[a].value,l[34]=t[a].text,l[36]=a,l}function G(i,t,a){const l=i.slice();return l[30]=t[a],l}function Y(i){let t,a,l,n,r=i[5]("titleRealityCheck")+"",s,y,u,h,k=i[5]("realityCheckText")+"",v,g,C,b,d,p,f=i[5]("setFrequency")+"",x,T,F,H,L,j=i[6]&&Z(i),R=i[4]&&N(i),q=e.ensure_array_like(i[7]),w=[];for(let m=0;m<q.length;m+=1)w[m]=D(V(i,q,m));return{c(){t=e.element("div"),j&&j.c(),a=e.space(),R&&R.c(),l=e.space(),n=e.element("h2"),s=e.text(r),y=e.space(),u=e.element("div"),h=e.element("p"),v=e.text(k),g=e.space(),C=e.element("form");for(let m=0;m<w.length;m+=1)w[m].c();b=e.space(),d=e.element("div"),p=e.element("button"),x=e.text(f),e.attr(n,"class","RealityCheckTitle "+(i[6]?"RealityCheckTitleNone":"")),e.attr(u,"class","RealityCheckDescription "+(i[6]?"RealityCheckDescriptionMobile":"")),e.attr(p,"class",T="PlayerRealityCheckButton "+(i[3]===i[2]?"ButtonInactive":"")),p.disabled=F=i[3]===i[2],e.attr(d,"class","BottomButtonsArea "+(i[6]?"BottomButtonsAreaMobile":"")),e.attr(C,"class","customRadio"),e.attr(t,"class","containerTimeout")},m(m,S){e.insert(m,t,S),j&&j.m(t,null),e.append(t,a),R&&R.m(t,null),e.append(t,l),e.append(t,n),e.append(n,s),e.append(t,y),e.append(t,u),e.append(u,h),e.append(h,v),e.append(t,g),e.append(t,C);for(let _=0;_<w.length;_+=1)w[_]&&w[_].m(C,null);e.append(C,b),e.append(C,d),e.append(d,p),e.append(p,x),H||(L=e.listen(p,"click",i[8]),H=!0)},p(m,S){if(m[6]&&j.p(m,S),m[4]?R?R.p(m,S):(R=N(m),R.c(),R.m(t,l)):R&&(R.d(1),R=null),S[0]&32&&r!==(r=m[5]("titleRealityCheck")+"")&&e.set_data(s,r),S[0]&32&&k!==(k=m[5]("realityCheckText")+"")&&e.set_data(v,k),S[0]&132){q=e.ensure_array_like(m[7]);let _;for(_=0;_<q.length;_+=1){const P=V(m,q,_);w[_]?w[_].p(P,S):(w[_]=D(P),w[_].c(),w[_].m(C,b))}for(;_<w.length;_+=1)w[_].d(1);w.length=q.length}S[0]&32&&f!==(f=m[5]("setFrequency")+"")&&e.set_data(x,f),S[0]&12&&T!==(T="PlayerRealityCheckButton "+(m[3]===m[2]?"ButtonInactive":""))&&e.attr(p,"class",T),S[0]&12&&F!==(F=m[3]===m[2])&&(p.disabled=F)},d(m){m&&e.detach(t),j&&j.d(),R&&R.d(),e.destroy_each(w,m),H=!1,L()}}}function J(i){let t,a,l,n,r,s,y,u,h;function k(d,p){return d[6]?Q:K}let g=k(i)(i),C=e.ensure_array_like({length:6}),b=[];for(let d=0;d<C.length;d+=1)b[d]=$(G(i,C,d));return{c(){t=e.element("div"),g.c(),a=e.space(),l=e.element("div"),n=e.element("ui-skeleton"),r=e.space(),s=e.element("div");for(let d=0;d<b.length;d+=1)b[d].c();y=e.space(),u=e.element("div"),h=e.element("ui-skeleton"),e.set_custom_element_data(n,"structure","text"),e.set_custom_element_data(n,"height","15px"),e.set_custom_element_data(n,"width","100%"),e.set_custom_element_data(n,"margin-bottom","7px"),e.set_custom_element_data(n,"rows",i[6]?"5":"3"),e.attr(l,"class","SkeletonTextContainer"),e.set_custom_element_data(h,"structure","rectangle"),e.set_custom_element_data(h,"height","50px"),e.set_custom_element_data(h,"margin-bottom","0"),e.set_custom_element_data(h,"borderRadius","5px"),e.set_custom_element_data(h,"width",i[6]?"100%":"350px"),e.attr(u,"class","Button"),e.attr(s,"class","SkeletonOptionContainer"),e.attr(t,"class","SkeletonContainer")},m(d,p){e.insert(d,t,p),g.m(t,null),e.append(t,a),e.append(t,l),e.append(l,n),e.append(t,r),e.append(t,s);for(let f=0;f<b.length;f+=1)b[f]&&b[f].m(s,null);e.append(s,y),e.append(s,u),e.append(u,h)},p(d,p){g.p(d,p)},d(d){d&&e.detach(t),g.d(),e.destroy_each(b,d)}}}function Z(i){let t,a,l,n,r,s,y,u,h,k,v,g=i[5]("titleRealityCheck")+"",C,b,d,p=i[4]&&E(i);return{c(){p&&p.c(),t=e.space(),a=e.element("div"),l=e.svg_element("svg"),n=e.svg_element("defs"),r=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),y=e.svg_element("g"),u=e.svg_element("g"),h=e.svg_element("path"),k=e.space(),v=e.element("h2"),C=e.text(g),e.attr(h,"class","aaa"),e.attr(h,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(h,"transform","translate(15 15) rotate(180)"),e.attr(u,"transform","translate(20 158)"),e.attr(y,"transform","translate(-20 -158)"),e.attr(l,"xmlns","http://www.w3.org/2000/svg"),e.attr(l,"width","15"),e.attr(l,"height","15"),e.attr(l,"viewBox","0 0 15 15"),e.attr(v,"class","RealityCheckTitleMobile"),e.attr(a,"class","MenuReturnButton")},m(f,x){p&&p.m(f,x),e.insert(f,t,x),e.insert(f,a,x),e.append(a,l),e.append(l,n),e.append(n,r),e.append(r,s),e.append(l,y),e.append(y,u),e.append(u,h),e.append(a,k),e.append(a,v),e.append(v,C),b||(d=[e.listen(a,"click",i[18]),e.listen(a,"keydown",null)],b=!0)},p(f,x){f[4]?p?p.p(f,x):(p=E(f),p.c(),p.m(t.parentNode,t)):p&&(p.d(1),p=null),x[0]&32&&g!==(g=f[5]("titleRealityCheck")+"")&&e.set_data(C,g)},d(f){f&&(e.detach(t),e.detach(a)),p&&p.d(f),b=!1,e.run_all(d)}}}function E(i){let t,a=i[5]("successMessage")+"",l;return{c(){t=e.element("div"),l=e.text(a),e.attr(t,"class","successMessageMobile")},m(n,r){e.insert(n,t,r),e.append(t,l)},p(n,r){r[0]&32&&a!==(a=n[5]("successMessage")+"")&&e.set_data(l,a)},d(n){n&&e.detach(t)}}}function N(i){let t,a=i[5]("successMessage")+"",l;return{c(){t=e.element("div"),l=e.text(a),e.attr(t,"class","successMessage "+(i[6]?"successMessageMobile":""))},m(n,r){e.insert(n,t,r),e.append(t,l)},p(n,r){r[0]&32&&a!==(a=n[5]("successMessage")+"")&&e.set_data(l,a)},d(n){n&&e.detach(t)}}}function D(i){let t,a,l,n,r=i[34]+"",s,y,u,h;return y=e.init_binding_group(i[20][0]),{c(){t=e.element("div"),a=e.element("input"),l=e.space(),n=e.element("label"),s=e.text(r),e.attr(a,"type","radio"),e.attr(a,"id",i[33]),a.__value=i[33],e.set_input_value(a,a.__value),e.attr(n,"for",i[33]),y.p(a)},m(k,v){e.insert(k,t,v),e.append(t,a),a.checked=a.__value===i[2],e.append(t,l),e.append(t,n),e.append(n,s),u||(h=e.listen(a,"change",i[19]),u=!0)},p(k,v){v[0]&4&&(a.checked=a.__value===k[2])},d(k){k&&e.detach(t),y.r(),u=!1,h()}}}function K(i){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="200px" margin-top="20px"></ui-skeleton>',e.attr(t,"class","SkeletonHeaderText")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function Q(i){let t,a,l,n;return{c(){t=e.element("div"),a=e.element("ui-skeleton"),l=e.space(),n=e.element("ui-skeleton"),e.set_custom_element_data(a,"structure","title"),e.set_custom_element_data(a,"width","20px"),e.set_custom_element_data(a,"height","20px"),e.set_custom_element_data(a,"margin-top","5px"),e.set_custom_element_data(a,"margin-bottom","15px"),e.set_custom_element_data(n,"structure","title"),e.set_custom_element_data(n,"width","100px"),e.set_custom_element_data(n,"height","20px"),e.set_custom_element_data(n,"margin-top","5px"),e.set_custom_element_data(n,"margin-bottom","15px"),e.attr(t,"class","SkeletonMenuButton "+(i[6]?"Mobile":""))},m(r,s){e.insert(r,t,s),e.append(t,a),e.append(t,l),e.append(t,n)},p:e.noop,d(r){r&&e.detach(t)}}}function $(i){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="SkeletonOptionCircle"><ui-skeleton structure="circle" size="20px"></ui-skeleton></div> <div class="SkeletonOptionText"><ui-skeleton structure="text" height="10px" width="auto"></ui-skeleton></div>',e.attr(t,"class","SkeletonOption")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function ee(i){let t;function a(r,s){return r[1]?J:Y}let l=a(i),n=l(i);return{c(){t=e.element("div"),n.c(),e.attr(t,"class","PlayerRealityCheckWrapper "+(i[6]?"PlayerRealityCheckWrapperMobile":""))},m(r,s){e.insert(r,t,s),n.m(t,null),i[21](t)},p(r,s){l===(l=a(r))&&n?n.p(r,s):(n.d(1),n=l(r),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(r){r&&e.detach(t),n.d(),i[21](null)}}}function te(i,t,a){let l;e.component_subscribe(i,e.$format,o=>a(5,l=o));let{endpoint:n=""}=t,{playerid:r=""}=t,{session:s=""}=t,{lang:y="en"}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{mbsource:k}=t,{translationurl:v=""}=t,g,C=e.getDevice(window.navigator.userAgent)!=="PC",b=!0,d,p,f=!1,x=[];const T=()=>{const o=new URL(`${n}/v1/player/${r}/realitycheck`),c=new Headers;c.append("X-SessionID",s);const B={method:"GET",headers:c};fetch(o.href,B).then(M=>M.json()).then(M=>{a(2,d=a(3,p=M.UserRealityCheckValue))},M=>{console.error(M)})},F=()=>{const o=new URL(`${n}/v1/player/${r}/availablerealityvalues`),c=new Headers;c.append("X-SessionID",s),c.append("accept","application/json");const B={method:"GET",headers:c};fetch(o.href,B).then(M=>M.json()).then(M=>{H(M.AvailableRealityCheckValues),a(1,b=!1)},M=>{console.error(M)})},H=o=>{o.forEach(c=>{c==0?x.push({value:c.toString(),text:l("never")}):c<60?x.push({value:c.toString(),text:c+" "+l("minutes")}):c==60?x.push({value:c.toString(),text:l("oneHour")}):c>60&&x.push({value:c.toString(),text:c/60+" "+l("hours")})})},L=()=>z(this,null,function*(){const o=new URL(`${n}/v1/player/${r}/realitycheck`),c=new Headers;c.append("X-SessionID",s),c.append("Content-Type","application/json"),c.append("Accept","application/json"),c.append("realityCheckValue",`${parseInt(d,10)}`);const B={method:"POST",headers:c};return yield fetch(o.href,B).then(M=>M.status==200,M=>(console.error(M),!1))}),j=o=>{o.preventDefault(),L().then(c=>{c&&(R(),T())})},R=()=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:l("realityCheckSuccess")}},window.location.href),a(4,f=!0),setTimeout(()=>a(4,f=!1),2e3)},q=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:C},window.location.href)},w=()=>{W(y)},m=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(B=>{O(B,c[B])})}).catch(c=>{console.log(c)})};Object.keys(A).forEach(o=>{O(o,A[o])}),e.onMount(()=>()=>{});const S=[[]],_=()=>q();function P(){d=this.__value,a(2,d)}function I(o){e.binding_callbacks[o?"unshift":"push"](()=>{g=o,a(0,g)})}return i.$$set=o=>{"endpoint"in o&&a(10,n=o.endpoint),"playerid"in o&&a(11,r=o.playerid),"session"in o&&a(12,s=o.session),"lang"in o&&a(13,y=o.lang),"clientstyling"in o&&a(14,u=o.clientstyling),"clientstylingurl"in o&&a(15,h=o.clientstylingurl),"mbsource"in o&&a(16,k=o.mbsource),"translationurl"in o&&a(17,v=o.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&8192&&y&&w(),i.$$.dirty[0]&7168&&n&&r&&s&&T(),i.$$.dirty[0]&7168&&n&&r&&s&&F(),i.$$.dirty[0]&16385&&u&&g&&e.setClientStyling(g,u),i.$$.dirty[0]&32769&&h&&g&&e.setClientStylingURL(g,h),i.$$.dirty[0]&65537&&k&&g&&e.setStreamStyling(g,`${k}.Style`),i.$$.dirty[0]&131072&&v&&m()},[g,b,d,p,f,l,C,x,j,q,n,r,s,y,u,h,k,v,_,P,S,I]}class U extends e.SvelteComponent{constructor(t){super(),e.init(this,t,te,ee,e.safe_not_equal,{endpoint:10,playerid:11,session:12,lang:13,clientstyling:14,clientstylingurl:15,mbsource:16,translationurl:17},X,[-1,-1])}get endpoint(){return this.$$.ctx[10]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get playerid(){return this.$$.ctx[11]}set playerid(t){this.$$set({playerid:t}),e.flush()}get session(){return this.$$.ctx[12]}set session(t){this.$$set({session:t}),e.flush()}get lang(){return this.$$.ctx[13]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[16]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[17]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(U,{endpoint:{},playerid:{},session:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=U;
|
|
@@ -15,7 +15,7 @@ var J = (i, e, t) => new Promise((n, a) => {
|
|
|
15
15
|
k((t = t.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
17
|
import { a as ne, $ as oe, S as re, i as le, s as se, f as O, b as ce, n as I, d as T, g as H, j as y, o as h, p as ue, q as de, u as pe, w as he, O as Y, P as ie, h as r, k as F, e as C, c as D, l as G, m as A, r as fe, v as N, a6 as me, V as ye, x as ge, y as ke, z as ve, A as be, B as Ce } from "./GeneralLogout-PryurO1h.js";
|
|
18
|
-
import "../stencil/ui-skeleton-
|
|
18
|
+
import "../stencil/ui-skeleton-B3VBr2Bz.js";
|
|
19
19
|
function Z(i, e) {
|
|
20
20
|
ne(i, e);
|
|
21
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountControllerNd-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountControllerNd-B8_Eg8M7.cjs")).then(({default:t})=>{!customElements.get("player-account-controller-nd")&&customElements.define("player-account-controller-nd",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerAccountControllerNd-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerAccountControllerNd-D2utEHf5.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-account-controller-nd") && customElements.define("player-account-controller-nd", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as re, c as F, h as c, g as br, H as bo } from "./index-13661b98-
|
|
2
|
-
import { P as zf } from "./pam-change-password-f4a1e7e7-
|
|
1
|
+
import { r as re, c as F, h as c, g as br, H as bo } from "./index-13661b98-D2nlyS8e.js";
|
|
2
|
+
import { P as zf } from "./pam-change-password-f4a1e7e7-C9NkOxiM.js";
|
|
3
3
|
const Cs = "en", yo = {
|
|
4
4
|
en: {
|
|
5
5
|
dateError: "The selected date should be between {min} and {max}",
|
|
@@ -18854,11 +18854,31 @@ const Tf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.toggl
|
|
|
18854
18854
|
Sf.style = Pf;
|
|
18855
18855
|
const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", Df = Af, Of = class {
|
|
18856
18856
|
constructor(i) {
|
|
18857
|
-
re(this, i), this.
|
|
18857
|
+
re(this, i), this.stylingValue = {
|
|
18858
|
+
width: this.handleStylingProps(this.width),
|
|
18859
|
+
height: this.handleStylingProps(this.height),
|
|
18860
|
+
borderRadius: this.handleStylingProps(this.borderRadius),
|
|
18861
|
+
marginBottom: this.handleStylingProps(this.marginBottom),
|
|
18862
|
+
marginTop: this.handleStylingProps(this.marginTop),
|
|
18863
|
+
marginLeft: this.handleStylingProps(this.marginLeft),
|
|
18864
|
+
marginRight: this.handleStylingProps(this.marginRight)
|
|
18865
|
+
}, this.structure = void 0, this.width = "unset", this.height = "unset", this.borderRadius = "unset", this.marginBottom = "unset", this.marginTop = "unset", this.marginLeft = "unset", this.marginRight = "unset", this.animation = !0, this.rows = 0, this.size = "100%", this.color = "#c2c2c2", this.primaryColor = "#c2c2c2", this.secondaryColor = "#ffffff";
|
|
18858
18866
|
}
|
|
18859
18867
|
handleStructureChange(i, e) {
|
|
18860
18868
|
e !== i && this.handleStructure(i);
|
|
18861
18869
|
}
|
|
18870
|
+
handleStylingProps(i) {
|
|
18871
|
+
switch (typeof i) {
|
|
18872
|
+
case "number":
|
|
18873
|
+
return i === 0 ? 0 : `${i}px`;
|
|
18874
|
+
case "undefined":
|
|
18875
|
+
return "unset";
|
|
18876
|
+
case "string":
|
|
18877
|
+
return ["auto", "unset", "none", "inherit", "initial"].includes(i) || i.endsWith("px") || i.endsWith("%") ? i : "unset";
|
|
18878
|
+
default:
|
|
18879
|
+
return "unset";
|
|
18880
|
+
}
|
|
18881
|
+
}
|
|
18862
18882
|
handleStructure(i) {
|
|
18863
18883
|
switch (i) {
|
|
18864
18884
|
case "logo":
|
|
@@ -18901,13 +18921,13 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18901
18921
|
case "logo":
|
|
18902
18922
|
i = `
|
|
18903
18923
|
:host {
|
|
18904
|
-
--emw-skeleton-logo-width: ${this.width};
|
|
18905
|
-
--emw-skeleton-logo-height: ${this.height};
|
|
18906
|
-
--emw-skeleton-logo-border-radius: ${this.borderRadius}
|
|
18907
|
-
--emw-skeleton-logo-margin-bottom: ${this.marginBottom}
|
|
18908
|
-
--emw-skeleton-logo-margin-top: ${this.marginTop}
|
|
18909
|
-
--emw-skeleton-logo-margin-left: ${this.marginLeft}
|
|
18910
|
-
--emw-skeleton-logo-margin-right: ${this.marginRight}
|
|
18924
|
+
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
18925
|
+
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
18926
|
+
--emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
|
|
18927
|
+
--emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
|
|
18928
|
+
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
18929
|
+
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
18930
|
+
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
18911
18931
|
--emw-skeleton-logo-background: ${this.color};
|
|
18912
18932
|
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
18913
18933
|
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
@@ -18917,13 +18937,13 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18917
18937
|
case "image":
|
|
18918
18938
|
i = `
|
|
18919
18939
|
:host {
|
|
18920
|
-
--emw-skeleton-image-width: ${this.width};
|
|
18921
|
-
--emw-skeleton-image-height: ${this.height};
|
|
18922
|
-
--emw-skeleton-image-border-radius: ${this.borderRadius}
|
|
18923
|
-
--emw-skeleton-image-margin-bottom: ${this.marginBottom}
|
|
18924
|
-
--emw-skeleton-image-margin-top: ${this.marginTop}
|
|
18925
|
-
--emw-skeleton-image-margin-left: ${this.marginLeft}
|
|
18926
|
-
--emw-skeleton-image-margin-right: ${this.marginRight}
|
|
18940
|
+
--emw-skeleton-image-width: ${this.stylingValue.width};
|
|
18941
|
+
--emw-skeleton-image-height: ${this.stylingValue.height};
|
|
18942
|
+
--emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
|
|
18943
|
+
--emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
|
|
18944
|
+
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
18945
|
+
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
18946
|
+
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
18927
18947
|
--emw-skeleton-image-background: ${this.color};
|
|
18928
18948
|
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
18929
18949
|
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
@@ -18933,13 +18953,13 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18933
18953
|
case "title":
|
|
18934
18954
|
i = `
|
|
18935
18955
|
:host {
|
|
18936
|
-
--emw-skeleton-title-width: ${this.width};
|
|
18937
|
-
--emw-skeleton-title-height: ${this.height};
|
|
18938
|
-
--emw-skeleton-title-border-radius: ${this.borderRadius}
|
|
18939
|
-
--emw-skeleton-title-margin-bottom: ${this.marginBottom}
|
|
18940
|
-
--emw-skeleton-title-margin-top: ${this.marginTop}
|
|
18941
|
-
--emw-skeleton-title-margin-left: ${this.marginLeft}
|
|
18942
|
-
--emw-skeleton-title-margin-right: ${this.marginRight}
|
|
18956
|
+
--emw-skeleton-title-width: ${this.stylingValue.width};
|
|
18957
|
+
--emw-skeleton-title-height: ${this.stylingValue.height};
|
|
18958
|
+
--emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
|
|
18959
|
+
--emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
|
|
18960
|
+
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
18961
|
+
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
18962
|
+
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
18943
18963
|
--emw-skeleton-title-background: ${this.color};
|
|
18944
18964
|
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
18945
18965
|
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
@@ -18949,13 +18969,13 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18949
18969
|
case "text":
|
|
18950
18970
|
i = `
|
|
18951
18971
|
:host {
|
|
18952
|
-
--emw-skeleton-text-width: ${this.width};
|
|
18953
|
-
--emw-skeleton-text-height: ${this.height};
|
|
18954
|
-
--emw-skeleton-text-border-radius: ${this.borderRadius}
|
|
18955
|
-
--emw-skeleton-text-margin-bottom: ${this.marginBottom}
|
|
18956
|
-
--emw-skeleton-text-margin-top: ${this.marginTop}
|
|
18957
|
-
--emw-skeleton-text-margin-left: ${this.marginLeft}
|
|
18958
|
-
--emw-skeleton-text-margin-right: ${this.marginRight}
|
|
18972
|
+
--emw-skeleton-text-width: ${this.stylingValue.width};
|
|
18973
|
+
--emw-skeleton-text-height: ${this.stylingValue.height};
|
|
18974
|
+
--emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
|
|
18975
|
+
--emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
|
|
18976
|
+
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
18977
|
+
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
18978
|
+
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
18959
18979
|
--emw-skeleton-text-background: ${this.color};
|
|
18960
18980
|
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
18961
18981
|
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
@@ -18965,13 +18985,13 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18965
18985
|
case "rectangle":
|
|
18966
18986
|
i = `
|
|
18967
18987
|
:host {
|
|
18968
|
-
--emw-skeleton-rectangle-width: ${this.width};
|
|
18969
|
-
--emw-skeleton-rectangle-height: ${this.height};
|
|
18970
|
-
--emw-skeleton-rectangle-border-radius: ${this.borderRadius}
|
|
18971
|
-
--emw-skeleton-rectangle-margin-bottom: ${this.marginBottom}
|
|
18972
|
-
--emw-skeleton-rectangle-margin-top: ${this.marginTop}
|
|
18973
|
-
--emw-skeleton-rectangle-margin-left: ${this.marginLeft}
|
|
18974
|
-
--emw-skeleton-rectangle-margin-right: ${this.marginRight}
|
|
18988
|
+
--emw-skeleton-rectangle-width: ${this.stylingValue.width};
|
|
18989
|
+
--emw-skeleton-rectangle-height: ${this.stylingValue.height};
|
|
18990
|
+
--emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
|
|
18991
|
+
--emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
|
|
18992
|
+
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
18993
|
+
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
18994
|
+
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
18975
18995
|
--emw-skeleton-rectangle-background: ${this.color};
|
|
18976
18996
|
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
18977
18997
|
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
@@ -18991,7 +19011,7 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18991
19011
|
default:
|
|
18992
19012
|
i = "";
|
|
18993
19013
|
}
|
|
18994
|
-
return c(bo, { key: "
|
|
19014
|
+
return c(bo, { key: "5c185b76c438d20d4ad88bc48d94ff5628410bb7" }, c("style", { key: "de95e60a5955d5b2af83710423fe40329c187f7e" }, i), this.handleStructure(this.structure));
|
|
18995
19015
|
}
|
|
18996
19016
|
static get watchers() {
|
|
18997
19017
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as re, c as F, h as c, g as br, H as bo } from "./index-13661b98-
|
|
2
|
-
import { P as zf } from "./pam-change-password-f4a1e7e7-
|
|
1
|
+
import { r as re, c as F, h as c, g as br, H as bo } from "./index-13661b98-DIbjgfzn.js";
|
|
2
|
+
import { P as zf } from "./pam-change-password-f4a1e7e7-BWQCkDNb.js";
|
|
3
3
|
const Cs = "en", yo = {
|
|
4
4
|
en: {
|
|
5
5
|
dateError: "The selected date should be between {min} and {max}",
|
|
@@ -18854,11 +18854,31 @@ const Tf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.toggl
|
|
|
18854
18854
|
Sf.style = Pf;
|
|
18855
18855
|
const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", Df = Af, Of = class {
|
|
18856
18856
|
constructor(i) {
|
|
18857
|
-
re(this, i), this.
|
|
18857
|
+
re(this, i), this.stylingValue = {
|
|
18858
|
+
width: this.handleStylingProps(this.width),
|
|
18859
|
+
height: this.handleStylingProps(this.height),
|
|
18860
|
+
borderRadius: this.handleStylingProps(this.borderRadius),
|
|
18861
|
+
marginBottom: this.handleStylingProps(this.marginBottom),
|
|
18862
|
+
marginTop: this.handleStylingProps(this.marginTop),
|
|
18863
|
+
marginLeft: this.handleStylingProps(this.marginLeft),
|
|
18864
|
+
marginRight: this.handleStylingProps(this.marginRight)
|
|
18865
|
+
}, this.structure = void 0, this.width = "unset", this.height = "unset", this.borderRadius = "unset", this.marginBottom = "unset", this.marginTop = "unset", this.marginLeft = "unset", this.marginRight = "unset", this.animation = !0, this.rows = 0, this.size = "100%", this.color = "#c2c2c2", this.primaryColor = "#c2c2c2", this.secondaryColor = "#ffffff";
|
|
18858
18866
|
}
|
|
18859
18867
|
handleStructureChange(i, e) {
|
|
18860
18868
|
e !== i && this.handleStructure(i);
|
|
18861
18869
|
}
|
|
18870
|
+
handleStylingProps(i) {
|
|
18871
|
+
switch (typeof i) {
|
|
18872
|
+
case "number":
|
|
18873
|
+
return i === 0 ? 0 : `${i}px`;
|
|
18874
|
+
case "undefined":
|
|
18875
|
+
return "unset";
|
|
18876
|
+
case "string":
|
|
18877
|
+
return ["auto", "unset", "none", "inherit", "initial"].includes(i) || i.endsWith("px") || i.endsWith("%") ? i : "unset";
|
|
18878
|
+
default:
|
|
18879
|
+
return "unset";
|
|
18880
|
+
}
|
|
18881
|
+
}
|
|
18862
18882
|
handleStructure(i) {
|
|
18863
18883
|
switch (i) {
|
|
18864
18884
|
case "logo":
|
|
@@ -18901,13 +18921,13 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18901
18921
|
case "logo":
|
|
18902
18922
|
i = `
|
|
18903
18923
|
:host {
|
|
18904
|
-
--emw-skeleton-logo-width: ${this.width};
|
|
18905
|
-
--emw-skeleton-logo-height: ${this.height};
|
|
18906
|
-
--emw-skeleton-logo-border-radius: ${this.borderRadius}
|
|
18907
|
-
--emw-skeleton-logo-margin-bottom: ${this.marginBottom}
|
|
18908
|
-
--emw-skeleton-logo-margin-top: ${this.marginTop}
|
|
18909
|
-
--emw-skeleton-logo-margin-left: ${this.marginLeft}
|
|
18910
|
-
--emw-skeleton-logo-margin-right: ${this.marginRight}
|
|
18924
|
+
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
18925
|
+
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
18926
|
+
--emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
|
|
18927
|
+
--emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
|
|
18928
|
+
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
18929
|
+
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
18930
|
+
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
18911
18931
|
--emw-skeleton-logo-background: ${this.color};
|
|
18912
18932
|
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
18913
18933
|
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
@@ -18917,13 +18937,13 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18917
18937
|
case "image":
|
|
18918
18938
|
i = `
|
|
18919
18939
|
:host {
|
|
18920
|
-
--emw-skeleton-image-width: ${this.width};
|
|
18921
|
-
--emw-skeleton-image-height: ${this.height};
|
|
18922
|
-
--emw-skeleton-image-border-radius: ${this.borderRadius}
|
|
18923
|
-
--emw-skeleton-image-margin-bottom: ${this.marginBottom}
|
|
18924
|
-
--emw-skeleton-image-margin-top: ${this.marginTop}
|
|
18925
|
-
--emw-skeleton-image-margin-left: ${this.marginLeft}
|
|
18926
|
-
--emw-skeleton-image-margin-right: ${this.marginRight}
|
|
18940
|
+
--emw-skeleton-image-width: ${this.stylingValue.width};
|
|
18941
|
+
--emw-skeleton-image-height: ${this.stylingValue.height};
|
|
18942
|
+
--emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
|
|
18943
|
+
--emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
|
|
18944
|
+
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
18945
|
+
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
18946
|
+
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
18927
18947
|
--emw-skeleton-image-background: ${this.color};
|
|
18928
18948
|
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
18929
18949
|
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
@@ -18933,13 +18953,13 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18933
18953
|
case "title":
|
|
18934
18954
|
i = `
|
|
18935
18955
|
:host {
|
|
18936
|
-
--emw-skeleton-title-width: ${this.width};
|
|
18937
|
-
--emw-skeleton-title-height: ${this.height};
|
|
18938
|
-
--emw-skeleton-title-border-radius: ${this.borderRadius}
|
|
18939
|
-
--emw-skeleton-title-margin-bottom: ${this.marginBottom}
|
|
18940
|
-
--emw-skeleton-title-margin-top: ${this.marginTop}
|
|
18941
|
-
--emw-skeleton-title-margin-left: ${this.marginLeft}
|
|
18942
|
-
--emw-skeleton-title-margin-right: ${this.marginRight}
|
|
18956
|
+
--emw-skeleton-title-width: ${this.stylingValue.width};
|
|
18957
|
+
--emw-skeleton-title-height: ${this.stylingValue.height};
|
|
18958
|
+
--emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
|
|
18959
|
+
--emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
|
|
18960
|
+
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
18961
|
+
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
18962
|
+
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
18943
18963
|
--emw-skeleton-title-background: ${this.color};
|
|
18944
18964
|
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
18945
18965
|
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
@@ -18949,13 +18969,13 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18949
18969
|
case "text":
|
|
18950
18970
|
i = `
|
|
18951
18971
|
:host {
|
|
18952
|
-
--emw-skeleton-text-width: ${this.width};
|
|
18953
|
-
--emw-skeleton-text-height: ${this.height};
|
|
18954
|
-
--emw-skeleton-text-border-radius: ${this.borderRadius}
|
|
18955
|
-
--emw-skeleton-text-margin-bottom: ${this.marginBottom}
|
|
18956
|
-
--emw-skeleton-text-margin-top: ${this.marginTop}
|
|
18957
|
-
--emw-skeleton-text-margin-left: ${this.marginLeft}
|
|
18958
|
-
--emw-skeleton-text-margin-right: ${this.marginRight}
|
|
18972
|
+
--emw-skeleton-text-width: ${this.stylingValue.width};
|
|
18973
|
+
--emw-skeleton-text-height: ${this.stylingValue.height};
|
|
18974
|
+
--emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
|
|
18975
|
+
--emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
|
|
18976
|
+
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
18977
|
+
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
18978
|
+
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
18959
18979
|
--emw-skeleton-text-background: ${this.color};
|
|
18960
18980
|
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
18961
18981
|
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
@@ -18965,13 +18985,13 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18965
18985
|
case "rectangle":
|
|
18966
18986
|
i = `
|
|
18967
18987
|
:host {
|
|
18968
|
-
--emw-skeleton-rectangle-width: ${this.width};
|
|
18969
|
-
--emw-skeleton-rectangle-height: ${this.height};
|
|
18970
|
-
--emw-skeleton-rectangle-border-radius: ${this.borderRadius}
|
|
18971
|
-
--emw-skeleton-rectangle-margin-bottom: ${this.marginBottom}
|
|
18972
|
-
--emw-skeleton-rectangle-margin-top: ${this.marginTop}
|
|
18973
|
-
--emw-skeleton-rectangle-margin-left: ${this.marginLeft}
|
|
18974
|
-
--emw-skeleton-rectangle-margin-right: ${this.marginRight}
|
|
18988
|
+
--emw-skeleton-rectangle-width: ${this.stylingValue.width};
|
|
18989
|
+
--emw-skeleton-rectangle-height: ${this.stylingValue.height};
|
|
18990
|
+
--emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
|
|
18991
|
+
--emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
|
|
18992
|
+
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
18993
|
+
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
18994
|
+
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
18975
18995
|
--emw-skeleton-rectangle-background: ${this.color};
|
|
18976
18996
|
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
18977
18997
|
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
@@ -18991,7 +19011,7 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18991
19011
|
default:
|
|
18992
19012
|
i = "";
|
|
18993
19013
|
}
|
|
18994
|
-
return c(bo, { key: "
|
|
19014
|
+
return c(bo, { key: "5c185b76c438d20d4ad88bc48d94ff5628410bb7" }, c("style", { key: "de95e60a5955d5b2af83710423fe40329c187f7e" }, i), this.handleStructure(this.structure));
|
|
18995
19015
|
}
|
|
18996
19016
|
static get watchers() {
|
|
18997
19017
|
return {
|