@everymatrix/player-account-controller 1.74.3 → 1.74.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-CiyGpZGU.js → GeneralLogout-DIRnj10H.js} +1298 -1284
- package/components/{GeneralLogout-Vg76ri4V.js → GeneralLogout-Dd4n6Kp2.js} +1322 -1308
- package/components/GeneralLogout-TofSUXEw.cjs +21 -0
- package/components/PlayerAccountBettingHistory-85apG_ux.cjs +1 -0
- package/components/PlayerAccountBettingHistory-CuMJRUaH.js +310 -0
- package/components/PlayerAccountBettingHistory-ZZH1M51O.js +311 -0
- package/components/{PlayerAccountBiometrics-C2wumiJ3.js → PlayerAccountBiometrics-D8lv7JzY.js} +5 -5
- package/components/{PlayerAccountBiometrics-CH9MN1vT.js → PlayerAccountBiometrics-DzUvqvfR.js} +5 -5
- package/components/{PlayerAccountBiometrics-DPdT285K.cjs → PlayerAccountBiometrics-N164JTVo.cjs} +1 -1
- package/components/{PlayerAccountClosure-BqrCJaGp.js → PlayerAccountClosure-B7LJRfF_.js} +6 -6
- package/components/{PlayerAccountClosure-DG5NrDqY.cjs → PlayerAccountClosure-ByNnHtUf.cjs} +1 -1
- package/components/{PlayerAccountClosure-Dda9CHdX.js → PlayerAccountClosure-VNjXTTeE.js} +6 -6
- package/components/{PlayerAccountController-DQL2LeOb.js → PlayerAccountController-B47r10OB.js} +362 -332
- package/components/PlayerAccountController-DGK3dgIb.cjs +1 -0
- package/components/{PlayerAccountController-CVBzkzGD.js → PlayerAccountController-OkqLzDKb.js} +361 -331
- package/components/{PlayerAccountGamingLimits-CJksEBIA.js → PlayerAccountGamingLimits-BPAFyYb5.js} +124 -124
- package/components/{PlayerAccountGamingLimits-CqPkjNdS.js → PlayerAccountGamingLimits-CSFkUiYY.js} +124 -124
- package/components/{PlayerAccountGamingLimits-B2vzRems.cjs → PlayerAccountGamingLimits-DLyOkU8g.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BX8_aYoz.js → PlayerAccountGamingLimitsConfirmationModal-DON2ejFa.js} +38 -38
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CfPKMMkU.js → PlayerAccountGamingLimitsConfirmationModal-De1JAgPX.js} +38 -38
- package/components/PlayerAccountGamingLimitsConfirmationModal-cxg0byfD.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-BD9SWhvO.js → PlayerAccountGamingLimitsGroupEdit-B4l5VAbb.js} +1009 -1009
- package/components/{PlayerAccountGamingLimitsGroupEdit-JerzRaIW.cjs → PlayerAccountGamingLimitsGroupEdit-BEb7Fv28.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-Ageqronh.js → PlayerAccountGamingLimitsGroupEdit-CrgfBvua.js} +1009 -1009
- package/components/{PlayerAccountGamingLimitsHistory2-kH5zBkQX.js → PlayerAccountGamingLimitsHistory2-BRgxAXo_.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-BusoJL-w.js → PlayerAccountGamingLimitsHistory2-RFRr_X30.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-B6QgZ3Qd.cjs → PlayerAccountGamingLimitsHistory2-x-v5JjhN.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-BHAREEgX.js → PlayerAccountGamingLimitsInfoCard-BRDuV_cd.js} +7 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-BvQ7pktR.js → PlayerAccountGamingLimitsInfoCard-BiwEIF0r.js} +7 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-DRRou8s9.cjs → PlayerAccountGamingLimitsInfoCard-XCP1Kxff.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-owJ6cmPy.js → PlayerAccountGamingLimitsPage2Gm16-BFhDf8Ly.js} +39 -39
- package/components/{PlayerAccountGamingLimitsPage2Gm16-oWyrFFWN.cjs → PlayerAccountGamingLimitsPage2Gm16-DsN5QHb_.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BJQwwwIU.js → PlayerAccountGamingLimitsPage2Gm16-pzTyrq62.js} +28 -28
- package/components/{PlayerAccountGamingLimitsPopup-D0ltWJSo.js → PlayerAccountGamingLimitsPopup-Biyoz4lK.js} +21 -21
- package/components/{PlayerAccountGamingLimitsPopup-D16rhs4n.cjs → PlayerAccountGamingLimitsPopup-DNjM-xS5.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Bl1xoGPY.js → PlayerAccountGamingLimitsPopup-cBscDgFe.js} +21 -21
- package/components/{PlayerAccountGamingLimitsWrapper2-e5y4zRJf.cjs → PlayerAccountGamingLimitsWrapper2-BoG8Um5-.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-Ct9MhOhZ.js → PlayerAccountGamingLimitsWrapper2-Btk8D8Or.js} +6 -6
- package/components/{PlayerAccountGamingLimitsWrapper2-VtZ2jIY4.js → PlayerAccountGamingLimitsWrapper2-BwW74eAX.js} +6 -6
- package/components/PlayerAccountGeneralConfirmationModal-BFCCI67b.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-JvzRw4bx.js → PlayerAccountGeneralConfirmationModal-BNoE_P3G.js} +53 -53
- package/components/{PlayerAccountGeneralConfirmationModal-T_JYxL62.js → PlayerAccountGeneralConfirmationModal-q4Du5zdg.js} +53 -53
- package/components/{PlayerAccountMenu-DPpd0Onj.js → PlayerAccountMenu-BbdWpRLe.js} +7 -7
- package/components/{PlayerAccountMenu-C4sG1dhf.js → PlayerAccountMenu-BicTGCSZ.js} +7 -7
- package/components/{PlayerAccountMenu-JDfi5y52.cjs → PlayerAccountMenu-CVBew6Nf.cjs} +1 -1
- package/components/{PlayerAccountModal-DvJ0OsPC.cjs → PlayerAccountModal-DaIBO9tP.cjs} +1 -1
- package/components/{PlayerAccountModal-BGCTA59j.js → PlayerAccountModal-Day4vMPZ.js} +10 -10
- package/components/{PlayerAccountModal-DkyQ5JIi.js → PlayerAccountModal-J-6B3L2x.js} +10 -10
- package/components/{PlayerAccountNotifications-CdPeCghS.cjs → PlayerAccountNotifications-BbvJAh0S.cjs} +1 -1
- package/components/{PlayerAccountNotifications-OJnPC108.js → PlayerAccountNotifications-PuDZBFQ4.js} +6 -6
- package/components/{PlayerAccountNotifications-DTtMvV8M.js → PlayerAccountNotifications-wc_EBqY2.js} +6 -6
- package/components/{PlayerAccountProductRestriction-Jrbxe9JW.js → PlayerAccountProductRestriction-BrbHcAfU.js} +2468 -2464
- package/components/{PlayerAccountProductRestriction-Da6GbBbG.js → PlayerAccountProductRestriction-CLG0mXNs.js} +2489 -2485
- package/components/{PlayerAccountProductRestriction-DuSld9Fq.cjs → PlayerAccountProductRestriction-nQ_8_MV1.cjs} +256 -256
- package/components/{PlayerAccountSelfExclusion-Clp_vRMQ.cjs → PlayerAccountSelfExclusion---HyNqaB.cjs} +153 -153
- package/components/{PlayerAccountSelfExclusion-DVySF-Tq.js → PlayerAccountSelfExclusion-CxHNtxAD.js} +1174 -1152
- package/components/{PlayerAccountSelfExclusion-MIfOF_J8.js → PlayerAccountSelfExclusion-DLQ-HVLx.js} +1156 -1134
- package/components/{PlayerAccountTimeout-X-RnEi2e.cjs → PlayerAccountTimeout-B98Pp_88.cjs} +1 -1
- package/components/{PlayerAccountTimeout-BEU2B8s4.js → PlayerAccountTimeout-BiuDm_C7.js} +43 -43
- package/components/{PlayerAccountTimeout-CHGY9L2A.js → PlayerAccountTimeout-BwriD4ZF.js} +43 -43
- package/components/{PlayerAccountTransactionsHistory-gBDCo_IB.js → PlayerAccountTransactionsHistory-CKkc0h_L.js} +7 -7
- package/components/{PlayerAccountTransactionsHistory-YUkSnVhN.cjs → PlayerAccountTransactionsHistory-D1eLaVcc.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-DnFIYed1.js → PlayerAccountTransactionsHistory-DJuFj0z7.js} +7 -7
- package/components/{PlayerActiveBonuses-DcuRFKFP.js → PlayerActiveBonuses-DBGj3lj2.js} +6 -6
- package/components/{PlayerActiveBonuses-Me5Q3o65.cjs → PlayerActiveBonuses-VMRnoY1_.cjs} +1 -1
- package/components/{PlayerActiveBonuses-BWfdGowJ.js → PlayerActiveBonuses-lflDqCU8.js} +6 -6
- package/components/{PlayerBonusCard-CkEs_ikq.js → PlayerBonusCard-B58kMR83.js} +7 -7
- package/components/{PlayerBonusCard-D8XTVs99.js → PlayerBonusCard-D68dTYiw.js} +7 -7
- package/components/{PlayerBonusCard-DgyhSYBs.cjs → PlayerBonusCard-KehruUku.cjs} +1 -1
- package/components/{PlayerBonusHistory-ZFIgO-Nk.js → PlayerBonusHistory-BtsC9ZN8.js} +7 -7
- package/components/{PlayerBonusHistory-Btorhb5T.js → PlayerBonusHistory-DdcyUG-1.js} +7 -7
- package/components/{PlayerBonusHistory-B1tNYVjn.cjs → PlayerBonusHistory-l9JKc1SI.cjs} +1 -1
- package/components/{PlayerChangePassword-Cc15tSRv.js → PlayerChangePassword-CQqQIyDU.js} +4 -4
- package/components/{PlayerChangePassword-CfCN79eP.cjs → PlayerChangePassword-DYpl0DV7.cjs} +1 -1
- package/components/{PlayerChangePassword-Hj0mD9xL.js → PlayerChangePassword-VQJYG-HQ.js} +4 -4
- package/components/PlayerDeposit-BLDWbMBK.cjs +1 -0
- package/components/{PlayerDeposit-Bm1DOHlW.js → PlayerDeposit-R4oRYCP7.js} +73 -73
- package/components/{PlayerDeposit-BpS3fS46.js → PlayerDeposit-nin4U--Y.js} +73 -73
- package/components/{PlayerGamingHistory-Dd5-sNUi.js → PlayerGamingHistory-CgSvSixH.js} +53 -53
- package/components/{PlayerGamingHistory-DEncqPtG.cjs → PlayerGamingHistory-DrygiT7t.cjs} +1 -1
- package/components/{PlayerGamingHistory-DdlUmYIJ.js → PlayerGamingHistory-GxtuAObW.js} +60 -60
- package/components/{PlayerPendingWithdrawals-scSFcYAA.js → PlayerPendingWithdrawals-C1tt1OJl.js} +6 -6
- package/components/{PlayerPendingWithdrawals-D-KWiMH6.cjs → PlayerPendingWithdrawals-DfQ_PvkY.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-pfC5sUpM.js → PlayerPendingWithdrawals-adHFXpiC.js} +6 -6
- package/components/{PlayerProfileInfo-CwZQ79SV.cjs → PlayerProfileInfo-CKJNYYA8.cjs} +1 -1
- package/components/{PlayerProfileInfo-DYvdUkJZ.js → PlayerProfileInfo-CrGJ1yEi.js} +95 -95
- package/components/{PlayerProfileInfo-1ELKHIQs.js → PlayerProfileInfo-DpEH00v-.js} +108 -108
- package/components/{PlayerRealityCheck-DLPtMaP7.js → PlayerRealityCheck-CTGhzTwa.js} +6 -6
- package/components/{PlayerRealityCheck-JdOGHDG6.cjs → PlayerRealityCheck-Cq2rIALW.cjs} +1 -1
- package/components/{PlayerRealityCheck-pQWsLK1G.js → PlayerRealityCheck-JkP_hy_p.js} +6 -6
- package/components/{PlayerTransactionHistory-B7ts1zGr.js → PlayerTransactionHistory-CQPQw37D.js} +6 -6
- package/components/{PlayerTransactionHistory-Hz2IWD73.cjs → PlayerTransactionHistory-DPvvu8Wp.cjs} +1 -1
- package/components/{PlayerTransactionHistory-CUa0IaZD.js → PlayerTransactionHistory-DQfalEXN.js} +6 -6
- package/components/{PlayerWithdrawal-BTfz-sCc.js → PlayerWithdrawal-11j92uAk.js} +6 -6
- package/components/{PlayerWithdrawal-P_0MIA-u.cjs → PlayerWithdrawal-BcaC1sEF.cjs} +1 -1
- package/components/{PlayerWithdrawal-DYVDpOnE.js → PlayerWithdrawal-yB5c-nTz.js} +6 -6
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_15-0289QK04.cjs → checkbox-group-input_15-BR0ZwfUi.cjs} +260 -260
- package/stencil/{checkbox-group-input_15-BAlJ2RSB.js → checkbox-group-input_15-BzVCOEV7.js} +3177 -3171
- package/stencil/{checkbox-group-input_15-P5bpc-le.js → checkbox-group-input_15-UyiNBEuH.js} +3173 -3167
- package/stencil/{index-13661b98-Cjrw92L5.js → index-13661b98-B9l_O4QH.js} +245 -245
- package/stencil/index-13661b98-BWdlHLAA.cjs +1 -0
- package/stencil/{index-13661b98-0KqdpSwq.js → index-13661b98-DQ52QmXa.js} +124 -124
- package/stencil/{index-1ef3a64c-DuKSFSN8.js → index-1ef3a64c-BJwg6KZV.js} +201 -201
- package/stencil/index-1ef3a64c-BkMv_VME.cjs +1 -0
- package/stencil/index-1ef3a64c-Cl4fiqPl.js +556 -0
- package/stencil/{index-7c5e707a-B54Yjxc3.js → index-7c5e707a-BZ26MA7_.js} +135 -135
- package/stencil/{index-7c5e707a-BHFN5Fx4.js → index-7c5e707a-CVVnpkZ1.js} +145 -145
- package/stencil/index-7c5e707a-d0LYIjGl.cjs +1 -0
- package/stencil/{index-9c0f6c58-BjPD5eYu.js → index-9c0f6c58-8sXzcKbt.js} +223 -223
- package/stencil/index-9c0f6c58-CbFwvYJ1.cjs +1 -0
- package/stencil/{index-9c0f6c58-BVjt1-QR.js → index-9c0f6c58-DH5Ki39B.js} +118 -118
- package/stencil/{index-b2193545-LzjWxki5.js → index-b2193545-BekNYO1T.js} +176 -176
- package/stencil/index-b2193545-BteAUmdh.cjs +1 -0
- package/stencil/{index-b2193545-DPKCFIaU.js → index-b2193545-DfDFpDFs.js} +169 -169
- package/stencil/{pam-change-password-CCtkdO47.cjs → pam-change-password-CnEeGd5H.cjs} +1 -1
- package/stencil/{pam-change-password-DTgd0kl_.js → pam-change-password-NFSIJ7d0.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-DtYo6Qns.js → pam-change-password-f4a1e7e7-CIk78u1F.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-BN6Jj_HN.cjs → pam-change-password-f4a1e7e7-CbbJR39E.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-D8x0jD6p.js → pam-change-password-f4a1e7e7-rXcaCqmV.js} +1 -1
- package/stencil/{pam-change-password-CGyD6M-i.js → pam-change-password-iphXW9aC.js} +1 -1
- package/stencil/{player-kyc-verification-XNdgNWvR.js → player-kyc-verification-BJuBsd7A.js} +74 -74
- package/stencil/player-kyc-verification-DW2tWbg_.cjs +181 -0
- package/stencil/{player-kyc-verification-BN1-EiQk.js → player-kyc-verification-u-XUlDen.js} +21 -21
- package/stencil/{ui-skeleton-Cbqo0oYF.cjs → ui-skeleton-Bez-iF-R.cjs} +1 -1
- package/stencil/{ui-skeleton-LneRlsD3.js → ui-skeleton-CScGJdv_.js} +2 -2
- package/stencil/{ui-skeleton-2XsWxl4S.js → ui-skeleton-CnxOhYAT.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-OnzqIAY0.js → ui-skeleton-ae35c6f2-Bl0_r9TX.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-8s3Rqu1P.js → ui-skeleton-ae35c6f2-CXRVKjq-.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-B4ncHe9g.cjs → ui-skeleton-ae35c6f2-D37mmp9J.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-CSakhNt1.js → user-deposit-withdrawal-B7dnuKq0.js} +45 -45
- package/stencil/{user-deposit-withdrawal-BP58nPO1.cjs → user-deposit-withdrawal-KqJCF9Hl.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-DcVKAa80.js → user-deposit-withdrawal-ar8K3Kn7.js} +45 -45
- package/stencil/{user-transaction-history-D0jBcRwe.js → user-transaction-history-D86WcqZY.js} +588 -588
- package/stencil/{user-transaction-history-BrBScppC.js → user-transaction-history-o1zvVNkt.js} +600 -600
- package/stencil/user-transaction-history-xgpDQYWU.cjs +1 -0
- package/components/GeneralLogout-COm1JcKW.cjs +0 -21
- package/components/PlayerAccountBettingHistory-Bv1Qcp8m.js +0 -311
- package/components/PlayerAccountBettingHistory-CE023VGz.cjs +0 -1
- package/components/PlayerAccountBettingHistory-Dn9IsrIP.js +0 -310
- package/components/PlayerAccountController-BLYf29U_.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-BR2Qm3Iq.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-BajaU0jJ.cjs +0 -1
- package/components/PlayerDeposit-CmBFg6tX.cjs +0 -1
- package/stencil/index-13661b98-DmQ3LyqA.cjs +0 -1
- package/stencil/index-1ef3a64c-DD-PHh2g.cjs +0 -1
- package/stencil/index-1ef3a64c-DQk1yZfC.js +0 -556
- package/stencil/index-7c5e707a-CFlTnjRT.cjs +0 -1
- package/stencil/index-9c0f6c58-DZU9DhI3.cjs +0 -1
- package/stencil/index-b2193545-BMFR9-V2.cjs +0 -1
- package/stencil/player-kyc-verification-D347xSwD.cjs +0 -181
- package/stencil/user-transaction-history-HA_tfHfo.cjs +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var x=(e,t,n)=>new Promise((r,s)=>{var a=i=>{try{o(n.next(i))}catch(c){s(c)}},l=i=>{try{o(n.throw(i))}catch(c){s(c)}},o=i=>i.done?r(i.value):Promise.resolve(i.value).then(a,l);o((n=n.apply(e,t)).next())});const fe="ui-skeleton",ue={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!1,cmpDidRender:!1,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!1,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!1,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!1,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!1,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!1,propNumber:!0,propString:!0,reflect:!1,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!1,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!1,style:!0,svg:!1,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!1,vdomKey:!0,vdomListener:!1,vdomPropOrAttr:!1,vdomRef:!1,vdomRender:!0,vdomStyle:!1,vdomText:!0,vdomXlink:!1,watchCallback:!0};var de=Object.defineProperty,me=(e,t)=>{for(var n in t)de(e,n,{get:t[n],enumerable:!0})},I=new WeakMap,b=e=>I.get(e),he=(e,t)=>I.set(t.$lazyInstance$=e,t),pe=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(r=>n.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],I.set(e,n)},w=(e,t)=>(0,console.error)(e,t),_=new Map,ve=(e,t,n)=>{const r=e.$tagName$.replace(/-/g,"_"),s=e.$lazyBundleId$;if(!s)return;const a=_.get(s);if(a)return a[r];{const l=o=>(_.set(s,o),o[r]);switch(s){case"ui-skeleton":return Promise.resolve().then(()=>require("./ui-skeleton-Cbqo0oYF.cjs")).then(l,w)}}return import(`./${s}.entry.js`).then(l=>(_.set(s,l),l[r]),w)},P=new Map,ge="{visibility:hidden}.hydrated{visibility:inherit}",G="slot-fb{display:contents}slot-fb[hidden]{display:none}",B=typeof window!="undefined"?window:{},y=B.document||{head:{}},p={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)},J=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),j=!1,z=[],K=[],Se=(e,t)=>n=>{e.push(n),j||(j=!0,p.$flags$&4?D(N):p.raf(N))},F=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){w(n)}e.length=0},N=()=>{F(z),F(K),(j=z.length>0)&&p.raf(N)},D=e=>J().then(e),be=Se(K),q={},R=e=>(e=typeof e,e==="object"||e==="function");function X(e){var t,n,r;return(r=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?r:void 0}var ke={};me(ke,{err:()=>Z,map:()=>we,ok:()=>C,unwrap:()=>Ee,unwrapErr:()=>xe});var C=e=>({isOk:!0,isErr:!1,value:e}),Z=e=>({isOk:!1,isErr:!0,value:e});function we(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(r=>C(r)):C(n)}if(e.isErr){const n=e.value;return Z(n)}throw"should never get here"}var Ee=e=>{if(e.isOk)return e.value;throw e.value},xe=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Te=(e,t)=>()=>{},V=(e,t,...n)=>{let r=null,s=null,a=!1,l=!1;const o=[],i=$=>{for(let f=0;f<$.length;f++)r=$[f],Array.isArray(r)?i(r):r!=null&&typeof r!="boolean"&&((a=typeof e!="function"&&!R(r))&&(r=String(r)),a&&l?o[o.length-1].$text$+=r:o.push(a?U(null,r):r),l=a)};if(i(n),t){t.key&&(s=t.key);{const $=t.className||t.class;$&&(t.class=typeof $!="object"?$:Object.keys($).filter(f=>$[f]).join(" "))}}const c=U(e,null);return c.$attrs$=t,o.length>0&&(c.$children$=o),c.$key$=s,c},U=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},ee={},Le=e=>e&&e.$tag$===ee,Pe=(e,t)=>e!=null&&!R(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,Ae=(e,t,n)=>{const r=p.ce(t,n);return e.dispatchEvent(r),r},W=new WeakMap,Oe=(e,t,n)=>{let r=P.get(e);ye&&n?(r=r||new CSSStyleSheet,typeof r=="string"?r=t:r.replaceSync(t)):r=t,P.set(e,r)},_e=(e,t,n)=>{var r;const s=te(t),a=P.get(s);if(e=e.nodeType===11?e:y,a)if(typeof a=="string"){e=e.head||e;let l=W.get(e),o;if(l||W.set(e,l=new Set),!l.has(s)){{o=y.createElement("style"),o.innerHTML=a;const i=(r=p.$nonce$)!=null?r:X(y);i!=null&&o.setAttribute("nonce",i),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=G),l&&l.add(s)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return s},je=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,r=S("attachStyles",t.$tagName$);_e(n.getRootNode(),t),r()},te=(e,t)=>"sc-"+e.$tagName$,M=(e,t,n,r,s,a)=>{if(n!==r&&(t.toLowerCase(),t==="class")){const l=e.classList,o=Q(n),i=Q(r);l.remove(...o.filter(c=>c&&!i.includes(c))),l.add(...i.filter(c=>c&&!o.includes(c)))}},Ne=/\s/,Q=e=>e?e.split(Ne):[],se=(e,t,n)=>{const r=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,s=e&&e.$attrs$||q,a=t.$attrs$||q;for(const l of Y(Object.keys(s)))l in a||M(r,l,s[l],void 0);for(const l of Y(Object.keys(a)))M(r,l,s[l],a[l])};function Y(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var ne,A=(e,t,n,r)=>{const s=t.$children$[n];let a=0,l,o;if(s.$text$!==null)l=s.$elm$=y.createTextNode(s.$text$);else if(l=s.$elm$=y.createElement(s.$tag$),se(null,s),s.$children$)for(a=0;a<s.$children$.length;++a)o=A(e,s,a),o&&l.appendChild(o);return l["s-hn"]=ne,l},re=(e,t,n,r,s,a)=>{let l=e,o;for(;s<=a;++s)r[s]&&(o=A(null,n,s),o&&(r[s].$elm$=o,L(l,o,t)))},le=(e,t,n)=>{for(let r=t;r<=n;++r){const s=e[r];if(s){const a=s.$elm$;a&&a.remove()}}},Ce=(e,t,n,r,s=!1)=>{let a=0,l=0,o=0,i=0,c=t.length-1,$=t[0],f=t[c],u=r.length-1,d=r[0],m=r[u],h,v;for(;a<=c&&l<=u;)if($==null)$=t[++a];else if(f==null)f=t[--c];else if(d==null)d=r[++l];else if(m==null)m=r[--u];else if(T($,d,s))k($,d,s),$=t[++a],d=r[++l];else if(T(f,m,s))k(f,m,s),f=t[--c],m=r[--u];else if(T($,m,s))k($,m,s),L(e,$.$elm$,f.$elm$.nextSibling),$=t[++a],m=r[--u];else if(T(f,d,s))k(f,d,s),L(e,f.$elm$,$.$elm$),f=t[--c],d=r[++l];else{for(o=-1,i=a;i<=c;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===d.$key$){o=i;break}o>=0?(v=t[o],v.$tag$!==d.$tag$?h=A(t&&t[l],n,o):(k(v,d,s),t[o]=void 0,h=v.$elm$),d=r[++l]):(h=A(t&&t[l],n,l),d=r[++l]),h&&L($.$elm$.parentNode,h,$.$elm$)}a>c?re(e,r[u+1]==null?null:r[u+1].$elm$,n,r,l,u):l>u&&le(t,a,c)},T=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,k=(e,t,n=!1)=>{const r=t.$elm$=e.$elm$,s=e.$children$,a=t.$children$,l=t.$text$;l===null?(se(e,t),s!==null&&a!==null?Ce(r,s,t,a,n):a!==null?(e.$text$!==null&&(r.textContent=""),re(r,null,t,a,0,a.length-1)):s!==null&&le(s,0,s.length-1)):e.$text$!==l&&(r.data=l)},L=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),Ue=(e,t,n=!1)=>{const r=e.$hostElement$,s=e.$vnode$||U(null,null),a=Le(t)?t:V(null,null,t);if(ne=r.tagName,n&&a.$attrs$)for(const l of Object.keys(a.$attrs$))r.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(a.$attrs$[l]=r[l]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=s.$elm$=r,k(s,a,n)},ae=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},H=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ae(e,e.$ancestorComponent$),be(()=>Ie(e,t))},Ie=(e,t)=>{const n=e.$hostElement$,r=S("scheduleUpdate",e.$cmpMeta$.$tagName$),s=e.$lazyInstance$;if(!s)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return r(),Be(a,()=>He(e,s,t))},Be=(e,t)=>De(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),De=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",He=(e,t,n)=>x(exports,null,function*(){var r;const s=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=s["s-rc"];n&&je(e);const o=S("render",e.$cmpMeta$.$tagName$);ze(e,t,s,n),l&&(l.map(i=>i()),s["s-rc"]=void 0),o(),a();{const i=(r=s["s-p"])!=null?r:[],c=()=>Fe(e);i.length===0?c():(Promise.all(i).then(c),e.$flags$|=4,i.length=0)}}),ze=(e,t,n,r)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ue(e,t,r)}catch(s){w(s,e.$hostElement$)}return null},Fe=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,r=S("postUpdate",t),s=e.$ancestorComponent$;e.$flags$&64?r():(e.$flags$|=64,oe(n),r(),e.$onReadyResolve$(n),s||ie()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&D(()=>H(e,!1)),e.$flags$&=-517},ie=e=>{oe(y.documentElement),D(()=>Ae(B,"appload",{detail:{namespace:fe}}))},oe=e=>{var t;return e.classList.add((t=ue.hydratedSelectorName)!=null?t:"hydrated")},qe=(e,t)=>b(e).$instanceValues$.get(t),We=(e,t,n,r)=>{const s=b(e);if(!s)throw new Error(`Couldn't find host element for "${r.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const a=s.$hostElement$,l=s.$instanceValues$.get(t),o=s.$flags$,i=s.$lazyInstance$;n=Pe(n,r.$members$[t][0]);const c=Number.isNaN(l)&&Number.isNaN(n),$=n!==l&&!c;if((!(o&8)||l===void 0)&&$&&(s.$instanceValues$.set(t,n),i)){if(r.$watchers$&&o&128){const f=r.$watchers$[t];f&&f.map(u=>{try{i[u](n,l,t)}catch(d){w(d,a)}})}(o&18)===2&&H(s,!1)}},ce=(e,t,n)=>{var r,s;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((r=t.$members$)!=null?r:{});if(l.map(([o,[i]])=>{(i&31||n&2&&i&32)&&Object.defineProperty(a,o,{get(){return qe(this,o)},set(c){We(this,o,c,t)},configurable:!0,enumerable:!0})}),n&1){const o=new Map;a.attributeChangedCallback=function(i,c,$){p.jmp(()=>{var f;const u=o.get(i);if(this.hasOwnProperty(u))$=this[u],delete this[u];else{if(a.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==$)return;if(u==null){const d=b(this),m=d==null?void 0:d.$flags$;if(m&&!(m&8)&&m&128&&$!==c){const h=d.$lazyInstance$,v=(f=t.$watchers$)==null?void 0:f[i];v==null||v.forEach(g=>{h[g]!=null&&h[g].call(h,$,c,i)})}return}}this[u]=$===null&&typeof this[u]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((s=t.$watchers$)!=null?s:{}),...l.filter(([i,c])=>c[0]&15).map(([i,c])=>{const $=c[1]||i;return o.set($,i),$})]))}}return e},Me=(e,t,n,r)=>x(exports,null,function*(){let s;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const i=ve(n);if(i&&"then"in i){const $=Te();s=yield i,$()}else s=i;if(!s)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);s.isProxied||(n.$watchers$=s.watchers,ce(s,n,2),s.isProxied=!0);const c=S("createInstance",n.$tagName$);t.$flags$|=8;try{new s(t)}catch($){w($)}t.$flags$&=-9,t.$flags$|=128,c()}else{s=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(s&&s.style){let i;typeof s.style=="string"&&(i=s.style);const c=te(n);if(!P.has(c)){const $=S("registerStyles",n.$tagName$);Oe(c,i,!!(n.$flags$&1)),$()}}}const a=t.$ancestorComponent$,l=()=>H(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),Qe=e=>{},Ye=e=>{if(!(p.$flags$&1)){const t=b(e),n=t.$cmpMeta$,r=S("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Qe());else{t.$flags$|=1;{let s=e;for(;s=s.parentNode||s.host;)if(s["s-p"]){ae(t,t.$ancestorComponent$=s);break}}n.$members$&&Object.entries(n.$members$).map(([s,[a]])=>{if(a&31&&e.hasOwnProperty(s)){const l=e[s];delete e[s],e[s]=l}}),Me(e,t,n)}r()}},Ge=e=>{},Je=e=>x(exports,null,function*(){if(!(p.$flags$&1)){const t=b(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ge())}}),Ke=(e,t={})=>{var n;const r=S(),s=[],a=t.exclude||[],l=B.customElements,o=y.head,i=o.querySelector("meta[charset]"),c=y.createElement("style"),$=[];let f,u=!0;Object.assign(p,t),p.$resourcesUrl$=new URL(t.resourcesUrl||"./",y.baseURI).href;let d=!1;if(e.map(m=>{m[1].map(h=>{var v;const g={$flags$:h[0],$tagName$:h[1],$members$:h[2],$listeners$:h[3]};g.$flags$&4&&(d=!0),g.$members$=h[2],g.$watchers$=(v=h[4])!=null?v:{};const E=g.$tagName$,$e=class extends HTMLElement{constructor(O){super(O),this.hasRegisteredEventListeners=!1,O=this,pe(O,g)}connectedCallback(){b(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?$.push(this):p.jmp(()=>Ye(this))}disconnectedCallback(){p.jmp(()=>Je(this))}componentOnReady(){return b(this).$onReadyPromise$}};g.$lazyBundleId$=m[0],!a.includes(E)&&!l.get(E)&&(s.push(E),l.define(E,ce($e,g,1)))})}),s.length>0&&(d&&(c.textContent+=G),c.textContent+=s.sort()+ge,c.innerHTML.length)){c.setAttribute("data-styles","");const m=(n=p.$nonce$)!=null?n:X(y);m!=null&&c.setAttribute("nonce",m),o.insertBefore(c,i?i.nextSibling:o.firstChild)}u=!1,$.length?$.map(m=>m.connectedCallback()):p.jmp(()=>f=setTimeout(ie,30)),r()};exports.Host=ee;exports.bootstrapLazy=Ke;exports.h=V;exports.promiseResolve=J;exports.registerInstance=he;
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
"use strict";var p=(e,t,n)=>new Promise((o,a)=>{var s=l=>{try{d(n.next(l))}catch(f){a(f)}},c=l=>{try{d(n.throw(l))}catch(f){a(f)}},d=l=>l.done?o(l.value):Promise.resolve(l.value).then(s,c);d((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-9c0f6c58-DZU9DhI3.cjs"),C=require("./app-globals-0f993ce5-DgYhdguE.cjs");var m=typeof document!="undefined"?document.currentScript:null,k=()=>{const e=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:m&&m.tagName.toUpperCase()==="SCRIPT"&&m.src||new URL("stencil/player-kyc-verification-D347xSwD.cjs",document.baseURI).href,t={};return e!==""&&(t.resourcesUrl=new URL(".",e).href),i.promiseResolve(t)};k().then(e=>p(exports,null,function*(){return yield C.globalScripts$1(),i.bootstrapLazy([["player-kyc-verification",[[1,"player-kyc-verification",{userId:[1,"user-id"],session:[1],language:[1],endpoint:[1],translationUrl:[1,"translation-url"],clientStyling:[1,"client-styling"],verifiedIcon:[1,"verified-icon"],failedIcon:[1,"failed-icon"],defaultIcon:[1,"default-icon"],clientStylingUrl:[1,"client-styling-url"],mbSource:[1,"mb-source"],verificationType:[32],isLoading:[32],selectedFile:[32],uploadingStatus:[32],uploadSizeExceeded:[32],expandedOnDesktop:[32]},null,{translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}]]]],e)}));const x="en";let u={en:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"Account Verification",kycDescription:"We require some documents to protect your account and to comply with legal and license requirements.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Recheck:"Recheck",Biometric:"Biometric",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Document already uploaded.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},de:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"Account-Verifizierung",kycDescription:"Wir benötigen einige Dokumente, um Ihr Konto zu schützen und den rechtlichen und Lizenzanforderungen zu entsprechen.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",ProofOfAddress:"Proof of Address",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",uploaded:"Dokument bereits hochgeladen.",Unknown:"Unbekannt",Passport:"Reisepass",IdCardFront:"Personalausweis (Vorderseite)",IdCardBack:"Personalausweis (Rückseite)",BirthCertificate:"Geburtsurkunde",DrivingLicenseFront:"Führerschein (Vorderseite)",DrivingLicenseBack:"Führerschein (Rückseite)",ResidentialPermit:"Wohnberechtigungsschein",CreditDebitCardFront:"Kredit-/Debitkarte (Vorderseite)",CreditDebitCardBack:"Kredit-/Debitkarte (Rückseite)",UtilityBill:"Nebenkostenabrechnung",TaxBill:"Steuerbescheid",CertifiedCopy:"Beglaubigte Kopie",Selfie:"Selfie",BankStatement:"Kontoauszug",RentAgreement:"Mietvertrag",InsuranceAgreement:"Versicherungsvertrag",Other:"Sonstige",IncomeAndOrSavingsFromEmployment:"Einkommen und/oder Ersparnisse aus Beschäftigung",SaleOfSharesOrOtherInvestments:"Verkauf von Aktien oder anderen Anlagen",DividendsProfitsFromCompany:"Dividenden/Gewinne aus dem Unternehmen",CompanySale:"Firmenverkauf",IndividualOwnsPolicyCompanyPays:"Einzelperson besitzt die Police/Unternehmen zahlt",SaleOfProperty:"Immobilienverkauf",Inheritance:"Erbschaft",MaturityOrSurrenderOfLifeAssurance:"Fälligkeit oder Rückkauf einer Lebensversicherung",InsuranceClaims:"Versicherungsansprüche",CompensationPayment:"Entschädigungszahlung",LotteryBettingCasinoWin:"Lotterie-/Wett-/Casinogewinn",Loan:"Darlehen",Gift:"Geschenk",Ewallet:"E-Wallet",Voucher:"Gutschein"},ro:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"Verificarea contului",kycDescription:"Avem nevoie de câteva documente pentru a proteja contul dvs. și pentru a respecta cerințele legale și de licență.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",ProofOfAddress:"Proof of Address",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",uploaded:"Document deja încărcat.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},fr:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"Vérification de compte",kycDescription:"Nous avons besoin de certains documents pour protéger votre compte et pour nous conformer aux exigences légales et de licence.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Document déjà téléchargé.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},ar:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"التحقق من الحساب",kycDescription:"نحتاج إلى بعض الوثائق لحماية حسابك والامتثال للمتطلبات القانونية والترخيص.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Document already uploaded.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},hr:{loading:"Učitavanje, molimo pričekajte ...",noVerificationRequired:"Trenutačno nije potrebna provjera vašeg računa.",verificationComplete:"Provjera dovršena",verificationFailed:"Provjera nije uspjela",verificationExpired:"Provjera je istekla",fileSizeExceeded:"Premašena je maksimalna veličina datoteke. Maksimalna veličina datoteke je: 50mb",uploading:"Prijenos…",successUpload:"Vaš dokument je učitan i uskoro će biti pregledan",successUploadMultipleFiles:"Vaši su dokumenti učitani i uskoro će biti pregledani",failedUpload:"Prijenos nije uspio pokušajte ponovo",chooseDocument:"Odaberite Dokument",kycTitle:"Verifikacija računa",kycDescription:"Potrebni su nam neki dokumenti kako bismo zaštitili vaš račun i kako bismo se pridržavali zakonskih i licencijskih zahtjeva.",download:"Preuzmi",Age:"Dob",Aml:"AML",Documents:"Dokumenti",Pep:"Politički izložena osoba",Sanction:"Sankcija",Biometric:"Verifikacija",Recheck:"Ponovna provjera",ProofOfAddress:"Potvrda adrese",SourceOfWealth:"Izvor sredstava",SocialMedia:"Društvene mreže",ProofOfPayment:"Platna metoda",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Dokument je već učitan.",Unknown:"Nepoznato",Passport:"Putovnica",IdCardFront:"Prednja strana osobne iskaznice",IdCardBack:"Stražnja strana osobne iskaznice",BirthCertificate:"Rodni list",DrivingLicenseFront:"Vozačka dozvola (prednja strana)",DrivingLicenseBack:"Vozačka dozvola (stražnja strana)",ResidentialPermit:"Boravišna dozvola",CreditDebitCardFront:"Kreditna/debitna kartica (prednja strana)",CreditDebitCardBack:"Kreditna/debitna kartica (stražnja strana)",UtilityBill:"Račun za komunalne usluge",TaxBill:"Porezni račun",CertifiedCopy:"Ovjereni primjerak",Selfie:"Selfie",BankStatement:"Bankovni izvod",RentAgreement:"Ugovor o najmu",InsuranceAgreement:"Ugovor o osiguranju",Other:"Ostalo",IncomeAndOrSavingsFromEmployment:"Prihod/Ušteđevina ",SaleOfSharesOrOtherInvestments:"Prodaja dionica ili drugih investicija",DividendsProfitsFromCompany:"Dividende/dobit od tvrtke",CompanySale:"Prodaja tvrtke",IndividualOwnsPolicyCompanyPays:"Osoba posjeduje policu/tvrtka plaća",SaleOfProperty:"Prodaja nekretnine",Inheritance:"Nasljeđe",MaturityOrSurrenderOfLifeAssurance:"Dospijeće ili predaja životnog osiguranja",InsuranceClaims:"Zahtjevi za osiguranje",CompensationPayment:"Isplata odštete",LotteryBettingCasinoWin:"Dobitak na lutriji/kladionici/kasinu",Loan:"Zajam",Gift:"Poklon",Ewallet:"Elektronički novčanik",Voucher:"Vaučer"},"pt-br":{Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",Loading:"Carregando, espere por favor…",noVerificationRequired:"Não há necessidade de verificação para sua conta no momento",verificationComplete:"Verificação completa",verificationFailed:"Verificação de falha",verificationExpired:"A verificação expirou",fileSizeExceeded:"Tamanho máximo do arquivo excedido. O tamanho máximo do arquivo é: 50 MB",uploading:"Carregando...",successUpload:"Seu documento foi carregado e será analisado em breve",successUploadMultipleFiles:"Seus documentos foram enviados e serão revisados em breve",failedUpload:"Falha no upload do arquivo, tente novamente",chooseDocument:"Escolha um arquivo",download:"Download",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Documento já carregado.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},"es-mx":{Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",Loading:"Cargando, espere por favor…",noVerificationRequired:"No hay verificación requerida para su cuenta al momento",verificationComplete:"Verificación completa",verificationFailed:"Verificación fallo",verificationExpired:"Verificación expiro",fileSizeExceeded:"Tamaño máximo de archivo se excedió. El tamaño máximo del archivo es: 50mb",uploading:"Cargando ...",successUpload:"Su documento ha sido cargado y será revisado en breve",successUploadMultipleFiles:"Sus documento han sido cargados y serán revisado en breve",failedUpload:"La carga del archivo falló, por favor intente de nuevo",chooseDocument:"Elija un archivo",download:"Download",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Documento ya subido.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"}};const g=e=>new Promise(t=>{fetch(e).then(n=>n.json()).then(n=>{Object.keys(n).forEach(o=>{u[o]||(u[o]={});for(let a in n[o])u[o][a]=n[o][a]}),t(!0)})}),r=(e,t,n)=>{const o=t;return u[o!==void 0&&o in u?o:x][e]},S=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));function y(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function v(e,t){const n=new URL(t);fetch(n.href).then(o=>o.text()).then(o=>{const a=document.createElement("style");a.innerHTML=o,e&&e.appendChild(a)}).catch(o=>{console.error("There was an error while trying to load client styling from URL",o)})}function b(e,t,n){if(window.emMessageBus){const o=document.createElement("style");window.emMessageBus.subscribe(t,a=>{o.innerHTML=a,e&&e.appendChild(o)})}}const P=`:host {
|
|
2
|
-
font-family: inherit;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
button, select {
|
|
6
|
-
font-family: inherit;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.ModalContainer {
|
|
10
|
-
container-type: inline-size;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.player-kyc-verification-widget {
|
|
14
|
-
padding: 20px;
|
|
15
|
-
align-items: center;
|
|
16
|
-
}
|
|
17
|
-
.player-kyc-verification-widget h2 {
|
|
18
|
-
margin: 15px;
|
|
19
|
-
font-weight: var(--emw--font-weight-semibold, 500);
|
|
20
|
-
}
|
|
21
|
-
.player-kyc-verification-widget .widget-description {
|
|
22
|
-
margin: 24px 0px;
|
|
23
|
-
}
|
|
24
|
-
.player-kyc-verification-widget .verification-types {
|
|
25
|
-
width: 100%;
|
|
26
|
-
display: grid;
|
|
27
|
-
grid-template-columns: repeat(3, 1fr);
|
|
28
|
-
grid-gap: 34px;
|
|
29
|
-
}
|
|
30
|
-
.player-kyc-verification-widget .verification-types .verification-box {
|
|
31
|
-
transition: height 0.3s, border-color 0.3s;
|
|
32
|
-
border: solid 1px var(--emw--color-gray-100, #E6E6E6);
|
|
33
|
-
border-radius: 2px;
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-direction: column;
|
|
36
|
-
padding: 0px 14px;
|
|
37
|
-
border-width: 2px 2px 8px 2px;
|
|
38
|
-
align-self: start;
|
|
39
|
-
}
|
|
40
|
-
.player-kyc-verification-widget .verification-types .verification-box .box {
|
|
41
|
-
flex-shrink: 0;
|
|
42
|
-
}
|
|
43
|
-
.player-kyc-verification-widget .verification-types .verification-box .box-header {
|
|
44
|
-
display: flex;
|
|
45
|
-
padding: 14px 0px;
|
|
46
|
-
justify-content: space-between;
|
|
47
|
-
cursor: pointer;
|
|
48
|
-
align-items: center;
|
|
49
|
-
}
|
|
50
|
-
.player-kyc-verification-widget .verification-types .verification-box .box-header .box-icon {
|
|
51
|
-
flex-grow: 1;
|
|
52
|
-
display: flex;
|
|
53
|
-
justify-content: center;
|
|
54
|
-
}
|
|
55
|
-
.player-kyc-verification-widget .verification-types .verification-box .box-header .box-icon svg {
|
|
56
|
-
height: 24px;
|
|
57
|
-
width: 24px;
|
|
58
|
-
}
|
|
59
|
-
.player-kyc-verification-widget .verification-types .verification-box .box-header .box-title {
|
|
60
|
-
flex-grow: 1;
|
|
61
|
-
font-size: 18px;
|
|
62
|
-
}
|
|
63
|
-
.player-kyc-verification-widget .verification-types .verification-box .box-header .chevron-icon {
|
|
64
|
-
flex-grow: 10;
|
|
65
|
-
width: 14px;
|
|
66
|
-
height: 14px;
|
|
67
|
-
display: flex;
|
|
68
|
-
justify-content: flex-end;
|
|
69
|
-
}
|
|
70
|
-
.player-kyc-verification-widget .verification-types .verification-box .box-header .chevron-icon svg {
|
|
71
|
-
width: 20px;
|
|
72
|
-
height: 22px;
|
|
73
|
-
}
|
|
74
|
-
.player-kyc-verification-widget .verification-types .verification-box .box-content {
|
|
75
|
-
flex-grow: 1;
|
|
76
|
-
border-top: 0.4px solid var(--emw--color-gray-100, #E6E6E6);
|
|
77
|
-
padding: 10px 0px;
|
|
78
|
-
flex-grow: 1;
|
|
79
|
-
}
|
|
80
|
-
.player-kyc-verification-widget .verification-types .verification-box .box-content .upload-status {
|
|
81
|
-
text-align: center;
|
|
82
|
-
padding: 20px;
|
|
83
|
-
}
|
|
84
|
-
.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown {
|
|
85
|
-
display: flex;
|
|
86
|
-
flex-direction: column;
|
|
87
|
-
width: 100%;
|
|
88
|
-
align-items: center;
|
|
89
|
-
}
|
|
90
|
-
.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown svg {
|
|
91
|
-
margin: 16px;
|
|
92
|
-
cursor: pointer;
|
|
93
|
-
}
|
|
94
|
-
.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown .nice-select {
|
|
95
|
-
cursor: pointer;
|
|
96
|
-
width: 100%;
|
|
97
|
-
height: 30px;
|
|
98
|
-
padding: 4px 14px;
|
|
99
|
-
font-size: 14px;
|
|
100
|
-
border: 1px solid var(--emw--color-gray-150, #828282);
|
|
101
|
-
border-radius: 2px;
|
|
102
|
-
background-color: var(--emw--color-white, #FFFFFF);
|
|
103
|
-
color: #333;
|
|
104
|
-
appearance: none;
|
|
105
|
-
-webkit-appearance: none;
|
|
106
|
-
-moz-appearance: none;
|
|
107
|
-
padding-right: 30px;
|
|
108
|
-
background-repeat: no-repeat;
|
|
109
|
-
background-position: right 10px center;
|
|
110
|
-
background-image: url('data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="%23333" d="M10 18.4l-6.5-6.5h13z"/><path fill="%23333" d="M10 1.6l6.5 6.5H3.5z"/></svg>');
|
|
111
|
-
}
|
|
112
|
-
.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown .sample-file .download-button {
|
|
113
|
-
font-family: inherit;
|
|
114
|
-
display: flex;
|
|
115
|
-
align-items: center;
|
|
116
|
-
justify-content: center;
|
|
117
|
-
background-color: var(--emw--color-white, #FFFFFF);
|
|
118
|
-
color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
|
|
119
|
-
border: none;
|
|
120
|
-
font-size: 16px;
|
|
121
|
-
padding: 10px 0px 0px 0px;
|
|
122
|
-
cursor: pointer;
|
|
123
|
-
}
|
|
124
|
-
.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown .sample-file .download-button svg {
|
|
125
|
-
margin-right: 10px;
|
|
126
|
-
}
|
|
127
|
-
.player-kyc-verification-widget .verification-types .verification-box.expanded {
|
|
128
|
-
border-color: var(--emw--color-valid, var(--emw--color-green, #48952a));
|
|
129
|
-
min-height: 120px;
|
|
130
|
-
}
|
|
131
|
-
.player-kyc-verification-widget .verification-types .verification-box.failed {
|
|
132
|
-
border-color: var(--emw--color-error, var(--emw--color-red, #FD2839));
|
|
133
|
-
}
|
|
134
|
-
.player-kyc-verification-widget .verification-types .verification-box.success {
|
|
135
|
-
border-color: var(--emw--color-valid, var(--emw--color-green, #48952a));
|
|
136
|
-
}
|
|
137
|
-
.player-kyc-verification-widget .verification-types .verification-box.expanded .box-content {
|
|
138
|
-
display: flex;
|
|
139
|
-
justify-content: center;
|
|
140
|
-
flex-direction: column;
|
|
141
|
-
}
|
|
142
|
-
.player-kyc-verification-widget .verification-types .verification-box.expanded .box-content .verification-status {
|
|
143
|
-
margin: 12px 0px 16px;
|
|
144
|
-
font-size: 18px;
|
|
145
|
-
text-align: center;
|
|
146
|
-
color: var(--emw--color-gray-150, #828282);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.MenuReturnButton {
|
|
150
|
-
display: flex;
|
|
151
|
-
align-items: center;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
@container (min-width: 700px) {
|
|
155
|
-
.player-kyc-verification-widget {
|
|
156
|
-
padding: 100px 60px;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
@container (max-width: 700px) {
|
|
160
|
-
.player-kyc-verification-widget h2 {
|
|
161
|
-
margin: 15px;
|
|
162
|
-
text-align: center;
|
|
163
|
-
}
|
|
164
|
-
.player-kyc-verification-widget .verification-types {
|
|
165
|
-
grid-template-columns: 1fr;
|
|
166
|
-
grid-gap: 16px;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
@container (max-width: 475px) {
|
|
170
|
-
.player-kyc-verification-widget .verification-types {
|
|
171
|
-
display: block;
|
|
172
|
-
}
|
|
173
|
-
.player-kyc-verification-widget .verification-types .verification-box {
|
|
174
|
-
margin-bottom: 20px;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
@container (max-width: 1240px) and (min-width: 701px) {
|
|
178
|
-
.player-kyc-verification-widget .verification-types {
|
|
179
|
-
grid-template-columns: repeat(2, 1fr);
|
|
180
|
-
}
|
|
181
|
-
}`,D=P,w=class{constructor(e){i.registerInstance(this,e),this.scriptInjected=!1,this.MAX_UPLOAD_SIZE=5e7,this.userAgent=window.navigator.userAgent,this.isMobile=S(this.userAgent),this.handleToggleScreen=()=>{this.toggleScreen(this.isMobile)},this.userId="",this.session="",this.language=void 0,this.endpoint="",this.translationUrl="",this.clientStyling="",this.verifiedIcon="",this.failedIcon="",this.defaultIcon="",this.clientStylingUrl="",this.mbSource=void 0,this.verificationType=[],this.isLoading=!1,this.selectedFile=null,this.uploadingStatus=void 0,this.uploadSizeExceeded=!1,this.expandedOnDesktop=!1}handleNewTranslations(){this.isLoading=!0,g(this.translationUrl).then(()=>{this.isLoading=!1})}componentWillLoad(){return p(this,null,function*(){this.translationUrl.length>2&&(yield g(this.translationUrl))})}handleClientStylingChange(e,t){e!=t&&y(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(e,t){e!=t&&this.clientStylingUrl&&v(this.stylingContainer,this.clientStylingUrl)}componentDidLoad(){return p(this,null,function*(){this.stylingContainer&&(window.emMessageBus!=null?b(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&y(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&v(this.stylingContainer,this.clientStylingUrl))),window.innerWidth>700&&(this.expandedOnDesktop=!0);try{let e=new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus`);const t={method:"POST",headers:{"X-SessionId":this.session,"Content-Type":"application/json"},body:JSON.stringify({})};fetch(e.href,t).then(n=>{if(n.status===200)return n.json();throw new Error("HTTP status "+n.status)}).then(n=>{this.verificationType=n.verifications}).catch(n=>{console.error(n)})}catch(e){console.error("Error fetching verification types:",e)}})}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}handleOptionChange(e,t){const n=e.target;this.verificationType=this.verificationType.map(o=>(o.type===t&&(o.optionChosen=n.value),o))}handleDocumentsStatus(e,t,n){this.verificationType=this.verificationType.map(o=>{if(o.type===e){const a=o.documents.find(s=>s.code===n);a&&(a.statusUploaded=t)}return o})}downloadPDF(e){const t=document.createElement("a");t.href=e,t.download="file.pdf",t.target="_blank",t.dispatchEvent(new MouseEvent("click"))}toggleVerificationType(e,t){this.expandedOnDesktop=!1,this.verificationType=this.verificationType.map(n=>{var o;return n.type===e&&((o=n.flowInfo)===null||o===void 0?void 0:o.type)==t&&(n.expanded=!n.expanded),n})}toggleScreen(e){window.postMessage({type:"PlayerAccountMenuActive",isMobile:e},window.location.href)}checkFileSize(e){let t=0;return Object.keys(e).forEach(n=>{t+=e[n].size}),t<=this.MAX_UPLOAD_SIZE}handleFileSelection(e,t,n){if(e&&e.length>0)if(this.selectedFile=e,!this.checkFileSize(this.selectedFile))console.error(r("fileSizeExceeded",this.language)),this.uploadingStatus=r("fileSizeExceeded",this.language),this.handleDocumentsStatus(n,this.uploadingStatus,t),this.uploadSizeExceeded=!0;else{const o={method:"POST",headers:{"Content-Type":"application/json","X-SessionId":this.session},body:JSON.stringify({DocumentCode:t})};fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`,o).then(a=>{if(a.ok)return this.uploadingStatus=r("uploading",this.language),this.handleDocumentsStatus(n,this.uploadingStatus,t),a.json()}).then(a=>{if(a.ResponseCode=="Success"){const s=new FormData;s.append(t,this.selectedFile[0]),fetch(a.Url,{method:"POST",body:s}).then(c=>{c.ok?(this.selectedFile.length>1?this.uploadingStatus=r("successUploadMultipleFiles",this.language):this.uploadingStatus=r("successUpload",this.language),this.handleDocumentsStatus(n,this.uploadingStatus,t)):(this.uploadingStatus=r("failedUpload",this.language),this.handleDocumentsStatus(n,this.uploadingStatus,t),console.error("File upload error:",c.status))}).catch(c=>{console.error("File upload error:",c)})}else this.uploadingStatus=r("failedUpload",this.language),this.handleDocumentsStatus(n,this.uploadingStatus,t)}).catch(a=>{console.error("File upload error:",a)})}}importScript(e){return new Promise((t,n)=>{fetch(e).then(o=>o.text()).then(o=>{if(new Function(o)(),this.scriptInjected)t(!0);else{const s=document.createElement("script");s.src="https://test.insic.de/frontend3/static/js/avs-loader.min.js",document.head.appendChild(s),this.scriptInjected=!0,t(!0)}}).catch(o=>{n(o)})})}isStatusUploaded(e){return!!(e&&e.status==="Uploaded")}getFirstRequestedDocument(e){var t,n;let o;return(t=e==null?void 0:e.documents)===null||t===void 0||t.forEach(a=>{a.status=="Requested"&&(o=o!=null?o:a.code)}),o||(o=(n=e==null?void 0:e.documents[0])===null||n===void 0?void 0:n.code),o}renderVerificationTypeBox(e){this.expandedOnDesktop&&(e.expanded=!0);let t=this.getFirstRequestedDocument(e),n=e.expanded,o=e.type.trim(),a=e.optionChosen||t,s=e.status,c=e.documents,d=e.flowInfo;const l=s==="Verified",f=s==="Failed"||s==="Expired";return i.h("div",{class:`verification-box ${n?"expanded":""} ${f?"failed":""} ${l?"success":""}`},i.h("div",{class:`box box-header ${n?"expanded":""}`,onClick:()=>{var h;return this.toggleVerificationType(e.type,(h=e.flowInfo)===null||h===void 0?void 0:h.type)}},i.h("div",{class:"box-icon"},l?i.h("div",null,this.verifiedIcon?i.h("img",{class:"CustomVerifiedIcon",src:this.verifiedIcon,alt:""}):i.h("svg",{width:"100",height:"100",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},i.h("circle",{cx:"50",cy:"50",r:"40",fill:"#388D79"}),i.h("circle",{cx:"50",cy:"50",r:"34",fill:"none",stroke:"#fff","stroke-width":"12px"}),i.h("polyline",{points:"30,50 45,63 70,35",fill:"none",stroke:"#fff","stroke-width":"8px"}))):f?i.h("div",null,this.failedIcon?i.h("img",{class:"CustomFailedIcon",src:this.failedIcon,alt:""}):i.h("svg",{width:"100",height:"100",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},i.h("circle",{cx:"50",cy:"50",r:"40",fill:"red"}),i.h("line",{x1:"30",y1:"30",x2:"70",y2:"70",stroke:"#fff","stroke-width":"10px"}),i.h("line",{x1:"30",y1:"70",x2:"70",y2:"30",stroke:"#fff","stroke-width":"10px"}))):i.h("div",null,this.defaultIcon?i.h("img",{class:"CustomDefaultIcon",src:this.defaultIcon,alt:""}):i.h("svg",{width:"800px",height:"800px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.h("path",{d:"M4 4V20C4 21.1046 4.89543 22 6 22L18 22C19.1046 22 20 21.1046 20 20V8.34162C20 7.8034 19.7831 7.28789 19.3982 6.91161L14.9579 2.56999C14.5842 2.20459 14.0824 2 13.5597 2L6 2C4.89543 2 4 2.89543 4 4Z",stroke:"#000000","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),i.h("path",{d:"M9 13H15",stroke:"#000000","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),i.h("path",{d:"M9 17H12",stroke:"#000000","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),i.h("path",{d:"M14 2V6C14 7.10457 14.8954 8 16 8H20",stroke:"#000000","stroke-width":"2","stroke-linejoin":"round"})))),i.h("div",{class:"box-title"},r(o,this.language)),i.h("div",{class:"chevron-icon"},i.h("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},i.h("path",{d:n?"M6 15l6-6 6 6":"M6 9l6 6 6-6"})))),n?this.renderExpandedContent(e,a,s,c,d,l,f):i.h("div",{class:"box box-content"},i.h("div",{id:"__avs-wrapper"})))}renderDocumentsActions(e,t,n){return i.h("div",null,this.isStatusUploaded(e)?i.h("div",{class:"upload-status"},r("uploaded",this.language)):e!=null&&e.statusUploaded?i.h("div",{class:"upload-status"},e==null?void 0:e.statusUploaded):i.h("div",{class:"documents-action"},i.h("div",{class:"sample-file"},(e==null?void 0:e.sampleType)==="FileDownload"?i.h("button",{class:"download-button",onClick:()=>this.downloadPDF(e==null?void 0:e.sampleUrl)},i.h("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.h("path",{d:"M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z",fill:"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))"}),i.h("path",{d:"M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z",fill:"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))"})),i.h("span",null,r("download",this.language))):null),i.h("div",{class:"upload-button"},t?i.h("label",null,i.h("input",{type:"file",accept:"*",onChange:o=>this.handleFileSelection(o.target.files,t,n.type),style:{display:"none"}}),i.h("svg",{width:"100",height:"100",xmlns:"http://www.w3.org/2000/svg"},i.h("circle",{cx:"50",cy:"50",r:"40",fill:"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))"}),i.h("line",{x1:"30",y1:"50",x2:"70",y2:"50",stroke:"white","stroke-width":"6"}),i.h("line",{x1:"50",y1:"30",x2:"50",y2:"70",stroke:"white","stroke-width":"6"}))):null)))}renderExpandedContent(e,t,n,o,a,s,c){return(a==null?void 0:a.type)==="Widget"?i.h("div",null,i.h("hr",{style:{margin:"5px"}}),i.h("iframe",{src:a.url,frameborder:"0",height:"400px",width:"100%",allowfullScreen:!0,allow:"camera *;microphone *"})):(a==null?void 0:a.type)==="Redirect"&&e.vendorName!=="Manual"&&n!=="Verified"?i.h("div",null,i.h("hr",{style:{margin:"5px"}}),i.h("iframe",{src:a.url,frameborder:"0",height:"400px",width:"100%",allowfullScreen:!0,allow:"camera *;microphone *"})):i.h("div",{class:"box box-content"},i.h(i.Fragment,null,s?i.h("div",{class:"verification-status"},r("verificationComplete",this.language)):c?i.h("div",{class:"verification-status"},n==="Failed"?r("verificationFailed",this.language):r("verificationExpired",this.language)):o.length>0?i.h("div",{class:"documents-dropdown"},i.h("select",{class:"nice-select",onChange:d=>this.handleOptionChange(d,e.type)},o.map(d=>i.h("option",{selected:d.code==t,value:d.code},r(d.type,this.language)))),this.renderDocumentsActions(o.find(d=>d.code===t),t,e)):null))}render(){return this.isLoading?i.h("div",null,i.h("p",null,r("loading",this.language))):i.h("div",{class:"ModalContainer",ref:e=>this.stylingContainer=e},i.h("div",{class:"player-kyc-verification-widget"},this.isMobile?i.h("div",{class:"MenuReturnButton",onClick:this.handleToggleScreen},i.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},i.h("defs",null),i.h("g",{transform:"translate(-20 -158)"},i.h("g",{transform:"translate(20 158)"},i.h("path",{class:"aaa",d:"M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z",transform:"translate(15 15) rotate(180)"})))),i.h("h2",null,r("kycTitle",this.language))):i.h("h2",null,r("kycTitle",this.language)),this.verificationType.length===0?i.h("div",{class:"no-verification-description",style:{padding:"24px",fontSize:"18px"}},r("noVerificationRequired",this.language)):i.h(i.Fragment,null,i.h("div",{class:"widget-description"},r("kycDescription",this.language)),i.h("div",{class:"verification-types"},this.verificationType.map(e=>e?this.renderVerificationTypeBox(e):null)))))}static get watchers(){return{translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}}};w.style=D;exports.player_kyc_verification=w;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var U=(t,e,n)=>new Promise((a,r)=>{var i=l=>{try{d(n.next(l))}catch(h){r(h)}},s=l=>{try{d(n.throw(l))}catch(h){r(h)}},d=l=>l.done?a(l.value):Promise.resolve(l.value).then(i,s);d((n=n.apply(t,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index-7c5e707a-CFlTnjRT.cjs"),oe=require("./app-globals-0f993ce5-DgYhdguE.cjs");var I=typeof document!="undefined"?document.currentScript:null,se=()=>{const t=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:I&&I.tagName.toUpperCase()==="SCRIPT"&&I.src||new URL("stencil/user-transaction-history-HA_tfHfo.cjs",document.baseURI).href,e={};return t!==""&&(e.resourcesUrl=new URL(".",t).href),o.promiseResolve(e)};se().then(t=>U(exports,null,function*(){return yield oe.globalScripts$4(),o.bootstrapLazy([["user-transaction-history",[[1,"user-transaction-history",{endpoint:[513],session:[513],language:[513],userId:[513,"user-id"],translationUrl:[513,"translation-url"],mobile:[516],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],mbSource:[513,"mb-source"],dateFormat:[513,"date-format"],page:[32],pageSize:[32],showMobileFilter:[32],to:[32],from:[32],type:[32],transactions:[32],showLoader:[32]},[[9,"resize","getComponentHeight"]],{page:["watchMultiple"],type:["watchMultiple"],session:["watchMultiple"],userId:["watchMultiple"],pageSize:["watchMultiple"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],showMobileFilter:["getComponentHeight"]}]]]],t)}));const le={en:{deposit:"Deposit",withdrawals:"Withdrawals",show:"Show",from:"From",to:"To",filter:"Filter",transactionId:"Transaction ID",date:"Date",amount:"Amount",productType:"Product Type",status:"Status",noData:"There are no account activities",transactionTitle:"Transaction History"},hr:{deposit:"Uplate",withdrawals:"Isplate",show:"Prikaži",from:"Od",to:"Do",filter:"Filter",transactionId:"ID transakcije",date:"Datum",amount:"Iznos",productType:"Vrsta proizvoda",status:"Status",noData:"Nema aktivnosti na računu",transactionTitle:"Povijest transakcija"}};class u{constructor(){}static loadCustomTranslations(e){return U(this,null,function*(){try{const n=yield fetch(e,{headers:{"Content-Type":"application/json"}});if(!n.ok){const r=yield n.text();throw new Error(r)}const a=yield n.json();u.updateTranslations(a)}catch(n){console.error(`Failed to load translations ${e}. ${n.message}`)}})}static translate(e,n){var a,r;const i=u.getAvaliableLanguages(n);return((r=(a=u.customTranslation)===null||a===void 0?void 0:a[i.customLanguage])===null||r===void 0?void 0:r[e])||u.defaultTranslation[i.predefinedLanguage][e]}static getAvaliableLanguages(e){var n;const a=!((n=u.customLanguages)===null||n===void 0)&&n.includes(e)?e:u.defaultLanguage;return{predefinedLanguage:u.supportedLanguages.includes(e)?e:u.defaultLanguage,customLanguage:a}}static updateTranslations(e){u.customLanguages=Array.from(new Set([...u.supportedLanguages,...Object.keys(e).map(n=>n.toLowerCase())])),u.customTranslation=e}}u.defaultLanguage="en";u.supportedLanguages=["en"];u.defaultTranslation=le;const ue=()=>o.h("div",{class:"loader"},o.h("div",null),o.h("div",null),o.h("div",null),o.h("div",null),o.h("div",null),o.h("div",null),o.h("div",null),o.h("div",null),o.h("div",null),o.h("div",null),o.h("div",null),o.h("div",null));function Y(t){"@babel/helpers - typeof";return Y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y(t)}function p(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function de(t){return p(1,arguments),t instanceof Date||Y(t)==="object"&&Object.prototype.toString.call(t)==="[object Date]"}function y(t){p(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||Y(t)==="object"&&e==="[object Date]"?new Date(t.getTime()):typeof t=="number"||e==="[object Number]"?new Date(t):((typeof t=="string"||e==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function ce(t){if(p(1,arguments),!de(t)&&typeof t!="number")return!1;var e=y(t);return!isNaN(Number(e))}function k(t){if(t===null||t===!0||t===!1)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function he(t,e){p(2,arguments);var n=y(t).getTime(),a=k(e);return new Date(n+a)}function fe(t,e){p(2,arguments);var n=k(e);return he(t,-n)}var me=864e5;function ge(t){p(1,arguments);var e=y(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var a=e.getTime(),r=n-a;return Math.floor(r/me)+1}function L(t){p(1,arguments);var e=1,n=y(t),a=n.getUTCDay(),r=(a<e?7:0)+a-e;return n.setUTCDate(n.getUTCDate()-r),n.setUTCHours(0,0,0,0),n}function V(t){p(1,arguments);var e=y(t),n=e.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(n+1,0,4),a.setUTCHours(0,0,0,0);var r=L(a),i=new Date(0);i.setUTCFullYear(n,0,4),i.setUTCHours(0,0,0,0);var s=L(i);return e.getTime()>=r.getTime()?n+1:e.getTime()>=s.getTime()?n:n-1}function pe(t){p(1,arguments);var e=V(t),n=new Date(0);n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0);var a=L(n);return a}var ve=6048e5;function be(t){p(1,arguments);var e=y(t),n=L(e).getTime()-pe(e).getTime();return Math.round(n/ve)+1}var we={};function $(){return we}function B(t,e){var n,a,r,i,s,d,l,h;p(1,arguments);var m=$(),f=k((n=(a=(r=(i=e==null?void 0:e.weekStartsOn)!==null&&i!==void 0?i:e==null||(s=e.locale)===null||s===void 0||(d=s.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&r!==void 0?r:m.weekStartsOn)!==null&&a!==void 0?a:(l=m.locale)===null||l===void 0||(h=l.options)===null||h===void 0?void 0:h.weekStartsOn)!==null&&n!==void 0?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=y(t),g=v.getUTCDay(),w=(g<f?7:0)+g-f;return v.setUTCDate(v.getUTCDate()-w),v.setUTCHours(0,0,0,0),v}function J(t,e){var n,a,r,i,s,d,l,h;p(1,arguments);var m=y(t),f=m.getUTCFullYear(),v=$(),g=k((n=(a=(r=(i=e==null?void 0:e.firstWeekContainsDate)!==null&&i!==void 0?i:e==null||(s=e.locale)===null||s===void 0||(d=s.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&r!==void 0?r:v.firstWeekContainsDate)!==null&&a!==void 0?a:(l=v.locale)===null||l===void 0||(h=l.options)===null||h===void 0?void 0:h.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(g>=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var w=new Date(0);w.setUTCFullYear(f+1,0,g),w.setUTCHours(0,0,0,0);var D=B(w,e),C=new Date(0);C.setUTCFullYear(f,0,g),C.setUTCHours(0,0,0,0);var N=B(C,e);return m.getTime()>=D.getTime()?f+1:m.getTime()>=N.getTime()?f:f-1}function ye(t,e){var n,a,r,i,s,d,l,h;p(1,arguments);var m=$(),f=k((n=(a=(r=(i=e==null?void 0:e.firstWeekContainsDate)!==null&&i!==void 0?i:e==null||(s=e.locale)===null||s===void 0||(d=s.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&r!==void 0?r:m.firstWeekContainsDate)!==null&&a!==void 0?a:(l=m.locale)===null||l===void 0||(h=l.options)===null||h===void 0?void 0:h.firstWeekContainsDate)!==null&&n!==void 0?n:1),v=J(t,e),g=new Date(0);g.setUTCFullYear(v,0,f),g.setUTCHours(0,0,0,0);var w=B(g,e);return w}var xe=6048e5;function Te(t,e){p(1,arguments);var n=y(t),a=B(n,e).getTime()-ye(n,e).getTime();return Math.round(a/xe)+1}function c(t,e){for(var n=t<0?"-":"",a=Math.abs(t).toString();a.length<e;)a="0"+a;return n+a}var Ce={y:function(e,n){var a=e.getUTCFullYear(),r=a>0?a:1-a;return c(n==="yy"?r%100:r,n.length)},M:function(e,n){var a=e.getUTCMonth();return n==="M"?String(a+1):c(a+1,2)},d:function(e,n){return c(e.getUTCDate(),n.length)},a:function(e,n){var a=e.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];case"aaaa":default:return a==="am"?"a.m.":"p.m."}},h:function(e,n){return c(e.getUTCHours()%12||12,n.length)},H:function(e,n){return c(e.getUTCHours(),n.length)},m:function(e,n){return c(e.getUTCMinutes(),n.length)},s:function(e,n){return c(e.getUTCSeconds(),n.length)},S:function(e,n){var a=n.length,r=e.getUTCMilliseconds(),i=Math.floor(r*Math.pow(10,a-3));return c(i,n.length)}};const T=Ce;var M={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Se={G:function(e,n,a){var r=e.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return a.era(r,{width:"abbreviated"});case"GGGGG":return a.era(r,{width:"narrow"});case"GGGG":default:return a.era(r,{width:"wide"})}},y:function(e,n,a){if(n==="yo"){var r=e.getUTCFullYear(),i=r>0?r:1-r;return a.ordinalNumber(i,{unit:"year"})}return T.y(e,n)},Y:function(e,n,a,r){var i=J(e,r),s=i>0?i:1-i;if(n==="YY"){var d=s%100;return c(d,2)}return n==="Yo"?a.ordinalNumber(s,{unit:"year"}):c(s,n.length)},R:function(e,n){var a=V(e);return c(a,n.length)},u:function(e,n){var a=e.getUTCFullYear();return c(a,n.length)},Q:function(e,n,a){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(n){case"Q":return String(r);case"QQ":return c(r,2);case"Qo":return a.ordinalNumber(r,{unit:"quarter"});case"QQQ":return a.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,n,a){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(n){case"q":return String(r);case"qq":return c(r,2);case"qo":return a.ordinalNumber(r,{unit:"quarter"});case"qqq":return a.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,n,a){var r=e.getUTCMonth();switch(n){case"M":case"MM":return T.M(e,n);case"Mo":return a.ordinalNumber(r+1,{unit:"month"});case"MMM":return a.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(r,{width:"wide",context:"formatting"})}},L:function(e,n,a){var r=e.getUTCMonth();switch(n){case"L":return String(r+1);case"LL":return c(r+1,2);case"Lo":return a.ordinalNumber(r+1,{unit:"month"});case"LLL":return a.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(r,{width:"wide",context:"standalone"})}},w:function(e,n,a,r){var i=Te(e,r);return n==="wo"?a.ordinalNumber(i,{unit:"week"}):c(i,n.length)},I:function(e,n,a){var r=be(e);return n==="Io"?a.ordinalNumber(r,{unit:"week"}):c(r,n.length)},d:function(e,n,a){return n==="do"?a.ordinalNumber(e.getUTCDate(),{unit:"date"}):T.d(e,n)},D:function(e,n,a){var r=ge(e);return n==="Do"?a.ordinalNumber(r,{unit:"dayOfYear"}):c(r,n.length)},E:function(e,n,a){var r=e.getUTCDay();switch(n){case"E":case"EE":case"EEE":return a.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(r,{width:"short",context:"formatting"});case"EEEE":default:return a.day(r,{width:"wide",context:"formatting"})}},e:function(e,n,a,r){var i=e.getUTCDay(),s=(i-r.weekStartsOn+8)%7||7;switch(n){case"e":return String(s);case"ee":return c(s,2);case"eo":return a.ordinalNumber(s,{unit:"day"});case"eee":return a.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(i,{width:"short",context:"formatting"});case"eeee":default:return a.day(i,{width:"wide",context:"formatting"})}},c:function(e,n,a,r){var i=e.getUTCDay(),s=(i-r.weekStartsOn+8)%7||7;switch(n){case"c":return String(s);case"cc":return c(s,n.length);case"co":return a.ordinalNumber(s,{unit:"day"});case"ccc":return a.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(i,{width:"narrow",context:"standalone"});case"cccccc":return a.day(i,{width:"short",context:"standalone"});case"cccc":default:return a.day(i,{width:"wide",context:"standalone"})}},i:function(e,n,a){var r=e.getUTCDay(),i=r===0?7:r;switch(n){case"i":return String(i);case"ii":return c(i,n.length);case"io":return a.ordinalNumber(i,{unit:"day"});case"iii":return a.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(r,{width:"short",context:"formatting"});case"iiii":default:return a.day(r,{width:"wide",context:"formatting"})}},a:function(e,n,a){var r=e.getUTCHours(),i=r/12>=1?"pm":"am";switch(n){case"a":case"aa":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,n,a){var r=e.getUTCHours(),i;switch(r===12?i=M.noon:r===0?i=M.midnight:i=r/12>=1?"pm":"am",n){case"b":case"bb":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,n,a){var r=e.getUTCHours(),i;switch(r>=17?i=M.evening:r>=12?i=M.afternoon:r>=4?i=M.morning:i=M.night,n){case"B":case"BB":case"BBB":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,n,a){if(n==="ho"){var r=e.getUTCHours()%12;return r===0&&(r=12),a.ordinalNumber(r,{unit:"hour"})}return T.h(e,n)},H:function(e,n,a){return n==="Ho"?a.ordinalNumber(e.getUTCHours(),{unit:"hour"}):T.H(e,n)},K:function(e,n,a){var r=e.getUTCHours()%12;return n==="Ko"?a.ordinalNumber(r,{unit:"hour"}):c(r,n.length)},k:function(e,n,a){var r=e.getUTCHours();return r===0&&(r=24),n==="ko"?a.ordinalNumber(r,{unit:"hour"}):c(r,n.length)},m:function(e,n,a){return n==="mo"?a.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):T.m(e,n)},s:function(e,n,a){return n==="so"?a.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):T.s(e,n)},S:function(e,n){return T.S(e,n)},X:function(e,n,a,r){var i=r._originalDate||e,s=i.getTimezoneOffset();if(s===0)return"Z";switch(n){case"X":return A(s);case"XXXX":case"XX":return S(s);case"XXXXX":case"XXX":default:return S(s,":")}},x:function(e,n,a,r){var i=r._originalDate||e,s=i.getTimezoneOffset();switch(n){case"x":return A(s);case"xxxx":case"xx":return S(s);case"xxxxx":case"xxx":default:return S(s,":")}},O:function(e,n,a,r){var i=r._originalDate||e,s=i.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+j(s,":");case"OOOO":default:return"GMT"+S(s,":")}},z:function(e,n,a,r){var i=r._originalDate||e,s=i.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+j(s,":");case"zzzz":default:return"GMT"+S(s,":")}},t:function(e,n,a,r){var i=r._originalDate||e,s=Math.floor(i.getTime()/1e3);return c(s,n.length)},T:function(e,n,a,r){var i=r._originalDate||e,s=i.getTime();return c(s,n.length)}};function j(t,e){var n=t>0?"-":"+",a=Math.abs(t),r=Math.floor(a/60),i=a%60;if(i===0)return n+String(r);var s=e;return n+String(r)+s+c(i,2)}function A(t,e){if(t%60===0){var n=t>0?"-":"+";return n+c(Math.abs(t)/60,2)}return S(t,e)}function S(t,e){var n=e||"",a=t>0?"-":"+",r=Math.abs(t),i=c(Math.floor(r/60),2),s=c(r%60,2);return a+i+n+s}const ke=Se;var z=function(e,n){switch(e){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},K=function(e,n){switch(e){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},Me=function(e,n){var a=e.match(/(P+)(p+)?/)||[],r=a[1],i=a[2];if(!i)return z(e,n);var s;switch(r){case"P":s=n.dateTime({width:"short"});break;case"PP":s=n.dateTime({width:"medium"});break;case"PPP":s=n.dateTime({width:"long"});break;case"PPPP":default:s=n.dateTime({width:"full"});break}return s.replace("{{date}}",z(r,n)).replace("{{time}}",K(i,n))},De={p:K,P:Me};const Pe=De;function Oe(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}var Ue=["D","DD"],We=["YY","YYYY"];function Fe(t){return Ue.indexOf(t)!==-1}function Ee(t){return We.indexOf(t)!==-1}function Q(t,e,n){if(t==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var _e={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Ye=function(e,n,a){var r,i=_e[e];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",n.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+r:r+" ago":r};const Le=Ye;function q(t){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth,a=t.formats[n]||t.formats[t.defaultWidth];return a}}var Be={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},$e={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ne={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},He={date:q({formats:Be,defaultWidth:"full"}),time:q({formats:$e,defaultWidth:"full"}),dateTime:q({formats:Ne,defaultWidth:"full"})};const Re=He;var Ie={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},qe=function(e,n,a,r){return Ie[e]};const je=qe;function W(t){return function(e,n){var a=n!=null&&n.context?String(n.context):"standalone",r;if(a==="formatting"&&t.formattingValues){var i=t.defaultFormattingWidth||t.defaultWidth,s=n!=null&&n.width?String(n.width):i;r=t.formattingValues[s]||t.formattingValues[i]}else{var d=t.defaultWidth,l=n!=null&&n.width?String(n.width):t.defaultWidth;r=t.values[l]||t.values[d]}var h=t.argumentCallback?t.argumentCallback(e):e;return r[h]}}var Ae={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ze={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Qe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Xe={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Ge={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Ve={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Je=function(e,n){var a=Number(e),r=a%100;if(r>20||r<10)switch(r%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},Ke={ordinalNumber:Je,era:W({values:Ae,defaultWidth:"wide"}),quarter:W({values:ze,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:W({values:Qe,defaultWidth:"wide"}),day:W({values:Xe,defaultWidth:"wide"}),dayPeriod:W({values:Ge,defaultWidth:"wide",formattingValues:Ve,defaultFormattingWidth:"wide"})};const Ze=Ke;function F(t){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.width,r=a&&t.matchPatterns[a]||t.matchPatterns[t.defaultMatchWidth],i=e.match(r);if(!i)return null;var s=i[0],d=a&&t.parsePatterns[a]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(d)?tt(d,function(f){return f.test(s)}):et(d,function(f){return f.test(s)}),h;h=t.valueCallback?t.valueCallback(l):l,h=n.valueCallback?n.valueCallback(h):h;var m=e.slice(s.length);return{value:h,rest:m}}}function et(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function tt(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return n}function nt(t){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=e.match(t.matchPattern);if(!a)return null;var r=a[0],i=e.match(t.parsePattern);if(!i)return null;var s=t.valueCallback?t.valueCallback(i[0]):i[0];s=n.valueCallback?n.valueCallback(s):s;var d=e.slice(r.length);return{value:s,rest:d}}}var at=/^(\d+)(th|st|nd|rd)?/i,rt=/\d+/i,it={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},ot={any:[/^b/i,/^(a|c)/i]},st={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},lt={any:[/1/i,/2/i,/3/i,/4/i]},ut={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},dt={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},ct={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},ht={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},ft={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},mt={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},gt={ordinalNumber:nt({matchPattern:at,parsePattern:rt,valueCallback:function(e){return parseInt(e,10)}}),era:F({matchPatterns:it,defaultMatchWidth:"wide",parsePatterns:ot,defaultParseWidth:"any"}),quarter:F({matchPatterns:st,defaultMatchWidth:"wide",parsePatterns:lt,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:F({matchPatterns:ut,defaultMatchWidth:"wide",parsePatterns:dt,defaultParseWidth:"any"}),day:F({matchPatterns:ct,defaultMatchWidth:"wide",parsePatterns:ht,defaultParseWidth:"any"}),dayPeriod:F({matchPatterns:ft,defaultMatchWidth:"any",parsePatterns:mt,defaultParseWidth:"any"})};const pt=gt;var vt={code:"en-US",formatDistance:Le,formatLong:Re,formatRelative:je,localize:Ze,match:pt,options:{weekStartsOn:0,firstWeekContainsDate:1}};const bt=vt;var wt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,yt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,xt=/^'([^]*?)'?$/,Tt=/''/g,Ct=/[a-zA-Z]/;function St(t,e,n){var a,r,i,s,d,l,h,m,f,v,g,w,D,C;p(2,arguments);var N=String(e),P=$(),O=(a=(r=void 0)!==null&&r!==void 0?r:P.locale)!==null&&a!==void 0?a:bt,H=k((i=(s=(d=(l=void 0)!==null&&l!==void 0?l:void 0)!==null&&d!==void 0?d:P.firstWeekContainsDate)!==null&&s!==void 0?s:(h=P.locale)===null||h===void 0||(m=h.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(H>=1&&H<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var R=k((f=(v=(g=(w=void 0)!==null&&w!==void 0?w:void 0)!==null&&g!==void 0?g:P.weekStartsOn)!==null&&v!==void 0?v:(D=P.locale)===null||D===void 0||(C=D.options)===null||C===void 0?void 0:C.weekStartsOn)!==null&&f!==void 0?f:0);if(!(R>=0&&R<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!O.localize)throw new RangeError("locale must contain localize property");if(!O.formatLong)throw new RangeError("locale must contain formatLong property");var E=y(t);if(!ce(E))throw new RangeError("Invalid time value");var ne=Oe(E),ae=fe(E,ne),re={firstWeekContainsDate:H,weekStartsOn:R,locale:O,_originalDate:E},ie=N.match(yt).map(function(b){var x=b[0];if(x==="p"||x==="P"){var _=Pe[x];return _(b,O.formatLong)}return b}).join("").match(wt).map(function(b){if(b==="''")return"'";var x=b[0];if(x==="'")return kt(b);var _=ke[x];if(_)return Ee(b)&&Q(b,e,String(t)),Fe(b)&&Q(b,e,String(t)),_(ae,b,O.localize,re);if(x.match(Ct))throw new RangeError("Format string contains an unescaped latin alphabet character `"+x+"`");return b}).join("");return ie}function kt(t){var e=t.match(xt);return e?e[1].replace(Tt,"'"):t}class Z{constructor(){}static dateToFormatedString(e,n){const a=n?St(e,n):e.toLocaleDateString("en-gb"),r=e.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",hour12:!1});return`${a}, ${r}`}}class ee{constructor(){}static format(e,n){let a=`${n} ${e}`;try{a=new Intl.NumberFormat("en-US",{style:"currency",currency:e}).format(n)}catch(r){}return a}}const Mt=t=>o.h("div",{class:"data-transaction"},o.h("p",null,t.productType),o.h("p",{class:"text-style text-style-status"},o.h("span",{class:t.status.toLowerCase()},t.status)),o.h("p",{class:"date"},t.transId," | ",Z.dateToFormatedString(new Date(t.created),t.dateformat)),o.h("p",{class:"text-style"},ee.format(t.currency,t.realAmount)," ")),Dt=t=>o.h("div",{class:"page-size"},o.h("span",null,u.translate("show",t.language)),t.pageSizes.map(e=>o.h("button",{class:t.currentPageSize===e?"active":"",onClick:()=>t.changePageSize(e)},e))),Pt=({from:t,to:e,applyFilters:n,language:a})=>{let r,i;const s=()=>{t=r.value},d=()=>{e=i.value};return o.h("div",{class:"period"},o.h("div",{class:"period-content"},o.h("div",{class:"date-input"},o.h("vaadin-date-picker",{value:t,ref:l=>r=l,label:u.translate("from",a),onChange:s})),o.h("span",null,o.h("svg",{width:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o.h("path",{d:"m21 11.75c0-.414-.336-.75-.75-.75h-16.5c-.414 0-.75.336-.75.75s.336.75.75.75h16.5c.414 0 .75-.336.75-.75z","fill-rule":"nonzero",fill:"#5d687b"}))),o.h("div",{class:"date-input"},o.h("vaadin-date-picker",{value:e,ref:l=>i=l,label:u.translate("to",a),onChange:d})),o.h("button",{class:"filter-btn",onClick:()=>n(t,e)},u.translate("filter",a))))},Ot=({source:t,language:e,dateformat:n})=>{const a=[{name:u.translate("transactionId",e)},{name:u.translate("date",e)},{name:u.translate("amount",e)},{name:u.translate("productType",e)},{name:u.translate("status",e)}];return o.h("table",null,o.h("thead",null,o.h("tr",null,a.map(r=>o.h("th",null,r.name)))),o.h("tbody",null,t.map(r=>o.h("tr",null,o.h("td",null,r.transId),o.h("td",null,Z.dateToFormatedString(new Date(r.created),n)),o.h("td",null,ee.format(r.currency,r.realAmount)," "),o.h("td",null,r.productType),o.h("td",null,o.h("span",{class:r.status.toLowerCase()},r.status))))))};function X(t,e){if(t){const n=document.createElement("style");n.innerHTML=e,t.appendChild(n)}}function G(t,e){const n=new URL(e);fetch(n.href).then(a=>a.text()).then(a=>{const r=document.createElement("style");r.innerHTML=a,t&&t.appendChild(r)}).catch(a=>{console.error("There was an error while trying to load client styling from URL",a)})}function Ut(t,e,n){if(window.emMessageBus){const a=document.createElement("style");window.emMessageBus.subscribe(e,r=>{a.innerHTML=r,t&&t.appendChild(a)})}}const Wt=':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--hoverBackground:#ffffff;--background:#e4e6e8;--success:#7ac345;--heightScrollableContainer:400px;--borderColor:#d3d3d3;--borderColorButton:#c4c4c4;--textColor:#002554;--textColorHover:#7ac345;--errorColor:#c23b21;--loaderColor:#7ac345;--headerTableBackground:#cdcdcd;--borderTable:#dedede;--shadowBorderTable:#f1f1f1;--backgroundTable:#ffffff;font-family:Roboto, Arial, sans-serif;font-size:14px;color:var(--textColor);display:block;background-color:var(--background)}:host .wrapper{height:100%;padding:1rem}:host .types{display:flex;width:100%;gap:5px}:host .transaction-type{background:inherit;font-weight:600;padding:0.6rem 1.6rem;border:1px solid #6c757d;cursor:pointer}:host .transaction-type:hover{color:var(--activeButtonBackground);border-color:var(--activeButtonBackground);background:var(--hoverBackground)}:host .clicked{background-color:var(--activeButtonBackground);border-color:var(--activeButtonBackground)}:host .types-mobile{justify-content:center;margin-bottom:15px}:host .types-desktop{justify-content:flex-end;margin-bottom:3rem}:host .page-size{display:flex;width:100%;justify-content:flex-end;align-items:center}:host .page-size button{background:transparent;border:none;cursor:pointer;margin:0.4rem;width:2rem;height:2rem}:host .page-size button:hover{color:var(--textColorHover)}:host .page-size button.active{background:var(--activeButtonBackground);color:var(--textColor);font-weight:600;border-radius:0.4rem}:host .period{display:flex;width:100%;align-items:flex-end;justify-content:center;gap:10px;background:#f0f0f0;border-bottom:2px solid #e9e9e9;padding:1.6rem 0 0;margin-bottom:4rem}@media (max-width: 801px){:host .period{margin-bottom:0;flex-direction:column;align-items:stretch;width:auto;padding:1.4rem 2.8rem;box-shadow:0 4px 5px 0 rgba(90, 90, 90, 0.24)}}:host .period .range{color:var(--errorColor)}:host .period .filter-btn{height:40px;background:transparent;border:0.1rem solid var(--borderColorButton);min-width:12rem;max-width:17rem;cursor:pointer}@media (max-width: 801px){:host .period .filter-btn{max-width:none;min-width:none;margin-top:1rem}}:host .period .filter-btn:hover{border:none;background:var(--hoverBackground)}:host .period .duet-date__input{padding:7px 60px 7px 7px}:host .period+button{padding:9px 15px}:host .period-content{display:flex;flex-direction:row;width:100%;justify-content:center;align-items:flex-end;margin:0 auto 1.6rem}@media (max-width: 801px){:host .period-content{flex-direction:column;align-items:stretch}}:host .period-content span{height:40px;display:flex;align-items:center;justify-content:center}@media (max-width: 801px){:host .period-content span{display:none}}:host .period-content .filter-btn{margin-left:60px}@media (max-width: 801px){:host .period-content .filter-btn{margin-left:0}}:host .period-content .date-input{padding:0 4px}@media (max-width: 801px){:host .period-content .date-input{width:auto}:host .period-content .date-input:first-child{margin-bottom:0.5rem}}:host .period-content .date-input label{display:inline-block;margin-bottom:0.9rem}:host .period-content .date-input input{border:0.1rem solid var(--borderColor);box-sizing:border-box;border-radius:0.2rem}:host .pagination{display:flex;width:100%;justify-content:center;margin-top:1.5rem}:host .pagination button{cursor:pointer;border:none;background-color:var(--activeButtonBackground);color:#fff;opacity:0.5;padding:7px 12px}:host .pagination button:hover{opacity:1}:host .pagination button:focus{opacity:1}:host button.active{color:var(--activeButtonFont);background-color:var(--activeButtonBackground)}.mobile-filter-button{display:flex;justify-content:center;align-items:center;width:100%;height:2.8rem;background:inherit;border:1px solid var(--borderColorButton)}.mobile-filter-button img{height:50%;margin-right:0.5rem}.noData{display:flex;align-items:center;box-shadow:0 0.4rem 0.4rem rgba(0, 0, 0, 0.25);padding:1.1rem;border-radius:0.6rem}.noData span{margin-left:0.5rem}.table{height:var(--heightScrollableContainer);overflow-y:auto}.table .mobile-table{height:100%}.data-transaction{border-bottom:1px solid var(--borderColor);background-color:var(--hoverBackground);padding:0 20px;display:grid;grid-template-columns:repeat(2, 1fr)}.data-transaction .text-style-status{font-weight:600}.data-transaction .text-style-status .success{color:var(--success)}.data-transaction .text-style-status .error{color:var(--errorColor)}.data-transaction .text-style{text-align:end}.data-transaction .date{font-size:12px;display:flex;align-items:center}.loader{display:inline-block;position:absolute;width:80px;height:80px;top:calc(50% - 40px);left:calc(50% - 40px);z-index:100}.loader::before{content:"";position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(255, 255, 255, 0.6)}.loader div{position:absolute;width:6px;height:6px;background:var(--loaderColor);border-radius:50%;animation:loader 1.2s linear infinite}.loader div:nth-child(1){animation-delay:0s;top:37px;left:66px}.loader div:nth-child(2){animation-delay:-0.1s;top:22px;left:62px}.loader div:nth-child(3){animation-delay:-0.2s;top:11px;left:52px}.loader div:nth-child(4){animation-delay:-0.3s;top:7px;left:37px}.loader div:nth-child(5){animation-delay:-0.4s;top:11px;left:22px}.loader div:nth-child(6){animation-delay:-0.5s;top:22px;left:11px}.loader div:nth-child(7){animation-delay:-0.6s;top:37px;left:7px}.loader div:nth-child(8){animation-delay:-0.7s;top:52px;left:11px}.loader div:nth-child(9){animation-delay:-0.8s;top:62px;left:22px}.loader div:nth-child(10){animation-delay:-0.9s;top:66px;left:37px}.loader div:nth-child(11){animation-delay:-1s;top:62px;left:52px}.loader div:nth-child(12){animation-delay:-1.1s;top:52px;left:62px}@keyframes loader{0%,20%,80%,100%{transform:scale(1)}50%{transform:scale(1.5)}}.table thead th{position:sticky;top:0}table{border-collapse:collapse;width:100%}table th{padding:14px 24px;text-align:left;font-weight:600;color:var(--textColor);background:var(--headerTableBackground)}table td{padding:1rem 1.7rem;box-shadow:0 -1px 0 0 var(--shadowBorderTable) inset;border-bottom:0.1rem solid var(--borderTable);text-align:left;color:var(--textColor)}table tbody{background:var(--backgroundTable)}table .success{color:var(--success)}table .error{color:var(--errorColor)}vaadin-date-picker{min-width:320px}@media (max-width: 1261px){vaadin-date-picker{width:auto;min-width:auto}}@media (max-width: 801px){vaadin-date-picker{width:100%}}.MenuReturnButton{font:inherit;color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.MenuReturnButton h2.TransactionTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}',Ft=Wt,te=class{constructor(t){o.registerInstance(this,t),this.pageSizes=[10,25,50],this.pagination=null,this.toggleScreen=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:this.mobile},window.location.href)},this.endpoint=void 0,this.session=void 0,this.language=u.defaultLanguage,this.userId=void 0,this.translationUrl=void 0,this.mobile=!1,this.clientStyling=null,this.clientStylingUrl=null,this.mbSource=void 0,this.dateFormat="",this.page=0,this.pageSize=this.pageSizes[0],this.showMobileFilter=!1,this.to=void 0,this.from=void 0,this.type="0",this.transactions=void 0,this.showLoader=!0}watchMultiple(){this.loadTransactions()}handleClientStylingChange(t,e){t!=e&&X(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(t,e){t!=e&&this.clientStylingUrl&&G(this.stylingContainer,this.clientStylingUrl)}componentWillLoad(){return U(this,null,function*(){this.translationUrl&&(yield u.loadCustomTranslations(this.translationUrl)),this.loadTransactions()})}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?Ut(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&X(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&G(this.stylingContainer,this.clientStylingUrl)))}componentDidRender(){this.getComponentHeight()}getComponentHeight(){var t;if(this.mobile){let e=this.el.getBoundingClientRect().height-((t=this.el.shadowRoot.querySelector(".table"))===null||t===void 0?void 0:t.getBoundingClientRect().y);this.el.style.setProperty("--heightScrollableContainer",e+"px")}}setHeightTableProperty(){let t=this.getComponentHeight();this.el.style.setProperty("--heightScrollableContainer",t+"px")}changeTransactionsType(t){this.type=t}changePageSize(t){this.pageSize=t}prev(){var t;!((t=this.pagination)===null||t===void 0)&&t.previous&&this.page--}next(){var t;!((t=this.pagination)===null||t===void 0)&&t.next&&this.page++}applyFilters(t,e){this.from=t?new Date(t).toISOString():null,this.to=e?new Date(e).toISOString():null,this.loadTransactions()}showFilter(){this.showMobileFilter=!this.showMobileFilter}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){var t;const e=o.getAssetPath("../assets/filter.svg"),n=o.getAssetPath("../assets/warning.svg");return o.h(o.Host,{key:"2c1d74e9d321eb73796caa26b58faa1b130d1da1"},this.showLoader?o.h(ue,null):"",o.h("div",{key:"a33973c114c4baa184a3699d46e8eb970f3b9dcc",class:"wrapper",ref:a=>this.stylingContainer=a},this.mobile?o.h("div",{class:"MenuReturnButton",onClick:this.toggleScreen},o.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},o.h("defs",null),o.h("g",{transform:"translate(-20 -158)"},o.h("g",{transform:"translate(20 158)"},o.h("path",{class:"aaa",d:"M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z",transform:"translate(15 15) rotate(180)"})))),o.h("h2",{class:"TransactionTitleMobile"},u.translate("transactionTitle",this.language))):o.h("h2",{class:"TransactionTitle"},u.translate("transactionTitle",this.language)),o.h("div",{key:"2609cf88acf3364e4b40510d451ed49eface97e6",class:{"types types-mobile":this.mobile,"types types-desktop":!this.mobile}},o.h("button",{key:"7efdac157edfb5dc08f4219b91cf784ac6961d0c",class:"transaction-type "+(this.type==="0"?"clicked":""),onClick:()=>this.changeTransactionsType("0")},u.translate("deposit",this.language)),o.h("button",{key:"eaf33173f0e6d6271724816400f63f571874906a",class:"transaction-type "+(this.type==="1"?"clicked":""),onClick:()=>this.changeTransactionsType("1")},u.translate("withdrawals",this.language))),this.mobile?"":o.h(Dt,{language:this.language,pageSizes:this.pageSizes,currentPageSize:this.pageSize,changePageSize:a=>this.changePageSize(a)}),this.mobile?o.h("button",{class:"mobile-filter-button",onClick:()=>this.showFilter()},o.h("img",{src:e,alt:"Filter"}),u.translate("filter",this.language)):"",!this.mobile||this.showMobileFilter&&this.mobile?o.h(Pt,{language:this.language,applyFilters:(a,r)=>this.applyFilters(a,r)}):"",((t=this.transactions)===null||t===void 0?void 0:t.length)>0?o.h("div",{class:"table"},this.mobile?o.h("div",{class:"mobile-table"},this.transactions.map(a=>o.h(Mt,Object.assign({},a,{dateformat:this.dateFormat})))):o.h(Ot,{source:this.transactions,language:this.language,dateformat:this.dateFormat})):o.h("div",{class:"noData"},o.h("img",{src:n,alt:"Warning"}),o.h("span",null,u.translate("noData",this.language))),o.h("div",{key:"c8b5f7a1cac64df3fb7879ad020379b81672b8ae",class:"pagination"},o.h("button",{key:"ac06e5c8c62367626b2c72c8d5ee552cefafd3fa",onClick:()=>this.prev()},"<"),o.h("button",{key:"bff70f58f1815d8da93fa8e5b2b541893a4f475c",onClick:()=>this.next()},">"))))}loadTransactions(){return U(this,null,function*(){this.showLoader=!0;try{const t=`${this.endpoint}/v1/player/${this.userId}/transactions/banking?${this.getParams()}`,e=yield fetch(t,{headers:{"X-Sessionid":this.session,"Content-Type":"application/json"}});if(!e.ok){const a=yield e.text();throw new Error(a)}const n=yield e.json();this.pagination=n.pagination,this.transactions=n.transactions}catch(t){console.error(t)}finally{this.showLoader=!1}})}getParams(){var t,e;const n=new Date,a=(this.page*this.pageSize).toString(),r=(t=this.from)!==null&&t!==void 0?t:new Date(n.getFullYear(),n.getMonth(),1).toISOString(),i=(e=this.to)!==null&&e!==void 0?e:new Date(n.getFullYear(),n.getMonth()+1,0).toISOString();return`offset=${a}&endDate=${i}&startDate=${r}&type=${this.type}&limit=${this.pageSize}`}static get assetsDirs(){return["../assets"]}get el(){return o.getElement(this)}static get watchers(){return{page:["watchMultiple"],type:["watchMultiple"],session:["watchMultiple"],userId:["watchMultiple"],pageSize:["watchMultiple"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],showMobileFilter:["getComponentHeight"]}}};te.style=Ft;exports.user_transaction_history=te;
|