@everymatrix/player-account-controller 1.49.2 → 1.50.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/GeneralLogout-BBoBE1Lx.cjs +8 -0
- package/components/{GeneralLogout-DI0_2Ld2.js → GeneralLogout-DJd6W-jT.js} +323 -317
- package/components/PlayerAccountBettingHistory-BhFyAw7S.cjs +1 -0
- package/components/{PlayerAccountBettingHistory-p8-C5d_q.js → PlayerAccountBettingHistory-Dok1ua2N.js} +35 -35
- package/components/PlayerAccountBiometrics-U1ab8cUd.cjs +1 -0
- package/components/{PlayerAccountBiometrics-36-jzvmv.js → PlayerAccountBiometrics-jc45EBJe.js} +38 -38
- package/components/{PlayerAccountClosure-Buc1jxH3.js → PlayerAccountClosure-BWlW6NXe.js} +26 -26
- package/components/PlayerAccountClosure-D_4hIhg0.cjs +1 -0
- package/components/{PlayerAccountController-BdLllhC8.js → PlayerAccountController-CoXvSbbl.js} +24 -24
- package/components/PlayerAccountController-J02GKY2h.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-X6i1dxNz.js → PlayerAccountGamingLimits-D0orq8W7.js} +43 -43
- package/components/PlayerAccountGamingLimits-ImaSq8Bu.cjs +1 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-B1H9kGBj.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-_s70hpGn.js → PlayerAccountGamingLimitsConfirmationModal-DOXtkhFY.js} +21 -21
- package/components/{PlayerAccountGamingLimitsGroupEdit-BQ82HYJY.js → PlayerAccountGamingLimitsGroupEdit-BgpIOnsM.js} +178 -178
- package/components/{PlayerAccountGamingLimitsGroupEdit-C0TmN9tW.cjs → PlayerAccountGamingLimitsGroupEdit-mkhXUxp2.cjs} +4 -4
- package/components/PlayerAccountGamingLimitsHistory2-BnREqLe2.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsHistory2-BkYPsgPu.js → PlayerAccountGamingLimitsHistory2-Dg_3TWDc.js} +144 -144
- package/components/PlayerAccountGamingLimitsInfoCard-CcdNEm3s.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-DQkGickX.js → PlayerAccountGamingLimitsInfoCard-DiVtmzLb.js} +80 -80
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CtJzX00K.js → PlayerAccountGamingLimitsPage2Gm16-BejFjGCU.js} +113 -113
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CdbhXN3g.cjs → PlayerAccountGamingLimitsPage2Gm16-DegZSaNr.cjs} +4 -4
- package/components/PlayerAccountGamingLimitsPopup-C47JGdE1.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsPopup-BRVwX_uG.js → PlayerAccountGamingLimitsPopup-DWkmHcWc.js} +14 -14
- package/components/{PlayerAccountGamingLimitsWrapper2-DbRyF9CO.js → PlayerAccountGamingLimitsWrapper2-IJW0DW26.js} +21 -21
- package/components/PlayerAccountGamingLimitsWrapper2-j5Wlpz38.cjs +1 -0
- package/components/PlayerAccountMenu-C6fxzyFi.cjs +1 -0
- package/components/{PlayerAccountMenu-hM5ZxGE7.js → PlayerAccountMenu-CmSW4Stb.js} +43 -43
- package/components/{PlayerAccountModal-BK_133rp.js → PlayerAccountModal-9gulcpFn.js} +1 -1
- package/components/{PlayerAccountModal-CIR41mpM.cjs → PlayerAccountModal-CUdeZ6ZD.cjs} +1 -1
- package/components/PlayerAccountNotifications-B5y5G3E_.cjs +1 -0
- package/components/{PlayerAccountNotifications-COx0wvVZ.js → PlayerAccountNotifications-r_nD_SnF.js} +4 -4
- package/components/{PlayerAccountSelfExclusion-DhyhbeQg.cjs → PlayerAccountSelfExclusion-BrQRXxUR.cjs} +482 -4
- package/components/{PlayerAccountSelfExclusion-Cd9TNqFJ.js → PlayerAccountSelfExclusion-_cYII1on.js} +483 -4
- package/components/PlayerAccountTimeout-CNtkqjo7.cjs +1 -0
- package/components/{PlayerAccountTimeout-DMvUsWoq.js → PlayerAccountTimeout-Cs_68FK0.js} +42 -42
- package/components/{PlayerActiveBonuses-CIvyQppa.js → PlayerActiveBonuses-D513ru66.js} +33 -33
- package/components/PlayerActiveBonuses-DOOKCxQp.cjs +1 -0
- package/components/{PlayerBonusCard-DdxYH7lf.cjs → PlayerBonusCard-Bt-n3Mxi.cjs} +1 -1
- package/components/{PlayerBonusCard-DGoTFlMq.js → PlayerBonusCard-_Oaycov5.js} +2 -2
- package/components/{PlayerBonusHistory-Bm1MJlBw.cjs → PlayerBonusHistory-CAlPJQEf.cjs} +1 -1
- package/components/{PlayerBonusHistory-R8RT-te2.js → PlayerBonusHistory-CwIKvt3Y.js} +4 -4
- package/components/{PlayerChangePassword-BDyXZ2_q.cjs → PlayerChangePassword-C-8QN3hH.cjs} +1 -1
- package/components/{PlayerChangePassword-BkRFX3fB.js → PlayerChangePassword-hFf7xt_1.js} +1 -1
- package/components/{PlayerDeposit-CYpXuZIT.cjs → PlayerDeposit-BLymLH97.cjs} +1 -1
- package/components/{PlayerDeposit-T-QxU0tF.js → PlayerDeposit-D9bCHq7N.js} +1 -1
- package/components/{PlayerGamingHistory-4xRJDl6N.cjs → PlayerGamingHistory-BVez9eZG.cjs} +1 -1
- package/components/{PlayerGamingHistory-BqyyldNf.js → PlayerGamingHistory-CkMB0clE.js} +4 -4
- package/components/{PlayerPendingWithdrawals-DR9D_EFU.js → PlayerPendingWithdrawals-BTPeOPBb.js} +1 -1
- package/components/{PlayerPendingWithdrawals-Dn63yKxo.cjs → PlayerPendingWithdrawals-CUpLO6X3.cjs} +1 -1
- package/components/{PlayerProfileInfo-i7DhTVz2.cjs → PlayerProfileInfo-8LQ0QT94.cjs} +1 -1
- package/components/{PlayerProfileInfo-DwpHwaIZ.js → PlayerProfileInfo-D5uooVx1.js} +1 -1
- package/components/{PlayerRealityCheck-CRHHpeWT.js → PlayerRealityCheck-6gXKQK_Z.js} +52 -52
- package/components/PlayerRealityCheck-B--KgOX7.cjs +1 -0
- package/components/{PlayerTransactionHistory-HQMXVkZj.js → PlayerTransactionHistory-DES2KQ6g.js} +1 -1
- package/components/{PlayerTransactionHistory-DJICk5qY.cjs → PlayerTransactionHistory-KkAMcV0S.cjs} +1 -1
- package/components/{PlayerWithdrawal-BToCctRz.js → PlayerWithdrawal-6XSetxz1.js} +1 -1
- package/components/{PlayerWithdrawal-DuxGAxKs.cjs → PlayerWithdrawal-Bt2B8luj.cjs} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/index-0437c9c0-06LlHN6E.cjs +1 -0
- package/stencil/{index-065b5928-DXYOROKQ.js → index-0437c9c0-1mLvhyVA.js} +193 -185
- package/stencil/{index-04d3e726-B-NTRQkL.js → index-657e7a14-DpOUEft6.js} +248 -240
- package/stencil/index-657e7a14-dS-WIK3f.cjs +1 -0
- package/stencil/index-e8249896-BNsgFr_R.cjs +1 -0
- package/stencil/{index-b111cb50-CuFaYbey.js → index-e8249896-CIP0iOYr.js} +112 -104
- package/stencil/player-kyc-verification-B9QbNY0o.cjs +180 -0
- package/stencil/{player-kyc-verification-CZYvrNVs.js → player-kyc-verification-BwGXWzTR.js} +12 -12
- package/stencil/user-deposit-withdrawal-Btrso_5e.js +597 -0
- package/stencil/user-deposit-withdrawal-Cxv_U-OE.cjs +59 -0
- package/stencil/user-transaction-history-AoseShHM.cjs +1 -0
- package/stencil/{user-transaction-history-W4vbS2--.js → user-transaction-history-DcAGbFDl.js} +1 -1
- package/components/GeneralLogout-bc8vhI_H.cjs +0 -8
- package/components/PlayerAccountBettingHistory-BK6xPWSw.cjs +0 -1
- package/components/PlayerAccountBiometrics-C-3zrtyy.cjs +0 -1
- package/components/PlayerAccountClosure-C8BNtCld.cjs +0 -1
- package/components/PlayerAccountController-BFFK-NR4.cjs +0 -1
- package/components/PlayerAccountGamingLimits-a_ERECbs.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-l6qA-tGo.cjs +0 -1
- package/components/PlayerAccountGamingLimitsHistory2-BQABSfo3.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-0xDp-CBL.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPopup-CRCoJtQR.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2-BtHosvRh.cjs +0 -1
- package/components/PlayerAccountMenu-_QF6LQHb.cjs +0 -1
- package/components/PlayerAccountNotifications-DNWMsUnC.cjs +0 -1
- package/components/PlayerAccountTimeout-C0nlqzAC.cjs +0 -1
- package/components/PlayerActiveBonuses-D2PR-NJe.cjs +0 -1
- package/components/PlayerRealityCheck-BaBE_tNE.cjs +0 -1
- package/stencil/index-04d3e726-DeGaIccQ.cjs +0 -1
- package/stencil/index-065b5928-DELlxqkN.cjs +0 -1
- package/stencil/index-b111cb50-b1-cqkbU.cjs +0 -1
- package/stencil/player-kyc-verification-3V5MFDaD.cjs +0 -180
- package/stencil/user-deposit-withdrawal-DLw9KjHG.cjs +0 -59
- package/stencil/user-deposit-withdrawal-DlTyKrkT.js +0 -242
- package/stencil/user-transaction-history-B5a4uXlv.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-BBoBE1Lx.cjs");function C(n,e){t.addMessages(n,e)}function D(n){t.$locale.set(n)}const O={en:{titleBettingHistory:"Betting History",settledBets:"Settled Bets",openBets:"Open Bets"},ro:{titleBettingHistory:"Istoric Pariuri",settledBets:"Pariuri Decise",openBets:"Pariuri Deschise"},es:{titleBettingHistory:"Historial de Apuestas",settledBets:"Apuestas cerradas",openBets:"Apuestas abiertas"},hr:{titleBettingHistory:"Povijest klađenja",settledBets:"Obračunate oklade",openBets:"Otvorene oklade"},"pt-br":{titleBettingHistory:"Histórico de apostas",settledBets:"Apostas liquidadas",openBets:"apostas abertas"},"es-mx":{titleBettingHistory:"Historial de apuesta",settledBets:"Apuestas liquidadas",openBets:"Apuestas abiertas"},tr:{titleBettingHistory:"Bahis Geçmişi",settledBets:"Sonuçlandırılmış Bahisler",openBets:"Açık Bahisler"}};function j(n){t.append_styles(n,"svelte-8qett1",`@import 'https://static.everymatrix.com/omfe-widgets/s/widgets/1.2.0-alpha.0/widgets.min.css';:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.BettingHistoryTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.BettingHistoryTitle.BettingHistoryTitleMobile{font-size:16px}.BettingHistoryTitle.BettingHistoryTitleNone{display:none}.BettingHistoryWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));padding:50px 50px 30px 50px;max-width:100%}.BettingHistoryWrapper.BettingHistoryWrapperMobile{padding:20px 15px;max-width:unset}.BettingHistoryTabs{width:100%;display:flex;justify-content:center}.BettingHistoryButton{margin:0;width:100%;padding:20px;border:none;font-size:24px;color:var(--emw--color-black, #000);background:var(--emw--color-white, #fff);border:2px solid var(--emw--color-black, #000)}.BettingHistoryButton.BettingHistoryButtonMobile{padding:20px;font-size:12px}.BettingHistoryButton.BettingHistoryButtonSelected{color:var(--emw--color-white, #fff);background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.OM-MatchScore,.OM-MatchScore__List{display:flex;align-items:center;justify-content:center;list-style-type:none;margin:0;padding:0}`)}function x(n){let e,i,p,m,_,h,o,a,y,B,b=n[4]("titleBettingHistory")+"",u,r,w;return{c(){e=t.element("div"),i=t.svg_element("svg"),p=t.svg_element("defs"),m=t.svg_element("style"),_=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"),h=t.svg_element("g"),o=t.svg_element("g"),a=t.svg_element("path"),y=t.space(),B=t.element("h2"),u=t.text(b),t.attr(a,"class","aaa"),t.attr(a,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),t.attr(a,"transform","translate(15 15) rotate(180)"),t.attr(o,"transform","translate(20 158)"),t.attr(h,"transform","translate(-20 -158)"),t.attr(i,"xmlns","http://www.w3.org/2000/svg"),t.attr(i,"width","15"),t.attr(i,"height","15"),t.attr(i,"viewBox","0 0 15 15"),t.attr(B,"class","BettingHistoryTitleMobile"),t.attr(e,"class","MenuReturnButton")},m(f,l){t.insert(f,e,l),t.append(e,i),t.append(i,p),t.append(p,m),t.append(m,_),t.append(i,h),t.append(h,o),t.append(o,a),t.append(e,y),t.append(e,B),t.append(B,u),r||(w=t.listen(e,"click",n[13]),r=!0)},p(f,l){l&16&&b!==(b=f[4]("titleBettingHistory")+"")&&t.set_data(u,b)},d(f){f&&t.detach(e),r=!1,w()}}}function I(n){return{c:t.noop,m:t.noop,d:t.noop}}function E(n){let e,i,p,m=n[4]("bettingHistory.title")+"",_,h,o,a,y=n[4]("bettingHistory.openBets")+"",B,b,u,r=n[4]("bettingHistory.settledBets")+"",w,f,l,T,v,S,k,A,H=n[5]&&x(n),g=n[3]==="true"&&n[1]&&I();return{c(){e=t.element("div"),H&&H.c(),i=t.space(),p=t.element("h2"),_=t.text(m),h=t.space(),o=t.element("div"),a=t.element("button"),B=t.text(y),b=t.space(),u=t.element("button"),w=t.text(r),f=t.space(),l=t.element("om-betting-history-list"),T=t.space(),g&&g.c(),v=t.space(),S=t.element("div"),t.attr(p,"class","BettingHistoryTitle "+(n[5]?"BettingHistoryTitleNone":"")),t.attr(p,"part","`BettingHistoryTitleMobile"),t.attr(a,"class","BettingHistoryButton "+(n[5]?"BettingHistoryButtonMobile":"")),t.toggle_class(a,"BettingHistoryButtonSelected",n[0]==="openBets"),t.attr(u,"class","BettingHistoryButton"),t.toggle_class(u,"BettingHistoryButtonSelected",n[0]==="settledBets"),t.toggle_class(u,"mobile",n[5]),t.attr(o,"class","BettingHistoryTabs"),t.set_custom_element_data(l,"bet-status",n[0]),t.set_custom_element_data(l,"item-layout","V2"),t.set_custom_element_data(l,"match-score-layout","v2"),t.set_custom_element_data(l,"match-score-scope","BHDetailed"),t.set_custom_element_data(l,"date-format","dd.mm.yyyy"),t.set_custom_element_data(l,"time-format","HH:MM"),t.set_custom_element_data(l,"tournament-route",":sportId/:tournamentId"),t.set_custom_element_data(l,"match-route",":betId"),t.attr(S,"class","OM-MatchScore OM-MatchScore__List"),t.attr(e,"class","BettingHistoryWrapper"),t.toggle_class(e,"BettingHistoryWrapperMobile",n[5])},m(c,s){t.insert(c,e,s),H&&H.m(e,null),t.append(e,i),t.append(e,p),t.append(p,_),t.append(e,h),t.append(e,o),t.append(o,a),t.append(a,B),t.append(o,b),t.append(o,u),t.append(u,w),t.append(e,f),t.append(e,l),t.append(e,T),g&&g.m(e,null),t.append(e,v),t.append(e,S),n[16](e),k||(A=[t.listen(a,"click",n[14]),t.listen(u,"click",n[15]),t.listen(l,"routeChange",n[8])],k=!0)},p(c,[s]){c[5]&&H.p(c,s),s&16&&m!==(m=c[4]("bettingHistory.title")+"")&&t.set_data(_,m),s&16&&y!==(y=c[4]("bettingHistory.openBets")+"")&&t.set_data(B,y),s&1&&t.toggle_class(a,"BettingHistoryButtonSelected",c[0]==="openBets"),s&16&&r!==(r=c[4]("bettingHistory.settledBets")+"")&&t.set_data(w,r),s&1&&t.toggle_class(u,"BettingHistoryButtonSelected",c[0]==="settledBets"),s&1&&t.set_custom_element_data(l,"bet-status",c[0]),c[3]==="true"&&c[1]?g||(g=I(),g.c(),g.m(e,v)):g&&(g.d(1),g=null)},i:t.noop,o:t.noop,d(c){c&&t.detach(e),H&&H.d(),g&&g.d(),n[16](null),k=!1,t.run_all(A)}}}function P(n,e,i){let p;t.component_subscribe(n,t.$format,s=>i(4,p=s));let{betstatus:m="openBets"}=e,{lang:_="en"}=e,{selectedBetId:h=null}=e,{clientstyling:o=""}=e,{clientstylingurl:a=""}=e,{translationurl:y=""}=e,B="false",b=window.navigator.userAgent,u=t.getDevice(b)!=="PC",r;const w=()=>{fetch(y).then(d=>d.json()).then(d=>{Object.keys(d).forEach(M=>{C(M,d[M])})}).catch(d=>{console.log(d)})};Object.entries(O).forEach(([s,d])=>{C(s,d)});const f=s=>{i(0,m=s)},l=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:u},window.location.href)},T=s=>{const{betId:d}=s.detail.params;i(1,h=d),i(3,B="true")},v=s=>{var d;((d=s.data)==null?void 0:d.type)==="ModalClosed"&&i(3,B="false")},S=()=>{let s=document.createElement("style");s.innerHTML=o,r.appendChild(s)},k=()=>{let s=new URL(a),d=document.createElement("style");fetch(s.href).then(M=>M.text()).then(M=>{d.innerHTML=M,setTimeout(()=>{r.appendChild(d)},1)})};t.onMount(()=>(window.addEventListener("message",v,!1),()=>{window.removeEventListener("message",v)}));const A=()=>l(),H=()=>f("openBets"),g=()=>f("settledBets");function c(s){t.binding_callbacks[s?"unshift":"push"](()=>{r=s,i(2,r)})}return n.$$set=s=>{"betstatus"in s&&i(0,m=s.betstatus),"lang"in s&&i(9,_=s.lang),"selectedBetId"in s&&i(1,h=s.selectedBetId),"clientstyling"in s&&i(10,o=s.clientstyling),"clientstylingurl"in s&&i(11,a=s.clientstylingurl),"translationurl"in s&&i(12,y=s.translationurl)},n.$$.update=()=>{n.$$.dirty&512&&_&&D(_),n.$$.dirty&1028&&o&&r&&S(),n.$$.dirty&2052&&a&&r&&k(),n.$$.dirty&4096&&y&&w()},[m,h,r,B,p,u,f,l,T,_,o,a,y,A,H,g,c]}class L extends t.SvelteComponent{constructor(e){super(),t.init(this,e,P,E,t.safe_not_equal,{betstatus:0,lang:9,selectedBetId:1,clientstyling:10,clientstylingurl:11,translationurl:12},j)}get betstatus(){return this.$$.ctx[0]}set betstatus(e){this.$$set({betstatus:e}),t.flush()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),t.flush()}get selectedBetId(){return this.$$.ctx[1]}set selectedBetId(e){this.$$set({selectedBetId:e}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(L,{betstatus:{},lang:{},selectedBetId:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=L;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as V, $ as F, S as G, i as Z, f as C, c as J, s as K, b as Q, e as M, d as
|
|
2
|
-
function
|
|
1
|
+
import { a as V, $ as F, S as G, i as Z, f as C, c as J, s as K, b as Q, e as M, d as k, t as O, g as r, h as I, j as v, k as W, l as i, m as R, n as q, o as x, p as z, r as X, q as Y, u as $, v as tt, w as D, x as et, y as st } from "./GeneralLogout-DJd6W-jT.js";
|
|
2
|
+
function N(s, t) {
|
|
3
3
|
V(s, t);
|
|
4
4
|
}
|
|
5
5
|
function it(s) {
|
|
@@ -43,19 +43,19 @@ const nt = {
|
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
function lt(s) {
|
|
46
|
-
Q(s, "svelte-
|
|
46
|
+
Q(s, "svelte-8qett1", `@import 'https://static.everymatrix.com/omfe-widgets/s/widgets/1.2.0-alpha.0/widgets.min.css';:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.BettingHistoryTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.BettingHistoryTitle.BettingHistoryTitleMobile{font-size:16px}.BettingHistoryTitle.BettingHistoryTitleNone{display:none}.BettingHistoryWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));padding:50px 50px 30px 50px;max-width:100%}.BettingHistoryWrapper.BettingHistoryWrapperMobile{padding:20px 15px;max-width:unset}.BettingHistoryTabs{width:100%;display:flex;justify-content:center}.BettingHistoryButton{margin:0;width:100%;padding:20px;border:none;font-size:24px;color:var(--emw--color-black, #000);background:var(--emw--color-white, #fff);border:2px solid var(--emw--color-black, #000)}.BettingHistoryButton.BettingHistoryButtonMobile{padding:20px;font-size:12px}.BettingHistoryButton.BettingHistoryButtonSelected{color:var(--emw--color-white, #fff);background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.OM-MatchScore,.OM-MatchScore__List{display:flex;align-items:center;justify-content:center;list-style-type:none;margin:0;padding:0}`);
|
|
47
47
|
}
|
|
48
48
|
function ot(s) {
|
|
49
|
-
let t, n,
|
|
49
|
+
let t, n, y, B, b, H, a, o, f, p, w = (
|
|
50
50
|
/*$_*/
|
|
51
51
|
s[4]("titleBettingHistory") + ""
|
|
52
|
-
), g, c,
|
|
52
|
+
), g, c, S;
|
|
53
53
|
return {
|
|
54
54
|
c() {
|
|
55
|
-
t = M("div"), n = D("svg"),
|
|
55
|
+
t = M("div"), n = D("svg"), y = D("defs"), B = D("style"), b = O(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), H = D("g"), a = D("g"), o = D("path"), f = k(), p = M("h2"), g = O(w), r(o, "class", "aaa"), r(o, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), r(o, "transform", "translate(15 15) rotate(180)"), r(a, "transform", "translate(20 158)"), r(H, "transform", "translate(-20 -158)"), r(n, "xmlns", "http://www.w3.org/2000/svg"), r(n, "width", "15"), r(n, "height", "15"), r(n, "viewBox", "0 0 15 15"), r(p, "class", "BettingHistoryTitleMobile"), r(t, "class", "MenuReturnButton");
|
|
56
56
|
},
|
|
57
57
|
m(h, l) {
|
|
58
|
-
|
|
58
|
+
W(h, t, l), i(t, n), i(n, y), i(y, B), i(B, b), i(n, H), i(H, a), i(a, o), i(t, f), i(t, p), i(p, g), c || (S = R(
|
|
59
59
|
t,
|
|
60
60
|
"click",
|
|
61
61
|
/*click_handler*/
|
|
@@ -65,38 +65,38 @@ function ot(s) {
|
|
|
65
65
|
p(h, l) {
|
|
66
66
|
l & /*$_*/
|
|
67
67
|
16 && w !== (w = /*$_*/
|
|
68
|
-
h[4]("titleBettingHistory") + "") &&
|
|
68
|
+
h[4]("titleBettingHistory") + "") && q(g, w);
|
|
69
69
|
},
|
|
70
70
|
d(h) {
|
|
71
|
-
h && z(t), c = !1,
|
|
71
|
+
h && z(t), c = !1, S();
|
|
72
72
|
}
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function U(s) {
|
|
76
76
|
return { c: x, m: x, d: x };
|
|
77
77
|
}
|
|
78
78
|
function rt(s) {
|
|
79
|
-
let t, n,
|
|
79
|
+
let t, n, y, B = (
|
|
80
80
|
/*$_*/
|
|
81
81
|
s[4]("bettingHistory.title") + ""
|
|
82
|
-
), b, H, a, o,
|
|
82
|
+
), b, H, a, o, f = (
|
|
83
83
|
/*$_*/
|
|
84
84
|
s[4]("bettingHistory.openBets") + ""
|
|
85
85
|
), p, w, g, c = (
|
|
86
86
|
/*$_*/
|
|
87
87
|
s[4]("bettingHistory.settledBets") + ""
|
|
88
|
-
),
|
|
88
|
+
), S, h, l, E, T, L, j, P, _ = (
|
|
89
89
|
/*isMobile*/
|
|
90
90
|
s[5] && ot(s)
|
|
91
91
|
), m = (
|
|
92
92
|
/*showModal*/
|
|
93
93
|
s[3] === "true" && /*selectedBetId*/
|
|
94
|
-
s[1] &&
|
|
94
|
+
s[1] && U()
|
|
95
95
|
);
|
|
96
96
|
return {
|
|
97
97
|
c() {
|
|
98
|
-
t = M("div"), _ && _.c(), n =
|
|
99
|
-
(s[5] ? "BettingHistoryTitleNone" : "")), r(
|
|
98
|
+
t = M("div"), _ && _.c(), n = k(), y = M("h2"), b = O(B), H = k(), a = M("div"), o = M("button"), p = O(f), w = k(), g = M("button"), S = O(c), h = k(), l = M("om-betting-history-list"), E = k(), m && m.c(), T = k(), L = M("div"), r(y, "class", "BettingHistoryTitle " + /*isMobile*/
|
|
99
|
+
(s[5] ? "BettingHistoryTitleNone" : "")), r(y, "part", "`BettingHistoryTitleMobile"), r(o, "class", "BettingHistoryButton " + /*isMobile*/
|
|
100
100
|
(s[5] ? "BettingHistoryButtonMobile" : "")), I(
|
|
101
101
|
o,
|
|
102
102
|
"BettingHistoryButtonSelected",
|
|
@@ -125,7 +125,7 @@ function rt(s) {
|
|
|
125
125
|
);
|
|
126
126
|
},
|
|
127
127
|
m(u, e) {
|
|
128
|
-
|
|
128
|
+
W(u, t, e), _ && _.m(t, null), i(t, n), i(t, y), i(y, b), i(t, H), i(t, a), i(a, o), i(o, p), i(a, w), i(a, g), i(g, S), i(t, h), i(t, l), i(t, E), m && m.m(t, null), i(t, T), i(t, L), s[16](t), j || (P = [
|
|
129
129
|
R(
|
|
130
130
|
o,
|
|
131
131
|
"click",
|
|
@@ -149,10 +149,10 @@ function rt(s) {
|
|
|
149
149
|
p(u, [e]) {
|
|
150
150
|
/*isMobile*/
|
|
151
151
|
u[5] && _.p(u, e), e & /*$_*/
|
|
152
|
-
16 && y !== (y = /*$_*/
|
|
153
|
-
u[4]("bettingHistory.title") + "") && N(b, y), e & /*$_*/
|
|
154
152
|
16 && B !== (B = /*$_*/
|
|
155
|
-
u[4]("bettingHistory.
|
|
153
|
+
u[4]("bettingHistory.title") + "") && q(b, B), e & /*$_*/
|
|
154
|
+
16 && f !== (f = /*$_*/
|
|
155
|
+
u[4]("bettingHistory.openBets") + "") && q(p, f), e & /*betstatus*/
|
|
156
156
|
1 && I(
|
|
157
157
|
o,
|
|
158
158
|
"BettingHistoryButtonSelected",
|
|
@@ -160,7 +160,7 @@ function rt(s) {
|
|
|
160
160
|
u[0] === "openBets"
|
|
161
161
|
), e & /*$_*/
|
|
162
162
|
16 && c !== (c = /*$_*/
|
|
163
|
-
u[4]("bettingHistory.settledBets") + "") &&
|
|
163
|
+
u[4]("bettingHistory.settledBets") + "") && q(S, c), e & /*betstatus*/
|
|
164
164
|
1 && I(
|
|
165
165
|
g,
|
|
166
166
|
"BettingHistoryButtonSelected",
|
|
@@ -174,7 +174,7 @@ function rt(s) {
|
|
|
174
174
|
u[0]
|
|
175
175
|
), /*showModal*/
|
|
176
176
|
u[3] === "true" && /*selectedBetId*/
|
|
177
|
-
u[1] ? m || (m =
|
|
177
|
+
u[1] ? m || (m = U(), m.c(), m.m(t, T)) : m && (m.d(1), m = null);
|
|
178
178
|
},
|
|
179
179
|
i: x,
|
|
180
180
|
o: x,
|
|
@@ -184,23 +184,23 @@ function rt(s) {
|
|
|
184
184
|
};
|
|
185
185
|
}
|
|
186
186
|
function at(s, t, n) {
|
|
187
|
-
let
|
|
188
|
-
Y(s, st, (e) => n(4,
|
|
189
|
-
let { betstatus:
|
|
190
|
-
const
|
|
191
|
-
fetch(
|
|
187
|
+
let y;
|
|
188
|
+
Y(s, st, (e) => n(4, y = e));
|
|
189
|
+
let { betstatus: B = "openBets" } = t, { lang: b = "en" } = t, { selectedBetId: H = null } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: f = "" } = t, p = "false", w = window.navigator.userAgent, g = $(w) !== "PC", c;
|
|
190
|
+
const S = () => {
|
|
191
|
+
fetch(f).then((d) => d.json()).then((d) => {
|
|
192
192
|
Object.keys(d).forEach((A) => {
|
|
193
|
-
|
|
193
|
+
N(A, d[A]);
|
|
194
194
|
});
|
|
195
195
|
}).catch((d) => {
|
|
196
196
|
console.log(d);
|
|
197
197
|
});
|
|
198
198
|
};
|
|
199
199
|
Object.entries(nt).forEach(([e, d]) => {
|
|
200
|
-
|
|
200
|
+
N(e, d);
|
|
201
201
|
});
|
|
202
202
|
const h = (e) => {
|
|
203
|
-
n(0,
|
|
203
|
+
n(0, B = e);
|
|
204
204
|
}, l = () => {
|
|
205
205
|
window.postMessage(
|
|
206
206
|
{
|
|
@@ -239,19 +239,19 @@ function at(s, t, n) {
|
|
|
239
239
|
});
|
|
240
240
|
}
|
|
241
241
|
return s.$$set = (e) => {
|
|
242
|
-
"betstatus" in e && n(0,
|
|
242
|
+
"betstatus" in e && n(0, B = e.betstatus), "lang" in e && n(9, b = e.lang), "selectedBetId" in e && n(1, H = e.selectedBetId), "clientstyling" in e && n(10, a = e.clientstyling), "clientstylingurl" in e && n(11, o = e.clientstylingurl), "translationurl" in e && n(12, f = e.translationurl);
|
|
243
243
|
}, s.$$.update = () => {
|
|
244
244
|
s.$$.dirty & /*lang*/
|
|
245
245
|
512 && b && it(b), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
246
246
|
1028 && a && c && L(), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
247
247
|
2052 && o && c && j(), s.$$.dirty & /*translationurl*/
|
|
248
|
-
4096 &&
|
|
248
|
+
4096 && f && S();
|
|
249
249
|
}, [
|
|
250
|
-
|
|
250
|
+
B,
|
|
251
251
|
H,
|
|
252
252
|
c,
|
|
253
253
|
p,
|
|
254
|
-
|
|
254
|
+
y,
|
|
255
255
|
g,
|
|
256
256
|
h,
|
|
257
257
|
l,
|
|
@@ -259,7 +259,7 @@ function at(s, t, n) {
|
|
|
259
259
|
b,
|
|
260
260
|
a,
|
|
261
261
|
o,
|
|
262
|
-
|
|
262
|
+
f,
|
|
263
263
|
P,
|
|
264
264
|
_,
|
|
265
265
|
m,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-BBoBE1Lx.cjs");function M(i,e){t.addMessages(i,e)}function T(i){t.$locale.set(i)}const k={en:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},"zh-hk":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},fr:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},tr:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},ro:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},es:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},pt:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},hr:{titleBiometrics:"Biometrijska autentifikacija",descriptionParagraph1:"Koristite biometrijsku prijavu otiskom prsta ili licem za brži i jednostavniji pristup svom računu.",descriptionParagraph2:"Ovu značajku možete uključiti i isključiti u bilo kojem trenutku",btnEnableBiometrics:"Omogući biometriju",btnDisableBiometrics:"Onemogući biometriju"},"pt-br":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},"es-mx":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"}};function j(i){t.append_styles(i,"svelte-1cpvxby",".BiometricsWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.BiometricsWrapper.BiometricsWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.BiometricsTitleMobile{font-size:16px}.BiometricsTitleNone{display:none}.BiometricsDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.BiometricsDescription.BiometricsDescriptionMobile{font-size:12px;line-height:18px}.BiometricsActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.BiometricsActionButtons .BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}")}function C(i){let e,r,h,o,m,c,p,a,s,u,g=i[2]("titleBiometrics")+"",v,B,y;return{c(){e=t.element("div"),r=t.svg_element("svg"),h=t.svg_element("defs"),o=t.svg_element("style"),m=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"),c=t.svg_element("g"),p=t.svg_element("g"),a=t.svg_element("path"),s=t.space(),u=t.element("h2"),v=t.text(g),t.attr(a,"class","aaa"),t.attr(a,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),t.attr(a,"transform","translate(15 15) rotate(180)"),t.attr(p,"transform","translate(20 158)"),t.attr(c,"transform","translate(-20 -158)"),t.attr(r,"xmlns","http://www.w3.org/2000/svg"),t.attr(r,"width","15"),t.attr(r,"height","15"),t.attr(r,"viewBox","0 0 15 15"),t.attr(u,"class","BiometricsTitleMobile"),t.attr(u,"part","BiometricsTitleMobile"),t.attr(e,"class","MenuReturnButton"),t.attr(e,"part","MenuReturnButton")},m(f,w){t.insert(f,e,w),t.append(e,r),t.append(r,h),t.append(h,o),t.append(o,m),t.append(r,c),t.append(c,p),t.append(p,a),t.append(e,s),t.append(e,u),t.append(u,v),B||(y=t.listen(e,"click",i[10]),B=!0)},p(f,w){w&4&&g!==(g=f[2]("titleBiometrics")+"")&&t.set_data(v,g)},d(f){f&&t.detach(e),B=!1,y()}}}function U(i){let e,r,h,o,m=i[2]("titleBiometrics")+"",c,p,a,s,u=i[2]("descriptionParagraph1")+"",g,v,B,y=i[2]("descriptionParagraph2")+"",f,w,_,D,A=(i[0]==="true"?i[2]("btnDisableBiometrics"):i[2]("btnEnableBiometrics"))+"",E,n,d,l=i[3]&&C(i);return{c(){e=t.element("div"),r=t.element("div"),l&&l.c(),h=t.space(),o=t.element("h2"),c=t.text(m),p=t.space(),a=t.element("div"),s=t.element("p"),g=t.text(u),v=t.space(),B=t.element("p"),f=t.text(y),w=t.space(),_=t.element("div"),D=t.element("button"),E=t.text(A),t.attr(o,"class","BiometricsTitle "+(i[3]?"BiometricsTitleNone":"")),t.attr(a,"class","BiometricsDescription "+(i[3]?"BiometricsDescriptionMobile":"")),t.attr(D,"class","BiometricsToggle"),t.attr(_,"class","BiometricsActionButtons "+(i[3]?"BiometricsActionButtonsMobile":"")),t.attr(r,"class","BiometricsWrapper "+(i[3]?"BiometricsWrapperMobile":""))},m(b,P){t.insert(b,e,P),t.append(e,r),l&&l.m(r,null),t.append(r,h),t.append(r,o),t.append(o,c),t.append(r,p),t.append(r,a),t.append(a,s),t.append(s,g),t.append(a,v),t.append(a,B),t.append(B,f),t.append(r,w),t.append(r,_),t.append(_,D),t.append(D,E),i[12](e),n||(d=t.listen(D,"click",i[11]),n=!0)},p(b,[P]){b[3]&&l.p(b,P),P&4&&m!==(m=b[2]("titleBiometrics")+"")&&t.set_data(c,m),P&4&&u!==(u=b[2]("descriptionParagraph1")+"")&&t.set_data(g,u),P&4&&y!==(y=b[2]("descriptionParagraph2")+"")&&t.set_data(f,y),P&5&&A!==(A=(b[0]==="true"?b[2]("btnDisableBiometrics"):b[2]("btnEnableBiometrics"))+"")&&t.set_data(E,A)},i:t.noop,o:t.noop,d(b){b&&t.detach(e),l&&l.d(),i[12](null),n=!1,d()}}}function z(i,e,r){let h;t.component_subscribe(i,t.$format,n=>r(2,h=n));let{biometricsenabled:o="false"}=e,{lang:m="en"}=e,{clientstyling:c=""}=e,{clientstylingurl:p=""}=e,{translationurl:a=""}=e,s,u=window.navigator.userAgent,g=t.getDevice(u)!=="PC";const v=()=>{fetch(a).then(d=>d.json()).then(d=>{Object.keys(d).forEach(l=>{M(l,d[l])})}).catch(d=>{console.log(d)})};Object.keys(k).forEach(n=>{M(n,k[n])});const B=()=>{let n=document.createElement("style");n.innerHTML=c,s.appendChild(n)},y=()=>{let n=new URL(p),d=document.createElement("style");fetch(n.href).then(l=>l.text()).then(l=>{d.innerHTML=l,setTimeout(()=>{s.appendChild(d)},1)})},f=()=>{T(m)},w=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:g},window.location.href)},_=()=>{o==="true"?r(0,o="false"):o==="false"&&r(0,o="true"),window.postMessage({type:"ToggleBiometrics",data:o})},D=()=>w(),A=()=>_();function E(n){t.binding_callbacks[n?"unshift":"push"](()=>{s=n,r(1,s)})}return i.$$set=n=>{"biometricsenabled"in n&&r(0,o=n.biometricsenabled),"lang"in n&&r(6,m=n.lang),"clientstyling"in n&&r(7,c=n.clientstyling),"clientstylingurl"in n&&r(8,p=n.clientstylingurl),"translationurl"in n&&r(9,a=n.translationurl)},i.$$.update=()=>{i.$$.dirty&64&&m&&f(),i.$$.dirty&258&&p&&s&&y(),i.$$.dirty&130&&c&&s&&B(),i.$$.dirty&512&&a&&v()},[o,s,h,g,w,_,m,c,p,a,D,A,E]}class x extends t.SvelteComponent{constructor(e){super(),t.init(this,e,z,U,t.safe_not_equal,{biometricsenabled:0,lang:6,clientstyling:7,clientstylingurl:8,translationurl:9},j)}get biometricsenabled(){return this.$$.ctx[0]}set biometricsenabled(e){this.$$set({biometricsenabled:e}),t.flush()}get lang(){return this.$$.ctx[6]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(x,{biometricsenabled:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=x;
|
package/components/{PlayerAccountBiometrics-36-jzvmv.js → PlayerAccountBiometrics-jc45EBJe.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as O, $ as N, S as W, i as H, f as
|
|
1
|
+
import { a as O, $ as N, S as W, i as H, f as j, c as q, s as I, b as K, e as B, d as C, t as x, g as a, k as S, l as o, m as F, n as U, o as z, p as R, q as V, u as Z, w as k, x as G, y as J } from "./GeneralLogout-DJd6W-jT.js";
|
|
2
2
|
function Y(e, t) {
|
|
3
3
|
O(e, t);
|
|
4
4
|
}
|
|
@@ -78,19 +78,19 @@ const L = {
|
|
|
78
78
|
}
|
|
79
79
|
};
|
|
80
80
|
function X(e) {
|
|
81
|
-
K(e, "svelte-
|
|
81
|
+
K(e, "svelte-1cpvxby", ".BiometricsWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.BiometricsWrapper.BiometricsWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.BiometricsTitleMobile{font-size:16px}.BiometricsTitleNone{display:none}.BiometricsDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.BiometricsDescription.BiometricsDescriptionMobile{font-size:12px;line-height:18px}.BiometricsActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.BiometricsActionButtons .BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}");
|
|
82
82
|
}
|
|
83
83
|
function $(e) {
|
|
84
|
-
let t, i, y, s, u, m,
|
|
84
|
+
let t, i, y, s, u, m, p, n, c, b, d = (
|
|
85
85
|
/*$_*/
|
|
86
86
|
e[2]("titleBiometrics") + ""
|
|
87
87
|
), P, w, v;
|
|
88
88
|
return {
|
|
89
89
|
c() {
|
|
90
|
-
t = B("div"), i = k("svg"), y = k("defs"), s = k("style"), u =
|
|
90
|
+
t = B("div"), i = k("svg"), y = k("defs"), s = k("style"), u = x(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), m = k("g"), p = k("g"), n = k("path"), c = C(), b = B("h2"), P = x(d), a(n, "class", "aaa"), a(n, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), a(n, "transform", "translate(15 15) rotate(180)"), a(p, "transform", "translate(20 158)"), a(m, "transform", "translate(-20 -158)"), a(i, "xmlns", "http://www.w3.org/2000/svg"), a(i, "width", "15"), a(i, "height", "15"), a(i, "viewBox", "0 0 15 15"), a(b, "class", "BiometricsTitleMobile"), a(b, "part", "BiometricsTitleMobile"), a(t, "class", "MenuReturnButton"), a(t, "part", "MenuReturnButton");
|
|
91
91
|
},
|
|
92
92
|
m(h, D) {
|
|
93
|
-
S(h, t, D), o(t, i), o(i, y), o(y, s), o(s, u), o(i, m), o(m,
|
|
93
|
+
S(h, t, D), o(t, i), o(i, y), o(y, s), o(s, u), o(i, m), o(m, p), o(p, n), o(t, c), o(t, b), o(b, P), w || (v = F(
|
|
94
94
|
t,
|
|
95
95
|
"click",
|
|
96
96
|
/*click_handler*/
|
|
@@ -111,7 +111,7 @@ function tt(e) {
|
|
|
111
111
|
let t, i, y, s, u = (
|
|
112
112
|
/*$_*/
|
|
113
113
|
e[2]("titleBiometrics") + ""
|
|
114
|
-
), m,
|
|
114
|
+
), m, p, n, c, b = (
|
|
115
115
|
/*$_*/
|
|
116
116
|
e[2]("descriptionParagraph1") + ""
|
|
117
117
|
), d, P, w, v = (
|
|
@@ -126,62 +126,62 @@ function tt(e) {
|
|
|
126
126
|
/*$_*/
|
|
127
127
|
e[2]("btnEnableBiometrics")
|
|
128
128
|
)) + ""
|
|
129
|
-
), T, r,
|
|
129
|
+
), T, r, g, l = (
|
|
130
130
|
/*isMobile*/
|
|
131
131
|
e[3] && $(e)
|
|
132
132
|
);
|
|
133
133
|
return {
|
|
134
134
|
c() {
|
|
135
|
-
t = B("div"), i = B("div"), l && l.c(), y = C(), s = B("h2"), m =
|
|
135
|
+
t = B("div"), i = B("div"), l && l.c(), y = C(), s = B("h2"), m = x(u), p = C(), n = B("div"), c = B("p"), d = x(b), P = C(), w = B("p"), h = x(v), D = C(), A = B("div"), E = B("button"), T = x(M), a(s, "class", "BiometricsTitle " + /*isMobile*/
|
|
136
136
|
(e[3] ? "BiometricsTitleNone" : "")), a(n, "class", "BiometricsDescription " + /*isMobile*/
|
|
137
137
|
(e[3] ? "BiometricsDescriptionMobile" : "")), a(E, "class", "BiometricsToggle"), a(A, "class", "BiometricsActionButtons " + /*isMobile*/
|
|
138
138
|
(e[3] ? "BiometricsActionButtonsMobile" : "")), a(i, "class", "BiometricsWrapper " + /*isMobile*/
|
|
139
139
|
(e[3] ? "BiometricsWrapperMobile" : ""));
|
|
140
140
|
},
|
|
141
|
-
m(
|
|
142
|
-
S(
|
|
141
|
+
m(f, _) {
|
|
142
|
+
S(f, t, _), o(t, i), l && l.m(i, null), o(i, y), o(i, s), o(s, m), o(i, p), o(i, n), o(n, c), o(c, d), o(n, P), o(n, w), o(w, h), o(i, D), o(i, A), o(A, E), o(E, T), e[12](t), r || (g = F(
|
|
143
143
|
E,
|
|
144
144
|
"click",
|
|
145
145
|
/*click_handler_1*/
|
|
146
146
|
e[11]
|
|
147
147
|
), r = !0);
|
|
148
148
|
},
|
|
149
|
-
p(
|
|
149
|
+
p(f, [_]) {
|
|
150
150
|
/*isMobile*/
|
|
151
|
-
|
|
151
|
+
f[3] && l.p(f, _), _ & /*$_*/
|
|
152
152
|
4 && u !== (u = /*$_*/
|
|
153
|
-
|
|
154
|
-
4 &&
|
|
155
|
-
|
|
153
|
+
f[2]("titleBiometrics") + "") && U(m, u), _ & /*$_*/
|
|
154
|
+
4 && b !== (b = /*$_*/
|
|
155
|
+
f[2]("descriptionParagraph1") + "") && U(d, b), _ & /*$_*/
|
|
156
156
|
4 && v !== (v = /*$_*/
|
|
157
|
-
|
|
157
|
+
f[2]("descriptionParagraph2") + "") && U(h, v), _ & /*biometricsenabled, $_*/
|
|
158
158
|
5 && M !== (M = /*biometricsenabled*/
|
|
159
|
-
(
|
|
159
|
+
(f[0] === "true" ? (
|
|
160
160
|
/*$_*/
|
|
161
|
-
|
|
161
|
+
f[2]("btnDisableBiometrics")
|
|
162
162
|
) : (
|
|
163
163
|
/*$_*/
|
|
164
|
-
|
|
164
|
+
f[2]("btnEnableBiometrics")
|
|
165
165
|
)) + "") && U(T, M);
|
|
166
166
|
},
|
|
167
167
|
i: z,
|
|
168
168
|
o: z,
|
|
169
|
-
d(
|
|
170
|
-
|
|
169
|
+
d(f) {
|
|
170
|
+
f && R(t), l && l.d(), e[12](null), r = !1, g();
|
|
171
171
|
}
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
function et(e, t, i) {
|
|
175
175
|
let y;
|
|
176
176
|
V(e, J, (r) => i(2, y = r));
|
|
177
|
-
let { biometricsenabled: s = "false" } = t, { lang: u = "en" } = t, { clientstyling: m = "" } = t, { clientstylingurl:
|
|
177
|
+
let { biometricsenabled: s = "false" } = t, { lang: u = "en" } = t, { clientstyling: m = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: n = "" } = t, c, b = window.navigator.userAgent, d = Z(b) !== "PC";
|
|
178
178
|
const P = () => {
|
|
179
|
-
fetch(n).then((
|
|
180
|
-
Object.keys(
|
|
181
|
-
Y(l,
|
|
179
|
+
fetch(n).then((g) => g.json()).then((g) => {
|
|
180
|
+
Object.keys(g).forEach((l) => {
|
|
181
|
+
Y(l, g[l]);
|
|
182
182
|
});
|
|
183
|
-
}).catch((
|
|
184
|
-
console.log(
|
|
183
|
+
}).catch((g) => {
|
|
184
|
+
console.log(g);
|
|
185
185
|
});
|
|
186
186
|
};
|
|
187
187
|
Object.keys(L).forEach((r) => {
|
|
@@ -191,11 +191,11 @@ function et(e, t, i) {
|
|
|
191
191
|
let r = document.createElement("style");
|
|
192
192
|
r.innerHTML = m, c.appendChild(r);
|
|
193
193
|
}, v = () => {
|
|
194
|
-
let r = new URL(
|
|
194
|
+
let r = new URL(p), g = document.createElement("style");
|
|
195
195
|
fetch(r.href).then((l) => l.text()).then((l) => {
|
|
196
|
-
|
|
196
|
+
g.innerHTML = l, setTimeout(
|
|
197
197
|
() => {
|
|
198
|
-
c.appendChild(
|
|
198
|
+
c.appendChild(g);
|
|
199
199
|
},
|
|
200
200
|
1
|
|
201
201
|
);
|
|
@@ -222,11 +222,11 @@ function et(e, t, i) {
|
|
|
222
222
|
});
|
|
223
223
|
}
|
|
224
224
|
return e.$$set = (r) => {
|
|
225
|
-
"biometricsenabled" in r && i(0, s = r.biometricsenabled), "lang" in r && i(6, u = r.lang), "clientstyling" in r && i(7, m = r.clientstyling), "clientstylingurl" in r && i(8,
|
|
225
|
+
"biometricsenabled" in r && i(0, s = r.biometricsenabled), "lang" in r && i(6, u = r.lang), "clientstyling" in r && i(7, m = r.clientstyling), "clientstylingurl" in r && i(8, p = r.clientstylingurl), "translationurl" in r && i(9, n = r.translationurl);
|
|
226
226
|
}, e.$$.update = () => {
|
|
227
227
|
e.$$.dirty & /*lang*/
|
|
228
228
|
64 && u && h(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
229
|
-
258 &&
|
|
229
|
+
258 && p && c && v(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
230
230
|
130 && m && c && w(), e.$$.dirty & /*translationurl*/
|
|
231
231
|
512 && n && P();
|
|
232
232
|
}, [
|
|
@@ -238,7 +238,7 @@ function et(e, t, i) {
|
|
|
238
238
|
A,
|
|
239
239
|
u,
|
|
240
240
|
m,
|
|
241
|
-
|
|
241
|
+
p,
|
|
242
242
|
n,
|
|
243
243
|
E,
|
|
244
244
|
M,
|
|
@@ -267,31 +267,31 @@ class it extends W {
|
|
|
267
267
|
return this.$$.ctx[0];
|
|
268
268
|
}
|
|
269
269
|
set biometricsenabled(t) {
|
|
270
|
-
this.$$set({ biometricsenabled: t }),
|
|
270
|
+
this.$$set({ biometricsenabled: t }), j();
|
|
271
271
|
}
|
|
272
272
|
get lang() {
|
|
273
273
|
return this.$$.ctx[6];
|
|
274
274
|
}
|
|
275
275
|
set lang(t) {
|
|
276
|
-
this.$$set({ lang: t }),
|
|
276
|
+
this.$$set({ lang: t }), j();
|
|
277
277
|
}
|
|
278
278
|
get clientstyling() {
|
|
279
279
|
return this.$$.ctx[7];
|
|
280
280
|
}
|
|
281
281
|
set clientstyling(t) {
|
|
282
|
-
this.$$set({ clientstyling: t }),
|
|
282
|
+
this.$$set({ clientstyling: t }), j();
|
|
283
283
|
}
|
|
284
284
|
get clientstylingurl() {
|
|
285
285
|
return this.$$.ctx[8];
|
|
286
286
|
}
|
|
287
287
|
set clientstylingurl(t) {
|
|
288
|
-
this.$$set({ clientstylingurl: t }),
|
|
288
|
+
this.$$set({ clientstylingurl: t }), j();
|
|
289
289
|
}
|
|
290
290
|
get translationurl() {
|
|
291
291
|
return this.$$.ctx[9];
|
|
292
292
|
}
|
|
293
293
|
set translationurl(t) {
|
|
294
|
-
this.$$set({ translationurl: t }),
|
|
294
|
+
this.$$set({ translationurl: t }), j();
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
q(it, { biometricsenabled: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|