@everymatrix/player-account-gaming-limits-popup-2 0.0.413 → 0.0.415
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -27,13 +27,13 @@ for(;N<H.length;){const t=H[N];N++,B(t),O(t.$$)}for(B(null),H.length=0,N=0;A.len
|
|
|
27
27
|
// subsequent updates...
|
|
28
28
|
for(let t=0;t<_.length;t+=1){const e=_[t];C.has(e)||(
|
|
29
29
|
// ...so guard against infinite loops
|
|
30
|
-
C.add(e),e())}_.length=0}while(H.length);for(;L.length;)L.pop()();S=!1,C.clear(),B(t)}function O(t){if(null!==t.fragment){t.update(),r(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(I)}}const R=new Set;const
|
|
30
|
+
C.add(e),e())}_.length=0}while(H.length);for(;L.length;)L.pop()();S=!1,C.clear(),B(t)}function O(t){if(null!==t.fragment){t.update(),r(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(I)}}const R=new Set;const k="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function D(t,e){-1===t.$$.dirty[0]&&(H.push(t),S||(S=!0,w.then(M)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function x(o,s,a,u,c,h,p,f=[-1]){const m=P;B(o);const g=o.$$={fragment:null,ctx:null,
|
|
31
31
|
// state
|
|
32
32
|
props:h,update:t,not_equal:c,bound:n(),
|
|
33
33
|
// lifecycle
|
|
34
34
|
on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(m?m.$$.context:[])),
|
|
35
35
|
// everything else
|
|
36
|
-
callbacks:n(),dirty:f,skip_bound:!1,root:s.target||m.$$.root};p&&p(g.root);let d=!1;if(g.ctx=a?a(o,s.props||{},((t,e,...n)=>{const r=n.length?n[0]:e;return g.ctx&&c(g.ctx[t],g.ctx[t]=r)&&(!g.skip_bound&&g.bound[t]&&g.bound[t](r),d&&
|
|
36
|
+
callbacks:n(),dirty:f,skip_bound:!1,root:s.target||m.$$.root};p&&p(g.root);let d=!1;if(g.ctx=a?a(o,s.props||{},((t,e,...n)=>{const r=n.length?n[0]:e;return g.ctx&&c(g.ctx[t],g.ctx[t]=r)&&(!g.skip_bound&&g.bound[t]&&g.bound[t](r),d&&D(o,t)),e})):[],g.update(),d=!0,r(g.before_update),
|
|
37
37
|
// `false` as a special case of no DOM component
|
|
38
38
|
g.fragment=!!u&&u(g.ctx),s.target){if(s.hydrate){const t=function(t){return Array.from(t.childNodes)}(s.target);
|
|
39
39
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
@@ -272,7 +272,7 @@ e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12"
|
|
|
272
272
|
var n,r=t.language;return"root"!==r&&(n=t.maximize().region),(It[n||""]||It[r||""]||It["".concat(r,"-001")]||It["001"])[0]}var Nt=new RegExp("^".concat(dt.source,"*")),Mt=new RegExp("".concat(dt.source,"*$"));function Ot(t,e){return{start:t,end:e}}
|
|
273
273
|
// #region Ponyfills
|
|
274
274
|
// Consolidate these variables up top for easier toggling during debugging
|
|
275
|
-
var Rt=!!String.prototype.startsWith,
|
|
275
|
+
var Rt=!!String.prototype.startsWith,kt=!!String.fromCodePoint,Dt=!!Object.fromEntries,xt=!!String.prototype.codePointAt,Ut=!!String.prototype.trimStart,Gt=!!String.prototype.trimEnd,$t=!!Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},Ft=!0;try{
|
|
276
276
|
/**
|
|
277
277
|
* legacy Edge or Xbox One browser
|
|
278
278
|
* Unicode flag support: supported
|
|
@@ -281,10 +281,10 @@ var Rt=!!String.prototype.startsWith,Dt=!!String.fromCodePoint,kt=!!Object.fromE
|
|
|
281
281
|
*/
|
|
282
282
|
Ft="a"===(null===(St=Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===St?void 0:St[0])}catch(t){Ft=!1}var jt,Vt=Rt?// Native
|
|
283
283
|
function(t,e,n){return t.startsWith(e,n)}:// For IE11
|
|
284
|
-
function(t,e,n){return t.slice(n,n+e.length)===e},Kt=
|
|
284
|
+
function(t,e,n){return t.slice(n,n+e.length)===e},Kt=kt?String.fromCodePoint:// IE11
|
|
285
285
|
function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n,r="",i=t.length,o=0;i>o;){if((n=t[o++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Xt=
|
|
286
286
|
// native
|
|
287
|
-
|
|
287
|
+
Dt?Object.fromEntries:// Ponyfill
|
|
288
288
|
function(t){for(var e={},n=0,r=t;n<r.length;n++){var i=r[n],o=i[0],s=i[1];e[o]=s}return e},zt=xt?// Native
|
|
289
289
|
function(t,e){return t.codePointAt(e)}:// IE 11
|
|
290
290
|
function(t,e){var n=t.length;if(!(e<0||e>=n)){var r,i=t.charCodeAt(e);return i<55296||i>56319||e+1===n||(r=t.charCodeAt(e+1))<56320||r>57343?i:r-56320+(i-55296<<10)+65536}},Wt=Ut?// Native
|
|
@@ -553,7 +553,7 @@ t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
|
|
|
553
553
|
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
|
|
554
554
|
Copyrights licensed under the New BSD License.
|
|
555
555
|
See the accompanying LICENSE file for terms.
|
|
556
|
-
*/const _e={},Le=(t,e,n)=>n?(e in _e||(_e[e]={}),t in _e[e]||(_e[e][t]=n),n):n,we=(t,e)=>{if(null==e)return;if(e in _e&&t in _e[e])return _e[e][t];const n=Xe(e);for(let r=0;r<n.length;r++){const i=Ne(n[r],t);if(i)return Le(t,e,i)}};let Se;const Ie=$({});function Ce(t){return t in Se}function Ne(t,e){if(!Ce(t))return null;const n=function(t){return Se[t]||null}(t);return function(t,e){if(null==e)return;if(e in t)return t[e];const n=e.split(".");let r=t;for(let t=0;t<n.length;t++)if("object"==typeof r){if(t>0){const e=n.slice(t,n.length).join(".");if(e in r){r=r[e];break}}r=r[n[t]]}else r=void 0;return r}(n,e)}function Me(t,...e){delete _e[t],Ie.update((n=>(n[t]=q.all([n[t]||{},...e]),n)))}F([Ie],(([t])=>Object.keys(t))),Ie.subscribe((t=>Se=t));const Oe={};function Re(t){return Oe[t]}function
|
|
556
|
+
*/const _e={},Le=(t,e,n)=>n?(e in _e||(_e[e]={}),t in _e[e]||(_e[e][t]=n),n):n,we=(t,e)=>{if(null==e)return;if(e in _e&&t in _e[e])return _e[e][t];const n=Xe(e);for(let r=0;r<n.length;r++){const i=Ne(n[r],t);if(i)return Le(t,e,i)}};let Se;const Ie=$({});function Ce(t){return t in Se}function Ne(t,e){if(!Ce(t))return null;const n=function(t){return Se[t]||null}(t);return function(t,e){if(null==e)return;if(e in t)return t[e];const n=e.split(".");let r=t;for(let t=0;t<n.length;t++)if("object"==typeof r){if(t>0){const e=n.slice(t,n.length).join(".");if(e in r){r=r[e];break}}r=r[n[t]]}else r=void 0;return r}(n,e)}function Me(t,...e){delete _e[t],Ie.update((n=>(n[t]=q.all([n[t]||{},...e]),n)))}F([Ie],(([t])=>Object.keys(t))),Ie.subscribe((t=>Se=t));const Oe={};function Re(t){return Oe[t]}function ke(t){return null!=t&&Xe(t).some((t=>{var e;return null===(e=Re(t))||void 0===e?void 0:e.size}))}const De={};function xe(t){if(!ke(t))return t in De?De[t]:Promise.resolve();const e=function(t){return Xe(t).map((t=>{const e=Re(t);return[t,e?[...e]:[]]})).filter((([,t])=>t.length>0))}(t);return De[t]=Promise.all(e.map((([t,e])=>function(t,e){const n=Promise.all(e.map((e=>(function(t,e){Oe[t].delete(e),0===Oe[t].size&&delete Oe[t]}(t,e),e().then((t=>t.default||t))))));return n.then((e=>Me(t,...e)))}(t,e)))).then((()=>{if(ke(t))return xe(t);delete De[t]})),De[t]}
|
|
557
557
|
/*! *****************************************************************************
|
|
558
558
|
Copyright (c) Microsoft Corporation.
|
|
559
559
|
|
|
@@ -567,7 +567,7 @@ t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
|
|
|
567
567
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
568
568
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
569
569
|
PERFORMANCE OF THIS SOFTWARE.
|
|
570
|
-
***************************************************************************** */function Ue(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}const Ge={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function $e(){return Ge}const Fe=$(!1);let je;const Ve=$(null);function Ke(t){return t.split("-").map(((t,e,n)=>n.slice(0,e+1).join("-"))).reverse()}function Xe(t,e=$e().fallbackLocale){const n=Ke(t);return e?[...new Set([...n,...Ke(e)])]:n}function ze(){return null!=je?je:void 0}Ve.subscribe((t=>{je=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const We=Object.assign(Object.assign({},Ve),{set:t=>{if(t&&function(t){if(null==t)return;const e=Xe(t);for(let t=0;t<e.length;t++){const n=e[t];if(Ce(n))return n}}(t)&&
|
|
570
|
+
***************************************************************************** */function Ue(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}const Ge={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function $e(){return Ge}const Fe=$(!1);let je;const Ve=$(null);function Ke(t){return t.split("-").map(((t,e,n)=>n.slice(0,e+1).join("-"))).reverse()}function Xe(t,e=$e().fallbackLocale){const n=Ke(t);return e?[...new Set([...n,...Ke(e)])]:n}function ze(){return null!=je?je:void 0}Ve.subscribe((t=>{je=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const We=Object.assign(Object.assign({},Ve),{set:t=>{if(t&&function(t){if(null==t)return;const e=Xe(t);for(let t=0;t<e.length;t++){const n=e[t];if(Ce(n))return n}}(t)&&ke(t)){const{loadingDelay:e}=$e();let n;return"undefined"!=typeof window&&null!=ze()&&e?n=window.setTimeout((()=>Fe.set(!0)),e):Fe.set(!0),xe(t).then((()=>{Ve.set(t)})).finally((()=>{clearTimeout(n),Fe.set(!1)}))}return Ve.set(t)}}),Ye=t=>{const e=Object.create(null);return n=>{const r=JSON.stringify(n);return r in e?e[r]:e[r]=t(n)}},Ze=(t,e)=>{const{formats:n}=$e();if(t in n&&e in n[t])return n[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},qe=Ye((t=>{var{locale:e,format:n}=t,r=Ue(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=Ze("number",n)),new Intl.NumberFormat(e,r)})),Qe=Ye((t=>{var{locale:e,format:n}=t,r=Ue(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=Ze("date",n):0===Object.keys(r).length&&(r=Ze("date","short")),new Intl.DateTimeFormat(e,r)})),Je=Ye((t=>{var{locale:e,format:n}=t,r=Ue(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=Ze("time",n):0===Object.keys(r).length&&(r=Ze("time","short")),new Intl.DateTimeFormat(e,r)})),tn=Ye(((t,e=ze())=>new Ae(t,e,$e().formats,{ignoreTag:$e().ignoreTag}))),en=(t,e={})=>{var n,r,i,o;let s=e;"object"==typeof t&&(s=t,t=s.id);const{values:a,locale:u=ze(),default:l}=s;if(null==u)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=we(t,u);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!==(o=null!==(i=null===(r=(n=$e()).handleMissingMessage)||void 0===r?void 0:r.call(n,{locale:u,id:t,defaultValue:l}))&&void 0!==i?i:l)&&void 0!==o?o:t;if(!a)return c;let h=c;try{h=tn(c,u).format(a)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return h},nn=(t,e)=>((t={})=>{var{locale:e=ze()}=t,n=Ue(t,["locale"]);return Je(Object.assign({locale:e},n))})(e).format(t),rn=(t,e)=>((t={})=>{var{locale:e=ze()}=t,n=Ue(t,["locale"]);return Qe(Object.assign({locale:e},n))})(e).format(t),on=(t,e)=>((t={})=>{var{locale:e=ze()}=t,n=Ue(t,["locale"]);return qe(Object.assign({locale:e},n))})(e).format(t),sn=(t,e=ze())=>we(t,e),an=F([We,Ie],(()=>en));F([We],(()=>nn)),F([We],(()=>rn)),F([We],(()=>on)),F([We,Ie],(()=>sn));const un={en:{lugasPopup:{loading:"Loading, please wait...",setLimit:"Set a limit",setLimitDescription:"In Germany, you are legally required to set a monthly deposit limit. Therefore, we ask you to confirm your existing limit or set a new one in order to enjoy playing without restrictions.",lugasInfo1:"Any questions? Information about",lugasInfo2:"LUGAS",keepCurrentLimit:"KEEP THE CURRENT LIMIT",keepCurrentLimitButton:"NEW LIMIT",applyButton:"APPLY",depositPeriod:"Monthly deposit limit",TCpart1:'By clicking "Keep the current limit" or "Apply" I confirm that I have read and accept the ',TClink:"General Terms and Conditions",TCpart2:". Also note our ",PPlink:"Privacy Policy",depositLimit:"Deposit Limit set",successful:"Successful!",successDescription:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kyc1Part1:"We were able to set your monthly deposit limit to ",kyc1Part2:". In order to increase the limit to the desired amount, we ask you to provide us with the relevant information. This information can be submitted in the document upload.",kycButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",depositError:"Deposit Limit update error",errorDescription:"We were unable to set your limit at this time, due to a server error. Please try again later.",docsRequired:"Documents required!",kyc2:"For the selected limit, we require documents that show your economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment."}},de:{lugasPopup:{loading:"Loading, please wait...",setLimit:"Set a limit",setLimitDescription:"In Germany, you are legally required to set a monthly deposit limit. Therefore, we ask you to confirm your existing limit or set a new one in order to enjoy playing without restrictions.",lugasInfo1:"Any questions? Information about",lugasInfo2:"LUGAS",keepCurrentLimit:"KEEP THE CURRENT LIMIT",keepCurrentLimitButton:"NEW LIMIT",applyButton:"APPLY",depositPeriod:"Monthly deposit limit",TCpart1:'By clicking "Keep the current limit" or "Apply" I confirm that I have read and accept the ',TClink:"General Terms and Conditions",TCpart2:". Also note our ",PPlink:"Privacy Policy",depositLimit:"Deposit Limit set",successful:"Successful!",successDescription:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kyc1Part1:"We were able to set your monthly deposit limit to ",kyc1Part2:". In order to increase the limit to the desired amount, we ask you to provide us with the relevant information. This information can be submitted in the document upload.",kycButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",depositError:"Deposit Limit update error",errorDescription:"We were unable to set your limit at this time, due to a server error. Please try again later.",docsRequired:"Documents required!",kyc2:"For the selected limit, we require documents that show your economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment."}}},{document:ln}=k;
|
|
571
571
|
/* src/PlayerAccountGamingLimitsPopup_2.svelte generated by Svelte v3.48.0 */function cn(t){let e;function n(t,e){/*popupState*/
|
|
572
572
|
return"initial"===t[10]?dn:/*popupState*/"successful"===t[10]?gn:/*popupState*/"KYC"===t[10]?mn:/*popupState*/"KYC2"===t[10]?fn:/*popupState*/"error"===t[10]?pn:void 0}let r=n(t),i=r&&r(t);return{c(){e=c("div"),i&&i.c(),g(e,"class","InitialWrapper")},m(t,n){u(t,e,n),i&&i.m(e,null)},p(t,o){r===(r=n(t))&&i?i.p(t,o):(i&&i.d(1),i=r&&r(t),i&&(i.c(),i.m(e,null)))},d(t){t&&l(e),i&&i.d()}}}
|
|
573
573
|
// (135:8) {#if isLoading}
|
|
@@ -575,20 +575,20 @@ function hn(t){let e,n,r=/*$_*/t[12]("lugasPopup.loading")+"";return{c(){e=c("p"
|
|
|
575
575
|
// (231:43)
|
|
576
576
|
function pn(t){let e,n,r,i,o,s,h,d,b,E,v,T,P=/*$_*/t[12]("lugasPopup.depositError")+"",B=/*$_*/t[12]("lugasPopup.errorDescription")+"",H=/*$_*/t[12]("lugasPopup.closeButton")+"";return{c(){e=c("p"),n=p(P),r=f(),i=c("div"),i.innerHTML='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve"><metadata>Svg Vector Icons : http://www.onlinewebfonts.com/icon </metadata><g><path d="M500,100.9c220,0,399.1,179,399.1,399.1S720.1,899.1,500,899.1c-220.1,0-399.1-179-399.1-399.1C100.9,279.9,279.9,100.9,500,100.9 M500,10C229.4,10,10,229.4,10,500c0,270.6,219.4,490,490,490c270.6,0,490-219.4,490-490C990,229.4,770.6,10,500,10L500,10z"></path><path d="M658.7,734.5L272.2,348l75-75l386.4,386.4L658.7,734.5z"></path><path d="M347.2,734.5l-75-75L658.7,273l75,75L347.2,734.5z"></path></g></svg>',o=f(),s=c("p"),h=p(B),d=f(),b=c("button"),E=p(H),g(e,"class","Title"),g(i,"class","ResultIconWrapper"),g(s,"class","Description CenterAlign"),g(b,"class","ConfirmButton SecondaryButtonStyle")},m(l,c){u(l,e,c),a(e,n),u(l,r,c),u(l,i,c),u(l,o,c),u(l,s,c),a(s,h),u(l,d,c),u(l,b,c),a(b,E),v||(T=m(b,"click",/*click_handler_10*/t[35]),v=!0)},p(t,e){/*$_*/4096&e[0]&&P!==(P=/*$_*/t[12]("lugasPopup.depositError")+"")&&y(n,P),/*$_*/4096&e[0]&&B!==(B=/*$_*/t[12]("lugasPopup.errorDescription")+"")&&y(h,B),/*$_*/4096&e[0]&&H!==(H=/*$_*/t[12]("lugasPopup.closeButton")+"")&&y(E,H)},d(t){t&&l(e),t&&l(r),t&&l(i),t&&l(o),t&&l(s),t&&l(d),t&&l(b),v=!1,T()}}}
|
|
577
577
|
// (208:42)
|
|
578
|
-
function fn(t){let e,n,i,o,s,d,b,v,T,P,B,H,A,_,L,w,S,I,C,N,M,O,R=/*$_*/t[12]("lugasPopup.docsRequired")+"",
|
|
578
|
+
function fn(t){let e,n,i,o,s,d,b,v,T,P,B,H,A,_,L,w,S,I,C,N,M,O,R=/*$_*/t[12]("lugasPopup.docsRequired")+"",k=/*$_*/t[12]("lugasPopup.docsRequired")+"",D=/*$_*/t[12]("lugasPopup.kyc2")+"",x=/*$_*/t[12]("lugasPopup.kycButton")+"",U=/*$_*/t[12]("lugasPopup.closeButton")+"";return{c(){e=c("p"),n=p(R),i=f(),o=c("div"),s=c("div"),d=h("svg"),b=h("g"),v=h("path"),T=f(),P=c("p"),B=p(k),H=f(),A=c("p"),_=p(D),L=f(),w=c("button"),S=p(x),I=f(),C=c("button"),N=p(U),g(e,"class","Title"),g(v,"id","XMLID_6_"),g(v,"d","M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360\n c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55\n c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1\n h256.5v-82.1H429v366.5H429.9z"),g(b,"id","XMLID_1_"),g(d,"version","1.1"),g(d,"id","Layer_1"),g(d,"xmlns","http://www.w3.org/2000/svg"),g(d,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(d,"x","0px"),g(d,"y","0px"),g(d,"viewBox","0 0 512 512"),E(d,"enable-background","new 0 0 512 512"),g(d,"xml:space","preserve"),g(s,"class","ResultIconWrapper"),g(A,"class","Description CenterAlign"),g(o,"class","DescriptionWrapper"),g(w,"class","KycButton PrimaryButtonStyle"),g(C,"class","ConfirmButton SecondaryButtonStyle")},m(r,l){u(r,e,l),a(e,n),u(r,i,l),u(r,o,l),a(o,s),a(s,d),a(d,b),a(b,v),a(s,T),a(s,P),a(P,B),a(o,H),a(o,A),a(A,_),u(r,L,l),u(r,w,l),a(w,S),u(r,I,l),u(r,C,l),a(C,N),M||(O=[m(w,"click",/*click_handler_8*/t[33]),m(C,"click",/*click_handler_9*/t[34])],M=!0)},p(t,e){/*$_*/4096&e[0]&&R!==(R=/*$_*/t[12]("lugasPopup.docsRequired")+"")&&y(n,R),/*$_*/4096&e[0]&&k!==(k=/*$_*/t[12]("lugasPopup.docsRequired")+"")&&y(B,k),/*$_*/4096&e[0]&&D!==(D=/*$_*/t[12]("lugasPopup.kyc2")+"")&&y(_,D),/*$_*/4096&e[0]&&x!==(x=/*$_*/t[12]("lugasPopup.kycButton")+"")&&y(S,x),/*$_*/4096&e[0]&&U!==(U=/*$_*/t[12]("lugasPopup.closeButton")+"")&&y(N,U)},d(t){t&&l(e),t&&l(i),t&&l(o),t&&l(L),t&&l(w),t&&l(I),t&&l(C),M=!1,r(O)}}}
|
|
579
579
|
// (185:41)
|
|
580
|
-
function mn(t){let e,n,i,o,s,d,b,v,T,P,B,H,A,_,L,w,S,I,C,N,M,O,R,D,
|
|
580
|
+
function mn(t){let e,n,i,o,s,d,b,v,T,P,B,H,A,_,L,w,S,I,C,N,M,O,R,k,D,x,U=/*$_*/t[12]("lugasPopup.depositLimit")+"",G=/*$_*/t[12]("lugasPopup.successful")+"",$=/*$_*/t[12]("lugasPopup.kyc1Part1")+"",F=/*$_*/t[12]("lugasPopup.kyc1Part2")+"",j=/*$_*/t[12]("lugasPopup.kycButton")+"",V=/*$_*/t[12]("lugasPopup.closeButton")+"";return{c(){e=c("p"),n=p(U),i=f(),o=c("div"),s=c("div"),d=h("svg"),b=h("g"),v=h("path"),T=f(),P=c("p"),B=p(G),H=f(),A=c("p"),_=p($),L=p(/*legislatorLimitValue*/t[11]),w=f(),S=p(/*currency*/t[0]),I=p(F),C=f(),N=c("button"),M=p(j),O=f(),R=c("button"),k=p(V),g(e,"class","Title"),g(v,"id","XMLID_6_"),g(v,"d","M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360\n c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55\n c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1\n h256.5v-82.1H429v366.5H429.9z"),g(b,"id","XMLID_1_"),g(d,"version","1.1"),g(d,"id","Layer_1"),g(d,"xmlns","http://www.w3.org/2000/svg"),g(d,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(d,"x","0px"),g(d,"y","0px"),g(d,"viewBox","0 0 512 512"),E(d,"enable-background","new 0 0 512 512"),g(d,"xml:space","preserve"),g(s,"class","ResultIconWrapper"),g(A,"class","Description CenterAlign"),g(o,"class","DescriptionWrapper"),g(N,"class","KycButton PrimaryButtonStyle"),g(R,"class","ConfirmButton SecondaryButtonStyle")},m(r,l){u(r,e,l),a(e,n),u(r,i,l),u(r,o,l),a(o,s),a(s,d),a(d,b),a(b,v),a(s,T),a(s,P),a(P,B),a(o,H),a(o,A),a(A,_),a(A,L),a(A,w),a(A,S),a(A,I),u(r,C,l),u(r,N,l),a(N,M),u(r,O,l),u(r,R,l),a(R,k),D||(x=[m(N,"click",/*click_handler_6*/t[31]),m(R,"click",/*click_handler_7*/t[32])],D=!0)},p(t,e){/*$_*/4096&e[0]&&U!==(U=/*$_*/t[12]("lugasPopup.depositLimit")+"")&&y(n,U),/*$_*/4096&e[0]&&G!==(G=/*$_*/t[12]("lugasPopup.successful")+"")&&y(B,G),/*$_*/4096&e[0]&&$!==($=/*$_*/t[12]("lugasPopup.kyc1Part1")+"")&&y(_,$),/*legislatorLimitValue*/2048&e[0]&&y(L,/*legislatorLimitValue*/t[11]),/*currency*/1&e[0]&&y(S,/*currency*/t[0]),/*$_*/4096&e[0]&&F!==(F=/*$_*/t[12]("lugasPopup.kyc1Part2")+"")&&y(I,F),/*$_*/4096&e[0]&&j!==(j=/*$_*/t[12]("lugasPopup.kycButton")+"")&&y(M,j),/*$_*/4096&e[0]&&V!==(V=/*$_*/t[12]("lugasPopup.closeButton")+"")&&y(k,V)},d(t){t&&l(e),t&&l(i),t&&l(o),t&&l(C),t&&l(N),t&&l(O),t&&l(R),D=!1,r(x)}}}
|
|
581
581
|
// (168:48)
|
|
582
582
|
function gn(t){let e,n,r,i,o,s,d,b,v,T,P,B,H,A,_,L,w,S,I,C,N,M=/*$_*/t[12]("lugasPopup.depositLimit")+"",O=/*$_*/t[12]("lugasPopup.successful")+"",R=/*$_*/t[12]("lugasPopup.successDescription")+"";return{c(){e=c("p"),n=p(M),r=f(),i=c("div"),o=c("div"),s=h("svg"),d=h("defs"),b=h("style"),v=p(".fil0 {fill:black;fill-rule:nonzero}\n "),T=h("g"),P=h("polygon"),B=f(),H=c("p"),A=p(O),_=f(),L=c("p"),w=p(R),S=f(),I=c("button"),I.textContent="OK",g(e,"class","Title"),g(b,"type","text/css"),g(P,"class","fil0"),g(P,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),g(s,"xmlns","http://www.w3.org/2000/svg"),g(s,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(s,"xml:space","preserve"),g(s,"version","1.1"),E(s,"shape-rendering","geometricPrecision"),E(s,"text-rendering","geometricPrecision"),E(s,"image-rendering","optimizeQuality"),g(s,"viewBox","0 0 90 69"),g(s,"x","0px"),g(s,"y","0px"),g(s,"fill-rule","evenodd"),g(s,"clip-rule","evenodd"),g(o,"class","ResultIconWrapper"),g(L,"class","Description CenterAlign"),g(i,"class","DescriptionWrapper"),g(I,"class","ConfirmButton PrimaryButtonStyle")},m(l,c){u(l,e,c),a(e,n),u(l,r,c),u(l,i,c),a(i,o),a(o,s),a(s,d),a(d,b),a(b,v),a(s,T),a(T,P),a(o,B),a(o,H),a(H,A),a(i,_),a(i,L),a(L,w),u(l,S,c),u(l,I,c),C||(N=m(I,"click",/*click_handler_5*/t[30]),C=!0)},p(t,e){/*$_*/4096&e[0]&&M!==(M=/*$_*/t[12]("lugasPopup.depositLimit")+"")&&y(n,M),/*$_*/4096&e[0]&&O!==(O=/*$_*/t[12]("lugasPopup.successful")+"")&&y(A,O),/*$_*/4096&e[0]&&R!==(R=/*$_*/t[12]("lugasPopup.successDescription")+"")&&y(w,R)},d(t){t&&l(e),t&&l(r),t&&l(i),t&&l(S),t&&l(I),C=!1,N()}}}
|
|
583
583
|
// (139:10) {#if popupState === "initial"}
|
|
584
|
-
function dn(t){let e,n,i,o,s,E,T,P,B,H,A,_,L,w,S,I,C,N,M,O,R,D,
|
|
585
|
-
/*svg_binding*/t[24](N),u(r,R,l),u(r,
|
|
586
|
-
/*button2_binding*/t[26](V),u(r,X,l),u(r,z,l),a(z,W),a(z,Y),a(Y,Z),a(z,q),a(z,Q),a(Q,J),a(z,tt),et||(nt=[m(H,"click",/*click_handler*/t[22]),m(L,"click",/*click_handler_1*/t[23]),m(I,"click",/*toggleNewLimitArea*/t[13]),m(F,"input",/*input_input_handler*/t[25]),m(F,"keyup",/*updateInputValue*/t[14]),m(V,"click",/*click_handler_2*/t[27]),m(Y,"click",/*click_handler_3*/t[28]),m(Q,"click",/*click_handler_4*/t[29])],et=!0)},p(t,e){/*$_*/4096&e[0]&&rt!==(rt=/*$_*/t[12]("lugasPopup.setLimit")+"")&&y(n,rt),/*$_*/4096&e[0]&&it!==(it=/*$_*/t[12]("lugasPopup.setLimitDescription")+"")&&y(s,it),/*$_*/4096&e[0]&&ot!==(ot=/*$_*/t[12]("lugasPopup.lugasInfo1")+"")&&y(P,ot),/*$_*/4096&e[0]&&st!==(st=/*$_*/t[12]("lugasPopup.lugasInfo2")+"")&&y(A,st),/*$_*/4096&e[0]&&at!==(at=/*$_*/t[12]("lugasPopup.keepCurrentLimit")+"")&&y(w,at),/*$_*/4096&e[0]&&ut!==(ut=/*$_*/t[12]("lugasPopup.keepCurrentLimitButton")+"")&&y(C,ut),/*extended*/32&e[0]&&v(N,"Extended",/*extended*/t[5]),/*$_*/4096&e[0]&<!==(lt=/*$_*/t[12]("lugasPopup.depositPeriod")+"")&&y(U,lt),/*inputAmount*/64&e[0]&&d(F.value)!==/*inputAmount*/t[6]&&b(F,/*inputAmount*/t[6]),/*$_*/4096&e[0]&&ct!==(ct=/*$_*/t[12]("lugasPopup.applyButton")+"")&&y(K,ct),/*hidden*/16&e[0]&&v(
|
|
587
|
-
/*svg_binding*/,t[24](null),n&&l(R),n&&l(
|
|
584
|
+
function dn(t){let e,n,i,o,s,E,T,P,B,H,A,_,L,w,S,I,C,N,M,O,R,k,D,x,U,G,$,F,j,V,K,X,z,W,Y,Z,q,Q,J,tt,et,nt,rt=/*$_*/t[12]("lugasPopup.setLimit")+"",it=/*$_*/t[12]("lugasPopup.setLimitDescription")+"",ot=/*$_*/t[12]("lugasPopup.lugasInfo1")+"",st=/*$_*/t[12]("lugasPopup.lugasInfo2")+"",at=/*$_*/t[12]("lugasPopup.keepCurrentLimit")+"",ut=/*$_*/t[12]("lugasPopup.keepCurrentLimitButton")+"",lt=/*$_*/t[12]("lugasPopup.depositPeriod")+"",ct=/*$_*/t[12]("lugasPopup.applyButton")+"",ht=/*$_*/t[12]("lugasPopup.TCpart1")+"",pt=/*$_*/t[12]("lugasPopup.TClink")+"",ft=/*$_*/t[12]("lugasPopup.TCpart2")+"",mt=/*$_*/t[12]("lugasPopup.PPlink")+"";return{c(){e=c("p"),n=p(rt),i=f(),o=c("p"),s=p(it),E=f(),T=c("p"),P=p(ot),B=f(),H=c("a"),A=p(st),_=f(),L=c("button"),w=p(at),S=f(),I=c("button"),C=p(ut),N=h("svg"),M=h("path"),O=h("path"),R=f(),k=c("div"),D=c("div"),x=c("span"),U=p(lt),G=f(),$=c("div"),F=c("input"),j=f(),V=c("button"),K=p(ct),X=f(),z=c("p"),W=p(ht),Y=c("a"),Z=p(pt),q=p(ft),Q=c("a"),J=p(mt),tt=p("."),g(e,"class","Title"),g(o,"class","Description LeftAlign"),g(H,"href","#"),g(T,"class","AdditionalInformation"),g(L,"class","KeepCurrentButton PrimaryButtonStyle"),g(M,"d","M10.5 15l7.5 7.5 7.5-7.5z"),g(O,"d","M0 0h36v36h-36z"),g(O,"fill","none"),g(N,"class","ExpandArrow"),g(N,"xmlns","http://www.w3.org/2000/svg"),g(N,"width","36"),g(N,"height","36"),g(N,"viewBox","0 0 36 36"),g(N,"fill","#999"),v(N,"Extended",/*extended*/t[5]),g(I,"class","ExpandButton"),g(x,"class","DepositPeriodText"),g(D,"class","DepositTextSection"),g(F,"type","number"),g(F,"class","DepositInput"),g(V,"type","submit"),g(V,"class","SubmitDepositButton PrimaryButtonStyle"),V.disabled=!0,g($,"class","DepositInputSection"),g(k,"class","SetLimitSection"),v(k,"Hidden",/*hidden*/t[4]),g(Y,"href","#"),g(Q,"href","#"),g(z,"class","TermsConditions")},m(r,l){u(r,e,l),a(e,n),u(r,i,l),u(r,o,l),a(o,s),u(r,E,l),u(r,T,l),a(T,P),a(T,B),a(T,H),a(H,A),u(r,_,l),u(r,L,l),a(L,w),u(r,S,l),u(r,I,l),a(I,C),a(I,N),a(N,M),a(N,O),
|
|
585
|
+
/*svg_binding*/t[24](N),u(r,R,l),u(r,k,l),a(k,D),a(D,x),a(x,U),a(k,G),a(k,$),a($,F),b(F,/*inputAmount*/t[6]),a($,j),a($,V),a(V,K),
|
|
586
|
+
/*button2_binding*/t[26](V),u(r,X,l),u(r,z,l),a(z,W),a(z,Y),a(Y,Z),a(z,q),a(z,Q),a(Q,J),a(z,tt),et||(nt=[m(H,"click",/*click_handler*/t[22]),m(L,"click",/*click_handler_1*/t[23]),m(I,"click",/*toggleNewLimitArea*/t[13]),m(F,"input",/*input_input_handler*/t[25]),m(F,"keyup",/*updateInputValue*/t[14]),m(V,"click",/*click_handler_2*/t[27]),m(Y,"click",/*click_handler_3*/t[28]),m(Q,"click",/*click_handler_4*/t[29])],et=!0)},p(t,e){/*$_*/4096&e[0]&&rt!==(rt=/*$_*/t[12]("lugasPopup.setLimit")+"")&&y(n,rt),/*$_*/4096&e[0]&&it!==(it=/*$_*/t[12]("lugasPopup.setLimitDescription")+"")&&y(s,it),/*$_*/4096&e[0]&&ot!==(ot=/*$_*/t[12]("lugasPopup.lugasInfo1")+"")&&y(P,ot),/*$_*/4096&e[0]&&st!==(st=/*$_*/t[12]("lugasPopup.lugasInfo2")+"")&&y(A,st),/*$_*/4096&e[0]&&at!==(at=/*$_*/t[12]("lugasPopup.keepCurrentLimit")+"")&&y(w,at),/*$_*/4096&e[0]&&ut!==(ut=/*$_*/t[12]("lugasPopup.keepCurrentLimitButton")+"")&&y(C,ut),/*extended*/32&e[0]&&v(N,"Extended",/*extended*/t[5]),/*$_*/4096&e[0]&<!==(lt=/*$_*/t[12]("lugasPopup.depositPeriod")+"")&&y(U,lt),/*inputAmount*/64&e[0]&&d(F.value)!==/*inputAmount*/t[6]&&b(F,/*inputAmount*/t[6]),/*$_*/4096&e[0]&&ct!==(ct=/*$_*/t[12]("lugasPopup.applyButton")+"")&&y(K,ct),/*hidden*/16&e[0]&&v(k,"Hidden",/*hidden*/t[4]),/*$_*/4096&e[0]&&ht!==(ht=/*$_*/t[12]("lugasPopup.TCpart1")+"")&&y(W,ht),/*$_*/4096&e[0]&&pt!==(pt=/*$_*/t[12]("lugasPopup.TClink")+"")&&y(Z,pt),/*$_*/4096&e[0]&&ft!==(ft=/*$_*/t[12]("lugasPopup.TCpart2")+"")&&y(q,ft),/*$_*/4096&e[0]&&mt!==(mt=/*$_*/t[12]("lugasPopup.PPlink")+"")&&y(J,mt)},d(n){n&&l(e),n&&l(i),n&&l(o),n&&l(E),n&&l(T),n&&l(_),n&&l(L),n&&l(S),n&&l(I)
|
|
587
|
+
/*svg_binding*/,t[24](null),n&&l(R),n&&l(k)
|
|
588
588
|
/*button2_binding*/,t[26](null),n&&l(X),n&&l(z),et=!1,r(nt)}}}function yn(e){let n,r,i,o,s,h;function p(t,e){/*isLoading*/
|
|
589
589
|
return t[7]?hn:/*lang*/t[1]?cn:void 0}let m=p(e),d=m&&m(e);return{c(){n=c("meta"),r=f(),i=c("div"),o=c("div"),s=c("div"),h=c("div"),d&&d.c(),this.c=t,g(n,"name","viewport"),g(n,"content","width=device-width, initial-scale=1"),g(h,"class","ModalContainer"),g(s,"class","Overlay"),g(o,"class","player-account-gaming-limits-popup-2")},m(t,l){a(ln.head,n),u(t,r,l),u(t,i,l),a(i,o),a(o,s),a(s,h),d&&d.m(h,null)
|
|
590
590
|
/*div2_binding*/,e[36](o),
|
|
591
591
|
/*div3_binding*/e[37](i)},p(t,e){m===(m=p(t))&&d?d.p(t,e):(d&&d.d(1),d=m&&m(t),d&&(d.c(),d.m(h,null)))},i:t,o:t,d(t){l(n),t&&l(r),t&&l(i),d&&d.d()
|
|
592
592
|
/*div2_binding*/,e[36](null),
|
|
593
|
-
/*div3_binding*/e[37](null)}}}function bn(t,e,n){let r;var i,o;i=an,o=t=>n(12,r=t),t.$$.on_destroy.push(s(i,o));let a,u,l,c,h,p,{userid:f=""}=e,{session:m=""}=e,{endpoint:g=""}=e,{currency:y=""}=e,{lang:b=""}=e,{clientstyling:E=""}=e,{clientstylingurl:v=""}=e,T=!0,P=!1,B=!1,H="initial";Object.keys(un).forEach((t=>{!function(t,e){Me(t,e)}(t,un[t])}));const _=t=>{switch(window.postMessage({type:t}),t){case"closePopup":case"uploadDocuments":h.parentNode.removeChild(h)}},L=t=>{const e=new URL(`/v1/player/${f}/limit/lugas`,g);let r={};n(7,B=!0),r="custom"===t?{amount:l}:{};let i={method:"POST",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(r)};fetch(e.href,i).then((t=>t.json())).then((t=>{w(t)})).catch((t=>{console.log(t)})).finally((()=>{n(7,B=!1)}))},w=t=>{if(t.hasOwnProperty("kycNeeded"))switch(t.popup){case 1:n(10,H="KYC"),n(11,p=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(t.operatorDepositLimitAmount));break;case 2:n(10,H="successful");break;case 3:n(10,H="KYC2")}else n(10,H="error")},S=()=>{var t;t=b,We.set(t)};return t.$$set=t=>{"userid"in t&&n(17,f=t.userid),"session"in t&&n(18,m=t.session),"endpoint"in t&&n(19,g=t.endpoint),"currency"in t&&n(0,y=t.currency),"lang"in t&&n(1,b=t.lang),"clientstyling"in t&&n(20,E=t.clientstyling),"clientstylingurl"in t&&n(21,v=t.clientstylingurl)},t.$$.update=()=>{/*lang*/2&t.$$.dirty[0]&&b&&S(),/*clientstylingurl*/2097152&t.$$.dirty[0]&&v&&(()=>{let t=new URL(v),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,a&&setTimeout((()=>{a.appendChild(e)}),1)}))})(),/*clientstyling*/1048576&t.$$.dirty[0]&&E&&(()=>{let t=document.createElement("style");t.innerHTML=E,a.appendChild(t)})()},[y,b,a,u,T,P,l,B,c,h,H,p,r,()=>{n(5,P=!P),n(4,T=!T)},()=>{const t=999999999999999;l>t&&n(6,l=t);const e=l-Math.floor(l)==0;l>0&&e?c.removeAttribute("disabled"):c.setAttribute("disabled","true")},_,L,f,m,g,E,v,()=>_("lugasInformation"),()=>L("default"),function(t){A[t?"unshift":"push"]((()=>{u=t,n(3,u)}))},function(){l=d(this.value),n(6,l)},function(t){A[t?"unshift":"push"]((()=>{c=t,n(8,c)}))},()=>L("custom"),()=>_("termsConditions"),()=>_("privacyPolicy"),()=>_("closePopup"),()=>_("uploadDocuments"),()=>_("closePopup"),()=>_("uploadDocuments"),()=>_("closePopup"),()=>_("closePopup"),function(t){A[t?"unshift":"push"]((()=>{h=t,n(9,h)}))},function(t){A[t?"unshift":"push"]((()=>{a=t,n(2,a)}))}]}class En extends U{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:'Roboto', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;outline:none;box-sizing:border-box}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-popup-2{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #000)}.Title{font-weight:800;font-size:18px}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{font-size:14px;color:#fff;background:#7ac317}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center;margin:12px 0}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.Overlay{position:absolute;top:0;left:0;width:100vw;height:100vh;display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:320px;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{margin:10px 0;font-size:14px}.TermsConditions{font-size:12px}.ExpandButton{font-size:14px;background-color:#fff;border:0;padding:0;margin-top:-10px;color:#999;display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left;font-size:16px}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:#ccc;cursor:not-allowed;background:#fff;border:#ccc 1px solid}.Hidden{display:none}.Extended{transform:rotate(180deg)}</style>",x(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},bn,yn,o,{userid:17,session:18,endpoint:19,currency:0,lang:1,clientstyling:20,clientstylingurl:21},null,[-1,-1]),t&&(t.target&&u(t.target,this,t.anchor),t.props&&(this.$set(t.props),M()))}static get observedAttributes(){return["userid","session","endpoint","currency","lang","clientstyling","clientstylingurl"]}get userid(){return this.$$.ctx[17]}set userid(t){this.$$set({userid:t}),M()}get session(){return this.$$.ctx[18]}set session(t){this.$$set({session:t}),M()}get endpoint(){return this.$$.ctx[19]}set endpoint(t){this.$$set({endpoint:t}),M()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),M()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),M()}get clientstyling(){return this.$$.ctx[20]}set clientstyling(t){this.$$set({clientstyling:t}),M()}get clientstylingurl(){return this.$$.ctx[21]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),M()}}return!customElements.get("player-account-gaming-limits-popup-2")&&customElements.define("player-account-gaming-limits-popup-2",En),En}));
|
|
593
|
+
/*div3_binding*/e[37](null)}}}function bn(t,e,n){let r;var i,o;i=an,o=t=>n(12,r=t),t.$$.on_destroy.push(s(i,o));let a,u,l,c,h,p,{userid:f=""}=e,{session:m=""}=e,{endpoint:g=""}=e,{currency:y=""}=e,{lang:b=""}=e,{clientstyling:E=""}=e,{clientstylingurl:v=""}=e,T=!0,P=!1,B=!1,H="initial";Object.keys(un).forEach((t=>{!function(t,e){Me(t,e)}(t,un[t])}));const _=t=>{switch(window.postMessage({type:t}),t){case"closePopup":case"uploadDocuments":h.parentNode.removeChild(h)}},L=t=>{const e=new URL(`/v1/player/${f}/limit/lugas`,g);let r={};n(7,B=!0),r="custom"===t?{amount:l}:{};let i={method:"POST",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(r)};fetch(e.href,i).then((t=>t.json())).then((t=>{w(t)})).catch((t=>{console.log(t)})).finally((()=>{n(7,B=!1)}))},w=t=>{if(t.hasOwnProperty("kycNeeded"))switch(t.popup){case 1:n(10,H="KYC"),n(11,p=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(t.operatorDepositLimitAmount));break;case 2:n(10,H="successful");break;case 3:n(10,H="KYC2")}else n(10,H="error")},S=()=>{var t;t=b,We.set(t)};return t.$$set=t=>{"userid"in t&&n(17,f=t.userid),"session"in t&&n(18,m=t.session),"endpoint"in t&&n(19,g=t.endpoint),"currency"in t&&n(0,y=t.currency),"lang"in t&&n(1,b=t.lang),"clientstyling"in t&&n(20,E=t.clientstyling),"clientstylingurl"in t&&n(21,v=t.clientstylingurl)},t.$$.update=()=>{/*lang*/2&t.$$.dirty[0]&&b&&S(),/*clientstylingurl*/2097152&t.$$.dirty[0]&&v&&(()=>{let t=new URL(v),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,a&&setTimeout((()=>{a.appendChild(e)}),1)}))})(),/*clientstyling*/1048576&t.$$.dirty[0]&&E&&(()=>{let t=document.createElement("style");t.innerHTML=E,a.appendChild(t)})()},[y,b,a,u,T,P,l,B,c,h,H,p,r,()=>{n(5,P=!P),n(4,T=!T)},()=>{const t=999999999999999;l>t&&n(6,l=t);const e=l-Math.floor(l)==0;l>0&&e?c.removeAttribute("disabled"):c.setAttribute("disabled","true")},_,L,f,m,g,E,v,()=>_("lugasInformation"),()=>L("default"),function(t){A[t?"unshift":"push"]((()=>{u=t,n(3,u)}))},function(){l=d(this.value),n(6,l)},function(t){A[t?"unshift":"push"]((()=>{c=t,n(8,c)}))},()=>L("custom"),()=>_("termsConditions"),()=>_("privacyPolicy"),()=>_("closePopup"),()=>_("uploadDocuments"),()=>_("closePopup"),()=>_("uploadDocuments"),()=>_("closePopup"),()=>_("closePopup"),function(t){A[t?"unshift":"push"]((()=>{h=t,n(9,h)}))},function(t){A[t?"unshift":"push"]((()=>{a=t,n(2,a)}))}]}class En extends U{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:'Roboto', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;outline:none;box-sizing:border-box}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-popup-2{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #000)}.Title{font-weight:800;font-size:18px}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{font-size:14px;color:#fff;background:#7ac317}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center;margin:12px 0}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.Overlay{position:absolute;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:320px;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{margin:10px 0;font-size:14px}.TermsConditions{font-size:12px}.ExpandButton{font-size:14px;background-color:#fff;border:0;padding:0;margin-top:-10px;color:#999;display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left;font-size:16px}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:#ccc;cursor:not-allowed;background:#fff;border:#ccc 1px solid}.Hidden{display:none}.Extended{transform:rotate(180deg)}</style>",x(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},bn,yn,o,{userid:17,session:18,endpoint:19,currency:0,lang:1,clientstyling:20,clientstylingurl:21},null,[-1,-1]),t&&(t.target&&u(t.target,this,t.anchor),t.props&&(this.$set(t.props),M()))}static get observedAttributes(){return["userid","session","endpoint","currency","lang","clientstyling","clientstylingurl"]}get userid(){return this.$$.ctx[17]}set userid(t){this.$$set({userid:t}),M()}get session(){return this.$$.ctx[18]}set session(t){this.$$set({session:t}),M()}get endpoint(){return this.$$.ctx[19]}set endpoint(t){this.$$set({endpoint:t}),M()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),M()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),M()}get clientstyling(){return this.$$.ctx[20]}set clientstyling(t){this.$$set({clientstyling:t}),M()}get clientstylingurl(){return this.$$.ctx[21]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),M()}}return!customElements.get("player-account-gaming-limits-popup-2")&&customElements.define("player-account-gaming-limits-popup-2",En),En}));
|
|
594
594
|
//# sourceMappingURL=player-account-gaming-limits-popup-2.js.map
|