@everymatrix/player-account-gaming-limits-page-2-gm16 1.87.22 → 1.87.24

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,6 +1,6 @@
1
- "use strict";var Jo=Object.defineProperty,Qo=Object.defineProperties;var er=Object.getOwnPropertyDescriptors;var Si=Object.getOwnPropertySymbols;var tr=Object.prototype.hasOwnProperty,ir=Object.prototype.propertyIsEnumerable;var Nt=(e,t,i)=>t in e?Jo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,nt=(e,t)=>{for(var i in t||(t={}))tr.call(t,i)&&Nt(e,i,t[i]);if(Si)for(var i of Si(t))ir.call(t,i)&&Nt(e,i,t[i]);return e},Ai=(e,t)=>Qo(e,er(t));var ve=(e,t,i)=>(Nt(e,typeof t!="symbol"?t+"":t,i),i);var Pi=(e,t,i)=>new Promise((n,o)=>{var r=c=>{try{l(i.next(c))}catch(u){o(u)}},a=c=>{try{l(i.throw(c))}catch(u){o(u)}},l=c=>c.done?n(c.value):Promise.resolve(c.value).then(r,a);l((i=i.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-BreIU6e5.cjs");function fe(){}function Ln(e){return e()}function Ti(){return Object.create(null)}function Ee(e){e.forEach(Ln)}function li(e){return typeof e=="function"}function _n(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function nr(e){return Object.keys(e).length===0}function wn(e,...t){if(e==null){for(const n of t)n(void 0);return fe}const i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function or(e,t,i){e.$$.on_destroy.push(wn(t,i))}function p(e,t){e.appendChild(t)}function rr(e,t,i){const n=ar(e);if(!n.getElementById(t)){const o=L("style");o.id=t,o.textContent=i,sr(n,o)}}function ar(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function sr(e,t){return p(e.head||e,t),t.sheet}function P(e,t,i){e.insertBefore(t,i||null)}function S(e){e.parentNode&&e.parentNode.removeChild(e)}function We(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function L(e){return document.createElement(e)}function J(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function j(e){return document.createTextNode(e)}function O(){return j(" ")}function ui(){return j("")}function le(e,t,i,n){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i,n)}function h(e,t,i){i==null?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function kn(e){return e===""?null:+e}function lr(e){return Array.from(e.childNodes)}function U(e,t){t=""+t,e.data!==t&&(e.data=t)}function at(e,t){e.value=t==null?"":t}function Oe(e,t,i,n){i==null?e.style.removeProperty(t):e.style.setProperty(t,i,"")}function Lt(e,t,i){for(let n=0;n<e.options.length;n+=1){const o=e.options[n];if(o.__value===t){o.selected=!0;return}}(!i||t!==void 0)&&(e.selectedIndex=-1)}function Ci(e){const t=e.querySelector(":checked");return t&&t.__value}function ur(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}let st;function rt(e){st=e}function cr(){if(!st)throw new Error("Function called outside component initialization");return st}function dr(e){cr().$$.on_mount.push(e)}const ze=[],Wt=[];let He=[];const Di=[],mr=Promise.resolve();let qt=!1;function pr(){qt||(qt=!0,mr.then(te))}function lt(e){He.push(e)}const Ut=new Set;let Ne=0;function te(){if(Ne!==0)return;const e=st;do{try{for(;Ne<ze.length;){const t=ze[Ne];Ne++,rt(t),fr(t.$$)}}catch(t){throw ze.length=0,Ne=0,t}for(rt(null),ze.length=0,Ne=0;Wt.length;)Wt.pop()();for(let t=0;t<He.length;t+=1){const i=He[t];Ut.has(i)||(Ut.add(i),i())}He.length=0}while(ze.length);for(;Di.length;)Di.pop()();qt=!1,Ut.clear(),rt(e)}function fr(e){if(e.fragment!==null){e.update(),Ee(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(lt)}}function hr(e){const t=[],i=[];He.forEach(n=>e.indexOf(n)===-1?t.push(n):i.push(n)),i.forEach(n=>n()),He=t}const gr=new Set;function yr(e,t){e&&e.i&&(gr.delete(e),e.i(t))}function be(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function vr(e,t,i){const{fragment:n,after_update:o}=e.$$;n&&n.m(t,i),lt(()=>{const r=e.$$.on_mount.map(Ln).filter(li);e.$$.on_destroy?e.$$.on_destroy.push(...r):Ee(r),e.$$.on_mount=[]}),o.forEach(lt)}function br(e,t){const i=e.$$;i.fragment!==null&&(hr(i.after_update),Ee(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}function Lr(e,t){e.$$.dirty[0]===-1&&(ze.push(e),pr(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function _r(e,t,i,n,o,r,a=null,l=[-1]){const c=st;rt(e);const u=e.$$={fragment:null,ctx:[],props:r,update:fe,not_equal:o,bound:Ti(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:Ti(),dirty:l,skip_bound:!1,root:t.target||c.$$.root};a&&a(u.root);let d=!1;if(u.ctx=i?i(e,t.props||{},(f,y,...v)=>{const k=v.length?v[0]:y;return u.ctx&&o(u.ctx[f],u.ctx[f]=k)&&(!u.skip_bound&&u.bound[f]&&u.bound[f](k),d&&Lr(e,f)),y}):[],u.update(),d=!0,Ee(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const f=lr(t.target);u.fragment&&u.fragment.l(f),f.forEach(S)}else u.fragment&&u.fragment.c();t.intro&&yr(e.$$.fragment),vr(e,t.target,t.anchor),te()}rt(c)}let En;typeof HTMLElement=="function"&&(En=class extends HTMLElement{constructor(t,i,n){super();ve(this,"$$ctor");ve(this,"$$s");ve(this,"$$c");ve(this,"$$cn",!1);ve(this,"$$d",{});ve(this,"$$r",!1);ve(this,"$$p_d",{});ve(this,"$$l",{});ve(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=i,n&&this.attachShadow({mode:"open"})}addEventListener(t,i,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(i),this.$$c){const o=this.$$c.$on(t,i);this.$$l_u.set(i,o)}super.addEventListener(t,i,n)}removeEventListener(t,i,n){if(super.removeEventListener(t,i,n),this.$$c){const o=this.$$l_u.get(i);o&&(o(),this.$$l_u.delete(i))}}connectedCallback(){return Pi(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(r){return()=>{let a;return{c:function(){a=L("slot"),r!=="default"&&h(a,"name",r)},m:function(u,d){P(u,a,d)},d:function(u){u&&S(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const i={},n=ur(this);for(const r of this.$$s)r in n&&(i[r]=[t(r)]);for(const r of this.attributes){const a=this.$$g_p(r.name);a in this.$$d||(this.$$d[a]=gt(a,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Ai(nt({},this.$$d),{$$slots:i,$$scope:{ctx:[]}})});const o=()=>{this.$$r=!0;for(const r in this.$$p_d)if(this.$$d[r]=this.$$c.$$.ctx[this.$$c.$$.props[r]],this.$$p_d[r].reflect){const a=gt(r,this.$$d[r],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,a)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const r in this.$$l)for(const a of this.$$l[r]){const l=this.$$c.$on(r,a);this.$$l_u.set(a,l)}this.$$l={}}})}attributeChangedCallback(t,i,n){var o;this.$$r||(t=this.$$g_p(t),this.$$d[t]=gt(t,n,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(i=>this.$$p_d[i].attribute===t||!this.$$p_d[i].attribute&&i.toLowerCase()===t)||t}});function gt(e,t,i,n){var r;const o=(r=i[e])==null?void 0:r.type;if(t=o==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!i[e])return t;if(n==="toAttribute")switch(o){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(o){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function wr(e,t,i,n,o,r){let a=class extends En{constructor(){super(e,i,o),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(c){var u;c=gt(l,c,t),this.$$d[l]=c,(u=this.$$c)==null||u.$set({[l]:c})}})}),n.forEach(l=>{Object.defineProperty(a.prototype,l,{get(){var c;return(c=this.$$c)==null?void 0:c[l]}})}),e.element=a,a}class kr{constructor(){ve(this,"$$");ve(this,"$$set")}$destroy(){br(this,1),this.$destroy=fe}$on(t,i){if(!li(i))return fe;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(i),()=>{const o=n.indexOf(i);o!==-1&&n.splice(o,1)}}$set(t){this.$$set&&!nr(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Er="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Er);const $={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"},netdeposit:{title:"Net Deposit Limit",value:"netdeposit",callValue:"netDepositLimits",callValue16:"NetDeposit"}},Ue=[];function xr(e,t){return{subscribe:Et(e,t).subscribe}}function Et(e,t=fe){let i;const n=new Set;function o(l){if(_n(e,l)&&(e=l,i)){const c=!Ue.length;for(const u of n)u[1](),Ue.push(u,e);if(c){for(let u=0;u<Ue.length;u+=2)Ue[u][0](Ue[u+1]);Ue.length=0}}}function r(l){o(l(e))}function a(l,c=fe){const u=[l,c];return n.add(u),n.size===1&&(i=t(o,r)||fe),l(e),()=>{n.delete(u),n.size===0&&i&&(i(),i=null)}}return{set:o,update:r,subscribe:a}}function qe(e,t,i){const n=!Array.isArray(e),o=n?[e]:e;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=t.length<2;return xr(i,(a,l)=>{let c=!1;const u=[];let d=0,f=fe;const y=()=>{if(d)return;f();const k=t(n?u[0]:u,a,l);r?a(k):f=li(k)?k:fe},v=o.map((k,D)=>wn(k,K=>{u[D]=K,d&=~(1<<D),c&&y()},()=>{d|=1<<D}));return c=!0,y(),function(){Ee(v),f(),c=!1}})}function Sr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ar=function(t){return Pr(t)&&!Tr(t)};function Pr(e){return!!e&&typeof e=="object"}function Tr(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Mr(e)}var Cr=typeof Symbol=="function"&&Symbol.for,Dr=Cr?Symbol.for("react.element"):60103;function Mr(e){return e.$$typeof===Dr}function Br(e){return Array.isArray(e)?[]:{}}function ut(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Re(Br(e),e,t):e}function Ir(e,t,i){return e.concat(t).map(function(n){return ut(n,i)})}function jr(e,t){if(!t.customMerge)return Re;var i=t.customMerge(e);return typeof i=="function"?i:Re}function Nr(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Mi(e){return Object.keys(e).concat(Nr(e))}function xn(e,t){try{return t in e}catch(i){return!1}}function Ur(e,t){return xn(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function zr(e,t,i){var n={};return i.isMergeableObject(e)&&Mi(e).forEach(function(o){n[o]=ut(e[o],i)}),Mi(t).forEach(function(o){Ur(e,o)||(xn(e,o)&&i.isMergeableObject(t[o])?n[o]=jr(o,i)(e[o],t[o],i):n[o]=ut(t[o],i))}),n}function Re(e,t,i){i=i||{},i.arrayMerge=i.arrayMerge||Ir,i.isMergeableObject=i.isMergeableObject||Ar,i.cloneUnlessOtherwiseSpecified=ut;var n=Array.isArray(t),o=Array.isArray(e),r=n===o;return r?n?i.arrayMerge(e,t,i):zr(e,t,i):ut(t,i)}Re.all=function(t,i){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return Re(n,o,i)},{})};var Or=Re,Hr=Or;const Rr=Sr(Hr);var Xt=function(e,t){return Xt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(i[o]=n[o])},Xt(e,t)};function xt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Xt(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}var ke=function(){return ke=Object.assign||function(t){for(var i,n=1,o=arguments.length;n<o;n++){i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},ke.apply(this,arguments)};function Fr(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i}function zt(e,t,i){if(i||arguments.length===2)for(var n=0,o=t.length,r;n<o;n++)(r||!(n in t))&&(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}function Ot(e,t){var i=t&&t.cache?t.cache:Yr,n=t&&t.serializer?t.serializer:Xr,o=t&&t.strategy?t.strategy:Wr;return o(e,{cache:i,serializer:n})}function Gr(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Vr(e,t,i,n){var o=Gr(n)?n:i(n),r=t.get(o);return typeof r=="undefined"&&(r=e.call(this,n),t.set(o,r)),r}function Sn(e,t,i){var n=Array.prototype.slice.call(arguments,3),o=i(n),r=t.get(o);return typeof r=="undefined"&&(r=e.apply(this,n),t.set(o,r)),r}function An(e,t,i,n,o){return i.bind(t,e,n,o)}function Wr(e,t){var i=e.length===1?Vr:Sn;return An(e,this,i,t.cache.create(),t.serializer)}function qr(e,t){return An(e,this,Sn,t.cache.create(),t.serializer)}var Xr=function(){return JSON.stringify(arguments)},Kr=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,i){this.cache[t]=i},e}(),Yr={create:function(){return new Kr}},Ht={variadic:qr},_t=function(){return _t=Object.assign||function(t){for(var i,n=1,o=arguments.length;n<o;n++){i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},_t.apply(this,arguments)};var V;(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"})(V||(V={}));var ee;(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"})(ee||(ee={}));var Fe;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Fe||(Fe={}));function Bi(e){return e.type===ee.literal}function Zr(e){return e.type===ee.argument}function Pn(e){return e.type===ee.number}function Tn(e){return e.type===ee.date}function Cn(e){return e.type===ee.time}function Dn(e){return e.type===ee.select}function Mn(e){return e.type===ee.plural}function $r(e){return e.type===ee.pound}function Bn(e){return e.type===ee.tag}function In(e){return!!(e&&typeof e=="object"&&e.type===Fe.number)}function Kt(e){return!!(e&&typeof e=="object"&&e.type===Fe.dateTime)}var jn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Jr=/(?:[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 Qr(e){var t={};return e.replace(Jr,function(i){var n=i.length;switch(i[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"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"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-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=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-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"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-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"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<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 ie=function(){return ie=Object.assign||function(t){for(var i,n=1,o=arguments.length;n<o;n++){i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},ie.apply(this,arguments)};var ea=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function ta(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(ea).filter(function(y){return y.length>0}),i=[],n=0,o=t;n<o.length;n++){var r=o[n],a=r.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var l=a[0],c=a.slice(1),u=0,d=c;u<d.length;u++){var f=d[u];if(f.length===0)throw new Error("Invalid number skeleton")}i.push({stem:l,options:c})}return i}function ia(e){return e.replace(/^(.*?)-/,"")}var Ii=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Nn=/^(@+)?(\+|#+)?[rs]?$/g,na=/(\*)(0+)|(#+)(0+)|(0+)/g,Un=/^(0+)$/;function ji(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Nn,function(i,n,o){return typeof o!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):o==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof o=="string"?o.length:0)),""}),t}function zn(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 oa(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(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)),!Un.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ni(e){var t={},i=zn(e);return i||t}function ra(e){for(var t={},i=0,n=e;i<n.length;i++){var o=n[i];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.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=ia(o.options[0]);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=ie(ie(ie({},t),{notation:"scientific"}),o.options.reduce(function(c,u){return ie(ie({},c),Ni(u))},{}));continue;case"engineering":t=ie(ie(ie({},t),{notation:"engineering"}),o.options.reduce(function(c,u){return ie(ie({},c),Ni(u))},{}));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(o.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(na,function(c,u,d,f,y,v){if(u)t.minimumIntegerDigits=d.length;else{if(f&&y)throw new Error("We currently do not support maximum integer digits");if(v)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Un.test(o.stem)){t.minimumIntegerDigits=o.stem.length;continue}if(Ii.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Ii,function(c,u,d,f,y,v){return d==="*"?t.minimumFractionDigits=u.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:y&&v?(t.minimumFractionDigits=y.length,t.maximumFractionDigits=y.length+v.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var r=o.options[0];r==="w"?t=ie(ie({},t),{trailingZeroDisplay:"stripIfInteger"}):r&&(t=ie(ie({},t),ji(r)));continue}if(Nn.test(o.stem)){t=ie(ie({},t),ji(o.stem));continue}var a=zn(o.stem);a&&(t=ie(ie({},t),a));var l=oa(o.stem);l&&(t=ie(ie({},t),l))}return t}var ft={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function aa(e,t){for(var i="",n=0;n<e.length;n++){var o=e.charAt(n);if(o==="j"){for(var r=0;n+1<e.length&&e.charAt(n+1)===o;)r++,n++;var a=1+(r&1),l=r<2?1:3+(r>>1),c="a",u=sa(t);for((u=="H"||u=="k")&&(l=0);l-- >0;)i+=c;for(;a-- >0;)i=u+i}else o==="J"?i+="H":i+=o}return i}function sa(e){var t=e.hourCycle;if(t===void 0&&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=e.language,n;i!=="root"&&(n=e.maximize().region);var o=ft[n||""]||ft[i||""]||ft["".concat(i,"-001")]||ft["001"];return o[0]}var Rt,la=new RegExp("^".concat(jn.source,"*")),ua=new RegExp("".concat(jn.source,"*$"));function W(e,t){return{start:e,end:t}}var ca=!!String.prototype.startsWith&&"_a".startsWith("a",1),da=!!String.fromCodePoint,ma=!!Object.fromEntries,pa=!!String.prototype.codePointAt,fa=!!String.prototype.trimStart,ha=!!String.prototype.trimEnd,ga=!!Number.isSafeInteger,ya=ga?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Yt=!0;try{var va=Hn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Yt=((Rt=va.exec("a"))===null||Rt===void 0?void 0:Rt[0])==="a"}catch(e){Yt=!1}var Ui=ca?function(t,i,n){return t.startsWith(i,n)}:function(t,i,n){return t.slice(n,n+i.length)===i},Zt=da?String.fromCodePoint:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];for(var n="",o=t.length,r=0,a;o>r;){if(a=t[r++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},zi=ma?Object.fromEntries:function(t){for(var i={},n=0,o=t;n<o.length;n++){var r=o[n],a=r[0],l=r[1];i[a]=l}return i},On=pa?function(t,i){return t.codePointAt(i)}:function(t,i){var n=t.length;if(!(i<0||i>=n)){var o=t.charCodeAt(i),r;return o<55296||o>56319||i+1===n||(r=t.charCodeAt(i+1))<56320||r>57343?o:(o-55296<<10)+(r-56320)+65536}},ba=fa?function(t){return t.trimStart()}:function(t){return t.replace(la,"")},La=ha?function(t){return t.trimEnd()}:function(t){return t.replace(ua,"")};function Hn(e,t){return new RegExp(e,t)}var $t;if(Yt){var Oi=Hn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");$t=function(t,i){var n;Oi.lastIndex=i;var o=Oi.exec(t);return(n=o[1])!==null&&n!==void 0?n:""}}else $t=function(t,i){for(var n=[];;){var o=On(t,i);if(o===void 0||Rn(o)||Ea(o))break;n.push(o),i+=o>=65536?2:1}return Zt.apply(void 0,n)};var _a=function(){function e(t,i){i===void 0&&(i={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!i.ignoreTag,this.locale=i.locale,this.requiresOtherClause=!!i.requiresOtherClause,this.shouldParseSkeletons=!!i.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,i,n){for(var o=[];!this.isEOF();){var r=this.char();if(r===123){var a=this.parseArgument(t,n);if(a.err)return a;o.push(a.val)}else{if(r===125&&t>0)break;if(r===35&&(i==="plural"||i==="selectordinal")){var l=this.clonePosition();this.bump(),o.push({type:ee.pound,location:W(l,this.clonePosition())})}else if(r===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(V.UNMATCHED_CLOSING_TAG,W(this.clonePosition(),this.clonePosition()))}else if(r===60&&!this.ignoreTag&&Jt(this.peek()||0)){var a=this.parseTag(t,i);if(a.err)return a;o.push(a.val)}else{var a=this.parseLiteral(t,i);if(a.err)return a;o.push(a.val)}}}return{val:o,err:null}},e.prototype.parseTag=function(t,i){var n=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ee.literal,value:"<".concat(o,"/>"),location:W(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(t+1,i,!0);if(r.err)return r;var a=r.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Jt(this.char()))return this.error(V.INVALID_TAG,W(l,this.clonePosition()));var c=this.clonePosition(),u=this.parseTagName();return o!==u?this.error(V.UNMATCHED_CLOSING_TAG,W(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ee.tag,value:o,children:a,location:W(n,this.clonePosition())},err:null}:this.error(V.INVALID_TAG,W(l,this.clonePosition())))}else return this.error(V.UNCLOSED_TAG,W(n,this.clonePosition()))}else return this.error(V.INVALID_TAG,W(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&ka(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,i){for(var n=this.clonePosition(),o="";;){var r=this.tryParseQuote(i);if(r){o+=r;continue}var a=this.tryParseUnquoted(t,i);if(a){o+=a;continue}var l=this.tryParseLeftAngleBracket();if(l){o+=l;continue}break}var c=W(n,this.clonePosition());return{val:{type:ee.literal,value:o,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!wa(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var i=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)i.push(39),this.bump();else{this.bump();break}else i.push(n);this.bump()}return Zt.apply(void 0,i)},e.prototype.tryParseUnquoted=function(t,i){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(i==="plural"||i==="selectordinal")||n===125&&t>0?null:(this.bump(),Zt(n))},e.prototype.parseArgument=function(t,i){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(V.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(V.EMPTY_ARGUMENT,W(n,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(V.MALFORMED_ARGUMENT,W(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(V.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ee.argument,value:o,location:W(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(V.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition())):this.parseArgumentOptions(t,i,o,n);default:return this.error(V.MALFORMED_ARGUMENT,W(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),i=this.offset(),n=$t(this.message,i),o=i+n.length;this.bumpTo(o);var r=this.clonePosition(),a=W(t,r);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,i,n,o){var r,a=this.clonePosition(),l=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(l){case"":return this.error(V.EXPECT_ARGUMENT_TYPE,W(a,c));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var d=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var y=La(f.val);if(y.length===0)return this.error(V.EXPECT_ARGUMENT_STYLE,W(this.clonePosition(),this.clonePosition()));var v=W(d,this.clonePosition());u={style:y,styleLocation:v}}var k=this.tryParseArgumentClose(o);if(k.err)return k;var D=W(o,this.clonePosition());if(u&&Ui(u==null?void 0:u.style,"::",0)){var K=ba(u.style.slice(2));if(l==="number"){var f=this.parseNumberSkeletonFromString(K,u.styleLocation);return f.err?f:{val:{type:ee.number,value:n,location:D,style:f.val},err:null}}else{if(K.length===0)return this.error(V.EXPECT_DATE_TIME_SKELETON,D);var B=K;this.locale&&(B=aa(K,this.locale));var y={type:Fe.dateTime,pattern:B,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Qr(B):{}},I=l==="date"?ee.date:ee.time;return{val:{type:I,value:n,location:D,style:y},err:null}}}return{val:{type:l==="number"?ee.number:l==="date"?ee.date:ee.time,value:n,location:D,style:(r=u==null?void 0:u.style)!==null&&r!==void 0?r:null},err:null}}case"plural":case"selectordinal":case"select":{var R=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(V.EXPECT_SELECT_ARGUMENT_OPTIONS,W(R,_t({},R)));this.bumpSpace();var F=this.parseIdentifierIfPossible(),N=0;if(l!=="select"&&F.value==="offset"){if(!this.bumpIf(":"))return this.error(V.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,W(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(V.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,V.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),F=this.parseIdentifierIfPossible(),N=f.val}var M=this.tryParsePluralOrSelectOptions(t,l,i,F);if(M.err)return M;var k=this.tryParseArgumentClose(o);if(k.err)return k;var H=W(o,this.clonePosition());return l==="select"?{val:{type:ee.select,value:n,options:zi(M.val),location:H},err:null}:{val:{type:ee.plural,value:n,options:zi(M.val),offset:N,pluralType:l==="plural"?"cardinal":"ordinal",location:H},err:null}}default:return this.error(V.INVALID_ARGUMENT_TYPE,W(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(V.EXPECT_ARGUMENT_CLOSING_BRACE,W(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,i=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var o=this.clonePosition();if(!this.bumpUntil("'"))return this.error(V.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,W(o,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(i.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(i.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,i){var n=[];try{n=ta(t)}catch(o){return this.error(V.INVALID_NUMBER_SKELETON,i)}return{val:{type:Fe.number,tokens:n,location:i,parsedOptions:this.shouldParseSkeletons?ra(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,i,n,o){for(var r,a=!1,l=[],c=new Set,u=o.value,d=o.location;;){if(u.length===0){var f=this.clonePosition();if(i!=="select"&&this.bumpIf("=")){var y=this.tryParseDecimalInteger(V.EXPECT_PLURAL_ARGUMENT_SELECTOR,V.INVALID_PLURAL_ARGUMENT_SELECTOR);if(y.err)return y;d=W(f,this.clonePosition()),u=this.message.slice(f.offset,this.offset())}else break}if(c.has(u))return this.error(i==="select"?V.DUPLICATE_SELECT_ARGUMENT_SELECTOR:V.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,d);u==="other"&&(a=!0),this.bumpSpace();var v=this.clonePosition();if(!this.bumpIf("{"))return this.error(i==="select"?V.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:V.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,W(this.clonePosition(),this.clonePosition()));var k=this.parseMessage(t+1,i,n);if(k.err)return k;var D=this.tryParseArgumentClose(v);if(D.err)return D;l.push([u,{value:k.val,location:W(v,this.clonePosition())}]),c.add(u),this.bumpSpace(),r=this.parseIdentifierIfPossible(),u=r.value,d=r.location}return l.length===0?this.error(i==="select"?V.EXPECT_SELECT_ARGUMENT_SELECTOR:V.EXPECT_PLURAL_ARGUMENT_SELECTOR,W(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(V.MISSING_OTHER_CLAUSE,W(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,i){var n=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var r=!1,a=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)r=!0,a=a*10+(l-48),this.bump();else break}var c=W(o,this.clonePosition());return r?(a*=n,ya(a)?{val:a,err:null}:this.error(i,c)):this.error(t,c)},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 t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var i=On(this.message,t);if(i===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return i},e.prototype.error=function(t,i){return{val:null,err:{kind:t,message:this.message,location:i}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Ui(this.message,t,this.offset())){for(var i=0;i<t.length;i++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var i=this.offset(),n=this.message.indexOf(t,i);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var i=this.offset();if(i===t)break;if(i>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Rn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),i=this.offset(),n=this.message.charCodeAt(i+(t>=65536?2:1));return n!=null?n:null},e}();function Jt(e){return e>=97&&e<=122||e>=65&&e<=90}function wa(e){return Jt(e)||e===47}function ka(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||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}function Rn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Ea(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===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>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||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||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===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>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===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>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||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||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Qt(e){e.forEach(function(t){if(delete t.location,Dn(t)||Mn(t))for(var i in t.options)delete t.options[i].location,Qt(t.options[i].value);else Pn(t)&&In(t.style)||(Tn(t)||Cn(t))&&Kt(t.style)?delete t.style.location:Bn(t)&&Qt(t.children)})}function xa(e,t){t===void 0&&(t={}),t=_t({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new _a(e,t).parse();if(i.err){var n=SyntaxError(V[i.err.kind]);throw n.location=i.err.location,n.originalMessage=i.err.message,n}return t!=null&&t.captureLocation||Qt(i.val),i.val}var Ge;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ge||(Ge={}));var St=function(e){xt(t,e);function t(i,n,o){var r=e.call(this,i)||this;return r.code=n,r.originalMessage=o,r}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Hi=function(e){xt(t,e);function t(i,n,o,r){return e.call(this,'Invalid values for "'.concat(i,'": "').concat(n,'". Options are "').concat(Object.keys(o).join('", "'),'"'),Ge.INVALID_VALUE,r)||this}return t}(St),Sa=function(e){xt(t,e);function t(i,n,o){return e.call(this,'Value for "'.concat(i,'" must be of type ').concat(n),Ge.INVALID_VALUE,o)||this}return t}(St),Aa=function(e){xt(t,e);function t(i,n){return e.call(this,'The intl string context variable "'.concat(i,'" was not provided to the string "').concat(n,'"'),Ge.MISSING_VALUE,n)||this}return t}(St),pe;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(pe||(pe={}));function Pa(e){return e.length<2?e:e.reduce(function(t,i){var n=t[t.length-1];return!n||n.type!==pe.literal||i.type!==pe.literal?t.push(i):n.value+=i.value,t},[])}function Ta(e){return typeof e=="function"}function yt(e,t,i,n,o,r,a){if(e.length===1&&Bi(e[0]))return[{type:pe.literal,value:e[0].value}];for(var l=[],c=0,u=e;c<u.length;c++){var d=u[c];if(Bi(d)){l.push({type:pe.literal,value:d.value});continue}if($r(d)){typeof r=="number"&&l.push({type:pe.literal,value:i.getNumberFormat(t).format(r)});continue}var f=d.value;if(!(o&&f in o))throw new Aa(f,a);var y=o[f];if(Zr(d)){(!y||typeof y=="string"||typeof y=="number")&&(y=typeof y=="string"||typeof y=="number"?String(y):""),l.push({type:typeof y=="string"?pe.literal:pe.object,value:y});continue}if(Tn(d)){var v=typeof d.style=="string"?n.date[d.style]:Kt(d.style)?d.style.parsedOptions:void 0;l.push({type:pe.literal,value:i.getDateTimeFormat(t,v).format(y)});continue}if(Cn(d)){var v=typeof d.style=="string"?n.time[d.style]:Kt(d.style)?d.style.parsedOptions:n.time.medium;l.push({type:pe.literal,value:i.getDateTimeFormat(t,v).format(y)});continue}if(Pn(d)){var v=typeof d.style=="string"?n.number[d.style]:In(d.style)?d.style.parsedOptions:void 0;v&&v.scale&&(y=y*(v.scale||1)),l.push({type:pe.literal,value:i.getNumberFormat(t,v).format(y)});continue}if(Bn(d)){var k=d.children,D=d.value,K=o[D];if(!Ta(K))throw new Sa(D,"function",a);var B=yt(k,t,i,n,o,r),I=K(B.map(function(N){return N.value}));Array.isArray(I)||(I=[I]),l.push.apply(l,I.map(function(N){return{type:typeof N=="string"?pe.literal:pe.object,value:N}}))}if(Dn(d)){var R=d.options[y]||d.options.other;if(!R)throw new Hi(d.value,y,Object.keys(d.options),a);l.push.apply(l,yt(R.value,t,i,n,o));continue}if(Mn(d)){var R=d.options["=".concat(y)];if(!R){if(!Intl.PluralRules)throw new St(`Intl.PluralRules is not available in this environment.
1
+ "use strict";var ir=Object.defineProperty,nr=Object.defineProperties;var or=Object.getOwnPropertyDescriptors;var Pi=Object.getOwnPropertySymbols;var rr=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable;var zt=(e,t,i)=>t in e?ir(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,nt=(e,t)=>{for(var i in t||(t={}))rr.call(t,i)&&zt(e,i,t[i]);if(Pi)for(var i of Pi(t))ar.call(t,i)&&zt(e,i,t[i]);return e},Ti=(e,t)=>nr(e,or(t));var Le=(e,t,i)=>(zt(e,typeof t!="symbol"?t+"":t,i),i);var Ci=(e,t,i)=>new Promise((n,o)=>{var r=c=>{try{l(i.next(c))}catch(u){o(u)}},a=c=>{try{l(i.throw(c))}catch(u){o(u)}},l=c=>c.done?n(c.value):Promise.resolve(c.value).then(r,a);l((i=i.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-BreIU6e5.cjs");function fe(){}function wn(e){return e()}function Di(){return Object.create(null)}function Ee(e){e.forEach(wn)}function ci(e){return typeof e=="function"}function kn(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function sr(e){return Object.keys(e).length===0}function En(e,...t){if(e==null){for(const n of t)n(void 0);return fe}const i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function lr(e,t,i){e.$$.on_destroy.push(En(t,i))}function p(e,t){e.appendChild(t)}function ur(e,t,i){const n=cr(e);if(!n.getElementById(t)){const o=L("style");o.id=t,o.textContent=i,dr(n,o)}}function cr(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function dr(e,t){return p(e.head||e,t),t.sheet}function P(e,t,i){e.insertBefore(t,i||null)}function A(e){e.parentNode&&e.parentNode.removeChild(e)}function qe(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function L(e){return document.createElement(e)}function J(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function M(e){return document.createTextNode(e)}function z(){return M(" ")}function di(){return M("")}function ue(e,t,i,n){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i,n)}function h(e,t,i){i==null?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function xn(e){return e===""?null:+e}function mr(e){return Array.from(e.childNodes)}function j(e,t){t=""+t,e.data!==t&&(e.data=t)}function at(e,t){e.value=t==null?"":t}function He(e,t,i,n){i==null?e.style.removeProperty(t):e.style.setProperty(t,i,"")}function _t(e,t,i){for(let n=0;n<e.options.length;n+=1){const o=e.options[n];if(o.__value===t){o.selected=!0;return}}(!i||t!==void 0)&&(e.selectedIndex=-1)}function Mi(e){const t=e.querySelector(":checked");return t&&t.__value}function pr(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}let st;function rt(e){st=e}function fr(){if(!st)throw new Error("Function called outside component initialization");return st}function hr(e){fr().$$.on_mount.push(e)}const Oe=[],Xt=[];let Re=[];const Bi=[],gr=Promise.resolve();let Kt=!1;function yr(){Kt||(Kt=!0,gr.then(ie))}function lt(e){Re.push(e)}const Ot=new Set;let Ue=0;function ie(){if(Ue!==0)return;const e=st;do{try{for(;Ue<Oe.length;){const t=Oe[Ue];Ue++,rt(t),vr(t.$$)}}catch(t){throw Oe.length=0,Ue=0,t}for(rt(null),Oe.length=0,Ue=0;Xt.length;)Xt.pop()();for(let t=0;t<Re.length;t+=1){const i=Re[t];Ot.has(i)||(Ot.add(i),i())}Re.length=0}while(Oe.length);for(;Bi.length;)Bi.pop()();Kt=!1,Ot.clear(),rt(e)}function vr(e){if(e.fragment!==null){e.update(),Ee(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(lt)}}function br(e){const t=[],i=[];Re.forEach(n=>e.indexOf(n)===-1?t.push(n):i.push(n)),i.forEach(n=>n()),Re=t}const Lr=new Set;function _r(e,t){e&&e.i&&(Lr.delete(e),e.i(t))}function _e(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function wr(e,t,i){const{fragment:n,after_update:o}=e.$$;n&&n.m(t,i),lt(()=>{const r=e.$$.on_mount.map(wn).filter(ci);e.$$.on_destroy?e.$$.on_destroy.push(...r):Ee(r),e.$$.on_mount=[]}),o.forEach(lt)}function kr(e,t){const i=e.$$;i.fragment!==null&&(br(i.after_update),Ee(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}function Er(e,t){e.$$.dirty[0]===-1&&(Oe.push(e),yr(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function xr(e,t,i,n,o,r,a=null,l=[-1]){const c=st;rt(e);const u=e.$$={fragment:null,ctx:[],props:r,update:fe,not_equal:o,bound:Di(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:Di(),dirty:l,skip_bound:!1,root:t.target||c.$$.root};a&&a(u.root);let d=!1;if(u.ctx=i?i(e,t.props||{},(f,y,...b)=>{const k=b.length?b[0]:y;return u.ctx&&o(u.ctx[f],u.ctx[f]=k)&&(!u.skip_bound&&u.bound[f]&&u.bound[f](k),d&&Er(e,f)),y}):[],u.update(),d=!0,Ee(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const f=mr(t.target);u.fragment&&u.fragment.l(f),f.forEach(A)}else u.fragment&&u.fragment.c();t.intro&&_r(e.$$.fragment),wr(e,t.target,t.anchor),ie()}rt(c)}let Sn;typeof HTMLElement=="function"&&(Sn=class extends HTMLElement{constructor(t,i,n){super();Le(this,"$$ctor");Le(this,"$$s");Le(this,"$$c");Le(this,"$$cn",!1);Le(this,"$$d",{});Le(this,"$$r",!1);Le(this,"$$p_d",{});Le(this,"$$l",{});Le(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=i,n&&this.attachShadow({mode:"open"})}addEventListener(t,i,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(i),this.$$c){const o=this.$$c.$on(t,i);this.$$l_u.set(i,o)}super.addEventListener(t,i,n)}removeEventListener(t,i,n){if(super.removeEventListener(t,i,n),this.$$c){const o=this.$$l_u.get(i);o&&(o(),this.$$l_u.delete(i))}}connectedCallback(){return Ci(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(r){return()=>{let a;return{c:function(){a=L("slot"),r!=="default"&&h(a,"name",r)},m:function(u,d){P(u,a,d)},d:function(u){u&&A(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const i={},n=pr(this);for(const r of this.$$s)r in n&&(i[r]=[t(r)]);for(const r of this.attributes){const a=this.$$g_p(r.name);a in this.$$d||(this.$$d[a]=yt(a,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Ti(nt({},this.$$d),{$$slots:i,$$scope:{ctx:[]}})});const o=()=>{this.$$r=!0;for(const r in this.$$p_d)if(this.$$d[r]=this.$$c.$$.ctx[this.$$c.$$.props[r]],this.$$p_d[r].reflect){const a=yt(r,this.$$d[r],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,a)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const r in this.$$l)for(const a of this.$$l[r]){const l=this.$$c.$on(r,a);this.$$l_u.set(a,l)}this.$$l={}}})}attributeChangedCallback(t,i,n){var o;this.$$r||(t=this.$$g_p(t),this.$$d[t]=yt(t,n,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(i=>this.$$p_d[i].attribute===t||!this.$$p_d[i].attribute&&i.toLowerCase()===t)||t}});function yt(e,t,i,n){var r;const o=(r=i[e])==null?void 0:r.type;if(t=o==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!i[e])return t;if(n==="toAttribute")switch(o){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(o){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Sr(e,t,i,n,o,r){let a=class extends Sn{constructor(){super(e,i,o),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(c){var u;c=yt(l,c,t),this.$$d[l]=c,(u=this.$$c)==null||u.$set({[l]:c})}})}),n.forEach(l=>{Object.defineProperty(a.prototype,l,{get(){var c;return(c=this.$$c)==null?void 0:c[l]}})}),e.element=a,a}class Ar{constructor(){Le(this,"$$");Le(this,"$$set")}$destroy(){kr(this,1),this.$destroy=fe}$on(t,i){if(!ci(i))return fe;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(i),()=>{const o=n.indexOf(i);o!==-1&&n.splice(o,1)}}$set(t){this.$$set&&!sr(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Pr="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Pr);const $={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"},netdeposit:{title:"Net Deposit Limit",value:"netdeposit",callValue:"netDepositLimits",callValue16:"NetDeposit"}},ze=[];function Tr(e,t){return{subscribe:xt(e,t).subscribe}}function xt(e,t=fe){let i;const n=new Set;function o(l){if(kn(e,l)&&(e=l,i)){const c=!ze.length;for(const u of n)u[1](),ze.push(u,e);if(c){for(let u=0;u<ze.length;u+=2)ze[u][0](ze[u+1]);ze.length=0}}}function r(l){o(l(e))}function a(l,c=fe){const u=[l,c];return n.add(u),n.size===1&&(i=t(o,r)||fe),l(e),()=>{n.delete(u),n.size===0&&i&&(i(),i=null)}}return{set:o,update:r,subscribe:a}}function Xe(e,t,i){const n=!Array.isArray(e),o=n?[e]:e;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=t.length<2;return Tr(i,(a,l)=>{let c=!1;const u=[];let d=0,f=fe;const y=()=>{if(d)return;f();const k=t(n?u[0]:u,a,l);r?a(k):f=ci(k)?k:fe},b=o.map((k,T)=>En(k,K=>{u[T]=K,d&=~(1<<T),c&&y()},()=>{d|=1<<T}));return c=!0,y(),function(){Ee(b),f(),c=!1}})}function Cr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Dr=function(t){return Mr(t)&&!Br(t)};function Mr(e){return!!e&&typeof e=="object"}function Br(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Nr(e)}var Ir=typeof Symbol=="function"&&Symbol.for,jr=Ir?Symbol.for("react.element"):60103;function Nr(e){return e.$$typeof===jr}function Ur(e){return Array.isArray(e)?[]:{}}function ut(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Fe(Ur(e),e,t):e}function zr(e,t,i){return e.concat(t).map(function(n){return ut(n,i)})}function Or(e,t){if(!t.customMerge)return Fe;var i=t.customMerge(e);return typeof i=="function"?i:Fe}function Hr(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Ii(e){return Object.keys(e).concat(Hr(e))}function An(e,t){try{return t in e}catch(i){return!1}}function Rr(e,t){return An(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Fr(e,t,i){var n={};return i.isMergeableObject(e)&&Ii(e).forEach(function(o){n[o]=ut(e[o],i)}),Ii(t).forEach(function(o){Rr(e,o)||(An(e,o)&&i.isMergeableObject(t[o])?n[o]=Or(o,i)(e[o],t[o],i):n[o]=ut(t[o],i))}),n}function Fe(e,t,i){i=i||{},i.arrayMerge=i.arrayMerge||zr,i.isMergeableObject=i.isMergeableObject||Dr,i.cloneUnlessOtherwiseSpecified=ut;var n=Array.isArray(t),o=Array.isArray(e),r=n===o;return r?n?i.arrayMerge(e,t,i):Fr(e,t,i):ut(t,i)}Fe.all=function(t,i){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return Fe(n,o,i)},{})};var Gr=Fe,Vr=Gr;const Wr=Cr(Vr);var Yt=function(e,t){return Yt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(i[o]=n[o])},Yt(e,t)};function St(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Yt(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}var ke=function(){return ke=Object.assign||function(t){for(var i,n=1,o=arguments.length;n<o;n++){i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},ke.apply(this,arguments)};function qr(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i}function Ht(e,t,i){if(i||arguments.length===2)for(var n=0,o=t.length,r;n<o;n++)(r||!(n in t))&&(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}function Rt(e,t){var i=t&&t.cache?t.cache:Qr,n=t&&t.serializer?t.serializer:$r,o=t&&t.strategy?t.strategy:Yr;return o(e,{cache:i,serializer:n})}function Xr(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Kr(e,t,i,n){var o=Xr(n)?n:i(n),r=t.get(o);return typeof r=="undefined"&&(r=e.call(this,n),t.set(o,r)),r}function Pn(e,t,i){var n=Array.prototype.slice.call(arguments,3),o=i(n),r=t.get(o);return typeof r=="undefined"&&(r=e.apply(this,n),t.set(o,r)),r}function Tn(e,t,i,n,o){return i.bind(t,e,n,o)}function Yr(e,t){var i=e.length===1?Kr:Pn;return Tn(e,this,i,t.cache.create(),t.serializer)}function Zr(e,t){return Tn(e,this,Pn,t.cache.create(),t.serializer)}var $r=function(){return JSON.stringify(arguments)},Jr=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,i){this.cache[t]=i},e}(),Qr={create:function(){return new Jr}},Ft={variadic:Zr},wt=function(){return wt=Object.assign||function(t){for(var i,n=1,o=arguments.length;n<o;n++){i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},wt.apply(this,arguments)};var F;(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"})(F||(F={}));var ee;(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"})(ee||(ee={}));var Ge;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ge||(Ge={}));function ji(e){return e.type===ee.literal}function ea(e){return e.type===ee.argument}function Cn(e){return e.type===ee.number}function Dn(e){return e.type===ee.date}function Mn(e){return e.type===ee.time}function Bn(e){return e.type===ee.select}function In(e){return e.type===ee.plural}function ta(e){return e.type===ee.pound}function jn(e){return e.type===ee.tag}function Nn(e){return!!(e&&typeof e=="object"&&e.type===Ge.number)}function Zt(e){return!!(e&&typeof e=="object"&&e.type===Ge.dateTime)}var Un=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ia=/(?:[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 na(e){var t={};return e.replace(ia,function(i){var n=i.length;switch(i[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"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"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-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=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-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"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-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"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<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 ne=function(){return ne=Object.assign||function(t){for(var i,n=1,o=arguments.length;n<o;n++){i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},ne.apply(this,arguments)};var oa=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function ra(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(oa).filter(function(y){return y.length>0}),i=[],n=0,o=t;n<o.length;n++){var r=o[n],a=r.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var l=a[0],c=a.slice(1),u=0,d=c;u<d.length;u++){var f=d[u];if(f.length===0)throw new Error("Invalid number skeleton")}i.push({stem:l,options:c})}return i}function aa(e){return e.replace(/^(.*?)-/,"")}var Ni=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,zn=/^(@+)?(\+|#+)?[rs]?$/g,sa=/(\*)(0+)|(#+)(0+)|(0+)/g,On=/^(0+)$/;function Ui(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(zn,function(i,n,o){return typeof o!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):o==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof o=="string"?o.length:0)),""}),t}function Hn(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 la(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(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)),!On.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function zi(e){var t={},i=Hn(e);return i||t}function ua(e){for(var t={},i=0,n=e;i<n.length;i++){var o=n[i];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.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=aa(o.options[0]);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=ne(ne(ne({},t),{notation:"scientific"}),o.options.reduce(function(c,u){return ne(ne({},c),zi(u))},{}));continue;case"engineering":t=ne(ne(ne({},t),{notation:"engineering"}),o.options.reduce(function(c,u){return ne(ne({},c),zi(u))},{}));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(o.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(sa,function(c,u,d,f,y,b){if(u)t.minimumIntegerDigits=d.length;else{if(f&&y)throw new Error("We currently do not support maximum integer digits");if(b)throw new Error("We currently do not support exact integer digits")}return""});continue}if(On.test(o.stem)){t.minimumIntegerDigits=o.stem.length;continue}if(Ni.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Ni,function(c,u,d,f,y,b){return d==="*"?t.minimumFractionDigits=u.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:y&&b?(t.minimumFractionDigits=y.length,t.maximumFractionDigits=y.length+b.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var r=o.options[0];r==="w"?t=ne(ne({},t),{trailingZeroDisplay:"stripIfInteger"}):r&&(t=ne(ne({},t),Ui(r)));continue}if(zn.test(o.stem)){t=ne(ne({},t),Ui(o.stem));continue}var a=Hn(o.stem);a&&(t=ne(ne({},t),a));var l=la(o.stem);l&&(t=ne(ne({},t),l))}return t}var ht={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function ca(e,t){for(var i="",n=0;n<e.length;n++){var o=e.charAt(n);if(o==="j"){for(var r=0;n+1<e.length&&e.charAt(n+1)===o;)r++,n++;var a=1+(r&1),l=r<2?1:3+(r>>1),c="a",u=da(t);for((u=="H"||u=="k")&&(l=0);l-- >0;)i+=c;for(;a-- >0;)i=u+i}else o==="J"?i+="H":i+=o}return i}function da(e){var t=e.hourCycle;if(t===void 0&&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=e.language,n;i!=="root"&&(n=e.maximize().region);var o=ht[n||""]||ht[i||""]||ht["".concat(i,"-001")]||ht["001"];return o[0]}var Gt,ma=new RegExp("^".concat(Un.source,"*")),pa=new RegExp("".concat(Un.source,"*$"));function W(e,t){return{start:e,end:t}}var fa=!!String.prototype.startsWith&&"_a".startsWith("a",1),ha=!!String.fromCodePoint,ga=!!Object.fromEntries,ya=!!String.prototype.codePointAt,va=!!String.prototype.trimStart,ba=!!String.prototype.trimEnd,La=!!Number.isSafeInteger,_a=La?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},$t=!0;try{var wa=Fn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");$t=((Gt=wa.exec("a"))===null||Gt===void 0?void 0:Gt[0])==="a"}catch(e){$t=!1}var Oi=fa?function(t,i,n){return t.startsWith(i,n)}:function(t,i,n){return t.slice(n,n+i.length)===i},Jt=ha?String.fromCodePoint:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];for(var n="",o=t.length,r=0,a;o>r;){if(a=t[r++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},Hi=ga?Object.fromEntries:function(t){for(var i={},n=0,o=t;n<o.length;n++){var r=o[n],a=r[0],l=r[1];i[a]=l}return i},Rn=ya?function(t,i){return t.codePointAt(i)}:function(t,i){var n=t.length;if(!(i<0||i>=n)){var o=t.charCodeAt(i),r;return o<55296||o>56319||i+1===n||(r=t.charCodeAt(i+1))<56320||r>57343?o:(o-55296<<10)+(r-56320)+65536}},ka=va?function(t){return t.trimStart()}:function(t){return t.replace(ma,"")},Ea=ba?function(t){return t.trimEnd()}:function(t){return t.replace(pa,"")};function Fn(e,t){return new RegExp(e,t)}var Qt;if($t){var Ri=Fn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Qt=function(t,i){var n;Ri.lastIndex=i;var o=Ri.exec(t);return(n=o[1])!==null&&n!==void 0?n:""}}else Qt=function(t,i){for(var n=[];;){var o=Rn(t,i);if(o===void 0||Gn(o)||Pa(o))break;n.push(o),i+=o>=65536?2:1}return Jt.apply(void 0,n)};var xa=function(){function e(t,i){i===void 0&&(i={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!i.ignoreTag,this.locale=i.locale,this.requiresOtherClause=!!i.requiresOtherClause,this.shouldParseSkeletons=!!i.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,i,n){for(var o=[];!this.isEOF();){var r=this.char();if(r===123){var a=this.parseArgument(t,n);if(a.err)return a;o.push(a.val)}else{if(r===125&&t>0)break;if(r===35&&(i==="plural"||i==="selectordinal")){var l=this.clonePosition();this.bump(),o.push({type:ee.pound,location:W(l,this.clonePosition())})}else if(r===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(F.UNMATCHED_CLOSING_TAG,W(this.clonePosition(),this.clonePosition()))}else if(r===60&&!this.ignoreTag&&ei(this.peek()||0)){var a=this.parseTag(t,i);if(a.err)return a;o.push(a.val)}else{var a=this.parseLiteral(t,i);if(a.err)return a;o.push(a.val)}}}return{val:o,err:null}},e.prototype.parseTag=function(t,i){var n=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ee.literal,value:"<".concat(o,"/>"),location:W(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(t+1,i,!0);if(r.err)return r;var a=r.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!ei(this.char()))return this.error(F.INVALID_TAG,W(l,this.clonePosition()));var c=this.clonePosition(),u=this.parseTagName();return o!==u?this.error(F.UNMATCHED_CLOSING_TAG,W(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ee.tag,value:o,children:a,location:W(n,this.clonePosition())},err:null}:this.error(F.INVALID_TAG,W(l,this.clonePosition())))}else return this.error(F.UNCLOSED_TAG,W(n,this.clonePosition()))}else return this.error(F.INVALID_TAG,W(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Aa(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,i){for(var n=this.clonePosition(),o="";;){var r=this.tryParseQuote(i);if(r){o+=r;continue}var a=this.tryParseUnquoted(t,i);if(a){o+=a;continue}var l=this.tryParseLeftAngleBracket();if(l){o+=l;continue}break}var c=W(n,this.clonePosition());return{val:{type:ee.literal,value:o,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Sa(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var i=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)i.push(39),this.bump();else{this.bump();break}else i.push(n);this.bump()}return Jt.apply(void 0,i)},e.prototype.tryParseUnquoted=function(t,i){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(i==="plural"||i==="selectordinal")||n===125&&t>0?null:(this.bump(),Jt(n))},e.prototype.parseArgument=function(t,i){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(F.EMPTY_ARGUMENT,W(n,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(F.MALFORMED_ARGUMENT,W(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ee.argument,value:o,location:W(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition())):this.parseArgumentOptions(t,i,o,n);default:return this.error(F.MALFORMED_ARGUMENT,W(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),i=this.offset(),n=Qt(this.message,i),o=i+n.length;this.bumpTo(o);var r=this.clonePosition(),a=W(t,r);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,i,n,o){var r,a=this.clonePosition(),l=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(l){case"":return this.error(F.EXPECT_ARGUMENT_TYPE,W(a,c));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var d=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var y=Ea(f.val);if(y.length===0)return this.error(F.EXPECT_ARGUMENT_STYLE,W(this.clonePosition(),this.clonePosition()));var b=W(d,this.clonePosition());u={style:y,styleLocation:b}}var k=this.tryParseArgumentClose(o);if(k.err)return k;var T=W(o,this.clonePosition());if(u&&Oi(u==null?void 0:u.style,"::",0)){var K=ka(u.style.slice(2));if(l==="number"){var f=this.parseNumberSkeletonFromString(K,u.styleLocation);return f.err?f:{val:{type:ee.number,value:n,location:T,style:f.val},err:null}}else{if(K.length===0)return this.error(F.EXPECT_DATE_TIME_SKELETON,T);var N=K;this.locale&&(N=ca(K,this.locale));var y={type:Ge.dateTime,pattern:N,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?na(N):{}},C=l==="date"?ee.date:ee.time;return{val:{type:C,value:n,location:T,style:y},err:null}}}return{val:{type:l==="number"?ee.number:l==="date"?ee.date:ee.time,value:n,location:T,style:(r=u==null?void 0:u.style)!==null&&r!==void 0?r:null},err:null}}case"plural":case"selectordinal":case"select":{var O=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(F.EXPECT_SELECT_ARGUMENT_OPTIONS,W(O,wt({},O)));this.bumpSpace();var G=this.parseIdentifierIfPossible(),B=0;if(l!=="select"&&G.value==="offset"){if(!this.bumpIf(":"))return this.error(F.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,W(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(F.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,F.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),G=this.parseIdentifierIfPossible(),B=f.val}var D=this.tryParsePluralOrSelectOptions(t,l,i,G);if(D.err)return D;var k=this.tryParseArgumentClose(o);if(k.err)return k;var q=W(o,this.clonePosition());return l==="select"?{val:{type:ee.select,value:n,options:Hi(D.val),location:q},err:null}:{val:{type:ee.plural,value:n,options:Hi(D.val),offset:B,pluralType:l==="plural"?"cardinal":"ordinal",location:q},err:null}}default:return this.error(F.INVALID_ARGUMENT_TYPE,W(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,W(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,i=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var o=this.clonePosition();if(!this.bumpUntil("'"))return this.error(F.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,W(o,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(i.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(i.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,i){var n=[];try{n=ra(t)}catch(o){return this.error(F.INVALID_NUMBER_SKELETON,i)}return{val:{type:Ge.number,tokens:n,location:i,parsedOptions:this.shouldParseSkeletons?ua(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,i,n,o){for(var r,a=!1,l=[],c=new Set,u=o.value,d=o.location;;){if(u.length===0){var f=this.clonePosition();if(i!=="select"&&this.bumpIf("=")){var y=this.tryParseDecimalInteger(F.EXPECT_PLURAL_ARGUMENT_SELECTOR,F.INVALID_PLURAL_ARGUMENT_SELECTOR);if(y.err)return y;d=W(f,this.clonePosition()),u=this.message.slice(f.offset,this.offset())}else break}if(c.has(u))return this.error(i==="select"?F.DUPLICATE_SELECT_ARGUMENT_SELECTOR:F.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,d);u==="other"&&(a=!0),this.bumpSpace();var b=this.clonePosition();if(!this.bumpIf("{"))return this.error(i==="select"?F.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:F.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,W(this.clonePosition(),this.clonePosition()));var k=this.parseMessage(t+1,i,n);if(k.err)return k;var T=this.tryParseArgumentClose(b);if(T.err)return T;l.push([u,{value:k.val,location:W(b,this.clonePosition())}]),c.add(u),this.bumpSpace(),r=this.parseIdentifierIfPossible(),u=r.value,d=r.location}return l.length===0?this.error(i==="select"?F.EXPECT_SELECT_ARGUMENT_SELECTOR:F.EXPECT_PLURAL_ARGUMENT_SELECTOR,W(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(F.MISSING_OTHER_CLAUSE,W(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,i){var n=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var r=!1,a=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)r=!0,a=a*10+(l-48),this.bump();else break}var c=W(o,this.clonePosition());return r?(a*=n,_a(a)?{val:a,err:null}:this.error(i,c)):this.error(t,c)},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 t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var i=Rn(this.message,t);if(i===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return i},e.prototype.error=function(t,i){return{val:null,err:{kind:t,message:this.message,location:i}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Oi(this.message,t,this.offset())){for(var i=0;i<t.length;i++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var i=this.offset(),n=this.message.indexOf(t,i);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var i=this.offset();if(i===t)break;if(i>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Gn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),i=this.offset(),n=this.message.charCodeAt(i+(t>=65536?2:1));return n!=null?n:null},e}();function ei(e){return e>=97&&e<=122||e>=65&&e<=90}function Sa(e){return ei(e)||e===47}function Aa(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||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}function Gn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Pa(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===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>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||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||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===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>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===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>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||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||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function ti(e){e.forEach(function(t){if(delete t.location,Bn(t)||In(t))for(var i in t.options)delete t.options[i].location,ti(t.options[i].value);else Cn(t)&&Nn(t.style)||(Dn(t)||Mn(t))&&Zt(t.style)?delete t.style.location:jn(t)&&ti(t.children)})}function Ta(e,t){t===void 0&&(t={}),t=wt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new xa(e,t).parse();if(i.err){var n=SyntaxError(F[i.err.kind]);throw n.location=i.err.location,n.originalMessage=i.err.message,n}return t!=null&&t.captureLocation||ti(i.val),i.val}var Ve;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ve||(Ve={}));var At=function(e){St(t,e);function t(i,n,o){var r=e.call(this,i)||this;return r.code=n,r.originalMessage=o,r}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Fi=function(e){St(t,e);function t(i,n,o,r){return e.call(this,'Invalid values for "'.concat(i,'": "').concat(n,'". Options are "').concat(Object.keys(o).join('", "'),'"'),Ve.INVALID_VALUE,r)||this}return t}(At),Ca=function(e){St(t,e);function t(i,n,o){return e.call(this,'Value for "'.concat(i,'" must be of type ').concat(n),Ve.INVALID_VALUE,o)||this}return t}(At),Da=function(e){St(t,e);function t(i,n){return e.call(this,'The intl string context variable "'.concat(i,'" was not provided to the string "').concat(n,'"'),Ve.MISSING_VALUE,n)||this}return t}(At),pe;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(pe||(pe={}));function Ma(e){return e.length<2?e:e.reduce(function(t,i){var n=t[t.length-1];return!n||n.type!==pe.literal||i.type!==pe.literal?t.push(i):n.value+=i.value,t},[])}function Ba(e){return typeof e=="function"}function vt(e,t,i,n,o,r,a){if(e.length===1&&ji(e[0]))return[{type:pe.literal,value:e[0].value}];for(var l=[],c=0,u=e;c<u.length;c++){var d=u[c];if(ji(d)){l.push({type:pe.literal,value:d.value});continue}if(ta(d)){typeof r=="number"&&l.push({type:pe.literal,value:i.getNumberFormat(t).format(r)});continue}var f=d.value;if(!(o&&f in o))throw new Da(f,a);var y=o[f];if(ea(d)){(!y||typeof y=="string"||typeof y=="number")&&(y=typeof y=="string"||typeof y=="number"?String(y):""),l.push({type:typeof y=="string"?pe.literal:pe.object,value:y});continue}if(Dn(d)){var b=typeof d.style=="string"?n.date[d.style]:Zt(d.style)?d.style.parsedOptions:void 0;l.push({type:pe.literal,value:i.getDateTimeFormat(t,b).format(y)});continue}if(Mn(d)){var b=typeof d.style=="string"?n.time[d.style]:Zt(d.style)?d.style.parsedOptions:n.time.medium;l.push({type:pe.literal,value:i.getDateTimeFormat(t,b).format(y)});continue}if(Cn(d)){var b=typeof d.style=="string"?n.number[d.style]:Nn(d.style)?d.style.parsedOptions:void 0;b&&b.scale&&(y=y*(b.scale||1)),l.push({type:pe.literal,value:i.getNumberFormat(t,b).format(y)});continue}if(jn(d)){var k=d.children,T=d.value,K=o[T];if(!Ba(K))throw new Ca(T,"function",a);var N=vt(k,t,i,n,o,r),C=K(N.map(function(B){return B.value}));Array.isArray(C)||(C=[C]),l.push.apply(l,C.map(function(B){return{type:typeof B=="string"?pe.literal:pe.object,value:B}}))}if(Bn(d)){var O=d.options[y]||d.options.other;if(!O)throw new Fi(d.value,y,Object.keys(d.options),a);l.push.apply(l,vt(O.value,t,i,n,o));continue}if(In(d)){var O=d.options["=".concat(y)];if(!O){if(!Intl.PluralRules)throw new At(`Intl.PluralRules is not available in this environment.
2
2
  Try polyfilling it using "@formatjs/intl-pluralrules"
3
- `,Ge.MISSING_INTL_API,a);var F=i.getPluralRules(t,{type:d.pluralType}).select(y-(d.offset||0));R=d.options[F]||d.options.other}if(!R)throw new Hi(d.value,y,Object.keys(d.options),a);l.push.apply(l,yt(R.value,t,i,n,o,y-(d.offset||0)));continue}}return Pa(l)}function Ca(e,t){return t?ke(ke(ke({},e||{}),t||{}),Object.keys(e).reduce(function(i,n){return i[n]=ke(ke({},e[n]),t[n]||{}),i},{})):e}function Da(e,t){return t?Object.keys(e).reduce(function(i,n){return i[n]=Ca(e[n],t[n]),i},ke({},e)):e}function Ft(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}function Ma(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Ot(function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,zt([void 0],i,!1)))},{cache:Ft(e.number),strategy:Ht.variadic}),getDateTimeFormat:Ot(function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,zt([void 0],i,!1)))},{cache:Ft(e.dateTime),strategy:Ht.variadic}),getPluralRules:Ot(function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,zt([void 0],i,!1)))},{cache:Ft(e.pluralRules),strategy:Ht.variadic})}}var Ba=function(){function e(t,i,n,o){i===void 0&&(i=e.defaultLocale);var r=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(c){var u=r.formatToParts(c);if(u.length===1)return u[0].value;var d=u.reduce(function(f,y){return!f.length||y.type!==pe.literal||typeof f[f.length-1]!="string"?f.push(y.value):f[f.length-1]+=y.value,f},[]);return d.length<=1?d[0]||"":d},this.formatToParts=function(c){return yt(r.ast,r.locales,r.formatters,r.formats,c,void 0,r.message)},this.resolvedOptions=function(){var c;return{locale:((c=r.resolvedLocale)===null||c===void 0?void 0:c.toString())||Intl.NumberFormat.supportedLocalesOf(r.locales)[0]}},this.getAst=function(){return r.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=o||{};a.formatters;var l=Fr(a,["formatters"]);this.ast=e.__parse(t,ke(ke({},l),{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=Da(e.formats,n),this.formatters=o&&o.formatters||Ma(this.formatterCache)}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(t){if(typeof Intl.Locale!="undefined"){var i=Intl.NumberFormat.supportedLocalesOf(t);return i.length>0?new Intl.Locale(i[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=xa,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}();function Ia(e,t){if(t==null)return;if(t in e)return e[t];const i=t.split(".");let n=e;for(let o=0;o<i.length;o++)if(typeof n=="object"){if(o>0){const r=i.slice(o,i.length).join(".");if(r in n){n=n[r];break}}n=n[i[o]]}else n=void 0;return n}const Ce={},ja=(e,t,i)=>i&&(t in Ce||(Ce[t]={}),e in Ce[t]||(Ce[t][e]=i),i),Fn=(e,t)=>{if(t==null)return;if(t in Ce&&e in Ce[t])return Ce[t][e];const i=At(t);for(let n=0;n<i.length;n++){const o=i[n],r=Ua(o,e);if(r)return ja(e,t,r)}};let ci;const dt=Et({});function Na(e){return ci[e]||null}function Gn(e){return e in ci}function Ua(e,t){if(!Gn(e))return null;const i=Na(e);return Ia(i,t)}function za(e){if(e==null)return;const t=At(e);for(let i=0;i<t.length;i++){const n=t[i];if(Gn(n))return n}}function Vn(e,...t){delete Ce[e],dt.update(i=>(i[e]=Rr.all([i[e]||{},...t]),i))}qe([dt],([e])=>Object.keys(e));dt.subscribe(e=>ci=e);const vt={};function Oa(e,t){vt[e].delete(t),vt[e].size===0&&delete vt[e]}function Wn(e){return vt[e]}function Ha(e){return At(e).map(t=>{const i=Wn(t);return[t,i?[...i]:[]]}).filter(([,t])=>t.length>0)}function ei(e){return e==null?!1:At(e).some(t=>{var i;return(i=Wn(t))==null?void 0:i.size})}function Ra(e,t){return Promise.all(t.map(n=>(Oa(e,n),n().then(o=>o.default||o)))).then(n=>Vn(e,...n))}const ot={};function qn(e){if(!ei(e))return e in ot?ot[e]:Promise.resolve();const t=Ha(e);return ot[e]=Promise.all(t.map(([i,n])=>Ra(i,n))).then(()=>{if(ei(e))return qn(e);delete ot[e]}),ot[e]}const Fa={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"}}},Ga={fallbackLocale:null,loadingDelay:200,formats:Fa,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Va=Ga;function Ve(){return Va}const Gt=Et(!1);var Wa=Object.defineProperty,qa=Object.defineProperties,Xa=Object.getOwnPropertyDescriptors,Ri=Object.getOwnPropertySymbols,Ka=Object.prototype.hasOwnProperty,Ya=Object.prototype.propertyIsEnumerable,Fi=(e,t,i)=>t in e?Wa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Za=(e,t)=>{for(var i in t||(t={}))Ka.call(t,i)&&Fi(e,i,t[i]);if(Ri)for(var i of Ri(t))Ya.call(t,i)&&Fi(e,i,t[i]);return e},$a=(e,t)=>qa(e,Xa(t));let ti;const wt=Et(null);function Gi(e){return e.split("-").map((t,i,n)=>n.slice(0,i+1).join("-")).reverse()}function At(e,t=Ve().fallbackLocale){const i=Gi(e);return t?[...new Set([...i,...Gi(t)])]:i}function Be(){return ti!=null?ti:void 0}wt.subscribe(e=>{ti=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Ja=e=>{if(e&&za(e)&&ei(e)){const{loadingDelay:t}=Ve();let i;return typeof window!="undefined"&&Be()!=null&&t?i=window.setTimeout(()=>Gt.set(!0),t):Gt.set(!0),qn(e).then(()=>{wt.set(e)}).finally(()=>{clearTimeout(i),Gt.set(!1)})}return wt.set(e)},Xe=$a(Za({},wt),{set:Ja}),Pt=e=>{const t=Object.create(null);return n=>{const o=JSON.stringify(n);return o in t?t[o]:t[o]=e(n)}};var Qa=Object.defineProperty,kt=Object.getOwnPropertySymbols,Xn=Object.prototype.hasOwnProperty,Kn=Object.prototype.propertyIsEnumerable,Vi=(e,t,i)=>t in e?Qa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,di=(e,t)=>{for(var i in t||(t={}))Xn.call(t,i)&&Vi(e,i,t[i]);if(kt)for(var i of kt(t))Kn.call(t,i)&&Vi(e,i,t[i]);return e},Ke=(e,t)=>{var i={};for(var n in e)Xn.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(e!=null&&kt)for(var n of kt(e))t.indexOf(n)<0&&Kn.call(e,n)&&(i[n]=e[n]);return i};const ct=(e,t)=>{const{formats:i}=Ve();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},es=Pt(e=>{var t=e,{locale:i,format:n}=t,o=Ke(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(o=ct("number",n)),new Intl.NumberFormat(i,o)}),ts=Pt(e=>{var t=e,{locale:i,format:n}=t,o=Ke(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?o=ct("date",n):Object.keys(o).length===0&&(o=ct("date","short")),new Intl.DateTimeFormat(i,o)}),is=Pt(e=>{var t=e,{locale:i,format:n}=t,o=Ke(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?o=ct("time",n):Object.keys(o).length===0&&(o=ct("time","short")),new Intl.DateTimeFormat(i,o)}),ns=(e={})=>{var t=e,{locale:i=Be()}=t,n=Ke(t,["locale"]);return es(di({locale:i},n))},os=(e={})=>{var t=e,{locale:i=Be()}=t,n=Ke(t,["locale"]);return ts(di({locale:i},n))},rs=(e={})=>{var t=e,{locale:i=Be()}=t,n=Ke(t,["locale"]);return is(di({locale:i},n))},as=Pt((e,t=Be())=>new Ba(e,t,Ve().formats,{ignoreTag:Ve().ignoreTag})),ss=(e,t={})=>{var i,n,o,r;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:l,locale:c=Be(),default:u}=a;if(c==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let d=Fn(e,c);if(!d)d=(r=(o=(n=(i=Ve()).handleMissingMessage)==null?void 0:n.call(i,{locale:c,id:e,defaultValue:u}))!=null?o:u)!=null?r:e;else if(typeof d!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof d}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),d;if(!l)return d;let f=d;try{f=as(d,c).format(l)}catch(y){y instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,y.message)}return f},ls=(e,t)=>rs(t).format(e),us=(e,t)=>os(t).format(e),cs=(e,t)=>ns(t).format(e),ds=(e,t=Be())=>Fn(e,t),ms=qe([Xe,dt],()=>ss);qe([Xe],()=>ls);qe([Xe],()=>us);qe([Xe],()=>cs);qe([Xe,dt],()=>ds);function Wi(e,t){Vn(e,t)}function ps(e){Xe.set(e)}const Te={en:{loadingText:"Loading, please wait...",Monthly:"per month",Weekly:"per week",Daily:"per day",newDailyLimit:"New daily limit",newWeeklyLimit:"New weekly limit",newMonthlyLimit:"New monthly limit",adjectiveMonthly:"monthly",adjectiveWeekly:"weekly",adjectiveDaily:"daily",None:"",noPeriod:".",per:"per",seconds:"seconds",updateText:"will be applied on",updateAfterConfirm:"will be applied after confirmation",acknowledgedLimit:"Limit update confirmed and will be applied in ~1 min",removedLimitText:"The limit will be removed on",removeAfterConfirm:"The limit will be removed after confirmation.",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",loss:"Loss Limit",lossAll:"Loss - All Limit",lossCasino:"Loss - Casino Limit",lossSports:"Loss - Sports Limit",deposit:"Deposit Limit",depositAll:"Deposit - All Limit",depositCasino:"Deposit - Casino Limit",depositSports:"Deposit - Sports Limit",wager:"Wager Limit",wagerAll:"Wager - All Limit",wagerCasino:"Wager - Casino Limit",wagerSports:"Wager - Sports Limit",stake:"Stake Limit",stakeAll:"Stake - All Limit",stakeCasino:"Stake - Casino Limit",stakeSports:"Stake - Sports Limit",lugas:"Current Deposit Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",sessionLimit:"Single Session Time Limit",sessionLimitUpdated:"Session limit updated successfully.",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",confirmUpdateLimit:"CONFIRM",cancelUpdateLimit:"CANCEL",reloadLimitsButton:"RELOAD",setLimit:"Set new limit",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} {selectedPeriod}",popupTitle:"Limit changed",popupSuccess:"Successful",popupError:"An error has occurred.",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",sessionExpiredException:"Your session has expired",popup3:`Thank you!
3
+ `,Ve.MISSING_INTL_API,a);var G=i.getPluralRules(t,{type:d.pluralType}).select(y-(d.offset||0));O=d.options[G]||d.options.other}if(!O)throw new Fi(d.value,y,Object.keys(d.options),a);l.push.apply(l,vt(O.value,t,i,n,o,y-(d.offset||0)));continue}}return Ma(l)}function Ia(e,t){return t?ke(ke(ke({},e||{}),t||{}),Object.keys(e).reduce(function(i,n){return i[n]=ke(ke({},e[n]),t[n]||{}),i},{})):e}function ja(e,t){return t?Object.keys(e).reduce(function(i,n){return i[n]=Ia(e[n],t[n]),i},ke({},e)):e}function Vt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}function Na(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Rt(function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Ht([void 0],i,!1)))},{cache:Vt(e.number),strategy:Ft.variadic}),getDateTimeFormat:Rt(function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Ht([void 0],i,!1)))},{cache:Vt(e.dateTime),strategy:Ft.variadic}),getPluralRules:Rt(function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Ht([void 0],i,!1)))},{cache:Vt(e.pluralRules),strategy:Ft.variadic})}}var Ua=function(){function e(t,i,n,o){i===void 0&&(i=e.defaultLocale);var r=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(c){var u=r.formatToParts(c);if(u.length===1)return u[0].value;var d=u.reduce(function(f,y){return!f.length||y.type!==pe.literal||typeof f[f.length-1]!="string"?f.push(y.value):f[f.length-1]+=y.value,f},[]);return d.length<=1?d[0]||"":d},this.formatToParts=function(c){return vt(r.ast,r.locales,r.formatters,r.formats,c,void 0,r.message)},this.resolvedOptions=function(){var c;return{locale:((c=r.resolvedLocale)===null||c===void 0?void 0:c.toString())||Intl.NumberFormat.supportedLocalesOf(r.locales)[0]}},this.getAst=function(){return r.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=o||{};a.formatters;var l=qr(a,["formatters"]);this.ast=e.__parse(t,ke(ke({},l),{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=ja(e.formats,n),this.formatters=o&&o.formatters||Na(this.formatterCache)}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(t){if(typeof Intl.Locale!="undefined"){var i=Intl.NumberFormat.supportedLocalesOf(t);return i.length>0?new Intl.Locale(i[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Ta,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}();function za(e,t){if(t==null)return;if(t in e)return e[t];const i=t.split(".");let n=e;for(let o=0;o<i.length;o++)if(typeof n=="object"){if(o>0){const r=i.slice(o,i.length).join(".");if(r in n){n=n[r];break}}n=n[i[o]]}else n=void 0;return n}const Me={},Oa=(e,t,i)=>i&&(t in Me||(Me[t]={}),e in Me[t]||(Me[t][e]=i),i),Vn=(e,t)=>{if(t==null)return;if(t in Me&&e in Me[t])return Me[t][e];const i=Pt(t);for(let n=0;n<i.length;n++){const o=i[n],r=Ra(o,e);if(r)return Oa(e,t,r)}};let mi;const dt=xt({});function Ha(e){return mi[e]||null}function Wn(e){return e in mi}function Ra(e,t){if(!Wn(e))return null;const i=Ha(e);return za(i,t)}function Fa(e){if(e==null)return;const t=Pt(e);for(let i=0;i<t.length;i++){const n=t[i];if(Wn(n))return n}}function qn(e,...t){delete Me[e],dt.update(i=>(i[e]=Wr.all([i[e]||{},...t]),i))}Xe([dt],([e])=>Object.keys(e));dt.subscribe(e=>mi=e);const bt={};function Ga(e,t){bt[e].delete(t),bt[e].size===0&&delete bt[e]}function Xn(e){return bt[e]}function Va(e){return Pt(e).map(t=>{const i=Xn(t);return[t,i?[...i]:[]]}).filter(([,t])=>t.length>0)}function ii(e){return e==null?!1:Pt(e).some(t=>{var i;return(i=Xn(t))==null?void 0:i.size})}function Wa(e,t){return Promise.all(t.map(n=>(Ga(e,n),n().then(o=>o.default||o)))).then(n=>qn(e,...n))}const ot={};function Kn(e){if(!ii(e))return e in ot?ot[e]:Promise.resolve();const t=Va(e);return ot[e]=Promise.all(t.map(([i,n])=>Wa(i,n))).then(()=>{if(ii(e))return Kn(e);delete ot[e]}),ot[e]}const qa={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"}}},Xa={fallbackLocale:null,loadingDelay:200,formats:qa,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Ka=Xa;function We(){return Ka}const Wt=xt(!1);var Ya=Object.defineProperty,Za=Object.defineProperties,$a=Object.getOwnPropertyDescriptors,Gi=Object.getOwnPropertySymbols,Ja=Object.prototype.hasOwnProperty,Qa=Object.prototype.propertyIsEnumerable,Vi=(e,t,i)=>t in e?Ya(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,es=(e,t)=>{for(var i in t||(t={}))Ja.call(t,i)&&Vi(e,i,t[i]);if(Gi)for(var i of Gi(t))Qa.call(t,i)&&Vi(e,i,t[i]);return e},ts=(e,t)=>Za(e,$a(t));let ni;const kt=xt(null);function Wi(e){return e.split("-").map((t,i,n)=>n.slice(0,i+1).join("-")).reverse()}function Pt(e,t=We().fallbackLocale){const i=Wi(e);return t?[...new Set([...i,...Wi(t)])]:i}function Ie(){return ni!=null?ni:void 0}kt.subscribe(e=>{ni=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const is=e=>{if(e&&Fa(e)&&ii(e)){const{loadingDelay:t}=We();let i;return typeof window!="undefined"&&Ie()!=null&&t?i=window.setTimeout(()=>Wt.set(!0),t):Wt.set(!0),Kn(e).then(()=>{kt.set(e)}).finally(()=>{clearTimeout(i),Wt.set(!1)})}return kt.set(e)},Ke=ts(es({},kt),{set:is}),Tt=e=>{const t=Object.create(null);return n=>{const o=JSON.stringify(n);return o in t?t[o]:t[o]=e(n)}};var ns=Object.defineProperty,Et=Object.getOwnPropertySymbols,Yn=Object.prototype.hasOwnProperty,Zn=Object.prototype.propertyIsEnumerable,qi=(e,t,i)=>t in e?ns(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,pi=(e,t)=>{for(var i in t||(t={}))Yn.call(t,i)&&qi(e,i,t[i]);if(Et)for(var i of Et(t))Zn.call(t,i)&&qi(e,i,t[i]);return e},Ye=(e,t)=>{var i={};for(var n in e)Yn.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(e!=null&&Et)for(var n of Et(e))t.indexOf(n)<0&&Zn.call(e,n)&&(i[n]=e[n]);return i};const ct=(e,t)=>{const{formats:i}=We();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},os=Tt(e=>{var t=e,{locale:i,format:n}=t,o=Ye(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(o=ct("number",n)),new Intl.NumberFormat(i,o)}),rs=Tt(e=>{var t=e,{locale:i,format:n}=t,o=Ye(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?o=ct("date",n):Object.keys(o).length===0&&(o=ct("date","short")),new Intl.DateTimeFormat(i,o)}),as=Tt(e=>{var t=e,{locale:i,format:n}=t,o=Ye(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?o=ct("time",n):Object.keys(o).length===0&&(o=ct("time","short")),new Intl.DateTimeFormat(i,o)}),ss=(e={})=>{var t=e,{locale:i=Ie()}=t,n=Ye(t,["locale"]);return os(pi({locale:i},n))},ls=(e={})=>{var t=e,{locale:i=Ie()}=t,n=Ye(t,["locale"]);return rs(pi({locale:i},n))},us=(e={})=>{var t=e,{locale:i=Ie()}=t,n=Ye(t,["locale"]);return as(pi({locale:i},n))},cs=Tt((e,t=Ie())=>new Ua(e,t,We().formats,{ignoreTag:We().ignoreTag})),ds=(e,t={})=>{var i,n,o,r;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:l,locale:c=Ie(),default:u}=a;if(c==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let d=Vn(e,c);if(!d)d=(r=(o=(n=(i=We()).handleMissingMessage)==null?void 0:n.call(i,{locale:c,id:e,defaultValue:u}))!=null?o:u)!=null?r:e;else if(typeof d!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof d}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),d;if(!l)return d;let f=d;try{f=cs(d,c).format(l)}catch(y){y instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,y.message)}return f},ms=(e,t)=>us(t).format(e),ps=(e,t)=>ls(t).format(e),fs=(e,t)=>ss(t).format(e),hs=(e,t=Ie())=>Vn(e,t),gs=Xe([Ke,dt],()=>ds);Xe([Ke],()=>ms);Xe([Ke],()=>ps);Xe([Ke],()=>fs);Xe([Ke,dt],()=>hs);function Xi(e,t){qn(e,t)}function ys(e){Ke.set(e)}const De={en:{loadingText:"Loading, please wait...",Monthly:"per month",Weekly:"per week",Daily:"per day",newDailyLimit:"New daily limit",newWeeklyLimit:"New weekly limit",newMonthlyLimit:"New monthly limit",adjectiveMonthly:"monthly",adjectiveWeekly:"weekly",adjectiveDaily:"daily",None:"",noPeriod:".",per:"per",seconds:"seconds",updateText:"will be applied on",updateAfterConfirm:"will be applied after confirmation",acknowledgedLimit:"Limit update confirmed and will be applied in ~1 min",removedLimitText:"The limit will be removed on",removeAfterConfirm:"The limit will be removed after confirmation.",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",loss:"Loss Limit",lossAll:"Loss - All Limit",lossCasino:"Loss - Casino Limit",lossSports:"Loss - Sports Limit",deposit:"Deposit Limit",depositAll:"Deposit - All Limit",depositCasino:"Deposit - Casino Limit",depositSports:"Deposit - Sports Limit",wager:"Wager Limit",wagerAll:"Wager - All Limit",wagerCasino:"Wager - Casino Limit",wagerSports:"Wager - Sports Limit",stake:"Stake Limit",stakeAll:"Stake - All Limit",stakeCasino:"Stake - Casino Limit",stakeSports:"Stake - Sports Limit",lugas:"Current Deposit Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",sessionLimit:"Single Session Time Limit",sessionLimitUpdated:"Session limit updated successfully.",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",confirmUpdateLimit:"CONFIRM",cancelUpdateLimit:"CANCEL",reloadLimitsButton:"RELOAD",setLimit:"Set new limit",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} {selectedPeriod}",popupTitle:"Limit changed",popupSuccess:"Successful",popupError:"An error has occurred.",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",sessionExpiredException:"Your session has expired",popup3:`Thank you!
4
4
  We have transmited your desired limit to Lugas
5
5
  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}.",invalidInputMessage:"Please enter a valid number.",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","dataLayer-sports":"Sports","dataLayer-casino":"Casino","dataLayer-wager":"Wager","dataLayer-loss":"Loss","dataLayer-deposit":"Deposit","dataLayer-daily":"Daily","dataLayer-weekly":"Weekly","dataLayer-monthly":"Monthly",netdepositAll:"Net Deposit Limit",uploadDocumentHeader:"Upload a Supporting Document",uploadButtonText:"Click here to Upload",documentUploadTitle:"Document Upload",uploadDocumentContent:'<p>Click here <label class="labelText" for="files">Browse</label></br>JPG/PEG, PNG or PDF files up to 50MB</p>',uploadHistory:"Upload History:",noFileUploaded:"No file uploaded",submitButton:"Submit",fileExtenssionDeny:"The file extenssion is not a valid one",fileSizeExceeded:"Maximum amount of file size was exceeded",uploadSuccess:"File uploaded successfully",errorUploadDocument:"There was an error with the uploading function",filesUploadError:"The uploaded files either exeeded allowed size or don't respect the allowed extensions types.",updateAfterDocApproval:"will be applied after document approval.",limitInDocReview:"You can't update a limit if it's in pendning.",scheduleNotFoundException:"Schedule does not exist",genericLimitsPopupError:"An unexpected error has occurred. Please try again"},hu:{loadingText:"` Az oldal töltődik, kérlek várj…`",Monthly:"Havi",Weekly:"Heti",Daily:"Napi",adjectiveMonthly:"Havi",adjectiveWeekly:"Heti",adjectiveDaily:"Napi",newDailyLimit:"Új napi limit",newWeeklyLimit:"Új heti limit",newMonthlyLimit:"Új havi limit",None:" ",noPeriod:".",per:"per",noLimitText:"Nincs limit beállítva",lugasPrivacy:"A szolgáltatóközi LUGAS-limit a szolgáltatók számára nem látható.",limitType:"Limit típus",period:"Időszak",amount:"Összeg",minutes:" perc",new:"Új",limit:"limit",setLimit:"Limit beállítása",loss:"Veszteség limit",lossAll:"Veszteség - Összes limit",lossCasino:"Veszteség - Kaszinó limit",lossSports:"Veszteség - Sport limit",deposit:"Befizetési limit",depositAll:"Befizetés - Összes limit",depositCasino:"Befizetés - Kaszinó limit",depositSports:"Befizetés - Sport limit",wager:"Fogadási limit",wagerAll:"Fogadás - Összes limit",wagerCasino:"Fogadás - Kaszinó limit",wagerSports:"Fogadás - Sport limit",stake:"Fogadási limit",stakeAll:"Tét - Összes limit",stakeCasino:"Tét - Kaszinó limit",stakeSports:"Tét - Sport limit",lugas:"Aktuális befizetési limit",sessionLimit:"Munkamenet időkorlátja",sessionLimitUpdated:"A munkamenet időkorlátját frissítettük.",cumulativeSession:"Időszakos időkorlát",removeLimit:"Limit törlése",popupPendingUpdate:"Limit módosítási kérésed megkaptuk. Kérjük, vedd figyelembe, hogy a frissítés csak ekkor lép életbe: ",popupImmediateUpdate:"Az új {selectedLimit}: {updatedAmount} {selectedPeriod}",popupTitle:" ",popupSuccess:"Limitbeállításaidat sikeresen elmentettük.",popupError:"Hiba történt.",kycNotNeeded:"A befizetési limitet sikeresen beállítottuk. Limitjeid bármikor módosíthatod a fiókbeállításokban.",kycNeeded1:"Havi befizetési limitre a következő összeg került beállításra:",kycNeeded2:". Ahhoz, hogy a limitet a kért összegre emeljük, kérjük, dokumentumok feltöltésével add meg a szükséges információkat.",uploadDocumentsButton:"DOKUMENTUMOK FELTÖLTÉSE",closeButton:"BEZÁR",invalidInputMessageLimitMin:"A megadott értéknek nagyobbnak kell lennie, mint {minValue} {currency}.",invalidInputMessageLimitMax:"A megadott értéknek kisebbnek kell lennie, mint {maxValue} {currency}.",invalidInputMessage:"Kérjük, adjon meg egy érvényes számot.",unableToUpdatePendingRequest:"Nem tudtuk frissíteni a limited, mert egy másik frissítés már folyamatban van. Kérjük, próbáld meg újra, miután az aktuális frissítés beállításra került.",docsRequired:"A dokumentumok feltöltése kötelező.",okButton:"Rendben",seconds:"másodpercek",updateText:"alkalmazva lesz",updateAfterConfirm:"jóváhagyás után kerül alkalmazásra",acknowledgedLimit:"A limit frissítése megerősítve, és ~1 percen belül alkalmazásra kerül",removedLimitText:"A limit eltávolításra kerül",removeAfterConfirm:"A limit jóváhagyás után kerül eltávolításra",confirmUpdateLimit:"MEGERŐSÍTÉS",cancelUpdateLimit:"MÉGSE",reloadLimitsButton:"FRISSÍTÉS",popupUpdateLimit:"Önkorlátozási beállításaidat a megadott korlátozási időtartam leteltét követően tudod módosítani.",popupUpdateLimitException:"Önkorlátozási beállításaidat a megadott korlátozási időtartam leteltét követően tudod módosítani.",popupRemoveLimitException:"Önkorlátozási beállításaidat a megadott korlátozási időtartam leteltét követően tudod módosítani.",sessionExpiredException:"A munkamenet lejárt","dataLayer-sports":"Sportfogadás","dataLayer-casino":"Kaszinó","dataLayer-all":"Minden","dataLayer-wager":"Fogadási limit","dataLayer-loss":"Veszteség limit","dataLayer-deposit":"Befizetési limit","dataLayer-daily":"Napi","dataLayer-weekly":"Heti","dataLayer-monthly":"Havi",netdepositAll:"Nettó befizetési limit",uploadDocumentHeader:"Támogató dokumentum feltöltése",uploadButtonText:"Kattintson ide a feltöltéshez",documentUploadTitle:"Dokumentum feltöltése",uploadDocumentContent:'<p>Húzza ide és dobja le <label class="labelText" for="files">Böngészés</label></br>JPG/PEG, PNG vagy PDF fájlok legfeljebb 50 MB-ig</p>',uploadHistory:"Feltöltési előzmények:",noFileUploaded:"Nincs feltöltött fájl",submitButton:"Beküldés",fileExtenssionDeny:"A fájl kiterjesztése nem érvényes",fileSizeExceeded:"A fájl mérete meghaladta a maximális méretet",uploadSuccess:"A fájl sikeresen feltöltve",errorUploadDocument:"Hiba történt a feltöltési funkcióval",filesUploadError:"A feltöltött fájlok vagy meghaladták a megengedett méretet, vagy nem felelnek meg az engedélyezett kiterjesztések típusainak.",limitInDocReview:"Nem frissítheti a korlátot, ha az függőben van.",scheduleNotFoundException:"Az ütemezés nem létezik",genericLimitsPopupError:"Váratlan hiba történt. Kérjük, próbálja meg újra"},de:{loadingText:"Lädt ...",Monthly:"pro Monat",Weekly:"pro Woche",Daily:"pro Tag",newDailyLimit:"Neues Tageslimit",newWeeklyLimit:"Neues Wochenlimit",newMonthlyLimit:"Neues Monatslimit",adjectiveMonthly:"Monatlich",adjectiveWeekly:"Wöchentlich",adjectiveDaily:"Täglich",None:"",noPeriod:".",per:"pro",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",loss:"Verlustlimit",lossAll:"Verlust - Gesamtes Limit",lossCasino:"Verlust - Casino-Limit",lossSports:"Verlust - Sport-Limit",deposit:"Einzahlungslimit",depositAll:"Einzahlung - Gesamtes Limit",depositCasino:"Einzahlung - Casino-Limit",depositSports:"Einzahlung - Sport-Limit",wager:"Wettlimit",wagerAll:"Wette - Gesamtes Limit",wagerCasino:"Wette - Casino-Limit",wagerSports:"Wette - Sport-Limit",stake:"Einsatzlimit",stakeAll:"Einsatz - Gesamtes Limit",stakeCasino:"Einsatz - Casino-Limit",stakeSports:"Einsatz - Sport-Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",lugas:"Aktuelles Einzahlungslimit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ENTFERNEN",setLimit:"Neues Limit setzen",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} {selectedPeriod}",popupTitle:"Limit geändert!",popupSuccess:"Erfolgreich",popup3:`Vielen Dank!
6
6
  Wir haben Ihr gewünschtes Limit an Lugas übermittelt.
@@ -27,9 +27,9 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
27
27
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
28
28
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
29
29
  PERFORMANCE OF THIS SOFTWARE.
30
- ***************************************************************************** */var ii=function(e,t){return ii=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(i[o]=n[o])},ii(e,t)};function mt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ii(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}function ni(e){var t=typeof Symbol=="function"&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);if(e&&typeof e.length=="number")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 oi(e,t){var i=typeof Symbol=="function"&&e[Symbol.iterator];if(!i)return e;var n=i.call(e),o,r=[],a;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)r.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(a)throw a.error}}return r}function ri(e,t,i){if(arguments.length===2)for(var n=0,o=t.length,r;n<o;n++)(r||!(n in t))&&(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return e.concat(r||t)}function Ae(e){return typeof e=="function"}function Yn(e){var t=function(n){Error.call(n),n.stack=new Error().stack},i=e(t);return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}var Vt=Yn(function(e){return function(i){e(this),this.message=i?i.length+` errors occurred during unsubscription:
30
+ ***************************************************************************** */var oi=function(e,t){return oi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(i[o]=n[o])},oi(e,t)};function mt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");oi(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}function ri(e){var t=typeof Symbol=="function"&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);if(e&&typeof e.length=="number")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 ai(e,t){var i=typeof Symbol=="function"&&e[Symbol.iterator];if(!i)return e;var n=i.call(e),o,r=[],a;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)r.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(a)throw a.error}}return r}function si(e,t,i){if(arguments.length===2)for(var n=0,o=t.length,r;n<o;n++)(r||!(n in t))&&(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return e.concat(r||t)}function Te(e){return typeof e=="function"}function $n(e){var t=function(n){Error.call(n),n.stack=new Error().stack},i=e(t);return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}var qt=$n(function(e){return function(i){e(this),this.message=i?i.length+` errors occurred during unsubscription:
31
31
  `+i.map(function(n,o){return o+1+") "+n.toString()}).join(`
32
- `):"",this.name="UnsubscriptionError",this.errors=i}});function ai(e,t){if(e){var i=e.indexOf(t);0<=i&&e.splice(i,1)}}var Tt=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,i,n,o,r;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var l=ni(a),c=l.next();!c.done;c=l.next()){var u=c.value;u.remove(this)}}catch(D){t={error:D}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(t)throw t.error}}else a.remove(this);var d=this.initialTeardown;if(Ae(d))try{d()}catch(D){r=D instanceof Vt?D.errors:[D]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var y=ni(f),v=y.next();!v.done;v=y.next()){var k=v.value;try{qi(k)}catch(D){r=r!=null?r:[],D instanceof Vt?r=ri(ri([],oi(r)),oi(D.errors)):r.push(D)}}}catch(D){n={error:D}}finally{try{v&&!v.done&&(o=y.return)&&o.call(y)}finally{if(n)throw n.error}}}if(r)throw new Vt(r)}},e.prototype.add=function(t){var i;if(t&&t!==this)if(this.closed)qi(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(t)}},e.prototype._hasParent=function(t){var i=this._parentage;return i===t||Array.isArray(i)&&i.includes(t)},e.prototype._addParent=function(t){var i=this._parentage;this._parentage=Array.isArray(i)?(i.push(t),i):i?[i,t]:t},e.prototype._removeParent=function(t){var i=this._parentage;i===t?this._parentage=null:Array.isArray(i)&&ai(i,t)},e.prototype.remove=function(t){var i=this._finalizers;i&&ai(i,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Zn=Tt.EMPTY;function $n(e){return e instanceof Tt||e&&"closed"in e&&Ae(e.remove)&&Ae(e.add)&&Ae(e.unsubscribe)}function qi(e){Ae(e)?e():e.unsubscribe()}var fs={Promise:void 0},hs={setTimeout:function(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];return setTimeout.apply(void 0,ri([e,t],oi(i)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function gs(e){hs.setTimeout(function(){throw e})}function Xi(){}function bt(e){e()}var Jn=function(e){mt(t,e);function t(i){var n=e.call(this)||this;return n.isStopped=!1,i?(n.destination=i,$n(i)&&i.add(n)):n.destination=bs,n}return t.create=function(i,n,o){return new si(i,n,o)},t.prototype.next=function(i){this.isStopped||this._next(i)},t.prototype.error=function(i){this.isStopped||(this.isStopped=!0,this._error(i))},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(i){this.destination.next(i)},t.prototype._error=function(i){try{this.destination.error(i)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Tt),ys=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var i=this.partialObserver;if(i.next)try{i.next(t)}catch(n){ht(n)}},e.prototype.error=function(t){var i=this.partialObserver;if(i.error)try{i.error(t)}catch(n){ht(n)}else ht(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(i){ht(i)}},e}(),si=function(e){mt(t,e);function t(i,n,o){var r=e.call(this)||this,a;return Ae(i)||!i?a={next:i!=null?i:void 0,error:n!=null?n:void 0,complete:o!=null?o:void 0}:a=i,r.destination=new ys(a),r}return t}(Jn);function ht(e){gs(e)}function vs(e){throw e}var bs={closed:!0,next:Xi,error:vs,complete:Xi},Ls=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function _s(e){return e}function ws(e){return e.length===0?_s:e.length===1?e[0]:function(i){return e.reduce(function(n,o){return o(n)},i)}}var Ki=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var i=new e;return i.source=this,i.operator=t,i},e.prototype.subscribe=function(t,i,n){var o=this,r=Es(t)?t:new si(t,i,n);return bt(function(){var a=o,l=a.operator,c=a.source;r.add(l?l.call(r,c):c?o._subscribe(r):o._trySubscribe(r))}),r},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(i){t.error(i)}},e.prototype.forEach=function(t,i){var n=this;return i=Yi(i),new i(function(o,r){var a=new si({next:function(l){try{t(l)}catch(c){r(c),a.unsubscribe()}},error:r,complete:o});n.subscribe(a)})},e.prototype._subscribe=function(t){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(t)},e.prototype[Ls]=function(){return this},e.prototype.pipe=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return ws(t)(this)},e.prototype.toPromise=function(t){var i=this;return t=Yi(t),new t(function(n,o){var r;i.subscribe(function(a){return r=a},function(a){return o(a)},function(){return n(r)})})},e.create=function(t){return new e(t)},e}();function Yi(e){var t;return(t=e!=null?e:fs.Promise)!==null&&t!==void 0?t:Promise}function ks(e){return e&&Ae(e.next)&&Ae(e.error)&&Ae(e.complete)}function Es(e){return e&&e instanceof Jn||ks(e)&&$n(e)}var xs=Yn(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Qn=function(e){mt(t,e);function t(){var i=e.call(this)||this;return i.closed=!1,i.currentObservers=null,i.observers=[],i.isStopped=!1,i.hasError=!1,i.thrownError=null,i}return t.prototype.lift=function(i){var n=new Zi(this,this);return n.operator=i,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new xs},t.prototype.next=function(i){var n=this;bt(function(){var o,r;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=ni(n.currentObservers),l=a.next();!l.done;l=a.next()){var c=l.value;c.next(i)}}catch(u){o={error:u}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}}})},t.prototype.error=function(i){var n=this;bt(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=i;for(var o=n.observers;o.length;)o.shift().error(i)}})},t.prototype.complete=function(){var i=this;bt(function(){if(i._throwIfClosed(),!i.isStopped){i.isStopped=!0;for(var n=i.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var i;return((i=this.observers)===null||i===void 0?void 0:i.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(i){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,i)},t.prototype._subscribe=function(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)},t.prototype._innerSubscribe=function(i){var n=this,o=this,r=o.hasError,a=o.isStopped,l=o.observers;return r||a?Zn:(this.currentObservers=null,l.push(i),new Tt(function(){n.currentObservers=null,ai(l,i)}))},t.prototype._checkFinalizedStatuses=function(i){var n=this,o=n.hasError,r=n.thrownError,a=n.isStopped;o?i.error(r):a&&i.complete()},t.prototype.asObservable=function(){var i=new Ki;return i.source=this,i},t.create=function(i,n){return new Zi(i,n)},t}(Ki),Zi=function(e){mt(t,e);function t(i,n){var o=e.call(this)||this;return o.destination=i,o.source=n,o}return t.prototype.next=function(i){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.next)===null||o===void 0||o.call(n,i)},t.prototype.error=function(i){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.error)===null||o===void 0||o.call(n,i)},t.prototype.complete=function(){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.complete)===null||n===void 0||n.call(i)},t.prototype._subscribe=function(i){var n,o;return(o=(n=this.source)===null||n===void 0?void 0:n.subscribe(i))!==null&&o!==void 0?o:Zn},t}(Qn),eo={now:function(){return(eo.delegate||Date).now()},delegate:void 0},Ss=function(e){mt(t,e);function t(i,n,o){i===void 0&&(i=1/0),n===void 0&&(n=1/0),o===void 0&&(o=eo);var r=e.call(this)||this;return r._bufferSize=i,r._windowTime=n,r._timestampProvider=o,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=n===1/0,r._bufferSize=Math.max(1,i),r._windowTime=Math.max(1,n),r}return t.prototype.next=function(i){var n=this,o=n.isStopped,r=n._buffer,a=n._infiniteTimeWindow,l=n._timestampProvider,c=n._windowTime;o||(r.push(i),!a&&r.push(l.now()+c)),this._trimBuffer(),e.prototype.next.call(this,i)},t.prototype._subscribe=function(i){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(i),o=this,r=o._infiniteTimeWindow,a=o._buffer,l=a.slice(),c=0;c<l.length&&!i.closed;c+=r?1:2)i.next(l[c]);return this._checkFinalizedStatuses(i),n},t.prototype._trimBuffer=function(){var i=this,n=i._bufferSize,o=i._timestampProvider,r=i._buffer,a=i._infiniteTimeWindow,l=(a?1:2)*n;if(n<1/0&&l<r.length&&r.splice(0,r.length-l),!a){for(var c=o.now(),u=0,d=1;d<r.length&&r[d]<=c;d+=2)u=d;u&&r.splice(0,u+1)}},t}(Qn);const $i=[],Ji={},As=(e,t=0)=>{if($i.indexOf(e)==-1){const i=new Ss(t);Ji[e]=i,$i.push(e)}return Ji[e]};window.emWidgets={topic:As};const Ps=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));String(Number.MAX_SAFE_INTEGER).length;function Ts(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function Cs(e,t){if(!e||!t)return;const i=new URL(t);fetch(i.href).then(n=>n.text()).then(n=>{const o=document.createElement("style");o.innerHTML=n,e&&e.appendChild(o)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Ds(e,t,i){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,o=>{n.innerHTML=o,e&&e.appendChild(n)})}}function Ms(e){rr(e,"svelte-j1l9ct",':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(--emw--color-gray-100, #e6e6e6);background:var(--emw--color-white, #ffffff);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a))}input:focus,input :focus-within,input :focus-visible,input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}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(--emw--pam-contrast, var(--emw--color-contrast, #07072a));border:1px solid var(--emw--color-gray-100, #e6e6e6);background:var(--emw--color-white, #ffffff)}select:focus,select :focus-within,select :focus-visible,select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}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(--emw--pam-contrast, var(--emw--color-contrast, #07072a));animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px;float:left}.LimitsInteractionArea .InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #fd2839));font-size:14px;padding:6px 0px;margin-bottom:6px}.LimitsPageContainer{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;min-height:500px}.LimitsPageContainer .LimitsList{width:100%}.LimitsPageContainer .LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitCompliance{margin:20px 0px}.LimitCompliance .LimitComplianceText{font-size:14px}.LimitWrapper{background:var(--emw--color-white, #fff);font-size:1.3rem;border:1px solid var(--emw--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,.SubmitDocumentButton{background:var(--emw--color-valid, var(--emw--color-green, #48952a));color:var(--emw--button-typography, var(--emw--color-white, #ffffff));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled,.SubmitDocumentButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.SubmitDocumentButton{width:100%}.CloseButton{background:var(--emw--color-white, #ffffff);color:var(--emw--color-gray-300, #58586b);border:1px solid var(--emw--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(--emw--color-gray-50, #f9f8f8)}.LimitDetailsTextWrapper{display:flex;width:100%;justify-content:space-between;align-items:center;padding-bottom:16px;gap:10px;font-size:1.3rem;color:var(--emw--color-black, #000000)}.PendingLimit{color:var(--emw--color-black, #000000)}.CurrentLimitContainer{width:100%;display:flex;flex-direction:column;gap:5px}.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(--emw--color-white, #ffffff);font-size:1.3rem;color:var(--emw--color-black, #000000);width:80vw;min-height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer .documentAction{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.PopupContainer .documentAction .documentDragArea{width:100%;height:100%;border:2px dashed var(--emw--color-primary, #22b04e);padding:20px;border-radius:var(--emw--button-border-radius, 10px);display:flex;align-items:center;justify-content:center;flex-direction:column;margin-top:20px}.PopupContainer .documentAction .documentDragArea .icon{width:60px;fill:var(--emw--color-black, #000000)}.PopupContainer .documentAction .documentDragArea header{font-size:var(--emw--font-size-small, 12px);color:var(--emw--color-black, #000000)}.PopupContainer .documentAction .documentDragArea span{font-size:var(--emw--font-size-small, 12px);color:var(--emw--color-black, #000000);margin:10px 0 15px 0;text-align:center}.PopupContainer .documentAction .documentDragArea span .labelText{font-size:var(--emw--font-size-small, 12px);text-decoration:underline;cursor:pointer}.PopupContainer .documentAction .documentDragArea button{width:100%;text-align:center;margin-top:20px;background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #0e5924);border-radius:var(--emw--button-border-radius, 10px);padding:15px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));cursor:pointer;font-size:var(--emw--font-size-small, 12px)}.PopupContainer .documentAction .documentDragArea.active{border:2px solid #fff}.PopupContainer .documentAction .uploadHistory{width:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;margin-top:20px;gap:5px}.PopupContainer .documentAction .uploadHistory .historyHeader{font-size:var(--emw--font-size-medium, 15px)}.PopupContainer .documentAction .uploadHistory .historyItem{font-size:var(--emw--font-size-small, 12px);margin-left:10px}.PopupContainer .documentAction .uploadHistory p{width:100%;text-align:left;color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));margin:0}.PopupContainer .documentAction .filesError{color:var(--emw--color-error, var(--emw--color-red, #fd2839));font-size:var(--emw--font-size-small, 12px);line-height:10px;margin-top:20px}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emw--color-white, #ffffff);color:var(--emw--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}.ContainerLimitActions{display:flex;flex-direction:row;gap:10px}.ReloadLimitButton,.RemoveLimitButton,.ConfirmLimitButton,.CancelLimitButton{height:28px;width:100%;max-width:150px;font-size:0.7rem;background:var(--emw--color-white, #ffffff);color:var(--emw--color-gray-300, #58586b);border:1px solid var(--emw--color-gray-300, #58586b);border-radius:4px;padding:0 4px;cursor:pointer;white-space:nowrap}.ReloadLimitButton:hover,.RemoveLimitButton:hover,.ConfirmLimitButton:hover,.CancelLimitButton:hover{background:var(--emw--color-gray-300, #58586b);color:var(--emw--color-white, #ffffff)}.ReloadLimitButton.disabled,.RemoveLimitButton.disabled,.ConfirmLimitButton.disabled,.CancelLimitButton.disabled{color:var(--emw--bonus-pagination-disabled, var(--emw--color-gray-100, #e6e6e6));border-color:var(--emw--bonus-pagination-disabled, var(--emw--color-gray-100, #e6e6e6));cursor:default}.ReloadLimitButton.disabled:hover,.RemoveLimitButton.disabled:hover,.ConfirmLimitButton.disabled:hover,.CancelLimitButton.disabled:hover{background:none;color:none}@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}.skeletonLimitContainer{min-height:500px;container-type:inline-size;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.skeletonLimitContainer .skeletonLimitWrapper{min-height:150px;width:45%;display:flex;flex-direction:column;border:1px solid var(--emw--color-gray-300, #58586b);margin:12px;padding:8px 12px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitText{width:30%;margin-bottom:10px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding-left:5px;margin-bottom:30px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitAmount{width:100%}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitAmount .skeletonAmountText{width:40%;margin-bottom:10px;overflow:hidden}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitAmount .skeletonSubText{width:80%;overflow:hidden}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitButton{display:flex;flex-direction:row;width:30%;gap:10px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitButton div{width:100%}@container (max-width: 768px){.skeletonLimitContainer .skeletonLimitWrapper{width:100%;margin:0px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitText{width:100%;overflow:hidden}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent{width:100%;gap:10px;flex-direction:column;gap:10px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitAmount{display:flex;flex-direction:column;gap:10px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitButton{display:flex;flex-direction:row;width:100%;gap:10px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitButton div{width:100%}}.skeletonLimitContainer .skeletonInputWrapper{display:flex;flex-direction:column;width:320px;gap:10px}.skeletonLimitContainer .skeletonInputWrapper .skletonHeader{width:50%;margin-top:20px}.skeletonLimitContainer .skeletonInputWrapper .skeletonPeriod,.skeletonLimitContainer .skeletonInputWrapper .skeletonInputAmount,.skeletonLimitContainer .skeletonInputWrapper .skeletonButton{width:100%}@container (max-width: 768px){.skeletonLimitContainer .skeletonInputWrapper{width:100%}.skeletonLimitContainer .skeletonInputWrapper .skeletonPeriod,.skeletonLimitContainer .skeletonInputWrapper .skeletonInputAmount,.skeletonLimitContainer .skeletonInputWrapper .skeletonButton{width:inherit}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function Qi(e,t,i){const n=e.slice();return n[136]=t[i],n}function en(e,t,i){const n=e.slice();return n[139]=t[i],n[141]=i,n}function tn(e,t,i){const n=e.slice();return n[139]=t[i],n}function nn(e,t,i){const n=e.slice();return n[144]=t[i],n}function Bs(e,t,i){const n=e.slice();return n[133]=t[i],n}function on(e,t,i){const n=e.slice();return n[147]=t[i],n}function rn(e){let t,i,n;function o(l,c){return l[19]?l[26]&&!l[17]?js:Is:Ns}let r=o(e),a=r(e);return{c(){t=L("div"),i=L("div"),a.c(),h(i,"class",n="PopupContainer "+e[21]+" "+(e[29]?"Desktop":"")),h(t,"class","PopupOverlay")},m(l,c){P(l,t,c),p(t,i),a.m(i,null)},p(l,c){r===(r=o(l))&&a?a.p(l,c):(a.d(1),a=r(l),a&&(a.c(),a.m(i,null))),c[0]&2097152&&n!==(n="PopupContainer "+l[21]+" "+(l[29]?"Desktop":""))&&h(i,"class",n)},d(l){l&&S(t),a.d()}}}function Is(e){let t,i,n=e[28]("popupTitle")+"",o,r,a,l,c,u,d,f,y,v,k,D,K;function B(x,A){return x[17]?Os:x[22]==2?zs:Us}let I=B(e),R=I(e);function F(x,A){return x[17]?Fs:x[22]==2?Rs:Hs}let N=F(e),M=N(e);function H(x,A){return x[22]==2?Vs:Gs}let C=H(e),w=C(e);return{c(){t=L("div"),i=L("span"),o=j(n),r=O(),a=L("button"),a.textContent="X",l=O(),c=L("div"),u=L("div"),R.c(),d=O(),M.c(),f=O(),y=L("p"),v=O(),w.c(),k=ui(),h(i,"class","PopupTitle"),h(a,"class","ClosePopup"),h(t,"class","PopupTitleWrapper"),h(u,"class","ResultIconWrapper"),h(y,"class","DescriptionParagraph"),h(c,"class","DescriptionWrapper")},m(x,A){P(x,t,A),p(t,i),p(i,o),p(t,r),p(t,a),P(x,l,A),P(x,c,A),p(c,u),R.m(u,null),p(u,d),M.m(u,null),p(c,f),p(c,y),y.innerHTML=e[20],P(x,v,A),w.m(x,A),P(x,k,A),D||(K=le(a,"click",e[41]),D=!0)},p(x,A){A[0]&268435456&&n!==(n=x[28]("popupTitle")+"")&&U(o,n),I!==(I=B(x))&&(R.d(1),R=I(x),R&&(R.c(),R.m(u,d))),N===(N=F(x))&&M?M.p(x,A):(M.d(1),M=N(x),M&&(M.c(),M.m(u,null))),A[0]&1048576&&(y.innerHTML=x[20]),C===(C=H(x))&&w?w.p(x,A):(w.d(1),w=C(x),w&&(w.c(),w.m(k.parentNode,k)))},d(x){x&&(S(t),S(l),S(c),S(v),S(k)),R.d(),M.d(),w.d(x),D=!1,K()}}}function js(e){let t,i,n=e[28]("documentUploadTitle")+"",o,r,a,l,c,u,d,f,y,v,k=e[28]("uploadDocumentHeader")+"",D,K,B,I=e[28]("uploadDocumentContent")+"",R,F,N,M,H,C=e[28]("uploadHistory")+"",w,x,A,T,E,X=e[28]("submitButton")+"",Z,G,Le,xe;function De(Y,q){return Y[24]&&Y[24].length>0?qs:Ws}let de=De(e),ne=de(e),oe=!e[25]&&e[24]&&e[24].length>0&&sn(e);return{c(){t=L("div"),i=L("span"),o=j(n),r=O(),a=L("button"),a.textContent="X",l=O(),c=L("div"),u=L("div"),d=L("label"),f=L("div"),f.innerHTML=`<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 486.3 486.3" xml:space="preserve"><g><g><path d="M395.5,135.8c-5.2-30.9-20.5-59.1-43.9-80.5c-26-23.8-59.8-36.9-95-36.9c-27.2,0-53.7,7.8-76.4,22.5
32
+ `):"",this.name="UnsubscriptionError",this.errors=i}});function li(e,t){if(e){var i=e.indexOf(t);0<=i&&e.splice(i,1)}}var Ct=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,i,n,o,r;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var l=ri(a),c=l.next();!c.done;c=l.next()){var u=c.value;u.remove(this)}}catch(T){t={error:T}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(t)throw t.error}}else a.remove(this);var d=this.initialTeardown;if(Te(d))try{d()}catch(T){r=T instanceof qt?T.errors:[T]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var y=ri(f),b=y.next();!b.done;b=y.next()){var k=b.value;try{Ki(k)}catch(T){r=r!=null?r:[],T instanceof qt?r=si(si([],ai(r)),ai(T.errors)):r.push(T)}}}catch(T){n={error:T}}finally{try{b&&!b.done&&(o=y.return)&&o.call(y)}finally{if(n)throw n.error}}}if(r)throw new qt(r)}},e.prototype.add=function(t){var i;if(t&&t!==this)if(this.closed)Ki(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(t)}},e.prototype._hasParent=function(t){var i=this._parentage;return i===t||Array.isArray(i)&&i.includes(t)},e.prototype._addParent=function(t){var i=this._parentage;this._parentage=Array.isArray(i)?(i.push(t),i):i?[i,t]:t},e.prototype._removeParent=function(t){var i=this._parentage;i===t?this._parentage=null:Array.isArray(i)&&li(i,t)},e.prototype.remove=function(t){var i=this._finalizers;i&&li(i,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Jn=Ct.EMPTY;function Qn(e){return e instanceof Ct||e&&"closed"in e&&Te(e.remove)&&Te(e.add)&&Te(e.unsubscribe)}function Ki(e){Te(e)?e():e.unsubscribe()}var vs={Promise:void 0},bs={setTimeout:function(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];return setTimeout.apply(void 0,si([e,t],ai(i)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Ls(e){bs.setTimeout(function(){throw e})}function Yi(){}function Lt(e){e()}var eo=function(e){mt(t,e);function t(i){var n=e.call(this)||this;return n.isStopped=!1,i?(n.destination=i,Qn(i)&&i.add(n)):n.destination=ks,n}return t.create=function(i,n,o){return new ui(i,n,o)},t.prototype.next=function(i){this.isStopped||this._next(i)},t.prototype.error=function(i){this.isStopped||(this.isStopped=!0,this._error(i))},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(i){this.destination.next(i)},t.prototype._error=function(i){try{this.destination.error(i)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ct),_s=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var i=this.partialObserver;if(i.next)try{i.next(t)}catch(n){gt(n)}},e.prototype.error=function(t){var i=this.partialObserver;if(i.error)try{i.error(t)}catch(n){gt(n)}else gt(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(i){gt(i)}},e}(),ui=function(e){mt(t,e);function t(i,n,o){var r=e.call(this)||this,a;return Te(i)||!i?a={next:i!=null?i:void 0,error:n!=null?n:void 0,complete:o!=null?o:void 0}:a=i,r.destination=new _s(a),r}return t}(eo);function gt(e){Ls(e)}function ws(e){throw e}var ks={closed:!0,next:Yi,error:ws,complete:Yi},Es=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function xs(e){return e}function Ss(e){return e.length===0?xs:e.length===1?e[0]:function(i){return e.reduce(function(n,o){return o(n)},i)}}var Zi=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var i=new e;return i.source=this,i.operator=t,i},e.prototype.subscribe=function(t,i,n){var o=this,r=Ps(t)?t:new ui(t,i,n);return Lt(function(){var a=o,l=a.operator,c=a.source;r.add(l?l.call(r,c):c?o._subscribe(r):o._trySubscribe(r))}),r},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(i){t.error(i)}},e.prototype.forEach=function(t,i){var n=this;return i=$i(i),new i(function(o,r){var a=new ui({next:function(l){try{t(l)}catch(c){r(c),a.unsubscribe()}},error:r,complete:o});n.subscribe(a)})},e.prototype._subscribe=function(t){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(t)},e.prototype[Es]=function(){return this},e.prototype.pipe=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return Ss(t)(this)},e.prototype.toPromise=function(t){var i=this;return t=$i(t),new t(function(n,o){var r;i.subscribe(function(a){return r=a},function(a){return o(a)},function(){return n(r)})})},e.create=function(t){return new e(t)},e}();function $i(e){var t;return(t=e!=null?e:vs.Promise)!==null&&t!==void 0?t:Promise}function As(e){return e&&Te(e.next)&&Te(e.error)&&Te(e.complete)}function Ps(e){return e&&e instanceof eo||As(e)&&Qn(e)}var Ts=$n(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),to=function(e){mt(t,e);function t(){var i=e.call(this)||this;return i.closed=!1,i.currentObservers=null,i.observers=[],i.isStopped=!1,i.hasError=!1,i.thrownError=null,i}return t.prototype.lift=function(i){var n=new Ji(this,this);return n.operator=i,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ts},t.prototype.next=function(i){var n=this;Lt(function(){var o,r;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=ri(n.currentObservers),l=a.next();!l.done;l=a.next()){var c=l.value;c.next(i)}}catch(u){o={error:u}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}}})},t.prototype.error=function(i){var n=this;Lt(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=i;for(var o=n.observers;o.length;)o.shift().error(i)}})},t.prototype.complete=function(){var i=this;Lt(function(){if(i._throwIfClosed(),!i.isStopped){i.isStopped=!0;for(var n=i.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var i;return((i=this.observers)===null||i===void 0?void 0:i.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(i){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,i)},t.prototype._subscribe=function(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)},t.prototype._innerSubscribe=function(i){var n=this,o=this,r=o.hasError,a=o.isStopped,l=o.observers;return r||a?Jn:(this.currentObservers=null,l.push(i),new Ct(function(){n.currentObservers=null,li(l,i)}))},t.prototype._checkFinalizedStatuses=function(i){var n=this,o=n.hasError,r=n.thrownError,a=n.isStopped;o?i.error(r):a&&i.complete()},t.prototype.asObservable=function(){var i=new Zi;return i.source=this,i},t.create=function(i,n){return new Ji(i,n)},t}(Zi),Ji=function(e){mt(t,e);function t(i,n){var o=e.call(this)||this;return o.destination=i,o.source=n,o}return t.prototype.next=function(i){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.next)===null||o===void 0||o.call(n,i)},t.prototype.error=function(i){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.error)===null||o===void 0||o.call(n,i)},t.prototype.complete=function(){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.complete)===null||n===void 0||n.call(i)},t.prototype._subscribe=function(i){var n,o;return(o=(n=this.source)===null||n===void 0?void 0:n.subscribe(i))!==null&&o!==void 0?o:Jn},t}(to),io={now:function(){return(io.delegate||Date).now()},delegate:void 0},Cs=function(e){mt(t,e);function t(i,n,o){i===void 0&&(i=1/0),n===void 0&&(n=1/0),o===void 0&&(o=io);var r=e.call(this)||this;return r._bufferSize=i,r._windowTime=n,r._timestampProvider=o,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=n===1/0,r._bufferSize=Math.max(1,i),r._windowTime=Math.max(1,n),r}return t.prototype.next=function(i){var n=this,o=n.isStopped,r=n._buffer,a=n._infiniteTimeWindow,l=n._timestampProvider,c=n._windowTime;o||(r.push(i),!a&&r.push(l.now()+c)),this._trimBuffer(),e.prototype.next.call(this,i)},t.prototype._subscribe=function(i){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(i),o=this,r=o._infiniteTimeWindow,a=o._buffer,l=a.slice(),c=0;c<l.length&&!i.closed;c+=r?1:2)i.next(l[c]);return this._checkFinalizedStatuses(i),n},t.prototype._trimBuffer=function(){var i=this,n=i._bufferSize,o=i._timestampProvider,r=i._buffer,a=i._infiniteTimeWindow,l=(a?1:2)*n;if(n<1/0&&l<r.length&&r.splice(0,r.length-l),!a){for(var c=o.now(),u=0,d=1;d<r.length&&r[d]<=c;d+=2)u=d;u&&r.splice(0,u+1)}},t}(to);const Qi=[],en={},Ds=(e,t=0)=>{if(Qi.indexOf(e)==-1){const i=new Cs(t);en[e]=i,Qi.push(e)}return en[e]};window.emWidgets={topic:Ds};const Ms=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));String(Number.MAX_SAFE_INTEGER).length;function Bs(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function Is(e,t){if(!e||!t)return;const i=new URL(t);fetch(i.href).then(n=>n.text()).then(n=>{const o=document.createElement("style");o.innerHTML=n,e&&e.appendChild(o)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function js(e,t,i){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,o=>{n.innerHTML=o,e&&e.appendChild(n)})}}function Ns(e){ur(e,"svelte-j1l9ct",':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(--emw--color-gray-100, #e6e6e6);background:var(--emw--color-white, #ffffff);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a))}input:focus,input :focus-within,input :focus-visible,input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}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(--emw--pam-contrast, var(--emw--color-contrast, #07072a));border:1px solid var(--emw--color-gray-100, #e6e6e6);background:var(--emw--color-white, #ffffff)}select:focus,select :focus-within,select :focus-visible,select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}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(--emw--pam-contrast, var(--emw--color-contrast, #07072a));animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px;float:left}.LimitsInteractionArea .InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #fd2839));font-size:14px;padding:6px 0px;margin-bottom:6px}.LimitsPageContainer{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;min-height:500px}.LimitsPageContainer .LimitsList{width:100%}.LimitsPageContainer .LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitCompliance{margin:20px 0px}.LimitCompliance .LimitComplianceText{font-size:14px}.LimitWrapper{background:var(--emw--color-white, #fff);font-size:1.3rem;border:1px solid var(--emw--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,.SubmitDocumentButton{background:var(--emw--color-valid, var(--emw--color-green, #48952a));color:var(--emw--button-typography, var(--emw--color-white, #ffffff));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled,.SubmitDocumentButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.SubmitDocumentButton{width:100%}.CloseButton{background:var(--emw--color-white, #ffffff);color:var(--emw--color-gray-300, #58586b);border:1px solid var(--emw--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(--emw--color-gray-50, #f9f8f8)}.LimitDetailsTextWrapper{display:flex;width:100%;justify-content:space-between;align-items:center;padding-bottom:16px;gap:10px;font-size:1.3rem;color:var(--emw--color-black, #000000)}.PendingLimit{color:var(--emw--color-black, #000000)}.CurrentLimitContainer{width:100%;display:flex;flex-direction:column;gap:5px}.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(--emw--color-white, #ffffff);font-size:1.3rem;color:var(--emw--color-black, #000000);width:80vw;min-height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer .documentAction{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.PopupContainer .documentAction .documentDragArea{width:100%;height:100%;border:2px dashed var(--emw--color-primary, #22b04e);padding:20px;border-radius:var(--emw--button-border-radius, 10px);display:flex;align-items:center;justify-content:center;flex-direction:column;margin-top:20px}.PopupContainer .documentAction .documentDragArea .icon{width:60px;fill:var(--emw--color-black, #000000)}.PopupContainer .documentAction .documentDragArea header{font-size:var(--emw--font-size-small, 12px);color:var(--emw--color-black, #000000)}.PopupContainer .documentAction .documentDragArea span{font-size:var(--emw--font-size-small, 12px);color:var(--emw--color-black, #000000);margin:10px 0 15px 0;text-align:center}.PopupContainer .documentAction .documentDragArea span .labelText{font-size:var(--emw--font-size-small, 12px);text-decoration:underline;cursor:pointer}.PopupContainer .documentAction .documentDragArea button{width:100%;text-align:center;margin-top:20px;background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #0e5924);border-radius:var(--emw--button-border-radius, 10px);padding:15px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));cursor:pointer;font-size:var(--emw--font-size-small, 12px)}.PopupContainer .documentAction .documentDragArea.active{border:2px solid #fff}.PopupContainer .documentAction .uploadHistory{width:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;margin-top:20px;gap:5px}.PopupContainer .documentAction .uploadHistory .historyHeader{font-size:var(--emw--font-size-medium, 15px)}.PopupContainer .documentAction .uploadHistory .historyItem{font-size:var(--emw--font-size-small, 12px);margin-left:10px}.PopupContainer .documentAction .uploadHistory p{width:100%;text-align:left;color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));margin:0}.PopupContainer .documentAction .filesError{color:var(--emw--color-error, var(--emw--color-red, #fd2839));font-size:var(--emw--font-size-small, 12px);line-height:10px;margin-top:20px}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emw--color-white, #ffffff);color:var(--emw--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}.ContainerLimitActions{display:flex;flex-direction:row;gap:10px}.ReloadLimitButton,.RemoveLimitButton,.ConfirmLimitButton,.CancelLimitButton{height:28px;width:100%;max-width:150px;font-size:0.7rem;background:var(--emw--color-white, #ffffff);color:var(--emw--color-gray-300, #58586b);border:1px solid var(--emw--color-gray-300, #58586b);border-radius:4px;padding:0 4px;cursor:pointer;white-space:nowrap}.ReloadLimitButton:hover,.RemoveLimitButton:hover,.ConfirmLimitButton:hover,.CancelLimitButton:hover{background:var(--emw--color-gray-300, #58586b);color:var(--emw--color-white, #ffffff)}.ReloadLimitButton.disabled,.RemoveLimitButton.disabled,.ConfirmLimitButton.disabled,.CancelLimitButton.disabled{color:var(--emw--bonus-pagination-disabled, var(--emw--color-gray-100, #e6e6e6));border-color:var(--emw--bonus-pagination-disabled, var(--emw--color-gray-100, #e6e6e6));cursor:default}.ReloadLimitButton.disabled:hover,.RemoveLimitButton.disabled:hover,.ConfirmLimitButton.disabled:hover,.CancelLimitButton.disabled:hover{background:none;color:none}@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}.skeletonLimitContainer{min-height:500px;container-type:inline-size;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.skeletonLimitContainer .skeletonLimitWrapper{min-height:150px;width:45%;display:flex;flex-direction:column;border:1px solid var(--emw--color-gray-300, #58586b);margin:12px;padding:8px 12px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitText{width:30%;margin-bottom:10px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding-left:5px;margin-bottom:30px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitAmount{width:100%}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitAmount .skeletonAmountText{width:40%;margin-bottom:10px;overflow:hidden}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitAmount .skeletonSubText{width:80%;overflow:hidden}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitButton{display:flex;flex-direction:row;width:30%;gap:10px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitButton div{width:100%}@container (max-width: 768px){.skeletonLimitContainer .skeletonLimitWrapper{width:100%;margin:0px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitText{width:100%;overflow:hidden}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent{width:100%;gap:10px;flex-direction:column;gap:10px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitAmount{display:flex;flex-direction:column;gap:10px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitButton{display:flex;flex-direction:row;width:100%;gap:10px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitButton div{width:100%}}.skeletonLimitContainer .skeletonInputWrapper{display:flex;flex-direction:column;width:320px;gap:10px}.skeletonLimitContainer .skeletonInputWrapper .skletonHeader{width:50%;margin-top:20px}.skeletonLimitContainer .skeletonInputWrapper .skeletonPeriod,.skeletonLimitContainer .skeletonInputWrapper .skeletonInputAmount,.skeletonLimitContainer .skeletonInputWrapper .skeletonButton{width:100%}@container (max-width: 768px){.skeletonLimitContainer .skeletonInputWrapper{width:100%}.skeletonLimitContainer .skeletonInputWrapper .skeletonPeriod,.skeletonLimitContainer .skeletonInputWrapper .skeletonInputAmount,.skeletonLimitContainer .skeletonInputWrapper .skeletonButton{width:inherit}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function tn(e,t,i){const n=e.slice();return n[137]=t[i],n}function nn(e,t,i){const n=e.slice();return n[140]=t[i],n[142]=i,n}function on(e,t,i){const n=e.slice();return n[140]=t[i],n}function rn(e,t,i){const n=e.slice();return n[145]=t[i],n}function Us(e,t,i){const n=e.slice();return n[134]=t[i],n}function an(e,t,i){const n=e.slice();return n[148]=t[i],n}function sn(e){let t,i,n;function o(l,c){return l[20]?l[27]&&!l[18]?Os:zs:Hs}let r=o(e),a=r(e);return{c(){t=L("div"),i=L("div"),a.c(),h(i,"class",n="PopupContainer "+e[22]+" "+(e[30]?"Desktop":"")),h(t,"class","PopupOverlay")},m(l,c){P(l,t,c),p(t,i),a.m(i,null)},p(l,c){r===(r=o(l))&&a?a.p(l,c):(a.d(1),a=r(l),a&&(a.c(),a.m(i,null))),c[0]&4194304&&n!==(n="PopupContainer "+l[22]+" "+(l[30]?"Desktop":""))&&h(i,"class",n)},d(l){l&&A(t),a.d()}}}function zs(e){let t,i,n=e[29]("popupTitle")+"",o,r,a,l,c,u,d,f,y,b,k,T,K;function N(x,V){return x[18]?Gs:x[23]==2?Fs:Rs}let C=N(e),O=C(e);function G(x,V){return x[18]?qs:x[23]==2?Ws:Vs}let B=G(e),D=B(e);function q(x,V){return x[23]==2?Ks:Xs}let H=q(e),_=H(e);return{c(){t=L("div"),i=L("span"),o=M(n),r=z(),a=L("button"),a.textContent="X",l=z(),c=L("div"),u=L("div"),O.c(),d=z(),D.c(),f=z(),y=L("p"),b=z(),_.c(),k=di(),h(i,"class","PopupTitle"),h(a,"class","ClosePopup"),h(t,"class","PopupTitleWrapper"),h(u,"class","ResultIconWrapper"),h(y,"class","DescriptionParagraph"),h(c,"class","DescriptionWrapper")},m(x,V){P(x,t,V),p(t,i),p(i,o),p(t,r),p(t,a),P(x,l,V),P(x,c,V),p(c,u),O.m(u,null),p(u,d),D.m(u,null),p(c,f),p(c,y),y.innerHTML=e[21],P(x,b,V),_.m(x,V),P(x,k,V),T||(K=ue(a,"click",e[42]),T=!0)},p(x,V){V[0]&536870912&&n!==(n=x[29]("popupTitle")+"")&&j(o,n),C!==(C=N(x))&&(O.d(1),O=C(x),O&&(O.c(),O.m(u,d))),B===(B=G(x))&&D?D.p(x,V):(D.d(1),D=B(x),D&&(D.c(),D.m(u,null))),V[0]&2097152&&(y.innerHTML=x[21]),H===(H=q(x))&&_?_.p(x,V):(_.d(1),_=H(x),_&&(_.c(),_.m(k.parentNode,k)))},d(x){x&&(A(t),A(l),A(c),A(b),A(k)),O.d(),D.d(),_.d(x),T=!1,K()}}}function Os(e){let t,i,n=e[29]("documentUploadTitle")+"",o,r,a,l,c,u,d,f,y,b,k=e[29]("uploadDocumentHeader")+"",T,K,N,C=e[29]("uploadDocumentContent")+"",O,G,B,D,q,H=e[29]("uploadHistory")+"",_,x,V,I,S,E=e[29]("submitButton")+"",X,Y,R,xe;function Se(Z,re){return Z[25]&&Z[25].length>0?Zs:Ys}let Ae=Se(e),oe=Ae(e),te=!e[26]&&e[25]&&e[25].length>0&&un(e);return{c(){t=L("div"),i=L("span"),o=M(n),r=z(),a=L("button"),a.textContent="X",l=z(),c=L("div"),u=L("div"),d=L("label"),f=L("div"),f.innerHTML=`<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 486.3 486.3" xml:space="preserve"><g><g><path d="M395.5,135.8c-5.2-30.9-20.5-59.1-43.9-80.5c-26-23.8-59.8-36.9-95-36.9c-27.2,0-53.7,7.8-76.4,22.5
33
33
  c-18.9,12.2-34.6,28.7-45.7,48.1c-4.8-0.9-9.8-1.4-14.8-1.4c-42.5,0-77.1,34.6-77.1,77.1c0,5.5,0.6,10.8,1.6,16
34
34
  C16.7,200.7,0,232.9,0,267.2c0,27.7,10.3,54.6,29.1,75.9c19.3,21.8,44.8,34.7,72,36.2c0.3,0,0.5,0,0.8,0h86
35
35
  c7.5,0,13.5-6,13.5-13.5s-6-13.5-13.5-13.5h-85.6C61.4,349.8,27,310.9,27,267.1c0-28.3,15.2-54.7,39.7-69
@@ -38,15 +38,15 @@ PERFORMANCE OF THIS SOFTWARE.
38
38
  c0,49.7-39.1,92.9-87.3,96.6h-73.7c-7.5,0-13.5,6-13.5,13.5s6,13.5,13.5,13.5h74.2c0.3,0,0.6,0,1,0c30.5-2.2,59-16.2,80.2-39.6
39
39
  c21.1-23.2,32.6-53,32.6-84C486.2,199.5,447.9,149.6,395.5,135.8z"></path><path d="M324.2,280c5.3-5.3,5.3-13.8,0-19.1l-71.5-71.5c-2.5-2.5-6-4-9.5-4s-7,1.4-9.5,4l-71.5,71.5c-5.3,5.3-5.3,13.8,0,19.1
40
40
  c2.6,2.6,6.1,4,9.5,4s6.9-1.3,9.5-4l48.5-48.5v222.9c0,7.5,6,13.5,13.5,13.5s13.5-6,13.5-13.5V231.5l48.5,48.5
41
- C310.4,285.3,318.9,285.3,324.2,280z"></path></g></g></svg>`,y=O(),v=L("header"),D=j(k),K=O(),B=L("span"),R=O(),F=L("input"),N=O(),M=L("div"),H=L("p"),w=j(C),x=O(),ne.c(),A=O(),oe&&oe.c(),T=O(),E=L("button"),Z=j(X),h(i,"class","PopupTitle"),h(a,"class","ClosePopup"),h(t,"class","PopupTitleWrapper"),h(f,"class","icon"),h(F,"id","files"),h(F,"type","file"),Oe(F,"display","none"),h(d,"class","documentDragArea"),h(d,"for","files"),h(H,"class","historyHeader"),h(M,"class","uploadHistory"),h(E,"class","SubmitDocumentButton "+(e[29]?"":"Mobile")),E.disabled=G=!e[24]||!(e[24].length>0)||!e[25],h(u,"class","documentAction"),h(c,"class","DescriptionWrapper")},m(Y,q){P(Y,t,q),p(t,i),p(i,o),p(t,r),p(t,a),P(Y,l,q),P(Y,c,q),p(c,u),p(u,d),p(d,f),p(d,y),p(d,v),p(v,D),p(d,K),p(d,B),B.innerHTML=I,p(d,R),p(d,F),p(u,N),p(u,M),p(M,H),p(H,w),p(M,x),ne.m(M,null),p(u,A),oe&&oe.m(u,null),p(u,T),p(u,E),p(E,Z),Le||(xe=[le(a,"click",e[41]),le(F,"change",e[61]),le(E,"click",e[44])],Le=!0)},p(Y,q){q[0]&268435456&&n!==(n=Y[28]("documentUploadTitle")+"")&&U(o,n),q[0]&268435456&&k!==(k=Y[28]("uploadDocumentHeader")+"")&&U(D,k),q[0]&268435456&&I!==(I=Y[28]("uploadDocumentContent")+"")&&(B.innerHTML=I),q[0]&268435456&&C!==(C=Y[28]("uploadHistory")+"")&&U(w,C),de===(de=De(Y))&&ne?ne.p(Y,q):(ne.d(1),ne=de(Y),ne&&(ne.c(),ne.m(M,null))),!Y[25]&&Y[24]&&Y[24].length>0?oe?oe.p(Y,q):(oe=sn(Y),oe.c(),oe.m(u,T)):oe&&(oe.d(1),oe=null),q[0]&268435456&&X!==(X=Y[28]("submitButton")+"")&&U(Z,X),q[0]&50331648&&G!==(G=!Y[24]||!(Y[24].length>0)||!Y[25])&&(E.disabled=G)},d(Y){Y&&(S(t),S(l),S(c)),ne.d(),oe&&oe.d(),Le=!1,Ee(xe)}}}function Ns(e){let t;return{c(){t=L("div"),h(t,"class","LoadingIndicator")},m(i,n){P(i,t,n)},p:fe,d(i){i&&S(t)}}}function Us(e){let t,i,n,o,r,a;return{c(){t=J("svg"),i=J("defs"),n=J("style"),o=j(`.fil0 {
41
+ C310.4,285.3,318.9,285.3,324.2,280z"></path></g></g></svg>`,y=z(),b=L("header"),T=M(k),K=z(),N=L("span"),O=z(),G=L("input"),B=z(),D=L("div"),q=L("p"),_=M(H),x=z(),oe.c(),V=z(),te&&te.c(),I=z(),S=L("button"),X=M(E),h(i,"class","PopupTitle"),h(a,"class","ClosePopup"),h(t,"class","PopupTitleWrapper"),h(f,"class","icon"),h(G,"id","files"),h(G,"type","file"),He(G,"display","none"),h(d,"class","documentDragArea"),h(d,"for","files"),h(q,"class","historyHeader"),h(D,"class","uploadHistory"),h(S,"class","SubmitDocumentButton "+(e[30]?"":"Mobile")),S.disabled=Y=!e[25]||!(e[25].length>0)||!e[26],h(u,"class","documentAction"),h(c,"class","DescriptionWrapper")},m(Z,re){P(Z,t,re),p(t,i),p(i,o),p(t,r),p(t,a),P(Z,l,re),P(Z,c,re),p(c,u),p(u,d),p(d,f),p(d,y),p(d,b),p(b,T),p(d,K),p(d,N),N.innerHTML=C,p(d,O),p(d,G),p(u,B),p(u,D),p(D,q),p(q,_),p(D,x),oe.m(D,null),p(u,V),te&&te.m(u,null),p(u,I),p(u,S),p(S,X),R||(xe=[ue(a,"click",e[42]),ue(G,"change",e[62]),ue(S,"click",e[45])],R=!0)},p(Z,re){re[0]&536870912&&n!==(n=Z[29]("documentUploadTitle")+"")&&j(o,n),re[0]&536870912&&k!==(k=Z[29]("uploadDocumentHeader")+"")&&j(T,k),re[0]&536870912&&C!==(C=Z[29]("uploadDocumentContent")+"")&&(N.innerHTML=C),re[0]&536870912&&H!==(H=Z[29]("uploadHistory")+"")&&j(_,H),Ae===(Ae=Se(Z))&&oe?oe.p(Z,re):(oe.d(1),oe=Ae(Z),oe&&(oe.c(),oe.m(D,null))),!Z[26]&&Z[25]&&Z[25].length>0?te?te.p(Z,re):(te=un(Z),te.c(),te.m(u,I)):te&&(te.d(1),te=null),re[0]&536870912&&E!==(E=Z[29]("submitButton")+"")&&j(X,E),re[0]&100663296&&Y!==(Y=!Z[25]||!(Z[25].length>0)||!Z[26])&&(S.disabled=Y)},d(Z){Z&&(A(t),A(l),A(c)),oe.d(),te&&te.d(),R=!1,Ee(xe)}}}function Hs(e){let t;return{c(){t=L("div"),h(t,"class","LoadingIndicator")},m(i,n){P(i,t,n)},p:fe,d(i){i&&A(t)}}}function Rs(e){let t,i,n,o,r,a;return{c(){t=J("svg"),i=J("defs"),n=J("style"),o=M(`.fil0 {
42
42
  fill: black;
43
43
  fill-rule: nonzero;
44
44
  }
45
- `),r=J("g"),a=J("polygon"),h(n,"type","text/css"),h(a,"class","fil0"),h(a,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),h(t,"xmlns","http://www.w3.org/2000/svg"),h(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),h(t,"xml:space","preserve"),h(t,"version","1.1"),Oe(t,"shape-rendering","geometricPrecision"),Oe(t,"text-rendering","geometricPrecision"),Oe(t,"image-rendering","optimizeQuality"),h(t,"viewBox","0 0 90 69"),h(t,"x","0px"),h(t,"y","0px"),h(t,"fill-rule","evenodd"),h(t,"clip-rule","evenodd")},m(l,c){P(l,t,c),p(t,i),p(i,n),p(n,o),p(t,r),p(r,a)},d(l){l&&S(t)}}}function zs(e){let t,i,n;return{c(){t=J("svg"),i=J("g"),n=J("path"),h(n,"id","XMLID_6_"),h(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
45
+ `),r=J("g"),a=J("polygon"),h(n,"type","text/css"),h(a,"class","fil0"),h(a,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),h(t,"xmlns","http://www.w3.org/2000/svg"),h(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),h(t,"xml:space","preserve"),h(t,"version","1.1"),He(t,"shape-rendering","geometricPrecision"),He(t,"text-rendering","geometricPrecision"),He(t,"image-rendering","optimizeQuality"),h(t,"viewBox","0 0 90 69"),h(t,"x","0px"),h(t,"y","0px"),h(t,"fill-rule","evenodd"),h(t,"clip-rule","evenodd")},m(l,c){P(l,t,c),p(t,i),p(i,n),p(n,o),p(t,r),p(r,a)},d(l){l&&A(t)}}}function Fs(e){let t,i,n;return{c(){t=J("svg"),i=J("g"),n=J("path"),h(n,"id","XMLID_6_"),h(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
46
46
  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
47
47
  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
48
- h256.5v-82.1H429v366.5H429.9z`),h(i,"id","XMLID_1_"),h(t,"version","1.1"),h(t,"id","Layer_1"),h(t,"xmlns","http://www.w3.org/2000/svg"),h(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),h(t,"x","0px"),h(t,"y","0px"),h(t,"viewBox","0 0 512 512"),Oe(t,"enable-background","new 0 0 512 512"),h(t,"xml:space","preserve")},m(o,r){P(o,t,r),p(t,i),p(i,n)},d(o){o&&S(t)}}}function Os(e){let t,i,n,o,r,a,l,c,u,d,f,y,v,k,D,K,B,I,R;return{c(){t=J("svg"),i=J("g"),n=J("path"),o=J("path"),r=J("g"),a=J("g"),l=J("g"),c=J("g"),u=J("g"),d=J("g"),f=J("g"),y=J("g"),v=J("g"),k=J("g"),D=J("g"),K=J("g"),B=J("g"),I=J("g"),R=J("g"),h(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
48
+ h256.5v-82.1H429v366.5H429.9z`),h(i,"id","XMLID_1_"),h(t,"version","1.1"),h(t,"id","Layer_1"),h(t,"xmlns","http://www.w3.org/2000/svg"),h(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),h(t,"x","0px"),h(t,"y","0px"),h(t,"viewBox","0 0 512 512"),He(t,"enable-background","new 0 0 512 512"),h(t,"xml:space","preserve")},m(o,r){P(o,t,r),p(t,i),p(i,n)},d(o){o&&A(t)}}}function Gs(e){let t,i,n,o,r,a,l,c,u,d,f,y,b,k,T,K,N,C,O;return{c(){t=J("svg"),i=J("g"),n=J("path"),o=J("path"),r=J("g"),a=J("g"),l=J("g"),c=J("g"),u=J("g"),d=J("g"),f=J("g"),y=J("g"),b=J("g"),k=J("g"),T=J("g"),K=J("g"),N=J("g"),C=J("g"),O=J("g"),h(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
49
49
  S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z`),h(o,"d",`M35.707,16.293c-0.391-0.391-1.023-0.391-1.414,0L26,24.586l-8.293-8.293c-0.391-0.391-1.023-0.391-1.414,0
50
50
  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
51
51
  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
52
- 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`),h(t,"version","1.1"),h(t,"id","Capa_1"),h(t,"xmlns","http://www.w3.org/2000/svg"),h(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),h(t,"x","0px"),h(t,"y","0px"),h(t,"viewBox","0 0 52 52"),Oe(t,"enable-background","new 0 0 52 52"),h(t,"xml:space","preserve")},m(F,N){P(F,t,N),p(t,i),p(i,n),p(i,o),p(t,r),p(t,a),p(t,l),p(t,c),p(t,u),p(t,d),p(t,f),p(t,y),p(t,v),p(t,k),p(t,D),p(t,K),p(t,B),p(t,I),p(t,R)},d(F){F&&S(t)}}}function Hs(e){let t,i=e[28]("popupSuccess")+"",n;return{c(){t=L("p"),n=j(i)},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&268435456&&i!==(i=o[28]("popupSuccess")+"")&&U(n,i)},d(o){o&&S(t)}}}function Rs(e){let t,i=e[28]("docsRequired")+"",n;return{c(){t=L("p"),n=j(i)},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&268435456&&i!==(i=o[28]("docsRequired")+"")&&U(n,i)},d(o){o&&S(t)}}}function Fs(e){let t,i=e[28]("popupError")+"",n;return{c(){t=L("p"),n=j(i)},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&268435456&&i!==(i=o[28]("popupError")+"")&&U(n,i)},d(o){o&&S(t)}}}function Gs(e){let t,i=e[28]("okButton")+"",n,o,r;return{c(){t=L("button"),n=j(i),h(t,"class","ConfirmButton")},m(a,l){P(a,t,l),p(t,n),o||(r=le(t,"click",e[41]),o=!0)},p(a,l){l[0]&268435456&&i!==(i=a[28]("okButton")+"")&&U(n,i)},d(a){a&&S(t),o=!1,r()}}}function Vs(e){let t,i=e[28]("uploadDocumentsButton")+"",n,o,r=e[28]("closeButton")+"",a,l,c;return{c(){t=L("button"),n=O(),o=L("button"),a=j(r),h(t,"class","ConfirmButton"),h(o,"class","CloseButton")},m(u,d){P(u,t,d),t.innerHTML=i,P(u,n,d),P(u,o,d),p(o,a),l||(c=[le(t,"click",e[42]),le(o,"click",e[41])],l=!0)},p(u,d){d[0]&268435456&&i!==(i=u[28]("uploadDocumentsButton")+"")&&(t.innerHTML=i),d[0]&268435456&&r!==(r=u[28]("closeButton")+"")&&U(a,r)},d(u){u&&(S(t),S(n),S(o)),l=!1,Ee(c)}}}function Ws(e){let t,i=e[28]("noFileUploaded")+"",n;return{c(){t=L("p"),n=j(i),h(t,"class","historyItem")},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&268435456&&i!==(i=o[28]("noFileUploaded")+"")&&U(n,i)},d(o){o&&S(t)}}}function qs(e){let t,i=be(Array.from(e[24])),n=[];for(let o=0;o<i.length;o+=1)n[o]=an(on(e,i,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();t=ui()},m(o,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(o,r);P(o,t,r)},p(o,r){if(r[0]&16777216){i=be(Array.from(o[24]));let a;for(a=0;a<i.length;a+=1){const l=on(o,i,a);n[a]?n[a].p(l,r):(n[a]=an(l),n[a].c(),n[a].m(t.parentNode,t))}for(;a<n.length;a+=1)n[a].d(1);n.length=i.length}},d(o){o&&S(t),We(n,o)}}}function an(e){let t,i=e[147].name+"",n;return{c(){t=L("p"),n=j(i),h(t,"class","historyItem")},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&16777216&&i!==(i=o[147].name+"")&&U(n,i)},d(o){o&&S(t)}}}function sn(e){let t,i=e[28]("filesUploadError")+"",n;return{c(){t=L("p"),n=j(i),h(t,"class","filesError")},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&268435456&&i!==(i=o[28]("filesUploadError")+"")&&U(n,i)},d(o){o&&S(t)}}}function Xs(e){let t,i,n,o,r,a,l,c,u,d,f=e[14]?`${e[28]("amount")}`:`${e[28](`new${e[8]}Limit`)}`,y,v,k,D,K,B,I=e[28]("setLimit")+"",R,F,N,M,H=be(e[6]),C=[];for(let E=0;E<H.length;E+=1)C[E]=pn(tn(e,H,E));let w=e[1]==="true"&&fn(e),x=e[13]&&hn(e),A=e[14]&&yn(e),T=e[23]&&bn(e);return{c(){t=L("div"),i=L("div"),n=L("div");for(let E=0;E<C.length;E+=1)C[E].c();o=O(),r=L("form"),w&&w.c(),a=O(),x&&x.c(),l=O(),A&&A.c(),c=O(),u=L("label"),d=L("span"),y=j(f),v=O(),k=L("input"),D=O(),T&&T.c(),K=O(),B=L("button"),R=j(I),h(n,"class","LimitsList "+(e[29]?"Desktop":"")),h(d,"class","LimitInputText"),h(k,"type","number"),h(k,"pattern","[0-9]*"),h(u,"class","LimitAmountInputWrapper"),h(B,"class","LimitSubmitButton"),h(B,"type","submit"),B.disabled=e[23],h(r,"class","LimitsInteractionArea "+(e[29]?"Desktop":"")),h(i,"class","LimitsPageContainer"),h(t,"class",F="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+e[3]))},m(E,X){P(E,t,X),p(t,i),p(i,n);for(let Z=0;Z<C.length;Z+=1)C[Z]&&C[Z].m(n,null);p(i,o),p(i,r),w&&w.m(r,null),p(r,a),x&&x.m(r,null),p(r,l),A&&A.m(r,null),p(r,c),p(r,u),p(u,d),p(d,y),p(u,v),p(u,k),at(k,e[10]),p(u,D),T&&T.m(u,null),p(r,K),p(r,B),p(B,R),N||(M=[le(k,"input",e[69]),le(k,"input",e[33]),le(r,"submit",e[34])],N=!0)},p(E,X){if(X[0]&939524164|X[1]&994){H=be(E[6]);let Z;for(Z=0;Z<H.length;Z+=1){const G=tn(E,H,Z);C[Z]?C[Z].p(G,X):(C[Z]=pn(G),C[Z].c(),C[Z].m(n,null))}for(;Z<C.length;Z+=1)C[Z].d(1);C.length=H.length}E[1]==="true"?w?w.p(E,X):(w=fn(E),w.c(),w.m(r,a)):w&&(w.d(1),w=null),E[13]?x?x.p(E,X):(x=hn(E),x.c(),x.m(r,l)):x&&(x.d(1),x=null),E[14]?A?A.p(E,X):(A=yn(E),A.c(),A.m(r,c)):A&&(A.d(1),A=null),X[0]&268452096&&f!==(f=E[14]?`${E[28]("amount")}`:`${E[28](`new${E[8]}Limit`)}`)&&U(y,f),X[0]&1024&&kn(k.value)!==E[10]&&at(k,E[10]),E[23]?T?T.p(E,X):(T=bn(E),T.c(),T.m(u,null)):T&&(T.d(1),T=null),X[0]&268435456&&I!==(I=E[28]("setLimit")+"")&&U(R,I),X[0]&8388608&&(B.disabled=E[23]),X[0]&8&&F!==(F="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+E[3]))&&h(t,"class",F)},d(E){E&&S(t),We(C,E),w&&w.d(),x&&x.d(),A&&A.d(),T&&T.d(),N=!1,Ee(M)}}}function Ks(e){let t;return{c(){t=L("p"),t.textContent="500 Server error"},m(i,n){P(i,t,n)},p:fe,d(i){i&&S(t)}}}function Ys(e){let t,i,n,o,r,a,l=be(Array(3)),c=[];for(let u=0;u<l.length;u+=1)c[u]=ll(Bs(e,l,u));return{c(){t=L("div"),i=L("div"),n=L("div"),n.innerHTML='<ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton>',o=O();for(let u=0;u<c.length;u+=1)c[u].c();r=O(),a=L("div"),a.innerHTML='<div class="skletonHeader"><ui-skeleton width="auto" height="15px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeletonPeriod"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skletonHeader"><ui-skeleton width="auto" height="15px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeletonInputAmount"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeletonButton"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div>',h(n,"class","skeletonLimitText"),h(i,"class","skeletonLimitWrapper"),h(a,"class","skeletonInputWrapper"),h(t,"class","skeletonLimitContainer")},m(u,d){P(u,t,d),p(t,i),p(i,n),p(i,o);for(let f=0;f<c.length;f+=1)c[f]&&c[f].m(i,null);p(t,r),p(t,a)},p:fe,d(u){u&&S(t),We(c,u)}}}function Zs(e){let t,i,n,o=e[28]("noLimitText")+"",r;return{c(){t=L("div"),i=L("div"),n=L("div"),r=j(o),h(n,"class","LimitDetailsTextWrapper"),h(i,"class","LimitDetailsWrapper"),h(t,"class","LimitDetails")},m(a,l){P(a,t,l),p(t,i),p(i,n),p(n,r)},p(a,l){l[0]&268435456&&o!==(o=a[28]("noLimitText")+"")&&U(r,o)},d(a){a&&S(t)}}}function $s(e){let t,i,n,o=e[28]("lugasPrivacy")+"",r;return{c(){t=L("div"),i=L("div"),n=L("div"),r=j(o),h(n,"class","LimitDetailsTextWrapper"),h(i,"class","LimitDetailsWrapper"),h(t,"class","LimitDetails")},m(a,l){P(a,t,l),p(t,i),p(i,n),p(n,r)},p(a,l){l[0]&268435456&&o!==(o=a[28]("lugasPrivacy")+"")&&U(r,o)},d(a){a&&S(t)}}}function Js(e){let t,i=be(e[139].currentLimits),n=[];for(let o=0;o<i.length;o+=1)n[o]=mn(nn(e,i,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();t=ui()},m(o,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(o,r);P(o,t,r)},p(o,r){if(r[0]&939524164|r[1]&738){i=be(o[139].currentLimits);let a;for(a=0;a<i.length;a+=1){const l=nn(o,i,a);n[a]?n[a].p(l,r):(n[a]=mn(l),n[a].c(),n[a].m(t.parentNode,t))}for(;a<n.length;a+=1)n[a].d(1);n.length=i.length}},d(o){o&&S(t),We(n,o)}}}function Qs(e){let t,i,n,o=e[28]("lugasPrivacy")+"",r;return{c(){t=L("div"),i=L("div"),n=L("div"),r=j(o),h(n,"class","LimitDetailsTextWrapper"),h(i,"class","LimitDetailsWrapper"),h(t,"class","LimitDetails")},m(a,l){P(a,t,l),p(t,i),p(i,n),p(n,r)},p(a,l){l[0]&268435456&&o!==(o=a[28]("lugasPrivacy")+"")&&U(r,o)},d(a){a&&S(t)}}}function el(e){let t,i=`${e[40](e[144])}`,n;return{c(){t=L("span"),n=j(i)},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&64&&i!==(i=`${o[40](o[144])}`)&&U(n,i)},d(o){o&&S(t)}}}function tl(e){let t,i=`${e[40](e[144],!0)}`,n;return{c(){t=L("span"),n=j(i)},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&64&&i!==(i=`${o[40](o[144],!0)}`)&&U(n,i)},d(o){o&&S(t)}}}function ln(e){let t,i,n=`${e[40](e[144],!1,!0)}`,o,r,a=`${e[144].period!=="None"||e[144].value!=="cumulativeSession"?" ":e[28]("per")} ${e[28](`${e[144].period}`)} ${e[28]("updateAfterDocApproval")}`,l;return{c(){t=L("div"),i=L("span"),o=j(n),r=O(),l=j(a),h(t,"class","PendingLimit")},m(c,u){P(c,t,u),p(t,i),p(i,o),p(t,r),p(t,l)},p(c,u){u[0]&64&&n!==(n=`${c[40](c[144],!1,!0)}`)&&U(o,n),u[0]&268435520&&a!==(a=`${c[144].period!=="None"||c[144].value!=="cumulativeSession"?" ":c[28]("per")} ${c[28](`${c[144].period}`)} ${c[28]("updateAfterDocApproval")}`)&&U(l,a)},d(c){c&&S(t)}}}function il(e){let t,i,n=`${e[40](e[144],!0)}`,o,r;function a(u,d){return u[144].isCoolOffCompleted?sl:al}let l=a(e),c=l(e);return{c(){t=L("div"),i=L("span"),o=j(n),r=O(),c.c(),h(t,"class","PendingLimit")},m(u,d){P(u,t,d),p(t,i),p(i,o),p(t,r),c.m(t,null)},p(u,d){d[0]&64&&n!==(n=`${u[40](u[144],!0)}`)&&U(o,n),l===(l=a(u))&&c?c.p(u,d):(c.d(1),c=l(u),c&&(c.c(),c.m(t,null)))},d(u){u&&S(t),c.d()}}}function nl(e){let t,i=`${e[28]("removedLimitText")} ${e[144].expiryDate}`,n;return{c(){t=L("div"),n=j(i),h(t,"class","PendingLimit")},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&268435520&&i!==(i=`${o[28]("removedLimitText")} ${o[144].expiryDate}`)&&U(n,i)},d(o){o&&S(t)}}}function ol(e){let t,i=`${e[28]("removeAfterConfirm")}`,n;return{c(){t=L("div"),n=j(i),h(t,"class","PendingLimit")},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&268435456&&i!==(i=`${o[28]("removeAfterConfirm")}`)&&U(n,i)},d(o){o&&S(t)}}}function rl(e){let t,i=`${e[28]("acknowledgedLimit")}`,n;return{c(){t=L("div"),n=j(i),h(t,"class","PendingLimit")},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&268435456&&i!==(i=`${o[28]("acknowledgedLimit")}`)&&U(n,i)},d(o){o&&S(t)}}}function al(e){let t=`${e[144].period!=="None"||e[144].value!=="cumulativeSession"?" ":e[28]("per")} ${e[28](`${e[144].period}`)} ${e[28]("updateText")} ${e[144].expiryDate}`,i;return{c(){i=j(t)},m(n,o){P(n,i,o)},p(n,o){o[0]&268435520&&t!==(t=`${n[144].period!=="None"||n[144].value!=="cumulativeSession"?" ":n[28]("per")} ${n[28](`${n[144].period}`)} ${n[28]("updateText")} ${n[144].expiryDate}`)&&U(i,t)},d(n){n&&S(i)}}}function sl(e){let t=`${e[144].period!=="None"||e[144].value!=="cumulativeSession"?" ":e[28]("per")} ${e[28](`${e[144].period}`)} ${e[28]("updateAfterConfirm")}`,i;return{c(){i=j(t)},m(n,o){P(n,i,o)},p(n,o){o[0]&268435520&&t!==(t=`${n[144].period!=="None"||n[144].value!=="cumulativeSession"?" ":n[28]("per")} ${n[28](`${n[144].period}`)} ${n[28]("updateAfterConfirm")}`)&&U(i,t)},d(n){n&&S(i)}}}function un(e){let t,i,n=e[27][e[144].scheduleId].timer+"",o,r,a,l;return{c(){t=L("div"),i=L("button"),o=j(n),h(i,"class",r="ReloadLimitButton "+(e[29]?"":"Mobile")+" "+(e[27][e[144].scheduleId].timerStopped?"":"disabled")),h(t,"class","ContainerLimitActions "+(e[29]?"":"Mobile"))},m(c,u){P(c,t,u),p(t,i),p(i,o),a||(l=le(i,"click",e[62]),a=!0)},p(c,u){u[0]&134217792&&n!==(n=c[27][c[144].scheduleId].timer+"")&&U(o,n),u[0]&134217792&&r!==(r="ReloadLimitButton "+(c[29]?"":"Mobile")+" "+(c[27][c[144].scheduleId].timerStopped?"":"disabled"))&&h(i,"class",r)},d(c){c&&S(t),a=!1,l()}}}function cn(e){let t,i,n=e[28]("removeLimit")+"",o,r,a;function l(){return e[63](e[144])}return{c(){t=L("div"),i=L("button"),o=j(n),h(i,"class","RemoveLimitButton "+(e[29]?"":"Mobile")),h(t,"class","ContainerLimitActions "+(e[29]?"":"Mobile"))},m(c,u){P(c,t,u),p(t,i),p(i,o),r||(a=le(i,"click",l),r=!0)},p(c,u){e=c,u[0]&268435456&&n!==(n=e[28]("removeLimit")+"")&&U(o,n)},d(c){c&&S(t),r=!1,a()}}}function dn(e){let t,i,n=e[28]("confirmUpdateLimit")+"",o,r,a,l=e[28]("cancelUpdateLimit")+"",c,u,d;function f(){return e[64](e[144])}function y(){return e[65](e[144])}return{c(){t=L("div"),i=L("button"),o=j(n),r=O(),a=L("button"),c=j(l),h(i,"class","ConfirmLimitButton "+(e[29]?"":"Mobile")),h(a,"class","CancelLimitButton "+(e[29]?"":"Mobile")),h(t,"class","ContainerLimitActions "+(e[29]?"":"Mobile"))},m(v,k){P(v,t,k),p(t,i),p(i,o),p(t,r),p(t,a),p(a,c),u||(d=[le(i,"click",f),le(a,"click",y)],u=!0)},p(v,k){e=v,k[0]&268435456&&n!==(n=e[28]("confirmUpdateLimit")+"")&&U(o,n),k[0]&268435456&&l!==(l=e[28]("cancelUpdateLimit")+"")&&U(c,l)},d(v){v&&S(t),u=!1,Ee(d)}}}function mn(e){let t,i,n,o,r,a=`${e[144].period!=="None"||e[144].value!=="cumulativeSession"?" ":e[28]("per")} ${e[28](`${e[144].period}`)}`,l,c,u,d,f,y=!e[144].isModified&&e[2].indexOf(e[139].value)>-1&&!e[144].reviewPending.id,v,k;function D(w,x){return w[144].acknowledgedLimit?tl:el}let K=D(e),B=K(e),I=e[144].reviewPending&&e[144].reviewPending.id&&ln(e);function R(w,x){if(w[144].acknowledgedLimit)return rl;if(w[144].isModified&&w[144].updateAmount==0&&w[144].isCoolOffCompleted)return ol;if(w[144].isModified&&w[144].updateAmount==0&&!w[144].isCoolOffCompleted)return nl;if(w[144].isModified)return il}let F=R(e),N=F&&F(e),M=e[144].acknowledgedLimit&&!e[144].reviewPending.id&&un(e),H=y&&cn(e),C=e[144].isCoolOffCompleted&!e[144].acknowledgedLimit&&!e[144].reviewPending.id&&dn(e);return{c(){t=L("div"),i=L("div"),n=L("div"),o=L("div"),B.c(),r=O(),l=j(a),c=O(),I&&I.c(),u=O(),N&&N.c(),d=O(),M&&M.c(),f=O(),H&&H.c(),v=O(),C&&C.c(),k=O(),h(o,"class","CurrentLimit"),h(n,"class","CurrentLimitContainer"),h(i,"class","LimitDetailsTextWrapper"),h(t,"class","LimitDetails")},m(w,x){P(w,t,x),p(t,i),p(i,n),p(n,o),B.m(o,null),p(o,r),p(o,l),p(n,c),I&&I.m(n,null),p(n,u),N&&N.m(n,null),p(i,d),M&&M.m(i,null),p(i,f),H&&H.m(i,null),p(i,v),C&&C.m(i,null),p(t,k)},p(w,x){K===(K=D(w))&&B?B.p(w,x):(B.d(1),B=K(w),B&&(B.c(),B.m(o,r))),x[0]&268435520&&a!==(a=`${w[144].period!=="None"||w[144].value!=="cumulativeSession"?" ":w[28]("per")} ${w[28](`${w[144].period}`)}`)&&U(l,a),w[144].reviewPending&&w[144].reviewPending.id?I?I.p(w,x):(I=ln(w),I.c(),I.m(n,u)):I&&(I.d(1),I=null),F===(F=R(w))&&N?N.p(w,x):(N&&N.d(1),N=F&&F(w),N&&(N.c(),N.m(n,null))),w[144].acknowledgedLimit&&!w[144].reviewPending.id?M?M.p(w,x):(M=un(w),M.c(),M.m(i,f)):M&&(M.d(1),M=null),x[0]&68&&(y=!w[144].isModified&&w[2].indexOf(w[139].value)>-1&&!w[144].reviewPending.id),y?H?H.p(w,x):(H=cn(w),H.c(),H.m(i,v)):H&&(H.d(1),H=null),w[144].isCoolOffCompleted&!w[144].acknowledgedLimit&&!w[144].reviewPending.id?C?C.p(w,x):(C=dn(w),C.c(),C.m(i,null)):C&&(C.d(1),C=null)},d(w){w&&S(t),B.d(),I&&I.d(),N&&N.d(),M&&M.d(),H&&H.d(),C&&C.d()}}}function pn(e){let t,i,n=e[39](e[139])+"",o,r,a;function l(d,f){var y;return d[139].value==="lugas"?Qs:((y=d[139].currentLimits)==null?void 0:y.length)>0?Js:d[139].value==="lugas"?$s:Zs}let c=l(e),u=c(e);return{c(){t=L("div"),i=L("p"),o=j(n),r=O(),u.c(),a=O(),h(i,"class","LimitTitle"),h(t,"class","LimitWrapper "+(e[29]?"Desktop":""))},m(d,f){P(d,t,f),p(t,i),p(i,o),p(t,r),u.m(t,null),p(t,a)},p(d,f){f[0]&64&&n!==(n=d[39](d[139])+"")&&U(o,n),c===(c=l(d))&&u?u.p(d,f):(u.d(1),u=c(d),u&&(u.c(),u.m(t,a)))},d(d){d&&S(t),u.d()}}}function fn(e){let t,i,n=e[28]("complianceText")+"",o;return{c(){t=L("div"),i=L("p"),o=j(n),h(i,"class","LimitComplianceText"),h(t,"class","LimitCompliance")},m(r,a){P(r,t,a),p(t,i),p(i,o)},p(r,a){a[0]&268435456&&n!==(n=r[28]("complianceText")+"")&&U(o,n)},d(r){r&&S(t)}}}function hn(e){let t,i,n=e[28]("limitType")+"",o,r,a,l,c,u=be(e[6]),d=[];for(let f=0;f<u.length;f+=1)d[f]=gn(en(e,u,f));return{c(){t=L("label"),i=L("span"),o=j(n),r=O(),a=L("select");for(let f=0;f<d.length;f+=1)d[f].c();h(i,"class","LimitSelectText"),h(a,"name",""),h(a,"id",""),e[9]===void 0&&lt(()=>e[66].call(a)),h(t,"class","LimitTypeDropdownWrapper")},m(f,y){P(f,t,y),p(t,i),p(i,o),p(t,r),p(t,a);for(let v=0;v<d.length;v+=1)d[v]&&d[v].m(a,null);Lt(a,e[9],!0),l||(c=[le(a,"change",e[66]),le(a,"change",e[67])],l=!0)},p(f,y){if(y[0]&268435456&&n!==(n=f[28]("limitType")+"")&&U(o,n),y[0]&64|y[1]&256){u=be(f[6]);let v;for(v=0;v<u.length;v+=1){const k=en(f,u,v);d[v]?d[v].p(k,y):(d[v]=gn(k),d[v].c(),d[v].m(a,null))}for(;v<d.length;v+=1)d[v].d(1);d.length=u.length}y[0]&512&&Lt(a,f[9])},d(f){f&&S(t),We(d,f),l=!1,Ee(c)}}}function gn(e){let t,i=e[39](e[139])+"",n;return{c(){t=L("option"),n=j(i),t.__value=e[141],at(t,t.__value)},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&64&&i!==(i=o[39](o[139])+"")&&U(n,i)},d(o){o&&S(t)}}}function yn(e){let t,i,n=e[28]("period")+"",o,r,a,l,c,u=be(e[5][e[7]].periods),d=[];for(let f=0;f<u.length;f+=1)d[f]=vn(Qi(e,u,f));return{c(){t=L("label"),i=L("span"),o=j(n),r=O(),a=L("select");for(let f=0;f<d.length;f+=1)d[f].c();h(i,"class","PeriodSelectText"),h(a,"name",""),h(a,"id",""),e[8]===void 0&&lt(()=>e[68].call(a)),h(t,"class","LimitPeriodDropdownWrapper")},m(f,y){P(f,t,y),p(t,i),p(i,o),p(t,r),p(t,a);for(let v=0;v<d.length;v+=1)d[v]&&d[v].m(a,null);Lt(a,e[8],!0),l||(c=le(a,"change",e[68]),l=!0)},p(f,y){if(y[0]&268435456&&n!==(n=f[28]("period")+"")&&U(o,n),y[0]&268435616){u=be(f[5][f[7]].periods);let v;for(v=0;v<u.length;v+=1){const k=Qi(f,u,v);d[v]?d[v].p(k,y):(d[v]=vn(k),d[v].c(),d[v].m(a,null))}for(;v<d.length;v+=1)d[v].d(1);d.length=u.length}y[0]&416&&Lt(a,f[8])},d(f){f&&S(t),We(d,f),l=!1,c()}}}function vn(e){let t,i=e[28](e[136])+"",n,o;return{c(){t=L("option"),n=j(i),t.__value=o=e[136],at(t,t.__value),t.selected=!0},m(r,a){P(r,t,a),p(t,n)},p(r,a){a[0]&268435616&&i!==(i=r[28](r[136])+"")&&U(n,i),a[0]&160&&o!==(o=r[136])&&(t.__value=o,at(t,t.__value))},d(r){r&&S(t)}}}function bn(e){let t,i=e[10]===null?`${e[28]("invalidInputMessage")}`:e[10]<e[11]?`${e[28]("invalidInputMessageLimitMin",{values:{minValue:e[11],currency:e[0]}})}`:`${e[28]("invalidInputMessageLimitMax",{values:{maxValue:e[12],currency:e[0]}})}`,n;return{c(){t=L("p"),n=j(i),h(t,"class","InvalidInput")},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&268442625&&i!==(i=o[10]===null?`${o[28]("invalidInputMessage")}`:o[10]<o[11]?`${o[28]("invalidInputMessageLimitMin",{values:{minValue:o[11],currency:o[0]}})}`:`${o[28]("invalidInputMessageLimitMax",{values:{maxValue:o[12],currency:o[0]}})}`)&&U(n,i)},d(o){o&&S(t)}}}function ll(e){let t;return{c(){t=L("div"),t.innerHTML='<div class="skeletonLimitAmount"><div class="skeletonAmountText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonSubText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div></div> <div class="skeletonLimitButton"><div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div> ',h(t,"class","skeletonLimitContent")},m(i,n){P(i,t,n)},p:fe,d(i){i&&S(t)}}}function ul(e){let t,i,n=e[18]&&rn(e);function o(l,c){if(l[15])return Ys;if(l[16])return Ks;if(!l[15])return Xs}let r=o(e),a=r&&r(e);return{c(){t=L("div"),n&&n.c(),i=O(),a&&a.c()},m(l,c){P(l,t,c),n&&n.m(t,null),p(t,i),a&&a.m(t,null),e[70](t)},p(l,c){l[18]?n?n.p(l,c):(n=rn(l),n.c(),n.m(t,i)):n&&(n.d(1),n=null),r===(r=o(l))&&a?a.p(l,c):(a&&a.d(1),a=r&&r(l),a&&(a.c(),a.m(t,null)))},i:fe,o:fe,d(l){l&&S(t),n&&n.d(),a&&a.d(),e[70](null)}}}function cl(e,t,i){let n;or(e,ms,s=>i(28,n=s));let{lang:o="en"}=t,{currency:r=""}=t,{limits:a=""}=t,{session:l=""}=t,{userid:c=""}=t,{endpoint:u=""}=t,{apiversion:d=""}=t,{customcurrencysymbols:f=""}=t,{enablecompliancetext:y=""}=t,{deletelimit:v=""}=t,{amountsconfig:k=""}=t,{periodsconfig:D=""}=t,{limittabindex:K=""}=t,{limitformat:B=""}=t,{allowedextenssion:I=".jpg,.jpeg,.png,.pdf,.webp,image/png"}=t,{filesizeallow:R="12934000"}=t,{clientstyling:F=""}=t,{clientstylingurl:N=""}=t,{mbsource:M}=t,{translationurl:H=""}=t,C,w=window.navigator.userAgent,x=!Ps(w),A=[],T="",E="",X="",Z=0,G,Le="",xe="",De="",de={},ne={},oe=!1,Y=!1,q=!0,ue=!1,Ct=!1,Ie=!1,ge=!1,he="",Ye="",ce=[],Ze,mi,$e=!1,io={},Se="",Me,pt={remove:{}},Pe=!1,Je=!1,je={EUR:"€",RON:" lei",USD:"$"},re={};const Dt={wager:"wagering",loss:"loss",deposit:"deposit",netdeposit:"netdeposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"},pi={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]},no=()=>{fetch(H).then(m=>m.json()).then(m=>{Object.keys(m).forEach(g=>{Wi(g,m[g])})}).catch(m=>{console.log(m)})};Object.keys(Te).forEach(s=>{Wi(s,Te[s])});const Mt=s=>`dataLayer-${s}`,ae=(s,m)=>{typeof gtag=="function"&&gtag({event:s,limit_category:Te[o][Mt(X.toLowerCase())]||X,limit_type:Te[o][Mt(T.toLowerCase())]||T,limit_period:Te[o][Mt(E.toLowerCase())]||E,limit_amount:G||m})},oo=()=>{var b;const s=k.split(",").map(_=>_.split(":")),m=D.split(",").map(_=>_.split(":"));for(let[_,z]of s.entries())if(z[0]!==m[_][0])throw new Error(`Limit config mismatch: "${z[0]}" does not match "${m[_][0]}"`);const g=s.reduce((_,z,Q)=>{const se=z[0].slice(z[0].indexOf("(")+1,z[0].indexOf(")")),we=z[0].slice(0,z[0].indexOf("(")),tt=z[1],it=m[Q][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),jt={value:se,product:we,minMax:tt,periods:it,callValue:$[se].callValue,callValue16:$[se].callValue16,title:$[se].title};return _.push(jt),_},[]);for(let _=0;_<g.length;_++)i(6,A[_].product=g[_].product,A),i(6,A[_].min=parseInt(g[_].minMax.split("-")[0],10),A),i(6,A[_].max=parseInt(g[_].minMax.split("-")[1],10),A),i(5,$[g[_].value].periods=g[_].periods,$);De=(b=A[0])==null?void 0:b.value,A.forEach(_=>{de[_.value]={min:_.min,max:_.max},io[_.value]=_.product}),de&&(de[De]?(i(11,Le=de[De].min),i(12,xe=de[De].max)):(i(11,Le=1),i(12,xe=9999999)))},ro=()=>{const s=/\(([^)]+)\)/g;return[...k.matchAll(s)].flat().filter(g=>!g.includes("("))},ao=()=>{ro().forEach(m=>{$[m]?A.push(nt({},$[m])):console.error(`Unknown limit: ${m}`)}),oo(),i(7,T=A[0].value),i(8,E=$[T].periods[0]),X=A[0].product,i(13,oe=A.length>1),i(14,Y=$[T].periods.length>1)},fi=()=>{i(7,T=A[Z].value),i(8,E=$[T].periods[0]),i(14,Y=$[T].periods.length>1)},hi=()=>{X=A[Z].product},me=s=>{if(s.status>=300)so(s);else return i(17,Ct=!1),s.status!==204?s.json():s},so=s=>{i(16,ue=!0);let m;throw s.json().then(g=>{for(const b in pi)if(g.error&&pi[b].some(_=>g.error.includes(_))){m=b;break}console.error("errType",m),!m&&et(g)}).finally(()=>{m&&et(m),i(16,ue=!1),i(15,q=!1)}),new Error("An error occured during the fetch request")},lo=()=>{if(!(G>0))return;_e(),i(15,q=!0);let s=new URL(`/v2/player/${c}/limits`,u),m={};T==="sessionLimit"?m={sessionLimit:G,sessionLimitUnit:"minute"}:T==="cumulativeSession"?m[$[T].callValue]=[{period:E,minutes:G}]:m[$[T].callValue]=[{period:$[T].periods[0]==="None"?null:E,amount:G,currency:r}];let g={method:"PUT",headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(m)};fetch(s.href,g).then(b=>me(b)).then(b=>{ae("self_limitation_success"),ye()}).catch(b=>{console.error(b),i(16,ue=!0)})},gi=()=>{const m=A[Z].currentLimits.find(we=>we.period===E),g=wo();if(g&&g.reviewPending&&g.reviewPending.id)return window.postMessage({type:"WidgetNotification",data:{type:"error",message:n("limitInDocReview")}},window.location.href);if(_e(),i(15,q=!0),g&&g.reviewRequired&&!Se&&G>g.amount){i(26,Je=!0),i(19,ge=!0);return}const b=m?"v2":"v1",_=new URL(`/${b}/player/${c}/limits/monetary/${m?m.id:""}`,u),z=m?"PUT":"POST",Q=m?Se?{amount:G,skipCoolOff:!1,payload:{DocumentId:Se}}:{amount:G,skipCoolOff:!1}:{amount:G,currency:r,period:$[T].periods[0]==="None"?null:E,type:$[T].callValue16,products:[X!=null?X:"All"],walletTypes:["Deposit","NetDeposit"].includes($[T].callValue16)?["All"]:["RealCash"]};let se={method:z,headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(Q)};fetch(_.href,se).then(we=>me(we)).then(we=>{ae("self_limitation_success"),ye()}).catch(we=>{console.log(we)}).finally(()=>{i(26,Je=!1),Se=""})},uo=()=>{if(!(G>0))return;_e(),i(15,q=!0);const s=new URL(`/v1/player/${c}/limits/session/`,u);let b={method:"PUT",headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({sessionLimit:G,sessionLimitUnit:"minute"})};fetch(s.href,b).then(_=>me(_)).then(_=>{ae("self_limitation_success"),ye()}).catch(_=>{console.log(_),i(16,ue=!0)})},co=()=>{if(!(G>0))return;_e(),i(15,q=!0);const s=new URL(`/v1/player/${c}/limits/session/`,u);let b={method:"PUT",headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({cumulativeSessionLimits:[{period:E,minutes:G}]})};fetch(s.href,b).then(_=>me(_)).then(_=>{ae("self_limitation_success"),ye()}).catch(_=>{console.log(_),i(16,ue=!0)})},mo=()=>{if(!(G>0))return;_e(),i(15,q=!0);const s=new URL(`/v2/player/${c}/limit/lugas`,u);let b={method:"POST",headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({amount:G,roleLimitAmount:0,softMigration:!1,keepLimit:!1})};fetch(s.href,b).then(_=>me(_)).then(_=>{i(22,Ze=_.popup),_.operatorDepositLimitAmount,mi=_.regulatorDepositLimitAmount,ae("self_limitation_success"),ye()}).catch(_=>{console.log(_),i(16,ue=!0)})},po=()=>{if(ne={},d==="gm16")switch(T){case"lugas":mo();break;case"sessionLimit":uo();break;case"cumulativeSession":co();break;default:gi();break}else if(d==="gmcore")lo();else throw Error(`Invalid apiversion attribute: ${d}`);ae("self_limitation_request")},ye=()=>{switch(d){case"gmcore":fo();break;case"gm16":ho();break}},fo=()=>{i(15,q=!0);let s=new URL(`/v2/player/${c}/limits`,u),m={method:"GET",headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,m).then(g=>me(g)).then(g=>{ce=g,Ie&&et(),yi(ce),go(ce),i(10,G=null)}).catch(g=>{console.error("Error LimitsWidget: ",g),i(16,ue=!0)}).finally(()=>{i(15,q=!1)})},ho=()=>{i(15,q=!0),ce=[];let s=new URL(`/v1/player/${c}/limits/monetary`,u),m=new URL(`/v1/player/${c}/limits/session`,u),g=!1,b={method:"GET",headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,b).then(_=>me(_)).then(_=>{ce.push(_),d==="gm16"?yo(_):d==="gmcore"&&yi([_]),Ie&&et(),i(10,G=null)}).catch(_=>{console.error("Error LimitsWidget: ",_),i(16,ue=!0)}).finally(()=>{g&&i(15,q=!1),g=!0}),fetch(m.href,b).then(_=>me(_)).then(_=>{ce.push(_),d==="gm16"&&(vo(_),bo(_)),Ie&&et(),i(10,G=null)}).catch(_=>{console.error("Error LimitsWidget: ",_),i(16,ue=!0)}).finally(()=>{g&&i(15,q=!1),g=!0})},yi=s=>{A.forEach(m=>{m.currentLimits=[];const g=Array.isArray(s[$[m.value].callValue])?s[$[m.value].callValue]:[s[$[m.value].callValue]];g.length===0||g[0]===void 0||(g.forEach((b,_)=>{var Q;const z=s[$[m.value].callValue][_];m.currentLimits.push({}),m.currentLimits[_].limitType=m.value,m.currentLimits[_].amount=B?z.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(z.amount),m.currentLimits[_].currency=(Q=je[z.currency])!=null?Q:z.currency,m.currentLimits[_].period=z.period,m.currentLimits[_].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(z.updateAmount),m.currentLimits[_].isModified=z.isModified,m.currentLimits[_].expiryDate=`${new Date(z.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`}),m.currentLimits=Qe(m.currentLimits))})},go=s=>{const m=n("minutes");A.filter(g=>g.value==="sessionLimit"||g.value==="cumulativeSession").forEach(g=>{var b;g.currentLimits=[],(b=s[$[g.value].callValue])==null||b.forEach((_,z)=>{const Q=s[$[g.value].callValue][z];g.currentLimits.push({limitType:g.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(Q.minutes),currency:m,isModified:Q.isModified,period:g.value==="cumulativeSession"?Q.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(Q.updateMinutes),expiryDate:`${new Date(Q.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})}),g.currentLimits=Qe(g.currentLimits)})},yo=s=>{s!=null&&s.limits&&A.forEach(m=>{var g;m.currentLimits=[];for(const b of s.limits)if(b.type===m.callValue16&&b.products.includes(m.product)){let _=0,z=b.schedules.length>0?b.schedules.find(Q=>Q.id):{};b.schedules.length>0&&(_=B?z.updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(z.updateAmount)),m.currentLimits.push({limitType:m.value,amount:B?b.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(b.amount),currency:(g=je[b.currency])!=null?g:b.currency,isModified:b.schedules.length>0,period:b.period,product:b.products[0],updateAmount:_,isCoolOffCompleted:z?z.isCoolOffCompleted:!1,reviewRequired:b.reviewRequired?b.reviewRequired:!1,reviewPending:b.reviewPending?b.reviewPending:{},scheduleId:z?z.id:null,expiryDate:b.schedules.length>0?`${new Date(b.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"",id:b.id}),m.currentLimits.forEach(Q=>{Q.acknowledgedLimit=Object.keys(re).some(se=>Q.scheduleId===se)})}m.currentLimits=Qe(m.currentLimits)})},vo=s=>{s!=null&&s.sessionLimit&&A.filter(m=>m.value==="sessionLimit").forEach(m=>{m.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.minutes),currency:n("minutes"),isModified:s.sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.updateMinutes),expiryDate:s.sessionLimit.expiryDate}),m.currentLimits=Qe(m.currentLimits)})},bo=s=>{s!=null&&s.cumulativeSessionLimits&&A.filter(m=>m.value==="cumulativeSession").forEach(m=>{for(const g of s.cumulativeSessionLimits)m.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(g.minutes),currency:n("minutes"),isModified:g.isModified,period:g.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(g.updateMinutes),expiryDate:g.expiryDate});m.currentLimits=Qe(m.currentLimits)})},Qe=s=>{const m={Daily:0,Weekly:1,Monthly:2};return s.sort((g,b)=>m[g.period]-m[b.period]),s},vi=()=>{if(G===null||Number.isNaN(G)){i(23,$e=!0);return}const m=!Number.isInteger(G)?Math.round(G):G;i(10,G=m),i(23,$e=m<Le||m>xe)},Lo=s=>{s.preventDefault(),vi(),$e||po()},bi=()=>{i(23,$e=!1),de!=null&&de[T]?(i(11,Le=de[T].min),i(12,xe=de[T].max)):(i(11,Le=1),i(12,xe=9999999))},_o=()=>{if(ce){const s=ce[$[T].callValue].find(b=>b.period===E),m=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.amount);let g=n("popupImmediateUpdate").replace("{selectedLimit}",Bt(s)).replace("{updatedAmount}",m).replace("{currency}",je[s.currency]||s.currency).replace("{selectedPeriod}",n(`${E}`));i(20,he=s.isModified?`${n("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:g)}i(19,ge=!0)},wo=()=>{var g;if(!ce)return;const s=((g=ce[0])==null?void 0:g.limits)||ce.limits;let m=null;return Object.keys(ne).length>0?m=s.find(b=>b.id===ne.id):m=s.find(b=>b.type.toLowerCase()===Dt[T].toLowerCase()&&(b.period===E||b.period==="None")&&b.products[0]===X),(m==null?void 0:m.schedules.length)>0&&re[m==null?void 0:m.schedules[0].id]&&(m.amount=m.schedules[0].updateAmount),m},ko=()=>{var z;const s=((z=ce[0])==null?void 0:z.limits)||ce.limits;let m=null;if(!ce){i(19,ge=!0);return}Object.keys(ne).length>0?m=s.find(Q=>Q.id===ne.id):m=s.find(Q=>Q.type.toLowerCase()===Dt[T].toLowerCase()&&(Q.period===E||Q.period==="None")&&Q.products[0]===X),(m==null?void 0:m.schedules.length)>0&&re[m==null?void 0:m.schedules[0].id]&&(m.amount=m.schedules[0].updateAmount);const g=Ei(m)||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(m.amount),b=m.schedules.length>0?`${new Date(m.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"";let _=n("popupImmediateUpdate").replace("{selectedLimit}",Bt(m)).replace("{updatedAmount}",g).replace("{selectedPeriod}",n(`${m.period}`));m.schedules.length>0&&re[m.schedules[0].id]?i(20,he=_):i(20,he=m.schedules.length>0?`${n("popupPendingUpdate")} ${b}`:_),i(19,ge=!0)},Eo=()=>{Ze==1&&i(21,Ye="PopupKyc"),Ze==2&&(i(20,he=`${n("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(mi)} ${r} ${n("popup2_b")}`),i(21,Ye="PopupKyc2")),Ze==3&&(i(20,he=n("popup3")),i(21,Ye="PopupSuccess")),i(19,ge=!0)},xo=()=>{i(20,he=n("sessionLimitUpdated")),i(19,ge=!0)},So=()=>{if(ce){const s=ce[$[T].callValue].find(b=>(b.period===E||E==="None")&&b.products[0]===X),m=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.minutes);let g=n("popupImmediateUpdate").replace("{selectedLimit}",n(`${T}`)).replace("{updatedAmount}",m).replace("{currency}",n("minutes")).replace("{selectedPeriod}",n(`${E}`));i(20,he=s.isModified?`${n("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:g)}i(19,ge=!0)},Ao=s=>{var m;return(m=s==null?void 0:s.error)==null?void 0:m.includes("Limit update is not permitted due to LimitUpdateControl")},Po=s=>{var m;return(m=s==null?void 0:s.error)==null?void 0:m.includes("Limit remove is not permitted due to LimitUpdateControl")},To=s=>{var m;return(m=s==null?void 0:s.error)==null?void 0:m.includes("[NotFoundException] Limit does not exist")},Co=s=>{var m;return(m=s==null?void 0:s.error)==null?void 0:m.includes("[Exception] Schedule does not exist")},Do=s=>{var m,g;return((m=s.details)==null?void 0:m.includes("Invalid Session"))||((g=s.error)==null?void 0:g.includes("Invalid Session"))},et=s=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),ue){if(i(17,Ct=!0),!s){i(19,ge=!0);return}Ao(s)?i(20,he=n("popupUpdateLimitException")):Po(s)?i(20,he=n("popupRemoveLimitException")):To(s)?i(20,he=n("notFoundException")):Co(s)?i(20,he=n("scheduleNotFoundException")):Do(s)?i(20,he=n("sessionExpiredException")):i(20,he=n("genericLimitsPopupError")),i(19,ge=!0);return}switch(d){case"gmcore":T==="sessionLimit"||T==="cumulativeSession"?So():_o();break;case"gm16":T==="lugas"?Eo():T==="sessionLimit"||T==="cumulativeSession"?xo():ko();break;default:throw new Error(`Invalid apiversion attribute: ${d}`)}},_e=()=>{i(18,Ie=!0),window.postMessage({type:"DisableScroll"},window.location.href)},Mo=s=>{i(7,T=s.limitType),i(8,E=s.period),_e(),i(15,q=!0);let m=new URL(`/v2/player/${c}/limits/${Dt[s.limitType]}`,u);s.limitType!=="sessionLimit"&&m.searchParams.append("periods",s.period);let g={method:"DELETE",headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"}};fetch(m.href,g).then(b=>me(b)).then(b=>{ae("self_limitation_cancel_success",s.amount),ye()}).catch(b=>{ae("self_limitation_cancel_failed",s.amount),console.log(b),i(16,ue=!0)})},Li=s=>{switch(s.period,pt.remove=s,d){case"gmcore":Mo(s);break;case"gm16":ne=s,s.limitType==="sessionLimit"||s.limitType==="cumulativeSession"?Bo(s):_i(s);break}ae("self_limitation_cancel_request",s.amount)},Bo=s=>{const m=new URL(`/v1/player/${c}/limits/session/session`,u),g=new URL(`/v1/player/${c}/limits/session/cumulativeSession?periods=${s.period}`,u);let b;switch(s.limitType){case"sessionLimit":b=m;break;case"cumulativeSession":b=g;break;default:throw Error(`Unknown limit.limitType: ${s.limitType}`)}_e(),i(15,q=!0);let _={method:"DELETE",headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"}};fetch(b.href,_).then(z=>me(z)).then(z=>{ae("self_limitation_cancel_success",s.amount),ye()}).catch(z=>{ae("self_limitation_cancel_failed",s.amount),console.log(z),i(16,ue=!0)})},_i=s=>{if(_e(),i(15,q=!0),s&&s.reviewRequired&&!Se){i(26,Je=!0),i(19,ge=!0);return}const m=new URL(`/v1/player/${c}/limits/monetary/${s.id}`,u);let g={method:"DELETE",headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"}};Se&&m.searchParams.append("documentId",Se),fetch(m.href,g).then(b=>me(b)).then(b=>{ae("self_limitation_cancel_success",s.amount),ye()}).catch(b=>{ae("self_limitation_cancel_failed",s.amount),console.log(b),i(16,ue=!0)}).finally(()=>{pt.remove={},i(26,Je=!1),Se=""})},wi=s=>{const m=new URL(`/v1/player/${c}/limits/schedule/${s.scheduleId}`,u);_e(),i(15,q=!0);let g={method:"DELETE",headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"}};fetch(m.href,g).then(b=>me(b)).then(b=>{ne=s,ae("self_limitation_cancel_success",s.updateAmount),ye()}).catch(b=>{ae("self_limitation_cancel_failed",s.updateAmount),console.log(b),i(16,ue=!0)})},ki=s=>{const m=new URL(`v1/player/${c}/limits/schedule/acknowledge/${s.scheduleId}`,u);_e(),i(15,q=!0);let g={method:"PATCH",headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"}};fetch(m.href,g).then(b=>me(b)).then(b=>{ne=s,Io(s),ae("self_limitation_confirm_success",s.amount),ye()}).catch(b=>{ae("self_limitation_confirm_failed",s.amount),console.log(b),i(16,ue=!0)})},Io=s=>{let m=60;i(27,re[s.scheduleId]={},re),i(27,re[s.scheduleId].timer=`${m} ${Te[o].seconds}`,re),i(27,re[s.scheduleId].timerStopped=!1,re);let g=window.setInterval(()=>m===0?(window.clearInterval(g),i(27,re[s.scheduleId].timerStopped=!0,re),i(27,re[s.scheduleId].timer=Te[o].reloadLimitsButton,re)):i(27,re[s.scheduleId].timer=`${--m} ${Te[o].seconds}`,re),1e3)},Bt=s=>{let m;return s?m=s.value?n(s.value+s.product):n(s.type.toLowerCase()+s.products[0]):m=n(T),m},Ei=(s,m=!1,g=!1)=>{if(!B)return g?`${s.reviewPending.requestAmount}${s.currency}`:m?`${s.updateAmount}${s.currency}`:`${s.amount}${s.currency}`;let b=B;const _=b.match(/\{(\d+)decimals\}/),z=_?parseInt(_[1],10):2,Q=_?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let se;g?se=s.reviewPending.requestAmount||0:se=m?s.updateAmount:s.amount,se=parseInt(se).toFixed(z);const[we,tt]=B.includes(".")?[",","."]:[".",","];let[it,jt]=se.split(".");return it=it.replace(/\B(?=(\d{3})+(?!\d))/g,we),se=`${it}${tt}${jt}`,b=b.replace("{currency}",je[s.currency]||s.currency).replace("{amount}",se.split(tt)[0]).replace(Q,se.split(tt)[1]),b},It=()=>{i(19,ge=i(18,Ie=!1)),i(21,Ye=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},jo=()=>{window.postMessage({type:"uploadDocuments"},window.location.href),It()},No=s=>{let m=0;return Object.keys(s).forEach(g=>{m+=s[g].size}),m<=Number(R)},Uo=s=>{let m=!1;return Object.keys(s).forEach(g=>{const b=s[g].name.split(".").pop();return I.includes(b)?m=!0:m=!1}),m},xi=s=>!s&&!(s.length>0)?i(25,Pe=!1):(i(24,Me=s),No(Me)?Uo(Me)?i(25,Pe=!0):(console.error(n("fileExtenssionDeny")),i(25,Pe=!1)):(console.error(n("fileSizeExceeded")),i(25,Pe=!1))),zo=()=>{if(!Pe)return;i(19,ge=!1);const s=new URL(`/api/v1/mm/content/${c}/url-upload/`,u),m={method:"POST",headers:{"Content-Type":"application/json","X-SessionId":l},body:JSON.stringify({})};fetch(s,m).then(g=>me(g)).then(g=>{Oo(g)}).catch(g=>{console.error(n("errorUploadDocument"),g),i(24,Me=null),i(25,Pe=!1)})},Oo=s=>{const m=new FormData;m.append(s.requestId,Me[0]),fetch(s.url,{method:"POST",body:m}).then(g=>me(g)).then(g=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:n("uploadSuccess")}},window.location.href),Se=g.Files[0].Reference,pt.remove.id?_i(pt.remove):gi()}).catch(g=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:n("errorUploadDocument")}},window.location.href),console.error(n("errorUploadDocument"),g)}).finally(()=>{It(),i(24,Me=null),i(25,Pe=!1)})},Ho=()=>{if(!f)return;let s={};f.split(",").forEach(m=>{let g=m.split(":");s[g[0].trim()]=g[1].trim()}),je=nt(nt({},je),s)},Ro=()=>{ps(o)};dr(()=>()=>{});const Fo=s=>xi(s.target.files),Go=()=>ye(),Vo=s=>Li(s),Wo=s=>ki(s),qo=s=>wi(s);function Xo(){Z=Ci(this),i(9,Z)}const Ko=()=>{hi(),fi(),bi()};function Yo(){E=Ci(this),i(8,E),i(5,$),i(7,T)}function Zo(){G=kn(this.value),i(10,G)}function $o(s){Wt[s?"unshift":"push"](()=>{C=s,i(4,C)})}return e.$$set=s=>{"lang"in s&&i(45,o=s.lang),"currency"in s&&i(0,r=s.currency),"limits"in s&&i(46,a=s.limits),"session"in s&&i(47,l=s.session),"userid"in s&&i(48,c=s.userid),"endpoint"in s&&i(49,u=s.endpoint),"apiversion"in s&&i(50,d=s.apiversion),"customcurrencysymbols"in s&&i(51,f=s.customcurrencysymbols),"enablecompliancetext"in s&&i(1,y=s.enablecompliancetext),"deletelimit"in s&&i(2,v=s.deletelimit),"amountsconfig"in s&&i(52,k=s.amountsconfig),"periodsconfig"in s&&i(53,D=s.periodsconfig),"limittabindex"in s&&i(3,K=s.limittabindex),"limitformat"in s&&i(54,B=s.limitformat),"allowedextenssion"in s&&i(55,I=s.allowedextenssion),"filesizeallow"in s&&i(56,R=s.filesizeallow),"clientstyling"in s&&i(57,F=s.clientstyling),"clientstylingurl"in s&&i(58,N=s.clientstylingurl),"mbsource"in s&&i(59,M=s.mbsource),"translationurl"in s&&i(60,H=s.translationurl)},e.$$.update=()=>{e.$$.dirty[1]&1048576&&f&&Ho(),e.$$.dirty[1]&6291456&&D&&k&&ao(),e.$$.dirty[1]&16384&&o&&Ro(),e.$$.dirty[1]&999424&&c&&l&&u&&d&&o&&ye(),e.$$.dirty[0]&16|e.$$.dirty[1]&67108864&&F&&C&&Ts(C,F),e.$$.dirty[0]&16|e.$$.dirty[1]&134217728&&N&&C&&Cs(C,N),e.$$.dirty[0]&16|e.$$.dirty[1]&268435456&&M&&C&&Ds(C,`${M}.Style`),e.$$.dirty[1]&536870912&&H&&no()},[r,y,v,K,C,$,A,T,E,Z,G,Le,xe,oe,Y,q,ue,Ct,Ie,ge,he,Ye,Ze,$e,Me,Pe,Je,re,n,x,fi,hi,ye,vi,Lo,bi,Li,wi,ki,Bt,Ei,It,jo,xi,zo,o,a,l,c,u,d,f,k,D,B,I,R,F,N,M,H,Fo,Go,Vo,Wo,qo,Xo,Ko,Yo,Zo,$o]}class to extends kr{constructor(t){super(),_r(this,t,cl,ul,_n,{lang:45,currency:0,limits:46,session:47,userid:48,endpoint:49,apiversion:50,customcurrencysymbols:51,enablecompliancetext:1,deletelimit:2,amountsconfig:52,periodsconfig:53,limittabindex:3,limitformat:54,allowedextenssion:55,filesizeallow:56,clientstyling:57,clientstylingurl:58,mbsource:59,translationurl:60},Ms,[-1,-1,-1,-1,-1])}get lang(){return this.$$.ctx[45]}set lang(t){this.$$set({lang:t}),te()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),te()}get limits(){return this.$$.ctx[46]}set limits(t){this.$$set({limits:t}),te()}get session(){return this.$$.ctx[47]}set session(t){this.$$set({session:t}),te()}get userid(){return this.$$.ctx[48]}set userid(t){this.$$set({userid:t}),te()}get endpoint(){return this.$$.ctx[49]}set endpoint(t){this.$$set({endpoint:t}),te()}get apiversion(){return this.$$.ctx[50]}set apiversion(t){this.$$set({apiversion:t}),te()}get customcurrencysymbols(){return this.$$.ctx[51]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),te()}get enablecompliancetext(){return this.$$.ctx[1]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),te()}get deletelimit(){return this.$$.ctx[2]}set deletelimit(t){this.$$set({deletelimit:t}),te()}get amountsconfig(){return this.$$.ctx[52]}set amountsconfig(t){this.$$set({amountsconfig:t}),te()}get periodsconfig(){return this.$$.ctx[53]}set periodsconfig(t){this.$$set({periodsconfig:t}),te()}get limittabindex(){return this.$$.ctx[3]}set limittabindex(t){this.$$set({limittabindex:t}),te()}get limitformat(){return this.$$.ctx[54]}set limitformat(t){this.$$set({limitformat:t}),te()}get allowedextenssion(){return this.$$.ctx[55]}set allowedextenssion(t){this.$$set({allowedextenssion:t}),te()}get filesizeallow(){return this.$$.ctx[56]}set filesizeallow(t){this.$$set({filesizeallow:t}),te()}get clientstyling(){return this.$$.ctx[57]}set clientstyling(t){this.$$set({clientstyling:t}),te()}get clientstylingurl(){return this.$$.ctx[58]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),te()}get mbsource(){return this.$$.ctx[59]}set mbsource(t){this.$$set({mbsource:t}),te()}get translationurl(){return this.$$.ctx[60]}set translationurl(t){this.$$set({translationurl:t}),te()}}wr(to,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},apiversion:{},customcurrencysymbols:{},enablecompliancetext:{},deletelimit:{},amountsconfig:{},periodsconfig:{},limittabindex:{},limitformat:{},allowedextenssion:{},filesizeallow:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=to;
52
+ 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`),h(t,"version","1.1"),h(t,"id","Capa_1"),h(t,"xmlns","http://www.w3.org/2000/svg"),h(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),h(t,"x","0px"),h(t,"y","0px"),h(t,"viewBox","0 0 52 52"),He(t,"enable-background","new 0 0 52 52"),h(t,"xml:space","preserve")},m(G,B){P(G,t,B),p(t,i),p(i,n),p(i,o),p(t,r),p(t,a),p(t,l),p(t,c),p(t,u),p(t,d),p(t,f),p(t,y),p(t,b),p(t,k),p(t,T),p(t,K),p(t,N),p(t,C),p(t,O)},d(G){G&&A(t)}}}function Vs(e){let t,i=e[29]("popupSuccess")+"",n;return{c(){t=L("p"),n=M(i)},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&536870912&&i!==(i=o[29]("popupSuccess")+"")&&j(n,i)},d(o){o&&A(t)}}}function Ws(e){let t,i=e[29]("docsRequired")+"",n;return{c(){t=L("p"),n=M(i)},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&536870912&&i!==(i=o[29]("docsRequired")+"")&&j(n,i)},d(o){o&&A(t)}}}function qs(e){let t,i=e[29]("popupError")+"",n;return{c(){t=L("p"),n=M(i)},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&536870912&&i!==(i=o[29]("popupError")+"")&&j(n,i)},d(o){o&&A(t)}}}function Xs(e){let t,i=e[29]("okButton")+"",n,o,r;return{c(){t=L("button"),n=M(i),h(t,"class","ConfirmButton")},m(a,l){P(a,t,l),p(t,n),o||(r=ue(t,"click",e[42]),o=!0)},p(a,l){l[0]&536870912&&i!==(i=a[29]("okButton")+"")&&j(n,i)},d(a){a&&A(t),o=!1,r()}}}function Ks(e){let t,i=e[29]("uploadDocumentsButton")+"",n,o,r=e[29]("closeButton")+"",a,l,c;return{c(){t=L("button"),n=z(),o=L("button"),a=M(r),h(t,"class","ConfirmButton"),h(o,"class","CloseButton")},m(u,d){P(u,t,d),t.innerHTML=i,P(u,n,d),P(u,o,d),p(o,a),l||(c=[ue(t,"click",e[43]),ue(o,"click",e[42])],l=!0)},p(u,d){d[0]&536870912&&i!==(i=u[29]("uploadDocumentsButton")+"")&&(t.innerHTML=i),d[0]&536870912&&r!==(r=u[29]("closeButton")+"")&&j(a,r)},d(u){u&&(A(t),A(n),A(o)),l=!1,Ee(c)}}}function Ys(e){let t,i=e[29]("noFileUploaded")+"",n;return{c(){t=L("p"),n=M(i),h(t,"class","historyItem")},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&536870912&&i!==(i=o[29]("noFileUploaded")+"")&&j(n,i)},d(o){o&&A(t)}}}function Zs(e){let t,i=_e(Array.from(e[25])),n=[];for(let o=0;o<i.length;o+=1)n[o]=ln(an(e,i,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();t=di()},m(o,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(o,r);P(o,t,r)},p(o,r){if(r[0]&33554432){i=_e(Array.from(o[25]));let a;for(a=0;a<i.length;a+=1){const l=an(o,i,a);n[a]?n[a].p(l,r):(n[a]=ln(l),n[a].c(),n[a].m(t.parentNode,t))}for(;a<n.length;a+=1)n[a].d(1);n.length=i.length}},d(o){o&&A(t),qe(n,o)}}}function ln(e){let t,i=e[148].name+"",n;return{c(){t=L("p"),n=M(i),h(t,"class","historyItem")},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&33554432&&i!==(i=o[148].name+"")&&j(n,i)},d(o){o&&A(t)}}}function un(e){let t,i=e[29]("filesUploadError")+"",n;return{c(){t=L("p"),n=M(i),h(t,"class","filesError")},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&536870912&&i!==(i=o[29]("filesUploadError")+"")&&j(n,i)},d(o){o&&A(t)}}}function $s(e){let t,i,n,o,r,a,l,c,u,d,f=e[15]?`${e[29]("amount")}`:`${e[29](`new${e[9]}Limit`)}`,y,b,k,T,K,N,C,O=e[29]("setLimit")+"",G,B,D,q,H=_e(e[7]),_=[];for(let E=0;E<H.length;E+=1)_[E]=hn(on(e,H,E));let x=e[1]==="true"&&gn(e),V=e[14]&&yn(e),I=e[15]&&bn(e),S=e[24]&&_n(e);return{c(){t=L("div"),i=L("div"),n=L("div");for(let E=0;E<_.length;E+=1)_[E].c();o=z(),r=L("form"),x&&x.c(),a=z(),V&&V.c(),l=z(),I&&I.c(),c=z(),u=L("label"),d=L("span"),y=M(f),b=z(),k=L("input"),K=z(),S&&S.c(),N=z(),C=L("button"),G=M(O),h(n,"class","LimitsList "+(e[30]?"Desktop":"")),h(d,"class","LimitInputText"),h(k,"type","number"),h(k,"pattern","[0-9]*"),h(k,"step",T=e[4]==="true"?"0.01":"1"),h(u,"class","LimitAmountInputWrapper"),h(C,"class","LimitSubmitButton"),h(C,"type","submit"),C.disabled=e[24],h(r,"class","LimitsInteractionArea "+(e[30]?"Desktop":"")),h(i,"class","LimitsPageContainer"),h(t,"class",B="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+e[3]))},m(E,X){P(E,t,X),p(t,i),p(i,n);for(let Y=0;Y<_.length;Y+=1)_[Y]&&_[Y].m(n,null);p(i,o),p(i,r),x&&x.m(r,null),p(r,a),V&&V.m(r,null),p(r,l),I&&I.m(r,null),p(r,c),p(r,u),p(u,d),p(d,y),p(u,b),p(u,k),at(k,e[11]),p(u,K),S&&S.m(u,null),p(r,N),p(r,C),p(C,G),D||(q=[ue(k,"input",e[70]),ue(k,"input",e[34]),ue(r,"submit",e[35])],D=!0)},p(E,X){if(X[0]&1879048324|X[1]&1988){H=_e(E[7]);let Y;for(Y=0;Y<H.length;Y+=1){const R=on(E,H,Y);_[Y]?_[Y].p(R,X):(_[Y]=hn(R),_[Y].c(),_[Y].m(n,null))}for(;Y<_.length;Y+=1)_[Y].d(1);_.length=H.length}E[1]==="true"?x?x.p(E,X):(x=gn(E),x.c(),x.m(r,a)):x&&(x.d(1),x=null),E[14]?V?V.p(E,X):(V=yn(E),V.c(),V.m(r,l)):V&&(V.d(1),V=null),E[15]?I?I.p(E,X):(I=bn(E),I.c(),I.m(r,c)):I&&(I.d(1),I=null),X[0]&536904192&&f!==(f=E[15]?`${E[29]("amount")}`:`${E[29](`new${E[9]}Limit`)}`)&&j(y,f),X[0]&16&&T!==(T=E[4]==="true"?"0.01":"1")&&h(k,"step",T),X[0]&2048&&xn(k.value)!==E[11]&&at(k,E[11]),E[24]?S?S.p(E,X):(S=_n(E),S.c(),S.m(u,null)):S&&(S.d(1),S=null),X[0]&536870912&&O!==(O=E[29]("setLimit")+"")&&j(G,O),X[0]&16777216&&(C.disabled=E[24]),X[0]&8&&B!==(B="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+E[3]))&&h(t,"class",B)},d(E){E&&A(t),qe(_,E),x&&x.d(),V&&V.d(),I&&I.d(),S&&S.d(),D=!1,Ee(q)}}}function Js(e){let t;return{c(){t=L("p"),t.textContent="500 Server error"},m(i,n){P(i,t,n)},p:fe,d(i){i&&A(t)}}}function Qs(e){let t,i,n,o,r,a,l=_e(Array(3)),c=[];for(let u=0;u<l.length;u+=1)c[u]=ml(Us(e,l,u));return{c(){t=L("div"),i=L("div"),n=L("div"),n.innerHTML='<ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton>',o=z();for(let u=0;u<c.length;u+=1)c[u].c();r=z(),a=L("div"),a.innerHTML='<div class="skletonHeader"><ui-skeleton width="auto" height="15px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeletonPeriod"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skletonHeader"><ui-skeleton width="auto" height="15px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeletonInputAmount"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeletonButton"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div>',h(n,"class","skeletonLimitText"),h(i,"class","skeletonLimitWrapper"),h(a,"class","skeletonInputWrapper"),h(t,"class","skeletonLimitContainer")},m(u,d){P(u,t,d),p(t,i),p(i,n),p(i,o);for(let f=0;f<c.length;f+=1)c[f]&&c[f].m(i,null);p(t,r),p(t,a)},p:fe,d(u){u&&A(t),qe(c,u)}}}function el(e){let t,i,n,o=e[29]("noLimitText")+"",r;return{c(){t=L("div"),i=L("div"),n=L("div"),r=M(o),h(n,"class","LimitDetailsTextWrapper"),h(i,"class","LimitDetailsWrapper"),h(t,"class","LimitDetails")},m(a,l){P(a,t,l),p(t,i),p(i,n),p(n,r)},p(a,l){l[0]&536870912&&o!==(o=a[29]("noLimitText")+"")&&j(r,o)},d(a){a&&A(t)}}}function tl(e){let t,i,n,o=e[29]("lugasPrivacy")+"",r;return{c(){t=L("div"),i=L("div"),n=L("div"),r=M(o),h(n,"class","LimitDetailsTextWrapper"),h(i,"class","LimitDetailsWrapper"),h(t,"class","LimitDetails")},m(a,l){P(a,t,l),p(t,i),p(i,n),p(n,r)},p(a,l){l[0]&536870912&&o!==(o=a[29]("lugasPrivacy")+"")&&j(r,o)},d(a){a&&A(t)}}}function il(e){let t,i=_e(e[140].currentLimits),n=[];for(let o=0;o<i.length;o+=1)n[o]=fn(rn(e,i,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();t=di()},m(o,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(o,r);P(o,t,r)},p(o,r){if(r[0]&1879048324|r[1]&1476){i=_e(o[140].currentLimits);let a;for(a=0;a<i.length;a+=1){const l=rn(o,i,a);n[a]?n[a].p(l,r):(n[a]=fn(l),n[a].c(),n[a].m(t.parentNode,t))}for(;a<n.length;a+=1)n[a].d(1);n.length=i.length}},d(o){o&&A(t),qe(n,o)}}}function nl(e){let t,i,n,o=e[29]("lugasPrivacy")+"",r;return{c(){t=L("div"),i=L("div"),n=L("div"),r=M(o),h(n,"class","LimitDetailsTextWrapper"),h(i,"class","LimitDetailsWrapper"),h(t,"class","LimitDetails")},m(a,l){P(a,t,l),p(t,i),p(i,n),p(n,r)},p(a,l){l[0]&536870912&&o!==(o=a[29]("lugasPrivacy")+"")&&j(r,o)},d(a){a&&A(t)}}}function ol(e){let t,i=`${e[41](e[145])}`,n;return{c(){t=L("span"),n=M(i)},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&128&&i!==(i=`${o[41](o[145])}`)&&j(n,i)},d(o){o&&A(t)}}}function rl(e){let t,i=`${e[41](e[145],!0)}`,n;return{c(){t=L("span"),n=M(i)},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&128&&i!==(i=`${o[41](o[145],!0)}`)&&j(n,i)},d(o){o&&A(t)}}}function cn(e){let t,i,n=`${e[41](e[145],!1,!0)}`,o,r,a=`${e[145].period!=="None"||e[145].value!=="cumulativeSession"?" ":e[29]("per")} ${e[29](`${e[145].period}`)} ${e[29]("updateAfterDocApproval")}`,l;return{c(){t=L("div"),i=L("span"),o=M(n),r=z(),l=M(a),h(t,"class","PendingLimit")},m(c,u){P(c,t,u),p(t,i),p(i,o),p(t,r),p(t,l)},p(c,u){u[0]&128&&n!==(n=`${c[41](c[145],!1,!0)}`)&&j(o,n),u[0]&536871040&&a!==(a=`${c[145].period!=="None"||c[145].value!=="cumulativeSession"?" ":c[29]("per")} ${c[29](`${c[145].period}`)} ${c[29]("updateAfterDocApproval")}`)&&j(l,a)},d(c){c&&A(t)}}}function al(e){let t,i,n=`${e[41](e[145],!0)}`,o,r;function a(u,d){return u[145].isCoolOffCompleted?dl:cl}let l=a(e),c=l(e);return{c(){t=L("div"),i=L("span"),o=M(n),r=z(),c.c(),h(t,"class","PendingLimit")},m(u,d){P(u,t,d),p(t,i),p(i,o),p(t,r),c.m(t,null)},p(u,d){d[0]&128&&n!==(n=`${u[41](u[145],!0)}`)&&j(o,n),l===(l=a(u))&&c?c.p(u,d):(c.d(1),c=l(u),c&&(c.c(),c.m(t,null)))},d(u){u&&A(t),c.d()}}}function sl(e){let t,i=`${e[29]("removedLimitText")} ${e[145].expiryDate}`,n;return{c(){t=L("div"),n=M(i),h(t,"class","PendingLimit")},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&536871040&&i!==(i=`${o[29]("removedLimitText")} ${o[145].expiryDate}`)&&j(n,i)},d(o){o&&A(t)}}}function ll(e){let t,i=`${e[29]("removeAfterConfirm")}`,n;return{c(){t=L("div"),n=M(i),h(t,"class","PendingLimit")},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&536870912&&i!==(i=`${o[29]("removeAfterConfirm")}`)&&j(n,i)},d(o){o&&A(t)}}}function ul(e){let t,i=`${e[29]("acknowledgedLimit")}`,n;return{c(){t=L("div"),n=M(i),h(t,"class","PendingLimit")},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&536870912&&i!==(i=`${o[29]("acknowledgedLimit")}`)&&j(n,i)},d(o){o&&A(t)}}}function cl(e){let t=`${e[145].period!=="None"||e[145].value!=="cumulativeSession"?" ":e[29]("per")} ${e[29](`${e[145].period}`)} ${e[29]("updateText")} ${e[145].expiryDate}`,i;return{c(){i=M(t)},m(n,o){P(n,i,o)},p(n,o){o[0]&536871040&&t!==(t=`${n[145].period!=="None"||n[145].value!=="cumulativeSession"?" ":n[29]("per")} ${n[29](`${n[145].period}`)} ${n[29]("updateText")} ${n[145].expiryDate}`)&&j(i,t)},d(n){n&&A(i)}}}function dl(e){let t=`${e[145].period!=="None"||e[145].value!=="cumulativeSession"?" ":e[29]("per")} ${e[29](`${e[145].period}`)} ${e[29]("updateAfterConfirm")}`,i;return{c(){i=M(t)},m(n,o){P(n,i,o)},p(n,o){o[0]&536871040&&t!==(t=`${n[145].period!=="None"||n[145].value!=="cumulativeSession"?" ":n[29]("per")} ${n[29](`${n[145].period}`)} ${n[29]("updateAfterConfirm")}`)&&j(i,t)},d(n){n&&A(i)}}}function dn(e){let t,i,n=e[28][e[145].scheduleId].timer+"",o,r,a,l;return{c(){t=L("div"),i=L("button"),o=M(n),h(i,"class",r="ReloadLimitButton "+(e[30]?"":"Mobile")+" "+(e[28][e[145].scheduleId].timerStopped?"":"disabled")),h(t,"class","ContainerLimitActions "+(e[30]?"":"Mobile"))},m(c,u){P(c,t,u),p(t,i),p(i,o),a||(l=ue(i,"click",e[63]),a=!0)},p(c,u){u[0]&268435584&&n!==(n=c[28][c[145].scheduleId].timer+"")&&j(o,n),u[0]&268435584&&r!==(r="ReloadLimitButton "+(c[30]?"":"Mobile")+" "+(c[28][c[145].scheduleId].timerStopped?"":"disabled"))&&h(i,"class",r)},d(c){c&&A(t),a=!1,l()}}}function mn(e){let t,i,n=e[29]("removeLimit")+"",o,r,a;function l(){return e[64](e[145])}return{c(){t=L("div"),i=L("button"),o=M(n),h(i,"class","RemoveLimitButton "+(e[30]?"":"Mobile")),h(t,"class","ContainerLimitActions "+(e[30]?"":"Mobile"))},m(c,u){P(c,t,u),p(t,i),p(i,o),r||(a=ue(i,"click",l),r=!0)},p(c,u){e=c,u[0]&536870912&&n!==(n=e[29]("removeLimit")+"")&&j(o,n)},d(c){c&&A(t),r=!1,a()}}}function pn(e){let t,i,n=e[29]("confirmUpdateLimit")+"",o,r,a,l=e[29]("cancelUpdateLimit")+"",c,u,d;function f(){return e[65](e[145])}function y(){return e[66](e[145])}return{c(){t=L("div"),i=L("button"),o=M(n),r=z(),a=L("button"),c=M(l),h(i,"class","ConfirmLimitButton "+(e[30]?"":"Mobile")),h(a,"class","CancelLimitButton "+(e[30]?"":"Mobile")),h(t,"class","ContainerLimitActions "+(e[30]?"":"Mobile"))},m(b,k){P(b,t,k),p(t,i),p(i,o),p(t,r),p(t,a),p(a,c),u||(d=[ue(i,"click",f),ue(a,"click",y)],u=!0)},p(b,k){e=b,k[0]&536870912&&n!==(n=e[29]("confirmUpdateLimit")+"")&&j(o,n),k[0]&536870912&&l!==(l=e[29]("cancelUpdateLimit")+"")&&j(c,l)},d(b){b&&A(t),u=!1,Ee(d)}}}function fn(e){let t,i,n,o,r,a=`${e[145].period!=="None"||e[145].value!=="cumulativeSession"?" ":e[29]("per")} ${e[29](`${e[145].period}`)}`,l,c,u,d,f,y=!e[145].isModified&&e[2].indexOf(e[140].value)>-1&&!e[145].reviewPending.id,b,k;function T(_,x){return _[145].acknowledgedLimit?rl:ol}let K=T(e),N=K(e),C=e[145].reviewPending&&e[145].reviewPending.id&&cn(e);function O(_,x){if(_[145].acknowledgedLimit)return ul;if(_[145].isModified&&_[145].updateAmount==0&&_[145].isCoolOffCompleted)return ll;if(_[145].isModified&&_[145].updateAmount==0&&!_[145].isCoolOffCompleted)return sl;if(_[145].isModified)return al}let G=O(e),B=G&&G(e),D=e[145].acknowledgedLimit&&!e[145].reviewPending.id&&dn(e),q=y&&mn(e),H=e[145].isCoolOffCompleted&!e[145].acknowledgedLimit&&!e[145].reviewPending.id&&pn(e);return{c(){t=L("div"),i=L("div"),n=L("div"),o=L("div"),N.c(),r=z(),l=M(a),c=z(),C&&C.c(),u=z(),B&&B.c(),d=z(),D&&D.c(),f=z(),q&&q.c(),b=z(),H&&H.c(),k=z(),h(o,"class","CurrentLimit"),h(n,"class","CurrentLimitContainer"),h(i,"class","LimitDetailsTextWrapper"),h(t,"class","LimitDetails")},m(_,x){P(_,t,x),p(t,i),p(i,n),p(n,o),N.m(o,null),p(o,r),p(o,l),p(n,c),C&&C.m(n,null),p(n,u),B&&B.m(n,null),p(i,d),D&&D.m(i,null),p(i,f),q&&q.m(i,null),p(i,b),H&&H.m(i,null),p(t,k)},p(_,x){K===(K=T(_))&&N?N.p(_,x):(N.d(1),N=K(_),N&&(N.c(),N.m(o,r))),x[0]&536871040&&a!==(a=`${_[145].period!=="None"||_[145].value!=="cumulativeSession"?" ":_[29]("per")} ${_[29](`${_[145].period}`)}`)&&j(l,a),_[145].reviewPending&&_[145].reviewPending.id?C?C.p(_,x):(C=cn(_),C.c(),C.m(n,u)):C&&(C.d(1),C=null),G===(G=O(_))&&B?B.p(_,x):(B&&B.d(1),B=G&&G(_),B&&(B.c(),B.m(n,null))),_[145].acknowledgedLimit&&!_[145].reviewPending.id?D?D.p(_,x):(D=dn(_),D.c(),D.m(i,f)):D&&(D.d(1),D=null),x[0]&132&&(y=!_[145].isModified&&_[2].indexOf(_[140].value)>-1&&!_[145].reviewPending.id),y?q?q.p(_,x):(q=mn(_),q.c(),q.m(i,b)):q&&(q.d(1),q=null),_[145].isCoolOffCompleted&!_[145].acknowledgedLimit&&!_[145].reviewPending.id?H?H.p(_,x):(H=pn(_),H.c(),H.m(i,null)):H&&(H.d(1),H=null)},d(_){_&&A(t),N.d(),C&&C.d(),B&&B.d(),D&&D.d(),q&&q.d(),H&&H.d()}}}function hn(e){let t,i,n=e[40](e[140])+"",o,r,a;function l(d,f){var y;return d[140].value==="lugas"?nl:((y=d[140].currentLimits)==null?void 0:y.length)>0?il:d[140].value==="lugas"?tl:el}let c=l(e),u=c(e);return{c(){t=L("div"),i=L("p"),o=M(n),r=z(),u.c(),a=z(),h(i,"class","LimitTitle"),h(t,"class","LimitWrapper "+(e[30]?"Desktop":""))},m(d,f){P(d,t,f),p(t,i),p(i,o),p(t,r),u.m(t,null),p(t,a)},p(d,f){f[0]&128&&n!==(n=d[40](d[140])+"")&&j(o,n),c===(c=l(d))&&u?u.p(d,f):(u.d(1),u=c(d),u&&(u.c(),u.m(t,a)))},d(d){d&&A(t),u.d()}}}function gn(e){let t,i,n=e[29]("complianceText")+"",o;return{c(){t=L("div"),i=L("p"),o=M(n),h(i,"class","LimitComplianceText"),h(t,"class","LimitCompliance")},m(r,a){P(r,t,a),p(t,i),p(i,o)},p(r,a){a[0]&536870912&&n!==(n=r[29]("complianceText")+"")&&j(o,n)},d(r){r&&A(t)}}}function yn(e){let t,i,n=e[29]("limitType")+"",o,r,a,l,c,u=_e(e[7]),d=[];for(let f=0;f<u.length;f+=1)d[f]=vn(nn(e,u,f));return{c(){t=L("label"),i=L("span"),o=M(n),r=z(),a=L("select");for(let f=0;f<d.length;f+=1)d[f].c();h(i,"class","LimitSelectText"),h(a,"name",""),h(a,"id",""),e[10]===void 0&&lt(()=>e[67].call(a)),h(t,"class","LimitTypeDropdownWrapper")},m(f,y){P(f,t,y),p(t,i),p(i,o),p(t,r),p(t,a);for(let b=0;b<d.length;b+=1)d[b]&&d[b].m(a,null);_t(a,e[10],!0),l||(c=[ue(a,"change",e[67]),ue(a,"change",e[68])],l=!0)},p(f,y){if(y[0]&536870912&&n!==(n=f[29]("limitType")+"")&&j(o,n),y[0]&128|y[1]&512){u=_e(f[7]);let b;for(b=0;b<u.length;b+=1){const k=nn(f,u,b);d[b]?d[b].p(k,y):(d[b]=vn(k),d[b].c(),d[b].m(a,null))}for(;b<d.length;b+=1)d[b].d(1);d.length=u.length}y[0]&1024&&_t(a,f[10])},d(f){f&&A(t),qe(d,f),l=!1,Ee(c)}}}function vn(e){let t,i=e[40](e[140])+"",n;return{c(){t=L("option"),n=M(i),t.__value=e[142],at(t,t.__value)},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&128&&i!==(i=o[40](o[140])+"")&&j(n,i)},d(o){o&&A(t)}}}function bn(e){let t,i,n=e[29]("period")+"",o,r,a,l,c,u=_e(e[6][e[8]].periods),d=[];for(let f=0;f<u.length;f+=1)d[f]=Ln(tn(e,u,f));return{c(){t=L("label"),i=L("span"),o=M(n),r=z(),a=L("select");for(let f=0;f<d.length;f+=1)d[f].c();h(i,"class","PeriodSelectText"),h(a,"name",""),h(a,"id",""),e[9]===void 0&&lt(()=>e[69].call(a)),h(t,"class","LimitPeriodDropdownWrapper")},m(f,y){P(f,t,y),p(t,i),p(i,o),p(t,r),p(t,a);for(let b=0;b<d.length;b+=1)d[b]&&d[b].m(a,null);_t(a,e[9],!0),l||(c=ue(a,"change",e[69]),l=!0)},p(f,y){if(y[0]&536870912&&n!==(n=f[29]("period")+"")&&j(o,n),y[0]&536871232){u=_e(f[6][f[8]].periods);let b;for(b=0;b<u.length;b+=1){const k=tn(f,u,b);d[b]?d[b].p(k,y):(d[b]=Ln(k),d[b].c(),d[b].m(a,null))}for(;b<d.length;b+=1)d[b].d(1);d.length=u.length}y[0]&832&&_t(a,f[9])},d(f){f&&A(t),qe(d,f),l=!1,c()}}}function Ln(e){let t,i=e[29](e[137])+"",n,o;return{c(){t=L("option"),n=M(i),t.__value=o=e[137],at(t,t.__value),t.selected=!0},m(r,a){P(r,t,a),p(t,n)},p(r,a){a[0]&536871232&&i!==(i=r[29](r[137])+"")&&j(n,i),a[0]&320&&o!==(o=r[137])&&(t.__value=o,at(t,t.__value))},d(r){r&&A(t)}}}function _n(e){let t,i=e[11]===null?`${e[29]("invalidInputMessage")}`:e[11]<e[12]?`${e[29]("invalidInputMessageLimitMin",{values:{minValue:e[12],currency:e[0]}})}`:`${e[29]("invalidInputMessageLimitMax",{values:{maxValue:e[13],currency:e[0]}})}`,n;return{c(){t=L("p"),n=M(i),h(t,"class","InvalidInput")},m(o,r){P(o,t,r),p(t,n)},p(o,r){r[0]&536885249&&i!==(i=o[11]===null?`${o[29]("invalidInputMessage")}`:o[11]<o[12]?`${o[29]("invalidInputMessageLimitMin",{values:{minValue:o[12],currency:o[0]}})}`:`${o[29]("invalidInputMessageLimitMax",{values:{maxValue:o[13],currency:o[0]}})}`)&&j(n,i)},d(o){o&&A(t)}}}function ml(e){let t;return{c(){t=L("div"),t.innerHTML='<div class="skeletonLimitAmount"><div class="skeletonAmountText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonSubText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div></div> <div class="skeletonLimitButton"><div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div> ',h(t,"class","skeletonLimitContent")},m(i,n){P(i,t,n)},p:fe,d(i){i&&A(t)}}}function pl(e){let t,i,n=e[19]&&sn(e);function o(l,c){if(l[16])return Qs;if(l[17])return Js;if(!l[16])return $s}let r=o(e),a=r&&r(e);return{c(){t=L("div"),n&&n.c(),i=z(),a&&a.c()},m(l,c){P(l,t,c),n&&n.m(t,null),p(t,i),a&&a.m(t,null),e[71](t)},p(l,c){l[19]?n?n.p(l,c):(n=sn(l),n.c(),n.m(t,i)):n&&(n.d(1),n=null),r===(r=o(l))&&a?a.p(l,c):(a&&a.d(1),a=r&&r(l),a&&(a.c(),a.m(t,null)))},i:fe,o:fe,d(l){l&&A(t),n&&n.d(),a&&a.d(),e[71](null)}}}function fl(e,t,i){let n;lr(e,gs,s=>i(29,n=s));let{lang:o="en"}=t,{currency:r=""}=t,{limits:a=""}=t,{session:l=""}=t,{userid:c=""}=t,{endpoint:u=""}=t,{apiversion:d=""}=t,{customcurrencysymbols:f=""}=t,{enablecompliancetext:y=""}=t,{deletelimit:b=""}=t,{amountsconfig:k=""}=t,{periodsconfig:T=""}=t,{limittabindex:K=""}=t,{limitformat:N=""}=t,{inputhasdecimals:C}=t,{allowedextenssion:O=".jpg,.jpeg,.png,.pdf,.webp,image/png"}=t,{filesizeallow:G="12934000"}=t,{clientstyling:B=""}=t,{clientstylingurl:D=""}=t,{mbsource:q}=t,{translationurl:H=""}=t,_,x=window.navigator.userAgent,V=!Ms(x),I=[],S="",E="",X="",Y=0,R,xe="",Se="",Ae="",oe={},te={},Z=!1,re=!1,ae=!0,ce=!1,Dt=!1,je=!1,ge=!1,he="",Ze="",de=[],$e,fi,Je=!1,oo={},Pe="",Be,pt={remove:{}},Ce=!1,Qe=!1,Ne={EUR:"€",RON:" lei",USD:"$"},se={};const Mt={wager:"wagering",loss:"loss",deposit:"deposit",netdeposit:"netdeposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"},hi={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]},ro=()=>{fetch(H).then(m=>m.json()).then(m=>{Object.keys(m).forEach(g=>{Xi(g,m[g])})}).catch(m=>{console.log(m)})};Object.keys(De).forEach(s=>{Xi(s,De[s])});const Bt=s=>`dataLayer-${s}`,le=(s,m)=>{typeof gtag=="function"&&gtag({event:s,limit_category:De[o][Bt(X.toLowerCase())]||X,limit_type:De[o][Bt(S.toLowerCase())]||S,limit_period:De[o][Bt(E.toLowerCase())]||E,limit_amount:R||m})},ao=()=>{var v;const s=k.split(",").map(w=>w.split(":")),m=T.split(",").map(w=>w.split(":"));for(let[w,U]of s.entries())if(U[0]!==m[w][0])throw new Error(`Limit config mismatch: "${U[0]}" does not match "${m[w][0]}"`);const g=s.reduce((w,U,Q)=>{const ve=U[0].slice(U[0].indexOf("(")+1,U[0].indexOf(")")),be=U[0].slice(0,U[0].indexOf("(")),Nt=U[1],ft=m[Q][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),it={value:ve,product:be,minMax:Nt,periods:ft,callValue:$[ve].callValue,callValue16:$[ve].callValue16,title:$[ve].title};return w.push(it),w},[]);for(let w=0;w<g.length;w++)i(7,I[w].product=g[w].product,I),i(7,I[w].min=parseInt(g[w].minMax.split("-")[0],10),I),i(7,I[w].max=parseInt(g[w].minMax.split("-")[1],10),I),i(6,$[g[w].value].periods=g[w].periods,$);Ae=(v=I[0])==null?void 0:v.value,I.forEach(w=>{oe[w.value]={min:w.min,max:w.max},oo[w.value]=w.product}),oe&&(oe[Ae]?(i(12,xe=oe[Ae].min),i(13,Se=oe[Ae].max)):(i(12,xe=1),i(13,Se=9999999)))},so=()=>{const s=/\(([^)]+)\)/g;return[...k.matchAll(s)].flat().filter(g=>!g.includes("("))},lo=()=>{so().forEach(m=>{$[m]?I.push(nt({},$[m])):console.error(`Unknown limit: ${m}`)}),ao(),i(8,S=I[0].value),i(9,E=$[S].periods[0]),X=I[0].product,i(14,Z=I.length>1),i(15,re=$[S].periods.length>1)},gi=()=>{i(8,S=I[Y].value),i(9,E=$[S].periods[0]),i(15,re=$[S].periods.length>1)},yi=()=>{X=I[Y].product},me=s=>{if(s.status>=300)uo(s);else return i(18,Dt=!1),s.status!==204?s.json():s},uo=s=>{i(17,ce=!0);let m;throw s.json().then(g=>{for(const v in hi)if(g.error&&hi[v].some(w=>g.error.includes(w))){m=v;break}console.error("errType",m),!m&&tt(g)}).finally(()=>{m&&tt(m),i(17,ce=!1),i(16,ae=!1)}),new Error("An error occured during the fetch request")},co=()=>{if(!(R>0))return;we(),i(16,ae=!0);let s=new URL(`/v2/player/${c}/limits`,u),m={};S==="sessionLimit"?m={sessionLimit:R,sessionLimitUnit:"minute"}:S==="cumulativeSession"?m[$[S].callValue]=[{period:E,minutes:R}]:m[$[S].callValue]=[{period:$[S].periods[0]==="None"?null:E,amount:R,currency:r}];let g={method:"PUT",headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(m)};fetch(s.href,g).then(v=>me(v)).then(v=>{le("self_limitation_success"),ye()}).catch(v=>{console.error(v),i(17,ce=!0)})},vi=()=>{const m=I[Y].currentLimits.find(be=>be.period===E),g=Eo();if(g&&g.reviewPending&&g.reviewPending.id)return window.postMessage({type:"WidgetNotification",data:{type:"error",message:n("limitInDocReview")}},window.location.href);if(we(),i(16,ae=!0),g&&g.reviewRequired&&!Pe&&R>g.amount){i(27,Qe=!0),i(20,ge=!0);return}const v=m?"v2":"v1",w=new URL(`/${v}/player/${c}/limits/monetary/${m?m.id:""}`,u),U=m?"PUT":"POST",Q=m?Pe?{amount:R,skipCoolOff:!1,payload:{DocumentId:Pe}}:{amount:R,skipCoolOff:!1}:{amount:R,currency:r,period:$[S].periods[0]==="None"?null:E,type:$[S].callValue16,products:[X!=null?X:"All"],walletTypes:["Deposit","NetDeposit"].includes($[S].callValue16)?["All"]:["RealCash"]};let ve={method:U,headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(Q)};fetch(w.href,ve).then(be=>me(be)).then(be=>{le("self_limitation_success"),ye()}).catch(be=>{console.log(be)}).finally(()=>{i(27,Qe=!1),Pe=""})},mo=()=>{if(!(R>0))return;we(),i(16,ae=!0);const s=new URL(`/v1/player/${c}/limits/session/`,u);let v={method:"PUT",headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({sessionLimit:R,sessionLimitUnit:"minute"})};fetch(s.href,v).then(w=>me(w)).then(w=>{le("self_limitation_success"),ye()}).catch(w=>{console.log(w),i(17,ce=!0)})},po=()=>{if(!(R>0))return;we(),i(16,ae=!0);const s=new URL(`/v1/player/${c}/limits/session/`,u);let v={method:"PUT",headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({cumulativeSessionLimits:[{period:E,minutes:R}]})};fetch(s.href,v).then(w=>me(w)).then(w=>{le("self_limitation_success"),ye()}).catch(w=>{console.log(w),i(17,ce=!0)})},fo=()=>{if(!(R>0))return;we(),i(16,ae=!0);const s=new URL(`/v2/player/${c}/limit/lugas`,u);let v={method:"POST",headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({amount:R,roleLimitAmount:0,softMigration:!1,keepLimit:!1})};fetch(s.href,v).then(w=>me(w)).then(w=>{i(23,$e=w.popup),w.operatorDepositLimitAmount,fi=w.regulatorDepositLimitAmount,le("self_limitation_success"),ye()}).catch(w=>{console.log(w),i(17,ce=!0)})},ho=()=>{if(te={},d==="gm16")switch(S){case"lugas":fo();break;case"sessionLimit":mo();break;case"cumulativeSession":po();break;default:vi();break}else if(d==="gmcore")co();else throw Error(`Invalid apiversion attribute: ${d}`);le("self_limitation_request")},ye=()=>{switch(d){case"gmcore":go();break;case"gm16":yo();break}},go=()=>{i(16,ae=!0);let s=new URL(`/v2/player/${c}/limits`,u),m={method:"GET",headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,m).then(g=>me(g)).then(g=>{de=g,je&&tt(),bi(de),vo(de),i(11,R=null)}).catch(g=>{console.error("Error LimitsWidget: ",g),i(17,ce=!0)}).finally(()=>{i(16,ae=!1)})},yo=()=>{i(16,ae=!0),de=[];let s=new URL(`/v1/player/${c}/limits/monetary`,u),m=new URL(`/v1/player/${c}/limits/session`,u),g=!1,v={method:"GET",headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,v).then(w=>me(w)).then(w=>{de.push(w),d==="gm16"?bo(w):d==="gmcore"&&bi([w]),je&&tt(),i(11,R=null)}).catch(w=>{console.error("Error LimitsWidget: ",w),i(17,ce=!0)}).finally(()=>{g&&i(16,ae=!1),g=!0}),fetch(m.href,v).then(w=>me(w)).then(w=>{de.push(w),d==="gm16"&&(Lo(w),_o(w)),je&&tt(),i(11,R=null)}).catch(w=>{console.error("Error LimitsWidget: ",w),i(17,ce=!0)}).finally(()=>{g&&i(16,ae=!1),g=!0})},bi=s=>{I.forEach(m=>{m.currentLimits=[];const g=Array.isArray(s[$[m.value].callValue])?s[$[m.value].callValue]:[s[$[m.value].callValue]];g.length===0||g[0]===void 0||(g.forEach((v,w)=>{var Q;const U=s[$[m.value].callValue][w];m.currentLimits.push({}),m.currentLimits[w].limitType=m.value,m.currentLimits[w].amount=N?U.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(U.amount),m.currentLimits[w].currency=(Q=Ne[U.currency])!=null?Q:U.currency,m.currentLimits[w].period=U.period,m.currentLimits[w].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(U.updateAmount),m.currentLimits[w].isModified=U.isModified,m.currentLimits[w].expiryDate=`${new Date(U.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`}),m.currentLimits=et(m.currentLimits))})},vo=s=>{const m=n("minutes");I.filter(g=>g.value==="sessionLimit"||g.value==="cumulativeSession").forEach(g=>{var v;g.currentLimits=[],(v=s[$[g.value].callValue])==null||v.forEach((w,U)=>{const Q=s[$[g.value].callValue][U];g.currentLimits.push({limitType:g.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(Q.minutes),currency:m,isModified:Q.isModified,period:g.value==="cumulativeSession"?Q.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(Q.updateMinutes),expiryDate:`${new Date(Q.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})}),g.currentLimits=et(g.currentLimits)})},bo=s=>{s!=null&&s.limits&&I.forEach(m=>{var g;m.currentLimits=[];for(const v of s.limits)if(v.type===m.callValue16&&v.products.includes(m.product)){let w=0,U=v.schedules.length>0?v.schedules.find(Q=>Q.id):{};v.schedules.length>0&&(w=N?U.updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(U.updateAmount)),m.currentLimits.push({limitType:m.value,amount:N?v.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(v.amount),currency:(g=Ne[v.currency])!=null?g:v.currency,isModified:v.schedules.length>0,period:v.period,product:v.products[0],updateAmount:w,isCoolOffCompleted:U?U.isCoolOffCompleted:!1,reviewRequired:v.reviewRequired?v.reviewRequired:!1,reviewPending:v.reviewPending?v.reviewPending:{},scheduleId:U?U.id:null,expiryDate:v.schedules.length>0?`${new Date(v.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"",id:v.id}),m.currentLimits.forEach(Q=>{Q.acknowledgedLimit=Object.keys(se).some(ve=>Q.scheduleId===ve)})}m.currentLimits=et(m.currentLimits)})},Lo=s=>{s!=null&&s.sessionLimit&&I.filter(m=>m.value==="sessionLimit").forEach(m=>{m.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.minutes),currency:n("minutes"),isModified:s.sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.updateMinutes),expiryDate:s.sessionLimit.expiryDate}),m.currentLimits=et(m.currentLimits)})},_o=s=>{s!=null&&s.cumulativeSessionLimits&&I.filter(m=>m.value==="cumulativeSession").forEach(m=>{for(const g of s.cumulativeSessionLimits)m.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(g.minutes),currency:n("minutes"),isModified:g.isModified,period:g.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(g.updateMinutes),expiryDate:g.expiryDate});m.currentLimits=et(m.currentLimits)})},et=s=>{const m={Daily:0,Weekly:1,Monthly:2};return s.sort((g,v)=>m[g.period]-m[v.period]),s},Li=()=>{if(R===null||Number.isNaN(R)){i(24,Je=!0);return}if(C==="false"){const s=Math.round(R);R!==s&&i(11,R=s)}i(24,Je=R<xe||R>Se)},wo=s=>{s.preventDefault(),Li(),Je||ho()},_i=()=>{i(24,Je=!1),oe!=null&&oe[S]?(i(12,xe=oe[S].min),i(13,Se=oe[S].max)):(i(12,xe=1),i(13,Se=9999999))},ko=()=>{if(de){const s=de[$[S].callValue].find(v=>v.period===E),m=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.amount);let g=n("popupImmediateUpdate").replace("{selectedLimit}",It(s)).replace("{updatedAmount}",m).replace("{currency}",Ne[s.currency]||s.currency).replace("{selectedPeriod}",n(`${E}`));i(21,he=s.isModified?`${n("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:g)}i(20,ge=!0)},Eo=()=>{var g;if(!de)return;const s=((g=de[0])==null?void 0:g.limits)||de.limits;let m=null;return Object.keys(te).length>0?m=s.find(v=>v.id===te.id):m=s.find(v=>v.type.toLowerCase()===Mt[S].toLowerCase()&&(v.period===E||v.period==="None")&&v.products[0]===X),(m==null?void 0:m.schedules.length)>0&&se[m==null?void 0:m.schedules[0].id]&&(m.amount=m.schedules[0].updateAmount),m},xo=()=>{var U;const s=((U=de[0])==null?void 0:U.limits)||de.limits;let m=null;if(!de){i(20,ge=!0);return}Object.keys(te).length>0?m=s.find(Q=>Q.id===te.id):m=s.find(Q=>Q.type.toLowerCase()===Mt[S].toLowerCase()&&(Q.period===E||Q.period==="None")&&Q.products[0]===X),(m==null?void 0:m.schedules.length)>0&&se[m==null?void 0:m.schedules[0].id]&&(m.amount=m.schedules[0].updateAmount);const g=Si(m)||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(m.amount),v=m.schedules.length>0?`${new Date(m.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"";let w=n("popupImmediateUpdate").replace("{selectedLimit}",It(m)).replace("{updatedAmount}",g).replace("{selectedPeriod}",n(`${m.period}`));m.schedules.length>0&&se[m.schedules[0].id]?i(21,he=w):i(21,he=m.schedules.length>0?`${n("popupPendingUpdate")} ${v}`:w),i(20,ge=!0)},So=()=>{$e==1&&i(22,Ze="PopupKyc"),$e==2&&(i(21,he=`${n("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(fi)} ${r} ${n("popup2_b")}`),i(22,Ze="PopupKyc2")),$e==3&&(i(21,he=n("popup3")),i(22,Ze="PopupSuccess")),i(20,ge=!0)},Ao=()=>{i(21,he=n("sessionLimitUpdated")),i(20,ge=!0)},Po=()=>{if(de){const s=de[$[S].callValue].find(v=>(v.period===E||E==="None")&&v.products[0]===X),m=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.minutes);let g=n("popupImmediateUpdate").replace("{selectedLimit}",n(`${S}`)).replace("{updatedAmount}",m).replace("{currency}",n("minutes")).replace("{selectedPeriod}",n(`${E}`));i(21,he=s.isModified?`${n("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:g)}i(20,ge=!0)},To=s=>{var m;return(m=s==null?void 0:s.error)==null?void 0:m.includes("Limit update is not permitted due to LimitUpdateControl")},Co=s=>{var m;return(m=s==null?void 0:s.error)==null?void 0:m.includes("Limit remove is not permitted due to LimitUpdateControl")},Do=s=>{var m;return(m=s==null?void 0:s.error)==null?void 0:m.includes("[NotFoundException] Limit does not exist")},Mo=s=>{var m;return(m=s==null?void 0:s.error)==null?void 0:m.includes("[Exception] Schedule does not exist")},Bo=s=>{var m,g;return((m=s.details)==null?void 0:m.includes("Invalid Session"))||((g=s.error)==null?void 0:g.includes("Invalid Session"))},tt=s=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),ce){if(i(18,Dt=!0),!s){i(20,ge=!0);return}To(s)?i(21,he=n("popupUpdateLimitException")):Co(s)?i(21,he=n("popupRemoveLimitException")):Do(s)?i(21,he=n("notFoundException")):Mo(s)?i(21,he=n("scheduleNotFoundException")):Bo(s)?i(21,he=n("sessionExpiredException")):i(21,he=n("genericLimitsPopupError")),i(20,ge=!0);return}switch(d){case"gmcore":S==="sessionLimit"||S==="cumulativeSession"?Po():ko();break;case"gm16":S==="lugas"?So():S==="sessionLimit"||S==="cumulativeSession"?Ao():xo();break;default:throw new Error(`Invalid apiversion attribute: ${d}`)}},we=()=>{i(19,je=!0),window.postMessage({type:"DisableScroll"},window.location.href)},Io=s=>{i(8,S=s.limitType),i(9,E=s.period),we(),i(16,ae=!0);let m=new URL(`/v2/player/${c}/limits/${Mt[s.limitType]}`,u);s.limitType!=="sessionLimit"&&m.searchParams.append("periods",s.period);let g={method:"DELETE",headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"}};fetch(m.href,g).then(v=>me(v)).then(v=>{le("self_limitation_cancel_success",s.amount),ye()}).catch(v=>{le("self_limitation_cancel_failed",s.amount),console.log(v),i(17,ce=!0)})},wi=s=>{switch(s.period,pt.remove=s,d){case"gmcore":Io(s);break;case"gm16":te=s,s.limitType==="sessionLimit"||s.limitType==="cumulativeSession"?jo(s):ki(s);break}le("self_limitation_cancel_request",s.amount)},jo=s=>{const m=new URL(`/v1/player/${c}/limits/session/session`,u),g=new URL(`/v1/player/${c}/limits/session/cumulativeSession?periods=${s.period}`,u);let v;switch(s.limitType){case"sessionLimit":v=m;break;case"cumulativeSession":v=g;break;default:throw Error(`Unknown limit.limitType: ${s.limitType}`)}we(),i(16,ae=!0);let w={method:"DELETE",headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"}};fetch(v.href,w).then(U=>me(U)).then(U=>{le("self_limitation_cancel_success",s.amount),ye()}).catch(U=>{le("self_limitation_cancel_failed",s.amount),console.log(U),i(17,ce=!0)})},ki=s=>{if(we(),i(16,ae=!0),s&&s.reviewRequired&&!Pe){i(27,Qe=!0),i(20,ge=!0);return}const m=new URL(`/v1/player/${c}/limits/monetary/${s.id}`,u);let g={method:"DELETE",headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"}};Pe&&m.searchParams.append("documentId",Pe),fetch(m.href,g).then(v=>me(v)).then(v=>{le("self_limitation_cancel_success",s.amount),ye()}).catch(v=>{le("self_limitation_cancel_failed",s.amount),console.log(v),i(17,ce=!0)}).finally(()=>{pt.remove={},i(27,Qe=!1),Pe=""})},Ei=s=>{const m=new URL(`/v1/player/${c}/limits/schedule/${s.scheduleId}`,u);we(),i(16,ae=!0);let g={method:"DELETE",headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"}};fetch(m.href,g).then(v=>me(v)).then(v=>{te=s,le("self_limitation_cancel_success",s.updateAmount),ye()}).catch(v=>{le("self_limitation_cancel_failed",s.updateAmount),console.log(v),i(17,ce=!0)})},xi=s=>{const m=new URL(`v1/player/${c}/limits/schedule/acknowledge/${s.scheduleId}`,u);we(),i(16,ae=!0);let g={method:"PATCH",headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"}};fetch(m.href,g).then(v=>me(v)).then(v=>{te=s,No(s),le("self_limitation_confirm_success",s.amount),ye()}).catch(v=>{le("self_limitation_confirm_failed",s.amount),console.log(v),i(17,ce=!0)})},No=s=>{let m=60;i(28,se[s.scheduleId]={},se),i(28,se[s.scheduleId].timer=`${m} ${De[o].seconds}`,se),i(28,se[s.scheduleId].timerStopped=!1,se);let g=window.setInterval(()=>m===0?(window.clearInterval(g),i(28,se[s.scheduleId].timerStopped=!0,se),i(28,se[s.scheduleId].timer=De[o].reloadLimitsButton,se)):i(28,se[s.scheduleId].timer=`${--m} ${De[o].seconds}`,se),1e3)},It=s=>{let m;return s?m=s.value?n(s.value+s.product):n(s.type.toLowerCase()+s.products[0]):m=n(S),m},Si=(s,m=!1,g=!1)=>{if(!N)return g?`${s.reviewPending.requestAmount}${s.currency}`:m?`${s.updateAmount}${s.currency}`:`${s.amount}${s.currency}`;let v=N;const w=v.match(/\{(\d+)decimals\}/),U=C==="true"?w?parseInt(w[1],10):2:0,Q=w?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let ve;g?ve=s.reviewPending.requestAmount||0:ve=m?s.updateAmount:s.amount;let be=C==="true"?parseFloat(ve).toFixed(U):Math.round(parseFloat(ve)).toString();const[Nt,ft]=N.includes(".")?[",","."]:[".",","];let[it,Ut]=be.includes(".")?be.split("."):[be,""];if(it=it.replace(/\B(?=(\d{3})+(?!\d))/g,Nt),v=v.replace("{currency}",Ne[s.currency]||s.currency).replace("{amount}",it).replace(Q,C==="true"&&Ut?Ut:""),C==="true"||!Ut){const er=ft==="."?"\\.":ft,tr=new RegExp(`${er}(?=[\\s\\D]|$)`,"g");v=v.replace(tr,"").trim()}return v},jt=()=>{i(20,ge=i(19,je=!1)),i(22,Ze=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},Uo=()=>{window.postMessage({type:"uploadDocuments"},window.location.href),jt()},zo=s=>{let m=0;return Object.keys(s).forEach(g=>{m+=s[g].size}),m<=Number(G)},Oo=s=>{let m=!1;return Object.keys(s).forEach(g=>{const v=s[g].name.split(".").pop();return O.includes(v)?m=!0:m=!1}),m},Ai=s=>!s&&!(s.length>0)?i(26,Ce=!1):(i(25,Be=s),zo(Be)?Oo(Be)?i(26,Ce=!0):(console.error(n("fileExtenssionDeny")),i(26,Ce=!1)):(console.error(n("fileSizeExceeded")),i(26,Ce=!1))),Ho=()=>{if(!Ce)return;i(20,ge=!1);const s=new URL(`/api/v1/mm/content/${c}/url-upload/`,u),m={method:"POST",headers:{"Content-Type":"application/json","X-SessionId":l},body:JSON.stringify({})};fetch(s,m).then(g=>me(g)).then(g=>{Ro(g)}).catch(g=>{console.error(n("errorUploadDocument"),g),i(25,Be=null),i(26,Ce=!1)})},Ro=s=>{const m=new FormData;m.append(s.requestId,Be[0]),fetch(s.url,{method:"POST",body:m}).then(g=>me(g)).then(g=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:n("uploadSuccess")}},window.location.href),Pe=g.Files[0].Reference,pt.remove.id?ki(pt.remove):vi()}).catch(g=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:n("errorUploadDocument")}},window.location.href),console.error(n("errorUploadDocument"),g)}).finally(()=>{jt(),i(25,Be=null),i(26,Ce=!1)})},Fo=()=>{if(!f)return;let s={};f.split(",").forEach(m=>{let g=m.split(":");s[g[0].trim()]=g[1].trim()}),Ne=nt(nt({},Ne),s)},Go=()=>{ys(o)};hr(()=>()=>{});const Vo=s=>Ai(s.target.files),Wo=()=>ye(),qo=s=>wi(s),Xo=s=>xi(s),Ko=s=>Ei(s);function Yo(){Y=Mi(this),i(10,Y)}const Zo=()=>{yi(),gi(),_i()};function $o(){E=Mi(this),i(9,E),i(6,$),i(8,S)}function Jo(){R=xn(this.value),i(11,R)}function Qo(s){Xt[s?"unshift":"push"](()=>{_=s,i(5,_)})}return e.$$set=s=>{"lang"in s&&i(46,o=s.lang),"currency"in s&&i(0,r=s.currency),"limits"in s&&i(47,a=s.limits),"session"in s&&i(48,l=s.session),"userid"in s&&i(49,c=s.userid),"endpoint"in s&&i(50,u=s.endpoint),"apiversion"in s&&i(51,d=s.apiversion),"customcurrencysymbols"in s&&i(52,f=s.customcurrencysymbols),"enablecompliancetext"in s&&i(1,y=s.enablecompliancetext),"deletelimit"in s&&i(2,b=s.deletelimit),"amountsconfig"in s&&i(53,k=s.amountsconfig),"periodsconfig"in s&&i(54,T=s.periodsconfig),"limittabindex"in s&&i(3,K=s.limittabindex),"limitformat"in s&&i(55,N=s.limitformat),"inputhasdecimals"in s&&i(4,C=s.inputhasdecimals),"allowedextenssion"in s&&i(56,O=s.allowedextenssion),"filesizeallow"in s&&i(57,G=s.filesizeallow),"clientstyling"in s&&i(58,B=s.clientstyling),"clientstylingurl"in s&&i(59,D=s.clientstylingurl),"mbsource"in s&&i(60,q=s.mbsource),"translationurl"in s&&i(61,H=s.translationurl)},e.$$.update=()=>{e.$$.dirty[1]&2097152&&f&&Fo(),e.$$.dirty[1]&12582912&&T&&k&&lo(),e.$$.dirty[1]&32768&&o&&Go(),e.$$.dirty[1]&1998848&&c&&l&&u&&d&&o&&ye(),e.$$.dirty[0]&32|e.$$.dirty[1]&134217728&&B&&_&&Bs(_,B),e.$$.dirty[0]&32|e.$$.dirty[1]&268435456&&D&&_&&Is(_,D),e.$$.dirty[0]&32|e.$$.dirty[1]&536870912&&q&&_&&js(_,`${q}.Style`),e.$$.dirty[1]&1073741824&&H&&ro()},[r,y,b,K,C,_,$,I,S,E,Y,R,xe,Se,Z,re,ae,ce,Dt,je,ge,he,Ze,$e,Je,Be,Ce,Qe,se,n,V,gi,yi,ye,Li,wo,_i,wi,Ei,xi,It,Si,jt,Uo,Ai,Ho,o,a,l,c,u,d,f,k,T,N,O,G,B,D,q,H,Vo,Wo,qo,Xo,Ko,Yo,Zo,$o,Jo,Qo]}class no extends Ar{constructor(t){super(),xr(this,t,fl,pl,kn,{lang:46,currency:0,limits:47,session:48,userid:49,endpoint:50,apiversion:51,customcurrencysymbols:52,enablecompliancetext:1,deletelimit:2,amountsconfig:53,periodsconfig:54,limittabindex:3,limitformat:55,inputhasdecimals:4,allowedextenssion:56,filesizeallow:57,clientstyling:58,clientstylingurl:59,mbsource:60,translationurl:61},Ns,[-1,-1,-1,-1,-1])}get lang(){return this.$$.ctx[46]}set lang(t){this.$$set({lang:t}),ie()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),ie()}get limits(){return this.$$.ctx[47]}set limits(t){this.$$set({limits:t}),ie()}get session(){return this.$$.ctx[48]}set session(t){this.$$set({session:t}),ie()}get userid(){return this.$$.ctx[49]}set userid(t){this.$$set({userid:t}),ie()}get endpoint(){return this.$$.ctx[50]}set endpoint(t){this.$$set({endpoint:t}),ie()}get apiversion(){return this.$$.ctx[51]}set apiversion(t){this.$$set({apiversion:t}),ie()}get customcurrencysymbols(){return this.$$.ctx[52]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),ie()}get enablecompliancetext(){return this.$$.ctx[1]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),ie()}get deletelimit(){return this.$$.ctx[2]}set deletelimit(t){this.$$set({deletelimit:t}),ie()}get amountsconfig(){return this.$$.ctx[53]}set amountsconfig(t){this.$$set({amountsconfig:t}),ie()}get periodsconfig(){return this.$$.ctx[54]}set periodsconfig(t){this.$$set({periodsconfig:t}),ie()}get limittabindex(){return this.$$.ctx[3]}set limittabindex(t){this.$$set({limittabindex:t}),ie()}get limitformat(){return this.$$.ctx[55]}set limitformat(t){this.$$set({limitformat:t}),ie()}get inputhasdecimals(){return this.$$.ctx[4]}set inputhasdecimals(t){this.$$set({inputhasdecimals:t}),ie()}get allowedextenssion(){return this.$$.ctx[56]}set allowedextenssion(t){this.$$set({allowedextenssion:t}),ie()}get filesizeallow(){return this.$$.ctx[57]}set filesizeallow(t){this.$$set({filesizeallow:t}),ie()}get clientstyling(){return this.$$.ctx[58]}set clientstyling(t){this.$$set({clientstyling:t}),ie()}get clientstylingurl(){return this.$$.ctx[59]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),ie()}get mbsource(){return this.$$.ctx[60]}set mbsource(t){this.$$set({mbsource:t}),ie()}get translationurl(){return this.$$.ctx[61]}set translationurl(t){this.$$set({translationurl:t}),ie()}}Sr(no,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},apiversion:{},customcurrencysymbols:{},enablecompliancetext:{},deletelimit:{},amountsconfig:{},periodsconfig:{},limittabindex:{},limitformat:{},inputhasdecimals:{},allowedextenssion:{},filesizeallow:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=no;