@everymatrix/casino-integrated-game-page 1.87.35 → 1.87.36

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.
@@ -27,7 +27,7 @@ var Ir = (e, t, r) => new Promise((n, i) => {
27
27
  }, s = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, a);
28
28
  s((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/user-deposit-withdrawal-fr3neoMn.js";
30
+ import "../stencil/user-deposit-withdrawal-CDrCvOid.js";
31
31
  function L() {
32
32
  }
33
33
  function vn(e) {
@@ -4504,7 +4504,7 @@ if (typeof window != "undefined") {
4504
4504
  }
4505
4505
  };
4506
4506
  };
4507
- customElements.define = e(customElements.define), import("./PlayerDeposit-BaBg7OFj.js").then(({ default: t }) => {
4507
+ customElements.define = e(customElements.define), import("./PlayerDeposit-1INZvOEy.js").then(({ default: t }) => {
4508
4508
  !customElements.get("player-deposit") && customElements.define("player-deposit", t.element);
4509
4509
  });
4510
4510
  }
@@ -1,4 +1,4 @@
1
- import "../stencil/user-deposit-withdrawal-DQKmzpPa.js";
1
+ import "../stencil/user-deposit-withdrawal-CQgRlQVm.js";
2
2
  function A() {
3
3
  }
4
4
  function cn(e) {
@@ -4466,7 +4466,7 @@ if (typeof window < "u") {
4466
4466
  }
4467
4467
  };
4468
4468
  };
4469
- customElements.define = e(customElements.define), import("./PlayerDeposit-BljqRTUD.js").then(({ default: t }) => {
4469
+ customElements.define = e(customElements.define), import("./PlayerDeposit-D5sXzaUO.js").then(({ default: t }) => {
4470
4470
  !customElements.get("player-deposit") && customElements.define("player-deposit", t.element);
4471
4471
  });
4472
4472
  }
@@ -1,4 +1,4 @@
1
- import { a as X, $ as Z, S as J, i as K, s as $, f as y, b as ee, n as P, d as S, c as L, e as U, g as x, h, j as M, k as E, t as C, l as u, m as te, o as ie, p as se, q as ae, r as k, u as re, v as F, w as ne, x as oe, y as le, z as ce, A as ue } from "./CasinoIntegratedGamePage-BrNZWMcZ.js";
1
+ import { a as X, $ as Z, S as J, i as K, s as $, f as y, b as ee, n as P, d as S, c as L, e as U, g as x, h, j as M, k as E, t as C, l as u, m as te, o as ie, p as se, q as ae, r as k, u as re, v as F, w as ne, x as oe, y as le, z as ce, A as ue } from "./CasinoIntegratedGamePage-DG9Z5RgC.js";
2
2
  function W(s, e) {
3
3
  X(s, e);
4
4
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoIntegratedGamePage-BvUsHV5y.cjs");function T(n,t){e.addMessages(n,t)}function A(n){e.$locale.set(n)}const E={en:{titleDeposit:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{titleDeposit:"訂金",loading:"加載請稍候…"},fr:{titleDeposit:"Dépôt",loading:"Chargement, veuillez patienter ..."},tr:{titleDeposit:"PARA YATIR",loading:"Yükleniyor ..."},ro:{titleDeposit:"Depunere",loading:"Se încarcă..."},es:{titleDeposit:"Deposita",loading:"Cargando ..."},pt:{titleDeposit:"Depósito",loading:"Carregando, por favor espere ..."},hr:{titleDeposit:"Uplata",loading:"Učitavanje"},"pt-br":{titleDeposit:"Depositar",Loading:"Carregando, por favor espere..."},"es-mx":{titleDeposit:"Depositar",Loading:"Cargando, por favor espere..."}};function F(n){e.append_styles(n,"svelte-1hczjj2","button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}")}function W(n){let t,a,o,s,c,m,d,p,f,l,r=n[4]("titleDeposit")+"",u,y,D;return{c(){t=e.element("div"),a=e.svg_element("svg"),o=e.svg_element("defs"),s=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),m=e.svg_element("g"),d=e.svg_element("g"),p=e.svg_element("path"),f=e.space(),l=e.element("h2"),u=e.text(r),e.attr(p,"class","aaa"),e.attr(p,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(p,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(l,"class","DepositTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(g,h){e.insert(g,t,h),e.append(t,a),e.append(a,o),e.append(o,s),e.append(s,c),e.append(a,m),e.append(m,d),e.append(d,p),e.append(t,f),e.append(t,l),e.append(l,u),y||(D=e.listen(t,"click",n[18]),y=!0)},p(g,h){h&16&&r!==(r=g[4]("titleDeposit")+"")&&e.set_data(u,r)},d(g){g&&e.detach(t),y=!1,D()}}}function G(n){let t,a,o;return{c(){t=e.element("div"),a=e.element("iframe"),e.src_url_equal(a.src,o=n[3])||e.attr(a,"src",o),e.attr(a,"title","Deposit Iframe"),e.attr(t,"class","DepositIframeWrapper")},m(s,c){e.insert(s,t,c),e.append(t,a)},p(s,c){c&8&&!e.src_url_equal(a.src,o=s[3])&&e.attr(a,"src",o)},d(s){s&&e.detach(t)}}}function H(n){let t,a=n[4]("loading")+"",o;return{c(){t=e.element("p"),o=e.text(a)},m(s,c){e.insert(s,t,c),e.append(t,o)},p(s,c){c&16&&a!==(a=s[4]("loading")+"")&&e.set_data(o,a)},d(s){s&&e.detach(t)}}}function q(n){let t,a,o,s=n[4]("titleDeposit")+"",c,m,d=n[5]&&W(n);function p(r,u){return r[1]?H:G}let f=p(n),l=f(n);return{c(){t=e.element("div"),d&&d.c(),a=e.space(),o=e.element("h2"),c=e.text(s),m=e.space(),l.c(),e.attr(o,"class","DepositTitle "+(n[5]?"DepositTitleNone":"")),e.attr(t,"class","DepositWrapper "+(n[5]?"DepositWrapperMobile":"")),e.set_style(t,"--dynamic-height",n[2])},m(r,u){e.insert(r,t,u),d&&d.m(t,null),e.append(t,a),e.append(t,o),e.append(o,c),e.append(t,m),l.m(t,null),n[19](t)},p(r,[u]){r[5]&&d.p(r,u),u&16&&s!==(s=r[4]("titleDeposit")+"")&&e.set_data(c,s),f===(f=p(r))&&l?l.p(r,u):(l.d(1),l=f(r),l&&(l.c(),l.m(t,null))),u&4&&e.set_style(t,"--dynamic-height",r[2])},i:e.noop,o:e.noop,d(r){r&&e.detach(t),d&&d.d(),l.d(),n[19](null)}}}function N(n,t,a){let o,s;e.component_subscribe(n,e.$format,i=>a(4,s=i));let{endpoint:c=""}=t,{session:m=""}=t,{playerid:d=""}=t,{lang:p="en"}=t,{hasdefaultamount:f=""}=t,{clientstyling:l=""}=t,{clientstylingurl:r=""}=t,{translationurl:u=""}=t,{currency:y=""}=t,{mbsource:D}=t,{shortcashierenabled:g="false"}=t,h,R=window.navigator.userAgent,v=e.getDevice(R)!=="PC",M=!0,k,P,_=0,C="";const B=()=>{fetch(u).then(w=>w.json()).then(w=>{Object.keys(w).forEach(b=>{T(b,w[b])})}).catch(w=>{console.log(w)})};Object.keys(E).forEach(i=>{T(i,E[i])});const S=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:v},window.location.href)},x=i=>{if(i.data){switch(i.data.type){case"ProfileDetailsData":a(7,y=i.data.profileDetails.currency);break}switch(i.data["MMFE:setQuickDepositHeight"]&&a(2,k=i.data["MMFE:setQuickDepositHeight"].toString()+"px"),i.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),i.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break;case"mm-wm-hc-init-deposit-quick":window.postMessage({type:"CloseShortCashier"},window.location.href);break}}},I=()=>{let i=new URL(`${c}/v1/player/${d}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(i.searchParams.append("language",p),o&&i.searchParams.append("isShortCashier",g),f)switch(y){case"USD":_=.4;break;case"CDF":_=1e3;break}let w={method:"POST",headers:{"X-SessionId":m,currency:y||"EUR",amount:_,cashierMode:"Default",IsShortCashier:g,accept:"application/json"}};fetch(i.href,w).then(b=>b.json()).then(b=>{a(1,M=!1),a(3,C=b.CashierUrl)},b=>{console.error(b)})},j=()=>{A(p)};e.onMount(()=>(window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)}));const U=()=>S();function z(i){e.binding_callbacks[i?"unshift":"push"](()=>{h=i,a(0,h)})}return n.$$set=i=>{"endpoint"in i&&a(8,c=i.endpoint),"session"in i&&a(9,m=i.session),"playerid"in i&&a(10,d=i.playerid),"lang"in i&&a(11,p=i.lang),"hasdefaultamount"in i&&a(12,f=i.hasdefaultamount),"clientstyling"in i&&a(13,l=i.clientstyling),"clientstylingurl"in i&&a(14,r=i.clientstylingurl),"translationurl"in i&&a(15,u=i.translationurl),"currency"in i&&a(7,y=i.currency),"mbsource"in i&&a(16,D=i.mbsource),"shortcashierenabled"in i&&a(17,g=i.shortcashierenabled)},n.$$.update=()=>{n.$$.dirty&2048&&p&&j(),n.$$.dirty&131072&&(o=g.toLocaleLowerCase()==="true"),n.$$.dirty&8193&&l&&h&&e.setClientStyling(h,l),n.$$.dirty&16385&&r&&h&&e.setClientStylingURL(h,r),n.$$.dirty&65537&&D&&h&&e.setStreamStyling(h,`${D}.Style`,P),n.$$.dirty&32768&&u&&B(),n.$$.dirty&135040&&m&&d&&c&&y&&p&&g&&I()},[h,M,k,C,s,v,S,y,c,m,d,p,f,l,r,u,D,g,U,z]}class L extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,q,e.safe_not_equal,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,currency:7,mbsource:16,shortcashierenabled:17},F)}get endpoint(){return this.$$.ctx[8]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[10]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[11]}set lang(t){this.$$set({lang:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get currency(){return this.$$.ctx[7]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[16]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[17]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}}e.create_custom_element(L,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},translationurl:{},currency:{},mbsource:{},shortcashierenabled:{}},[],[],!0);exports.default=L;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoIntegratedGamePage-CIb8eueL.cjs");function T(n,t){e.addMessages(n,t)}function A(n){e.$locale.set(n)}const E={en:{titleDeposit:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{titleDeposit:"訂金",loading:"加載請稍候…"},fr:{titleDeposit:"Dépôt",loading:"Chargement, veuillez patienter ..."},tr:{titleDeposit:"PARA YATIR",loading:"Yükleniyor ..."},ro:{titleDeposit:"Depunere",loading:"Se încarcă..."},es:{titleDeposit:"Deposita",loading:"Cargando ..."},pt:{titleDeposit:"Depósito",loading:"Carregando, por favor espere ..."},hr:{titleDeposit:"Uplata",loading:"Učitavanje"},"pt-br":{titleDeposit:"Depositar",Loading:"Carregando, por favor espere..."},"es-mx":{titleDeposit:"Depositar",Loading:"Cargando, por favor espere..."}};function F(n){e.append_styles(n,"svelte-1hczjj2","button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}")}function W(n){let t,a,o,s,c,m,d,p,f,l,r=n[4]("titleDeposit")+"",u,y,D;return{c(){t=e.element("div"),a=e.svg_element("svg"),o=e.svg_element("defs"),s=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),m=e.svg_element("g"),d=e.svg_element("g"),p=e.svg_element("path"),f=e.space(),l=e.element("h2"),u=e.text(r),e.attr(p,"class","aaa"),e.attr(p,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(p,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(l,"class","DepositTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(g,h){e.insert(g,t,h),e.append(t,a),e.append(a,o),e.append(o,s),e.append(s,c),e.append(a,m),e.append(m,d),e.append(d,p),e.append(t,f),e.append(t,l),e.append(l,u),y||(D=e.listen(t,"click",n[18]),y=!0)},p(g,h){h&16&&r!==(r=g[4]("titleDeposit")+"")&&e.set_data(u,r)},d(g){g&&e.detach(t),y=!1,D()}}}function G(n){let t,a,o;return{c(){t=e.element("div"),a=e.element("iframe"),e.src_url_equal(a.src,o=n[3])||e.attr(a,"src",o),e.attr(a,"title","Deposit Iframe"),e.attr(t,"class","DepositIframeWrapper")},m(s,c){e.insert(s,t,c),e.append(t,a)},p(s,c){c&8&&!e.src_url_equal(a.src,o=s[3])&&e.attr(a,"src",o)},d(s){s&&e.detach(t)}}}function H(n){let t,a=n[4]("loading")+"",o;return{c(){t=e.element("p"),o=e.text(a)},m(s,c){e.insert(s,t,c),e.append(t,o)},p(s,c){c&16&&a!==(a=s[4]("loading")+"")&&e.set_data(o,a)},d(s){s&&e.detach(t)}}}function q(n){let t,a,o,s=n[4]("titleDeposit")+"",c,m,d=n[5]&&W(n);function p(r,u){return r[1]?H:G}let f=p(n),l=f(n);return{c(){t=e.element("div"),d&&d.c(),a=e.space(),o=e.element("h2"),c=e.text(s),m=e.space(),l.c(),e.attr(o,"class","DepositTitle "+(n[5]?"DepositTitleNone":"")),e.attr(t,"class","DepositWrapper "+(n[5]?"DepositWrapperMobile":"")),e.set_style(t,"--dynamic-height",n[2])},m(r,u){e.insert(r,t,u),d&&d.m(t,null),e.append(t,a),e.append(t,o),e.append(o,c),e.append(t,m),l.m(t,null),n[19](t)},p(r,[u]){r[5]&&d.p(r,u),u&16&&s!==(s=r[4]("titleDeposit")+"")&&e.set_data(c,s),f===(f=p(r))&&l?l.p(r,u):(l.d(1),l=f(r),l&&(l.c(),l.m(t,null))),u&4&&e.set_style(t,"--dynamic-height",r[2])},i:e.noop,o:e.noop,d(r){r&&e.detach(t),d&&d.d(),l.d(),n[19](null)}}}function N(n,t,a){let o,s;e.component_subscribe(n,e.$format,i=>a(4,s=i));let{endpoint:c=""}=t,{session:m=""}=t,{playerid:d=""}=t,{lang:p="en"}=t,{hasdefaultamount:f=""}=t,{clientstyling:l=""}=t,{clientstylingurl:r=""}=t,{translationurl:u=""}=t,{currency:y=""}=t,{mbsource:D}=t,{shortcashierenabled:g="false"}=t,h,R=window.navigator.userAgent,v=e.getDevice(R)!=="PC",M=!0,k,P,_=0,C="";const B=()=>{fetch(u).then(w=>w.json()).then(w=>{Object.keys(w).forEach(b=>{T(b,w[b])})}).catch(w=>{console.log(w)})};Object.keys(E).forEach(i=>{T(i,E[i])});const S=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:v},window.location.href)},x=i=>{if(i.data){switch(i.data.type){case"ProfileDetailsData":a(7,y=i.data.profileDetails.currency);break}switch(i.data["MMFE:setQuickDepositHeight"]&&a(2,k=i.data["MMFE:setQuickDepositHeight"].toString()+"px"),i.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),i.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break;case"mm-wm-hc-init-deposit-quick":window.postMessage({type:"CloseShortCashier"},window.location.href);break}}},I=()=>{let i=new URL(`${c}/v1/player/${d}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(i.searchParams.append("language",p),o&&i.searchParams.append("isShortCashier",g),f)switch(y){case"USD":_=.4;break;case"CDF":_=1e3;break}let w={method:"POST",headers:{"X-SessionId":m,currency:y||"EUR",amount:_,cashierMode:"Default",IsShortCashier:g,accept:"application/json"}};fetch(i.href,w).then(b=>b.json()).then(b=>{a(1,M=!1),a(3,C=b.CashierUrl)},b=>{console.error(b)})},j=()=>{A(p)};e.onMount(()=>(window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)}));const U=()=>S();function z(i){e.binding_callbacks[i?"unshift":"push"](()=>{h=i,a(0,h)})}return n.$$set=i=>{"endpoint"in i&&a(8,c=i.endpoint),"session"in i&&a(9,m=i.session),"playerid"in i&&a(10,d=i.playerid),"lang"in i&&a(11,p=i.lang),"hasdefaultamount"in i&&a(12,f=i.hasdefaultamount),"clientstyling"in i&&a(13,l=i.clientstyling),"clientstylingurl"in i&&a(14,r=i.clientstylingurl),"translationurl"in i&&a(15,u=i.translationurl),"currency"in i&&a(7,y=i.currency),"mbsource"in i&&a(16,D=i.mbsource),"shortcashierenabled"in i&&a(17,g=i.shortcashierenabled)},n.$$.update=()=>{n.$$.dirty&2048&&p&&j(),n.$$.dirty&131072&&(o=g.toLocaleLowerCase()==="true"),n.$$.dirty&8193&&l&&h&&e.setClientStyling(h,l),n.$$.dirty&16385&&r&&h&&e.setClientStylingURL(h,r),n.$$.dirty&65537&&D&&h&&e.setStreamStyling(h,`${D}.Style`,P),n.$$.dirty&32768&&u&&B(),n.$$.dirty&135040&&m&&d&&c&&y&&p&&g&&I()},[h,M,k,C,s,v,S,y,c,m,d,p,f,l,r,u,D,g,U,z]}class L extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,q,e.safe_not_equal,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,currency:7,mbsource:16,shortcashierenabled:17},F)}get endpoint(){return this.$$.ctx[8]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[10]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[11]}set lang(t){this.$$set({lang:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get currency(){return this.$$.ctx[7]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[16]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[17]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}}e.create_custom_element(L,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},translationurl:{},currency:{},mbsource:{},shortcashierenabled:{}},[],[],!0);exports.default=L;
@@ -1,4 +1,4 @@
1
- import { a as X, $ as Z, S as J, i as K, f as y, s as $, c as ee, b as te, n as P, d as S, e as L, g as U, h as x, j as h, k as M, l as E, t as C, m as u, o as ie, p as se, q as ae, r as re, u as k, v as ne, w as F, x as oe, y as le, z as ce, A as ue } from "./CasinoIntegratedGamePage-CUtEkuDl.js";
1
+ import { a as X, $ as Z, S as J, i as K, f as y, s as $, c as ee, b as te, n as P, d as S, e as L, g as U, h as x, j as h, k as M, l as E, t as C, m as u, o as ie, p as se, q as ae, r as re, u as k, v as ne, w as F, x as oe, y as le, z as ce, A as ue } from "./CasinoIntegratedGamePage-DMfieJUk.js";
2
2
  function W(s, e) {
3
3
  X(s, e);
4
4
  }
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoIntegratedGamePage-BvUsHV5y.cjs")).then(e=>e.CasinoIntegratedGamePage_ce).then(({default:e})=>{!customElements.get("casino-integrated-game-page")&&customElements.define("casino-integrated-game-page",e.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoIntegratedGamePage-CIb8eueL.cjs")).then(e=>e.CasinoIntegratedGamePage_ce).then(({default:e})=>{!customElements.get("casino-integrated-game-page")&&customElements.define("casino-integrated-game-page",e.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoIntegratedGamePage-BrNZWMcZ.js").then((e) => e.C).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoIntegratedGamePage-DG9Z5RgC.js").then((e) => e.C).then(({ default: e }) => {
14
14
  !customElements.get("casino-integrated-game-page") && customElements.define("casino-integrated-game-page", e.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as s } from "../components/CasinoIntegratedGamePage-CUtEkuDl.js";
1
+ import { C as s } from "../components/CasinoIntegratedGamePage-DMfieJUk.js";
2
2
  function a(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-integrated-game-page",
3
- "version": "1.87.35",
3
+ "version": "1.87.36",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-integrated-game-page.cjs",
6
6
  "module": "esnext/casino-integrated-game-page.js",
@@ -1 +1 @@
1
- "use strict";var x=(e,t,n)=>new Promise((s,r)=>{var i=a=>{try{o(n.next(a))}catch($){r($)}},l=a=>{try{o(n.throw(a))}catch($){r($)}},o=a=>a.done?s(a.value):Promise.resolve(a.value).then(i,l);o((n=n.apply(e,t)).next())});const ye="user-deposit-withdrawal",me={hydratedSelectorName:"hydrated"};var Se=Object.defineProperty,Ee=(e,t)=>{for(var n in t)Se(e,n,{get:t[n],enumerable:!0})},q=new WeakMap,w=e=>q.get(e),ke=(e,t)=>q.set(t.$lazyInstance$=e,t),we=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],q.set(e,n)},G=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),U=new Map,be=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=U.get(r);if(i)return i[s];{const l=o=>(U.set(r,o),o[s]);switch(r){case"user-deposit-withdrawal":return Promise.resolve().then(()=>require("./user-deposit-withdrawal-CS0F1HBO.cjs")).then(l,b)}}return import(`./${r}.entry.js`).then(l=>(U.set(r,l),l[s]),b)},j=new Map,Te="{visibility:hidden}.hydrated{visibility:inherit}",ee="slot-fb{display:contents}slot-fb[hidden]{display:none}",I=typeof window!="undefined"?window:{},S=I.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},te=e=>Promise.resolve(e),Pe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),H=!1,X=[],se=[],xe=(e,t)=>n=>{e.push(n),H||(H=!0,h.$flags$&4?R(z):h.raf(z))},Y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){b(n)}e.length=0},z=()=>{Y(X),Y(se),(H=X.length>0)&&h.raf(z)},R=e=>te().then(e),_e=xe(se),J={},Le="http://www.w3.org/2000/svg",Ae="http://www.w3.org/1999/xhtml",je=e=>e!=null,M=e=>(e=typeof e,e==="object"||e==="function");function ne(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var Oe={};Ee(Oe,{err:()=>re,map:()=>Ie,ok:()=>B,unwrap:()=>Ue,unwrapErr:()=>He});var B=e=>({isOk:!0,isErr:!1,value:e}),re=e=>({isOk:!1,isErr:!0,value:e});function Ie(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>B(s)):B(n)}if(e.isErr){const n=e.value;return re(n)}throw"should never get here"}var Ue=e=>{if(e.isOk)return e.value;throw e.value},He=e=>{if(e.isErr)return e.value;throw e.value},E=(e,t="")=>()=>{},ze=(e,t)=>()=>{},le=(e,t,...n)=>{let s=null,r=null,i=!1,l=!1;const o=[],a=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!M(s))&&(s=String(s)),i&&l?o[o.length-1].$text$+=s:o.push(i?C(null,s):s),l=i)};if(a(n),t){t.key&&(r=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const $=C(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=r,$},C=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},ae={},Be=e=>e&&e.$tag$===ae,Ce=(e,t)=>e!=null&&!M(e)?t&4?e==="false"?!1:e===""||!!e:t&1?String(e):e:e,qe=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},K=new WeakMap,Re=(e,t,n)=>{let s=j.get(e);Pe&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,j.set(e,s)},Me=(e,t,n)=>{var s;const r=ie(t),i=j.get(r);if(e=e.nodeType===11?e:S,i)if(typeof i=="string"){e=e.head||e;let l=K.get(e),o;if(l||K.set(e,l=new Set),!l.has(r)){{o=S.createElement("style"),o.innerHTML=i;const a=(s=h.$nonce$)!=null?s:ne(S);a!=null&&o.setAttribute("nonce",a),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=ee),l&&l.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},De=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=t.$flags$,r=E("attachStyles",t.$tagName$),i=Me(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);s&10&&(n["s-sc"]=i,n.classList.add(i+"-h")),r()},ie=(e,t)=>"sc-"+e.$tagName$,Q=(e,t,n,s,r,i)=>{if(n!==s){let l=G(e,t),o=t.toLowerCase();if(t==="class"){const a=e.classList,$=Z(n),c=Z(s);a.remove(...$.filter(f=>f&&!c.includes(f))),a.add(...c.filter(f=>f&&!$.includes(f)))}else if(t==="style"){for(const a in n)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!n||s[a]!==n[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):G(I,o)?t=o.slice(2):t=o[2]+t.slice(3),n||s){const a=t.endsWith(oe);t=t.replace(Fe,""),n&&h.rel(e,t,n,a),s&&h.ael(e,t,s,a)}}else{const a=M(s);if((l||a&&s!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=s;else{const $=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=$)&&(e[t]=$)}}catch($){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||i&4||r)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},We=/\s/,Z=e=>e?e.split(We):[],oe="Capture",Fe=new RegExp(oe+"$"),$e=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||J,i=t.$attrs$||J;for(const l of N(Object.keys(r)))l in i||Q(s,l,r[l],void 0,n,t.$flags$);for(const l of N(Object.keys(i)))Q(s,l,r[l],i[l],n,t.$flags$)};function N(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var L,D,y=!1,O=(e,t,n,s)=>{const r=t.$children$[n];let i=0,l,o;if(r.$text$!==null)l=r.$elm$=S.createTextNode(r.$text$);else{if(y||(y=r.$tag$==="svg"),l=r.$elm$=S.createElementNS(y?Le:Ae,r.$tag$),y&&r.$tag$==="foreignObject"&&(y=!1),$e(null,r,y),je(L)&&l["s-si"]!==L&&l.classList.add(l["s-si"]=L),r.$children$)for(i=0;i<r.$children$.length;++i)o=O(e,r,i),o&&l.appendChild(o);r.$tag$==="svg"?y=!1:l.tagName==="foreignObject"&&(y=!0)}return l["s-hn"]=D,l},ce=(e,t,n,s,r,i)=>{let l=e,o;for(l.shadowRoot&&l.tagName===D&&(l=l.shadowRoot);r<=i;++r)s[r]&&(o=O(null,n,r),o&&(s[r].$elm$=o,A(l,o,t)))},fe=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const i=r.$elm$;de(r),i&&i.remove()}}},Ge=(e,t,n,s,r=!1)=>{let i=0,l=0,o=0,a=0,$=t.length-1,c=t[0],f=t[$],d=s.length-1,u=s[0],v=s[d],g,m;for(;i<=$&&l<=d;)if(c==null)c=t[++i];else if(f==null)f=t[--$];else if(u==null)u=s[++l];else if(v==null)v=s[--d];else if(_(c,u,r))T(c,u,r),c=t[++i],u=s[++l];else if(_(f,v,r))T(f,v,r),f=t[--$],v=s[--d];else if(_(c,v,r))T(c,v,r),A(e,c.$elm$,f.$elm$.nextSibling),c=t[++i],v=s[--d];else if(_(f,u,r))T(f,u,r),A(e,f.$elm$,c.$elm$),f=t[--$],u=s[++l];else{for(o=-1,a=i;a<=$;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===u.$key$){o=a;break}o>=0?(m=t[o],m.$tag$!==u.$tag$?g=O(t&&t[l],n,o):(T(m,u,r),t[o]=void 0,g=m.$elm$),u=s[++l]):(g=O(t&&t[l],n,l),u=s[++l]),g&&A(c.$elm$.parentNode,g,c.$elm$)}i>$?ce(e,s[d+1]==null?null:s[d+1].$elm$,n,s,l,d):l>d&&fe(t,i,$)},_=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,T=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,l=t.$tag$,o=t.$text$;o===null?(y=l==="svg"?!0:l==="foreignObject"?!1:y,$e(e,t,y),r!==null&&i!==null?Ge(s,r,t,i,n):i!==null?(e.$text$!==null&&(s.textContent=""),ce(s,null,t,i,0,i.length-1)):r!==null&&fe(r,0,r.length-1),y&&l==="svg"&&(y=!1)):e.$text$!==o&&(s.data=o)},de=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(de)},A=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),Xe=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$cmpMeta$,i=e.$vnode$||C(null,null),l=Be(t)?t:le(null,null,t);if(D=s.tagName,r.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},r.$attrsToReflect$.map(([o,a])=>l.$attrs$[a]=s[o])),n&&l.$attrs$)for(const o of Object.keys(l.$attrs$))s.hasAttribute(o)&&!["key","ref","style","class"].includes(o)&&(l.$attrs$[o]=s[o]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=i.$elm$=s.shadowRoot||s,L=s["s-sc"],r.$flags$&1,T(i,l,n)},ue=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},W=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ue(e,e.$ancestorComponent$),_e(()=>Ye(e,t))},Ye=(e,t)=>{const n=e.$hostElement$,s=E("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)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 i;return t&&(i=F(r,"componentWillLoad")),s(),Je(i,()=>Qe(e,r,t))},Je=(e,t)=>Ke(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Ke=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Qe=(e,t,n)=>x(exports,null,function*(){var s;const r=e.$hostElement$,i=E("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&De(e);const o=E("render",e.$cmpMeta$.$tagName$);Ze(e,t,r,n),l&&(l.map(a=>a()),r["s-rc"]=void 0),o(),i();{const a=(s=r["s-p"])!=null?s:[],$=()=>Ne(e);a.length===0?$():(Promise.all(a).then($),e.$flags$|=4,a.length=0)}}),Ze=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Xe(e,t,s)}catch(r){b(r,e.$hostElement$)}return null},Ne=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=E("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ge(n),F(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),i||ve()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&R(()=>W(e,!1)),e.$flags$&=-517},ve=e=>{ge(S.documentElement),R(()=>qe(I,"appload",{detail:{namespace:ye}}))},F=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){b(s)}},ge=e=>{var t;return e.classList.add((t=me.hydratedSelectorName)!=null?t:"hydrated")},Ve=(e,t)=>w(e).$instanceValues$.get(t),et=(e,t,n,s)=>{const r=w(e);if(!r)throw new Error(`Couldn't find host element for "${s.$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 i=r.$hostElement$,l=r.$instanceValues$.get(t),o=r.$flags$,a=r.$lazyInstance$;n=Ce(n,s.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(n),c=n!==l&&!$;if((!(o&8)||l===void 0)&&c&&(r.$instanceValues$.set(t,n),a)){if(s.$watchers$&&o&128){const f=s.$watchers$[t];f&&f.map(d=>{try{a[d](n,l,t)}catch(u){b(u,i)}})}(o&18)===2&&W(r,!1)}},he=(e,t,n)=>{var s,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([o,[a]])=>{(a&31||n&2&&a&32)&&Object.defineProperty(i,o,{get(){return Ve(this,o)},set($){et(this,o,$,t)},configurable:!0,enumerable:!0})}),n&1){const o=new Map;i.attributeChangedCallback=function(a,$,c){h.jmp(()=>{var f;const d=o.get(a);if(this.hasOwnProperty(d))c=this[d],delete this[d];else{if(i.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==c)return;if(d==null){const u=w(this),v=u==null?void 0:u.$flags$;if(v&&!(v&8)&&v&128&&c!==$){const g=u.$lazyInstance$,m=(f=t.$watchers$)==null?void 0:f[a];m==null||m.forEach(p=>{g[p]!=null&&g[p].call(g,c,$,a)})}return}}this[d]=c===null&&typeof this[d]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([a,$])=>$[0]&15).map(([a,$])=>{var c;const f=$[1]||a;return o.set(f,a),$[0]&512&&((c=t.$attrsToReflect$)==null||c.push([a,f])),f})]))}}return e},tt=(e,t,n,s)=>x(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const a=be(n);if(a&&"then"in a){const c=ze();r=yield a,c()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,he(r,n,2),r.isProxied=!0);const $=E("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch(c){b(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{r=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const $=ie(n);if(!j.has($)){const c=E("registerStyles",n.$tagName$);Re($,a,!!(n.$flags$&1)),c()}}}const i=t.$ancestorComponent$,l=()=>W(t,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()}),st=e=>{},nt=e=>{if(!(h.$flags$&1)){const t=w(e),n=t.$cmpMeta$,s=E("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>st());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ue(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),tt(e,t,n)}s()}},V=e=>{F(e,"disconnectedCallback")},rt=e=>x(exports,null,function*(){if(!(h.$flags$&1)){const t=w(e);t!=null&&t.$lazyInstance$?V(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>V(t.$lazyInstance$))}}),lt=(e,t={})=>{var n;const s=E(),r=[],i=t.exclude||[],l=I.customElements,o=S.head,a=o.querySelector("meta[charset]"),$=S.createElement("style"),c=[];let f,d=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",S.baseURI).href;let u=!1;if(e.map(v=>{v[1].map(g=>{var m;const p={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};p.$flags$&4&&(u=!0),p.$members$=g[2],p.$attrsToReflect$=[],p.$watchers$=(m=g[4])!=null?m:{};const P=p.$tagName$,pe=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,we(k,p),p.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){w(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),d?c.push(this):h.jmp(()=>nt(this))}disconnectedCallback(){h.jmp(()=>rt(this))}componentOnReady(){return w(this).$onReadyPromise$}};p.$lazyBundleId$=v[0],!i.includes(P)&&!l.get(P)&&(r.push(P),l.define(P,he(pe,p,1)))})}),r.length>0&&(u&&($.textContent+=ee),$.textContent+=r.sort()+Te,$.innerHTML.length)){$.setAttribute("data-styles","");const v=(n=h.$nonce$)!=null?n:ne(S);v!=null&&$.setAttribute("nonce",v),o.insertBefore($,a?a.nextSibling:o.firstChild)}d=!1,c.length?c.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(ve,30)),s()};exports.Host=ae;exports.bootstrapLazy=lt;exports.h=le;exports.promiseResolve=te;exports.registerInstance=ke;
1
+ "use strict";var x=(e,t,n)=>new Promise((s,r)=>{var i=a=>{try{o(n.next(a))}catch($){r($)}},l=a=>{try{o(n.throw(a))}catch($){r($)}},o=a=>a.done?s(a.value):Promise.resolve(a.value).then(i,l);o((n=n.apply(e,t)).next())});const ye="user-deposit-withdrawal",me={hydratedSelectorName:"hydrated"};var Se=Object.defineProperty,Ee=(e,t)=>{for(var n in t)Se(e,n,{get:t[n],enumerable:!0})},q=new WeakMap,w=e=>q.get(e),ke=(e,t)=>q.set(t.$lazyInstance$=e,t),we=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],q.set(e,n)},G=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),U=new Map,be=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=U.get(r);if(i)return i[s];{const l=o=>(U.set(r,o),o[s]);switch(r){case"user-deposit-withdrawal":return Promise.resolve().then(()=>require("./user-deposit-withdrawal-3jur3ZSe.cjs")).then(l,b)}}return import(`./${r}.entry.js`).then(l=>(U.set(r,l),l[s]),b)},j=new Map,Te="{visibility:hidden}.hydrated{visibility:inherit}",ee="slot-fb{display:contents}slot-fb[hidden]{display:none}",I=typeof window!="undefined"?window:{},S=I.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},te=e=>Promise.resolve(e),Pe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),H=!1,X=[],se=[],xe=(e,t)=>n=>{e.push(n),H||(H=!0,h.$flags$&4?R(z):h.raf(z))},Y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){b(n)}e.length=0},z=()=>{Y(X),Y(se),(H=X.length>0)&&h.raf(z)},R=e=>te().then(e),_e=xe(se),J={},Le="http://www.w3.org/2000/svg",Ae="http://www.w3.org/1999/xhtml",je=e=>e!=null,M=e=>(e=typeof e,e==="object"||e==="function");function ne(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var Oe={};Ee(Oe,{err:()=>re,map:()=>Ie,ok:()=>B,unwrap:()=>Ue,unwrapErr:()=>He});var B=e=>({isOk:!0,isErr:!1,value:e}),re=e=>({isOk:!1,isErr:!0,value:e});function Ie(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>B(s)):B(n)}if(e.isErr){const n=e.value;return re(n)}throw"should never get here"}var Ue=e=>{if(e.isOk)return e.value;throw e.value},He=e=>{if(e.isErr)return e.value;throw e.value},E=(e,t="")=>()=>{},ze=(e,t)=>()=>{},le=(e,t,...n)=>{let s=null,r=null,i=!1,l=!1;const o=[],a=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!M(s))&&(s=String(s)),i&&l?o[o.length-1].$text$+=s:o.push(i?C(null,s):s),l=i)};if(a(n),t){t.key&&(r=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const $=C(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=r,$},C=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},ae={},Be=e=>e&&e.$tag$===ae,Ce=(e,t)=>e!=null&&!M(e)?t&4?e==="false"?!1:e===""||!!e:t&1?String(e):e:e,qe=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},K=new WeakMap,Re=(e,t,n)=>{let s=j.get(e);Pe&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,j.set(e,s)},Me=(e,t,n)=>{var s;const r=ie(t),i=j.get(r);if(e=e.nodeType===11?e:S,i)if(typeof i=="string"){e=e.head||e;let l=K.get(e),o;if(l||K.set(e,l=new Set),!l.has(r)){{o=S.createElement("style"),o.innerHTML=i;const a=(s=h.$nonce$)!=null?s:ne(S);a!=null&&o.setAttribute("nonce",a),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=ee),l&&l.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},De=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=t.$flags$,r=E("attachStyles",t.$tagName$),i=Me(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);s&10&&(n["s-sc"]=i,n.classList.add(i+"-h")),r()},ie=(e,t)=>"sc-"+e.$tagName$,Q=(e,t,n,s,r,i)=>{if(n!==s){let l=G(e,t),o=t.toLowerCase();if(t==="class"){const a=e.classList,$=Z(n),c=Z(s);a.remove(...$.filter(f=>f&&!c.includes(f))),a.add(...c.filter(f=>f&&!$.includes(f)))}else if(t==="style"){for(const a in n)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!n||s[a]!==n[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):G(I,o)?t=o.slice(2):t=o[2]+t.slice(3),n||s){const a=t.endsWith(oe);t=t.replace(Fe,""),n&&h.rel(e,t,n,a),s&&h.ael(e,t,s,a)}}else{const a=M(s);if((l||a&&s!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=s;else{const $=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=$)&&(e[t]=$)}}catch($){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||i&4||r)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},We=/\s/,Z=e=>e?e.split(We):[],oe="Capture",Fe=new RegExp(oe+"$"),$e=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||J,i=t.$attrs$||J;for(const l of N(Object.keys(r)))l in i||Q(s,l,r[l],void 0,n,t.$flags$);for(const l of N(Object.keys(i)))Q(s,l,r[l],i[l],n,t.$flags$)};function N(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var L,D,y=!1,O=(e,t,n,s)=>{const r=t.$children$[n];let i=0,l,o;if(r.$text$!==null)l=r.$elm$=S.createTextNode(r.$text$);else{if(y||(y=r.$tag$==="svg"),l=r.$elm$=S.createElementNS(y?Le:Ae,r.$tag$),y&&r.$tag$==="foreignObject"&&(y=!1),$e(null,r,y),je(L)&&l["s-si"]!==L&&l.classList.add(l["s-si"]=L),r.$children$)for(i=0;i<r.$children$.length;++i)o=O(e,r,i),o&&l.appendChild(o);r.$tag$==="svg"?y=!1:l.tagName==="foreignObject"&&(y=!0)}return l["s-hn"]=D,l},ce=(e,t,n,s,r,i)=>{let l=e,o;for(l.shadowRoot&&l.tagName===D&&(l=l.shadowRoot);r<=i;++r)s[r]&&(o=O(null,n,r),o&&(s[r].$elm$=o,A(l,o,t)))},fe=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const i=r.$elm$;de(r),i&&i.remove()}}},Ge=(e,t,n,s,r=!1)=>{let i=0,l=0,o=0,a=0,$=t.length-1,c=t[0],f=t[$],d=s.length-1,u=s[0],v=s[d],g,m;for(;i<=$&&l<=d;)if(c==null)c=t[++i];else if(f==null)f=t[--$];else if(u==null)u=s[++l];else if(v==null)v=s[--d];else if(_(c,u,r))T(c,u,r),c=t[++i],u=s[++l];else if(_(f,v,r))T(f,v,r),f=t[--$],v=s[--d];else if(_(c,v,r))T(c,v,r),A(e,c.$elm$,f.$elm$.nextSibling),c=t[++i],v=s[--d];else if(_(f,u,r))T(f,u,r),A(e,f.$elm$,c.$elm$),f=t[--$],u=s[++l];else{for(o=-1,a=i;a<=$;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===u.$key$){o=a;break}o>=0?(m=t[o],m.$tag$!==u.$tag$?g=O(t&&t[l],n,o):(T(m,u,r),t[o]=void 0,g=m.$elm$),u=s[++l]):(g=O(t&&t[l],n,l),u=s[++l]),g&&A(c.$elm$.parentNode,g,c.$elm$)}i>$?ce(e,s[d+1]==null?null:s[d+1].$elm$,n,s,l,d):l>d&&fe(t,i,$)},_=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,T=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,l=t.$tag$,o=t.$text$;o===null?(y=l==="svg"?!0:l==="foreignObject"?!1:y,$e(e,t,y),r!==null&&i!==null?Ge(s,r,t,i,n):i!==null?(e.$text$!==null&&(s.textContent=""),ce(s,null,t,i,0,i.length-1)):r!==null&&fe(r,0,r.length-1),y&&l==="svg"&&(y=!1)):e.$text$!==o&&(s.data=o)},de=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(de)},A=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),Xe=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$cmpMeta$,i=e.$vnode$||C(null,null),l=Be(t)?t:le(null,null,t);if(D=s.tagName,r.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},r.$attrsToReflect$.map(([o,a])=>l.$attrs$[a]=s[o])),n&&l.$attrs$)for(const o of Object.keys(l.$attrs$))s.hasAttribute(o)&&!["key","ref","style","class"].includes(o)&&(l.$attrs$[o]=s[o]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=i.$elm$=s.shadowRoot||s,L=s["s-sc"],r.$flags$&1,T(i,l,n)},ue=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},W=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ue(e,e.$ancestorComponent$),_e(()=>Ye(e,t))},Ye=(e,t)=>{const n=e.$hostElement$,s=E("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)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 i;return t&&(i=F(r,"componentWillLoad")),s(),Je(i,()=>Qe(e,r,t))},Je=(e,t)=>Ke(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Ke=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Qe=(e,t,n)=>x(exports,null,function*(){var s;const r=e.$hostElement$,i=E("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&De(e);const o=E("render",e.$cmpMeta$.$tagName$);Ze(e,t,r,n),l&&(l.map(a=>a()),r["s-rc"]=void 0),o(),i();{const a=(s=r["s-p"])!=null?s:[],$=()=>Ne(e);a.length===0?$():(Promise.all(a).then($),e.$flags$|=4,a.length=0)}}),Ze=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Xe(e,t,s)}catch(r){b(r,e.$hostElement$)}return null},Ne=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=E("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ge(n),F(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),i||ve()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&R(()=>W(e,!1)),e.$flags$&=-517},ve=e=>{ge(S.documentElement),R(()=>qe(I,"appload",{detail:{namespace:ye}}))},F=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){b(s)}},ge=e=>{var t;return e.classList.add((t=me.hydratedSelectorName)!=null?t:"hydrated")},Ve=(e,t)=>w(e).$instanceValues$.get(t),et=(e,t,n,s)=>{const r=w(e);if(!r)throw new Error(`Couldn't find host element for "${s.$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 i=r.$hostElement$,l=r.$instanceValues$.get(t),o=r.$flags$,a=r.$lazyInstance$;n=Ce(n,s.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(n),c=n!==l&&!$;if((!(o&8)||l===void 0)&&c&&(r.$instanceValues$.set(t,n),a)){if(s.$watchers$&&o&128){const f=s.$watchers$[t];f&&f.map(d=>{try{a[d](n,l,t)}catch(u){b(u,i)}})}(o&18)===2&&W(r,!1)}},he=(e,t,n)=>{var s,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([o,[a]])=>{(a&31||n&2&&a&32)&&Object.defineProperty(i,o,{get(){return Ve(this,o)},set($){et(this,o,$,t)},configurable:!0,enumerable:!0})}),n&1){const o=new Map;i.attributeChangedCallback=function(a,$,c){h.jmp(()=>{var f;const d=o.get(a);if(this.hasOwnProperty(d))c=this[d],delete this[d];else{if(i.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==c)return;if(d==null){const u=w(this),v=u==null?void 0:u.$flags$;if(v&&!(v&8)&&v&128&&c!==$){const g=u.$lazyInstance$,m=(f=t.$watchers$)==null?void 0:f[a];m==null||m.forEach(p=>{g[p]!=null&&g[p].call(g,c,$,a)})}return}}this[d]=c===null&&typeof this[d]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([a,$])=>$[0]&15).map(([a,$])=>{var c;const f=$[1]||a;return o.set(f,a),$[0]&512&&((c=t.$attrsToReflect$)==null||c.push([a,f])),f})]))}}return e},tt=(e,t,n,s)=>x(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const a=be(n);if(a&&"then"in a){const c=ze();r=yield a,c()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,he(r,n,2),r.isProxied=!0);const $=E("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch(c){b(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{r=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const $=ie(n);if(!j.has($)){const c=E("registerStyles",n.$tagName$);Re($,a,!!(n.$flags$&1)),c()}}}const i=t.$ancestorComponent$,l=()=>W(t,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()}),st=e=>{},nt=e=>{if(!(h.$flags$&1)){const t=w(e),n=t.$cmpMeta$,s=E("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>st());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ue(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),tt(e,t,n)}s()}},V=e=>{F(e,"disconnectedCallback")},rt=e=>x(exports,null,function*(){if(!(h.$flags$&1)){const t=w(e);t!=null&&t.$lazyInstance$?V(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>V(t.$lazyInstance$))}}),lt=(e,t={})=>{var n;const s=E(),r=[],i=t.exclude||[],l=I.customElements,o=S.head,a=o.querySelector("meta[charset]"),$=S.createElement("style"),c=[];let f,d=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",S.baseURI).href;let u=!1;if(e.map(v=>{v[1].map(g=>{var m;const p={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};p.$flags$&4&&(u=!0),p.$members$=g[2],p.$attrsToReflect$=[],p.$watchers$=(m=g[4])!=null?m:{};const P=p.$tagName$,pe=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,we(k,p),p.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){w(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),d?c.push(this):h.jmp(()=>nt(this))}disconnectedCallback(){h.jmp(()=>rt(this))}componentOnReady(){return w(this).$onReadyPromise$}};p.$lazyBundleId$=v[0],!i.includes(P)&&!l.get(P)&&(r.push(P),l.define(P,he(pe,p,1)))})}),r.length>0&&(u&&($.textContent+=ee),$.textContent+=r.sort()+Te,$.innerHTML.length)){$.setAttribute("data-styles","");const v=(n=h.$nonce$)!=null?n:ne(S);v!=null&&$.setAttribute("nonce",v),o.insertBefore($,a?a.nextSibling:o.firstChild)}d=!1,c.length?c.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(ve,30)),s()};exports.Host=ae;exports.bootstrapLazy=lt;exports.h=le;exports.promiseResolve=te;exports.registerInstance=ke;
@@ -42,7 +42,7 @@ var he = Object.defineProperty, ye = (e, t) => {
42
42
  case "user-deposit-withdrawal":
43
43
  return import(
44
44
  /* webpackMode: "lazy" */
45
- "./user-deposit-withdrawal-fr3neoMn.js"
45
+ "./user-deposit-withdrawal-CDrCvOid.js"
46
46
  ).then(l, b);
47
47
  }
48
48
  }
