@everymatrix/player-account-gaming-limits-page-2-gm16 1.87.26 → 1.87.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CVZvIqnl.js → PlayerAccountGamingLimitsPage2Gm16-D3Xrz3hI.js} +1417 -1388
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DaD7Cbv1.js → PlayerAccountGamingLimitsPage2Gm16-DBFtSZAg.js} +1410 -1382
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DhzuWz00.cjs → PlayerAccountGamingLimitsPage2Gm16-wR3ozXhP.cjs} +8 -8
- package/es2015/player-account-gaming-limits-page-2-gm16.cjs +1 -1
- package/es2015/player-account-gaming-limits-page-2-gm16.js +1 -1
- package/esnext/player-account-gaming-limits-page-2-gm16.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
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.
|
|
1
|
+
"use strict";var or=Object.defineProperty,rr=Object.defineProperties;var ar=Object.getOwnPropertyDescriptors;var Ci=Object.getOwnPropertySymbols;var sr=Object.prototype.hasOwnProperty,lr=Object.prototype.propertyIsEnumerable;var Ht=(e,t,i)=>t in e?or(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,ot=(e,t)=>{for(var i in t||(t={}))sr.call(t,i)&&Ht(e,i,t[i]);if(Ci)for(var i of Ci(t))lr.call(t,i)&&Ht(e,i,t[i]);return e},Di=(e,t)=>rr(e,ar(t));var _e=(e,t,i)=>(Ht(e,typeof t!="symbol"?t+"":t,i),i);var Mi=(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 En(e){return e()}function Bi(){return Object.create(null)}function Se(e){e.forEach(En)}function mi(e){return typeof e=="function"}function xn(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function ur(e){return Object.keys(e).length===0}function Sn(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 cr(e,t,i){e.$$.on_destroy.push(Sn(t,i))}function p(e,t){e.appendChild(t)}function dr(e,t,i){const n=mr(e);if(!n.getElementById(t)){const o=L("style");o.id=t,o.textContent=i,pr(n,o)}}function mr(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function pr(e,t){return p(e.head||e,t),t.sheet}function A(e,t,i){e.insertBefore(t,i||null)}function S(e){e.parentNode&&e.parentNode.removeChild(e)}function Xe(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 $(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function M(e){return document.createTextNode(e)}function z(){return M(" ")}function pi(){return M("")}function se(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 An(e){return e===""?null:+e}function fr(e){return Array.from(e.childNodes)}function j(e,t){t=""+t,e.data!==t&&(e.data=t)}function st(e,t){e.value=t==null?"":t}function Re(e,t,i,n){i==null?e.style.removeProperty(t):e.style.setProperty(t,i,"")}function wt(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 Ii(e){const t=e.querySelector(":checked");return t&&t.__value}function hr(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}let lt;function at(e){lt=e}function gr(){if(!lt)throw new Error("Function called outside component initialization");return lt}function yr(e){gr().$$.on_mount.push(e)}const Oe=[],Yt=[];let Fe=[];const ji=[],vr=Promise.resolve();let Zt=!1;function br(){Zt||(Zt=!0,vr.then(te))}function ut(e){Fe.push(e)}const Rt=new Set;let Ue=0;function te(){if(Ue!==0)return;const e=lt;do{try{for(;Ue<Oe.length;){const t=Oe[Ue];Ue++,at(t),Lr(t.$$)}}catch(t){throw Oe.length=0,Ue=0,t}for(at(null),Oe.length=0,Ue=0;Yt.length;)Yt.pop()();for(let t=0;t<Fe.length;t+=1){const i=Fe[t];Rt.has(i)||(Rt.add(i),i())}Fe.length=0}while(Oe.length);for(;ji.length;)ji.pop()();Zt=!1,Rt.clear(),at(e)}function Lr(e){if(e.fragment!==null){e.update(),Se(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ut)}}function _r(e){const t=[],i=[];Fe.forEach(n=>e.indexOf(n)===-1?t.push(n):i.push(n)),i.forEach(n=>n()),Fe=t}const wr=new Set;function kr(e,t){e&&e.i&&(wr.delete(e),e.i(t))}function ke(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Er(e,t,i){const{fragment:n,after_update:o}=e.$$;n&&n.m(t,i),ut(()=>{const r=e.$$.on_mount.map(En).filter(mi);e.$$.on_destroy?e.$$.on_destroy.push(...r):Se(r),e.$$.on_mount=[]}),o.forEach(ut)}function xr(e,t){const i=e.$$;i.fragment!==null&&(_r(i.after_update),Se(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}function Sr(e,t){e.$$.dirty[0]===-1&&(Oe.push(e),br(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Ar(e,t,i,n,o,r,a=null,l=[-1]){const c=lt;at(e);const u=e.$$={fragment:null,ctx:[],props:r,update:fe,not_equal:o,bound:Bi(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:Bi(),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 E=b.length?b[0]:y;return u.ctx&&o(u.ctx[f],u.ctx[f]=E)&&(!u.skip_bound&&u.bound[f]&&u.bound[f](E),d&&Sr(e,f)),y}):[],u.update(),d=!0,Se(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const f=fr(t.target);u.fragment&&u.fragment.l(f),f.forEach(S)}else u.fragment&&u.fragment.c();t.intro&&kr(e.$$.fragment),Er(e,t.target,t.anchor),te()}at(c)}let Pn;typeof HTMLElement=="function"&&(Pn=class extends HTMLElement{constructor(t,i,n){super();_e(this,"$$ctor");_e(this,"$$s");_e(this,"$$c");_e(this,"$$cn",!1);_e(this,"$$d",{});_e(this,"$$r",!1);_e(this,"$$p_d",{});_e(this,"$$l",{});_e(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 Mi(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){A(u,a,d)},d:function(u){u&&S(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const i={},n=hr(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]=vt(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:Di(ot({},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=vt(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]=vt(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 vt(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 Pr(e,t,i,n,o,r){let a=class extends Pn{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=vt(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 Tr{constructor(){_e(this,"$$");_e(this,"$$set")}$destroy(){xr(this,1),this.$destroy=fe}$on(t,i){if(!mi(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&&!ur(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Cr="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Cr);const Z={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 Dr(e,t){return{subscribe:St(e,t).subscribe}}function St(e,t=fe){let i;const n=new Set;function o(l){if(xn(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 Ke(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 Dr(i,(a,l)=>{let c=!1;const u=[];let d=0,f=fe;const y=()=>{if(d)return;f();const E=t(n?u[0]:u,a,l);r?a(E):f=mi(E)?E:fe},b=o.map((E,P)=>Sn(E,Y=>{u[P]=Y,d&=~(1<<P),c&&y()},()=>{d|=1<<P}));return c=!0,y(),function(){Se(b),f(),c=!1}})}function Mr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Br=function(t){return Ir(t)&&!jr(t)};function Ir(e){return!!e&&typeof e=="object"}function jr(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||zr(e)}var Nr=typeof Symbol=="function"&&Symbol.for,Ur=Nr?Symbol.for("react.element"):60103;function zr(e){return e.$$typeof===Ur}function Or(e){return Array.isArray(e)?[]:{}}function ct(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ge(Or(e),e,t):e}function Hr(e,t,i){return e.concat(t).map(function(n){return ct(n,i)})}function Rr(e,t){if(!t.customMerge)return Ge;var i=t.customMerge(e);return typeof i=="function"?i:Ge}function Fr(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Ni(e){return Object.keys(e).concat(Fr(e))}function Tn(e,t){try{return t in e}catch(i){return!1}}function Gr(e,t){return Tn(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Vr(e,t,i){var n={};return i.isMergeableObject(e)&&Ni(e).forEach(function(o){n[o]=ct(e[o],i)}),Ni(t).forEach(function(o){Gr(e,o)||(Tn(e,o)&&i.isMergeableObject(t[o])?n[o]=Rr(o,i)(e[o],t[o],i):n[o]=ct(t[o],i))}),n}function Ge(e,t,i){i=i||{},i.arrayMerge=i.arrayMerge||Hr,i.isMergeableObject=i.isMergeableObject||Br,i.cloneUnlessOtherwiseSpecified=ct;var n=Array.isArray(t),o=Array.isArray(e),r=n===o;return r?n?i.arrayMerge(e,t,i):Vr(e,t,i):ct(t,i)}Ge.all=function(t,i){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return Ge(n,o,i)},{})};var Wr=Ge,qr=Wr;const Xr=Mr(qr);var $t=function(e,t){return $t=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])},$t(e,t)};function At(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");$t(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}var xe=function(){return xe=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},xe.apply(this,arguments)};function Kr(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 Ft(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 Gt(e,t){var i=t&&t.cache?t.cache:ta,n=t&&t.serializer?t.serializer:Qr,o=t&&t.strategy?t.strategy:$r;return o(e,{cache:i,serializer:n})}function Yr(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Zr(e,t,i,n){var o=Yr(n)?n:i(n),r=t.get(o);return typeof r=="undefined"&&(r=e.call(this,n),t.set(o,r)),r}function Cn(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 Dn(e,t,i,n,o){return i.bind(t,e,n,o)}function $r(e,t){var i=e.length===1?Zr:Cn;return Dn(e,this,i,t.cache.create(),t.serializer)}function Jr(e,t){return Dn(e,this,Cn,t.cache.create(),t.serializer)}var Qr=function(){return JSON.stringify(arguments)},ea=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}(),ta={create:function(){return new ea}},Vt={variadic:Jr},kt=function(){return kt=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},kt.apply(this,arguments)};var R;(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"})(R||(R={}));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 Ve;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ve||(Ve={}));function Ui(e){return e.type===ee.literal}function ia(e){return e.type===ee.argument}function Mn(e){return e.type===ee.number}function Bn(e){return e.type===ee.date}function In(e){return e.type===ee.time}function jn(e){return e.type===ee.select}function Nn(e){return e.type===ee.plural}function na(e){return e.type===ee.pound}function Un(e){return e.type===ee.tag}function zn(e){return!!(e&&typeof e=="object"&&e.type===Ve.number)}function Jt(e){return!!(e&&typeof e=="object"&&e.type===Ve.dateTime)}var On=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,oa=/(?:[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 ra(e){var t={};return e.replace(oa,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 aa=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function sa(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(aa).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 la(e){return e.replace(/^(.*?)-/,"")}var zi=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Hn=/^(@+)?(\+|#+)?[rs]?$/g,ua=/(\*)(0+)|(#+)(0+)|(0+)/g,Rn=/^(0+)$/;function Oi(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Hn,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 Fn(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 ca(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)),!Rn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Hi(e){var t={},i=Fn(e);return i||t}function da(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=la(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),Hi(u))},{}));continue;case"engineering":t=ie(ie(ie({},t),{notation:"engineering"}),o.options.reduce(function(c,u){return ie(ie({},c),Hi(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(ua,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(Rn.test(o.stem)){t.minimumIntegerDigits=o.stem.length;continue}if(zi.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(zi,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=ie(ie({},t),{trailingZeroDisplay:"stripIfInteger"}):r&&(t=ie(ie({},t),Oi(r)));continue}if(Hn.test(o.stem)){t=ie(ie({},t),Oi(o.stem));continue}var a=Fn(o.stem);a&&(t=ie(ie({},t),a));var l=ca(o.stem);l&&(t=ie(ie({},t),l))}return t}var gt={"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 ma(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=pa(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 pa(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=gt[n||""]||gt[i||""]||gt["".concat(i,"-001")]||gt["001"];return o[0]}var Wt,fa=new RegExp("^".concat(On.source,"*")),ha=new RegExp("".concat(On.source,"*$"));function W(e,t){return{start:e,end:t}}var ga=!!String.prototype.startsWith&&"_a".startsWith("a",1),ya=!!String.fromCodePoint,va=!!Object.fromEntries,ba=!!String.prototype.codePointAt,La=!!String.prototype.trimStart,_a=!!String.prototype.trimEnd,wa=!!Number.isSafeInteger,ka=wa?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Qt=!0;try{var Ea=Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Qt=((Wt=Ea.exec("a"))===null||Wt===void 0?void 0:Wt[0])==="a"}catch(e){Qt=!1}var Ri=ga?function(t,i,n){return t.startsWith(i,n)}:function(t,i,n){return t.slice(n,n+i.length)===i},ei=ya?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},Fi=va?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},Gn=ba?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}},xa=La?function(t){return t.trimStart()}:function(t){return t.replace(fa,"")},Sa=_a?function(t){return t.trimEnd()}:function(t){return t.replace(ha,"")};function Vn(e,t){return new RegExp(e,t)}var ti;if(Qt){var Gi=Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ti=function(t,i){var n;Gi.lastIndex=i;var o=Gi.exec(t);return(n=o[1])!==null&&n!==void 0?n:""}}else ti=function(t,i){for(var n=[];;){var o=Gn(t,i);if(o===void 0||Wn(o)||Ca(o))break;n.push(o),i+=o>=65536?2:1}return ei.apply(void 0,n)};var Aa=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(R.UNMATCHED_CLOSING_TAG,W(this.clonePosition(),this.clonePosition()))}else if(r===60&&!this.ignoreTag&&ii(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()||!ii(this.char()))return this.error(R.INVALID_TAG,W(l,this.clonePosition()));var c=this.clonePosition(),u=this.parseTagName();return o!==u?this.error(R.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(R.INVALID_TAG,W(l,this.clonePosition())))}else return this.error(R.UNCLOSED_TAG,W(n,this.clonePosition()))}else return this.error(R.INVALID_TAG,W(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Ta(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||!Pa(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 ei.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(),ei(n))},e.prototype.parseArgument=function(t,i){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(R.EMPTY_ARGUMENT,W(n,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(R.MALFORMED_ARGUMENT,W(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(R.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(R.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition())):this.parseArgumentOptions(t,i,o,n);default:return this.error(R.MALFORMED_ARGUMENT,W(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),i=this.offset(),n=ti(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(R.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=Sa(f.val);if(y.length===0)return this.error(R.EXPECT_ARGUMENT_STYLE,W(this.clonePosition(),this.clonePosition()));var b=W(d,this.clonePosition());u={style:y,styleLocation:b}}var E=this.tryParseArgumentClose(o);if(E.err)return E;var P=W(o,this.clonePosition());if(u&&Ri(u==null?void 0:u.style,"::",0)){var Y=xa(u.style.slice(2));if(l==="number"){var f=this.parseNumberSkeletonFromString(Y,u.styleLocation);return f.err?f:{val:{type:ee.number,value:n,location:P,style:f.val},err:null}}else{if(Y.length===0)return this.error(R.EXPECT_DATE_TIME_SKELETON,P);var N=Y;this.locale&&(N=ma(Y,this.locale));var y={type:Ve.dateTime,pattern:N,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?ra(N):{}},T=l==="date"?ee.date:ee.time;return{val:{type:T,value:n,location:P,style:y},err:null}}}return{val:{type:l==="number"?ee.number:l==="date"?ee.date:ee.time,value:n,location:P,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(R.EXPECT_SELECT_ARGUMENT_OPTIONS,W(O,kt({},O)));this.bumpSpace();var F=this.parseIdentifierIfPossible(),B=0;if(l!=="select"&&F.value==="offset"){if(!this.bumpIf(":"))return this.error(R.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,W(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(R.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,R.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),F=this.parseIdentifierIfPossible(),B=f.val}var C=this.tryParsePluralOrSelectOptions(t,l,i,F);if(C.err)return C;var E=this.tryParseArgumentClose(o);if(E.err)return E;var q=W(o,this.clonePosition());return l==="select"?{val:{type:ee.select,value:n,options:Fi(C.val),location:q},err:null}:{val:{type:ee.plural,value:n,options:Fi(C.val),offset:B,pluralType:l==="plural"?"cardinal":"ordinal",location:q},err:null}}default:return this.error(R.INVALID_ARGUMENT_TYPE,W(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(R.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(R.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=sa(t)}catch(o){return this.error(R.INVALID_NUMBER_SKELETON,i)}return{val:{type:Ve.number,tokens:n,location:i,parsedOptions:this.shouldParseSkeletons?da(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(R.EXPECT_PLURAL_ARGUMENT_SELECTOR,R.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"?R.DUPLICATE_SELECT_ARGUMENT_SELECTOR:R.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,d);u==="other"&&(a=!0),this.bumpSpace();var b=this.clonePosition();if(!this.bumpIf("{"))return this.error(i==="select"?R.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:R.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,W(this.clonePosition(),this.clonePosition()));var E=this.parseMessage(t+1,i,n);if(E.err)return E;var P=this.tryParseArgumentClose(b);if(P.err)return P;l.push([u,{value:E.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"?R.EXPECT_SELECT_ARGUMENT_SELECTOR:R.EXPECT_PLURAL_ARGUMENT_SELECTOR,W(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(R.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,ka(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=Gn(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(Ri(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()&&Wn(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 ii(e){return e>=97&&e<=122||e>=65&&e<=90}function Pa(e){return ii(e)||e===47}function Ta(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 Wn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Ca(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 ni(e){e.forEach(function(t){if(delete t.location,jn(t)||Nn(t))for(var i in t.options)delete t.options[i].location,ni(t.options[i].value);else Mn(t)&&zn(t.style)||(Bn(t)||In(t))&&Jt(t.style)?delete t.style.location:Un(t)&&ni(t.children)})}function Da(e,t){t===void 0&&(t={}),t=kt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new Aa(e,t).parse();if(i.err){var n=SyntaxError(R[i.err.kind]);throw n.location=i.err.location,n.originalMessage=i.err.message,n}return t!=null&&t.captureLocation||ni(i.val),i.val}var We;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(We||(We={}));var Pt=function(e){At(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),Vi=function(e){At(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('", "'),'"'),We.INVALID_VALUE,r)||this}return t}(Pt),Ma=function(e){At(t,e);function t(i,n,o){return e.call(this,'Value for "'.concat(i,'" must be of type ').concat(n),We.INVALID_VALUE,o)||this}return t}(Pt),Ba=function(e){At(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,'"'),We.MISSING_VALUE,n)||this}return t}(Pt),pe;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(pe||(pe={}));function Ia(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 ja(e){return typeof e=="function"}function bt(e,t,i,n,o,r,a){if(e.length===1&&Ui(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(Ui(d)){l.push({type:pe.literal,value:d.value});continue}if(na(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 Ba(f,a);var y=o[f];if(ia(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(Bn(d)){var b=typeof d.style=="string"?n.date[d.style]:Jt(d.style)?d.style.parsedOptions:void 0;l.push({type:pe.literal,value:i.getDateTimeFormat(t,b).format(y)});continue}if(In(d)){var b=typeof d.style=="string"?n.time[d.style]:Jt(d.style)?d.style.parsedOptions:n.time.medium;l.push({type:pe.literal,value:i.getDateTimeFormat(t,b).format(y)});continue}if(Mn(d)){var b=typeof d.style=="string"?n.number[d.style]:zn(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(Un(d)){var E=d.children,P=d.value,Y=o[P];if(!ja(Y))throw new Ma(P,"function",a);var N=bt(E,t,i,n,o,r),T=Y(N.map(function(B){return B.value}));Array.isArray(T)||(T=[T]),l.push.apply(l,T.map(function(B){return{type:typeof B=="string"?pe.literal:pe.object,value:B}}))}if(jn(d)){var O=d.options[y]||d.options.other;if(!O)throw new Vi(d.value,y,Object.keys(d.options),a);l.push.apply(l,bt(O.value,t,i,n,o));continue}if(Nn(d)){var O=d.options["=".concat(y)];if(!O){if(!Intl.PluralRules)throw new Pt(`Intl.PluralRules is not available in this environment.
|
|
2
2
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
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!
|
|
3
|
+
`,We.MISSING_INTL_API,a);var F=i.getPluralRules(t,{type:d.pluralType}).select(y-(d.offset||0));O=d.options[F]||d.options.other}if(!O)throw new Vi(d.value,y,Object.keys(d.options),a);l.push.apply(l,bt(O.value,t,i,n,o,y-(d.offset||0)));continue}}return Ia(l)}function Na(e,t){return t?xe(xe(xe({},e||{}),t||{}),Object.keys(e).reduce(function(i,n){return i[n]=xe(xe({},e[n]),t[n]||{}),i},{})):e}function Ua(e,t){return t?Object.keys(e).reduce(function(i,n){return i[n]=Na(e[n],t[n]),i},xe({},e)):e}function qt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}function za(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Gt(function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Ft([void 0],i,!1)))},{cache:qt(e.number),strategy:Vt.variadic}),getDateTimeFormat:Gt(function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Ft([void 0],i,!1)))},{cache:qt(e.dateTime),strategy:Vt.variadic}),getPluralRules:Gt(function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Ft([void 0],i,!1)))},{cache:qt(e.pluralRules),strategy:Vt.variadic})}}var Oa=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 bt(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=Kr(a,["formatters"]);this.ast=e.__parse(t,xe(xe({},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=Ua(e.formats,n),this.formatters=o&&o.formatters||za(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=Da,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 Ha(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={},Ra=(e,t,i)=>i&&(t in Me||(Me[t]={}),e in Me[t]||(Me[t][e]=i),i),qn=(e,t)=>{if(t==null)return;if(t in Me&&e in Me[t])return Me[t][e];const i=Tt(t);for(let n=0;n<i.length;n++){const o=i[n],r=Ga(o,e);if(r)return Ra(e,t,r)}};let fi;const mt=St({});function Fa(e){return fi[e]||null}function Xn(e){return e in fi}function Ga(e,t){if(!Xn(e))return null;const i=Fa(e);return Ha(i,t)}function Va(e){if(e==null)return;const t=Tt(e);for(let i=0;i<t.length;i++){const n=t[i];if(Xn(n))return n}}function Kn(e,...t){delete Me[e],mt.update(i=>(i[e]=Xr.all([i[e]||{},...t]),i))}Ke([mt],([e])=>Object.keys(e));mt.subscribe(e=>fi=e);const Lt={};function Wa(e,t){Lt[e].delete(t),Lt[e].size===0&&delete Lt[e]}function Yn(e){return Lt[e]}function qa(e){return Tt(e).map(t=>{const i=Yn(t);return[t,i?[...i]:[]]}).filter(([,t])=>t.length>0)}function oi(e){return e==null?!1:Tt(e).some(t=>{var i;return(i=Yn(t))==null?void 0:i.size})}function Xa(e,t){return Promise.all(t.map(n=>(Wa(e,n),n().then(o=>o.default||o)))).then(n=>Kn(e,...n))}const rt={};function Zn(e){if(!oi(e))return e in rt?rt[e]:Promise.resolve();const t=qa(e);return rt[e]=Promise.all(t.map(([i,n])=>Xa(i,n))).then(()=>{if(oi(e))return Zn(e);delete rt[e]}),rt[e]}const Ka={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"}}},Ya={fallbackLocale:null,loadingDelay:200,formats:Ka,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Za=Ya;function qe(){return Za}const Xt=St(!1);var $a=Object.defineProperty,Ja=Object.defineProperties,Qa=Object.getOwnPropertyDescriptors,Wi=Object.getOwnPropertySymbols,es=Object.prototype.hasOwnProperty,ts=Object.prototype.propertyIsEnumerable,qi=(e,t,i)=>t in e?$a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,is=(e,t)=>{for(var i in t||(t={}))es.call(t,i)&&qi(e,i,t[i]);if(Wi)for(var i of Wi(t))ts.call(t,i)&&qi(e,i,t[i]);return e},ns=(e,t)=>Ja(e,Qa(t));let ri;const Et=St(null);function Xi(e){return e.split("-").map((t,i,n)=>n.slice(0,i+1).join("-")).reverse()}function Tt(e,t=qe().fallbackLocale){const i=Xi(e);return t?[...new Set([...i,...Xi(t)])]:i}function Ie(){return ri!=null?ri:void 0}Et.subscribe(e=>{ri=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const os=e=>{if(e&&Va(e)&&oi(e)){const{loadingDelay:t}=qe();let i;return typeof window!="undefined"&&Ie()!=null&&t?i=window.setTimeout(()=>Xt.set(!0),t):Xt.set(!0),Zn(e).then(()=>{Et.set(e)}).finally(()=>{clearTimeout(i),Xt.set(!1)})}return Et.set(e)},Ye=ns(is({},Et),{set:os}),Ct=e=>{const t=Object.create(null);return n=>{const o=JSON.stringify(n);return o in t?t[o]:t[o]=e(n)}};var rs=Object.defineProperty,xt=Object.getOwnPropertySymbols,$n=Object.prototype.hasOwnProperty,Jn=Object.prototype.propertyIsEnumerable,Ki=(e,t,i)=>t in e?rs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,hi=(e,t)=>{for(var i in t||(t={}))$n.call(t,i)&&Ki(e,i,t[i]);if(xt)for(var i of xt(t))Jn.call(t,i)&&Ki(e,i,t[i]);return e},Ze=(e,t)=>{var i={};for(var n in e)$n.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(e!=null&&xt)for(var n of xt(e))t.indexOf(n)<0&&Jn.call(e,n)&&(i[n]=e[n]);return i};const dt=(e,t)=>{const{formats:i}=qe();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},as=Ct(e=>{var t=e,{locale:i,format:n}=t,o=Ze(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(o=dt("number",n)),new Intl.NumberFormat(i,o)}),ss=Ct(e=>{var t=e,{locale:i,format:n}=t,o=Ze(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?o=dt("date",n):Object.keys(o).length===0&&(o=dt("date","short")),new Intl.DateTimeFormat(i,o)}),ls=Ct(e=>{var t=e,{locale:i,format:n}=t,o=Ze(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?o=dt("time",n):Object.keys(o).length===0&&(o=dt("time","short")),new Intl.DateTimeFormat(i,o)}),us=(e={})=>{var t=e,{locale:i=Ie()}=t,n=Ze(t,["locale"]);return as(hi({locale:i},n))},cs=(e={})=>{var t=e,{locale:i=Ie()}=t,n=Ze(t,["locale"]);return ss(hi({locale:i},n))},ds=(e={})=>{var t=e,{locale:i=Ie()}=t,n=Ze(t,["locale"]);return ls(hi({locale:i},n))},ms=Ct((e,t=Ie())=>new Oa(e,t,qe().formats,{ignoreTag:qe().ignoreTag})),ps=(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=qn(e,c);if(!d)d=(r=(o=(n=(i=qe()).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=ms(d,c).format(l)}catch(y){y instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,y.message)}return f},fs=(e,t)=>ds(t).format(e),hs=(e,t)=>cs(t).format(e),gs=(e,t)=>us(t).format(e),ys=(e,t=Ie())=>qn(e,t),vs=Ke([Ye,mt],()=>ps);Ke([Ye],()=>fs);Ke([Ye],()=>hs);Ke([Ye],()=>gs);Ke([Ye,mt],()=>ys);function Yi(e,t){Kn(e,t)}function bs(e){Ye.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
|
|
30
|
+
***************************************************************************** */var ai=function(e,t){return ai=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])},ai(e,t)};function pt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ai(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}function si(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 li(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 ui(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 Qn(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 Kt=Qn(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 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
|
|
32
|
+
`):"",this.name="UnsubscriptionError",this.errors=i}});function ci(e,t){if(e){var i=e.indexOf(t);0<=i&&e.splice(i,1)}}var Dt=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=si(a),c=l.next();!c.done;c=l.next()){var u=c.value;u.remove(this)}}catch(P){t={error:P}}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(P){r=P instanceof Kt?P.errors:[P]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var y=si(f),b=y.next();!b.done;b=y.next()){var E=b.value;try{Zi(E)}catch(P){r=r!=null?r:[],P instanceof Kt?r=ui(ui([],li(r)),li(P.errors)):r.push(P)}}}catch(P){n={error:P}}finally{try{b&&!b.done&&(o=y.return)&&o.call(y)}finally{if(n)throw n.error}}}if(r)throw new Kt(r)}},e.prototype.add=function(t){var i;if(t&&t!==this)if(this.closed)Zi(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)&&ci(i,t)},e.prototype.remove=function(t){var i=this._finalizers;i&&ci(i,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),eo=Dt.EMPTY;function to(e){return e instanceof Dt||e&&"closed"in e&&Te(e.remove)&&Te(e.add)&&Te(e.unsubscribe)}function Zi(e){Te(e)?e():e.unsubscribe()}var Ls={Promise:void 0},_s={setTimeout:function(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];return setTimeout.apply(void 0,ui([e,t],li(i)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function ws(e){_s.setTimeout(function(){throw e})}function $i(){}function _t(e){e()}var io=function(e){pt(t,e);function t(i){var n=e.call(this)||this;return n.isStopped=!1,i?(n.destination=i,to(i)&&i.add(n)):n.destination=xs,n}return t.create=function(i,n,o){return new di(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}(Dt),ks=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){yt(n)}},e.prototype.error=function(t){var i=this.partialObserver;if(i.error)try{i.error(t)}catch(n){yt(n)}else yt(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(i){yt(i)}},e}(),di=function(e){pt(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 ks(a),r}return t}(io);function yt(e){ws(e)}function Es(e){throw e}var xs={closed:!0,next:$i,error:Es,complete:$i},Ss=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function As(e){return e}function Ps(e){return e.length===0?As:e.length===1?e[0]:function(i){return e.reduce(function(n,o){return o(n)},i)}}var Ji=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=Cs(t)?t:new di(t,i,n);return _t(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=Qi(i),new i(function(o,r){var a=new di({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[Ss]=function(){return this},e.prototype.pipe=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return Ps(t)(this)},e.prototype.toPromise=function(t){var i=this;return t=Qi(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 Qi(e){var t;return(t=e!=null?e:Ls.Promise)!==null&&t!==void 0?t:Promise}function Ts(e){return e&&Te(e.next)&&Te(e.error)&&Te(e.complete)}function Cs(e){return e&&e instanceof io||Ts(e)&&to(e)}var Ds=Qn(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),no=function(e){pt(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 en(this,this);return n.operator=i,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ds},t.prototype.next=function(i){var n=this;_t(function(){var o,r;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=si(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;_t(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;_t(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?eo:(this.currentObservers=null,l.push(i),new Dt(function(){n.currentObservers=null,ci(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 Ji;return i.source=this,i},t.create=function(i,n){return new en(i,n)},t}(Ji),en=function(e){pt(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:eo},t}(no),oo={now:function(){return(oo.delegate||Date).now()},delegate:void 0},Ms=function(e){pt(t,e);function t(i,n,o){i===void 0&&(i=1/0),n===void 0&&(n=1/0),o===void 0&&(o=oo);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}(no);const tn=[],nn={},Bs=(e,t=0)=>{if(tn.indexOf(e)==-1){const i=new Ms(t);nn[e]=i,tn.push(e)}return nn[e]};window.emWidgets={topic:Bs};const Is=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;const He="__WIDGET_GLOBAL_STYLE_CACHE__";function js(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function Ns(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 Us(e,t,i,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return i=zs(e,t),i;window[He]||(window[He]={}),i=Os(e,t);const r=i.unsubscribe.bind(i),a=()=>{if(window[He][t]){const l=window[He][t];l.refCount>1?l.refCount=l.refCount-1:delete window[He][t]}r()};return i.unsubscribe=a,i}function zs(e,t){const i=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(i.innerHTML=n,e.appendChild(i))})}function Os(e,t){return window.emMessageBus.subscribe(t,i=>{var l;if(!e)return;const n=e.getRootNode(),o=window[He];let r=(l=o[t])==null?void 0:l.sheet;r?o[t].refCount=o[t].refCount+1:(r=new CSSStyleSheet,r.replaceSync(i),o[t]={sheet:r,refCount:1});const a=n.adoptedStyleSheets||[];a.includes(r)||(n.adoptedStyleSheets=[...a,r])})}function Hs(e){dr(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 on(e,t,i){const n=e.slice();return n[137]=t[i],n}function rn(e,t,i){const n=e.slice();return n[140]=t[i],n[142]=i,n}function an(e,t,i){const n=e.slice();return n[140]=t[i],n}function sn(e,t,i){const n=e.slice();return n[145]=t[i],n}function Rs(e,t,i){const n=e.slice();return n[134]=t[i],n}function ln(e,t,i){const n=e.slice();return n[148]=t[i],n}function un(e){let t,i,n;function o(l,c){return l[20]?l[27]&&!l[18]?Gs:Fs:Vs}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){A(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&&S(t),a.d()}}}function Fs(e){let t,i,n=e[29]("popupTitle")+"",o,r,a,l,c,u,d,f,y,b,E,P,Y;function N(x,G){return x[18]?Xs:x[23]==2?qs:Ws}let T=N(e),O=T(e);function F(x,G){return x[18]?Zs:x[23]==2?Ys:Ks}let B=F(e),C=B(e);function q(x,G){return x[23]==2?Js:$s}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(),C.c(),f=z(),y=L("p"),b=z(),_.c(),E=pi(),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,G){A(x,t,G),p(t,i),p(i,o),p(t,r),p(t,a),A(x,l,G),A(x,c,G),p(c,u),O.m(u,null),p(u,d),C.m(u,null),p(c,f),p(c,y),y.innerHTML=e[21],A(x,b,G),_.m(x,G),A(x,E,G),P||(Y=se(a,"click",e[42]),P=!0)},p(x,G){G[0]&536870912&&n!==(n=x[29]("popupTitle")+"")&&j(o,n),T!==(T=N(x))&&(O.d(1),O=T(x),O&&(O.c(),O.m(u,d))),B===(B=F(x))&&C?C.p(x,G):(C.d(1),C=B(x),C&&(C.c(),C.m(u,null))),G[0]&2097152&&(y.innerHTML=x[21]),H===(H=q(x))&&_?_.p(x,G):(_.d(1),_=H(x),_&&(_.c(),_.m(E.parentNode,E)))},d(x){x&&(S(t),S(l),S(c),S(b),S(E)),O.d(),C.d(),_.d(x),P=!1,Y()}}}function Gs(e){let t,i,n=e[29]("documentUploadTitle")+"",o,r,a,l,c,u,d,f,y,b,E=e[29]("uploadDocumentHeader")+"",P,Y,N,T=e[29]("uploadDocumentContent")+"",O,F,B,C,q,H=e[29]("uploadHistory")+"",_,x,G,ne,D,k=e[29]("submitButton")+"",I,X,ge,K;function Ae(V,le){return V[25]&&V[25].length>0?el:Qs}let we=Ae(e),de=we(e),Q=!e[26]&&e[25]&&e[25].length>0&&dn(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=z(),b=L("header"),
|
|
41
|
+
C310.4,285.3,318.9,285.3,324.2,280z"></path></g></g></svg>`,y=z(),b=L("header"),P=M(E),Y=z(),N=L("span"),O=z(),F=L("input"),B=z(),C=L("div"),q=L("p"),_=M(H),x=z(),de.c(),G=z(),Q&&Q.c(),ne=z(),D=L("button"),I=M(k),h(i,"class","PopupTitle"),h(a,"class","ClosePopup"),h(t,"class","PopupTitleWrapper"),h(f,"class","icon"),h(F,"id","files"),h(F,"type","file"),Re(F,"display","none"),h(d,"class","documentDragArea"),h(d,"for","files"),h(q,"class","historyHeader"),h(C,"class","uploadHistory"),h(D,"class","SubmitDocumentButton "+(e[30]?"":"Mobile")),D.disabled=X=!e[25]||!(e[25].length>0)||!e[26],h(u,"class","documentAction"),h(c,"class","DescriptionWrapper")},m(V,le){A(V,t,le),p(t,i),p(i,o),p(t,r),p(t,a),A(V,l,le),A(V,c,le),p(c,u),p(u,d),p(d,f),p(d,y),p(d,b),p(b,P),p(d,Y),p(d,N),N.innerHTML=T,p(d,O),p(d,F),p(u,B),p(u,C),p(C,q),p(q,_),p(C,x),de.m(C,null),p(u,G),Q&&Q.m(u,null),p(u,ne),p(u,D),p(D,I),ge||(K=[se(a,"click",e[42]),se(F,"change",e[62]),se(D,"click",e[45])],ge=!0)},p(V,le){le[0]&536870912&&n!==(n=V[29]("documentUploadTitle")+"")&&j(o,n),le[0]&536870912&&E!==(E=V[29]("uploadDocumentHeader")+"")&&j(P,E),le[0]&536870912&&T!==(T=V[29]("uploadDocumentContent")+"")&&(N.innerHTML=T),le[0]&536870912&&H!==(H=V[29]("uploadHistory")+"")&&j(_,H),we===(we=Ae(V))&&de?de.p(V,le):(de.d(1),de=we(V),de&&(de.c(),de.m(C,null))),!V[26]&&V[25]&&V[25].length>0?Q?Q.p(V,le):(Q=dn(V),Q.c(),Q.m(u,ne)):Q&&(Q.d(1),Q=null),le[0]&536870912&&k!==(k=V[29]("submitButton")+"")&&j(I,k),le[0]&100663296&&X!==(X=!V[25]||!(V[25].length>0)||!V[26])&&(D.disabled=X)},d(V){V&&(S(t),S(l),S(c)),de.d(),Q&&Q.d(),ge=!1,Se(K)}}}function Vs(e){let t;return{c(){t=L("div"),h(t,"class","LoadingIndicator")},m(i,n){A(i,t,n)},p:fe,d(i){i&&S(t)}}}function Ws(e){let t,i,n,o,r,a;return{c(){t=$("svg"),i=$("defs"),n=$("style"),o=M(`.fil0 {
|
|
42
42
|
fill: black;
|
|
43
43
|
fill-rule: nonzero;
|
|
44
44
|
}
|
|
45
|
-
`),r
|
|
45
|
+
`),r=$("g"),a=$("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"),Re(t,"shape-rendering","geometricPrecision"),Re(t,"text-rendering","geometricPrecision"),Re(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){A(l,t,c),p(t,i),p(i,n),p(n,o),p(t,r),p(r,a)},d(l){l&&S(t)}}}function qs(e){let t,i,n;return{c(){t=$("svg"),i=$("g"),n=$("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"),
|
|
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"),Re(t,"enable-background","new 0 0 512 512"),h(t,"xml:space","preserve")},m(o,r){A(o,t,r),p(t,i),p(i,n)},d(o){o&&S(t)}}}function Xs(e){let t,i,n,o,r,a,l,c,u,d,f,y,b,E,P,Y,N,T,O;return{c(){t=$("svg"),i=$("g"),n=$("path"),o=$("path"),r=$("g"),a=$("g"),l=$("g"),c=$("g"),u=$("g"),d=$("g"),f=$("g"),y=$("g"),b=$("g"),E=$("g"),P=$("g"),Y=$("g"),N=$("g"),T=$("g"),O=$("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"),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&<(()=>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&<(()=>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"&>ag({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;
|
|
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"),Re(t,"enable-background","new 0 0 52 52"),h(t,"xml:space","preserve")},m(F,B){A(F,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,E),p(t,P),p(t,Y),p(t,N),p(t,T),p(t,O)},d(F){F&&S(t)}}}function Ks(e){let t,i=e[29]("popupSuccess")+"",n;return{c(){t=L("p"),n=M(i)},m(o,r){A(o,t,r),p(t,n)},p(o,r){r[0]&536870912&&i!==(i=o[29]("popupSuccess")+"")&&j(n,i)},d(o){o&&S(t)}}}function Ys(e){let t,i=e[29]("docsRequired")+"",n;return{c(){t=L("p"),n=M(i)},m(o,r){A(o,t,r),p(t,n)},p(o,r){r[0]&536870912&&i!==(i=o[29]("docsRequired")+"")&&j(n,i)},d(o){o&&S(t)}}}function Zs(e){let t,i=e[29]("popupError")+"",n;return{c(){t=L("p"),n=M(i)},m(o,r){A(o,t,r),p(t,n)},p(o,r){r[0]&536870912&&i!==(i=o[29]("popupError")+"")&&j(n,i)},d(o){o&&S(t)}}}function $s(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){A(a,t,l),p(t,n),o||(r=se(t,"click",e[42]),o=!0)},p(a,l){l[0]&536870912&&i!==(i=a[29]("okButton")+"")&&j(n,i)},d(a){a&&S(t),o=!1,r()}}}function Js(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){A(u,t,d),t.innerHTML=i,A(u,n,d),A(u,o,d),p(o,a),l||(c=[se(t,"click",e[43]),se(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&&(S(t),S(n),S(o)),l=!1,Se(c)}}}function Qs(e){let t,i=e[29]("noFileUploaded")+"",n;return{c(){t=L("p"),n=M(i),h(t,"class","historyItem")},m(o,r){A(o,t,r),p(t,n)},p(o,r){r[0]&536870912&&i!==(i=o[29]("noFileUploaded")+"")&&j(n,i)},d(o){o&&S(t)}}}function el(e){let t,i=ke(Array.from(e[25])),n=[];for(let o=0;o<i.length;o+=1)n[o]=cn(ln(e,i,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();t=pi()},m(o,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(o,r);A(o,t,r)},p(o,r){if(r[0]&33554432){i=ke(Array.from(o[25]));let a;for(a=0;a<i.length;a+=1){const l=ln(o,i,a);n[a]?n[a].p(l,r):(n[a]=cn(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),Xe(n,o)}}}function cn(e){let t,i=e[148].name+"",n;return{c(){t=L("p"),n=M(i),h(t,"class","historyItem")},m(o,r){A(o,t,r),p(t,n)},p(o,r){r[0]&33554432&&i!==(i=o[148].name+"")&&j(n,i)},d(o){o&&S(t)}}}function dn(e){let t,i=e[29]("filesUploadError")+"",n;return{c(){t=L("p"),n=M(i),h(t,"class","filesError")},m(o,r){A(o,t,r),p(t,n)},p(o,r){r[0]&536870912&&i!==(i=o[29]("filesUploadError")+"")&&j(n,i)},d(o){o&&S(t)}}}function tl(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,E,P,Y,N,T,O=e[29]("setLimit")+"",F,B,C,q,H=ke(e[7]),_=[];for(let k=0;k<H.length;k+=1)_[k]=yn(an(e,H,k));let x=e[1]==="true"&&vn(e),G=e[14]&&bn(e),ne=e[15]&&_n(e),D=e[24]&&kn(e);return{c(){t=L("div"),i=L("div"),n=L("div");for(let k=0;k<_.length;k+=1)_[k].c();o=z(),r=L("form"),x&&x.c(),a=z(),G&&G.c(),l=z(),ne&&ne.c(),c=z(),u=L("label"),d=L("span"),y=M(f),b=z(),E=L("input"),Y=z(),D&&D.c(),N=z(),T=L("button"),F=M(O),h(n,"class","LimitsList "+(e[30]?"Desktop":"")),h(d,"class","LimitInputText"),h(E,"type","number"),h(E,"pattern","[0-9]*"),h(E,"step",P=e[4]==="true"?"0.01":"1"),h(u,"class","LimitAmountInputWrapper"),h(T,"class","LimitSubmitButton"),h(T,"type","submit"),T.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(k,I){A(k,t,I),p(t,i),p(i,n);for(let X=0;X<_.length;X+=1)_[X]&&_[X].m(n,null);p(i,o),p(i,r),x&&x.m(r,null),p(r,a),G&&G.m(r,null),p(r,l),ne&&ne.m(r,null),p(r,c),p(r,u),p(u,d),p(d,y),p(u,b),p(u,E),st(E,e[11]),p(u,Y),D&&D.m(u,null),p(r,N),p(r,T),p(T,F),C||(q=[se(E,"input",e[70]),se(E,"input",e[34]),se(r,"submit",e[35])],C=!0)},p(k,I){if(I[0]&1879048324|I[1]&1988){H=ke(k[7]);let X;for(X=0;X<H.length;X+=1){const ge=an(k,H,X);_[X]?_[X].p(ge,I):(_[X]=yn(ge),_[X].c(),_[X].m(n,null))}for(;X<_.length;X+=1)_[X].d(1);_.length=H.length}k[1]==="true"?x?x.p(k,I):(x=vn(k),x.c(),x.m(r,a)):x&&(x.d(1),x=null),k[14]?G?G.p(k,I):(G=bn(k),G.c(),G.m(r,l)):G&&(G.d(1),G=null),k[15]?ne?ne.p(k,I):(ne=_n(k),ne.c(),ne.m(r,c)):ne&&(ne.d(1),ne=null),I[0]&536904192&&f!==(f=k[15]?`${k[29]("amount")}`:`${k[29](`new${k[9]}Limit`)}`)&&j(y,f),I[0]&16&&P!==(P=k[4]==="true"?"0.01":"1")&&h(E,"step",P),I[0]&2048&&An(E.value)!==k[11]&&st(E,k[11]),k[24]?D?D.p(k,I):(D=kn(k),D.c(),D.m(u,null)):D&&(D.d(1),D=null),I[0]&536870912&&O!==(O=k[29]("setLimit")+"")&&j(F,O),I[0]&16777216&&(T.disabled=k[24]),I[0]&8&&B!==(B="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+k[3]))&&h(t,"class",B)},d(k){k&&S(t),Xe(_,k),x&&x.d(),G&&G.d(),ne&&ne.d(),D&&D.d(),C=!1,Se(q)}}}function il(e){let t;return{c(){t=L("p"),t.textContent="500 Server error"},m(i,n){A(i,t,n)},p:fe,d(i){i&&S(t)}}}function nl(e){let t,i,n,o,r,a,l=ke(Array(3)),c=[];for(let u=0;u<l.length;u+=1)c[u]=gl(Rs(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){A(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),Xe(c,u)}}}function ol(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){A(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&&S(t)}}}function rl(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){A(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&&S(t)}}}function al(e){let t,i=ke(e[140].currentLimits),n=[];for(let o=0;o<i.length;o+=1)n[o]=gn(sn(e,i,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();t=pi()},m(o,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(o,r);A(o,t,r)},p(o,r){if(r[0]&1879048324|r[1]&1476){i=ke(o[140].currentLimits);let a;for(a=0;a<i.length;a+=1){const l=sn(o,i,a);n[a]?n[a].p(l,r):(n[a]=gn(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),Xe(n,o)}}}function sl(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){A(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&&S(t)}}}function ll(e){let t,i=`${e[41](e[145])}`,n;return{c(){t=L("span"),n=M(i)},m(o,r){A(o,t,r),p(t,n)},p(o,r){r[0]&128&&i!==(i=`${o[41](o[145])}`)&&j(n,i)},d(o){o&&S(t)}}}function ul(e){let t,i=`${e[41](e[145],!0)}`,n;return{c(){t=L("span"),n=M(i)},m(o,r){A(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&&S(t)}}}function mn(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){A(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&&S(t)}}}function cl(e){let t,i,n=`${e[41](e[145],!0)}`,o,r;function a(u,d){return u[145].isCoolOffCompleted?hl:fl}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){A(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&&S(t),c.d()}}}function dl(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){A(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&&S(t)}}}function ml(e){let t,i=`${e[29]("removeAfterConfirm")}`,n;return{c(){t=L("div"),n=M(i),h(t,"class","PendingLimit")},m(o,r){A(o,t,r),p(t,n)},p(o,r){r[0]&536870912&&i!==(i=`${o[29]("removeAfterConfirm")}`)&&j(n,i)},d(o){o&&S(t)}}}function pl(e){let t,i=`${e[29]("acknowledgedLimit")}`,n;return{c(){t=L("div"),n=M(i),h(t,"class","PendingLimit")},m(o,r){A(o,t,r),p(t,n)},p(o,r){r[0]&536870912&&i!==(i=`${o[29]("acknowledgedLimit")}`)&&j(n,i)},d(o){o&&S(t)}}}function fl(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){A(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&&S(i)}}}function hl(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){A(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&&S(i)}}}function pn(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){A(c,t,u),p(t,i),p(i,o),a||(l=se(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&&S(t),a=!1,l()}}}function fn(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){A(c,t,u),p(t,i),p(i,o),r||(a=se(i,"click",l),r=!0)},p(c,u){e=c,u[0]&536870912&&n!==(n=e[29]("removeLimit")+"")&&j(o,n)},d(c){c&&S(t),r=!1,a()}}}function hn(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,E){A(b,t,E),p(t,i),p(i,o),p(t,r),p(t,a),p(a,c),u||(d=[se(i,"click",f),se(a,"click",y)],u=!0)},p(b,E){e=b,E[0]&536870912&&n!==(n=e[29]("confirmUpdateLimit")+"")&&j(o,n),E[0]&536870912&&l!==(l=e[29]("cancelUpdateLimit")+"")&&j(c,l)},d(b){b&&S(t),u=!1,Se(d)}}}function gn(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,E;function P(_,x){return _[145].acknowledgedLimit?ul:ll}let Y=P(e),N=Y(e),T=e[145].reviewPending&&e[145].reviewPending.id&&mn(e);function O(_,x){if(_[145].acknowledgedLimit)return pl;if(_[145].isModified&&_[145].updateAmount==0&&_[145].isCoolOffCompleted)return ml;if(_[145].isModified&&_[145].updateAmount==0&&!_[145].isCoolOffCompleted)return dl;if(_[145].isModified)return cl}let F=O(e),B=F&&F(e),C=e[145].acknowledgedLimit&&!e[145].reviewPending.id&&pn(e),q=y&&fn(e),H=e[145].isCoolOffCompleted&!e[145].acknowledgedLimit&&!e[145].reviewPending.id&&hn(e);return{c(){t=L("div"),i=L("div"),n=L("div"),o=L("div"),N.c(),r=z(),l=M(a),c=z(),T&&T.c(),u=z(),B&&B.c(),d=z(),C&&C.c(),f=z(),q&&q.c(),b=z(),H&&H.c(),E=z(),h(o,"class","CurrentLimit"),h(n,"class","CurrentLimitContainer"),h(i,"class","LimitDetailsTextWrapper"),h(t,"class","LimitDetails")},m(_,x){A(_,t,x),p(t,i),p(i,n),p(n,o),N.m(o,null),p(o,r),p(o,l),p(n,c),T&&T.m(n,null),p(n,u),B&&B.m(n,null),p(i,d),C&&C.m(i,null),p(i,f),q&&q.m(i,null),p(i,b),H&&H.m(i,null),p(t,E)},p(_,x){Y===(Y=P(_))&&N?N.p(_,x):(N.d(1),N=Y(_),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?T?T.p(_,x):(T=mn(_),T.c(),T.m(n,u)):T&&(T.d(1),T=null),F===(F=O(_))&&B?B.p(_,x):(B&&B.d(1),B=F&&F(_),B&&(B.c(),B.m(n,null))),_[145].acknowledgedLimit&&!_[145].reviewPending.id?C?C.p(_,x):(C=pn(_),C.c(),C.m(i,f)):C&&(C.d(1),C=null),x[0]&132&&(y=!_[145].isModified&&_[2].indexOf(_[140].value)>-1&&!_[145].reviewPending.id),y?q?q.p(_,x):(q=fn(_),q.c(),q.m(i,b)):q&&(q.d(1),q=null),_[145].isCoolOffCompleted&!_[145].acknowledgedLimit&&!_[145].reviewPending.id?H?H.p(_,x):(H=hn(_),H.c(),H.m(i,null)):H&&(H.d(1),H=null)},d(_){_&&S(t),N.d(),T&&T.d(),B&&B.d(),C&&C.d(),q&&q.d(),H&&H.d()}}}function yn(e){let t,i,n=e[40](e[140])+"",o,r,a;function l(d,f){var y;return d[140].value==="lugas"?sl:((y=d[140].currentLimits)==null?void 0:y.length)>0?al:d[140].value==="lugas"?rl:ol}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){A(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&&S(t),u.d()}}}function vn(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){A(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&&S(t)}}}function bn(e){let t,i,n=e[29]("limitType")+"",o,r,a,l,c,u=ke(e[7]),d=[];for(let f=0;f<u.length;f+=1)d[f]=Ln(rn(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&&ut(()=>e[67].call(a)),h(t,"class","LimitTypeDropdownWrapper")},m(f,y){A(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);wt(a,e[10],!0),l||(c=[se(a,"change",e[67]),se(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=ke(f[7]);let b;for(b=0;b<u.length;b+=1){const E=rn(f,u,b);d[b]?d[b].p(E,y):(d[b]=Ln(E),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&&wt(a,f[10])},d(f){f&&S(t),Xe(d,f),l=!1,Se(c)}}}function Ln(e){let t,i=e[40](e[140])+"",n;return{c(){t=L("option"),n=M(i),t.__value=e[142],st(t,t.__value)},m(o,r){A(o,t,r),p(t,n)},p(o,r){r[0]&128&&i!==(i=o[40](o[140])+"")&&j(n,i)},d(o){o&&S(t)}}}function _n(e){let t,i,n=e[29]("period")+"",o,r,a,l,c,u=ke(e[6][e[8]].periods),d=[];for(let f=0;f<u.length;f+=1)d[f]=wn(on(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&&ut(()=>e[69].call(a)),h(t,"class","LimitPeriodDropdownWrapper")},m(f,y){A(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);wt(a,e[9],!0),l||(c=se(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=ke(f[6][f[8]].periods);let b;for(b=0;b<u.length;b+=1){const E=on(f,u,b);d[b]?d[b].p(E,y):(d[b]=wn(E),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&&wt(a,f[9])},d(f){f&&S(t),Xe(d,f),l=!1,c()}}}function wn(e){let t,i=e[29](e[137])+"",n,o;return{c(){t=L("option"),n=M(i),t.__value=o=e[137],st(t,t.__value),t.selected=!0},m(r,a){A(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,st(t,t.__value))},d(r){r&&S(t)}}}function kn(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){A(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&&S(t)}}}function gl(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){A(i,t,n)},p:fe,d(i){i&&S(t)}}}function yl(e){let t,i,n=e[19]&&un(e);function o(l,c){if(l[16])return nl;if(l[17])return il;if(!l[16])return tl}let r=o(e),a=r&&r(e);return{c(){t=L("div"),n&&n.c(),i=z(),a&&a.c()},m(l,c){A(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=un(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[71](null)}}}function vl(e,t,i){let n;cr(e,vs,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:E=""}=t,{periodsconfig:P=""}=t,{limittabindex:Y=""}=t,{limitformat:N=""}=t,{inputhasdecimals:T}=t,{allowedextenssion:O=".jpg,.jpeg,.png,.pdf,.webp,image/png"}=t,{filesizeallow:F="12934000"}=t,{clientstyling:B=""}=t,{clientstylingurl:C=""}=t,{mbsource:q}=t,{translationurl:H=""}=t,_,x,G=window.navigator.userAgent,ne=!Is(G),D=[],k="",I="",X="",ge=0,K,Ae="",we="",de="",Q={},V={},le=!1,Mt=!1,oe=!0,ue=!1,Bt=!1,je=!1,ye=!1,he="",$e="",ce=[],Je,gi,Qe=!1,ao={},Pe="",Be,ft={remove:{}},Ce=!1,et=!1,Ne={EUR:"€",RON:" lei",USD:"$"},re={};const It={wager:"wagering",loss:"loss",deposit:"deposit",netdeposit:"netdeposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"},yi={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]},so=()=>{fetch(H).then(m=>m.json()).then(m=>{Object.keys(m).forEach(g=>{Yi(g,m[g])})}).catch(m=>{console.log(m)})};Object.keys(De).forEach(s=>{Yi(s,De[s])});const jt=s=>`dataLayer-${s}`,ae=(s,m)=>{typeof gtag=="function"&>ag({event:s,limit_category:De[o][jt(X.toLowerCase())]||X,limit_type:De[o][jt(k.toLowerCase())]||k,limit_period:De[o][jt(I.toLowerCase())]||I,limit_amount:K||m})},lo=()=>{var v;const s=E.split(",").map(w=>w.split(":")),m=P.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,J)=>{const be=U[0].slice(U[0].indexOf("(")+1,U[0].indexOf(")")),Le=U[0].slice(0,U[0].indexOf("(")),zt=U[1],ht=m[J][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),nt={value:be,product:Le,minMax:zt,periods:ht,callValue:Z[be].callValue,callValue16:Z[be].callValue16,title:Z[be].title};return w.push(nt),w},[]);for(let w=0;w<g.length;w++)i(7,D[w].product=g[w].product,D),i(7,D[w].min=parseInt(g[w].minMax.split("-")[0],10),D),i(7,D[w].max=parseInt(g[w].minMax.split("-")[1],10),D),i(6,Z[g[w].value].periods=g[w].periods,Z);de=(v=D[0])==null?void 0:v.value,D.forEach(w=>{Q[w.value]={min:w.min,max:w.max},ao[w.value]=w.product}),Q&&(Q[de]?(i(12,Ae=Q[de].min),i(13,we=Q[de].max)):(i(12,Ae=1),i(13,we=9999999)))},uo=()=>{const s=/\(([^)]+)\)/g;return[...E.matchAll(s)].flat().filter(g=>!g.includes("("))},co=()=>{uo().forEach(m=>{Z[m]?D.push(ot({},Z[m])):console.error(`Unknown limit: ${m}`)}),lo(),i(8,k=D[0].value),i(9,I=Z[k].periods[0]),X=D[0].product,i(14,le=D.length>1),i(15,Mt=Z[k].periods.length>1)},vi=()=>{i(8,k=D[ge].value),i(9,I=Z[k].periods[0]),i(15,Mt=Z[k].periods.length>1)},bi=()=>{X=D[ge].product},me=s=>{if(s.status>=300)mo(s);else return i(18,Bt=!1),s.status!==204?s.json():s},mo=s=>{i(17,ue=!0);let m;throw s.json().then(g=>{for(const v in yi)if(g.error&&yi[v].some(w=>g.error.includes(w))){m=v;break}console.error("errType",m),!m&&it(g)}).finally(()=>{m&&it(m),i(17,ue=!1),i(16,oe=!1)}),new Error("An error occured during the fetch request")},po=()=>{if(!(K>0))return;Ee(),i(16,oe=!0);let s=new URL(`/v2/player/${c}/limits`,u),m={};k==="sessionLimit"?m={sessionLimit:K,sessionLimitUnit:"minute"}:k==="cumulativeSession"?m[Z[k].callValue]=[{period:I,minutes:K}]:m[Z[k].callValue]=[{period:Z[k].periods[0]==="None"?null:I,amount:K,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=>{ae("self_limitation_success"),ve()}).catch(v=>{console.error(v),i(17,ue=!0)})},Li=()=>{const m=D[ge].currentLimits.find(Le=>Le.period===I),g=So();if(g&&g.reviewPending&&g.reviewPending.id)return window.postMessage({type:"WidgetNotification",data:{type:"error",message:n("limitInDocReview")}},window.location.href);if(Ee(),i(16,oe=!0),g&&g.reviewRequired&&!Pe&&K>g.amount){i(27,et=!0),i(20,ye=!0);return}const v=m?"v2":"v1",w=new URL(`/${v}/player/${c}/limits/monetary/${m?m.id:""}`,u),U=m?"PUT":"POST",J=m?Pe?{amount:K,skipCoolOff:!1,payload:{DocumentId:Pe}}:{amount:K,skipCoolOff:!1}:{amount:K,currency:r,period:Z[k].periods[0]==="None"?null:I,type:Z[k].callValue16,products:[X!=null?X:"All"],walletTypes:["Deposit","NetDeposit"].includes(Z[k].callValue16)?["All"]:["RealCash"]};let be={method:U,headers:{"X-SessionID":l,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(J)};fetch(w.href,be).then(Le=>me(Le)).then(Le=>{ae("self_limitation_success"),ve()}).catch(Le=>{console.log(Le)}).finally(()=>{i(27,et=!1),Pe=""})},fo=()=>{if(!(K>0))return;Ee(),i(16,oe=!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:K,sessionLimitUnit:"minute"})};fetch(s.href,v).then(w=>me(w)).then(w=>{ae("self_limitation_success"),ve()}).catch(w=>{console.log(w),i(17,ue=!0)})},ho=()=>{if(!(K>0))return;Ee(),i(16,oe=!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:I,minutes:K}]})};fetch(s.href,v).then(w=>me(w)).then(w=>{ae("self_limitation_success"),ve()}).catch(w=>{console.log(w),i(17,ue=!0)})},go=()=>{if(!(K>0))return;Ee(),i(16,oe=!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:K,roleLimitAmount:0,softMigration:!1,keepLimit:!1})};fetch(s.href,v).then(w=>me(w)).then(w=>{i(23,Je=w.popup),w.operatorDepositLimitAmount,gi=w.regulatorDepositLimitAmount,ae("self_limitation_success"),ve()}).catch(w=>{console.log(w),i(17,ue=!0)})},yo=()=>{if(V={},d==="gm16")switch(k){case"lugas":go();break;case"sessionLimit":fo();break;case"cumulativeSession":ho();break;default:Li();break}else if(d==="gmcore")po();else throw Error(`Invalid apiversion attribute: ${d}`);ae("self_limitation_request")},ve=()=>{switch(d){case"gmcore":vo();break;case"gm16":bo();break}},vo=()=>{i(16,oe=!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,je&&it(),_i(ce),Lo(ce),i(11,K=null)}).catch(g=>{console.error("Error LimitsWidget: ",g),i(17,ue=!0)}).finally(()=>{i(16,oe=!1)})},bo=()=>{i(16,oe=!0),ce=[];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=>{ce.push(w),d==="gm16"?_o(w):d==="gmcore"&&_i([w]),je&&it(),i(11,K=null)}).catch(w=>{console.error("Error LimitsWidget: ",w),i(17,ue=!0)}).finally(()=>{g&&i(16,oe=!1),g=!0}),fetch(m.href,v).then(w=>me(w)).then(w=>{ce.push(w),d==="gm16"&&(wo(w),ko(w)),je&&it(),i(11,K=null)}).catch(w=>{console.error("Error LimitsWidget: ",w),i(17,ue=!0)}).finally(()=>{g&&i(16,oe=!1),g=!0})},_i=s=>{D.forEach(m=>{m.currentLimits=[];const g=Array.isArray(s[Z[m.value].callValue])?s[Z[m.value].callValue]:[s[Z[m.value].callValue]];g.length===0||g[0]===void 0||(g.forEach((v,w)=>{var J;const U=s[Z[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=(J=Ne[U.currency])!=null?J: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=tt(m.currentLimits))})},Lo=s=>{const m=n("minutes");D.filter(g=>g.value==="sessionLimit"||g.value==="cumulativeSession").forEach(g=>{var v;g.currentLimits=[],(v=s[Z[g.value].callValue])==null||v.forEach((w,U)=>{const J=s[Z[g.value].callValue][U];g.currentLimits.push({limitType:g.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(J.minutes),currency:m,isModified:J.isModified,period:g.value==="cumulativeSession"?J.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(J.updateMinutes),expiryDate:`${new Date(J.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})}),g.currentLimits=tt(g.currentLimits)})},_o=s=>{s!=null&&s.limits&&D.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(J=>J.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(J=>{J.acknowledgedLimit=Object.keys(re).some(be=>J.scheduleId===be)})}m.currentLimits=tt(m.currentLimits)})},wo=s=>{s!=null&&s.sessionLimit&&D.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=tt(m.currentLimits)})},ko=s=>{s!=null&&s.cumulativeSessionLimits&&D.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=tt(m.currentLimits)})},tt=s=>{const m={Daily:0,Weekly:1,Monthly:2};return s.sort((g,v)=>m[g.period]-m[v.period]),s},wi=()=>{if(K===null||Number.isNaN(K)){i(24,Qe=!0);return}if(T==="false"){const s=Math.round(K);K!==s&&i(11,K=s)}i(24,Qe=K<Ae||K>we)},Eo=s=>{s.preventDefault(),wi(),Qe||yo()},ki=()=>{i(24,Qe=!1),Q!=null&&Q[k]?(i(12,Ae=Q[k].min),i(13,we=Q[k].max)):(i(12,Ae=1),i(13,we=9999999))},xo=()=>{if(ce){const s=ce[Z[k].callValue].find(v=>v.period===I),m=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.amount);let g=n("popupImmediateUpdate").replace("{selectedLimit}",Nt(s)).replace("{updatedAmount}",m).replace("{currency}",Ne[s.currency]||s.currency).replace("{selectedPeriod}",n(`${I}`));i(21,he=s.isModified?`${n("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:g)}i(20,ye=!0)},So=()=>{var g;if(!ce)return;const s=((g=ce[0])==null?void 0:g.limits)||ce.limits;let m=null;return Object.keys(V).length>0?m=s.find(v=>v.id===V.id):m=s.find(v=>v.type.toLowerCase()===It[k].toLowerCase()&&(v.period===I||v.period==="None")&&v.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},Ao=()=>{var U;const s=((U=ce[0])==null?void 0:U.limits)||ce.limits;let m=null;if(!ce){i(20,ye=!0);return}Object.keys(V).length>0?m=s.find(J=>J.id===V.id):m=s.find(J=>J.type.toLowerCase()===It[k].toLowerCase()&&(J.period===I||J.period==="None")&&J.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=Pi(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}",Nt(m)).replace("{updatedAmount}",g).replace("{selectedPeriod}",n(`${m.period}`));m.schedules.length>0&&re[m.schedules[0].id]?i(21,he=w):i(21,he=m.schedules.length>0?`${n("popupPendingUpdate")} ${v}`:w),i(20,ye=!0)},Po=()=>{Je==1&&i(22,$e="PopupKyc"),Je==2&&(i(21,he=`${n("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(gi)} ${r} ${n("popup2_b")}`),i(22,$e="PopupKyc2")),Je==3&&(i(21,he=n("popup3")),i(22,$e="PopupSuccess")),i(20,ye=!0)},To=()=>{i(21,he=n("sessionLimitUpdated")),i(20,ye=!0)},Co=()=>{if(ce){const s=ce[Z[k].callValue].find(v=>(v.period===I||I==="None")&&v.products[0]===X),m=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.minutes);let g=n("popupImmediateUpdate").replace("{selectedLimit}",n(`${k}`)).replace("{updatedAmount}",m).replace("{currency}",n("minutes")).replace("{selectedPeriod}",n(`${I}`));i(21,he=s.isModified?`${n("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:g)}i(20,ye=!0)},Do=s=>{var m;return(m=s==null?void 0:s.error)==null?void 0:m.includes("Limit update is not permitted due to LimitUpdateControl")},Mo=s=>{var m;return(m=s==null?void 0:s.error)==null?void 0:m.includes("Limit remove is not permitted due to LimitUpdateControl")},Bo=s=>{var m;return(m=s==null?void 0:s.error)==null?void 0:m.includes("[NotFoundException] Limit does not exist")},Io=s=>{var m;return(m=s==null?void 0:s.error)==null?void 0:m.includes("[Exception] Schedule does not exist")},jo=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"))},it=s=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),ue){if(i(18,Bt=!0),!s){i(20,ye=!0);return}Do(s)?i(21,he=n("popupUpdateLimitException")):Mo(s)?i(21,he=n("popupRemoveLimitException")):Bo(s)?i(21,he=n("notFoundException")):Io(s)?i(21,he=n("scheduleNotFoundException")):jo(s)?i(21,he=n("sessionExpiredException")):i(21,he=n("genericLimitsPopupError")),i(20,ye=!0);return}switch(d){case"gmcore":k==="sessionLimit"||k==="cumulativeSession"?Co():xo();break;case"gm16":k==="lugas"?Po():k==="sessionLimit"||k==="cumulativeSession"?To():Ao();break;default:throw new Error(`Invalid apiversion attribute: ${d}`)}},Ee=()=>{i(19,je=!0),window.postMessage({type:"DisableScroll"},window.location.href)},No=s=>{i(8,k=s.limitType),i(9,I=s.period),Ee(),i(16,oe=!0);let m=new URL(`/v2/player/${c}/limits/${It[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=>{ae("self_limitation_cancel_success",s.amount),ve()}).catch(v=>{ae("self_limitation_cancel_failed",s.amount),console.log(v),i(17,ue=!0)})},Ei=s=>{switch(s.period,ft.remove=s,d){case"gmcore":No(s);break;case"gm16":V=s,s.limitType==="sessionLimit"||s.limitType==="cumulativeSession"?Uo(s):xi(s);break}ae("self_limitation_cancel_request",s.amount)},Uo=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}`)}Ee(),i(16,oe=!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=>{ae("self_limitation_cancel_success",s.amount),ve()}).catch(U=>{ae("self_limitation_cancel_failed",s.amount),console.log(U),i(17,ue=!0)})},xi=s=>{if(Ee(),i(16,oe=!0),s&&s.reviewRequired&&!Pe){i(27,et=!0),i(20,ye=!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=>{ae("self_limitation_cancel_success",s.amount),ve()}).catch(v=>{ae("self_limitation_cancel_failed",s.amount),console.log(v),i(17,ue=!0)}).finally(()=>{ft.remove={},i(27,et=!1),Pe=""})},Si=s=>{const m=new URL(`/v1/player/${c}/limits/schedule/${s.scheduleId}`,u);Ee(),i(16,oe=!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=>{V=s,ae("self_limitation_cancel_success",s.updateAmount),ve()}).catch(v=>{ae("self_limitation_cancel_failed",s.updateAmount),console.log(v),i(17,ue=!0)})},Ai=s=>{const m=new URL(`v1/player/${c}/limits/schedule/acknowledge/${s.scheduleId}`,u);Ee(),i(16,oe=!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=>{V=s,zo(s),ae("self_limitation_confirm_success",s.amount),ve()}).catch(v=>{ae("self_limitation_confirm_failed",s.amount),console.log(v),i(17,ue=!0)})},zo=s=>{let m=60;i(28,re[s.scheduleId]={},re),i(28,re[s.scheduleId].timer=`${m} ${De[o].seconds}`,re),i(28,re[s.scheduleId].timerStopped=!1,re);let g=window.setInterval(()=>m===0?(window.clearInterval(g),i(28,re[s.scheduleId].timerStopped=!0,re),i(28,re[s.scheduleId].timer=De[o].reloadLimitsButton,re)):i(28,re[s.scheduleId].timer=`${--m} ${De[o].seconds}`,re),1e3)},Nt=s=>{let m;return s?m=s.value?n(s.value+s.product):n(s.type.toLowerCase()+s.products[0]):m=n(k),m},Pi=(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=T==="true"?w?parseInt(w[1],10):2:0,J=w?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let be;g?be=s.reviewPending.requestAmount||0:be=m?s.updateAmount:s.amount;let Le=T==="true"?parseFloat(be).toFixed(U):Math.round(parseFloat(be)).toString();const[zt,ht]=N.includes(".")?[",","."]:[".",","];let[nt,Ot]=Le.includes(".")?Le.split("."):[Le,""];if(nt=nt.replace(/\B(?=(\d{3})+(?!\d))/g,zt),v=v.replace("{currency}",Ne[s.currency]||s.currency).replace("{amount}",nt).replace(J,T==="true"&&Ot?Ot:""),T==="true"||!Ot){const ir=ht==="."?"\\.":ht,nr=new RegExp(`${ir}(?=[\\s\\D]|$)`,"g");v=v.replace(nr,"").trim()}return v},Ut=()=>{i(20,ye=i(19,je=!1)),i(22,$e=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},Oo=()=>{window.postMessage({type:"uploadDocuments"},window.location.href),Ut()},Ho=s=>{let m=0;return Object.keys(s).forEach(g=>{m+=s[g].size}),m<=Number(F)},Ro=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},Ti=s=>!s&&!(s.length>0)?i(26,Ce=!1):(i(25,Be=s),Ho(Be)?Ro(Be)?i(26,Ce=!0):(console.error(n("fileExtenssionDeny")),i(26,Ce=!1)):(console.error(n("fileSizeExceeded")),i(26,Ce=!1))),Fo=()=>{if(!Ce)return;i(20,ye=!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=>{Go(g)}).catch(g=>{console.error(n("errorUploadDocument"),g),i(25,Be=null),i(26,Ce=!1)})},Go=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,ft.remove.id?xi(ft.remove):Li()}).catch(g=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:n("errorUploadDocument")}},window.location.href),console.error(n("errorUploadDocument"),g)}).finally(()=>{Ut(),i(25,Be=null),i(26,Ce=!1)})},Vo=()=>{if(!f)return;let s={};f.split(",").forEach(m=>{let g=m.split(":");s[g[0].trim()]=g[1].trim()}),Ne=ot(ot({},Ne),s)},Wo=()=>{bs(o)};yr(()=>()=>{});const qo=s=>Ti(s.target.files),Xo=()=>ve(),Ko=s=>Ei(s),Yo=s=>Ai(s),Zo=s=>Si(s);function $o(){ge=Ii(this),i(10,ge)}const Jo=()=>{bi(),vi(),ki()};function Qo(){I=Ii(this),i(9,I),i(6,Z),i(8,k)}function er(){K=An(this.value),i(11,K)}function tr(s){Yt[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,E=s.amountsconfig),"periodsconfig"in s&&i(54,P=s.periodsconfig),"limittabindex"in s&&i(3,Y=s.limittabindex),"limitformat"in s&&i(55,N=s.limitformat),"inputhasdecimals"in s&&i(4,T=s.inputhasdecimals),"allowedextenssion"in s&&i(56,O=s.allowedextenssion),"filesizeallow"in s&&i(57,F=s.filesizeallow),"clientstyling"in s&&i(58,B=s.clientstyling),"clientstylingurl"in s&&i(59,C=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&&Vo(),e.$$.dirty[1]&12582912&&P&&E&&co(),e.$$.dirty[1]&32768&&o&&Wo(),e.$$.dirty[1]&1998848&&c&&l&&u&&d&&o&&ve(),e.$$.dirty[0]&32|e.$$.dirty[1]&134217728&&B&&_&&js(_,B),e.$$.dirty[0]&32|e.$$.dirty[1]&268435456&&C&&_&&Ns(_,C),e.$$.dirty[0]&32|e.$$.dirty[1]&536870912&&q&&_&&Us(_,`${q}.Style`,x),e.$$.dirty[1]&1073741824&&H&&so()},[r,y,b,Y,T,_,Z,D,k,I,ge,K,Ae,we,le,Mt,oe,ue,Bt,je,ye,he,$e,Je,Qe,Be,Ce,et,re,n,ne,vi,bi,ve,wi,Eo,ki,Ei,Si,Ai,Nt,Pi,Ut,Oo,Ti,Fo,o,a,l,c,u,d,f,E,P,N,O,F,B,C,q,H,qo,Xo,Ko,Yo,Zo,$o,Jo,Qo,er,tr]}class ro extends Tr{constructor(t){super(),Ar(this,t,vl,yl,xn,{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},Hs,[-1,-1,-1,-1,-1])}get lang(){return this.$$.ctx[46]}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[47]}set limits(t){this.$$set({limits:t}),te()}get session(){return this.$$.ctx[48]}set session(t){this.$$set({session:t}),te()}get userid(){return this.$$.ctx[49]}set userid(t){this.$$set({userid:t}),te()}get endpoint(){return this.$$.ctx[50]}set endpoint(t){this.$$set({endpoint:t}),te()}get apiversion(){return this.$$.ctx[51]}set apiversion(t){this.$$set({apiversion:t}),te()}get customcurrencysymbols(){return this.$$.ctx[52]}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[53]}set amountsconfig(t){this.$$set({amountsconfig:t}),te()}get periodsconfig(){return this.$$.ctx[54]}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[55]}set limitformat(t){this.$$set({limitformat:t}),te()}get inputhasdecimals(){return this.$$.ctx[4]}set inputhasdecimals(t){this.$$set({inputhasdecimals:t}),te()}get allowedextenssion(){return this.$$.ctx[56]}set allowedextenssion(t){this.$$set({allowedextenssion:t}),te()}get filesizeallow(){return this.$$.ctx[57]}set filesizeallow(t){this.$$set({filesizeallow:t}),te()}get clientstyling(){return this.$$.ctx[58]}set clientstyling(t){this.$$set({clientstyling:t}),te()}get clientstylingurl(){return this.$$.ctx[59]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),te()}get mbsource(){return this.$$.ctx[60]}set mbsource(t){this.$$set({mbsource:t}),te()}get translationurl(){return this.$$.ctx[61]}set translationurl(t){this.$$set({translationurl:t}),te()}}Pr(ro,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},apiversion:{},customcurrencysymbols:{},enablecompliancetext:{},deletelimit:{},amountsconfig:{},periodsconfig:{},limittabindex:{},limitformat:{},inputhasdecimals:{},allowedextenssion:{},filesizeallow:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=ro;
|