@everymatrix/player-account-gaming-limits-wrapper-2 0.0.386 → 0.0.388
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function i(){return Object.create(null)}function n(e){e.forEach(t)}function r(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function s(t,...i){if(null==t)return e;const n=t.subscribe(...i);return n.unsubscribe?()=>n.unsubscribe():n}function a(e,t,i){e.$$.on_destroy.push(s(t,i))}function l(e,t){e.appendChild(t)}function c(e,t,i){e.insertBefore(t,i||null)}function u(e){e.parentNode.removeChild(e)}function h(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function p(e){return document.createElement(e)}function m(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function d(e){return document.createTextNode(e)}function f(){return d(" ")}function g(){return d("")}function y(e,t,i,n){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i,n)}function b(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function v(e,t,i){t in e?e[t]="boolean"==typeof e[t]&&""===i||i:b(e,t,i)}function L(e){return""===e?null:+e}function E(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function w(e,t){e.value=null==t?"":t}function T(e,t,i,n){null===i?e.style.removeProperty(t):e.style.setProperty(t,i,n?"important":"")}function x(e,t){for(let i=0;i<e.options.length;i+=1){const n=e.options[i];if(n.__value===t)return void(n.selected=!0)}e.selectedIndex=-1}function _(e){const t=e.querySelector(":checked")||e.options[0];return t&&t.__value}function A(e,t,i){e.classList[i?"add":"remove"](t)}function $(e){const t={};for(const i of e)t[i.name]=i.value;return t}let S;function P(e){S=e}function B(e){(function(){if(!S)throw new Error("Function called outside component initialization");return S})().$$.on_mount.push(e)}const H=[],I=[],D=[],C=[],O=Promise.resolve();let N=!1;function R(e){D.push(e)}const M=new Set;let U=0;function k(){const e=S;do{for(;U<H.length;){const e=H[U];U++,P(e),G(e.$$)}for(P(null),H.length=0,U=0;I.length;)I.pop()();for(let e=0;e<D.length;e+=1){const t=D[e];M.has(t)||(M.add(t),t())}D.length=0}while(H.length);for(;C.length;)C.pop()();N=!1,M.clear(),P(e)}function G(e){if(null!==e.fragment){e.update(),n(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(R)}}const j=new Set;function F(e,t){-1===e.$$.dirty[0]&&(H.push(e),N||(N=!0,O.then(k)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function W(o,s,a,l,c,h,p,m=[-1]){const d=S;P(o);const f=o.$$={fragment:null,ctx:null,props:h,update:e,not_equal:c,bound:i(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(d?d.$$.context:[])),callbacks:i(),dirty:m,skip_bound:!1,root:s.target||d.$$.root};p&&p(f.root);let g=!1;if(f.ctx=a?a(o,s.props||{},((e,t,...i)=>{const n=i.length?i[0]:t;return f.ctx&&c(f.ctx[e],f.ctx[e]=n)&&(!f.skip_bound&&f.bound[e]&&f.bound[e](n),g&&F(o,e)),t})):[],f.update(),g=!0,n(f.before_update),f.fragment=!!l&&l(f.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);f.fragment&&f.fragment.l(e),e.forEach(u)}else f.fragment&&f.fragment.c();s.intro&&((y=o.$$.fragment)&&y.i&&(j.delete(y),y.i(b))),function(e,i,o,s){const{fragment:a,on_mount:l,on_destroy:c,after_update:u}=e.$$;a&&a.m(i,o),s||R((()=>{const i=l.map(t).filter(r);c?c.push(...i):n(i),e.$$.on_mount=[]})),u.forEach(R)}(o,s.target,s.anchor,s.customElement),k()}var y,b;P(d)}let V;"function"==typeof HTMLElement&&(V=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(r);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,i){this[e]=i}disconnectedCallback(){n(this.$$.on_disconnect)}$destroy(){!function(e,t){const i=e.$$;null!==i.fragment&&(n(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}(this,1),this.$destroy=e}$on(e,t){const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{const e=i.indexOf(t);-1!==e&&i.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});const z={deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",periods:["Daily","Weekly","Monthly"]},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",periods:["Daily","Weekly","Monthly"]},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",periods:["Monthly"]},stake:{title:"Stake Limit",value:"stake",callValue:"stakeLimit",periods:["Monthly"]}},X=[];function K(t,i=e){let n;const r=new Set;function s(e){if(o(t,e)&&(t=e,n)){const e=!X.length;for(const e of r)e[1](),X.push(e,t);if(e){for(let e=0;e<X.length;e+=2)X[e][0](X[e+1]);X.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const l=[o,a];return r.add(l),1===r.size&&(n=i(s)||e),o(t),()=>{r.delete(l),0===r.size&&(n(),n=null)}}}}function Y(t,i,o){const a=!Array.isArray(t),l=a?[t]:t,c=i.length<2;return u=t=>{let o=!1;const u=[];let h=0,p=e;const m=()=>{if(h)return;p();const n=i(a?u[0]:u,t);c?t(n):p=r(n)?n:e},d=l.map(((e,t)=>s(e,(e=>{u[t]=e,h&=~(1<<t),o&&m()}),(()=>{h|=1<<t}))));return o=!0,m(),function(){n(d),p()}},{subscribe:K(o,u).subscribe};var u}var Z=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===q}(e)}(e)};var q="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function J(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ne((i=e,Array.isArray(i)?[]:{}),e,t):e;var i}function Q(e,t,i){return e.concat(t).map((function(e){return J(e,i)}))}function ee(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function te(e,t){try{return t in e}catch(e){return!1}}function ie(e,t,i){var n={};return i.isMergeableObject(e)&&ee(e).forEach((function(t){n[t]=J(e[t],i)})),ee(t).forEach((function(r){(function(e,t){return te(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,r)||(te(e,r)&&i.isMergeableObject(t[r])?n[r]=function(e,t){if(!t.customMerge)return ne;var i=t.customMerge(e);return"function"==typeof i?i:ne}(r,i)(e[r],t[r],i):n[r]=J(t[r],i))})),n}function ne(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||Q,i.isMergeableObject=i.isMergeableObject||Z,i.cloneUnlessOtherwiseSpecified=J;var n=Array.isArray(t);return n===Array.isArray(e)?n?i.arrayMerge(e,t,i):ie(e,t,i):J(t,i)}ne.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,i){return ne(e,i,t)}),{})};var re=ne,oe=function(e,t){return oe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},oe(e,t)};function se(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}oe(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var ae,le,ce,ue=function(){return ue=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},ue.apply(this,arguments)};function he(e,t,i){if(i||2===arguments.length)for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}function pe(e){return e.type===le.literal}function me(e){return e.type===le.argument}function de(e){return e.type===le.number}function fe(e){return e.type===le.date}function ge(e){return e.type===le.time}function ye(e){return e.type===le.select}function be(e){return e.type===le.plural}function ve(e){return e.type===le.pound}function Le(e){return e.type===le.tag}function Ee(e){return!(!e||"object"!=typeof e||e.type!==ce.number)}function we(e){return!(!e||"object"!=typeof e||e.type!==ce.dateTime)}!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"}(ae||(ae={})),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"}(le||(le={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(ce||(ce={}));var Te=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,xe=/(?:[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 _e(e){var t={};return e.replace(xe,(function(e){var i=e.length;switch(e[0]){case"G":t.era=4===i?"long":5===i?"narrow":"short";break;case"y":t.year=2===i?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===i?"short":5===i?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][i-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][i-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][i-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][i-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][i-1];break;case"s":t.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=i<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var Ae=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var $e=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Se=/^(@+)?(\+|#+)?[rs]?$/g,Pe=/(\*)(0+)|(#+)(0+)|(0+)/g,Be=/^(0+)$/;function He(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Se,(function(e,i,n){return"string"!=typeof n?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):"+"===n?t.minimumSignificantDigits=i.length:"#"===i[0]?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+("string"==typeof n?n.length:0)),""})),t}function Ie(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 De(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var i=e.slice(0,2);if("+!"===i?(t.signDisplay="always",e=e.slice(2)):"+?"===i&&(t.signDisplay="exceptZero",e=e.slice(2)),!Be.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ce(e){var t=Ie(e);return t||{}}function Oe(e){for(var t={},i=0,n=e;i<n.length;i++){var r=n[i];switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=ue(ue(ue({},t),{notation:"scientific"}),r.options.reduce((function(e,t){return ue(ue({},e),Ce(t))}),{}));continue;case"engineering":t=ue(ue(ue({},t),{notation:"engineering"}),r.options.reduce((function(e,t){return ue(ue({},e),Ce(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"integer-width":if(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(Pe,(function(e,i,n,r,o,s){if(i)t.minimumIntegerDigits=n.length;else{if(r&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(Be.test(r.stem))t.minimumIntegerDigits=r.stem.length;else if($e.test(r.stem)){if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace($e,(function(e,i,n,r,o,s){return"*"===n?t.minimumFractionDigits=i.length:r&&"#"===r[0]?t.maximumFractionDigits=r.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length),""}));var o=r.options[0];"w"===o?t=ue(ue({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=ue(ue({},t),He(o)))}else if(Se.test(r.stem))t=ue(ue({},t),He(r.stem));else{var s=Ie(r.stem);s&&(t=ue(ue({},t),s));var a=De(r.stem);a&&(t=ue(ue({},t),a))}}return t}var Ne,Re={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function Me(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var i,n=e.language;return"root"!==n&&(i=e.maximize().region),(Re[i||""]||Re[n||""]||Re["".concat(n,"-001")]||Re["001"])[0]}var Ue=new RegExp("^".concat(Te.source,"*")),ke=new RegExp("".concat(Te.source,"*$"));function Ge(e,t){return{start:e,end:t}}var je=!!String.prototype.startsWith,Fe=!!String.fromCodePoint,We=!!Object.fromEntries,Ve=!!String.prototype.codePointAt,ze=!!String.prototype.trimStart,Xe=!!String.prototype.trimEnd,Ke=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ye=!0;try{Ye="a"===(null===(Ne=nt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Ne?void 0:Ne[0])}catch(e){Ye=!1}var Ze,qe=je?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},Je=Fe?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,n="",r=e.length,o=0;r>o;){if((i=e[o++])>1114111)throw RangeError(i+" is not a valid code point");n+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return n},Qe=We?Object.fromEntries:function(e){for(var t={},i=0,n=e;i<n.length;i++){var r=n[i],o=r[0],s=r[1];t[o]=s}return t},et=Ve?function(e,t){return e.codePointAt(t)}:function(e,t){var i=e.length;if(!(t<0||t>=i)){var n,r=e.charCodeAt(t);return r<55296||r>56319||t+1===i||(n=e.charCodeAt(t+1))<56320||n>57343?r:n-56320+(r-55296<<10)+65536}},tt=ze?function(e){return e.trimStart()}:function(e){return e.replace(Ue,"")},it=Xe?function(e){return e.trimEnd()}:function(e){return e.replace(ke,"")};function nt(e,t){return new RegExp(e,t)}if(Ye){var rt=nt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ze=function(e,t){var i;return rt.lastIndex=t,null!==(i=rt.exec(e)[1])&&void 0!==i?i:""}}else Ze=function(e,t){for(var i=[];;){var n=et(e,t);if(void 0===n||lt(n)||ct(n))break;i.push(n),t+=n>=65536?2:1}return Je.apply(void 0,i)};var ot=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,i){for(var n=[];!this.isEOF();){var r=this.char();if(123===r){if((o=this.parseArgument(e,i)).err)return o;n.push(o.val)}else{if(125===r&&e>0)break;if(35!==r||"plural"!==t&&"selectordinal"!==t){if(60===r&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(ae.UNMATCHED_CLOSING_TAG,Ge(this.clonePosition(),this.clonePosition()))}if(60===r&&!this.ignoreTag&&st(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{var s=this.clonePosition();this.bump(),n.push({type:le.pound,location:Ge(s,this.clonePosition())})}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var i=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:le.literal,value:"<".concat(n,"/>"),location:Ge(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(e+1,t,!0);if(r.err)return r;var o=r.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!st(this.char()))return this.error(ae.INVALID_TAG,Ge(s,this.clonePosition()));var a=this.clonePosition();return n!==this.parseTagName()?this.error(ae.UNMATCHED_CLOSING_TAG,Ge(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:le.tag,value:n,children:o,location:Ge(i,this.clonePosition())},err:null}:this.error(ae.INVALID_TAG,Ge(s,this.clonePosition())))}return this.error(ae.UNCLOSED_TAG,Ge(i,this.clonePosition()))}return this.error(ae.INVALID_TAG,Ge(i,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&at(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),n="";;){var r=this.tryParseQuote(t);if(r)n+=r;else{var o=this.tryParseUnquoted(e,t);if(o)n+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;n+=s}}}var a=Ge(i,this.clonePosition());return{val:{type:le.literal,value:n,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(st(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(39===i){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(i);this.bump()}return Je.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var i=this.char();return 60===i||123===i||35===i&&("plural"===t||"selectordinal"===t)||125===i&&e>0?null:(this.bump(),Je(i))},e.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ae.EXPECT_ARGUMENT_CLOSING_BRACE,Ge(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(ae.EMPTY_ARGUMENT,Ge(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(ae.MALFORMED_ARGUMENT,Ge(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ae.EXPECT_ARGUMENT_CLOSING_BRACE,Ge(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:le.argument,value:n,location:Ge(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ae.EXPECT_ARGUMENT_CLOSING_BRACE,Ge(i,this.clonePosition())):this.parseArgumentOptions(e,t,n,i);default:return this.error(ae.MALFORMED_ARGUMENT,Ge(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=Ze(this.message,t),n=t+i.length;return this.bumpTo(n),{value:i,location:Ge(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,i,n){var r,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(ae.EXPECT_ARGUMENT_TYPE,Ge(o,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(m=it(y.val)).length)return this.error(ae.EXPECT_ARGUMENT_STYLE,Ge(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:Ge(c,this.clonePosition())}}if((b=this.tryParseArgumentClose(n)).err)return b;var u=Ge(n,this.clonePosition());if(l&&qe(null==l?void 0:l.style,"::",0)){var h=tt(l.style.slice(2));if("number"===s)return(y=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?y:{val:{type:le.number,value:i,location:u,style:y.val},err:null};if(0===h.length)return this.error(ae.EXPECT_DATE_TIME_SKELETON,u);var p=h;this.locale&&(p=function(e,t){for(var i="",n=0;n<e.length;n++){var r=e.charAt(n);if("j"===r){for(var o=0;n+1<e.length&&e.charAt(n+1)===r;)o++,n++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=Me(t);for("H"!=l&&"k"!=l||(a=0);a-- >0;)i+="a";for(;s-- >0;)i=l+i}else i+="J"===r?"H":r}return i}(h,this.locale));var m={type:ce.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?_e(p):{}};return{val:{type:"date"===s?le.date:le.time,value:i,location:u,style:m},err:null}}return{val:{type:"number"===s?le.number:"date"===s?le.date:le.time,value:i,location:u,style:null!==(r=null==l?void 0:l.style)&&void 0!==r?r:null},err:null};case"plural":case"selectordinal":case"select":var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ae.EXPECT_SELECT_ARGUMENT_OPTIONS,Ge(d,ue({},d)));this.bumpSpace();var f=this.parseIdentifierIfPossible(),g=0;if("select"!==s&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(ae.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ge(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(ae.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ae.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;this.bumpSpace(),f=this.parseIdentifierIfPossible(),g=y.val}var b,v=this.tryParsePluralOrSelectOptions(e,s,t,f);if(v.err)return v;if((b=this.tryParseArgumentClose(n)).err)return b;var L=Ge(n,this.clonePosition());return"select"===s?{val:{type:le.select,value:i,options:Qe(v.val),location:L},err:null}:{val:{type:le.plural,value:i,options:Qe(v.val),offset:g,pluralType:"plural"===s?"cardinal":"ordinal",location:L},err:null};default:return this.error(ae.INVALID_ARGUMENT_TYPE,Ge(o,a))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(ae.EXPECT_ARGUMENT_CLOSING_BRACE,Ge(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ae.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Ge(i,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var i=[];try{i=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Ae).filter((function(e){return e.length>0})),i=[],n=0,r=t;n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var s=o[0],a=o.slice(1),l=0,c=a;l<c.length;l++)if(0===c[l].length)throw new Error("Invalid number skeleton");i.push({stem:s,options:a})}return i}(e)}catch(e){return this.error(ae.INVALID_NUMBER_SKELETON,t)}return{val:{type:ce.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?Oe(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,i,n){for(var r,o=!1,s=[],a=new Set,l=n.value,c=n.location;;){if(0===l.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var h=this.tryParseDecimalInteger(ae.EXPECT_PLURAL_ARGUMENT_SELECTOR,ae.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;c=Ge(u,this.clonePosition()),l=this.message.slice(u.offset,this.offset())}if(a.has(l))return this.error("select"===t?ae.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ae.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ae.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ae.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Ge(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,i);if(m.err)return m;var d=this.tryParseArgumentClose(p);if(d.err)return d;s.push([l,{value:m.val,location:Ge(p,this.clonePosition())}]),a.add(l),this.bumpSpace(),l=(r=this.parseIdentifierIfPossible()).value,c=r.location}return 0===s.length?this.error("select"===t?ae.EXPECT_SELECT_ARGUMENT_SELECTOR:ae.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ge(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(ae.MISSING_OTHER_CLAUSE,Ge(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var r=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;r=!0,o=10*o+(s-48),this.bump()}var a=Ge(n,this.clonePosition());return r?Ke(o*=i)?{val:o,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=et(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(qe(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),i=this.message.indexOf(e,t);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&<(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),i=this.message.charCodeAt(t+(e>=65536?2:1));return null!=i?i:null},e}();function st(e){return e>=97&&e<=122||e>=65&&e<=90}function at(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function lt(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function ct(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function ut(e){e.forEach((function(e){if(delete e.location,ye(e)||be(e))for(var t in e.options)delete e.options[t].location,ut(e.options[t].value);else de(e)&&Ee(e.style)||(fe(e)||ge(e))&&we(e.style)?delete e.style.location:Le(e)&&ut(e.children)}))}function ht(e,t){void 0===t&&(t={}),t=ue({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new ot(e,t).parse();if(i.err){var n=SyntaxError(ae[i.err.kind]);throw n.location=i.err.location,n.originalMessage=i.err.message,n}return(null==t?void 0:t.captureLocation)||ut(i.val),i.val}function pt(e,t){var i=t&&t.cache?t.cache:Lt,n=t&&t.serializer?t.serializer:yt;return(t&&t.strategy?t.strategy:gt)(e,{cache:i,serializer:n})}function mt(e,t,i,n){var r,o=null==(r=n)||"number"==typeof r||"boolean"==typeof r?n:i(n),s=t.get(o);return void 0===s&&(s=e.call(this,n),t.set(o,s)),s}function dt(e,t,i){var n=Array.prototype.slice.call(arguments,3),r=i(n),o=t.get(r);return void 0===o&&(o=e.apply(this,n),t.set(r,o)),o}function ft(e,t,i,n,r){return i.bind(t,e,n,r)}function gt(e,t){return ft(e,this,1===e.length?mt:dt,t.cache.create(),t.serializer)}var yt=function(){return JSON.stringify(arguments)};function bt(){this.cache=Object.create(null)}bt.prototype.get=function(e){return this.cache[e]},bt.prototype.set=function(e,t){this.cache[e]=t};var vt,Lt={create:function(){return new bt}},Et={variadic:function(e,t){return ft(e,this,dt,t.cache.create(),t.serializer)},monadic:function(e,t){return ft(e,this,mt,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(vt||(vt={}));var wt,Tt=function(e){function t(t,i,n){var r=e.call(this,t)||this;return r.code=i,r.originalMessage=n,r}return se(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),xt=function(e){function t(t,i,n,r){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(i,'". Options are "').concat(Object.keys(n).join('", "'),'"'),vt.INVALID_VALUE,r)||this}return se(t,e),t}(Tt),_t=function(e){function t(t,i,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(i),vt.INVALID_VALUE,n)||this}return se(t,e),t}(Tt),At=function(e){function t(t,i){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(i,'"'),vt.MISSING_VALUE,i)||this}return se(t,e),t}(Tt);function $t(e){return"function"==typeof e}function St(e,t,i,n,r,o,s){if(1===e.length&&pe(e[0]))return[{type:wt.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var u=c[l];if(pe(u))a.push({type:wt.literal,value:u.value});else if(ve(u))"number"==typeof o&&a.push({type:wt.literal,value:i.getNumberFormat(t).format(o)});else{var h=u.value;if(!r||!(h in r))throw new At(h,s);var p=r[h];if(me(u))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),a.push({type:"string"==typeof p?wt.literal:wt.object,value:p});else if(fe(u)){var m="string"==typeof u.style?n.date[u.style]:we(u.style)?u.style.parsedOptions:void 0;a.push({type:wt.literal,value:i.getDateTimeFormat(t,m).format(p)})}else if(ge(u)){m="string"==typeof u.style?n.time[u.style]:we(u.style)?u.style.parsedOptions:n.time.medium;a.push({type:wt.literal,value:i.getDateTimeFormat(t,m).format(p)})}else if(de(u)){(m="string"==typeof u.style?n.number[u.style]:Ee(u.style)?u.style.parsedOptions:void 0)&&m.scale&&(p*=m.scale||1),a.push({type:wt.literal,value:i.getNumberFormat(t,m).format(p)})}else{if(Le(u)){var d=u.children,f=u.value,g=r[f];if(!$t(g))throw new _t(f,"function",s);var y=g(St(d,t,i,n,r,o).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),a.push.apply(a,y.map((function(e){return{type:"string"==typeof e?wt.literal:wt.object,value:e}})))}if(ye(u)){if(!(b=u.options[p]||u.options.other))throw new xt(u.value,p,Object.keys(u.options),s);a.push.apply(a,St(b.value,t,i,n,r))}else if(be(u)){var b;if(!(b=u.options["=".concat(p)])){if(!Intl.PluralRules)throw new Tt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',vt.MISSING_INTL_API,s);var v=i.getPluralRules(t,{type:u.pluralType}).select(p-(u.offset||0));b=u.options[v]||u.options.other}if(!b)throw new xt(u.value,p,Object.keys(u.options),s);a.push.apply(a,St(b.value,t,i,n,r,p-(u.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var i=e[e.length-1];return i&&i.type===wt.literal&&t.type===wt.literal?i.value+=t.value:e.push(t),e}),[])}(a)}function Pt(e,t){return t?Object.keys(e).reduce((function(i,n){var r,o;return i[n]=(r=e[n],(o=t[n])?ue(ue(ue({},r||{}),o||{}),Object.keys(r).reduce((function(e,t){return e[t]=ue(ue({},r[t]),o[t]||{}),e}),{})):r),i}),ue({},e)):e}function Bt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(wt||(wt={}));var Ht=function(){function e(t,i,n,r){var o,s=this;if(void 0===i&&(i=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);if(1===t.length)return t[0].value;var i=t.reduce((function(e,t){return e.length&&t.type===wt.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return i.length<=1?i[0]||"":i},this.formatToParts=function(e){return St(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==r?void 0:r.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Pt(e.formats,n),this.formatters=r&&r.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:pt((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,he([void 0],t,!1)))}),{cache:Bt(o.number),strategy:Et.variadic}),getDateTimeFormat:pt((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,he([void 0],t,!1)))}),{cache:Bt(o.dateTime),strategy:Et.variadic}),getPluralRules:pt((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,he([void 0],t,!1)))}),{cache:Bt(o.pluralRules),strategy:Et.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=ht,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}(),It=Ht;const Dt={},Ct=(e,t,i)=>i?(t in Dt||(Dt[t]={}),e in Dt[t]||(Dt[t][e]=i),i):i,Ot=(e,t)=>{if(null==t)return;if(t in Dt&&e in Dt[t])return Dt[t][e];const i=Qt(t);for(let n=0;n<i.length;n++){const r=Ut(i[n],e);if(r)return Ct(e,t,r)}};let Nt;const Rt=K({});function Mt(e){return e in Nt}function Ut(e,t){if(!Mt(e))return null;const i=function(e){return Nt[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const i=t.split(".");let n=e;for(let e=0;e<i.length;e++)if("object"==typeof n){if(e>0){const t=i.slice(e,i.length).join(".");if(t in n){n=n[t];break}}n=n[i[e]]}else n=void 0;return n}(i,t)}function kt(e,...t){delete Dt[e],Rt.update((i=>(i[e]=re.all([i[e]||{},...t]),i)))}Y([Rt],(([e])=>Object.keys(e))),Rt.subscribe((e=>Nt=e));const Gt={};function jt(e){return Gt[e]}function Ft(e){return null!=e&&Qt(e).some((e=>{var t;return null===(t=jt(e))||void 0===t?void 0:t.size}))}const Wt={};function Vt(e){if(!Ft(e))return e in Wt?Wt[e]:Promise.resolve();const t=function(e){return Qt(e).map((e=>{const t=jt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Wt[e]=Promise.all(t.map((([e,t])=>function(e,t){const i=Promise.all(t.map((t=>(function(e,t){Gt[e].delete(t),0===Gt[e].size&&delete Gt[e]}(e,t),t().then((e=>e.default||e))))));return i.then((t=>kt(e,...t)))}(e,t)))).then((()=>{if(Ft(e))return Vt(e);delete Wt[e]})),Wt[e]}function zt(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i}const Xt={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Kt(){return Xt}const Yt=K(!1);let Zt;const qt=K(null);function Jt(e){return e.split("-").map(((e,t,i)=>i.slice(0,t+1).join("-"))).reverse()}function Qt(e,t=Kt().fallbackLocale){const i=Jt(e);return t?[...new Set([...i,...Jt(t)])]:i}function ei(){return null!=Zt?Zt:void 0}qt.subscribe((e=>{Zt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const ti=Object.assign(Object.assign({},qt),{set:e=>{if(e&&function(e){if(null==e)return;const t=Qt(e);for(let e=0;e<t.length;e++){const i=t[e];if(Mt(i))return i}}(e)&&Ft(e)){const{loadingDelay:t}=Kt();let i;return"undefined"!=typeof window&&null!=ei()&&t?i=window.setTimeout((()=>Yt.set(!0)),t):Yt.set(!0),Vt(e).then((()=>{qt.set(e)})).finally((()=>{clearTimeout(i),Yt.set(!1)}))}return qt.set(e)}}),ii=e=>{const t=Object.create(null);return i=>{const n=JSON.stringify(i);return n in t?t[n]:t[n]=e(i)}},ni=(e,t)=>{const{formats:i}=Kt();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},ri=ii((e=>{var{locale:t,format:i}=e,n=zt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(n=ni("number",i)),new Intl.NumberFormat(t,n)})),oi=ii((e=>{var{locale:t,format:i}=e,n=zt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?n=ni("date",i):0===Object.keys(n).length&&(n=ni("date","short")),new Intl.DateTimeFormat(t,n)})),si=ii((e=>{var{locale:t,format:i}=e,n=zt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?n=ni("time",i):0===Object.keys(n).length&&(n=ni("time","short")),new Intl.DateTimeFormat(t,n)})),ai=ii(((e,t=ei())=>new It(e,t,Kt().formats,{ignoreTag:Kt().ignoreTag}))),li=(e,t={})=>{var i,n,r,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=ei(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Ot(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!==(o=null!==(r=null===(n=(i=Kt()).handleMissingMessage)||void 0===n?void 0:n.call(i,{locale:l,id:e,defaultValue:c}))&&void 0!==r?r:c)&&void 0!==o?o:e;if(!a)return u;let h=u;try{h=ai(u,l).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},ci=(e,t)=>((e={})=>{var{locale:t=ei()}=e,i=zt(e,["locale"]);return si(Object.assign({locale:t},i))})(t).format(e),ui=(e,t)=>((e={})=>{var{locale:t=ei()}=e,i=zt(e,["locale"]);return oi(Object.assign({locale:t},i))})(t).format(e),hi=(e,t)=>((e={})=>{var{locale:t=ei()}=e,i=zt(e,["locale"]);return ri(Object.assign({locale:t},i))})(t).format(e),pi=(e,t=ei())=>Ot(e,t),mi=Y([ti,Rt],(()=>li));Y([ti],(()=>ci)),Y([ti],(()=>ui)),Y([ti],(()=>hi)),Y([ti,Rt],(()=>pi));const di={en:{gamingLimits:{loadingText:"Loading, please wait...",Monthly:"month",Weekly:"week",Daily:"day",per:"per",updateText:"will be applied on",removedLimitText:"The limit will be removed on",noLimitText:"There is currently no limit set.",limitType:"Limit Type",period:"Period",amount:"Amount",new:"New",limit:"limit",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit",removeLimit:"REMOVE",popupPendingUpdate:"We have received the request to change the limit. Please be aware that the update will only come into effect on",popupImmediateUpdate:"Your new {selectedLimit} is {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limit changed",popupSuccess:"Succesful",popupError:"There was a problem while setting the limit, please try again."}},fr:{gamingLimits:{loadingText:"Chargement, veuillez patienter...",Monthly:"mois",Weekly:"semaine",Daily:"jour",per:"par",updateText:"sera appliqué sur",noLimitText:"Aucune limite n'est actuellement définie.",limitType:"Limit Type",period:"Period",amount:"Amount",new:"New",limit:"limit",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit",popupError:"There was a problem while setting the limit, please try again."}},ro:{gamingLimits:{loadingText:"Se incarca, va rugam asteptati...",Monthly:"luna",Weekly:"saptamana",Daily:"zi",per:"pe",updateText:"va intra in vigoare incepand cu",noLimitText:"Momentan nu este setata o limita.",limitType:"Tip Limita",period:"Perioada",amount:"Valoare",new:"Limita pe",limit:"noua",setLimit:"ACCEPTA LIMITA",loss:"Limita de Pierdere",deposit:"Limita de Depunere",wager:"Limita de Pariere",removeLimit:"ELIMINA",popupPendingUpdate:"Am primit cererea de a schimba limita. Schimbarea va intra in vigoare in data de",popupImmediateUpdate:"Noua {selectedLimit} este {updatedAmount}{currency} pe {selectedPeriod}",popupTitle:"Limita schimbata",popupSuccess:"Succes!",popupError:"There was a problem while setting the limit, please try again."}},es:{gamingLimits:{loadingText:"Cargando por favor espere..."}},pt:{gamingLimits:{loadingText:"Carregando, por favor espere..."}},de:{gamingLimits:{loadingText:"Laden, bitte warten...",popupError:"There was a problem while setting the limit, please try again."}}};var fi="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==fi&&fi,gi="URLSearchParams"in fi,yi="Symbol"in fi&&"iterator"in Symbol,bi="FileReader"in fi&&"Blob"in fi&&function(){try{return new Blob,!0}catch(e){return!1}}(),vi="FormData"in fi,Li="ArrayBuffer"in fi;if(Li)var Ei=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],wi=ArrayBuffer.isView||function(e){return e&&Ei.indexOf(Object.prototype.toString.call(e))>-1};function Ti(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function xi(e){return"string"!=typeof e&&(e=String(e)),e}function _i(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return yi&&(t[Symbol.iterator]=function(){return t}),t}function Ai(e){this.map={},e instanceof Ai?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function $i(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Si(e){return new Promise((function(t,i){e.onload=function(){t(e.result)},e.onerror=function(){i(e.error)}}))}function Pi(e){var t=new FileReader,i=Si(t);return t.readAsArrayBuffer(e),i}function Bi(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Hi(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:bi&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:vi&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:gi&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Li&&bi&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=Bi(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Li&&(ArrayBuffer.prototype.isPrototypeOf(e)||wi(e))?this._bodyArrayBuffer=Bi(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):gi&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},bi&&(this.blob=function(){var e=$i(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=$i(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(Pi)}),this.text=function(){var e,t,i,n=$i(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,i=Si(t),t.readAsText(e),i;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),i=new Array(t.length),n=0;n<t.length;n++)i[n]=String.fromCharCode(t[n]);return i.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},vi&&(this.formData=function(){return this.text().then(Ci)}),this.json=function(){return this.text().then(JSON.parse)},this}Ai.prototype.append=function(e,t){e=Ti(e),t=xi(t);var i=this.map[e];this.map[e]=i?i+", "+t:t},Ai.prototype.delete=function(e){delete this.map[Ti(e)]},Ai.prototype.get=function(e){return e=Ti(e),this.has(e)?this.map[e]:null},Ai.prototype.has=function(e){return this.map.hasOwnProperty(Ti(e))},Ai.prototype.set=function(e,t){this.map[Ti(e)]=xi(t)},Ai.prototype.forEach=function(e,t){for(var i in this.map)this.map.hasOwnProperty(i)&&e.call(t,this.map[i],i,this)},Ai.prototype.keys=function(){var e=[];return this.forEach((function(t,i){e.push(i)})),_i(e)},Ai.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),_i(e)},Ai.prototype.entries=function(){var e=[];return this.forEach((function(t,i){e.push([i,t])})),_i(e)},yi&&(Ai.prototype[Symbol.iterator]=Ai.prototype.entries);var Ii=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Di(e,t){if(!(this instanceof Di))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var i,n,r=(t=t||{}).body;if(e instanceof Di){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Ai(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new Ai(t.headers)),this.method=(i=t.method||this.method||"GET",n=i.toUpperCase(),Ii.indexOf(n)>-1?n:i),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function Ci(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var i=e.split("="),n=i.shift().replace(/\+/g," "),r=i.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(r))}})),t}function Oi(e,t){if(!(this instanceof Oi))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new Ai(t.headers),this.url=t.url||"",this._initBody(e)}Di.prototype.clone=function(){return new Di(this,{body:this._bodyInit})},Hi.call(Di.prototype),Hi.call(Oi.prototype),Oi.prototype.clone=function(){return new Oi(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Ai(this.headers),url:this.url})},Oi.error=function(){var e=new Oi(null,{status:0,statusText:""});return e.type="error",e};var Ni=[301,302,303,307,308];Oi.redirect=function(e,t){if(-1===Ni.indexOf(t))throw new RangeError("Invalid status code");return new Oi(null,{status:t,headers:{location:e}})};var Ri=fi.DOMException;try{new Ri}catch(e){(Ri=function(e,t){this.message=e,this.name=t;var i=Error(e);this.stack=i.stack}).prototype=Object.create(Error.prototype),Ri.prototype.constructor=Ri}function Mi(e,t){return new Promise((function(i,n){var r=new Di(e,t);if(r.signal&&r.signal.aborted)return n(new Ri("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}o.onload=function(){var e,t,n={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new Ai,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var i=e.split(":"),n=i.shift().trim();if(n){var r=i.join(":").trim();t.append(n,r)}})),t)};n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var r="response"in o?o.response:o.responseText;setTimeout((function(){i(new Oi(r,n))}),0)},o.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.onabort=function(){setTimeout((function(){n(new Ri("Aborted","AbortError"))}),0)},o.open(r.method,function(e){try{return""===e&&fi.location.href?fi.location.href:e}catch(t){return e}}(r.url),!0),"include"===r.credentials?o.withCredentials=!0:"omit"===r.credentials&&(o.withCredentials=!1),"responseType"in o&&(bi?o.responseType="blob":Li&&r.headers.get("Content-Type")&&-1!==r.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof Ai?r.headers.forEach((function(e,t){o.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){o.setRequestHeader(e,xi(t.headers[e]))})),r.signal&&(r.signal.addEventListener("abort",s),o.onreadystatechange=function(){4===o.readyState&&r.signal.removeEventListener("abort",s)}),o.send(void 0===r._bodyInit?null:r._bodyInit)}))}Mi.polyfill=!0,fi.fetch||(fi.fetch=Mi,fi.Headers=Ai,fi.Request=Di,fi.Response=Oi),self.fetch.bind(self);var Ui=function(e,t){return Ui=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},Ui(e,t)};function ki(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}Ui(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}function Gi(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ji(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var n,r,o=i.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){r={error:e}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return s}function Fi(e,t,i){if(i||2===arguments.length)for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}function Wi(e){return"function"==typeof e}function Vi(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var zi=Vi((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function Xi(e,t){if(e){var i=e.indexOf(t);0<=i&&e.splice(i,1)}}var Ki=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,i,n,r;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Gi(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);var l=this.initialTeardown;if(Wi(l))try{l()}catch(e){r=e instanceof zi?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=Gi(c),h=u.next();!h.done;h=u.next()){var p=h.value;try{qi(p)}catch(e){r=null!=r?r:[],e instanceof zi?r=Fi(Fi([],ji(r)),ji(e.errors)):r.push(e)}}}catch(e){i={error:e}}finally{try{h&&!h.done&&(n=u.return)&&n.call(u)}finally{if(i)throw i.error}}}if(r)throw new zi(r)}},e.prototype.add=function(t){var i;if(t&&t!==this)if(this.closed)qi(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(i=this._finalizers)&&void 0!==i?i:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Xi(t,e)},e.prototype.remove=function(t){var i=this._finalizers;i&&Xi(i,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Yi=Ki.EMPTY;function Zi(e){return e instanceof Ki||e&&"closed"in e&&Wi(e.remove)&&Wi(e.add)&&Wi(e.unsubscribe)}function qi(e){Wi(e)?e():e.unsubscribe()}var Ji={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Qi={setTimeout:function(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];var r=Qi.delegate;return(null==r?void 0:r.setTimeout)?r.setTimeout.apply(r,Fi([e,t],ji(i))):setTimeout.apply(void 0,Fi([e,t],ji(i)))},clearTimeout:function(e){var t=Qi.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function en(){}var tn=null;function nn(e){if(Ji.useDeprecatedSynchronousErrorHandling){var t=!tn;if(t&&(tn={errorThrown:!1,error:null}),e(),t){var i=tn,n=i.errorThrown,r=i.error;if(tn=null,n)throw r}}else e()}var rn=function(e){function t(t){var i=e.call(this)||this;return i.isStopped=!1,t?(i.destination=t,Zi(t)&&t.add(i)):i.destination=un,i}return ki(t,e),t.create=function(e,t,i){return new ln(e,t,i)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ki),on=Function.prototype.bind;function sn(e,t){return on.call(e,t)}var an=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){cn(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){cn(e)}else cn(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){cn(e)}},e}(),ln=function(e){function t(t,i,n){var r,o,s=e.call(this)||this;Wi(t)||!t?r={next:null!=t?t:void 0,error:null!=i?i:void 0,complete:null!=n?n:void 0}:s&&Ji.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},r={next:t.next&&sn(t.next,o),error:t.error&&sn(t.error,o),complete:t.complete&&sn(t.complete,o)}):r=t;return s.destination=new an(r),s}return ki(t,e),t}(rn);function cn(e){var t;t=e,Qi.setTimeout((function(){throw t}))}var un={closed:!0,next:en,error:function(e){throw e},complete:en},hn="function"==typeof Symbol&&Symbol.observable||"@@observable";function pn(e){return e}function mn(e){return 0===e.length?pn:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var dn=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var i=new e;return i.source=this,i.operator=t,i},e.prototype.subscribe=function(e,t,i){var n,r=this,o=(n=e)&&n instanceof rn||function(e){return e&&Wi(e.next)&&Wi(e.error)&&Wi(e.complete)}(n)&&Zi(n)?e:new ln(e,t,i);return nn((function(){var e=r,t=e.operator,i=e.source;o.add(t?t.call(o,i):i?r._subscribe(o):r._trySubscribe(o))})),o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var i=this;return new(t=fn(t))((function(t,n){var r=new ln({next:function(t){try{e(t)}catch(e){n(e),r.unsubscribe()}},error:n,complete:t});i.subscribe(r)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[hn]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return mn(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=fn(e))((function(e,i){var n;t.subscribe((function(e){return n=e}),(function(e){return i(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function fn(e){var t;return null!==(t=null!=e?e:Ji.Promise)&&void 0!==t?t:Promise}var gn=Vi((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),yn=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return ki(t,e),t.prototype.lift=function(e){var t=new bn(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new gn},t.prototype.next=function(e){var t=this;nn((function(){var i,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var r=Gi(t.currentObservers),o=r.next();!o.done;o=r.next()){o.value.next(e)}}catch(e){i={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}}}))},t.prototype.error=function(e){var t=this;nn((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var i=t.observers;i.length;)i.shift().error(e)}}))},t.prototype.complete=function(){var e=this;nn((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,i=this,n=i.hasError,r=i.isStopped,o=i.observers;return n||r?Yi:(this.currentObservers=null,o.push(e),new Ki((function(){t.currentObservers=null,Xi(o,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,i=t.hasError,n=t.thrownError,r=t.isStopped;i?e.error(n):r&&e.complete()},t.prototype.asObservable=function(){var e=new dn;return e.source=this,e},t.create=function(e,t){return new bn(e,t)},t}(dn),bn=function(e){function t(t,i){var n=e.call(this)||this;return n.destination=t,n.source=i,n}return ki(t,e),t.prototype.next=function(e){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,e)},t.prototype.error=function(e){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==i?i:Yi},t}(yn),vn={now:function(){return(vn.delegate||Date).now()},delegate:void 0},Ln=function(e){function t(t,i,n){void 0===t&&(t=1/0),void 0===i&&(i=1/0),void 0===n&&(n=vn);var r=e.call(this)||this;return r._bufferSize=t,r._windowTime=i,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=i===1/0,r._bufferSize=Math.max(1,t),r._windowTime=Math.max(1,i),r}return ki(t,e),t.prototype.next=function(t){var i=this,n=i.isStopped,r=i._buffer,o=i._infiniteTimeWindow,s=i._timestampProvider,a=i._windowTime;n||(r.push(t),!o&&r.push(s.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),i=this._infiniteTimeWindow,n=this._buffer.slice(),r=0;r<n.length&&!e.closed;r+=i?1:2)e.next(n[r]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,i=e._timestampProvider,n=e._buffer,r=e._infiniteTimeWindow,o=(r?1:2)*t;if(t<1/0&&o<n.length&&n.splice(0,n.length-o),!r){for(var s=i.now(),a=0,l=1;l<n.length&&n[l]<=s;l+=2)a=l;a&&n.splice(0,a+1)}},t}(yn);let En=[],wn={};window.emWidgets={topic:(e,t=0)=>{if(-1==En.indexOf(e)){let i=new Ln(t);wn[e]=i,En.push(e)}return wn[e]}};const Tn=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));function xn(e,t,i){const n=e.slice();return n[47]=t[i],n}function _n(e,t,i){const n=e.slice();return n[50]=t[i],n}function An(e,t,i){const n=e.slice();return n[50]=t[i],n}function $n(e,t,i){const n=e.slice();return n[55]=t[i],n}function Sn(e){let t,i,n;function r(e,t){return e[11]?Pn:Bn}let o=r(e),s=o(e);return{c(){t=p("div"),i=p("div"),s.c(),b(i,"class",n="PopupContainer "+(e[14]?"Desktop":"")),b(t,"class","PopupOverlay")},m(e,n){c(e,t,n),l(t,i),s.m(i,null)},p(e,t){o===(o=r(e))&&s?s.p(e,t):(s.d(1),s=o(e),s&&(s.c(),s.m(i,null)))},d(e){e&&u(t),s.d()}}}function Pn(e){let t,i,n,r;function o(e,t){return e[9]?In:Hn}let s=o(e),a=s(e);return{c(){a.c(),t=f(),i=p("button"),i.textContent="OK",b(i,"class","ConfirmButton")},m(o,s){a.m(o,s),c(o,t,s),c(o,i,s),n||(r=y(i,"click",e[20]),n=!0)},p(e,i){s===(s=o(e))&&a?a.p(e,i):(a.d(1),a=s(e),a&&(a.c(),a.m(t.parentNode,t)))},d(e){a.d(e),e&&u(t),e&&u(i),n=!1,r()}}}function Bn(t){let i;return{c(){i=p("div"),b(i,"class","LoadingIndicator")},m(e,t){c(e,i,t)},p:e,d(e){e&&u(i)}}}function Hn(e){let t,i,n,r,o,s,a,h,g,v,L,w,x,_,A,$,S,P,B,H,I,D,C=e[13]("gamingLimits.popupTitle")+"",O=e[13]("gamingLimits.popupSuccess")+"";return{c(){t=p("div"),i=p("span"),n=d(C),r=f(),o=p("button"),o.textContent="X",s=f(),a=p("div"),h=p("div"),g=m("svg"),v=m("defs"),L=m("style"),w=d(".fil0 {fill:black;fill-rule:nonzero}\n "),x=m("g"),_=m("polygon"),A=f(),$=p("p"),S=d(O),P=f(),B=p("p"),H=d(e[12]),b(i,"class","PopupTitle"),b(o,"class","ClosePopup"),b(t,"class","PopupTitleWrapper"),b(L,"type","text/css"),b(_,"class","fil0"),b(_,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),b(g,"xmlns","http://www.w3.org/2000/svg"),b(g,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(g,"xml:space","preserve"),b(g,"version","1.1"),T(g,"shape-rendering","geometricPrecision"),T(g,"text-rendering","geometricPrecision"),T(g,"image-rendering","optimizeQuality"),b(g,"viewBox","0 0 90 69"),b(g,"x","0px"),b(g,"y","0px"),b(g,"fill-rule","evenodd"),b(g,"clip-rule","evenodd"),b(h,"class","ResultIconWrapper"),b(B,"class","DescriptionParagraph"),b(a,"class","DescriptionWrapper")},m(u,p){c(u,t,p),l(t,i),l(i,n),l(t,r),l(t,o),c(u,s,p),c(u,a,p),l(a,h),l(h,g),l(g,v),l(v,L),l(L,w),l(g,x),l(x,_),l(h,A),l(h,$),l($,S),l(a,P),l(a,B),l(B,H),I||(D=y(o,"click",e[20]),I=!0)},p(e,t){8192&t[0]&&C!==(C=e[13]("gamingLimits.popupTitle")+"")&&E(n,C),8192&t[0]&&O!==(O=e[13]("gamingLimits.popupSuccess")+"")&&E(S,O),4096&t[0]&&E(H,e[12])},d(e){e&&u(t),e&&u(s),e&&u(a),I=!1,D()}}}function In(e){let t,i,n,r,o,s,a,h,m,g,v,L=e[13]("gamingLimits.popupTitle")+"",w=e[13]("gamingLimits.popupError")+"";return{c(){t=p("div"),i=p("span"),n=d(L),r=f(),o=p("button"),o.textContent="X",s=f(),a=p("div"),h=p("p"),m=d(w),b(i,"class","PopupTitle"),b(o,"class","ClosePopup"),b(t,"class","PopupTitleWrapper"),b(h,"class","DescriptionParagraph"),b(a,"class","DescriptionWrapper")},m(u,p){c(u,t,p),l(t,i),l(i,n),l(t,r),l(t,o),c(u,s,p),c(u,a,p),l(a,h),l(h,m),g||(v=y(o,"click",e[20]),g=!0)},p(e,t){8192&t[0]&&L!==(L=e[13]("gamingLimits.popupTitle")+"")&&E(n,L),8192&t[0]&&w!==(w=e[13]("gamingLimits.popupError")+"")&&E(m,w)},d(e){e&&u(t),e&&u(s),e&&u(a),g=!1,v()}}}function Dn(e){let t,i,r,o,s,a,m,g,v,T,x,_,A,$,S,P,B,H=e[6]?`${e[13]("gamingLimits.amount")}`:`${e[13]("gamingLimits.new")} ${e[13](`gamingLimits.${e[2]}`)} ${e[13]("gamingLimits.limit")}`,I=e[13]("gamingLimits.setLimit")+"",D=e[15],C=[];for(let t=0;t<D.length;t+=1)C[t]=jn(An(e,D,t));let O=e[5]&&Fn(e),N=e[6]&&Vn(e);return{c(){t=p("div"),i=p("div"),r=p("div");for(let e=0;e<C.length;e+=1)C[e].c();o=f(),s=p("form"),O&&O.c(),a=f(),N&&N.c(),m=f(),g=p("label"),v=p("span"),T=d(H),x=f(),_=p("input"),A=f(),$=p("button"),S=d(I),b(r,"class","LimitsList "+(e[14]?"Desktop":"")),b(v,"class","LimitInputText"),b(_,"type","number"),b(_,"pattern","[0-9]*"),b(g,"class","LimitAmountInputWrapper"),b($,"class","LimitSubmitButton"),b($,"type","button"),$.disabled=!0,b(s,"class","LimitsInteractionArea "+(e[14]?"Desktop":"")),b(i,"class","LimitsPageContainer"),b(t,"class","player-account-gaming-limits-page-2-gmcore")},m(n,u){c(n,t,u),l(t,i),l(i,r);for(let e=0;e<C.length;e+=1)C[e].m(r,null);l(i,o),l(i,s),O&&O.m(s,null),l(s,a),N&&N.m(s,null),l(s,m),l(s,g),l(g,v),l(v,T),l(g,x),l(g,_),w(_,e[3]),l(s,A),l(s,$),l($,S),e[33]($),P||(B=[y(_,"input",e[32]),y(_,"keyup",e[18]),y($,"click",e[17]),y(s,"submit",e[17])],P=!0)},p(e,t){if(581632&t[0]){let i;for(D=e[15],i=0;i<D.length;i+=1){const n=An(e,D,i);C[i]?C[i].p(n,t):(C[i]=jn(n),C[i].c(),C[i].m(r,null))}for(;i<C.length;i+=1)C[i].d(1);C.length=D.length}e[5]?O?O.p(e,t):(O=Fn(e),O.c(),O.m(s,a)):O&&(O.d(1),O=null),e[6]?N?N.p(e,t):(N=Vn(e),N.c(),N.m(s,m)):N&&(N.d(1),N=null),8260&t[0]&&H!==(H=e[6]?`${e[13]("gamingLimits.amount")}`:`${e[13]("gamingLimits.new")} ${e[13](`gamingLimits.${e[2]}`)} ${e[13]("gamingLimits.limit")}`)&&E(T,H),8&t[0]&&L(_.value)!==e[3]&&w(_,e[3]),8192&t[0]&&I!==(I=e[13]("gamingLimits.setLimit")+"")&&E(S,I)},d(i){i&&u(t),h(C,i),O&&O.d(),N&&N.d(),e[33](null),P=!1,n(B)}}}function Cn(t){let i;return{c(){i=p("p"),i.textContent="500 Server error"},m(e,t){c(e,i,t)},p:e,d(e){e&&u(i)}}}function On(t){return{c:e,m:e,p:e,d:e}}function Nn(t){let i;return{c(){i=p("div"),b(i,"class","LoadingIndicator")},m(e,t){c(e,i,t)},p:e,d(e){e&&u(i)}}}function Rn(e){let t,i,n,r,o=e[13]("gamingLimits.noLimitText")+"";return{c(){t=p("div"),i=p("div"),n=p("div"),r=d(o),b(n,"class","LimitDetailsTextWrapper"),b(i,"class","LimitDetailsWrapper"),b(t,"class","LimitDetails")},m(e,o){c(e,t,o),l(t,i),l(i,n),l(n,r)},p(e,t){8192&t[0]&&o!==(o=e[13]("gamingLimits.noLimitText")+"")&&E(r,o)},d(e){e&&u(t)}}}function Mn(e){let t,i=e[50].currentLimits,n=[];for(let t=0;t<i.length;t+=1)n[t]=Gn($n(e,i,t));return{c(){for(let e=0;e<n.length;e+=1)n[e].c();t=g()},m(e,i){for(let t=0;t<n.length;t+=1)n[t].m(e,i);c(e,t,i)},p(e,r){if(565248&r[0]){let o;for(i=e[50].currentLimits,o=0;o<i.length;o+=1){const s=$n(e,i,o);n[o]?n[o].p(s,r):(n[o]=Gn(s),n[o].c(),n[o].m(t.parentNode,t))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},d(e){h(n,e),e&&u(t)}}}function Un(e){let t,i,n=`${e[13]("gamingLimits.removedLimitText")} ${e[55].expiryDate}`;return{c(){t=p("div"),i=d(n),b(t,"class","PendingLimit")},m(e,n){c(e,t,n),l(t,i)},p(e,t){8192&t[0]&&n!==(n=`${e[13]("gamingLimits.removedLimitText")} ${e[55].expiryDate}`)&&E(i,n)},d(e){e&&u(t)}}}function kn(e){let t,i,n=`${e[55].updateAmount}${e[55].currency} ${e[13]("gamingLimits.per")} ${e[13](`gamingLimits.${e[55].period}`)} ${e[13]("gamingLimits.updateText")} ${e[55].expiryDate}`;return{c(){t=p("div"),i=d(n),b(t,"class","PendingLimit")},m(e,n){c(e,t,n),l(t,i)},p(e,t){8192&t[0]&&n!==(n=`${e[55].updateAmount}${e[55].currency} ${e[13]("gamingLimits.per")} ${e[13](`gamingLimits.${e[55].period}`)} ${e[13]("gamingLimits.updateText")} ${e[55].expiryDate}`)&&E(i,n)},d(e){e&&u(t)}}}function Gn(e){let t,i,n,r,o,s,a,h=`${e[55].amount}${e[55].currency} ${e[13]("gamingLimits.per")} ${e[13](`gamingLimits.${e[55].period}`)}`;let m=function(e,t){return e[55].isModified&&"-1"!=e[55].updateAmount?kn:e[55].isModified?Un:void 0}(e),g=m&&m(e),v=!e[55].isModified&&function(e){let t,i,n,r,o=e[13]("gamingLimits.removeLimit")+"";function s(){return e[29](e[55])}return{c(){t=p("button"),i=d(o),b(t,"class","RemoveLimitButton")},m(e,o){c(e,t,o),l(t,i),n||(r=y(t,"click",s),n=!0)},p(t,n){e=t,8192&n[0]&&o!==(o=e[13]("gamingLimits.removeLimit")+"")&&E(i,o)},d(e){e&&u(t),n=!1,r()}}}(e);return{c(){t=p("div"),i=p("div"),n=p("div"),r=d(h),o=f(),g&&g.c(),s=f(),v&&v.c(),a=f(),b(n,"class","CurrentLimit"),b(i,"class","LimitDetailsTextWrapper"),b(t,"class","LimitDetails")},m(e,u){c(e,t,u),l(t,i),l(i,n),l(n,r),l(i,o),g&&g.m(i,null),l(t,s),v&&v.m(t,null),l(t,a)},p(e,t){8192&t[0]&&h!==(h=`${e[55].amount}${e[55].currency} ${e[13]("gamingLimits.per")} ${e[13](`gamingLimits.${e[55].period}`)}`)&&E(r,h),g&&g.p(e,t),e[55].isModified||v.p(e,t)},d(e){e&&u(t),g&&g.d(),v&&v.d()}}}function jn(e){let t,i,n,r,o,s,a=e[13](`gamingLimits.${e[50].value}`)+"";let h=function(e,t){return e[50].currentLimits.length>0?Mn:Rn}(e),m=h(e);return{c(){t=p("div"),i=p("p"),n=d(a),r=f(),m.c(),o=f(),b(i,"class","LimitTitle"),b(t,"class",s="LimitWrapper "+(e[14]?"Desktop":""))},m(e,s){c(e,t,s),l(t,i),l(i,n),l(t,r),m.m(t,null),l(t,o)},p(e,t){8192&t[0]&&a!==(a=e[13](`gamingLimits.${e[50].value}`)+"")&&E(n,a),m.p(e,t)},d(e){e&&u(t),m.d()}}}function Fn(e){let t,i,r,o,s,a,m,g=e[13]("gamingLimits.limitType")+"",v=e[15],L=[];for(let t=0;t<v.length;t+=1)L[t]=Wn(_n(e,v,t));return{c(){t=p("label"),i=p("span"),r=d(g),o=f(),s=p("select");for(let e=0;e<L.length;e+=1)L[e].c();b(i,"class","LimitSelectText"),b(s,"name",""),b(s,"id",""),void 0===e[1]&&R((()=>e[30].call(s))),b(t,"class","LimitTypeDropdownWrapper")},m(n,u){c(n,t,u),l(t,i),l(i,r),l(t,o),l(t,s);for(let e=0;e<L.length;e+=1)L[e].m(s,null);x(s,e[1]),a||(m=[y(s,"change",e[30]),y(s,"change",e[16])],a=!0)},p(e,t){if(8192&t[0]&&g!==(g=e[13]("gamingLimits.limitType")+"")&&E(r,g),32768&t[0]){let i;for(v=e[15],i=0;i<v.length;i+=1){const n=_n(e,v,i);L[i]?L[i].p(n,t):(L[i]=Wn(n),L[i].c(),L[i].m(s,null))}for(;i<L.length;i+=1)L[i].d(1);L.length=v.length}32770&t[0]&&x(s,e[1])},d(e){e&&u(t),h(L,e),a=!1,n(m)}}}function Wn(t){let i,n,r,o=t[50].title+"";return{c(){i=p("option"),n=d(o),i.__value=r=t[50].value,i.value=i.__value},m(e,t){c(e,i,t),l(i,n)},p:e,d(e){e&&u(i)}}}function Vn(e){let t,i,n,r,o,s,a,m=e[13]("gamingLimits.period")+"",g=z[e[1]].periods,v=[];for(let t=0;t<g.length;t+=1)v[t]=zn(xn(e,g,t));return{c(){t=p("label"),i=p("span"),n=d(m),r=f(),o=p("select");for(let e=0;e<v.length;e+=1)v[e].c();b(i,"class","PeriodSelectText"),b(o,"name",""),b(o,"id",""),void 0===e[2]&&R((()=>e[31].call(o))),b(t,"class","LimitPeriodDropdownWrapper")},m(u,h){c(u,t,h),l(t,i),l(i,n),l(t,r),l(t,o);for(let e=0;e<v.length;e+=1)v[e].m(o,null);x(o,e[2]),s||(a=y(o,"change",e[31]),s=!0)},p(e,t){if(8192&t[0]&&m!==(m=e[13]("gamingLimits.period")+"")&&E(n,m),8194&t[0]){let i;for(g=z[e[1]].periods,i=0;i<g.length;i+=1){const n=xn(e,g,i);v[i]?v[i].p(n,t):(v[i]=zn(n),v[i].c(),v[i].m(o,null))}for(;i<v.length;i+=1)v[i].d(1);v.length=g.length}6&t[0]&&x(o,e[2])},d(e){e&&u(t),h(v,e),s=!1,a()}}}function zn(e){let t,i,n,r,o,s=e[13]("gamingLimits.per")+"",a=e[13](`gamingLimits.${e[47]}`)+"";return{c(){t=p("option"),i=d(s),n=f(),r=d(a),t.__value=o=e[47],t.value=t.__value,t.selected=!0},m(e,o){c(e,t,o),l(t,i),l(t,n),l(t,r)},p(e,n){8192&n[0]&&s!==(s=e[13]("gamingLimits.per")+"")&&E(i,s),8194&n[0]&&a!==(a=e[13](`gamingLimits.${e[47]}`)+"")&&E(r,a),32770&n[0]&&o!==(o=e[47])&&(t.__value=o,t.value=t.__value)},d(e){e&&u(t)}}}function Xn(t){let i,n,r=t[10]&&Sn(t);function o(e,t){return e[7]&&!e[10]?Nn:e[7]?On:e[8]?Cn:Dn}let s=o(t),a=s(t);return{c(){i=p("div"),r&&r.c(),n=f(),a.c(),this.c=e},m(e,o){c(e,i,o),r&&r.m(i,null),l(i,n),a.m(i,null),t[34](i)},p(e,t){e[10]?r?r.p(e,t):(r=Sn(e),r.c(),r.m(i,n)):r&&(r.d(1),r=null),s===(s=o(e))&&a?a.p(e,t):(a.d(1),a=s(e),a&&(a.c(),a.m(i,null)))},i:e,o:e,d(e){e&&u(i),r&&r.d(),a.d(),t[34](null)}}}function Kn(e,t,i){let n;a(e,mi,(e=>i(13,n=e)));let r,o,s,l,{lang:c="en"}=t,{currency:u=""}=t,{limits:h=""}=t,{session:p=""}=t,{userid:m=""}=t,{endpoint:d=""}=t,{clientstyling:f=""}=t,{clientstylingurl:g=""}=t,y=window.navigator.userAgent,b=!Tn(y),v=[],E="",w="",T=!1,x=!1,A=!0,$=!1,S=!1,P=!1,B=!1,H="";const D={EUR:"€",RON:" lei"};Object.keys(di).forEach((e=>{!function(e,t){kt(e,t)}(e,di[e])}));const C=()=>{let e=new URL(`v2/player/${m}/limits`,d),t={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,t).then((e=>{if(e.status>=300)throw i(7,A=!1),i(8,$=!0),new Error("There was an error fetching the limits");return e.json()})).then((e=>{l=e,P&&R(),O(l),i(7,A=!1),i(3,o=null)})).catch((e=>{console.log(e),i(7,A=!1),i(8,$=!0)}))},O=e=>{v.forEach((t=>{var i;t.currentLimits=[],null===(i=e[z[t.value].callValue])||void 0===i||i.forEach(((i,n)=>{var r;const o=e[z[t.value].callValue][n];t.currentLimits.push({}),t.currentLimits[n].limitType=t.value,t.currentLimits[n].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.amount),t.currentLimits[n].currency=null!==(r=D[o.currency])&&void 0!==r?r:o.currency,t.currentLimits[n].period=o.period,t.currentLimits[n].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.updateAmount),t.currentLimits[n].isModified=o.isModified,t.currentLimits[n].expiryDate=`${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})),t.currentLimits=N(t.currentLimits)}))},N=e=>{const t={Daily:0,Weekly:1,Monthly:2};return e.sort(((e,i)=>t[e.period]-t[i.period])),e},R=()=>{if(l){const e=l[z[E].callValue].filter((e=>e.period===w))[0],t=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount);let r=n("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}",n(`gamingLimits.${E}`).toLowerCase()).replace("{updatedAmount}",t).replace("{currency}",D[e.currency]||e.currency).replace("{selectedPeriod}",n(`gamingLimits.${w}`).toLowerCase());i(12,H=e.isModified?`${n("gamingLimits.popupPendingUpdate")} ${new Date(e.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:r)}i(11,B=!0)},M=e=>{i(10,P=!0),i(7,A=!0);let t=new URL(`v2/player/${m}/limits/${{wager:"wagering",loss:"loss",deposit:"deposit"}[e.limitType]}?periods=${e.period}`,d),n={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,n).then((e=>e.json())).then((e=>{C()})).catch((e=>{console.log(e),i(7,A=!1),i(8,$=!0)}))},U=()=>{var e;e=c,ti.set(e)};return e.$$set=e=>{"lang"in e&&i(21,c=e.lang),"currency"in e&&i(22,u=e.currency),"limits"in e&&i(23,h=e.limits),"session"in e&&i(24,p=e.session),"userid"in e&&i(25,m=e.userid),"endpoint"in e&&i(26,d=e.endpoint),"clientstyling"in e&&i(27,f=e.clientstyling),"clientstylingurl"in e&&i(28,g=e.clientstylingurl)},e.$$.update=()=>{8388608&e.$$.dirty[0]&&h&&(h.split(" ").forEach((e=>{z[e]?v.push(z[e]):console.error(`Unknown limit: ${e}`)})),i(1,E=v[0].value),i(2,w=z[E].periods[0]),i(5,T=v.length>1),i(6,x=z[E].periods.length>1)),2097152&e.$$.dirty[0]&&c&&U(),117440512&e.$$.dirty[0]&&m&&p&&d&&C(),268435456&e.$$.dirty[0]&&g&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,r&&(setTimeout((()=>{r.appendChild(t)}),1),setTimeout((()=>{}),500))}))})(),134217728&e.$$.dirty[0]&&f&&(()=>{let e=document.createElement("style");e.innerHTML=f,r.appendChild(e)})()},[r,E,w,o,s,T,x,A,$,S,P,B,H,n,b,v,()=>{i(2,w=z[E].periods[0]),i(6,x=z[E].periods.length>1)},()=>{if(!(o>0))return;i(10,P=!0),i(7,A=!0);let e=new URL(`v2/player/${m}/limits`,d);const t={};t[z[E].callValue]=[{period:w,amount:o,currency:u}];let n={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,n).then((e=>{if(e.status>=300)throw i(7,A=!1),i(11,B=!0),i(9,S=!0),new Error("There was an error while setting the new limit");return e.json()})).then((e=>{C()})).catch((e=>{console.log(e),i(9,S=!0),i(11,B=!0),i(7,A=!1)}))},()=>{const e=999999999999999;o>e&&i(3,o=e);const t=o-Math.floor(o)==0;o>0&&t?s.removeAttribute("disabled"):s.setAttribute("disabled","true")},M,()=>{i(11,B=i(10,P=!1))},c,u,h,p,m,d,f,g,e=>M(e),function(){E=_(this),i(1,E),i(15,v)},function(){w=_(this),i(2,w),i(1,E)},function(){o=L(this.value),i(3,o)},function(e){I[e?"unshift":"push"]((()=>{s=e,i(4,s)}))},function(e){I[e?"unshift":"push"]((()=>{r=e,i(0,r)}))}]}!customElements.get("player-account-gaming-limits-page-2-gmcore")&&customElements.define("player-account-gaming-limits-page-2-gmcore",class extends V{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';font-size:1.3rem}*,*::before,*::after{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;border:1px solid;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border-color:#ced4da}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;border:1px solid;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border-color:#ced4da}select:hover{cursor:pointer;background-color:#7ec51e}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-gmcore{color:var(--emfe-w-color-white, #333)}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:63%;padding:0 12px;margin:0 auto}.LimitsList.Desktop{display:flex;flex-wrap:wrap;justify-content:space-between;width:63%;margin:0 auto}.LimitWrapper{background:var(--emfe-w-color-white, #fff);font-size:1.3rem;border:1px solid #ccc;padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:#7ac317;color:#fff;border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:#ccc 1px solid}.LimitDetailsTextWrapper{font-size:1.3rem;color:#666}.PendingLimit{color:#999}.LimitTitle{font-size:1.5rem}.PopupOverlay{position:absolute;top:0;left:0;background-color:rgba(0, 0, 0, 0.5);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:#fff;font-size:1rem;color:#333;width:80vw;height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:#fff;font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:#fff;color:#666;border:1px solid #ccc;border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:#f3f3fc}@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 #7ac317;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:1.0s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1.0s;animation-iteration-count:infinite;animation-timing-function:linear}</style>",W(this,{target:this.shadowRoot,props:$(this.attributes),customElement:!0},Kn,Xn,o,{lang:21,currency:22,limits:23,session:24,userid:25,endpoint:26,clientstyling:27,clientstylingurl:28},null,[-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),k()))}static get observedAttributes(){return["lang","currency","limits","session","userid","endpoint","clientstyling","clientstylingurl"]}get lang(){return this.$$.ctx[21]}set lang(e){this.$$set({lang:e}),k()}get currency(){return this.$$.ctx[22]}set currency(e){this.$$set({currency:e}),k()}get limits(){return this.$$.ctx[23]}set limits(e){this.$$set({limits:e}),k()}get session(){return this.$$.ctx[24]}set session(e){this.$$set({session:e}),k()}get userid(){return this.$$.ctx[25]}set userid(e){this.$$set({userid:e}),k()}get endpoint(){return this.$$.ctx[26]}set endpoint(e){this.$$set({endpoint:e}),k()}get clientstyling(){return this.$$.ctx[27]}set clientstyling(e){this.$$set({clientstyling:e}),k()}get clientstylingurl(){return this.$$.ctx[28]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),k()}});const Yn={lugas:{title:"Deposit Limit",value:"lugas",callValue:"lugasLimit",callValue16:"Lugas",periods:["Monthly"]},deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",callValue16:"Deposit",periods:["Daily","Weekly","Monthly"]},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",callValue16:"Loss",periods:["Daily","Weekly","Monthly"]},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",callValue16:"Wagering",periods:["Monthly"]},stake:{title:"Stake Limit",value:"stake",callValue:"maxStake",callValue16:"MaxStake",periods:["None"]}};const Zn={en:{gamingLimits:{loadingText:"Loading, please wait...",Monthly:"month",Weekly:"week",Daily:"day",None:" ",noPeriod:".",per:"per",updateText:"will be applied on",removedLimitText:"The limit will be removed on",noLimitText:"There is currently no limit set.",lugasPrivacy:"The cross-provider LUGAS limit is not visible to providers.",limitType:"Limit Type",period:"Period",amount:"Amount",new:"New",limit:"limit",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit",stake:"Stake Limit",lugas:"Current Deposit Limit",removeLimit:"REMOVE",popupPendingUpdate:"We have received the request to change the limit. Please be aware that the update will only come into effect on",popupImmediateUpdate:"Your new {selectedLimit} is {updatedAmount}{currency} {per} {selectedPeriod}",popupTitle:"Limit changed",popupSuccess:"Succesful"}},fr:{gamingLimits:{loadingText:"Chargement, veuillez patienter...",Monthly:"mois",Weekly:"semaine",Daily:"jour",per:"par",updateText:"sera appliqué sur",noLimitText:"Aucune limite n'est actuellement définie.",limitType:"Limit Type",period:"Period",amount:"Amount",new:"New",limit:"limit",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit"}},ro:{gamingLimits:{loadingText:"Se incarca, va rugam asteptati...",Monthly:"luna",Weekly:"saptamana",Daily:"zi",per:"pe",updateText:"va intra in vigoare incepand cu",noLimitText:"Momentan nu este setata o limita.",limitType:"Tip Limita",period:"Perioada",amount:"Valoare",new:"Limita pe",limit:"noua",setLimit:"ACCEPTA LIMITA",loss:"Limita de Pierdere",deposit:"Limita de Depunere",wager:"Limita de Pariere",removeLimit:"ELIMINA",popupPendingUpdate:"Am primit cererea de a schimba limita. Schimbarea va intra in vigoare in data de",popupImmediateUpdate:"Noua {selectedLimit} este {updatedAmount}{currency} pe {selectedPeriod}",popupTitle:"Limita schimbata",popupSuccess:"Succes!"}},es:{gamingLimits:{loadingText:"Cargando por favor espere..."}},pt:{gamingLimits:{loadingText:"Carregando, por favor espere..."}},de:{gamingLimits:{loadingText:"Laden, bitte warten..."}}};function qn(e,t,i){const n=e.slice();return n[54]=t[i],n}function Jn(e,t,i){const n=e.slice();return n[57]=t[i],n}function Qn(e,t,i){const n=e.slice();return n[57]=t[i],n}function er(e,t,i){const n=e.slice();return n[62]=t[i],n}function tr(e){let t,i,n;function r(e,t){return e[10]?ir:nr}let o=r(e),s=o(e);return{c(){t=p("div"),i=p("div"),s.c(),b(i,"class",n="PopupContainer "+(e[13]?"Desktop":"")),b(t,"class","PopupOverlay")},m(e,n){c(e,t,n),l(t,i),s.m(i,null)},p(e,t){o===(o=r(e))&&s?s.p(e,t):(s.d(1),s=o(e),s&&(s.c(),s.m(i,null)))},d(e){e&&u(t),s.d()}}}function ir(e){let t,i,r,o,s,a,h,g,v,L,w,x,_,A,$,S,P,B,H,I,D,C,O,N,R=e[12]("gamingLimits.popupTitle")+"",M=e[12]("gamingLimits.popupSuccess")+"";return{c(){t=p("div"),i=p("span"),r=d(R),o=f(),s=p("button"),s.textContent="X",a=f(),h=p("div"),g=p("div"),v=m("svg"),L=m("defs"),w=m("style"),x=d(".fil0 {fill:black;fill-rule:nonzero}\n "),_=m("g"),A=m("polygon"),$=f(),S=p("p"),P=d(M),B=f(),H=p("p"),I=d(e[11]),D=f(),C=p("button"),C.textContent="OK",b(i,"class","PopupTitle"),b(s,"class","ClosePopup"),b(t,"class","PopupTitleWrapper"),b(w,"type","text/css"),b(A,"class","fil0"),b(A,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),b(v,"xmlns","http://www.w3.org/2000/svg"),b(v,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(v,"xml:space","preserve"),b(v,"version","1.1"),T(v,"shape-rendering","geometricPrecision"),T(v,"text-rendering","geometricPrecision"),T(v,"image-rendering","optimizeQuality"),b(v,"viewBox","0 0 90 69"),b(v,"x","0px"),b(v,"y","0px"),b(v,"fill-rule","evenodd"),b(v,"clip-rule","evenodd"),b(g,"class","ResultIconWrapper"),b(H,"class","DescriptionParagraph"),b(h,"class","DescriptionWrapper"),b(C,"class","ConfirmButton")},m(n,u){c(n,t,u),l(t,i),l(i,r),l(t,o),l(t,s),c(n,a,u),c(n,h,u),l(h,g),l(g,v),l(v,L),l(L,w),l(w,x),l(v,_),l(_,A),l(g,$),l(g,S),l(S,P),l(h,B),l(h,H),l(H,I),c(n,D,u),c(n,C,u),O||(N=[y(s,"click",e[19]),y(C,"click",e[19])],O=!0)},p(e,t){4096&t[0]&&R!==(R=e[12]("gamingLimits.popupTitle")+"")&&E(r,R),4096&t[0]&&M!==(M=e[12]("gamingLimits.popupSuccess")+"")&&E(P,M),2048&t[0]&&E(I,e[11])},d(e){e&&u(t),e&&u(a),e&&u(h),e&&u(D),e&&u(C),O=!1,n(N)}}}function nr(t){let i;return{c(){i=p("div"),b(i,"class","LoadingIndicator")},m(e,t){c(e,i,t)},p:e,d(e){e&&u(i)}}}function rr(e){let t,i,r,o,s,a,m,g,v,T,x,_,A,$,S,P,B,H=e[6]?`${e[12]("gamingLimits.amount")}`:`${e[12]("gamingLimits.new")} ${e[12](`gamingLimits.${e[2]}`)} ${e[12]("gamingLimits.limit")}`,I=e[12]("gamingLimits.setLimit")+"",D=e[14],C=[];for(let t=0;t<D.length;t+=1)C[t]=dr(Qn(e,D,t));let O=e[5]&&fr(e),N=e[6]&&yr(e);return{c(){t=p("div"),i=p("div"),r=p("div");for(let e=0;e<C.length;e+=1)C[e].c();o=f(),s=p("form"),O&&O.c(),a=f(),N&&N.c(),m=f(),g=p("label"),v=p("span"),T=d(H),x=f(),_=p("input"),A=f(),$=p("button"),S=d(I),b(r,"class","LimitsList "+(e[13]?"Desktop":"")),b(v,"class","LimitInputText"),b(_,"type","number"),b(_,"pattern","[0-9]*"),b(g,"class","LimitAmountInputWrapper"),b($,"class","LimitSubmitButton"),b($,"type","button"),$.disabled=!0,b(s,"class","LimitsInteractionArea "+(e[13]?"Desktop":"")),b(i,"class","LimitsPageContainer"),b(t,"class","player-account-gaming-limits-page-2-gm16")},m(n,u){c(n,t,u),l(t,i),l(i,r);for(let e=0;e<C.length;e+=1)C[e].m(r,null);l(i,o),l(i,s),O&&O.m(s,null),l(s,a),N&&N.m(s,null),l(s,m),l(s,g),l(g,v),l(v,T),l(g,x),l(g,_),w(_,e[3]),l(s,A),l(s,$),l($,S),e[33]($),P||(B=[y(_,"input",e[32]),y(_,"keyup",e[17]),y($,"click",e[16]),y(s,"submit",e[16])],P=!0)},p(e,t){if(290816&t[0]){let i;for(D=e[14],i=0;i<D.length;i+=1){const n=Qn(e,D,i);C[i]?C[i].p(n,t):(C[i]=dr(n),C[i].c(),C[i].m(r,null))}for(;i<C.length;i+=1)C[i].d(1);C.length=D.length}e[5]?O?O.p(e,t):(O=fr(e),O.c(),O.m(s,a)):O&&(O.d(1),O=null),e[6]?N?N.p(e,t):(N=yr(e),N.c(),N.m(s,m)):N&&(N.d(1),N=null),4164&t[0]&&H!==(H=e[6]?`${e[12]("gamingLimits.amount")}`:`${e[12]("gamingLimits.new")} ${e[12](`gamingLimits.${e[2]}`)} ${e[12]("gamingLimits.limit")}`)&&E(T,H),8&t[0]&&L(_.value)!==e[3]&&w(_,e[3]),4096&t[0]&&I!==(I=e[12]("gamingLimits.setLimit")+"")&&E(S,I)},d(i){i&&u(t),h(C,i),O&&O.d(),N&&N.d(),e[33](null),P=!1,n(B)}}}function or(t){let i;return{c(){i=p("p"),i.textContent="500 Server error"},m(e,t){c(e,i,t)},p:e,d(e){e&&u(i)}}}function sr(t){return{c:e,m:e,p:e,d:e}}function ar(t){let i;return{c(){i=p("div"),b(i,"class","LoadingIndicator")},m(e,t){c(e,i,t)},p:e,d(e){e&&u(i)}}}function lr(e){let t,i,n,r,o=e[12]("gamingLimits.noLimitText")+"";return{c(){t=p("div"),i=p("div"),n=p("div"),r=d(o),b(n,"class","LimitDetailsTextWrapper"),b(i,"class","LimitDetailsWrapper"),b(t,"class","LimitDetails")},m(e,o){c(e,t,o),l(t,i),l(i,n),l(n,r)},p(e,t){4096&t[0]&&o!==(o=e[12]("gamingLimits.noLimitText")+"")&&E(r,o)},d(e){e&&u(t)}}}function cr(e){let t,i,n,r,o=e[12]("gamingLimits.lugasPrivacy")+"";return{c(){t=p("div"),i=p("div"),n=p("div"),r=d(o),b(n,"class","LimitDetailsTextWrapper"),b(i,"class","LimitDetailsWrapper"),b(t,"class","LimitDetails")},m(e,o){c(e,t,o),l(t,i),l(i,n),l(n,r)},p(e,t){4096&t[0]&&o!==(o=e[12]("gamingLimits.lugasPrivacy")+"")&&E(r,o)},d(e){e&&u(t)}}}function ur(e){let t,i=e[57].currentLimits,n=[];for(let t=0;t<i.length;t+=1)n[t]=mr(er(e,i,t));return{c(){for(let e=0;e<n.length;e+=1)n[e].c();t=g()},m(e,i){for(let t=0;t<n.length;t+=1)n[t].m(e,i);c(e,t,i)},p(e,r){if(282624&r[0]){let o;for(i=e[57].currentLimits,o=0;o<i.length;o+=1){const s=er(e,i,o);n[o]?n[o].p(s,r):(n[o]=mr(s),n[o].c(),n[o].m(t.parentNode,t))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},d(e){h(n,e),e&&u(t)}}}function hr(e){let t,i,n=`${e[12]("gamingLimits.removedLimitText")} ${e[62].expiryDate}`;return{c(){t=p("div"),i=d(n),b(t,"class","PendingLimit")},m(e,n){c(e,t,n),l(t,i)},p(e,t){4096&t[0]&&n!==(n=`${e[12]("gamingLimits.removedLimitText")} ${e[62].expiryDate}`)&&E(i,n)},d(e){e&&u(t)}}}function pr(e){let t,i,n=`${e[62].updateAmount}${e[62].currency} ${"None"===e[62].period?" ":e[12]("gamingLimits.per")} ${e[12](`gamingLimits.${e[62].period}`)} ${e[12]("gamingLimits.updateText")} ${e[62].expiryDate}`;return{c(){t=p("div"),i=d(n),b(t,"class","PendingLimit")},m(e,n){c(e,t,n),l(t,i)},p(e,t){4096&t[0]&&n!==(n=`${e[62].updateAmount}${e[62].currency} ${"None"===e[62].period?" ":e[12]("gamingLimits.per")} ${e[12](`gamingLimits.${e[62].period}`)} ${e[12]("gamingLimits.updateText")} ${e[62].expiryDate}`)&&E(i,n)},d(e){e&&u(t)}}}function mr(e){let t,i,n,r,o,s,a,h=`${e[62].amount}${e[62].currency} ${"None"===e[62].period?" ":e[12]("gamingLimits.per")} ${e[12](`gamingLimits.${e[62].period}`)}`;let m=function(e,t){return e[62].isModified&&+e[62].updateAmount>0?pr:e[62].isModified?hr:void 0}(e),g=m&&m(e),v=!e[62].isModified&&function(e){let t,i,n,r,o=e[12]("gamingLimits.removeLimit")+"";function s(){return e[29](e[62])}return{c(){t=p("button"),i=d(o),b(t,"class","RemoveLimitButton")},m(e,o){c(e,t,o),l(t,i),n||(r=y(t,"click",s),n=!0)},p(t,n){e=t,4096&n[0]&&o!==(o=e[12]("gamingLimits.removeLimit")+"")&&E(i,o)},d(e){e&&u(t),n=!1,r()}}}(e);return{c(){t=p("div"),i=p("div"),n=p("div"),r=d(h),o=f(),g&&g.c(),s=f(),v&&v.c(),a=f(),b(n,"class","CurrentLimit"),b(i,"class","LimitDetailsTextWrapper"),b(t,"class","LimitDetails")},m(e,u){c(e,t,u),l(t,i),l(i,n),l(n,r),l(i,o),g&&g.m(i,null),l(t,s),v&&v.m(t,null),l(t,a)},p(e,t){4096&t[0]&&h!==(h=`${e[62].amount}${e[62].currency} ${"None"===e[62].period?" ":e[12]("gamingLimits.per")} ${e[12](`gamingLimits.${e[62].period}`)}`)&&E(r,h),g&&g.p(e,t),e[62].isModified||v.p(e,t)},d(e){e&&u(t),g&&g.d(),v&&v.d()}}}function dr(e){let t,i,n,r,o,s,a=e[12](`gamingLimits.${e[57].value}`)+"";let h=function(e,t){return e[57].currentLimits.length>0?ur:"lugas"===e[57].value?cr:lr}(e),m=h(e);return{c(){t=p("div"),i=p("p"),n=d(a),r=f(),m.c(),o=f(),b(i,"class","LimitTitle"),b(t,"class",s="LimitWrapper "+(e[13]?"Desktop":""))},m(e,s){c(e,t,s),l(t,i),l(i,n),l(t,r),m.m(t,null),l(t,o)},p(e,t){4096&t[0]&&a!==(a=e[12](`gamingLimits.${e[57].value}`)+"")&&E(n,a),m.p(e,t)},d(e){e&&u(t),m.d()}}}function fr(e){let t,i,r,o,s,a,m,g=e[12]("gamingLimits.limitType")+"",v=e[14],L=[];for(let t=0;t<v.length;t+=1)L[t]=gr(Jn(e,v,t));return{c(){t=p("label"),i=p("span"),r=d(g),o=f(),s=p("select");for(let e=0;e<L.length;e+=1)L[e].c();b(i,"class","LimitSelectText"),b(s,"name",""),b(s,"id",""),void 0===e[1]&&R((()=>e[30].call(s))),b(t,"class","LimitTypeDropdownWrapper")},m(n,u){c(n,t,u),l(t,i),l(i,r),l(t,o),l(t,s);for(let e=0;e<L.length;e+=1)L[e].m(s,null);x(s,e[1]),a||(m=[y(s,"change",e[30]),y(s,"change",e[15])],a=!0)},p(e,t){if(4096&t[0]&&g!==(g=e[12]("gamingLimits.limitType")+"")&&E(r,g),16384&t[0]){let i;for(v=e[14],i=0;i<v.length;i+=1){const n=Jn(e,v,i);L[i]?L[i].p(n,t):(L[i]=gr(n),L[i].c(),L[i].m(s,null))}for(;i<L.length;i+=1)L[i].d(1);L.length=v.length}16386&t[0]&&x(s,e[1])},d(e){e&&u(t),h(L,e),a=!1,n(m)}}}function gr(t){let i,n,r,o=t[57].title+"";return{c(){i=p("option"),n=d(o),i.__value=r=t[57].value,i.value=i.__value},m(e,t){c(e,i,t),l(i,n)},p:e,d(e){e&&u(i)}}}function yr(e){let t,i,n,r,o,s,a,m=e[12]("gamingLimits.period")+"",g=Yn[e[1]].periods,v=[];for(let t=0;t<g.length;t+=1)v[t]=br(qn(e,g,t));return{c(){t=p("label"),i=p("span"),n=d(m),r=f(),o=p("select");for(let e=0;e<v.length;e+=1)v[e].c();b(i,"class","PeriodSelectText"),b(o,"name",""),b(o,"id",""),void 0===e[2]&&R((()=>e[31].call(o))),b(t,"class","LimitPeriodDropdownWrapper")},m(u,h){c(u,t,h),l(t,i),l(i,n),l(t,r),l(t,o);for(let e=0;e<v.length;e+=1)v[e].m(o,null);x(o,e[2]),s||(a=y(o,"change",e[31]),s=!0)},p(e,t){if(4096&t[0]&&m!==(m=e[12]("gamingLimits.period")+"")&&E(n,m),4098&t[0]){let i;for(g=Yn[e[1]].periods,i=0;i<g.length;i+=1){const n=qn(e,g,i);v[i]?v[i].p(n,t):(v[i]=br(n),v[i].c(),v[i].m(o,null))}for(;i<v.length;i+=1)v[i].d(1);v.length=g.length}6&t[0]&&x(o,e[2])},d(e){e&&u(t),h(v,e),s=!1,a()}}}function br(e){let t,i,n,r,o,s=e[12]("gamingLimits.per")+"",a=e[12](`gamingLimits.${e[54]}`)+"";return{c(){t=p("option"),i=d(s),n=f(),r=d(a),t.__value=o=e[54],t.value=t.__value,t.selected=!0},m(e,o){c(e,t,o),l(t,i),l(t,n),l(t,r)},p(e,n){4096&n[0]&&s!==(s=e[12]("gamingLimits.per")+"")&&E(i,s),4098&n[0]&&a!==(a=e[12](`gamingLimits.${e[54]}`)+"")&&E(r,a),16386&n[0]&&o!==(o=e[54])&&(t.__value=o,t.value=t.__value)},d(e){e&&u(t)}}}function vr(t){let i,n,r=t[9]&&tr(t);function o(e,t){return e[7]&&!e[9]?ar:e[7]?sr:e[8]?or:rr}let s=o(t),a=s(t);return{c(){i=p("div"),r&&r.c(),n=f(),a.c(),this.c=e},m(e,o){c(e,i,o),r&&r.m(i,null),l(i,n),a.m(i,null),t[34](i)},p(e,t){e[9]?r?r.p(e,t):(r=tr(e),r.c(),r.m(i,n)):r&&(r.d(1),r=null),s===(s=o(e))&&a?a.p(e,t):(a.d(1),a=s(e),a&&(a.c(),a.m(i,null)))},i:e,o:e,d(e){e&&u(i),r&&r.d(),a.d(),t[34](null)}}}function Lr(e,t,i){let n;a(e,mi,(e=>i(12,n=e)));let r,o,s,l,{lang:c="en"}=t,{currency:u=""}=t,{limits:h=""}=t,{session:p=""}=t,{userid:m=""}=t,{endpoint:d=""}=t,{apiversion:f=""}=t,{clientstyling:g=""}=t,{clientstylingurl:y=""}=t,b=window.navigator.userAgent,v=!Tn(b),E=[],w="",T="",x=!1,A=!1,$=!0,S=!1,P=!1,B=!1,H="";const D={EUR:"€",RON:" lei",USD:"$"};Object.keys(Zn).forEach((e=>{!function(e,t){kt(e,t)}(e,Zn[e])}));const C=()=>{let e=new URL(`v1/player/${m}/limits/monetary`,d),t={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,t).then((e=>{if(e.status>=300)throw i(7,$=!1),i(8,S=!0),new Error("There was an error fetching the limits");return e.json()})).then((e=>{l=e,P&&M(),"gmcore"===f&&O(l),"gm16"===f&&N(l),i(3,o=null)})).catch((e=>{console.error("Error LimitsWidget: ",e),i(8,S=!0)})).finally((()=>{i(7,$=!1)}))},O=e=>{E.forEach((t=>{var i;t.currentLimits=[],null===(i=e[Yn[t.value].callValue])||void 0===i||i.forEach(((i,n)=>{var r;const o=e[Yn[t.value].callValue][n];t.currentLimits.push({}),t.currentLimits[n].limitType=t.value,t.currentLimits[n].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.amount),t.currentLimits[n].currency=null!==(r=D[o.currency])&&void 0!==r?r:o.currency,t.currentLimits[n].period=o.period,t.currentLimits[n].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.updateAmount),t.currentLimits[n].isModified=o.isModified,t.currentLimits[n].expiryDate=`${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})),t.currentLimits=R(t.currentLimits)}))},N=e=>{E.forEach((t=>{var i;t.currentLimits=[];for(const n of e.limits){if(n.type!==t.callValue16)continue;const e=n;t.currentLimits.push({limitType:t.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount),currency:null!==(i=D[e.currency])&&void 0!==i?i:e.currency,isModified:e.schedules.length>0,period:e.period,updateAmount:e.schedules.length>0?Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.schedules[0].updateAmount):"",expiryDate:e.schedules.length>0?`${new Date(e.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"",id:e.id})}t.currentLimits=R(t.currentLimits)}))},R=e=>{const t={Daily:0,Weekly:1,Monthly:2};return e.sort(((e,i)=>t[e.period]-t[i.period])),e},M=()=>{switch(f){case"gmcore":(()=>{if(l){const e=l[Yn[w].callValue].filter((e=>e.period===T))[0],t=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount);let r=n("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}",n(`gamingLimits.${w}`).toLowerCase()).replace("{updatedAmount}",t).replace("{currency}",D[e.currency]||e.currency).replace("{per}","None"===e.period?" ":n("gamingLimits.per")).replace("{selectedPeriod}",n(`gamingLimits.${T}`).toLowerCase());i(11,H=e.isModified?`${n("gamingLimits.popupPendingUpdate")} ${new Date(e.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:r)}i(10,B=!0)})();break;case"gm16":"lugas"===w?(i(11,H="Your LUGAS update request has been received."),i(10,B=!0)):(()=>{if(l){const e=l.limits.filter((e=>e.type===Yn[w].callValue16&&e.period===T))[0],t=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount),r=e.schedules.length>0?`${new Date(e.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"";let o=n("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}",n(`gamingLimits.${w}`).toLowerCase()).replace("{updatedAmount}",t).replace("{currency}",D[e.currency]||e.currency).replace("{per}","None"===e.period?" ":n("gamingLimits.per")).replace("{selectedPeriod}",n(`gamingLimits.${T}`).toLowerCase());i(11,H=e.schedules.length>0?`${n("gamingLimits.popupPendingUpdate")} ${r}`:o)}i(10,B=!0)})();break;default:throw new Error(`Invalid apiversion attribute: ${f}`)}},U=e=>{const t=new URL(`/v1/player/${m}/limits/monetary/${e.id}`,d);i(9,P=!0),i(7,$=!0);let n={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,n).then((e=>e.json())).then((e=>C())).catch((e=>{console.log(e),i(8,S=!0)}))},k=()=>{var e;e=c,ti.set(e)};return e.$$set=e=>{"lang"in e&&i(20,c=e.lang),"currency"in e&&i(21,u=e.currency),"limits"in e&&i(22,h=e.limits),"session"in e&&i(23,p=e.session),"userid"in e&&i(24,m=e.userid),"endpoint"in e&&i(25,d=e.endpoint),"apiversion"in e&&i(26,f=e.apiversion),"clientstyling"in e&&i(27,g=e.clientstyling),"clientstylingurl"in e&&i(28,y=e.clientstylingurl)},e.$$.update=()=>{4194304&e.$$.dirty[0]&&h&&(h.split(" ").forEach((e=>{Yn[e]?E.push(Yn[e]):console.error(`Unknown limit: ${e}`)})),i(1,w=E[0].value),i(2,T=Yn[w].periods[0]),i(5,x=E.length>1),i(6,A=Yn[w].periods.length>1)),1048576&e.$$.dirty[0]&&c&&k(),125829120&e.$$.dirty[0]&&m&&p&&d&&f&&C(),268435456&e.$$.dirty[0]&&y&&(()=>{let e=new URL(y),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,r&&setTimeout((()=>{r.appendChild(t)}),1)}))})(),134217728&e.$$.dirty[0]&&g&&(()=>{let e=document.createElement("style");e.innerHTML=g,r.appendChild(e)})()},[r,w,T,o,s,x,A,$,S,P,B,H,n,v,E,()=>{i(2,T=Yn[w].periods[0]),i(6,A=Yn[w].periods.length>1)},()=>{switch(f){case"gmcore":(()=>{if(!(o>0))return;i(9,P=!0),i(7,$=!0);let e=new URL(`v2/player/${m}/limits`,d);const t={};t[Yn[w].callValue]=[{period:"None"===Yn[w].periods[0]?null:T,amount:o,currency:u}];let n={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,n).then((e=>e.json())).then((e=>{C()})).catch((e=>{console.log(e),i(8,S=!0)}))})();break;case"gm16":"lugas"===w?(()=>{if(!(o>0))return;i(9,P=!0),i(7,$=!0);const e=new URL(`v1/player/${m}/limit/lugas`,d),t={amount:o};let n={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,n).then((e=>e.json())).then((e=>{C()})).catch((e=>{console.log(e),i(8,S=!0)}))})():(()=>{if(!(o>0))return;i(9,P=!0),i(7,$=!0);const e=E.filter((e=>e.value===w))[0].currentLimits.filter((e=>e.period===T))[0],t=new URL(`v1/player/${m}/limits/monetary/${e?e.id:""}`,d),n=e?"PUT":"POST",r=e?{amount:o,skipCoolOff:!1}:{amount:o,currency:u,period:"None"===Yn[w].periods[0]?null:T,type:Yn[w].callValue16,products:["All"],walletTypes:["All"]};let s={method:n,headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(r)};fetch(t.href,s).then((e=>e.json())).then((e=>{C()})).catch((e=>{console.log(e),i(8,S=!0)}))})();break;default:throw Error(`Invalid apiversion attribute: ${f}`)}},()=>{const e=999999999999999;o>e&&i(3,o=e);const t=o-Math.floor(o)==0;o>0&&t?s.removeAttribute("disabled"):s.setAttribute("disabled","true")},U,()=>{i(10,B=i(9,P=!1))},c,u,h,p,m,d,f,g,y,e=>U(e),function(){w=_(this),i(1,w),i(14,E)},function(){T=_(this),i(2,T),i(1,w)},function(){o=L(this.value),i(3,o)},function(e){I[e?"unshift":"push"]((()=>{s=e,i(4,s)}))},function(e){I[e?"unshift":"push"]((()=>{r=e,i(0,r)}))}]}!customElements.get("player-account-gaming-limits-page-2-gm16")&&customElements.define("player-account-gaming-limits-page-2-gm16",class extends V{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}select,input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:2px;border:1px solid #999}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{background:#E8E9EB;color:var(--emfe-w-color-white, #333)}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:63%;padding:0 12px;margin:0 auto}.LimitsList.Desktop{display:flex;flex-wrap:wrap;justify-content:space-between;width:63%;margin:0 auto}.LimitWrapper{background:var(--emfe-w-color-white, #fff);font-size:1.3rem;border:1px solid #ccc;padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:#7ac317;color:#fff;border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:#ccc 1px solid}.LimitDetailsTextWrapper{font-size:1.3rem;color:#666}.PendingLimit{color:#999}.LimitTitle{font-size:0.9rem}.PopupOverlay{position:absolute;top:0;left:0;background:#000;height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:#fff;font-size:1rem;color:#333;width:80vw;height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:#fff;font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:#fff;color:#666;border:1px solid #ccc;border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:#f3f3fc}@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 #7ac317;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:1.0s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1.0s;animation-iteration-count:infinite;animation-timing-function:linear}</style>",W(this,{target:this.shadowRoot,props:$(this.attributes),customElement:!0},Lr,vr,o,{lang:20,currency:21,limits:22,session:23,userid:24,endpoint:25,apiversion:26,clientstyling:27,clientstylingurl:28},null,[-1,-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),k()))}static get observedAttributes(){return["lang","currency","limits","session","userid","endpoint","apiversion","clientstyling","clientstylingurl"]}get lang(){return this.$$.ctx[20]}set lang(e){this.$$set({lang:e}),k()}get currency(){return this.$$.ctx[21]}set currency(e){this.$$set({currency:e}),k()}get limits(){return this.$$.ctx[22]}set limits(e){this.$$set({limits:e}),k()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),k()}get userid(){return this.$$.ctx[24]}set userid(e){this.$$set({userid:e}),k()}get endpoint(){return this.$$.ctx[25]}set endpoint(e){this.$$set({endpoint:e}),k()}get apiversion(){return this.$$.ctx[26]}set apiversion(e){this.$$set({apiversion:e}),k()}get clientstyling(){return this.$$.ctx[27]}set clientstyling(e){this.$$set({clientstyling:e}),k()}get clientstylingurl(){return this.$$.ctx[28]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),k()}});const Er={en:{history:{expandLimits:"LIMIT HISTORY",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",loading:"Loading limits history...",error:"500 - Server Error",limitRemoved:"Limit removed"}},zh:{history:{expandLimits:"极限历史",daily:"每天",weekly:"每个星期",monthly:"每月",loss:"损失限额",deposit:"存款限额",wagering:"投注限额",loading:"加载请稍候...",error:"500 - 服务器错误",limitRemoved:"移除限制"}},fr:{history:{expandLimits:"LIMITER L'HISTORIQUE",daily:"par jour",weekly:"par semaine",monthly:"par mois",loss:"Limite de perte",deposit:"Limite de dépôt",wagering:"Limite de mise",loading:"Chargement, veuillez patienter...",error:"500 - Erreur de serveur",limitRemoved:"Limite supprimée"}},ro:{history:{expandLimits:"ISTORIC LIMITE",daily:"pe zi",weekly:"pe saptamana",monthly:"pe luna",loss:"Limita de pierdere",deposit:"Limita de incarcare",loading:"Se incarca, va rugam asteptati...",error:"500 - Eroare de server",limitRemoved:"Limita eliminata"}}};function wr(e,t,i){const n=e.slice();return n[25]=t[i],n}function Tr(e){let t,i,n,r,o,s,a,g,v,L,w,T,x=e[7]("history.expandLimits")+"",_=e[4],$=[];for(let t=0;t<_.length;t+=1)$[t]=Sr(wr(e,_,t));return{c(){t=p("div"),i=p("div"),n=p("button"),r=d(x),o=f(),s=m("svg"),a=m("path"),g=m("path"),v=f(),L=p("div");for(let e=0;e<$.length;e+=1)$[e].c();b(a,"d","M10.5 15l7.5 7.5 7.5-7.5z"),b(g,"d","M0 0h36v36h-36z"),b(g,"fill","none"),b(s,"class","ExpandArrow"),b(s,"xmlns","http://www.w3.org/2000/svg"),b(s,"width","36"),b(s,"height","36"),b(s,"viewBox","0 0 36 36"),b(s,"fill","#999"),A(s,"extended",e[6]),b(n,"class","ExpandButton"),b(L,"class","HistoryDisplayArea"),A(L,"hidden",e[5]),b(i,"class","HistoryWrapper "+(e[8]?"Desktop":"")),b(t,"class","player-account-gaming-limits-history-2")},m(u,h){c(u,t,h),l(t,i),l(i,n),l(n,r),l(n,o),l(n,s),l(s,a),l(s,g),l(i,v),l(i,L);for(let e=0;e<$.length;e+=1)$[e].m(L,null);w||(T=y(n,"click",e[9]),w=!0)},p(e,t){if(128&t&&x!==(x=e[7]("history.expandLimits")+"")&&E(r,x),64&t&&A(s,"extended",e[6]),144&t){let i;for(_=e[4],i=0;i<_.length;i+=1){const n=wr(e,_,i);$[i]?$[i].p(n,t):($[i]=Sr(n),$[i].c(),$[i].m(L,null))}for(;i<$.length;i+=1)$[i].d(1);$.length=_.length}32&t&&A(L,"hidden",e[5])},d(e){e&&u(t),h($,e),w=!1,T()}}}function xr(t){return{c:e,m:e,p:e,d:e}}function _r(e){let t,i,n=(e[0]?e[7]("history.error"):"500 Server Error")+"";return{c(){t=p("p"),i=d(n)},m(e,n){c(e,t,n),l(t,i)},p(e,t){129&t&&n!==(n=(e[0]?e[7]("history.error"):"500 Server Error")+"")&&E(i,n)},d(e){e&&u(t)}}}function Ar(e){let t,i,n,r,o,s,a,h,m,g,y,v,L=e[25].type+"",w=e[25].amount+"",T=e[25].currency+"",x=e[25].period+"",_=e[25].date+"";return{c(){t=p("div"),i=p("span"),n=p("span"),r=d(L),o=p("span"),s=d(w),a=f(),h=d(T),m=f(),g=d(x),y=p("span"),v=d(_),b(n,"class","LimitType"),b(o,"class","LimitAmountPeriod"),b(i,"class","GeneralLimitInformation"),b(y,"class","DateLimitInformation"),b(t,"class","HistoryRow")},m(e,u){c(e,t,u),l(t,i),l(i,n),l(n,r),l(i,o),l(o,s),l(o,a),l(o,h),l(o,m),l(o,g),l(t,y),l(y,v)},p(e,t){16&t&&L!==(L=e[25].type+"")&&E(r,L),16&t&&w!==(w=e[25].amount+"")&&E(s,w),16&t&&T!==(T=e[25].currency+"")&&E(h,T),16&t&&x!==(x=e[25].period+"")&&E(g,x),16&t&&_!==(_=e[25].date+"")&&E(v,_)},d(e){e&&u(t)}}}function $r(e){let t,i,n,r,o,s,a,h,m=e[25].type+"",f=e[7]("history.limitRemoved")+"",g=e[25].date+"";return{c(){t=p("div"),i=p("span"),n=p("span"),r=d(m),o=p("span"),s=d(f),a=p("span"),h=d(g),b(n,"class","LimitType"),b(o,"class","LimitAmountPeriod"),b(i,"class","GeneralLimitInformation"),b(a,"class","DateLimitInformation"),b(t,"class","HistoryRow")},m(e,u){c(e,t,u),l(t,i),l(i,n),l(n,r),l(i,o),l(o,s),l(t,a),l(a,h)},p(e,t){16&t&&m!==(m=e[25].type+"")&&E(r,m),128&t&&f!==(f=e[7]("history.limitRemoved")+"")&&E(s,f),16&t&&g!==(g=e[25].date+"")&&E(h,g)},d(e){e&&u(t)}}}function Sr(e){let t;function i(e,t){return e[25].removed?$r:Ar}let n=i(e),r=n(e);return{c(){r.c(),t=g()},m(e,i){r.m(e,i),c(e,t,i)},p(e,o){n===(n=i(e))&&r?r.p(e,o):(r.d(1),r=n(e),r&&(r.c(),r.m(t.parentNode,t)))},d(e){r.d(e),e&&u(t)}}}function Pr(t){let i;function n(e,t){return e[2]?_r:e[3]?xr:Tr}let r=n(t),o=r(t);return{c(){i=p("div"),o.c(),this.c=e},m(e,n){c(e,i,n),o.m(i,null),t[16](i)},p(e,[t]){r===(r=n(e))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(i,null)))},i:e,o:e,d(e){e&&u(i),o.d(),t[16](null)}}}function Br(e,t,i){let n;a(e,mi,(e=>i(7,n=e)));let r,o=window.navigator.userAgent,s=!Tn(o),{lang:l=""}=t,{userid:c=""}=t,{session:u=""}=t,{endpoint:h=""}=t,{apiversion:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:d=""}=t,f=!1,g=!0,y=[],b=!0,v=!1,L={EUR:"€",RON:"lei"};Object.keys(Er).forEach((e=>{!function(e,t){kt(e,t)}(e,Er[e])}));const E=e=>{const t=!!Er[l];return e.map((e=>{let i={amount:"",currency:"",date:"",period:"",type:"",removed:!1};return i.amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.limitAmount),i.currency=t?L[e.limitCurrencyCode]:e.limitCurrencyCode,i.date=new Intl.DateTimeFormat("de",{dateStyle:"medium"}).format(new Date(e.limitDate)),i.period=n(`history.${e.limitPeriod.toLowerCase()}`),i.type=n(`history.${e.limitType.split(" ")[0].toLowerCase()}`),i.removed=-1===e.limitAmount,i}))},w=()=>{var e;e=l,ti.set(e)};return e.$$set=e=>{"lang"in e&&i(0,l=e.lang),"userid"in e&&i(10,c=e.userid),"session"in e&&i(11,u=e.session),"endpoint"in e&&i(12,h=e.endpoint),"apiversion"in e&&i(13,p=e.apiversion),"clientstyling"in e&&i(14,m=e.clientstyling),"clientstylingurl"in e&&i(15,d=e.clientstylingurl)},e.$$.update=()=>{15360&e.$$.dirty&&h&&c&&u&&p&&(()=>{let e=new URL("gmcore"===p?`v2/player/${c}/transactions/limit`:`v1/player/${c}/limits/monetary/history`,h);console.log("HERE!",e.href),e.searchParams.append("startDate","1970"),e.searchParams.append("endDate","2099");let t={method:"GET",headers:{"X-SessionID":u}};fetch(e.href,t).then((e=>{if(e.status>=300)throw i(3,g=!1),i(2,f=!0),new Error("There was an error fetching the limits");return e.json()})).then((e=>{e.length&&i(4,y=E(e)),i(3,g=!1)}),(e=>{console.error("There was an error",e),i(2,f=!0)}))})(),1&e.$$.dirty&&l&&w(),32768&e.$$.dirty&&d&&(()=>{let e=new URL(d),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,r&&(setTimeout((()=>{r.appendChild(t)}),1),setTimeout((()=>{}),500))}))})(),16384&e.$$.dirty&&m&&(()=>{let e=document.createElement("style");e.innerHTML=m,r.appendChild(e)})()},[l,r,f,g,y,b,v,n,s,()=>{i(5,b=!b),i(6,v=!v)},c,u,h,p,m,d,function(e){I[e?"unshift":"push"]((()=>{r=e,i(1,r)}))}]}function Hr(e,t,i){const n=e.slice();return n[25]=t[i],n}function Ir(e,t,i){const n=e.slice();return n[28]=t[i],n[30]=i,n}function Dr(e){let t,i,n,r,o=e[10].length>1&&Or(e),s=e[10],a=[];for(let t=0;t<s.length;t+=1)a[t]=Ur(Hr(e,s,t));let l="true"===e[6]&&kr(e);return{c(){o&&o.c(),t=f(),i=p("div");for(let e=0;e<a.length;e+=1)a[e].c();n=f(),l&&l.c(),r=g(),b(i,"class","player-account-gaming-limits-wrapper-2")},m(s,u){o&&o.m(s,u),c(s,t,u),c(s,i,u);for(let e=0;e<a.length;e+=1)a[e].m(i,null);e[20](i),c(s,n,u),l&&l.m(s,u),c(s,r,u)},p(e,n){if(e[10].length>1?o?o.p(e,n):(o=Or(e),o.c(),o.m(t.parentNode,t)):o&&(o.d(1),o=null),1087&n){let t;for(s=e[10],t=0;t<s.length;t+=1){const r=Hr(e,s,t);a[t]?a[t].p(r,n):(a[t]=Ur(r),a[t].c(),a[t].m(i,null))}for(;t<a.length;t+=1)a[t].d(1);a.length=s.length}"true"===e[6]?l?l.p(e,n):(l=kr(e),l.c(),l.m(r.parentNode,r)):l&&(l.d(1),l=null)},d(s){o&&o.d(s),s&&u(t),s&&u(i),h(a,s),e[20](null),s&&u(n),l&&l.d(s),s&&u(r)}}}function Cr(t){return{c:e,m:e,p:e,d:e}}function Or(e){let t,i=e[10],n=[];for(let t=0;t<i.length;t+=1)n[t]=Nr(Ir(e,i,t));return{c(){t=p("div");for(let e=0;e<n.length;e+=1)n[e].c();b(t,"class","TabsContainer")},m(i,r){c(i,t,r);for(let e=0;e<n.length;e+=1)n[e].m(t,null);e[19](t)},p(e,r){if(11264&r){let o;for(i=e[10],o=0;o<i.length;o+=1){const s=Ir(e,i,o);n[o]?n[o].p(s,r):(n[o]=Nr(s),n[o].c(),n[o].m(t,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},d(i){i&&u(t),h(n,i),e[19](null)}}}function Nr(e){let t,i,n,r,o=(e[11][e[30]]??e[28])+"";function s(){return e[18](e[30])}return{c(){t=p("div"),i=d(o),b(t,"class","LimitsTab"),T(t,"width",100/e[10].length+"%")},m(e,o){c(e,t,o),l(t,i),n||(r=y(t,"click",s),n=!0)},p(n,r){e=n,3072&r&&o!==(o=(e[11][e[30]]??e[28])+"")&&E(i,o),1024&r&&T(t,"width",100/e[10].length+"%")},d(e){e&&u(t),n=!1,r()}}}function Rr(e){let t,i;return{c(){t=p("player-account-gaming-limits-page-2-gm16"),v(t,"class","hidden selected"),v(t,"lang",e[0]),v(t,"currency",e[4]),v(t,"limits",i=e[25]),v(t,"userid",e[1]),v(t,"session",e[2]),v(t,"endpoint",e[3]),v(t,"apiversion",e[5])},m(e,i){c(e,t,i)},p(e,n){1&n&&v(t,"lang",e[0]),16&n&&v(t,"currency",e[4]),1024&n&&i!==(i=e[25])&&v(t,"limits",i),2&n&&v(t,"userid",e[1]),4&n&&v(t,"session",e[2]),8&n&&v(t,"endpoint",e[3]),32&n&&v(t,"apiversion",e[5])},d(e){e&&u(t)}}}function Mr(e){let t,i;return{c(){t=p("player-account-gaming-limits-page-2-gmcore"),v(t,"class","hidden selected"),v(t,"lang",e[0]),v(t,"currency",e[4]),v(t,"limits",i=e[25]),v(t,"userid",e[1]),v(t,"session",e[2]),v(t,"endpoint",e[3]),v(t,"apiversion",e[5])},m(e,i){c(e,t,i)},p(e,n){1&n&&v(t,"lang",e[0]),16&n&&v(t,"currency",e[4]),1024&n&&i!==(i=e[25])&&v(t,"limits",i),2&n&&v(t,"userid",e[1]),4&n&&v(t,"session",e[2]),8&n&&v(t,"endpoint",e[3]),32&n&&v(t,"apiversion",e[5])},d(e){e&&u(t)}}}function Ur(e){let t;function i(e,t){return"gmcore"==e[5]?Mr:Rr}let n=i(e),r=n(e);return{c(){r.c(),t=g()},m(e,i){r.m(e,i),c(e,t,i)},p(e,o){n===(n=i(e))&&r?r.p(e,o):(r.d(1),r=n(e),r&&(r.c(),r.m(t.parentNode,t)))},d(e){r.d(e),e&&u(t)}}}function kr(e){let t;return{c(){t=p("player-account-gaming-limits-history-2"),v(t,"lang",e[0]),v(t,"userid",e[1]),v(t,"session",e[2]),v(t,"endpoint",e[3])},m(e,i){c(e,t,i)},p(e,i){1&i&&v(t,"lang",e[0]),2&i&&v(t,"userid",e[1]),4&i&&v(t,"session",e[2]),8&i&&v(t,"endpoint",e[3])},d(e){e&&u(t)}}}function Gr(t){let i;function n(e,t){return e[8]?Cr:Dr}let r=n(t),o=r(t);return{c(){i=p("div"),o.c(),this.c=e},m(e,n){c(e,i,n),o.m(i,null),t[21](i)},p(e,[t]){r===(r=n(e))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(i,null)))},i:e,o:e,d(e){e&&u(i),o.d(),t[21](null)}}}function jr(e,t,i){let n,r,o,s,{lang:a=""}=t,{userid:l=""}=t,{session:c=""}=t,{endpoint:u=""}=t,{currency:h=""}=t,{apiversion:p=""}=t,{includedlimits:m=""}=t,{tablabels:d=""}=t,{historyenabled:f="true"}=t,{clientstyling:g=""}=t,{clientstylingurl:y=""}=t,b=!0,v=[];const L=e=>{if(o.children.length>0)for(let t=0;t<o.children.length;t++)e===t?(o.children[t].classList.remove("hidden"),null==s||s.children[t].classList.add("selected")):(o.children[t].classList.add("hidden"),null==s||s.children[t].classList.remove("selected"))};B((()=>()=>{i(7,o=null),i(12,s=null)}));return e.$$set=e=>{"lang"in e&&i(0,a=e.lang),"userid"in e&&i(1,l=e.userid),"session"in e&&i(2,c=e.session),"endpoint"in e&&i(3,u=e.endpoint),"currency"in e&&i(4,h=e.currency),"apiversion"in e&&i(5,p=e.apiversion),"includedlimits"in e&&i(14,m=e.includedlimits),"tablabels"in e&&i(15,d=e.tablabels),"historyenabled"in e&&i(6,f=e.historyenabled),"clientstyling"in e&&i(16,g=e.clientstyling),"clientstylingurl"in e&&i(17,y=e.clientstylingurl)},e.$$.update=()=>{49167&e.$$.dirty&&l&&c&&u&&m&&d&&a&&(console.log("hello"),i(10,v=m.split(",").map((e=>e.trim()))),i(11,r=d.split(",").map((e=>e.trim()))),i(8,b=!1)),128&e.$$.dirty&&o&&L(0),131072&e.$$.dirty&&y&&(()=>{let e=new URL(y),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,n&&setTimeout((()=>{n.appendChild(t)}),1)}))})(),65536&e.$$.dirty&&g&&(()=>{let e=document.createElement("style");e.innerHTML=g,n.appendChild(e)})()},[a,l,c,u,h,p,f,o,b,n,v,r,s,L,m,d,g,y,e=>L(e),function(e){I[e?"unshift":"push"]((()=>{s=e,i(12,s)}))},function(e){I[e?"unshift":"push"]((()=>{o=e,i(7,o)}))},function(e){I[e?"unshift":"push"]((()=>{n=e,i(9,n)}))}]}!customElements.get("player-account-gaming-limits-history-2")&&customElements.define("player-account-gaming-limits-history-2",class extends V{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';font-size:1.3rem}*,*::before,*::after{color:#555;margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2{color:var(--emfe-w-color-white, #FFFFFF)}button{font-size:1rem;border:0;padding:0}.ExpandButton{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.extended{transform:rotate(180deg)}.HistoryWrapper{display:flex;flex-direction:column}.HistoryWrapper.Desktop{width:63%;padding:0 12px;margin:12px auto}.hidden{display:none}.HistoryRow{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:#ccc 1px solid}.GeneralLimitInformation{display:flex;flex-direction:column;gap:4px}.LimitType{font-size:1.3rem}.LimitAmountPeriod{color:#999}</style>",W(this,{target:this.shadowRoot,props:$(this.attributes),customElement:!0},Br,Pr,o,{lang:0,userid:10,session:11,endpoint:12,apiversion:13,clientstyling:14,clientstylingurl:15},null),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),k()))}static get observedAttributes(){return["lang","userid","session","endpoint","apiversion","clientstyling","clientstylingurl"]}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),k()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),k()}get session(){return this.$$.ctx[11]}set session(e){this.$$set({session:e}),k()}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),k()}get apiversion(){return this.$$.ctx[13]}set apiversion(e){this.$$set({apiversion:e}),k()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),k()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),k()}});class Fr extends V{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TabsContainer{height:42px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid #ccc}.LimitsTab{font-size:18px;margin-bottom:3px;display:flex;justify-content:center;align-items:center;box-sizing:content-box}.hidden{display:none}.selected{border-bottom:3px solid #7ac317;color:#7ac317;margin:0}</style>",W(this,{target:this.shadowRoot,props:$(this.attributes),customElement:!0},jr,Gr,o,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,includedlimits:14,tablabels:15,historyenabled:6,clientstyling:16,clientstylingurl:17},null),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),k()))}static get observedAttributes(){return["lang","userid","session","endpoint","currency","apiversion","includedlimits","tablabels","historyenabled","clientstyling","clientstylingurl"]}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),k()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),k()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),k()}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),k()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),k()}get apiversion(){return this.$$.ctx[5]}set apiversion(e){this.$$set({apiversion:e}),k()}get includedlimits(){return this.$$.ctx[14]}set includedlimits(e){this.$$set({includedlimits:e}),k()}get tablabels(){return this.$$.ctx[15]}set tablabels(e){this.$$set({tablabels:e}),k()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(e){this.$$set({historyenabled:e}),k()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),k()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),k()}}return!customElements.get("player-account-gaming-limits-wrapper-2")&&customElements.define("player-account-gaming-limits-wrapper-2",Fr),Fr}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function i(){return Object.create(null)}function n(e){e.forEach(t)}function r(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function s(t,...i){if(null==t)return e;const n=t.subscribe(...i);return n.unsubscribe?()=>n.unsubscribe():n}function a(e,t,i){e.$$.on_destroy.push(s(t,i))}function l(e,t){e.appendChild(t)}function u(e,t,i){e.insertBefore(t,i||null)}function c(e){e.parentNode.removeChild(e)}function p(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function m(e){return document.createElement(e)}function h(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function d(e){return document.createTextNode(e)}function f(){return d(" ")}function g(){return d("")}function y(e,t,i,n){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i,n)}function b(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function v(e,t,i){t in e?e[t]="boolean"==typeof e[t]&&""===i||i:b(e,t,i)}function L(e){return""===e?null:+e}function T(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function w(e,t){e.value=null==t?"":t}function E(e,t,i,n){null===i?e.style.removeProperty(t):e.style.setProperty(t,i,n?"important":"")}function x(e,t){for(let i=0;i<e.options.length;i+=1){const n=e.options[i];if(n.__value===t)return void(n.selected=!0)}e.selectedIndex=-1}function S(e){const t=e.querySelector(":checked")||e.options[0];return t&&t.__value}function A(e,t,i){e.classList[i?"add":"remove"](t)}function _(e){const t={};for(const i of e)t[i.name]=i.value;return t}let P;function $(e){P=e}function I(e){(function(){if(!P)throw new Error("Function called outside component initialization");return P})().$$.on_mount.push(e)}const D=[],B=[],N=[],k=[],O=Promise.resolve();let H=!1;function M(e){N.push(e)}const C=new Set;let U=0;function j(){const e=P;do{for(;U<D.length;){const e=D[U];U++,$(e),R(e.$$)}for($(null),D.length=0,U=0;B.length;)B.pop()();for(let e=0;e<N.length;e+=1){const t=N[e];C.has(t)||(C.add(t),t())}N.length=0}while(D.length);for(;k.length;)k.pop()();H=!1,C.clear(),$(e)}function R(e){if(null!==e.fragment){e.update(),n(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(M)}}const z=new Set;function G(e,t){-1===e.$$.dirty[0]&&(D.push(e),H||(H=!0,O.then(j)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function F(o,s,a,l,u,p,m,h=[-1]){const d=P;$(o);const f=o.$$={fragment:null,ctx:null,props:p,update:e,not_equal:u,bound:i(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(d?d.$$.context:[])),callbacks:i(),dirty:h,skip_bound:!1,root:s.target||d.$$.root};m&&m(f.root);let g=!1;if(f.ctx=a?a(o,s.props||{},((e,t,...i)=>{const n=i.length?i[0]:t;return f.ctx&&u(f.ctx[e],f.ctx[e]=n)&&(!f.skip_bound&&f.bound[e]&&f.bound[e](n),g&&G(o,e)),t})):[],f.update(),g=!0,n(f.before_update),f.fragment=!!l&&l(f.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);f.fragment&&f.fragment.l(e),e.forEach(c)}else f.fragment&&f.fragment.c();s.intro&&((y=o.$$.fragment)&&y.i&&(z.delete(y),y.i(b))),function(e,i,o,s){const{fragment:a,on_mount:l,on_destroy:u,after_update:c}=e.$$;a&&a.m(i,o),s||M((()=>{const i=l.map(t).filter(r);u?u.push(...i):n(i),e.$$.on_mount=[]})),c.forEach(M)}(o,s.target,s.anchor,s.customElement),j()}var y,b;$(d)}let W;"function"==typeof HTMLElement&&(W=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(r);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,i){this[e]=i}disconnectedCallback(){n(this.$$.on_disconnect)}$destroy(){!function(e,t){const i=e.$$;null!==i.fragment&&(n(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}(this,1),this.$destroy=e}$on(e,t){const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{const e=i.indexOf(t);-1!==e&&i.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});const V={deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",periods:["Daily","Weekly","Monthly"]},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",periods:["Daily","Weekly","Monthly"]},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",periods:["Monthly"]},stake:{title:"Stake Limit",value:"stake",callValue:"stakeLimit",periods:["Monthly"]}},X=[];function K(t,i=e){let n;const r=new Set;function s(e){if(o(t,e)&&(t=e,n)){const e=!X.length;for(const e of r)e[1](),X.push(e,t);if(e){for(let e=0;e<X.length;e+=2)X[e][0](X[e+1]);X.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const l=[o,a];return r.add(l),1===r.size&&(n=i(s)||e),o(t),()=>{r.delete(l),0===r.size&&(n(),n=null)}}}}function Y(t,i,o){const a=!Array.isArray(t),l=a?[t]:t,u=i.length<2;return c=t=>{let o=!1;const c=[];let p=0,m=e;const h=()=>{if(p)return;m();const n=i(a?c[0]:c,t);u?t(n):m=r(n)?n:e},d=l.map(((e,t)=>s(e,(e=>{c[t]=e,p&=~(1<<t),o&&h()}),(()=>{p|=1<<t}))));return o=!0,h(),function(){n(d),m()}},{subscribe:K(o,c).subscribe};var c}var Z=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===q}(e)}(e)};var q="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function J(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ne((i=e,Array.isArray(i)?[]:{}),e,t):e;var i}function Q(e,t,i){return e.concat(t).map((function(e){return J(e,i)}))}function ee(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function te(e,t){try{return t in e}catch(e){return!1}}function ie(e,t,i){var n={};return i.isMergeableObject(e)&&ee(e).forEach((function(t){n[t]=J(e[t],i)})),ee(t).forEach((function(r){(function(e,t){return te(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,r)||(te(e,r)&&i.isMergeableObject(t[r])?n[r]=function(e,t){if(!t.customMerge)return ne;var i=t.customMerge(e);return"function"==typeof i?i:ne}(r,i)(e[r],t[r],i):n[r]=J(t[r],i))})),n}function ne(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||Q,i.isMergeableObject=i.isMergeableObject||Z,i.cloneUnlessOtherwiseSpecified=J;var n=Array.isArray(t);return n===Array.isArray(e)?n?i.arrayMerge(e,t,i):ie(e,t,i):J(t,i)}ne.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,i){return ne(e,i,t)}),{})};var re=ne,oe=function(e,t){return oe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},oe(e,t)};function se(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}oe(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var ae,le,ue,ce=function(){return ce=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},ce.apply(this,arguments)};function pe(e,t,i){if(i||2===arguments.length)for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}function me(e){return e.type===le.literal}function he(e){return e.type===le.argument}function de(e){return e.type===le.number}function fe(e){return e.type===le.date}function ge(e){return e.type===le.time}function ye(e){return e.type===le.select}function be(e){return e.type===le.plural}function ve(e){return e.type===le.pound}function Le(e){return e.type===le.tag}function Te(e){return!(!e||"object"!=typeof e||e.type!==ue.number)}function we(e){return!(!e||"object"!=typeof e||e.type!==ue.dateTime)}!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"}(ae||(ae={})),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"}(le||(le={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(ue||(ue={}));var Ee=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,xe=/(?:[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 Se(e){var t={};return e.replace(xe,(function(e){var i=e.length;switch(e[0]){case"G":t.era=4===i?"long":5===i?"narrow":"short";break;case"y":t.year=2===i?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===i?"short":5===i?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][i-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][i-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][i-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][i-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][i-1];break;case"s":t.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=i<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var Ae=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var _e=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Pe=/^(@+)?(\+|#+)?[rs]?$/g,$e=/(\*)(0+)|(#+)(0+)|(0+)/g,Ie=/^(0+)$/;function De(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Pe,(function(e,i,n){return"string"!=typeof n?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):"+"===n?t.minimumSignificantDigits=i.length:"#"===i[0]?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+("string"==typeof n?n.length:0)),""})),t}function Be(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 Ne(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var i=e.slice(0,2);if("+!"===i?(t.signDisplay="always",e=e.slice(2)):"+?"===i&&(t.signDisplay="exceptZero",e=e.slice(2)),!Ie.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function ke(e){var t=Be(e);return t||{}}function Oe(e){for(var t={},i=0,n=e;i<n.length;i++){var r=n[i];switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=ce(ce(ce({},t),{notation:"scientific"}),r.options.reduce((function(e,t){return ce(ce({},e),ke(t))}),{}));continue;case"engineering":t=ce(ce(ce({},t),{notation:"engineering"}),r.options.reduce((function(e,t){return ce(ce({},e),ke(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"integer-width":if(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace($e,(function(e,i,n,r,o,s){if(i)t.minimumIntegerDigits=n.length;else{if(r&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(Ie.test(r.stem))t.minimumIntegerDigits=r.stem.length;else if(_e.test(r.stem)){if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(_e,(function(e,i,n,r,o,s){return"*"===n?t.minimumFractionDigits=i.length:r&&"#"===r[0]?t.maximumFractionDigits=r.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length),""}));var o=r.options[0];"w"===o?t=ce(ce({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=ce(ce({},t),De(o)))}else if(Pe.test(r.stem))t=ce(ce({},t),De(r.stem));else{var s=Be(r.stem);s&&(t=ce(ce({},t),s));var a=Ne(r.stem);a&&(t=ce(ce({},t),a))}}return t}var He,Me={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function Ce(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var i,n=e.language;return"root"!==n&&(i=e.maximize().region),(Me[i||""]||Me[n||""]||Me["".concat(n,"-001")]||Me["001"])[0]}var Ue=new RegExp("^".concat(Ee.source,"*")),je=new RegExp("".concat(Ee.source,"*$"));function Re(e,t){return{start:e,end:t}}var ze=!!String.prototype.startsWith,Ge=!!String.fromCodePoint,Fe=!!Object.fromEntries,We=!!String.prototype.codePointAt,Ve=!!String.prototype.trimStart,Xe=!!String.prototype.trimEnd,Ke=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ye=!0;try{Ye="a"===(null===(He=nt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===He?void 0:He[0])}catch(e){Ye=!1}var Ze,qe=ze?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},Je=Ge?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,n="",r=e.length,o=0;r>o;){if((i=e[o++])>1114111)throw RangeError(i+" is not a valid code point");n+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return n},Qe=Fe?Object.fromEntries:function(e){for(var t={},i=0,n=e;i<n.length;i++){var r=n[i],o=r[0],s=r[1];t[o]=s}return t},et=We?function(e,t){return e.codePointAt(t)}:function(e,t){var i=e.length;if(!(t<0||t>=i)){var n,r=e.charCodeAt(t);return r<55296||r>56319||t+1===i||(n=e.charCodeAt(t+1))<56320||n>57343?r:n-56320+(r-55296<<10)+65536}},tt=Ve?function(e){return e.trimStart()}:function(e){return e.replace(Ue,"")},it=Xe?function(e){return e.trimEnd()}:function(e){return e.replace(je,"")};function nt(e,t){return new RegExp(e,t)}if(Ye){var rt=nt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ze=function(e,t){var i;return rt.lastIndex=t,null!==(i=rt.exec(e)[1])&&void 0!==i?i:""}}else Ze=function(e,t){for(var i=[];;){var n=et(e,t);if(void 0===n||lt(n)||ut(n))break;i.push(n),t+=n>=65536?2:1}return Je.apply(void 0,i)};var ot=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,i){for(var n=[];!this.isEOF();){var r=this.char();if(123===r){if((o=this.parseArgument(e,i)).err)return o;n.push(o.val)}else{if(125===r&&e>0)break;if(35!==r||"plural"!==t&&"selectordinal"!==t){if(60===r&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(ae.UNMATCHED_CLOSING_TAG,Re(this.clonePosition(),this.clonePosition()))}if(60===r&&!this.ignoreTag&&st(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{var s=this.clonePosition();this.bump(),n.push({type:le.pound,location:Re(s,this.clonePosition())})}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var i=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:le.literal,value:"<".concat(n,"/>"),location:Re(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(e+1,t,!0);if(r.err)return r;var o=r.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!st(this.char()))return this.error(ae.INVALID_TAG,Re(s,this.clonePosition()));var a=this.clonePosition();return n!==this.parseTagName()?this.error(ae.UNMATCHED_CLOSING_TAG,Re(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:le.tag,value:n,children:o,location:Re(i,this.clonePosition())},err:null}:this.error(ae.INVALID_TAG,Re(s,this.clonePosition())))}return this.error(ae.UNCLOSED_TAG,Re(i,this.clonePosition()))}return this.error(ae.INVALID_TAG,Re(i,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&at(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),n="";;){var r=this.tryParseQuote(t);if(r)n+=r;else{var o=this.tryParseUnquoted(e,t);if(o)n+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;n+=s}}}var a=Re(i,this.clonePosition());return{val:{type:le.literal,value:n,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(st(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(39===i){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(i);this.bump()}return Je.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var i=this.char();return 60===i||123===i||35===i&&("plural"===t||"selectordinal"===t)||125===i&&e>0?null:(this.bump(),Je(i))},e.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ae.EXPECT_ARGUMENT_CLOSING_BRACE,Re(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(ae.EMPTY_ARGUMENT,Re(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(ae.MALFORMED_ARGUMENT,Re(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ae.EXPECT_ARGUMENT_CLOSING_BRACE,Re(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:le.argument,value:n,location:Re(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ae.EXPECT_ARGUMENT_CLOSING_BRACE,Re(i,this.clonePosition())):this.parseArgumentOptions(e,t,n,i);default:return this.error(ae.MALFORMED_ARGUMENT,Re(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=Ze(this.message,t),n=t+i.length;return this.bumpTo(n),{value:i,location:Re(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,i,n){var r,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(ae.EXPECT_ARGUMENT_TYPE,Re(o,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(h=it(y.val)).length)return this.error(ae.EXPECT_ARGUMENT_STYLE,Re(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:Re(u,this.clonePosition())}}if((b=this.tryParseArgumentClose(n)).err)return b;var c=Re(n,this.clonePosition());if(l&&qe(null==l?void 0:l.style,"::",0)){var p=tt(l.style.slice(2));if("number"===s)return(y=this.parseNumberSkeletonFromString(p,l.styleLocation)).err?y:{val:{type:le.number,value:i,location:c,style:y.val},err:null};if(0===p.length)return this.error(ae.EXPECT_DATE_TIME_SKELETON,c);var m=p;this.locale&&(m=function(e,t){for(var i="",n=0;n<e.length;n++){var r=e.charAt(n);if("j"===r){for(var o=0;n+1<e.length&&e.charAt(n+1)===r;)o++,n++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=Ce(t);for("H"!=l&&"k"!=l||(a=0);a-- >0;)i+="a";for(;s-- >0;)i=l+i}else i+="J"===r?"H":r}return i}(p,this.locale));var h={type:ue.dateTime,pattern:m,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Se(m):{}};return{val:{type:"date"===s?le.date:le.time,value:i,location:c,style:h},err:null}}return{val:{type:"number"===s?le.number:"date"===s?le.date:le.time,value:i,location:c,style:null!==(r=null==l?void 0:l.style)&&void 0!==r?r:null},err:null};case"plural":case"selectordinal":case"select":var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ae.EXPECT_SELECT_ARGUMENT_OPTIONS,Re(d,ce({},d)));this.bumpSpace();var f=this.parseIdentifierIfPossible(),g=0;if("select"!==s&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(ae.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Re(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(ae.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ae.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;this.bumpSpace(),f=this.parseIdentifierIfPossible(),g=y.val}var b,v=this.tryParsePluralOrSelectOptions(e,s,t,f);if(v.err)return v;if((b=this.tryParseArgumentClose(n)).err)return b;var L=Re(n,this.clonePosition());return"select"===s?{val:{type:le.select,value:i,options:Qe(v.val),location:L},err:null}:{val:{type:le.plural,value:i,options:Qe(v.val),offset:g,pluralType:"plural"===s?"cardinal":"ordinal",location:L},err:null};default:return this.error(ae.INVALID_ARGUMENT_TYPE,Re(o,a))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(ae.EXPECT_ARGUMENT_CLOSING_BRACE,Re(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ae.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Re(i,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var i=[];try{i=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Ae).filter((function(e){return e.length>0})),i=[],n=0,r=t;n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var s=o[0],a=o.slice(1),l=0,u=a;l<u.length;l++)if(0===u[l].length)throw new Error("Invalid number skeleton");i.push({stem:s,options:a})}return i}(e)}catch(e){return this.error(ae.INVALID_NUMBER_SKELETON,t)}return{val:{type:ue.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?Oe(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,i,n){for(var r,o=!1,s=[],a=new Set,l=n.value,u=n.location;;){if(0===l.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var p=this.tryParseDecimalInteger(ae.EXPECT_PLURAL_ARGUMENT_SELECTOR,ae.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;u=Re(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}if(a.has(l))return this.error("select"===t?ae.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ae.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(o=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ae.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ae.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Re(this.clonePosition(),this.clonePosition()));var h=this.parseMessage(e+1,t,i);if(h.err)return h;var d=this.tryParseArgumentClose(m);if(d.err)return d;s.push([l,{value:h.val,location:Re(m,this.clonePosition())}]),a.add(l),this.bumpSpace(),l=(r=this.parseIdentifierIfPossible()).value,u=r.location}return 0===s.length?this.error("select"===t?ae.EXPECT_SELECT_ARGUMENT_SELECTOR:ae.EXPECT_PLURAL_ARGUMENT_SELECTOR,Re(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(ae.MISSING_OTHER_CLAUSE,Re(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var r=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;r=!0,o=10*o+(s-48),this.bump()}var a=Re(n,this.clonePosition());return r?Ke(o*=i)?{val:o,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=et(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(qe(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),i=this.message.indexOf(e,t);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&<(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),i=this.message.charCodeAt(t+(e>=65536?2:1));return null!=i?i:null},e}();function st(e){return e>=97&&e<=122||e>=65&&e<=90}function at(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function lt(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function ut(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function ct(e){e.forEach((function(e){if(delete e.location,ye(e)||be(e))for(var t in e.options)delete e.options[t].location,ct(e.options[t].value);else de(e)&&Te(e.style)||(fe(e)||ge(e))&&we(e.style)?delete e.style.location:Le(e)&&ct(e.children)}))}function pt(e,t){void 0===t&&(t={}),t=ce({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new ot(e,t).parse();if(i.err){var n=SyntaxError(ae[i.err.kind]);throw n.location=i.err.location,n.originalMessage=i.err.message,n}return(null==t?void 0:t.captureLocation)||ct(i.val),i.val}function mt(e,t){var i=t&&t.cache?t.cache:Lt,n=t&&t.serializer?t.serializer:yt;return(t&&t.strategy?t.strategy:gt)(e,{cache:i,serializer:n})}function ht(e,t,i,n){var r,o=null==(r=n)||"number"==typeof r||"boolean"==typeof r?n:i(n),s=t.get(o);return void 0===s&&(s=e.call(this,n),t.set(o,s)),s}function dt(e,t,i){var n=Array.prototype.slice.call(arguments,3),r=i(n),o=t.get(r);return void 0===o&&(o=e.apply(this,n),t.set(r,o)),o}function ft(e,t,i,n,r){return i.bind(t,e,n,r)}function gt(e,t){return ft(e,this,1===e.length?ht:dt,t.cache.create(),t.serializer)}var yt=function(){return JSON.stringify(arguments)};function bt(){this.cache=Object.create(null)}bt.prototype.get=function(e){return this.cache[e]},bt.prototype.set=function(e,t){this.cache[e]=t};var vt,Lt={create:function(){return new bt}},Tt={variadic:function(e,t){return ft(e,this,dt,t.cache.create(),t.serializer)},monadic:function(e,t){return ft(e,this,ht,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(vt||(vt={}));var wt,Et=function(e){function t(t,i,n){var r=e.call(this,t)||this;return r.code=i,r.originalMessage=n,r}return se(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),xt=function(e){function t(t,i,n,r){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(i,'". Options are "').concat(Object.keys(n).join('", "'),'"'),vt.INVALID_VALUE,r)||this}return se(t,e),t}(Et),St=function(e){function t(t,i,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(i),vt.INVALID_VALUE,n)||this}return se(t,e),t}(Et),At=function(e){function t(t,i){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(i,'"'),vt.MISSING_VALUE,i)||this}return se(t,e),t}(Et);function _t(e){return"function"==typeof e}function Pt(e,t,i,n,r,o,s){if(1===e.length&&me(e[0]))return[{type:wt.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(me(c))a.push({type:wt.literal,value:c.value});else if(ve(c))"number"==typeof o&&a.push({type:wt.literal,value:i.getNumberFormat(t).format(o)});else{var p=c.value;if(!r||!(p in r))throw new At(p,s);var m=r[p];if(he(c))m&&"string"!=typeof m&&"number"!=typeof m||(m="string"==typeof m||"number"==typeof m?String(m):""),a.push({type:"string"==typeof m?wt.literal:wt.object,value:m});else if(fe(c)){var h="string"==typeof c.style?n.date[c.style]:we(c.style)?c.style.parsedOptions:void 0;a.push({type:wt.literal,value:i.getDateTimeFormat(t,h).format(m)})}else if(ge(c)){h="string"==typeof c.style?n.time[c.style]:we(c.style)?c.style.parsedOptions:n.time.medium;a.push({type:wt.literal,value:i.getDateTimeFormat(t,h).format(m)})}else if(de(c)){(h="string"==typeof c.style?n.number[c.style]:Te(c.style)?c.style.parsedOptions:void 0)&&h.scale&&(m*=h.scale||1),a.push({type:wt.literal,value:i.getNumberFormat(t,h).format(m)})}else{if(Le(c)){var d=c.children,f=c.value,g=r[f];if(!_t(g))throw new St(f,"function",s);var y=g(Pt(d,t,i,n,r,o).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),a.push.apply(a,y.map((function(e){return{type:"string"==typeof e?wt.literal:wt.object,value:e}})))}if(ye(c)){if(!(b=c.options[m]||c.options.other))throw new xt(c.value,m,Object.keys(c.options),s);a.push.apply(a,Pt(b.value,t,i,n,r))}else if(be(c)){var b;if(!(b=c.options["=".concat(m)])){if(!Intl.PluralRules)throw new Et('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',vt.MISSING_INTL_API,s);var v=i.getPluralRules(t,{type:c.pluralType}).select(m-(c.offset||0));b=c.options[v]||c.options.other}if(!b)throw new xt(c.value,m,Object.keys(c.options),s);a.push.apply(a,Pt(b.value,t,i,n,r,m-(c.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var i=e[e.length-1];return i&&i.type===wt.literal&&t.type===wt.literal?i.value+=t.value:e.push(t),e}),[])}(a)}function $t(e,t){return t?Object.keys(e).reduce((function(i,n){var r,o;return i[n]=(r=e[n],(o=t[n])?ce(ce(ce({},r||{}),o||{}),Object.keys(r).reduce((function(e,t){return e[t]=ce(ce({},r[t]),o[t]||{}),e}),{})):r),i}),ce({},e)):e}function It(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(wt||(wt={}));var Dt=function(){function e(t,i,n,r){var o,s=this;if(void 0===i&&(i=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);if(1===t.length)return t[0].value;var i=t.reduce((function(e,t){return e.length&&t.type===wt.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return i.length<=1?i[0]||"":i},this.formatToParts=function(e){return Pt(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==r?void 0:r.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=$t(e.formats,n),this.formatters=r&&r.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:mt((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,pe([void 0],t,!1)))}),{cache:It(o.number),strategy:Tt.variadic}),getDateTimeFormat:mt((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,pe([void 0],t,!1)))}),{cache:It(o.dateTime),strategy:Tt.variadic}),getPluralRules:mt((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,pe([void 0],t,!1)))}),{cache:It(o.pluralRules),strategy:Tt.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=pt,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}(),Bt=Dt;const Nt={},kt=(e,t,i)=>i?(t in Nt||(Nt[t]={}),e in Nt[t]||(Nt[t][e]=i),i):i,Ot=(e,t)=>{if(null==t)return;if(t in Nt&&e in Nt[t])return Nt[t][e];const i=Qt(t);for(let n=0;n<i.length;n++){const r=Ut(i[n],e);if(r)return kt(e,t,r)}};let Ht;const Mt=K({});function Ct(e){return e in Ht}function Ut(e,t){if(!Ct(e))return null;const i=function(e){return Ht[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const i=t.split(".");let n=e;for(let e=0;e<i.length;e++)if("object"==typeof n){if(e>0){const t=i.slice(e,i.length).join(".");if(t in n){n=n[t];break}}n=n[i[e]]}else n=void 0;return n}(i,t)}function jt(e,...t){delete Nt[e],Mt.update((i=>(i[e]=re.all([i[e]||{},...t]),i)))}Y([Mt],(([e])=>Object.keys(e))),Mt.subscribe((e=>Ht=e));const Rt={};function zt(e){return Rt[e]}function Gt(e){return null!=e&&Qt(e).some((e=>{var t;return null===(t=zt(e))||void 0===t?void 0:t.size}))}const Ft={};function Wt(e){if(!Gt(e))return e in Ft?Ft[e]:Promise.resolve();const t=function(e){return Qt(e).map((e=>{const t=zt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Ft[e]=Promise.all(t.map((([e,t])=>function(e,t){const i=Promise.all(t.map((t=>(function(e,t){Rt[e].delete(t),0===Rt[e].size&&delete Rt[e]}(e,t),t().then((e=>e.default||e))))));return i.then((t=>jt(e,...t)))}(e,t)))).then((()=>{if(Gt(e))return Wt(e);delete Ft[e]})),Ft[e]}function Vt(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i}const Xt={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Kt(){return Xt}const Yt=K(!1);let Zt;const qt=K(null);function Jt(e){return e.split("-").map(((e,t,i)=>i.slice(0,t+1).join("-"))).reverse()}function Qt(e,t=Kt().fallbackLocale){const i=Jt(e);return t?[...new Set([...i,...Jt(t)])]:i}function ei(){return null!=Zt?Zt:void 0}qt.subscribe((e=>{Zt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const ti=Object.assign(Object.assign({},qt),{set:e=>{if(e&&function(e){if(null==e)return;const t=Qt(e);for(let e=0;e<t.length;e++){const i=t[e];if(Ct(i))return i}}(e)&&Gt(e)){const{loadingDelay:t}=Kt();let i;return"undefined"!=typeof window&&null!=ei()&&t?i=window.setTimeout((()=>Yt.set(!0)),t):Yt.set(!0),Wt(e).then((()=>{qt.set(e)})).finally((()=>{clearTimeout(i),Yt.set(!1)}))}return qt.set(e)}}),ii=e=>{const t=Object.create(null);return i=>{const n=JSON.stringify(i);return n in t?t[n]:t[n]=e(i)}},ni=(e,t)=>{const{formats:i}=Kt();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},ri=ii((e=>{var{locale:t,format:i}=e,n=Vt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(n=ni("number",i)),new Intl.NumberFormat(t,n)})),oi=ii((e=>{var{locale:t,format:i}=e,n=Vt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?n=ni("date",i):0===Object.keys(n).length&&(n=ni("date","short")),new Intl.DateTimeFormat(t,n)})),si=ii((e=>{var{locale:t,format:i}=e,n=Vt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?n=ni("time",i):0===Object.keys(n).length&&(n=ni("time","short")),new Intl.DateTimeFormat(t,n)})),ai=ii(((e,t=ei())=>new Bt(e,t,Kt().formats,{ignoreTag:Kt().ignoreTag}))),li=(e,t={})=>{var i,n,r,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=ei(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ot(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!==(o=null!==(r=null===(n=(i=Kt()).handleMissingMessage)||void 0===n?void 0:n.call(i,{locale:l,id:e,defaultValue:u}))&&void 0!==r?r:u)&&void 0!==o?o:e;if(!a)return c;let p=c;try{p=ai(c,l).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return p},ui=(e,t)=>((e={})=>{var{locale:t=ei()}=e,i=Vt(e,["locale"]);return si(Object.assign({locale:t},i))})(t).format(e),ci=(e,t)=>((e={})=>{var{locale:t=ei()}=e,i=Vt(e,["locale"]);return oi(Object.assign({locale:t},i))})(t).format(e),pi=(e,t)=>((e={})=>{var{locale:t=ei()}=e,i=Vt(e,["locale"]);return ri(Object.assign({locale:t},i))})(t).format(e),mi=(e,t=ei())=>Ot(e,t),hi=Y([ti,Mt],(()=>li));Y([ti],(()=>ui)),Y([ti],(()=>ci)),Y([ti],(()=>pi)),Y([ti,Mt],(()=>mi));const di={en:{gamingLimits:{loadingText:"Loading, please wait...",Monthly:"per month",Weekly:"per week",Daily:"per day",adjectiveMonthly:"monthly",adjectiveWeekly:"weekly",adjectiveDaily:"daily",None:" ",noPeriod:".",per:"per",updateText:"will be applied on",removedLimitText:"The limit will be removed on",noLimitText:"There is currently no limit set.",lugasPrivacy:"The cross-provider LUGAS limit is not visible to providers.",limitType:"Limit Type",period:"Period",amount:"Amount",minutes:" minutes",new:"New",limit:"limit",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit",stake:"Stake Limit",lugas:"Current Deposit Limit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",popupPendingUpdate:"We have received the request to change the limit. Please be aware that the update will only come into effect on",popupImmediateUpdate:"Your new {selectedLimit} is {updatedAmount}{currency} {per} {selectedPeriod}",popupTitle:"Limit changed",popupSuccess:"Succesful",popupError:"There was a problem while setting the limit, please try again.",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to ",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"}},de:{gamingLimits:{loadingText:"Lädt ...",Monthly:"pro Monat",Weekly:"pro Woche",Daily:"pro Tag",adjectiveMonthly:"Monatlich",adjectiveWeekly:"Wöchentlich",adjectiveDaily:"Täglich",None:" ",noPeriod:".",per:"pro",updateText:"Anwendung am",removedLimitText:"Entfernung des Limits am",noLimitText:"Derzeit ist kein Limit gesetzt.",lugasPrivacy:"Das anbieterübergreifende LUGAS-Limit ist für Anbieter nicht einsehbar.",limitType:"Limitart",period:"Zeitraum",amount:"Betrag",minutes:" minute",new:"Neu",limit:"Limit",setLimit:"LIMIT SETZEN",loss:"Verlustlimit",deposit:"Einzahlungslimit",wager:"Slots-Limit",stake:"Einsatzlimit",lugas:"Aktuelles Einzahlungslimit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ENTFERNEN",popupPendingUpdate:"Wir haben die Anfrage zur Änderung des Limits erhalten. Bitte beachten Sie, dass die Änderung erst in Kraft tritt am",popupImmediateUpdate:"Ihre neues Limit {selectedLimit} beträgt {updatedAmount}{currency} {per} {selectedPeriod}",popupTitle:"Limit geändert!",popupSuccess:"Erfolgreich",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to ",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"}},hr:{gamingLimits:{loadingText:"Učitavanje...",Monthly:"Mjesečno",Weekly:"Tjedno",Daily:"Dnevno",adjectiveMonthly:"Mjesečno",adjectiveWeekly:"Tjedno",adjectiveDaily:"Dnevno",None:" ",noPeriod:".",per:"po",updateText:"primjenjivat će se na",removedLimitText:"Ograničenje će biti uklonjeno",noLimitText:"Trenutno nije postavljeno nijedno ograničenje.",lugasPrivacy:"Sveobuhvatno LUGAS ograničenje nije vidljivo pružateljima.",limitType:"Vrsta ograničenja",period:"Vremenski period",amount:"Iznos",minutes:" minutes",new:"Novo",limit:"Ograničenje",setLimit:"POSTAVI OGRANIČENJA",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wager:"Ograničenje slotova",stake:"Ograničenje uloga",lugas:"Trenutno ograničenje uplate",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"UKLONI",popupPendingUpdate:"Zaprimili smo zahtjev za promjenom ograničenja. Molimo uzmite u obzir kako će promijena stupiti na snagu tek",popupImmediateUpdate:"Vaše novo {selectedLimit} je {updatedAmount}{currency} {per} {selectedPeriod}",popupTitle:"Ograničenje je promijenjeno!",popupSuccess:"Uspješno",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to ",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"}},sl:{gamingLimits:{loadingText:"Nalaga...",Monthly:"na mesec",Weekly:"na teden",Daily:"na dan",adjectiveMonthly:"Mesečno",adjectiveWeekly:"Tedensko",adjectiveDaily:"Dnevno",None:" ",noPeriod:".",per:"na",updateText:"uporabljeno bo na",removedLimitText:"Limit bo odstranjen",noLimitText:"Trenutno ni določen noben limit.",lugasPrivacy:"Na vse ponudnike vezan limit LUGAS, ponudnikom ni v pogled.",limitType:"Vrsta limita",period:"Časovno obdobje",amount:"Znesek",minutes:" minutes",new:"Novo",limit:"Limit",setLimit:"NASTAVITE LIMIT",loss:"Limit izgube",deposit:"Limit vplačila",wager:"Limit igralnih avtomatov",stake:"Limit vložkov",lugas:"Trenuten vplačilni limit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ODSTRANI",popupPendingUpdate:"Prejeli smo prošnjo za spremembo limita. Prosimo upoštevajte, da sprememba začne veljati šele",popupImmediateUpdate:"Vaš novi {selectedLimit} znaša {updatedAmount}{currency} {per} {selectedPeriod}",popupTitle:"Limit spremenjen!",popupSuccess:"Uspešno",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to ",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"}},pol:{gamingLimits:{loadingText:"Ładowanie...",Monthly:"na miesiąc",Weekly:"na tydzień",Daily:"na dzień",adjectiveMonthly:"Miesięcznie",adjectiveWeekly:"Tygodniowo",adjectiveDaily:"Codzienny",None:" ",noPeriod:".",per:"za",updateText:"Zostanie zastosowany w dniu",removedLimitText:"Limit zostanie usunięty",noLimitText:"Obecnie nie posiadasz limitu.",lugasPrivacy:"Świadczeniodawcy nie widzą wzajemnie ustalonego limitu LUGAS.",limitType:"Rodzaj limitu",period:"Przedział czasowy",amount:"Kwota",minutes:" minutes",new:"Nowe",limit:"Limit",setLimit:"USTAW LIMIT",loss:"Limit Strat",deposit:"Limit wpłat",wager:"Limit na gre na automatach",stake:"Limit stawek",lugas:"Obecny limit depozytów",sessionLimit:"USUŃ",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",popupPendingUpdate:"Otrzymaliśmy prośbę o zmianę limitu. Informujemy, że aktualizacja wejdzie w życie w dniu",popupImmediateUpdate:"Twój nowy {selectedLimit} jest {aktualizateAmount} {waluta} {per} {selectederiod}",popupTitle:"Limit zmieniony!",popupSuccess:"Zakończone powodzeniem",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to ",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"}},fr:{gamingLimits:{loadingText:"Chargement, veuillez patienter...",Monthly:"mois",Weekly:"semaine",Daily:"jour",per:"par",updateText:"sera appliqué sur",noLimitText:"Aucune limite n'est actuellement définie.",limitType:"Limit Type",period:"Period",amount:"Amount",new:"New",limit:"limit",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit"}},ro:{gamingLimits:{loadingText:"Se incarca, va rugam asteptati...",Monthly:"luna",Weekly:"saptamana",Daily:"zi",per:"pe",updateText:"va intra in vigoare incepand cu",noLimitText:"Momentan nu este setata o limita.",limitType:"Tip Limita",period:"Perioada",amount:"Valoare",new:"Limita pe",limit:"noua",setLimit:"ACCEPTA LIMITA",loss:"Limita de Pierdere",deposit:"Limita de Depunere",wager:"Limita de Pariere",removeLimit:"ELIMINA",popupPendingUpdate:"Am primit cererea de a schimba limita. Schimbarea va intra in vigoare in data de",popupImmediateUpdate:"Noua {selectedLimit} este {updatedAmount}{currency} pe {selectedPeriod}",popupTitle:"Limita schimbata",popupSuccess:"Succes!"}},es:{gamingLimits:{loadingText:"Cargando por favor espere..."}},pt:{gamingLimits:{loadingText:"Carregando, por favor espere..."}},de:{gamingLimits:{loadingText:"Laden, bitte warten..."}}};var fi="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==fi&&fi,gi="URLSearchParams"in fi,yi="Symbol"in fi&&"iterator"in Symbol,bi="FileReader"in fi&&"Blob"in fi&&function(){try{return new Blob,!0}catch(e){return!1}}(),vi="FormData"in fi,Li="ArrayBuffer"in fi;if(Li)var Ti=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],wi=ArrayBuffer.isView||function(e){return e&&Ti.indexOf(Object.prototype.toString.call(e))>-1};function Ei(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function xi(e){return"string"!=typeof e&&(e=String(e)),e}function Si(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return yi&&(t[Symbol.iterator]=function(){return t}),t}function Ai(e){this.map={},e instanceof Ai?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function _i(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Pi(e){return new Promise((function(t,i){e.onload=function(){t(e.result)},e.onerror=function(){i(e.error)}}))}function $i(e){var t=new FileReader,i=Pi(t);return t.readAsArrayBuffer(e),i}function Ii(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Di(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:bi&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:vi&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:gi&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Li&&bi&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=Ii(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Li&&(ArrayBuffer.prototype.isPrototypeOf(e)||wi(e))?this._bodyArrayBuffer=Ii(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):gi&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},bi&&(this.blob=function(){var e=_i(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=_i(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then($i)}),this.text=function(){var e,t,i,n=_i(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,i=Pi(t),t.readAsText(e),i;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),i=new Array(t.length),n=0;n<t.length;n++)i[n]=String.fromCharCode(t[n]);return i.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},vi&&(this.formData=function(){return this.text().then(ki)}),this.json=function(){return this.text().then(JSON.parse)},this}Ai.prototype.append=function(e,t){e=Ei(e),t=xi(t);var i=this.map[e];this.map[e]=i?i+", "+t:t},Ai.prototype.delete=function(e){delete this.map[Ei(e)]},Ai.prototype.get=function(e){return e=Ei(e),this.has(e)?this.map[e]:null},Ai.prototype.has=function(e){return this.map.hasOwnProperty(Ei(e))},Ai.prototype.set=function(e,t){this.map[Ei(e)]=xi(t)},Ai.prototype.forEach=function(e,t){for(var i in this.map)this.map.hasOwnProperty(i)&&e.call(t,this.map[i],i,this)},Ai.prototype.keys=function(){var e=[];return this.forEach((function(t,i){e.push(i)})),Si(e)},Ai.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),Si(e)},Ai.prototype.entries=function(){var e=[];return this.forEach((function(t,i){e.push([i,t])})),Si(e)},yi&&(Ai.prototype[Symbol.iterator]=Ai.prototype.entries);var Bi=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Ni(e,t){if(!(this instanceof Ni))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var i,n,r=(t=t||{}).body;if(e instanceof Ni){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Ai(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new Ai(t.headers)),this.method=(i=t.method||this.method||"GET",n=i.toUpperCase(),Bi.indexOf(n)>-1?n:i),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function ki(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var i=e.split("="),n=i.shift().replace(/\+/g," "),r=i.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(r))}})),t}function Oi(e,t){if(!(this instanceof Oi))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new Ai(t.headers),this.url=t.url||"",this._initBody(e)}Ni.prototype.clone=function(){return new Ni(this,{body:this._bodyInit})},Di.call(Ni.prototype),Di.call(Oi.prototype),Oi.prototype.clone=function(){return new Oi(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Ai(this.headers),url:this.url})},Oi.error=function(){var e=new Oi(null,{status:0,statusText:""});return e.type="error",e};var Hi=[301,302,303,307,308];Oi.redirect=function(e,t){if(-1===Hi.indexOf(t))throw new RangeError("Invalid status code");return new Oi(null,{status:t,headers:{location:e}})};var Mi=fi.DOMException;try{new Mi}catch(e){(Mi=function(e,t){this.message=e,this.name=t;var i=Error(e);this.stack=i.stack}).prototype=Object.create(Error.prototype),Mi.prototype.constructor=Mi}function Ci(e,t){return new Promise((function(i,n){var r=new Ni(e,t);if(r.signal&&r.signal.aborted)return n(new Mi("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}o.onload=function(){var e,t,n={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new Ai,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var i=e.split(":"),n=i.shift().trim();if(n){var r=i.join(":").trim();t.append(n,r)}})),t)};n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var r="response"in o?o.response:o.responseText;setTimeout((function(){i(new Oi(r,n))}),0)},o.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.onabort=function(){setTimeout((function(){n(new Mi("Aborted","AbortError"))}),0)},o.open(r.method,function(e){try{return""===e&&fi.location.href?fi.location.href:e}catch(t){return e}}(r.url),!0),"include"===r.credentials?o.withCredentials=!0:"omit"===r.credentials&&(o.withCredentials=!1),"responseType"in o&&(bi?o.responseType="blob":Li&&r.headers.get("Content-Type")&&-1!==r.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof Ai?r.headers.forEach((function(e,t){o.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){o.setRequestHeader(e,xi(t.headers[e]))})),r.signal&&(r.signal.addEventListener("abort",s),o.onreadystatechange=function(){4===o.readyState&&r.signal.removeEventListener("abort",s)}),o.send(void 0===r._bodyInit?null:r._bodyInit)}))}Ci.polyfill=!0,fi.fetch||(fi.fetch=Ci,fi.Headers=Ai,fi.Request=Ni,fi.Response=Oi),self.fetch.bind(self);var Ui=function(e,t){return Ui=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},Ui(e,t)};function ji(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}Ui(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}function Ri(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function zi(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var n,r,o=i.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){r={error:e}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return s}function Gi(e,t,i){if(i||2===arguments.length)for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}function Fi(e){return"function"==typeof e}function Wi(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Vi=Wi((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function Xi(e,t){if(e){var i=e.indexOf(t);0<=i&&e.splice(i,1)}}var Ki=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,i,n,r;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Ri(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);var l=this.initialTeardown;if(Fi(l))try{l()}catch(e){r=e instanceof Vi?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=Ri(u),p=c.next();!p.done;p=c.next()){var m=p.value;try{qi(m)}catch(e){r=null!=r?r:[],e instanceof Vi?r=Gi(Gi([],zi(r)),zi(e.errors)):r.push(e)}}}catch(e){i={error:e}}finally{try{p&&!p.done&&(n=c.return)&&n.call(c)}finally{if(i)throw i.error}}}if(r)throw new Vi(r)}},e.prototype.add=function(t){var i;if(t&&t!==this)if(this.closed)qi(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(i=this._finalizers)&&void 0!==i?i:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Xi(t,e)},e.prototype.remove=function(t){var i=this._finalizers;i&&Xi(i,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Yi=Ki.EMPTY;function Zi(e){return e instanceof Ki||e&&"closed"in e&&Fi(e.remove)&&Fi(e.add)&&Fi(e.unsubscribe)}function qi(e){Fi(e)?e():e.unsubscribe()}var Ji={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Qi={setTimeout:function(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];var r=Qi.delegate;return(null==r?void 0:r.setTimeout)?r.setTimeout.apply(r,Gi([e,t],zi(i))):setTimeout.apply(void 0,Gi([e,t],zi(i)))},clearTimeout:function(e){var t=Qi.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function en(){}var tn=null;function nn(e){if(Ji.useDeprecatedSynchronousErrorHandling){var t=!tn;if(t&&(tn={errorThrown:!1,error:null}),e(),t){var i=tn,n=i.errorThrown,r=i.error;if(tn=null,n)throw r}}else e()}var rn=function(e){function t(t){var i=e.call(this)||this;return i.isStopped=!1,t?(i.destination=t,Zi(t)&&t.add(i)):i.destination=cn,i}return ji(t,e),t.create=function(e,t,i){return new ln(e,t,i)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ki),on=Function.prototype.bind;function sn(e,t){return on.call(e,t)}var an=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){un(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){un(e)}else un(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){un(e)}},e}(),ln=function(e){function t(t,i,n){var r,o,s=e.call(this)||this;Fi(t)||!t?r={next:null!=t?t:void 0,error:null!=i?i:void 0,complete:null!=n?n:void 0}:s&&Ji.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},r={next:t.next&&sn(t.next,o),error:t.error&&sn(t.error,o),complete:t.complete&&sn(t.complete,o)}):r=t;return s.destination=new an(r),s}return ji(t,e),t}(rn);function un(e){var t;t=e,Qi.setTimeout((function(){throw t}))}var cn={closed:!0,next:en,error:function(e){throw e},complete:en},pn="function"==typeof Symbol&&Symbol.observable||"@@observable";function mn(e){return e}function hn(e){return 0===e.length?mn:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var dn=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var i=new e;return i.source=this,i.operator=t,i},e.prototype.subscribe=function(e,t,i){var n,r=this,o=(n=e)&&n instanceof rn||function(e){return e&&Fi(e.next)&&Fi(e.error)&&Fi(e.complete)}(n)&&Zi(n)?e:new ln(e,t,i);return nn((function(){var e=r,t=e.operator,i=e.source;o.add(t?t.call(o,i):i?r._subscribe(o):r._trySubscribe(o))})),o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var i=this;return new(t=fn(t))((function(t,n){var r=new ln({next:function(t){try{e(t)}catch(e){n(e),r.unsubscribe()}},error:n,complete:t});i.subscribe(r)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[pn]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return hn(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=fn(e))((function(e,i){var n;t.subscribe((function(e){return n=e}),(function(e){return i(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function fn(e){var t;return null!==(t=null!=e?e:Ji.Promise)&&void 0!==t?t:Promise}var gn=Wi((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),yn=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return ji(t,e),t.prototype.lift=function(e){var t=new bn(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new gn},t.prototype.next=function(e){var t=this;nn((function(){var i,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var r=Ri(t.currentObservers),o=r.next();!o.done;o=r.next()){o.value.next(e)}}catch(e){i={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}}}))},t.prototype.error=function(e){var t=this;nn((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var i=t.observers;i.length;)i.shift().error(e)}}))},t.prototype.complete=function(){var e=this;nn((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,i=this,n=i.hasError,r=i.isStopped,o=i.observers;return n||r?Yi:(this.currentObservers=null,o.push(e),new Ki((function(){t.currentObservers=null,Xi(o,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,i=t.hasError,n=t.thrownError,r=t.isStopped;i?e.error(n):r&&e.complete()},t.prototype.asObservable=function(){var e=new dn;return e.source=this,e},t.create=function(e,t){return new bn(e,t)},t}(dn),bn=function(e){function t(t,i){var n=e.call(this)||this;return n.destination=t,n.source=i,n}return ji(t,e),t.prototype.next=function(e){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,e)},t.prototype.error=function(e){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==i?i:Yi},t}(yn),vn={now:function(){return(vn.delegate||Date).now()},delegate:void 0},Ln=function(e){function t(t,i,n){void 0===t&&(t=1/0),void 0===i&&(i=1/0),void 0===n&&(n=vn);var r=e.call(this)||this;return r._bufferSize=t,r._windowTime=i,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=i===1/0,r._bufferSize=Math.max(1,t),r._windowTime=Math.max(1,i),r}return ji(t,e),t.prototype.next=function(t){var i=this,n=i.isStopped,r=i._buffer,o=i._infiniteTimeWindow,s=i._timestampProvider,a=i._windowTime;n||(r.push(t),!o&&r.push(s.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),i=this._infiniteTimeWindow,n=this._buffer.slice(),r=0;r<n.length&&!e.closed;r+=i?1:2)e.next(n[r]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,i=e._timestampProvider,n=e._buffer,r=e._infiniteTimeWindow,o=(r?1:2)*t;if(t<1/0&&o<n.length&&n.splice(0,n.length-o),!r){for(var s=i.now(),a=0,l=1;l<n.length&&n[l]<=s;l+=2)a=l;a&&n.splice(0,a+1)}},t}(yn);let Tn=[],wn={};window.emWidgets={topic:(e,t=0)=>{if(-1==Tn.indexOf(e)){let i=new Ln(t);wn[e]=i,Tn.push(e)}return wn[e]}};const En=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));function xn(e,t,i){const n=e.slice();return n[47]=t[i],n}function Sn(e,t,i){const n=e.slice();return n[50]=t[i],n}function An(e,t,i){const n=e.slice();return n[50]=t[i],n}function _n(e,t,i){const n=e.slice();return n[55]=t[i],n}function Pn(e){let t,i,n;function r(e,t){return e[11]?$n:In}let o=r(e),s=o(e);return{c(){t=m("div"),i=m("div"),s.c(),b(i,"class",n="PopupContainer "+(e[14]?"Desktop":"")),b(t,"class","PopupOverlay")},m(e,n){u(e,t,n),l(t,i),s.m(i,null)},p(e,t){o===(o=r(e))&&s?s.p(e,t):(s.d(1),s=o(e),s&&(s.c(),s.m(i,null)))},d(e){e&&c(t),s.d()}}}function $n(e){let t,i,n,r;function o(e,t){return e[9]?Bn:Dn}let s=o(e),a=s(e);return{c(){a.c(),t=f(),i=m("button"),i.textContent="OK",b(i,"class","ConfirmButton")},m(o,s){a.m(o,s),u(o,t,s),u(o,i,s),n||(r=y(i,"click",e[20]),n=!0)},p(e,i){s===(s=o(e))&&a?a.p(e,i):(a.d(1),a=s(e),a&&(a.c(),a.m(t.parentNode,t)))},d(e){a.d(e),e&&c(t),e&&c(i),n=!1,r()}}}function In(t){let i;return{c(){i=m("div"),b(i,"class","LoadingIndicator")},m(e,t){u(e,i,t)},p:e,d(e){e&&c(i)}}}function Dn(e){let t,i,n,r,o,s,a,p,g,v,L,w,x,S,A,_,P,$,I,D,B,N,k=e[13]("gamingLimits.popupTitle")+"",O=e[13]("gamingLimits.popupSuccess")+"";return{c(){t=m("div"),i=m("span"),n=d(k),r=f(),o=m("button"),o.textContent="X",s=f(),a=m("div"),p=m("div"),g=h("svg"),v=h("defs"),L=h("style"),w=d(".fil0 {fill:black;fill-rule:nonzero}\n "),x=h("g"),S=h("polygon"),A=f(),_=m("p"),P=d(O),$=f(),I=m("p"),D=d(e[12]),b(i,"class","PopupTitle"),b(o,"class","ClosePopup"),b(t,"class","PopupTitleWrapper"),b(L,"type","text/css"),b(S,"class","fil0"),b(S,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),b(g,"xmlns","http://www.w3.org/2000/svg"),b(g,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(g,"xml:space","preserve"),b(g,"version","1.1"),E(g,"shape-rendering","geometricPrecision"),E(g,"text-rendering","geometricPrecision"),E(g,"image-rendering","optimizeQuality"),b(g,"viewBox","0 0 90 69"),b(g,"x","0px"),b(g,"y","0px"),b(g,"fill-rule","evenodd"),b(g,"clip-rule","evenodd"),b(p,"class","ResultIconWrapper"),b(I,"class","DescriptionParagraph"),b(a,"class","DescriptionWrapper")},m(c,m){u(c,t,m),l(t,i),l(i,n),l(t,r),l(t,o),u(c,s,m),u(c,a,m),l(a,p),l(p,g),l(g,v),l(v,L),l(L,w),l(g,x),l(x,S),l(p,A),l(p,_),l(_,P),l(a,$),l(a,I),l(I,D),B||(N=y(o,"click",e[20]),B=!0)},p(e,t){8192&t[0]&&k!==(k=e[13]("gamingLimits.popupTitle")+"")&&T(n,k),8192&t[0]&&O!==(O=e[13]("gamingLimits.popupSuccess")+"")&&T(P,O),4096&t[0]&&T(D,e[12])},d(e){e&&c(t),e&&c(s),e&&c(a),B=!1,N()}}}function Bn(e){let t,i,n,r,o,s,a,p,h,g,v,L=e[13]("gamingLimits.popupTitle")+"",w=e[13]("gamingLimits.popupError")+"";return{c(){t=m("div"),i=m("span"),n=d(L),r=f(),o=m("button"),o.textContent="X",s=f(),a=m("div"),p=m("p"),h=d(w),b(i,"class","PopupTitle"),b(o,"class","ClosePopup"),b(t,"class","PopupTitleWrapper"),b(p,"class","DescriptionParagraph"),b(a,"class","DescriptionWrapper")},m(c,m){u(c,t,m),l(t,i),l(i,n),l(t,r),l(t,o),u(c,s,m),u(c,a,m),l(a,p),l(p,h),g||(v=y(o,"click",e[20]),g=!0)},p(e,t){8192&t[0]&&L!==(L=e[13]("gamingLimits.popupTitle")+"")&&T(n,L),8192&t[0]&&w!==(w=e[13]("gamingLimits.popupError")+"")&&T(h,w)},d(e){e&&c(t),e&&c(s),e&&c(a),g=!1,v()}}}function Nn(e){let t,i,r,o,s,a,h,g,v,E,x,S,A,_,P,$,I,D=e[6]?`${e[13]("gamingLimits.amount")}`:`${e[13]("gamingLimits.new")} ${e[13](`gamingLimits.${e[2]}`)} ${e[13]("gamingLimits.limit")}`,B=e[13]("gamingLimits.setLimit")+"",N=e[15],k=[];for(let t=0;t<N.length;t+=1)k[t]=zn(An(e,N,t));let O=e[5]&&Gn(e),H=e[6]&&Wn(e);return{c(){t=m("div"),i=m("div"),r=m("div");for(let e=0;e<k.length;e+=1)k[e].c();o=f(),s=m("form"),O&&O.c(),a=f(),H&&H.c(),h=f(),g=m("label"),v=m("span"),E=d(D),x=f(),S=m("input"),A=f(),_=m("button"),P=d(B),b(r,"class","LimitsList "+(e[14]?"Desktop":"")),b(v,"class","LimitInputText"),b(g,"class","LimitAmountInputWrapper"),b(S,"type","number"),b(S,"pattern","[0-9]*"),b(_,"class","LimitSubmitButton"),b(_,"type","button"),_.disabled=!0,b(s,"class","LimitsInteractionArea "+(e[14]?"Desktop":"")),b(i,"class","LimitsPageContainer"),b(t,"class","player-account-gaming-limits-page-2-gmcore")},m(n,c){u(n,t,c),l(t,i),l(i,r);for(let e=0;e<k.length;e+=1)k[e].m(r,null);l(i,o),l(i,s),O&&O.m(s,null),l(s,a),H&&H.m(s,null),l(s,h),l(s,g),l(g,v),l(v,E),l(s,x),l(s,S),w(S,e[3]),l(s,A),l(s,_),l(_,P),e[33](_),$||(I=[y(S,"input",e[32]),y(S,"keyup",e[18]),y(_,"click",e[17]),y(s,"submit",e[17])],$=!0)},p(e,t){if(581632&t[0]){let i;for(N=e[15],i=0;i<N.length;i+=1){const n=An(e,N,i);k[i]?k[i].p(n,t):(k[i]=zn(n),k[i].c(),k[i].m(r,null))}for(;i<k.length;i+=1)k[i].d(1);k.length=N.length}e[5]?O?O.p(e,t):(O=Gn(e),O.c(),O.m(s,a)):O&&(O.d(1),O=null),e[6]?H?H.p(e,t):(H=Wn(e),H.c(),H.m(s,h)):H&&(H.d(1),H=null),8260&t[0]&&D!==(D=e[6]?`${e[13]("gamingLimits.amount")}`:`${e[13]("gamingLimits.new")} ${e[13](`gamingLimits.${e[2]}`)} ${e[13]("gamingLimits.limit")}`)&&T(E,D),8&t[0]&&L(S.value)!==e[3]&&w(S,e[3]),8192&t[0]&&B!==(B=e[13]("gamingLimits.setLimit")+"")&&T(P,B)},d(i){i&&c(t),p(k,i),O&&O.d(),H&&H.d(),e[33](null),$=!1,n(I)}}}function kn(t){let i;return{c(){i=m("p"),i.textContent="500 Server error"},m(e,t){u(e,i,t)},p:e,d(e){e&&c(i)}}}function On(t){return{c:e,m:e,p:e,d:e}}function Hn(t){let i;return{c(){i=m("div"),b(i,"class","LoadingIndicator")},m(e,t){u(e,i,t)},p:e,d(e){e&&c(i)}}}function Mn(e){let t,i,n,r,o=e[13]("gamingLimits.noLimitText")+"";return{c(){t=m("div"),i=m("div"),n=m("div"),r=d(o),b(n,"class","LimitDetailsTextWrapper"),b(i,"class","LimitDetailsWrapper"),b(t,"class","LimitDetails")},m(e,o){u(e,t,o),l(t,i),l(i,n),l(n,r)},p(e,t){8192&t[0]&&o!==(o=e[13]("gamingLimits.noLimitText")+"")&&T(r,o)},d(e){e&&c(t)}}}function Cn(e){let t,i=e[50].currentLimits,n=[];for(let t=0;t<i.length;t+=1)n[t]=Rn(_n(e,i,t));return{c(){for(let e=0;e<n.length;e+=1)n[e].c();t=g()},m(e,i){for(let t=0;t<n.length;t+=1)n[t].m(e,i);u(e,t,i)},p(e,r){if(565248&r[0]){let o;for(i=e[50].currentLimits,o=0;o<i.length;o+=1){const s=_n(e,i,o);n[o]?n[o].p(s,r):(n[o]=Rn(s),n[o].c(),n[o].m(t.parentNode,t))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},d(e){p(n,e),e&&c(t)}}}function Un(e){let t,i,n=`${e[13]("gamingLimits.removedLimitText")} ${e[55].expiryDate}`;return{c(){t=m("div"),i=d(n),b(t,"class","PendingLimit")},m(e,n){u(e,t,n),l(t,i)},p(e,t){8192&t[0]&&n!==(n=`${e[13]("gamingLimits.removedLimitText")} ${e[55].expiryDate}`)&&T(i,n)},d(e){e&&c(t)}}}function jn(e){let t,i,n=`${e[55].updateAmount}${e[55].currency} ${e[13]("gamingLimits.per")} ${e[13](`gamingLimits.${e[55].period}`)} ${e[13]("gamingLimits.updateText")} ${e[55].expiryDate}`;return{c(){t=m("div"),i=d(n),b(t,"class","PendingLimit")},m(e,n){u(e,t,n),l(t,i)},p(e,t){8192&t[0]&&n!==(n=`${e[55].updateAmount}${e[55].currency} ${e[13]("gamingLimits.per")} ${e[13](`gamingLimits.${e[55].period}`)} ${e[13]("gamingLimits.updateText")} ${e[55].expiryDate}`)&&T(i,n)},d(e){e&&c(t)}}}function Rn(e){let t,i,n,r,o,s,a,p=`${e[55].amount}${e[55].currency} ${e[13]("gamingLimits.per")} ${e[13](`gamingLimits.${e[55].period}`)}`;let h=function(e,t){return e[55].isModified&&"-1"!=e[55].updateAmount?jn:e[55].isModified?Un:void 0}(e),g=h&&h(e),v=!e[55].isModified&&function(e){let t,i,n,r,o=e[13]("gamingLimits.removeLimit")+"";function s(){return e[29](e[55])}return{c(){t=m("button"),i=d(o),b(t,"class","RemoveLimitButton")},m(e,o){u(e,t,o),l(t,i),n||(r=y(t,"click",s),n=!0)},p(t,n){e=t,8192&n[0]&&o!==(o=e[13]("gamingLimits.removeLimit")+"")&&T(i,o)},d(e){e&&c(t),n=!1,r()}}}(e);return{c(){t=m("div"),i=m("div"),n=m("div"),r=d(p),o=f(),g&&g.c(),s=f(),v&&v.c(),a=f(),b(n,"class","CurrentLimit"),b(i,"class","LimitDetailsTextWrapper"),b(t,"class","LimitDetails")},m(e,c){u(e,t,c),l(t,i),l(i,n),l(n,r),l(i,o),g&&g.m(i,null),l(t,s),v&&v.m(t,null),l(t,a)},p(e,t){8192&t[0]&&p!==(p=`${e[55].amount}${e[55].currency} ${e[13]("gamingLimits.per")} ${e[13](`gamingLimits.${e[55].period}`)}`)&&T(r,p),g&&g.p(e,t),e[55].isModified||v.p(e,t)},d(e){e&&c(t),g&&g.d(),v&&v.d()}}}function zn(e){let t,i,n,r,o,s,a=e[13](`gamingLimits.${e[50].value}`)+"";let p=function(e,t){return e[50].currentLimits.length>0?Cn:Mn}(e),h=p(e);return{c(){t=m("div"),i=m("p"),n=d(a),r=f(),h.c(),o=f(),b(i,"class","LimitTitle"),b(t,"class",s="LimitWrapper "+(e[14]?"Desktop":""))},m(e,s){u(e,t,s),l(t,i),l(i,n),l(t,r),h.m(t,null),l(t,o)},p(e,t){8192&t[0]&&a!==(a=e[13](`gamingLimits.${e[50].value}`)+"")&&T(n,a),h.p(e,t)},d(e){e&&c(t),h.d()}}}function Gn(e){let t,i,r,o,s,a,h,g=e[13]("gamingLimits.limitType")+"",v=e[15],L=[];for(let t=0;t<v.length;t+=1)L[t]=Fn(Sn(e,v,t));return{c(){t=m("label"),i=m("span"),r=d(g),o=f(),s=m("select");for(let e=0;e<L.length;e+=1)L[e].c();b(i,"class","LimitSelectText"),b(s,"name",""),b(s,"id",""),void 0===e[1]&&M((()=>e[30].call(s))),b(t,"class","LimitTypeDropdownWrapper")},m(n,c){u(n,t,c),l(t,i),l(i,r),l(t,o),l(t,s);for(let e=0;e<L.length;e+=1)L[e].m(s,null);x(s,e[1]),a||(h=[y(s,"change",e[30]),y(s,"change",e[16])],a=!0)},p(e,t){if(8192&t[0]&&g!==(g=e[13]("gamingLimits.limitType")+"")&&T(r,g),32768&t[0]){let i;for(v=e[15],i=0;i<v.length;i+=1){const n=Sn(e,v,i);L[i]?L[i].p(n,t):(L[i]=Fn(n),L[i].c(),L[i].m(s,null))}for(;i<L.length;i+=1)L[i].d(1);L.length=v.length}32770&t[0]&&x(s,e[1])},d(e){e&&c(t),p(L,e),a=!1,n(h)}}}function Fn(t){let i,n,r,o=t[50].title+"";return{c(){i=m("option"),n=d(o),i.__value=r=t[50].value,i.value=i.__value},m(e,t){u(e,i,t),l(i,n)},p:e,d(e){e&&c(i)}}}function Wn(e){let t,i,n,r,o,s,a,h=e[13]("gamingLimits.period")+"",g=V[e[1]].periods,v=[];for(let t=0;t<g.length;t+=1)v[t]=Vn(xn(e,g,t));return{c(){t=m("label"),i=m("span"),n=d(h),r=f(),o=m("select");for(let e=0;e<v.length;e+=1)v[e].c();b(i,"class","PeriodSelectText"),b(t,"class","LimitPeriodDropdownWrapper"),b(o,"name",""),b(o,"id",""),void 0===e[2]&&M((()=>e[31].call(o)))},m(c,p){u(c,t,p),l(t,i),l(i,n),u(c,r,p),u(c,o,p);for(let e=0;e<v.length;e+=1)v[e].m(o,null);x(o,e[2]),s||(a=y(o,"change",e[31]),s=!0)},p(e,t){if(8192&t[0]&&h!==(h=e[13]("gamingLimits.period")+"")&&T(n,h),8194&t[0]){let i;for(g=V[e[1]].periods,i=0;i<g.length;i+=1){const n=xn(e,g,i);v[i]?v[i].p(n,t):(v[i]=Vn(n),v[i].c(),v[i].m(o,null))}for(;i<v.length;i+=1)v[i].d(1);v.length=g.length}6&t[0]&&x(o,e[2])},d(e){e&&c(t),e&&c(r),e&&c(o),p(v,e),s=!1,a()}}}function Vn(e){let t,i,n,r=e[13](`gamingLimits.${e[47]}`)+"";return{c(){t=m("option"),i=d(r),t.__value=n=e[47],t.value=t.__value,t.selected=!0},m(e,n){u(e,t,n),l(t,i)},p(e,o){8194&o[0]&&r!==(r=e[13](`gamingLimits.${e[47]}`)+"")&&T(i,r),32770&o[0]&&n!==(n=e[47])&&(t.__value=n,t.value=t.__value)},d(e){e&&c(t)}}}function Xn(t){let i,n,r=t[10]&&Pn(t);function o(e,t){return e[7]&&!e[10]?Hn:e[7]?On:e[8]?kn:Nn}let s=o(t),a=s(t);return{c(){i=m("div"),r&&r.c(),n=f(),a.c(),this.c=e},m(e,o){u(e,i,o),r&&r.m(i,null),l(i,n),a.m(i,null),t[34](i)},p(e,t){e[10]?r?r.p(e,t):(r=Pn(e),r.c(),r.m(i,n)):r&&(r.d(1),r=null),s===(s=o(e))&&a?a.p(e,t):(a.d(1),a=s(e),a&&(a.c(),a.m(i,null)))},i:e,o:e,d(e){e&&c(i),r&&r.d(),a.d(),t[34](null)}}}function Kn(e,t,i){let n;a(e,hi,(e=>i(13,n=e)));let r,o,s,l,{lang:u="en"}=t,{currency:c=""}=t,{limits:p=""}=t,{session:m=""}=t,{userid:h=""}=t,{endpoint:d=""}=t,{clientstyling:f=""}=t,{clientstylingurl:g=""}=t,y=window.navigator.userAgent,b=!En(y),v=[],T="",w="",E=!1,x=!1,A=!0,_=!1,P=!1,$=!1,I=!1,D="";const N={EUR:"€",RON:" lei"};Object.keys(di).forEach((e=>{!function(e,t){jt(e,t)}(e,di[e])}));const k=()=>{let e=new URL(`v2/player/${h}/limits`,d),t={method:"GET",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,t).then((e=>{if(e.status>=300)throw i(7,A=!1),i(8,_=!0),new Error("There was an error fetching the limits");return e.json()})).then((e=>{l=e,$&&M(),O(l),i(7,A=!1),i(3,o=null)})).catch((e=>{console.log(e),i(7,A=!1),i(8,_=!0)}))},O=e=>{v.forEach((t=>{var i;t.currentLimits=[],null===(i=e[V[t.value].callValue])||void 0===i||i.forEach(((i,n)=>{var r;const o=e[V[t.value].callValue][n];t.currentLimits.push({}),t.currentLimits[n].limitType=t.value,t.currentLimits[n].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.amount),t.currentLimits[n].currency=null!==(r=N[o.currency])&&void 0!==r?r:o.currency,t.currentLimits[n].period=o.period,t.currentLimits[n].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.updateAmount),t.currentLimits[n].isModified=o.isModified,t.currentLimits[n].expiryDate=`${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})),t.currentLimits=H(t.currentLimits)}))},H=e=>{const t={Daily:0,Weekly:1,Monthly:2};return e.sort(((e,i)=>t[e.period]-t[i.period])),e},M=()=>{if(l){const e=l[V[T].callValue].filter((e=>e.period===w))[0],t=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount);let r=n("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}",n(`gamingLimits.${T}`).toLowerCase()).replace("{updatedAmount}",t).replace("{currency}",N[e.currency]||e.currency).replace("{selectedPeriod}",n(`gamingLimits.${w}`).toLowerCase());i(12,D=e.isModified?`${n("gamingLimits.popupPendingUpdate")} ${new Date(e.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:r)}i(11,I=!0)},C=e=>{i(10,$=!0),i(7,A=!0);let t=new URL(`v2/player/${h}/limits/${{wager:"wagering",loss:"loss",deposit:"deposit"}[e.limitType]}?periods=${e.period}`,d),n={method:"DELETE",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,n).then((e=>e.json())).then((e=>{k()})).catch((e=>{console.log(e),i(7,A=!1),i(8,_=!0)}))},U=()=>{var e;e=u,ti.set(e)};return e.$$set=e=>{"lang"in e&&i(21,u=e.lang),"currency"in e&&i(22,c=e.currency),"limits"in e&&i(23,p=e.limits),"session"in e&&i(24,m=e.session),"userid"in e&&i(25,h=e.userid),"endpoint"in e&&i(26,d=e.endpoint),"clientstyling"in e&&i(27,f=e.clientstyling),"clientstylingurl"in e&&i(28,g=e.clientstylingurl)},e.$$.update=()=>{8388608&e.$$.dirty[0]&&p&&(p.split(" ").forEach((e=>{V[e]?v.push(V[e]):console.error(`Unknown limit: ${e}`)})),i(1,T=v[0].value),i(2,w=V[T].periods[0]),i(5,E=v.length>1),i(6,x=V[T].periods.length>1)),2097152&e.$$.dirty[0]&&u&&U(),117440512&e.$$.dirty[0]&&h&&m&&d&&k(),268435456&e.$$.dirty[0]&&g&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,r&&(setTimeout((()=>{r.appendChild(t)}),1),setTimeout((()=>{}),500))}))})(),134217728&e.$$.dirty[0]&&f&&(()=>{let e=document.createElement("style");e.innerHTML=f,r.appendChild(e)})()},[r,T,w,o,s,E,x,A,_,P,$,I,D,n,b,v,()=>{i(2,w=V[T].periods[0]),i(6,x=V[T].periods.length>1)},()=>{if(!(o>0))return;i(10,$=!0),i(7,A=!0);let e=new URL(`v2/player/${h}/limits`,d);const t={};t[V[T].callValue]=[{period:w,amount:o,currency:c}];let n={method:"PUT",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,n).then((e=>{if(e.status>=300)throw i(7,A=!1),i(11,I=!0),i(9,P=!0),new Error("There was an error while setting the new limit");return e.json()})).then((e=>{k()})).catch((e=>{console.log(e),i(9,P=!0),i(11,I=!0),i(7,A=!1)}))},()=>{const e=999999999999999;o>e&&i(3,o=e);const t=o-Math.floor(o)==0;o>0&&t?s.removeAttribute("disabled"):s.setAttribute("disabled","true")},C,()=>{i(11,I=i(10,$=!1))},u,c,p,m,h,d,f,g,e=>C(e),function(){T=S(this),i(1,T),i(15,v)},function(){w=S(this),i(2,w),i(1,T)},function(){o=L(this.value),i(3,o)},function(e){B[e?"unshift":"push"]((()=>{s=e,i(4,s)}))},function(e){B[e?"unshift":"push"]((()=>{r=e,i(0,r)}))}]}!customElements.get("player-account-gaming-limits-page-2-gmcore")&&customElements.define("player-account-gaming-limits-page-2-gmcore",class extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';font-size:1.3rem}*,*::before,*::after{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;border:1px solid;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border-color:#ced4da}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;border:1px solid;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border-color:#ced4da}select:hover{cursor:pointer;background-color:#7ec51e}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-gmcore{color:var(--emfe-w-color-white, #333)}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:63%;padding:0 12px;margin:0 auto}.LimitsList.Desktop{display:flex;flex-wrap:wrap;justify-content:space-between;width:63%;margin:0 auto}.LimitWrapper{background:var(--emfe-w-color-white, #fff);font-size:1.3rem;border:1px solid #ccc;padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:#7ac317;color:#fff;border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:#ccc 1px solid}.LimitDetailsTextWrapper{font-size:1.3rem;color:#666}.PendingLimit{color:#999}.LimitTitle{font-size:1.5rem}.PopupOverlay{position:absolute;top:0;left:0;background-color:rgba(0, 0, 0, 0.5);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:#fff;font-size:1rem;color:#333;width:80vw;height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:#fff;font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:#fff;color:#666;border:1px solid #ccc;border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:#f3f3fc}@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 #7ac317;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:1.0s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1.0s;animation-iteration-count:infinite;animation-timing-function:linear}</style>",F(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},Kn,Xn,o,{lang:21,currency:22,limits:23,session:24,userid:25,endpoint:26,clientstyling:27,clientstylingurl:28},null,[-1,-1]),e&&(e.target&&u(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["lang","currency","limits","session","userid","endpoint","clientstyling","clientstylingurl"]}get lang(){return this.$$.ctx[21]}set lang(e){this.$$set({lang:e}),j()}get currency(){return this.$$.ctx[22]}set currency(e){this.$$set({currency:e}),j()}get limits(){return this.$$.ctx[23]}set limits(e){this.$$set({limits:e}),j()}get session(){return this.$$.ctx[24]}set session(e){this.$$set({session:e}),j()}get userid(){return this.$$.ctx[25]}set userid(e){this.$$set({userid:e}),j()}get endpoint(){return this.$$.ctx[26]}set endpoint(e){this.$$set({endpoint:e}),j()}get clientstyling(){return this.$$.ctx[27]}set clientstyling(e){this.$$set({clientstyling:e}),j()}get clientstylingurl(){return this.$$.ctx[28]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),j()}});const Yn={lugas:{title:"Deposit Limit",value:"lugas",callValue:"lugasLimit",callValue16:"Lugas",periods:["Monthly"]},deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",callValue16:"Deposit",periods:["Daily","Weekly","Monthly"]},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",callValue16:"Loss",periods:["Daily","Weekly","Monthly"]},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",callValue16:"Wagering",periods:["Monthly"]},stake:{title:"Stake Limit",value:"stake",callValue:"maxStake",callValue16:"MaxStake",periods:["None"]},sessionLimit:{title:"Single Session Time Limit",value:"sessionLimit",callValue:"sessionLimit",callValue16:"sessionLimit",periods:["None"]},cumulativeSession:{title:"Cumulative Session Time Limit",value:"cumulativeSession",callValue:"cumulativeSession",callValue16:"cumulativeSession",periods:["Daily","Weekly","Monthly"]}};const Zn={en:{gamingLimits:{loadingText:"Loading, please wait...",Monthly:"per month",Weekly:"per week",Daily:"per day",adjectiveMonthly:"monthly",adjectiveWeekly:"weekly",adjectiveDaily:"daily",None:" ",noPeriod:".",per:"per",updateText:"will be applied on",removedLimitText:"The limit will be removed on",noLimitText:"There is currently no limit set.",lugasPrivacy:"The cross-provider LUGAS limit is not visible to providers.",limitType:"Limit Type",period:"Period",amount:"Amount",minutes:" minutes",new:"New",limit:"limit",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit",stake:"Stake Limit",lugas:"Current Deposit Limit",sessionLimit:"Single Session Time Limits",sessionLimitUpdated:"Session limit updated successfully.",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",popupPendingUpdate:"We have received the request to change the limit. Please be aware that the update will only come into effect on",popupImmediateUpdate:"Your new {selectedLimit} is {updatedAmount}{currency} {per} {selectedPeriod}",popupTitle:"Limit changed",popupSuccess:"Succesful",popupError:"There was a problem while setting the limit, please try again.",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to ",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"}},de:{gamingLimits:{loadingText:"Lädt ...",Monthly:"pro Monat",Weekly:"pro Woche",Daily:"pro Tag",adjectiveMonthly:"Monatlich",adjectiveWeekly:"Wöchentlich",adjectiveDaily:"Täglich",None:" ",noPeriod:".",per:"pro",updateText:"Anwendung am",removedLimitText:"Entfernung des Limits am",noLimitText:"Derzeit ist kein Limit gesetzt.",lugasPrivacy:"Das anbieterübergreifende LUGAS-Limit ist für Anbieter nicht einsehbar.",limitType:"Limitart",period:"Zeitraum",amount:"Betrag",minutes:" minute",new:"Neu",limit:"Limit",setLimit:"LIMIT SETZEN",loss:"Verlustlimit",deposit:"Einzahlungslimit",wager:"Slots-Limit",stake:"Einsatzlimit",lugas:"Aktuelles Einzahlungslimit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ENTFERNEN",popupPendingUpdate:"Wir haben die Anfrage zur Änderung des Limits erhalten. Bitte beachten Sie, dass die Änderung erst in Kraft tritt am",popupImmediateUpdate:"Ihre neues Limit {selectedLimit} beträgt {updatedAmount}{currency} {per} {selectedPeriod}",popupTitle:"Limit geändert!",popupSuccess:"Erfolgreich",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to ",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"}},hr:{gamingLimits:{loadingText:"Učitavanje...",Monthly:"Mjesečno",Weekly:"Tjedno",Daily:"Dnevno",adjectiveMonthly:"Mjesečno",adjectiveWeekly:"Tjedno",adjectiveDaily:"Dnevno",None:" ",noPeriod:".",per:"po",updateText:"primjenjivat će se na",removedLimitText:"Ograničenje će biti uklonjeno",noLimitText:"Trenutno nije postavljeno nijedno ograničenje.",lugasPrivacy:"Sveobuhvatno LUGAS ograničenje nije vidljivo pružateljima.",limitType:"Vrsta ograničenja",period:"Vremenski period",amount:"Iznos",minutes:" minutes",new:"Novo",limit:"Ograničenje",setLimit:"POSTAVI OGRANIČENJA",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wager:"Ograničenje slotova",stake:"Ograničenje uloga",lugas:"Trenutno ograničenje uplate",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"UKLONI",popupPendingUpdate:"Zaprimili smo zahtjev za promjenom ograničenja. Molimo uzmite u obzir kako će promijena stupiti na snagu tek",popupImmediateUpdate:"Vaše novo {selectedLimit} je {updatedAmount}{currency} {per} {selectedPeriod}",popupTitle:"Ograničenje je promijenjeno!",popupSuccess:"Uspješno",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to ",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"}},sl:{gamingLimits:{loadingText:"Nalaga...",Monthly:"na mesec",Weekly:"na teden",Daily:"na dan",adjectiveMonthly:"Mesečno",adjectiveWeekly:"Tedensko",adjectiveDaily:"Dnevno",None:" ",noPeriod:".",per:"na",updateText:"uporabljeno bo na",removedLimitText:"Limit bo odstranjen",noLimitText:"Trenutno ni določen noben limit.",lugasPrivacy:"Na vse ponudnike vezan limit LUGAS, ponudnikom ni v pogled.",limitType:"Vrsta limita",period:"Časovno obdobje",amount:"Znesek",minutes:" minutes",new:"Novo",limit:"Limit",setLimit:"NASTAVITE LIMIT",loss:"Limit izgube",deposit:"Limit vplačila",wager:"Limit igralnih avtomatov",stake:"Limit vložkov",lugas:"Trenuten vplačilni limit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ODSTRANI",popupPendingUpdate:"Prejeli smo prošnjo za spremembo limita. Prosimo upoštevajte, da sprememba začne veljati šele",popupImmediateUpdate:"Vaš novi {selectedLimit} znaša {updatedAmount}{currency} {per} {selectedPeriod}",popupTitle:"Limit spremenjen!",popupSuccess:"Uspešno",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to ",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"}},pol:{gamingLimits:{loadingText:"Ładowanie...",Monthly:"na miesiąc",Weekly:"na tydzień",Daily:"na dzień",adjectiveMonthly:"Miesięcznie",adjectiveWeekly:"Tygodniowo",adjectiveDaily:"Codzienny",None:" ",noPeriod:".",per:"za",updateText:"Zostanie zastosowany w dniu",removedLimitText:"Limit zostanie usunięty",noLimitText:"Obecnie nie posiadasz limitu.",lugasPrivacy:"Świadczeniodawcy nie widzą wzajemnie ustalonego limitu LUGAS.",limitType:"Rodzaj limitu",period:"Przedział czasowy",amount:"Kwota",minutes:" minutes",new:"Nowe",limit:"Limit",setLimit:"USTAW LIMIT",loss:"Limit Strat",deposit:"Limit wpłat",wager:"Limit na gre na automatach",stake:"Limit stawek",lugas:"Obecny limit depozytów",sessionLimit:"USUŃ",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",popupPendingUpdate:"Otrzymaliśmy prośbę o zmianę limitu. Informujemy, że aktualizacja wejdzie w życie w dniu",popupImmediateUpdate:"Twój nowy {selectedLimit} jest {aktualizateAmount} {waluta} {per} {selectederiod}",popupTitle:"Limit zmieniony!",popupSuccess:"Zakończone powodzeniem",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to ",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"}},fr:{gamingLimits:{loadingText:"Chargement, veuillez patienter...",Monthly:"mois",Weekly:"semaine",Daily:"jour",per:"par",updateText:"sera appliqué sur",noLimitText:"Aucune limite n'est actuellement définie.",limitType:"Limit Type",period:"Period",amount:"Amount",new:"New",limit:"limit",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit"}},ro:{gamingLimits:{loadingText:"Se incarca, va rugam asteptati...",Monthly:"luna",Weekly:"saptamana",Daily:"zi",per:"pe",updateText:"va intra in vigoare incepand cu",noLimitText:"Momentan nu este setata o limita.",limitType:"Tip Limita",period:"Perioada",amount:"Valoare",new:"Limita pe",limit:"noua",setLimit:"ACCEPTA LIMITA",loss:"Limita de Pierdere",deposit:"Limita de Depunere",wager:"Limita de Pariere",removeLimit:"ELIMINA",popupPendingUpdate:"Am primit cererea de a schimba limita. Schimbarea va intra in vigoare in data de",popupImmediateUpdate:"Noua {selectedLimit} este {updatedAmount}{currency} pe {selectedPeriod}",popupTitle:"Limita schimbata",popupSuccess:"Succes!"}},es:{gamingLimits:{loadingText:"Cargando por favor espere..."}},pt:{gamingLimits:{loadingText:"Carregando, por favor espere..."}},de:{gamingLimits:{loadingText:"Laden, bitte warten..."}}};function qn(e,t,i){const n=e.slice();return n[66]=t[i],n}function Jn(e,t,i){const n=e.slice();return n[69]=t[i],n}function Qn(e,t,i){const n=e.slice();return n[69]=t[i],n}function er(e,t,i){const n=e.slice();return n[74]=t[i],n}function tr(e){let t,i,n;function r(e,t){return e[10]?ir:nr}let o=r(e),s=o(e);return{c(){t=m("div"),i=m("div"),s.c(),b(i,"class",n="PopupContainer "+(e[14]?"Desktop":"")),b(t,"class","PopupOverlay")},m(e,n){u(e,t,n),l(t,i),s.m(i,null)},p(e,t){o===(o=r(e))&&s?s.p(e,t):(s.d(1),s=o(e),s&&(s.c(),s.m(i,null)))},d(e){e&&c(t),s.d()}}}function ir(e){let t,i,n,r,o,s,a,p,h,v,L,w,E,x,S,A,_,P,$=e[13]("gamingLimits.popupTitle")+"",I=e[13]("gamingLimits.popupSuccess")+"";function D(e,t){return e[12]?or:rr}let B=D(e),N=B(e);function k(e,t){return e[12]?ar:sr}let O=k(e),H=O(e);return{c(){t=m("div"),i=m("span"),n=d($),r=f(),o=m("button"),o.textContent="X",s=f(),a=m("div"),p=m("div"),N.c(),h=f(),v=m("p"),L=d(I),w=f(),E=m("p"),x=d(e[11]),S=f(),H.c(),A=g(),b(i,"class","PopupTitle"),b(o,"class","ClosePopup"),b(t,"class","PopupTitleWrapper"),b(p,"class","ResultIconWrapper"),b(E,"class","DescriptionParagraph"),b(a,"class","DescriptionWrapper")},m(c,m){u(c,t,m),l(t,i),l(i,n),l(t,r),l(t,o),u(c,s,m),u(c,a,m),l(a,p),N.m(p,null),l(p,h),l(p,v),l(v,L),l(a,w),l(a,E),l(E,x),u(c,S,m),H.m(c,m),u(c,A,m),_||(P=y(o,"click",e[20]),_=!0)},p(e,t){8192&t[0]&&$!==($=e[13]("gamingLimits.popupTitle")+"")&&T(n,$),B!==(B=D(e))&&(N.d(1),N=B(e),N&&(N.c(),N.m(p,h))),8192&t[0]&&I!==(I=e[13]("gamingLimits.popupSuccess")+"")&&T(L,I),2048&t[0]&&T(x,e[11]),O===(O=k(e))&&H?H.p(e,t):(H.d(1),H=O(e),H&&(H.c(),H.m(A.parentNode,A)))},d(e){e&&c(t),e&&c(s),e&&c(a),N.d(),e&&c(S),H.d(e),e&&c(A),_=!1,P()}}}function nr(t){let i;return{c(){i=m("div"),b(i,"class","LoadingIndicator")},m(e,t){u(e,i,t)},p:e,d(e){e&&c(i)}}}function rr(e){let t,i,n,r,o,s;return{c(){t=h("svg"),i=h("defs"),n=h("style"),r=d(".fil0 {fill:black;fill-rule:nonzero}\n "),o=h("g"),s=h("polygon"),b(n,"type","text/css"),b(s,"class","fil0"),b(s,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(t,"xml:space","preserve"),b(t,"version","1.1"),E(t,"shape-rendering","geometricPrecision"),E(t,"text-rendering","geometricPrecision"),E(t,"image-rendering","optimizeQuality"),b(t,"viewBox","0 0 90 69"),b(t,"x","0px"),b(t,"y","0px"),b(t,"fill-rule","evenodd"),b(t,"clip-rule","evenodd")},m(e,a){u(e,t,a),l(t,i),l(i,n),l(n,r),l(t,o),l(o,s)},d(e){e&&c(t)}}}function or(e){let t,i,n;return{c(){t=h("svg"),i=h("g"),n=h("path"),b(n,"id","XMLID_6_"),b(n,"d","M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360\n c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55\n c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1\n h256.5v-82.1H429v366.5H429.9z"),b(i,"id","XMLID_1_"),b(t,"version","1.1"),b(t,"id","Layer_1"),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(t,"x","0px"),b(t,"y","0px"),b(t,"viewBox","0 0 512 512"),E(t,"enable-background","new 0 0 512 512"),b(t,"xml:space","preserve")},m(e,r){u(e,t,r),l(t,i),l(i,n)},d(e){e&&c(t)}}}function sr(t){let i,n,r;return{c(){i=m("button"),i.textContent="OK",b(i,"class","ConfirmButton")},m(e,o){u(e,i,o),n||(r=y(i,"click",t[20]),n=!0)},p:e,d(e){e&&c(i),n=!1,r()}}}function ar(e){let t,i,r,o,s,a,p,h=e[13]("gamingLimits.uploadDocumentsButton")+"",g=e[13]("gamingLimits.closeButton")+"";return{c(){t=m("button"),i=d(h),r=f(),o=m("button"),s=d(g),b(t,"class","ConfirmButton"),b(o,"class","CloseButton")},m(n,c){u(n,t,c),l(t,i),u(n,r,c),u(n,o,c),l(o,s),a||(p=[y(t,"click",e[21]),y(o,"click",e[20])],a=!0)},p(e,t){8192&t[0]&&h!==(h=e[13]("gamingLimits.uploadDocumentsButton")+"")&&T(i,h),8192&t[0]&&g!==(g=e[13]("gamingLimits.closeButton")+"")&&T(s,g)},d(e){e&&c(t),e&&c(r),e&&c(o),a=!1,n(p)}}}function lr(e){let t,i,r,o,s,a,h,g,v,E,x,S,A,_,P,$,I,D=e[6]?`${e[13]("gamingLimits.amount")}`:`${e[13]("gamingLimits.new")} ${e[13](`gamingLimits.${e[2]}`)} ${e[13]("gamingLimits.limit")}`,B=e[13]("gamingLimits.setLimit")+"",N=e[15],k=[];for(let t=0;t<N.length;t+=1)k[t]=vr(Qn(e,N,t));let O=e[5]&&Lr(e),H=e[6]&&wr(e);return{c(){t=m("div"),i=m("div"),r=m("div");for(let e=0;e<k.length;e+=1)k[e].c();o=f(),s=m("form"),O&&O.c(),a=f(),H&&H.c(),h=f(),g=m("label"),v=m("span"),E=d(D),x=f(),S=m("input"),A=f(),_=m("button"),P=d(B),b(r,"class","LimitsList "+(e[14]?"Desktop":"")),b(v,"class","LimitInputText"),b(S,"type","number"),b(S,"pattern","[0-9]*"),b(g,"class","LimitAmountInputWrapper"),b(_,"class","LimitSubmitButton"),b(_,"type","button"),_.disabled=!0,b(s,"class","LimitsInteractionArea "+(e[14]?"Desktop":"")),b(i,"class","LimitsPageContainer"),b(t,"class","player-account-gaming-limits-page-2-gm16")},m(n,c){u(n,t,c),l(t,i),l(i,r);for(let e=0;e<k.length;e+=1)k[e].m(r,null);l(i,o),l(i,s),O&&O.m(s,null),l(s,a),H&&H.m(s,null),l(s,h),l(s,g),l(g,v),l(v,E),l(g,x),l(g,S),w(S,e[3]),l(s,A),l(s,_),l(_,P),e[35](_),$||(I=[y(S,"input",e[34]),y(S,"keyup",e[18]),y(_,"click",e[17]),y(s,"submit",e[17])],$=!0)},p(e,t){if(581632&t[0]){let i;for(N=e[15],i=0;i<N.length;i+=1){const n=Qn(e,N,i);k[i]?k[i].p(n,t):(k[i]=vr(n),k[i].c(),k[i].m(r,null))}for(;i<k.length;i+=1)k[i].d(1);k.length=N.length}e[5]?O?O.p(e,t):(O=Lr(e),O.c(),O.m(s,a)):O&&(O.d(1),O=null),e[6]?H?H.p(e,t):(H=wr(e),H.c(),H.m(s,h)):H&&(H.d(1),H=null),8260&t[0]&&D!==(D=e[6]?`${e[13]("gamingLimits.amount")}`:`${e[13]("gamingLimits.new")} ${e[13](`gamingLimits.${e[2]}`)} ${e[13]("gamingLimits.limit")}`)&&T(E,D),8&t[0]&&L(S.value)!==e[3]&&w(S,e[3]),8192&t[0]&&B!==(B=e[13]("gamingLimits.setLimit")+"")&&T(P,B)},d(i){i&&c(t),p(k,i),O&&O.d(),H&&H.d(),e[35](null),$=!1,n(I)}}}function ur(t){let i;return{c(){i=m("p"),i.textContent="500 Server error"},m(e,t){u(e,i,t)},p:e,d(e){e&&c(i)}}}function cr(t){return{c:e,m:e,p:e,d:e}}function pr(t){let i;return{c(){i=m("div"),b(i,"class","LoadingIndicator")},m(e,t){u(e,i,t)},p:e,d(e){e&&c(i)}}}function mr(e){let t,i,n,r,o=e[13]("gamingLimits.noLimitText")+"";return{c(){t=m("div"),i=m("div"),n=m("div"),r=d(o),b(n,"class","LimitDetailsTextWrapper"),b(i,"class","LimitDetailsWrapper"),b(t,"class","LimitDetails")},m(e,o){u(e,t,o),l(t,i),l(i,n),l(n,r)},p(e,t){8192&t[0]&&o!==(o=e[13]("gamingLimits.noLimitText")+"")&&T(r,o)},d(e){e&&c(t)}}}function hr(e){let t,i,n,r,o=e[13]("gamingLimits.lugasPrivacy")+"";return{c(){t=m("div"),i=m("div"),n=m("div"),r=d(o),b(n,"class","LimitDetailsTextWrapper"),b(i,"class","LimitDetailsWrapper"),b(t,"class","LimitDetails")},m(e,o){u(e,t,o),l(t,i),l(i,n),l(n,r)},p(e,t){8192&t[0]&&o!==(o=e[13]("gamingLimits.lugasPrivacy")+"")&&T(r,o)},d(e){e&&c(t)}}}function dr(e){let t,i=e[69].currentLimits,n=[];for(let t=0;t<i.length;t+=1)n[t]=br(er(e,i,t));return{c(){for(let e=0;e<n.length;e+=1)n[e].c();t=g()},m(e,i){for(let t=0;t<n.length;t+=1)n[t].m(e,i);u(e,t,i)},p(e,r){if(565248&r[0]){let o;for(i=e[69].currentLimits,o=0;o<i.length;o+=1){const s=er(e,i,o);n[o]?n[o].p(s,r):(n[o]=br(s),n[o].c(),n[o].m(t.parentNode,t))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},d(e){p(n,e),e&&c(t)}}}function fr(e){let t,i,n,r,o=e[13]("gamingLimits.lugasPrivacy")+"";return{c(){t=m("div"),i=m("div"),n=m("div"),r=d(o),b(n,"class","LimitDetailsTextWrapper"),b(i,"class","LimitDetailsWrapper"),b(t,"class","LimitDetails")},m(e,o){u(e,t,o),l(t,i),l(i,n),l(n,r)},p(e,t){8192&t[0]&&o!==(o=e[13]("gamingLimits.lugasPrivacy")+"")&&T(r,o)},d(e){e&&c(t)}}}function gr(e){let t,i,n=`${e[13]("gamingLimits.removedLimitText")} ${e[74].expiryDate}`;return{c(){t=m("div"),i=d(n),b(t,"class","PendingLimit")},m(e,n){u(e,t,n),l(t,i)},p(e,t){8192&t[0]&&n!==(n=`${e[13]("gamingLimits.removedLimitText")} ${e[74].expiryDate}`)&&T(i,n)},d(e){e&&c(t)}}}function yr(e){let t,i,n=`${e[74].updateAmount}${e[74].currency} ${"None"===e[74].period?" ":e[13]("gamingLimits.per")} ${e[13](`gamingLimits.${e[74].period}`)} ${e[13]("gamingLimits.updateText")} ${e[74].expiryDate}`;return{c(){t=m("div"),i=d(n),b(t,"class","PendingLimit")},m(e,n){u(e,t,n),l(t,i)},p(e,t){8192&t[0]&&n!==(n=`${e[74].updateAmount}${e[74].currency} ${"None"===e[74].period?" ":e[13]("gamingLimits.per")} ${e[13](`gamingLimits.${e[74].period}`)} ${e[13]("gamingLimits.updateText")} ${e[74].expiryDate}`)&&T(i,n)},d(e){e&&c(t)}}}function br(e){let t,i,n,r,o,s,a,p=`${e[74].amount}${e[74].currency} ${"None"===e[74].period?" ":e[13]("gamingLimits.per")} ${e[13](`gamingLimits.${e[74].period}`)}`;let h=function(e,t){return e[74].isModified&&+e[74].updateAmount.replace(",","")>0?yr:e[74].isModified?gr:void 0}(e),g=h&&h(e),v=!e[74].isModified&&function(e){let t,i,n,r,o=e[13]("gamingLimits.removeLimit")+"";function s(){return e[31](e[74])}return{c(){t=m("button"),i=d(o),b(t,"class","RemoveLimitButton")},m(e,o){u(e,t,o),l(t,i),n||(r=y(t,"click",s),n=!0)},p(t,n){e=t,8192&n[0]&&o!==(o=e[13]("gamingLimits.removeLimit")+"")&&T(i,o)},d(e){e&&c(t),n=!1,r()}}}(e);return{c(){t=m("div"),i=m("div"),n=m("div"),r=d(p),o=f(),g&&g.c(),s=f(),v&&v.c(),a=f(),b(n,"class","CurrentLimit"),b(i,"class","LimitDetailsTextWrapper"),b(t,"class","LimitDetails")},m(e,c){u(e,t,c),l(t,i),l(i,n),l(n,r),l(i,o),g&&g.m(i,null),l(t,s),v&&v.m(t,null),l(t,a)},p(e,t){8192&t[0]&&p!==(p=`${e[74].amount}${e[74].currency} ${"None"===e[74].period?" ":e[13]("gamingLimits.per")} ${e[13](`gamingLimits.${e[74].period}`)}`)&&T(r,p),g&&g.p(e,t),e[74].isModified||v.p(e,t)},d(e){e&&c(t),g&&g.d(),v&&v.d()}}}function vr(e){let t,i,n,r,o,s,a=e[13](`gamingLimits.${e[69].value}`)+"";let p=function(e,t){return"lugas"===e[69].value?fr:e[69].currentLimits.length>0?dr:"lugas"===e[69].value?hr:mr}(e),h=p(e);return{c(){t=m("div"),i=m("p"),n=d(a),r=f(),h.c(),o=f(),b(i,"class","LimitTitle"),b(t,"class",s="LimitWrapper "+(e[14]?"Desktop":""))},m(e,s){u(e,t,s),l(t,i),l(i,n),l(t,r),h.m(t,null),l(t,o)},p(e,t){8192&t[0]&&a!==(a=e[13](`gamingLimits.${e[69].value}`)+"")&&T(n,a),h.p(e,t)},d(e){e&&c(t),h.d()}}}function Lr(e){let t,i,r,o,s,a,h,g=e[13]("gamingLimits.limitType")+"",v=e[15],L=[];for(let t=0;t<v.length;t+=1)L[t]=Tr(Jn(e,v,t));return{c(){t=m("label"),i=m("span"),r=d(g),o=f(),s=m("select");for(let e=0;e<L.length;e+=1)L[e].c();b(i,"class","LimitSelectText"),b(s,"name",""),b(s,"id",""),void 0===e[1]&&M((()=>e[32].call(s))),b(t,"class","LimitTypeDropdownWrapper")},m(n,c){u(n,t,c),l(t,i),l(i,r),l(t,o),l(t,s);for(let e=0;e<L.length;e+=1)L[e].m(s,null);x(s,e[1]),a||(h=[y(s,"change",e[32]),y(s,"change",e[16])],a=!0)},p(e,t){if(8192&t[0]&&g!==(g=e[13]("gamingLimits.limitType")+"")&&T(r,g),32768&t[0]){let i;for(v=e[15],i=0;i<v.length;i+=1){const n=Jn(e,v,i);L[i]?L[i].p(n,t):(L[i]=Tr(n),L[i].c(),L[i].m(s,null))}for(;i<L.length;i+=1)L[i].d(1);L.length=v.length}32770&t[0]&&x(s,e[1])},d(e){e&&c(t),p(L,e),a=!1,n(h)}}}function Tr(t){let i,n,r,o=t[69].title+"";return{c(){i=m("option"),n=d(o),i.__value=r=t[69].value,i.value=i.__value},m(e,t){u(e,i,t),l(i,n)},p:e,d(e){e&&c(i)}}}function wr(e){let t,i,n,r,o,s,a,h=e[13]("gamingLimits.period")+"",g=Yn[e[1]].periods,v=[];for(let t=0;t<g.length;t+=1)v[t]=Er(qn(e,g,t));return{c(){t=m("label"),i=m("span"),n=d(h),r=f(),o=m("select");for(let e=0;e<v.length;e+=1)v[e].c();b(i,"class","PeriodSelectText"),b(o,"name",""),b(o,"id",""),void 0===e[2]&&M((()=>e[33].call(o))),b(t,"class","LimitPeriodDropdownWrapper")},m(c,p){u(c,t,p),l(t,i),l(i,n),l(t,r),l(t,o);for(let e=0;e<v.length;e+=1)v[e].m(o,null);x(o,e[2]),s||(a=y(o,"change",e[33]),s=!0)},p(e,t){if(8192&t[0]&&h!==(h=e[13]("gamingLimits.period")+"")&&T(n,h),8194&t[0]){let i;for(g=Yn[e[1]].periods,i=0;i<g.length;i+=1){const n=qn(e,g,i);v[i]?v[i].p(n,t):(v[i]=Er(n),v[i].c(),v[i].m(o,null))}for(;i<v.length;i+=1)v[i].d(1);v.length=g.length}6&t[0]&&x(o,e[2])},d(e){e&&c(t),p(v,e),s=!1,a()}}}function Er(e){let t,i,n,r=e[13](`gamingLimits.${e[66]}`)+"";return{c(){t=m("option"),i=d(r),t.__value=n=e[66],t.value=t.__value,t.selected=!0},m(e,n){u(e,t,n),l(t,i)},p(e,o){8194&o[0]&&r!==(r=e[13](`gamingLimits.${e[66]}`)+"")&&T(i,r),32770&o[0]&&n!==(n=e[66])&&(t.__value=n,t.value=t.__value)},d(e){e&&c(t)}}}function xr(t){let i,n,r=t[9]&&tr(t);function o(e,t){return e[7]&&!e[9]?pr:e[7]?cr:e[8]?ur:lr}let s=o(t),a=s(t);return{c(){i=m("div"),r&&r.c(),n=f(),a.c(),this.c=e},m(e,o){u(e,i,o),r&&r.m(i,null),l(i,n),a.m(i,null),t[36](i)},p(e,t){e[9]?r?r.p(e,t):(r=tr(e),r.c(),r.m(i,n)):r&&(r.d(1),r=null),s===(s=o(e))&&a?a.p(e,t):(a.d(1),a=s(e),a&&(a.c(),a.m(i,null)))},i:e,o:e,d(e){e&&c(i),r&&r.d(),a.d(),t[36](null)}}}function Sr(e,t,i){let n;a(e,hi,(e=>i(13,n=e)));let r,o,s,l,{lang:u="en"}=t,{currency:c=""}=t,{limits:p=""}=t,{session:m=""}=t,{userid:h=""}=t,{endpoint:d=""}=t,{apiversion:f=""}=t,{clientstyling:g=""}=t,{clientstylingurl:y=""}=t,b=window.navigator.userAgent,v=!En(b),T=[],w="",E="",x=!1,A=!1,_=!0,P=!1,$=!1,I=!1,D="",N=[],k=!1;const O={EUR:"€",RON:" lei",USD:"$"};Object.keys(Zn).forEach((e=>{!function(e,t){jt(e,t)}(e,Zn[e])}));const H=()=>{switch(f){case"gmcore":M();break;case"gm16":C()}},M=()=>{i(7,_=!0);let e=new URL(`/v2/player/${h}/limits`,d),t={method:"GET",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,t).then((e=>{if(e.status>=300)throw i(8,P=!0),new Error("There was an error fetching the limits");return e.json()})).then((e=>{N=e,$&&F(),U(N),i(3,o=null)})).catch((e=>{console.error("Error LimitsWidget: ",e),i(8,P=!0)}))},C=()=>{i(7,_=!0),N=[];let e=new URL(`v1/player/${h}/limits/monetary`,d),t=new URL(`v1/player/${h}/limits/session`,d),n=!1,r={method:"GET",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,r).then((e=>{if(e.status>=300)throw i(8,P=!0),new Error("There was an error fetching the monetary limits");return e.json()})).then((e=>{N.push(e),$&&F(),"gmcore"===f&&U(N),"gm16"===f&&j(N),i(3,o=null)})).catch((e=>{console.error("Error LimitsWidget: ",e),i(8,P=!0)})).finally((()=>{n&&i(7,_=!1),n=!0})),fetch(t.href,r).then((e=>{if(e.status>=300)throw i(8,P=!0),new Error("There was an error fetching the session limits");return e.json()})).then((e=>{N.push(e),$&&F(),"gm16"===f&&R(N),"gm16"===f&&z(N),i(3,o=null)})).catch((e=>{console.error("Error LimitsWidget: ",e),i(8,P=!0)})).finally((()=>{n&&i(7,_=!1),n=!0}))},U=e=>{T.forEach((t=>{var i;t.currentLimits=[],null===(i=e[Yn[t.value].callValue])||void 0===i||i.forEach(((i,n)=>{var r;const o=e[Yn[t.value].callValue][n];t.currentLimits.push({}),t.currentLimits[n].limitType=t.value,t.currentLimits[n].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.amount),t.currentLimits[n].currency=null!==(r=O[o.currency])&&void 0!==r?r:o.currency,t.currentLimits[n].period=o.period,t.currentLimits[n].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.updateAmount),t.currentLimits[n].isModified=o.isModified,t.currentLimits[n].expiryDate=`${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})),t.currentLimits=G(t.currentLimits)}))},j=e=>{var t;(null===(t=e[0])||void 0===t?void 0:t.limits)&&T.forEach((t=>{var i;t.currentLimits=[];for(const n of e[0].limits){if(n.type!==t.callValue16)continue;const e=n;t.currentLimits.push({limitType:t.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount),currency:null!==(i=O[e.currency])&&void 0!==i?i:e.currency,isModified:e.schedules.length>0,period:e.period,updateAmount:e.schedules.length>0?Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.schedules[0].updateAmount):"",expiryDate:e.schedules.length>0?`${new Date(e.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"",id:e.id})}t.currentLimits=G(t.currentLimits)}))},R=e=>{var t;(null===(t=e[1])||void 0===t?void 0:t.sessionLimit)&&T.filter((e=>"sessionLimit"===e.value)).forEach((t=>{t.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e[1].sessionLimit.minutes),currency:n("gamingLimits.minutes"),isModified:e[1].sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e[1].sessionLimit.updateMinutes),expiryDate:e[1].sessionLimit.expiryDate}),t.currentLimits=G(t.currentLimits)}))},z=e=>{var t;(null===(t=e[1])||void 0===t?void 0:t.cumulativeSessionLimits)&&T.filter((e=>"cumulativeSession"===e.value)).forEach((t=>{for(const i of e[1].cumulativeSessionLimits)t.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(i.minutes),currency:n("gamingLimits.minutes"),isModified:i.isModified,period:i.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(i.updateMinutes),expiryDate:i.expiryDate});t.currentLimits=G(t.currentLimits)}))},G=e=>{const t={Daily:0,Weekly:1,Monthly:2};return e.sort(((e,i)=>t[e.period]-t[i.period])),e},F=()=>{switch(f){case"gmcore":(()=>{if(N){const e=N[Yn[w].callValue].filter((e=>e.period===E))[0],t=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount);let r=n("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}",n(`gamingLimits.${w}`).toLowerCase()).replace("{updatedAmount}",t).replace("{currency}",O[e.currency]||e.currency).replace("{per}","None"===e.period?" ":n("gamingLimits.per")).replace("{selectedPeriod}",n(`gamingLimits.${E}`).toLowerCase());i(11,D=e.isModified?`${n("gamingLimits.popupPendingUpdate")} ${new Date(e.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:r)}i(10,I=!0)})();break;case"gm16":"lugas"===w?(i(11,D=k?`${n("gamingLimits.kycNeeded1")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(l)} ${c} ${n("gamingLimits.kycNeeded2")}`:n("gamingLimits.kycNotNeeded")),i(10,I=!0)):"sessionLimit"===w||"cumulativeSession"===w?(i(11,D=n("gamingLimits.sessionLimitUpdated")),i(10,I=!0)):(()=>{var e;const t=(null===(e=N[0])||void 0===e?void 0:e.limits)||N.limits;if(N){const e=t.filter((e=>e.type===Yn[w].callValue16&&(e.period===E||"None"===e.period)))[0],r=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount),o=e.schedules.length>0?`${new Date(e.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"";let s=n("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}",n(`gamingLimits.${w}`).toLowerCase()).replace("{updatedAmount}",r).replace("{currency}",O[e.currency]||e.currency).replace("{per}","None"===e.period?" ":n("gamingLimits.per")).replace("{selectedPeriod}",n(`gamingLimits.${E}`).toLowerCase());i(11,D=e.schedules.length>0?`${n("gamingLimits.popupPendingUpdate")} ${o}`:s)}i(10,I=!0)})();break;default:throw new Error(`Invalid apiversion attribute: ${f}`)}},W=e=>{switch(f){case"gmcore":(e=>{i(9,$=!0),i(7,_=!0);let t=new URL(`v2/player/${h}/limits/${{wager:"wagering",loss:"loss",deposit:"deposit"}[e.limitType]}?periods=${e.period}`,d),n={method:"DELETE",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,n).then((e=>e.json())).then((e=>{H()})).catch((e=>{console.log(e),i(8,P=!0)}))})(e);break;case"gm16":"sessionLimit"===e.limitType||"cumulativeSession"===e.limitType?V(e):X(e)}},V=e=>{const t=new URL(`/v1/player/${h}/limits/session/session`,d),n=new URL(`/v1/player/${h}/limits/session/cumulativeSession?periods=${e.period}`,d);let r;switch(e.limitType){case"sessionLimit":r=t;break;case"cumulativeSession":r=n;break;default:throw Error(`Unknown limit.limitType: ${e.limitType}`)}i(9,$=!0),i(7,_=!0);let o={method:"DELETE",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"}};fetch(r.href,o).then((e=>e.json())).then((e=>{H()})).catch((e=>{console.log(e),i(8,P=!0)}))},X=e=>{const t=new URL(`/v1/player/${h}/limits/monetary/${e.id}`,d);i(9,$=!0),i(7,_=!0);let n={method:"DELETE",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,n).then((e=>e.json())).then((e=>{H()})).catch((e=>{console.log(e),i(8,P=!0)}))},K=()=>{i(10,I=i(9,$=!1))},Y=()=>{var e;e=u,ti.set(e)};return e.$$set=e=>{"lang"in e&&i(22,u=e.lang),"currency"in e&&i(23,c=e.currency),"limits"in e&&i(24,p=e.limits),"session"in e&&i(25,m=e.session),"userid"in e&&i(26,h=e.userid),"endpoint"in e&&i(27,d=e.endpoint),"apiversion"in e&&i(28,f=e.apiversion),"clientstyling"in e&&i(29,g=e.clientstyling),"clientstylingurl"in e&&i(30,y=e.clientstylingurl)},e.$$.update=()=>{16777216&e.$$.dirty[0]&&p&&(p.split(" ").forEach((e=>{Yn[e]?T.push(Yn[e]):console.error(`Unknown limit: ${e}`)})),i(1,w=T[0].value),i(2,E=Yn[w].periods[0]),i(5,x=T.length>1),i(6,A=Yn[w].periods.length>1)),4194304&e.$$.dirty[0]&&u&&Y(),503316480&e.$$.dirty[0]&&h&&m&&d&&f&&H(),1073741824&e.$$.dirty[0]&&y&&(()=>{let e=new URL(y),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,r&&setTimeout((()=>{r.appendChild(t)}),1)}))})(),536870912&e.$$.dirty[0]&&g&&(()=>{let e=document.createElement("style");e.innerHTML=g,r.appendChild(e)})()},[r,w,E,o,s,x,A,_,P,$,I,D,k,n,v,T,()=>{i(2,E=Yn[w].periods[0]),i(6,A=Yn[w].periods.length>1)},()=>{switch(f){case"gmcore":(()=>{if(!(o>0))return;i(9,$=!0),i(7,_=!0);let e=new URL(`v2/player/${h}/limits`,d);const t={};t[Yn[w].callValue]=[{period:"None"===Yn[w].periods[0]?null:E,amount:o,currency:c}];let n={method:"PUT",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,n).then((e=>e.json())).then((e=>{H()})).catch((e=>{console.log(e),i(8,P=!0)}))})();break;case"gm16":"lugas"===w?(()=>{if(!(o>0))return;i(9,$=!0),i(7,_=!0);const e=new URL(`v1/player/${h}/limit/lugas`,d),t={amount:o};let n={method:"POST",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,n).then((e=>e.json())).then((e=>{i(12,k=e.kycNeeded),l=e.operatorDepositLimitAmount,H()})).catch((e=>{console.log(e),i(8,P=!0)}))})():"sessionLimit"===w?(()=>{if(!(o>0))return;i(9,$=!0),i(7,_=!0);const e=new URL(`v1/player/${h}/limits/session/`,d),t={sessionLimit:o,sessionLimitUnit:"minute"};let n={method:"PUT",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,n).then((e=>e.json())).then((e=>{H()})).catch((e=>{console.log(e),i(8,P=!0)}))})():"cumulativeSession"===w?(()=>{if(!(o>0))return;i(9,$=!0),i(7,_=!0);const e=new URL(`v1/player/${h}/limits/session/`,d),t={cumulativeSessionLimits:[{period:E,minutes:o}]};let n={method:"PUT",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,n).then((e=>e.json())).then((e=>{H()})).catch((e=>{console.log(e),i(8,P=!0)}))})():(()=>{if(!(o>0))return;i(9,$=!0),i(7,_=!0);const e=T.filter((e=>e.value===w))[0].currentLimits.filter((e=>e.period===E))[0],t=new URL(`v1/player/${h}/limits/monetary/${e?e.id:""}`,d),n=e?"PUT":"POST",r=e?{amount:o,skipCoolOff:!1}:{amount:o,currency:c,period:"None"===Yn[w].periods[0]?null:E,type:Yn[w].callValue16,products:["All"],walletTypes:["All"]};let s={method:n,headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(r)};fetch(t.href,s).then((e=>e.json())).then((e=>{H()})).catch((e=>{console.log(e),i(8,P=!0)}))})();break;default:throw Error(`Invalid apiversion attribute: ${f}`)}},()=>{const e=999999999999999;o>e&&i(3,o=e);const t=o-Math.floor(o)==0;o>0&&t?s.removeAttribute("disabled"):s.setAttribute("disabled","true")},W,K,()=>{window.postMessage({type:"uploadDocuments"}),K()},u,c,p,m,h,d,f,g,y,e=>W(e),function(){w=S(this),i(1,w),i(15,T)},function(){E=S(this),i(2,E),i(1,w)},function(){o=L(this.value),i(3,o)},function(e){B[e?"unshift":"push"]((()=>{s=e,i(4,s)}))},function(e){B[e?"unshift":"push"]((()=>{r=e,i(0,r)}))}]}!customElements.get("player-account-gaming-limits-page-2-gm16")&&customElements.define("player-account-gaming-limits-page-2-gm16",class extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>: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;border:1px solid;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border-color:#ced4da}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;border:1px solid;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border-color:#ced4da}select:hover{cursor:pointer;background-color:#7ec51e}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-page-2-gm16{color:var(--emfe-w-color-white, #333)}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:63%;padding:0 12px;margin:0 auto;float:left}.LimitsList.Desktop{display:flex;flex-wrap:wrap;justify-content:space-between;margin:0 auto}.LimitWrapper{background:var(--emfe-w-color-white, #fff);font-size:1.3rem;border:1px solid #ccc;padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:#7ac317;color:#fff;border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.CloseButton{background:#fff;color:#999;border:1px solid #999;margin-top:8px;border-radius:2px;padding:12px;cursor:pointer}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:#ccc 1px solid}.LimitDetailsTextWrapper{font-size:1.3rem;color:#666}.PendingLimit{color:#999}.LimitTitle{font-size:0.9rem}.PopupOverlay{position:absolute;top:0;left:0;background:#000;height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:#fff;font-size:1.3rem;color:#333;width:80vw;min-height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:#fff;font-size:1.3rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:#fff;color:#666;border:1px solid #ccc;border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:#f3f3fc}@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 #7ac317;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:1.0s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1.0s;animation-iteration-count:infinite;animation-timing-function:linear}</style>",F(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},Sr,xr,o,{lang:22,currency:23,limits:24,session:25,userid:26,endpoint:27,apiversion:28,clientstyling:29,clientstylingurl:30},null,[-1,-1,-1]),e&&(e.target&&u(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["lang","currency","limits","session","userid","endpoint","apiversion","clientstyling","clientstylingurl"]}get lang(){return this.$$.ctx[22]}set lang(e){this.$$set({lang:e}),j()}get currency(){return this.$$.ctx[23]}set currency(e){this.$$set({currency:e}),j()}get limits(){return this.$$.ctx[24]}set limits(e){this.$$set({limits:e}),j()}get session(){return this.$$.ctx[25]}set session(e){this.$$set({session:e}),j()}get userid(){return this.$$.ctx[26]}set userid(e){this.$$set({userid:e}),j()}get endpoint(){return this.$$.ctx[27]}set endpoint(e){this.$$set({endpoint:e}),j()}get apiversion(){return this.$$.ctx[28]}set apiversion(e){this.$$set({apiversion:e}),j()}get clientstyling(){return this.$$.ctx[29]}set clientstyling(e){this.$$set({clientstyling:e}),j()}get clientstylingurl(){return this.$$.ctx[30]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),j()}});const Ar={en:{history:{expandLimits:"LIMIT HISTORY",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",loading:"Loading limits history...",error:"Something went wrong. Please try again.",limitRemoved:"Limit removed"}},de:{history:{expandLimits:"LIMIT-VERLAUF",daily:"pro Tag",weekly:"pro Woche",monthly:"pro Monat",loss:"Verlustlimit",deposit:"Einzahlungslimit",wagering:"Einsatzlimit",loading:"Lädt ...",error:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",limitRemoved:"Limit entfernt"}},hr:{history:{expandLimits:"POVIJEST OGRANIČENJA",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wagering:"Ograničenje uloga",loading:"Učitavanje...",error:"Došlo je do pogreške. Molimo pokušajte ponovno.",limitRemoved:"Ograničenje uklonjeno"}},sl:{history:{expandLimits:"LIMIT ZGODOVINA",daily:"na dan",weekly:"na teden",monthly:"na mesec",loss:"Limit izgube",deposit:"Limit vplačila",wagering:"Limit na vložek",loading:"Nalaga...",error:"Nekaj je šlo narobe. Prosim poskusite ponovno.",limitRemoved:"Limit odstranjen"}},pol:{history:{expandLimits:"HISTORIA LIMITU",daily:"na dzień",weekly:"na tydzień",monthly:"na miesiąc",loss:"Limit Strat",deposit:"Limit depozytów",wagering:"Limit Stawek",loading:"Ładowanie...",error:"Coś poszło nie tak. Proszę spróbuj ponownie.",limitRemoved:"Usunięty limit"}},zh:{history:{expandLimits:"极限历史",daily:"每天",weekly:"每个星期",monthly:"每月",loss:"损失限额",deposit:"存款限额",wagering:"投注限额",loading:"加载请稍候...",error:"500 - 服务器错误",limitRemoved:"移除限制"}},fr:{history:{expandLimits:"LIMITER L'HISTORIQUE",daily:"par jour",weekly:"par semaine",monthly:"par mois",loss:"Limite de perte",deposit:"Limite de dépôt",wagering:"Limite de mise",loading:"Chargement, veuillez patienter...",error:"500 - Erreur de serveur",limitRemoved:"Limite supprimée"}},ro:{history:{expandLimits:"ISTORIC LIMITE",daily:"pe zi",weekly:"pe saptamana",monthly:"pe luna",loss:"Limita de pierdere",deposit:"Limita de incarcare",loading:"Se incarca, va rugam asteptati...",error:"500 - Eroare de server",limitRemoved:"Limita eliminata"}}};function _r(e,t,i){const n=e.slice();return n[25]=t[i],n}function Pr(e){let t,i,n,r,o,s,a,g,v,L,w,E,x=e[7]("history.expandLimits")+"",S=e[4],_=[];for(let t=0;t<S.length;t+=1)_[t]=Nr(_r(e,S,t));return{c(){t=m("div"),i=m("div"),n=m("button"),r=d(x),o=f(),s=h("svg"),a=h("path"),g=h("path"),v=f(),L=m("div");for(let e=0;e<_.length;e+=1)_[e].c();b(a,"d","M10.5 15l7.5 7.5 7.5-7.5z"),b(g,"d","M0 0h36v36h-36z"),b(g,"fill","none"),b(s,"class","ExpandArrow"),b(s,"xmlns","http://www.w3.org/2000/svg"),b(s,"width","36"),b(s,"height","36"),b(s,"viewBox","0 0 36 36"),b(s,"fill","#999"),A(s,"extended",e[6]),b(n,"class","ExpandButton"),b(L,"class","HistoryDisplayArea"),A(L,"hidden",e[5]),b(i,"class","HistoryWrapper "+(e[8]?"Desktop":"")),b(t,"class","player-account-gaming-limits-history-2")},m(c,p){u(c,t,p),l(t,i),l(i,n),l(n,r),l(n,o),l(n,s),l(s,a),l(s,g),l(i,v),l(i,L);for(let e=0;e<_.length;e+=1)_[e].m(L,null);w||(E=y(n,"click",e[9]),w=!0)},p(e,t){if(128&t&&x!==(x=e[7]("history.expandLimits")+"")&&T(r,x),64&t&&A(s,"extended",e[6]),144&t){let i;for(S=e[4],i=0;i<S.length;i+=1){const n=_r(e,S,i);_[i]?_[i].p(n,t):(_[i]=Nr(n),_[i].c(),_[i].m(L,null))}for(;i<_.length;i+=1)_[i].d(1);_.length=S.length}32&t&&A(L,"hidden",e[5])},d(e){e&&c(t),p(_,e),w=!1,E()}}}function $r(t){return{c:e,m:e,p:e,d:e}}function Ir(e){let t,i,n=(e[0]?e[7]("history.error"):"500 Server Error")+"";return{c(){t=m("p"),i=d(n)},m(e,n){u(e,t,n),l(t,i)},p(e,t){129&t&&n!==(n=(e[0]?e[7]("history.error"):"500 Server Error")+"")&&T(i,n)},d(e){e&&c(t)}}}function Dr(e){let t,i,n,r,o,s,a,p,h,g,y,v,L=e[25].type+"",w=e[25].amount+"",E=e[25].currency+"",x=e[25].period+"",S=e[25].date+"";return{c(){t=m("div"),i=m("span"),n=m("span"),r=d(L),o=m("span"),s=d(w),a=f(),p=d(E),h=f(),g=d(x),y=m("span"),v=d(S),b(n,"class","LimitType"),b(o,"class","LimitAmountPeriod"),b(i,"class","GeneralLimitInformation"),b(y,"class","DateLimitInformation"),b(t,"class","HistoryRow")},m(e,c){u(e,t,c),l(t,i),l(i,n),l(n,r),l(i,o),l(o,s),l(o,a),l(o,p),l(o,h),l(o,g),l(t,y),l(y,v)},p(e,t){16&t&&L!==(L=e[25].type+"")&&T(r,L),16&t&&w!==(w=e[25].amount+"")&&T(s,w),16&t&&E!==(E=e[25].currency+"")&&T(p,E),16&t&&x!==(x=e[25].period+"")&&T(g,x),16&t&&S!==(S=e[25].date+"")&&T(v,S)},d(e){e&&c(t)}}}function Br(e){let t,i,n,r,o,s,a,p,h=e[25].type+"",f=e[7]("history.limitRemoved")+"",g=e[25].date+"";return{c(){t=m("div"),i=m("span"),n=m("span"),r=d(h),o=m("span"),s=d(f),a=m("span"),p=d(g),b(n,"class","LimitType"),b(o,"class","LimitAmountPeriod"),b(i,"class","GeneralLimitInformation"),b(a,"class","DateLimitInformation"),b(t,"class","HistoryRow")},m(e,c){u(e,t,c),l(t,i),l(i,n),l(n,r),l(i,o),l(o,s),l(t,a),l(a,p)},p(e,t){16&t&&h!==(h=e[25].type+"")&&T(r,h),128&t&&f!==(f=e[7]("history.limitRemoved")+"")&&T(s,f),16&t&&g!==(g=e[25].date+"")&&T(p,g)},d(e){e&&c(t)}}}function Nr(e){let t;function i(e,t){return e[25].removed?Br:Dr}let n=i(e),r=n(e);return{c(){r.c(),t=g()},m(e,i){r.m(e,i),u(e,t,i)},p(e,o){n===(n=i(e))&&r?r.p(e,o):(r.d(1),r=n(e),r&&(r.c(),r.m(t.parentNode,t)))},d(e){r.d(e),e&&c(t)}}}function kr(t){let i;function n(e,t){return e[2]?Ir:e[3]?$r:Pr}let r=n(t),o=r(t);return{c(){i=m("div"),o.c(),this.c=e},m(e,n){u(e,i,n),o.m(i,null),t[16](i)},p(e,[t]){r===(r=n(e))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(i,null)))},i:e,o:e,d(e){e&&c(i),o.d(),t[16](null)}}}function Or(e,t,i){let n;a(e,hi,(e=>i(7,n=e)));let r,o=window.navigator.userAgent,s=!En(o),{lang:l=""}=t,{userid:u=""}=t,{session:c=""}=t,{endpoint:p=""}=t,{apiversion:m=""}=t,{clientstyling:h=""}=t,{clientstylingurl:d=""}=t,f=!1,g=!0,y=[],b=!0,v=!1,L={EUR:"€",RON:"lei"};Object.keys(Ar).forEach((e=>{!function(e,t){jt(e,t)}(e,Ar[e])}));const T=e=>{const t=!!Ar[l];return e.map((e=>{let i={amount:"",currency:"",date:"",period:"",type:"",removed:!1};return i.amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.limitAmount),i.currency=t?L[e.limitCurrencyCode]:e.limitCurrencyCode,i.date=new Intl.DateTimeFormat("de",{dateStyle:"medium"}).format(new Date(e.limitDate)),i.period=n(`history.${e.limitPeriod.toLowerCase()}`),i.type=n(`history.${e.limitType.split(" ")[0].toLowerCase()}`),i.removed=-1===e.limitAmount,i}))},w=()=>{var e;e=l,ti.set(e)};return e.$$set=e=>{"lang"in e&&i(0,l=e.lang),"userid"in e&&i(10,u=e.userid),"session"in e&&i(11,c=e.session),"endpoint"in e&&i(12,p=e.endpoint),"apiversion"in e&&i(13,m=e.apiversion),"clientstyling"in e&&i(14,h=e.clientstyling),"clientstylingurl"in e&&i(15,d=e.clientstylingurl)},e.$$.update=()=>{15360&e.$$.dirty&&p&&u&&c&&m&&(()=>{let e=new URL("gmcore"===m?`v2/player/${u}/transactions/limit`:`v1/player/${u}/limits/monetary/history`,p);console.log("HERE!",e.href),e.searchParams.append("startDate","1970"),e.searchParams.append("endDate","2099");let t={method:"GET",headers:{"X-SessionID":c}};fetch(e.href,t).then((e=>{if(e.status>=300)throw i(3,g=!1),i(2,f=!0),new Error("There was an error fetching the limits");return e.json()})).then((e=>{e.length&&i(4,y=T(e)),i(3,g=!1)}),(e=>{console.error("There was an error",e),i(2,f=!0)}))})(),1&e.$$.dirty&&l&&w(),32768&e.$$.dirty&&d&&(()=>{let e=new URL(d),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,r&&(setTimeout((()=>{r.appendChild(t)}),1),setTimeout((()=>{}),500))}))})(),16384&e.$$.dirty&&h&&(()=>{let e=document.createElement("style");e.innerHTML=h,r.appendChild(e)})()},[l,r,f,g,y,b,v,n,s,()=>{i(5,b=!b),i(6,v=!v)},u,c,p,m,h,d,function(e){B[e?"unshift":"push"]((()=>{r=e,i(1,r)}))}]}function Hr(e,t,i){const n=e.slice();return n[25]=t[i],n}function Mr(e,t,i){const n=e.slice();return n[28]=t[i],n[30]=i,n}function Cr(e){let t,i,n,r,o=e[10].length>1&&jr(e),s=e[10],a=[];for(let t=0;t<s.length;t+=1)a[t]=Fr(Hr(e,s,t));let l="true"===e[6]&&Wr(e);return{c(){o&&o.c(),t=f(),i=m("div");for(let e=0;e<a.length;e+=1)a[e].c();n=f(),l&&l.c(),r=g(),b(i,"class","player-account-gaming-limits-wrapper-2")},m(s,c){o&&o.m(s,c),u(s,t,c),u(s,i,c);for(let e=0;e<a.length;e+=1)a[e].m(i,null);e[20](i),u(s,n,c),l&&l.m(s,c),u(s,r,c)},p(e,n){if(e[10].length>1?o?o.p(e,n):(o=jr(e),o.c(),o.m(t.parentNode,t)):o&&(o.d(1),o=null),1087&n){let t;for(s=e[10],t=0;t<s.length;t+=1){const r=Hr(e,s,t);a[t]?a[t].p(r,n):(a[t]=Fr(r),a[t].c(),a[t].m(i,null))}for(;t<a.length;t+=1)a[t].d(1);a.length=s.length}"true"===e[6]?l?l.p(e,n):(l=Wr(e),l.c(),l.m(r.parentNode,r)):l&&(l.d(1),l=null)},d(s){o&&o.d(s),s&&c(t),s&&c(i),p(a,s),e[20](null),s&&c(n),l&&l.d(s),s&&c(r)}}}function Ur(t){return{c:e,m:e,p:e,d:e}}function jr(e){let t,i=e[10],n=[];for(let t=0;t<i.length;t+=1)n[t]=Rr(Mr(e,i,t));return{c(){t=m("div");for(let e=0;e<n.length;e+=1)n[e].c();b(t,"class","TabsContainer")},m(i,r){u(i,t,r);for(let e=0;e<n.length;e+=1)n[e].m(t,null);e[19](t)},p(e,r){if(11264&r){let o;for(i=e[10],o=0;o<i.length;o+=1){const s=Mr(e,i,o);n[o]?n[o].p(s,r):(n[o]=Rr(s),n[o].c(),n[o].m(t,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},d(i){i&&c(t),p(n,i),e[19](null)}}}function Rr(e){let t,i,n,r,o=(e[11][e[30]]??e[28])+"";function s(){return e[18](e[30])}return{c(){t=m("div"),i=d(o),b(t,"class","LimitsTab")},m(e,o){u(e,t,o),l(t,i),n||(r=y(t,"click",s),n=!0)},p(t,n){e=t,3072&n&&o!==(o=(e[11][e[30]]??e[28])+"")&&T(i,o)},d(e){e&&c(t),n=!1,r()}}}function zr(e){let t,i;return{c(){t=m("player-account-gaming-limits-page-2-gm16"),v(t,"class","hidden selected"),v(t,"lang",e[0]),v(t,"currency",e[4]),v(t,"limits",i=e[25]),v(t,"userid",e[1]),v(t,"session",e[2]),v(t,"endpoint",e[3]),v(t,"apiversion",e[5])},m(e,i){u(e,t,i)},p(e,n){1&n&&v(t,"lang",e[0]),16&n&&v(t,"currency",e[4]),1024&n&&i!==(i=e[25])&&v(t,"limits",i),2&n&&v(t,"userid",e[1]),4&n&&v(t,"session",e[2]),8&n&&v(t,"endpoint",e[3]),32&n&&v(t,"apiversion",e[5])},d(e){e&&c(t)}}}function Gr(e){let t,i;return{c(){t=m("player-account-gaming-limits-page-2-gmcore"),v(t,"class","hidden selected"),v(t,"lang",e[0]),v(t,"currency",e[4]),v(t,"limits",i=e[25]),v(t,"userid",e[1]),v(t,"session",e[2]),v(t,"endpoint",e[3]),v(t,"apiversion",e[5])},m(e,i){u(e,t,i)},p(e,n){1&n&&v(t,"lang",e[0]),16&n&&v(t,"currency",e[4]),1024&n&&i!==(i=e[25])&&v(t,"limits",i),2&n&&v(t,"userid",e[1]),4&n&&v(t,"session",e[2]),8&n&&v(t,"endpoint",e[3]),32&n&&v(t,"apiversion",e[5])},d(e){e&&c(t)}}}function Fr(e){let t;function i(e,t){return"gmcore"==e[5]?Gr:zr}let n=i(e),r=n(e);return{c(){r.c(),t=g()},m(e,i){r.m(e,i),u(e,t,i)},p(e,o){n===(n=i(e))&&r?r.p(e,o):(r.d(1),r=n(e),r&&(r.c(),r.m(t.parentNode,t)))},d(e){r.d(e),e&&c(t)}}}function Wr(e){let t;return{c(){t=m("player-account-gaming-limits-history-2"),v(t,"lang",e[0]),v(t,"userid",e[1]),v(t,"session",e[2]),v(t,"endpoint",e[3]),v(t,"apiversion",e[5])},m(e,i){u(e,t,i)},p(e,i){1&i&&v(t,"lang",e[0]),2&i&&v(t,"userid",e[1]),4&i&&v(t,"session",e[2]),8&i&&v(t,"endpoint",e[3]),32&i&&v(t,"apiversion",e[5])},d(e){e&&c(t)}}}function Vr(t){let i;function n(e,t){return e[8]?Ur:Cr}let r=n(t),o=r(t);return{c(){i=m("div"),o.c(),this.c=e},m(e,n){u(e,i,n),o.m(i,null),t[21](i)},p(e,[t]){r===(r=n(e))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(i,null)))},i:e,o:e,d(e){e&&c(i),o.d(),t[21](null)}}}function Xr(e,t,i){let n,r,o,s,{lang:a=""}=t,{userid:l=""}=t,{session:u=""}=t,{endpoint:c=""}=t,{currency:p=""}=t,{apiversion:m=""}=t,{includedlimits:h=""}=t,{tablabels:d=""}=t,{historyenabled:f="true"}=t,{clientstyling:g=""}=t,{clientstylingurl:y=""}=t,b=!0,v=[];const L=e=>{if(o.children.length>0)for(let t=0;t<o.children.length;t++)e===t?(o.children[t].classList.remove("hidden"),null==s||s.children[t].classList.add("selected")):(o.children[t].classList.add("hidden"),null==s||s.children[t].classList.remove("selected"))};I((()=>()=>{i(7,o=null),i(12,s=null)}));return e.$$set=e=>{"lang"in e&&i(0,a=e.lang),"userid"in e&&i(1,l=e.userid),"session"in e&&i(2,u=e.session),"endpoint"in e&&i(3,c=e.endpoint),"currency"in e&&i(4,p=e.currency),"apiversion"in e&&i(5,m=e.apiversion),"includedlimits"in e&&i(14,h=e.includedlimits),"tablabels"in e&&i(15,d=e.tablabels),"historyenabled"in e&&i(6,f=e.historyenabled),"clientstyling"in e&&i(16,g=e.clientstyling),"clientstylingurl"in e&&i(17,y=e.clientstylingurl)},e.$$.update=()=>{49167&e.$$.dirty&&l&&u&&c&&h&&d&&a&&(console.log("hello"),i(10,v=h.split(",").map((e=>e.trim()))),i(11,r=d.split(",").map((e=>e.trim()))),i(8,b=!1)),128&e.$$.dirty&&o&&L(0),131072&e.$$.dirty&&y&&(()=>{let e=new URL(y),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,n&&setTimeout((()=>{n.appendChild(t)}),1)}))})(),65536&e.$$.dirty&&g&&(()=>{let e=document.createElement("style");e.innerHTML=g,n.appendChild(e)})()},[a,l,u,c,p,m,f,o,b,n,v,r,s,L,h,d,g,y,e=>L(e),function(e){B[e?"unshift":"push"]((()=>{s=e,i(12,s)}))},function(e){B[e?"unshift":"push"]((()=>{o=e,i(7,o)}))},function(e){B[e?"unshift":"push"]((()=>{n=e,i(9,n)}))}]}!customElements.get("player-account-gaming-limits-history-2")&&customElements.define("player-account-gaming-limits-history-2",class extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';font-size:1.3rem}*,*::before,*::after{color:#555;margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2{color:var(--emfe-w-color-white, #FFFFFF)}button{font-size:1rem;border:0;padding:0}.ExpandButton{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.extended{transform:rotate(180deg)}.HistoryWrapper{display:flex;flex-direction:column}.HistoryWrapper.Desktop{width:63%;padding:0 12px;margin:12px auto}.hidden{display:none}.HistoryRow{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:#ccc 1px solid}.GeneralLimitInformation{display:flex;flex-direction:column;gap:4px}.LimitType{font-size:1.3rem}.LimitAmountPeriod{color:#999}</style>",F(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},Or,kr,o,{lang:0,userid:10,session:11,endpoint:12,apiversion:13,clientstyling:14,clientstylingurl:15},null),e&&(e.target&&u(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["lang","userid","session","endpoint","apiversion","clientstyling","clientstylingurl"]}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),j()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),j()}get session(){return this.$$.ctx[11]}set session(e){this.$$set({session:e}),j()}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),j()}get apiversion(){return this.$$.ctx[13]}set apiversion(e){this.$$set({apiversion:e}),j()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),j()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),j()}});class Kr extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TabsContainer{height:42px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid #ccc;justify-content:center}.LimitsTab{font-size:1.3rem;line-height:1.4rem;margin-bottom:3px;display:flex;justify-content:center;align-items:center;padding:0 1rem;box-sizing:content-box}.hidden{display:none}.selected{border-bottom:0.2rem solid #7ec51e;color:#7ac317;margin:0}</style>",F(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},Xr,Vr,o,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,includedlimits:14,tablabels:15,historyenabled:6,clientstyling:16,clientstylingurl:17},null),e&&(e.target&&u(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["lang","userid","session","endpoint","currency","apiversion","includedlimits","tablabels","historyenabled","clientstyling","clientstylingurl"]}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),j()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),j()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),j()}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),j()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),j()}get apiversion(){return this.$$.ctx[5]}set apiversion(e){this.$$set({apiversion:e}),j()}get includedlimits(){return this.$$.ctx[14]}set includedlimits(e){this.$$set({includedlimits:e}),j()}get tablabels(){return this.$$.ctx[15]}set tablabels(e){this.$$set({tablabels:e}),j()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(e){this.$$set({historyenabled:e}),j()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),j()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),j()}}return!customElements.get("player-account-gaming-limits-wrapper-2")&&customElements.define("player-account-gaming-limits-wrapper-2",Kr),Kr}));
|
|
2
2
|
//# sourceMappingURL=player-account-gaming-limits-wrapper-2.js.map
|