@@ -26,7 +26,7 @@ var pe = Object.defineProperty, he = (e, t) => {
26
26
  case "user-deposit-withdrawal":
27
27
  return import(
28
28
  /* webpackMode: "lazy" */
29
- "./user-deposit-withdrawal-DQKmzpPa.js"
29
+ "./user-deposit-withdrawal-CQgRlQVm.js"
30
30
  ).then(l, b);
31
31
  }
32
32
  }
@@ -1,4 +1,4 @@
1
- "use strict";var Q=(e,a,i)=>new Promise((l,p)=>{var v=h=>{try{y(i.next(h))}catch(D){p(D)}},w=h=>{try{y(i.throw(h))}catch(D){p(D)}},y=h=>h.done?l(h.value):Promise.resolve(h.value).then(v,w);y((i=i.apply(e,a)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./index-1ef3a64c-unFd3dmM.cjs"),ce=require("./app-globals-0f993ce5-sCt45RkC.cjs");var X=typeof document!="undefined"?document.currentScript:null,le=()=>{const e=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:X&&X.tagName.toUpperCase()==="SCRIPT"&&X.src||new URL("stencil/user-deposit-withdrawal-CS0F1HBO.cjs",document.baseURI).href,a={};return e!==""&&(a.resourcesUrl=new URL(".",e).href),b.promiseResolve(a)};le().then(e=>Q(exports,null,function*(){return yield ce.globalScripts(),b.bootstrapLazy([["user-deposit-withdrawal",[[1,"user-deposit-withdrawal",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],endpoint:[513],type:[513],channel:[513],language:[513],productType:[513,"product-type"],userId:[513,"user-id"],session:[513],successUrl:[513,"success-url"],cancelUrl:[513,"cancel-url"],failUrl:[513,"fail-url"],sportsUrl:[513,"sports-url"],casinoUrl:[513,"casino-url"],contactUrl:[513,"contact-url"],depositUrl:[513,"deposit-url"],currency:[513],showBonusSelectionInput:[513,"show-bonus-selection-input"],isShortCashier:[516,"is-short-cashier"],homeUrl:[513,"home-url"],beforeRedirect:[16],forwardCashierRedirects:[516,"forward-cashier-redirects"],dynamicHeight:[32],cashierInfoUrl:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}]]]],e)}));const he="en",fe=["ro","en","fr","hr","en-us","es-mx","pt-br","es","de","pt","tr"],ie={en:{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate deposit transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21121:"Dear Player! Please be informed that currently you are allowed to initiate only withdrawal transactions from your player account. Error Code: 21121",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},"en-us":{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate deposit transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21121:"Dear Player! Please be informed that currently you are allowed to initiate only withdrawal transactions from your player account. Error Code: 21121",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},ro:{Deposit:"Depunere",Withdraw:"Retragere",denyDeposit:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de depunere.",denyWithdrawal:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de retragere.",notFoundErrorCode:"Cod de eroare negăsit",errorCode21122:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a iniția o tranzacție de retragere din contul dvs. de jucător. Cod de eroare: 21122",errorCode21123:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a efectua o depunere în contul dvs. de jucător. Cod de eroare: 21123"},fr:{Deposit:"Dépôt",Withdraw:"Retrait",denyDeposit:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de dépôt.",denyWithdrawal:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de retrait.",notFoundErrorCode:"Code d’erreur introuvable",errorCode21122:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier une transaction de retrait depuis votre compte joueur. Code d’erreur : 21122",errorCode21123:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à effectuer un dépôt sur votre compte joueur. Code d’erreur : 21123"},hr:{Deposit:"Uplata",Withdraw:"Isplata",denyDeposit:"Obavještavamo Vas da trenutno nemate mogućnost uplata.",denyWithdrawal:"Obavještavamo vas da trenutno niste ovlašteni za pokretanje transakcija isplate.",notFoundErrorCode:"Not found error code",errorCode21122:"Poštovani, trenutno nije moguće izvršiti isplatu sa Vašeg računa. Error Code: 21122",errorCode21123:"Poštovani, trenutno nije moguće izvršiti uplatu na Vaš račun. Error Code:21123"},de:{Deposit:"Einzahlung",Withdraw:"Abhebung",denyDeposit:"Bitte beachten Sie, dass Sie derzeit keine Einzahlungs-Transaktionen durchführen dürfen.",denyWithdrawal:"Bitte beachten Sie, dass Sie derzeit keine Abhebungs-Transaktionen durchführen dürfen.",notFoundErrorCode:"Fehlercode nicht gefunden",errorCode21122:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Abhebung von Ihrem Spielerkonto durchführen dürfen. Fehlercode: 21122",errorCode21123:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Einzahlung auf Ihr Spielerkonto durchführen dürfen. Fehlercode: 21123"},es:{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},pt:{Deposit:"Depósito",Withdraw:"Levantamento",denyDeposit:"Informamos que atualmente não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente não tem permissão para iniciar transações de levantamento.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente não tem permissão para iniciar uma transação de levantamento na sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente não tem permissão para realizar um depósito na sua conta de jogador. Código de erro: 21123"},"es-mx":{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},"pt-br":{Deposit:"Depósito",Withdraw:"Saque",denyDeposit:"Informamos que atualmente você não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente você não tem permissão para iniciar transações de saque.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente você não tem permissão para iniciar uma transação de saque em sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente você não tem permissão para realizar um depósito em sua conta de jogador. Código de erro: 21123"},tr:{Deposit:"Para Yatırma",Withdraw:"Para Çekme",denyDeposit:"Lütfen şu anda para yatırma işlemi başlatamayacağınızı bilgilerinize sunarız.",denyWithdrawal:"Lütfen şu anda para çekme işlemi başlatamayacağınızı bilgilerinize sunarız.",notFoundErrorCode:"Hata kodu bulunamadı",errorCode21122:"Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınızdan para çekme işlemi başlatamayacağınızı bilgilerinize sunarız. Hata Kodu: 21122",errorCode21123:"Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınıza para yatırma işlemi yapamayacağınızı bilgilerinize sunarız. Hata Kodu: 21123"}},pe=e=>new Promise(a=>{fetch(e).then(i=>i.json()).then(i=>{Object.keys(i).forEach(l=>{for(let p in i[l])ie[l][p]=i[l][p]}),a(!0)})}),j=(e,a)=>{const i=a;return ie[i!==void 0&&fe.includes(i)?i:he][e]},Y="__WIDGET_GLOBAL_STYLE_CACHE__";function te(e,a){if(e){const i=document.createElement("style");i.innerHTML=a,e.appendChild(i)}}function re(e,a){if(!e||!a)return;const i=new URL(a);fetch(i.href).then(l=>l.text()).then(l=>{const p=document.createElement("style");p.innerHTML=l,e&&e.appendChild(p)}).catch(l=>{console.error("There was an error while trying to load client styling from URL",l)})}function me(e,a,i,l=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!l)return i=ye(e,a),i;window[Y]||(window[Y]={}),i=ge(e,a);const v=i.unsubscribe.bind(i),w=()=>{if(window[Y][a]){const y=window[Y][a];y.refCount>1?y.refCount=y.refCount-1:delete window[Y][a]}v()};return i.unsubscribe=w,i}function ye(e,a){const i=document.createElement("style");return window.emMessageBus.subscribe(a,l=>{e&&(i.innerHTML=l,e.appendChild(i))})}function ge(e,a){return window.emMessageBus.subscribe(a,i=>{var y;if(!e)return;const l=e.getRootNode(),p=window[Y];let v=(y=p[a])==null?void 0:y.sheet;v?p[a].refCount=p[a].refCount+1:(v=new CSSStyleSheet,v.replaceSync(i),p[a]={sheet:v,refCount:1});const w=l.adoptedStyleSheets||[];w.includes(v)||(l.adoptedStyleSheets=[...w,v])})}const we=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));var oe=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ae={exports:{}};(function(e,a){(function(i,l){e.exports=l()})(oe,function(){var i=1e3,l=6e4,p=36e5,v="millisecond",w="second",y="minute",h="hour",D="day",_="week",U="month",G="quarter",L="year",k="date",u="Invalid Date",T=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,H=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,F={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(s){var n=["th","st","nd","rd"],t=s%100;return"["+s+(n[(t-20)%10]||n[t]||n[0])+"]"}},W=function(s,n,t){var o=String(s);return!o||o.length>=n?s:""+Array(n+1-o.length).join(t)+s},Z={s:W,z:function(s){var n=-s.utcOffset(),t=Math.abs(n),o=Math.floor(t/60),r=t%60;return(n<=0?"+":"-")+W(o,2,"0")+":"+W(r,2,"0")},m:function s(n,t){if(n.date()<t.date())return-s(t,n);var o=12*(t.year()-n.year())+(t.month()-n.month()),r=n.clone().add(o,U),d=t-r<0,c=n.clone().add(o+(d?-1:1),U);return+(-(o+(t-r)/(d?r-c:c-r))||0)},a:function(s){return s<0?Math.ceil(s)||0:Math.floor(s)},p:function(s){return{M:U,y:L,w:_,d:D,D:k,h,m:y,s:w,ms:v,Q:G}[s]||String(s||"").toLowerCase().replace(/s$/,"")},u:function(s){return s===void 0}},z="en",R={};R[z]=F;var q="$isDayjsObject",B=function(s){return s instanceof J||!(!s||!s[q])},O=function s(n,t,o){var r;if(!n)return z;if(typeof n=="string"){var d=n.toLowerCase();R[d]&&(r=d),t&&(R[d]=t,r=d);var c=n.split("-");if(!r&&c.length>1)return s(c[0])}else{var m=n.name;R[m]=n,r=m}return!o&&r&&(z=r),r||!o&&z},C=function(s,n){if(B(s))return s.clone();var t=typeof n=="object"?n:{};return t.date=s,t.args=arguments,new J(t)},f=Z;f.l=O,f.i=B,f.w=function(s,n){return C(s,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var J=function(){function s(t){this.$L=O(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[q]=!0}var n=s.prototype;return n.parse=function(t){this.$d=function(o){var r=o.date,d=o.utc;if(r===null)return new Date(NaN);if(f.u(r))return new Date;if(r instanceof Date)return new Date(r);if(typeof r=="string"&&!/Z$/i.test(r)){var c=r.match(T);if(c){var m=c[2]-1||0,g=(c[7]||"0").substring(0,3);return d?new Date(Date.UTC(c[1],m,c[3]||1,c[4]||0,c[5]||0,c[6]||0,g)):new Date(c[1],m,c[3]||1,c[4]||0,c[5]||0,c[6]||0,g)}}return new Date(r)}(t),this.init()},n.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},n.$utils=function(){return f},n.isValid=function(){return this.$d.toString()!==u},n.isSame=function(t,o){var r=C(t);return this.startOf(o)<=r&&r<=this.endOf(o)},n.isAfter=function(t,o){return C(t)<this.startOf(o)},n.isBefore=function(t,o){return this.endOf(o)<C(t)},n.$g=function(t,o,r){return f.u(t)?this[o]:this.set(r,t)},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this.$d.getTime()},n.startOf=function(t,o){var r=this,d=!!f.u(o)||o,c=f.p(t),m=function(P,M){var x=f.w(r.$u?Date.UTC(r.$y,M,P):new Date(r.$y,M,P),r);return d?x:x.endOf(D)},g=function(P,M){return f.w(r.toDate()[P].apply(r.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(M)),r)},S=this.$W,$=this.$M,E=this.$D,A="set"+(this.$u?"UTC":"");switch(c){case L:return d?m(1,0):m(31,11);case U:return d?m(1,$):m(0,$+1);case _:var I=this.$locale().weekStart||0,N=(S<I?S+7:S)-I;return m(d?E-N:E+(6-N),$);case D:case k:return g(A+"Hours",0);case h:return g(A+"Minutes",1);case y:return g(A+"Seconds",2);case w:return g(A+"Milliseconds",3);default:return this.clone()}},n.endOf=function(t){return this.startOf(t,!1)},n.$set=function(t,o){var r,d=f.p(t),c="set"+(this.$u?"UTC":""),m=(r={},r[D]=c+"Date",r[k]=c+"Date",r[U]=c+"Month",r[L]=c+"FullYear",r[h]=c+"Hours",r[y]=c+"Minutes",r[w]=c+"Seconds",r[v]=c+"Milliseconds",r)[d],g=d===D?this.$D+(o-this.$W):o;if(d===U||d===L){var S=this.clone().set(k,1);S.$d[m](g),S.init(),this.$d=S.set(k,Math.min(this.$D,S.daysInMonth())).$d}else m&&this.$d[m](g);return this.init(),this},n.set=function(t,o){return this.clone().$set(t,o)},n.get=function(t){return this[f.p(t)]()},n.add=function(t,o){var r,d=this;t=Number(t);var c=f.p(o),m=function($){var E=C(d);return f.w(E.date(E.date()+Math.round($*t)),d)};if(c===U)return this.set(U,this.$M+t);if(c===L)return this.set(L,this.$y+t);if(c===D)return m(1);if(c===_)return m(7);var g=(r={},r[y]=l,r[h]=p,r[w]=i,r)[c]||1,S=this.$d.getTime()+t*g;return f.w(S,this)},n.subtract=function(t,o){return this.add(-1*t,o)},n.format=function(t){var o=this,r=this.$locale();if(!this.isValid())return r.invalidDate||u;var d=t||"YYYY-MM-DDTHH:mm:ssZ",c=f.z(this),m=this.$H,g=this.$m,S=this.$M,$=r.weekdays,E=r.months,A=r.meridiem,I=function(M,x,V,K){return M&&(M[x]||M(o,d))||V[x].slice(0,K)},N=function(M){return f.s(m%12||12,M,"0")},P=A||function(M,x,V){var K=M<12?"AM":"PM";return V?K.toLowerCase():K};return d.replace(H,function(M,x){return x||function(V){switch(V){case"YY":return String(o.$y).slice(-2);case"YYYY":return f.s(o.$y,4,"0");case"M":return S+1;case"MM":return f.s(S+1,2,"0");case"MMM":return I(r.monthsShort,S,E,3);case"MMMM":return I(E,S);case"D":return o.$D;case"DD":return f.s(o.$D,2,"0");case"d":return String(o.$W);case"dd":return I(r.weekdaysMin,o.$W,$,2);case"ddd":return I(r.weekdaysShort,o.$W,$,3);case"dddd":return $[o.$W];case"H":return String(m);case"HH":return f.s(m,2,"0");case"h":return N(1);case"hh":return N(2);case"a":return P(m,g,!0);case"A":return P(m,g,!1);case"m":return String(g);case"mm":return f.s(g,2,"0");case"s":return String(o.$s);case"ss":return f.s(o.$s,2,"0");case"SSS":return f.s(o.$ms,3,"0");case"Z":return c}return null}(M)||c.replace(":","")})},n.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},n.diff=function(t,o,r){var d,c=this,m=f.p(o),g=C(t),S=(g.utcOffset()-this.utcOffset())*l,$=this-g,E=function(){return f.m(c,g)};switch(m){case L:d=E()/12;break;case U:d=E();break;case G:d=E()/3;break;case _:d=($-S)/6048e5;break;case D:d=($-S)/864e5;break;case h:d=$/p;break;case y:d=$/l;break;case w:d=$/i;break;default:d=$}return r?d:f.a(d)},n.daysInMonth=function(){return this.endOf(U).$D},n.$locale=function(){return R[this.$L]},n.locale=function(t,o){if(!t)return this.$L;var r=this.clone(),d=O(t,o,!0);return d&&(r.$L=d),r},n.clone=function(){return f.w(this.$d,this)},n.toDate=function(){return new Date(this.valueOf())},n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toISOString=function(){return this.$d.toISOString()},n.toString=function(){return this.$d.toUTCString()},s}(),ee=J.prototype;return C.prototype=ee,[["$ms",v],["$s",w],["$m",y],["$H",h],["$W",D],["$M",U],["$y",L],["$D",k]].forEach(function(s){ee[s[1]]=function(n){return this.$g(n,s[0],s[1])}}),C.extend=function(s,n){return s.$i||(s(n,J,C),s.$i=!0),C},C.locale=O,C.isDayjs=B,C.unix=function(s){return C(1e3*s)},C.en=R[z],C.Ls=R,C.p={},C})})(ae);const se=ae.exports;var ue={exports:{}};(function(e,a){(function(i,l){e.exports=l()})(oe,function(){var i="minute",l=/[+-]\d\d(?::?\d\d)?/g,p=/([+-]|\d\d)/g;return function(v,w,y){var h=w.prototype;y.utc=function(u){var T={date:u,utc:!0,args:arguments};return new w(T)},h.utc=function(u){var T=y(this.toDate(),{locale:this.$L,utc:!0});return u?T.add(this.utcOffset(),i):T},h.local=function(){return y(this.toDate(),{locale:this.$L,utc:!1})};var D=h.parse;h.parse=function(u){u.utc&&(this.$u=!0),this.$utils().u(u.$offset)||(this.$offset=u.$offset),D.call(this,u)};var _=h.init;h.init=function(){if(this.$u){var u=this.$d;this.$y=u.getUTCFullYear(),this.$M=u.getUTCMonth(),this.$D=u.getUTCDate(),this.$W=u.getUTCDay(),this.$H=u.getUTCHours(),this.$m=u.getUTCMinutes(),this.$s=u.getUTCSeconds(),this.$ms=u.getUTCMilliseconds()}else _.call(this)};var U=h.utcOffset;h.utcOffset=function(u,T){var H=this.$utils().u;if(H(u))return this.$u?0:H(this.$offset)?U.call(this):this.$offset;if(typeof u=="string"&&(u=function(z){z===void 0&&(z="");var R=z.match(l);if(!R)return null;var q=(""+R[0]).match(p)||["-",0,0],B=q[0],O=60*+q[1]+ +q[2];return O===0?0:B==="+"?O:-O}(u),u===null))return this;var F=Math.abs(u)<=16?60*u:u,W=this;if(T)return W.$offset=F,W.$u=u===0,W;if(u!==0){var Z=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(W=this.local().add(F+Z,i)).$offset=F,W.$x.$localOffset=Z}else W=this.utc();return W};var G=h.format;h.format=function(u){var T=u||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return G.call(this,T)},h.valueOf=function(){var u=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*u},h.isUTC=function(){return!!this.$u},h.toISOString=function(){return this.toDate().toISOString()},h.toString=function(){return this.toDate().toUTCString()};var L=h.toDate;h.toDate=function(u){return u==="s"&&this.$offset?y(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():L.call(this)};var k=h.diff;h.diff=function(u,T,H){if(u&&this.$u===u.$u)return k.call(this,u,T,H);var F=this.local(),W=y(u).local();return k.call(F,W,T,H)}}})})(ue);const Ce=ue.exports,Se=`:host {
1
+ "use strict";var Q=(e,o,i)=>new Promise((l,p)=>{var v=h=>{try{y(i.next(h))}catch(D){p(D)}},w=h=>{try{y(i.throw(h))}catch(D){p(D)}},y=h=>h.done?l(h.value):Promise.resolve(h.value).then(v,w);y((i=i.apply(e,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./index-1ef3a64c-B8ctmK70.cjs"),le=require("./app-globals-0f993ce5-sCt45RkC.cjs");var X=typeof document!="undefined"?document.currentScript:null,he=()=>{const e=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:X&&X.tagName.toUpperCase()==="SCRIPT"&&X.src||new URL("stencil/user-deposit-withdrawal-3jur3ZSe.cjs",document.baseURI).href,o={};return e!==""&&(o.resourcesUrl=new URL(".",e).href),b.promiseResolve(o)};he().then(e=>Q(exports,null,function*(){return yield le.globalScripts(),b.bootstrapLazy([["user-deposit-withdrawal",[[1,"user-deposit-withdrawal",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],endpoint:[513],type:[513],channel:[513],language:[513],productType:[513,"product-type"],userId:[513,"user-id"],session:[513],successUrl:[513,"success-url"],cancelUrl:[513,"cancel-url"],failUrl:[513,"fail-url"],sportsUrl:[513,"sports-url"],casinoUrl:[513,"casino-url"],contactUrl:[513,"contact-url"],depositUrl:[513,"deposit-url"],currency:[513],showBonusSelectionInput:[513,"show-bonus-selection-input"],isShortCashier:[516,"is-short-cashier"],homeUrl:[513,"home-url"],beforeRedirect:[16],forwardCashierRedirects:[516,"forward-cashier-redirects"],dynamicHeight:[32],cashierInfoUrl:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}]]]],e)}));const fe="en",pe=["ro","en","fr","hr","en-us","es-mx","pt-br","es","de","pt","tr"],oe={en:{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate deposit transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21121:"Dear Player! Please be informed that currently you are allowed to initiate only withdrawal transactions from your player account. Error Code: 21121",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},"en-us":{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate deposit transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21121:"Dear Player! Please be informed that currently you are allowed to initiate only withdrawal transactions from your player account. Error Code: 21121",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},ro:{Deposit:"Depunere",Withdraw:"Retragere",denyDeposit:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de depunere.",denyWithdrawal:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de retragere.",notFoundErrorCode:"Cod de eroare negăsit",errorCode21122:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a iniția o tranzacție de retragere din contul dvs. de jucător. Cod de eroare: 21122",errorCode21123:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a efectua o depunere în contul dvs. de jucător. Cod de eroare: 21123"},fr:{Deposit:"Dépôt",Withdraw:"Retrait",denyDeposit:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de dépôt.",denyWithdrawal:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de retrait.",notFoundErrorCode:"Code d’erreur introuvable",errorCode21122:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier une transaction de retrait depuis votre compte joueur. Code d’erreur : 21122",errorCode21123:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à effectuer un dépôt sur votre compte joueur. Code d’erreur : 21123"},hr:{Deposit:"Uplata",Withdraw:"Isplata",denyDeposit:"Obavještavamo Vas da trenutno nemate mogućnost uplata.",denyWithdrawal:"Obavještavamo vas da trenutno niste ovlašteni za pokretanje transakcija isplate.",notFoundErrorCode:"Not found error code",errorCode21122:"Poštovani, trenutno nije moguće izvršiti isplatu sa Vašeg računa. Error Code: 21122",errorCode21123:"Poštovani, trenutno nije moguće izvršiti uplatu na Vaš račun. Error Code:21123"},de:{Deposit:"Einzahlung",Withdraw:"Abhebung",denyDeposit:"Bitte beachten Sie, dass Sie derzeit keine Einzahlungs-Transaktionen durchführen dürfen.",denyWithdrawal:"Bitte beachten Sie, dass Sie derzeit keine Abhebungs-Transaktionen durchführen dürfen.",notFoundErrorCode:"Fehlercode nicht gefunden",errorCode21122:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Abhebung von Ihrem Spielerkonto durchführen dürfen. Fehlercode: 21122",errorCode21123:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Einzahlung auf Ihr Spielerkonto durchführen dürfen. Fehlercode: 21123"},es:{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},pt:{Deposit:"Depósito",Withdraw:"Levantamento",denyDeposit:"Informamos que atualmente não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente não tem permissão para iniciar transações de levantamento.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente não tem permissão para iniciar uma transação de levantamento na sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente não tem permissão para realizar um depósito na sua conta de jogador. Código de erro: 21123"},"es-mx":{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},"pt-br":{Deposit:"Depósito",Withdraw:"Saque",denyDeposit:"Informamos que atualmente você não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente você não tem permissão para iniciar transações de saque.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente você não tem permissão para iniciar uma transação de saque em sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente você não tem permissão para realizar um depósito em sua conta de jogador. Código de erro: 21123"},tr:{Deposit:"Para Yatırma",Withdraw:"Para Çekme",denyDeposit:"Lütfen şu anda para yatırma işlemi başlatamayacağınızı bilgilerinize sunarız.",denyWithdrawal:"Lütfen şu anda para çekme işlemi başlatamayacağınızı bilgilerinize sunarız.",notFoundErrorCode:"Hata kodu bulunamadı",errorCode21122:"Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınızdan para çekme işlemi başlatamayacağınızı bilgilerinize sunarız. Hata Kodu: 21122",errorCode21123:"Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınıza para yatırma işlemi yapamayacağınızı bilgilerinize sunarız. Hata Kodu: 21123"}},me=e=>new Promise(o=>{fetch(e).then(i=>i.json()).then(i=>{Object.keys(i).forEach(l=>{for(let p in i[l])oe[l][p]=i[l][p]}),o(!0)})}),j=(e,o)=>{const i=o;return oe[i!==void 0&&pe.includes(i)?i:fe][e]},Y="__WIDGET_GLOBAL_STYLE_CACHE__";function te(e,o){if(e){const i=document.createElement("style");i.innerHTML=o,e.appendChild(i)}}function re(e,o){if(!e||!o)return;const i=new URL(o);fetch(i.href).then(l=>l.text()).then(l=>{const p=document.createElement("style");p.innerHTML=l,e&&e.appendChild(p)}).catch(l=>{console.error("There was an error while trying to load client styling from URL",l)})}function ye(e,o,i,l=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!l)return i=ge(e,o),i;window[Y]||(window[Y]={}),i=we(e,o);const v=i.unsubscribe.bind(i),w=()=>{if(window[Y][o]){const y=window[Y][o];y.refCount>1?y.refCount=y.refCount-1:delete window[Y][o]}v()};return i.unsubscribe=w,i}function ge(e,o){const i=document.createElement("style");return window.emMessageBus.subscribe(o,l=>{e&&(i.innerHTML=l,e.appendChild(i))})}function we(e,o){return window.emMessageBus.subscribe(o,i=>{var y;if(!e)return;const l=e.getRootNode(),p=window[Y];let v=(y=p[o])==null?void 0:y.sheet;v?p[o].refCount=p[o].refCount+1:(v=new CSSStyleSheet,v.replaceSync(i),p[o]={sheet:v,refCount:1});const w=l.adoptedStyleSheets||[];w.includes(v)||(l.adoptedStyleSheets=[...w,v])})}const Ce=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));var ae=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},se={exports:{}};(function(e,o){(function(i,l){e.exports=l()})(ae,function(){var i=1e3,l=6e4,p=36e5,v="millisecond",w="second",y="minute",h="hour",D="day",_="week",U="month",G="quarter",R="year",k="date",u="Invalid Date",E=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,H=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,F={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(s){var n=["th","st","nd","rd"],t=s%100;return"["+s+(n[(t-20)%10]||n[t]||n[0])+"]"}},T=function(s,n,t){var a=String(s);return!a||a.length>=n?s:""+Array(n+1-a.length).join(t)+s},Z={s:T,z:function(s){var n=-s.utcOffset(),t=Math.abs(n),a=Math.floor(t/60),r=t%60;return(n<=0?"+":"-")+T(a,2,"0")+":"+T(r,2,"0")},m:function s(n,t){if(n.date()<t.date())return-s(t,n);var a=12*(t.year()-n.year())+(t.month()-n.month()),r=n.clone().add(a,U),d=t-r<0,c=n.clone().add(a+(d?-1:1),U);return+(-(a+(t-r)/(d?r-c:c-r))||0)},a:function(s){return s<0?Math.ceil(s)||0:Math.floor(s)},p:function(s){return{M:U,y:R,w:_,d:D,D:k,h,m:y,s:w,ms:v,Q:G}[s]||String(s||"").toLowerCase().replace(/s$/,"")},u:function(s){return s===void 0}},z="en",L={};L[z]=F;var q="$isDayjsObject",B=function(s){return s instanceof J||!(!s||!s[q])},O=function s(n,t,a){var r;if(!n)return z;if(typeof n=="string"){var d=n.toLowerCase();L[d]&&(r=d),t&&(L[d]=t,r=d);var c=n.split("-");if(!r&&c.length>1)return s(c[0])}else{var m=n.name;L[m]=n,r=m}return!a&&r&&(z=r),r||!a&&z},C=function(s,n){if(B(s))return s.clone();var t=typeof n=="object"?n:{};return t.date=s,t.args=arguments,new J(t)},f=Z;f.l=O,f.i=B,f.w=function(s,n){return C(s,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var J=function(){function s(t){this.$L=O(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[q]=!0}var n=s.prototype;return n.parse=function(t){this.$d=function(a){var r=a.date,d=a.utc;if(r===null)return new Date(NaN);if(f.u(r))return new Date;if(r instanceof Date)return new Date(r);if(typeof r=="string"&&!/Z$/i.test(r)){var c=r.match(E);if(c){var m=c[2]-1||0,g=(c[7]||"0").substring(0,3);return d?new Date(Date.UTC(c[1],m,c[3]||1,c[4]||0,c[5]||0,c[6]||0,g)):new Date(c[1],m,c[3]||1,c[4]||0,c[5]||0,c[6]||0,g)}}return new Date(r)}(t),this.init()},n.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},n.$utils=function(){return f},n.isValid=function(){return this.$d.toString()!==u},n.isSame=function(t,a){var r=C(t);return this.startOf(a)<=r&&r<=this.endOf(a)},n.isAfter=function(t,a){return C(t)<this.startOf(a)},n.isBefore=function(t,a){return this.endOf(a)<C(t)},n.$g=function(t,a,r){return f.u(t)?this[a]:this.set(r,t)},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this.$d.getTime()},n.startOf=function(t,a){var r=this,d=!!f.u(a)||a,c=f.p(t),m=function(P,M){var x=f.w(r.$u?Date.UTC(r.$y,M,P):new Date(r.$y,M,P),r);return d?x:x.endOf(D)},g=function(P,M){return f.w(r.toDate()[P].apply(r.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(M)),r)},S=this.$W,$=this.$M,W=this.$D,A="set"+(this.$u?"UTC":"");switch(c){case R:return d?m(1,0):m(31,11);case U:return d?m(1,$):m(0,$+1);case _:var I=this.$locale().weekStart||0,N=(S<I?S+7:S)-I;return m(d?W-N:W+(6-N),$);case D:case k:return g(A+"Hours",0);case h:return g(A+"Minutes",1);case y:return g(A+"Seconds",2);case w:return g(A+"Milliseconds",3);default:return this.clone()}},n.endOf=function(t){return this.startOf(t,!1)},n.$set=function(t,a){var r,d=f.p(t),c="set"+(this.$u?"UTC":""),m=(r={},r[D]=c+"Date",r[k]=c+"Date",r[U]=c+"Month",r[R]=c+"FullYear",r[h]=c+"Hours",r[y]=c+"Minutes",r[w]=c+"Seconds",r[v]=c+"Milliseconds",r)[d],g=d===D?this.$D+(a-this.$W):a;if(d===U||d===R){var S=this.clone().set(k,1);S.$d[m](g),S.init(),this.$d=S.set(k,Math.min(this.$D,S.daysInMonth())).$d}else m&&this.$d[m](g);return this.init(),this},n.set=function(t,a){return this.clone().$set(t,a)},n.get=function(t){return this[f.p(t)]()},n.add=function(t,a){var r,d=this;t=Number(t);var c=f.p(a),m=function($){var W=C(d);return f.w(W.date(W.date()+Math.round($*t)),d)};if(c===U)return this.set(U,this.$M+t);if(c===R)return this.set(R,this.$y+t);if(c===D)return m(1);if(c===_)return m(7);var g=(r={},r[y]=l,r[h]=p,r[w]=i,r)[c]||1,S=this.$d.getTime()+t*g;return f.w(S,this)},n.subtract=function(t,a){return this.add(-1*t,a)},n.format=function(t){var a=this,r=this.$locale();if(!this.isValid())return r.invalidDate||u;var d=t||"YYYY-MM-DDTHH:mm:ssZ",c=f.z(this),m=this.$H,g=this.$m,S=this.$M,$=r.weekdays,W=r.months,A=r.meridiem,I=function(M,x,V,K){return M&&(M[x]||M(a,d))||V[x].slice(0,K)},N=function(M){return f.s(m%12||12,M,"0")},P=A||function(M,x,V){var K=M<12?"AM":"PM";return V?K.toLowerCase():K};return d.replace(H,function(M,x){return x||function(V){switch(V){case"YY":return String(a.$y).slice(-2);case"YYYY":return f.s(a.$y,4,"0");case"M":return S+1;case"MM":return f.s(S+1,2,"0");case"MMM":return I(r.monthsShort,S,W,3);case"MMMM":return I(W,S);case"D":return a.$D;case"DD":return f.s(a.$D,2,"0");case"d":return String(a.$W);case"dd":return I(r.weekdaysMin,a.$W,$,2);case"ddd":return I(r.weekdaysShort,a.$W,$,3);case"dddd":return $[a.$W];case"H":return String(m);case"HH":return f.s(m,2,"0");case"h":return N(1);case"hh":return N(2);case"a":return P(m,g,!0);case"A":return P(m,g,!1);case"m":return String(g);case"mm":return f.s(g,2,"0");case"s":return String(a.$s);case"ss":return f.s(a.$s,2,"0");case"SSS":return f.s(a.$ms,3,"0");case"Z":return c}return null}(M)||c.replace(":","")})},n.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},n.diff=function(t,a,r){var d,c=this,m=f.p(a),g=C(t),S=(g.utcOffset()-this.utcOffset())*l,$=this-g,W=function(){return f.m(c,g)};switch(m){case R:d=W()/12;break;case U:d=W();break;case G:d=W()/3;break;case _:d=($-S)/6048e5;break;case D:d=($-S)/864e5;break;case h:d=$/p;break;case y:d=$/l;break;case w:d=$/i;break;default:d=$}return r?d:f.a(d)},n.daysInMonth=function(){return this.endOf(U).$D},n.$locale=function(){return L[this.$L]},n.locale=function(t,a){if(!t)return this.$L;var r=this.clone(),d=O(t,a,!0);return d&&(r.$L=d),r},n.clone=function(){return f.w(this.$d,this)},n.toDate=function(){return new Date(this.valueOf())},n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toISOString=function(){return this.$d.toISOString()},n.toString=function(){return this.$d.toUTCString()},s}(),ee=J.prototype;return C.prototype=ee,[["$ms",v],["$s",w],["$m",y],["$H",h],["$W",D],["$M",U],["$y",R],["$D",k]].forEach(function(s){ee[s[1]]=function(n){return this.$g(n,s[0],s[1])}}),C.extend=function(s,n){return s.$i||(s(n,J,C),s.$i=!0),C},C.locale=O,C.isDayjs=B,C.unix=function(s){return C(1e3*s)},C.en=L[z],C.Ls=L,C.p={},C})})(se);const ue=se.exports;var de={exports:{}};(function(e,o){(function(i,l){e.exports=l()})(ae,function(){var i="minute",l=/[+-]\d\d(?::?\d\d)?/g,p=/([+-]|\d\d)/g;return function(v,w,y){var h=w.prototype;y.utc=function(u){var E={date:u,utc:!0,args:arguments};return new w(E)},h.utc=function(u){var E=y(this.toDate(),{locale:this.$L,utc:!0});return u?E.add(this.utcOffset(),i):E},h.local=function(){return y(this.toDate(),{locale:this.$L,utc:!1})};var D=h.parse;h.parse=function(u){u.utc&&(this.$u=!0),this.$utils().u(u.$offset)||(this.$offset=u.$offset),D.call(this,u)};var _=h.init;h.init=function(){if(this.$u){var u=this.$d;this.$y=u.getUTCFullYear(),this.$M=u.getUTCMonth(),this.$D=u.getUTCDate(),this.$W=u.getUTCDay(),this.$H=u.getUTCHours(),this.$m=u.getUTCMinutes(),this.$s=u.getUTCSeconds(),this.$ms=u.getUTCMilliseconds()}else _.call(this)};var U=h.utcOffset;h.utcOffset=function(u,E){var H=this.$utils().u;if(H(u))return this.$u?0:H(this.$offset)?U.call(this):this.$offset;if(typeof u=="string"&&(u=function(z){z===void 0&&(z="");var L=z.match(l);if(!L)return null;var q=(""+L[0]).match(p)||["-",0,0],B=q[0],O=60*+q[1]+ +q[2];return O===0?0:B==="+"?O:-O}(u),u===null))return this;var F=Math.abs(u)<=16?60*u:u,T=this;if(E)return T.$offset=F,T.$u=u===0,T;if(u!==0){var Z=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(T=this.local().add(F+Z,i)).$offset=F,T.$x.$localOffset=Z}else T=this.utc();return T};var G=h.format;h.format=function(u){var E=u||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return G.call(this,E)},h.valueOf=function(){var u=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*u},h.isUTC=function(){return!!this.$u},h.toISOString=function(){return this.toDate().toISOString()},h.toString=function(){return this.toDate().toUTCString()};var R=h.toDate;h.toDate=function(u){return u==="s"&&this.$offset?y(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():R.call(this)};var k=h.diff;h.diff=function(u,E,H){if(u&&this.$u===u.$u)return k.call(this,u,E,H);var F=this.local(),T=y(u).local();return k.call(F,T,E,H)}}})})(de);const Se=de.exports,be=`:host {
2
2
  font: inherit;
3
3
  display: block;
4
4
  height: 100%;
@@ -69,4 +69,4 @@
69
69
  .DepositWithdrawalWrapper:not(.ShortCashier) {
70
70
  overflow: visible;
71
71
  }
72
- }`,be=Se;se.extend(Ce);const ve="user-deposit-withdrawal",ne=["mm-hcback-to-merchant","mm-hc-back-tomerchant","mm-hc-sports","mm-hc-casino","mm-hc-contact","mm-wm-hc-init-deposit","mm-wm-hc-init-deposit-quick"],$e=()=>{},de=class{constructor(e){b.registerInstance(this,e),this.bindedHandler=this.handleMessage.bind(this),this.userAgent=window.navigator.userAgent,this.isMobile=we(this.userAgent),this.errorCodes=["21123","21122","21121"],this.toggleScreen=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:this.isMobile},window.location.href)},this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.endpoint=void 0,this.type=void 0,this.channel=void 0,this.language=void 0,this.productType="",this.userId=void 0,this.session=void 0,this.successUrl=void 0,this.cancelUrl=void 0,this.failUrl=void 0,this.sportsUrl=void 0,this.casinoUrl=void 0,this.contactUrl=void 0,this.depositUrl=void 0,this.currency="",this.showBonusSelectionInput="true",this.isShortCashier=!1,this.homeUrl=void 0,this.beforeRedirect=$e,this.forwardCashierRedirects=!1,this.dynamicHeight=void 0,this.cashierInfoUrl=void 0}get typeParameter(){if(this.type==="deposit")return"Deposit";if(this.type==="withdraw")return"Withdraw"}handleClientStylingChange(e,a){e!=a&&te(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,a){e!=a&&this.clientStylingUrl&&re(this.stylingContainer,this.clientStylingUrl)}componentWillLoad(){return Q(this,null,function*(){if(yield this.loadWidget(),this.translationUrl)return pe(this.translationUrl)})}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?me(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription):(this.clientStyling&&te(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&re(this.stylingContainer,this.clientStylingUrl))),window.addEventListener("message",this.bindedHandler,!1)}disconnectedCallback(){window.removeEventListener("message",this.bindedHandler,!1),this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){return b.h(b.Host,{key:"46153b61097691f3a3b2da29aa260edf0688f01c"},b.h("div",{key:"0082deaaf9c6348cff4010ec8b1f58e5ea26e99b",ref:e=>this.stylingContainer=e,class:""},b.h("div",{key:"8aec364ea2134d01c2b29fc75136cad08fd5d965",class:`DepositWithdrawalWrapper ${this.isShortCashier?"ShortCashier":""}`},!(this.isMobile&&!this.isShortCashier)&&b.h("h2",{key:"4b0184e2354199332c8438b4430c047982364dff",class:"CategoryTitle"},j(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language)),b.h("div",{key:"49c9dbda82eb6576bc11375371f4359ba0b0285d",style:{marginTop:this.isShortCashier?"30px":"0"}},this.isMobile&&!this.isShortCashier?b.h("div",{class:"MenuReturnButton",onClick:this.toggleScreen},b.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},b.h("defs",null),b.h("g",{transform:"translate(-20 -158)"},b.h("g",{transform:"translate(20 158)"},b.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)"})))),b.h("h2",{class:"CategoryTitleMobile"},j(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language))):null),this.cashierInfoUrl?b.h("iframe",{width:"100%",allow:"payment",height:this.dynamicHeight,src:this.cashierInfoUrl}):b.h("h3",{innerHTML:this.type==="deposit"?j("denyDeposit",this.language):j("denyWithdrawal",this.language),class:"ErrorMessage"}))))}loadWidget(){return Q(this,null,function*(){const e={Channel:this.channel,Type:this.typeParameter,SuccessUrl:this.successUrl,CancelUrl:this.cancelUrl,FailUrl:this.failUrl,Language:this.language,productType:this.productType,isShortCashier:this.isShortCashier,currency:this.currency,showBonusSelectionInput:this.showBonusSelectionInput};if(!(Object.values(e).some(a=>a===void 0)||!this.endpoint))try{const a=`${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`,i=yield fetch(a,{method:"POST",headers:{"X-Sessionid":this.session,"Content-Type":"application/json","X-Client-Request-Timestamp":se.utc().format("YYYY-MM-DD HH:mm:ss.SSS")},body:JSON.stringify(e)});if(!i.ok){const p=yield i.text();throw new Error(p)}const l=yield i.json();if(l.CashierInfo)this.cashierInfoUrl=l.CashierInfo.Url;else{let p;if(l.ResponseMessage){let w=this.errorCodes.find(y=>l.ResponseMessage.includes(y))||null;w?p=j(`errorCode${w}`,this.language):p=j("notFoundErrorCode",this.language)}else p=this.type==="deposit"?j("denyDeposit",this.language):j("denyWithdrawal",this.language);const v={type:"error",message:p};window.postMessage({type:"DenyDepositOrWithdrawal",data:v},window.location.href)}}catch(a){console.error(a)}})}handleMessage(e){const a=this.extractPayload(e);if(!a)return;this.applyLayoutHints(a);const i=this.extractCashierRedirectReason(a);if(!i||this.emitForwardedRedirect(e,i))return;const l=this.resolveRedirectPlan(i);l&&this.doRedirect(l.reason,l.targetUrl)}extractCashierRedirectReason(e){if(typeof(e==null?void 0:e.type)=="string"&&ne.includes(e.type))return e.type;if(typeof(e==null?void 0:e.redirect)=="string"&&ne.includes(e.redirect))return e.redirect}extractPayload(e){if(!(!(e!=null&&e.data)||typeof e.data!="object"))return e.data}applyLayoutHints(e){e["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),e["MMFE:setQuickDepositHeight"]&&this.isShortCashier&&(this.dynamicHeight=e["MMFE:setQuickDepositHeight"].toString()+"px"),e["MMFE:setIFrameHeight"]&&(this.dynamicHeight=e["MMFE:setIFrameHeight"].toString()+"px")}resolveRedirectPlan(e){switch(e){case"mm-hcback-to-merchant":case"mm-hc-back-tomerchant":return this.buildRedirectPlan(e,this.homeUrl);case"mm-hc-sports":return this.buildRedirectPlan(e,this.sportsUrl);case"mm-hc-casino":return this.buildRedirectPlan(window.location.href,this.casinoUrl);case"mm-hc-contact":return window.postMessage({type:"CloseShortCashier"},window.location.href),this.buildRedirectPlan(window.location.href,this.contactUrl);case"mm-wm-hc-init-deposit":case"mm-wm-hc-init-deposit-quick":return window.postMessage({type:"CloseShortCashier"},window.location.href),this.buildRedirectPlan(window.location.href,this.depositUrl);default:return}}buildRedirectPlan(e,a){if(a)return{reason:e,targetUrl:a}}emitForwardedRedirect(e,a){if(!this.forwardCashierRedirects)return!1;const i={type:`${ve}:${a}`,originalType:a,payload:e.data,origin:e.origin};return window.postMessage(i,window.location.href),!0}doRedirect(e,a){const i={reason:e,url:a,cancel:!1};if(this.beforeRedirect(i),!i.cancel){if(!i.url){window.location.href="/";return}window.location.href=i.url}}static get watchers(){return{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};de.style=be;exports.user_deposit_withdrawal=de;
72
+ }`,ve=be;ue.extend(Se);const ne="user-deposit-withdrawal",ie=["mm-hcback-to-merchant","mm-hc-back-tomerchant","mm-hc-sports","mm-hc-casino","mm-hc-contact","mm-wm-hc-init-deposit","mm-wm-hc-init-deposit-quick"],$e=()=>{},ce=class{constructor(e){b.registerInstance(this,e),this.bindedHandler=this.handleMessage.bind(this),this.userAgent=window.navigator.userAgent,this.isMobile=Ce(this.userAgent),this.errorCodes=["21123","21122","21121"],this.toggleScreen=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:this.isMobile},window.location.href)},this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.endpoint=void 0,this.type=void 0,this.channel=void 0,this.language=void 0,this.productType="",this.userId=void 0,this.session=void 0,this.successUrl=void 0,this.cancelUrl=void 0,this.failUrl=void 0,this.sportsUrl=void 0,this.casinoUrl=void 0,this.contactUrl=void 0,this.depositUrl=void 0,this.currency="",this.showBonusSelectionInput="true",this.isShortCashier=!1,this.homeUrl=void 0,this.beforeRedirect=$e,this.forwardCashierRedirects=!1,this.dynamicHeight=void 0,this.cashierInfoUrl=void 0}get typeParameter(){if(this.type==="deposit")return"Deposit";if(this.type==="withdraw")return"Withdraw"}handleClientStylingChange(e,o){e!=o&&te(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,o){e!=o&&this.clientStylingUrl&&re(this.stylingContainer,this.clientStylingUrl)}componentWillLoad(){return Q(this,null,function*(){if(yield this.loadWidget(),this.translationUrl)return me(this.translationUrl)})}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?ye(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription):(this.clientStyling&&te(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&re(this.stylingContainer,this.clientStylingUrl))),window.addEventListener("message",this.bindedHandler,!1)}disconnectedCallback(){window.removeEventListener("message",this.bindedHandler,!1),this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){return b.h(b.Host,{key:"46153b61097691f3a3b2da29aa260edf0688f01c"},b.h("div",{key:"0082deaaf9c6348cff4010ec8b1f58e5ea26e99b",ref:e=>this.stylingContainer=e,class:""},b.h("div",{key:"8aec364ea2134d01c2b29fc75136cad08fd5d965",class:`DepositWithdrawalWrapper ${this.isShortCashier?"ShortCashier":""}`},!(this.isMobile&&!this.isShortCashier)&&b.h("h2",{key:"4b0184e2354199332c8438b4430c047982364dff",class:"CategoryTitle"},j(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language)),b.h("div",{key:"49c9dbda82eb6576bc11375371f4359ba0b0285d",style:{marginTop:this.isShortCashier?"30px":"0"}},this.isMobile&&!this.isShortCashier?b.h("div",{class:"MenuReturnButton",onClick:this.toggleScreen},b.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},b.h("defs",null),b.h("g",{transform:"translate(-20 -158)"},b.h("g",{transform:"translate(20 158)"},b.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)"})))),b.h("h2",{class:"CategoryTitleMobile"},j(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language))):null),this.cashierInfoUrl?b.h("iframe",{width:"100%",allow:"payment",height:this.dynamicHeight,src:this.cashierInfoUrl}):b.h("h3",{innerHTML:this.type==="deposit"?j("denyDeposit",this.language):j("denyWithdrawal",this.language),class:"ErrorMessage"}))))}loadWidget(){return Q(this,null,function*(){const e={Channel:this.channel,Type:this.typeParameter,SuccessUrl:this.successUrl,CancelUrl:this.cancelUrl,FailUrl:this.failUrl,Language:this.language,productType:this.productType,isShortCashier:this.isShortCashier,currency:this.currency,showBonusSelectionInput:this.showBonusSelectionInput};if(!(Object.values(e).some(o=>o===void 0)||!this.endpoint))try{const o=`${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`,i=yield fetch(o,{method:"POST",headers:{"X-Sessionid":this.session,"Content-Type":"application/json","X-Client-Request-Timestamp":ue.utc().format("YYYY-MM-DD HH:mm:ss.SSS")},body:JSON.stringify(e)});if(!i.ok){const p=yield i.text();throw new Error(p)}const l=yield i.json();if(l.CashierInfo)this.cashierInfoUrl=l.CashierInfo.Url;else{let p;if(l.ResponseMessage){let w=this.errorCodes.find(y=>l.ResponseMessage.includes(y))||null;w?p=j(`errorCode${w}`,this.language):p=j("notFoundErrorCode",this.language)}else p=this.type==="deposit"?j("denyDeposit",this.language):j("denyWithdrawal",this.language);const v={type:"error",message:p};window.postMessage({type:"DenyDepositOrWithdrawal",data:v},window.location.href)}}catch(o){console.error(o)}})}handleMessage(e){const o=this.extractPayload(e);if(!o)return;this.applyLayoutHints(o);const i=this.extractCashierRedirectReason(o);if(!i||this.emitForwardedRedirect(e,i))return;const l=this.resolveRedirectPlan(i);l&&this.doRedirect(l.reason,l.targetUrl)}extractCashierRedirectReason(e){if(typeof(e==null?void 0:e.type)=="string"&&ie.includes(e.type))return e.type;if(typeof(e==null?void 0:e.redirect)=="string"&&ie.includes(e.redirect))return e.redirect}extractPayload(e){if(!(!(e!=null&&e.data)||typeof e.data!="object"))return e.data}applyLayoutHints(e){if(e["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),e["MMFE:setQuickDepositHeight"]&&this.isShortCashier&&(this.dynamicHeight=e["MMFE:setQuickDepositHeight"].toString()+"px"),e["MMFE:setIFrameHeight"]&&(this.dynamicHeight=e["MMFE:setIFrameHeight"].toString()+"px"),e["MMFE:vendorRedirect"]){const o=e["MMFE:vendorRedirect"];window.postMessage({type:`${ne}:mm-open-vendor`,url:o},window.location.href)}}resolveRedirectPlan(e){switch(e){case"mm-hcback-to-merchant":case"mm-hc-back-tomerchant":return this.buildRedirectPlan(e,this.homeUrl);case"mm-hc-sports":return this.buildRedirectPlan(e,this.sportsUrl);case"mm-hc-casino":return this.buildRedirectPlan(window.location.href,this.casinoUrl);case"mm-hc-contact":return window.postMessage({type:"CloseShortCashier"},window.location.href),this.buildRedirectPlan(window.location.href,this.contactUrl);case"mm-wm-hc-init-deposit":case"mm-wm-hc-init-deposit-quick":return window.postMessage({type:"CloseShortCashier"},window.location.href),this.buildRedirectPlan(window.location.href,this.depositUrl);default:return}}buildRedirectPlan(e,o){if(o)return{reason:e,targetUrl:o}}emitForwardedRedirect(e,o){if(!this.forwardCashierRedirects)return!1;const i={type:`${ne}:${o}`,originalType:o,payload:e.data,origin:e.origin};return window.postMessage(i,window.location.href),!0}doRedirect(e,o){const i={reason:e,url:o,cancel:!1};if(this.beforeRedirect(i),!i.cancel){if(!i.url){window.location.href="/";return}window.location.href=i.url}}static get watchers(){return{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};ce.style=ve;exports.user_deposit_withdrawal=ce;