@everymatrix/player-account-gaming-limits-wrapper-2 1.36.0 → 1.36.1
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,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function i(){return Object.create(null)}function n(e){e.forEach(t)}function r(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function s(t,...i){if(null==t)return e;const n=t.subscribe(...i);return n.unsubscribe?()=>n.unsubscribe():n}function a(e,t,i){e.$$.on_destroy.push(s(t,i))}const l="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function u(e,t){e.appendChild(t)}function c(e,t,i){e.insertBefore(t,i||null)}function p(e){e.parentNode&&e.parentNode.removeChild(e)}function m(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function d(e){return document.createElement(e)}function h(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function f(e){return document.createTextNode(e)}function y(){return f(" ")}function g(){return f("")}function v(e,t,i,n){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i,n)}function b(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function L(e,t,i){t in e?e[t]="boolean"==typeof e[t]&&""===i||i:b(e,t,i)}function w(e){return""===e?null:+e}function T(e,t){t=""+t,e.data!==t&&(e.data=t)}function E(e,t){e.value=null==t?"":t}function S(e,t,i,n){null==i?e.style.removeProperty(t):e.style.setProperty(t,i,n?"important":"")}function x(e,t,i){for(let i=0;i<e.options.length;i+=1){const n=e.options[i];if(n.__value===t)return void(n.selected=!0)}i&&void 0===t||(e.selectedIndex=-1)}function A(e){const t=e.querySelector(":checked");return t&&t.__value}function P(e,t,i){e.classList[i?"add":"remove"](t)}function _(e){const t={};for(const i of e)t[i.name]=i.value;return t}let k;function C(e){k=e}function B(e){(function(){if(!k)throw new Error("Function called outside component initialization");return k})().$$.on_mount.push(e)}const D=[],I=[];let $=[];const M=[],O=Promise.resolve();let j=!1;function H(e){$.push(e)}const N=new Set;let R=0;function U(){if(0!==R)return;const e=k;do{try{for(;R<D.length;){const e=D[R];R++,C(e),F(e.$$)}}catch(e){throw D.length=0,R=0,e}for(C(null),D.length=0,R=0;I.length;)I.pop()();for(let e=0;e<$.length;e+=1){const t=$[e];N.has(t)||(N.add(t),t())}$.length=0}while(D.length);for(;M.length;)M.pop()();j=!1,N.clear(),C(e)}function F(e){if(null!==e.fragment){e.update(),n(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(H)}}const z=new Set;function G(e,t){const i=e.$$;null!==i.fragment&&(!function(e){const t=[],i=[];$.forEach((n=>-1===e.indexOf(n)?t.push(n):i.push(n))),i.forEach((e=>e())),$=t}(i.after_update),n(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}function V(e,t){-1===e.$$.dirty[0]&&(D.push(e),j||(j=!0,O.then(U)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function W(o,s,a,l,u,c,m,d=[-1]){const h=k;C(o);const f=o.$$={fragment:null,ctx:[],props:c,update:e,not_equal:u,bound:i(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(h?h.$$.context:[])),callbacks:i(),dirty:d,skip_bound:!1,root:s.target||h.$$.root};m&&m(f.root);let y=!1;if(f.ctx=a?a(o,s.props||{},((e,t,...i)=>{const n=i.length?i[0]:t;return f.ctx&&u(f.ctx[e],f.ctx[e]=n)&&(!f.skip_bound&&f.bound[e]&&f.bound[e](n),y&&V(o,e)),t})):[],f.update(),y=!0,n(f.before_update),f.fragment=!!l&&l(f.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);f.fragment&&f.fragment.l(e),e.forEach(p)}else f.fragment&&f.fragment.c();s.intro&&((g=o.$$.fragment)&&g.i&&(z.delete(g),g.i(v))),function(e,i,o,s){const{fragment:a,after_update:l}=e.$$;a&&a.m(i,o),s||H((()=>{const i=e.$$.on_mount.map(t).filter(r);e.$$.on_destroy?e.$$.on_destroy.push(...i):n(i),e.$$.on_mount=[]})),l.forEach(H)}(o,s.target,s.anchor,s.customElement),U()}var g,v;C(h)}let q;"function"==typeof HTMLElement&&(q=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(r);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,i){this[e]=i}disconnectedCallback(){n(this.$$.on_disconnect)}$destroy(){G(this,1),this.$destroy=e}$on(t,i){if(!r(i))return e;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(i),()=>{const e=n.indexOf(i);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var K="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},X="URLSearchParams"in K,Y="Symbol"in K&&"iterator"in Symbol,Z="FileReader"in K&&"Blob"in K&&function(){try{return new Blob,!0}catch(e){return!1}}(),J="FormData"in K,Q="ArrayBuffer"in K;if(Q)var ee=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],te=ArrayBuffer.isView||function(e){return e&&ee.indexOf(Object.prototype.toString.call(e))>-1};function ie(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function ne(e){return"string"!=typeof e&&(e=String(e)),e}function re(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return Y&&(t[Symbol.iterator]=function(){return t}),t}function oe(e){this.map={},e instanceof oe?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function se(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function ae(e){return new Promise((function(t,i){e.onload=function(){t(e.result)},e.onerror=function(){i(e.error)}}))}function le(e){var t=new FileReader,i=ae(t);return t.readAsArrayBuffer(e),i}function ue(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function ce(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:Z&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:J&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:X&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Q&&Z&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=ue(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Q&&(ArrayBuffer.prototype.isPrototypeOf(e)||te(e))?this._bodyArrayBuffer=ue(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):X&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Z&&(this.blob=function(){var e=se(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=se(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(Z)return this.blob().then(le);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,i,n,r,o=se(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,i=ae(t),n=/charset=([A-Za-z0-9_-]+)/.exec(e.type),r=n?n[1]:"utf-8",t.readAsText(e,r),i;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),i=new Array(t.length),n=0;n<t.length;n++)i[n]=String.fromCharCode(t[n]);return i.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},J&&(this.formData=function(){return this.text().then(de)}),this.json=function(){return this.text().then(JSON.parse)},this}oe.prototype.append=function(e,t){e=ie(e),t=ne(t);var i=this.map[e];this.map[e]=i?i+", "+t:t},oe.prototype.delete=function(e){delete this.map[ie(e)]},oe.prototype.get=function(e){return e=ie(e),this.has(e)?this.map[e]:null},oe.prototype.has=function(e){return this.map.hasOwnProperty(ie(e))},oe.prototype.set=function(e,t){this.map[ie(e)]=ne(t)},oe.prototype.forEach=function(e,t){for(var i in this.map)this.map.hasOwnProperty(i)&&e.call(t,this.map[i],i,this)},oe.prototype.keys=function(){var e=[];return this.forEach((function(t,i){e.push(i)})),re(e)},oe.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),re(e)},oe.prototype.entries=function(){var e=[];return this.forEach((function(t,i){e.push([i,t])})),re(e)},Y&&(oe.prototype[Symbol.iterator]=oe.prototype.entries);var pe=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function me(e,t){if(!(this instanceof me))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var i,n,r=(t=t||{}).body;if(e instanceof me){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new oe(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new oe(t.headers)),this.method=(i=t.method||this.method||"GET",n=i.toUpperCase(),pe.indexOf(n)>-1?n:i),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in K)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function de(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var i=e.split("="),n=i.shift().replace(/\+/g," "),r=i.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(r))}})),t}function he(e,t){if(!(this instanceof he))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new oe(t.headers),this.url=t.url||"",this._initBody(e)}me.prototype.clone=function(){return new me(this,{body:this._bodyInit})},ce.call(me.prototype),ce.call(he.prototype),he.prototype.clone=function(){return new he(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new oe(this.headers),url:this.url})},he.error=function(){var e=new he(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var fe=[301,302,303,307,308];he.redirect=function(e,t){if(-1===fe.indexOf(t))throw new RangeError("Invalid status code");return new he(null,{status:t,headers:{location:e}})};var ye=K.DOMException;try{new ye}catch(e){(ye=function(e,t){this.message=e,this.name=t;var i=Error(e);this.stack=i.stack}).prototype=Object.create(Error.prototype),ye.prototype.constructor=ye}function ge(e,t){return new Promise((function(i,n){var r=new me(e,t);if(r.signal&&r.signal.aborted)return n(new ye("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}if(o.onload=function(){var e,t,n={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new oe,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var i=e.split(":"),n=i.shift().trim();if(n){var r=i.join(":").trim();try{t.append(n,r)}catch(e){console.warn("Response "+e.message)}}})),t)};r.url.startsWith("file://")&&(o.status<200||o.status>599)?n.status=200:n.status=o.status,n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var s="response"in o?o.response:o.responseText;setTimeout((function(){i(new he(s,n))}),0)},o.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request timed out"))}),0)},o.onabort=function(){setTimeout((function(){n(new ye("Aborted","AbortError"))}),0)},o.open(r.method,function(e){try{return""===e&&K.location.href?K.location.href:e}catch(t){return e}}(r.url),!0),"include"===r.credentials?o.withCredentials=!0:"omit"===r.credentials&&(o.withCredentials=!1),"responseType"in o&&(Z?o.responseType="blob":Q&&(o.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof oe||K.Headers&&t.headers instanceof K.Headers)){var a=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){a.push(ie(e)),o.setRequestHeader(e,ne(t.headers[e]))})),r.headers.forEach((function(e,t){-1===a.indexOf(t)&&o.setRequestHeader(t,e)}))}else r.headers.forEach((function(e,t){o.setRequestHeader(t,e)}));r.signal&&(r.signal.addEventListener("abort",s),o.onreadystatechange=function(){4===o.readyState&&r.signal.removeEventListener("abort",s)}),o.send(void 0===r._bodyInit?null:r._bodyInit)}))}ge.polyfill=!0,K.fetch||(K.fetch=ge,K.Headers=oe,K.Request=me,K.Response=he),self.fetch.bind(self);var ve=function(e,t){return ve=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},ve(e,t)};function be(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}ve(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}function Le(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function we(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var n,r,o=i.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){r={error:e}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return s}function Te(e,t,i){if(i||2===arguments.length)for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}function Ee(e){return"function"==typeof e}function Se(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var xe=Se((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function Ae(e,t){if(e){var i=e.indexOf(t);0<=i&&e.splice(i,1)}}var Pe=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,i,n,r;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Le(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);var l=this.initialTeardown;if(Ee(l))try{l()}catch(e){r=e instanceof xe?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=Le(u),p=c.next();!p.done;p=c.next()){var m=p.value;try{Ce(m)}catch(e){r=null!=r?r:[],e instanceof xe?r=Te(Te([],we(r)),we(e.errors)):r.push(e)}}}catch(e){i={error:e}}finally{try{p&&!p.done&&(n=c.return)&&n.call(c)}finally{if(i)throw i.error}}}if(r)throw new xe(r)}},e.prototype.add=function(t){var i;if(t&&t!==this)if(this.closed)Ce(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(i=this._finalizers)&&void 0!==i?i:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ae(t,e)},e.prototype.remove=function(t){var i=this._finalizers;i&&Ae(i,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),_e=Pe.EMPTY;function ke(e){return e instanceof Pe||e&&"closed"in e&&Ee(e.remove)&&Ee(e.add)&&Ee(e.unsubscribe)}function Ce(e){Ee(e)?e():e.unsubscribe()}var Be={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},De={setTimeout:function(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];var r=De.delegate;return(null==r?void 0:r.setTimeout)?r.setTimeout.apply(r,Te([e,t],we(i))):setTimeout.apply(void 0,Te([e,t],we(i)))},clearTimeout:function(e){var t=De.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ie(){}var $e=null;function Me(e){if(Be.useDeprecatedSynchronousErrorHandling){var t=!$e;if(t&&($e={errorThrown:!1,error:null}),e(),t){var i=$e,n=i.errorThrown,r=i.error;if($e=null,n)throw r}}else e()}var Oe=function(e){function t(t){var i=e.call(this)||this;return i.isStopped=!1,t?(i.destination=t,ke(t)&&t.add(i)):i.destination=Fe,i}return be(t,e),t.create=function(e,t,i){return new Re(e,t,i)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Pe),je=Function.prototype.bind;function He(e,t){return je.call(e,t)}var Ne=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Ue(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ue(e)}else Ue(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ue(e)}},e}(),Re=function(e){function t(t,i,n){var r,o,s=e.call(this)||this;Ee(t)||!t?r={next:null!=t?t:void 0,error:null!=i?i:void 0,complete:null!=n?n:void 0}:s&&Be.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},r={next:t.next&&He(t.next,o),error:t.error&&He(t.error,o),complete:t.complete&&He(t.complete,o)}):r=t;return s.destination=new Ne(r),s}return be(t,e),t}(Oe);function Ue(e){var t;t=e,De.setTimeout((function(){throw t}))}var Fe={closed:!0,next:Ie,error:function(e){throw e},complete:Ie},ze="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ge(e){return e}var Ve=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var i=new e;return i.source=this,i.operator=t,i},e.prototype.subscribe=function(e,t,i){var n,r=this,o=(n=e)&&n instanceof Oe||function(e){return e&&Ee(e.next)&&Ee(e.error)&&Ee(e.complete)}(n)&&ke(n)?e:new Re(e,t,i);return Me((function(){var e=r,t=e.operator,i=e.source;o.add(t?t.call(o,i):i?r._subscribe(o):r._trySubscribe(o))})),o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var i=this;return new(t=We(t))((function(t,n){var r=new Re({next:function(t){try{e(t)}catch(e){n(e),r.unsubscribe()}},error:n,complete:t});i.subscribe(r)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[ze]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return(0===(e=t).length?Ge:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=We(e))((function(e,i){var n;t.subscribe((function(e){return n=e}),(function(e){return i(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function We(e){var t;return null!==(t=null!=e?e:Be.Promise)&&void 0!==t?t:Promise}var qe=Se((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ke=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return be(t,e),t.prototype.lift=function(e){var t=new Xe(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new qe},t.prototype.next=function(e){var t=this;Me((function(){var i,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var r=Le(t.currentObservers),o=r.next();!o.done;o=r.next()){o.value.next(e)}}catch(e){i={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}}}))},t.prototype.error=function(e){var t=this;Me((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var i=t.observers;i.length;)i.shift().error(e)}}))},t.prototype.complete=function(){var e=this;Me((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,i=this,n=i.hasError,r=i.isStopped,o=i.observers;return n||r?_e:(this.currentObservers=null,o.push(e),new Pe((function(){t.currentObservers=null,Ae(o,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,i=t.hasError,n=t.thrownError,r=t.isStopped;i?e.error(n):r&&e.complete()},t.prototype.asObservable=function(){var e=new Ve;return e.source=this,e},t.create=function(e,t){return new Xe(e,t)},t}(Ve),Xe=function(e){function t(t,i){var n=e.call(this)||this;return n.destination=t,n.source=i,n}return be(t,e),t.prototype.next=function(e){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,e)},t.prototype.error=function(e){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==i?i:_e},t}(Ke),Ye={now:function(){return(Ye.delegate||Date).now()},delegate:void 0},Ze=function(e){function t(t,i,n){void 0===t&&(t=1/0),void 0===i&&(i=1/0),void 0===n&&(n=Ye);var r=e.call(this)||this;return r._bufferSize=t,r._windowTime=i,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=i===1/0,r._bufferSize=Math.max(1,t),r._windowTime=Math.max(1,i),r}return be(t,e),t.prototype.next=function(t){var i=this,n=i.isStopped,r=i._buffer,o=i._infiniteTimeWindow,s=i._timestampProvider,a=i._windowTime;n||(r.push(t),!o&&r.push(s.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),i=this._infiniteTimeWindow,n=this._buffer.slice(),r=0;r<n.length&&!e.closed;r+=i?1:2)e.next(n[r]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,i=e._timestampProvider,n=e._buffer,r=e._infiniteTimeWindow,o=(r?1:2)*t;if(t<1/0&&o<n.length&&n.splice(0,n.length-o),!r){for(var s=i.now(),a=0,l=1;l<n.length&&n[l]<=s;l+=2)a=l;a&&n.splice(0,a+1)}},t}(Ke);let Je=[],Qe={};const et=[];function tt(t,i=e){let n;const r=new Set;function s(e){if(o(t,e)&&(t=e,n)){const e=!et.length;for(const e of r)e[1](),et.push(e,t);if(e){for(let e=0;e<et.length;e+=2)et[e][0](et[e+1]);et.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const l=[o,a];return r.add(l),1===r.size&&(n=i(s)||e),o(t),()=>{r.delete(l),0===r.size&&n&&(n(),n=null)}}}}function it(t,i,o){const a=!Array.isArray(t),l=a?[t]:t,u=i.length<2;return c=t=>{let o=!1;const c=[];let p=0,m=e;const d=()=>{if(p)return;m();const n=i(a?c[0]:c,t);u?t(n):m=r(n)?n:e},h=l.map(((e,t)=>s(e,(e=>{c[t]=e,p&=~(1<<t),o&&d()}),(()=>{p|=1<<t}))));return o=!0,d(),function(){n(h),m(),o=!1}},{subscribe:tt(o,c).subscribe};var c}var nt=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===rt}(e)}(e)};var rt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function ot(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ct((i=e,Array.isArray(i)?[]:{}),e,t):e;var i}function st(e,t,i){return e.concat(t).map((function(e){return ot(e,i)}))}function at(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function lt(e,t){try{return t in e}catch(e){return!1}}function ut(e,t,i){var n={};return i.isMergeableObject(e)&&at(e).forEach((function(t){n[t]=ot(e[t],i)})),at(t).forEach((function(r){(function(e,t){return lt(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,r)||(lt(e,r)&&i.isMergeableObject(t[r])?n[r]=function(e,t){if(!t.customMerge)return ct;var i=t.customMerge(e);return"function"==typeof i?i:ct}(r,i)(e[r],t[r],i):n[r]=ot(t[r],i))})),n}function ct(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||st,i.isMergeableObject=i.isMergeableObject||nt,i.cloneUnlessOtherwiseSpecified=ot;var n=Array.isArray(t);return n===Array.isArray(e)?n?i.arrayMerge(e,t,i):ut(e,t,i):ot(t,i)}ct.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,i){return ct(e,i,t)}),{})};var pt=ct,mt=function(e,t){return mt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},mt(e,t)};function dt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}mt(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var ht,ft,yt,gt=function(){return gt=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},gt.apply(this,arguments)};function vt(e,t,i){if(i||2===arguments.length)for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}function bt(e){return e.type===ft.literal}function Lt(e){return e.type===ft.argument}function wt(e){return e.type===ft.number}function Tt(e){return e.type===ft.date}function Et(e){return e.type===ft.time}function St(e){return e.type===ft.select}function xt(e){return e.type===ft.plural}function At(e){return e.type===ft.pound}function Pt(e){return e.type===ft.tag}function _t(e){return!(!e||"object"!=typeof e||e.type!==yt.number)}function kt(e){return!(!e||"object"!=typeof e||e.type!==yt.dateTime)}"function"==typeof SuppressedError&&SuppressedError,function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(ht||(ht={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(ft||(ft={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(yt||(yt={}));var Ct=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Bt=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Dt(e){var t={};return e.replace(Bt,(function(e){var i=e.length;switch(e[0]){case"G":t.era=4===i?"long":5===i?"narrow":"short";break;case"y":t.year=2===i?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===i?"short":5===i?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][i-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][i-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][i-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][i-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][i-1];break;case"s":t.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=i<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var It=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var $t=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Mt=/^(@+)?(\+|#+)?[rs]?$/g,Ot=/(\*)(0+)|(#+)(0+)|(0+)/g,jt=/^(0+)$/;function Ht(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Mt,(function(e,i,n){return"string"!=typeof n?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):"+"===n?t.minimumSignificantDigits=i.length:"#"===i[0]?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+("string"==typeof n?n.length:0)),""})),t}function Nt(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Rt(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var i=e.slice(0,2);if("+!"===i?(t.signDisplay="always",e=e.slice(2)):"+?"===i&&(t.signDisplay="exceptZero",e=e.slice(2)),!jt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ut(e){var t=Nt(e);return t||{}}function Ft(e){for(var t={},i=0,n=e;i<n.length;i++){var r=n[i];switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=gt(gt(gt({},t),{notation:"scientific"}),r.options.reduce((function(e,t){return gt(gt({},e),Ut(t))}),{}));continue;case"engineering":t=gt(gt(gt({},t),{notation:"engineering"}),r.options.reduce((function(e,t){return gt(gt({},e),Ut(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"integer-width":if(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(Ot,(function(e,i,n,r,o,s){if(i)t.minimumIntegerDigits=n.length;else{if(r&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(jt.test(r.stem))t.minimumIntegerDigits=r.stem.length;else if($t.test(r.stem)){if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace($t,(function(e,i,n,r,o,s){return"*"===n?t.minimumFractionDigits=i.length:r&&"#"===r[0]?t.maximumFractionDigits=r.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length),""}));var o=r.options[0];"w"===o?t=gt(gt({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=gt(gt({},t),Ht(o)))}else if(Mt.test(r.stem))t=gt(gt({},t),Ht(r.stem));else{var s=Nt(r.stem);s&&(t=gt(gt({},t),s));var a=Rt(r.stem);a&&(t=gt(gt({},t),a))}}return t}var zt,Gt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function Vt(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var i,n=e.language;return"root"!==n&&(i=e.maximize().region),(Gt[i||""]||Gt[n||""]||Gt["".concat(n,"-001")]||Gt["001"])[0]}var Wt=new RegExp("^".concat(Ct.source,"*")),qt=new RegExp("".concat(Ct.source,"*$"));function Kt(e,t){return{start:e,end:t}}var Xt=!!String.prototype.startsWith,Yt=!!String.fromCodePoint,Zt=!!Object.fromEntries,Jt=!!String.prototype.codePointAt,Qt=!!String.prototype.trimStart,ei=!!String.prototype.trimEnd,ti=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ii=!0;try{ii="a"===(null===(zt=ci("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===zt?void 0:zt[0])}catch(e){ii=!1}var ni,ri=Xt?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},oi=Yt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,n="",r=e.length,o=0;r>o;){if((i=e[o++])>1114111)throw RangeError(i+" is not a valid code point");n+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return n},si=Zt?Object.fromEntries:function(e){for(var t={},i=0,n=e;i<n.length;i++){var r=n[i],o=r[0],s=r[1];t[o]=s}return t},ai=Jt?function(e,t){return e.codePointAt(t)}:function(e,t){var i=e.length;if(!(t<0||t>=i)){var n,r=e.charCodeAt(t);return r<55296||r>56319||t+1===i||(n=e.charCodeAt(t+1))<56320||n>57343?r:n-56320+(r-55296<<10)+65536}},li=Qt?function(e){return e.trimStart()}:function(e){return e.replace(Wt,"")},ui=ei?function(e){return e.trimEnd()}:function(e){return e.replace(qt,"")};function ci(e,t){return new RegExp(e,t)}if(ii){var pi=ci("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ni=function(e,t){var i;return pi.lastIndex=t,null!==(i=pi.exec(e)[1])&&void 0!==i?i:""}}else ni=function(e,t){for(var i=[];;){var n=ai(e,t);if(void 0===n||hi(n)||fi(n))break;i.push(n),t+=n>=65536?2:1}return oi.apply(void 0,i)};var mi=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,i){for(var n=[];!this.isEOF();){var r=this.char();if(123===r){if((o=this.parseArgument(e,i)).err)return o;n.push(o.val)}else{if(125===r&&e>0)break;if(35!==r||"plural"!==t&&"selectordinal"!==t){if(60===r&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(ht.UNMATCHED_CLOSING_TAG,Kt(this.clonePosition(),this.clonePosition()))}if(60===r&&!this.ignoreTag&&di(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{var s=this.clonePosition();this.bump(),n.push({type:ft.pound,location:Kt(s,this.clonePosition())})}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var i=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ft.literal,value:"<".concat(n,"/>"),location:Kt(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(e+1,t,!0);if(r.err)return r;var o=r.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!di(this.char()))return this.error(ht.INVALID_TAG,Kt(s,this.clonePosition()));var a=this.clonePosition();return n!==this.parseTagName()?this.error(ht.UNMATCHED_CLOSING_TAG,Kt(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ft.tag,value:n,children:o,location:Kt(i,this.clonePosition())},err:null}:this.error(ht.INVALID_TAG,Kt(s,this.clonePosition())))}return this.error(ht.UNCLOSED_TAG,Kt(i,this.clonePosition()))}return this.error(ht.INVALID_TAG,Kt(i,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),n="";;){var r=this.tryParseQuote(t);if(r)n+=r;else{var o=this.tryParseUnquoted(e,t);if(o)n+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;n+=s}}}var a=Kt(i,this.clonePosition());return{val:{type:ft.literal,value:n,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(di(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(39===i){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(i);this.bump()}return oi.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var i=this.char();return 60===i||123===i||35===i&&("plural"===t||"selectordinal"===t)||125===i&&e>0?null:(this.bump(),oi(i))},e.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ht.EXPECT_ARGUMENT_CLOSING_BRACE,Kt(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(ht.EMPTY_ARGUMENT,Kt(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(ht.MALFORMED_ARGUMENT,Kt(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ht.EXPECT_ARGUMENT_CLOSING_BRACE,Kt(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ft.argument,value:n,location:Kt(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ht.EXPECT_ARGUMENT_CLOSING_BRACE,Kt(i,this.clonePosition())):this.parseArgumentOptions(e,t,n,i);default:return this.error(ht.MALFORMED_ARGUMENT,Kt(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=ni(this.message,t),n=t+i.length;return this.bumpTo(n),{value:i,location:Kt(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,i,n){var r,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(ht.EXPECT_ARGUMENT_TYPE,Kt(o,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((g=this.parseSimpleArgStyleIfPossible()).err)return g;if(0===(d=ui(g.val)).length)return this.error(ht.EXPECT_ARGUMENT_STYLE,Kt(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:Kt(u,this.clonePosition())}}if((v=this.tryParseArgumentClose(n)).err)return v;var c=Kt(n,this.clonePosition());if(l&&ri(null==l?void 0:l.style,"::",0)){var p=li(l.style.slice(2));if("number"===s)return(g=this.parseNumberSkeletonFromString(p,l.styleLocation)).err?g:{val:{type:ft.number,value:i,location:c,style:g.val},err:null};if(0===p.length)return this.error(ht.EXPECT_DATE_TIME_SKELETON,c);var m=p;this.locale&&(m=function(e,t){for(var i="",n=0;n<e.length;n++){var r=e.charAt(n);if("j"===r){for(var o=0;n+1<e.length&&e.charAt(n+1)===r;)o++,n++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=Vt(t);for("H"!=l&&"k"!=l||(a=0);a-- >0;)i+="a";for(;s-- >0;)i=l+i}else i+="J"===r?"H":r}return i}(p,this.locale));var d={type:yt.dateTime,pattern:m,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Dt(m):{}};return{val:{type:"date"===s?ft.date:ft.time,value:i,location:c,style:d},err:null}}return{val:{type:"number"===s?ft.number:"date"===s?ft.date:ft.time,value:i,location:c,style:null!==(r=null==l?void 0:l.style)&&void 0!==r?r:null},err:null};case"plural":case"selectordinal":case"select":var h=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ht.EXPECT_SELECT_ARGUMENT_OPTIONS,Kt(h,gt({},h)));this.bumpSpace();var f=this.parseIdentifierIfPossible(),y=0;if("select"!==s&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(ht.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Kt(this.clonePosition(),this.clonePosition()));var g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(ht.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ht.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),f=this.parseIdentifierIfPossible(),y=g.val}var v,b=this.tryParsePluralOrSelectOptions(e,s,t,f);if(b.err)return b;if((v=this.tryParseArgumentClose(n)).err)return v;var L=Kt(n,this.clonePosition());return"select"===s?{val:{type:ft.select,value:i,options:si(b.val),location:L},err:null}:{val:{type:ft.plural,value:i,options:si(b.val),offset:y,pluralType:"plural"===s?"cardinal":"ordinal",location:L},err:null};default:return this.error(ht.INVALID_ARGUMENT_TYPE,Kt(o,a))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(ht.EXPECT_ARGUMENT_CLOSING_BRACE,Kt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ht.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Kt(i,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var i=[];try{i=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],i=0,n=e.split(It).filter((function(e){return e.length>0}));i<n.length;i++){var r=n[i].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var o=r[0],s=r.slice(1),a=0,l=s;a<l.length;a++)if(0===l[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:s})}return t}(e)}catch(e){return this.error(ht.INVALID_NUMBER_SKELETON,t)}return{val:{type:yt.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?Ft(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,i,n){for(var r,o=!1,s=[],a=new Set,l=n.value,u=n.location;;){if(0===l.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var p=this.tryParseDecimalInteger(ht.EXPECT_PLURAL_ARGUMENT_SELECTOR,ht.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;u=Kt(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}if(a.has(l))return this.error("select"===t?ht.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ht.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(o=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ht.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ht.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Kt(this.clonePosition(),this.clonePosition()));var d=this.parseMessage(e+1,t,i);if(d.err)return d;var h=this.tryParseArgumentClose(m);if(h.err)return h;s.push([l,{value:d.val,location:Kt(m,this.clonePosition())}]),a.add(l),this.bumpSpace(),l=(r=this.parseIdentifierIfPossible()).value,u=r.location}return 0===s.length?this.error("select"===t?ht.EXPECT_SELECT_ARGUMENT_SELECTOR:ht.EXPECT_PLURAL_ARGUMENT_SELECTOR,Kt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(ht.MISSING_OTHER_CLAUSE,Kt(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var r=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;r=!0,o=10*o+(s-48),this.bump()}var a=Kt(n,this.clonePosition());return r?ti(o*=i)?{val:o,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=ai(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(ri(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),i=this.message.indexOf(e,t);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&hi(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),i=this.message.charCodeAt(t+(e>=65536?2:1));return null!=i?i:null},e}();function di(e){return e>=97&&e<=122||e>=65&&e<=90}function hi(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function fi(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function yi(e){e.forEach((function(e){if(delete e.location,St(e)||xt(e))for(var t in e.options)delete e.options[t].location,yi(e.options[t].value);else wt(e)&&_t(e.style)||(Tt(e)||Et(e))&&kt(e.style)?delete e.style.location:Pt(e)&&yi(e.children)}))}function gi(e,t){void 0===t&&(t={}),t=gt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new mi(e,t).parse();if(i.err){var n=SyntaxError(ht[i.err.kind]);throw n.location=i.err.location,n.originalMessage=i.err.message,n}return(null==t?void 0:t.captureLocation)||yi(i.val),i.val}function vi(e,t){var i=t&&t.cache?t.cache:Ai,n=t&&t.serializer?t.serializer:Ei;return(t&&t.strategy?t.strategy:Ti)(e,{cache:i,serializer:n})}function bi(e,t,i,n){var r,o=null==(r=n)||"number"==typeof r||"boolean"==typeof r?n:i(n),s=t.get(o);return void 0===s&&(s=e.call(this,n),t.set(o,s)),s}function Li(e,t,i){var n=Array.prototype.slice.call(arguments,3),r=i(n),o=t.get(r);return void 0===o&&(o=e.apply(this,n),t.set(r,o)),o}function wi(e,t,i,n,r){return i.bind(t,e,n,r)}function Ti(e,t){return wi(e,this,1===e.length?bi:Li,t.cache.create(),t.serializer)}var Ei=function(){return JSON.stringify(arguments)};function Si(){this.cache=Object.create(null)}Si.prototype.get=function(e){return this.cache[e]},Si.prototype.set=function(e,t){this.cache[e]=t};var xi,Ai={create:function(){return new Si}},Pi={variadic:function(e,t){return wi(e,this,Li,t.cache.create(),t.serializer)},monadic:function(e,t){return wi(e,this,bi,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(xi||(xi={}));var _i,ki=function(e){function t(t,i,n){var r=e.call(this,t)||this;return r.code=i,r.originalMessage=n,r}return dt(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ci=function(e){function t(t,i,n,r){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(i,'". Options are "').concat(Object.keys(n).join('", "'),'"'),xi.INVALID_VALUE,r)||this}return dt(t,e),t}(ki),Bi=function(e){function t(t,i,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(i),xi.INVALID_VALUE,n)||this}return dt(t,e),t}(ki),Di=function(e){function t(t,i){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(i,'"'),xi.MISSING_VALUE,i)||this}return dt(t,e),t}(ki);function Ii(e){return"function"==typeof e}function $i(e,t,i,n,r,o,s){if(1===e.length&&bt(e[0]))return[{type:_i.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(bt(c))a.push({type:_i.literal,value:c.value});else if(At(c))"number"==typeof o&&a.push({type:_i.literal,value:i.getNumberFormat(t).format(o)});else{var p=c.value;if(!r||!(p in r))throw new Di(p,s);var m=r[p];if(Lt(c))m&&"string"!=typeof m&&"number"!=typeof m||(m="string"==typeof m||"number"==typeof m?String(m):""),a.push({type:"string"==typeof m?_i.literal:_i.object,value:m});else if(Tt(c)){var d="string"==typeof c.style?n.date[c.style]:kt(c.style)?c.style.parsedOptions:void 0;a.push({type:_i.literal,value:i.getDateTimeFormat(t,d).format(m)})}else if(Et(c)){d="string"==typeof c.style?n.time[c.style]:kt(c.style)?c.style.parsedOptions:n.time.medium;a.push({type:_i.literal,value:i.getDateTimeFormat(t,d).format(m)})}else if(wt(c)){(d="string"==typeof c.style?n.number[c.style]:_t(c.style)?c.style.parsedOptions:void 0)&&d.scale&&(m*=d.scale||1),a.push({type:_i.literal,value:i.getNumberFormat(t,d).format(m)})}else{if(Pt(c)){var h=c.children,f=c.value,y=r[f];if(!Ii(y))throw new Bi(f,"function",s);var g=y($i(h,t,i,n,r,o).map((function(e){return e.value})));Array.isArray(g)||(g=[g]),a.push.apply(a,g.map((function(e){return{type:"string"==typeof e?_i.literal:_i.object,value:e}})))}if(St(c)){if(!(v=c.options[m]||c.options.other))throw new Ci(c.value,m,Object.keys(c.options),s);a.push.apply(a,$i(v.value,t,i,n,r))}else if(xt(c)){var v;if(!(v=c.options["=".concat(m)])){if(!Intl.PluralRules)throw new ki('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',xi.MISSING_INTL_API,s);var b=i.getPluralRules(t,{type:c.pluralType}).select(m-(c.offset||0));v=c.options[b]||c.options.other}if(!v)throw new Ci(c.value,m,Object.keys(c.options),s);a.push.apply(a,$i(v.value,t,i,n,r,m-(c.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var i=e[e.length-1];return i&&i.type===_i.literal&&t.type===_i.literal?i.value+=t.value:e.push(t),e}),[])}(a)}function Mi(e,t){return t?Object.keys(e).reduce((function(i,n){var r,o;return i[n]=(r=e[n],(o=t[n])?gt(gt(gt({},r||{}),o||{}),Object.keys(r).reduce((function(e,t){return e[t]=gt(gt({},r[t]),o[t]||{}),e}),{})):r),i}),gt({},e)):e}function Oi(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(_i||(_i={}));var ji=function(){function e(t,i,n,r){var o,s=this;if(void 0===i&&(i=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);if(1===t.length)return t[0].value;var i=t.reduce((function(e,t){return e.length&&t.type===_i.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return i.length<=1?i[0]||"":i},this.formatToParts=function(e){return $i(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==r?void 0:r.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Mi(e.formats,n),this.formatters=r&&r.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:vi((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,vt([void 0],t,!1)))}),{cache:Oi(o.number),strategy:Pi.variadic}),getDateTimeFormat:vi((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,vt([void 0],t,!1)))}),{cache:Oi(o.dateTime),strategy:Pi.variadic}),getPluralRules:vi((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,vt([void 0],t,!1)))}),{cache:Oi(o.pluralRules),strategy:Pi.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=gi,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},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"}}},e}();const Hi={},Ni=(e,t,i)=>i?(t in Hi||(Hi[t]={}),e in Hi[t]||(Hi[t][e]=i),i):i,Ri=(e,t)=>{if(null==t)return;if(t in Hi&&e in Hi[t])return Hi[t][e];const i=mn(t);for(let n=0;n<i.length;n++){const r=Gi(i[n],e);if(r)return Ni(e,t,r)}};let Ui;const Fi=tt({});function zi(e){return e in Ui}function Gi(e,t){if(!zi(e))return null;const i=function(e){return Ui[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const i=t.split(".");let n=e;for(let e=0;e<i.length;e++)if("object"==typeof n){if(e>0){const t=i.slice(e,i.length).join(".");if(t in n){n=n[t];break}}n=n[i[e]]}else n=void 0;return n}(i,t)}function Vi(e,...t){delete Hi[e],Fi.update((i=>(i[e]=pt.all([i[e]||{},...t]),i)))}it([Fi],(([e])=>Object.keys(e))),Fi.subscribe((e=>Ui=e));const Wi={};function qi(e){return Wi[e]}function Ki(e){return null!=e&&mn(e).some((e=>{var t;return null==(t=qi(e))?void 0:t.size}))}function Xi(e,t){const i=Promise.all(t.map((t=>(function(e,t){Wi[e].delete(t),0===Wi[e].size&&delete Wi[e]}(e,t),t().then((e=>e.default||e))))));return i.then((t=>Vi(e,...t)))}const Yi={};function Zi(e){if(!Ki(e))return e in Yi?Yi[e]:Promise.resolve();const t=function(e){return mn(e).map((e=>{const t=qi(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Yi[e]=Promise.all(t.map((([e,t])=>Xi(e,t)))).then((()=>{if(Ki(e))return Zi(e);delete Yi[e]})),Yi[e]}const Ji={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 Qi(){return Ji}const en=tt(!1);var tn=Object.defineProperty,nn=Object.defineProperties,rn=Object.getOwnPropertyDescriptors,on=Object.getOwnPropertySymbols,sn=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,ln=(e,t,i)=>t in e?tn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;let un;const cn=tt(null);function pn(e){return e.split("-").map(((e,t,i)=>i.slice(0,t+1).join("-"))).reverse()}function mn(e,t=Qi().fallbackLocale){const i=pn(e);return t?[...new Set([...i,...pn(t)])]:i}function dn(){return null!=un?un:void 0}cn.subscribe((e=>{un=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const hn=(fn=((e,t)=>{for(var i in t||(t={}))sn.call(t,i)&&ln(e,i,t[i]);if(on)for(var i of on(t))an.call(t,i)&&ln(e,i,t[i]);return e})({},cn),nn(fn,rn({set:e=>{if(e&&function(e){if(null==e)return;const t=mn(e);for(let e=0;e<t.length;e++){const i=t[e];if(zi(i))return i}}(e)&&Ki(e)){const{loadingDelay:t}=Qi();let i;return"undefined"!=typeof window&&null!=dn()&&t?i=window.setTimeout((()=>en.set(!0)),t):en.set(!0),Zi(e).then((()=>{cn.set(e)})).finally((()=>{clearTimeout(i),en.set(!1)}))}return cn.set(e)}})));var fn;const yn=e=>{const t=Object.create(null);return i=>{const n=JSON.stringify(i);return n in t?t[n]:t[n]=e(i)}};var gn=Object.defineProperty,vn=Object.getOwnPropertySymbols,bn=Object.prototype.hasOwnProperty,Ln=Object.prototype.propertyIsEnumerable,wn=(e,t,i)=>t in e?gn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Tn=(e,t)=>{for(var i in t||(t={}))bn.call(t,i)&&wn(e,i,t[i]);if(vn)for(var i of vn(t))Ln.call(t,i)&&wn(e,i,t[i]);return e},En=(e,t)=>{var i={};for(var n in e)bn.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&vn)for(var n of vn(e))t.indexOf(n)<0&&Ln.call(e,n)&&(i[n]=e[n]);return i};const Sn=(e,t)=>{const{formats:i}=Qi();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},xn=yn((e=>{var t=e,{locale:i,format:n}=t,r=En(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=Sn("number",n)),new Intl.NumberFormat(i,r)})),An=yn((e=>{var t=e,{locale:i,format:n}=t,r=En(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=Sn("date",n):0===Object.keys(r).length&&(r=Sn("date","short")),new Intl.DateTimeFormat(i,r)})),Pn=yn((e=>{var t=e,{locale:i,format:n}=t,r=En(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=Sn("time",n):0===Object.keys(r).length&&(r=Sn("time","short")),new Intl.DateTimeFormat(i,r)})),_n=yn(((e,t=dn())=>new ji(e,t,Qi().formats,{ignoreTag:Qi().ignoreTag}))),kn=(e,t={})=>{var i,n,r,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=dn(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ri(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" 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!=(r=null==(n=(i=Qi()).handleMissingMessage)?void 0:n.call(i,{locale:l,id:e,defaultValue:u}))?r:u)?o:e;if(!a)return c;let p=c;try{p=_n(c,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return p},Cn=(e,t)=>((e={})=>{var t=e,{locale:i=dn()}=t,n=En(t,["locale"]);return Pn(Tn({locale:i},n))})(t).format(e),Bn=(e,t)=>((e={})=>{var t=e,{locale:i=dn()}=t,n=En(t,["locale"]);return An(Tn({locale:i},n))})(t).format(e),Dn=(e,t)=>((e={})=>{var t=e,{locale:i=dn()}=t,n=En(t,["locale"]);return xn(Tn({locale:i},n))})(t).format(e),In=(e,t=dn())=>Ri(e,t),$n=it([hn,Fi],(()=>kn));it([hn],(()=>Cn)),it([hn],(()=>Bn)),it([hn],(()=>Dn)),it([hn,Fi],(()=>In)),window.emWidgets={topic:(e,t=0)=>{if(-1==Je.indexOf(e)){let i=new Ze(t);Qe[e]=i,Je.push(e)}return Qe[e]}};const Mn=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));const On={en:{title:"Limits"},"zh-hk":{title:"Limits"},fr:{title:"Limits"},ro:{title:"Limits"},es:{title:"Limits"},pt:{title:"Limits"},hr:{title:"Ograničenja"},"pt-br":{title:"Limites"},"es-mx":{title:"Límites"},tr:{title:"Sınırlar"}},jn={lugas:{title:"Deposit Limit",value:"lugas",callValue:"lugasLimit",callValue16:"Lugas"},deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",callValue16:"Deposit"},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",callValue16:"Loss"},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",callValue16:"Wagering"},stake:{title:"Stake Limit",value:"stake",callValue:"maxStake",callValue16:"MaxStake"},sessionLimit:{title:"Single Session Time Limit",value:"sessionLimit",callValue:"sessionLimits",callValue16:"sessionLimit"},cumulativeSession:{title:"Cumulative Session Time Limit",value:"cumulativeSession",callValue:"cumulativeSessionLimits",callValue16:"cumulativeSession"}};function Hn(e,t){Vi(e,t)}const Nn={en:{loadingText:"Loading, please wait...",Monthly:"per month",Weekly:"per week",Daily:"per day",newPeriodLimit:"New monthly limit",adjectiveMonthly:"monthly",adjectiveWeekly:"weekly",adjectiveDaily:"daily",None:"",noPeriod:".",per:"per",updateText:"will be applied on",removedLimitText:"The limit will be removed on",noLimitText:"There is currently no limit set.",lugasPrivacy:"The cross-provider LUGAS limit is not visible to providers.",limitType:"Limit Type",period:"Period",amount:"Amount",minutes:"minutes",setLimit:"SET LIMIT",loss:"Loss Limit",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",deposit:"Deposit Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",wager:"Wager Limit",stake:"Stake Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugas:"Current Deposit Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",wagerCasino:"Slots Limit",wagerSports:"Stake Limit",sessionLimit:"Single Session Time Limit",sessionLimitUpdated:"Session limit updated successfully.",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",popupPendingUpdate:"We have received the request to change the limit. Please be aware that the update will only come into effect on",popupImmediateUpdate:"Your new {selectedLimit} is {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limit changed",popupSuccess:"Successful",popupError:"Es ist ein Fehler aufgetreten.",popupUpdateLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",popupRemoveLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",notFoundException:"Limit does not exist",popup3:"Thank you! \n We have transmited your desired limit to Lugas \n Please be aware that the limit will only come into effect after 8 days at the latest.",popup2_a:"We were able to set your monthly deposit limit to",popup2_b:". 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.",kycNeeded2:". 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.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",invalidInputMessageLimitMin:"The value entered must be higher than {minValue} {currency}.",invalidInputMessageLimitMax:"The value entered must be less than {maxValue} {currency}.",unableToUpdatePendingRequest:"We were unable to update your limit because another update is already pending. Please try again after the current update is applied.",internalServerError:"Unfortunately, there was an error setting your LUGAS limit. Please try again or contact our customer support at <a href='mailto:support.de@bet-at-home.com' target='_blank'>support.de@bet-at-home.com</a>.",docsRequired:"Documents required!",okButton:"OK",complianceText:"As an authorized operator, it applies the necessary limits imposed by the government"},de:{loadingText:"Lädt ...",Monthly:"pro Monat",Weekly:"pro Woche",Daily:"pro Tag",newPeriodLimit:"New monthly limit",adjectiveMonthly:"Monatlich",adjectiveWeekly:"Wöchentlich",adjectiveDaily:"Täglich",None:"",noPeriod:".",per:"pro",updateText:"Anwendung am",removedLimitText:"Entfernung des Limits am",noLimitText:"Derzeit ist kein Limit gesetzt.",lugasPrivacy:"Das anbieterübergreifende LUGAS-Limit ist für Anbieter nicht einsehbar.",limitType:"Limitart",period:"Zeitraum",amount:"Betrag",minutes:"minute",setLimit:"LIMIT SETZEN",loss:"Verlustlimit",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",deposit:"Einzahlungslimit",wager:"Einsatzlimit",stake:"Einsatzlimit",lugas:"Aktuelles Einzahlungslimit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ENTFERNEN",popupError:"Es ist ein Fehler aufgetreten.",popupPendingUpdate:"Wir haben die Anfrage zur Änderung des Limits erhalten. Bitte beachten Sie, dass die Änderung erst in Kraft tritt am",popupImmediateUpdate:"Ihre neues Limit {selectedLimit} beträgt {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limit geändert!",popupSuccess:"Erfolgreich",popup3:"Vielen Dank! \n Wir haben Ihr gewünschtes Limit an Lugas übermittelt. \n Bitte beachten Sie, dass das Limit spätestens nach 8 Tagen in Kraft tritt.",popup2_a:"We were able to set your monthly deposit limit to",popup2_b:". 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.",kycNeeded2:". 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.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",invalidInputMessageLimitMin:"Der eingegebene Wert muss kleiner sein als. {minValue} {currency}.",invalidInputMessageLimitMax:"Der eingegebene Wert muss höher sein als {maxValue} {currency}.",unableToUpdatePendingRequest:"We were unable to update your limit because another update is already pending. Please try again after the current update is applied.",internalServerError:"Beim Festlegen Ihres LUGAS-Einzahlungslimits ist leider ein Fehler aufgetreten. Bitte versuchen Sie es erneut oder wenden Sie sich an unseren Kundenservice unter <a href='mailto:support.de@bet-at-home.com' target='_blank'>support.de@bet-at-home.com</a>.",docsRequired:"Documents required!",okButton:"OK",complianceText:"As an authorized operator, it applies the necessary limits imposed by the government"},hr:{loadingText:"Učitavanje",Monthly:"mjesečno",Weekly:"tjedno",Daily:"dnevno",newPeriodLimit:"Novi mjesečni limit",adjectiveMonthly:"mjesečno",adjectiveWeekly:"tjedno",adjectiveDaily:"dnevno",None:"Nijedno",noPeriod:"Nijedno",per:"po",updateText:"primjenjivat će se na",removedLimitText:"Ograničenje će biti uklonjeno dana",noLimitText:"Trenutno nije postavljeno ograničenje.",lugasPrivacy:"Ograničenje LUGAS za više pružatelja nije vidljivo pružateljima.",limitType:"Vrsta ograničenja",period:"Razdoblje",amount:"Iznos",minutes:"minute",setLimit:"POSTAVITE OGRANIČENJE",loss:"Ograničenje gubitka",lossAll:"Ograničenje gubitka",lossCasino:"Ograničenje gubitka",lossSports:"Ograničenje gubitka",depositAll:"Ograničenje uplate",depositCasino:"Ograničenje uplate",depositSports:"Ograničenje uplate",stakeAll:"Ograničenje uloga",stakeCasino:"Ograničenje uloga",stakeSports:"Ograničenje uloga",lugasAll:"Trenutno ograničenje uplate",lugasCasino:"Trenutno ograničenje uplate",lugasSports:"Trenutno ograničenje uplate",wagerAll:"Ograničenje igranja",deposit:"Ograničenje uplate",wager:"Ograničenje igranja",stake:"Ograničenje uloga",lugas:"Trenutno ograničenje uplate",sessionLimit:"Vremensko ograničenje jedne sesije",cumulativeSession:"Vremensko ograničenje razdoblja",removeLimit:"OTKAŽI",popupPendingUpdate:"Primili smo zahtjev za promjenu limita. Imajte na umu da će ažuriranje stupiti na snagu tek od",popupImmediateUpdate:"Vaš novi {selectedLimit} je {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Ograničenje promijenjeno",popupSuccess:"Uspješno",popup3:"Hvala vam! \n Vašu željenu granicu smo proslijedili Lugasu.\n Imajte na umu da će granica stupiti na snagu najkasnije nakon 8 dana.",popup2_a:"Uspjeli smo postaviti vaš mjesečno ograničenje uplate na",popup2_b:". Za odabrano ograničenje",kycNeeded2:". Kako bi povećali ograničenje na željeni iznos",uploadDocumentsButton:"UČITAJ DOKUMENTE",closeButton:"ZATVORI",invalidInputMessageLimitMin:"Unesena vrijednost mora biti manja od {minValue} {currency}.",invalidInputMessageLimitMax:"Unesena vrijednost mora biti veća od {maxValue} {currency}.",docsRequired:"Potrebni dokumenti!",okButton:"OK",wagerCasino:"Ograničenje za slotove",wagerSports:"Ograničenje uloga",sessionLimitUpdated:"Ograničenje sesije uspješno je ažurirano.",popupError:"Došlo je do greške.",popupUpdateLimitException:"Postavke samoograničenja možete promijeniti nakon isteka navedenog roka ograničenja.",popupRemoveLimitException:"Postavke samoograničenja možete promijeniti nakon isteka navedenog roka ograničenja.",notFoundException:"Ograničenje ne postoji",complianceText:"Kao ovlašteni operater, primjenjuje potrebna ograničenja koja nameće vlada",unableToUpdatePendingRequest:"Nismo uspjeli ažurirati vaše ograničenje jer je drugo ažuriranje već na čekanju. Molimo pokušajte ponovno nakon primjene trenutnog ažuriranja."},sl:{loadingText:"Nalaga...",Monthly:"na mesec",Weekly:"na teden",Daily:"na dan",newPeriodLimit:"New monthly limit",adjectiveMonthly:"Mesečno",adjectiveWeekly:"Tedensko",adjectiveDaily:"Dnevno",None:"",noPeriod:".",per:"na",updateText:"uporabljeno bo na",removedLimitText:"Limit bo odstranjen",noLimitText:"Trenutno ni določen noben limit.",lugasPrivacy:"Na vse ponudnike vezan limit LUGAS, ponudnikom ni v pogled.",limitType:"Vrsta limita",period:"Časovno obdobje",amount:"Znesek",minutes:"minutes",setLimit:"NASTAVITE LIMIT",loss:"Limit izgube",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",deposit:"Limit vplačila",wager:"Limit igralnih avtomatov",stake:"Limit vložkov",lugas:"Trenuten vplačilni limit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ODSTRANI",popupPendingUpdate:"Prejeli smo prošnjo za spremembo limita. Prosimo upoštevajte, da sprememba začne veljati šele",popupImmediateUpdate:"Vaš novi {selectedLimit} znaša {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limit spremenjen!",popupSuccess:"Uspešno",popup3:"Hvala! \n Vašo želeno omejitev smo prenesli na Lugas. \n Upoštevajte, da bo omejitev začela veljati najpozneje po 8 dneh.",popup2_a:"We were able to set your monthly deposit limit to",popup2_b:". 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.",kycNeeded2:". 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.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",invalidInputMessageLimitMin:"Vrednost, ki jo vnesete, mora biti manjša od {minValue} {currency}.",invalidInputMessageLimitMax:"Vrednost, ki jo vnesete, mora biti višja od {maxValue} {currency}.",docsRequired:"Documents required!",okButton:"OK",complianceText:"As an authorized operator, it applies the necessary limits imposed by the government"},pl:{loadingText:"Ładowanie...",Monthly:"na miesiąc",Weekly:"na tydzień",Daily:"na dzień",newPeriodLimit:"New monthly limit",adjectiveMonthly:"Miesięcznie",adjectiveWeekly:"Tygodniowo",adjectiveDaily:"Codzienny",None:"",noPeriod:".",per:"za",updateText:"Zostanie zastosowany w dniu",removedLimitText:"Limit zostanie usunięty",noLimitText:"Obecnie nie posiadasz limitu.",lugasPrivacy:"Świadczeniodawcy nie widzą wzajemnie ustalonego limitu LUGAS.",limitType:"Rodzaj limitu",period:"Przedział czasowy",amount:"Kwota",minutes:"minutes",setLimit:"USTAW LIMIT",loss:"Limit Strat",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",deposit:"Limit wpłat",wager:"Limit na gre na automatach",stake:"Limit stawek",lugas:"Obecny limit depozytów",sessionLimit:"USUŃ",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",popupPendingUpdate:"Otrzymaliśmy prośbę o zmianę limitu. Informujemy, że aktualizacja wejdzie w życie w dniu",popupImmediateUpdate:"Twój nowy {selectedLimit} jest {aktualizateAmount} {waluta} {selectederiod}",popupTitle:"Limit zmieniony!",popupSuccess:"Zakończone powodzeniem",popup3:"Dziękujemy! \n Przekazaliśmy Twój żądany limit do Lugas. \n Prosimy pamiętać, że limit zacznie obowiązywać najpóźniej po 8 dniach.",popup2_a:"We were able to set your monthly deposit limit to",popup2_b:". 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.",kycNeeded2:". 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.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",invalidInputMessageLimitMin:"Wprowadzona wartość musi być niższa niż {minValue} {currency}.",invalidInputMessageLimitMax:"Wprowadzona wartość musi być wyższa niż {maxValue} {currency}.",docsRequired:"Documents required!",okButton:"OK"},fr:{loadingText:"Chargement, veuillez patienter...",Monthly:"mois",Weekly:"semaine",Daily:"jour",newPeriodLimit:"New monthly limit",per:"par",updateText:"sera appliqué sur",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",noLimitText:"Aucune limite n'est actuellement définie.",limitType:"Limit Type",period:"Period",amount:"Amount",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit",okButton:"OK",invalidInputMessageLimitMin:"The value entered must be less then {minValue} {currency}.",invalidInputMessageLimitMax:"The value entered must be higher than {maxValue} {currency}."},ro:{loadingText:"Se încarcă, va rugam așteptați ...",Monthly:"lunara",Weekly:"saptamanala",Daily:"zilnica",newPeriodLimit:"Noua limita lunară",adjectiveMonthly:"lunara",adjectiveWeekly:"saptamanala",adjectiveDaily:"zilnica",None:"",noPeriod:".",per:"pe",updateText:"se va aplica in",removedLimitText:"Limita va fi anulată in",noLimitText:"Momentan nu exista nicio limita setată.",lugasPrivacy:"The cross-provider LUGAS limit is not visible to providers.",limitType:"Tip limita",period:"Perioada",amount:"Suma",minutes:"minute",setLimit:"SETEAZA LIMITA",loss:"Limita pierdere",lossAll:"Limita pierdere",lossCasino:"Limita pierdere",lossSports:"Limita pierdere",deposit:"Limita depunere",depositAll:"Limita depunere",depositCasino:"Limita depunere",depositSports:"Limita depunere",wager:"Limita pariere",stake:"Limita miza",stakeAll:"Limita miza",stakeCasino:"Limita miza",stakeSports:"Limita miza",lugas:"Limita depunere curenta",lugasAll:"Limita depunere curenta",lugasCasino:"Limita depunere curenta",lugasSports:"Limita depunere curenta",wagerAll:"Limita pariere",wagerCasino:"Limita pariere",wagerSports:"Limita pariere",sessionLimit:"Limita timp pe sesiune",sessionLimitUpdated:"Limita de timp pe sesiune a fost salvata cu succes.",cumulativeSession:"Limita timp cumulata",removeLimit:"ANULEAZA",popupPendingUpdate:"Am primit cererea de modificare a limitei. Va rugam sa rețineri ca actualizarea va intra in vigoare doar in",popupImmediateUpdate:"Noua {selectedLimit} este {updatedAmount} {currency} {selectedPeriod}",popupTitle:"Limita modificata",popupSuccess:"Succes",popupError:"A apărut o eroare.",popup3:"Mulțumim! \n Am transmis limita dorită către Lugas. \n Vă rugăm să fiți conștient că limita va intra în vigoare în cel mult 8 zile.",popup2_a:"Am putut seta limit dvs. lunară de depunere la",popup2_b:". Pentru limita selectata, solicitam documente care sa arate capacitatea dumneavoastră economica. Va rugam sa încărcați ultima fisa de plata, precum si un extras de cont bancar curent, inclusiv soldul, care confirma ca ati primit plata.",kycNeeded2:"Pentru a creste limita la suma dorita, va rugam sa ne furnizați informațiile relevante. Aceste informații pot fi transmise prin încărcarea documentelor.",uploadDocumentsButton:"INCARCA DOCUMENTE",closeButton:"INCHIDE",invalidInputMessageLimit:"Valoarea introdusă trebuie sa fie între {minValue} si {maxValue} {currency}.",unableToUpdatePendingRequest:"Nu am putut sa actualizam limita deoarece o alta actualizare este deja in așteptare. Va rugam încercați din nou după ce actualizarea curenta este aplicată.",docsRequired:"Documente necesare!",okButton:"OK",invalidInputMessageLimitMin:"Valoarea introdusa trebuie sa fie mai mica decat {minValue} {currency}.",invalidInputMessageLimitMax:"Valoarea introdusa trebuie sa fie mai mare decat {maxValue} {currency}."},es:{loadingText:"Cargando",Monthly:"por mes",Weekly:"por semana",Daily:"por día",newPeriodLimit:"New monthly limit",adjectiveMonthly:"mensual",adjectiveWeekly:"semanal",adjectiveDaily:"diario",None:"Ninguno / NA",noPeriod:"Sin periodo",per:"por cada",updateText:"será aplicado en",removedLimitText:"El límite será retirado en",noLimitText:"Actualmente no hay un límite establecido.",lugasPrivacy:"El límite del proveedor-cruzado LUGAS no es visible para los proveedores.",limitType:"Tipo de Límite",period:"Periodo",amount:"Monto",minutes:"minutos",setLimit:"Fijar límite",loss:"Límite de pérdida",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",deposit:"Límite de depósito",wager:"Límite de apuesta",stake:"Límite de apuesta",lugas:"Límite de depósito actual",wagerCasino:"Límite de Tragamonedas",wagerSports:"Límite de apuesta",sessionLimit:"Límite de tiempo en sesión única",sessionLimitUpdated:"Límite de tiempo en sesión única actualizado satisfactoriamente",cumulativeSession:"Límite de tiempo en periodo",removeLimit:"QUITAR / RETIRAR",popupPendingUpdate:"Hemos recibido la solicitud de cambiar el límite. Por favor este al tanto que el cambio solo entrará en efecto en",popupImmediateUpdate:"Tú nuevo {selectedLimit} esta {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Límite cambiado",popupSuccess:"Exitoso",popupError:"Ha ocurrido un error.",kycNotNeeded:"El límite de depósito se ha establecido con éxito. Puede administrar sus límites en cualquier momento en la confirguración de la cuenta.",kycNeeded1:"Pudimos estabelecer tu límite de deposito mensual en",kycNeeded2:"Para aumentar el límite a la cantidad deseada",uploadDocumentsButton:"Subir documentos / Adjuntar documentos",closeButton:"CERRAR",invalidInputMessageLimitMin:"El valor ingresado debe ser menor que {minValue} {currency}.",invalidInputMessageLimitMax:"El valor ingresado debe ser mayor que {maxValue} {currency}.",unableToUpdatePendingRequest:"No pudimos actualizar tu límite porque ya hay otra actualización pendiente. Vuelve a intentarlo después de haberse aplicado la actualización actual.",docsRequired:"Documentos requeridos!",kyc2:"Para el límite seleccionado",okButton:"OK"},pt:{loadingText:"Carregando, por favor espere...",okButton:"OK",invalidInputMessageLimitMin:"The value entered must be less then {minValue} {currency}.",invalidInputMessageLimitMax:"The value entered must be higher than {maxValue} {currency}."},"pt-br":{LoadingText:"Carregando, por favor espere...",Monthly:"Por mês",Weekly:"Semanalmente",Daily:"Por dia",newPeriodLimit:"Novo limite mensal",adjectiveMonthly:"Por mês",adjectiveWeekly:"Semanalmente",adjectiveDaily:"Diário",None:"Nada",noPeriod:"nenhum periodo",per:"per",updateText:"Serão aplicados",removedLimitText:"O limite será removido em",noLimitText:"Atualmente não há limite",lugasPrivacy:"O limite do provedor LUGAS não é visível para outros provedores",limitType:"Tipo de limite",period:"Período",amount:"Quantidade",minutes:"minutos",setLimit:"DEFINIR LIMITE",loss:"Limite de perda",lossAll:"Limite de perda",lossCasino:"Limite de perda",lossSports:"Limite de perda",deposit:"Limite de depósito",depositAll:"Limite de depósito",depositCasino:"Limite de depósito",depositSports:"Limite de depósito",wager:"Limite de apostas",stake:"Limite de Quantidade de Apostas",stakeAll:"Limite de Quantidade de Apostas",stakeCasino:"Limite de Quantidade de Apostas",stakeSports:"Limite de Quantidade de Apostas",lugas:"Limite de depósito atual",lugasAll:"Limite de depósito atual",lugasCasino:"Limite de depósito atual",lugasSports:"Limite de depósito atual",wagerAll:"Limite de valor da aposta",wagerCasino:"Limite de slots",wagerSports:"Limite de valor da aposta",sessionLimit:"Limite de tempo por sessão",sessionLimitUpdated:"Limite de sessão atualizado com sucesso",cumulativeSession:"Limite de tempo por período",removeLimit:"REMOVER",popupPendingUpdate:"Recebemos a solicitação para alterar o limite. Observe que a atualização entrará em vigor em",popupImmediateUpdate:"Seu novo limite selecionado {selectedLimit} é {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limite alterado",popupSuccess:"Operação bem-sucedida",popupError:"ocorreu um erro",popupUpdateLimitException:"Você pode alterar suas configurações de limite automático após o término do período de limite especificado.",popupRemoveLimitException:"Você pode alterar suas configurações de limite automático após o término do período de limite especificado.",notFoundException:"O limite não existe",popup3:"Obrigado! Transmitimos o limite desejado para Lugas",popup2_a:"Conseguimos definir seu limite de depósito mensal para",popup2_b:". Para o limite selecionado,'Exigimos documentação que comprove sua capacidade financeira. Faça upload do seu contracheque mais recente, bem como do seu extrato bancário mais recente.',incluindo o saldo,confirmando que você recebeu o pagamento.,",kycNeeded2:". Para aumentar a quantidade limite desejada, Pedimos que você nos forneça informações relevantes. Essas informações podem ser carregadas em nossa página na seção de upload de arquivos da página.",uploadDocumentsButton:"carregar arquivos",closeButton:"Data",invalidInputMessageLimitMin:"O valor inserido deve ser superior a {minValue} {currency}.",invalidInputMessageLimitMax:"O valor inserido deve ser menor que {maxValue} {currency}.",unableToUpdatePendingRequest:"Não foi possível atualizar seu limite porque já há outra atualização pendente. Tente novamente assim que a atualização pendente for aplicada.",internalServerError:"Infelizmente,' Ocorreu um erro ao definir seu limite LEGAS. Por favor, tente novamente ou entre em contato com nosso suporte ao cliente em <a href='mailto:support.de@bet-at-home.com' target='_blank'>support.de@bet-at-home.com</a>.'",docsRequired:"Documentos requeridos",okButton:"OK",complianceText:"Como operador autorizado, Aplicam-se limites impostos pelo governo."},"es-mx":{LoadingText:"Cargando, por favor espere...",Monthly:"Mensual",Weekly:"Semanal",Daily:"Por día",newPeriodLimit:"Nuevo límite mensual",adjectiveMonthly:"Mensual",adjectiveWeekly:"Semanal",adjectiveDaily:"Diario",None:"Ninguno",noPeriod:"Ningún periodo.",per:"per",updateText:"se aplicará el",removedLimitText:"El límite se removerá el",noLimitText:"No hay límite actualmente",lugasPrivacy:"El límite del proveedor LUGAS no está visible para otros proveedores",limitType:"Tipo de límite",period:"Periodo",amount:"Monto",minutes:"minutos",setLimit:"FIJAR LÍMITE",loss:"Límite de pérdida",lossAll:"Límite de pérdida",lossCasino:"Límite de pérdida",lossSports:"Límite de pérdida",deposit:"Límite de depósito",depositAll:"Límite de depósito",depositCasino:"Límite de depósito",depositSports:"Límite de depósito",wager:"Límite de apuestas",stake:"Límite de monto de apuestas",stakeAll:"Límite de monto de apuestas",stakeCasino:"Límite de monto de apuestas",stakeSports:"Límite de monto de apuestas",lugas:"Límite de depósito actual",lugasAll:"Límite de depósito actual",lugasCasino:"Límite de depósito actual",lugasSports:"Límite de depósito actual",wagerAll:"Límite de monto de apuesta",wagerCasino:"Límite de slots",wagerSports:"Límite de monto de apuesta",sessionLimit:"Límite de tiempo por sesión",sessionLimitUpdated:"Límite de sesión actualizado exitosamente",cumulativeSession:"Límite de tiempo por periodo",removeLimit:"REMOVER",popupPendingUpdate:"Hemos recibido la solicitud para cambiar el límite. Por favor tome en cuenta que la actualización entrara en efecto el",popupImmediateUpdate:"Su nuevo límite seleccionado {selectedLimit} es {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Límite cambiado",popupSuccess:"Operación exitosa",popupError:"Ha ocurrido un error",popupUpdateLimitException:"Puede cambiar sus ajustes de auto-límites una vez que concluya el periodo de límite especificado.",popupRemoveLimitException:"Puede cambiar sus ajustes de auto-límites una vez que concluya el periodo de límite especificado.",notFoundException:"El límite no existe",popup3:"Gracias! Hemos transmitido su límite deseado a Lugas Por favor tome en cuenta que va a entrar en efecto a más tardar después de 8 días.",popup2_a:"Pudimos fijar su límite mensual de depósito a",popup2_b:". Para el límite seleccionado,requerimos documentación para mostrar su capacidad económica. Por favor suba su último talón de pago al igual que su más reciente estado de cuenta bancario. ,incluyendo el balance, que confirme que recibió el pago.,",kycNeeded2:". Para poder incrementar el monto deseado de límite, Le pedimos nos brinde la información relevante. Esta información puede ser cargada a nuestra página en la sección de la página para subir archivos.",uploadDocumentsButton:"subir archivos",closeButton:"CERRAR",invalidInputMessageLimitMin:"El valor ingresado debe ser más alto a {minValue} {currency}.",invalidInputMessageLimitMax:"El valor ingresado debe ser menos {maxValue} {currency}.",unableToUpdatePendingRequest:"No pudimos actualizar su límite porque otra actualización porque ya hay otra actualización pendiente. Por favor intente de nuevo una vez que la actualización pendiente sea aplicada.",internalServerError:"Desafortunadamente, Hubo un error fijando su límite de LUGAS. Por favor intente de nuevo o contacte a nuestro soporte al cliente en <a href='mailto:support.de@bet-at-home.com' target='_blank'>support.de@bet-at-home.com</a>.",docsRequired:"DOCUMENTOS requeridos",okButton:"OK",complianceText:"Como operador autorizado, aplican los límites impuestos por el gobierno."},tr:{loadingText:"Yükleniyor lütfen bekleyin...",Monthly:"her ay",Weekly:"haftada",Daily:"günlük",newPeriodLimit:"Yeni aylık limit",adjectiveMonthly:"aylık",adjectiveWeekly:"haftalık",adjectiveDaily:"günlük",None:"",noPeriod:".",per:"başına",updateText:"tarihinde uygulanacak",removedLimitText:"Limit kaldırılacak",noLimitText:"Şu anda belirlenmiş bir limit bulunmamaktadır.",lugasPrivacy:"Sağlayıcılar arası LUGAS limiti sağlayıcılar tarafından görülmez.",limitType:"Limit Türü",period:"Dönem",amount:"Miktar",minutes:"dakika",setLimit:"LİMİT AYARI",loss:"Kayıp Limiti",lossAll:"Kayıp Limiti",lossCasino:"Kayıp Limiti",lossSports:"Kayıp Limiti",deposit:"Para Yatırma Limiti",depositAll:"Para Yatırma Limiti",depositCasino:"Para Yatırma Limiti",depositSports:"Para Yatırma Limiti",wager:"Bahis Limiti",stake:"Bahis Limiti",stakeAll:"Bahis Limiti",stakeCasino:"Bahis Limiti",stakeSports:"Bahis Limiti",lugas:"Güncel Para Yatırma Limiti",lugasAll:"Güncel Para Yatırma Limiti",lugasCasino:"Güncel Para Yatırma Limiti",lugasSports:"Güncel Para Yatırma Limiti",wagerAll:"Bahis Limiti",wagerCasino:"Slot Sınırı",wagerSports:"Bahis Limiti",sessionLimit:"Tek Seans Süre Sınırı",sessionLimitUpdated:"Oturum sınırı başarıyla güncellendi.",cumulativeSession:"Dönem Zaman Sınırı",removeLimit:"KALDIRMAK",popupPendingUpdate:"Limitin değiştirilmesi talebini aldık. Lütfen güncellemenin yalnızca şu tarihte geçerli olacağını unutmayın:",popupImmediateUpdate:"Yeni {selectedLimit}'iniz: {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Sınır değiştirildi",popupSuccess:"Başarılı",popupError:"Bu bir Fehler'dir.",popupUpdateLimitException:"Belirlenen sınırlama süresi dolduktan sonra kendi kendini sınırlayan ayarlarınızı değiştirebilirsiniz.",popupRemoveLimitException:"Belirlenen sınırlama süresi dolduktan sonra kendi kendini sınırlayan ayarlarınızı değiştirebilirsiniz.",notFoundException:"Sınır mevcut değil",popup3:"Teşekkür ederim! İstediğiniz limiti Lugas'a ilettik Limitin ancak en geç 8 gün sonra yürürlüğe gireceğini lütfen unutmayın.",popup2_a:"Aylık para yatırma limitinizi şu şekilde ayarlayabildik:",popup2_b:". Seçilen limit için ekonomik kapasitenizi gösteren belgelere ihtiyacımız var. Lütfen son maaş bordronuzu ve ödemeyi aldığınızı doğrulayan, bakiye dahil güncel banka ekstrenizi yükleyin.",kycNeeded2:". Limitin istenilen tutara yükseltilebilmesi için ilgili bilgileri tarafımıza iletmenizi rica ederiz. Bu bilgi belge yüklemede gönderilebilir.",uploadDocumentsButton:"BELGELERİ YÜKLE",closeButton:"KAPALI",invalidInputMessageLimitMin:"Girilen değer {minValue} {currency} değerinden yüksek olmalıdır.",invalidInputMessageLimitMax:"Girilen değer {maxValue} {currency} değerinden küçük olmalıdır.",unableToUpdatePendingRequest:"Başka bir güncelleme zaten beklemede olduğundan limitinizi güncelleyemedik. Lütfen mevcut güncelleme uygulandıktan sonra tekrar deneyin.",internalServerError:"Maalesef LUGAS sınırınız ayarlanırken bir hata oluştu. Lütfen tekrar deneyin veya <a href='mailto:support.de@bet-at-home.com' target='_blank'>support.de@bet-at-home.com</a> adresinden müşteri desteğimizle iletişime geçin.",docsRequired:"Gerekli belgeler!",okButton:"TAMAM",complianceText:"Yetkili operatör olarak devletin koyduğu gerekli limitleri uygular"}},{document:Rn}=l;function Un(e,t,i){const n=e.slice();return n[106]=t[i],n}function Fn(e,t,i){const n=e.slice();return n[109]=t[i],n[111]=i,n}function zn(e,t,i){const n=e.slice();return n[109]=t[i],n}function Gn(e,t,i){const n=e.slice();return n[114]=t[i],n}function Vn(e){let t,i,n;function r(e,t){return e[20]?Wn:qn}let o=r(e),s=o(e);return{c(){t=d("div"),i=d("div"),s.c(),b(i,"class",n="PopupContainer "+e[22]+" "+(e[26]?"Desktop":"")),b(t,"class","PopupOverlay")},m(e,n){c(e,t,n),u(t,i),s.m(i,null)},p(e,t){o===(o=r(e))&&s?s.p(e,t):(s.d(1),s=o(e),s&&(s.c(),s.m(i,null))),4194304&t[0]&&n!==(n="PopupContainer "+e[22]+" "+(e[26]?"Desktop":""))&&b(i,"class",n)},d(e){e&&p(t),s.d()}}}function Wn(e){let t,i,n,r,o,s,a,l,m,h,L,w,E,S,x,A=e[25]("popupTitle")+"";function P(e,t){return e[18]?Yn:2==e[23]?Xn:Kn}let _=P(e),k=_(e);function C(e,t){return e[18]?Qn:2==e[23]?Jn:Zn}let B=C(e),D=B(e);function I(e,t){return 2==e[23]?tr:er}let $=I(e),M=$(e);return{c(){t=d("div"),i=d("span"),n=f(A),r=y(),o=d("button"),o.textContent="X",s=y(),a=d("div"),l=d("div"),k.c(),m=y(),D.c(),h=y(),L=d("p"),w=y(),M.c(),E=g(),b(i,"class","PopupTitle"),b(o,"class","ClosePopup"),b(t,"class","PopupTitleWrapper"),b(l,"class","ResultIconWrapper"),b(L,"class","DescriptionParagraph"),b(a,"class","DescriptionWrapper")},m(p,d){c(p,t,d),u(t,i),u(i,n),u(t,r),u(t,o),c(p,s,d),c(p,a,d),u(a,l),k.m(l,null),u(l,m),D.m(l,null),u(a,h),u(a,L),L.innerHTML=e[21],c(p,w,d),M.m(p,d),c(p,E,d),S||(x=v(o,"click",e[34]),S=!0)},p(e,t){33554432&t[0]&&A!==(A=e[25]("popupTitle")+"")&&T(n,A),_!==(_=P(e))&&(k.d(1),k=_(e),k&&(k.c(),k.m(l,m))),B===(B=C(e))&&D?D.p(e,t):(D.d(1),D=B(e),D&&(D.c(),D.m(l,null))),2097152&t[0]&&(L.innerHTML=e[21]),$===($=I(e))&&M?M.p(e,t):(M.d(1),M=$(e),M&&(M.c(),M.m(E.parentNode,E)))},d(e){e&&p(t),e&&p(s),e&&p(a),k.d(),D.d(),e&&p(w),M.d(e),e&&p(E),S=!1,x()}}}function qn(t){let i;return{c(){i=d("div"),b(i,"class","LoadingIndicator")},m(e,t){c(e,i,t)},p:e,d(e){e&&p(i)}}}function Kn(e){let t,i,n,r,o,s;return{c(){t=h("svg"),i=h("defs"),n=h("style"),r=f(".fil0 {fill:black;fill-rule:nonzero}\n "),o=h("g"),s=h("polygon"),b(n,"type","text/css"),b(s,"class","fil0"),b(s,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(t,"xml:space","preserve"),b(t,"version","1.1"),S(t,"shape-rendering","geometricPrecision"),S(t,"text-rendering","geometricPrecision"),S(t,"image-rendering","optimizeQuality"),b(t,"viewBox","0 0 90 69"),b(t,"x","0px"),b(t,"y","0px"),b(t,"fill-rule","evenodd"),b(t,"clip-rule","evenodd")},m(e,a){c(e,t,a),u(t,i),u(i,n),u(n,r),u(t,o),u(o,s)},d(e){e&&p(t)}}}function Xn(e){let t,i,n;return{c(){t=h("svg"),i=h("g"),n=h("path"),b(n,"id","XMLID_6_"),b(n,"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"),b(i,"id","XMLID_1_"),b(t,"version","1.1"),b(t,"id","Layer_1"),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(t,"x","0px"),b(t,"y","0px"),b(t,"viewBox","0 0 512 512"),S(t,"enable-background","new 0 0 512 512"),b(t,"xml:space","preserve")},m(e,r){c(e,t,r),u(t,i),u(i,n)},d(e){e&&p(t)}}}function Yn(e){let t,i,n,r,o,s,a,l,m,d,f,y,g,v,L,w,T,E,x;return{c(){t=h("svg"),i=h("g"),n=h("path"),r=h("path"),o=h("g"),s=h("g"),a=h("g"),l=h("g"),m=h("g"),d=h("g"),f=h("g"),y=h("g"),g=h("g"),v=h("g"),L=h("g"),w=h("g"),T=h("g"),E=h("g"),x=h("g"),b(n,"d","M26,0C11.664,0,0,11.663,0,26s11.664,26,26,26s26-11.663,26-26S40.336,0,26,0z M26,50C12.767,50,2,39.233,2,26\n S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z"),b(r,"d","M35.707,16.293c-0.391-0.391-1.023-0.391-1.414,0L26,24.586l-8.293-8.293c-0.391-0.391-1.023-0.391-1.414,0\n s-0.391,1.023,0,1.414L24.586,26l-8.293,8.293c-0.391,0.391-0.391,1.023,0,1.414C16.488,35.902,16.744,36,17,36\n s0.512-0.098,0.707-0.293L26,27.414l8.293,8.293C34.488,35.902,34.744,36,35,36s0.512-0.098,0.707-0.293\n c0.391-0.391,0.391-1.023,0-1.414L27.414,26l8.293-8.293C36.098,17.316,36.098,16.684,35.707,16.293z"),b(t,"version","1.1"),b(t,"id","Capa_1"),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(t,"x","0px"),b(t,"y","0px"),b(t,"viewBox","0 0 52 52"),S(t,"enable-background","new 0 0 52 52"),b(t,"xml:space","preserve")},m(e,p){c(e,t,p),u(t,i),u(i,n),u(i,r),u(t,o),u(t,s),u(t,a),u(t,l),u(t,m),u(t,d),u(t,f),u(t,y),u(t,g),u(t,v),u(t,L),u(t,w),u(t,T),u(t,E),u(t,x)},d(e){e&&p(t)}}}function Zn(e){let t,i,n=e[25]("popupSuccess")+"";return{c(){t=d("p"),i=f(n)},m(e,n){c(e,t,n),u(t,i)},p(e,t){33554432&t[0]&&n!==(n=e[25]("popupSuccess")+"")&&T(i,n)},d(e){e&&p(t)}}}function Jn(e){let t,i,n=e[25]("docsRequired")+"";return{c(){t=d("p"),i=f(n)},m(e,n){c(e,t,n),u(t,i)},p(e,t){33554432&t[0]&&n!==(n=e[25]("docsRequired")+"")&&T(i,n)},d(e){e&&p(t)}}}function Qn(e){let t,i,n=e[25]("popupError")+"";return{c(){t=d("p"),i=f(n)},m(e,n){c(e,t,n),u(t,i)},p(e,t){33554432&t[0]&&n!==(n=e[25]("popupError")+"")&&T(i,n)},d(e){e&&p(t)}}}function er(e){let t,i,n,r,o=e[25]("okButton")+"";return{c(){t=d("button"),i=f(o),b(t,"class","ConfirmButton")},m(o,s){c(o,t,s),u(t,i),n||(r=v(t,"click",e[34]),n=!0)},p(e,t){33554432&t[0]&&o!==(o=e[25]("okButton")+"")&&T(i,o)},d(e){e&&p(t),n=!1,r()}}}function tr(e){let t,i,r,o,s,a,l=e[25]("uploadDocumentsButton")+"",m=e[25]("closeButton")+"";return{c(){t=d("button"),i=y(),r=d("button"),o=f(m),b(t,"class","ConfirmButton"),b(r,"class","CloseButton")},m(n,p){c(n,t,p),t.innerHTML=l,c(n,i,p),c(n,r,p),u(r,o),s||(a=[v(t,"click",e[35]),v(r,"click",e[34])],s=!0)},p(e,i){33554432&i[0]&&l!==(l=e[25]("uploadDocumentsButton")+"")&&(t.innerHTML=l),33554432&i[0]&&m!==(m=e[25]("closeButton")+"")&&T(o,m)},d(e){e&&p(t),e&&p(i),e&&p(r),s=!1,n(a)}}}function ir(e){let t,i,r,o,s,a,l,h,g,L,S,x,A,P,_,k,C,B,D,I,$=e[15]?`${e[25]("amount")}`:`${e[25]("newPeriodLimit")}`,M=e[25]("setLimit")+"",O=e[6],j=[];for(let t=0;t<O.length;t+=1)j[t]=hr(zn(e,O,t));let H="true"===e[1]&&fr(e),N=e[14]&&yr(e),R=e[15]&&vr(e),U=e[24]&&Lr(e);return{c(){t=d("div"),i=d("div"),r=d("div");for(let e=0;e<j.length;e+=1)j[e].c();o=y(),s=d("form"),H&&H.c(),a=y(),N&&N.c(),l=y(),R&&R.c(),h=y(),g=d("label"),L=d("span"),S=f($),x=y(),A=d("input"),P=y(),U&&U.c(),_=y(),k=d("button"),C=f(M),b(r,"class","LimitsList "+(e[26]?"Desktop":"")),b(L,"class","LimitInputText"),b(A,"type","number"),b(A,"pattern","[0-9]*"),b(g,"class","LimitAmountInputWrapper"),b(k,"class","LimitSubmitButton"),b(k,"type","button"),k.disabled=!0,b(s,"class","LimitsInteractionArea "+(e[26]?"Desktop":"")),b(i,"class","LimitsPageContainer"),b(t,"class",B="player-account-gaming-limits-page-2-gm16 LimitTab"+e[3])},m(n,p){c(n,t,p),u(t,i),u(i,r);for(let e=0;e<j.length;e+=1)j[e]&&j[e].m(r,null);u(i,o),u(i,s),H&&H.m(s,null),u(s,a),N&&N.m(s,null),u(s,l),R&&R.m(s,null),u(s,h),u(s,g),u(g,L),u(L,S),u(g,x),u(g,A),E(A,e[10]),u(g,P),U&&U.m(g,null),u(s,_),u(s,k),u(k,C),e[54](k),D||(I=[v(A,"input",e[53]),v(A,"keydown",e[36]),v(A,"keyup",e[30]),v(k,"click",e[29]),v(s,"submit",e[29])],D=!0)},p(e,i){if(100663364&i[0]|6&i[1]){let t;for(O=e[6],t=0;t<O.length;t+=1){const n=zn(e,O,t);j[t]?j[t].p(n,i):(j[t]=hr(n),j[t].c(),j[t].m(r,null))}for(;t<j.length;t+=1)j[t].d(1);j.length=O.length}"true"===e[1]?H?H.p(e,i):(H=fr(e),H.c(),H.m(s,a)):H&&(H.d(1),H=null),e[14]?N?N.p(e,i):(N=yr(e),N.c(),N.m(s,l)):N&&(N.d(1),N=null),e[15]?R?R.p(e,i):(R=vr(e),R.c(),R.m(s,h)):R&&(R.d(1),R=null),33587200&i[0]&&$!==($=e[15]?`${e[25]("amount")}`:`${e[25]("newPeriodLimit")}`)&&T(S,$),1024&i[0]&&w(A.value)!==e[10]&&E(A,e[10]),e[24]?U?U.p(e,i):(U=Lr(e),U.c(),U.m(g,null)):U&&(U.d(1),U=null),33554432&i[0]&&M!==(M=e[25]("setLimit")+"")&&T(C,M),8&i[0]&&B!==(B="player-account-gaming-limits-page-2-gm16 LimitTab"+e[3])&&b(t,"class",B)},d(i){i&&p(t),m(j,i),H&&H.d(),N&&N.d(),R&&R.d(),U&&U.d(),e[54](null),D=!1,n(I)}}}function nr(t){let i;return{c(){i=d("p"),i.textContent="500 Server error"},m(e,t){c(e,i,t)},p:e,d(e){e&&p(i)}}}function rr(t){return{c:e,m:e,p:e,d:e}}function or(t){let i;return{c(){i=d("div"),b(i,"class","LoadingIndicator")},m(e,t){c(e,i,t)},p:e,d(e){e&&p(i)}}}function sr(e){let t,i,n,r,o=e[25]("noLimitText")+"";return{c(){t=d("div"),i=d("div"),n=d("div"),r=f(o),b(n,"class","LimitDetailsTextWrapper"),b(i,"class","LimitDetailsWrapper"),b(t,"class","LimitDetails")},m(e,o){c(e,t,o),u(t,i),u(i,n),u(n,r)},p(e,t){33554432&t[0]&&o!==(o=e[25]("noLimitText")+"")&&T(r,o)},d(e){e&&p(t)}}}function ar(e){let t,i,n,r,o=e[25]("lugasPrivacy")+"";return{c(){t=d("div"),i=d("div"),n=d("div"),r=f(o),b(n,"class","LimitDetailsTextWrapper"),b(i,"class","LimitDetailsWrapper"),b(t,"class","LimitDetails")},m(e,o){c(e,t,o),u(t,i),u(i,n),u(n,r)},p(e,t){33554432&t[0]&&o!==(o=e[25]("lugasPrivacy")+"")&&T(r,o)},d(e){e&&p(t)}}}function lr(e){let t,i=e[109].currentLimits,n=[];for(let t=0;t<i.length;t+=1)n[t]=dr(Gn(e,i,t));return{c(){for(let e=0;e<n.length;e+=1)n[e].c();t=g()},m(e,i){for(let t=0;t<n.length;t+=1)n[t]&&n[t].m(e,i);c(e,t,i)},p(e,r){if(33554500&r[0]|2&r[1]){let o;for(i=e[109].currentLimits,o=0;o<i.length;o+=1){const s=Gn(e,i,o);n[o]?n[o].p(s,r):(n[o]=dr(s),n[o].c(),n[o].m(t.parentNode,t))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},d(e){m(n,e),e&&p(t)}}}function ur(e){let t,i,n,r,o=e[25]("lugasPrivacy")+"";return{c(){t=d("div"),i=d("div"),n=d("div"),r=f(o),b(n,"class","LimitDetailsTextWrapper"),b(i,"class","LimitDetailsWrapper"),b(t,"class","LimitDetails")},m(e,o){c(e,t,o),u(t,i),u(i,n),u(n,r)},p(e,t){33554432&t[0]&&o!==(o=e[25]("lugasPrivacy")+"")&&T(r,o)},d(e){e&&p(t)}}}function cr(e){let t,i,n=`${e[25]("removedLimitText")} ${e[114].expiryDate}`;return{c(){t=d("div"),i=f(n),b(t,"class","PendingLimit")},m(e,n){c(e,t,n),u(t,i)},p(e,t){33554496&t[0]&&n!==(n=`${e[25]("removedLimitText")} ${e[114].expiryDate}`)&&T(i,n)},d(e){e&&p(t)}}}function pr(e){let t,i,n=`${e[114].updateAmount}${e[114].currency} ${"None"!==e[114].period||"cumulativeSession"!==e[114].value?" ":e[25]("per")} ${e[25](`${e[114].period}`)} ${e[25]("updateText")} ${e[114].expiryDate}`;return{c(){t=d("div"),i=f(n),b(t,"class","PendingLimit")},m(e,n){c(e,t,n),u(t,i)},p(e,t){33554496&t[0]&&n!==(n=`${e[114].updateAmount}${e[114].currency} ${"None"!==e[114].period||"cumulativeSession"!==e[114].value?" ":e[25]("per")} ${e[25](`${e[114].period}`)} ${e[25]("updateText")} ${e[114].expiryDate}`)&&T(i,n)},d(e){e&&p(t)}}}function mr(e){let t,i,n,r,o=e[25]("removeLimit")+"";function s(){return e[49](e[114])}return{c(){t=d("button"),i=f(o),b(t,"class","RemoveLimitButton")},m(e,o){c(e,t,o),u(t,i),n||(r=v(t,"click",s),n=!0)},p(t,n){e=t,33554432&n[0]&&o!==(o=e[25]("removeLimit")+"")&&T(i,o)},d(e){e&&p(t),n=!1,r()}}}function dr(e){let t,i,n,r,o,s,a,l,m=`${e[114].amount}${e[114].currency} ${"None"!==e[114].period||"cumulativeSession"!==e[114].value?" ":e[25]("per")} ${e[25](`${e[114].period}`)}`,h=!e[114].isModified&&e[2].indexOf(e[109].value)>-1;function g(e,t){return 64&t[0]&&(s=null),null==s&&(s=!!(e[114].isModified&&+e[114].updateAmount.replaceAll(",","")>0)),s?pr:e[114].isModified?cr:void 0}let v=g(e,[-1,-1,-1,-1]),L=v&&v(e),w=h&&mr(e);return{c(){t=d("div"),i=d("div"),n=d("div"),r=f(m),o=y(),L&&L.c(),a=y(),w&&w.c(),l=y(),b(n,"class","CurrentLimit"),b(i,"class","LimitDetailsTextWrapper"),b(t,"class","LimitDetails")},m(e,s){c(e,t,s),u(t,i),u(i,n),u(n,r),u(i,o),L&&L.m(i,null),u(t,a),w&&w.m(t,null),u(t,l)},p(e,n){33554496&n[0]&&m!==(m=`${e[114].amount}${e[114].currency} ${"None"!==e[114].period||"cumulativeSession"!==e[114].value?" ":e[25]("per")} ${e[25](`${e[114].period}`)}`)&&T(r,m),v===(v=g(e,n))&&L?L.p(e,n):(L&&L.d(1),L=v&&v(e),L&&(L.c(),L.m(i,null))),68&n[0]&&(h=!e[114].isModified&&e[2].indexOf(e[109].value)>-1),h?w?w.p(e,n):(w=mr(e),w.c(),w.m(t,l)):w&&(w.d(1),w=null)},d(e){e&&p(t),L&&L.d(),w&&w.d()}}}function hr(e){let t,i,n,r,o,s=e[33](e[109])+"";function a(e,t){return"lugas"===e[109].value?ur:e[109].currentLimits.length>0?lr:"lugas"===e[109].value?ar:sr}let l=a(e),m=l(e);return{c(){t=d("div"),i=d("p"),n=f(s),r=y(),m.c(),o=y(),b(i,"class","LimitTitle"),b(t,"class","LimitWrapper "+(e[26]?"Desktop":""))},m(e,s){c(e,t,s),u(t,i),u(i,n),u(t,r),m.m(t,null),u(t,o)},p(e,i){64&i[0]&&s!==(s=e[33](e[109])+"")&&T(n,s),l===(l=a(e))&&m?m.p(e,i):(m.d(1),m=l(e),m&&(m.c(),m.m(t,o)))},d(e){e&&p(t),m.d()}}}function fr(e){let t,i,n,r=e[25]("complianceText")+"";return{c(){t=d("div"),i=d("p"),n=f(r),b(i,"class","LimitComplianceText"),b(t,"class","LimitCompliance")},m(e,r){c(e,t,r),u(t,i),u(i,n)},p(e,t){33554432&t[0]&&r!==(r=e[25]("complianceText")+"")&&T(n,r)},d(e){e&&p(t)}}}function yr(e){let t,i,r,o,s,a,l,h=e[25]("limitType")+"",g=e[6],L=[];for(let t=0;t<g.length;t+=1)L[t]=gr(Fn(e,g,t));return{c(){t=d("label"),i=d("span"),r=f(h),o=y(),s=d("select");for(let e=0;e<L.length;e+=1)L[e].c();b(i,"class","LimitSelectText"),b(s,"name",""),b(s,"id",""),void 0===e[9]&&H((()=>e[50].call(s))),b(t,"class","LimitTypeDropdownWrapper")},m(n,p){c(n,t,p),u(t,i),u(i,r),u(t,o),u(t,s);for(let e=0;e<L.length;e+=1)L[e]&&L[e].m(s,null);x(s,e[9],!0),a||(l=[v(s,"change",e[50]),v(s,"change",e[51])],a=!0)},p(e,t){if(33554432&t[0]&&h!==(h=e[25]("limitType")+"")&&T(r,h),64&t[0]|4&t[1]){let i;for(g=e[6],i=0;i<g.length;i+=1){const n=Fn(e,g,i);L[i]?L[i].p(n,t):(L[i]=gr(n),L[i].c(),L[i].m(s,null))}for(;i<L.length;i+=1)L[i].d(1);L.length=g.length}512&t[0]&&x(s,e[9])},d(e){e&&p(t),m(L,e),a=!1,n(l)}}}function gr(e){let t,i,n=e[33](e[109])+"";return{c(){t=d("option"),i=f(n),t.__value=e[111],t.value=t.__value},m(e,n){c(e,t,n),u(t,i)},p(e,t){64&t[0]&&n!==(n=e[33](e[109])+"")&&T(i,n)},d(e){e&&p(t)}}}function vr(e){let t,i,n,r,o,s,a,l=e[25]("period")+"",h=e[5][e[7]].periods,g=[];for(let t=0;t<h.length;t+=1)g[t]=br(Un(e,h,t));return{c(){t=d("label"),i=d("span"),n=f(l),r=y(),o=d("select");for(let e=0;e<g.length;e+=1)g[e].c();b(i,"class","PeriodSelectText"),b(o,"name",""),b(o,"id",""),void 0===e[8]&&H((()=>e[52].call(o))),b(t,"class","LimitPeriodDropdownWrapper")},m(l,p){c(l,t,p),u(t,i),u(i,n),u(t,r),u(t,o);for(let e=0;e<g.length;e+=1)g[e]&&g[e].m(o,null);x(o,e[8],!0),s||(a=v(o,"change",e[52]),s=!0)},p(e,t){if(33554432&t[0]&&l!==(l=e[25]("period")+"")&&T(n,l),33554592&t[0]){let i;for(h=e[5][e[7]].periods,i=0;i<h.length;i+=1){const n=Un(e,h,i);g[i]?g[i].p(n,t):(g[i]=br(n),g[i].c(),g[i].m(o,null))}for(;i<g.length;i+=1)g[i].d(1);g.length=h.length}416&t[0]&&x(o,e[8])},d(e){e&&p(t),m(g,e),s=!1,a()}}}function br(e){let t,i,n,r=e[25](e[106])+"";return{c(){t=d("option"),i=f(r),t.__value=n=e[106],t.value=t.__value,t.selected=!0},m(e,n){c(e,t,n),u(t,i)},p(e,o){33554592&o[0]&&r!==(r=e[25](e[106])+"")&&T(i,r),160&o[0]&&n!==(n=e[106])&&(t.__value=n,t.value=t.__value)},d(e){e&&p(t)}}}function Lr(e){let t,i,n=e[10]<e[12]?`${e[25]("invalidInputMessageLimitMin",{values:{minValue:e[12],currency:e[0]}})}`:`${e[25]("invalidInputMessageLimitMax",{values:{maxValue:e[13],currency:e[0]}})}`;return{c(){t=d("p"),i=f(n),b(t,"class","InvalidInput")},m(e,n){c(e,t,n),u(t,i)},p(e,t){33567745&t[0]&&n!==(n=e[10]<e[12]?`${e[25]("invalidInputMessageLimitMin",{values:{minValue:e[12],currency:e[0]}})}`:`${e[25]("invalidInputMessageLimitMax",{values:{maxValue:e[13],currency:e[0]}})}`)&&T(i,n)},d(e){e&&p(t)}}}function wr(t){let i,n,r,o,s=t[19]&&Vn(t);function a(e,t){return e[16]&&!e[19]?or:e[16]?rr:e[17]?nr:ir}let l=a(t),m=l(t);return{c(){i=d("meta"),n=y(),r=d("div"),s&&s.c(),o=y(),m.c(),this.c=e,b(i,"name","viewport"),b(i,"content","width=device-width, initial-scale=1")},m(e,a){u(Rn.head,i),c(e,n,a),c(e,r,a),s&&s.m(r,null),u(r,o),m.m(r,null),t[55](r)},p(e,t){e[19]?s?s.p(e,t):(s=Vn(e),s.c(),s.m(r,o)):s&&(s.d(1),s=null),l===(l=a(e))&&m?m.p(e,t):(m.d(1),m=l(e),m&&(m.c(),m.m(r,null)))},i:e,o:e,d(e){p(i),e&&p(n),e&&p(r),s&&s.d(),m.d(),t[55](null)}}}function Tr(e,t,i){let n;a(e,$n,(e=>i(25,n=e)));let r,o,s,l,u,{lang:c="en"}=t,{currency:p=""}=t,{limits:m=""}=t,{session:d=""}=t,{userid:h=""}=t,{endpoint:f=""}=t,{apiversion:y=""}=t,{customcurrencysymbols:g=""}=t,{enablecompliancetext:v=""}=t,{deletelimit:b=""}=t,{amountsconfig:L=""}=t,{periodsconfig:T=""}=t,{limittabindex:E=""}=t,{clientstyling:S=""}=t,{clientstylingurl:x=""}=t,{translationurl:P=""}=t,_=window.navigator.userAgent,k=!Mn(_),C=[],B="",D="",$="",M=0,O="",j="",H="",N={},R=!1,U=!1,F=!0,z=!1,G=!1,V=!1,W=!1,q="",K="",X=[],Y=!1,Z={},J={EUR:"€",RON:" lei",USD:"$"};const Q={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]};Object.keys(Nn).forEach((e=>{Hn(e,Nn[e])}));const ee=(e,t)=>{"function"==typeof gtag&>ag("event",e,{limit_category:$,limit_type:B,limit_period:D,limit_amount:o||t})},te=()=>{[...L.matchAll(/\(([^)]+)\)/g)].flat().filter((e=>!e.includes("("))).forEach((e=>{jn[e]?C.push(Object.assign({},jn[e])):console.error(`Unknown limit: ${e}`)})),(()=>{var e;const t=L.split(",").map((e=>e.split(":"))),n=T.split(",").map((e=>e.split(":")));for(let[e,i]of t.entries())if(i[0]!==n[e][0])throw new Error(`Limit config mismatch: "${i[0]}" does not match "${n[e][0]}"`);const r=t.reduce(((e,t,i)=>{const r=t[0].slice(t[0].indexOf("(")+1,t[0].indexOf(")")),o={value:r,product:t[0].slice(0,t[0].indexOf("(")),minMax:t[1],periods:n[i][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),callValue:jn[r].callValue,callValue16:jn[r].callValue16,title:jn[r].title};return e.push(o),e}),[]);for(let e=0;e<r.length;e++)i(6,C[e].product=r[e].product,C),i(6,C[e].min=parseInt(r[e].minMax.split("-")[0],10),C),i(6,C[e].max=parseInt(r[e].minMax.split("-")[1],10),C),i(5,jn[r[e].value].periods=r[e].periods,jn);H=null===(e=C[0])||void 0===e?void 0:e.value,C.forEach((e=>{N[e.value]={min:e.min,max:e.max},Z[e.value]=e.product})),N&&(N[H]?(i(12,O=N[H].min),i(13,j=N[H].max)):(i(12,O=1),i(13,j=9999999)))})(),i(7,B=C[0].value),i(8,D=jn[B].periods[0]),$=C[0].product,i(14,R=C.length>1),i(15,U=jn[B].periods.length>1)},ie=()=>{i(7,B=C[M].value),i(8,D=jn[B].periods[0]),i(15,U=jn[B].periods.length>1)},ne=()=>{$=C[M].product},re=e=>{if(!(e.status>=300))return i(18,G=!1),e.json();oe(e)},oe=e=>{let t;throw i(17,z=!0),e.json().then((e=>{for(const i in Q)if(Q[i].some((t=>e.error.includes(t)))){t=i;break}console.error("errType",t),!t&&ye(e)})).finally((()=>{t&&ye(t),i(17,z=!1),i(16,F=!1)})),new Error("An error occured during the fetch request")},se=()=>{switch(y){case"gmcore":ae();break;case"gm16":le()}},ae=()=>{i(16,F=!0);let e=new URL(`/v2/player/${h}/limits`,f),t={method:"GET",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,t).then((e=>re(e))).then((e=>{X=e,V&&ye(),ue(X),ce(X),i(10,o=null)})).catch((e=>{console.error("Error LimitsWidget: ",e),i(17,z=!0)})).finally((()=>{i(16,F=!1)}))},le=()=>{i(16,F=!0),X=[];let e=new URL(`/v1/player/${h}/limits/monetary`,f),t=new URL(`/v1/player/${h}/limits/session`,f),n=!1,r={method:"GET",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,r).then((e=>re(e))).then((e=>{X.push(e),V&&ye(),"gmcore"===y&&ue(X),"gm16"===y&&pe(X),i(10,o=null)})).catch((e=>{console.error("Error LimitsWidget: ",e),i(17,z=!0)})).finally((()=>{n&&i(16,F=!1),n=!0})),fetch(t.href,r).then((e=>re(e))).then((e=>{X.push(e),V&&ye(),"gm16"===y&&me(X),"gm16"===y&&de(X),i(10,o=null)})).catch((e=>{console.error("Error LimitsWidget: ",e),i(17,z=!0)})).finally((()=>{n&&i(16,F=!1),n=!0}))},ue=e=>{C.forEach((t=>{t.currentLimits=[];const i=Array.isArray(e[jn[t.value].callValue])?e[jn[t.value].callValue]:[e[jn[t.value].callValue]];0!==i.length&&void 0!==i[0]&&(i.forEach(((i,n)=>{var r;const o=e[jn[t.value].callValue][n];t.currentLimits.push({}),t.currentLimits[n].limitType=t.value,t.currentLimits[n].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.amount),t.currentLimits[n].currency=null!==(r=J[o.currency])&&void 0!==r?r:o.currency,t.currentLimits[n].period=o.period,t.currentLimits[n].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.updateAmount),t.currentLimits[n].isModified=o.isModified,t.currentLimits[n].expiryDate=`${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})),t.currentLimits=he(t.currentLimits))}))},ce=e=>{const t=n("minutes");C.filter((e=>"sessionLimit"===e.value||"cumulativeSession"===e.value)).forEach((i=>{var n;i.currentLimits=[],null===(n=e[jn[i.value].callValue])||void 0===n||n.forEach(((n,r)=>{const o=e[jn[i.value].callValue][r];i.currentLimits.push({limitType:i.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.minutes),currency:t,isModified:o.isModified,period:"cumulativeSession"===i.value?o.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.updateMinutes),expiryDate:`${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})})),i.currentLimits=he(i.currentLimits)}))},pe=e=>{var t;(null===(t=e[0])||void 0===t?void 0:t.limits)&&C.forEach((t=>{var i;t.currentLimits=[];for(const n of e[0].limits)if(n.type===t.callValue16&&n.products.includes(t.product)){const e=n;t.currentLimits.push({limitType:t.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount),currency:null!==(i=J[e.currency])&&void 0!==i?i:e.currency,isModified:e.schedules.length>0,period:e.period,product:e.products[0],updateAmount:e.schedules.length>0?Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.schedules[0].updateAmount):"",expiryDate:e.schedules.length>0?`${new Date(e.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"",id:e.id})}t.currentLimits=he(t.currentLimits)}))},me=e=>{var t;(null===(t=e[1])||void 0===t?void 0:t.sessionLimit)&&C.filter((e=>"sessionLimit"===e.value)).forEach((t=>{t.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e[1].sessionLimit.minutes),currency:n("minutes"),isModified:e[1].sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e[1].sessionLimit.updateMinutes),expiryDate:e[1].sessionLimit.expiryDate}),t.currentLimits=he(t.currentLimits)}))},de=e=>{var t;(null===(t=e[1])||void 0===t?void 0:t.cumulativeSessionLimits)&&C.filter((e=>"cumulativeSession"===e.value)).forEach((t=>{for(const i of e[1].cumulativeSessionLimits)t.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(i.minutes),currency:n("minutes"),isModified:i.isModified,period:i.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(i.updateMinutes),expiryDate:i.expiryDate});t.currentLimits=he(t.currentLimits)}))},he=e=>{const t={Daily:0,Weekly:1,Monthly:2};return e.sort(((e,i)=>t[e.period]-t[i.period])),e},fe=()=>{i(24,Y=!1),(null==N?void 0:N[B])?(i(12,O=N[B].min),i(13,j=N[B].max)):(i(12,O=1),i(13,j=9999999))},ye=e=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),z)return i(18,G=!0),e&&!e.thirdPartyResponse&&i(21,q=n(`${e}`)),e&&e.thirdPartyResponse&&i(21,q=e.thirdPartyResponse.message),e&&(e=>{var t;return null===(t=null==e?void 0:e.error)||void 0===t?void 0:t.includes("Limit update is not permitted due to LimitUpdateControl")})(e)&&i(21,q=n("popupUpdateLimitException")),e&&(e=>{var t;return null===(t=null==e?void 0:e.error)||void 0===t?void 0:t.includes("Limit remove is not permitted due to LimitUpdateControl")})(e)&&i(21,q=n("popupRemoveLimitException")),e&&(e=>{var t;return null===(t=null==e?void 0:e.error)||void 0===t?void 0:t.includes("[NotFoundException] Limit does not exist")})(e)&&i(21,q=n("notFoundException")),void i(20,W=!0);switch(y){case"gmcore":"sessionLimit"===B||"cumulativeSession"===B?(()=>{if(X){const e=X[jn[B].callValue].filter((e=>(e.period===D||"None"===D)&&e.products[0]===$))[0],t=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.minutes);let r=n("popupImmediateUpdate").replace("{selectedLimit}",n(`${B}`)).replace("{updatedAmount}",t).replace("{currency}",n("minutes")).replace("{selectedPeriod}",n(`${D}`));i(21,q=e.isModified?`${n("popupPendingUpdate")} ${new Date(e.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:r)}i(20,W=!0)})():(()=>{if(X){const e=X[jn[B].callValue].filter((e=>e.period===D))[0],t=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount);let r=n("popupImmediateUpdate").replace("{selectedLimit}",we()).replace("{updatedAmount}",t).replace("{currency}",J[e.currency]||e.currency).replace("{selectedPeriod}",n(`${D}`));i(21,q=e.isModified?`${n("popupPendingUpdate")} ${new Date(e.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:r)}i(20,W=!0)})();break;case"gm16":"lugas"===B?(1==l&&i(22,K="PopupKyc"),2==l&&(i(21,q=`${n("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(u)} ${p} ${n("popup2_b")}`),i(22,K="PopupKyc2")),3==l&&(i(21,q=n("popup3")),i(22,K="PopupSuccess")),i(20,W=!0)):"sessionLimit"===B||"cumulativeSession"===B?(i(21,q=n("sessionLimitUpdated")),i(20,W=!0)):(()=>{var e;const t=(null===(e=X[0])||void 0===e?void 0:e.limits)||X.limits;if(X){const e=t.filter((e=>e.type===jn[B].callValue16&&(e.period===D||"None"===e.period)&&e.products[0]===$))[0],r=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount),o=e.schedules.length>0?`${new Date(e.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"";let s=n("popupImmediateUpdate").replace("{selectedLimit}",we()).replace("{updatedAmount}",r).replace("{currency}",J[e.currency]||e.currency).replace("{selectedPeriod}",n(`${D}`));i(21,q=e.schedules.length>0?`${n("popupPendingUpdate")} ${o}`:s)}i(20,W=!0)})();break;default:throw new Error(`Invalid apiversion attribute: ${y}`)}},ge=()=>{i(19,V=!0),window.postMessage({type:"DisableScroll"},window.location.href)},ve=e=>{switch(y){case"gmcore":(e=>{i(7,B=e.limitType),i(8,D=e.period),ge(),i(16,F=!0);let t=new URL(`/v2/player/${h}/limits/${{wager:"wagering",loss:"loss",deposit:"deposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"}[e.limitType]}`,f);"sessionLimit"!==e.limitType&&t.searchParams.append("periods",e.period);let n={method:"DELETE",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,n).then((e=>re(e))).then((t=>{ee("self_limitation_cancel_success",e.amount),se()})).catch((t=>{ee("self_limitation_cancel_failed",e.amount),console.log(t),i(17,z=!0)}))})(e);break;case"gm16":"sessionLimit"===e.limitType||"cumulativeSession"===e.limitType?be(e):Le(e)}ee("self_limitation_cancel_request",e.amount)},be=e=>{const t=new URL(`/v1/player/${h}/limits/session/session`,f),n=new URL(`/v1/player/${h}/limits/session/cumulativeSession?periods=${e.period}`,f);let r;switch(e.limitType){case"sessionLimit":r=t;break;case"cumulativeSession":r=n;break;default:throw Error(`Unknown limit.limitType: ${e.limitType}`)}ge(),i(16,F=!0);let o={method:"DELETE",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(r.href,o).then((e=>re(e))).then((t=>{ee("self_limitation_cancel_success",e.amount),se()})).catch((t=>{ee("self_limitation_cancel_failed",e.amount),console.log(t),i(17,z=!0)}))},Le=e=>{const t=new URL(`/v1/player/${h}/limits/monetary/${e.id}`,f);ge(),i(16,F=!0);let n={method:"DELETE",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,n).then((e=>re(e))).then((t=>{ee("self_limitation_cancel_success",e.amount),se()})).catch((t=>{ee("self_limitation_cancel_failed",e.amount),console.log(t),i(17,z=!0)}))},we=e=>{let t;return t=n(e?e.value+e.product:B),t},Te=()=>{i(20,W=i(19,V=!1)),i(22,K=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},Ee=()=>{var e;e=c,hn.set(e)};return e.$$set=e=>{"lang"in e&&i(37,c=e.lang),"currency"in e&&i(0,p=e.currency),"limits"in e&&i(38,m=e.limits),"session"in e&&i(39,d=e.session),"userid"in e&&i(40,h=e.userid),"endpoint"in e&&i(41,f=e.endpoint),"apiversion"in e&&i(42,y=e.apiversion),"customcurrencysymbols"in e&&i(43,g=e.customcurrencysymbols),"enablecompliancetext"in e&&i(1,v=e.enablecompliancetext),"deletelimit"in e&&i(2,b=e.deletelimit),"amountsconfig"in e&&i(44,L=e.amountsconfig),"periodsconfig"in e&&i(45,T=e.periodsconfig),"limittabindex"in e&&i(3,E=e.limittabindex),"clientstyling"in e&&i(46,S=e.clientstyling),"clientstylingurl"in e&&i(47,x=e.clientstylingurl),"translationurl"in e&&i(48,P=e.translationurl)},e.$$.update=()=>{4096&e.$$.dirty[1]&&g&&(()=>{if(!g)return;let e={};g.split(",").forEach((t=>{let i=t.split(":");e[i[0].trim()]=i[1].trim()})),J=Object.assign(Object.assign({},J),e)})(),24576&e.$$.dirty[1]&&T&&L&&te(),64&e.$$.dirty[1]&&c&&Ee(),3904&e.$$.dirty[1]&&h&&d&&f&&y&&c&&se(),16&e.$$.dirty[0]|65536&e.$$.dirty[1]&&x&&r&&(()=>{let e=new URL(x),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{r.appendChild(t)}),1)}))})(),16&e.$$.dirty[0]|32768&e.$$.dirty[1]&&S&&r&&(()=>{let e=document.createElement("style");e.innerHTML=S,r.appendChild(e)})(),131072&e.$$.dirty[1]&&P&&fetch(P).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Hn(t,e[t])}))})).catch((e=>{console.log(e)}))},[p,v,b,E,r,jn,C,B,D,M,o,s,O,j,R,U,F,z,G,V,W,q,K,l,Y,n,k,ie,ne,()=>{switch(y){case"gmcore":(()=>{if(!(o>0))return;ge(),i(16,F=!0);let e=new URL(`/v2/player/${h}/limits`,f),t={};"sessionLimit"===B?t={sessionLimit:o,sessionLimitUnit:"minute"}:t[jn[B].callValue]="cumulativeSession"===B?[{period:D,minutes:o}]:[{period:"None"===jn[B].periods[0]?null:D,amount:o,currency:p}];let n={method:"PUT",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,n).then((e=>re(e))).then((e=>{ee("self_limitation_success"),se()})).catch((e=>{console.error(e),i(17,z=!0)}))})();break;case"gm16":"lugas"===B?(()=>{if(!(o>0))return;ge(),i(16,F=!0);const e=new URL(`/v2/player/${h}/limit/lugas`,f),t={amount:o,roleLimitAmount:0,softMigration:!1,keepLimit:!1};let n={method:"POST",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,n).then((e=>re(e))).then((e=>{i(23,l=e.popup),e.operatorDepositLimitAmount,u=e.regulatorDepositLimitAmount,ee("self_limitation_success"),se()})).catch((e=>{console.log(e),i(17,z=!0)}))})():"sessionLimit"===B?(()=>{if(!(o>0))return;ge(),i(16,F=!0);const e=new URL(`/v1/player/${h}/limits/session/`,f),t={sessionLimit:o,sessionLimitUnit:"minute"};let n={method:"PUT",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,n).then((e=>re(e))).then((e=>{ee("self_limitation_success"),se()})).catch((e=>{console.log(e),i(17,z=!0)}))})():"cumulativeSession"===B?(()=>{if(!(o>0))return;ge(),i(16,F=!0);const e=new URL(`/v1/player/${h}/limits/session/`,f),t={cumulativeSessionLimits:[{period:D,minutes:o}]};let n={method:"PUT",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,n).then((e=>re(e))).then((e=>{ee("self_limitation_success"),se()})).catch((e=>{console.log(e),i(17,z=!0)}))})():(()=>{if(o<=0)return;ge(),i(16,F=!0);const e=C[M].currentLimits.filter((e=>e.period===D))[0],t=new URL(`/v1/player/${h}/limits/monetary/${e?e.id:""}`,f),n=e?"PUT":"POST",r=e?{amount:o,skipCoolOff:!1}:{amount:o,currency:p,period:"None"===jn[B].periods[0]?null:D,type:jn[B].callValue16,products:[null!=$?$:"All"],walletTypes:["All"]};let s={method:n,headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(r)};fetch(t.href,s).then((e=>re(e))).then((e=>{ee("self_limitation_success"),se()})).catch((e=>{console.log(e),i(17,z=!0)}))})();break;default:throw Error(`Invalid apiversion attribute: ${y}`)}ee("self_limitation_request")},()=>{const e=o-Math.floor(o)==0;o>=O&&o<=j&&e?(i(24,Y=!1),s.removeAttribute("disabled")):(i(24,Y=!0),s.setAttribute("disabled","true"))},fe,ve,we,Te,()=>{window.postMessage({type:"uploadDocuments"},window.location.href),Te()},e=>{13===e.keyCode&&Y&&e.preventDefault()},c,m,d,h,f,y,g,L,T,S,x,P,e=>ve(e),function(){M=A(this),i(9,M)},()=>{ne(),ie(),fe()},function(){D=A(this),i(8,D),i(5,jn),i(7,B)},function(){o=w(this.value),i(10,o)},function(e){I[e?"unshift":"push"]((()=>{s=e,i(11,s)}))},function(e){I[e?"unshift":"push"]((()=>{r=e,i(4,r)}))}]}function Er(e,t){Vi(e,t)}!customElements.get("player-account-gaming-limits-page-2-gm16")&&customElements.define("player-account-gaming-limits-page-2-gm16",class extends q{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A))}input:focus{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A));border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);background:var(--emfe-w-color-white, #FFFFFF)}select:focus,select :focus-within,select :focus-visible,select :visited{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}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-page-2-gm16{color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A))}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px;float:left}.LimitsInteractionArea .InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #FD2839));font-size:14px;padding:6px 0px;margin-bottom:6px}.LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitCompliance{margin:20px 0px}.LimitCompliance .LimitComplianceText{font-size:14px}.LimitWrapper{background:var(--emfe-w-color-white, #fff);font-size:1.3rem;border:1px solid var(--emfe-w-color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.CloseButton{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B);margin-top:8px;border-radius:2px;padding:12px;cursor:pointer}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emfe-w-color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{font-size:1.3rem;color:var(--emfe-w-color-black, #000000)}.PendingLimit{color:var(--emfe-w-color-black, #000000)}.LimitTitle{font-size:0.9rem}.PopupOverlay{position:absolute;top:0;left:0;background:rgba(35, 38, 43, 0.7);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center;z-index:99}.PopupContainer{background:var(--emfe-w-color-white, #FFFFFF);font-size:1.3rem;color:var(--emfe-w-color-black, #000000);width:80vw;min-height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-black, #000000);font-size:1.3rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-white, #FFFFFF)}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},Tr,wr,o,{lang:37,currency:0,limits:38,session:39,userid:40,endpoint:41,apiversion:42,customcurrencysymbols:43,enablecompliancetext:1,deletelimit:2,amountsconfig:44,periodsconfig:45,limittabindex:3,clientstyling:46,clientstylingurl:47,translationurl:48},null,[-1,-1,-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["lang","currency","limits","session","userid","endpoint","apiversion","customcurrencysymbols","enablecompliancetext","deletelimit","amountsconfig","periodsconfig","limittabindex","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[37]}set lang(e){this.$$set({lang:e}),U()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),U()}get limits(){return this.$$.ctx[38]}set limits(e){this.$$set({limits:e}),U()}get session(){return this.$$.ctx[39]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[40]}set userid(e){this.$$set({userid:e}),U()}get endpoint(){return this.$$.ctx[41]}set endpoint(e){this.$$set({endpoint:e}),U()}get apiversion(){return this.$$.ctx[42]}set apiversion(e){this.$$set({apiversion:e}),U()}get customcurrencysymbols(){return this.$$.ctx[43]}set customcurrencysymbols(e){this.$$set({customcurrencysymbols:e}),U()}get enablecompliancetext(){return this.$$.ctx[1]}set enablecompliancetext(e){this.$$set({enablecompliancetext:e}),U()}get deletelimit(){return this.$$.ctx[2]}set deletelimit(e){this.$$set({deletelimit:e}),U()}get amountsconfig(){return this.$$.ctx[44]}set amountsconfig(e){this.$$set({amountsconfig:e}),U()}get periodsconfig(){return this.$$.ctx[45]}set periodsconfig(e){this.$$set({periodsconfig:e}),U()}get limittabindex(){return this.$$.ctx[3]}set limittabindex(e){this.$$set({limittabindex:e}),U()}get clientstyling(){return this.$$.ctx[46]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[47]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get translationurl(){return this.$$.ctx[48]}set translationurl(e){this.$$set({translationurl:e}),U()}});const Sr={en:{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",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},de:{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",historyProductTypeSports:"Sport",historyProductTypeAll:"Alle",historyProductTypeCasino:"Slots",historyLimitTypeDeposit:"Einzahlungslimit",historyLimitTypeWagering:"Einsatzlimit",historyLimitTypeLoss:"Verlustlimit"},hr:{expandLimits:"POVIJEST OGRANIČENJA",daily:"dnevno",weekly:"tjedno",monthly:"mjesečno",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wagering:"Ograničenje igranja",max:"Ograničenje uloga",loading:"Učitavanje povijesti ograničenja...",error:"Nešto je pošlo po zlu. Molimo vas pokušajte ponovno.",limitRemoved:"Ograničenje uklonjeno",historyProductTypeSports:"Sportovi",historyProductTypeAll:"Sve",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Ograničenje uplate",historyLimitTypeWagering:"Ograničenje igranja",historyLimitTypeLoss:"Ograničenje gubitka",wageringSports:"Ograničenje uloga"},sl:{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",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},pl:{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",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"zh-hk":{expandLimits:"极限历史",daily:"每天",weekly:"每个星期",monthly:"每月",loss:"损失限额",deposit:"存款限额",wagering:"投注限额",loading:"加载请稍候...",error:"500 - 服务器错误",limitRemoved:"移除限制",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},fr:{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",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},ro:{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",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Limita depunere",historyLimitTypeWagering:"Limita pariere",historyLimitTypeLoss:"Limita pierdere"},es:{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",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"pt-br":{expandLimits:"HISTÓRICO DE LIMITE",daily:"Por dia",weekly:"por semana",monthly:"por mês",loss:"Limite de perda",deposit:"Limite de depósito",wagering:"Limite de Quantidade de Apostas",max:"Limite de apostas",wageringSports:"Limite de Quantidade de Apostas Esportivas",Loading:"Carregando histórico de limite...",error:"Algo deu errado. Por favor, tente novamente",limitRemoved:"Limite removido",historyProductTypeSports:"Esportes",historyProductTypeAll:"Todos",historyProductTypeCasino:"casino",historyLimitTypeDeposit:"Limite de depósito",historyLimitTypeWagering:"Limite de valor da aposta",historyLimitTypeLoss:"Limite de perda"},"es-mx":{expandLimits:"HISTORIAL DE LÍMITES",daily:"Por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdidas",deposit:"Límite de depósito",wagering:"Límite de monto de apuestas",max:"Límite de apuestas",wageringSports:"Límite de monto de apuestas deportivas",Loading:"Cargando historial de límites...",error:"Algo salió mal. Por favor intente de nuevo",limitRemoved:"Límite removido",historyProductTypeSports:"Deportes",historyProductTypeAll:"Todo",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Límite de depósito",historyLimitTypeWagering:"Límite de monto de apuesta",historyLimitTypeLoss:"Límite de pérdida"},tr:{expandLimits:"SINIR GEÇMİŞİ",daily:"günlük",weekly:"haftada",monthly:"her ay",loss:"Kayıp Limiti",deposit:"Para Yatırma Limiti",wagering:"Bahis Limiti",max:"Bahis limiti",wageringSports:"Bahis Limiti",loading:"Limit geçmişi yükleniyor...",error:"Bir şeyler yanlış gitti. Lütfen tekrar deneyin.",limitRemoved:"Sınır kaldırıldı",historyProductTypeSports:"Spor Dalları",historyProductTypeAll:"Tüm",historyProductTypeCasino:"Kumarhane",historyLimitTypeDeposit:"Para Yatırma Limiti",historyLimitTypeWagering:"Bahis Limiti",historyLimitTypeLoss:"Kayıp Limiti"}};function xr(e,t,i){const n=e.slice();return n[36]=t[i],n[37]=t,n[38]=i,n}function Ar(e){let t,i,n,r,o,s,a,l,g,L,w,E,S=e[9]("expandLimits")+"",x=e[7],A=[];for(let t=0;t<x.length;t+=1)A[t]=Br(xr(e,x,t));return{c(){t=d("div"),i=d("div"),n=d("button"),r=f(S),o=y(),s=h("svg"),a=h("path"),l=h("path"),g=y(),L=d("div");for(let e=0;e<A.length;e+=1)A[e].c();b(a,"d","M10.5 15l7.5 7.5 7.5-7.5z"),b(l,"d","M0 0h36v36h-36z"),b(l,"fill","none"),b(s,"class","ExpandArrow"),b(s,"xmlns","http://www.w3.org/2000/svg"),b(s,"width","36"),b(s,"height","36"),b(s,"viewBox","0 0 36 36"),b(s,"fill","#999"),P(s,"extended",e[8]),b(n,"class","ExpandButton"),b(L,"class","HistoryDisplayArea"),P(L,"hidden",e[5]),b(i,"class","HistoryWrapper "+(e[10]?"Desktop":"")),b(t,"class","player-account-gaming-limits-history-2")},m(p,m){c(p,t,m),u(t,i),u(i,n),u(n,r),u(n,o),u(n,s),u(s,a),u(s,l),u(i,g),u(i,L);for(let e=0;e<A.length;e+=1)A[e]&&A[e].m(L,null);w||(E=v(n,"click",e[11]),w=!0)},p(e,t){if(512&t[0]&&S!==(S=e[9]("expandLimits")+"")&&T(r,S),256&t[0]&&P(s,"extended",e[8]),650&t[0]){let i;for(x=e[7],i=0;i<x.length;i+=1){const n=xr(e,x,i);A[i]?A[i].p(n,t):(A[i]=Br(n),A[i].c(),A[i].m(L,null))}for(;i<A.length;i+=1)A[i].d(1);A.length=x.length}32&t[0]&&P(L,"hidden",e[5])},d(e){e&&p(t),m(A,e),w=!1,E()}}}function Pr(t){return{c:e,m:e,p:e,d:e}}function _r(e){let t,i,n=(e[0]?e[9]("error"):"500 Server Error")+"";return{c(){t=d("p"),i=f(n)},m(e,n){c(e,t,n),u(t,i)},p(e,t){513&t[0]&&n!==(n=(e[0]?e[9]("error"):"500 Server Error")+"")&&T(i,n)},d(e){e&&p(t)}}}function kr(e){let t,i,n,r,o,s,a,l,m,h,g,v,L=e[36].type+"",w=e[36].amount+"",E=e[36].currency+"",S=e[36].period+"",x=e[36].date+"";return{c(){t=d("div"),i=d("span"),n=d("span"),r=f(L),o=d("span"),s=f(w),a=y(),l=f(E),m=y(),h=f(S),g=d("span"),v=f(x),b(n,"class","LimitType"),b(o,"class","LimitAmountPeriod"),b(i,"class","GeneralLimitInformation"),b(g,"class","DateLimitInformation"),b(t,"class","HistoryRow")},m(e,p){c(e,t,p),u(t,i),u(i,n),u(n,r),u(i,o),u(o,s),u(o,a),u(o,l),u(o,m),u(o,h),u(t,g),u(g,v)},p(e,t){128&t[0]&&L!==(L=e[36].type+"")&&T(r,L),128&t[0]&&w!==(w=e[36].amount+"")&&T(s,w),128&t[0]&&E!==(E=e[36].currency+"")&&T(l,E),128&t[0]&&S!==(S=e[36].period+"")&&T(h,S),128&t[0]&&x!==(x=e[36].date+"")&&T(v,x)},d(e){e&&p(t)}}}function Cr(e){let t,i,n,r,o,s,a,l,m=e[36].type+"",h=e[9]("limitRemoved")+"",y=e[36].date+"";return{c(){t=d("div"),i=d("span"),n=d("span"),r=f(m),o=d("span"),s=f(h),a=d("span"),l=f(y),b(n,"class","LimitType"),b(o,"class","LimitAmountPeriod"),b(i,"class","GeneralLimitInformation"),b(a,"class","DateLimitInformation"),b(t,"class","HistoryRow")},m(e,p){c(e,t,p),u(t,i),u(i,n),u(n,r),u(i,o),u(o,s),u(t,a),u(a,l)},p(e,t){128&t[0]&&m!==(m=e[36].type+"")&&T(r,m),512&t[0]&&h!==(h=e[9]("limitRemoved")+"")&&T(s,h),128&t[0]&&y!==(y=e[36].date+"")&&T(l,y)},d(e){e&&p(t)}}}function Br(e){let t,i,n,r=e[38];function o(e,t){return e[36].removed?Cr:kr}let s=o(e),a=s(e);const l=()=>e[20](t,r),m=()=>e[20](null,r);return{c(){t=d("div"),a.c(),i=y(),b(t,"class",n=e[38]>+e[1]?"LimitContainer":"")},m(e,n){c(e,t,n),a.m(t,null),u(t,i),l()},p(u,c){s===(s=o(e=u))&&a?a.p(e,c):(a.d(1),a=s(e),a&&(a.c(),a.m(t,i))),2&c[0]&&n!==(n=e[38]>+e[1]?"LimitContainer":"")&&b(t,"class",n),r!==e[38]&&(m(),r=e[38],l())},d(e){e&&p(t),a.d(),m()}}}function Dr(t){let i;function n(e,t){return e[6]?_r:e[4]?Pr:Ar}let r=n(t),o=r(t);return{c(){i=d("div"),o.c(),this.c=e},m(e,n){c(e,i,n),o.m(i,null),t[21](i)},p(e,t){r===(r=n(e))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(i,null)))},i:e,o:e,d(e){e&&p(i),o.d(),t[21](null)}}}function Ir(e,t,i){let n;a(e,$n,(e=>i(9,n=e)));let r,o=window.navigator.userAgent,s=!Mn(o),{lang:l=""}=t,{userid:u=""}=t,{session:c=""}=t,{endpoint:p=""}=t,{apiversion:m=""}=t,{numberofentries:d="10"}=t,{customcurrencysymbols:h=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{translationurl:g=""}=t,v=new Array,b=parseInt(d,10),L=!1,w=!0,T=[],E=[],S=!0,x=!1,A={EUR:"€",RON:"lei"};Object.keys(Sr).forEach((e=>{Er(e,Sr[e])}));const P=e=>{const t=!!Sr[l];return e.map((e=>{let i={amount:"",currency:"",date:"",period:"",type:"",removed:!1};return i.amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.limitAmount),i.currency=t?A[e.limitCurrencyCode]:e.limitCurrencyCode,i.date=new Intl.DateTimeFormat("de",{dateStyle:"medium"}).format(new Date(e.limitDate)),i.period=n(`${e.limitPeriod.toLowerCase()}`),i.type="gmcore"===m?n(`historyLimitType${e.limitType.split(" ")[0]}`):n(`historyLimitType${e.limitType.split(" ")[0]}`)+" "+n(`historyProductType${e.limitProductType}`),i.removed=-1===e.limitAmount,i}))};let _=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&(b+=parseInt(d,10)||10,E.length<T.length&&i(7,E=T.slice(0,b)))}))}));const k=()=>{var e;e=l,hn.set(e)};return B((()=>()=>{_.unobserve(v[v.length-1])})),e.$$set=e=>{"lang"in e&&i(0,l=e.lang),"userid"in e&&i(12,u=e.userid),"session"in e&&i(13,c=e.session),"endpoint"in e&&i(14,p=e.endpoint),"apiversion"in e&&i(15,m=e.apiversion),"numberofentries"in e&&i(1,d=e.numberofentries),"customcurrencysymbols"in e&&i(16,h=e.customcurrencysymbols),"clientstyling"in e&&i(17,f=e.clientstyling),"clientstylingurl"in e&&i(18,y=e.clientstylingurl),"translationurl"in e&&i(19,g=e.translationurl)},e.$$.update=()=>{65536&e.$$.dirty[0]&&h&&(()=>{if(!h)return;let e={};h.split(",").forEach((t=>{let i=t.split(":");e[i[0].trim()]=i[1].trim()})),A=Object.assign(Object.assign({},A),e)})(),61440&e.$$.dirty[0]&&p&&u&&c&&m&&(()=>{let e=new URL("gmcore"===m?`/v2/player/${u}/transactions/limit`:`/v1/player/${u}/limits/monetary/history`,p);e.searchParams.append("startDate",`${new Date("2022").toISOString()}`),e.searchParams.append("endDate",`${new Date("2099").toISOString()}`),e.searchParams.append("limit","10000");let t={method:"GET",headers:{"X-SessionID":c}};fetch(e.href,t).then((e=>{if(e.status>=300)throw i(4,w=!1),i(6,L=!0),new Error("There was an error fetching the limits");return e.json()})).then((e=>{e.length&&(T=P(e),i(7,E=T.slice(0,b))),i(4,w=!1)}),(e=>{console.error("There was an error",e),i(6,L=!0)}))})(),56&e.$$.dirty[0]&&v[0]&&!w&&!S&&_.observe(v[v.length-1]),1&e.$$.dirty[0]&&l&&k(),262144&e.$$.dirty[0]&&y&&(()=>{let e=new URL(y),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,r&&(setTimeout((()=>{r.appendChild(t)}),1),setTimeout((()=>{}),500))}))})(),131076&e.$$.dirty[0]&&f&&r&&(()=>{let e=document.createElement("style");e.innerHTML=f,r.appendChild(e)})(),524292&e.$$.dirty[0]&&g&&r&&fetch(g).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Er(t,e[t])}))})).catch((e=>{console.log(e)}))},[l,d,r,v,w,S,L,E,x,n,s,()=>{i(5,S=!S),i(8,x=!x)},u,c,p,m,h,f,y,g,function(e,t){I[e?"unshift":"push"]((()=>{v[t]=e,i(3,v)}))},function(e){I[e?"unshift":"push"]((()=>{r=e,i(2,r)}))}]}!customElements.get("player-account-gaming-limits-history-2")&&customElements.define("player-account-gaming-limits-history-2",class extends q{constructor(e){super();const t=document.createElement("style");t.textContent=':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:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));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:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.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)}}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},Ir,Dr,o,{lang:0,userid:12,session:13,endpoint:14,apiversion:15,numberofentries:1,customcurrencysymbols:16,clientstyling:17,clientstylingurl:18,translationurl:19},null,[-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["lang","userid","session","endpoint","apiversion","numberofentries","customcurrencysymbols","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),U()}get userid(){return this.$$.ctx[12]}set userid(e){this.$$set({userid:e}),U()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),U()}get endpoint(){return this.$$.ctx[14]}set endpoint(e){this.$$set({endpoint:e}),U()}get apiversion(){return this.$$.ctx[15]}set apiversion(e){this.$$set({apiversion:e}),U()}get numberofentries(){return this.$$.ctx[1]}set numberofentries(e){this.$$set({numberofentries:e}),U()}get customcurrencysymbols(){return this.$$.ctx[16]}set customcurrencysymbols(e){this.$$set({customcurrencysymbols:e}),U()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get translationurl(){return this.$$.ctx[19]}set translationurl(e){this.$$set({translationurl:e}),U()}});const{document:$r}=l;function Mr(e,t,i){const n=e.slice();return n[40]=t[i],n[42]=i,n}function Or(e,t,i){const n=e.slice();return n[43]=t[i],n[42]=i,n}function jr(e){let t,i,n,r,o=e[22].length>1&&function(e){let t,i=e[22],n=[];for(let t=0;t<i.length;t+=1)n[t]=Nr(Or(e,i,t));return{c(){t=d("div");for(let e=0;e<n.length;e+=1)n[e].c();b(t,"class","TabsContainer")},m(i,r){c(i,t,r);for(let e=0;e<n.length;e+=1)n[e]&&n[e].m(t,null);e[31](t)},p(e,r){if(21102592&r[0]){let o;for(i=e[22],o=0;o<i.length;o+=1){const s=Or(e,i,o);n[o]?n[o].p(s,r):(n[o]=Nr(s),n[o].c(),n[o].m(t,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},d(i){i&&p(t),m(n,i),e[31](null)}}}(e),s=e[22],a=[];for(let t=0;t<s.length;t+=1)a[t]=Rr(Mr(e,s,t));let l="true"===e[6]&&Ur(e);return{c(){o&&o.c(),t=y(),i=d("div");for(let e=0;e<a.length;e+=1)a[e].c();n=y(),l&&l.c(),r=g(),b(i,"class","PlayerAccountGamingLmitsWrapper2")},m(s,u){o&&o.m(s,u),c(s,t,u),c(s,i,u);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(i,null);e[32](i),c(s,n,u),l&&l.m(s,u),c(s,r,u)},p(e,t){if(e[22].length>1&&o.p(e,t),1588671&t[0]){let n;for(s=e[22],n=0;n<s.length;n+=1){const r=Mr(e,s,n);a[n]?a[n].p(r,t):(a[n]=Rr(r),a[n].c(),a[n].m(i,null))}for(;n<a.length;n+=1)a[n].d(1);a.length=s.length}"true"===e[6]?l?l.p(e,t):(l=Ur(e),l.c(),l.m(r.parentNode,r)):l&&(l.d(1),l=null)},d(s){o&&o.d(s),s&&p(t),s&&p(i),m(a,s),e[32](null),s&&p(n),l&&l.d(s),s&&p(r)}}}function Hr(t){return{c:e,m:e,p:e,d:e}}function Nr(e){let t,i,n,r,o=(e[17][e[42]]??e[43])+"";function s(){return e[30](e[42])}return{c(){t=d("div"),i=f(o),b(t,"class","LimitsTab")},m(e,o){c(e,t,o),u(t,i),n||(r=v(t,"click",s),n=!0)},p(t,n){e=t,131072&n[0]&&o!==(o=(e[17][e[42]]??e[43])+"")&&T(i,o)},d(e){e&&p(t),n=!1,r()}}}function Rr(e){let t,i,n;return{c(){t=d("player-account-gaming-limits-page-2-gm16"),L(t,"class","hidden selected"),L(t,"lang",e[0]),L(t,"currency",e[4]),L(t,"amountsconfig",i=e[19][e[42]]),L(t,"periodsconfig",n=e[20][e[42]]),L(t,"limittabindex",e[42]+1),L(t,"userid",e[1]),L(t,"deletelimit",e[8]),L(t,"enablecompliancetext",e[7]),L(t,"session",e[2]),L(t,"endpoint",e[3]),L(t,"apiversion",e[5]),L(t,"clientstyling",e[11]),L(t,"clientstylingurl",e[12]),L(t,"translationurl",e[13]),L(t,"customcurrencysymbols",e[10])},m(e,i){c(e,t,i)},p(e,r){1&r[0]&&L(t,"lang",e[0]),16&r[0]&&L(t,"currency",e[4]),524288&r[0]&&i!==(i=e[19][e[42]])&&L(t,"amountsconfig",i),1048576&r[0]&&n!==(n=e[20][e[42]])&&L(t,"periodsconfig",n),2&r[0]&&L(t,"userid",e[1]),256&r[0]&&L(t,"deletelimit",e[8]),128&r[0]&&L(t,"enablecompliancetext",e[7]),4&r[0]&&L(t,"session",e[2]),8&r[0]&&L(t,"endpoint",e[3]),32&r[0]&&L(t,"apiversion",e[5]),2048&r[0]&&L(t,"clientstyling",e[11]),4096&r[0]&&L(t,"clientstylingurl",e[12]),8192&r[0]&&L(t,"translationurl",e[13]),1024&r[0]&&L(t,"customcurrencysymbols",e[10])},d(e){e&&p(t)}}}function Ur(e){let t;return{c(){t=d("player-account-gaming-limits-history-2"),L(t,"lang",e[0]),L(t,"userid",e[1]),L(t,"session",e[2]),L(t,"endpoint",e[3]),L(t,"apiversion",e[5]),L(t,"numberofentries",e[9]),L(t,"clientstyling",e[11]),L(t,"clientstylingurl",e[12]),L(t,"translationurl",e[13]),L(t,"customcurrencysymbols",e[10])},m(e,i){c(e,t,i)},p(e,i){1&i[0]&&L(t,"lang",e[0]),2&i[0]&&L(t,"userid",e[1]),4&i[0]&&L(t,"session",e[2]),8&i[0]&&L(t,"endpoint",e[3]),32&i[0]&&L(t,"apiversion",e[5]),512&i[0]&&L(t,"numberofentries",e[9]),2048&i[0]&&L(t,"clientstyling",e[11]),4096&i[0]&&L(t,"clientstylingurl",e[12]),8192&i[0]&&L(t,"translationurl",e[13]),1024&i[0]&&L(t,"customcurrencysymbols",e[10])},d(e){e&&p(t)}}}function Fr(t){let i,n,r,o,s,a,l,m,g,L=t[21]("title")+"",w=t[23]&&function(e){let t,i,n,r,o,s,a,l,m,g,L,w,E,S=e[21]("title")+"";return{c(){t=d("div"),i=h("svg"),n=h("defs"),r=h("style"),o=f(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));}"),s=h("g"),a=h("g"),l=h("path"),m=y(),g=d("h2"),L=f(S),b(l,"class","aaa"),b(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),b(l,"transform","translate(15 15) rotate(180)"),b(a,"transform","translate(20 158)"),b(s,"transform","translate(-20 -158)"),b(i,"xmlns","http://www.w3.org/2000/svg"),b(i,"width","15"),b(i,"height","15"),b(i,"viewBox","0 0 15 15"),b(g,"class","GamingLimitsTitleMobile"),b(t,"class","MenuReturnButton"),b(t,"part","MenuReturnButton")},m(p,d){c(p,t,d),u(t,i),u(i,n),u(n,r),u(r,o),u(i,s),u(s,a),u(a,l),u(t,m),u(t,g),u(g,L),w||(E=v(t,"click",e[29]),w=!0)},p(e,t){2097152&t[0]&&S!==(S=e[21]("title")+"")&&T(L,S)},d(e){e&&p(t),w=!1,E()}}}(t);function E(e,t){return e[14]?Hr:jr}let S=E(t),x=S(t);return{c(){i=d("meta"),n=y(),r=d("div"),o=d("div"),s=d("div"),w&&w.c(),a=y(),l=d("h2"),m=f(L),g=y(),x.c(),this.c=e,b(i,"name","viewport"),b(i,"content","width=device-width, initial-scale=1"),b(l,"class","GamingLimitsTitle "+(t[23]?"GamingLimitsTitleNone":"")),b(s,"class","TitleSection"),b(o,"class","GamingLimitsWrapper "+(t[23]?"GamingLimitsWrapperMobile":""))},m(e,p){u($r.head,i),c(e,n,p),c(e,r,p),u(r,o),u(o,s),w&&w.m(s,null),u(s,a),u(s,l),u(l,m),u(o,g),x.m(o,null),t[33](r)},p(e,t){e[23]&&w.p(e,t),2097152&t[0]&&L!==(L=e[21]("title")+"")&&T(m,L),S===(S=E(e))&&x?x.p(e,t):(x.d(1),x=S(e),x&&(x.c(),x.m(o,null)))},i:e,o:e,d(e){p(i),e&&p(n),e&&p(r),w&&w.d(),x.d(),t[33](null)}}}function zr(e,t,i){let n;a(e,$n,(e=>i(21,n=e)));let{lang:r=""}=t,{userid:o=""}=t,{session:s=""}=t,{endpoint:l=""}=t,{currency:u=""}=t,{apiversion:c=""}=t,{tablabels:p=""}=t,{historyenabled:m="true"}=t,{enablecompliancetext:d="false"}=t,{deletelimit:h=""}=t,{limitsamount:f=""}=t,{limitsperiods:y=""}=t,{numberofentries:g=""}=t,{customcurrencysymbols:v=""}=t,{clientstyling:b=""}=t,{clientstylingurl:L=""}=t,{translationurl:w=""}=t;!function({withLocale:e,translations:t}){hn.subscribe((i=>{null==i&&(Fi.set(t),hn.set(e))}))}({withLocale:"en",translations:{}});let T,E,S,x,A,P,_=!0,k=[],C="PC"!==(e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC")(window.navigator.userAgent);Object.keys(On).forEach((e=>{!function(e,t){Vi(e,t)}(e,On[e])}));const D=()=>{((e,t)=>{if(i(19,A=e.replace(/\s/g,"").split("|")),i(20,P=t.replace(/\s/g,"").split("|")),0===A.length)throw new Error("Please provide a full limits configuration.");if(A.length!==P.length)throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.")})(f,y),f.split("|").forEach((e=>{k.includes(e)||k.push(e)})),i(17,E=p.split(",").map((e=>e.trim()))),i(14,_=!1)},$=e=>{if(S.children.length>0)for(let t=0;t<S.children.length;t++)e===t?(S.children[t].classList.remove("hidden"),null==x||x.children[t].classList.add("selected")):(S.children[t].classList.add("hidden"),null==x||x.children[t].classList.remove("selected"))},M=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:C},window.location.href)};B((()=>()=>{i(16,S=null),i(18,x=null)}));return e.$$set=e=>{"lang"in e&&i(0,r=e.lang),"userid"in e&&i(1,o=e.userid),"session"in e&&i(2,s=e.session),"endpoint"in e&&i(3,l=e.endpoint),"currency"in e&&i(4,u=e.currency),"apiversion"in e&&i(5,c=e.apiversion),"tablabels"in e&&i(26,p=e.tablabels),"historyenabled"in e&&i(6,m=e.historyenabled),"enablecompliancetext"in e&&i(7,d=e.enablecompliancetext),"deletelimit"in e&&i(8,h=e.deletelimit),"limitsamount"in e&&i(27,f=e.limitsamount),"limitsperiods"in e&&i(28,y=e.limitsperiods),"numberofentries"in e&&i(9,g=e.numberofentries),"customcurrencysymbols"in e&&i(10,v=e.customcurrencysymbols),"clientstyling"in e&&i(11,b=e.clientstyling),"clientstylingurl"in e&&i(12,L=e.clientstylingurl),"translationurl"in e&&i(13,w=e.translationurl)},e.$$.update=()=>{67108911&e.$$.dirty[0]&&o&&s&&l&&p&&r&&c&&D(),81920&e.$$.dirty[0]&&S&&!_&&$(0),36864&e.$$.dirty[0]&&L&&T&&(()=>{let e=new URL(L),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{T.appendChild(t)}),1)}))})(),34816&e.$$.dirty[0]&&b&&T&&(()=>{let e=document.createElement("style");e.innerHTML=b,T.appendChild(e)})()},[r,o,s,l,u,c,m,d,h,g,v,b,L,w,_,T,S,E,x,A,P,n,k,C,$,M,p,f,y,()=>M(),e=>$(e),function(e){I[e?"unshift":"push"]((()=>{x=e,i(18,x)}))},function(e){I[e?"unshift":"push"]((()=>{S=e,i(16,S)}))},function(e){I[e?"unshift":"push"]((()=>{T=e,i(15,T)}))}]}class Gr extends q{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px 50px 30px 50px}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.TabsContainer{height:50px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid var(--emfe-w-color-gray-300, #58586B);justify-content:center;background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 0.15rem 0.2rem 0 rgba(0, 0, 0, 0.12)}.LimitsTab{font-size:1.3rem;line-height:1.4rem;margin-bottom:3px;display:flex;justify-content:center;align-items:center;padding:0 1rem;box-sizing:content-box}.hidden{display:none}h2{margin:20px 0px}.PlayerAccountGamingLmitsWrapper2{margin-bottom:20px}.MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C))}.GamingLimitsTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));font-weight:400}.GamingLimitsTitleMobile{font-size:16px}.GamingLimitsTitleNone{display:none}.selected{border-bottom:0.2rem solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));margin:0}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},zr,Fr,o,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,tablabels:26,historyenabled:6,enablecompliancetext:7,deletelimit:8,limitsamount:27,limitsperiods:28,numberofentries:9,customcurrencysymbols:10,clientstyling:11,clientstylingurl:12,translationurl:13},null,[-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["lang","userid","session","endpoint","currency","apiversion","tablabels","historyenabled","enablecompliancetext","deletelimit","limitsamount","limitsperiods","numberofentries","customcurrencysymbols","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),U()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),U()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),U()}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),U()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),U()}get apiversion(){return this.$$.ctx[5]}set apiversion(e){this.$$set({apiversion:e}),U()}get tablabels(){return this.$$.ctx[26]}set tablabels(e){this.$$set({tablabels:e}),U()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(e){this.$$set({historyenabled:e}),U()}get enablecompliancetext(){return this.$$.ctx[7]}set enablecompliancetext(e){this.$$set({enablecompliancetext:e}),U()}get deletelimit(){return this.$$.ctx[8]}set deletelimit(e){this.$$set({deletelimit:e}),U()}get limitsamount(){return this.$$.ctx[27]}set limitsamount(e){this.$$set({limitsamount:e}),U()}get limitsperiods(){return this.$$.ctx[28]}set limitsperiods(e){this.$$set({limitsperiods:e}),U()}get numberofentries(){return this.$$.ctx[9]}set numberofentries(e){this.$$set({numberofentries:e}),U()}get customcurrencysymbols(){return this.$$.ctx[10]}set customcurrencysymbols(e){this.$$set({customcurrencysymbols:e}),U()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),U()}}return!customElements.get("player-account-gaming-limits-wrapper-2")&&customElements.define("player-account-gaming-limits-wrapper-2",Gr),Gr}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function i(){return Object.create(null)}function n(e){e.forEach(t)}function r(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function s(t,...i){if(null==t)return e;const n=t.subscribe(...i);return n.unsubscribe?()=>n.unsubscribe():n}function a(e,t,i){e.$$.on_destroy.push(s(t,i))}const l="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function u(e,t){e.appendChild(t)}function c(e,t,i){e.insertBefore(t,i||null)}function p(e){e.parentNode&&e.parentNode.removeChild(e)}function m(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function d(e){return document.createElement(e)}function h(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function f(e){return document.createTextNode(e)}function y(){return f(" ")}function g(){return f("")}function v(e,t,i,n){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i,n)}function b(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function L(e,t,i){t in e?e[t]="boolean"==typeof e[t]&&""===i||i:b(e,t,i)}function w(e){return""===e?null:+e}function T(e,t){t=""+t,e.data!==t&&(e.data=t)}function E(e,t){e.value=null==t?"":t}function S(e,t,i,n){null==i?e.style.removeProperty(t):e.style.setProperty(t,i,n?"important":"")}function x(e,t,i){for(let i=0;i<e.options.length;i+=1){const n=e.options[i];if(n.__value===t)return void(n.selected=!0)}i&&void 0===t||(e.selectedIndex=-1)}function A(e){const t=e.querySelector(":checked");return t&&t.__value}function P(e,t,i){e.classList[i?"add":"remove"](t)}function _(e){const t={};for(const i of e)t[i.name]=i.value;return t}let k;function C(e){k=e}function B(e){(function(){if(!k)throw new Error("Function called outside component initialization");return k})().$$.on_mount.push(e)}const D=[],I=[];let $=[];const M=[],O=Promise.resolve();let j=!1;function H(e){$.push(e)}const N=new Set;let R=0;function U(){if(0!==R)return;const e=k;do{try{for(;R<D.length;){const e=D[R];R++,C(e),F(e.$$)}}catch(e){throw D.length=0,R=0,e}for(C(null),D.length=0,R=0;I.length;)I.pop()();for(let e=0;e<$.length;e+=1){const t=$[e];N.has(t)||(N.add(t),t())}$.length=0}while(D.length);for(;M.length;)M.pop()();j=!1,N.clear(),C(e)}function F(e){if(null!==e.fragment){e.update(),n(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(H)}}const z=new Set;function G(e,t){const i=e.$$;null!==i.fragment&&(!function(e){const t=[],i=[];$.forEach((n=>-1===e.indexOf(n)?t.push(n):i.push(n))),i.forEach((e=>e())),$=t}(i.after_update),n(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}function V(e,t){-1===e.$$.dirty[0]&&(D.push(e),j||(j=!0,O.then(U)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function W(o,s,a,l,u,c,m,d=[-1]){const h=k;C(o);const f=o.$$={fragment:null,ctx:[],props:c,update:e,not_equal:u,bound:i(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(h?h.$$.context:[])),callbacks:i(),dirty:d,skip_bound:!1,root:s.target||h.$$.root};m&&m(f.root);let y=!1;if(f.ctx=a?a(o,s.props||{},((e,t,...i)=>{const n=i.length?i[0]:t;return f.ctx&&u(f.ctx[e],f.ctx[e]=n)&&(!f.skip_bound&&f.bound[e]&&f.bound[e](n),y&&V(o,e)),t})):[],f.update(),y=!0,n(f.before_update),f.fragment=!!l&&l(f.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);f.fragment&&f.fragment.l(e),e.forEach(p)}else f.fragment&&f.fragment.c();s.intro&&((g=o.$$.fragment)&&g.i&&(z.delete(g),g.i(v))),function(e,i,o,s){const{fragment:a,after_update:l}=e.$$;a&&a.m(i,o),s||H((()=>{const i=e.$$.on_mount.map(t).filter(r);e.$$.on_destroy?e.$$.on_destroy.push(...i):n(i),e.$$.on_mount=[]})),l.forEach(H)}(o,s.target,s.anchor,s.customElement),U()}var g,v;C(h)}let q;"function"==typeof HTMLElement&&(q=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(r);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,i){this[e]=i}disconnectedCallback(){n(this.$$.on_disconnect)}$destroy(){G(this,1),this.$destroy=e}$on(t,i){if(!r(i))return e;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(i),()=>{const e=n.indexOf(i);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var K="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},X="URLSearchParams"in K,Y="Symbol"in K&&"iterator"in Symbol,Z="FileReader"in K&&"Blob"in K&&function(){try{return new Blob,!0}catch(e){return!1}}(),J="FormData"in K,Q="ArrayBuffer"in K;if(Q)var ee=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],te=ArrayBuffer.isView||function(e){return e&&ee.indexOf(Object.prototype.toString.call(e))>-1};function ie(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function ne(e){return"string"!=typeof e&&(e=String(e)),e}function re(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return Y&&(t[Symbol.iterator]=function(){return t}),t}function oe(e){this.map={},e instanceof oe?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function se(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function ae(e){return new Promise((function(t,i){e.onload=function(){t(e.result)},e.onerror=function(){i(e.error)}}))}function le(e){var t=new FileReader,i=ae(t);return t.readAsArrayBuffer(e),i}function ue(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function ce(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:Z&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:J&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:X&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Q&&Z&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=ue(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Q&&(ArrayBuffer.prototype.isPrototypeOf(e)||te(e))?this._bodyArrayBuffer=ue(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):X&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Z&&(this.blob=function(){var e=se(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=se(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(Z)return this.blob().then(le);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,i,n,r,o=se(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,i=ae(t),n=/charset=([A-Za-z0-9_-]+)/.exec(e.type),r=n?n[1]:"utf-8",t.readAsText(e,r),i;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),i=new Array(t.length),n=0;n<t.length;n++)i[n]=String.fromCharCode(t[n]);return i.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},J&&(this.formData=function(){return this.text().then(de)}),this.json=function(){return this.text().then(JSON.parse)},this}oe.prototype.append=function(e,t){e=ie(e),t=ne(t);var i=this.map[e];this.map[e]=i?i+", "+t:t},oe.prototype.delete=function(e){delete this.map[ie(e)]},oe.prototype.get=function(e){return e=ie(e),this.has(e)?this.map[e]:null},oe.prototype.has=function(e){return this.map.hasOwnProperty(ie(e))},oe.prototype.set=function(e,t){this.map[ie(e)]=ne(t)},oe.prototype.forEach=function(e,t){for(var i in this.map)this.map.hasOwnProperty(i)&&e.call(t,this.map[i],i,this)},oe.prototype.keys=function(){var e=[];return this.forEach((function(t,i){e.push(i)})),re(e)},oe.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),re(e)},oe.prototype.entries=function(){var e=[];return this.forEach((function(t,i){e.push([i,t])})),re(e)},Y&&(oe.prototype[Symbol.iterator]=oe.prototype.entries);var pe=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function me(e,t){if(!(this instanceof me))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var i,n,r=(t=t||{}).body;if(e instanceof me){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new oe(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new oe(t.headers)),this.method=(i=t.method||this.method||"GET",n=i.toUpperCase(),pe.indexOf(n)>-1?n:i),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in K)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function de(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var i=e.split("="),n=i.shift().replace(/\+/g," "),r=i.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(r))}})),t}function he(e,t){if(!(this instanceof he))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new oe(t.headers),this.url=t.url||"",this._initBody(e)}me.prototype.clone=function(){return new me(this,{body:this._bodyInit})},ce.call(me.prototype),ce.call(he.prototype),he.prototype.clone=function(){return new he(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new oe(this.headers),url:this.url})},he.error=function(){var e=new he(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var fe=[301,302,303,307,308];he.redirect=function(e,t){if(-1===fe.indexOf(t))throw new RangeError("Invalid status code");return new he(null,{status:t,headers:{location:e}})};var ye=K.DOMException;try{new ye}catch(e){(ye=function(e,t){this.message=e,this.name=t;var i=Error(e);this.stack=i.stack}).prototype=Object.create(Error.prototype),ye.prototype.constructor=ye}function ge(e,t){return new Promise((function(i,n){var r=new me(e,t);if(r.signal&&r.signal.aborted)return n(new ye("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}if(o.onload=function(){var e,t,n={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new oe,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var i=e.split(":"),n=i.shift().trim();if(n){var r=i.join(":").trim();try{t.append(n,r)}catch(e){console.warn("Response "+e.message)}}})),t)};r.url.startsWith("file://")&&(o.status<200||o.status>599)?n.status=200:n.status=o.status,n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var s="response"in o?o.response:o.responseText;setTimeout((function(){i(new he(s,n))}),0)},o.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request timed out"))}),0)},o.onabort=function(){setTimeout((function(){n(new ye("Aborted","AbortError"))}),0)},o.open(r.method,function(e){try{return""===e&&K.location.href?K.location.href:e}catch(t){return e}}(r.url),!0),"include"===r.credentials?o.withCredentials=!0:"omit"===r.credentials&&(o.withCredentials=!1),"responseType"in o&&(Z?o.responseType="blob":Q&&(o.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof oe||K.Headers&&t.headers instanceof K.Headers)){var a=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){a.push(ie(e)),o.setRequestHeader(e,ne(t.headers[e]))})),r.headers.forEach((function(e,t){-1===a.indexOf(t)&&o.setRequestHeader(t,e)}))}else r.headers.forEach((function(e,t){o.setRequestHeader(t,e)}));r.signal&&(r.signal.addEventListener("abort",s),o.onreadystatechange=function(){4===o.readyState&&r.signal.removeEventListener("abort",s)}),o.send(void 0===r._bodyInit?null:r._bodyInit)}))}ge.polyfill=!0,K.fetch||(K.fetch=ge,K.Headers=oe,K.Request=me,K.Response=he),self.fetch.bind(self);var ve=function(e,t){return ve=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},ve(e,t)};function be(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}ve(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}function Le(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function we(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var n,r,o=i.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){r={error:e}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return s}function Te(e,t,i){if(i||2===arguments.length)for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}function Ee(e){return"function"==typeof e}function Se(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var xe=Se((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function Ae(e,t){if(e){var i=e.indexOf(t);0<=i&&e.splice(i,1)}}var Pe=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,i,n,r;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Le(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);var l=this.initialTeardown;if(Ee(l))try{l()}catch(e){r=e instanceof xe?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=Le(u),p=c.next();!p.done;p=c.next()){var m=p.value;try{Ce(m)}catch(e){r=null!=r?r:[],e instanceof xe?r=Te(Te([],we(r)),we(e.errors)):r.push(e)}}}catch(e){i={error:e}}finally{try{p&&!p.done&&(n=c.return)&&n.call(c)}finally{if(i)throw i.error}}}if(r)throw new xe(r)}},e.prototype.add=function(t){var i;if(t&&t!==this)if(this.closed)Ce(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(i=this._finalizers)&&void 0!==i?i:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ae(t,e)},e.prototype.remove=function(t){var i=this._finalizers;i&&Ae(i,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),_e=Pe.EMPTY;function ke(e){return e instanceof Pe||e&&"closed"in e&&Ee(e.remove)&&Ee(e.add)&&Ee(e.unsubscribe)}function Ce(e){Ee(e)?e():e.unsubscribe()}var Be={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},De={setTimeout:function(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];var r=De.delegate;return(null==r?void 0:r.setTimeout)?r.setTimeout.apply(r,Te([e,t],we(i))):setTimeout.apply(void 0,Te([e,t],we(i)))},clearTimeout:function(e){var t=De.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ie(){}var $e=null;function Me(e){if(Be.useDeprecatedSynchronousErrorHandling){var t=!$e;if(t&&($e={errorThrown:!1,error:null}),e(),t){var i=$e,n=i.errorThrown,r=i.error;if($e=null,n)throw r}}else e()}var Oe=function(e){function t(t){var i=e.call(this)||this;return i.isStopped=!1,t?(i.destination=t,ke(t)&&t.add(i)):i.destination=Fe,i}return be(t,e),t.create=function(e,t,i){return new Re(e,t,i)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Pe),je=Function.prototype.bind;function He(e,t){return je.call(e,t)}var Ne=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Ue(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ue(e)}else Ue(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ue(e)}},e}(),Re=function(e){function t(t,i,n){var r,o,s=e.call(this)||this;Ee(t)||!t?r={next:null!=t?t:void 0,error:null!=i?i:void 0,complete:null!=n?n:void 0}:s&&Be.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},r={next:t.next&&He(t.next,o),error:t.error&&He(t.error,o),complete:t.complete&&He(t.complete,o)}):r=t;return s.destination=new Ne(r),s}return be(t,e),t}(Oe);function Ue(e){var t;t=e,De.setTimeout((function(){throw t}))}var Fe={closed:!0,next:Ie,error:function(e){throw e},complete:Ie},ze="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ge(e){return e}var Ve=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var i=new e;return i.source=this,i.operator=t,i},e.prototype.subscribe=function(e,t,i){var n,r=this,o=(n=e)&&n instanceof Oe||function(e){return e&&Ee(e.next)&&Ee(e.error)&&Ee(e.complete)}(n)&&ke(n)?e:new Re(e,t,i);return Me((function(){var e=r,t=e.operator,i=e.source;o.add(t?t.call(o,i):i?r._subscribe(o):r._trySubscribe(o))})),o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var i=this;return new(t=We(t))((function(t,n){var r=new Re({next:function(t){try{e(t)}catch(e){n(e),r.unsubscribe()}},error:n,complete:t});i.subscribe(r)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[ze]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return(0===(e=t).length?Ge:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=We(e))((function(e,i){var n;t.subscribe((function(e){return n=e}),(function(e){return i(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function We(e){var t;return null!==(t=null!=e?e:Be.Promise)&&void 0!==t?t:Promise}var qe=Se((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ke=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return be(t,e),t.prototype.lift=function(e){var t=new Xe(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new qe},t.prototype.next=function(e){var t=this;Me((function(){var i,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var r=Le(t.currentObservers),o=r.next();!o.done;o=r.next()){o.value.next(e)}}catch(e){i={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}}}))},t.prototype.error=function(e){var t=this;Me((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var i=t.observers;i.length;)i.shift().error(e)}}))},t.prototype.complete=function(){var e=this;Me((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,i=this,n=i.hasError,r=i.isStopped,o=i.observers;return n||r?_e:(this.currentObservers=null,o.push(e),new Pe((function(){t.currentObservers=null,Ae(o,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,i=t.hasError,n=t.thrownError,r=t.isStopped;i?e.error(n):r&&e.complete()},t.prototype.asObservable=function(){var e=new Ve;return e.source=this,e},t.create=function(e,t){return new Xe(e,t)},t}(Ve),Xe=function(e){function t(t,i){var n=e.call(this)||this;return n.destination=t,n.source=i,n}return be(t,e),t.prototype.next=function(e){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,e)},t.prototype.error=function(e){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==i?i:_e},t}(Ke),Ye={now:function(){return(Ye.delegate||Date).now()},delegate:void 0},Ze=function(e){function t(t,i,n){void 0===t&&(t=1/0),void 0===i&&(i=1/0),void 0===n&&(n=Ye);var r=e.call(this)||this;return r._bufferSize=t,r._windowTime=i,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=i===1/0,r._bufferSize=Math.max(1,t),r._windowTime=Math.max(1,i),r}return be(t,e),t.prototype.next=function(t){var i=this,n=i.isStopped,r=i._buffer,o=i._infiniteTimeWindow,s=i._timestampProvider,a=i._windowTime;n||(r.push(t),!o&&r.push(s.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),i=this._infiniteTimeWindow,n=this._buffer.slice(),r=0;r<n.length&&!e.closed;r+=i?1:2)e.next(n[r]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,i=e._timestampProvider,n=e._buffer,r=e._infiniteTimeWindow,o=(r?1:2)*t;if(t<1/0&&o<n.length&&n.splice(0,n.length-o),!r){for(var s=i.now(),a=0,l=1;l<n.length&&n[l]<=s;l+=2)a=l;a&&n.splice(0,a+1)}},t}(Ke);let Je=[],Qe={};const et=[];function tt(t,i=e){let n;const r=new Set;function s(e){if(o(t,e)&&(t=e,n)){const e=!et.length;for(const e of r)e[1](),et.push(e,t);if(e){for(let e=0;e<et.length;e+=2)et[e][0](et[e+1]);et.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const l=[o,a];return r.add(l),1===r.size&&(n=i(s)||e),o(t),()=>{r.delete(l),0===r.size&&n&&(n(),n=null)}}}}function it(t,i,o){const a=!Array.isArray(t),l=a?[t]:t,u=i.length<2;return c=t=>{let o=!1;const c=[];let p=0,m=e;const d=()=>{if(p)return;m();const n=i(a?c[0]:c,t);u?t(n):m=r(n)?n:e},h=l.map(((e,t)=>s(e,(e=>{c[t]=e,p&=~(1<<t),o&&d()}),(()=>{p|=1<<t}))));return o=!0,d(),function(){n(h),m(),o=!1}},{subscribe:tt(o,c).subscribe};var c}var nt=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===rt}(e)}(e)};var rt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function ot(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ct((i=e,Array.isArray(i)?[]:{}),e,t):e;var i}function st(e,t,i){return e.concat(t).map((function(e){return ot(e,i)}))}function at(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function lt(e,t){try{return t in e}catch(e){return!1}}function ut(e,t,i){var n={};return i.isMergeableObject(e)&&at(e).forEach((function(t){n[t]=ot(e[t],i)})),at(t).forEach((function(r){(function(e,t){return lt(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,r)||(lt(e,r)&&i.isMergeableObject(t[r])?n[r]=function(e,t){if(!t.customMerge)return ct;var i=t.customMerge(e);return"function"==typeof i?i:ct}(r,i)(e[r],t[r],i):n[r]=ot(t[r],i))})),n}function ct(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||st,i.isMergeableObject=i.isMergeableObject||nt,i.cloneUnlessOtherwiseSpecified=ot;var n=Array.isArray(t);return n===Array.isArray(e)?n?i.arrayMerge(e,t,i):ut(e,t,i):ot(t,i)}ct.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,i){return ct(e,i,t)}),{})};var pt=ct,mt=function(e,t){return mt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},mt(e,t)};function dt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}mt(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var ht,ft,yt,gt=function(){return gt=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},gt.apply(this,arguments)};function vt(e,t,i){if(i||2===arguments.length)for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}function bt(e){return e.type===ft.literal}function Lt(e){return e.type===ft.argument}function wt(e){return e.type===ft.number}function Tt(e){return e.type===ft.date}function Et(e){return e.type===ft.time}function St(e){return e.type===ft.select}function xt(e){return e.type===ft.plural}function At(e){return e.type===ft.pound}function Pt(e){return e.type===ft.tag}function _t(e){return!(!e||"object"!=typeof e||e.type!==yt.number)}function kt(e){return!(!e||"object"!=typeof e||e.type!==yt.dateTime)}"function"==typeof SuppressedError&&SuppressedError,function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(ht||(ht={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(ft||(ft={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(yt||(yt={}));var Ct=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Bt=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Dt(e){var t={};return e.replace(Bt,(function(e){var i=e.length;switch(e[0]){case"G":t.era=4===i?"long":5===i?"narrow":"short";break;case"y":t.year=2===i?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===i?"short":5===i?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][i-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][i-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][i-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][i-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][i-1];break;case"s":t.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=i<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var It=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var $t=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Mt=/^(@+)?(\+|#+)?[rs]?$/g,Ot=/(\*)(0+)|(#+)(0+)|(0+)/g,jt=/^(0+)$/;function Ht(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Mt,(function(e,i,n){return"string"!=typeof n?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):"+"===n?t.minimumSignificantDigits=i.length:"#"===i[0]?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+("string"==typeof n?n.length:0)),""})),t}function Nt(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Rt(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var i=e.slice(0,2);if("+!"===i?(t.signDisplay="always",e=e.slice(2)):"+?"===i&&(t.signDisplay="exceptZero",e=e.slice(2)),!jt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ut(e){var t=Nt(e);return t||{}}function Ft(e){for(var t={},i=0,n=e;i<n.length;i++){var r=n[i];switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=gt(gt(gt({},t),{notation:"scientific"}),r.options.reduce((function(e,t){return gt(gt({},e),Ut(t))}),{}));continue;case"engineering":t=gt(gt(gt({},t),{notation:"engineering"}),r.options.reduce((function(e,t){return gt(gt({},e),Ut(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"integer-width":if(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(Ot,(function(e,i,n,r,o,s){if(i)t.minimumIntegerDigits=n.length;else{if(r&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(jt.test(r.stem))t.minimumIntegerDigits=r.stem.length;else if($t.test(r.stem)){if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace($t,(function(e,i,n,r,o,s){return"*"===n?t.minimumFractionDigits=i.length:r&&"#"===r[0]?t.maximumFractionDigits=r.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length),""}));var o=r.options[0];"w"===o?t=gt(gt({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=gt(gt({},t),Ht(o)))}else if(Mt.test(r.stem))t=gt(gt({},t),Ht(r.stem));else{var s=Nt(r.stem);s&&(t=gt(gt({},t),s));var a=Rt(r.stem);a&&(t=gt(gt({},t),a))}}return t}var zt,Gt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function Vt(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var i,n=e.language;return"root"!==n&&(i=e.maximize().region),(Gt[i||""]||Gt[n||""]||Gt["".concat(n,"-001")]||Gt["001"])[0]}var Wt=new RegExp("^".concat(Ct.source,"*")),qt=new RegExp("".concat(Ct.source,"*$"));function Kt(e,t){return{start:e,end:t}}var Xt=!!String.prototype.startsWith,Yt=!!String.fromCodePoint,Zt=!!Object.fromEntries,Jt=!!String.prototype.codePointAt,Qt=!!String.prototype.trimStart,ei=!!String.prototype.trimEnd,ti=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ii=!0;try{ii="a"===(null===(zt=ci("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===zt?void 0:zt[0])}catch(e){ii=!1}var ni,ri=Xt?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},oi=Yt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,n="",r=e.length,o=0;r>o;){if((i=e[o++])>1114111)throw RangeError(i+" is not a valid code point");n+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return n},si=Zt?Object.fromEntries:function(e){for(var t={},i=0,n=e;i<n.length;i++){var r=n[i],o=r[0],s=r[1];t[o]=s}return t},ai=Jt?function(e,t){return e.codePointAt(t)}:function(e,t){var i=e.length;if(!(t<0||t>=i)){var n,r=e.charCodeAt(t);return r<55296||r>56319||t+1===i||(n=e.charCodeAt(t+1))<56320||n>57343?r:n-56320+(r-55296<<10)+65536}},li=Qt?function(e){return e.trimStart()}:function(e){return e.replace(Wt,"")},ui=ei?function(e){return e.trimEnd()}:function(e){return e.replace(qt,"")};function ci(e,t){return new RegExp(e,t)}if(ii){var pi=ci("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ni=function(e,t){var i;return pi.lastIndex=t,null!==(i=pi.exec(e)[1])&&void 0!==i?i:""}}else ni=function(e,t){for(var i=[];;){var n=ai(e,t);if(void 0===n||hi(n)||fi(n))break;i.push(n),t+=n>=65536?2:1}return oi.apply(void 0,i)};var mi=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,i){for(var n=[];!this.isEOF();){var r=this.char();if(123===r){if((o=this.parseArgument(e,i)).err)return o;n.push(o.val)}else{if(125===r&&e>0)break;if(35!==r||"plural"!==t&&"selectordinal"!==t){if(60===r&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(ht.UNMATCHED_CLOSING_TAG,Kt(this.clonePosition(),this.clonePosition()))}if(60===r&&!this.ignoreTag&&di(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{var s=this.clonePosition();this.bump(),n.push({type:ft.pound,location:Kt(s,this.clonePosition())})}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var i=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ft.literal,value:"<".concat(n,"/>"),location:Kt(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(e+1,t,!0);if(r.err)return r;var o=r.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!di(this.char()))return this.error(ht.INVALID_TAG,Kt(s,this.clonePosition()));var a=this.clonePosition();return n!==this.parseTagName()?this.error(ht.UNMATCHED_CLOSING_TAG,Kt(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ft.tag,value:n,children:o,location:Kt(i,this.clonePosition())},err:null}:this.error(ht.INVALID_TAG,Kt(s,this.clonePosition())))}return this.error(ht.UNCLOSED_TAG,Kt(i,this.clonePosition()))}return this.error(ht.INVALID_TAG,Kt(i,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),n="";;){var r=this.tryParseQuote(t);if(r)n+=r;else{var o=this.tryParseUnquoted(e,t);if(o)n+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;n+=s}}}var a=Kt(i,this.clonePosition());return{val:{type:ft.literal,value:n,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(di(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(39===i){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(i);this.bump()}return oi.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var i=this.char();return 60===i||123===i||35===i&&("plural"===t||"selectordinal"===t)||125===i&&e>0?null:(this.bump(),oi(i))},e.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ht.EXPECT_ARGUMENT_CLOSING_BRACE,Kt(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(ht.EMPTY_ARGUMENT,Kt(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(ht.MALFORMED_ARGUMENT,Kt(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ht.EXPECT_ARGUMENT_CLOSING_BRACE,Kt(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ft.argument,value:n,location:Kt(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ht.EXPECT_ARGUMENT_CLOSING_BRACE,Kt(i,this.clonePosition())):this.parseArgumentOptions(e,t,n,i);default:return this.error(ht.MALFORMED_ARGUMENT,Kt(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=ni(this.message,t),n=t+i.length;return this.bumpTo(n),{value:i,location:Kt(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,i,n){var r,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(ht.EXPECT_ARGUMENT_TYPE,Kt(o,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((g=this.parseSimpleArgStyleIfPossible()).err)return g;if(0===(d=ui(g.val)).length)return this.error(ht.EXPECT_ARGUMENT_STYLE,Kt(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:Kt(u,this.clonePosition())}}if((v=this.tryParseArgumentClose(n)).err)return v;var c=Kt(n,this.clonePosition());if(l&&ri(null==l?void 0:l.style,"::",0)){var p=li(l.style.slice(2));if("number"===s)return(g=this.parseNumberSkeletonFromString(p,l.styleLocation)).err?g:{val:{type:ft.number,value:i,location:c,style:g.val},err:null};if(0===p.length)return this.error(ht.EXPECT_DATE_TIME_SKELETON,c);var m=p;this.locale&&(m=function(e,t){for(var i="",n=0;n<e.length;n++){var r=e.charAt(n);if("j"===r){for(var o=0;n+1<e.length&&e.charAt(n+1)===r;)o++,n++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=Vt(t);for("H"!=l&&"k"!=l||(a=0);a-- >0;)i+="a";for(;s-- >0;)i=l+i}else i+="J"===r?"H":r}return i}(p,this.locale));var d={type:yt.dateTime,pattern:m,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Dt(m):{}};return{val:{type:"date"===s?ft.date:ft.time,value:i,location:c,style:d},err:null}}return{val:{type:"number"===s?ft.number:"date"===s?ft.date:ft.time,value:i,location:c,style:null!==(r=null==l?void 0:l.style)&&void 0!==r?r:null},err:null};case"plural":case"selectordinal":case"select":var h=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ht.EXPECT_SELECT_ARGUMENT_OPTIONS,Kt(h,gt({},h)));this.bumpSpace();var f=this.parseIdentifierIfPossible(),y=0;if("select"!==s&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(ht.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Kt(this.clonePosition(),this.clonePosition()));var g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(ht.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ht.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),f=this.parseIdentifierIfPossible(),y=g.val}var v,b=this.tryParsePluralOrSelectOptions(e,s,t,f);if(b.err)return b;if((v=this.tryParseArgumentClose(n)).err)return v;var L=Kt(n,this.clonePosition());return"select"===s?{val:{type:ft.select,value:i,options:si(b.val),location:L},err:null}:{val:{type:ft.plural,value:i,options:si(b.val),offset:y,pluralType:"plural"===s?"cardinal":"ordinal",location:L},err:null};default:return this.error(ht.INVALID_ARGUMENT_TYPE,Kt(o,a))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(ht.EXPECT_ARGUMENT_CLOSING_BRACE,Kt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ht.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Kt(i,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var i=[];try{i=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],i=0,n=e.split(It).filter((function(e){return e.length>0}));i<n.length;i++){var r=n[i].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var o=r[0],s=r.slice(1),a=0,l=s;a<l.length;a++)if(0===l[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:s})}return t}(e)}catch(e){return this.error(ht.INVALID_NUMBER_SKELETON,t)}return{val:{type:yt.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?Ft(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,i,n){for(var r,o=!1,s=[],a=new Set,l=n.value,u=n.location;;){if(0===l.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var p=this.tryParseDecimalInteger(ht.EXPECT_PLURAL_ARGUMENT_SELECTOR,ht.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;u=Kt(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}if(a.has(l))return this.error("select"===t?ht.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ht.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(o=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ht.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ht.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Kt(this.clonePosition(),this.clonePosition()));var d=this.parseMessage(e+1,t,i);if(d.err)return d;var h=this.tryParseArgumentClose(m);if(h.err)return h;s.push([l,{value:d.val,location:Kt(m,this.clonePosition())}]),a.add(l),this.bumpSpace(),l=(r=this.parseIdentifierIfPossible()).value,u=r.location}return 0===s.length?this.error("select"===t?ht.EXPECT_SELECT_ARGUMENT_SELECTOR:ht.EXPECT_PLURAL_ARGUMENT_SELECTOR,Kt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(ht.MISSING_OTHER_CLAUSE,Kt(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var r=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;r=!0,o=10*o+(s-48),this.bump()}var a=Kt(n,this.clonePosition());return r?ti(o*=i)?{val:o,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=ai(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(ri(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),i=this.message.indexOf(e,t);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&hi(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),i=this.message.charCodeAt(t+(e>=65536?2:1));return null!=i?i:null},e}();function di(e){return e>=97&&e<=122||e>=65&&e<=90}function hi(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function fi(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function yi(e){e.forEach((function(e){if(delete e.location,St(e)||xt(e))for(var t in e.options)delete e.options[t].location,yi(e.options[t].value);else wt(e)&&_t(e.style)||(Tt(e)||Et(e))&&kt(e.style)?delete e.style.location:Pt(e)&&yi(e.children)}))}function gi(e,t){void 0===t&&(t={}),t=gt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new mi(e,t).parse();if(i.err){var n=SyntaxError(ht[i.err.kind]);throw n.location=i.err.location,n.originalMessage=i.err.message,n}return(null==t?void 0:t.captureLocation)||yi(i.val),i.val}function vi(e,t){var i=t&&t.cache?t.cache:Ai,n=t&&t.serializer?t.serializer:Ei;return(t&&t.strategy?t.strategy:Ti)(e,{cache:i,serializer:n})}function bi(e,t,i,n){var r,o=null==(r=n)||"number"==typeof r||"boolean"==typeof r?n:i(n),s=t.get(o);return void 0===s&&(s=e.call(this,n),t.set(o,s)),s}function Li(e,t,i){var n=Array.prototype.slice.call(arguments,3),r=i(n),o=t.get(r);return void 0===o&&(o=e.apply(this,n),t.set(r,o)),o}function wi(e,t,i,n,r){return i.bind(t,e,n,r)}function Ti(e,t){return wi(e,this,1===e.length?bi:Li,t.cache.create(),t.serializer)}var Ei=function(){return JSON.stringify(arguments)};function Si(){this.cache=Object.create(null)}Si.prototype.get=function(e){return this.cache[e]},Si.prototype.set=function(e,t){this.cache[e]=t};var xi,Ai={create:function(){return new Si}},Pi={variadic:function(e,t){return wi(e,this,Li,t.cache.create(),t.serializer)},monadic:function(e,t){return wi(e,this,bi,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(xi||(xi={}));var _i,ki=function(e){function t(t,i,n){var r=e.call(this,t)||this;return r.code=i,r.originalMessage=n,r}return dt(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ci=function(e){function t(t,i,n,r){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(i,'". Options are "').concat(Object.keys(n).join('", "'),'"'),xi.INVALID_VALUE,r)||this}return dt(t,e),t}(ki),Bi=function(e){function t(t,i,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(i),xi.INVALID_VALUE,n)||this}return dt(t,e),t}(ki),Di=function(e){function t(t,i){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(i,'"'),xi.MISSING_VALUE,i)||this}return dt(t,e),t}(ki);function Ii(e){return"function"==typeof e}function $i(e,t,i,n,r,o,s){if(1===e.length&&bt(e[0]))return[{type:_i.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(bt(c))a.push({type:_i.literal,value:c.value});else if(At(c))"number"==typeof o&&a.push({type:_i.literal,value:i.getNumberFormat(t).format(o)});else{var p=c.value;if(!r||!(p in r))throw new Di(p,s);var m=r[p];if(Lt(c))m&&"string"!=typeof m&&"number"!=typeof m||(m="string"==typeof m||"number"==typeof m?String(m):""),a.push({type:"string"==typeof m?_i.literal:_i.object,value:m});else if(Tt(c)){var d="string"==typeof c.style?n.date[c.style]:kt(c.style)?c.style.parsedOptions:void 0;a.push({type:_i.literal,value:i.getDateTimeFormat(t,d).format(m)})}else if(Et(c)){d="string"==typeof c.style?n.time[c.style]:kt(c.style)?c.style.parsedOptions:n.time.medium;a.push({type:_i.literal,value:i.getDateTimeFormat(t,d).format(m)})}else if(wt(c)){(d="string"==typeof c.style?n.number[c.style]:_t(c.style)?c.style.parsedOptions:void 0)&&d.scale&&(m*=d.scale||1),a.push({type:_i.literal,value:i.getNumberFormat(t,d).format(m)})}else{if(Pt(c)){var h=c.children,f=c.value,y=r[f];if(!Ii(y))throw new Bi(f,"function",s);var g=y($i(h,t,i,n,r,o).map((function(e){return e.value})));Array.isArray(g)||(g=[g]),a.push.apply(a,g.map((function(e){return{type:"string"==typeof e?_i.literal:_i.object,value:e}})))}if(St(c)){if(!(v=c.options[m]||c.options.other))throw new Ci(c.value,m,Object.keys(c.options),s);a.push.apply(a,$i(v.value,t,i,n,r))}else if(xt(c)){var v;if(!(v=c.options["=".concat(m)])){if(!Intl.PluralRules)throw new ki('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',xi.MISSING_INTL_API,s);var b=i.getPluralRules(t,{type:c.pluralType}).select(m-(c.offset||0));v=c.options[b]||c.options.other}if(!v)throw new Ci(c.value,m,Object.keys(c.options),s);a.push.apply(a,$i(v.value,t,i,n,r,m-(c.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var i=e[e.length-1];return i&&i.type===_i.literal&&t.type===_i.literal?i.value+=t.value:e.push(t),e}),[])}(a)}function Mi(e,t){return t?Object.keys(e).reduce((function(i,n){var r,o;return i[n]=(r=e[n],(o=t[n])?gt(gt(gt({},r||{}),o||{}),Object.keys(r).reduce((function(e,t){return e[t]=gt(gt({},r[t]),o[t]||{}),e}),{})):r),i}),gt({},e)):e}function Oi(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(_i||(_i={}));var ji=function(){function e(t,i,n,r){var o,s=this;if(void 0===i&&(i=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);if(1===t.length)return t[0].value;var i=t.reduce((function(e,t){return e.length&&t.type===_i.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return i.length<=1?i[0]||"":i},this.formatToParts=function(e){return $i(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==r?void 0:r.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Mi(e.formats,n),this.formatters=r&&r.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:vi((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,vt([void 0],t,!1)))}),{cache:Oi(o.number),strategy:Pi.variadic}),getDateTimeFormat:vi((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,vt([void 0],t,!1)))}),{cache:Oi(o.dateTime),strategy:Pi.variadic}),getPluralRules:vi((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,vt([void 0],t,!1)))}),{cache:Oi(o.pluralRules),strategy:Pi.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=gi,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},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"}}},e}();const Hi={},Ni=(e,t,i)=>i?(t in Hi||(Hi[t]={}),e in Hi[t]||(Hi[t][e]=i),i):i,Ri=(e,t)=>{if(null==t)return;if(t in Hi&&e in Hi[t])return Hi[t][e];const i=mn(t);for(let n=0;n<i.length;n++){const r=Gi(i[n],e);if(r)return Ni(e,t,r)}};let Ui;const Fi=tt({});function zi(e){return e in Ui}function Gi(e,t){if(!zi(e))return null;const i=function(e){return Ui[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const i=t.split(".");let n=e;for(let e=0;e<i.length;e++)if("object"==typeof n){if(e>0){const t=i.slice(e,i.length).join(".");if(t in n){n=n[t];break}}n=n[i[e]]}else n=void 0;return n}(i,t)}function Vi(e,...t){delete Hi[e],Fi.update((i=>(i[e]=pt.all([i[e]||{},...t]),i)))}it([Fi],(([e])=>Object.keys(e))),Fi.subscribe((e=>Ui=e));const Wi={};function qi(e){return Wi[e]}function Ki(e){return null!=e&&mn(e).some((e=>{var t;return null==(t=qi(e))?void 0:t.size}))}function Xi(e,t){const i=Promise.all(t.map((t=>(function(e,t){Wi[e].delete(t),0===Wi[e].size&&delete Wi[e]}(e,t),t().then((e=>e.default||e))))));return i.then((t=>Vi(e,...t)))}const Yi={};function Zi(e){if(!Ki(e))return e in Yi?Yi[e]:Promise.resolve();const t=function(e){return mn(e).map((e=>{const t=qi(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Yi[e]=Promise.all(t.map((([e,t])=>Xi(e,t)))).then((()=>{if(Ki(e))return Zi(e);delete Yi[e]})),Yi[e]}const Ji={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 Qi(){return Ji}const en=tt(!1);var tn=Object.defineProperty,nn=Object.defineProperties,rn=Object.getOwnPropertyDescriptors,on=Object.getOwnPropertySymbols,sn=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,ln=(e,t,i)=>t in e?tn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;let un;const cn=tt(null);function pn(e){return e.split("-").map(((e,t,i)=>i.slice(0,t+1).join("-"))).reverse()}function mn(e,t=Qi().fallbackLocale){const i=pn(e);return t?[...new Set([...i,...pn(t)])]:i}function dn(){return null!=un?un:void 0}cn.subscribe((e=>{un=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const hn=(fn=((e,t)=>{for(var i in t||(t={}))sn.call(t,i)&&ln(e,i,t[i]);if(on)for(var i of on(t))an.call(t,i)&&ln(e,i,t[i]);return e})({},cn),nn(fn,rn({set:e=>{if(e&&function(e){if(null==e)return;const t=mn(e);for(let e=0;e<t.length;e++){const i=t[e];if(zi(i))return i}}(e)&&Ki(e)){const{loadingDelay:t}=Qi();let i;return"undefined"!=typeof window&&null!=dn()&&t?i=window.setTimeout((()=>en.set(!0)),t):en.set(!0),Zi(e).then((()=>{cn.set(e)})).finally((()=>{clearTimeout(i),en.set(!1)}))}return cn.set(e)}})));var fn;const yn=e=>{const t=Object.create(null);return i=>{const n=JSON.stringify(i);return n in t?t[n]:t[n]=e(i)}};var gn=Object.defineProperty,vn=Object.getOwnPropertySymbols,bn=Object.prototype.hasOwnProperty,Ln=Object.prototype.propertyIsEnumerable,wn=(e,t,i)=>t in e?gn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Tn=(e,t)=>{for(var i in t||(t={}))bn.call(t,i)&&wn(e,i,t[i]);if(vn)for(var i of vn(t))Ln.call(t,i)&&wn(e,i,t[i]);return e},En=(e,t)=>{var i={};for(var n in e)bn.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&vn)for(var n of vn(e))t.indexOf(n)<0&&Ln.call(e,n)&&(i[n]=e[n]);return i};const Sn=(e,t)=>{const{formats:i}=Qi();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},xn=yn((e=>{var t=e,{locale:i,format:n}=t,r=En(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=Sn("number",n)),new Intl.NumberFormat(i,r)})),An=yn((e=>{var t=e,{locale:i,format:n}=t,r=En(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=Sn("date",n):0===Object.keys(r).length&&(r=Sn("date","short")),new Intl.DateTimeFormat(i,r)})),Pn=yn((e=>{var t=e,{locale:i,format:n}=t,r=En(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=Sn("time",n):0===Object.keys(r).length&&(r=Sn("time","short")),new Intl.DateTimeFormat(i,r)})),_n=yn(((e,t=dn())=>new ji(e,t,Qi().formats,{ignoreTag:Qi().ignoreTag}))),kn=(e,t={})=>{var i,n,r,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=dn(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ri(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" 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!=(r=null==(n=(i=Qi()).handleMissingMessage)?void 0:n.call(i,{locale:l,id:e,defaultValue:u}))?r:u)?o:e;if(!a)return c;let p=c;try{p=_n(c,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return p},Cn=(e,t)=>((e={})=>{var t=e,{locale:i=dn()}=t,n=En(t,["locale"]);return Pn(Tn({locale:i},n))})(t).format(e),Bn=(e,t)=>((e={})=>{var t=e,{locale:i=dn()}=t,n=En(t,["locale"]);return An(Tn({locale:i},n))})(t).format(e),Dn=(e,t)=>((e={})=>{var t=e,{locale:i=dn()}=t,n=En(t,["locale"]);return xn(Tn({locale:i},n))})(t).format(e),In=(e,t=dn())=>Ri(e,t),$n=it([hn,Fi],(()=>kn));it([hn],(()=>Cn)),it([hn],(()=>Bn)),it([hn],(()=>Dn)),it([hn,Fi],(()=>In)),window.emWidgets={topic:(e,t=0)=>{if(-1==Je.indexOf(e)){let i=new Ze(t);Qe[e]=i,Je.push(e)}return Qe[e]}};const Mn=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));const On={en:{title:"Limits"},"zh-hk":{title:"Limits"},fr:{title:"Limits"},ro:{title:"Limits"},es:{title:"Limits"},pt:{title:"Limits"},hr:{title:"Ograničenja"},"pt-br":{title:"Limites"},"es-mx":{title:"Límites"},tr:{title:"Sınırlar"}},jn={lugas:{title:"Deposit Limit",value:"lugas",callValue:"lugasLimit",callValue16:"Lugas"},deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",callValue16:"Deposit"},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",callValue16:"Loss"},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",callValue16:"Wagering"},stake:{title:"Stake Limit",value:"stake",callValue:"maxStake",callValue16:"MaxStake"},sessionLimit:{title:"Single Session Time Limit",value:"sessionLimit",callValue:"sessionLimits",callValue16:"sessionLimit"},cumulativeSession:{title:"Cumulative Session Time Limit",value:"cumulativeSession",callValue:"cumulativeSessionLimits",callValue16:"cumulativeSession"}};function Hn(e,t){Vi(e,t)}const Nn={en:{loadingText:"Loading, please wait...",Monthly:"per month",Weekly:"per week",Daily:"per day",newPeriodLimit:"New monthly limit",adjectiveMonthly:"monthly",adjectiveWeekly:"weekly",adjectiveDaily:"daily",None:"",noPeriod:".",per:"per",updateText:"will be applied on",removedLimitText:"The limit will be removed on",noLimitText:"There is currently no limit set.",lugasPrivacy:"The cross-provider LUGAS limit is not visible to providers.",limitType:"Limit Type",period:"Period",amount:"Amount",minutes:"minutes",setLimit:"SET LIMIT",loss:"Loss Limit",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",deposit:"Deposit Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",wager:"Wager Limit",stake:"Stake Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugas:"Current Deposit Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",wagerCasino:"Slots Limit",wagerSports:"Stake Limit",sessionLimit:"Single Session Time Limit",sessionLimitUpdated:"Session limit updated successfully.",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",popupPendingUpdate:"We have received the request to change the limit. Please be aware that the update will only come into effect on",popupImmediateUpdate:"Your new {selectedLimit} is {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limit changed",popupSuccess:"Successful",popupError:"Es ist ein Fehler aufgetreten.",popupUpdateLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",popupRemoveLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",notFoundException:"Limit does not exist",popup3:"Thank you! \n We have transmited your desired limit to Lugas \n Please be aware that the limit will only come into effect after 8 days at the latest.",popup2_a:"We were able to set your monthly deposit limit to",popup2_b:". 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.",kycNeeded2:". 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.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",invalidInputMessageLimitMin:"The value entered must be higher than {minValue} {currency}.",invalidInputMessageLimitMax:"The value entered must be less than {maxValue} {currency}.",unableToUpdatePendingRequest:"We were unable to update your limit because another update is already pending. Please try again after the current update is applied.",internalServerError:"Unfortunately, there was an error setting your LUGAS limit. Please try again or contact our customer support at <a href='mailto:support.de@bet-at-home.com' target='_blank'>support.de@bet-at-home.com</a>.",docsRequired:"Documents required!",okButton:"OK",complianceText:"As an authorized operator, it applies the necessary limits imposed by the government"},de:{loadingText:"Lädt ...",Monthly:"pro Monat",Weekly:"pro Woche",Daily:"pro Tag",newPeriodLimit:"New monthly limit",adjectiveMonthly:"Monatlich",adjectiveWeekly:"Wöchentlich",adjectiveDaily:"Täglich",None:"",noPeriod:".",per:"pro",updateText:"Anwendung am",removedLimitText:"Entfernung des Limits am",noLimitText:"Derzeit ist kein Limit gesetzt.",lugasPrivacy:"Das anbieterübergreifende LUGAS-Limit ist für Anbieter nicht einsehbar.",limitType:"Limitart",period:"Zeitraum",amount:"Betrag",minutes:"minute",setLimit:"LIMIT SETZEN",loss:"Verlustlimit",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",deposit:"Einzahlungslimit",wager:"Einsatzlimit",stake:"Einsatzlimit",lugas:"Aktuelles Einzahlungslimit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ENTFERNEN",popupError:"Es ist ein Fehler aufgetreten.",popupPendingUpdate:"Wir haben die Anfrage zur Änderung des Limits erhalten. Bitte beachten Sie, dass die Änderung erst in Kraft tritt am",popupImmediateUpdate:"Ihre neues Limit {selectedLimit} beträgt {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limit geändert!",popupSuccess:"Erfolgreich",popup3:"Vielen Dank! \n Wir haben Ihr gewünschtes Limit an Lugas übermittelt. \n Bitte beachten Sie, dass das Limit spätestens nach 8 Tagen in Kraft tritt.",popup2_a:"We were able to set your monthly deposit limit to",popup2_b:". 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.",kycNeeded2:". 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.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",invalidInputMessageLimitMin:"Der eingegebene Wert muss kleiner sein als. {minValue} {currency}.",invalidInputMessageLimitMax:"Der eingegebene Wert muss höher sein als {maxValue} {currency}.",unableToUpdatePendingRequest:"We were unable to update your limit because another update is already pending. Please try again after the current update is applied.",internalServerError:"Beim Festlegen Ihres LUGAS-Einzahlungslimits ist leider ein Fehler aufgetreten. Bitte versuchen Sie es erneut oder wenden Sie sich an unseren Kundenservice unter <a href='mailto:support.de@bet-at-home.com' target='_blank'>support.de@bet-at-home.com</a>.",docsRequired:"Documents required!",okButton:"OK",complianceText:"As an authorized operator, it applies the necessary limits imposed by the government"},hr:{loadingText:"Učitavanje",Monthly:"mjesečno",Weekly:"tjedno",Daily:"dnevno",newPeriodLimit:"Novi mjesečni limit",adjectiveMonthly:"mjesečno",adjectiveWeekly:"tjedno",adjectiveDaily:"dnevno",None:"Nijedno",noPeriod:"Nijedno",per:"po",updateText:"primjenjivat će se na",removedLimitText:"Ograničenje će biti uklonjeno dana",noLimitText:"Trenutno nije postavljeno ograničenje.",lugasPrivacy:"Ograničenje LUGAS za više pružatelja nije vidljivo pružateljima.",limitType:"Vrsta ograničenja",period:"Razdoblje",amount:"Iznos",minutes:"minute",setLimit:"POSTAVITE OGRANIČENJE",loss:"Ograničenje gubitka",lossAll:"Ograničenje gubitka",lossCasino:"Ograničenje gubitka",lossSports:"Ograničenje gubitka",depositAll:"Ograničenje uplate",depositCasino:"Ograničenje uplate",depositSports:"Ograničenje uplate",stakeAll:"Ograničenje uloga",stakeCasino:"Ograničenje uloga",stakeSports:"Ograničenje uloga",lugasAll:"Trenutno ograničenje uplate",lugasCasino:"Trenutno ograničenje uplate",lugasSports:"Trenutno ograničenje uplate",wagerAll:"Ograničenje igranja",deposit:"Ograničenje uplate",wager:"Ograničenje igranja",stake:"Ograničenje uloga",lugas:"Trenutno ograničenje uplate",sessionLimit:"Vremensko ograničenje jedne sesije",cumulativeSession:"Vremensko ograničenje razdoblja",removeLimit:"OTKAŽI",popupPendingUpdate:"Primili smo zahtjev za promjenu limita. Imajte na umu da će ažuriranje stupiti na snagu tek od",popupImmediateUpdate:"Vaš novi {selectedLimit} je {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Ograničenje promijenjeno",popupSuccess:"Uspješno",popup3:"Hvala vam! \n Vašu željenu granicu smo proslijedili Lugasu.\n Imajte na umu da će granica stupiti na snagu najkasnije nakon 8 dana.",popup2_a:"Uspjeli smo postaviti vaš mjesečno ograničenje uplate na",popup2_b:". Za odabrano ograničenje",kycNeeded2:". Kako bi povećali ograničenje na željeni iznos",uploadDocumentsButton:"UČITAJ DOKUMENTE",closeButton:"ZATVORI",invalidInputMessageLimitMin:"Unesena vrijednost mora biti manja od {minValue} {currency}.",invalidInputMessageLimitMax:"Unesena vrijednost mora biti veća od {maxValue} {currency}.",docsRequired:"Potrebni dokumenti!",okButton:"OK",wagerCasino:"Ograničenje za slotove",wagerSports:"Ograničenje uloga",sessionLimitUpdated:"Ograničenje sesije uspješno je ažurirano.",popupError:"Došlo je do greške.",popupUpdateLimitException:"Postavke samoograničenja možete promijeniti nakon isteka navedenog roka ograničenja.",popupRemoveLimitException:"Postavke samoograničenja možete promijeniti nakon isteka navedenog roka ograničenja.",notFoundException:"Ograničenje ne postoji",complianceText:"Kao ovlašteni operater, primjenjuje potrebna ograničenja koja nameće vlada",unableToUpdatePendingRequest:"Nismo uspjeli ažurirati vaše ograničenje jer je drugo ažuriranje već na čekanju. Molimo pokušajte ponovno nakon primjene trenutnog ažuriranja."},sl:{loadingText:"Nalaga...",Monthly:"na mesec",Weekly:"na teden",Daily:"na dan",newPeriodLimit:"New monthly limit",adjectiveMonthly:"Mesečno",adjectiveWeekly:"Tedensko",adjectiveDaily:"Dnevno",None:"",noPeriod:".",per:"na",updateText:"uporabljeno bo na",removedLimitText:"Limit bo odstranjen",noLimitText:"Trenutno ni določen noben limit.",lugasPrivacy:"Na vse ponudnike vezan limit LUGAS, ponudnikom ni v pogled.",limitType:"Vrsta limita",period:"Časovno obdobje",amount:"Znesek",minutes:"minutes",setLimit:"NASTAVITE LIMIT",loss:"Limit izgube",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",deposit:"Limit vplačila",wager:"Limit igralnih avtomatov",stake:"Limit vložkov",lugas:"Trenuten vplačilni limit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ODSTRANI",popupPendingUpdate:"Prejeli smo prošnjo za spremembo limita. Prosimo upoštevajte, da sprememba začne veljati šele",popupImmediateUpdate:"Vaš novi {selectedLimit} znaša {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limit spremenjen!",popupSuccess:"Uspešno",popup3:"Hvala! \n Vašo želeno omejitev smo prenesli na Lugas. \n Upoštevajte, da bo omejitev začela veljati najpozneje po 8 dneh.",popup2_a:"We were able to set your monthly deposit limit to",popup2_b:". 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.",kycNeeded2:". 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.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",invalidInputMessageLimitMin:"Vrednost, ki jo vnesete, mora biti manjša od {minValue} {currency}.",invalidInputMessageLimitMax:"Vrednost, ki jo vnesete, mora biti višja od {maxValue} {currency}.",docsRequired:"Documents required!",okButton:"OK",complianceText:"As an authorized operator, it applies the necessary limits imposed by the government"},pl:{loadingText:"Ładowanie...",Monthly:"na miesiąc",Weekly:"na tydzień",Daily:"na dzień",newPeriodLimit:"New monthly limit",adjectiveMonthly:"Miesięcznie",adjectiveWeekly:"Tygodniowo",adjectiveDaily:"Codzienny",None:"",noPeriod:".",per:"za",updateText:"Zostanie zastosowany w dniu",removedLimitText:"Limit zostanie usunięty",noLimitText:"Obecnie nie posiadasz limitu.",lugasPrivacy:"Świadczeniodawcy nie widzą wzajemnie ustalonego limitu LUGAS.",limitType:"Rodzaj limitu",period:"Przedział czasowy",amount:"Kwota",minutes:"minutes",setLimit:"USTAW LIMIT",loss:"Limit Strat",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",deposit:"Limit wpłat",wager:"Limit na gre na automatach",stake:"Limit stawek",lugas:"Obecny limit depozytów",sessionLimit:"USUŃ",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",popupPendingUpdate:"Otrzymaliśmy prośbę o zmianę limitu. Informujemy, że aktualizacja wejdzie w życie w dniu",popupImmediateUpdate:"Twój nowy {selectedLimit} jest {aktualizateAmount} {waluta} {selectederiod}",popupTitle:"Limit zmieniony!",popupSuccess:"Zakończone powodzeniem",popup3:"Dziękujemy! \n Przekazaliśmy Twój żądany limit do Lugas. \n Prosimy pamiętać, że limit zacznie obowiązywać najpóźniej po 8 dniach.",popup2_a:"We were able to set your monthly deposit limit to",popup2_b:". 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.",kycNeeded2:". 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.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",invalidInputMessageLimitMin:"Wprowadzona wartość musi być niższa niż {minValue} {currency}.",invalidInputMessageLimitMax:"Wprowadzona wartość musi być wyższa niż {maxValue} {currency}.",docsRequired:"Documents required!",okButton:"OK"},fr:{loadingText:"Chargement, veuillez patienter...",Monthly:"mois",Weekly:"semaine",Daily:"jour",newPeriodLimit:"New monthly limit",per:"par",updateText:"sera appliqué sur",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",noLimitText:"Aucune limite n'est actuellement définie.",limitType:"Limit Type",period:"Period",amount:"Amount",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit",okButton:"OK",invalidInputMessageLimitMin:"The value entered must be less then {minValue} {currency}.",invalidInputMessageLimitMax:"The value entered must be higher than {maxValue} {currency}."},ro:{loadingText:"Se încarcă, va rugam așteptați ...",Monthly:"lunara",Weekly:"saptamanala",Daily:"zilnica",newPeriodLimit:"Noua limita lunară",adjectiveMonthly:"lunara",adjectiveWeekly:"saptamanala",adjectiveDaily:"zilnica",None:"",noPeriod:".",per:"pe",updateText:"se va aplica in",removedLimitText:"Limita va fi anulată in",noLimitText:"Momentan nu exista nicio limita setată.",lugasPrivacy:"The cross-provider LUGAS limit is not visible to providers.",limitType:"Tip limita",period:"Perioada",amount:"Suma",minutes:"minute",setLimit:"SETEAZA LIMITA",loss:"Limita pierdere",lossAll:"Limita pierdere",lossCasino:"Limita pierdere",lossSports:"Limita pierdere",deposit:"Limita depunere",depositAll:"Limita depunere",depositCasino:"Limita depunere",depositSports:"Limita depunere",wager:"Limita pariere",stake:"Limita miza",stakeAll:"Limita miza",stakeCasino:"Limita miza",stakeSports:"Limita miza",lugas:"Limita depunere curenta",lugasAll:"Limita depunere curenta",lugasCasino:"Limita depunere curenta",lugasSports:"Limita depunere curenta",wagerAll:"Limita pariere",wagerCasino:"Limita pariere",wagerSports:"Limita pariere",sessionLimit:"Limita timp pe sesiune",sessionLimitUpdated:"Limita de timp pe sesiune a fost salvata cu succes.",cumulativeSession:"Limita timp cumulata",removeLimit:"ANULEAZA",popupPendingUpdate:"Am primit cererea de modificare a limitei. Va rugam sa rețineri ca actualizarea va intra in vigoare doar in",popupImmediateUpdate:"Noua {selectedLimit} este {updatedAmount} {currency} {selectedPeriod}",popupTitle:"Limita modificata",popupSuccess:"Succes",popupError:"A apărut o eroare.",popup3:"Mulțumim! \n Am transmis limita dorită către Lugas. \n Vă rugăm să fiți conștient că limita va intra în vigoare în cel mult 8 zile.",popup2_a:"Am putut seta limit dvs. lunară de depunere la",popup2_b:". Pentru limita selectata, solicitam documente care sa arate capacitatea dumneavoastră economica. Va rugam sa încărcați ultima fisa de plata, precum si un extras de cont bancar curent, inclusiv soldul, care confirma ca ati primit plata.",kycNeeded2:"Pentru a creste limita la suma dorita, va rugam sa ne furnizați informațiile relevante. Aceste informații pot fi transmise prin încărcarea documentelor.",uploadDocumentsButton:"INCARCA DOCUMENTE",closeButton:"INCHIDE",invalidInputMessageLimit:"Valoarea introdusă trebuie sa fie între {minValue} si {maxValue} {currency}.",unableToUpdatePendingRequest:"Nu am putut sa actualizam limita deoarece o alta actualizare este deja in așteptare. Va rugam încercați din nou după ce actualizarea curenta este aplicată.",docsRequired:"Documente necesare!",okButton:"OK",invalidInputMessageLimitMin:"Valoarea introdusa trebuie sa fie mai mica decat {minValue} {currency}.",invalidInputMessageLimitMax:"Valoarea introdusa trebuie sa fie mai mare decat {maxValue} {currency}."},es:{loadingText:"Cargando",Monthly:"por mes",Weekly:"por semana",Daily:"por día",newPeriodLimit:"New monthly limit",adjectiveMonthly:"mensual",adjectiveWeekly:"semanal",adjectiveDaily:"diario",None:"Ninguno / NA",noPeriod:"Sin periodo",per:"por cada",updateText:"será aplicado en",removedLimitText:"El límite será retirado en",noLimitText:"Actualmente no hay un límite establecido.",lugasPrivacy:"El límite del proveedor-cruzado LUGAS no es visible para los proveedores.",limitType:"Tipo de Límite",period:"Periodo",amount:"Monto",minutes:"minutos",setLimit:"Fijar límite",loss:"Límite de pérdida",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",deposit:"Límite de depósito",wager:"Límite de apuesta",stake:"Límite de apuesta",lugas:"Límite de depósito actual",wagerCasino:"Límite de Tragamonedas",wagerSports:"Límite de apuesta",sessionLimit:"Límite de tiempo en sesión única",sessionLimitUpdated:"Límite de tiempo en sesión única actualizado satisfactoriamente",cumulativeSession:"Límite de tiempo en periodo",removeLimit:"QUITAR / RETIRAR",popupPendingUpdate:"Hemos recibido la solicitud de cambiar el límite. Por favor este al tanto que el cambio solo entrará en efecto en",popupImmediateUpdate:"Tú nuevo {selectedLimit} esta {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Límite cambiado",popupSuccess:"Exitoso",popupError:"Ha ocurrido un error.",kycNotNeeded:"El límite de depósito se ha establecido con éxito. Puede administrar sus límites en cualquier momento en la confirguración de la cuenta.",kycNeeded1:"Pudimos estabelecer tu límite de deposito mensual en",kycNeeded2:"Para aumentar el límite a la cantidad deseada",uploadDocumentsButton:"Subir documentos / Adjuntar documentos",closeButton:"CERRAR",invalidInputMessageLimitMin:"El valor ingresado debe ser menor que {minValue} {currency}.",invalidInputMessageLimitMax:"El valor ingresado debe ser mayor que {maxValue} {currency}.",unableToUpdatePendingRequest:"No pudimos actualizar tu límite porque ya hay otra actualización pendiente. Vuelve a intentarlo después de haberse aplicado la actualización actual.",docsRequired:"Documentos requeridos!",kyc2:"Para el límite seleccionado",okButton:"OK"},pt:{loadingText:"Carregando, por favor espere...",okButton:"OK",invalidInputMessageLimitMin:"The value entered must be less then {minValue} {currency}.",invalidInputMessageLimitMax:"The value entered must be higher than {maxValue} {currency}."},"pt-br":{LoadingText:"Carregando, por favor espere...",Monthly:"Por mês",Weekly:"Semanalmente",Daily:"Por dia",newPeriodLimit:"Novo limite mensal",adjectiveMonthly:"Por mês",adjectiveWeekly:"Semanalmente",adjectiveDaily:"Diário",None:"Nada",noPeriod:"nenhum periodo",per:"per",updateText:"Serão aplicados",removedLimitText:"O limite será removido em",noLimitText:"Atualmente não há limite",lugasPrivacy:"O limite do provedor LUGAS não é visível para outros provedores",limitType:"Tipo de limite",period:"Período",amount:"Quantidade",minutes:"minutos",setLimit:"DEFINIR LIMITE",loss:"Limite de perda",lossAll:"Limite de perda",lossCasino:"Limite de perda",lossSports:"Limite de perda",deposit:"Limite de depósito",depositAll:"Limite de depósito",depositCasino:"Limite de depósito",depositSports:"Limite de depósito",wager:"Limite de apostas",stake:"Limite de Quantidade de Apostas",stakeAll:"Limite de Quantidade de Apostas",stakeCasino:"Limite de Quantidade de Apostas",stakeSports:"Limite de Quantidade de Apostas",lugas:"Limite de depósito atual",lugasAll:"Limite de depósito atual",lugasCasino:"Limite de depósito atual",lugasSports:"Limite de depósito atual",wagerAll:"Limite de valor da aposta",wagerCasino:"Limite de slots",wagerSports:"Limite de valor da aposta",sessionLimit:"Limite de tempo por sessão",sessionLimitUpdated:"Limite de sessão atualizado com sucesso",cumulativeSession:"Limite de tempo por período",removeLimit:"REMOVER",popupPendingUpdate:"Recebemos a solicitação para alterar o limite. Observe que a atualização entrará em vigor em",popupImmediateUpdate:"Seu novo limite selecionado {selectedLimit} é {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limite alterado",popupSuccess:"Operação bem-sucedida",popupError:"ocorreu um erro",popupUpdateLimitException:"Você pode alterar suas configurações de limite automático após o término do período de limite especificado.",popupRemoveLimitException:"Você pode alterar suas configurações de limite automático após o término do período de limite especificado.",notFoundException:"O limite não existe",popup3:"Obrigado! Transmitimos o limite desejado para Lugas",popup2_a:"Conseguimos definir seu limite de depósito mensal para",popup2_b:". Para o limite selecionado,'Exigimos documentação que comprove sua capacidade financeira. Faça upload do seu contracheque mais recente, bem como do seu extrato bancário mais recente.',incluindo o saldo,confirmando que você recebeu o pagamento.,",kycNeeded2:". Para aumentar a quantidade limite desejada, Pedimos que você nos forneça informações relevantes. Essas informações podem ser carregadas em nossa página na seção de upload de arquivos da página.",uploadDocumentsButton:"carregar arquivos",closeButton:"Data",invalidInputMessageLimitMin:"O valor inserido deve ser superior a {minValue} {currency}.",invalidInputMessageLimitMax:"O valor inserido deve ser menor que {maxValue} {currency}.",unableToUpdatePendingRequest:"Não foi possível atualizar seu limite porque já há outra atualização pendente. Tente novamente assim que a atualização pendente for aplicada.",internalServerError:"Infelizmente,' Ocorreu um erro ao definir seu limite LEGAS. Por favor, tente novamente ou entre em contato com nosso suporte ao cliente em <a href='mailto:support.de@bet-at-home.com' target='_blank'>support.de@bet-at-home.com</a>.'",docsRequired:"Documentos requeridos",okButton:"OK",complianceText:"Como operador autorizado, Aplicam-se limites impostos pelo governo."},"es-mx":{LoadingText:"Cargando, por favor espere...",Monthly:"Mensual",Weekly:"Semanal",Daily:"Por día",newPeriodLimit:"Nuevo límite mensual",adjectiveMonthly:"Mensual",adjectiveWeekly:"Semanal",adjectiveDaily:"Diario",None:"Ninguno",noPeriod:"Ningún periodo.",per:"per",updateText:"se aplicará el",removedLimitText:"El límite se removerá el",noLimitText:"No hay límite actualmente",lugasPrivacy:"El límite del proveedor LUGAS no está visible para otros proveedores",limitType:"Tipo de límite",period:"Periodo",amount:"Monto",minutes:"minutos",setLimit:"FIJAR LÍMITE",loss:"Límite de pérdida",lossAll:"Límite de pérdida",lossCasino:"Límite de pérdida",lossSports:"Límite de pérdida",deposit:"Límite de depósito",depositAll:"Límite de depósito",depositCasino:"Límite de depósito",depositSports:"Límite de depósito",wager:"Límite de apuestas",stake:"Límite de monto de apuestas",stakeAll:"Límite de monto de apuestas",stakeCasino:"Límite de monto de apuestas",stakeSports:"Límite de monto de apuestas",lugas:"Límite de depósito actual",lugasAll:"Límite de depósito actual",lugasCasino:"Límite de depósito actual",lugasSports:"Límite de depósito actual",wagerAll:"Límite de monto de apuesta",wagerCasino:"Límite de slots",wagerSports:"Límite de monto de apuesta",sessionLimit:"Límite de tiempo por sesión",sessionLimitUpdated:"Límite de sesión actualizado exitosamente",cumulativeSession:"Límite de tiempo por periodo",removeLimit:"REMOVER",popupPendingUpdate:"Hemos recibido la solicitud para cambiar el límite. Por favor tome en cuenta que la actualización entrara en efecto el",popupImmediateUpdate:"Su nuevo límite seleccionado {selectedLimit} es {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Límite cambiado",popupSuccess:"Operación exitosa",popupError:"Ha ocurrido un error",popupUpdateLimitException:"Puede cambiar sus ajustes de auto-límites una vez que concluya el periodo de límite especificado.",popupRemoveLimitException:"Puede cambiar sus ajustes de auto-límites una vez que concluya el periodo de límite especificado.",notFoundException:"El límite no existe",popup3:"Gracias! Hemos transmitido su límite deseado a Lugas Por favor tome en cuenta que va a entrar en efecto a más tardar después de 8 días.",popup2_a:"Pudimos fijar su límite mensual de depósito a",popup2_b:". Para el límite seleccionado,requerimos documentación para mostrar su capacidad económica. Por favor suba su último talón de pago al igual que su más reciente estado de cuenta bancario. ,incluyendo el balance, que confirme que recibió el pago.,",kycNeeded2:". Para poder incrementar el monto deseado de límite, Le pedimos nos brinde la información relevante. Esta información puede ser cargada a nuestra página en la sección de la página para subir archivos.",uploadDocumentsButton:"subir archivos",closeButton:"CERRAR",invalidInputMessageLimitMin:"El valor ingresado debe ser más alto a {minValue} {currency}.",invalidInputMessageLimitMax:"El valor ingresado debe ser menos {maxValue} {currency}.",unableToUpdatePendingRequest:"No pudimos actualizar su límite porque otra actualización porque ya hay otra actualización pendiente. Por favor intente de nuevo una vez que la actualización pendiente sea aplicada.",internalServerError:"Desafortunadamente, Hubo un error fijando su límite de LUGAS. Por favor intente de nuevo o contacte a nuestro soporte al cliente en <a href='mailto:support.de@bet-at-home.com' target='_blank'>support.de@bet-at-home.com</a>.",docsRequired:"DOCUMENTOS requeridos",okButton:"OK",complianceText:"Como operador autorizado, aplican los límites impuestos por el gobierno."},tr:{loadingText:"Yükleniyor lütfen bekleyin...",Monthly:"her ay",Weekly:"haftada",Daily:"günlük",newPeriodLimit:"Yeni aylık limit",adjectiveMonthly:"aylık",adjectiveWeekly:"haftalık",adjectiveDaily:"günlük",None:"",noPeriod:".",per:"başına",updateText:"tarihinde uygulanacak",removedLimitText:"Limit kaldırılacak",noLimitText:"Şu anda belirlenmiş bir limit bulunmamaktadır.",lugasPrivacy:"Sağlayıcılar arası LUGAS limiti sağlayıcılar tarafından görülmez.",limitType:"Limit Türü",period:"Dönem",amount:"Miktar",minutes:"dakika",setLimit:"LİMİT AYARI",loss:"Kayıp Limiti",lossAll:"Kayıp Limiti",lossCasino:"Kayıp Limiti",lossSports:"Kayıp Limiti",deposit:"Para Yatırma Limiti",depositAll:"Para Yatırma Limiti",depositCasino:"Para Yatırma Limiti",depositSports:"Para Yatırma Limiti",wager:"Bahis Limiti",stake:"Bahis Limiti",stakeAll:"Bahis Limiti",stakeCasino:"Bahis Limiti",stakeSports:"Bahis Limiti",lugas:"Güncel Para Yatırma Limiti",lugasAll:"Güncel Para Yatırma Limiti",lugasCasino:"Güncel Para Yatırma Limiti",lugasSports:"Güncel Para Yatırma Limiti",wagerAll:"Bahis Limiti",wagerCasino:"Slot Sınırı",wagerSports:"Bahis Limiti",sessionLimit:"Tek Seans Süre Sınırı",sessionLimitUpdated:"Oturum sınırı başarıyla güncellendi.",cumulativeSession:"Dönem Zaman Sınırı",removeLimit:"KALDIRMAK",popupPendingUpdate:"Limitin değiştirilmesi talebini aldık. Lütfen güncellemenin yalnızca şu tarihte geçerli olacağını unutmayın:",popupImmediateUpdate:"Yeni {selectedLimit}'iniz: {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Sınır değiştirildi",popupSuccess:"Başarılı",popupError:"Bu bir Fehler'dir.",popupUpdateLimitException:"Belirlenen sınırlama süresi dolduktan sonra kendi kendini sınırlayan ayarlarınızı değiştirebilirsiniz.",popupRemoveLimitException:"Belirlenen sınırlama süresi dolduktan sonra kendi kendini sınırlayan ayarlarınızı değiştirebilirsiniz.",notFoundException:"Sınır mevcut değil",popup3:"Teşekkür ederim! İstediğiniz limiti Lugas'a ilettik Limitin ancak en geç 8 gün sonra yürürlüğe gireceğini lütfen unutmayın.",popup2_a:"Aylık para yatırma limitinizi şu şekilde ayarlayabildik:",popup2_b:". Seçilen limit için ekonomik kapasitenizi gösteren belgelere ihtiyacımız var. Lütfen son maaş bordronuzu ve ödemeyi aldığınızı doğrulayan, bakiye dahil güncel banka ekstrenizi yükleyin.",kycNeeded2:". Limitin istenilen tutara yükseltilebilmesi için ilgili bilgileri tarafımıza iletmenizi rica ederiz. Bu bilgi belge yüklemede gönderilebilir.",uploadDocumentsButton:"BELGELERİ YÜKLE",closeButton:"KAPALI",invalidInputMessageLimitMin:"Girilen değer {minValue} {currency} değerinden yüksek olmalıdır.",invalidInputMessageLimitMax:"Girilen değer {maxValue} {currency} değerinden küçük olmalıdır.",unableToUpdatePendingRequest:"Başka bir güncelleme zaten beklemede olduğundan limitinizi güncelleyemedik. Lütfen mevcut güncelleme uygulandıktan sonra tekrar deneyin.",internalServerError:"Maalesef LUGAS sınırınız ayarlanırken bir hata oluştu. Lütfen tekrar deneyin veya <a href='mailto:support.de@bet-at-home.com' target='_blank'>support.de@bet-at-home.com</a> adresinden müşteri desteğimizle iletişime geçin.",docsRequired:"Gerekli belgeler!",okButton:"TAMAM",complianceText:"Yetkili operatör olarak devletin koyduğu gerekli limitleri uygular"}},{document:Rn}=l;function Un(e,t,i){const n=e.slice();return n[107]=t[i],n}function Fn(e,t,i){const n=e.slice();return n[110]=t[i],n[112]=i,n}function zn(e,t,i){const n=e.slice();return n[110]=t[i],n}function Gn(e,t,i){const n=e.slice();return n[115]=t[i],n}function Vn(e){let t,i,n;function r(e,t){return e[20]?Wn:qn}let o=r(e),s=o(e);return{c(){t=d("div"),i=d("div"),s.c(),b(i,"class",n="PopupContainer "+e[22]+" "+(e[26]?"Desktop":"")),b(t,"class","PopupOverlay")},m(e,n){c(e,t,n),u(t,i),s.m(i,null)},p(e,t){o===(o=r(e))&&s?s.p(e,t):(s.d(1),s=o(e),s&&(s.c(),s.m(i,null))),4194304&t[0]&&n!==(n="PopupContainer "+e[22]+" "+(e[26]?"Desktop":""))&&b(i,"class",n)},d(e){e&&p(t),s.d()}}}function Wn(e){let t,i,n,r,o,s,a,l,m,h,L,w,E,S,x,A=e[25]("popupTitle")+"";function P(e,t){return e[18]?Yn:2==e[23]?Xn:Kn}let _=P(e),k=_(e);function C(e,t){return e[18]?Qn:2==e[23]?Jn:Zn}let B=C(e),D=B(e);function I(e,t){return 2==e[23]?tr:er}let $=I(e),M=$(e);return{c(){t=d("div"),i=d("span"),n=f(A),r=y(),o=d("button"),o.textContent="X",s=y(),a=d("div"),l=d("div"),k.c(),m=y(),D.c(),h=y(),L=d("p"),w=y(),M.c(),E=g(),b(i,"class","PopupTitle"),b(o,"class","ClosePopup"),b(t,"class","PopupTitleWrapper"),b(l,"class","ResultIconWrapper"),b(L,"class","DescriptionParagraph"),b(a,"class","DescriptionWrapper")},m(p,d){c(p,t,d),u(t,i),u(i,n),u(t,r),u(t,o),c(p,s,d),c(p,a,d),u(a,l),k.m(l,null),u(l,m),D.m(l,null),u(a,h),u(a,L),L.innerHTML=e[21],c(p,w,d),M.m(p,d),c(p,E,d),S||(x=v(o,"click",e[34]),S=!0)},p(e,t){33554432&t[0]&&A!==(A=e[25]("popupTitle")+"")&&T(n,A),_!==(_=P(e))&&(k.d(1),k=_(e),k&&(k.c(),k.m(l,m))),B===(B=C(e))&&D?D.p(e,t):(D.d(1),D=B(e),D&&(D.c(),D.m(l,null))),2097152&t[0]&&(L.innerHTML=e[21]),$===($=I(e))&&M?M.p(e,t):(M.d(1),M=$(e),M&&(M.c(),M.m(E.parentNode,E)))},d(e){e&&p(t),e&&p(s),e&&p(a),k.d(),D.d(),e&&p(w),M.d(e),e&&p(E),S=!1,x()}}}function qn(t){let i;return{c(){i=d("div"),b(i,"class","LoadingIndicator")},m(e,t){c(e,i,t)},p:e,d(e){e&&p(i)}}}function Kn(e){let t,i,n,r,o,s;return{c(){t=h("svg"),i=h("defs"),n=h("style"),r=f(".fil0 {fill:black;fill-rule:nonzero}\n "),o=h("g"),s=h("polygon"),b(n,"type","text/css"),b(s,"class","fil0"),b(s,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(t,"xml:space","preserve"),b(t,"version","1.1"),S(t,"shape-rendering","geometricPrecision"),S(t,"text-rendering","geometricPrecision"),S(t,"image-rendering","optimizeQuality"),b(t,"viewBox","0 0 90 69"),b(t,"x","0px"),b(t,"y","0px"),b(t,"fill-rule","evenodd"),b(t,"clip-rule","evenodd")},m(e,a){c(e,t,a),u(t,i),u(i,n),u(n,r),u(t,o),u(o,s)},d(e){e&&p(t)}}}function Xn(e){let t,i,n;return{c(){t=h("svg"),i=h("g"),n=h("path"),b(n,"id","XMLID_6_"),b(n,"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"),b(i,"id","XMLID_1_"),b(t,"version","1.1"),b(t,"id","Layer_1"),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(t,"x","0px"),b(t,"y","0px"),b(t,"viewBox","0 0 512 512"),S(t,"enable-background","new 0 0 512 512"),b(t,"xml:space","preserve")},m(e,r){c(e,t,r),u(t,i),u(i,n)},d(e){e&&p(t)}}}function Yn(e){let t,i,n,r,o,s,a,l,m,d,f,y,g,v,L,w,T,E,x;return{c(){t=h("svg"),i=h("g"),n=h("path"),r=h("path"),o=h("g"),s=h("g"),a=h("g"),l=h("g"),m=h("g"),d=h("g"),f=h("g"),y=h("g"),g=h("g"),v=h("g"),L=h("g"),w=h("g"),T=h("g"),E=h("g"),x=h("g"),b(n,"d","M26,0C11.664,0,0,11.663,0,26s11.664,26,26,26s26-11.663,26-26S40.336,0,26,0z M26,50C12.767,50,2,39.233,2,26\n S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z"),b(r,"d","M35.707,16.293c-0.391-0.391-1.023-0.391-1.414,0L26,24.586l-8.293-8.293c-0.391-0.391-1.023-0.391-1.414,0\n s-0.391,1.023,0,1.414L24.586,26l-8.293,8.293c-0.391,0.391-0.391,1.023,0,1.414C16.488,35.902,16.744,36,17,36\n s0.512-0.098,0.707-0.293L26,27.414l8.293,8.293C34.488,35.902,34.744,36,35,36s0.512-0.098,0.707-0.293\n c0.391-0.391,0.391-1.023,0-1.414L27.414,26l8.293-8.293C36.098,17.316,36.098,16.684,35.707,16.293z"),b(t,"version","1.1"),b(t,"id","Capa_1"),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(t,"x","0px"),b(t,"y","0px"),b(t,"viewBox","0 0 52 52"),S(t,"enable-background","new 0 0 52 52"),b(t,"xml:space","preserve")},m(e,p){c(e,t,p),u(t,i),u(i,n),u(i,r),u(t,o),u(t,s),u(t,a),u(t,l),u(t,m),u(t,d),u(t,f),u(t,y),u(t,g),u(t,v),u(t,L),u(t,w),u(t,T),u(t,E),u(t,x)},d(e){e&&p(t)}}}function Zn(e){let t,i,n=e[25]("popupSuccess")+"";return{c(){t=d("p"),i=f(n)},m(e,n){c(e,t,n),u(t,i)},p(e,t){33554432&t[0]&&n!==(n=e[25]("popupSuccess")+"")&&T(i,n)},d(e){e&&p(t)}}}function Jn(e){let t,i,n=e[25]("docsRequired")+"";return{c(){t=d("p"),i=f(n)},m(e,n){c(e,t,n),u(t,i)},p(e,t){33554432&t[0]&&n!==(n=e[25]("docsRequired")+"")&&T(i,n)},d(e){e&&p(t)}}}function Qn(e){let t,i,n=e[25]("popupError")+"";return{c(){t=d("p"),i=f(n)},m(e,n){c(e,t,n),u(t,i)},p(e,t){33554432&t[0]&&n!==(n=e[25]("popupError")+"")&&T(i,n)},d(e){e&&p(t)}}}function er(e){let t,i,n,r,o=e[25]("okButton")+"";return{c(){t=d("button"),i=f(o),b(t,"class","ConfirmButton")},m(o,s){c(o,t,s),u(t,i),n||(r=v(t,"click",e[34]),n=!0)},p(e,t){33554432&t[0]&&o!==(o=e[25]("okButton")+"")&&T(i,o)},d(e){e&&p(t),n=!1,r()}}}function tr(e){let t,i,r,o,s,a,l=e[25]("uploadDocumentsButton")+"",m=e[25]("closeButton")+"";return{c(){t=d("button"),i=y(),r=d("button"),o=f(m),b(t,"class","ConfirmButton"),b(r,"class","CloseButton")},m(n,p){c(n,t,p),t.innerHTML=l,c(n,i,p),c(n,r,p),u(r,o),s||(a=[v(t,"click",e[35]),v(r,"click",e[34])],s=!0)},p(e,i){33554432&i[0]&&l!==(l=e[25]("uploadDocumentsButton")+"")&&(t.innerHTML=l),33554432&i[0]&&m!==(m=e[25]("closeButton")+"")&&T(o,m)},d(e){e&&p(t),e&&p(i),e&&p(r),s=!1,n(a)}}}function ir(e){let t,i,r,o,s,a,l,h,g,L,S,x,A,P,_,k,C,B,D,I,$=e[15]?`${e[25]("amount")}`:`${e[25]("newPeriodLimit")}`,M=e[25]("setLimit")+"",O=e[6],j=[];for(let t=0;t<O.length;t+=1)j[t]=hr(zn(e,O,t));let H="true"===e[1]&&fr(e),N=e[14]&&yr(e),R=e[15]&&vr(e),U=e[24]&&Lr(e);return{c(){t=d("div"),i=d("div"),r=d("div");for(let e=0;e<j.length;e+=1)j[e].c();o=y(),s=d("form"),H&&H.c(),a=y(),N&&N.c(),l=y(),R&&R.c(),h=y(),g=d("label"),L=d("span"),S=f($),x=y(),A=d("input"),P=y(),U&&U.c(),_=y(),k=d("button"),C=f(M),b(r,"class","LimitsList "+(e[26]?"Desktop":"")),b(L,"class","LimitInputText"),b(A,"type","number"),b(A,"pattern","[0-9]*"),b(g,"class","LimitAmountInputWrapper"),b(k,"class","LimitSubmitButton"),b(k,"type","button"),k.disabled=!0,b(s,"class","LimitsInteractionArea "+(e[26]?"Desktop":"")),b(i,"class","LimitsPageContainer"),b(t,"class",B="player-account-gaming-limits-page-2-gm16 LimitTab"+e[3])},m(n,p){c(n,t,p),u(t,i),u(i,r);for(let e=0;e<j.length;e+=1)j[e]&&j[e].m(r,null);u(i,o),u(i,s),H&&H.m(s,null),u(s,a),N&&N.m(s,null),u(s,l),R&&R.m(s,null),u(s,h),u(s,g),u(g,L),u(L,S),u(g,x),u(g,A),E(A,e[10]),u(g,P),U&&U.m(g,null),u(s,_),u(s,k),u(k,C),e[54](k),D||(I=[v(A,"input",e[53]),v(A,"keydown",e[36]),v(A,"keyup",e[30]),v(k,"click",e[29]),v(s,"submit",e[29])],D=!0)},p(e,i){if(100663364&i[0]|6&i[1]){let t;for(O=e[6],t=0;t<O.length;t+=1){const n=zn(e,O,t);j[t]?j[t].p(n,i):(j[t]=hr(n),j[t].c(),j[t].m(r,null))}for(;t<j.length;t+=1)j[t].d(1);j.length=O.length}"true"===e[1]?H?H.p(e,i):(H=fr(e),H.c(),H.m(s,a)):H&&(H.d(1),H=null),e[14]?N?N.p(e,i):(N=yr(e),N.c(),N.m(s,l)):N&&(N.d(1),N=null),e[15]?R?R.p(e,i):(R=vr(e),R.c(),R.m(s,h)):R&&(R.d(1),R=null),33587200&i[0]&&$!==($=e[15]?`${e[25]("amount")}`:`${e[25]("newPeriodLimit")}`)&&T(S,$),1024&i[0]&&w(A.value)!==e[10]&&E(A,e[10]),e[24]?U?U.p(e,i):(U=Lr(e),U.c(),U.m(g,null)):U&&(U.d(1),U=null),33554432&i[0]&&M!==(M=e[25]("setLimit")+"")&&T(C,M),8&i[0]&&B!==(B="player-account-gaming-limits-page-2-gm16 LimitTab"+e[3])&&b(t,"class",B)},d(i){i&&p(t),m(j,i),H&&H.d(),N&&N.d(),R&&R.d(),U&&U.d(),e[54](null),D=!1,n(I)}}}function nr(t){let i;return{c(){i=d("p"),i.textContent="500 Server error"},m(e,t){c(e,i,t)},p:e,d(e){e&&p(i)}}}function rr(t){return{c:e,m:e,p:e,d:e}}function or(t){let i;return{c(){i=d("div"),b(i,"class","LoadingIndicator")},m(e,t){c(e,i,t)},p:e,d(e){e&&p(i)}}}function sr(e){let t,i,n,r,o=e[25]("noLimitText")+"";return{c(){t=d("div"),i=d("div"),n=d("div"),r=f(o),b(n,"class","LimitDetailsTextWrapper"),b(i,"class","LimitDetailsWrapper"),b(t,"class","LimitDetails")},m(e,o){c(e,t,o),u(t,i),u(i,n),u(n,r)},p(e,t){33554432&t[0]&&o!==(o=e[25]("noLimitText")+"")&&T(r,o)},d(e){e&&p(t)}}}function ar(e){let t,i,n,r,o=e[25]("lugasPrivacy")+"";return{c(){t=d("div"),i=d("div"),n=d("div"),r=f(o),b(n,"class","LimitDetailsTextWrapper"),b(i,"class","LimitDetailsWrapper"),b(t,"class","LimitDetails")},m(e,o){c(e,t,o),u(t,i),u(i,n),u(n,r)},p(e,t){33554432&t[0]&&o!==(o=e[25]("lugasPrivacy")+"")&&T(r,o)},d(e){e&&p(t)}}}function lr(e){let t,i=e[110].currentLimits,n=[];for(let t=0;t<i.length;t+=1)n[t]=dr(Gn(e,i,t));return{c(){for(let e=0;e<n.length;e+=1)n[e].c();t=g()},m(e,i){for(let t=0;t<n.length;t+=1)n[t]&&n[t].m(e,i);c(e,t,i)},p(e,r){if(33554500&r[0]|2&r[1]){let o;for(i=e[110].currentLimits,o=0;o<i.length;o+=1){const s=Gn(e,i,o);n[o]?n[o].p(s,r):(n[o]=dr(s),n[o].c(),n[o].m(t.parentNode,t))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},d(e){m(n,e),e&&p(t)}}}function ur(e){let t,i,n,r,o=e[25]("lugasPrivacy")+"";return{c(){t=d("div"),i=d("div"),n=d("div"),r=f(o),b(n,"class","LimitDetailsTextWrapper"),b(i,"class","LimitDetailsWrapper"),b(t,"class","LimitDetails")},m(e,o){c(e,t,o),u(t,i),u(i,n),u(n,r)},p(e,t){33554432&t[0]&&o!==(o=e[25]("lugasPrivacy")+"")&&T(r,o)},d(e){e&&p(t)}}}function cr(e){let t,i,n=`${e[25]("removedLimitText")} ${e[115].expiryDate}`;return{c(){t=d("div"),i=f(n),b(t,"class","PendingLimit")},m(e,n){c(e,t,n),u(t,i)},p(e,t){33554496&t[0]&&n!==(n=`${e[25]("removedLimitText")} ${e[115].expiryDate}`)&&T(i,n)},d(e){e&&p(t)}}}function pr(e){let t,i,n=`${e[115].updateAmount}${e[115].currency} ${"None"!==e[115].period||"cumulativeSession"!==e[115].value?" ":e[25]("per")} ${e[25](`${e[115].period}`)} ${e[25]("updateText")} ${e[115].expiryDate}`;return{c(){t=d("div"),i=f(n),b(t,"class","PendingLimit")},m(e,n){c(e,t,n),u(t,i)},p(e,t){33554496&t[0]&&n!==(n=`${e[115].updateAmount}${e[115].currency} ${"None"!==e[115].period||"cumulativeSession"!==e[115].value?" ":e[25]("per")} ${e[25](`${e[115].period}`)} ${e[25]("updateText")} ${e[115].expiryDate}`)&&T(i,n)},d(e){e&&p(t)}}}function mr(e){let t,i,n,r,o=e[25]("removeLimit")+"";function s(){return e[49](e[115])}return{c(){t=d("button"),i=f(o),b(t,"class","RemoveLimitButton")},m(e,o){c(e,t,o),u(t,i),n||(r=v(t,"click",s),n=!0)},p(t,n){e=t,33554432&n[0]&&o!==(o=e[25]("removeLimit")+"")&&T(i,o)},d(e){e&&p(t),n=!1,r()}}}function dr(e){let t,i,n,r,o,s,a,l,m=`${e[115].amount}${e[115].currency} ${"None"!==e[115].period||"cumulativeSession"!==e[115].value?" ":e[25]("per")} ${e[25](`${e[115].period}`)}`,h=!e[115].isModified&&e[2].indexOf(e[110].value)>-1;function g(e,t){return 64&t[0]&&(s=null),null==s&&(s=!!(e[115].isModified&&+e[115].updateAmount.replaceAll(",","")>0)),s?pr:e[115].isModified?cr:void 0}let v=g(e,[-1,-1,-1,-1]),L=v&&v(e),w=h&&mr(e);return{c(){t=d("div"),i=d("div"),n=d("div"),r=f(m),o=y(),L&&L.c(),a=y(),w&&w.c(),l=y(),b(n,"class","CurrentLimit"),b(i,"class","LimitDetailsTextWrapper"),b(t,"class","LimitDetails")},m(e,s){c(e,t,s),u(t,i),u(i,n),u(n,r),u(i,o),L&&L.m(i,null),u(t,a),w&&w.m(t,null),u(t,l)},p(e,n){33554496&n[0]&&m!==(m=`${e[115].amount}${e[115].currency} ${"None"!==e[115].period||"cumulativeSession"!==e[115].value?" ":e[25]("per")} ${e[25](`${e[115].period}`)}`)&&T(r,m),v===(v=g(e,n))&&L?L.p(e,n):(L&&L.d(1),L=v&&v(e),L&&(L.c(),L.m(i,null))),68&n[0]&&(h=!e[115].isModified&&e[2].indexOf(e[110].value)>-1),h?w?w.p(e,n):(w=mr(e),w.c(),w.m(t,l)):w&&(w.d(1),w=null)},d(e){e&&p(t),L&&L.d(),w&&w.d()}}}function hr(e){let t,i,n,r,o,s=e[33](e[110])+"";function a(e,t){return"lugas"===e[110].value?ur:e[110].currentLimits.length>0?lr:"lugas"===e[110].value?ar:sr}let l=a(e),m=l(e);return{c(){t=d("div"),i=d("p"),n=f(s),r=y(),m.c(),o=y(),b(i,"class","LimitTitle"),b(t,"class","LimitWrapper "+(e[26]?"Desktop":""))},m(e,s){c(e,t,s),u(t,i),u(i,n),u(t,r),m.m(t,null),u(t,o)},p(e,i){64&i[0]&&s!==(s=e[33](e[110])+"")&&T(n,s),l===(l=a(e))&&m?m.p(e,i):(m.d(1),m=l(e),m&&(m.c(),m.m(t,o)))},d(e){e&&p(t),m.d()}}}function fr(e){let t,i,n,r=e[25]("complianceText")+"";return{c(){t=d("div"),i=d("p"),n=f(r),b(i,"class","LimitComplianceText"),b(t,"class","LimitCompliance")},m(e,r){c(e,t,r),u(t,i),u(i,n)},p(e,t){33554432&t[0]&&r!==(r=e[25]("complianceText")+"")&&T(n,r)},d(e){e&&p(t)}}}function yr(e){let t,i,r,o,s,a,l,h=e[25]("limitType")+"",g=e[6],L=[];for(let t=0;t<g.length;t+=1)L[t]=gr(Fn(e,g,t));return{c(){t=d("label"),i=d("span"),r=f(h),o=y(),s=d("select");for(let e=0;e<L.length;e+=1)L[e].c();b(i,"class","LimitSelectText"),b(s,"name",""),b(s,"id",""),void 0===e[9]&&H((()=>e[50].call(s))),b(t,"class","LimitTypeDropdownWrapper")},m(n,p){c(n,t,p),u(t,i),u(i,r),u(t,o),u(t,s);for(let e=0;e<L.length;e+=1)L[e]&&L[e].m(s,null);x(s,e[9],!0),a||(l=[v(s,"change",e[50]),v(s,"change",e[51])],a=!0)},p(e,t){if(33554432&t[0]&&h!==(h=e[25]("limitType")+"")&&T(r,h),64&t[0]|4&t[1]){let i;for(g=e[6],i=0;i<g.length;i+=1){const n=Fn(e,g,i);L[i]?L[i].p(n,t):(L[i]=gr(n),L[i].c(),L[i].m(s,null))}for(;i<L.length;i+=1)L[i].d(1);L.length=g.length}512&t[0]&&x(s,e[9])},d(e){e&&p(t),m(L,e),a=!1,n(l)}}}function gr(e){let t,i,n=e[33](e[110])+"";return{c(){t=d("option"),i=f(n),t.__value=e[112],t.value=t.__value},m(e,n){c(e,t,n),u(t,i)},p(e,t){64&t[0]&&n!==(n=e[33](e[110])+"")&&T(i,n)},d(e){e&&p(t)}}}function vr(e){let t,i,n,r,o,s,a,l=e[25]("period")+"",h=e[5][e[7]].periods,g=[];for(let t=0;t<h.length;t+=1)g[t]=br(Un(e,h,t));return{c(){t=d("label"),i=d("span"),n=f(l),r=y(),o=d("select");for(let e=0;e<g.length;e+=1)g[e].c();b(i,"class","PeriodSelectText"),b(o,"name",""),b(o,"id",""),void 0===e[8]&&H((()=>e[52].call(o))),b(t,"class","LimitPeriodDropdownWrapper")},m(l,p){c(l,t,p),u(t,i),u(i,n),u(t,r),u(t,o);for(let e=0;e<g.length;e+=1)g[e]&&g[e].m(o,null);x(o,e[8],!0),s||(a=v(o,"change",e[52]),s=!0)},p(e,t){if(33554432&t[0]&&l!==(l=e[25]("period")+"")&&T(n,l),33554592&t[0]){let i;for(h=e[5][e[7]].periods,i=0;i<h.length;i+=1){const n=Un(e,h,i);g[i]?g[i].p(n,t):(g[i]=br(n),g[i].c(),g[i].m(o,null))}for(;i<g.length;i+=1)g[i].d(1);g.length=h.length}416&t[0]&&x(o,e[8])},d(e){e&&p(t),m(g,e),s=!1,a()}}}function br(e){let t,i,n,r=e[25](e[107])+"";return{c(){t=d("option"),i=f(r),t.__value=n=e[107],t.value=t.__value,t.selected=!0},m(e,n){c(e,t,n),u(t,i)},p(e,o){33554592&o[0]&&r!==(r=e[25](e[107])+"")&&T(i,r),160&o[0]&&n!==(n=e[107])&&(t.__value=n,t.value=t.__value)},d(e){e&&p(t)}}}function Lr(e){let t,i,n=e[10]<e[12]?`${e[25]("invalidInputMessageLimitMin",{values:{minValue:e[12],currency:e[0]}})}`:`${e[25]("invalidInputMessageLimitMax",{values:{maxValue:e[13],currency:e[0]}})}`;return{c(){t=d("p"),i=f(n),b(t,"class","InvalidInput")},m(e,n){c(e,t,n),u(t,i)},p(e,t){33567745&t[0]&&n!==(n=e[10]<e[12]?`${e[25]("invalidInputMessageLimitMin",{values:{minValue:e[12],currency:e[0]}})}`:`${e[25]("invalidInputMessageLimitMax",{values:{maxValue:e[13],currency:e[0]}})}`)&&T(i,n)},d(e){e&&p(t)}}}function wr(t){let i,n,r,o,s=t[19]&&Vn(t);function a(e,t){return e[16]&&!e[19]?or:e[16]?rr:e[17]?nr:ir}let l=a(t),m=l(t);return{c(){i=d("meta"),n=y(),r=d("div"),s&&s.c(),o=y(),m.c(),this.c=e,b(i,"name","viewport"),b(i,"content","width=device-width, initial-scale=1")},m(e,a){u(Rn.head,i),c(e,n,a),c(e,r,a),s&&s.m(r,null),u(r,o),m.m(r,null),t[55](r)},p(e,t){e[19]?s?s.p(e,t):(s=Vn(e),s.c(),s.m(r,o)):s&&(s.d(1),s=null),l===(l=a(e))&&m?m.p(e,t):(m.d(1),m=l(e),m&&(m.c(),m.m(r,null)))},i:e,o:e,d(e){p(i),e&&p(n),e&&p(r),s&&s.d(),m.d(),t[55](null)}}}function Tr(e,t,i){let n;a(e,$n,(e=>i(25,n=e)));let r,o,s,l,u,{lang:c="en"}=t,{currency:p=""}=t,{limits:m=""}=t,{session:d=""}=t,{userid:h=""}=t,{endpoint:f=""}=t,{apiversion:y=""}=t,{customcurrencysymbols:g=""}=t,{enablecompliancetext:v=""}=t,{deletelimit:b=""}=t,{amountsconfig:L=""}=t,{periodsconfig:T=""}=t,{limittabindex:E=""}=t,{clientstyling:S=""}=t,{clientstylingurl:x=""}=t,{translationurl:P=""}=t,_=window.navigator.userAgent,k=!Mn(_),C=[],B="",D="",$="",M=0,O="",j="",H="",N={},R=!1,U=!1,F=!0,z=!1,G=!1,V=!1,W=!1,q="",K="",X=[],Y=!1,Z={},J=!1,Q={EUR:"€",RON:" lei",USD:"$"};const ee={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]};Object.keys(Nn).forEach((e=>{Hn(e,Nn[e])}));const te=(e,t)=>{"function"==typeof gtag&>ag("event",e,{limit_category:$,limit_type:B,limit_period:D,limit_amount:o||t})},ie=()=>{[...L.matchAll(/\(([^)]+)\)/g)].flat().filter((e=>!e.includes("("))).forEach((e=>{jn[e]?C.push(Object.assign({},jn[e])):console.error(`Unknown limit: ${e}`)})),(()=>{var e;const t=L.split(",").map((e=>e.split(":"))),n=T.split(",").map((e=>e.split(":")));for(let[e,i]of t.entries())if(i[0]!==n[e][0])throw new Error(`Limit config mismatch: "${i[0]}" does not match "${n[e][0]}"`);const r=t.reduce(((e,t,i)=>{const r=t[0].slice(t[0].indexOf("(")+1,t[0].indexOf(")")),o={value:r,product:t[0].slice(0,t[0].indexOf("(")),minMax:t[1],periods:n[i][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),callValue:jn[r].callValue,callValue16:jn[r].callValue16,title:jn[r].title};return e.push(o),e}),[]);for(let e=0;e<r.length;e++)i(6,C[e].product=r[e].product,C),i(6,C[e].min=parseInt(r[e].minMax.split("-")[0],10),C),i(6,C[e].max=parseInt(r[e].minMax.split("-")[1],10),C),i(5,jn[r[e].value].periods=r[e].periods,jn);H=null===(e=C[0])||void 0===e?void 0:e.value,C.forEach((e=>{N[e.value]={min:e.min,max:e.max},Z[e.value]=e.product})),N&&(N[H]?(i(12,O=N[H].min),i(13,j=N[H].max)):(i(12,O=1),i(13,j=9999999)))})(),i(7,B=C[0].value),i(8,D=jn[B].periods[0]),$=C[0].product,i(14,R=C.length>1),i(15,U=jn[B].periods.length>1)},ne=()=>{i(7,B=C[M].value),i(8,D=jn[B].periods[0]),i(15,U=jn[B].periods.length>1)},re=()=>{$=C[M].product},oe=e=>{if(!(e.status>=300))return i(18,G=!1),e.json();se(e)},se=e=>{let t;throw i(17,z=!0),e.json().then((e=>{for(const i in ee)if(ee[i].some((t=>e.error.includes(t)))){t=i;break}console.error("errType",t),!t&&ge(e)})).finally((()=>{t&&ge(t),i(17,z=!1),i(16,F=!1)})),new Error("An error occured during the fetch request")},ae=()=>{switch(y){case"gmcore":le();break;case"gm16":ue()}},le=()=>{i(16,F=!0);let e=new URL(`/v2/player/${h}/limits`,f),t={method:"GET",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,t).then((e=>oe(e))).then((e=>{X=e,V&&ge(),ce(X),pe(X),i(10,o=null)})).catch((e=>{console.error("Error LimitsWidget: ",e),i(17,z=!0)})).finally((()=>{i(16,F=!1)}))},ue=()=>{i(16,F=!0),X=[];let e=new URL(`/v1/player/${h}/limits/monetary`,f),t=new URL(`/v1/player/${h}/limits/session`,f),n=!1,r={method:"GET",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,r).then((e=>oe(e))).then((e=>{X.push(e),V&&ge(),"gmcore"===y&&ce(X),"gm16"===y&&me(X),i(10,o=null)})).catch((e=>{console.error("Error LimitsWidget: ",e),i(17,z=!0)})).finally((()=>{n&&i(16,F=!1),n=!0})),fetch(t.href,r).then((e=>oe(e))).then((e=>{X.push(e),V&&ge(),"gm16"===y&&de(X),"gm16"===y&&he(X),i(10,o=null)})).catch((e=>{console.error("Error LimitsWidget: ",e),i(17,z=!0)})).finally((()=>{n&&i(16,F=!1),n=!0}))},ce=e=>{C.forEach((t=>{t.currentLimits=[];const i=Array.isArray(e[jn[t.value].callValue])?e[jn[t.value].callValue]:[e[jn[t.value].callValue]];0!==i.length&&void 0!==i[0]&&(i.forEach(((i,n)=>{var r;const o=e[jn[t.value].callValue][n];t.currentLimits.push({}),t.currentLimits[n].limitType=t.value,t.currentLimits[n].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.amount),t.currentLimits[n].currency=null!==(r=Q[o.currency])&&void 0!==r?r:o.currency,t.currentLimits[n].period=o.period,t.currentLimits[n].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.updateAmount),t.currentLimits[n].isModified=o.isModified,t.currentLimits[n].expiryDate=`${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})),t.currentLimits=fe(t.currentLimits))}))},pe=e=>{const t=n("minutes");C.filter((e=>"sessionLimit"===e.value||"cumulativeSession"===e.value)).forEach((i=>{var n;i.currentLimits=[],null===(n=e[jn[i.value].callValue])||void 0===n||n.forEach(((n,r)=>{const o=e[jn[i.value].callValue][r];i.currentLimits.push({limitType:i.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.minutes),currency:t,isModified:o.isModified,period:"cumulativeSession"===i.value?o.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.updateMinutes),expiryDate:`${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})})),i.currentLimits=fe(i.currentLimits)}))},me=e=>{var t;(null===(t=e[0])||void 0===t?void 0:t.limits)&&C.forEach((t=>{var i;t.currentLimits=[];for(const n of e[0].limits)if(n.type===t.callValue16&&n.products.includes(t.product)){const e=n;t.currentLimits.push({limitType:t.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount),currency:null!==(i=Q[e.currency])&&void 0!==i?i:e.currency,isModified:e.schedules.length>0,period:e.period,product:e.products[0],updateAmount:e.schedules.length>0?Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.schedules[0].updateAmount):"",expiryDate:e.schedules.length>0?`${new Date(e.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"",id:e.id})}t.currentLimits=fe(t.currentLimits)}))},de=e=>{var t;(null===(t=e[1])||void 0===t?void 0:t.sessionLimit)&&C.filter((e=>"sessionLimit"===e.value)).forEach((t=>{t.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e[1].sessionLimit.minutes),currency:n("minutes"),isModified:e[1].sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e[1].sessionLimit.updateMinutes),expiryDate:e[1].sessionLimit.expiryDate}),t.currentLimits=fe(t.currentLimits)}))},he=e=>{var t;(null===(t=e[1])||void 0===t?void 0:t.cumulativeSessionLimits)&&C.filter((e=>"cumulativeSession"===e.value)).forEach((t=>{for(const i of e[1].cumulativeSessionLimits)t.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(i.minutes),currency:n("minutes"),isModified:i.isModified,period:i.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(i.updateMinutes),expiryDate:i.expiryDate});t.currentLimits=fe(t.currentLimits)}))},fe=e=>{const t={Daily:0,Weekly:1,Monthly:2};return e.sort(((e,i)=>t[e.period]-t[i.period])),e},ye=()=>{i(24,Y=!1),(null==N?void 0:N[B])?(i(12,O=N[B].min),i(13,j=N[B].max)):(i(12,O=1),i(13,j=9999999))},ge=e=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),z)return i(18,G=!0),e&&!e.thirdPartyResponse&&i(21,q=n(`${e}`)),e&&e.thirdPartyResponse&&i(21,q=e.thirdPartyResponse.message),e&&(e=>{var t;return null===(t=null==e?void 0:e.error)||void 0===t?void 0:t.includes("Limit update is not permitted due to LimitUpdateControl")})(e)&&i(21,q=n("popupUpdateLimitException")),e&&(e=>{var t;return null===(t=null==e?void 0:e.error)||void 0===t?void 0:t.includes("Limit remove is not permitted due to LimitUpdateControl")})(e)&&i(21,q=n("popupRemoveLimitException")),e&&(e=>{var t;return null===(t=null==e?void 0:e.error)||void 0===t?void 0:t.includes("[NotFoundException] Limit does not exist")})(e)&&i(21,q=n("notFoundException")),void i(20,W=!0);switch(y){case"gmcore":"sessionLimit"===B||"cumulativeSession"===B?(()=>{if(X){const e=X[jn[B].callValue].filter((e=>(e.period===D||"None"===D)&&e.products[0]===$))[0],t=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.minutes);let r=n("popupImmediateUpdate").replace("{selectedLimit}",n(`${B}`)).replace("{updatedAmount}",t).replace("{currency}",n("minutes")).replace("{selectedPeriod}",n(`${D}`));i(21,q=e.isModified?`${n("popupPendingUpdate")} ${new Date(e.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:r)}i(20,W=!0)})():(()=>{if(X){const e=X[jn[B].callValue].filter((e=>e.period===D))[0],t=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount);let r=n("popupImmediateUpdate").replace("{selectedLimit}",Te()).replace("{updatedAmount}",t).replace("{currency}",Q[e.currency]||e.currency).replace("{selectedPeriod}",n(`${D}`));i(21,q=e.isModified?`${n("popupPendingUpdate")} ${new Date(e.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:r)}i(20,W=!0)})();break;case"gm16":"lugas"===B?(1==l&&i(22,K="PopupKyc"),2==l&&(i(21,q=`${n("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(u)} ${p} ${n("popup2_b")}`),i(22,K="PopupKyc2")),3==l&&(i(21,q=n("popup3")),i(22,K="PopupSuccess")),i(20,W=!0)):"sessionLimit"===B||"cumulativeSession"===B?(i(21,q=n("sessionLimitUpdated")),i(20,W=!0)):(()=>{var e;const t=(null===(e=X[0])||void 0===e?void 0:e.limits)||X.limits;let r=null;if(X){r=J?t.filter((e=>e.type&&(e.period||"None"===e.period)&&e.products[0]))[0]:t.filter((e=>e.type===jn[B].callValue16&&(e.period||"None"===e.period)&&e.products[0]))[0];const e=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(r.amount),o=r.schedules.length>0?`${new Date(r.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"";let s=n("popupImmediateUpdate").replace("{selectedLimit}",Te()).replace("{updatedAmount}",e).replace("{currency}",Q[r.currency]||r.currency).replace("{selectedPeriod}",n(`${D}`));i(21,q=r.schedules.length>0?`${n("popupPendingUpdate")} ${o}`:s)}i(20,W=!0)})();break;default:throw new Error(`Invalid apiversion attribute: ${y}`)}},ve=()=>{i(19,V=!0),window.postMessage({type:"DisableScroll"},window.location.href)},be=e=>{switch(y){case"gmcore":(e=>{i(7,B=e.limitType),i(8,D=e.period),ve(),i(16,F=!0);let t=new URL(`/v2/player/${h}/limits/${{wager:"wagering",loss:"loss",deposit:"deposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"}[e.limitType]}`,f);"sessionLimit"!==e.limitType&&t.searchParams.append("periods",e.period);let n={method:"DELETE",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,n).then((e=>oe(e))).then((t=>{te("self_limitation_cancel_success",e.amount),ae()})).catch((t=>{te("self_limitation_cancel_failed",e.amount),console.log(t),i(17,z=!0)}))})(e);break;case"gm16":J=!0,"sessionLimit"===e.limitType||"cumulativeSession"===e.limitType?Le(e):we(e)}te("self_limitation_cancel_request",e.amount)},Le=e=>{const t=new URL(`/v1/player/${h}/limits/session/session`,f),n=new URL(`/v1/player/${h}/limits/session/cumulativeSession?periods=${e.period}`,f);let r;switch(e.limitType){case"sessionLimit":r=t;break;case"cumulativeSession":r=n;break;default:throw Error(`Unknown limit.limitType: ${e.limitType}`)}ve(),i(16,F=!0);let o={method:"DELETE",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(r.href,o).then((e=>oe(e))).then((t=>{te("self_limitation_cancel_success",e.amount),ae()})).catch((t=>{te("self_limitation_cancel_failed",e.amount),console.log(t),i(17,z=!0)}))},we=e=>{const t=new URL(`/v1/player/${h}/limits/monetary/${e.id}`,f);ve(),i(16,F=!0);let n={method:"DELETE",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,n).then((e=>oe(e))).then((t=>{te("self_limitation_cancel_success",e.amount),ae()})).catch((t=>{te("self_limitation_cancel_failed",e.amount),console.log(t),i(17,z=!0)}))},Te=e=>{let t;return t=n(e?e.value+e.product:B),t},Ee=()=>{i(20,W=i(19,V=!1)),i(22,K=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},Se=()=>{var e;e=c,hn.set(e)};return e.$$set=e=>{"lang"in e&&i(37,c=e.lang),"currency"in e&&i(0,p=e.currency),"limits"in e&&i(38,m=e.limits),"session"in e&&i(39,d=e.session),"userid"in e&&i(40,h=e.userid),"endpoint"in e&&i(41,f=e.endpoint),"apiversion"in e&&i(42,y=e.apiversion),"customcurrencysymbols"in e&&i(43,g=e.customcurrencysymbols),"enablecompliancetext"in e&&i(1,v=e.enablecompliancetext),"deletelimit"in e&&i(2,b=e.deletelimit),"amountsconfig"in e&&i(44,L=e.amountsconfig),"periodsconfig"in e&&i(45,T=e.periodsconfig),"limittabindex"in e&&i(3,E=e.limittabindex),"clientstyling"in e&&i(46,S=e.clientstyling),"clientstylingurl"in e&&i(47,x=e.clientstylingurl),"translationurl"in e&&i(48,P=e.translationurl)},e.$$.update=()=>{4096&e.$$.dirty[1]&&g&&(()=>{if(!g)return;let e={};g.split(",").forEach((t=>{let i=t.split(":");e[i[0].trim()]=i[1].trim()})),Q=Object.assign(Object.assign({},Q),e)})(),24576&e.$$.dirty[1]&&T&&L&&ie(),64&e.$$.dirty[1]&&c&&Se(),3904&e.$$.dirty[1]&&h&&d&&f&&y&&c&&ae(),16&e.$$.dirty[0]|65536&e.$$.dirty[1]&&x&&r&&(()=>{let e=new URL(x),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{r.appendChild(t)}),1)}))})(),16&e.$$.dirty[0]|32768&e.$$.dirty[1]&&S&&r&&(()=>{let e=document.createElement("style");e.innerHTML=S,r.appendChild(e)})(),131072&e.$$.dirty[1]&&P&&fetch(P).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Hn(t,e[t])}))})).catch((e=>{console.log(e)}))},[p,v,b,E,r,jn,C,B,D,M,o,s,O,j,R,U,F,z,G,V,W,q,K,l,Y,n,k,ne,re,()=>{switch(y){case"gmcore":(()=>{if(!(o>0))return;ve(),i(16,F=!0);let e=new URL(`/v2/player/${h}/limits`,f),t={};"sessionLimit"===B?t={sessionLimit:o,sessionLimitUnit:"minute"}:t[jn[B].callValue]="cumulativeSession"===B?[{period:D,minutes:o}]:[{period:"None"===jn[B].periods[0]?null:D,amount:o,currency:p}];let n={method:"PUT",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,n).then((e=>oe(e))).then((e=>{te("self_limitation_success"),ae()})).catch((e=>{console.error(e),i(17,z=!0)}))})();break;case"gm16":J=!1,"lugas"===B?(()=>{if(!(o>0))return;ve(),i(16,F=!0);const e=new URL(`/v2/player/${h}/limit/lugas`,f),t={amount:o,roleLimitAmount:0,softMigration:!1,keepLimit:!1};let n={method:"POST",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,n).then((e=>oe(e))).then((e=>{i(23,l=e.popup),e.operatorDepositLimitAmount,u=e.regulatorDepositLimitAmount,te("self_limitation_success"),ae()})).catch((e=>{console.log(e),i(17,z=!0)}))})():"sessionLimit"===B?(()=>{if(!(o>0))return;ve(),i(16,F=!0);const e=new URL(`/v1/player/${h}/limits/session/`,f),t={sessionLimit:o,sessionLimitUnit:"minute"};let n={method:"PUT",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,n).then((e=>oe(e))).then((e=>{te("self_limitation_success"),ae()})).catch((e=>{console.log(e),i(17,z=!0)}))})():"cumulativeSession"===B?(()=>{if(!(o>0))return;ve(),i(16,F=!0);const e=new URL(`/v1/player/${h}/limits/session/`,f),t={cumulativeSessionLimits:[{period:D,minutes:o}]};let n={method:"PUT",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,n).then((e=>oe(e))).then((e=>{te("self_limitation_success"),ae()})).catch((e=>{console.log(e),i(17,z=!0)}))})():(()=>{if(o<=0)return;ve(),i(16,F=!0);const e=C[M].currentLimits.filter((e=>e.period===D))[0],t=new URL(`/v1/player/${h}/limits/monetary/${e?e.id:""}`,f),n=e?"PUT":"POST",r=e?{amount:o,skipCoolOff:!1}:{amount:o,currency:p,period:"None"===jn[B].periods[0]?null:D,type:jn[B].callValue16,products:[null!=$?$:"All"],walletTypes:["All"]};let s={method:n,headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(r)};fetch(t.href,s).then((e=>oe(e))).then((e=>{te("self_limitation_success"),ae()})).catch((e=>{console.log(e),i(17,z=!0)}))})();break;default:throw Error(`Invalid apiversion attribute: ${y}`)}te("self_limitation_request")},()=>{const e=o-Math.floor(o)==0;o>=O&&o<=j&&e?(i(24,Y=!1),s.removeAttribute("disabled")):(i(24,Y=!0),s.setAttribute("disabled","true"))},ye,be,Te,Ee,()=>{window.postMessage({type:"uploadDocuments"},window.location.href),Ee()},e=>{13===e.keyCode&&Y&&e.preventDefault()},c,m,d,h,f,y,g,L,T,S,x,P,e=>be(e),function(){M=A(this),i(9,M)},()=>{re(),ne(),ye()},function(){D=A(this),i(8,D),i(5,jn),i(7,B)},function(){o=w(this.value),i(10,o)},function(e){I[e?"unshift":"push"]((()=>{s=e,i(11,s)}))},function(e){I[e?"unshift":"push"]((()=>{r=e,i(4,r)}))}]}function Er(e,t){Vi(e,t)}!customElements.get("player-account-gaming-limits-page-2-gm16")&&customElements.define("player-account-gaming-limits-page-2-gm16",class extends q{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A))}input:focus{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A));border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);background:var(--emfe-w-color-white, #FFFFFF)}select:focus,select :focus-within,select :focus-visible,select :visited{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}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-page-2-gm16{color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A))}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px;float:left}.LimitsInteractionArea .InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #FD2839));font-size:14px;padding:6px 0px;margin-bottom:6px}.LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitCompliance{margin:20px 0px}.LimitCompliance .LimitComplianceText{font-size:14px}.LimitWrapper{background:var(--emfe-w-color-white, #fff);font-size:1.3rem;border:1px solid var(--emfe-w-color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.CloseButton{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B);margin-top:8px;border-radius:2px;padding:12px;cursor:pointer}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emfe-w-color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{font-size:1.3rem;color:var(--emfe-w-color-black, #000000)}.PendingLimit{color:var(--emfe-w-color-black, #000000)}.LimitTitle{font-size:0.9rem}.PopupOverlay{position:absolute;top:0;left:0;background:rgba(35, 38, 43, 0.7);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center;z-index:99}.PopupContainer{background:var(--emfe-w-color-white, #FFFFFF);font-size:1.3rem;color:var(--emfe-w-color-black, #000000);width:80vw;min-height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-black, #000000);font-size:1.3rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-white, #FFFFFF)}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},Tr,wr,o,{lang:37,currency:0,limits:38,session:39,userid:40,endpoint:41,apiversion:42,customcurrencysymbols:43,enablecompliancetext:1,deletelimit:2,amountsconfig:44,periodsconfig:45,limittabindex:3,clientstyling:46,clientstylingurl:47,translationurl:48},null,[-1,-1,-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["lang","currency","limits","session","userid","endpoint","apiversion","customcurrencysymbols","enablecompliancetext","deletelimit","amountsconfig","periodsconfig","limittabindex","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[37]}set lang(e){this.$$set({lang:e}),U()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),U()}get limits(){return this.$$.ctx[38]}set limits(e){this.$$set({limits:e}),U()}get session(){return this.$$.ctx[39]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[40]}set userid(e){this.$$set({userid:e}),U()}get endpoint(){return this.$$.ctx[41]}set endpoint(e){this.$$set({endpoint:e}),U()}get apiversion(){return this.$$.ctx[42]}set apiversion(e){this.$$set({apiversion:e}),U()}get customcurrencysymbols(){return this.$$.ctx[43]}set customcurrencysymbols(e){this.$$set({customcurrencysymbols:e}),U()}get enablecompliancetext(){return this.$$.ctx[1]}set enablecompliancetext(e){this.$$set({enablecompliancetext:e}),U()}get deletelimit(){return this.$$.ctx[2]}set deletelimit(e){this.$$set({deletelimit:e}),U()}get amountsconfig(){return this.$$.ctx[44]}set amountsconfig(e){this.$$set({amountsconfig:e}),U()}get periodsconfig(){return this.$$.ctx[45]}set periodsconfig(e){this.$$set({periodsconfig:e}),U()}get limittabindex(){return this.$$.ctx[3]}set limittabindex(e){this.$$set({limittabindex:e}),U()}get clientstyling(){return this.$$.ctx[46]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[47]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get translationurl(){return this.$$.ctx[48]}set translationurl(e){this.$$set({translationurl:e}),U()}});const Sr={en:{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",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},de:{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",historyProductTypeSports:"Sport",historyProductTypeAll:"Alle",historyProductTypeCasino:"Slots",historyLimitTypeDeposit:"Einzahlungslimit",historyLimitTypeWagering:"Einsatzlimit",historyLimitTypeLoss:"Verlustlimit"},hr:{expandLimits:"POVIJEST OGRANIČENJA",daily:"dnevno",weekly:"tjedno",monthly:"mjesečno",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wagering:"Ograničenje igranja",max:"Ograničenje uloga",loading:"Učitavanje povijesti ograničenja...",error:"Nešto je pošlo po zlu. Molimo vas pokušajte ponovno.",limitRemoved:"Ograničenje uklonjeno",historyProductTypeSports:"Sportovi",historyProductTypeAll:"Sve",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Ograničenje uplate",historyLimitTypeWagering:"Ograničenje igranja",historyLimitTypeLoss:"Ograničenje gubitka",wageringSports:"Ograničenje uloga"},sl:{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",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},pl:{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",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"zh-hk":{expandLimits:"极限历史",daily:"每天",weekly:"每个星期",monthly:"每月",loss:"损失限额",deposit:"存款限额",wagering:"投注限额",loading:"加载请稍候...",error:"500 - 服务器错误",limitRemoved:"移除限制",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},fr:{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",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},ro:{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",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Limita depunere",historyLimitTypeWagering:"Limita pariere",historyLimitTypeLoss:"Limita pierdere"},es:{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",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"pt-br":{expandLimits:"HISTÓRICO DE LIMITE",daily:"Por dia",weekly:"por semana",monthly:"por mês",loss:"Limite de perda",deposit:"Limite de depósito",wagering:"Limite de Quantidade de Apostas",max:"Limite de apostas",wageringSports:"Limite de Quantidade de Apostas Esportivas",Loading:"Carregando histórico de limite...",error:"Algo deu errado. Por favor, tente novamente",limitRemoved:"Limite removido",historyProductTypeSports:"Esportes",historyProductTypeAll:"Todos",historyProductTypeCasino:"casino",historyLimitTypeDeposit:"Limite de depósito",historyLimitTypeWagering:"Limite de valor da aposta",historyLimitTypeLoss:"Limite de perda"},"es-mx":{expandLimits:"HISTORIAL DE LÍMITES",daily:"Por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdidas",deposit:"Límite de depósito",wagering:"Límite de monto de apuestas",max:"Límite de apuestas",wageringSports:"Límite de monto de apuestas deportivas",Loading:"Cargando historial de límites...",error:"Algo salió mal. Por favor intente de nuevo",limitRemoved:"Límite removido",historyProductTypeSports:"Deportes",historyProductTypeAll:"Todo",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Límite de depósito",historyLimitTypeWagering:"Límite de monto de apuesta",historyLimitTypeLoss:"Límite de pérdida"},tr:{expandLimits:"SINIR GEÇMİŞİ",daily:"günlük",weekly:"haftada",monthly:"her ay",loss:"Kayıp Limiti",deposit:"Para Yatırma Limiti",wagering:"Bahis Limiti",max:"Bahis limiti",wageringSports:"Bahis Limiti",loading:"Limit geçmişi yükleniyor...",error:"Bir şeyler yanlış gitti. Lütfen tekrar deneyin.",limitRemoved:"Sınır kaldırıldı",historyProductTypeSports:"Spor Dalları",historyProductTypeAll:"Tüm",historyProductTypeCasino:"Kumarhane",historyLimitTypeDeposit:"Para Yatırma Limiti",historyLimitTypeWagering:"Bahis Limiti",historyLimitTypeLoss:"Kayıp Limiti"}};function xr(e,t,i){const n=e.slice();return n[36]=t[i],n[37]=t,n[38]=i,n}function Ar(e){let t,i,n,r,o,s,a,l,g,L,w,E,S=e[9]("expandLimits")+"",x=e[7],A=[];for(let t=0;t<x.length;t+=1)A[t]=Br(xr(e,x,t));return{c(){t=d("div"),i=d("div"),n=d("button"),r=f(S),o=y(),s=h("svg"),a=h("path"),l=h("path"),g=y(),L=d("div");for(let e=0;e<A.length;e+=1)A[e].c();b(a,"d","M10.5 15l7.5 7.5 7.5-7.5z"),b(l,"d","M0 0h36v36h-36z"),b(l,"fill","none"),b(s,"class","ExpandArrow"),b(s,"xmlns","http://www.w3.org/2000/svg"),b(s,"width","36"),b(s,"height","36"),b(s,"viewBox","0 0 36 36"),b(s,"fill","#999"),P(s,"extended",e[8]),b(n,"class","ExpandButton"),b(L,"class","HistoryDisplayArea"),P(L,"hidden",e[5]),b(i,"class","HistoryWrapper "+(e[10]?"Desktop":"")),b(t,"class","player-account-gaming-limits-history-2")},m(p,m){c(p,t,m),u(t,i),u(i,n),u(n,r),u(n,o),u(n,s),u(s,a),u(s,l),u(i,g),u(i,L);for(let e=0;e<A.length;e+=1)A[e]&&A[e].m(L,null);w||(E=v(n,"click",e[11]),w=!0)},p(e,t){if(512&t[0]&&S!==(S=e[9]("expandLimits")+"")&&T(r,S),256&t[0]&&P(s,"extended",e[8]),650&t[0]){let i;for(x=e[7],i=0;i<x.length;i+=1){const n=xr(e,x,i);A[i]?A[i].p(n,t):(A[i]=Br(n),A[i].c(),A[i].m(L,null))}for(;i<A.length;i+=1)A[i].d(1);A.length=x.length}32&t[0]&&P(L,"hidden",e[5])},d(e){e&&p(t),m(A,e),w=!1,E()}}}function Pr(t){return{c:e,m:e,p:e,d:e}}function _r(e){let t,i,n=(e[0]?e[9]("error"):"500 Server Error")+"";return{c(){t=d("p"),i=f(n)},m(e,n){c(e,t,n),u(t,i)},p(e,t){513&t[0]&&n!==(n=(e[0]?e[9]("error"):"500 Server Error")+"")&&T(i,n)},d(e){e&&p(t)}}}function kr(e){let t,i,n,r,o,s,a,l,m,h,g,v,L=e[36].type+"",w=e[36].amount+"",E=e[36].currency+"",S=e[36].period+"",x=e[36].date+"";return{c(){t=d("div"),i=d("span"),n=d("span"),r=f(L),o=d("span"),s=f(w),a=y(),l=f(E),m=y(),h=f(S),g=d("span"),v=f(x),b(n,"class","LimitType"),b(o,"class","LimitAmountPeriod"),b(i,"class","GeneralLimitInformation"),b(g,"class","DateLimitInformation"),b(t,"class","HistoryRow")},m(e,p){c(e,t,p),u(t,i),u(i,n),u(n,r),u(i,o),u(o,s),u(o,a),u(o,l),u(o,m),u(o,h),u(t,g),u(g,v)},p(e,t){128&t[0]&&L!==(L=e[36].type+"")&&T(r,L),128&t[0]&&w!==(w=e[36].amount+"")&&T(s,w),128&t[0]&&E!==(E=e[36].currency+"")&&T(l,E),128&t[0]&&S!==(S=e[36].period+"")&&T(h,S),128&t[0]&&x!==(x=e[36].date+"")&&T(v,x)},d(e){e&&p(t)}}}function Cr(e){let t,i,n,r,o,s,a,l,m=e[36].type+"",h=e[9]("limitRemoved")+"",y=e[36].date+"";return{c(){t=d("div"),i=d("span"),n=d("span"),r=f(m),o=d("span"),s=f(h),a=d("span"),l=f(y),b(n,"class","LimitType"),b(o,"class","LimitAmountPeriod"),b(i,"class","GeneralLimitInformation"),b(a,"class","DateLimitInformation"),b(t,"class","HistoryRow")},m(e,p){c(e,t,p),u(t,i),u(i,n),u(n,r),u(i,o),u(o,s),u(t,a),u(a,l)},p(e,t){128&t[0]&&m!==(m=e[36].type+"")&&T(r,m),512&t[0]&&h!==(h=e[9]("limitRemoved")+"")&&T(s,h),128&t[0]&&y!==(y=e[36].date+"")&&T(l,y)},d(e){e&&p(t)}}}function Br(e){let t,i,n,r=e[38];function o(e,t){return e[36].removed?Cr:kr}let s=o(e),a=s(e);const l=()=>e[20](t,r),m=()=>e[20](null,r);return{c(){t=d("div"),a.c(),i=y(),b(t,"class",n=e[38]>+e[1]?"LimitContainer":"")},m(e,n){c(e,t,n),a.m(t,null),u(t,i),l()},p(u,c){s===(s=o(e=u))&&a?a.p(e,c):(a.d(1),a=s(e),a&&(a.c(),a.m(t,i))),2&c[0]&&n!==(n=e[38]>+e[1]?"LimitContainer":"")&&b(t,"class",n),r!==e[38]&&(m(),r=e[38],l())},d(e){e&&p(t),a.d(),m()}}}function Dr(t){let i;function n(e,t){return e[6]?_r:e[4]?Pr:Ar}let r=n(t),o=r(t);return{c(){i=d("div"),o.c(),this.c=e},m(e,n){c(e,i,n),o.m(i,null),t[21](i)},p(e,t){r===(r=n(e))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(i,null)))},i:e,o:e,d(e){e&&p(i),o.d(),t[21](null)}}}function Ir(e,t,i){let n;a(e,$n,(e=>i(9,n=e)));let r,o=window.navigator.userAgent,s=!Mn(o),{lang:l=""}=t,{userid:u=""}=t,{session:c=""}=t,{endpoint:p=""}=t,{apiversion:m=""}=t,{numberofentries:d="10"}=t,{customcurrencysymbols:h=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{translationurl:g=""}=t,v=new Array,b=parseInt(d,10),L=!1,w=!0,T=[],E=[],S=!0,x=!1,A={EUR:"€",RON:"lei"};Object.keys(Sr).forEach((e=>{Er(e,Sr[e])}));const P=e=>{const t=!!Sr[l];return e.map((e=>{let i={amount:"",currency:"",date:"",period:"",type:"",removed:!1};return i.amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.limitAmount),i.currency=t?A[e.limitCurrencyCode]:e.limitCurrencyCode,i.date=new Intl.DateTimeFormat("de",{dateStyle:"medium"}).format(new Date(e.limitDate)),i.period=n(`${e.limitPeriod.toLowerCase()}`),i.type="gmcore"===m?n(`historyLimitType${e.limitType.split(" ")[0]}`):n(`historyLimitType${e.limitType.split(" ")[0]}`)+" "+n(`historyProductType${e.limitProductType}`),i.removed=-1===e.limitAmount,i}))};let _=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&(b+=parseInt(d,10)||10,E.length<T.length&&i(7,E=T.slice(0,b)))}))}));const k=()=>{var e;e=l,hn.set(e)};return B((()=>()=>{_.unobserve(v[v.length-1])})),e.$$set=e=>{"lang"in e&&i(0,l=e.lang),"userid"in e&&i(12,u=e.userid),"session"in e&&i(13,c=e.session),"endpoint"in e&&i(14,p=e.endpoint),"apiversion"in e&&i(15,m=e.apiversion),"numberofentries"in e&&i(1,d=e.numberofentries),"customcurrencysymbols"in e&&i(16,h=e.customcurrencysymbols),"clientstyling"in e&&i(17,f=e.clientstyling),"clientstylingurl"in e&&i(18,y=e.clientstylingurl),"translationurl"in e&&i(19,g=e.translationurl)},e.$$.update=()=>{65536&e.$$.dirty[0]&&h&&(()=>{if(!h)return;let e={};h.split(",").forEach((t=>{let i=t.split(":");e[i[0].trim()]=i[1].trim()})),A=Object.assign(Object.assign({},A),e)})(),61440&e.$$.dirty[0]&&p&&u&&c&&m&&(()=>{let e=new URL("gmcore"===m?`/v2/player/${u}/transactions/limit`:`/v1/player/${u}/limits/monetary/history`,p);e.searchParams.append("startDate",`${new Date("2022").toISOString()}`),e.searchParams.append("endDate",`${new Date("2099").toISOString()}`),e.searchParams.append("limit","10000");let t={method:"GET",headers:{"X-SessionID":c}};fetch(e.href,t).then((e=>{if(e.status>=300)throw i(4,w=!1),i(6,L=!0),new Error("There was an error fetching the limits");return e.json()})).then((e=>{e.length&&(T=P(e),i(7,E=T.slice(0,b))),i(4,w=!1)}),(e=>{console.error("There was an error",e),i(6,L=!0)}))})(),56&e.$$.dirty[0]&&v[0]&&!w&&!S&&_.observe(v[v.length-1]),1&e.$$.dirty[0]&&l&&k(),262144&e.$$.dirty[0]&&y&&(()=>{let e=new URL(y),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,r&&(setTimeout((()=>{r.appendChild(t)}),1),setTimeout((()=>{}),500))}))})(),131076&e.$$.dirty[0]&&f&&r&&(()=>{let e=document.createElement("style");e.innerHTML=f,r.appendChild(e)})(),524292&e.$$.dirty[0]&&g&&r&&fetch(g).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Er(t,e[t])}))})).catch((e=>{console.log(e)}))},[l,d,r,v,w,S,L,E,x,n,s,()=>{i(5,S=!S),i(8,x=!x)},u,c,p,m,h,f,y,g,function(e,t){I[e?"unshift":"push"]((()=>{v[t]=e,i(3,v)}))},function(e){I[e?"unshift":"push"]((()=>{r=e,i(2,r)}))}]}!customElements.get("player-account-gaming-limits-history-2")&&customElements.define("player-account-gaming-limits-history-2",class extends q{constructor(e){super();const t=document.createElement("style");t.textContent=':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:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));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:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.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)}}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},Ir,Dr,o,{lang:0,userid:12,session:13,endpoint:14,apiversion:15,numberofentries:1,customcurrencysymbols:16,clientstyling:17,clientstylingurl:18,translationurl:19},null,[-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["lang","userid","session","endpoint","apiversion","numberofentries","customcurrencysymbols","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),U()}get userid(){return this.$$.ctx[12]}set userid(e){this.$$set({userid:e}),U()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),U()}get endpoint(){return this.$$.ctx[14]}set endpoint(e){this.$$set({endpoint:e}),U()}get apiversion(){return this.$$.ctx[15]}set apiversion(e){this.$$set({apiversion:e}),U()}get numberofentries(){return this.$$.ctx[1]}set numberofentries(e){this.$$set({numberofentries:e}),U()}get customcurrencysymbols(){return this.$$.ctx[16]}set customcurrencysymbols(e){this.$$set({customcurrencysymbols:e}),U()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get translationurl(){return this.$$.ctx[19]}set translationurl(e){this.$$set({translationurl:e}),U()}});const{document:$r}=l;function Mr(e,t,i){const n=e.slice();return n[40]=t[i],n[42]=i,n}function Or(e,t,i){const n=e.slice();return n[43]=t[i],n[42]=i,n}function jr(e){let t,i,n,r,o=e[22].length>1&&function(e){let t,i=e[22],n=[];for(let t=0;t<i.length;t+=1)n[t]=Nr(Or(e,i,t));return{c(){t=d("div");for(let e=0;e<n.length;e+=1)n[e].c();b(t,"class","TabsContainer")},m(i,r){c(i,t,r);for(let e=0;e<n.length;e+=1)n[e]&&n[e].m(t,null);e[31](t)},p(e,r){if(21102592&r[0]){let o;for(i=e[22],o=0;o<i.length;o+=1){const s=Or(e,i,o);n[o]?n[o].p(s,r):(n[o]=Nr(s),n[o].c(),n[o].m(t,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},d(i){i&&p(t),m(n,i),e[31](null)}}}(e),s=e[22],a=[];for(let t=0;t<s.length;t+=1)a[t]=Rr(Mr(e,s,t));let l="true"===e[6]&&Ur(e);return{c(){o&&o.c(),t=y(),i=d("div");for(let e=0;e<a.length;e+=1)a[e].c();n=y(),l&&l.c(),r=g(),b(i,"class","PlayerAccountGamingLmitsWrapper2")},m(s,u){o&&o.m(s,u),c(s,t,u),c(s,i,u);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(i,null);e[32](i),c(s,n,u),l&&l.m(s,u),c(s,r,u)},p(e,t){if(e[22].length>1&&o.p(e,t),1588671&t[0]){let n;for(s=e[22],n=0;n<s.length;n+=1){const r=Mr(e,s,n);a[n]?a[n].p(r,t):(a[n]=Rr(r),a[n].c(),a[n].m(i,null))}for(;n<a.length;n+=1)a[n].d(1);a.length=s.length}"true"===e[6]?l?l.p(e,t):(l=Ur(e),l.c(),l.m(r.parentNode,r)):l&&(l.d(1),l=null)},d(s){o&&o.d(s),s&&p(t),s&&p(i),m(a,s),e[32](null),s&&p(n),l&&l.d(s),s&&p(r)}}}function Hr(t){return{c:e,m:e,p:e,d:e}}function Nr(e){let t,i,n,r,o=(e[17][e[42]]??e[43])+"";function s(){return e[30](e[42])}return{c(){t=d("div"),i=f(o),b(t,"class","LimitsTab")},m(e,o){c(e,t,o),u(t,i),n||(r=v(t,"click",s),n=!0)},p(t,n){e=t,131072&n[0]&&o!==(o=(e[17][e[42]]??e[43])+"")&&T(i,o)},d(e){e&&p(t),n=!1,r()}}}function Rr(e){let t,i,n;return{c(){t=d("player-account-gaming-limits-page-2-gm16"),L(t,"class","hidden selected"),L(t,"lang",e[0]),L(t,"currency",e[4]),L(t,"amountsconfig",i=e[19][e[42]]),L(t,"periodsconfig",n=e[20][e[42]]),L(t,"limittabindex",e[42]+1),L(t,"userid",e[1]),L(t,"deletelimit",e[8]),L(t,"enablecompliancetext",e[7]),L(t,"session",e[2]),L(t,"endpoint",e[3]),L(t,"apiversion",e[5]),L(t,"clientstyling",e[11]),L(t,"clientstylingurl",e[12]),L(t,"translationurl",e[13]),L(t,"customcurrencysymbols",e[10])},m(e,i){c(e,t,i)},p(e,r){1&r[0]&&L(t,"lang",e[0]),16&r[0]&&L(t,"currency",e[4]),524288&r[0]&&i!==(i=e[19][e[42]])&&L(t,"amountsconfig",i),1048576&r[0]&&n!==(n=e[20][e[42]])&&L(t,"periodsconfig",n),2&r[0]&&L(t,"userid",e[1]),256&r[0]&&L(t,"deletelimit",e[8]),128&r[0]&&L(t,"enablecompliancetext",e[7]),4&r[0]&&L(t,"session",e[2]),8&r[0]&&L(t,"endpoint",e[3]),32&r[0]&&L(t,"apiversion",e[5]),2048&r[0]&&L(t,"clientstyling",e[11]),4096&r[0]&&L(t,"clientstylingurl",e[12]),8192&r[0]&&L(t,"translationurl",e[13]),1024&r[0]&&L(t,"customcurrencysymbols",e[10])},d(e){e&&p(t)}}}function Ur(e){let t;return{c(){t=d("player-account-gaming-limits-history-2"),L(t,"lang",e[0]),L(t,"userid",e[1]),L(t,"session",e[2]),L(t,"endpoint",e[3]),L(t,"apiversion",e[5]),L(t,"numberofentries",e[9]),L(t,"clientstyling",e[11]),L(t,"clientstylingurl",e[12]),L(t,"translationurl",e[13]),L(t,"customcurrencysymbols",e[10])},m(e,i){c(e,t,i)},p(e,i){1&i[0]&&L(t,"lang",e[0]),2&i[0]&&L(t,"userid",e[1]),4&i[0]&&L(t,"session",e[2]),8&i[0]&&L(t,"endpoint",e[3]),32&i[0]&&L(t,"apiversion",e[5]),512&i[0]&&L(t,"numberofentries",e[9]),2048&i[0]&&L(t,"clientstyling",e[11]),4096&i[0]&&L(t,"clientstylingurl",e[12]),8192&i[0]&&L(t,"translationurl",e[13]),1024&i[0]&&L(t,"customcurrencysymbols",e[10])},d(e){e&&p(t)}}}function Fr(t){let i,n,r,o,s,a,l,m,g,L=t[21]("title")+"",w=t[23]&&function(e){let t,i,n,r,o,s,a,l,m,g,L,w,E,S=e[21]("title")+"";return{c(){t=d("div"),i=h("svg"),n=h("defs"),r=h("style"),o=f(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));}"),s=h("g"),a=h("g"),l=h("path"),m=y(),g=d("h2"),L=f(S),b(l,"class","aaa"),b(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),b(l,"transform","translate(15 15) rotate(180)"),b(a,"transform","translate(20 158)"),b(s,"transform","translate(-20 -158)"),b(i,"xmlns","http://www.w3.org/2000/svg"),b(i,"width","15"),b(i,"height","15"),b(i,"viewBox","0 0 15 15"),b(g,"class","GamingLimitsTitleMobile"),b(t,"class","MenuReturnButton"),b(t,"part","MenuReturnButton")},m(p,d){c(p,t,d),u(t,i),u(i,n),u(n,r),u(r,o),u(i,s),u(s,a),u(a,l),u(t,m),u(t,g),u(g,L),w||(E=v(t,"click",e[29]),w=!0)},p(e,t){2097152&t[0]&&S!==(S=e[21]("title")+"")&&T(L,S)},d(e){e&&p(t),w=!1,E()}}}(t);function E(e,t){return e[14]?Hr:jr}let S=E(t),x=S(t);return{c(){i=d("meta"),n=y(),r=d("div"),o=d("div"),s=d("div"),w&&w.c(),a=y(),l=d("h2"),m=f(L),g=y(),x.c(),this.c=e,b(i,"name","viewport"),b(i,"content","width=device-width, initial-scale=1"),b(l,"class","GamingLimitsTitle "+(t[23]?"GamingLimitsTitleNone":"")),b(s,"class","TitleSection"),b(o,"class","GamingLimitsWrapper "+(t[23]?"GamingLimitsWrapperMobile":""))},m(e,p){u($r.head,i),c(e,n,p),c(e,r,p),u(r,o),u(o,s),w&&w.m(s,null),u(s,a),u(s,l),u(l,m),u(o,g),x.m(o,null),t[33](r)},p(e,t){e[23]&&w.p(e,t),2097152&t[0]&&L!==(L=e[21]("title")+"")&&T(m,L),S===(S=E(e))&&x?x.p(e,t):(x.d(1),x=S(e),x&&(x.c(),x.m(o,null)))},i:e,o:e,d(e){p(i),e&&p(n),e&&p(r),w&&w.d(),x.d(),t[33](null)}}}function zr(e,t,i){let n;a(e,$n,(e=>i(21,n=e)));let{lang:r=""}=t,{userid:o=""}=t,{session:s=""}=t,{endpoint:l=""}=t,{currency:u=""}=t,{apiversion:c=""}=t,{tablabels:p=""}=t,{historyenabled:m="true"}=t,{enablecompliancetext:d="false"}=t,{deletelimit:h=""}=t,{limitsamount:f=""}=t,{limitsperiods:y=""}=t,{numberofentries:g=""}=t,{customcurrencysymbols:v=""}=t,{clientstyling:b=""}=t,{clientstylingurl:L=""}=t,{translationurl:w=""}=t;!function({withLocale:e,translations:t}){hn.subscribe((i=>{null==i&&(Fi.set(t),hn.set(e))}))}({withLocale:"en",translations:{}});let T,E,S,x,A,P,_=!0,k=[],C="PC"!==(e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC")(window.navigator.userAgent);Object.keys(On).forEach((e=>{!function(e,t){Vi(e,t)}(e,On[e])}));const D=()=>{((e,t)=>{if(i(19,A=e.replace(/\s/g,"").split("|")),i(20,P=t.replace(/\s/g,"").split("|")),0===A.length)throw new Error("Please provide a full limits configuration.");if(A.length!==P.length)throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.")})(f,y),f.split("|").forEach((e=>{k.includes(e)||k.push(e)})),i(17,E=p.split(",").map((e=>e.trim()))),i(14,_=!1)},$=e=>{if(S.children.length>0)for(let t=0;t<S.children.length;t++)e===t?(S.children[t].classList.remove("hidden"),null==x||x.children[t].classList.add("selected")):(S.children[t].classList.add("hidden"),null==x||x.children[t].classList.remove("selected"))},M=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:C},window.location.href)};B((()=>()=>{i(16,S=null),i(18,x=null)}));return e.$$set=e=>{"lang"in e&&i(0,r=e.lang),"userid"in e&&i(1,o=e.userid),"session"in e&&i(2,s=e.session),"endpoint"in e&&i(3,l=e.endpoint),"currency"in e&&i(4,u=e.currency),"apiversion"in e&&i(5,c=e.apiversion),"tablabels"in e&&i(26,p=e.tablabels),"historyenabled"in e&&i(6,m=e.historyenabled),"enablecompliancetext"in e&&i(7,d=e.enablecompliancetext),"deletelimit"in e&&i(8,h=e.deletelimit),"limitsamount"in e&&i(27,f=e.limitsamount),"limitsperiods"in e&&i(28,y=e.limitsperiods),"numberofentries"in e&&i(9,g=e.numberofentries),"customcurrencysymbols"in e&&i(10,v=e.customcurrencysymbols),"clientstyling"in e&&i(11,b=e.clientstyling),"clientstylingurl"in e&&i(12,L=e.clientstylingurl),"translationurl"in e&&i(13,w=e.translationurl)},e.$$.update=()=>{67108911&e.$$.dirty[0]&&o&&s&&l&&p&&r&&c&&D(),81920&e.$$.dirty[0]&&S&&!_&&$(0),36864&e.$$.dirty[0]&&L&&T&&(()=>{let e=new URL(L),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{T.appendChild(t)}),1)}))})(),34816&e.$$.dirty[0]&&b&&T&&(()=>{let e=document.createElement("style");e.innerHTML=b,T.appendChild(e)})()},[r,o,s,l,u,c,m,d,h,g,v,b,L,w,_,T,S,E,x,A,P,n,k,C,$,M,p,f,y,()=>M(),e=>$(e),function(e){I[e?"unshift":"push"]((()=>{x=e,i(18,x)}))},function(e){I[e?"unshift":"push"]((()=>{S=e,i(16,S)}))},function(e){I[e?"unshift":"push"]((()=>{T=e,i(15,T)}))}]}class Gr extends q{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px 50px 30px 50px}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.TabsContainer{height:50px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid var(--emfe-w-color-gray-300, #58586B);justify-content:center;background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 0.15rem 0.2rem 0 rgba(0, 0, 0, 0.12)}.LimitsTab{font-size:1.3rem;line-height:1.4rem;margin-bottom:3px;display:flex;justify-content:center;align-items:center;padding:0 1rem;box-sizing:content-box}.hidden{display:none}h2{margin:20px 0px}.PlayerAccountGamingLmitsWrapper2{margin-bottom:20px}.MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C))}.GamingLimitsTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));font-weight:400}.GamingLimitsTitleMobile{font-size:16px}.GamingLimitsTitleNone{display:none}.selected{border-bottom:0.2rem solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));margin:0}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},zr,Fr,o,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,tablabels:26,historyenabled:6,enablecompliancetext:7,deletelimit:8,limitsamount:27,limitsperiods:28,numberofentries:9,customcurrencysymbols:10,clientstyling:11,clientstylingurl:12,translationurl:13},null,[-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["lang","userid","session","endpoint","currency","apiversion","tablabels","historyenabled","enablecompliancetext","deletelimit","limitsamount","limitsperiods","numberofentries","customcurrencysymbols","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),U()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),U()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),U()}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),U()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),U()}get apiversion(){return this.$$.ctx[5]}set apiversion(e){this.$$set({apiversion:e}),U()}get tablabels(){return this.$$.ctx[26]}set tablabels(e){this.$$set({tablabels:e}),U()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(e){this.$$set({historyenabled:e}),U()}get enablecompliancetext(){return this.$$.ctx[7]}set enablecompliancetext(e){this.$$set({enablecompliancetext:e}),U()}get deletelimit(){return this.$$.ctx[8]}set deletelimit(e){this.$$set({deletelimit:e}),U()}get limitsamount(){return this.$$.ctx[27]}set limitsamount(e){this.$$set({limitsamount:e}),U()}get limitsperiods(){return this.$$.ctx[28]}set limitsperiods(e){this.$$set({limitsperiods:e}),U()}get numberofentries(){return this.$$.ctx[9]}set numberofentries(e){this.$$set({numberofentries:e}),U()}get customcurrencysymbols(){return this.$$.ctx[10]}set customcurrencysymbols(e){this.$$set({customcurrencysymbols:e}),U()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),U()}}return!customElements.get("player-account-gaming-limits-wrapper-2")&&customElements.define("player-account-gaming-limits-wrapper-2",Gr),Gr}));
|
|
2
2
|
//# sourceMappingURL=player-account-gaming-limits-wrapper-2.js.map
|