@everymatrix/player-account-gaming-limits-wrapper-2-nd 1.56.2 → 1.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-VP1It9KN.js → PlayerAccountGamingLimitsPage2Gm16Nd-BM0QlgIJ.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Bv3Lmc-8.js → PlayerAccountGamingLimitsPage2Gm16Nd-Bpo-oa37.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-lEULEVMY.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-C8eNvtWQ.cjs} +1 -1
- package/components/PlayerAccountGamingLimitsWrapper2Nd-DM74xYQ4.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-CXVDCOS0.js → PlayerAccountGamingLimitsWrapper2Nd-DsxerPoG.js} +2 -2
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-BJuMOzYo.js → PlayerAccountGamingLimitsWrapper2Nd-iwhgXBbi.js} +2 -2
- package/es2015/player-account-gaming-limits-wrapper-2-nd.cjs +1 -1
- package/es2015/player-account-gaming-limits-wrapper-2-nd.js +1 -1
- package/esnext/player-account-gaming-limits-wrapper-2-nd.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsWrapper2Nd-B7FjcluA.cjs +0 -1
|
@@ -2892,7 +2892,7 @@ function sa(t, e, i) {
|
|
|
2892
2892
|
const f = ze ? Be : A;
|
|
2893
2893
|
m = n.find((ne) => ne.type.toLowerCase() === Re[k].toLowerCase() && (ne.period === f || ne.period === "None") && ne.products[0] === q), m.schedules.length > 0 && oe[m.schedules[0].id] && (m.amount = m.schedules[0].updateAmount);
|
|
2894
2894
|
const v = Ye(m) || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.amount), g = m.schedules.length > 0 ? `${new Date(m.schedules[0].applyAt).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : "";
|
|
2895
|
-
let M = a("popupImmediateUpdate").replace("{selectedLimit}", Ie()).replace("{updatedAmount}", v).replace("{selectedPeriod}", a(`${
|
|
2895
|
+
let M = a("popupImmediateUpdate").replace("{selectedLimit}", Ie()).replace("{updatedAmount}", v).replace("{selectedPeriod}", a(`${f}`));
|
|
2896
2896
|
m.schedules.length > 0 && oe[m.schedules[0].id] ? i(21, re = M) : i(21, re = m.schedules.length > 0 ? `${a("popupPendingUpdate")} ${g}` : M), i(20, ue = !0);
|
|
2897
2897
|
}, Oi = () => {
|
|
2898
2898
|
ke == 1 && i(22, ve = "PopupKyc"), ke == 2 && (i(21, re = `${a("popup2_a")}${Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(Ne)} ${s} ${a("popup2_b")}`), i(22, ve = "PopupKyc2")), ke == 3 && (i(21, re = a("popup3")), i(22, ve = "PopupSuccess")), i(20, ue = !0);
|
|
@@ -2873,7 +2873,7 @@ function $t(t, e, i) {
|
|
|
2873
2873
|
const f = Ee ? Ne : x;
|
|
2874
2874
|
m = n.find((F) => F.type.toLowerCase() === Be[v].toLowerCase() && (F.period === f || F.period === "None") && F.products[0] === K), m.schedules.length > 0 && oe[m.schedules[0].id] && (m.amount = m.schedules[0].updateAmount);
|
|
2875
2875
|
const g = He(m) || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.amount), k = m.schedules.length > 0 ? `${new Date(m.schedules[0].applyAt).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : "";
|
|
2876
|
-
let P = a("popupImmediateUpdate").replace("{selectedLimit}", ze()).replace("{updatedAmount}", g).replace("{selectedPeriod}", a(`${
|
|
2876
|
+
let P = a("popupImmediateUpdate").replace("{selectedLimit}", ze()).replace("{updatedAmount}", g).replace("{selectedPeriod}", a(`${f}`));
|
|
2877
2877
|
m.schedules.length > 0 && oe[m.schedules[0].id] ? i(21, se = P) : i(21, se = m.schedules.length > 0 ? `${a("popupPendingUpdate")} ${k}` : P), i(20, me = !0);
|
|
2878
2878
|
}, Bi = () => {
|
|
2879
2879
|
he == 1 && i(22, ye = "PopupKyc"), he == 2 && (i(21, se = `${a("popup2_a")}${Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(Ue)} ${s} ${a("popup2_b")}`), i(22, ye = "PopupKyc2")), he == 3 && (i(21, se = a("popup3")), i(22, ye = "PopupSuccess")), i(20, me = !0);
|
|
@@ -18,4 +18,4 @@
|
|
|
18
18
|
S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z`),e.attr(o,"d",`M35.707,16.293c-0.391-0.391-1.023-0.391-1.414,0L26,24.586l-8.293-8.293c-0.391-0.391-1.023-0.391-1.414,0
|
|
19
19
|
s-0.391,1.023,0,1.414L24.586,26l-8.293,8.293c-0.391,0.391-0.391,1.023,0,1.414C16.488,35.902,16.744,36,17,36
|
|
20
20
|
s0.512-0.098,0.707-0.293L26,27.414l8.293,8.293C34.488,35.902,34.744,36,35,36s0.512-0.098,0.707-0.293
|
|
21
|
-
c0.391-0.391,0.391-1.023,0-1.414L27.414,26l8.293-8.293C36.098,17.316,36.098,16.684,35.707,16.293z`),e.attr(t,"version","1.1"),e.attr(t,"id","Capa_1"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),e.attr(t,"x","0px"),e.attr(t,"y","0px"),e.attr(t,"viewBox","0 0 52 52"),e.set_style(t,"enable-background","new 0 0 52 52"),e.attr(t,"xml:space","preserve")},m(z,A){e.insert(z,t,A),e.append(t,i),e.append(i,n),e.append(i,o),e.append(t,r),e.append(t,l),e.append(t,u),e.append(t,d),e.append(t,m),e.append(t,c),e.append(t,g),e.append(t,S),e.append(t,v),e.append(t,E),e.append(t,R),e.append(t,N),e.append(t,V),e.append(t,M),e.append(t,j)},d(z){z&&e.detach(t)}}}function ai(a){let t,i=a[26]("popupSuccess")+"",n;return{c(){t=e.element("p"),n=e.text(i)},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&67108864&&i!==(i=o[26]("popupSuccess")+"")&&e.set_data(n,i)},d(o){o&&e.detach(t)}}}function ni(a){let t,i=a[26]("docsRequired")+"",n;return{c(){t=e.element("p"),n=e.text(i)},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&67108864&&i!==(i=o[26]("docsRequired")+"")&&e.set_data(n,i)},d(o){o&&e.detach(t)}}}function oi(a){let t,i=a[26]("popupError")+"",n;return{c(){t=e.element("p"),n=e.text(i)},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&67108864&&i!==(i=o[26]("popupError")+"")&&e.set_data(n,i)},d(o){o&&e.detach(t)}}}function si(a){let t,i=a[26]("okButton")+"",n,o,r;return{c(){t=e.element("button"),n=e.text(i),e.attr(t,"class","ConfirmButton "+(a[27]?"":"Mobile"))},m(l,u){e.insert(l,t,u),e.append(t,n),o||(r=e.listen(t,"click",a[39]),o=!0)},p(l,u){u[0]&67108864&&i!==(i=l[26]("okButton")+"")&&e.set_data(n,i)},d(l){l&&e.detach(t),o=!1,r()}}}function ri(a){let t,i=a[26]("uploadDocumentsButton")+"",n,o,r=a[26]("closeButton")+"",l,u,d;return{c(){t=e.element("button"),n=e.space(),o=e.element("button"),l=e.text(r),e.attr(t,"class","ConfirmButton"),e.attr(o,"class","CloseButton")},m(m,c){e.insert(m,t,c),t.innerHTML=i,e.insert(m,n,c),e.insert(m,o,c),e.append(o,l),u||(d=[e.listen(t,"click",a[40]),e.listen(o,"click",a[39])],u=!0)},p(m,c){c[0]&67108864&&i!==(i=m[26]("uploadDocumentsButton")+"")&&(t.innerHTML=i),c[0]&67108864&&r!==(r=m[26]("closeButton")+"")&&e.set_data(l,r)},d(m){m&&(e.detach(t),e.detach(n),e.detach(o)),u=!1,e.run_all(d)}}}function li(a){let t,i,n,o,r,l,u=a[26]("setLimit")+"",d,m,c,g,S,v,E,R=a[15]?`${a[26]("amount")}`:`${a[26](`new${a[8]}Limit`)}`,N,V,M,j,z,A,_=a[26]("setLimit")+"",k,B,C,y,w=e.ensure_array_like(a[6]),U=[];for(let b=0;b<w.length;b+=1)U[b]=Ge(Be(a,w,b));let W=a[1]==="true"&&Ke(a),x=a[14]&&He(a),F=a[15]&&Xe(a),O=a[24]&&Je(a);return{c(){t=e.element("div"),i=e.element("div"),n=e.element("div");for(let b=0;b<U.length;b+=1)U[b].c();o=e.space(),r=e.element("form"),l=e.element("p"),d=e.text(u),m=e.space(),W&&W.c(),c=e.space(),x&&x.c(),g=e.space(),F&&F.c(),S=e.space(),v=e.element("label"),E=e.element("span"),N=e.text(R),V=e.space(),M=e.element("input"),j=e.space(),O&&O.c(),z=e.space(),A=e.element("button"),k=e.text(_),e.attr(n,"class","LimitsList"),e.attr(l,"class","LimitTitle "+(a[27]?"":"Mobile")),e.attr(E,"class","LimitInputText"),e.attr(M,"type","number"),e.attr(M,"pattern","[0-9]*"),e.attr(v,"class","LimitAmountInputWrapper "+(a[27]?"":"Mobile")),e.attr(A,"class","LimitSubmitButton "+(a[27]?"":"Mobile")),e.attr(A,"type","button"),A.disabled=!0,e.attr(r,"class","LimitsInteractionArea "+(a[27]?"":"Mobile")),e.attr(i,"class","LimitsPageContainer"),e.attr(t,"class",B="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+a[3]))},m(b,q){e.insert(b,t,q),e.append(t,i),e.append(i,n);for(let P=0;P<U.length;P+=1)U[P]&&U[P].m(n,null);e.append(i,o),e.append(i,r),e.append(r,l),e.append(l,d),e.append(r,m),W&&W.m(r,null),e.append(r,c),x&&x.m(r,null),e.append(r,g),F&&F.m(r,null),e.append(r,S),e.append(r,v),e.append(v,E),e.append(E,N),e.append(v,V),e.append(v,M),e.set_input_value(M,a[10]),e.append(v,j),O&&O.m(v,null),e.append(r,z),e.append(r,A),e.append(A,k),a[64](A),C||(y=[e.listen(M,"input",a[63]),e.listen(M,"keydown",a[41]),e.listen(M,"keyup",a[32]),e.listen(A,"click",a[30]),e.listen(r,"submit",a[30])],C=!0)},p(b,q){if(q[0]&234881092|q[1]&249){w=e.ensure_array_like(b[6]);let P;for(P=0;P<w.length;P+=1){const se=Be(b,w,P);U[P]?U[P].p(se,q):(U[P]=Ge(se),U[P].c(),U[P].m(n,null))}for(;P<U.length;P+=1)U[P].d(1);U.length=w.length}q[0]&67108864&&u!==(u=b[26]("setLimit")+"")&&e.set_data(d,u),b[1]==="true"?W?W.p(b,q):(W=Ke(b),W.c(),W.m(r,c)):W&&(W.d(1),W=null),b[14]?x?x.p(b,q):(x=He(b),x.c(),x.m(r,g)):x&&(x.d(1),x=null),b[15]?F?F.p(b,q):(F=Xe(b),F.c(),F.m(r,S)):F&&(F.d(1),F=null),q[0]&67141888&&R!==(R=b[15]?`${b[26]("amount")}`:`${b[26](`new${b[8]}Limit`)}`)&&e.set_data(N,R),q[0]&1024&&e.to_number(M.value)!==b[10]&&e.set_input_value(M,b[10]),b[24]?O?O.p(b,q):(O=Je(b),O.c(),O.m(v,null)):O&&(O.d(1),O=null),q[0]&67108864&&_!==(_=b[26]("setLimit")+"")&&e.set_data(k,_),q[0]&8&&B!==(B="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+b[3]))&&e.attr(t,"class",B)},d(b){b&&e.detach(t),e.destroy_each(U,b),W&&W.d(),x&&x.d(),F&&F.d(),O&&O.d(),a[64](null),C=!1,e.run_all(y)}}}function mi(a){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(i,n){e.insert(i,t,n)},p:e.noop,d(i){i&&e.detach(t)}}}function pi(a){let t,i,n,o,r,l,u=e.ensure_array_like(Array(3)),d=[];for(let m=0;m<u.length;m+=1)d[m]=_i(Jt(a,u,m));return{c(){t=e.element("div"),i=e.element("div"),i.innerHTML='<ui-skeleton width="auto" height="25px" structure="text" margin-right="auto"></ui-skeleton>',n=e.space(),o=e.element("div");for(let m=0;m<d.length;m+=1)d[m].c();r=e.space(),l=e.element("div"),l.innerHTML='<div class="skletonHeader"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skletonSubText"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonPeriod"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skletonSubText"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonInputAmount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeletonButton"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div>',e.attr(i,"class","skeletonLimitText"),e.attr(o,"class","skeletonLimitWrapper"),e.attr(l,"class","skeletonInputWrapper"),e.attr(t,"class","skeletonLimitContainer")},m(m,c){e.insert(m,t,c),e.append(t,i),e.append(t,n),e.append(t,o);for(let g=0;g<d.length;g+=1)d[g]&&d[g].m(o,null);e.append(t,r),e.append(t,l)},p:e.noop,d(m){m&&e.detach(t),e.destroy_each(d,m)}}}function di(a){let t,i,n,o=a[26]("noLimitText")+"",r;return{c(){t=e.element("div"),i=e.element("div"),n=e.element("div"),r=e.text(o),e.attr(n,"class","LimitDetailsTextWrapper "+(a[27]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,u){e.insert(l,t,u),e.append(t,i),e.append(i,n),e.append(n,r)},p(l,u){u[0]&67108864&&o!==(o=l[26]("noLimitText")+"")&&e.set_data(r,o)},d(l){l&&e.detach(t)}}}function ui(a){let t,i,n,o=a[26]("lugasPrivacy")+"",r;return{c(){t=e.element("div"),i=e.element("div"),n=e.element("div"),r=e.text(o),e.attr(n,"class","LimitDetailsTextWrapper "+(a[27]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,u){e.insert(l,t,u),e.append(t,i),e.append(i,n),e.append(n,r)},p(l,u){u[0]&67108864&&o!==(o=l[26]("lugasPrivacy")+"")&&e.set_data(r,o)},d(l){l&&e.detach(t)}}}function ci(a){let t,i=e.ensure_array_like(a[126].currentLimits),n=[];for(let o=0;o<i.length;o+=1)n[o]=qe(Re(a,i,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();t=e.empty()},m(o,r){for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(o,r);e.insert(o,t,r)},p(o,r){if(r[0]&234881092|r[1]&185){i=e.ensure_array_like(o[126].currentLimits);let l;for(l=0;l<i.length;l+=1){const u=Re(o,i,l);n[l]?n[l].p(u,r):(n[l]=qe(u),n[l].c(),n[l].m(t.parentNode,t))}for(;l<n.length;l+=1)n[l].d(1);n.length=i.length}},d(o){o&&e.detach(t),e.destroy_each(n,o)}}}function Li(a){let t,i,n,o=a[26]("lugasPrivacy")+"",r;return{c(){t=e.element("div"),i=e.element("div"),n=e.element("div"),r=e.text(o),e.attr(n,"class","LimitDetailsTextWrapper "+(a[27]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,u){e.insert(l,t,u),e.append(t,i),e.append(i,n),e.append(n,r)},p(l,u){u[0]&67108864&&o!==(o=l[26]("lugasPrivacy")+"")&&e.set_data(r,o)},d(l){l&&e.detach(t)}}}function fi(a){let t,i=`${a[38](a[131])}`,n;return{c(){t=e.element("span"),n=e.text(i)},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&64&&i!==(i=`${o[38](o[131])}`)&&e.set_data(n,i)},d(o){o&&e.detach(t)}}}function gi(a){let t,i=`${a[38](a[131],!0)}`,n;return{c(){t=e.element("span"),n=e.text(i)},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&64&&i!==(i=`${o[38](o[131],!0)}`)&&e.set_data(n,i)},d(o){o&&e.detach(t)}}}function hi(a){let t,i,n=`${a[38](a[131],!0)}`,o,r;function l(m,c){return m[131].isCoolOffCompleted?wi:bi}let u=l(a),d=u(a);return{c(){t=e.element("div"),i=e.element("span"),o=e.text(n),r=e.space(),d.c(),e.attr(t,"class","PendingLimit")},m(m,c){e.insert(m,t,c),e.append(t,i),e.append(i,o),e.append(t,r),d.m(t,null)},p(m,c){c[0]&64&&n!==(n=`${m[38](m[131],!0)}`)&&e.set_data(o,n),u===(u=l(m))&&d?d.p(m,c):(d.d(1),d=u(m),d&&(d.c(),d.m(t,null)))},d(m){m&&e.detach(t),d.d()}}}function yi(a){let t,i=`${a[26]("removedLimitText")} ${a[131].expiryDate}`,n;return{c(){t=e.element("div"),n=e.text(i),e.attr(t,"class","PendingLimit")},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&67108928&&i!==(i=`${o[26]("removedLimitText")} ${o[131].expiryDate}`)&&e.set_data(n,i)},d(o){o&&e.detach(t)}}}function vi(a){let t,i=`${a[26]("removeAfterConfirm")}`,n;return{c(){t=e.element("div"),n=e.text(i),e.attr(t,"class","PendingLimit")},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&67108864&&i!==(i=`${o[26]("removeAfterConfirm")}`)&&e.set_data(n,i)},d(o){o&&e.detach(t)}}}function ki(a){let t,i=`${a[26]("acknowledgedLimit")}`,n;return{c(){t=e.element("div"),n=e.text(i),e.attr(t,"class","PendingLimit")},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&67108864&&i!==(i=`${o[26]("acknowledgedLimit")}`)&&e.set_data(n,i)},d(o){o&&e.detach(t)}}}function bi(a){let t=`${a[131].period!=="None"||a[131].value!=="cumulativeSession"?" ":a[26]("per")} ${a[26](`${a[131].period}`)} ${a[26]("updateText")} ${a[131].expiryDate}`,i;return{c(){i=e.text(t)},m(n,o){e.insert(n,i,o)},p(n,o){o[0]&67108928&&t!==(t=`${n[131].period!=="None"||n[131].value!=="cumulativeSession"?" ":n[26]("per")} ${n[26](`${n[131].period}`)} ${n[26]("updateText")} ${n[131].expiryDate}`)&&e.set_data(i,t)},d(n){n&&e.detach(i)}}}function wi(a){let t=`${a[131].period!=="None"||a[131].value!=="cumulativeSession"?" ":a[26]("per")} ${a[26](`${a[131].period}`)} ${a[26]("updateAfterConfirm")}`,i;return{c(){i=e.text(t)},m(n,o){e.insert(n,i,o)},p(n,o){o[0]&67108928&&t!==(t=`${n[131].period!=="None"||n[131].value!=="cumulativeSession"?" ":n[26]("per")} ${n[26](`${n[131].period}`)} ${n[26]("updateAfterConfirm")}`)&&e.set_data(i,t)},d(n){n&&e.detach(i)}}}function Oe(a){let t,i,n=a[25][a[131].scheduleId].timer+"",o,r,l,u;return{c(){t=e.element("div"),i=e.element("button"),o=e.text(n),e.attr(i,"class",r="ReloadLimitButton "+(a[27]?"":"Mobile")+" "+(a[25][a[131].scheduleId].timerStopped?"":"disabled")),e.attr(t,"class","ContainerLimitActions "+(a[27]?"":"Mobile"))},m(d,m){e.insert(d,t,m),e.append(t,i),e.append(i,o),l||(u=e.listen(i,"click",a[56]),l=!0)},p(d,m){m[0]&33554496&&n!==(n=d[25][d[131].scheduleId].timer+"")&&e.set_data(o,n),m[0]&33554496&&r!==(r="ReloadLimitButton "+(d[27]?"":"Mobile")+" "+(d[25][d[131].scheduleId].timerStopped?"":"disabled"))&&e.attr(i,"class",r)},d(d){d&&e.detach(t),l=!1,u()}}}function Ve(a){let t,i,n=a[26]("removeLimit")+"",o,r,l;function u(){return a[57](a[131])}return{c(){t=e.element("div"),i=e.element("button"),o=e.text(n),e.attr(i,"class","RemoveLimitButton "+(a[27]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(a[27]?"":"Mobile"))},m(d,m){e.insert(d,t,m),e.append(t,i),e.append(i,o),r||(l=e.listen(i,"click",u),r=!0)},p(d,m){a=d,m[0]&67108864&&n!==(n=a[26]("removeLimit")+"")&&e.set_data(o,n)},d(d){d&&e.detach(t),r=!1,l()}}}function Fe(a){let t,i,n=a[26]("confirmUpdateLimit")+"",o,r,l,u=a[26]("cancelUpdateLimit")+"",d,m,c;function g(){return a[58](a[131])}function S(){return a[59](a[131])}return{c(){t=e.element("div"),i=e.element("button"),o=e.text(n),r=e.space(),l=e.element("button"),d=e.text(u),e.attr(i,"class","ConfirmLimitButton "+(a[27]?"":"Mobile")),e.attr(l,"class","CancelLimitButton "+(a[27]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(a[27]?"":"Mobile"))},m(v,E){e.insert(v,t,E),e.append(t,i),e.append(i,o),e.append(t,r),e.append(t,l),e.append(l,d),m||(c=[e.listen(i,"click",g),e.listen(l,"click",S)],m=!0)},p(v,E){a=v,E[0]&67108864&&n!==(n=a[26]("confirmUpdateLimit")+"")&&e.set_data(o,n),E[0]&67108864&&u!==(u=a[26]("cancelUpdateLimit")+"")&&e.set_data(d,u)},d(v){v&&e.detach(t),m=!1,e.run_all(c)}}}function qe(a){let t,i,n,o,r,l=`${a[131].period!=="None"||a[131].value!=="cumulativeSession"?" ":a[26]("per")} ${a[26](`${a[131].period}`)}`,u,d,m,c,g=!a[131].isModified&&a[2].indexOf(a[126].value)>-1,S,v;function E(k,B){return k[131].acknowledgedLimit?gi:fi}let R=E(a),N=R(a);function V(k,B){if(k[131].acknowledgedLimit)return ki;if(k[131].isModified&&k[131].updateAmount==0&&k[131].isCoolOffCompleted)return vi;if(k[131].isModified&&k[131].updateAmount==0&&!k[131].isCoolOffCompleted)return yi;if(k[131].isModified)return hi}let M=V(a),j=M&&M(a),z=a[131].acknowledgedLimit&&Oe(a),A=g&&Ve(a),_=a[131].isCoolOffCompleted&!a[131].acknowledgedLimit&&Fe(a);return{c(){t=e.element("div"),i=e.element("div"),n=e.element("div"),o=e.element("div"),N.c(),r=e.space(),u=e.text(l),d=e.space(),j&&j.c(),m=e.space(),z&&z.c(),c=e.space(),A&&A.c(),S=e.space(),_&&_.c(),v=e.space(),e.attr(o,"class","CurrentLimit"),e.attr(n,"class","CurrentLimitContainer"),e.attr(i,"class","LimitDetailsTextWrapper "+(a[27]?"":"Mobile")),e.attr(t,"class","LimitDetails")},m(k,B){e.insert(k,t,B),e.append(t,i),e.append(i,n),e.append(n,o),N.m(o,null),e.append(o,r),e.append(o,u),e.append(n,d),j&&j.m(n,null),e.append(i,m),z&&z.m(i,null),e.append(i,c),A&&A.m(i,null),e.append(i,S),_&&_.m(i,null),e.append(t,v)},p(k,B){R===(R=E(k))&&N?N.p(k,B):(N.d(1),N=R(k),N&&(N.c(),N.m(o,r))),B[0]&67108928&&l!==(l=`${k[131].period!=="None"||k[131].value!=="cumulativeSession"?" ":k[26]("per")} ${k[26](`${k[131].period}`)}`)&&e.set_data(u,l),M===(M=V(k))&&j?j.p(k,B):(j&&j.d(1),j=M&&M(k),j&&(j.c(),j.m(n,null))),k[131].acknowledgedLimit?z?z.p(k,B):(z=Oe(k),z.c(),z.m(i,c)):z&&(z.d(1),z=null),B[0]&68&&(g=!k[131].isModified&&k[2].indexOf(k[126].value)>-1),g?A?A.p(k,B):(A=Ve(k),A.c(),A.m(i,S)):A&&(A.d(1),A=null),k[131].isCoolOffCompleted&!k[131].acknowledgedLimit?_?_.p(k,B):(_=Fe(k),_.c(),_.m(i,null)):_&&(_.d(1),_=null)},d(k){k&&e.detach(t),N.d(),j&&j.d(),z&&z.d(),A&&A.d(),_&&_.d()}}}function Ge(a){let t,i=a[37](a[126])+"",n,o,r,l;function u(c,g){return c[126].value==="lugas"?Li:c[126].currentLimits.length>0?ci:c[126].value==="lugas"?ui:di}let d=u(a),m=d(a);return{c(){t=e.element("p"),n=e.text(i),o=e.space(),r=e.element("div"),m.c(),l=e.space(),e.attr(t,"class","LimitTitle "+(a[27]?"":"Mobile")),e.attr(r,"class","LimitWrapper "+(a[27]?"":"Mobile"))},m(c,g){e.insert(c,t,g),e.append(t,n),e.insert(c,o,g),e.insert(c,r,g),m.m(r,null),e.append(r,l)},p(c,g){g[0]&64&&i!==(i=c[37](c[126])+"")&&e.set_data(n,i),d===(d=u(c))&&m?m.p(c,g):(m.d(1),m=d(c),m&&(m.c(),m.m(r,l)))},d(c){c&&(e.detach(t),e.detach(o),e.detach(r)),m.d()}}}function Ke(a){let t,i,n=a[26]("complianceText")+"",o;return{c(){t=e.element("div"),i=e.element("p"),o=e.text(n),e.attr(i,"class","LimitComplianceText"),e.attr(t,"class","LimitCompliance")},m(r,l){e.insert(r,t,l),e.append(t,i),e.append(i,o)},p(r,l){l[0]&67108864&&n!==(n=r[26]("complianceText")+"")&&e.set_data(o,n)},d(r){r&&e.detach(t)}}}function He(a){let t,i,n=a[26]("limitType")+"",o,r,l,u,d,m=e.ensure_array_like(a[6]),c=[];for(let g=0;g<m.length;g+=1)c[g]=Ye(Ne(a,m,g));return{c(){t=e.element("label"),i=e.element("span"),o=e.text(n),r=e.space(),l=e.element("select");for(let g=0;g<c.length;g+=1)c[g].c();e.attr(i,"class","LimitSelectText"),e.attr(l,"name",""),e.attr(l,"id",""),a[9]===void 0&&e.add_render_callback(()=>a[60].call(l)),e.attr(t,"class","LimitTypeDropdownWrapper "+(a[27]?"":"Mobile"))},m(g,S){e.insert(g,t,S),e.append(t,i),e.append(i,o),e.append(t,r),e.append(t,l);for(let v=0;v<c.length;v+=1)c[v]&&c[v].m(l,null);e.select_option(l,a[9],!0),u||(d=[e.listen(l,"change",a[60]),e.listen(l,"change",a[61])],u=!0)},p(g,S){if(S[0]&67108864&&n!==(n=g[26]("limitType")+"")&&e.set_data(o,n),S[0]&64|S[1]&64){m=e.ensure_array_like(g[6]);let v;for(v=0;v<m.length;v+=1){const E=Ne(g,m,v);c[v]?c[v].p(E,S):(c[v]=Ye(E),c[v].c(),c[v].m(l,null))}for(;v<c.length;v+=1)c[v].d(1);c.length=m.length}S[0]&512&&e.select_option(l,g[9])},d(g){g&&e.detach(t),e.destroy_each(c,g),u=!1,e.run_all(d)}}}function Ye(a){let t,i=a[37](a[126])+"",n;return{c(){t=e.element("option"),n=e.text(i),t.__value=a[128],e.set_input_value(t,t.__value)},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&64&&i!==(i=o[37](o[126])+"")&&e.set_data(n,i)},d(o){o&&e.detach(t)}}}function Xe(a){let t,i,n=a[26]("period")+"",o,r,l,u,d,m=e.ensure_array_like(a[5][a[7]].periods),c=[];for(let g=0;g<m.length;g+=1)c[g]=Ze(Ue(a,m,g));return{c(){t=e.element("label"),i=e.element("span"),o=e.text(n),r=e.space(),l=e.element("select");for(let g=0;g<c.length;g+=1)c[g].c();e.attr(i,"class","PeriodSelectText"),e.attr(l,"name",""),e.attr(l,"id",""),a[8]===void 0&&e.add_render_callback(()=>a[62].call(l)),e.attr(t,"class","LimitPeriodDropdownWrapper "+(a[27]?"":"Mobile"))},m(g,S){e.insert(g,t,S),e.append(t,i),e.append(i,o),e.append(t,r),e.append(t,l);for(let v=0;v<c.length;v+=1)c[v]&&c[v].m(l,null);e.select_option(l,a[8],!0),u||(d=e.listen(l,"change",a[62]),u=!0)},p(g,S){if(S[0]&67108864&&n!==(n=g[26]("period")+"")&&e.set_data(o,n),S[0]&67109024){m=e.ensure_array_like(g[5][g[7]].periods);let v;for(v=0;v<m.length;v+=1){const E=Ue(g,m,v);c[v]?c[v].p(E,S):(c[v]=Ze(E),c[v].c(),c[v].m(l,null))}for(;v<c.length;v+=1)c[v].d(1);c.length=m.length}S[0]&416&&e.select_option(l,g[8])},d(g){g&&e.detach(t),e.destroy_each(c,g),u=!1,d()}}}function Ze(a){let t,i=a[26](a[123])+"",n,o;return{c(){t=e.element("option"),n=e.text(i),t.__value=o=a[123],e.set_input_value(t,t.__value),t.selected=!0},m(r,l){e.insert(r,t,l),e.append(t,n)},p(r,l){l[0]&67109024&&i!==(i=r[26](r[123])+"")&&e.set_data(n,i),l[0]&160&&o!==(o=r[123])&&(t.__value=o,e.set_input_value(t,t.__value))},d(r){r&&e.detach(t)}}}function Je(a){let t,i=a[10]<a[12]?`${a[26]("invalidInputMessageLimitMin",{values:{minValue:a[12],currency:a[0]}})}`:`${a[26]("invalidInputMessageLimitMax",{values:{maxValue:a[13],currency:a[0]}})}`,n;return{c(){t=e.element("p"),n=e.text(i),e.attr(t,"class","InvalidInput")},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&67122177&&i!==(i=o[10]<o[12]?`${o[26]("invalidInputMessageLimitMin",{values:{minValue:o[12],currency:o[0]}})}`:`${o[26]("invalidInputMessageLimitMax",{values:{maxValue:o[13],currency:o[0]}})}`)&&e.set_data(n,i)},d(o){o&&e.detach(t)}}}function _i(a){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="skeletonLimitAmount"><div class="skeletonAmountText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonSubText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div></div> <div class="skeletonLimitButton"><div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div> ',e.attr(t,"class","skeletonLimitContent")},m(i,n){e.insert(i,t,n)},p:e.noop,d(i){i&&e.detach(t)}}}function xi(a){let t,i,n,o,r=a[19]&&We(a);function l(m,c){if(m[16])return pi;if(m[17])return mi;if(!m[16])return li}let u=l(a),d=u&&u(a);return{c(){t=e.element("meta"),i=e.space(),n=e.element("div"),r&&r.c(),o=e.space(),d&&d.c(),e.attr(t,"name","viewport"),e.attr(t,"content","width=device-width, initial-scale=1")},m(m,c){e.append(document.head,t),e.insert(m,i,c),e.insert(m,n,c),r&&r.m(n,null),e.append(n,o),d&&d.m(n,null),a[65](n)},p(m,c){m[19]?r?r.p(m,c):(r=We(m),r.c(),r.m(n,o)):r&&(r.d(1),r=null),u===(u=l(m))&&d?d.p(m,c):(d&&d.d(1),d=u&&u(m),d&&(d.c(),d.m(n,null)))},i:e.noop,o:e.noop,d(m){m&&(e.detach(i),e.detach(n)),e.detach(t),r&&r.d(),d&&d.d(),a[65](null)}}}function Si(a,t,i){let n;e.component_subscribe(a,e.$format,s=>i(26,n=s));let{lang:o="en"}=t,{currency:r=""}=t,{limits:l=""}=t,{session:u=""}=t,{userid:d=""}=t,{endpoint:m=""}=t,{apiversion:c=""}=t,{customcurrencysymbols:g=""}=t,{enablecompliancetext:S=""}=t,{deletelimit:v=""}=t,{amountsconfig:E=""}=t,{periodsconfig:R=""}=t,{limittabindex:N=""}=t,{limitformat:V=""}=t,{clientstyling:M=""}=t,{clientstylingurl:j=""}=t,{translationurl:z=""}=t,{mbsource:A}=t,_,k=window.navigator.userAgent,B=!e.isMobile(k),C=[],y="",w="",U="",W=0,x,F,O="",b="",q="",P={},se=!1,Le=!1,G=!0,K=!1,fe=!1,ne=!1,ee=!1,J="",re="",H=[],le,ke,me=!1,$e={},ge=!1,be="",oe={EUR:"€",RON:" lei",USD:"$"},X={};const we={wager:"wagering",loss:"loss",deposit:"deposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"},_e={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]},et=()=>{fetch(z).then(p=>p.json()).then(p=>{Object.keys(p).forEach(L=>{Ie(L,p[L])})}).catch(p=>{console.log(p)})};Object.keys(ie).forEach(s=>{Ie(s,ie[s])});const he=s=>`dataLayer-${s}`,Y=(s,p)=>{typeof gtag=="function"&>ag({event:s,limit_category:ie[o][he(U.toLowerCase())]||U,limit_type:ie[o][he(y.toLowerCase())]||y,limit_period:ie[o][he(w.toLowerCase())]||w,limit_amount:x||p})},tt=()=>{var h;const s=E.split(",").map(f=>f.split(":")),p=R.split(",").map(f=>f.split(":"));for(let[f,T]of s.entries())if(T[0]!==p[f][0])throw new Error(`Limit config mismatch: "${T[0]}" does not match "${p[f][0]}"`);const L=s.reduce((f,T,D)=>{const Z=T[0].slice(T[0].indexOf("(")+1,T[0].indexOf(")")),ae=T[0].slice(0,T[0].indexOf("(")),ue=T[1],ve=p[D][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),Gt={value:Z,product:ae,minMax:ue,periods:ve,callValue:I[Z].callValue,callValue16:I[Z].callValue16,title:I[Z].title};return f.push(Gt),f},[]);for(let f=0;f<L.length;f++)i(6,C[f].product=L[f].product,C),i(6,C[f].min=parseInt(L[f].minMax.split("-")[0],10),C),i(6,C[f].max=parseInt(L[f].minMax.split("-")[1],10),C),i(5,I[L[f].value].periods=L[f].periods,I);q=(h=C[0])==null?void 0:h.value,C.forEach(f=>{P[f.value]={min:f.min,max:f.max},$e[f.value]=f.product}),P&&(P[q]?(i(12,O=P[q].min),i(13,b=P[q].max)):(i(12,O=1),i(13,b=9999999)))},it=()=>{const s=/\(([^)]+)\)/g;return[...E.matchAll(s)].flat().filter(L=>!L.includes("("))},at=()=>{it().forEach(p=>{I[p]?C.push(ce({},I[p])):console.error(`Unknown limit: ${p}`)}),tt(),i(7,y=C[0].value),i(8,w=I[y].periods[0]),U=C[0].product,i(14,se=C.length>1),i(15,Le=I[y].periods.length>1)},xe=()=>{i(7,y=C[W].value),i(8,w=I[y].periods[0]),i(15,Le=I[y].periods.length>1)},Se=()=>{U=C[W].product},Q=s=>{if(s.status>=300)nt(s);else return i(18,fe=!1),s.status!==204?s.json():s},nt=s=>{i(17,K=!0);let p;throw s.json().then(L=>{for(const h in _e)if(_e[h].some(f=>L.error.includes(f))){p=h;break}console.error("errType",p),!p&&de(L)}).finally(()=>{p&&de(p),i(17,K=!1),i(16,G=!1)}),new Error("An error occured during the fetch request")},ot=()=>{if(!(x>0))return;te(),i(16,G=!0);let s=new URL(`/v2/player/${d}/limits`,m),p={};y==="sessionLimit"?p={sessionLimit:x,sessionLimitUnit:"minute"}:y==="cumulativeSession"?p[I[y].callValue]=[{period:w,minutes:x}]:p[I[y].callValue]=[{period:I[y].periods[0]==="None"?null:w,amount:x,currency:r}];let L={method:"PUT",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(p)};fetch(s.href,L).then(h=>Q(h)).then(h=>{Y("self_limitation_success"),$()}).catch(h=>{console.error(h),i(17,K=!0)})},st=()=>{if(x<=0)return;te(),i(16,G=!0);const p=C[W].currentLimits.filter(D=>D.period===w)[0],L=new URL(`/v1/player/${d}/limits/monetary/${p?p.id:""}`,m),h=p?"PUT":"POST",f=p?{amount:x,skipCoolOff:!1}:{amount:x,currency:r,period:I[y].periods[0]==="None"?null:w,type:I[y].callValue16,products:[U!=null?U:"All"],walletTypes:I[y].callValue16==="Deposit"?["All"]:["RealCash"]};let T={method:h,headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(f)};fetch(L.href,T).then(D=>Q(D)).then(D=>{Y("self_limitation_success"),$()}).catch(D=>{console.log(D),i(17,K=!0)})},rt=()=>{if(!(x>0))return;te(),i(16,G=!0);const s=new URL(`/v1/player/${d}/limits/session/`,m);let h={method:"PUT",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({sessionLimit:x,sessionLimitUnit:"minute"})};fetch(s.href,h).then(f=>Q(f)).then(f=>{Y("self_limitation_success"),$()}).catch(f=>{console.log(f),i(17,K=!0)})},lt=()=>{if(!(x>0))return;te(),i(16,G=!0);const s=new URL(`/v1/player/${d}/limits/session/`,m);let h={method:"PUT",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({cumulativeSessionLimits:[{period:w,minutes:x}]})};fetch(s.href,h).then(f=>Q(f)).then(f=>{Y("self_limitation_success"),$()}).catch(f=>{console.log(f),i(17,K=!0)})},mt=()=>{if(!(x>0))return;te(),i(16,G=!0);const s=new URL(`/v2/player/${d}/limit/lugas`,m);let h={method:"POST",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({amount:x,roleLimitAmount:0,softMigration:!1,keepLimit:!1})};fetch(s.href,h).then(f=>Q(f)).then(f=>{i(23,le=f.popup),f.operatorDepositLimitAmount,ke=f.regulatorDepositLimitAmount,Y("self_limitation_success"),$()}).catch(f=>{console.log(f),i(17,K=!0)})},pt=()=>{switch(c){case"gmcore":ot();break;case"gm16":ge=!1,y==="lugas"?mt():y==="sessionLimit"?rt():y==="cumulativeSession"?lt():st();break;default:throw Error(`Invalid apiversion attribute: ${c}`)}Y("self_limitation_request")},$=()=>{switch(c){case"gmcore":dt();break;case"gm16":ut();break}},dt=()=>{i(16,G=!0);let s=new URL(`/v2/player/${d}/limits`,m),p={method:"GET",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,p).then(L=>Q(L)).then(L=>{H=L,ne&&de(),Ce(H),ct(H),i(10,x=null)}).catch(L=>{console.error("Error LimitsWidget: ",L),i(17,K=!0)}).finally(()=>{i(16,G=!1)})},ut=()=>{i(16,G=!0),H=[];let s=new URL(`/v1/player/${d}/limits/monetary`,m),p=new URL(`/v1/player/${d}/limits/session`,m),L=!1,h={method:"GET",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,h).then(f=>Q(f)).then(f=>{H.push(f),ne&&de(),c==="gmcore"&&Ce(H),c==="gm16"&&Lt(H),i(10,x=null)}).catch(f=>{console.error("Error LimitsWidget: ",f),i(17,K=!0)}).finally(()=>{L&&i(16,G=!1),L=!0}),fetch(p.href,h).then(f=>Q(f)).then(f=>{H.push(f),ne&&de(),c==="gm16"&&ft(H),c==="gm16"&>(H),i(10,x=null)}).catch(f=>{console.error("Error LimitsWidget: ",f),i(17,K=!0)}).finally(()=>{L&&i(16,G=!1),L=!0})},Ce=s=>{C.forEach(p=>{p.currentLimits=[];const L=Array.isArray(s[I[p.value].callValue])?s[I[p.value].callValue]:[s[I[p.value].callValue]];L.length===0||L[0]===void 0||(L.forEach((h,f)=>{var D;const T=s[I[p.value].callValue][f];p.currentLimits.push({}),p.currentLimits[f].limitType=p.value,p.currentLimits[f].amount=V?T.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(T.amount),p.currentLimits[f].currency=(D=oe[T.currency])!=null?D:T.currency,p.currentLimits[f].period=T.period,p.currentLimits[f].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(T.updateAmount),p.currentLimits[f].isModified=T.isModified,p.currentLimits[f].expiryDate=`${new Date(T.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`}),p.currentLimits=pe(p.currentLimits))})},ct=s=>{const p=n("minutes");C.filter(L=>L.value==="sessionLimit"||L.value==="cumulativeSession").forEach(L=>{var h;L.currentLimits=[],(h=s[I[L.value].callValue])==null||h.forEach((f,T)=>{const D=s[I[L.value].callValue][T];L.currentLimits.push({limitType:L.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(D.minutes),currency:p,isModified:D.isModified,period:L.value==="cumulativeSession"?D.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(D.updateMinutes),expiryDate:`${new Date(D.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})}),L.currentLimits=pe(L.currentLimits)})},Lt=s=>{var p;(p=s[0])!=null&&p.limits&&C.forEach(L=>{var h;L.currentLimits=[];for(const f of s[0].limits)if(f.type===L.callValue16&&f.products.includes(L.product)){let T=0,D=f.schedules.length>0?f.schedules.find(Z=>Z.id):{};f.schedules.length>0&&(T=V?D.updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(D.updateAmount)),L.currentLimits.push({limitType:L.value,amount:V?f.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(f.amount),currency:(h=oe[f.currency])!=null?h:f.currency,isModified:f.schedules.length>0,period:f.period,product:f.products[0],updateAmount:T,isCoolOffCompleted:D?D.isCoolOffCompleted:!1,scheduleId:D?D.id:null,expiryDate:f.schedules.length>0?`${new Date(f.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"",id:f.id}),L.currentLimits.forEach(Z=>{Z.acknowledgedLimit=Object.keys(X).some(ae=>Z.scheduleId===ae)})}L.currentLimits=pe(L.currentLimits)})},ft=s=>{var p;(p=s[1])!=null&&p.sessionLimit&&C.filter(L=>L.value==="sessionLimit").forEach(L=>{L.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s[1].sessionLimit.minutes),currency:n("minutes"),isModified:s[1].sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s[1].sessionLimit.updateMinutes),expiryDate:s[1].sessionLimit.expiryDate}),L.currentLimits=pe(L.currentLimits)})},gt=s=>{var p;(p=s[1])!=null&&p.cumulativeSessionLimits&&C.filter(L=>L.value==="cumulativeSession").forEach(L=>{for(const h of s[1].cumulativeSessionLimits)L.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(h.minutes),currency:n("minutes"),isModified:h.isModified,period:h.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(h.updateMinutes),expiryDate:h.expiryDate});L.currentLimits=pe(L.currentLimits)})},pe=s=>{const p={Daily:0,Weekly:1,Monthly:2};return s.sort((L,h)=>p[L.period]-p[h.period]),s},ht=()=>{const s=x-Math.floor(x)===0;x>=O&&x<=b&&s?(i(24,me=!1),F.removeAttribute("disabled")):(i(24,me=!0),F.setAttribute("disabled","true"))},Ae=()=>{i(24,me=!1),P!=null&&P[y]?(i(12,O=P[y].min),i(13,b=P[y].max)):(i(12,O=1),i(13,b=9999999))},yt=()=>{if(H){const s=H[I[y].callValue].filter(h=>h.period===w)[0],p=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.amount);let L=n("popupImmediateUpdate").replace("{selectedLimit}",ye()).replace("{updatedAmount}",p).replace("{currency}",oe[s.currency]||s.currency).replace("{selectedPeriod}",n(`${w}`));i(21,J=s.isModified?`${n("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:L)}i(20,ee=!0)},vt=()=>{var D;const s=((D=H[0])==null?void 0:D.limits)||H.limits;let p=null;if(!H){i(20,ee=!0);return}const L=ge?be:w;p=s.find(Z=>Z.type.toLowerCase()===we[y].toLowerCase()&&(Z.period===L||Z.period==="None")&&Z.products[0]===U),p.schedules.length>0&&X[p.schedules[0].id]&&(p.amount=p.schedules[0].updateAmount);const h=Ee(p)||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(p.amount),f=p.schedules.length>0?`${new Date(p.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"";let T=n("popupImmediateUpdate").replace("{selectedLimit}",ye()).replace("{updatedAmount}",h).replace("{selectedPeriod}",n(`${w}`));p.schedules.length>0&&X[p.schedules[0].id]?i(21,J=T):i(21,J=p.schedules.length>0?`${n("popupPendingUpdate")} ${f}`:T),i(20,ee=!0)},kt=()=>{le==1&&i(22,re="PopupKyc"),le==2&&(i(21,J=`${n("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(ke)} ${r} ${n("popup2_b")}`),i(22,re="PopupKyc2")),le==3&&(i(21,J=n("popup3")),i(22,re="PopupSuccess")),i(20,ee=!0)},bt=()=>{i(21,J=n("sessionLimitUpdated")),i(20,ee=!0)},wt=()=>{if(H){const s=H[I[y].callValue].filter(h=>(h.period===w||w==="None")&&h.products[0]===U)[0],p=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.minutes);let L=n("popupImmediateUpdate").replace("{selectedLimit}",n(`${y}`)).replace("{updatedAmount}",p).replace("{currency}",n("minutes")).replace("{selectedPeriod}",n(`${w}`));i(21,J=s.isModified?`${n("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:L)}i(20,ee=!0)},_t=s=>{var p;return(p=s==null?void 0:s.error)==null?void 0:p.includes("Limit update is not permitted due to LimitUpdateControl")},xt=s=>{var p;return(p=s==null?void 0:s.error)==null?void 0:p.includes("Limit remove is not permitted due to LimitUpdateControl")},St=s=>{var p;return(p=s==null?void 0:s.error)==null?void 0:p.includes("[NotFoundException] Limit does not exist")},Ct=s=>{var p;return(p=s.error)==null?void 0:p.includes("Invalid Session")},de=s=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),K){if(i(18,fe=!0),!s){i(20,ee=!0);return}s.thirdPartyResponse||i(21,J=n(`${s}`)),s.thirdPartyResponse&&i(21,J=s.thirdPartyResponse.message),_t(s)&&i(21,J=n("popupUpdateLimitException")),xt(s)&&i(21,J=n("popupRemoveLimitException")),St(s)&&i(21,J=n("notFoundException")),Ct(s)&&i(21,J=n("sessionExpiredException")),i(20,ee=!0);return}switch(c){case"gmcore":y==="sessionLimit"||y==="cumulativeSession"?wt():yt();break;case"gm16":y==="lugas"?kt():y==="sessionLimit"||y==="cumulativeSession"?bt():vt();break;default:throw new Error(`Invalid apiversion attribute: ${c}`)}},te=()=>{i(19,ne=!0),window.postMessage({type:"DisableScroll"},window.location.href)},At=s=>{i(7,y=s.limitType),i(8,w=s.period),te(),i(16,G=!0);let p=new URL(`/v2/player/${d}/limits/${we[s.limitType]}`,m);s.limitType!=="sessionLimit"&&p.searchParams.append("periods",s.period);let L={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(p.href,L).then(h=>Q(h)).then(h=>{Y("self_limitation_cancel_success",s.amount),$()}).catch(h=>{Y("self_limitation_cancel_failed",s.amount),console.log(h),i(17,K=!0)})},Te=s=>{switch(be=s.period,c){case"gmcore":At(s);break;case"gm16":ge=!0,s.limitType==="sessionLimit"||s.limitType==="cumulativeSession"?Tt(s):jt(s);break}Y("self_limitation_cancel_request",s.amount)},Tt=s=>{const p=new URL(`/v1/player/${d}/limits/session/session`,m),L=new URL(`/v1/player/${d}/limits/session/cumulativeSession?periods=${s.period}`,m);let h;switch(s.limitType){case"sessionLimit":h=p;break;case"cumulativeSession":h=L;break;default:throw Error(`Unknown limit.limitType: ${s.limitType}`)}te(),i(16,G=!0);let f={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(h.href,f).then(T=>Q(T)).then(T=>{Y("self_limitation_cancel_success",s.amount),$()}).catch(T=>{Y("self_limitation_cancel_failed",s.amount),console.log(T),i(17,K=!0)})},jt=s=>{const p=new URL(`/v1/player/${d}/limits/monetary/${s.id}`,m);te(),i(16,G=!0);let L={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(p.href,L).then(h=>Q(h)).then(h=>{Y("self_limitation_cancel_success",s.amount),$()}).catch(h=>{Y("self_limitation_cancel_failed",s.amount),console.log(h),i(17,K=!0)})},je=s=>{const p=new URL(`/v1/player/${d}/limits/schedule/${s.scheduleId}`,m);te(),i(16,G=!0);let L={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(p.href,L).then(h=>Q(h)).then(h=>{Y("self_limitation_cancel_success",s.updateAmount),$()}).catch(h=>{Y("self_limitation_cancel_failed",s.updateAmount),console.log(h),i(17,K=!0)})},De=s=>{const p=new URL(`v1/player/${d}/limits/schedule/acknowledge/${s.scheduleId}`,m);te(),i(16,G=!0);let L={method:"PATCH",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(p.href,L).then(h=>Q(h)).then(h=>{Dt(s),Y("self_limitation_confirm_success",s.amount),$()}).catch(h=>{Y("self_limitation_confirm_failed",s.amount),console.log(h),i(17,K=!0)})},Dt=s=>{let p=60;i(25,X[s.scheduleId]={},X),i(25,X[s.scheduleId].timer=`${p} ${ie[o].seconds}`,X),i(25,X[s.scheduleId].timerStopped=!1,X);let L=window.setInterval(()=>p===0?(window.clearInterval(L),i(25,X[s.scheduleId].timerStopped=!0,X),i(25,X[s.scheduleId].timer=ie[o].reloadLimitsButton,X)):i(25,X[s.scheduleId].timer=`${--p} ${ie[o].seconds}`,X),1e3)},ye=s=>{let p;return s?p=n(s.value+s.product):p=n(y),p},Ee=(s,p=!1)=>{if(!V)return p?`${s.updateAmount}${s.currency}`:`${s.amount}${s.currency}`;let L=V;const h=L.match(/\{(\d+)decimals\}/),f=h?parseInt(h[1],10):2,T=h?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let D=p?s.updateAmount:s.amount;D=parseInt(D).toFixed(f);const[Z,ae]=V.includes(".")?[",","."]:[".",","];let[ue,ve]=D.split(".");return ue=ue.replace(/\B(?=(\d{3})+(?!\d))/g,Z),D=`${ue}${ae}${ve}`,L=L.replace("{currency}",oe[s.currency]||s.currency).replace("{amount}",D.split(ae)[0]).replace(T,D.split(ae)[1]),L},Me=()=>{i(20,ee=i(19,ne=!1)),i(22,re=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},Et=()=>{window.postMessage({type:"uploadDocuments"},window.location.href),Me()},Mt=s=>{s.keyCode===13&&me&&s.preventDefault()},zt=()=>{if(!g)return;let s={};g.split(",").forEach(p=>{let L=p.split(":");s[L[0].trim()]=L[1].trim()}),oe=ce(ce({},oe),s)},Pt=()=>{Xt(o)};e.onMount(()=>()=>{});const It=()=>$(),Ut=s=>Te(s),Nt=s=>De(s),Bt=s=>je(s);function Rt(){W=e.select_value(this),i(9,W)}const Wt=()=>{Se(),xe(),Ae()};function Ot(){w=e.select_value(this),i(8,w),i(5,I),i(7,y)}function Vt(){x=e.to_number(this.value),i(10,x)}function Ft(s){e.binding_callbacks[s?"unshift":"push"](()=>{F=s,i(11,F)})}function qt(s){e.binding_callbacks[s?"unshift":"push"](()=>{_=s,i(4,_)})}return a.$$set=s=>{"lang"in s&&i(42,o=s.lang),"currency"in s&&i(0,r=s.currency),"limits"in s&&i(43,l=s.limits),"session"in s&&i(44,u=s.session),"userid"in s&&i(45,d=s.userid),"endpoint"in s&&i(46,m=s.endpoint),"apiversion"in s&&i(47,c=s.apiversion),"customcurrencysymbols"in s&&i(48,g=s.customcurrencysymbols),"enablecompliancetext"in s&&i(1,S=s.enablecompliancetext),"deletelimit"in s&&i(2,v=s.deletelimit),"amountsconfig"in s&&i(49,E=s.amountsconfig),"periodsconfig"in s&&i(50,R=s.periodsconfig),"limittabindex"in s&&i(3,N=s.limittabindex),"limitformat"in s&&i(51,V=s.limitformat),"clientstyling"in s&&i(52,M=s.clientstyling),"clientstylingurl"in s&&i(53,j=s.clientstylingurl),"translationurl"in s&&i(54,z=s.translationurl),"mbsource"in s&&i(55,A=s.mbsource)},a.$$.update=()=>{a.$$.dirty[1]&131072&&g&&zt(),a.$$.dirty[1]&786432&&R&&E&&at(),a.$$.dirty[1]&2048&&o&&Pt(),a.$$.dirty[1]&124928&&d&&u&&m&&c&&o&&$(),a.$$.dirty[0]&16|a.$$.dirty[1]&2097152&&M&&_&&e.setClientStyling(_,M),a.$$.dirty[0]&16|a.$$.dirty[1]&4194304&&j&&_&&e.setClientStylingURL(_,j),a.$$.dirty[0]&16|a.$$.dirty[1]&16777216&&A&&_&&e.setStreamStyling(_,`${A}.Style`),a.$$.dirty[1]&8388608&&z&&et()},[r,S,v,N,_,I,C,y,w,W,x,F,O,b,se,Le,G,K,fe,ne,ee,J,re,le,me,X,n,B,xe,Se,pt,$,ht,Ae,Te,je,De,ye,Ee,Me,Et,Mt,o,l,u,d,m,c,g,E,R,V,M,j,z,A,It,Ut,Nt,Bt,Rt,Wt,Ot,Vt,Ft,qt]}class Qe extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Si,xi,e.safe_not_equal,{lang:42,currency:0,limits:43,session:44,userid:45,endpoint:46,apiversion:47,customcurrencysymbols:48,enablecompliancetext:1,deletelimit:2,amountsconfig:49,periodsconfig:50,limittabindex:3,limitformat:51,clientstyling:52,clientstylingurl:53,translationurl:54,mbsource:55},Zt,[-1,-1,-1,-1,-1])}get lang(){return this.$$.ctx[42]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),e.flush()}get limits(){return this.$$.ctx[43]}set limits(t){this.$$set({limits:t}),e.flush()}get session(){return this.$$.ctx[44]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[45]}set userid(t){this.$$set({userid:t}),e.flush()}get endpoint(){return this.$$.ctx[46]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[47]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[48]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[1]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[2]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get amountsconfig(){return this.$$.ctx[49]}set amountsconfig(t){this.$$set({amountsconfig:t}),e.flush()}get periodsconfig(){return this.$$.ctx[50]}set periodsconfig(t){this.$$set({periodsconfig:t}),e.flush()}get limittabindex(){return this.$$.ctx[3]}set limittabindex(t){this.$$set({limittabindex:t}),e.flush()}get limitformat(){return this.$$.ctx[51]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[52]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[53]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[54]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[55]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(Qe,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},apiversion:{},customcurrencysymbols:{},enablecompliancetext:{},deletelimit:{},amountsconfig:{},periodsconfig:{},limittabindex:{},limitformat:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=Qe;
|
|
21
|
+
c0.391-0.391,0.391-1.023,0-1.414L27.414,26l8.293-8.293C36.098,17.316,36.098,16.684,35.707,16.293z`),e.attr(t,"version","1.1"),e.attr(t,"id","Capa_1"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),e.attr(t,"x","0px"),e.attr(t,"y","0px"),e.attr(t,"viewBox","0 0 52 52"),e.set_style(t,"enable-background","new 0 0 52 52"),e.attr(t,"xml:space","preserve")},m(z,A){e.insert(z,t,A),e.append(t,i),e.append(i,n),e.append(i,o),e.append(t,r),e.append(t,l),e.append(t,u),e.append(t,d),e.append(t,m),e.append(t,c),e.append(t,g),e.append(t,S),e.append(t,v),e.append(t,E),e.append(t,R),e.append(t,N),e.append(t,V),e.append(t,M),e.append(t,j)},d(z){z&&e.detach(t)}}}function ai(a){let t,i=a[26]("popupSuccess")+"",n;return{c(){t=e.element("p"),n=e.text(i)},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&67108864&&i!==(i=o[26]("popupSuccess")+"")&&e.set_data(n,i)},d(o){o&&e.detach(t)}}}function ni(a){let t,i=a[26]("docsRequired")+"",n;return{c(){t=e.element("p"),n=e.text(i)},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&67108864&&i!==(i=o[26]("docsRequired")+"")&&e.set_data(n,i)},d(o){o&&e.detach(t)}}}function oi(a){let t,i=a[26]("popupError")+"",n;return{c(){t=e.element("p"),n=e.text(i)},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&67108864&&i!==(i=o[26]("popupError")+"")&&e.set_data(n,i)},d(o){o&&e.detach(t)}}}function si(a){let t,i=a[26]("okButton")+"",n,o,r;return{c(){t=e.element("button"),n=e.text(i),e.attr(t,"class","ConfirmButton "+(a[27]?"":"Mobile"))},m(l,u){e.insert(l,t,u),e.append(t,n),o||(r=e.listen(t,"click",a[39]),o=!0)},p(l,u){u[0]&67108864&&i!==(i=l[26]("okButton")+"")&&e.set_data(n,i)},d(l){l&&e.detach(t),o=!1,r()}}}function ri(a){let t,i=a[26]("uploadDocumentsButton")+"",n,o,r=a[26]("closeButton")+"",l,u,d;return{c(){t=e.element("button"),n=e.space(),o=e.element("button"),l=e.text(r),e.attr(t,"class","ConfirmButton"),e.attr(o,"class","CloseButton")},m(m,c){e.insert(m,t,c),t.innerHTML=i,e.insert(m,n,c),e.insert(m,o,c),e.append(o,l),u||(d=[e.listen(t,"click",a[40]),e.listen(o,"click",a[39])],u=!0)},p(m,c){c[0]&67108864&&i!==(i=m[26]("uploadDocumentsButton")+"")&&(t.innerHTML=i),c[0]&67108864&&r!==(r=m[26]("closeButton")+"")&&e.set_data(l,r)},d(m){m&&(e.detach(t),e.detach(n),e.detach(o)),u=!1,e.run_all(d)}}}function li(a){let t,i,n,o,r,l,u=a[26]("setLimit")+"",d,m,c,g,S,v,E,R=a[15]?`${a[26]("amount")}`:`${a[26](`new${a[8]}Limit`)}`,N,V,M,j,z,A,_=a[26]("setLimit")+"",k,B,C,y,w=e.ensure_array_like(a[6]),U=[];for(let b=0;b<w.length;b+=1)U[b]=Ge(Be(a,w,b));let W=a[1]==="true"&&Ke(a),x=a[14]&&He(a),F=a[15]&&Xe(a),O=a[24]&&Je(a);return{c(){t=e.element("div"),i=e.element("div"),n=e.element("div");for(let b=0;b<U.length;b+=1)U[b].c();o=e.space(),r=e.element("form"),l=e.element("p"),d=e.text(u),m=e.space(),W&&W.c(),c=e.space(),x&&x.c(),g=e.space(),F&&F.c(),S=e.space(),v=e.element("label"),E=e.element("span"),N=e.text(R),V=e.space(),M=e.element("input"),j=e.space(),O&&O.c(),z=e.space(),A=e.element("button"),k=e.text(_),e.attr(n,"class","LimitsList"),e.attr(l,"class","LimitTitle "+(a[27]?"":"Mobile")),e.attr(E,"class","LimitInputText"),e.attr(M,"type","number"),e.attr(M,"pattern","[0-9]*"),e.attr(v,"class","LimitAmountInputWrapper "+(a[27]?"":"Mobile")),e.attr(A,"class","LimitSubmitButton "+(a[27]?"":"Mobile")),e.attr(A,"type","button"),A.disabled=!0,e.attr(r,"class","LimitsInteractionArea "+(a[27]?"":"Mobile")),e.attr(i,"class","LimitsPageContainer"),e.attr(t,"class",B="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+a[3]))},m(b,q){e.insert(b,t,q),e.append(t,i),e.append(i,n);for(let P=0;P<U.length;P+=1)U[P]&&U[P].m(n,null);e.append(i,o),e.append(i,r),e.append(r,l),e.append(l,d),e.append(r,m),W&&W.m(r,null),e.append(r,c),x&&x.m(r,null),e.append(r,g),F&&F.m(r,null),e.append(r,S),e.append(r,v),e.append(v,E),e.append(E,N),e.append(v,V),e.append(v,M),e.set_input_value(M,a[10]),e.append(v,j),O&&O.m(v,null),e.append(r,z),e.append(r,A),e.append(A,k),a[64](A),C||(y=[e.listen(M,"input",a[63]),e.listen(M,"keydown",a[41]),e.listen(M,"keyup",a[32]),e.listen(A,"click",a[30]),e.listen(r,"submit",a[30])],C=!0)},p(b,q){if(q[0]&234881092|q[1]&249){w=e.ensure_array_like(b[6]);let P;for(P=0;P<w.length;P+=1){const se=Be(b,w,P);U[P]?U[P].p(se,q):(U[P]=Ge(se),U[P].c(),U[P].m(n,null))}for(;P<U.length;P+=1)U[P].d(1);U.length=w.length}q[0]&67108864&&u!==(u=b[26]("setLimit")+"")&&e.set_data(d,u),b[1]==="true"?W?W.p(b,q):(W=Ke(b),W.c(),W.m(r,c)):W&&(W.d(1),W=null),b[14]?x?x.p(b,q):(x=He(b),x.c(),x.m(r,g)):x&&(x.d(1),x=null),b[15]?F?F.p(b,q):(F=Xe(b),F.c(),F.m(r,S)):F&&(F.d(1),F=null),q[0]&67141888&&R!==(R=b[15]?`${b[26]("amount")}`:`${b[26](`new${b[8]}Limit`)}`)&&e.set_data(N,R),q[0]&1024&&e.to_number(M.value)!==b[10]&&e.set_input_value(M,b[10]),b[24]?O?O.p(b,q):(O=Je(b),O.c(),O.m(v,null)):O&&(O.d(1),O=null),q[0]&67108864&&_!==(_=b[26]("setLimit")+"")&&e.set_data(k,_),q[0]&8&&B!==(B="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+b[3]))&&e.attr(t,"class",B)},d(b){b&&e.detach(t),e.destroy_each(U,b),W&&W.d(),x&&x.d(),F&&F.d(),O&&O.d(),a[64](null),C=!1,e.run_all(y)}}}function mi(a){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(i,n){e.insert(i,t,n)},p:e.noop,d(i){i&&e.detach(t)}}}function pi(a){let t,i,n,o,r,l,u=e.ensure_array_like(Array(3)),d=[];for(let m=0;m<u.length;m+=1)d[m]=_i(Jt(a,u,m));return{c(){t=e.element("div"),i=e.element("div"),i.innerHTML='<ui-skeleton width="auto" height="25px" structure="text" margin-right="auto"></ui-skeleton>',n=e.space(),o=e.element("div");for(let m=0;m<d.length;m+=1)d[m].c();r=e.space(),l=e.element("div"),l.innerHTML='<div class="skletonHeader"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skletonSubText"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonPeriod"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skletonSubText"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonInputAmount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeletonButton"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div>',e.attr(i,"class","skeletonLimitText"),e.attr(o,"class","skeletonLimitWrapper"),e.attr(l,"class","skeletonInputWrapper"),e.attr(t,"class","skeletonLimitContainer")},m(m,c){e.insert(m,t,c),e.append(t,i),e.append(t,n),e.append(t,o);for(let g=0;g<d.length;g+=1)d[g]&&d[g].m(o,null);e.append(t,r),e.append(t,l)},p:e.noop,d(m){m&&e.detach(t),e.destroy_each(d,m)}}}function di(a){let t,i,n,o=a[26]("noLimitText")+"",r;return{c(){t=e.element("div"),i=e.element("div"),n=e.element("div"),r=e.text(o),e.attr(n,"class","LimitDetailsTextWrapper "+(a[27]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,u){e.insert(l,t,u),e.append(t,i),e.append(i,n),e.append(n,r)},p(l,u){u[0]&67108864&&o!==(o=l[26]("noLimitText")+"")&&e.set_data(r,o)},d(l){l&&e.detach(t)}}}function ui(a){let t,i,n,o=a[26]("lugasPrivacy")+"",r;return{c(){t=e.element("div"),i=e.element("div"),n=e.element("div"),r=e.text(o),e.attr(n,"class","LimitDetailsTextWrapper "+(a[27]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,u){e.insert(l,t,u),e.append(t,i),e.append(i,n),e.append(n,r)},p(l,u){u[0]&67108864&&o!==(o=l[26]("lugasPrivacy")+"")&&e.set_data(r,o)},d(l){l&&e.detach(t)}}}function ci(a){let t,i=e.ensure_array_like(a[126].currentLimits),n=[];for(let o=0;o<i.length;o+=1)n[o]=qe(Re(a,i,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();t=e.empty()},m(o,r){for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(o,r);e.insert(o,t,r)},p(o,r){if(r[0]&234881092|r[1]&185){i=e.ensure_array_like(o[126].currentLimits);let l;for(l=0;l<i.length;l+=1){const u=Re(o,i,l);n[l]?n[l].p(u,r):(n[l]=qe(u),n[l].c(),n[l].m(t.parentNode,t))}for(;l<n.length;l+=1)n[l].d(1);n.length=i.length}},d(o){o&&e.detach(t),e.destroy_each(n,o)}}}function Li(a){let t,i,n,o=a[26]("lugasPrivacy")+"",r;return{c(){t=e.element("div"),i=e.element("div"),n=e.element("div"),r=e.text(o),e.attr(n,"class","LimitDetailsTextWrapper "+(a[27]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,u){e.insert(l,t,u),e.append(t,i),e.append(i,n),e.append(n,r)},p(l,u){u[0]&67108864&&o!==(o=l[26]("lugasPrivacy")+"")&&e.set_data(r,o)},d(l){l&&e.detach(t)}}}function fi(a){let t,i=`${a[38](a[131])}`,n;return{c(){t=e.element("span"),n=e.text(i)},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&64&&i!==(i=`${o[38](o[131])}`)&&e.set_data(n,i)},d(o){o&&e.detach(t)}}}function gi(a){let t,i=`${a[38](a[131],!0)}`,n;return{c(){t=e.element("span"),n=e.text(i)},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&64&&i!==(i=`${o[38](o[131],!0)}`)&&e.set_data(n,i)},d(o){o&&e.detach(t)}}}function hi(a){let t,i,n=`${a[38](a[131],!0)}`,o,r;function l(m,c){return m[131].isCoolOffCompleted?wi:bi}let u=l(a),d=u(a);return{c(){t=e.element("div"),i=e.element("span"),o=e.text(n),r=e.space(),d.c(),e.attr(t,"class","PendingLimit")},m(m,c){e.insert(m,t,c),e.append(t,i),e.append(i,o),e.append(t,r),d.m(t,null)},p(m,c){c[0]&64&&n!==(n=`${m[38](m[131],!0)}`)&&e.set_data(o,n),u===(u=l(m))&&d?d.p(m,c):(d.d(1),d=u(m),d&&(d.c(),d.m(t,null)))},d(m){m&&e.detach(t),d.d()}}}function yi(a){let t,i=`${a[26]("removedLimitText")} ${a[131].expiryDate}`,n;return{c(){t=e.element("div"),n=e.text(i),e.attr(t,"class","PendingLimit")},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&67108928&&i!==(i=`${o[26]("removedLimitText")} ${o[131].expiryDate}`)&&e.set_data(n,i)},d(o){o&&e.detach(t)}}}function vi(a){let t,i=`${a[26]("removeAfterConfirm")}`,n;return{c(){t=e.element("div"),n=e.text(i),e.attr(t,"class","PendingLimit")},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&67108864&&i!==(i=`${o[26]("removeAfterConfirm")}`)&&e.set_data(n,i)},d(o){o&&e.detach(t)}}}function ki(a){let t,i=`${a[26]("acknowledgedLimit")}`,n;return{c(){t=e.element("div"),n=e.text(i),e.attr(t,"class","PendingLimit")},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&67108864&&i!==(i=`${o[26]("acknowledgedLimit")}`)&&e.set_data(n,i)},d(o){o&&e.detach(t)}}}function bi(a){let t=`${a[131].period!=="None"||a[131].value!=="cumulativeSession"?" ":a[26]("per")} ${a[26](`${a[131].period}`)} ${a[26]("updateText")} ${a[131].expiryDate}`,i;return{c(){i=e.text(t)},m(n,o){e.insert(n,i,o)},p(n,o){o[0]&67108928&&t!==(t=`${n[131].period!=="None"||n[131].value!=="cumulativeSession"?" ":n[26]("per")} ${n[26](`${n[131].period}`)} ${n[26]("updateText")} ${n[131].expiryDate}`)&&e.set_data(i,t)},d(n){n&&e.detach(i)}}}function wi(a){let t=`${a[131].period!=="None"||a[131].value!=="cumulativeSession"?" ":a[26]("per")} ${a[26](`${a[131].period}`)} ${a[26]("updateAfterConfirm")}`,i;return{c(){i=e.text(t)},m(n,o){e.insert(n,i,o)},p(n,o){o[0]&67108928&&t!==(t=`${n[131].period!=="None"||n[131].value!=="cumulativeSession"?" ":n[26]("per")} ${n[26](`${n[131].period}`)} ${n[26]("updateAfterConfirm")}`)&&e.set_data(i,t)},d(n){n&&e.detach(i)}}}function Oe(a){let t,i,n=a[25][a[131].scheduleId].timer+"",o,r,l,u;return{c(){t=e.element("div"),i=e.element("button"),o=e.text(n),e.attr(i,"class",r="ReloadLimitButton "+(a[27]?"":"Mobile")+" "+(a[25][a[131].scheduleId].timerStopped?"":"disabled")),e.attr(t,"class","ContainerLimitActions "+(a[27]?"":"Mobile"))},m(d,m){e.insert(d,t,m),e.append(t,i),e.append(i,o),l||(u=e.listen(i,"click",a[56]),l=!0)},p(d,m){m[0]&33554496&&n!==(n=d[25][d[131].scheduleId].timer+"")&&e.set_data(o,n),m[0]&33554496&&r!==(r="ReloadLimitButton "+(d[27]?"":"Mobile")+" "+(d[25][d[131].scheduleId].timerStopped?"":"disabled"))&&e.attr(i,"class",r)},d(d){d&&e.detach(t),l=!1,u()}}}function Ve(a){let t,i,n=a[26]("removeLimit")+"",o,r,l;function u(){return a[57](a[131])}return{c(){t=e.element("div"),i=e.element("button"),o=e.text(n),e.attr(i,"class","RemoveLimitButton "+(a[27]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(a[27]?"":"Mobile"))},m(d,m){e.insert(d,t,m),e.append(t,i),e.append(i,o),r||(l=e.listen(i,"click",u),r=!0)},p(d,m){a=d,m[0]&67108864&&n!==(n=a[26]("removeLimit")+"")&&e.set_data(o,n)},d(d){d&&e.detach(t),r=!1,l()}}}function Fe(a){let t,i,n=a[26]("confirmUpdateLimit")+"",o,r,l,u=a[26]("cancelUpdateLimit")+"",d,m,c;function g(){return a[58](a[131])}function S(){return a[59](a[131])}return{c(){t=e.element("div"),i=e.element("button"),o=e.text(n),r=e.space(),l=e.element("button"),d=e.text(u),e.attr(i,"class","ConfirmLimitButton "+(a[27]?"":"Mobile")),e.attr(l,"class","CancelLimitButton "+(a[27]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(a[27]?"":"Mobile"))},m(v,E){e.insert(v,t,E),e.append(t,i),e.append(i,o),e.append(t,r),e.append(t,l),e.append(l,d),m||(c=[e.listen(i,"click",g),e.listen(l,"click",S)],m=!0)},p(v,E){a=v,E[0]&67108864&&n!==(n=a[26]("confirmUpdateLimit")+"")&&e.set_data(o,n),E[0]&67108864&&u!==(u=a[26]("cancelUpdateLimit")+"")&&e.set_data(d,u)},d(v){v&&e.detach(t),m=!1,e.run_all(c)}}}function qe(a){let t,i,n,o,r,l=`${a[131].period!=="None"||a[131].value!=="cumulativeSession"?" ":a[26]("per")} ${a[26](`${a[131].period}`)}`,u,d,m,c,g=!a[131].isModified&&a[2].indexOf(a[126].value)>-1,S,v;function E(k,B){return k[131].acknowledgedLimit?gi:fi}let R=E(a),N=R(a);function V(k,B){if(k[131].acknowledgedLimit)return ki;if(k[131].isModified&&k[131].updateAmount==0&&k[131].isCoolOffCompleted)return vi;if(k[131].isModified&&k[131].updateAmount==0&&!k[131].isCoolOffCompleted)return yi;if(k[131].isModified)return hi}let M=V(a),j=M&&M(a),z=a[131].acknowledgedLimit&&Oe(a),A=g&&Ve(a),_=a[131].isCoolOffCompleted&!a[131].acknowledgedLimit&&Fe(a);return{c(){t=e.element("div"),i=e.element("div"),n=e.element("div"),o=e.element("div"),N.c(),r=e.space(),u=e.text(l),d=e.space(),j&&j.c(),m=e.space(),z&&z.c(),c=e.space(),A&&A.c(),S=e.space(),_&&_.c(),v=e.space(),e.attr(o,"class","CurrentLimit"),e.attr(n,"class","CurrentLimitContainer"),e.attr(i,"class","LimitDetailsTextWrapper "+(a[27]?"":"Mobile")),e.attr(t,"class","LimitDetails")},m(k,B){e.insert(k,t,B),e.append(t,i),e.append(i,n),e.append(n,o),N.m(o,null),e.append(o,r),e.append(o,u),e.append(n,d),j&&j.m(n,null),e.append(i,m),z&&z.m(i,null),e.append(i,c),A&&A.m(i,null),e.append(i,S),_&&_.m(i,null),e.append(t,v)},p(k,B){R===(R=E(k))&&N?N.p(k,B):(N.d(1),N=R(k),N&&(N.c(),N.m(o,r))),B[0]&67108928&&l!==(l=`${k[131].period!=="None"||k[131].value!=="cumulativeSession"?" ":k[26]("per")} ${k[26](`${k[131].period}`)}`)&&e.set_data(u,l),M===(M=V(k))&&j?j.p(k,B):(j&&j.d(1),j=M&&M(k),j&&(j.c(),j.m(n,null))),k[131].acknowledgedLimit?z?z.p(k,B):(z=Oe(k),z.c(),z.m(i,c)):z&&(z.d(1),z=null),B[0]&68&&(g=!k[131].isModified&&k[2].indexOf(k[126].value)>-1),g?A?A.p(k,B):(A=Ve(k),A.c(),A.m(i,S)):A&&(A.d(1),A=null),k[131].isCoolOffCompleted&!k[131].acknowledgedLimit?_?_.p(k,B):(_=Fe(k),_.c(),_.m(i,null)):_&&(_.d(1),_=null)},d(k){k&&e.detach(t),N.d(),j&&j.d(),z&&z.d(),A&&A.d(),_&&_.d()}}}function Ge(a){let t,i=a[37](a[126])+"",n,o,r,l;function u(c,g){return c[126].value==="lugas"?Li:c[126].currentLimits.length>0?ci:c[126].value==="lugas"?ui:di}let d=u(a),m=d(a);return{c(){t=e.element("p"),n=e.text(i),o=e.space(),r=e.element("div"),m.c(),l=e.space(),e.attr(t,"class","LimitTitle "+(a[27]?"":"Mobile")),e.attr(r,"class","LimitWrapper "+(a[27]?"":"Mobile"))},m(c,g){e.insert(c,t,g),e.append(t,n),e.insert(c,o,g),e.insert(c,r,g),m.m(r,null),e.append(r,l)},p(c,g){g[0]&64&&i!==(i=c[37](c[126])+"")&&e.set_data(n,i),d===(d=u(c))&&m?m.p(c,g):(m.d(1),m=d(c),m&&(m.c(),m.m(r,l)))},d(c){c&&(e.detach(t),e.detach(o),e.detach(r)),m.d()}}}function Ke(a){let t,i,n=a[26]("complianceText")+"",o;return{c(){t=e.element("div"),i=e.element("p"),o=e.text(n),e.attr(i,"class","LimitComplianceText"),e.attr(t,"class","LimitCompliance")},m(r,l){e.insert(r,t,l),e.append(t,i),e.append(i,o)},p(r,l){l[0]&67108864&&n!==(n=r[26]("complianceText")+"")&&e.set_data(o,n)},d(r){r&&e.detach(t)}}}function He(a){let t,i,n=a[26]("limitType")+"",o,r,l,u,d,m=e.ensure_array_like(a[6]),c=[];for(let g=0;g<m.length;g+=1)c[g]=Ye(Ne(a,m,g));return{c(){t=e.element("label"),i=e.element("span"),o=e.text(n),r=e.space(),l=e.element("select");for(let g=0;g<c.length;g+=1)c[g].c();e.attr(i,"class","LimitSelectText"),e.attr(l,"name",""),e.attr(l,"id",""),a[9]===void 0&&e.add_render_callback(()=>a[60].call(l)),e.attr(t,"class","LimitTypeDropdownWrapper "+(a[27]?"":"Mobile"))},m(g,S){e.insert(g,t,S),e.append(t,i),e.append(i,o),e.append(t,r),e.append(t,l);for(let v=0;v<c.length;v+=1)c[v]&&c[v].m(l,null);e.select_option(l,a[9],!0),u||(d=[e.listen(l,"change",a[60]),e.listen(l,"change",a[61])],u=!0)},p(g,S){if(S[0]&67108864&&n!==(n=g[26]("limitType")+"")&&e.set_data(o,n),S[0]&64|S[1]&64){m=e.ensure_array_like(g[6]);let v;for(v=0;v<m.length;v+=1){const E=Ne(g,m,v);c[v]?c[v].p(E,S):(c[v]=Ye(E),c[v].c(),c[v].m(l,null))}for(;v<c.length;v+=1)c[v].d(1);c.length=m.length}S[0]&512&&e.select_option(l,g[9])},d(g){g&&e.detach(t),e.destroy_each(c,g),u=!1,e.run_all(d)}}}function Ye(a){let t,i=a[37](a[126])+"",n;return{c(){t=e.element("option"),n=e.text(i),t.__value=a[128],e.set_input_value(t,t.__value)},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&64&&i!==(i=o[37](o[126])+"")&&e.set_data(n,i)},d(o){o&&e.detach(t)}}}function Xe(a){let t,i,n=a[26]("period")+"",o,r,l,u,d,m=e.ensure_array_like(a[5][a[7]].periods),c=[];for(let g=0;g<m.length;g+=1)c[g]=Ze(Ue(a,m,g));return{c(){t=e.element("label"),i=e.element("span"),o=e.text(n),r=e.space(),l=e.element("select");for(let g=0;g<c.length;g+=1)c[g].c();e.attr(i,"class","PeriodSelectText"),e.attr(l,"name",""),e.attr(l,"id",""),a[8]===void 0&&e.add_render_callback(()=>a[62].call(l)),e.attr(t,"class","LimitPeriodDropdownWrapper "+(a[27]?"":"Mobile"))},m(g,S){e.insert(g,t,S),e.append(t,i),e.append(i,o),e.append(t,r),e.append(t,l);for(let v=0;v<c.length;v+=1)c[v]&&c[v].m(l,null);e.select_option(l,a[8],!0),u||(d=e.listen(l,"change",a[62]),u=!0)},p(g,S){if(S[0]&67108864&&n!==(n=g[26]("period")+"")&&e.set_data(o,n),S[0]&67109024){m=e.ensure_array_like(g[5][g[7]].periods);let v;for(v=0;v<m.length;v+=1){const E=Ue(g,m,v);c[v]?c[v].p(E,S):(c[v]=Ze(E),c[v].c(),c[v].m(l,null))}for(;v<c.length;v+=1)c[v].d(1);c.length=m.length}S[0]&416&&e.select_option(l,g[8])},d(g){g&&e.detach(t),e.destroy_each(c,g),u=!1,d()}}}function Ze(a){let t,i=a[26](a[123])+"",n,o;return{c(){t=e.element("option"),n=e.text(i),t.__value=o=a[123],e.set_input_value(t,t.__value),t.selected=!0},m(r,l){e.insert(r,t,l),e.append(t,n)},p(r,l){l[0]&67109024&&i!==(i=r[26](r[123])+"")&&e.set_data(n,i),l[0]&160&&o!==(o=r[123])&&(t.__value=o,e.set_input_value(t,t.__value))},d(r){r&&e.detach(t)}}}function Je(a){let t,i=a[10]<a[12]?`${a[26]("invalidInputMessageLimitMin",{values:{minValue:a[12],currency:a[0]}})}`:`${a[26]("invalidInputMessageLimitMax",{values:{maxValue:a[13],currency:a[0]}})}`,n;return{c(){t=e.element("p"),n=e.text(i),e.attr(t,"class","InvalidInput")},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&67122177&&i!==(i=o[10]<o[12]?`${o[26]("invalidInputMessageLimitMin",{values:{minValue:o[12],currency:o[0]}})}`:`${o[26]("invalidInputMessageLimitMax",{values:{maxValue:o[13],currency:o[0]}})}`)&&e.set_data(n,i)},d(o){o&&e.detach(t)}}}function _i(a){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="skeletonLimitAmount"><div class="skeletonAmountText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonSubText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div></div> <div class="skeletonLimitButton"><div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div> ',e.attr(t,"class","skeletonLimitContent")},m(i,n){e.insert(i,t,n)},p:e.noop,d(i){i&&e.detach(t)}}}function xi(a){let t,i,n,o,r=a[19]&&We(a);function l(m,c){if(m[16])return pi;if(m[17])return mi;if(!m[16])return li}let u=l(a),d=u&&u(a);return{c(){t=e.element("meta"),i=e.space(),n=e.element("div"),r&&r.c(),o=e.space(),d&&d.c(),e.attr(t,"name","viewport"),e.attr(t,"content","width=device-width, initial-scale=1")},m(m,c){e.append(document.head,t),e.insert(m,i,c),e.insert(m,n,c),r&&r.m(n,null),e.append(n,o),d&&d.m(n,null),a[65](n)},p(m,c){m[19]?r?r.p(m,c):(r=We(m),r.c(),r.m(n,o)):r&&(r.d(1),r=null),u===(u=l(m))&&d?d.p(m,c):(d&&d.d(1),d=u&&u(m),d&&(d.c(),d.m(n,null)))},i:e.noop,o:e.noop,d(m){m&&(e.detach(i),e.detach(n)),e.detach(t),r&&r.d(),d&&d.d(),a[65](null)}}}function Si(a,t,i){let n;e.component_subscribe(a,e.$format,s=>i(26,n=s));let{lang:o="en"}=t,{currency:r=""}=t,{limits:l=""}=t,{session:u=""}=t,{userid:d=""}=t,{endpoint:m=""}=t,{apiversion:c=""}=t,{customcurrencysymbols:g=""}=t,{enablecompliancetext:S=""}=t,{deletelimit:v=""}=t,{amountsconfig:E=""}=t,{periodsconfig:R=""}=t,{limittabindex:N=""}=t,{limitformat:V=""}=t,{clientstyling:M=""}=t,{clientstylingurl:j=""}=t,{translationurl:z=""}=t,{mbsource:A}=t,_,k=window.navigator.userAgent,B=!e.isMobile(k),C=[],y="",w="",U="",W=0,x,F,O="",b="",q="",P={},se=!1,Le=!1,G=!0,K=!1,fe=!1,ne=!1,ee=!1,J="",re="",H=[],le,ke,me=!1,$e={},ge=!1,be="",oe={EUR:"€",RON:" lei",USD:"$"},X={};const we={wager:"wagering",loss:"loss",deposit:"deposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"},_e={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]},et=()=>{fetch(z).then(p=>p.json()).then(p=>{Object.keys(p).forEach(L=>{Ie(L,p[L])})}).catch(p=>{console.log(p)})};Object.keys(ie).forEach(s=>{Ie(s,ie[s])});const he=s=>`dataLayer-${s}`,Y=(s,p)=>{typeof gtag=="function"&>ag({event:s,limit_category:ie[o][he(U.toLowerCase())]||U,limit_type:ie[o][he(y.toLowerCase())]||y,limit_period:ie[o][he(w.toLowerCase())]||w,limit_amount:x||p})},tt=()=>{var h;const s=E.split(",").map(f=>f.split(":")),p=R.split(",").map(f=>f.split(":"));for(let[f,T]of s.entries())if(T[0]!==p[f][0])throw new Error(`Limit config mismatch: "${T[0]}" does not match "${p[f][0]}"`);const L=s.reduce((f,T,D)=>{const Z=T[0].slice(T[0].indexOf("(")+1,T[0].indexOf(")")),ae=T[0].slice(0,T[0].indexOf("(")),ue=T[1],ve=p[D][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),Gt={value:Z,product:ae,minMax:ue,periods:ve,callValue:I[Z].callValue,callValue16:I[Z].callValue16,title:I[Z].title};return f.push(Gt),f},[]);for(let f=0;f<L.length;f++)i(6,C[f].product=L[f].product,C),i(6,C[f].min=parseInt(L[f].minMax.split("-")[0],10),C),i(6,C[f].max=parseInt(L[f].minMax.split("-")[1],10),C),i(5,I[L[f].value].periods=L[f].periods,I);q=(h=C[0])==null?void 0:h.value,C.forEach(f=>{P[f.value]={min:f.min,max:f.max},$e[f.value]=f.product}),P&&(P[q]?(i(12,O=P[q].min),i(13,b=P[q].max)):(i(12,O=1),i(13,b=9999999)))},it=()=>{const s=/\(([^)]+)\)/g;return[...E.matchAll(s)].flat().filter(L=>!L.includes("("))},at=()=>{it().forEach(p=>{I[p]?C.push(ce({},I[p])):console.error(`Unknown limit: ${p}`)}),tt(),i(7,y=C[0].value),i(8,w=I[y].periods[0]),U=C[0].product,i(14,se=C.length>1),i(15,Le=I[y].periods.length>1)},xe=()=>{i(7,y=C[W].value),i(8,w=I[y].periods[0]),i(15,Le=I[y].periods.length>1)},Se=()=>{U=C[W].product},Q=s=>{if(s.status>=300)nt(s);else return i(18,fe=!1),s.status!==204?s.json():s},nt=s=>{i(17,K=!0);let p;throw s.json().then(L=>{for(const h in _e)if(_e[h].some(f=>L.error.includes(f))){p=h;break}console.error("errType",p),!p&&de(L)}).finally(()=>{p&&de(p),i(17,K=!1),i(16,G=!1)}),new Error("An error occured during the fetch request")},ot=()=>{if(!(x>0))return;te(),i(16,G=!0);let s=new URL(`/v2/player/${d}/limits`,m),p={};y==="sessionLimit"?p={sessionLimit:x,sessionLimitUnit:"minute"}:y==="cumulativeSession"?p[I[y].callValue]=[{period:w,minutes:x}]:p[I[y].callValue]=[{period:I[y].periods[0]==="None"?null:w,amount:x,currency:r}];let L={method:"PUT",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(p)};fetch(s.href,L).then(h=>Q(h)).then(h=>{Y("self_limitation_success"),$()}).catch(h=>{console.error(h),i(17,K=!0)})},st=()=>{if(x<=0)return;te(),i(16,G=!0);const p=C[W].currentLimits.filter(D=>D.period===w)[0],L=new URL(`/v1/player/${d}/limits/monetary/${p?p.id:""}`,m),h=p?"PUT":"POST",f=p?{amount:x,skipCoolOff:!1}:{amount:x,currency:r,period:I[y].periods[0]==="None"?null:w,type:I[y].callValue16,products:[U!=null?U:"All"],walletTypes:I[y].callValue16==="Deposit"?["All"]:["RealCash"]};let T={method:h,headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(f)};fetch(L.href,T).then(D=>Q(D)).then(D=>{Y("self_limitation_success"),$()}).catch(D=>{console.log(D),i(17,K=!0)})},rt=()=>{if(!(x>0))return;te(),i(16,G=!0);const s=new URL(`/v1/player/${d}/limits/session/`,m);let h={method:"PUT",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({sessionLimit:x,sessionLimitUnit:"minute"})};fetch(s.href,h).then(f=>Q(f)).then(f=>{Y("self_limitation_success"),$()}).catch(f=>{console.log(f),i(17,K=!0)})},lt=()=>{if(!(x>0))return;te(),i(16,G=!0);const s=new URL(`/v1/player/${d}/limits/session/`,m);let h={method:"PUT",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({cumulativeSessionLimits:[{period:w,minutes:x}]})};fetch(s.href,h).then(f=>Q(f)).then(f=>{Y("self_limitation_success"),$()}).catch(f=>{console.log(f),i(17,K=!0)})},mt=()=>{if(!(x>0))return;te(),i(16,G=!0);const s=new URL(`/v2/player/${d}/limit/lugas`,m);let h={method:"POST",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({amount:x,roleLimitAmount:0,softMigration:!1,keepLimit:!1})};fetch(s.href,h).then(f=>Q(f)).then(f=>{i(23,le=f.popup),f.operatorDepositLimitAmount,ke=f.regulatorDepositLimitAmount,Y("self_limitation_success"),$()}).catch(f=>{console.log(f),i(17,K=!0)})},pt=()=>{switch(c){case"gmcore":ot();break;case"gm16":ge=!1,y==="lugas"?mt():y==="sessionLimit"?rt():y==="cumulativeSession"?lt():st();break;default:throw Error(`Invalid apiversion attribute: ${c}`)}Y("self_limitation_request")},$=()=>{switch(c){case"gmcore":dt();break;case"gm16":ut();break}},dt=()=>{i(16,G=!0);let s=new URL(`/v2/player/${d}/limits`,m),p={method:"GET",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,p).then(L=>Q(L)).then(L=>{H=L,ne&&de(),Ce(H),ct(H),i(10,x=null)}).catch(L=>{console.error("Error LimitsWidget: ",L),i(17,K=!0)}).finally(()=>{i(16,G=!1)})},ut=()=>{i(16,G=!0),H=[];let s=new URL(`/v1/player/${d}/limits/monetary`,m),p=new URL(`/v1/player/${d}/limits/session`,m),L=!1,h={method:"GET",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,h).then(f=>Q(f)).then(f=>{H.push(f),ne&&de(),c==="gmcore"&&Ce(H),c==="gm16"&&Lt(H),i(10,x=null)}).catch(f=>{console.error("Error LimitsWidget: ",f),i(17,K=!0)}).finally(()=>{L&&i(16,G=!1),L=!0}),fetch(p.href,h).then(f=>Q(f)).then(f=>{H.push(f),ne&&de(),c==="gm16"&&ft(H),c==="gm16"&>(H),i(10,x=null)}).catch(f=>{console.error("Error LimitsWidget: ",f),i(17,K=!0)}).finally(()=>{L&&i(16,G=!1),L=!0})},Ce=s=>{C.forEach(p=>{p.currentLimits=[];const L=Array.isArray(s[I[p.value].callValue])?s[I[p.value].callValue]:[s[I[p.value].callValue]];L.length===0||L[0]===void 0||(L.forEach((h,f)=>{var D;const T=s[I[p.value].callValue][f];p.currentLimits.push({}),p.currentLimits[f].limitType=p.value,p.currentLimits[f].amount=V?T.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(T.amount),p.currentLimits[f].currency=(D=oe[T.currency])!=null?D:T.currency,p.currentLimits[f].period=T.period,p.currentLimits[f].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(T.updateAmount),p.currentLimits[f].isModified=T.isModified,p.currentLimits[f].expiryDate=`${new Date(T.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`}),p.currentLimits=pe(p.currentLimits))})},ct=s=>{const p=n("minutes");C.filter(L=>L.value==="sessionLimit"||L.value==="cumulativeSession").forEach(L=>{var h;L.currentLimits=[],(h=s[I[L.value].callValue])==null||h.forEach((f,T)=>{const D=s[I[L.value].callValue][T];L.currentLimits.push({limitType:L.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(D.minutes),currency:p,isModified:D.isModified,period:L.value==="cumulativeSession"?D.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(D.updateMinutes),expiryDate:`${new Date(D.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})}),L.currentLimits=pe(L.currentLimits)})},Lt=s=>{var p;(p=s[0])!=null&&p.limits&&C.forEach(L=>{var h;L.currentLimits=[];for(const f of s[0].limits)if(f.type===L.callValue16&&f.products.includes(L.product)){let T=0,D=f.schedules.length>0?f.schedules.find(Z=>Z.id):{};f.schedules.length>0&&(T=V?D.updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(D.updateAmount)),L.currentLimits.push({limitType:L.value,amount:V?f.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(f.amount),currency:(h=oe[f.currency])!=null?h:f.currency,isModified:f.schedules.length>0,period:f.period,product:f.products[0],updateAmount:T,isCoolOffCompleted:D?D.isCoolOffCompleted:!1,scheduleId:D?D.id:null,expiryDate:f.schedules.length>0?`${new Date(f.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"",id:f.id}),L.currentLimits.forEach(Z=>{Z.acknowledgedLimit=Object.keys(X).some(ae=>Z.scheduleId===ae)})}L.currentLimits=pe(L.currentLimits)})},ft=s=>{var p;(p=s[1])!=null&&p.sessionLimit&&C.filter(L=>L.value==="sessionLimit").forEach(L=>{L.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s[1].sessionLimit.minutes),currency:n("minutes"),isModified:s[1].sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s[1].sessionLimit.updateMinutes),expiryDate:s[1].sessionLimit.expiryDate}),L.currentLimits=pe(L.currentLimits)})},gt=s=>{var p;(p=s[1])!=null&&p.cumulativeSessionLimits&&C.filter(L=>L.value==="cumulativeSession").forEach(L=>{for(const h of s[1].cumulativeSessionLimits)L.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(h.minutes),currency:n("minutes"),isModified:h.isModified,period:h.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(h.updateMinutes),expiryDate:h.expiryDate});L.currentLimits=pe(L.currentLimits)})},pe=s=>{const p={Daily:0,Weekly:1,Monthly:2};return s.sort((L,h)=>p[L.period]-p[h.period]),s},ht=()=>{const s=x-Math.floor(x)===0;x>=O&&x<=b&&s?(i(24,me=!1),F.removeAttribute("disabled")):(i(24,me=!0),F.setAttribute("disabled","true"))},Ae=()=>{i(24,me=!1),P!=null&&P[y]?(i(12,O=P[y].min),i(13,b=P[y].max)):(i(12,O=1),i(13,b=9999999))},yt=()=>{if(H){const s=H[I[y].callValue].filter(h=>h.period===w)[0],p=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.amount);let L=n("popupImmediateUpdate").replace("{selectedLimit}",ye()).replace("{updatedAmount}",p).replace("{currency}",oe[s.currency]||s.currency).replace("{selectedPeriod}",n(`${w}`));i(21,J=s.isModified?`${n("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:L)}i(20,ee=!0)},vt=()=>{var D;const s=((D=H[0])==null?void 0:D.limits)||H.limits;let p=null;if(!H){i(20,ee=!0);return}const L=ge?be:w;p=s.find(Z=>Z.type.toLowerCase()===we[y].toLowerCase()&&(Z.period===L||Z.period==="None")&&Z.products[0]===U),p.schedules.length>0&&X[p.schedules[0].id]&&(p.amount=p.schedules[0].updateAmount);const h=Ee(p)||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(p.amount),f=p.schedules.length>0?`${new Date(p.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"";let T=n("popupImmediateUpdate").replace("{selectedLimit}",ye()).replace("{updatedAmount}",h).replace("{selectedPeriod}",n(`${L}`));p.schedules.length>0&&X[p.schedules[0].id]?i(21,J=T):i(21,J=p.schedules.length>0?`${n("popupPendingUpdate")} ${f}`:T),i(20,ee=!0)},kt=()=>{le==1&&i(22,re="PopupKyc"),le==2&&(i(21,J=`${n("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(ke)} ${r} ${n("popup2_b")}`),i(22,re="PopupKyc2")),le==3&&(i(21,J=n("popup3")),i(22,re="PopupSuccess")),i(20,ee=!0)},bt=()=>{i(21,J=n("sessionLimitUpdated")),i(20,ee=!0)},wt=()=>{if(H){const s=H[I[y].callValue].filter(h=>(h.period===w||w==="None")&&h.products[0]===U)[0],p=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.minutes);let L=n("popupImmediateUpdate").replace("{selectedLimit}",n(`${y}`)).replace("{updatedAmount}",p).replace("{currency}",n("minutes")).replace("{selectedPeriod}",n(`${w}`));i(21,J=s.isModified?`${n("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:L)}i(20,ee=!0)},_t=s=>{var p;return(p=s==null?void 0:s.error)==null?void 0:p.includes("Limit update is not permitted due to LimitUpdateControl")},xt=s=>{var p;return(p=s==null?void 0:s.error)==null?void 0:p.includes("Limit remove is not permitted due to LimitUpdateControl")},St=s=>{var p;return(p=s==null?void 0:s.error)==null?void 0:p.includes("[NotFoundException] Limit does not exist")},Ct=s=>{var p;return(p=s.error)==null?void 0:p.includes("Invalid Session")},de=s=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),K){if(i(18,fe=!0),!s){i(20,ee=!0);return}s.thirdPartyResponse||i(21,J=n(`${s}`)),s.thirdPartyResponse&&i(21,J=s.thirdPartyResponse.message),_t(s)&&i(21,J=n("popupUpdateLimitException")),xt(s)&&i(21,J=n("popupRemoveLimitException")),St(s)&&i(21,J=n("notFoundException")),Ct(s)&&i(21,J=n("sessionExpiredException")),i(20,ee=!0);return}switch(c){case"gmcore":y==="sessionLimit"||y==="cumulativeSession"?wt():yt();break;case"gm16":y==="lugas"?kt():y==="sessionLimit"||y==="cumulativeSession"?bt():vt();break;default:throw new Error(`Invalid apiversion attribute: ${c}`)}},te=()=>{i(19,ne=!0),window.postMessage({type:"DisableScroll"},window.location.href)},At=s=>{i(7,y=s.limitType),i(8,w=s.period),te(),i(16,G=!0);let p=new URL(`/v2/player/${d}/limits/${we[s.limitType]}`,m);s.limitType!=="sessionLimit"&&p.searchParams.append("periods",s.period);let L={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(p.href,L).then(h=>Q(h)).then(h=>{Y("self_limitation_cancel_success",s.amount),$()}).catch(h=>{Y("self_limitation_cancel_failed",s.amount),console.log(h),i(17,K=!0)})},Te=s=>{switch(be=s.period,c){case"gmcore":At(s);break;case"gm16":ge=!0,s.limitType==="sessionLimit"||s.limitType==="cumulativeSession"?Tt(s):jt(s);break}Y("self_limitation_cancel_request",s.amount)},Tt=s=>{const p=new URL(`/v1/player/${d}/limits/session/session`,m),L=new URL(`/v1/player/${d}/limits/session/cumulativeSession?periods=${s.period}`,m);let h;switch(s.limitType){case"sessionLimit":h=p;break;case"cumulativeSession":h=L;break;default:throw Error(`Unknown limit.limitType: ${s.limitType}`)}te(),i(16,G=!0);let f={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(h.href,f).then(T=>Q(T)).then(T=>{Y("self_limitation_cancel_success",s.amount),$()}).catch(T=>{Y("self_limitation_cancel_failed",s.amount),console.log(T),i(17,K=!0)})},jt=s=>{const p=new URL(`/v1/player/${d}/limits/monetary/${s.id}`,m);te(),i(16,G=!0);let L={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(p.href,L).then(h=>Q(h)).then(h=>{Y("self_limitation_cancel_success",s.amount),$()}).catch(h=>{Y("self_limitation_cancel_failed",s.amount),console.log(h),i(17,K=!0)})},je=s=>{const p=new URL(`/v1/player/${d}/limits/schedule/${s.scheduleId}`,m);te(),i(16,G=!0);let L={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(p.href,L).then(h=>Q(h)).then(h=>{Y("self_limitation_cancel_success",s.updateAmount),$()}).catch(h=>{Y("self_limitation_cancel_failed",s.updateAmount),console.log(h),i(17,K=!0)})},De=s=>{const p=new URL(`v1/player/${d}/limits/schedule/acknowledge/${s.scheduleId}`,m);te(),i(16,G=!0);let L={method:"PATCH",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(p.href,L).then(h=>Q(h)).then(h=>{Dt(s),Y("self_limitation_confirm_success",s.amount),$()}).catch(h=>{Y("self_limitation_confirm_failed",s.amount),console.log(h),i(17,K=!0)})},Dt=s=>{let p=60;i(25,X[s.scheduleId]={},X),i(25,X[s.scheduleId].timer=`${p} ${ie[o].seconds}`,X),i(25,X[s.scheduleId].timerStopped=!1,X);let L=window.setInterval(()=>p===0?(window.clearInterval(L),i(25,X[s.scheduleId].timerStopped=!0,X),i(25,X[s.scheduleId].timer=ie[o].reloadLimitsButton,X)):i(25,X[s.scheduleId].timer=`${--p} ${ie[o].seconds}`,X),1e3)},ye=s=>{let p;return s?p=n(s.value+s.product):p=n(y),p},Ee=(s,p=!1)=>{if(!V)return p?`${s.updateAmount}${s.currency}`:`${s.amount}${s.currency}`;let L=V;const h=L.match(/\{(\d+)decimals\}/),f=h?parseInt(h[1],10):2,T=h?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let D=p?s.updateAmount:s.amount;D=parseInt(D).toFixed(f);const[Z,ae]=V.includes(".")?[",","."]:[".",","];let[ue,ve]=D.split(".");return ue=ue.replace(/\B(?=(\d{3})+(?!\d))/g,Z),D=`${ue}${ae}${ve}`,L=L.replace("{currency}",oe[s.currency]||s.currency).replace("{amount}",D.split(ae)[0]).replace(T,D.split(ae)[1]),L},Me=()=>{i(20,ee=i(19,ne=!1)),i(22,re=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},Et=()=>{window.postMessage({type:"uploadDocuments"},window.location.href),Me()},Mt=s=>{s.keyCode===13&&me&&s.preventDefault()},zt=()=>{if(!g)return;let s={};g.split(",").forEach(p=>{let L=p.split(":");s[L[0].trim()]=L[1].trim()}),oe=ce(ce({},oe),s)},Pt=()=>{Xt(o)};e.onMount(()=>()=>{});const It=()=>$(),Ut=s=>Te(s),Nt=s=>De(s),Bt=s=>je(s);function Rt(){W=e.select_value(this),i(9,W)}const Wt=()=>{Se(),xe(),Ae()};function Ot(){w=e.select_value(this),i(8,w),i(5,I),i(7,y)}function Vt(){x=e.to_number(this.value),i(10,x)}function Ft(s){e.binding_callbacks[s?"unshift":"push"](()=>{F=s,i(11,F)})}function qt(s){e.binding_callbacks[s?"unshift":"push"](()=>{_=s,i(4,_)})}return a.$$set=s=>{"lang"in s&&i(42,o=s.lang),"currency"in s&&i(0,r=s.currency),"limits"in s&&i(43,l=s.limits),"session"in s&&i(44,u=s.session),"userid"in s&&i(45,d=s.userid),"endpoint"in s&&i(46,m=s.endpoint),"apiversion"in s&&i(47,c=s.apiversion),"customcurrencysymbols"in s&&i(48,g=s.customcurrencysymbols),"enablecompliancetext"in s&&i(1,S=s.enablecompliancetext),"deletelimit"in s&&i(2,v=s.deletelimit),"amountsconfig"in s&&i(49,E=s.amountsconfig),"periodsconfig"in s&&i(50,R=s.periodsconfig),"limittabindex"in s&&i(3,N=s.limittabindex),"limitformat"in s&&i(51,V=s.limitformat),"clientstyling"in s&&i(52,M=s.clientstyling),"clientstylingurl"in s&&i(53,j=s.clientstylingurl),"translationurl"in s&&i(54,z=s.translationurl),"mbsource"in s&&i(55,A=s.mbsource)},a.$$.update=()=>{a.$$.dirty[1]&131072&&g&&zt(),a.$$.dirty[1]&786432&&R&&E&&at(),a.$$.dirty[1]&2048&&o&&Pt(),a.$$.dirty[1]&124928&&d&&u&&m&&c&&o&&$(),a.$$.dirty[0]&16|a.$$.dirty[1]&2097152&&M&&_&&e.setClientStyling(_,M),a.$$.dirty[0]&16|a.$$.dirty[1]&4194304&&j&&_&&e.setClientStylingURL(_,j),a.$$.dirty[0]&16|a.$$.dirty[1]&16777216&&A&&_&&e.setStreamStyling(_,`${A}.Style`),a.$$.dirty[1]&8388608&&z&&et()},[r,S,v,N,_,I,C,y,w,W,x,F,O,b,se,Le,G,K,fe,ne,ee,J,re,le,me,X,n,B,xe,Se,pt,$,ht,Ae,Te,je,De,ye,Ee,Me,Et,Mt,o,l,u,d,m,c,g,E,R,V,M,j,z,A,It,Ut,Nt,Bt,Rt,Wt,Ot,Vt,Ft,qt]}class Qe extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Si,xi,e.safe_not_equal,{lang:42,currency:0,limits:43,session:44,userid:45,endpoint:46,apiversion:47,customcurrencysymbols:48,enablecompliancetext:1,deletelimit:2,amountsconfig:49,periodsconfig:50,limittabindex:3,limitformat:51,clientstyling:52,clientstylingurl:53,translationurl:54,mbsource:55},Zt,[-1,-1,-1,-1,-1])}get lang(){return this.$$.ctx[42]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),e.flush()}get limits(){return this.$$.ctx[43]}set limits(t){this.$$set({limits:t}),e.flush()}get session(){return this.$$.ctx[44]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[45]}set userid(t){this.$$set({userid:t}),e.flush()}get endpoint(){return this.$$.ctx[46]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[47]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[48]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[1]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[2]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get amountsconfig(){return this.$$.ctx[49]}set amountsconfig(t){this.$$set({amountsconfig:t}),e.flush()}get periodsconfig(){return this.$$.ctx[50]}set periodsconfig(t){this.$$set({periodsconfig:t}),e.flush()}get limittabindex(){return this.$$.ctx[3]}set limittabindex(t){this.$$set({limittabindex:t}),e.flush()}get limitformat(){return this.$$.ctx[51]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[52]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[53]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[54]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[55]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(Qe,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},apiversion:{},customcurrencysymbols:{},enablecompliancetext:{},deletelimit:{},amountsconfig:{},periodsconfig:{},limittabindex:{},limitformat:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=Qe;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountGamingLimitsHistory2Nd-DKIz4RsT.cjs");function se({withLocale:n,translations:t}){e.$locale.subscribe(i=>{i==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function le(n,t){e.addMessages(n,t)}const D={en:{titleLimitsWrapper2:"Limits"},"zh-hk":{titleLimitsWrapper2:"Limits"},fr:{titleLimitsWrapper2:"Limits"},ro:{titleLimitsWrapper2:"Limits"},es:{titleLimitsWrapper2:"Limits"},pt:{titleLimitsWrapper2:"Limits"},hr:{titleLimitsWrapper2:"Ograničenja"},"pt-br":{titleLimitsWrapper2:"Limites"},"es-mx":{titleLimitsWrapper2:"Límites"},tr:{titleLimitsWrapper2:"Sınırlar"},"en-us":{titleLimitsWrapper2:"Limits"},de:{titleLimitsWrapper2:"Begrenzungen"}};if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsPage2Gm16Nd-C8eNvtWQ.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-page-2-gm16-nd")&&customElements.define("player-account-gaming-limits-page-2-gm16-nd",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsHistory2Nd-DKIz4RsT.cjs")).then(t=>t.PlayerAccountGamingLimitsHistory2Nd_ce).then(({default:t})=>{!customElements.get("player-account-gaming-limits-history-2-nd")&&customElements.define("player-account-gaming-limits-history-2-nd",t.element)})}function ae(n){e.append_styles(n,"svelte-1y3c3nw",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px;color:var(--emw--pam-color-primary, #22B04E);background-color:var(--emw--pam-color-bg, #F1F1F1);border-radius:var(--emw--border-radius-large, 20px);min-height:1000px;display:flex;flex-direction:column}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.GamingLimitsWrapper.GamingLimitsWrapperMobile .GamingLimitsContent,.GamingLimitsWrapper.GamingLimitsWrapperMobile .PlayerAccountGamingLmitsWrapper2,.GamingLimitsWrapper.GamingLimitsWrapperMobile .LimitsTab{flex-direction:column;width:100%;height:fit-content;padding:5px 0;font-size:10px;margin-right:5px}.GamingLimitsWrapper .GamingLimitsContent{display:flex;flex-direction:row}.GamingLimitsWrapper .LimitsWrapper,.GamingLimitsWrapper .TabsContainer,.GamingLimitsWrapper .LimitsTab{display:flex;flex-direction:column;align-items:center;flex-direction:row}.GamingLimitsWrapper .TabsContainer{height:50px;margin-bottom:12px;cursor:pointer;justify-content:left;color:var(--emw--color-typography-contrast, #444444)}.GamingLimitsWrapper .LimitsTab{font-size:16px;line-height:1.4rem;text-transform:uppercase;padding:10px 40px;background-color:var(--emw--color-grey-150, #C0CBC3);border-radius:var(--emw--border-radius-large, 50px);margin-right:20px}.GamingLimitsWrapper .Selected{color:var(--emw--color-typpgraphy, #FFFFFF);background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C))}.GamingLimitsWrapper .PlayerAccountGamingLmitsWrapper2{margin-bottom:20px;width:65%}.Hidden{display:none}h2{margin:20px 0}.MenuReturnButton{color:var(--emw--pam-color-primary, #22B04E);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, #22B04E)}.GamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, #22B04E);font-weight:400}.GamingLimitsTitleMobile{font-size:16px}')}function I(n,t,i){const s=n.slice();return s[46]=t[i],s[48]=i,s}const re=n=>({}),q=n=>({});function U(n,t,i){const s=n.slice();return s[49]=t[i],s[48]=i,s}function oe(n){let t,i,s,l,o,c,d,r,g,f,m=n[24]("titleLimitsWrapper2")+"",u,_,b;return{c(){t=e.element("div"),i=e.svg_element("svg"),s=e.svg_element("defs"),l=e.svg_element("style"),o=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),c=e.svg_element("g"),d=e.svg_element("g"),r=e.svg_element("path"),g=e.space(),f=e.element("h2"),u=e.text(m),e.attr(r,"class","aaa"),e.attr(r,"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(r,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(c,"transform","translate(-20 -158)"),e.attr(i,"xmlns","http://www.w3.org/2000/svg"),e.attr(i,"width","15"),e.attr(i,"height","15"),e.attr(i,"viewBox","0 0 15 15"),e.attr(f,"class","GamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(L,h){e.insert(L,t,h),e.append(t,i),e.append(i,s),e.append(s,l),e.append(l,o),e.append(i,c),e.append(c,d),e.append(d,r),e.append(t,g),e.append(t,f),e.append(f,u),_||(b=e.listen(t,"click",n[35]),_=!0)},p(L,h){h[0]&16777216&&m!==(m=L[24]("titleLimitsWrapper2")+"")&&e.set_data(u,m)},d(L){L&&e.detach(t),_=!1,b()}}}function me(n){let t,i,s,l,o,c=n[25].length>1&&ue(n),d=e.ensure_array_like(n[25]),r=[];for(let m=0;m<d.length;m+=1)r[m]=Z(I(n,d,m));const g=m=>e.transition_out(r[m],1,1,()=>{r[m]=null});let f=n[6]==="true"&&J(n);return{c(){c&&c.c(),t=e.space(),i=e.element("div"),s=e.element("div");for(let m=0;m<r.length;m+=1)r[m].c();l=e.space(),f&&f.c(),e.attr(s,"class","PlayerAccountGamingLmitsWrapper2"),e.attr(i,"class","GamingLimitsContent")},m(m,u){c&&c.m(m,u),e.insert(m,t,u),e.insert(m,i,u),e.append(i,s);for(let _=0;_<r.length;_+=1)r[_]&&r[_].m(s,null);n[38](s),e.append(i,l),f&&f.m(i,null),o=!0},p(m,u){if(m[25].length>1&&c.p(m,u),u[0]&14745023|u[1]&4){d=e.ensure_array_like(m[25]);let _;for(_=0;_<d.length;_+=1){const b=I(m,d,_);r[_]?(r[_].p(b,u),e.transition_in(r[_],1)):(r[_]=Z(b),r[_].c(),e.transition_in(r[_],1),r[_].m(s,null))}for(e.group_outros(),_=d.length;_<r.length;_+=1)g(_);e.check_outros()}m[6]==="true"?f?f.p(m,u):(f=J(m),f.c(),f.m(i,null)):f&&(f.d(1),f=null)},i(m){if(!o){for(let u=0;u<d.length;u+=1)e.transition_in(r[u]);o=!0}},o(m){r=r.filter(Boolean);for(let u=0;u<r.length;u+=1)e.transition_out(r[u]);o=!1},d(m){m&&(e.detach(t),e.detach(i)),c&&c.d(m),e.destroy_each(r,m),n[38](null),f&&f.d()}}}function ce(n){return{c:e.noop,m:e.noop,p:e.noop,i:e.noop,o:e.noop,d:e.noop}}function ue(n){let t,i=e.ensure_array_like(n[25]),s=[];for(let l=0;l<i.length;l+=1)s[l]=V(U(n,i,l));return{c(){t=e.element("div");for(let l=0;l<s.length;l+=1)s[l].c();e.attr(t,"class","TabsContainer")},m(l,o){e.insert(l,t,o);for(let c=0;c<s.length;c+=1)s[c]&&s[c].m(t,null);n[37](t)},p(l,o){if(o[0]&168296448){i=e.ensure_array_like(l[25]);let c;for(c=0;c<i.length;c+=1){const d=U(l,i,c);s[c]?s[c].p(d,o):(s[c]=V(d),s[c].c(),s[c].m(t,null))}for(;c<s.length;c+=1)s[c].d(1);s.length=i.length}},d(l){l&&e.detach(t),e.destroy_each(s,l),n[37](null)}}}function V(n){var d;let t,i=((d=n[19][n[48]])!=null?d:n[49])+"",s,l,o;function c(){return n[36](n[48])}return{c(){t=e.element("div"),s=e.text(i),e.attr(t,"class","LimitsTab")},m(r,g){e.insert(r,t,g),e.append(t,s),l||(o=e.listen(t,"click",c),l=!0)},p(r,g){var f;n=r,g[0]&524288&&i!==(i=((f=n[19][n[48]])!=null?f:n[49])+"")&&e.set_data(s,i)},d(r){r&&e.detach(t),l=!1,o()}}}function _e(n){let t,i,s;return{c(){t=e.element("player-account-gaming-limits-page-2-gm16-nd"),e.set_custom_element_data(t,"class","hidden selected"),e.set_custom_element_data(t,"lang",n[0]),e.set_custom_element_data(t,"currency",n[4]),e.set_custom_element_data(t,"amountsconfig",i=n[21][n[48]]),e.set_custom_element_data(t,"periodsconfig",s=n[22][n[48]]),e.set_custom_element_data(t,"limittabindex",n[48]+1),e.set_custom_element_data(t,"userid",n[1]),e.set_custom_element_data(t,"deletelimit",n[8]),e.set_custom_element_data(t,"enablecompliancetext",n[7]),e.set_custom_element_data(t,"session",n[2]),e.set_custom_element_data(t,"endpoint",n[3]),e.set_custom_element_data(t,"apiversion",n[5]),e.set_custom_element_data(t,"clientstyling",n[12]),e.set_custom_element_data(t,"clientstylingurl",n[13]),e.set_custom_element_data(t,"mbsource",n[15]),e.set_custom_element_data(t,"translationurl",n[14]),e.set_custom_element_data(t,"customcurrencysymbols",n[10]),e.set_custom_element_data(t,"limitformat",n[11])},m(l,o){e.insert(l,t,o)},p(l,o){o[0]&1&&e.set_custom_element_data(t,"lang",l[0]),o[0]&16&&e.set_custom_element_data(t,"currency",l[4]),o[0]&2097152&&i!==(i=l[21][l[48]])&&e.set_custom_element_data(t,"amountsconfig",i),o[0]&4194304&&s!==(s=l[22][l[48]])&&e.set_custom_element_data(t,"periodsconfig",s),o[0]&2&&e.set_custom_element_data(t,"userid",l[1]),o[0]&256&&e.set_custom_element_data(t,"deletelimit",l[8]),o[0]&128&&e.set_custom_element_data(t,"enablecompliancetext",l[7]),o[0]&4&&e.set_custom_element_data(t,"session",l[2]),o[0]&8&&e.set_custom_element_data(t,"endpoint",l[3]),o[0]&32&&e.set_custom_element_data(t,"apiversion",l[5]),o[0]&4096&&e.set_custom_element_data(t,"clientstyling",l[12]),o[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",l[13]),o[0]&32768&&e.set_custom_element_data(t,"mbsource",l[15]),o[0]&16384&&e.set_custom_element_data(t,"translationurl",l[14]),o[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",l[10]),o[0]&2048&&e.set_custom_element_data(t,"limitformat",l[11])},i:e.noop,o:e.noop,d(l){l&&e.detach(t)}}}function fe(n){let t;const i=n[34].customTabContent,s=e.create_slot(i,n,n[33],q);return{c(){s&&s.c()},m(l,o){s&&s.m(l,o),t=!0},p(l,o){s&&s.p&&(!t||o[1]&4)&&e.update_slot_base(s,i,l,l[33],t?e.get_slot_changes(i,l[33],o,re):e.get_all_dirty_from_scope(l[33]),q)},i(l){t||(e.transition_in(s,l),t=!0)},o(l){e.transition_out(s,l),t=!1},d(l){s&&s.d(l)}}}function Z(n){let t,i,s,l;const o=[fe,_e],c=[];function d(r,g){return r[23]===r[48]?0:1}return t=d(n),i=c[t]=o[t](n),{c(){i.c(),s=e.empty()},m(r,g){c[t].m(r,g),e.insert(r,s,g),l=!0},p(r,g){let f=t;t=d(r),t===f?c[t].p(r,g):(e.group_outros(),e.transition_out(c[f],1,1,()=>{c[f]=null}),e.check_outros(),i=c[t],i?i.p(r,g):(i=c[t]=o[t](r),i.c()),e.transition_in(i,1),i.m(s.parentNode,s))},i(r){l||(e.transition_in(i),l=!0)},o(r){e.transition_out(i),l=!1},d(r){r&&e.detach(s),c[t].d(r)}}}function J(n){let t;return{c(){t=e.element("player-account-gaming-limits-history-2-nd"),e.set_custom_element_data(t,"lang",n[0]),e.set_custom_element_data(t,"userid",n[1]),e.set_custom_element_data(t,"session",n[2]),e.set_custom_element_data(t,"endpoint",n[3]),e.set_custom_element_data(t,"apiversion",n[5]),e.set_custom_element_data(t,"numberofentries",n[9]),e.set_custom_element_data(t,"clientstyling",n[12]),e.set_custom_element_data(t,"clientstylingurl",n[13]),e.set_custom_element_data(t,"mbsource",n[15]),e.set_custom_element_data(t,"translationurl",n[14]),e.set_custom_element_data(t,"customcurrencysymbols",n[10])},m(i,s){e.insert(i,t,s)},p(i,s){s[0]&1&&e.set_custom_element_data(t,"lang",i[0]),s[0]&2&&e.set_custom_element_data(t,"userid",i[1]),s[0]&4&&e.set_custom_element_data(t,"session",i[2]),s[0]&8&&e.set_custom_element_data(t,"endpoint",i[3]),s[0]&32&&e.set_custom_element_data(t,"apiversion",i[5]),s[0]&512&&e.set_custom_element_data(t,"numberofentries",i[9]),s[0]&4096&&e.set_custom_element_data(t,"clientstyling",i[12]),s[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",i[13]),s[0]&32768&&e.set_custom_element_data(t,"mbsource",i[15]),s[0]&16384&&e.set_custom_element_data(t,"translationurl",i[14]),s[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",i[10])},d(i){i&&e.detach(t)}}}function de(n){let t,i,s,l,o,c,d,r=n[24]("titleLimitsWrapper2")+"",g,f,m,u,_,b=n[26]&&oe(n);const L=[ce,me],h=[];function C(p,w){return p[16]?0:1}return m=C(n),u=h[m]=L[m](n),{c(){t=e.element("meta"),i=e.space(),s=e.element("div"),l=e.element("div"),o=e.element("div"),b&&b.c(),c=e.space(),d=e.element("h2"),g=e.text(r),f=e.space(),u.c(),e.attr(t,"name","viewport"),e.attr(t,"content","width=device-width, initial-scale=1"),e.attr(d,"class","GamingLimitsTitle "+(n[26]?"Hidden":"")),e.attr(o,"class","TitleSection"),e.attr(l,"class","GamingLimitsWrapper "+(n[26]?"GamingLimitsWrapperMobile":""))},m(p,w){e.append(document.head,t),e.insert(p,i,w),e.insert(p,s,w),e.append(s,l),e.append(l,o),b&&b.m(o,null),e.append(o,c),e.append(o,d),e.append(d,g),e.append(l,f),h[m].m(l,null),n[39](s),_=!0},p(p,w){p[26]&&b.p(p,w),(!_||w[0]&16777216)&&r!==(r=p[24]("titleLimitsWrapper2")+"")&&e.set_data(g,r);let T=m;m=C(p),m===T?h[m].p(p,w):(e.group_outros(),e.transition_out(h[T],1,1,()=>{h[T]=null}),e.check_outros(),u=h[m],u?u.p(p,w):(u=h[m]=L[m](p),u.c()),e.transition_in(u,1),u.m(l,null))},i(p){_||(e.transition_in(u),_=!0)},o(p){e.transition_out(u),_=!1},d(p){p&&(e.detach(i),e.detach(s)),e.detach(t),b&&b.d(),h[m].d(),n[39](null)}}}function ge(n,t,i){let s;e.component_subscribe(n,e.$format,a=>i(24,s=a));let{$$slots:l={},$$scope:o}=t,{lang:c=""}=t,{userid:d=""}=t,{session:r=""}=t,{endpoint:g=""}=t,{currency:f=""}=t,{apiversion:m=""}=t,{tablabels:u=""}=t,{historyenabled:_="true"}=t,{enablecompliancetext:b="false"}=t,{deletelimit:L=""}=t,{limitsamount:h=""}=t,{limitsperiods:C=""}=t,{numberofentries:p=""}=t,{customcurrencysymbols:w=""}=t,{limitformat:T=""}=t,{clientstyling:E=""}=t,{clientstylingurl:M=""}=t,{translationurl:N=""}=t,{mbsource:S}=t,{customcontentontab:G=""}=t;se({withLocale:"en",translations:{}});let B=!0,v,P=[],z,W,k,A,F,Q=window.navigator.userAgent,R=e.getDevice(Q)!=="PC",j=G?Number(G):-1;Object.keys(D).forEach(a=>{le(a,D[a])});const X=(a,y)=>{if(i(21,A=a.replace(/\s/g,"").split("|")),i(22,F=y.replace(/\s/g,"").split("|")),A.length===0)throw new Error("Please provide a full limits configuration.");if(A.length!==F.length)throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.")},Y=()=>{X(h,C),h.split("|").forEach(y=>{P.includes(y)||P.push(y)}),i(19,z=u.split(",").map(y=>y.trim())),i(16,B=!1)},x=()=>{i(23,j=G?Number(G):-1)},H=a=>{if(W.children.length>0)for(let y=0;y<W.children.length;y++)a===y?(W.children[y].classList.remove("Hidden"),k==null||k.children[y].classList.add("Selected")):(W.children[y].classList.add("Hidden"),k==null||k.children[y].classList.remove("Selected"))},O=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:R},window.location.href)};e.onMount(()=>()=>{i(18,W=null),i(20,k=null)});const $=()=>O(),ee=a=>H(a);function te(a){e.binding_callbacks[a?"unshift":"push"](()=>{k=a,i(20,k)})}function ie(a){e.binding_callbacks[a?"unshift":"push"](()=>{W=a,i(18,W)})}function ne(a){e.binding_callbacks[a?"unshift":"push"](()=>{v=a,i(17,v)})}return n.$$set=a=>{"lang"in a&&i(0,c=a.lang),"userid"in a&&i(1,d=a.userid),"session"in a&&i(2,r=a.session),"endpoint"in a&&i(3,g=a.endpoint),"currency"in a&&i(4,f=a.currency),"apiversion"in a&&i(5,m=a.apiversion),"tablabels"in a&&i(29,u=a.tablabels),"historyenabled"in a&&i(6,_=a.historyenabled),"enablecompliancetext"in a&&i(7,b=a.enablecompliancetext),"deletelimit"in a&&i(8,L=a.deletelimit),"limitsamount"in a&&i(30,h=a.limitsamount),"limitsperiods"in a&&i(31,C=a.limitsperiods),"numberofentries"in a&&i(9,p=a.numberofentries),"customcurrencysymbols"in a&&i(10,w=a.customcurrencysymbols),"limitformat"in a&&i(11,T=a.limitformat),"clientstyling"in a&&i(12,E=a.clientstyling),"clientstylingurl"in a&&i(13,M=a.clientstylingurl),"translationurl"in a&&i(14,N=a.translationurl),"mbsource"in a&&i(15,S=a.mbsource),"customcontentontab"in a&&i(32,G=a.customcontentontab),"$$scope"in a&&i(33,o=a.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&536870959&&d&&r&&g&&u&&c&&m&&Y(),n.$$.dirty[1]&2&&G&&x(),n.$$.dirty[0]&327680&&W&&!B&&H(0),n.$$.dirty[0]&135168&&E&&v&&e.setClientStyling(v,E),n.$$.dirty[0]&139264&&M&&v&&e.setClientStylingURL(v,M),n.$$.dirty[0]&163840&&S&&v&&e.setStreamStyling(v,`${S}.Style`)},[c,d,r,g,f,m,_,b,L,p,w,T,E,M,N,S,B,v,W,z,k,A,F,j,s,P,R,H,O,u,h,C,G,o,l,$,ee,te,ie,ne]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ge,de,e.safe_not_equal,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,tablabels:29,historyenabled:6,enablecompliancetext:7,deletelimit:8,limitsamount:30,limitsperiods:31,numberofentries:9,customcurrencysymbols:10,limitformat:11,clientstyling:12,clientstylingurl:13,translationurl:14,mbsource:15,customcontentontab:32},ae,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[2]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[3]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency:t}),e.flush()}get apiversion(){return this.$$.ctx[5]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get tablabels(){return this.$$.ctx[29]}set tablabels(t){this.$$set({tablabels:t}),e.flush()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(t){this.$$set({historyenabled:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[7]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[8]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get limitsamount(){return this.$$.ctx[30]}set limitsamount(t){this.$$set({limitsamount:t}),e.flush()}get limitsperiods(){return this.$$.ctx[31]}set limitsperiods(t){this.$$set({limitsperiods:t}),e.flush()}get numberofentries(){return this.$$.ctx[9]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[10]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get limitformat(){return this.$$.ctx[11]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[15]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get customcontentontab(){return this.$$.ctx[32]}set customcontentontab(t){this.$$set({customcontentontab:t}),e.flush()}}e.create_custom_element(K,{lang:{},userid:{},session:{},endpoint:{},currency:{},apiversion:{},tablabels:{},historyenabled:{},enablecompliancetext:{},deletelimit:{},limitsamount:{},limitsperiods:{},numberofentries:{},customcurrencysymbols:{},limitformat:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{},customcontentontab:{}},["customTabContent"],[],!0);exports.default=K;
|
|
@@ -57,7 +57,7 @@ if (typeof window < "u") {
|
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
|
-
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16Nd-
|
|
60
|
+
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16Nd-Bpo-oa37.js").then(
|
|
61
61
|
({ default: e }) => {
|
|
62
62
|
!customElements.get("player-account-gaming-limits-page-2-gm16-nd") && customElements.define(
|
|
63
63
|
"player-account-gaming-limits-page-2-gm16-nd",
|
|
@@ -290,7 +290,7 @@ function Xe(i) {
|
|
|
290
290
|
let e, t, n;
|
|
291
291
|
return {
|
|
292
292
|
c() {
|
|
293
|
-
e = W("player-account-gaming-limits-page-2-gm16"), a(e, "class", "hidden selected"), a(
|
|
293
|
+
e = W("player-account-gaming-limits-page-2-gm16-nd"), a(e, "class", "hidden selected"), a(
|
|
294
294
|
e,
|
|
295
295
|
"lang",
|
|
296
296
|
/*lang*/
|
|
@@ -57,7 +57,7 @@ if (typeof window != "undefined") {
|
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
|
-
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16Nd-
|
|
60
|
+
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16Nd-BM0QlgIJ.js").then(
|
|
61
61
|
({ default: e }) => {
|
|
62
62
|
!customElements.get("player-account-gaming-limits-page-2-gm16-nd") && customElements.define(
|
|
63
63
|
"player-account-gaming-limits-page-2-gm16-nd",
|
|
@@ -296,7 +296,7 @@ function Xe(i) {
|
|
|
296
296
|
let e, t, n;
|
|
297
297
|
return {
|
|
298
298
|
c() {
|
|
299
|
-
e = W("player-account-gaming-limits-page-2-gm16"), a(e, "class", "hidden selected"), a(
|
|
299
|
+
e = W("player-account-gaming-limits-page-2-gm16-nd"), a(e, "class", "hidden selected"), a(
|
|
300
300
|
e,
|
|
301
301
|
"lang",
|
|
302
302
|
/*lang*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountGamingLimitsWrapper2Nd-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountGamingLimitsWrapper2Nd-DM74xYQ4.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-wrapper-2-nd")&&customElements.define("player-account-gaming-limits-wrapper-2-nd",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerAccountGamingLimitsWrapper2Nd-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerAccountGamingLimitsWrapper2Nd-iwhgXBbi.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-account-gaming-limits-wrapper-2-nd") && customElements.define(
|
|
15
15
|
"player-account-gaming-limits-wrapper-2-nd",
|
|
16
16
|
t.element
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountGamingLimitsHistory2Nd-DKIz4RsT.cjs");function se({withLocale:n,translations:t}){e.$locale.subscribe(i=>{i==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function le(n,t){e.addMessages(n,t)}const D={en:{titleLimitsWrapper2:"Limits"},"zh-hk":{titleLimitsWrapper2:"Limits"},fr:{titleLimitsWrapper2:"Limits"},ro:{titleLimitsWrapper2:"Limits"},es:{titleLimitsWrapper2:"Limits"},pt:{titleLimitsWrapper2:"Limits"},hr:{titleLimitsWrapper2:"Ograničenja"},"pt-br":{titleLimitsWrapper2:"Limites"},"es-mx":{titleLimitsWrapper2:"Límites"},tr:{titleLimitsWrapper2:"Sınırlar"},"en-us":{titleLimitsWrapper2:"Limits"},de:{titleLimitsWrapper2:"Begrenzungen"}};if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsPage2Gm16Nd-lEULEVMY.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-page-2-gm16-nd")&&customElements.define("player-account-gaming-limits-page-2-gm16-nd",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsHistory2Nd-DKIz4RsT.cjs")).then(t=>t.PlayerAccountGamingLimitsHistory2Nd_ce).then(({default:t})=>{!customElements.get("player-account-gaming-limits-history-2-nd")&&customElements.define("player-account-gaming-limits-history-2-nd",t.element)})}function ae(n){e.append_styles(n,"svelte-1y3c3nw",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px;color:var(--emw--pam-color-primary, #22B04E);background-color:var(--emw--pam-color-bg, #F1F1F1);border-radius:var(--emw--border-radius-large, 20px);min-height:1000px;display:flex;flex-direction:column}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.GamingLimitsWrapper.GamingLimitsWrapperMobile .GamingLimitsContent,.GamingLimitsWrapper.GamingLimitsWrapperMobile .PlayerAccountGamingLmitsWrapper2,.GamingLimitsWrapper.GamingLimitsWrapperMobile .LimitsTab{flex-direction:column;width:100%;height:fit-content;padding:5px 0;font-size:10px;margin-right:5px}.GamingLimitsWrapper .GamingLimitsContent{display:flex;flex-direction:row}.GamingLimitsWrapper .LimitsWrapper,.GamingLimitsWrapper .TabsContainer,.GamingLimitsWrapper .LimitsTab{display:flex;flex-direction:column;align-items:center;flex-direction:row}.GamingLimitsWrapper .TabsContainer{height:50px;margin-bottom:12px;cursor:pointer;justify-content:left;color:var(--emw--color-typography-contrast, #444444)}.GamingLimitsWrapper .LimitsTab{font-size:16px;line-height:1.4rem;text-transform:uppercase;padding:10px 40px;background-color:var(--emw--color-grey-150, #C0CBC3);border-radius:var(--emw--border-radius-large, 50px);margin-right:20px}.GamingLimitsWrapper .Selected{color:var(--emw--color-typpgraphy, #FFFFFF);background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C))}.GamingLimitsWrapper .PlayerAccountGamingLmitsWrapper2{margin-bottom:20px;width:65%}.Hidden{display:none}h2{margin:20px 0}.MenuReturnButton{color:var(--emw--pam-color-primary, #22B04E);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, #22B04E)}.GamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, #22B04E);font-weight:400}.GamingLimitsTitleMobile{font-size:16px}')}function I(n,t,i){const s=n.slice();return s[46]=t[i],s[48]=i,s}const re=n=>({}),q=n=>({});function U(n,t,i){const s=n.slice();return s[49]=t[i],s[48]=i,s}function oe(n){let t,i,s,l,o,c,d,r,g,f,m=n[24]("titleLimitsWrapper2")+"",u,_,b;return{c(){t=e.element("div"),i=e.svg_element("svg"),s=e.svg_element("defs"),l=e.svg_element("style"),o=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),c=e.svg_element("g"),d=e.svg_element("g"),r=e.svg_element("path"),g=e.space(),f=e.element("h2"),u=e.text(m),e.attr(r,"class","aaa"),e.attr(r,"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(r,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(c,"transform","translate(-20 -158)"),e.attr(i,"xmlns","http://www.w3.org/2000/svg"),e.attr(i,"width","15"),e.attr(i,"height","15"),e.attr(i,"viewBox","0 0 15 15"),e.attr(f,"class","GamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(L,h){e.insert(L,t,h),e.append(t,i),e.append(i,s),e.append(s,l),e.append(l,o),e.append(i,c),e.append(c,d),e.append(d,r),e.append(t,g),e.append(t,f),e.append(f,u),_||(b=e.listen(t,"click",n[35]),_=!0)},p(L,h){h[0]&16777216&&m!==(m=L[24]("titleLimitsWrapper2")+"")&&e.set_data(u,m)},d(L){L&&e.detach(t),_=!1,b()}}}function me(n){let t,i,s,l,o,c=n[25].length>1&&ue(n),d=e.ensure_array_like(n[25]),r=[];for(let m=0;m<d.length;m+=1)r[m]=Z(I(n,d,m));const g=m=>e.transition_out(r[m],1,1,()=>{r[m]=null});let f=n[6]==="true"&&J(n);return{c(){c&&c.c(),t=e.space(),i=e.element("div"),s=e.element("div");for(let m=0;m<r.length;m+=1)r[m].c();l=e.space(),f&&f.c(),e.attr(s,"class","PlayerAccountGamingLmitsWrapper2"),e.attr(i,"class","GamingLimitsContent")},m(m,u){c&&c.m(m,u),e.insert(m,t,u),e.insert(m,i,u),e.append(i,s);for(let _=0;_<r.length;_+=1)r[_]&&r[_].m(s,null);n[38](s),e.append(i,l),f&&f.m(i,null),o=!0},p(m,u){if(m[25].length>1&&c.p(m,u),u[0]&14745023|u[1]&4){d=e.ensure_array_like(m[25]);let _;for(_=0;_<d.length;_+=1){const b=I(m,d,_);r[_]?(r[_].p(b,u),e.transition_in(r[_],1)):(r[_]=Z(b),r[_].c(),e.transition_in(r[_],1),r[_].m(s,null))}for(e.group_outros(),_=d.length;_<r.length;_+=1)g(_);e.check_outros()}m[6]==="true"?f?f.p(m,u):(f=J(m),f.c(),f.m(i,null)):f&&(f.d(1),f=null)},i(m){if(!o){for(let u=0;u<d.length;u+=1)e.transition_in(r[u]);o=!0}},o(m){r=r.filter(Boolean);for(let u=0;u<r.length;u+=1)e.transition_out(r[u]);o=!1},d(m){m&&(e.detach(t),e.detach(i)),c&&c.d(m),e.destroy_each(r,m),n[38](null),f&&f.d()}}}function ce(n){return{c:e.noop,m:e.noop,p:e.noop,i:e.noop,o:e.noop,d:e.noop}}function ue(n){let t,i=e.ensure_array_like(n[25]),s=[];for(let l=0;l<i.length;l+=1)s[l]=V(U(n,i,l));return{c(){t=e.element("div");for(let l=0;l<s.length;l+=1)s[l].c();e.attr(t,"class","TabsContainer")},m(l,o){e.insert(l,t,o);for(let c=0;c<s.length;c+=1)s[c]&&s[c].m(t,null);n[37](t)},p(l,o){if(o[0]&168296448){i=e.ensure_array_like(l[25]);let c;for(c=0;c<i.length;c+=1){const d=U(l,i,c);s[c]?s[c].p(d,o):(s[c]=V(d),s[c].c(),s[c].m(t,null))}for(;c<s.length;c+=1)s[c].d(1);s.length=i.length}},d(l){l&&e.detach(t),e.destroy_each(s,l),n[37](null)}}}function V(n){var d;let t,i=((d=n[19][n[48]])!=null?d:n[49])+"",s,l,o;function c(){return n[36](n[48])}return{c(){t=e.element("div"),s=e.text(i),e.attr(t,"class","LimitsTab")},m(r,g){e.insert(r,t,g),e.append(t,s),l||(o=e.listen(t,"click",c),l=!0)},p(r,g){var f;n=r,g[0]&524288&&i!==(i=((f=n[19][n[48]])!=null?f:n[49])+"")&&e.set_data(s,i)},d(r){r&&e.detach(t),l=!1,o()}}}function _e(n){let t,i,s;return{c(){t=e.element("player-account-gaming-limits-page-2-gm16"),e.set_custom_element_data(t,"class","hidden selected"),e.set_custom_element_data(t,"lang",n[0]),e.set_custom_element_data(t,"currency",n[4]),e.set_custom_element_data(t,"amountsconfig",i=n[21][n[48]]),e.set_custom_element_data(t,"periodsconfig",s=n[22][n[48]]),e.set_custom_element_data(t,"limittabindex",n[48]+1),e.set_custom_element_data(t,"userid",n[1]),e.set_custom_element_data(t,"deletelimit",n[8]),e.set_custom_element_data(t,"enablecompliancetext",n[7]),e.set_custom_element_data(t,"session",n[2]),e.set_custom_element_data(t,"endpoint",n[3]),e.set_custom_element_data(t,"apiversion",n[5]),e.set_custom_element_data(t,"clientstyling",n[12]),e.set_custom_element_data(t,"clientstylingurl",n[13]),e.set_custom_element_data(t,"mbsource",n[15]),e.set_custom_element_data(t,"translationurl",n[14]),e.set_custom_element_data(t,"customcurrencysymbols",n[10]),e.set_custom_element_data(t,"limitformat",n[11])},m(l,o){e.insert(l,t,o)},p(l,o){o[0]&1&&e.set_custom_element_data(t,"lang",l[0]),o[0]&16&&e.set_custom_element_data(t,"currency",l[4]),o[0]&2097152&&i!==(i=l[21][l[48]])&&e.set_custom_element_data(t,"amountsconfig",i),o[0]&4194304&&s!==(s=l[22][l[48]])&&e.set_custom_element_data(t,"periodsconfig",s),o[0]&2&&e.set_custom_element_data(t,"userid",l[1]),o[0]&256&&e.set_custom_element_data(t,"deletelimit",l[8]),o[0]&128&&e.set_custom_element_data(t,"enablecompliancetext",l[7]),o[0]&4&&e.set_custom_element_data(t,"session",l[2]),o[0]&8&&e.set_custom_element_data(t,"endpoint",l[3]),o[0]&32&&e.set_custom_element_data(t,"apiversion",l[5]),o[0]&4096&&e.set_custom_element_data(t,"clientstyling",l[12]),o[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",l[13]),o[0]&32768&&e.set_custom_element_data(t,"mbsource",l[15]),o[0]&16384&&e.set_custom_element_data(t,"translationurl",l[14]),o[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",l[10]),o[0]&2048&&e.set_custom_element_data(t,"limitformat",l[11])},i:e.noop,o:e.noop,d(l){l&&e.detach(t)}}}function fe(n){let t;const i=n[34].customTabContent,s=e.create_slot(i,n,n[33],q);return{c(){s&&s.c()},m(l,o){s&&s.m(l,o),t=!0},p(l,o){s&&s.p&&(!t||o[1]&4)&&e.update_slot_base(s,i,l,l[33],t?e.get_slot_changes(i,l[33],o,re):e.get_all_dirty_from_scope(l[33]),q)},i(l){t||(e.transition_in(s,l),t=!0)},o(l){e.transition_out(s,l),t=!1},d(l){s&&s.d(l)}}}function Z(n){let t,i,s,l;const o=[fe,_e],c=[];function d(r,g){return r[23]===r[48]?0:1}return t=d(n),i=c[t]=o[t](n),{c(){i.c(),s=e.empty()},m(r,g){c[t].m(r,g),e.insert(r,s,g),l=!0},p(r,g){let f=t;t=d(r),t===f?c[t].p(r,g):(e.group_outros(),e.transition_out(c[f],1,1,()=>{c[f]=null}),e.check_outros(),i=c[t],i?i.p(r,g):(i=c[t]=o[t](r),i.c()),e.transition_in(i,1),i.m(s.parentNode,s))},i(r){l||(e.transition_in(i),l=!0)},o(r){e.transition_out(i),l=!1},d(r){r&&e.detach(s),c[t].d(r)}}}function J(n){let t;return{c(){t=e.element("player-account-gaming-limits-history-2-nd"),e.set_custom_element_data(t,"lang",n[0]),e.set_custom_element_data(t,"userid",n[1]),e.set_custom_element_data(t,"session",n[2]),e.set_custom_element_data(t,"endpoint",n[3]),e.set_custom_element_data(t,"apiversion",n[5]),e.set_custom_element_data(t,"numberofentries",n[9]),e.set_custom_element_data(t,"clientstyling",n[12]),e.set_custom_element_data(t,"clientstylingurl",n[13]),e.set_custom_element_data(t,"mbsource",n[15]),e.set_custom_element_data(t,"translationurl",n[14]),e.set_custom_element_data(t,"customcurrencysymbols",n[10])},m(i,s){e.insert(i,t,s)},p(i,s){s[0]&1&&e.set_custom_element_data(t,"lang",i[0]),s[0]&2&&e.set_custom_element_data(t,"userid",i[1]),s[0]&4&&e.set_custom_element_data(t,"session",i[2]),s[0]&8&&e.set_custom_element_data(t,"endpoint",i[3]),s[0]&32&&e.set_custom_element_data(t,"apiversion",i[5]),s[0]&512&&e.set_custom_element_data(t,"numberofentries",i[9]),s[0]&4096&&e.set_custom_element_data(t,"clientstyling",i[12]),s[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",i[13]),s[0]&32768&&e.set_custom_element_data(t,"mbsource",i[15]),s[0]&16384&&e.set_custom_element_data(t,"translationurl",i[14]),s[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",i[10])},d(i){i&&e.detach(t)}}}function de(n){let t,i,s,l,o,c,d,r=n[24]("titleLimitsWrapper2")+"",g,f,m,u,_,b=n[26]&&oe(n);const L=[ce,me],h=[];function C(p,w){return p[16]?0:1}return m=C(n),u=h[m]=L[m](n),{c(){t=e.element("meta"),i=e.space(),s=e.element("div"),l=e.element("div"),o=e.element("div"),b&&b.c(),c=e.space(),d=e.element("h2"),g=e.text(r),f=e.space(),u.c(),e.attr(t,"name","viewport"),e.attr(t,"content","width=device-width, initial-scale=1"),e.attr(d,"class","GamingLimitsTitle "+(n[26]?"Hidden":"")),e.attr(o,"class","TitleSection"),e.attr(l,"class","GamingLimitsWrapper "+(n[26]?"GamingLimitsWrapperMobile":""))},m(p,w){e.append(document.head,t),e.insert(p,i,w),e.insert(p,s,w),e.append(s,l),e.append(l,o),b&&b.m(o,null),e.append(o,c),e.append(o,d),e.append(d,g),e.append(l,f),h[m].m(l,null),n[39](s),_=!0},p(p,w){p[26]&&b.p(p,w),(!_||w[0]&16777216)&&r!==(r=p[24]("titleLimitsWrapper2")+"")&&e.set_data(g,r);let T=m;m=C(p),m===T?h[m].p(p,w):(e.group_outros(),e.transition_out(h[T],1,1,()=>{h[T]=null}),e.check_outros(),u=h[m],u?u.p(p,w):(u=h[m]=L[m](p),u.c()),e.transition_in(u,1),u.m(l,null))},i(p){_||(e.transition_in(u),_=!0)},o(p){e.transition_out(u),_=!1},d(p){p&&(e.detach(i),e.detach(s)),e.detach(t),b&&b.d(),h[m].d(),n[39](null)}}}function ge(n,t,i){let s;e.component_subscribe(n,e.$format,a=>i(24,s=a));let{$$slots:l={},$$scope:o}=t,{lang:c=""}=t,{userid:d=""}=t,{session:r=""}=t,{endpoint:g=""}=t,{currency:f=""}=t,{apiversion:m=""}=t,{tablabels:u=""}=t,{historyenabled:_="true"}=t,{enablecompliancetext:b="false"}=t,{deletelimit:L=""}=t,{limitsamount:h=""}=t,{limitsperiods:C=""}=t,{numberofentries:p=""}=t,{customcurrencysymbols:w=""}=t,{limitformat:T=""}=t,{clientstyling:E=""}=t,{clientstylingurl:M=""}=t,{translationurl:N=""}=t,{mbsource:S}=t,{customcontentontab:G=""}=t;se({withLocale:"en",translations:{}});let B=!0,v,P=[],z,W,k,A,F,Q=window.navigator.userAgent,R=e.getDevice(Q)!=="PC",j=G?Number(G):-1;Object.keys(D).forEach(a=>{le(a,D[a])});const X=(a,y)=>{if(i(21,A=a.replace(/\s/g,"").split("|")),i(22,F=y.replace(/\s/g,"").split("|")),A.length===0)throw new Error("Please provide a full limits configuration.");if(A.length!==F.length)throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.")},Y=()=>{X(h,C),h.split("|").forEach(y=>{P.includes(y)||P.push(y)}),i(19,z=u.split(",").map(y=>y.trim())),i(16,B=!1)},x=()=>{i(23,j=G?Number(G):-1)},H=a=>{if(W.children.length>0)for(let y=0;y<W.children.length;y++)a===y?(W.children[y].classList.remove("Hidden"),k==null||k.children[y].classList.add("Selected")):(W.children[y].classList.add("Hidden"),k==null||k.children[y].classList.remove("Selected"))},O=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:R},window.location.href)};e.onMount(()=>()=>{i(18,W=null),i(20,k=null)});const $=()=>O(),ee=a=>H(a);function te(a){e.binding_callbacks[a?"unshift":"push"](()=>{k=a,i(20,k)})}function ie(a){e.binding_callbacks[a?"unshift":"push"](()=>{W=a,i(18,W)})}function ne(a){e.binding_callbacks[a?"unshift":"push"](()=>{v=a,i(17,v)})}return n.$$set=a=>{"lang"in a&&i(0,c=a.lang),"userid"in a&&i(1,d=a.userid),"session"in a&&i(2,r=a.session),"endpoint"in a&&i(3,g=a.endpoint),"currency"in a&&i(4,f=a.currency),"apiversion"in a&&i(5,m=a.apiversion),"tablabels"in a&&i(29,u=a.tablabels),"historyenabled"in a&&i(6,_=a.historyenabled),"enablecompliancetext"in a&&i(7,b=a.enablecompliancetext),"deletelimit"in a&&i(8,L=a.deletelimit),"limitsamount"in a&&i(30,h=a.limitsamount),"limitsperiods"in a&&i(31,C=a.limitsperiods),"numberofentries"in a&&i(9,p=a.numberofentries),"customcurrencysymbols"in a&&i(10,w=a.customcurrencysymbols),"limitformat"in a&&i(11,T=a.limitformat),"clientstyling"in a&&i(12,E=a.clientstyling),"clientstylingurl"in a&&i(13,M=a.clientstylingurl),"translationurl"in a&&i(14,N=a.translationurl),"mbsource"in a&&i(15,S=a.mbsource),"customcontentontab"in a&&i(32,G=a.customcontentontab),"$$scope"in a&&i(33,o=a.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&536870959&&d&&r&&g&&u&&c&&m&&Y(),n.$$.dirty[1]&2&&G&&x(),n.$$.dirty[0]&327680&&W&&!B&&H(0),n.$$.dirty[0]&135168&&E&&v&&e.setClientStyling(v,E),n.$$.dirty[0]&139264&&M&&v&&e.setClientStylingURL(v,M),n.$$.dirty[0]&163840&&S&&v&&e.setStreamStyling(v,`${S}.Style`)},[c,d,r,g,f,m,_,b,L,p,w,T,E,M,N,S,B,v,W,z,k,A,F,j,s,P,R,H,O,u,h,C,G,o,l,$,ee,te,ie,ne]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ge,de,e.safe_not_equal,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,tablabels:29,historyenabled:6,enablecompliancetext:7,deletelimit:8,limitsamount:30,limitsperiods:31,numberofentries:9,customcurrencysymbols:10,limitformat:11,clientstyling:12,clientstylingurl:13,translationurl:14,mbsource:15,customcontentontab:32},ae,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[2]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[3]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency:t}),e.flush()}get apiversion(){return this.$$.ctx[5]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get tablabels(){return this.$$.ctx[29]}set tablabels(t){this.$$set({tablabels:t}),e.flush()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(t){this.$$set({historyenabled:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[7]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[8]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get limitsamount(){return this.$$.ctx[30]}set limitsamount(t){this.$$set({limitsamount:t}),e.flush()}get limitsperiods(){return this.$$.ctx[31]}set limitsperiods(t){this.$$set({limitsperiods:t}),e.flush()}get numberofentries(){return this.$$.ctx[9]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[10]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get limitformat(){return this.$$.ctx[11]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[15]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get customcontentontab(){return this.$$.ctx[32]}set customcontentontab(t){this.$$set({customcontentontab:t}),e.flush()}}e.create_custom_element(K,{lang:{},userid:{},session:{},endpoint:{},currency:{},apiversion:{},tablabels:{},historyenabled:{},enablecompliancetext:{},deletelimit:{},limitsamount:{},limitsperiods:{},numberofentries:{},customcurrencysymbols:{},limitformat:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{},customcontentontab:{}},["customTabContent"],[],!0);exports.default=K;
|