@everymatrix/player-account-gaming-limits-history-2 1.4.0 → 1.5.2
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";function t(){}function e(t){return t()}function r(){return Object.create(null)}function n(t){t.forEach(e)}function i(t){return"function"==typeof t}function o(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function s(e,...r){if(null==e)return t;const n=e.subscribe(...r);return n.unsubscribe?()=>n.unsubscribe():n}function a(t,e){t.appendChild(e)}function u(t,e,r){t.insertBefore(e,r||null)}function h(t){t.parentNode.removeChild(t)}function l(t){return document.createElement(t)}function c(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function f(t){return document.createTextNode(t)}function p(){return f(" ")}function m(t,e,r){null==r?t.removeAttribute(e):t.getAttribute(e)!==r&&t.setAttribute(e,r)}function d(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function y(t,e,r){t.classList[r?"add":"remove"](e)}function b(t){const e={};for(const r of t)e[r.name]=r.value;return e}let g;function v(t){g=t}function E(t){(function(){if(!g)throw new Error("Function called outside component initialization");return g})().$$.on_mount.push(t)}const _=[],T=[],w=[],A=[],B=Promise.resolve();let H=!1;function
|
|
1
|
+
"use strict";function t(){}function e(t){return t()}function r(){return Object.create(null)}function n(t){t.forEach(e)}function i(t){return"function"==typeof t}function o(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function s(e,...r){if(null==e)return t;const n=e.subscribe(...r);return n.unsubscribe?()=>n.unsubscribe():n}function a(t,e){t.appendChild(e)}function u(t,e,r){t.insertBefore(e,r||null)}function h(t){t.parentNode.removeChild(t)}function l(t){return document.createElement(t)}function c(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function f(t){return document.createTextNode(t)}function p(){return f(" ")}function m(t,e,r){null==r?t.removeAttribute(e):t.getAttribute(e)!==r&&t.setAttribute(e,r)}function d(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function y(t,e,r){t.classList[r?"add":"remove"](e)}function b(t){const e={};for(const r of t)e[r.name]=r.value;return e}let g;function v(t){g=t}function E(t){(function(){if(!g)throw new Error("Function called outside component initialization");return g})().$$.on_mount.push(t)}const _=[],T=[],w=[],A=[],B=Promise.resolve();let H=!1;function L(t){w.push(t)}
|
|
2
2
|
// flush() calls callbacks in this order:
|
|
3
3
|
// 1. All beforeUpdate callbacks, in order: parents before children
|
|
4
4
|
// 2. All bind:this callbacks, in reverse order: children before parents.
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
// 3. During afterUpdate, any updated components will NOT have their afterUpdate
|
|
18
18
|
// callback called a second time; the seen_callbacks set, outside the flush()
|
|
19
19
|
// function, guarantees this behavior.
|
|
20
|
-
const
|
|
20
|
+
const S=new Set;let P=0;// Do *not* move this inside the flush() function
|
|
21
21
|
function O(){const t=g;do{
|
|
22
22
|
// first, call beforeUpdate functions
|
|
23
23
|
// and update components
|
|
@@ -25,15 +25,15 @@ for(;P<_.length;){const t=_[P];P++,v(t),I(t.$$)}for(v(null),_.length=0,P=0;T.len
|
|
|
25
25
|
// then, once components are updated, call
|
|
26
26
|
// afterUpdate functions. This may cause
|
|
27
27
|
// subsequent updates...
|
|
28
|
-
for(let t=0;t<w.length;t+=1){const e=w[t];
|
|
28
|
+
for(let t=0;t<w.length;t+=1){const e=w[t];S.has(e)||(
|
|
29
29
|
// ...so guard against infinite loops
|
|
30
|
-
|
|
30
|
+
S.add(e),e())}w.length=0}while(_.length);for(;A.length;)A.pop()();H=!1,S.clear(),v(t)}function I(t){if(null!==t.fragment){t.update(),n(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(L)}}const C=new Set;function R(t,e){-1===t.$$.dirty[0]&&(_.push(t),H||(H=!0,B.then(O)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function N(o,s,a,u,l,c,f,p=[-1]){const m=g;v(o);const d=o.$$={fragment:null,ctx:null,
|
|
31
31
|
// state
|
|
32
32
|
props:c,update:t,not_equal:l,bound:r(),
|
|
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:r(),dirty:p,skip_bound:!1,root:s.target||m.$$.root};f&&f(d.root);let y=!1;if(d.ctx=a?a(o,s.props||{},((t,e,...r)=>{const n=r.length?r[0]:e;return d.ctx&&l(d.ctx[t],d.ctx[t]=n)&&(!d.skip_bound&&d.bound[t]&&d.bound[t](n),y&&
|
|
36
|
+
callbacks:r(),dirty:p,skip_bound:!1,root:s.target||m.$$.root};f&&f(d.root);let y=!1;if(d.ctx=a?a(o,s.props||{},((t,e,...r)=>{const n=r.length?r[0]:e;return d.ctx&&l(d.ctx[t],d.ctx[t]=n)&&(!d.skip_bound&&d.bound[t]&&d.bound[t](n),y&&R(o,t)),e})):[],d.update(),y=!0,n(d.before_update),
|
|
37
37
|
// `false` as a special case of no DOM component
|
|
38
38
|
d.fragment=!!u&&u(d.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
|
|
@@ -41,10 +41,10 @@ d.fragment&&d.fragment.l(t),t.forEach(h)}else
|
|
|
41
41
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
42
42
|
d.fragment&&d.fragment.c();s.intro&&((b=o.$$.fragment)&&b.i&&(C.delete(b),b.i(E))),function(t,r,o,s){const{fragment:a,on_mount:u,on_destroy:h,after_update:l}=t.$$;a&&a.m(r,o),s||
|
|
43
43
|
// onMount happens before the initial afterUpdate
|
|
44
|
-
|
|
44
|
+
L((()=>{const r=u.map(e).filter(i);h?h.push(...r):
|
|
45
45
|
// Edge case - component was destroyed immediately,
|
|
46
46
|
// most likely as a result of a binding initialising
|
|
47
|
-
n(r),t.$$.on_mount=[]})),l.forEach(
|
|
47
|
+
n(r),t.$$.on_mount=[]})),l.forEach(L)}(o,s.target,s.anchor,s.customElement),O()}var b,E;v(m)}let M;"function"==typeof HTMLElement&&(M=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(e).filter(i);
|
|
48
48
|
// @ts-ignore todo: improve typings
|
|
49
49
|
for(const t in this.$$.slotted)
|
|
50
50
|
// @ts-ignore todo: improve typings
|
|
@@ -261,7 +261,7 @@ var Bt,Ht={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H
|
|
|
261
261
|
* of the given `locale` to the corresponding time pattern.
|
|
262
262
|
* @param locale
|
|
263
263
|
*/
|
|
264
|
-
function
|
|
264
|
+
function Lt(t){var e=t.hourCycle;if(void 0===e&&
|
|
265
265
|
// @ts-ignore hourCycle(s) is not identified yet
|
|
266
266
|
t.hourCycles&&
|
|
267
267
|
// @ts-ignore
|
|
@@ -269,10 +269,10 @@ t.hourCycles.length&&(
|
|
|
269
269
|
// @ts-ignore
|
|
270
270
|
e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}
|
|
271
271
|
// TODO: Once hourCycle is fully supported remove the following with data generation
|
|
272
|
-
var r,n=t.language;return"root"!==n&&(r=t.maximize().region),(Ht[r||""]||Ht[n||""]||Ht["".concat(n,"-001")]||Ht["001"])[0]}var
|
|
272
|
+
var r,n=t.language;return"root"!==n&&(r=t.maximize().region),(Ht[r||""]||Ht[n||""]||Ht["".concat(n,"-001")]||Ht["001"])[0]}var St=new RegExp("^".concat(ft.source,"*")),Pt=new RegExp("".concat(ft.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 It=!!String.prototype.startsWith,Ct=!!String.fromCodePoint,
|
|
275
|
+
var It=!!String.prototype.startsWith,Ct=!!String.fromCodePoint,Rt=!!Object.fromEntries,Nt=!!String.prototype.codePointAt,Mt=!!String.prototype.trimStart,Ut=!!String.prototype.trimEnd,xt=!!Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},Dt=!0;try{
|
|
276
276
|
/**
|
|
277
277
|
* legacy Edge or Xbox One browser
|
|
278
278
|
* Unicode flag support: supported
|
|
@@ -284,12 +284,12 @@ function(t,e,r){return t.startsWith(e,r)}:// For IE11
|
|
|
284
284
|
function(t,e,r){return t.slice(r,r+e.length)===e},$t=Ct?String.fromCodePoint:// IE11
|
|
285
285
|
function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r,n="",i=t.length,o=0;i>o;){if((r=t[o++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Ft=
|
|
286
286
|
// native
|
|
287
|
-
|
|
288
|
-
function(t){for(var e={},r=0,n=t;r<n.length;r++){var i=n[r],o=i[0],s=i[1];e[o]=s}return e},jt=
|
|
287
|
+
Rt?Object.fromEntries:// Ponyfill
|
|
288
|
+
function(t){for(var e={},r=0,n=t;r<n.length;r++){var i=n[r],o=i[0],s=i[1];e[o]=s}return e},jt=Nt?// Native
|
|
289
289
|
function(t,e){return t.codePointAt(e)}:// IE 11
|
|
290
290
|
function(t,e){var r=t.length;if(!(e<0||e>=r)){var n,i=t.charCodeAt(e);return i<55296||i>56319||e+1===r||(n=t.charCodeAt(e+1))<56320||n>57343?i:n-56320+(i-55296<<10)+65536}},Vt=Mt?// Native
|
|
291
291
|
function(t){return t.trimStart()}:// Ponyfill
|
|
292
|
-
function(t){return t.replace(
|
|
292
|
+
function(t){return t.replace(St,"")},zt=Ut?// Native
|
|
293
293
|
function(t){return t.trimEnd()}:// Ponyfill
|
|
294
294
|
function(t){return t.replace(Pt,"")};
|
|
295
295
|
// Prevent minifier to translate new RegExp to literal form that might cause syntax error on IE11.
|
|
@@ -384,7 +384,7 @@ var c=Vt(u.style.slice(2));if("number"===s)return(b=this.parseNumberSkeletonFrom
|
|
|
384
384
|
// Get "best match" pattern only if locale is passed, if not, let it
|
|
385
385
|
// pass as-is where `parseDateTimeSkeleton()` will throw an error
|
|
386
386
|
// for unsupported patterns.
|
|
387
|
-
this.locale&&(f=function(t,e){for(var r="",n=0;n<t.length;n++){var i=t.charAt(n);if("j"===i){for(var o=0;n+1<t.length&&t.charAt(n+1)===i;)o++,n++;var s=1+(1&o),a=o<2?1:3+(o>>1),u=
|
|
387
|
+
this.locale&&(f=function(t,e){for(var r="",n=0;n<t.length;n++){var i=t.charAt(n);if("j"===i){for(var o=0;n+1<t.length&&t.charAt(n+1)===i;)o++,n++;var s=1+(1&o),a=o<2?1:3+(o>>1),u=Lt(e);for("H"!=u&&"k"!=u||(a=0);a-- >0;)r+="a";for(;s-- >0;)r=u+r}else r+="J"===i?"H":i}return r}(c,this.locale));var p={type:J.dateTime,pattern:f,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?mt(f):{}};return{val:{type:"date"===s?q.date:q.time,value:r,location:l,style:p},err:null}}
|
|
388
388
|
// Regular style or no style.
|
|
389
389
|
return{val:{type:"number"===s?q.number:"date"===s?q.date:q.time,value:r,location:l,style:null!==(i=null==u?void 0:u.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":
|
|
390
390
|
// Parse this range:
|
|
@@ -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 Te={},we=(t,e,r)=>r?(e in Te||(Te[e]={}),t in Te[e]||(Te[e][t]=r),r):r,Ae=(t,e)=>{if(null==e)return;if(e in Te&&t in Te[e])return Te[e][t];const r=Fe(e);for(let n=0;n<r.length;n++){const i=
|
|
556
|
+
*/const Te={},we=(t,e,r)=>r?(e in Te||(Te[e]={}),t in Te[e]||(Te[e][t]=r),r):r,Ae=(t,e)=>{if(null==e)return;if(e in Te&&t in Te[e])return Te[e][t];const r=Fe(e);for(let n=0;n<r.length;n++){const i=Se(r[n],t);if(i)return we(t,e,i)}};let Be;const He=x({});function Le(t){return t in Be}function Se(t,e){if(!Le(t))return null;const r=function(t){return Be[t]||null}(t);return function(t,e){if(null==e)return;if(e in t)return t[e];const r=e.split(".");let n=t;for(let t=0;t<r.length;t++)if("object"==typeof n){if(t>0){const e=r.slice(t,r.length).join(".");if(e in n){n=n[e];break}}n=n[r[t]]}else n=void 0;return n}(r,e)}function Pe(t,...e){delete Te[t],He.update((r=>(r[t]=K.all([r[t]||{},...e]),r)))}D([He],(([t])=>Object.keys(t))),He.subscribe((t=>Be=t));const Oe={};function Ie(t){return Oe[t]}function Ce(t){return null!=t&&Fe(t).some((t=>{var e;return null===(e=Ie(t))||void 0===e?void 0:e.size}))}const Re={};function Ne(t){if(!Ce(t))return t in Re?Re[t]:Promise.resolve();const e=function(t){return Fe(t).map((t=>{const e=Ie(t);return[t,e?[...e]:[]]})).filter((([,t])=>t.length>0))}(t);return Re[t]=Promise.all(e.map((([t,e])=>function(t,e){const r=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 r.then((e=>Pe(t,...e)))}(t,e)))).then((()=>{if(Ce(t))return Ne(t);delete Re[t]})),Re[t]}
|
|
557
557
|
/*! *****************************************************************************
|
|
558
558
|
Copyright (c) Microsoft Corporation.
|
|
559
559
|
|
|
@@ -567,7 +567,7 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
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 Me(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]])}return r}const Ue={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 xe(){return Ue}const De=x(!1);let Ge;const ke=x(null);function $e(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function Fe(t,e=xe().fallbackLocale){const r=$e(t);return e?[...new Set([...r,...$e(e)])]:r}function je(){return null!=Ge?Ge:void 0}ke.subscribe((t=>{Ge=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const Ve=Object.assign(Object.assign({},ke),{set:t=>{if(t&&function(t){if(null==t)return;const e=Fe(t);for(let t=0;t<e.length;t++){const r=e[t];if(
|
|
570
|
+
***************************************************************************** */function Me(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]])}return r}const Ue={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 xe(){return Ue}const De=x(!1);let Ge;const ke=x(null);function $e(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function Fe(t,e=xe().fallbackLocale){const r=$e(t);return e?[...new Set([...r,...$e(e)])]:r}function je(){return null!=Ge?Ge:void 0}ke.subscribe((t=>{Ge=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const Ve=Object.assign(Object.assign({},ke),{set:t=>{if(t&&function(t){if(null==t)return;const e=Fe(t);for(let t=0;t<e.length;t++){const r=e[t];if(Le(r))return r}}(t)&&Ce(t)){const{loadingDelay:e}=xe();let r;return"undefined"!=typeof window&&null!=je()&&e?r=window.setTimeout((()=>De.set(!0)),e):De.set(!0),Ne(t).then((()=>{ke.set(t)})).finally((()=>{clearTimeout(r),De.set(!1)}))}return ke.set(t)}}),ze=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}},Xe=(t,e)=>{const{formats:r}=xe();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},Ke=ze((t=>{var{locale:e,format:r}=t,n=Me(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Xe("number",r)),new Intl.NumberFormat(e,n)})),Ye=ze((t=>{var{locale:e,format:r}=t,n=Me(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Xe("date",r):0===Object.keys(n).length&&(n=Xe("date","short")),new Intl.DateTimeFormat(e,n)})),We=ze((t=>{var{locale:e,format:r}=t,n=Me(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Xe("time",r):0===Object.keys(n).length&&(n=Xe("time","short")),new Intl.DateTimeFormat(e,n)})),Ze=ze(((t,e=je())=>new _e(t,e,xe().formats,{ignoreTag:xe().ignoreTag}))),qe=(t,e={})=>{var r,n,i,o;let s=e;"object"==typeof t&&(s=t,t=s.id);const{values:a,locale:u=je(),default:h}=s;if(null==u)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Ae(t,u);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!==(o=null!==(i=null===(n=(r=xe()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:u,id:t,defaultValue:h}))&&void 0!==i?i:h)&&void 0!==o?o:t;if(!a)return l;let c=l;try{c=Ze(l,u).format(a)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return c},Je=(t,e)=>((t={})=>{var{locale:e=je()}=t,r=Me(t,["locale"]);return We(Object.assign({locale:e},r))})(e).format(t),Qe=(t,e)=>((t={})=>{var{locale:e=je()}=t,r=Me(t,["locale"]);return Ye(Object.assign({locale:e},r))})(e).format(t),tr=(t,e)=>((t={})=>{var{locale:e=je()}=t,r=Me(t,["locale"]);return Ke(Object.assign({locale:e},r))})(e).format(t),er=(t,e=je())=>Ae(t,e),rr=D([Ve,He],(()=>qe));function nr(t,e){Pe(t,e)}D([Ve],(()=>Je)),D([Ve],(()=>Qe)),D([Ve],(()=>tr)),D([Ve,He],(()=>er));const ir={en:{history:{expandLimits:"LIMIT HISTORY",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",max:"Stake limit",wageringSports:"Stake Limit",loading:"Loading limits history...",error:"Something went wrong. Please try again.",limitRemoved:"Limit removed"}},de:{history:{expandLimits:"LIMIT-VERLAUF",daily:"pro Tag",weekly:"pro Woche",monthly:"pro Monat",loss:"Verlustlimit",deposit:"Einzahlungslimit",wagering:"Einsatzlimit",max:"Einsatzlimit",loading:"Lädt ...",error:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",limitRemoved:"Limit entfernt"}},hr:{history:{expandLimits:"POVIJEST OGRANIČENJA",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wagering:"Ograničenje uloga",max:"Ograničenje uloga",loading:"Učitavanje...",error:"Došlo je do pogreške. Molimo pokušajte ponovno.",limitRemoved:"Ograničenje uklonjeno"}},sl:{history:{expandLimits:"LIMIT ZGODOVINA",daily:"na dan",weekly:"na teden",monthly:"na mesec",loss:"Limit izgube",deposit:"Limit vplačila",wagering:"Limit na vložek",max:"Limit vložkov",loading:"Nalaga...",error:"Nekaj je šlo narobe. Prosim poskusite ponovno.",limitRemoved:"Limit odstranjen"}},pl:{history:{expandLimits:"HISTORIA LIMITU",daily:"na dzień",weekly:"na tydzień",monthly:"na miesiąc",loss:"Limit Strat",deposit:"Limit depozytów",wagering:"Limit Stawek",max:"Limit stawek",loading:"Ładowanie...",error:"Coś poszło nie tak. Proszę spróbuj ponownie.",limitRemoved:"Usunięty limit"}},zh:{history:{expandLimits:"极限历史",daily:"每天",weekly:"每个星期",monthly:"每月",loss:"损失限额",deposit:"存款限额",wagering:"投注限额",loading:"加载请稍候...",error:"500 - 服务器错误",limitRemoved:"移除限制"}},fr:{history:{expandLimits:"LIMITER L'HISTORIQUE",daily:"par jour",weekly:"par semaine",monthly:"par mois",loss:"Limite de perte",deposit:"Limite de dépôt",wagering:"Limite de mise",loading:"Chargement, veuillez patienter...",error:"500 - Erreur de serveur",limitRemoved:"Limite supprimée"}},ro:{history:{expandLimits:"ISTORIC LIMITE",daily:"pe zi",weekly:"pe saptamana",monthly:"pe luna",loss:"Limita de pierdere",deposit:"Limita de incarcare",loading:"Se incarca, va rugam asteptati...",error:"500 - Eroare de server",limitRemoved:"Limita eliminata"}},es:{history:{expandLimits:"HISTORIAL DE LÍMITES",daily:"por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdida",deposit:"Límite de depósito",wagering:"Límite de apuestas",max:"Límite de apuesta",loading:"Cargando historial de límites…",error:"Algo salió mal. Por favor inténtalo de nuevo.",limitRemoved:"Límite eliminado"}}};var or="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==or&&or,sr="URLSearchParams"in or,ar="Symbol"in or&&"iterator"in Symbol,ur="FileReader"in or&&"Blob"in or&&function(){try{return new Blob,!0}catch(t){return!1}}(),hr="FormData"in or,lr="ArrayBuffer"in or;if(lr)var cr=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],fr=ArrayBuffer.isView||function(t){return t&&cr.indexOf(Object.prototype.toString.call(t))>-1};function pr(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function mr(t){return"string"!=typeof t&&(t=String(t)),t}
|
|
571
571
|
// Build a destructive iterator for the value list
|
|
572
572
|
function dr(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return ar&&(e[Symbol.iterator]=function(){return e}),e}function yr(t){this.map={},t instanceof yr?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function br(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function gr(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function vr(t){var e=new FileReader,r=gr(e);return e.readAsArrayBuffer(t),r}function Er(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function _r(){return this.bodyUsed=!1,this._initBody=function(t){var e;
|
|
573
573
|
/*
|
|
@@ -588,13 +588,13 @@ yr.prototype.append=function(t,e){t=pr(t),e=mr(e);var r=this.map[t];this.map[t]=
|
|
|
588
588
|
// Search for a '_' parameter in the query string
|
|
589
589
|
var o=/([?&])_=[^&]*/;if(o.test(this.url))
|
|
590
590
|
// If it already exists then set the value with the current time
|
|
591
|
-
this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function Ar(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(i))}})),e}function Br(t,e){if(!(this instanceof Br))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new yr(e.headers),this.url=e.url||"",this._initBody(t)}wr.prototype.clone=function(){return new wr(this,{body:this._bodyInit})},_r.call(wr.prototype),_r.call(Br.prototype),Br.prototype.clone=function(){return new Br(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new yr(this.headers),url:this.url})},Br.error=function(){var t=new Br(null,{status:0,statusText:""});return t.type="error",t};var Hr=[301,302,303,307,308];Br.redirect=function(t,e){if(-1===Hr.indexOf(e))throw new RangeError("Invalid status code");return new Br(null,{status:e,headers:{location:t}})};var
|
|
591
|
+
this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function Ar(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(i))}})),e}function Br(t,e){if(!(this instanceof Br))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new yr(e.headers),this.url=e.url||"",this._initBody(t)}wr.prototype.clone=function(){return new wr(this,{body:this._bodyInit})},_r.call(wr.prototype),_r.call(Br.prototype),Br.prototype.clone=function(){return new Br(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new yr(this.headers),url:this.url})},Br.error=function(){var t=new Br(null,{status:0,statusText:""});return t.type="error",t};var Hr=[301,302,303,307,308];Br.redirect=function(t,e){if(-1===Hr.indexOf(e))throw new RangeError("Invalid status code");return new Br(null,{status:e,headers:{location:t}})};var Lr=or.DOMException;try{new Lr}catch(t){(Lr=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),Lr.prototype.constructor=Lr}function Sr(t,e){return new Promise((function(r,n){var i=new wr(t,e);if(i.signal&&i.signal.aborted)return n(new Lr("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}o.onload=function(){var t,e,n={status:o.status,statusText:o.statusText,headers:(t=o.getAllResponseHeaders()||"",e=new yr,
|
|
592
592
|
// Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill
|
|
593
593
|
// https://github.com/github/fetch/issues/748
|
|
594
594
|
// https://github.com/zloirock/core-js/issues/751
|
|
595
|
-
t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=t.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();e.append(n,i)}})),e)};n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;setTimeout((function(){r(new Br(i,n))}),0)},o.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.onabort=function(){setTimeout((function(){n(new
|
|
595
|
+
t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=t.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();e.append(n,i)}})),e)};n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;setTimeout((function(){r(new Br(i,n))}),0)},o.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.onabort=function(){setTimeout((function(){n(new Lr("Aborted","AbortError"))}),0)},o.open(i.method,function(t){try{return""===t&&or.location.href?or.location.href:t}catch(e){return t}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&(ur?o.responseType="blob":lr&&i.headers.get("Content-Type")&&-1!==i.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!e||"object"!=typeof e.headers||e.headers instanceof yr?i.headers.forEach((function(t,e){o.setRequestHeader(e,t)})):Object.getOwnPropertyNames(e.headers).forEach((function(t){o.setRequestHeader(t,mr(e.headers[t]))})),i.signal&&(i.signal.addEventListener("abort",s),o.onreadystatechange=function(){
|
|
596
596
|
// DONE (success or failure)
|
|
597
|
-
4===o.readyState&&i.signal.removeEventListener("abort",s)}),o.send(void 0===i._bodyInit?null:i._bodyInit)}))}
|
|
597
|
+
4===o.readyState&&i.signal.removeEventListener("abort",s)}),o.send(void 0===i._bodyInit?null:i._bodyInit)}))}Sr.polyfill=!0,or.fetch||(or.fetch=Sr,or.Headers=yr,or.Request=wr,or.Response=Br),
|
|
598
598
|
// the whatwg-fetch polyfill installs the fetch() function
|
|
599
599
|
// on the global object (window or self)
|
|
600
600
|
// Return that as the export for use in Webpack, Browserify etc.
|
|
@@ -614,7 +614,7 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
614
614
|
PERFORMANCE OF THIS SOFTWARE.
|
|
615
615
|
***************************************************************************** */
|
|
616
616
|
/* global Reflect, Promise */
|
|
617
|
-
var Pr=function(t,e){return Pr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},Pr(t,e)};function Or(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}Pr(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function Ir(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Cr(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}function Nr(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}function Rr(t){return"function"==typeof t}function Mr(t){var e=t((function(t){Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Ur=Mr((function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}}));function xr(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}var Dr=function(){function t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}var e;return t.prototype.unsubscribe=function(){var t,e,r,n,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Ir(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}else o.remove(this);var u=this.initialTeardown;if(Rr(u))try{u()}catch(t){i=t instanceof Ur?t.errors:[t]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var l=Ir(h),c=l.next();!c.done;c=l.next()){var f=c.value;try{$r(f)}catch(t){i=null!=i?i:[],t instanceof Ur?i=Nr(Nr([],Cr(i)),Cr(t.errors)):i.push(t)}}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}if(i)throw new Ur(i)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)$r(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(e)}},t.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},t.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},t.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&xr(e,t)},t.prototype.remove=function(e){var r=this._finalizers;r&&xr(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=((e=new t).closed=!0,e),t}(),Gr=Dr.EMPTY;function kr(t){return t instanceof Dr||t&&"closed"in t&&Rr(t.remove)&&Rr(t.add)&&Rr(t.unsubscribe)}function $r(t){Rr(t)?t():t.unsubscribe()}var Fr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},jr={setTimeout:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=jr.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,Nr([t,e],Cr(r))):setTimeout.apply(void 0,Nr([t,e],Cr(r)))},clearTimeout:function(t){var e=jr.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function Vr(){}var zr=null;function Xr(t){if(Fr.useDeprecatedSynchronousErrorHandling){var e=!zr;if(e&&(zr={errorThrown:!1,error:null}),t(),e){var r=zr,n=r.errorThrown,i=r.error;if(zr=null,n)throw i}}else t()}var Kr=function(t){function e(e){var r=t.call(this)||this;return r.isStopped=!1,e?(r.destination=e,kr(e)&&e.add(r)):r.destination=Qr,r}return Or(e,t),e.create=function(t,e,r){return new qr(t,e,r)},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(Dr),Yr=Function.prototype.bind;function Wr(t,e){return Yr.call(t,e)}var Zr=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(t){Jr(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){Jr(t)}else Jr(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){Jr(t)}},t}(),qr=function(t){function e(e,r,n){var i,o,s=t.call(this)||this;Rr(e)||!e?i={next:null!=e?e:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:s&&Fr.useDeprecatedNextContext?((o=Object.create(e)).unsubscribe=function(){return s.unsubscribe()},i={next:e.next&&Wr(e.next,o),error:e.error&&Wr(e.error,o),complete:e.complete&&Wr(e.complete,o)}):i=e;return s.destination=new Zr(i),s}return Or(e,t),e}(Kr);function Jr(t){var e;e=t,jr.setTimeout((function(){throw e}))}var Qr={closed:!0,next:Vr,error:function(t){throw t},complete:Vr},tn="function"==typeof Symbol&&Symbol.observable||"@@observable";function en(t){return t}function rn(t){return 0===t.length?en:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}var nn=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n,i=this,o=(n=t)&&n instanceof Kr||function(t){return t&&Rr(t.next)&&Rr(t.error)&&Rr(t.complete)}(n)&&kr(n)?t:new qr(t,e,r);return Xr((function(){var t=i,e=t.operator,r=t.source;o.add(e?e.call(o,r):r?i._subscribe(o):i._trySubscribe(o))})),o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},t.prototype.forEach=function(t,e){var r=this;return new(e=on(e))((function(e,n){var i=new qr({next:function(e){try{t(e)}catch(t){n(t),i.unsubscribe()}},error:n,complete:e});r.subscribe(i)}))},t.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},t.prototype[tn]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return rn(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=on(t))((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))},t.create=function(e){return new t(e)},t}();function on(t){var e;return null!==(e=null!=t?t:Fr.Promise)&&void 0!==e?e:Promise}var sn=Mr((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),an=function(t){function e(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Or(e,t),e.prototype.lift=function(t){var e=new un(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new sn},e.prototype.next=function(t){var e=this;Xr((function(){var r,n;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var i=Ir(e.currentObservers),o=i.next();!o.done;o=i.next()){o.value.next(t)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}}))},e.prototype.error=function(t){var e=this;Xr((function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=t;for(var r=e.observers;r.length;)r.shift().error(t)}}))},e.prototype.complete=function(){var t=this;Xr((function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}}))},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,r=this,n=r.hasError,i=r.isStopped,o=r.observers;return n||i?Gr:(this.currentObservers=null,o.push(t),new Dr((function(){e.currentObservers=null,xr(o,t)})))},e.prototype._checkFinalizedStatuses=function(t){var e=this,r=e.hasError,n=e.thrownError,i=e.isStopped;r?t.error(n):i&&t.complete()},e.prototype.asObservable=function(){var t=new nn;return t.source=this,t},e.create=function(t,e){return new un(t,e)},e}(nn),un=function(t){function e(e,r){var n=t.call(this)||this;return n.destination=e,n.source=r,n}return Or(e,t),e.prototype.next=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)},e.prototype.error=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,r;return null!==(r=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==r?r:Gr},e}(an),hn={now:function(){return(hn.delegate||Date).now()},delegate:void 0},ln=function(t){function e(e,r,n){void 0===e&&(e=1/0),void 0===r&&(r=1/0),void 0===n&&(n=hn);var i=t.call(this)||this;return i._bufferSize=e,i._windowTime=r,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,r),i}return Or(e,t),e.prototype.next=function(e){var r=this,n=r.isStopped,i=r._buffer,o=r._infiniteTimeWindow,s=r._timestampProvider,a=r._windowTime;n||(i.push(e),!o&&i.push(s.now()+a)),this._trimBuffer(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),r=this._infiniteTimeWindow,n=this._buffer.slice(),i=0;i<n.length&&!t.closed;i+=r?1:2)t.next(n[i]);return this._checkFinalizedStatuses(t),e},e.prototype._trimBuffer=function(){var t=this,e=t._bufferSize,r=t._timestampProvider,n=t._buffer,i=t._infiniteTimeWindow,o=(i?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!i){for(var s=r.now(),a=0,u=1;u<n.length&&n[u]<=s;u+=2)a=u;a&&n.splice(0,a+1)}},e}(an);let cn=[],fn={};window.emWidgets={topic:(t,e=0)=>{if(-1==cn.indexOf(t)){let r=new ln(e);fn[t]=r,cn.push(t)}return fn[t]}};
|
|
617
|
+
var Pr=function(t,e){return Pr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},Pr(t,e)};function Or(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}Pr(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function Ir(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Cr(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}function Rr(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}function Nr(t){return"function"==typeof t}function Mr(t){var e=t((function(t){Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Ur=Mr((function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}}));function xr(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}var Dr=function(){function t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}var e;return t.prototype.unsubscribe=function(){var t,e,r,n,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Ir(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}else o.remove(this);var u=this.initialTeardown;if(Nr(u))try{u()}catch(t){i=t instanceof Ur?t.errors:[t]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var l=Ir(h),c=l.next();!c.done;c=l.next()){var f=c.value;try{$r(f)}catch(t){i=null!=i?i:[],t instanceof Ur?i=Rr(Rr([],Cr(i)),Cr(t.errors)):i.push(t)}}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}if(i)throw new Ur(i)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)$r(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(e)}},t.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},t.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},t.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&xr(e,t)},t.prototype.remove=function(e){var r=this._finalizers;r&&xr(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=((e=new t).closed=!0,e),t}(),Gr=Dr.EMPTY;function kr(t){return t instanceof Dr||t&&"closed"in t&&Nr(t.remove)&&Nr(t.add)&&Nr(t.unsubscribe)}function $r(t){Nr(t)?t():t.unsubscribe()}var Fr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},jr={setTimeout:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=jr.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,Rr([t,e],Cr(r))):setTimeout.apply(void 0,Rr([t,e],Cr(r)))},clearTimeout:function(t){var e=jr.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function Vr(){}var zr=null;function Xr(t){if(Fr.useDeprecatedSynchronousErrorHandling){var e=!zr;if(e&&(zr={errorThrown:!1,error:null}),t(),e){var r=zr,n=r.errorThrown,i=r.error;if(zr=null,n)throw i}}else t()}var Kr=function(t){function e(e){var r=t.call(this)||this;return r.isStopped=!1,e?(r.destination=e,kr(e)&&e.add(r)):r.destination=Qr,r}return Or(e,t),e.create=function(t,e,r){return new qr(t,e,r)},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(Dr),Yr=Function.prototype.bind;function Wr(t,e){return Yr.call(t,e)}var Zr=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(t){Jr(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){Jr(t)}else Jr(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){Jr(t)}},t}(),qr=function(t){function e(e,r,n){var i,o,s=t.call(this)||this;Nr(e)||!e?i={next:null!=e?e:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:s&&Fr.useDeprecatedNextContext?((o=Object.create(e)).unsubscribe=function(){return s.unsubscribe()},i={next:e.next&&Wr(e.next,o),error:e.error&&Wr(e.error,o),complete:e.complete&&Wr(e.complete,o)}):i=e;return s.destination=new Zr(i),s}return Or(e,t),e}(Kr);function Jr(t){var e;e=t,jr.setTimeout((function(){throw e}))}var Qr={closed:!0,next:Vr,error:function(t){throw t},complete:Vr},tn="function"==typeof Symbol&&Symbol.observable||"@@observable";function en(t){return t}function rn(t){return 0===t.length?en:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}var nn=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n,i=this,o=(n=t)&&n instanceof Kr||function(t){return t&&Nr(t.next)&&Nr(t.error)&&Nr(t.complete)}(n)&&kr(n)?t:new qr(t,e,r);return Xr((function(){var t=i,e=t.operator,r=t.source;o.add(e?e.call(o,r):r?i._subscribe(o):i._trySubscribe(o))})),o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},t.prototype.forEach=function(t,e){var r=this;return new(e=on(e))((function(e,n){var i=new qr({next:function(e){try{t(e)}catch(t){n(t),i.unsubscribe()}},error:n,complete:e});r.subscribe(i)}))},t.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},t.prototype[tn]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return rn(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=on(t))((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))},t.create=function(e){return new t(e)},t}();function on(t){var e;return null!==(e=null!=t?t:Fr.Promise)&&void 0!==e?e:Promise}var sn=Mr((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),an=function(t){function e(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Or(e,t),e.prototype.lift=function(t){var e=new un(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new sn},e.prototype.next=function(t){var e=this;Xr((function(){var r,n;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var i=Ir(e.currentObservers),o=i.next();!o.done;o=i.next()){o.value.next(t)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}}))},e.prototype.error=function(t){var e=this;Xr((function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=t;for(var r=e.observers;r.length;)r.shift().error(t)}}))},e.prototype.complete=function(){var t=this;Xr((function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}}))},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,r=this,n=r.hasError,i=r.isStopped,o=r.observers;return n||i?Gr:(this.currentObservers=null,o.push(t),new Dr((function(){e.currentObservers=null,xr(o,t)})))},e.prototype._checkFinalizedStatuses=function(t){var e=this,r=e.hasError,n=e.thrownError,i=e.isStopped;r?t.error(n):i&&t.complete()},e.prototype.asObservable=function(){var t=new nn;return t.source=this,t},e.create=function(t,e){return new un(t,e)},e}(nn),un=function(t){function e(e,r){var n=t.call(this)||this;return n.destination=e,n.source=r,n}return Or(e,t),e.prototype.next=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)},e.prototype.error=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,r;return null!==(r=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==r?r:Gr},e}(an),hn={now:function(){return(hn.delegate||Date).now()},delegate:void 0},ln=function(t){function e(e,r,n){void 0===e&&(e=1/0),void 0===r&&(r=1/0),void 0===n&&(n=hn);var i=t.call(this)||this;return i._bufferSize=e,i._windowTime=r,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,r),i}return Or(e,t),e.prototype.next=function(e){var r=this,n=r.isStopped,i=r._buffer,o=r._infiniteTimeWindow,s=r._timestampProvider,a=r._windowTime;n||(i.push(e),!o&&i.push(s.now()+a)),this._trimBuffer(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),r=this._infiniteTimeWindow,n=this._buffer.slice(),i=0;i<n.length&&!t.closed;i+=r?1:2)t.next(n[i]);return this._checkFinalizedStatuses(t),e},e.prototype._trimBuffer=function(){var t=this,e=t._bufferSize,r=t._timestampProvider,n=t._buffer,i=t._infiniteTimeWindow,o=(i?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!i){for(var s=r.now(),a=0,u=1;u<n.length&&n[u]<=s;u+=2)a=u;a&&n.splice(0,a+1)}},e}(an);let cn=[],fn={};window.emWidgets={topic:(t,e=0)=>{if(-1==cn.indexOf(t)){let r=new ln(e);fn[t]=r,cn.push(t)}return fn[t]}};
|
|
618
618
|
/* src/PlayerAccountGamingLimitsHistory_2.svelte generated by Svelte v3.48.0 */
|
|
619
619
|
function pn(t,e,r){const n=t.slice();return n[34]=e[r],n[35]=e,n[36]=r,n}
|
|
620
620
|
// (163:2) {:else}
|
|
@@ -632,7 +632,7 @@ function vn(t){let e,r,n,i=/*index*/t[36];function o(t,e){/*history*/
|
|
|
632
632
|
return t[34].removed?gn:bn}let s=o(t),c=s(t);const f=()=>/*div_binding*/t[19](e,i),d=()=>/*div_binding*/t[19](null,i);return{c(){e=l("div"),c.c(),r=p(),m(e,"class",n=/*index*/t[36]>+/*numberofentries*/t[1]?"LimitContainer":"")},m(t,n){u(t,e,n),c.m(e,null),a(e,r),f()},p(a,u){s===(s=o(t=a))&&c?c.p(t,u):(c.d(1),c=s(t),c&&(c.c(),c.m(e,r))),/*numberofentries*/2&u[0]&&n!==(n=/*index*/t[36]>+/*numberofentries*/t[1]?"LimitContainer":"")&&m(e,"class",n),i!==/*index*/t[36]&&(d(),i=/*index*/t[36],f())},d(t){t&&h(e),c.d(),d()}}}function En(e){let r;function n(t,e){/*hasErrors*/
|
|
633
633
|
return t[6]?yn:/*isLoading*/t[4]?dn:mn}let i=n(e),o=i(e);return{c(){r=l("div"),o.c(),this.c=t},m(t,n){u(t,r,n),o.m(r,null),
|
|
634
634
|
/*div_binding_1*/e[20](r)},p(t,e){i===(i=n(t))&&o?o.p(t,e):(o.d(1),o=i(t),o&&(o.c(),o.m(r,null)))},i:t,o:t,d(t){t&&h(r),o.d(),
|
|
635
|
-
/*div_binding_1*/e[20](null)}}}function _n(t,e,r){let n;var i,o;i=rr,o=t=>r(9,n=t),t.$$.on_destroy.push(s(i,o));let a,u=!(t=>!!(t.toLowerCase().match(/android/i)||t.toLowerCase().match(/blackberry|bb/i)||t.toLowerCase().match(/iphone|ipad|ipod/i)||t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)))(window.navigator.userAgent),{lang:h=""}=e,{userid:l=""}=e,{session:c=""}=e,{endpoint:f=""}=e,{apiversion:p=""}=e,{numberofentries:m="10"}=e,{clientstyling:d=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,g=new Array,v=parseInt(m,10),_=!1,w=!0,A=[],B=[],H=!0,
|
|
635
|
+
/*div_binding_1*/e[20](null)}}}function _n(t,e,r){let n;var i,o;i=rr,o=t=>r(9,n=t),t.$$.on_destroy.push(s(i,o));let a,u=!(t=>!!(t.toLowerCase().match(/android/i)||t.toLowerCase().match(/blackberry|bb/i)||t.toLowerCase().match(/iphone|ipad|ipod/i)||t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)))(window.navigator.userAgent),{lang:h=""}=e,{userid:l=""}=e,{session:c=""}=e,{endpoint:f=""}=e,{apiversion:p=""}=e,{numberofentries:m="10"}=e,{clientstyling:d=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,g=new Array,v=parseInt(m,10),_=!1,w=!0,A=[],B=[],H=!0,L=!1,S={EUR:"€",RON:"lei"};Object.keys(ir).forEach((t=>{nr(t,ir[t])}));const P=t=>{const e=!!ir[h];return t.map((t=>{let r={amount:"",currency:"",date:"",period:"",type:"",removed:!1};return r.amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(t.limitAmount),r.currency=e?S[t.limitCurrencyCode]:t.limitCurrencyCode,r.date=new Intl.DateTimeFormat("de",{dateStyle:"medium"}).format(new Date(t.limitDate)),r.period=n(`history.${t.limitPeriod.toLowerCase()}`),r.type=-1===n(`history.${t.limitType.split(" ")[0].toLowerCase()}${t.limitProductType}`).indexOf(".")?n(`history.${t.limitType.split(" ")[0].toLowerCase()}${t.limitProductType}`):n(`history.${t.limitType.split(" ")[0].toLowerCase()}`),r.removed=-1===t.limitAmount,r}))};
|
|
636
636
|
// IntersectionObserver used for showing more limit entries, keep in mind that the API is extremely slow: 3s
|
|
637
637
|
let O=new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&(v+=parseInt(m,10)||10,B.length<A.length&&r(7,B=A.slice(0,v)))}))}));const I=()=>{var t;t=h,Ve.set(t)};return E((()=>()=>{O.unobserve(g[g.length-1])})),t.$$set=t=>{"lang"in t&&r(0,h=t.lang),"userid"in t&&r(12,l=t.userid),"session"in t&&r(13,c=t.session),"endpoint"in t&&r(14,f=t.endpoint),"apiversion"in t&&r(15,p=t.apiversion),"numberofentries"in t&&r(1,m=t.numberofentries),"clientstyling"in t&&r(16,d=t.clientstyling),"clientstylingurl"in t&&r(17,y=t.clientstylingurl),"translationurl"in t&&r(18,b=t.translationurl)},t.$$.update=()=>{/*endpoint, userid, session, apiversion*/61440&t.$$.dirty[0]&&f&&l&&c&&p&&(()=>{let t=new URL("gmcore"===p?`v2/player/${l}/transactions/limit`:`v1/player/${l}/limits/monetary/history`,f);
|
|
638
638
|
// hardcoded values because there's no date filtering requirement for the widget. However, the API requires these values
|
|
@@ -640,5 +640,5 @@ t.searchParams.append("startDate",`${new Date("2022").toISOString()}`),t.searchP
|
|
|
640
640
|
// API is slow and so this is the only viable way for UX purposes, for now
|
|
641
641
|
r(7,B=A.slice(0,v))),r(4,w=!1)}),(t=>{console.error("There was an error",t),r(6,_=!0)}))})(),/*limitContainer, isLoading, hidden*/56&t.$$.dirty[0]&&
|
|
642
642
|
//setup observer only after there is a limit element in the limits array
|
|
643
|
-
g[0]&&!w&&!H&&O.observe(g[g.length-1]),/*lang*/1&t.$$.dirty[0]&&h&&I(),/*clientstylingurl*/131072&t.$$.dirty[0]&&y&&(()=>{let t=new URL(y),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,a&&(setTimeout((()=>{a.appendChild(e)}),1),setTimeout((()=>{}),500))}))})(),/*clientstyling, customStylingContainer*/65540&t.$$.dirty[0]&&d&&a&&(()=>{let t=document.createElement("style");t.innerHTML=d,a.appendChild(t)})(),/*translationurl, customStylingContainer*/262148&t.$$.dirty[0]&&b&&a&&fetch(b).then((t=>t.json())).then((t=>{Object.keys(t).forEach((e=>{nr(e,t[e])}))})).catch((t=>{console.log(t)}))},[h,m,a,g,w,H,_,B,
|
|
643
|
+
g[0]&&!w&&!H&&O.observe(g[g.length-1]),/*lang*/1&t.$$.dirty[0]&&h&&I(),/*clientstylingurl*/131072&t.$$.dirty[0]&&y&&(()=>{let t=new URL(y),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,a&&(setTimeout((()=>{a.appendChild(e)}),1),setTimeout((()=>{}),500))}))})(),/*clientstyling, customStylingContainer*/65540&t.$$.dirty[0]&&d&&a&&(()=>{let t=document.createElement("style");t.innerHTML=d,a.appendChild(t)})(),/*translationurl, customStylingContainer*/262148&t.$$.dirty[0]&&b&&a&&fetch(b).then((t=>t.json())).then((t=>{Object.keys(t).forEach((e=>{nr(e,t[e])}))})).catch((t=>{console.log(t)}))},[h,m,a,g,w,H,_,B,L,n,u,()=>{r(5,H=!H),r(8,L=!L)},l,c,f,p,d,y,b,function(t,e){T[t?"unshift":"push"]((()=>{g[e]=t,r(3,g)}))},function(t){T[t?"unshift":"push"]((()=>{a=t,r(2,a)}))}]}class Tn extends M{constructor(t){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{color:#555;margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2{color:var(--emfe-w-color-white, #FFFFFF)}button{font-size:1rem;border:0;padding:0}.ExpandButton{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.extended{transform:rotate(180deg)}.HistoryWrapper{display:flex;flex-direction:column}.HistoryWrapper.Desktop{width:320px;padding:0 12px;margin:12px auto}.hidden{display:none}.HistoryRow{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:#ccc 1px solid}.GeneralLimitInformation{display:flex;flex-direction:column;gap:4px}.LimitType{font-size:1.3rem}.LimitAmountPeriod{color:#999}.LimitContainer{animation:animateEntry 0.7s ease-in}@keyframes animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}</style>',N(this,{target:this.shadowRoot,props:b(this.attributes),customElement:!0},_n,En,o,{lang:0,userid:12,session:13,endpoint:14,apiversion:15,numberofentries:1,clientstyling:16,clientstylingurl:17,translationurl:18},null,[-1,-1]),t&&(t.target&&u(t.target,this,t.anchor),t.props&&(this.$set(t.props),O()))}static get observedAttributes(){return["lang","userid","session","endpoint","apiversion","numberofentries","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),O()}get userid(){return this.$$.ctx[12]}set userid(t){this.$$set({userid:t}),O()}get session(){return this.$$.ctx[13]}set session(t){this.$$set({session:t}),O()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),O()}get apiversion(){return this.$$.ctx[15]}set apiversion(t){this.$$set({apiversion:t}),O()}get numberofentries(){return this.$$.ctx[1]}set numberofentries(t){this.$$set({numberofentries:t}),O()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(t){this.$$set({clientstyling:t}),O()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),O()}get translationurl(){return this.$$.ctx[18]}set translationurl(t){this.$$set({translationurl:t}),O()}}!customElements.get("player-account-gaming-limits-history-2")&&customElements.define("player-account-gaming-limits-history-2",Tn),module.exports=Tn;
|
|
644
644
|
//# sourceMappingURL=player-account-gaming-limits-history-2.js.map
|