@everymatrix/player-account-gaming-limits 0.0.272 → 0.0.275
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(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).app=e()}(this,function(){"use strict";function z(){}const p=t=>t;function c(t){return t()}function d(){return Object.create(null)}function Z(t){t.forEach(c)}function T(t){return"function"==typeof t}function i(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function m(t,...e){if(null==t)return z;const i=t.subscribe(...e);return i.unsubscribe?()=>i.unsubscribe():i}function F(t,e,i){t.$$.on_destroy.push(m(e,i))}var t="undefined"!=typeof window;let y=t?()=>window.performance.now():()=>Date.now(),g=t?t=>requestAnimationFrame(t):z;const w=new Set;function v(e){w.forEach(t=>{t.c(e)||(w.delete(t),t.f())}),0!==w.size&&g(v)}function X(t,e){t.appendChild(e)}function q(t,e,i){t.insertBefore(e,i||null)}function J(t){t.parentNode.removeChild(t)}function C(e,i){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(i)}function K(t){return document.createElement(t)}function e(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Q(t){return document.createTextNode(t)}function tt(){return Q(" ")}function _(){return Q("")}function et(t,e,i,n){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}function it(e){return function(t){return t.preventDefault(),e.call(this,t)}}function nt(t,e,i){null==i?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function rt(t,e,i){e in t?t[e]=i:nt(t,e,i)}function U(t){return""===t?null:+t}function ot(t,e){t.wholeText!==(e=""+e)&&(t.data=e)}function f(t,e){t.value=null==e?"":e}function L(e,i){for(let t=0;t<e.options.length;t+=1){const n=e.options[t];if(n.__value===i)return n.selected=!0,0}}function G(t){t=t.querySelector(":checked")||t.options[0];return t&&t.__value}function n(t){const e={};for(const i of t)e[i.name]=i.value;return e}const b=new Set;let h,x=0;function E(t,e,i,n,r,o,a,s=0){var l=16.666/n;let u="{\n";for(let t=0;t<=1;t+=l){const n=e+(i-e)*o(t);u+=100*t+`%{${a(n,1-n)}}\n`}const c=u+`100% {${a(i,1-i)}}\n}`,d=`__svelte_${function(t){let e=5381,i=t.length;for(;i--;)e=(e<<5)-e^t.charCodeAt(i);return e>>>0}(c)}_${s}`,m=t.ownerDocument;b.add(m);const f=m.__svelte_stylesheet||(m.__svelte_stylesheet=m.head.appendChild(K("style")).sheet),h=m.__svelte_rules||(m.__svelte_rules={});h[d]||(h[d]=!0,f.insertRule(`@keyframes ${d} ${c}`,f.cssRules.length));s=t.style.animation||"";return t.style.animation=`${s?`${s}, `:""}${d} ${n}ms linear ${r}ms 1 both`,x+=1,d}function M(t){h=t}function $(t){!function(){if(!h)throw new Error("Function called outside component initialization");return h}().$$.on_mount.push(t)}const A=[],s=[],r=[],o=[],a=Promise.resolve();let l=!1;function S(){l||(l=!0,a.then(k))}function I(t){r.push(t)}let u=!1;const D=new Set;function k(){if(!u){u=!0;do{for(let t=0;t<A.length;t+=1){var e=A[t];M(e),function(t){{var e;null!==t.fragment&&(t.update(),Z(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(I))}}(e.$$)}for(M(null),A.length=0;s.length;)s.pop()();for(let t=0;t<r.length;t+=1){const i=r[t];D.has(i)||(D.add(i),i())}}while(r.length=0,A.length);for(;o.length;)o.pop()();l=!1,u=!1,D.clear()}}let P;function N(t,e,i){t.dispatchEvent(function(t){const e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}(`${e?"intro":"outro"}${i}`))}const O=new Set;let R;function Y(t,e){t&&t.i&&(O.delete(t),t.i(e))}function W(t,e,i,n){t&&t.o&&(O.has(t)||(O.add(t),R.c.push(()=>{O.delete(t),n&&(i&&t.d(1),n())}),t.o(e)))}const j={duration:0};function B(s,t,e,i){let l=t(s,e),u=i?0:1,c=null,d=null,m=null;function f(){m&&function(t,e){const i=(t.style.animation||"").split(", "),n=i.filter(e?t=>t.indexOf(e)<0:t=>-1===t.indexOf("__svelte")),r=i.length-n.length;r&&(t.style.animation=n.join(", "),x-=r,x||g(()=>{x||(b.forEach(t=>{const e=t.__svelte_stylesheet;let i=e.cssRules.length;for(;i--;)e.deleteRule(i);t.__svelte_rules={}}),b.clear())}))}(s,m)}function h(t,e){var i=t.b-u;return e*=Math.abs(i),{a:u,b:t.b,d:i,duration:e,start:t.start,end:t.start+e,group:t.group}}function n(t){const{delay:e=0,duration:i=300,easing:n=p,tick:r=z,css:o}=l||j,a={start:y()+e,b:t};t||(a.group=R,R.r+=1),c||d?d=a:(o&&(f(),m=E(s,u,t,i,e,n,o)),t&&r(0,1),c=h(a,i),I(()=>N(s,t,"start")),function(e){let i;0===w.size&&g(v),new Promise(t=>{w.add(i={c:e,f:t})})}(t=>{return d&&t>d.start&&(c=h(d,i),d=null,N(s,c.b,"start"),o&&(f(),m=E(s,u,c.b,c.duration,0,n,l.css))),c&&(t>=c.end?(r(u=c.b,1-u),N(s,c.b,"end"),d||(c.b?f():--c.group.r||Z(c.group.c)),c=null):t>=c.start&&(t=t-c.start,u=c.a+c.d*n(t/c.duration),r(u,1-u))),!(!c&&!d)}))}return{run(t){T(l)?(P||(P=Promise.resolve(),P.then(()=>{P=null})),P.then(()=>{l=l(),n(t)})):n(t)},end(){f(),c=d=null}}}function H(n,t,e,i,r,o,a=[-1]){var s=h;M(n);const l=n.$$={fragment:null,ctx:null,props:o,update:z,not_equal:r,bound:d(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s?s.$$.context:t.context||[]),callbacks:d(),dirty:a,skip_bound:!1};let u=!1;if(l.ctx=e?e(n,t.props||{},(t,e,...i)=>{i=i.length?i[0]:e;return l.ctx&&r(l.ctx[t],l.ctx[t]=i)&&(!l.skip_bound&&l.bound[t]&&l.bound[t](i),u&&(i=t,-1===(t=n).$$.dirty[0]&&(A.push(t),S(),t.$$.dirty.fill(0)),t.$$.dirty[i/31|0]|=1<<i%31)),e}):[],l.update(),u=!0,Z(l.before_update),l.fragment=!!i&&i(l.ctx),t.target){if(t.hydrate){const z=(i=t.target,Array.from(i.childNodes));l.fragment&&l.fragment.l(z),z.forEach(J)}else l.fragment&&l.fragment.c();t.intro&&Y(n.$$.fragment),function(e,t,i,n){const{fragment:r,on_mount:o,on_destroy:a,after_update:s}=e.$$;r&&r.m(t,i),n||I(()=>{var t=o.map(c).filter(T);a?a.push(...t):Z(t),e.$$.on_mount=[]}),s.forEach(I)}(n,t.target,t.anchor,t.customElement),k()}M(s)}let V;"function"==typeof HTMLElement&&(V=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(c).filter(T);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,i){this[t]=i}disconnectedCallback(){Z(this.$$.on_disconnect)}$destroy(){!function(t){const e=t.$$;null!==e.fragment&&(Z(e.on_destroy),e.fragment&&e.fragment.d(1),e.on_destroy=e.fragment=null,e.ctx=[])}(this),this.$destroy=z}$on(t,e){const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(e),()=>{var t=i.indexOf(e);-1!==t&&i.splice(t,1)}}$set(t){this.$$set&&0!==Object.keys(t).length&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});var at,st,lt="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==lt&<,ut="URLSearchParams"in lt,ct="Symbol"in lt&&"iterator"in Symbol,dt="FileReader"in lt&&"Blob"in lt&&function(){try{return new Blob,!0}catch(t){return!1}}(),mt="FormData"in lt,ft="ArrayBuffer"in lt;function ht(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function pt(t){return t="string"!=typeof t?String(t):t}function yt(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return ct&&(t[Symbol.iterator]=function(){return t}),t}function gt(e){this.map={},e instanceof gt?e.forEach(function(t,e){this.append(e,t)},this):Array.isArray(e)?e.forEach(function(t){this.append(t[0],t[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function wt(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function vt(i){return new Promise(function(t,e){i.onload=function(){t(i.result)},i.onerror=function(){e(i.error)}})}function _t(t){var e=new FileReader,i=vt(e);return e.readAsArrayBuffer(t),i}function bt(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function xt(){return this.bodyUsed=!1,this._initBody=function(t){this.bodyUsed=this.bodyUsed,(this._bodyInit=t)?"string"==typeof t?this._bodyText=t:dt&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:mt&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:ut&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():ft&&dt&&t&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=bt(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ft&&(ArrayBuffer.prototype.isPrototypeOf(t)||st(t))?this._bodyArrayBuffer=bt(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):ut&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},dt&&(this.blob=function(){var t=wt(this);if(t)return t;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(){return this._bodyArrayBuffer?wt(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(_t)}),this.text=function(){var t,e,i=wt(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,i=vt(e),e.readAsText(t),i;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),i=new Array(e.length),n=0;n<e.length;n++)i[n]=String.fromCharCode(e[n]);return i.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},mt&&(this.formData=function(){return this.text().then(Ct)}),this.json=function(){return this.text().then(JSON.parse)},this}ft&&(at=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],st=ArrayBuffer.isView||function(t){return t&&-1<at.indexOf(Object.prototype.toString.call(t))}),gt.prototype.append=function(t,e){t=ht(t),e=pt(e);var i=this.map[t];this.map[t]=i?i+", "+e:e},gt.prototype.delete=function(t){delete this.map[ht(t)]},gt.prototype.get=function(t){return t=ht(t),this.has(t)?this.map[t]:null},gt.prototype.has=function(t){return this.map.hasOwnProperty(ht(t))},gt.prototype.set=function(t,e){this.map[ht(t)]=pt(e)},gt.prototype.forEach=function(t,e){for(var i in this.map)this.map.hasOwnProperty(i)&&t.call(e,this.map[i],i,this)},gt.prototype.keys=function(){var i=[];return this.forEach(function(t,e){i.push(e)}),yt(i)},gt.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),yt(e)},gt.prototype.entries=function(){var i=[];return this.forEach(function(t,e){i.push([e,t])}),yt(i)},ct&&(gt.prototype[Symbol.iterator]=gt.prototype.entries);var Et=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Tt(t,e){if(!(this instanceof Tt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var i,n=(e=e||{}).body;if(t instanceof Tt){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new gt(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new gt(e.headers)),this.method=(t=(i=e.method||this.method||"GET").toUpperCase(),-1<Et.indexOf(t)?t:i),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache||((e=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(e,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Ct(t){var i=new FormData;return t.trim().split("&").forEach(function(t){var e;t&&(t=(e=t.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),i.append(decodeURIComponent(t),decodeURIComponent(e)))}),i}function Lt(t,e){if(!(this instanceof Lt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e=e||{},this.type="default",this.status=void 0===e.status?200:e.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new gt(e.headers),this.url=e.url||"",this._initBody(t)}Tt.prototype.clone=function(){return new Tt(this,{body:this._bodyInit})},xt.call(Tt.prototype),xt.call(Lt.prototype),Lt.prototype.clone=function(){return new Lt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new gt(this.headers),url:this.url})},Lt.error=function(){var t=new Lt(null,{status:0,statusText:""});return t.type="error",t};var Mt=[301,302,303,307,308];Lt.redirect=function(t,e){if(-1===Mt.indexOf(e))throw new RangeError("Invalid status code");return new Lt(null,{status:e,headers:{location:t}})};var At=lt.DOMException;try{new At}catch(z){(At=function(t,e){this.message=t,this.name=e;t=Error(t);this.stack=t.stack}).prototype=Object.create(Error.prototype),At.prototype.constructor=At}function St(n,a){return new Promise(function(r,t){var e=new Tt(n,a);if(e.signal&&e.signal.aborted)return t(new At("Aborted","AbortError"));var o=new XMLHttpRequest;function i(){o.abort()}o.onload=function(){var t,i,e={status:o.status,statusText:o.statusText,headers:(t=o.getAllResponseHeaders()||"",i=new gt,t.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t}).forEach(function(t){var e=t.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),i.append(t,e))}),i)};e.url="responseURL"in o?o.responseURL:e.headers.get("X-Request-URL");var n="response"in o?o.response:o.responseText;setTimeout(function(){r(new Lt(n,e))},0)},o.onerror=function(){setTimeout(function(){t(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){t(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){t(new At("Aborted","AbortError"))},0)},o.open(e.method,function(e){try{return""===e&<.location.href?lt.location.href:e}catch(t){return e}}(e.url),!0),"include"===e.credentials?o.withCredentials=!0:"omit"===e.credentials&&(o.withCredentials=!1),"responseType"in o&&(dt?o.responseType="blob":ft&&e.headers.get("Content-Type")&&-1!==e.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof gt?e.headers.forEach(function(t,e){o.setRequestHeader(e,t)}):Object.getOwnPropertyNames(a.headers).forEach(function(t){o.setRequestHeader(t,pt(a.headers[t]))}),e.signal&&(e.signal.addEventListener("abort",i),o.onreadystatechange=function(){4===o.readyState&&e.signal.removeEventListener("abort",i)}),o.send(void 0===e._bodyInit?null:e._bodyInit)})}function Ii(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}St.polyfill=!0,lt.fetch||(lt.fetch=St,lt.Headers=gt,lt.Request=Tt,lt.Response=Lt),self.fetch.bind(self);var It=function(t,e){return(It=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)};function Dt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}It(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}function kt(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return{value:(t=t&&n>=t.length?void 0:t)&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Pt(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var n,r,o=i.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(n=o.next()).done;)a.push(n.value)}catch(t){r={error:t}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return a}function Nt(t,e){for(var i=0,n=e.length,r=t.length;i<n;i++,r++)t[r]=e[i];return t}function Ot(t){return"function"==typeof t}function Rt(t){t=t(function(t){Error.call(t),t.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t}var Yt=Rt(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}});function Ft(t,e){!t||0<=(e=t.indexOf(e))&&t.splice(e,1)}var Ut=($t.prototype.unsubscribe=function(){var t,e,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 a=kt(o),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}else o.remove(this);o=this.initialTeardown;if(Ot(o))try{o()}catch(t){r=t instanceof Yt?t.errors:[t]}o=this._teardowns;if(o){this._teardowns=null;try{for(var l=kt(o),u=l.next();!u.done;u=l.next()){var c=u.value;try{jt(c)}catch(t){r=null!=r?r:[],t instanceof Yt?r=Nt(Nt([],Pt(r)),Pt(t.errors)):r.push(t)}}}catch(t){i={error:t}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(i)throw i.error}}}if(r)throw new Yt(r)}},$t.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)jt(t);else{if(t instanceof $t){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(e=this._teardowns)&&void 0!==e?e:[]).push(t)}},$t.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},$t.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},$t.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&Ft(e,t)},$t.prototype.remove=function(t){var e=this._teardowns;e&&Ft(e,t),t instanceof $t&&t._removeParent(this)},$t.EMPTY=((ci=new $t).closed=!0,ci),$t),Gt=Ut.EMPTY;function $t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}function Wt(t){return t instanceof Ut||t&&"closed"in t&&Ot(t.remove)&&Ot(t.add)&&Ot(t.unsubscribe)}function jt(t){Ot(t)?t():t.unsubscribe()}var Bt=void 0,Ht=!1,Vt=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return setTimeout.apply(void 0,Nt([],Pt(t)))};function zt(){}function Zt(t){t()}var Xt,qt,Jt=(Dt(te,qt=Ut),te.create=function(t,e,i){return new Kt(t,e,i)},te.prototype.next=function(t){this.isStopped||this._next(t)},te.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},te.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},te.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,qt.prototype.unsubscribe.call(this),this.destination=null)},te.prototype._next=function(t){this.destination.next(t)},te.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},te.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},te),Kt=(Dt(Qt,Xt=Jt),Qt);function Qt(t,e,i){var n,r,o=Xt.call(this)||this;return Ot(t)?r=t:t&&(r=t.next,e=t.error,i=t.complete,o&&Ht?(n=Object.create(t)).unsubscribe=function(){return o.unsubscribe()}:n=t,r=null==r?void 0:r.bind(n),e=null==e?void 0:e.bind(n),i=null==i?void 0:i.bind(n)),o.destination={next:r?ee(r):zt,error:ee(null!=e?e:ie),complete:i?ee(i):zt},o}function te(t){var e=qt.call(this)||this;return e.isStopped=!1,t?Wt(e.destination=t)&&t.add(e):e.destination=ne,e}function ee(n){return function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];try{n.apply(void 0,Nt([],Pt(t)))}catch(t){e=t,Vt(function(){throw e})}}}function ie(t){throw t}var ne={closed:!0,next:zt,error:ie,complete:zt},re="function"==typeof Symbol&&Symbol.observable||"@@observable";function oe(t){return t}var ae=(se.prototype.lift=function(t){var e=new se;return e.source=this,e.operator=t,e},se.prototype.subscribe=function(t,e,i){var n,r=this,o=(n=t)&&n instanceof Jt||n&&Ot(n.next)&&Ot(n.error)&&Ot(n.complete)&&Wt(n)?t:new Kt(t,e,i);return Zt(function(){var t=r.operator,e=r.source;o.add(t?t.call(o,e):e?r._subscribe(o):r._trySubscribe(o))}),o},se.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},se.prototype.forEach=function(n,t){var r=this;return new(t=le(t))(function(t,e){var i=r.subscribe(function(t){try{n(t)}catch(t){e(t),null==i||i.unsubscribe()}},e,t)})},se.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},se.prototype[re]=function(){return this},se.prototype.pipe=function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return(0===(e=t).length?oe:1===e.length?e[0]:function(t){return e.reduce(function(t,e){return e(t)},t)})(this)},se.prototype.toPromise=function(t){var n=this;return new(t=le(t))(function(t,e){var i;n.subscribe(function(t){return i=t},function(t){return e(t)},function(){return t(i)})})},se.create=function(t){return new se(t)},se);function se(t){t&&(this._subscribe=t)}function le(t){return null!==(t=null!=t?t:Bt)&&void 0!==t?t:Promise}var ue,ce,de,me=Rt(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),fe=(Dt(ve,de=ae),ve.prototype.lift=function(t){var e=new he(this,this);return e.operator=t,e},ve.prototype._throwIfClosed=function(){if(this.closed)throw new me},ve.prototype.next=function(o){var a=this;Zt(function(){var e,t;if(a._throwIfClosed(),!a.isStopped){var i=a.observers.slice();try{for(var n=kt(i),r=n.next();!r.done;r=n.next())r.value.next(o)}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}}})},ve.prototype.error=function(e){var i=this;Zt(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=e;for(var t=i.observers;t.length;)t.shift().error(e)}})},ve.prototype.complete=function(){var e=this;Zt(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},ve.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(ve.prototype,"observed",{get:function(){var t;return 0<(null===(t=this.observers)||void 0===t?void 0:t.length)},enumerable:!1,configurable:!0}),ve.prototype._trySubscribe=function(t){return this._throwIfClosed(),de.prototype._trySubscribe.call(this,t)},ve.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},ve.prototype._innerSubscribe=function(t){var e=this.hasError,i=this.isStopped,n=this.observers;return e||i?Gt:(n.push(t),new Ut(function(){return Ft(n,t)}))},ve.prototype._checkFinalizedStatuses=function(t){var e=this.hasError,i=this.thrownError,n=this.isStopped;e?t.error(i):n&&t.complete()},ve.prototype.asObservable=function(){var t=new ae;return t.source=this,t},ve.create=function(t,e){return new he(t,e)},ve),he=(Dt(we,ce=fe),we.prototype.next=function(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,t)},we.prototype.error=function(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,t)},we.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},we.prototype._subscribe=function(t){var e;return null!==(t=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==t?t:Gt},we),pe={now:function(){return(pe.delegate||Date).now()},delegate:void 0},ye=(Dt(ge,ue=fe),ge.prototype.next=function(t){var e=this,i=e.isStopped,n=e._buffer,r=e._infiniteTimeWindow,o=e._timestampProvider,e=e._windowTime;i||(n.push(t),r||n.push(o.now()+e)),this._trimBuffer(),ue.prototype.next.call(this,t)},ge.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),i=this._infiniteTimeWindow,n=this._buffer.slice(),r=0;r<n.length&&!t.closed;r+=i?1:2)t.next(n[r]);return this._checkFinalizedStatuses(t),e},ge.prototype._trimBuffer=function(){var t=this._bufferSize,e=this._timestampProvider,i=this._buffer,n=this._infiniteTimeWindow,r=(n?1:2)*t;if(t<1/0&&r<i.length&&i.splice(0,i.length-r),!n){for(var o=e.now(),a=0,s=1;s<i.length&&i[s]<=o;s+=2)a=s;a&&i.splice(0,a+1)}},ge);function ge(t,e,i){void 0===t&&(t=1/0),void 0===e&&(e=1/0),void 0===i&&(i=pe);var n=ue.call(this)||this;return n._bufferSize=t,n._windowTime=e,n._timestampProvider=i,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=e===1/0,n._bufferSize=Math.max(1,t),n._windowTime=Math.max(1,e),n}function we(t,e){var i=ce.call(this)||this;return i.destination=t,i.source=e,i}function ve(){var t=de.call(this)||this;return t.closed=!1,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}let _e=[],be={};const xe=[];function Ee(n,r=z){let o;const a=[];function s(t){if(i(n,t)&&(n=t,o)){const t=!xe.length;for(let t=0;t<a.length;t+=1){const e=a[t];e[1](),xe.push(e,n)}if(t){for(let t=0;t<xe.length;t+=2)xe[t][0](xe[t+1]);xe.length=0}}}return{set:s,update:function(t){s(t(n))},subscribe:function(t,e=z){const i=[t,e];return a.push(i),1===a.length&&(o=r(s)||z),t(n),()=>{var t=a.indexOf(i);-1!==t&&a.splice(t,1),0===a.length&&(o(),o=null)}}}}function Te(t,s,e){const l=!Array.isArray(t),u=l?[t]:t,c=s.length<2;return{subscribe:Ee(e,e=>{let i=!1;const n=[];let r=0,o=z;const a=()=>{var t;r||(o(),t=s(l?n[0]:n,e),c?e(t):o=T(t)?t:z)},t=u.map((t,e)=>m(t,t=>{n[e]=t,r&=~(1<<e),i&&a()},()=>{r|=1<<e}));return i=!0,a(),function(){Z(t),o()}}).subscribe}}var Ce=function(t){return!(!t||"object"!=typeof t||(e=t,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Le));var e},Le="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Me(t,e){return!1!==e.clone&&e.isMergeableObject(t)?ke(Array.isArray(t)?[]:{},t,e):t}function Ae(t,e,i){return t.concat(e).map(function(t){return Me(t,i)})}function Se(t){return Object.keys(t).concat((e=t,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]));var e}function Ie(t,e){try{return e in t}catch(t){return!1}}function De(n,r,o){var a={};return o.isMergeableObject(n)&&Se(n).forEach(function(t){a[t]=Me(n[t],o)}),Se(r).forEach(function(e){var t,i;(!Ie(t=n,i=e)||Object.hasOwnProperty.call(t,i)&&Object.propertyIsEnumerable.call(t,i))&&(Ie(n,e)&&o.isMergeableObject(r[e])?a[e]=function(){if(!o.customMerge)return ke;var t=o.customMerge(e);return"function"==typeof t?t:ke}()(n[e],r[e],o):a[e]=Me(r[e],o))}),a}function ke(t,e,i){(i=i||{}).arrayMerge=i.arrayMerge||Ae,i.isMergeableObject=i.isMergeableObject||Ce,i.cloneUnlessOtherwiseSpecified=Me;var n=Array.isArray(e);return n===Array.isArray(t)?n?i.arrayMerge(t,e,i):De(t,e,i):Me(e,i)}ke.all=function(t,i){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,e){return ke(t,e,i)},{})};var Pe=ke,Ne=function(t,e){return(Ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)};function Oe(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}Ne(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}var Re,Ye,Fe,Ue=function(){return(Ue=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var r in e=arguments[i])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function Ge(t,e){for(var i=0,n=e.length,r=t.length;i<n;i++,r++)t[r]=e[i];return t}function $e(t){return t.type===Ye.literal}function We(t){return t.type===Ye.number}function je(t){return t.type===Ye.date}function Be(t){return t.type===Ye.time}function He(t){return t.type===Ye.select}function Ve(t){return t.type===Ye.plural}function ze(t){return t.type===Ye.tag}function Ze(t){return t&&"object"==typeof t&&t.type===Fe.number}function Xe(t){return t&&"object"==typeof t&&t.type===Fe.dateTime}(di=Re=Re||{})[di.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",di[di.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",di[di.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",di[di.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",di[di.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",di[di.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",di[di.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",di[di.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",di[di.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",di[di.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",di[di.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",di[di.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",di[di.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",di[di.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",di[di.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",di[di.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",di[di.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",di[di.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",di[di.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",di[di.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",di[di.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",di[di.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",di[di.INVALID_TAG=23]="INVALID_TAG",di[di.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",di[di.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",di[di.UNCLOSED_TAG=27]="UNCLOSED_TAG",(mi=Ye=Ye||{})[mi.literal=0]="literal",mi[mi.argument=1]="argument",mi[mi.number=2]="number",mi[mi.date=3]="date",mi[mi.time=4]="time",mi[mi.select=5]="select",mi[mi.plural=6]="plural",mi[mi.pound=7]="pound",mi[mi.tag=8]="tag",(fi=Fe=Fe||{})[fi.number=0]="number",fi[fi.dateTime=1]="dateTime";var t=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,qe=/(?:[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;var Je,Ke=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Qe=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ti=/^(@+)?(\+|#+)?$/g,ei=/(\*)(0+)|(#+)(0+)|(0+)/g,ii=/^(0+)$/;function ni(t){var n={};return t.replace(ti,function(t,e,i){return"string"!=typeof i?(n.minimumSignificantDigits=e.length,n.maximumSignificantDigits=e.length):"+"===i?n.minimumSignificantDigits=e.length:"#"===e[0]?n.maximumSignificantDigits=e.length:(n.minimumSignificantDigits=e.length,n.maximumSignificantDigits=e.length+("string"==typeof i?i.length:0)),""}),n}function ri(t){switch(t){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 oi(t){return ri(t)||{}}function ai(t){for(var a={},e=0,i=t;e<i.length;e++){var n,r=i[e];switch(r.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=r.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=Ue(Ue(Ue({},a),{notation:"scientific"}),r.options.reduce(function(t,e){return Ue(Ue({},t),oi(e))},{}));continue;case"engineering":a=Ue(Ue(Ue({},a),{notation:"engineering"}),r.options.reduce(function(t,e){return Ue(Ue({},t),oi(e))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(r.options[0]);continue;case"integer-width":if(1<r.options.length)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(ei,function(t,e,i,n,r,o){if(e)a.minimumIntegerDigits=i.length;else{if(n&&r)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ii.test(r.stem))a.minimumIntegerDigits=r.stem.length;else if(Qe.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Qe,function(t,e,i,n,r,o){return"*"===i?a.minimumFractionDigits=e.length:n&&"#"===n[0]?a.maximumFractionDigits=n.length:r&&o?(a.minimumFractionDigits=r.length,a.maximumFractionDigits=r.length+o.length):(a.minimumFractionDigits=e.length,a.maximumFractionDigits=e.length),""}),r.options.length&&(a=Ue(Ue({},a),ni(r.options[0])))}else ti.test(r.stem)?a=Ue(Ue({},a),ni(r.stem)):((n=ri(r.stem))&&(a=Ue(Ue({},a),n)),(n=function(t){var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var i=t.slice(0,2);if("+!"===i?(e.signDisplay="always",t=t.slice(2)):"+?"===i&&(e.signDisplay="exceptZero",t=t.slice(2)),!ii.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}(r.stem))&&(a=Ue(Ue({},a),n)))}return a}var si=new RegExp("^"+t.source+"*"),li=new RegExp(t.source+"*$");function ui(t,e){return{start:t,end:e}}var ci=!!String.prototype.startsWith,re=!!String.fromCodePoint,fe=!!Object.fromEntries,di=!!String.prototype.codePointAt,mi=!!String.prototype.trimStart,fi=!!String.prototype.trimEnd,hi=Number.isSafeInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},t=!0;try{t="a"===(null===(Je=Ei("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Je?void 0:Je[0])}catch(z){t=!1}var pi,yi,gi=ci?function(t,e,i){return t.startsWith(e,i)}:function(t,e,i){return t.slice(i,i+e.length)===e},wi=re?String.fromCodePoint:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var i,n="",r=t.length,o=0;o<r;){if(1114111<(i=t[o++]))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},vi=fe?Object.fromEntries:function(t){for(var e={},i=0,n=t;i<n.length;i++){var r=n[i],o=r[0],r=r[1];e[o]=r}return e},_i=di?function(t,e){return t.codePointAt(e)}:function(t,e){var i=t.length;if(!(e<0||i<=e)){var n,r=t.charCodeAt(e);return r<55296||56319<r||e+1===i||(n=t.charCodeAt(e+1))<56320||57343<n?r:n-56320+(r-55296<<10)+65536}},bi=mi?function(t){return t.trimStart()}:function(t){return t.replace(si,"")},xi=fi?function(t){return t.trimEnd()}:function(t){return t.replace(li,"")};function Ei(t,e){return new RegExp(t,e)}yi=t?(pi=Ei("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(t,e){return pi.lastIndex=e,null!==(t=pi.exec(t)[1])&&void 0!==t?t:""}):function(t,e){for(var i,n=[];;){var r=_i(t,e);if(void 0===r||Mi(r)||(33<=(i=r)&&i<=35||36===i||37<=i&&i<=39||40===i||41===i||42===i||43===i||44===i||45===i||46<=i&&i<=47||58<=i&&i<=59||60<=i&&i<=62||63<=i&&i<=64||91===i||92===i||93===i||94===i||96===i||123===i||124===i||125===i||126===i||161===i||162<=i&&i<=165||166===i||167===i||169===i||171===i||172===i||174===i||176===i||177===i||182===i||187===i||191===i||215===i||247===i||8208<=i&&i<=8213||8214<=i&&i<=8215||8216===i||8217===i||8218===i||8219<=i&&i<=8220||8221===i||8222===i||8223===i||8224<=i&&i<=8231||8240<=i&&i<=8248||8249===i||8250===i||8251<=i&&i<=8254||8257<=i&&i<=8259||8260===i||8261===i||8262===i||8263<=i&&i<=8273||8274===i||8275===i||8277<=i&&i<=8286||8592<=i&&i<=8596||8597<=i&&i<=8601||8602<=i&&i<=8603||8604<=i&&i<=8607||8608===i||8609<=i&&i<=8610||8611===i||8612<=i&&i<=8613||8614===i||8615<=i&&i<=8621||8622===i||8623<=i&&i<=8653||8654<=i&&i<=8655||8656<=i&&i<=8657||8658===i||8659===i||8660===i||8661<=i&&i<=8691||8692<=i&&i<=8959||8960<=i&&i<=8967||8968===i||8969===i||8970===i||8971===i||8972<=i&&i<=8991||8992<=i&&i<=8993||8994<=i&&i<=9e3||9001===i||9002===i||9003<=i&&i<=9083||9084===i||9085<=i&&i<=9114||9115<=i&&i<=9139||9140<=i&&i<=9179||9180<=i&&i<=9185||9186<=i&&i<=9254||9255<=i&&i<=9279||9280<=i&&i<=9290||9291<=i&&i<=9311||9472<=i&&i<=9654||9655===i||9656<=i&&i<=9664||9665===i||9666<=i&&i<=9719||9720<=i&&i<=9727||9728<=i&&i<=9838||9839===i||9840<=i&&i<=10087||10088===i||10089===i||10090===i||10091===i||10092===i||10093===i||10094===i||10095===i||10096===i||10097===i||10098===i||10099===i||10100===i||10101===i||10132<=i&&i<=10175||10176<=i&&i<=10180||10181===i||10182===i||10183<=i&&i<=10213||10214===i||10215===i||10216===i||10217===i||10218===i||10219===i||10220===i||10221===i||10222===i||10223===i||10224<=i&&i<=10239||10240<=i&&i<=10495||10496<=i&&i<=10626||10627===i||10628===i||10629===i||10630===i||10631===i||10632===i||10633===i||10634===i||10635===i||10636===i||10637===i||10638===i||10639===i||10640===i||10641===i||10642===i||10643===i||10644===i||10645===i||10646===i||10647===i||10648===i||10649<=i&&i<=10711||10712===i||10713===i||10714===i||10715===i||10716<=i&&i<=10747||10748===i||10749===i||10750<=i&&i<=11007||11008<=i&&i<=11055||11056<=i&&i<=11076||11077<=i&&i<=11078||11079<=i&&i<=11084||11085<=i&&i<=11123||11124<=i&&i<=11125||11126<=i&&i<=11157||11158===i||11159<=i&&i<=11263||11776<=i&&i<=11777||11778===i||11779===i||11780===i||11781===i||11782<=i&&i<=11784||11785===i||11786===i||11787===i||11788===i||11789===i||11790<=i&&i<=11798||11799===i||11800<=i&&i<=11801||11802===i||11803===i||11804===i||11805===i||11806<=i&&i<=11807||11808===i||11809===i||11810===i||11811===i||11812===i||11813===i||11814===i||11815===i||11816===i||11817===i||11818<=i&&i<=11822||11823===i||11824<=i&&i<=11833||11834<=i&&i<=11835||11836<=i&&i<=11839||11840===i||11841===i||11842===i||11843<=i&&i<=11855||11856<=i&&i<=11857||11858===i||11859<=i&&i<=11903||12289<=i&&i<=12291||12296===i||12297===i||12298===i||12299===i||12300===i||12301===i||12302===i||12303===i||12304===i||12305===i||12306<=i&&i<=12307||12308===i||12309===i||12310===i||12311===i||12312===i||12313===i||12314===i||12315===i||12316===i||12317===i||12318<=i&&i<=12319||12320===i||12336===i||64830===i||64831===i||65093<=i&&i<=65094))break;n.push(r),e+=65536<=r?2:1}return wi.apply(void 0,n)};var Ti=(Ci.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Ci.prototype.parseMessage=function(t,e,i){for(var n=[];!this.isEOF();){var r,o=this.char();if(123===o){if((r=this.parseArgument(t,i)).err)return r;n.push(r.val)}else{if(125===o&&0<t)break;if(35!==o||"plural"!==e&&"selectordinal"!==e){if(60===o&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(Re.UNMATCHED_CLOSING_TAG,ui(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Li(this.peek()||0)){if((r=this.parseTag(t,e)).err)return r;n.push(r.val)}else{if((r=this.parseLiteral(t,e)).err)return r;n.push(r.val)}}else{o=this.clonePosition();this.bump(),n.push({type:Ye.pound,location:ui(o,this.clonePosition())})}}}return{val:n,err:null}},Ci.prototype.parseTag=function(t,e){var i=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Ye.literal,value:"<"+n+"/>",location:ui(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(t+1,e,!0);if(r.err)return r;t=r.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Li(this.char()))return this.error(Re.INVALID_TAG,ui(e,this.clonePosition()));r=this.clonePosition();return n!==this.parseTagName()?this.error(Re.UNMATCHED_CLOSING_TAG,ui(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Ye.tag,value:n,children:t,location:ui(i,this.clonePosition())},err:null}:this.error(Re.INVALID_TAG,ui(e,this.clonePosition())))}return this.error(Re.UNCLOSED_TAG,ui(i,this.clonePosition()))}return this.error(Re.INVALID_TAG,ui(i,this.clonePosition()))},Ci.prototype.parseTagName=function(){var t,e=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||48<=t&&t<=57||95===t||97<=t&&t<=122||65<=t&&t<=90||183==t||192<=t&&t<=214||216<=t&&t<=246||248<=t&&t<=893||895<=t&&t<=8191||8204<=t&&t<=8205||8255<=t&&t<=8256||8304<=t&&t<=8591||11264<=t&&t<=12271||12289<=t&&t<=55295||63744<=t&&t<=64975||65008<=t&&t<=65533||65536<=t&&t<=983039);)this.bump();return this.message.slice(e,this.offset())},Ci.prototype.parseLiteral=function(t,e){for(var i=this.clonePosition(),n="";;){var r=this.tryParseQuote(e);if(r)n+=r;else{r=this.tryParseUnquoted(t,e);if(r)n+=r;else{r=this.tryParseLeftAngleBracket();if(!r)break;n+=r}}}i=ui(i,this.clonePosition());return{val:{type:Ye.literal,value:n,location:i},err:null}},Ci.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Li(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},Ci.prototype.tryParseQuote=function(t){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"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var e=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(39===i){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(i);this.bump()}return wi.apply(void 0,e)},Ci.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var i=this.char();return 60===i||123===i||35===i&&("plural"===e||"selectordinal"===e)||125===i&&0<t?null:(this.bump(),wi(i))},Ci.prototype.parseArgument=function(t,e){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,ui(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Re.EMPTY_ARGUMENT,ui(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(Re.MALFORMED_ARGUMENT,ui(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,ui(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Ye.argument,value:n,location:ui(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,ui(i,this.clonePosition())):this.parseArgumentOptions(t,e,n,i);default:return this.error(Re.MALFORMED_ARGUMENT,ui(i,this.clonePosition()))}},Ci.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),i=yi(this.message,e),e=e+i.length;return this.bumpTo(e),{value:i,location:ui(t,this.clonePosition())}},Ci.prototype.parseArgumentOptions=function(t,e,i,n){var r,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(Re.EXPECT_ARGUMENT_TYPE,ui(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(d=xi(m.val)).length)return this.error(Re.EXPECT_ARGUMENT_STYLE,ui(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:ui(u,this.clonePosition())}}if((f=this.tryParseArgumentClose(n)).err)return f;var c=ui(n,this.clonePosition());if(l&&gi(null==l?void 0:l.style,"::",0)){u=bi(l.style.slice(2));if("number"===a)return(m=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?m:{val:{type:Ye.number,value:i,location:c,style:m.val},err:null};if(0===u.length)return this.error(Re.EXPECT_DATE_TIME_SKELETON,c);var d={type:Fe.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},u.replace(qe,function(t){var e=t.length;switch(t[0]){case"G":r.era=4===e?"long":5===e?"narrow":"short";break;case"y":r.year=2===e?"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":r.month=["numeric","2-digit","short","long","narrow"][e-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][e-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4!==e&&5===e?"narrow":"short";break;case"e":if(e<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][e-4];break;case"c":if(e<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][e-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][e-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][e-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][e-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][e-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":r.minute=["numeric","2-digit"][e-1];break;case"s":r.second=["numeric","2-digit"][e-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=e<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""}),r):{}};return{val:{type:"date"===a?Ye.date:Ye.time,value:i,location:c,style:d},err:null}}return{val:{type:"number"===a?Ye.number:"date"===a?Ye.date:Ye.time,value:i,location:c,style:null!==(c=null==l?void 0:l.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Re.EXPECT_SELECT_ARGUMENT_OPTIONS,ui(l,Ue({},l)));this.bumpSpace();var m,c=this.parseIdentifierIfPossible(),l=0;if("select"!==a&&"offset"===c.value){if(!this.bumpIf(":"))return this.error(Re.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ui(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(m=this.tryParseDecimalInteger(Re.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Re.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),c=this.parseIdentifierIfPossible(),l=m.val}c=this.tryParsePluralOrSelectOptions(t,a,e,c);if(c.err)return c;if((f=this.tryParseArgumentClose(n)).err)return f;var f=ui(n,this.clonePosition());return"select"===a?{val:{type:Ye.select,value:i,options:vi(c.val),location:f},err:null}:{val:{type:Ye.plural,value:i,options:vi(c.val),offset:l,pluralType:"plural"===a?"cardinal":"ordinal",location:f},err:null};default:return this.error(Re.INVALID_ARGUMENT_TYPE,ui(o,s))}},Ci.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,ui(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},Ci.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Re.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,ui(i,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(0<t))return{val:this.message.slice(e.offset,this.offset()),err:null};--t;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}},Ci.prototype.parseNumberSkeletonFromString=function(t,e){var i=[];try{i=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var e=[],i=0,n=t.split(Ke).filter(function(t){return 0<t.length});i<n.length;i++){var r=n[i].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var o=r[0],r=r.slice(1),a=0,s=r;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");e.push({stem:o,options:r})}return e}(t)}catch(t){return this.error(Re.INVALID_NUMBER_SKELETON,e)}return{val:{type:Fe.number,tokens:i,location:e,parsedOptions:this.shouldParseSkeletons?ai(i):{}},err:null}},Ci.prototype.tryParsePluralOrSelectOptions=function(t,e,i,n){for(var r=!1,o=[],a=new Set,s=n.value,l=n.location;;){if(0===s.length){var u=this.clonePosition();if("select"===e||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(Re.EXPECT_PLURAL_ARGUMENT_SELECTOR,Re.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=ui(u,this.clonePosition()),s=this.message.slice(u.offset,this.offset())}if(a.has(s))return this.error("select"===e?Re.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Re.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(r=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?Re.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Re.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,ui(this.clonePosition(),this.clonePosition()));c=this.parseMessage(t+1,e,i);if(c.err)return c;u=this.tryParseArgumentClose(d);if(u.err)return u;o.push([s,{value:c.val,location:ui(d,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===o.length?this.error("select"===e?Re.EXPECT_SELECT_ARGUMENT_SELECTOR:Re.EXPECT_PLURAL_ARGUMENT_SELECTOR,ui(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(Re.MISSING_OTHER_CLAUSE,ui(this.clonePosition(),this.clonePosition())):{val:o,err:null}},Ci.prototype.tryParseDecimalInteger=function(t,e){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var r=!1,o=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;r=!0,o=10*o+(a-48),this.bump()}n=ui(n,this.clonePosition());return r?hi(o*=i)?{val:o,err:null}:this.error(e,n):this.error(t,n)},Ci.prototype.offset=function(){return this.position.offset},Ci.prototype.isEOF=function(){return this.offset()===this.message.length},Ci.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Ci.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var e=_i(this.message,t);if(void 0===e)throw Error("Offset "+t+" is at invalid UTF-16 code unit boundary");return e},Ci.prototype.error=function(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}},Ci.prototype.bump=function(){var t;this.isEOF()||(10===(t=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2))},Ci.prototype.bumpIf=function(t){if(gi(this.message,t,this.offset())){for(var e=0;e<t.length;e++)this.bump();return!0}return!1},Ci.prototype.bumpUntil=function(t){var e=this.offset(),e=this.message.indexOf(t,e);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},Ci.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset "+t+" must be greater than or equal to the current offset "+this.offset());for(t=Math.min(t,this.message.length);;){var e=this.offset();if(e===t)break;if(t<e)throw Error("targetOffset "+t+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},Ci.prototype.bumpSpace=function(){for(;!this.isEOF()&&Mi(this.char());)this.bump()},Ci.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this.offset(),t=this.message.charCodeAt(e+(65536<=t?2:1));return null!=t?t:null},Ci);function Ci(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}function Li(t){return 97<=t&&t<=122||65<=t&&t<=90}function Mi(t){return 9<=t&&t<=13||32===t||133===t||8206<=t&&t<=8207||8232===t||8233===t}function Ai(t,e){e=Ue({shouldParseSkeletons:!0,requiresOtherClause:!0},e=void 0===e?{}:e);var i=new Ti(t,e).parse();if(i.err){t=SyntaxError(Re[i.err.kind]);throw t.location=i.err.location,t.originalMessage=i.err.message,t}return null!=e&&e.captureLocation||function i(t){t.forEach(function(t){if(delete t.location,He(t)||Ve(t))for(var e in t.options)delete t.options[e].location,i(t.options[e].value);else We(t)&&Ze(t.style)||(je(t)||Be(t))&&Xe(t.style)?delete t.style.location:ze(t)&&i(t.children)})}(i.val),i.val}function Si(t,e){var i=e&&e.cache?e.cache:Yi,n=e&&e.serializer?e.serializer:Ni;return(e&&e.strategy?e.strategy:function(t,e){return Pi(t,this,1===t.length?Di:ki,e.cache.create(),e.serializer)})(t,{cache:i,serializer:n})}function Di(t,e,i,n){var r=null==n||"number"==typeof n||"boolean"==typeof n?n:i(n),i=e.get(r);return void 0===i&&(i=t.call(this,n),e.set(r,i)),i}function ki(t,e,i){var n=Array.prototype.slice.call(arguments,3),r=i(n),i=e.get(r);return void 0===i&&(i=t.apply(this,n),e.set(r,i)),i}function Pi(t,e,i,n,r){return i.bind(e,t,n,r)}var Ni=function(){return JSON.stringify(arguments)};function Oi(){this.cache=Object.create(null)}Oi.prototype.has=function(t){return t in this.cache},Oi.prototype.get=function(t){return this.cache[t]},Oi.prototype.set=function(t,e){this.cache[t]=e};var Ri,Yi={create:function(){return new Oi}},Fi={variadic:function(t,e){return Pi(t,this,ki,e.cache.create(),e.serializer)},monadic:function(t,e){return Pi(t,this,Di,e.cache.create(),e.serializer)}};(t=Ri=Ri||{}).MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API";var Ui,Gi,$i,Wi,ji,Bi=(Oe(Ji,ji=Error),Ji.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Ji),Hi=(Oe(qi,Wi=Bi),qi),Vi=(Oe(Xi,$i=Bi),Xi),zi=(Oe(Zi,Gi=Bi),Zi);function Zi(t,e){return Gi.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+e+'"',Ri.MISSING_VALUE,e)||this}function Xi(t,e,i){return $i.call(this,'Value for "'+t+'" must be of type '+e,Ri.INVALID_VALUE,i)||this}function qi(t,e,i,n){return Wi.call(this,'Invalid values for "'+t+'": "'+e+'". Options are "'+Object.keys(i).join('", "')+'"',Ri.INVALID_VALUE,n)||this}function Ji(t,e,i){t=ji.call(this,t)||this;return t.code=e,t.originalMessage=i,t}function Ki(t,e,i,n,r,o,a){if(1===t.length&&$e(t[0]))return[{type:Ui.literal,value:t[0].value}];for(var s=[],l=0,u=t;l<u.length;l++){var c=u[l];if($e(c))s.push({type:Ui.literal,value:c.value});else if(c.type===Ye.pound)"number"==typeof o&&s.push({type:Ui.literal,value:i.getNumberFormat(e).format(o)});else{var d=c.value;if(!(r&&d in r))throw new zi(d,a);var m=r[d];if(c.type===Ye.argument)m&&"string"!=typeof m&&"number"!=typeof m||(m="string"==typeof m||"number"==typeof m?String(m):""),s.push({type:"string"==typeof m?Ui.literal:Ui.object,value:m});else if(je(c)){var f="string"==typeof c.style?n.date[c.style]:Xe(c.style)?c.style.parsedOptions:void 0;s.push({type:Ui.literal,value:i.getDateTimeFormat(e,f).format(m)})}else if(Be(c))f="string"==typeof c.style?n.time[c.style]:Xe(c.style)?c.style.parsedOptions:void 0,s.push({type:Ui.literal,value:i.getDateTimeFormat(e,f).format(m)});else if(We(c))(f="string"==typeof c.style?n.number[c.style]:Ze(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(m*=f.scale||1),s.push({type:Ui.literal,value:i.getNumberFormat(e,f).format(m)});else{if(ze(c)){var h=c.children,p=c.value,d=r[p];if("function"!=typeof d)throw new Vi(p,"function",a);h=d(Ki(h,e,i,n,r,o).map(function(t){return t.value}));Array.isArray(h)||(h=[h]),s.push.apply(s,h.map(function(t){return{type:"string"==typeof t?Ui.literal:Ui.object,value:t}}))}if(He(c)){if(!(y=c.options[m]||c.options.other))throw new Hi(c.value,m,Object.keys(c.options),a);s.push.apply(s,Ki(y.value,e,i,n,r))}else if(Ve(c)){if(!(y=c.options["="+m])){if(!Intl.PluralRules)throw new Bi('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ri.MISSING_INTL_API,a);var h=i.getPluralRules(e,{type:c.pluralType}).select(m-(c.offset||0)),y=c.options[h]||c.options.other}if(!y)throw new Hi(c.value,m,Object.keys(c.options),a);s.push.apply(s,Ki(y.value,e,i,n,r,m-(c.offset||0)))}}}}return s.length<2?s:s.reduce(function(t,e){var i=t[t.length-1];return i&&i.type===Ui.literal&&e.type===Ui.literal?i.value+=e.value:t.push(e),t},[])}function Qi(i){return{create:function(){return{has:function(t){return t in i},get:function(t){return i[t]},set:function(t,e){i[t]=e}}}}}(t=Ui=Ui||{})[t.literal=0]="literal",t[t.object=1]="object";var tn=(Object.defineProperty(en,"defaultLocale",{get:function(){return en.memoizedDefaultLocale||(en.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),en.memoizedDefaultLocale},enumerable:!1,configurable:!0}),en.memoizedDefaultLocale=null,en.__parse=Ai,en.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"}}},en);function en(t,e,i,n){var r,o,a=this;if(void 0===e&&(e=en.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){t=a.formatToParts(t);if(1===t.length)return t[0].value;t=t.reduce(function(t,e){return t.length&&e.type===Ui.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t},[]);return t.length<=1?t[0]||"":t},this.formatToParts=function(t){return Ki(a.ast,a.locales,a.formatters,a.formats,t,void 0,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof t){if(this.message=t,!en.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=en.__parse(t,{ignoreTag:null==n?void 0:n.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(r=en.formats,(o=i)?Object.keys(r).reduce(function(t,e){var i,n;return t[e]=(i=r[e],(n=o[e])?Ue(Ue(Ue({},i||{}),n||{}),Object.keys(i).reduce(function(t,e){return t[e]=Ue(Ue({},i[e]),n[e]||{}),t},{})):i),t},Ue({},r)):r),this.locales=e,this.formatters=n&&n.formatters||{getNumberFormat:Si(function(){for(var t,e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return new((t=Intl.NumberFormat).bind.apply(t,Ge([void 0],e)))},{cache:Qi((n=void 0===(n=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:n).number),strategy:Fi.variadic}),getDateTimeFormat:Si(function(){for(var t,e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return new((t=Intl.DateTimeFormat).bind.apply(t,Ge([void 0],e)))},{cache:Qi(n.dateTime),strategy:Fi.variadic}),getPluralRules:Si(function(){for(var t,e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return new((t=Intl.PluralRules).bind.apply(t,Ge([void 0],e)))},{cache:Qi(n.pluralRules),strategy:Fi.variadic})}}const nn={},rn=(e,i)=>{if(null!=i){if(i in nn&&e in nn[i])return nn[i][e];var n,r,o=_n(i);for(let t=0;t<o.length;t++){var a=(n=o[t],r=e,sn(n)?function(t,e){if(e in t)return t[e];const i=e.split(".");let n=t;for(let t=0;t<i.length;t++)if("object"==typeof n){if(0<t){const e=i.slice(t,i.length).join(".");if(e in n){n=n[e];break}}n=n[i[t]]}else n=void 0;return n}(function(t){return on[t]||null}(n),r):null);if(a)return n=e,r=i,(a=a)&&(r in nn||(nn[r]={}),n in nn[r]||(nn[r][n]=a),a)}}};let on;const an=Ee({});function sn(t){return t in on}function ln(e,...i){delete nn[e],an.update(t=>(t[e]=Pe.all([t[e]||{},...i]),t))}Te([an],([t])=>Object.keys(t)),an.subscribe(t=>on=t);const un={};function cn(t){return un[t]}function dn(t){return _n(t).some(t=>{return null===(t=cn(t))||void 0===t?void 0:t.size})}const mn={};function fn(t){if(!dn(t))return t in mn?mn[t]:void 0;const e=_n(t).map(t=>{var e=cn(t);return[t,e?[...e]:[]]}).filter(([,t])=>0<t.length);return mn[t]=Promise.all(e.map(([t,i])=>function(e){return Promise.all(i.map(t=>(function(t,e){un[t].delete(e),0===un[t].size&&delete un[t]}(e,t),t().then(t=>t.default||t)))).then(t=>ln(e,...t))}(t))).then(()=>dn(t)?fn(t):void delete mn[t]),mn[t]}function hn(t,e){var i={};for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(i[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(t);n<r.length;n++)e.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(t,r[n])&&(i[r[n]]=t[r[n]]);return i}const pn={fallbackLocale:null,initialLocale: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,ignoreTag:!0};const yn=Ee(!1);let gn;const wn=Ee(null);function vn(t){return t.split("-").map((t,e,i)=>i.slice(0,e+1).join("-")).reverse()}function _n(t,e=pn.fallbackLocale){t=vn(t);return e?[...new Set([...t,...vn(e)])]:t}wn.subscribe(t=>{gn=t,"undefined"!=typeof window&&null!==t&&document.documentElement.setAttribute("lang",t)});const bn=wn.set;wn.set=e=>{if(function(t){if(null!=t){var e=_n(t);for(let t=0;t<e.length;t++){var i=e[t];if(sn(i))return i}}}(e)&&dn(e)){var{loadingDelay:i}=pn;let t;return"undefined"!=typeof window&&null!=gn&&i?t=window.setTimeout(()=>yn.set(!0),i):yn.set(!0),fn(e).then(()=>{bn(e)}).finally(()=>{clearTimeout(t),yn.set(!1)})}return bn(e)},wn.update=t=>bn(t(gn));const xn=i=>{const n=Object.create(null);return t=>{var e=JSON.stringify(t);return e in n?n[e]:n[e]=i(t)}},En=(t,e)=>{var{formats:i}=pn;if(t in i&&e in i[t])return i[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},Tn=xn(t=>{var{locale:e,format:i}=t,t=hn(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(t=En("number",i)),new Intl.NumberFormat(e,t)}),Cn=xn(t=>{var{locale:e,format:i}=t,t=hn(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?t=En("date",i):0===Object.keys(t).length&&(t=En("date","short")),new Intl.DateTimeFormat(e,t)}),Ln=xn(t=>{var{locale:e,format:i}=t,t=hn(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?t=En("time",i):0===Object.keys(t).length&&(t=En("time","short")),new Intl.DateTimeFormat(e,t)}),Mn=xn((t,e=gn)=>new tn(t,e,pn.formats,{ignoreTag:pn.ignoreTag})),An=Te([wn,an],()=>(t,e={})=>{"object"==typeof t&&(t=(e=t).id);var{values:i,locale:n=gn,default:r}=e;if(null==n)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let o=rn(t,n);if(o){if("string"!=typeof o)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof o}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),o}else pn.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${t}" was not found in "${_n(n).join('", "')}".${dn(gn)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),o=r||t;if(!i)return o;let a=o;try{a=Mn(o,n).format(i)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return a});Te([wn],()=>(t,e)=>((t={})=>{var{locale:e=gn}=t,t=hn(t,["locale"]);return Ln(Object.assign({locale:e},t))})(e).format(t)),Te([wn],()=>(t,e)=>((t={})=>{var{locale:e=gn}=t,t=hn(t,["locale"]);return Cn(Object.assign({locale:e},t))})(e).format(t)),Te([wn],()=>(t,e)=>((t={})=>{var{locale:e=gn}=t,t=hn(t,["locale"]);return Tn(Object.assign({locale:e},t))})(e).format(t)),Te([wn,an],()=>(t,e=gn)=>rn(t,e)),window.emWidgets={topic:(t,e=0)=>{return-1==_e.indexOf(t)&&(e=new ye(e),be[t]=e,_e.push(t)),be[t]}};const Sn=t=>t.toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",In={en:{gamingLimits:{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"}},ro:{gamingLimits:{returnToMenu:"Înapoi la meniu",gamingLimitsText:"Limite de joc",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limită de pierdere"}}},Dn={en:{cardText:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"}},ro:{cardText:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare:",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",removeLimitText:"Ești sigur că vrei să elimini această limită?",removeLimitsText:"Ești sigur că vrei să elimini toate limitele?",minutes:"minute",noLimit:"Fără Limită",expirationDate:"Dată Expirare",notAvailable:"N/A",edit:"Editează",removeLimits:"Elimină limitele",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",timeLimitLower:"limită de timp",depositLimitLower:"limită de depunere",wageringLimitLower:"limită de pariere",lossLimitLower:"limită de pierdere",time:"timp",currency:"monedă"}}},kn={en:{popupText:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",defaultText:"Nulla ornare pulvinar dui. Nullam viverra, lacus vel consectetur euismod, ante lorem aliquam nisi, non faucibus nulla lacus sed sapien. Sed imperdiet tristique tincidunt."}},ro:{popupText:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare.",defaultText:"Când stabilești o limită de joc, efectele se produc începând din momentul în care o activezi și durează până la finalul perioadei selectate. Așadar, dacă stabilești o limită zilnică la 14:00, perioada de 24 de ore este de la activare până la 00:00 GMT. Ulterior, limita va fi valabilă la fiecare 24 de ore. Poți micșora limita oricând, cu efect imediat. Totuși, majorarea sau eliminarea unei limite va fi aplicată în momentul în care limita curentă expiră. "}}};function Pn(i){let n,r,o,a,s,l,u,c,d,m,f,h,p,y,g,w=i[3]("popupText.name")+"";function v(t){return t[0]?On:Nn}let _=v(i),b=_(i);return{c(){n=K("section"),r=K("div"),o=K("div"),a=K("div"),a.textContent="i",s=tt(),l=K("div"),u=Q(w),c=tt(),d=K("div"),d.innerHTML='<svg class="w-6 h-6" part="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',m=tt(),f=K("div"),b.c(),nt(a,"class","InfoCardPopupIcon"),nt(a,"part","InfoCardPopupIcon"),nt(l,"class","InfoCardPopupTitle"),nt(l,"part","InfoCardPopupTitle"),nt(d,"class","InfoCardPopupCloseButton"),nt(d,"part","InfoCardPopupCloseButton"),nt(o,"class","InfoCardPopupHeader"),nt(o,"part","InfoCardPopupHeader"),nt(f,"class","InfoCardPopupContentArea"),nt(f,"part","InfoCardPopupContentArea"),nt(r,"class",h="InfoCardPopupWrapper "+(i[4]?"InfoCardPopupMobileWrapper":"")+" "+(i[0]?"InfoCardPopupLimitChanged":"")),nt(r,"part",p="InfoCardPopupWrapper "+(i[4]?"InfoCardPopupMobileWrapper":"")+" "+(i[0]?"InfoCardPopupLimitChanged":"")),nt(n,"class",i[4]?"InfoCardPopupMobileModal":""),nt(n,"part",i[4]?"InfoCardPopupMobileModal":"")},m(t,e){q(t,n,e),X(n,r),X(r,o),X(o,a),X(o,s),X(o,l),X(l,u),X(o,c),X(o,d),X(r,m),X(r,f),b.m(f,null),y||(g=et(d,"click",it(i[5])),y=!0)},p(t,e){8&e&&w!==(w=t[3]("popupText.name")+"")&&ot(u,w),_===(_=v(t))&&b?b.p(t,e):(b.d(1),b=_(t),b&&(b.c(),b.m(f,null))),1&e&&h!==(h="InfoCardPopupWrapper "+(t[4]?"InfoCardPopupMobileWrapper":"")+" "+(t[0]?"InfoCardPopupLimitChanged":""))&&nt(r,"class",h),1&e&&p!==(p="InfoCardPopupWrapper "+(t[4]?"InfoCardPopupMobileWrapper":"")+" "+(t[0]?"InfoCardPopupLimitChanged":""))&&nt(r,"part",p)},d(t){t&&J(n),b.d(),y=!1,g()}}}function Nn(t){let i,n,r=t[3]("popupText.defaultText")+"";return{c(){i=K("p"),n=Q(r),nt(i,"class","InfoCardPopupContent"),nt(i,"part","InfoCardPopupContent")},m(t,e){q(t,i,e),X(i,n)},p(t,e){8&e&&r!==(r=t[3]("popupText.defaultText")+"")&&ot(n,r)},d(t){t&&J(i)}}}function On(t){let i,n,r=t[3]("popupText.amountChanged",{values:{amount:t[0],currency:t[1]}})+"";return{c(){i=K("p"),n=Q(r),nt(i,"class","InfoCardPopupContent"),nt(i,"part","InfoCardPopupContent")},m(t,e){q(t,i,e),X(i,n)},p(t,e){11&e&&r!==(r=t[3]("popupText.amountChanged",{values:{amount:t[0],currency:t[1]}})+"")&&ot(n,r)},d(t){t&&J(i)}}}function Rn(t){let i,n=t[2]&&Pn(t);return{c(){n&&n.c(),i=_(),this.c=z},m(t,e){n&&n.m(t,e),q(t,i,e)},p(t,[e]){t[2]?n?n.p(t,e):(n=Pn(t),n.c(),n.m(i.parentNode,i)):n&&(n.d(1),n=null)},i:z,o:z,d(t){n&&n.d(t),t&&J(i)}}}function Yn(e,t,i){let n;F(e,An,t=>i(3,n=t));let{showpopup:r=""}=t,{iteminfoamount:o=""}=t,{lang:a="en"}=t,{playercurrency:s="USD"}=t;Object.keys(kn).forEach(t=>{ln(t,kn[t])});let l=!1,u=window.navigator.userAgent,c="PC"!==Sn(u);const d=t=>{t.data&&"ClosePlayerAccountGamingLimitsPopup"==t.data.type&&i(2,l=!1)};return $(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)})),e.$$set=t=>{"showpopup"in t&&i(6,r=t.showpopup),"iteminfoamount"in t&&i(0,o=t.iteminfoamount),"lang"in t&&i(7,a=t.lang),"playercurrency"in t&&i(1,s=t.playercurrency)},e.$$.update=()=>{var t;192&e.$$.dirty&&r&&a&&(t=a,wn.set(t),o<0&&i(0,o="0"),i(2,l=r))},[o,s,l,n,c,()=>{i(2,l=!1),window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href)},r,a]}customElements.get("player-account-gaming-limits-popup")||customElements.define("player-account-gaming-limits-popup",class extends V{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:''}.InfoCardPopupLimitChanged{background:var(--emfe-w-color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emfe-w-color-black, #000000);background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 4px 12px var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:\"\";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emfe-w-color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:102}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emfe-w-color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emfe-w-color-secondary, #FD2839);fill:var(--emfe-w-color-secondary, #FD2839)}</style>",H(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Yn,Rn,i,{showpopup:6,iteminfoamount:0,lang:7,playercurrency:1}),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),k()))}static get observedAttributes(){return["showpopup","iteminfoamount","lang","playercurrency"]}get showpopup(){return this.$$.ctx[6]}set showpopup(t){this.$set({showpopup:t}),k()}get iteminfoamount(){return this.$$.ctx[0]}set iteminfoamount(t){this.$set({iteminfoamount:t}),k()}get lang(){return this.$$.ctx[7]}set lang(t){this.$set({lang:t}),k()}get playercurrency(){return this.$$.ctx[1]}set playercurrency(t){this.$set({playercurrency:t}),k()}});const Fn={en:{editText:{back:"Back to Gaming Limits",limit:"Limit",amount:"Amount",noLimit:"No limit",changeLimitsText:"Are you sure you want to change the {limit}s?",success:"Success lorem Ipsum is simply dummy text of the printing and typesetting industry.",remove:"You have requested to remove this limit. This will be applied on ",invalidInputMessageLimit:"The amount needs to be between 0 and 99,999,999.",invalidInputMessageTime:"The time amount needs to be greater than {minTime} and below {maxTime} minutes.",expirationDate:"Expiration Date:",save:"Save",changedLimitTextBefore:"Your limit has been changed or increased:",changedLimitTextAfter:". You will have to wait for the expiration date for your new limit \vto take effect"}},ro:{editText:{back:"Înapoi la limite de joc",limit:"Limită",amount:"Sumă",noLimit:"Fără Limită",changeLimitsText:"Ești sigur că vrei să modifici {limit}?",success:"Limitele tale de joc au fost configurate cu success.",remove:"Ai solicitat eliminarea acestei limite. Acest lucru va avea loc la data expirării limitei ",invalidInputMessageLimit:"Trebuie să setezi o sumă intre 0 și 99,999,999.",invalidInputMessageTime:"Trebuie să setezi o limită intre {minTime} minute și {maxTime} minute",expirationDate:"Dată Expirare:",save:"Salvează",changedLimitTextBefore:"Limita ta a fost schimbată sau a crescut:",changedLimitTextAfter:". Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare."}}};var Un,Gn,$n=(Gn=Un={path:void 0,exports:{},require:function(t,e){return Ii(null==e&&Un.path)}},Un.exports,Gn.exports=function(){var t;function h(){return t.apply(null,arguments)}function a(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function s(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function f(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;for(var e in t)if(f(t,e))return;return 1}function o(t){return void 0===t}function u(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function r(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function n(t,e){for(var i=[],n=0;n<t.length;++n)i.push(e(t[n],n));return i}function c(t,e){for(var i in e)f(e,i)&&(t[i]=e[i]);return f(e,"toString")&&(t.toString=e.toString),f(e,"valueOf")&&(t.valueOf=e.valueOf),t}function d(t,e,i,n){return Se(t,e,i,n,!0).utc()}function p(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function m(t){if(null==t._isValid){var e=p(t),i=g.call(e.parsedDateParts,function(t){return null!=t}),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&i);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function y(t){var e=d(NaN);return null!=t?c(p(e),t):p(e).userInvalidated=!0,e}var g=Array.prototype.some||function(t){for(var e=Object(this),i=e.length>>>0,n=0;n<i;n++)if(n in e&&t.call(this,e[n],n,e))return!0;return!1},w=h.momentProperties=[],e=!1;function v(t,e){var i,n,r;if(o(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),o(e._i)||(t._i=e._i),o(e._f)||(t._f=e._f),o(e._l)||(t._l=e._l),o(e._strict)||(t._strict=e._strict),o(e._tzm)||(t._tzm=e._tzm),o(e._isUTC)||(t._isUTC=e._isUTC),o(e._offset)||(t._offset=e._offset),o(e._pf)||(t._pf=p(e)),o(e._locale)||(t._locale=e._locale),0<w.length)for(i=0;i<w.length;i++)o(r=e[n=w[i]])||(t[n]=r);return t}function _(t){v(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===e&&(e=!0,h.updateOffset(this),e=!1)}function b(t){return t instanceof _||null!=t&&null!=t._isAMomentObject}function x(t){!1===h.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function i(r,o){var a=!0;return c(function(){if(null!=h.deprecationHandler&&h.deprecationHandler(null,r),a){for(var t,e,i=[],n=0;n<arguments.length;n++){if(t="","object"==typeof arguments[n]){for(e in t+="\n["+n+"] ",arguments[0])f(arguments[0],e)&&(t+=e+": "+arguments[0][e]+", ");t=t.slice(0,-2)}else t=arguments[n];i.push(t)}x(r+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),a=!1}return o.apply(this,arguments)},o)}var E={};function T(t,e){null!=h.deprecationHandler&&h.deprecationHandler(t,e),E[t]||(x(e),E[t]=!0)}function C(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function L(t,e){var i,n=c({},t);for(i in e)f(e,i)&&(s(t[i])&&s(e[i])?(n[i]={},c(n[i],t[i]),c(n[i],e[i])):null!=e[i]?n[i]=e[i]:delete n[i]);for(i in t)f(t,i)&&!f(e,i)&&s(t[i])&&(n[i]=c({},n[i]));return n}function M(t){null!=t&&this.set(t)}h.suppressDeprecationWarnings=!1,h.deprecationHandler=null;var A=Object.keys||function(t){var e,i=[];for(e in t)f(t,e)&&i.push(e);return i};function S(t,e,i){var n=""+Math.abs(t);return(0<=t?i?"+":"":"-")+Math.pow(10,Math.max(0,e-n.length)).toString().substr(1)+n}var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,D=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,k={},P={};function N(t,e,i,n){var r="string"==typeof n?function(){return this[n]()}:n;t&&(P[t]=r),e&&(P[e[0]]=function(){return S(r.apply(this,arguments),e[1],e[2])}),i&&(P[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function O(t,e){return t.isValid()?(e=R(e,t.localeData()),k[e]=k[e]||function(n){for(var t,r=n.match(I),e=0,o=r.length;e<o;e++)P[r[e]]?r[e]=P[r[e]]:r[e]=(t=r[e]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t){for(var e="",i=0;i<o;i++)e+=C(r[i])?r[i].call(t,n):r[i];return e}}(e),k[e](t)):t.localeData().invalidDate()}function R(t,e){var i=5;function n(t){return e.longDateFormat(t)||t}for(D.lastIndex=0;0<=i&&D.test(t);)t=t.replace(D,n),D.lastIndex=0,--i;return t}var Y={};function F(t,e){var i=t.toLowerCase();Y[i]=Y[i+"s"]=Y[e]=t}function U(t){return"string"==typeof t?Y[t]||Y[t.toLowerCase()]:void 0}function G(t){var e,i,n={};for(i in t)f(t,i)&&(e=U(i))&&(n[e]=t[i]);return n}var $={};function W(t,e){$[t]=e}function j(t){return t%4==0&&t%100!=0||t%400==0}function B(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function H(t){var e=+t,t=0;return t=0!=e&&isFinite(e)?B(e):t}function V(e,i){return function(t){return null!=t?(Z(this,e,t),h.updateOffset(this,i),this):z(this,e)}}function z(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Z(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&j(t.year())&&1===t.month()&&29===t.date()?(i=H(i),t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),At(i,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](i))}var X=/\d/,q=/\d\d/,J=/\d{3}/,K=/\d{4}/,Q=/[+-]?\d{6}/,tt=/\d\d?/,et=/\d\d\d\d?/,it=/\d\d\d\d\d\d?/,nt=/\d{1,3}/,rt=/\d{1,4}/,ot=/[+-]?\d{1,6}/,at=/\d+/,st=/[+-]?\d+/,lt=/Z|[+-]\d\d:?\d\d/gi,ut=/Z|[+-]\d\d(?::?\d\d)?/gi,ct=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function dt(t,i,n){ht[t]=C(i)?i:function(t,e){return t&&n?n:i}}function mt(t,e){return f(ht,t)?ht[t](e._strict,e._locale):new RegExp(ft(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,i,n,r){return e||i||n||r})))}function ft(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ht={},pt={};function yt(t,i){var e,n=i;for("string"==typeof t&&(t=[t]),u(i)&&(n=function(t,e){e[i]=H(t)}),e=0;e<t.length;e++)pt[t[e]]=n}function gt(t,r){yt(t,function(t,e,i,n){i._w=i._w||{},r(t,i._w,i,n)})}var wt,vt=0,_t=1,bt=2,xt=3,Et=4,Tt=5,Ct=6,Lt=7,Mt=8;function At(t,e){if(isNaN(t)||isNaN(e))return NaN;var i,i=(e%(i=12)+i)%i;return t+=(e-i)/12,1==i?j(t)?29:28:31-i%7%2}wt=Array.prototype.indexOf||function(t){for(var e=0;e<this.length;++e)if(this[e]===t)return e;return-1},N("M",["MM",2],"Mo",function(){return this.month()+1}),N("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),N("MMMM",0,0,function(t){return this.localeData().months(this,t)}),F("month","M"),W("month",8),dt("M",tt),dt("MM",tt,q),dt("MMM",function(t,e){return e.monthsShortRegex(t)}),dt("MMMM",function(t,e){return e.monthsRegex(t)}),yt(["M","MM"],function(t,e){e[_t]=H(t)-1}),yt(["MMM","MMMM"],function(t,e,i,n){n=i._locale.monthsParse(t,n,i._strict);null!=n?e[_t]=n:p(i).invalidMonth=t});var St="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),It="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Dt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,kt=ct,Pt=ct;function Nt(t,e){var i;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=H(e);else if(!u(e=t.localeData().monthsParse(e)))return t;return i=Math.min(t.date(),At(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,i),t}function Ot(t){return null!=t?(Nt(this,t),h.updateOffset(this,!0),this):z(this,"Month")}function Rt(){function t(t,e){return e.length-t.length}for(var e,i=[],n=[],r=[],o=0;o<12;o++)e=d([2e3,o]),i.push(this.monthsShort(e,"")),n.push(this.months(e,"")),r.push(this.months(e,"")),r.push(this.monthsShort(e,""));for(i.sort(t),n.sort(t),r.sort(t),o=0;o<12;o++)i[o]=ft(i[o]),n[o]=ft(n[o]);for(o=0;o<24;o++)r[o]=ft(r[o]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Yt(t){return j(t)?366:365}N("Y",0,0,function(){var t=this.year();return t<=9999?S(t,4):"+"+t}),N(0,["YY",2],0,function(){return this.year()%100}),N(0,["YYYY",4],0,"year"),N(0,["YYYYY",5],0,"year"),N(0,["YYYYYY",6,!0],0,"year"),F("year","y"),W("year",1),dt("Y",st),dt("YY",tt,q),dt("YYYY",rt,K),dt("YYYYY",ot,Q),dt("YYYYYY",ot,Q),yt(["YYYYY","YYYYYY"],vt),yt("YYYY",function(t,e){e[vt]=2===t.length?h.parseTwoDigitYear(t):H(t)}),yt("YY",function(t,e){e[vt]=h.parseTwoDigitYear(t)}),yt("Y",function(t,e){e[vt]=parseInt(t,10)}),h.parseTwoDigitYear=function(t){return H(t)+(68<H(t)?1900:2e3)};var Ft=V("FullYear",!0);function Ut(t,e,i,n,r,o,a){var s;return t<100&&0<=t?(s=new Date(t+400,e,i,n,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,i,n,r,o,a),s}function Gt(t){var e;return t<100&&0<=t?((e=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,e)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function $t(t,e,i){i=7+e-i;return-(7+Gt(t,0,i).getUTCDay()-e)%7+i-1}function Wt(t,e,i,n,r){var o,r=1+7*(e-1)+(7+i-n)%7+$t(t,n,r),r=r<=0?Yt(o=t-1)+r:r>Yt(t)?(o=t+1,r-Yt(t)):(o=t,r);return{year:o,dayOfYear:r}}function jt(t,e,i){var n,r,o=$t(t.year(),e,i),o=Math.floor((t.dayOfYear()-o-1)/7)+1;return o<1?n=o+Bt(r=t.year()-1,e,i):o>Bt(t.year(),e,i)?(n=o-Bt(t.year(),e,i),r=t.year()+1):(r=t.year(),n=o),{week:n,year:r}}function Bt(t,e,i){var n=$t(t,e,i),i=$t(t+1,e,i);return(Yt(t)-n+i)/7}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),W("week",5),W("isoWeek",5),dt("w",tt),dt("ww",tt,q),dt("W",tt),dt("WW",tt,q),gt(["w","ww","W","WW"],function(t,e,i,n){e[n.substr(0,1)]=H(t)});function Ht(t,e){return t.slice(e,7).concat(t.slice(0,e))}N("d",0,"do","day"),N("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),N("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),N("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),dt("d",tt),dt("e",tt),dt("E",tt),dt("dd",function(t,e){return e.weekdaysMinRegex(t)}),dt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),dt("dddd",function(t,e){return e.weekdaysRegex(t)}),gt(["dd","ddd","dddd"],function(t,e,i,n){n=i._locale.weekdaysParse(t,n,i._strict);null!=n?e.d=n:p(i).invalidWeekday=t}),gt(["d","e","E"],function(t,e,i,n){e[n]=H(t)});var Vt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),zt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Zt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xt=ct,qt=ct,Jt=ct;function Kt(){function t(t,e){return e.length-t.length}for(var e,i,n,r=[],o=[],a=[],s=[],l=0;l<7;l++)n=d([2e3,1]).day(l),e=ft(this.weekdaysMin(n,"")),i=ft(this.weekdaysShort(n,"")),n=ft(this.weekdays(n,"")),r.push(e),o.push(i),a.push(n),s.push(e),s.push(i),s.push(n);r.sort(t),o.sort(t),a.sort(t),s.sort(t),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Qt(){return this.hours()%12||12}function te(t,e){N(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function ee(t,e){return e._meridiemParse}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,Qt),N("k",["kk",2],0,function(){return this.hours()||24}),N("hmm",0,0,function(){return""+Qt.apply(this)+S(this.minutes(),2)}),N("hmmss",0,0,function(){return""+Qt.apply(this)+S(this.minutes(),2)+S(this.seconds(),2)}),N("Hmm",0,0,function(){return""+this.hours()+S(this.minutes(),2)}),N("Hmmss",0,0,function(){return""+this.hours()+S(this.minutes(),2)+S(this.seconds(),2)}),te("a",!0),te("A",!1),F("hour","h"),W("hour",13),dt("a",ee),dt("A",ee),dt("H",tt),dt("h",tt),dt("k",tt),dt("HH",tt,q),dt("hh",tt,q),dt("kk",tt,q),dt("hmm",et),dt("hmmss",it),dt("Hmm",et),dt("Hmmss",it),yt(["H","HH"],xt),yt(["k","kk"],function(t,e,i){t=H(t);e[xt]=24===t?0:t}),yt(["a","A"],function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t}),yt(["h","hh"],function(t,e,i){e[xt]=H(t),p(i).bigHour=!0}),yt("hmm",function(t,e,i){var n=t.length-2;e[xt]=H(t.substr(0,n)),e[Et]=H(t.substr(n)),p(i).bigHour=!0}),yt("hmmss",function(t,e,i){var n=t.length-4,r=t.length-2;e[xt]=H(t.substr(0,n)),e[Et]=H(t.substr(n,2)),e[Tt]=H(t.substr(r)),p(i).bigHour=!0}),yt("Hmm",function(t,e,i){var n=t.length-2;e[xt]=H(t.substr(0,n)),e[Et]=H(t.substr(n))}),yt("Hmmss",function(t,e,i){var n=t.length-4,r=t.length-2;e[xt]=H(t.substr(0,n)),e[Et]=H(t.substr(n,2)),e[Tt]=H(t.substr(r))});var ie=V("Hours",!0);var ne,re={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:St,monthsShort:It,week:{dow:0,doy:6},weekdays:Vt,weekdaysMin:Zt,weekdaysShort:zt,meridiemParse:/[ap]\.?m?\.?/i},oe={},ae={};function se(t){return t&&t.toLowerCase().replace("_","-")}function le(t){for(var e,i,n,r,o=0;o<t.length;){for(e=(r=se(t[o]).split("-")).length,i=(i=se(t[o+1]))?i.split("-"):null;0<e;){if(n=ue(r.slice(0,e).join("-")))return n;if(i&&i.length>=e&&function(t,e){for(var i=Math.min(t.length,e.length),n=0;n<i;n+=1)if(t[n]!==e[n])return n;return i}(r,i)>=e-1)break;e--}o++}return ne}function ue(e){var t;if(void 0===oe[e]&&Gn&&Gn.exports)try{t=ne._abbr,Ii(),ce(t)}catch(t){oe[e]=null}return oe[e]}function ce(t,e){return t&&((e=o(e)?me(t):de(t,e))?ne=e:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ne._abbr}function de(t,e){if(null===e)return delete oe[t],null;var i,n=re;if(e.abbr=t,null!=oe[t])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=oe[t]._config;else if(null!=e.parentLocale)if(null!=oe[e.parentLocale])n=oe[e.parentLocale]._config;else{if(null==(i=ue(e.parentLocale)))return ae[e.parentLocale]||(ae[e.parentLocale]=[]),ae[e.parentLocale].push({name:t,config:e}),null;n=i._config}return oe[t]=new M(L(n,e)),ae[t]&&ae[t].forEach(function(t){de(t.name,t.config)}),ce(t),oe[t]}function me(t){var e;if(!(t=t&&t._locale&&t._locale._abbr?t._locale._abbr:t))return ne;if(!a(t)){if(e=ue(t))return e;t=[t]}return le(t)}function fe(t){var e=t._a;return e&&-2===p(t).overflow&&(e=e[_t]<0||11<e[_t]?_t:e[bt]<1||e[bt]>At(e[vt],e[_t])?bt:e[xt]<0||24<e[xt]||24===e[xt]&&(0!==e[Et]||0!==e[Tt]||0!==e[Ct])?xt:e[Et]<0||59<e[Et]?Et:e[Tt]<0||59<e[Tt]?Tt:e[Ct]<0||999<e[Ct]?Ct:-1,p(t)._overflowDayOfYear&&(e<vt||bt<e)&&(e=bt),p(t)._overflowWeeks&&-1===e&&(e=Lt),p(t)._overflowWeekday&&-1===e&&(e=Mt),p(t).overflow=e),t}var he=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pe=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ye=/Z|[+-]\d\d(?::?\d\d)?/,ge=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],we=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ve=/^\/?Date\((-?\d+)/i,_e=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,be={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xe(t){var e,i,n,r,o,a,s=t._i,l=he.exec(s)||pe.exec(s);if(l){for(p(t).iso=!0,e=0,i=ge.length;e<i;e++)if(ge[e][1].exec(l[1])){r=ge[e][0],n=!1!==ge[e][2];break}if(null==r)return t._isValid=!1;if(l[3]){for(e=0,i=we.length;e<i;e++)if(we[e][1].exec(l[3])){o=(l[2]||" ")+we[e][0];break}if(null==o)return t._isValid=!1}if(!n&&null!=o)return t._isValid=!1;if(l[4]){if(!ye.exec(l[4]))return t._isValid=!1;a="Z"}t._f=r+(o||"")+(a||""),Me(t)}else t._isValid=!1}function Ee(t,e,i,n,r,o){r=[function(t){t=parseInt(t,10);return t<=49?2e3+t:t<=999?1900+t:t}(t),It.indexOf(e),parseInt(i,10),parseInt(n,10),parseInt(r,10)];return o&&r.push(parseInt(o,10)),r}function Te(t){var e,i,n,r,o=_e.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(e=Ee(o[4],o[3],o[2],o[5],o[6],o[7]),i=o[1],n=e,r=t,i&&zt.indexOf(i)!==new Date(n[0],n[1],n[2]).getDay()?(p(r).weekdayMismatch=!0,r._isValid=!1):(t._a=e,t._tzm=(r=o[8],e=o[9],o=o[10],r?be[r]:e?0:((e=parseInt(o,10))-(o=e%100))/100*60+o),t._d=Gt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),p(t).rfc2822=!0)):t._isValid=!1}function Ce(t,e,i){return null!=t?t:null!=e?e:i}function Le(t){var e,i,n,r,o,a,s,l,u,c,d,m,f=[];if(!t._d){for(d=t,m=new Date(h.now()),i=d._useUTC?[m.getUTCFullYear(),m.getUTCMonth(),m.getUTCDate()]:[m.getFullYear(),m.getMonth(),m.getDate()],t._w&&null==t._a[bt]&&null==t._a[_t]&&(null!=(d=(r=t)._w).GG||null!=d.W||null!=d.E?(l=1,u=4,o=Ce(d.GG,r._a[vt],jt(Ie(),1,4).year),a=Ce(d.W,1),((s=Ce(d.E,1))<1||7<s)&&(c=!0)):(l=r._locale._week.dow,u=r._locale._week.doy,m=jt(Ie(),l,u),o=Ce(d.gg,r._a[vt],m.year),a=Ce(d.w,m.week),null!=d.d?((s=d.d)<0||6<s)&&(c=!0):null!=d.e?(s=d.e+l,(d.e<0||6<d.e)&&(c=!0)):s=l),a<1||a>Bt(o,l,u)?p(r)._overflowWeeks=!0:null!=c?p(r)._overflowWeekday=!0:(u=Wt(o,a,s,l,u),r._a[vt]=u.year,r._dayOfYear=u.dayOfYear)),null!=t._dayOfYear&&(n=Ce(t._a[vt],i[vt]),(t._dayOfYear>Yt(n)||0===t._dayOfYear)&&(p(t)._overflowDayOfYear=!0),n=Gt(n,0,t._dayOfYear),t._a[_t]=n.getUTCMonth(),t._a[bt]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=f[e]=i[e];for(;e<7;e++)t._a[e]=f[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[xt]&&0===t._a[Et]&&0===t._a[Tt]&&0===t._a[Ct]&&(t._nextDay=!0,t._a[xt]=0),t._d=(t._useUTC?Gt:Ut).apply(null,f),n=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[xt]=24),t._w&&void 0!==t._w.d&&t._w.d!==n&&(p(t).weekdayMismatch=!0)}}function Me(t){if(t._f!==h.ISO_8601)if(t._f!==h.RFC_2822){t._a=[],p(t).empty=!0;for(var e,i,n=""+t._i,r=n.length,o=0,a=R(t._f,t._locale).match(I)||[],s=0;s<a.length;s++)i=a[s],(e=(n.match(mt(i,t))||[])[0])&&(0<(d=n.substr(0,n.indexOf(e))).length&&p(t).unusedInput.push(d),n=n.slice(n.indexOf(e)+e.length),o+=e.length),P[i]?(e?p(t).empty=!1:p(t).unusedTokens.push(i),c=i,m=t,null!=(d=e)&&f(pt,c)&&pt[c](d,m._a,m,c)):t._strict&&!e&&p(t).unusedTokens.push(i);p(t).charsLeftOver=r-o,0<n.length&&p(t).unusedInput.push(n),t._a[xt]<=12&&!0===p(t).bigHour&&0<t._a[xt]&&(p(t).bigHour=void 0),p(t).parsedDateParts=t._a.slice(0),p(t).meridiem=t._meridiem,t._a[xt]=(l=t._locale,u=t._a[xt],null==(r=t._meridiem)?u:null!=l.meridiemHour?l.meridiemHour(u,r):null!=l.isPM?((r=l.isPM(r))&&u<12&&(u+=12),u=r||12!==u?u:0):u),null!==(u=p(t).era)&&(t._a[vt]=t._locale.erasConvertYear(u,t._a[vt])),Le(t),fe(t)}else Te(t);else xe(t);var l,u,c,d,m}function Ae(t){var e=t._i,i=t._f;return t._locale=t._locale||me(t._l),null===e||void 0===i&&""===e?y({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),b(e)?new _(fe(e)):(r(e)?t._d=e:a(i)?function(t){var e,i,n,r,o,a,s=!1;if(0===t._f.length)return p(t).invalidFormat=!0,t._d=new Date(NaN);for(r=0;r<t._f.length;r++)o=0,a=!1,e=v({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Me(e),m(e)&&(a=!0),o+=p(e).charsLeftOver,o+=10*p(e).unusedTokens.length,p(e).score=o,s?o<n&&(n=o,i=e):(null==n||o<n||a)&&(n=o,i=e,a&&(s=!0));c(t,i||e)}(t):i?Me(t):o(i=(e=t)._i)?e._d=new Date(h.now()):r(i)?e._d=new Date(i.valueOf()):"string"==typeof i?function(t){var e=ve.exec(t._i);null===e?(xe(t),!1===t._isValid&&(delete t._isValid,Te(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:h.createFromInputFallback(t)))):t._d=new Date(+e[1])}(e):a(i)?(e._a=n(i.slice(0),function(t){return parseInt(t,10)}),Le(e)):s(i)?function(t){var e,i;t._d||(i=void 0===(e=G(t._i)).day?e.date:e.day,t._a=n([e.year,e.month,i,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),Le(t))}(e):u(i)?e._d=new Date(i):h.createFromInputFallback(e),m(t)||(t._d=null),t))}function Se(t,e,i,n,r){var o={};return!0!==e&&!1!==e||(n=e,e=void 0),!0!==i&&!1!==i||(n=i,i=void 0),(s(t)&&l(t)||a(t)&&0===t.length)&&(t=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=i,o._i=t,o._f=e,o._strict=n,(o=new _(fe(Ae(o=o))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function Ie(t,e,i,n){return Se(t,e,i,n,!1)}h.createFromInputFallback=i("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),h.ISO_8601=function(){},h.RFC_2822=function(){};var De=i("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ie.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:y()}),ke=i("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ie.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:y()});function Pe(t,e){var i,n;if(!(e=1===e.length&&a(e[0])?e[0]:e).length)return Ie();for(i=e[0],n=1;n<e.length;++n)e[n].isValid()&&!e[n][t](i)||(i=e[n]);return i}var Ne=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Oe(t){var e=G(t),i=e.year||0,n=e.quarter||0,r=e.month||0,o=e.week||e.isoWeek||0,a=e.day||0,s=e.hour||0,l=e.minute||0,u=e.second||0,t=e.millisecond||0;this._isValid=function(t){var e,i,n=!1;for(e in t)if(f(t,e)&&(-1===wt.call(Ne,e)||null!=t[e]&&isNaN(t[e])))return!1;for(i=0;i<Ne.length;++i)if(t[Ne[i]]){if(n)return!1;parseFloat(t[Ne[i]])!==H(t[Ne[i]])&&(n=!0)}return!0}(e),this._milliseconds=+t+1e3*u+6e4*l+1e3*s*60*60,this._days=+a+7*o,this._months=+r+3*n+12*i,this._data={},this._locale=me(),this._bubble()}function Re(t){return t instanceof Oe}function Ye(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Fe(t,i){N(t,0,0,function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+S(~~(t/60),2)+i+S(~~t%60,2)})}Fe("Z",":"),Fe("ZZ",""),dt("Z",ut),dt("ZZ",ut),yt(["Z","ZZ"],function(t,e,i){i._useUTC=!0,i._tzm=Ge(ut,t)});var Ue=/([\+\-]|\d\d)/gi;function Ge(t,e){var e=(e||"").match(t);return null===e?null:0===(e=60*(t=((e[e.length-1]||[])+"").match(Ue)||["-",0,0])[1]+H(t[2]))?0:"+"===t[0]?e:-e}function $e(t,e){var i;return e._isUTC?(i=e.clone(),e=(b(t)||r(t)?t:Ie(t)).valueOf()-i.valueOf(),i._d.setTime(i._d.valueOf()+e),h.updateOffset(i,!1),i):Ie(t).local()}function We(t){return-Math.round(t._d.getTimezoneOffset())}function je(){return!!this.isValid()&&this._isUTC&&0===this._offset}h.updateOffset=function(){};var Be=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,He=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ve(t,e){var i,n,r=t,o=null;return Re(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:u(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(o=Be.exec(t))?(i="-"===o[1]?-1:1,r={y:0,d:H(o[bt])*i,h:H(o[xt])*i,m:H(o[Et])*i,s:H(o[Tt])*i,ms:H(Ye(1e3*o[Ct]))*i}):(o=He.exec(t))?(i="-"===o[1]?-1:1,r={y:ze(o[2],i),M:ze(o[3],i),w:ze(o[4],i),d:ze(o[5],i),h:ze(o[6],i),m:ze(o[7],i),s:ze(o[8],i)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(o=Ie(r.from),i=Ie(r.to),n=o.isValid()&&i.isValid()?(i=$e(i,o),o.isBefore(i)?n=Ze(o,i):((n=Ze(i,o)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0},(r={}).ms=n.milliseconds,r.M=n.months),r=new Oe(r),Re(t)&&f(t,"_locale")&&(r._locale=t._locale),Re(t)&&f(t,"_isValid")&&(r._isValid=t._isValid),r}function ze(t,e){t=t&&parseFloat(t.replace(",","."));return(isNaN(t)?0:t)*e}function Ze(t,e){var i={};return i.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(i.months,"M").isAfter(e)&&--i.months,i.milliseconds=+e-+t.clone().add(i.months,"M"),i}function Xe(n,r){return function(t,e){var i;return null===e||isNaN(+e)||(T(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=t,t=e,e=i),qe(this,Ve(t,e),n),this}}function qe(t,e,i,n){var r=e._milliseconds,o=Ye(e._days),e=Ye(e._months);t.isValid()&&(n=null==n||n,e&&Nt(t,z(t,"Month")+e*i),o&&Z(t,"Date",z(t,"Date")+o*i),r&&t._d.setTime(t._d.valueOf()+r*i),n&&h.updateOffset(t,o||e))}Ve.fn=Oe.prototype,Ve.invalid=function(){return Ve(NaN)};var Je=Xe(1,"add"),ct=Xe(-1,"subtract");function Ke(t){return"string"==typeof t||t instanceof String}function Qe(t){return b(t)||r(t)||Ke(t)||u(t)||(i=a(e=t),n=!1,i&&(n=0===e.filter(function(t){return!u(t)&&Ke(e)}).length),i&&n)||function(t){var e,i,n=s(t)&&!l(t),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(e=0;e<o.length;e+=1)i=o[e],r=r||f(t,i);return n&&r}(t)||null==t;var e,i,n}function ti(t,e){if(t.date()<e.date())return-ti(e,t);var i=12*(e.year()-t.year())+(e.month()-t.month()),n=t.clone().add(i,"months");return-(i+(e-n<0?(e-n)/(n-t.clone().add(i-1,"months")):(e-n)/(t.clone().add(1+i,"months")-n)))||0}function ei(t){return void 0===t?this._locale._abbr:(null!=(t=me(t))&&(this._locale=t),this)}h.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",h.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";et=i("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function ii(){return this._locale}var ni=126227808e5;function ri(t,e){return(t%e+e)%e}function oi(t,e,i){return t<100&&0<=t?new Date(t+400,e,i)-ni:new Date(t,e,i).valueOf()}function ai(t,e,i){return t<100&&0<=t?Date.UTC(t+400,e,i)-ni:Date.UTC(t,e,i)}function si(t,e){return e.erasAbbrRegex(t)}function li(){for(var t=[],e=[],i=[],n=[],r=this.eras(),o=0,a=r.length;o<a;++o)e.push(ft(r[o].name)),t.push(ft(r[o].abbr)),i.push(ft(r[o].narrow)),n.push(ft(r[o].name)),n.push(ft(r[o].abbr)),n.push(ft(r[o].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function ui(t,e){N(0,[t,t.length],0,e)}function ci(t,e,i,n,r){var o;return null==t?jt(this,n,r).year:(e>(o=Bt(t,n,r))&&(e=o),function(t,e,i,n,r){r=Wt(t,e,i,n,r),r=Gt(r.year,0,r.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}.call(this,t,e,i,n,r))}N("N",0,0,"eraAbbr"),N("NN",0,0,"eraAbbr"),N("NNN",0,0,"eraAbbr"),N("NNNN",0,0,"eraName"),N("NNNNN",0,0,"eraNarrow"),N("y",["y",1],"yo","eraYear"),N("y",["yy",2],0,"eraYear"),N("y",["yyy",3],0,"eraYear"),N("y",["yyyy",4],0,"eraYear"),dt("N",si),dt("NN",si),dt("NNN",si),dt("NNNN",function(t,e){return e.erasNameRegex(t)}),dt("NNNNN",function(t,e){return e.erasNarrowRegex(t)}),yt(["N","NN","NNN","NNNN","NNNNN"],function(t,e,i,n){n=i._locale.erasParse(t,n,i._strict);n?p(i).era=n:p(i).invalidEra=t}),dt("y",at),dt("yy",at),dt("yyy",at),dt("yyyy",at),dt("yo",function(t,e){return e._eraYearOrdinalRegex||at}),yt(["y","yy","yyy","yyyy"],vt),yt(["yo"],function(t,e,i,n){var r;i._locale._eraYearOrdinalRegex&&(r=t.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?e[vt]=i._locale.eraYearOrdinalParse(t,r):e[vt]=parseInt(t,10)}),N(0,["gg",2],0,function(){return this.weekYear()%100}),N(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ui("gggg","weekYear"),ui("ggggg","weekYear"),ui("GGGG","isoWeekYear"),ui("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),dt("G",st),dt("g",st),dt("GG",tt,q),dt("gg",tt,q),dt("GGGG",rt,K),dt("gggg",rt,K),dt("GGGGG",ot,Q),dt("ggggg",ot,Q),gt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,i,n){e[n.substr(0,2)]=H(t)}),gt(["gg","GG"],function(t,e,i,n){e[n]=h.parseTwoDigitYear(t)}),N("Q",0,"Qo","quarter"),F("quarter","Q"),W("quarter",7),dt("Q",X),yt("Q",function(t,e){e[_t]=3*(H(t)-1)}),N("D",["DD",2],"Do","date"),F("date","D"),W("date",9),dt("D",tt),dt("DD",tt,q),dt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),yt(["D","DD"],bt),yt("Do",function(t,e){e[bt]=H(t.match(tt)[0])});it=V("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),W("dayOfYear",4),dt("DDD",nt),dt("DDDD",J),yt(["DDD","DDDD"],function(t,e,i){i._dayOfYear=H(t)}),N("m",["mm",2],0,"minute"),F("minute","m"),W("minute",14),dt("m",tt),dt("mm",tt,q),yt(["m","mm"],Et);St=V("Minutes",!1);N("s",["ss",2],0,"second"),F("second","s"),W("second",15),dt("s",tt),dt("ss",tt,q),yt(["s","ss"],Tt);var di,Vt=V("Seconds",!1);for(N("S",0,0,function(){return~~(this.millisecond()/100)}),N(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,function(){return 10*this.millisecond()}),N(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),N(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),N(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),N(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),N(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),W("millisecond",16),dt("S",nt,X),dt("SS",nt,q),dt("SSS",nt,J),di="SSSS";di.length<=9;di+="S")dt(di,at);function mi(t,e){e[Ct]=H(1e3*("0."+t))}for(di="S";di.length<=9;di+="S")yt(di,mi);Zt=V("Milliseconds",!1),N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");rt=_.prototype;function fi(t){return t}rt.add=Je,rt.calendar=function(t,e){1===arguments.length&&(arguments[0]?Qe(arguments[0])?(t=arguments[0],e=void 0):function(t){for(var e=s(t)&&!l(t),i=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<n.length;r+=1)i=i||f(t,n[r]);return e&&i}(arguments[0])&&(e=arguments[0],t=void 0):e=t=void 0);var i=t||Ie(),t=$e(i,this).startOf("day"),t=h.calendarFormat(this,t)||"sameElse",e=e&&(C(e[t])?e[t].call(this,i):e[t]);return this.format(e||this.localeData().calendar(t,this,Ie(i)))},rt.clone=function(){return new _(this)},rt.diff=function(t,e,i){var n,r,o;if(!this.isValid())return NaN;if(!(n=$e(t,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),e=U(e)){case"year":o=ti(this,n)/12;break;case"month":o=ti(this,n);break;case"quarter":o=ti(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-r)/864e5;break;case"week":o=(this-n-r)/6048e5;break;default:o=this-n}return i?o:B(o)},rt.endOf=function(t){var e,i;if(void 0===(t=U(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?ai:oi,t){case"year":e=i(this.year()+1,0,1)-1;break;case"quarter":e=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=i(this.year(),this.month()+1,1)-1;break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-ri(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-ri(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-ri(e,1e3)-1}return this._d.setTime(e),h.updateOffset(this,!0),this},rt.format=function(t){return t=t||(this.isUtc()?h.defaultFormatUtc:h.defaultFormat),t=O(this,t),this.localeData().postformat(t)},rt.from=function(t,e){return this.isValid()&&(b(t)&&t.isValid()||Ie(t).isValid())?Ve({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},rt.fromNow=function(t){return this.from(Ie(),t)},rt.to=function(t,e){return this.isValid()&&(b(t)&&t.isValid()||Ie(t).isValid())?Ve({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},rt.toNow=function(t){return this.to(Ie(),t)},rt.get=function(t){return C(this[t=U(t)])?this[t]():this},rt.invalidAt=function(){return p(this).overflow},rt.isAfter=function(t,e){return t=b(t)?t:Ie(t),!(!this.isValid()||!t.isValid())&&("millisecond"===(e=U(e)||"millisecond")?this.valueOf()>t.valueOf():t.valueOf()<this.clone().startOf(e).valueOf())},rt.isBefore=function(t,e){return t=b(t)?t:Ie(t),!(!this.isValid()||!t.isValid())&&("millisecond"===(e=U(e)||"millisecond")?this.valueOf()<t.valueOf():this.clone().endOf(e).valueOf()<t.valueOf())},rt.isBetween=function(t,e,i,n){return t=b(t)?t:Ie(t),e=b(e)?e:Ie(e),!!(this.isValid()&&t.isValid()&&e.isValid())&&("("===(n=n||"()")[0]?this.isAfter(t,i):!this.isBefore(t,i))&&(")"===n[1]?this.isBefore(e,i):!this.isAfter(e,i))},rt.isSame=function(t,e){var t=b(t)?t:Ie(t);return!(!this.isValid()||!t.isValid())&&("millisecond"===(e=U(e)||"millisecond")?this.valueOf()===t.valueOf():(t=t.valueOf(),this.clone().startOf(e).valueOf()<=t&&t<=this.clone().endOf(e).valueOf()))},rt.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},rt.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},rt.isValid=function(){return m(this)},rt.lang=et,rt.locale=ei,rt.localeData=ii,rt.max=ke,rt.min=De,rt.parsingFlags=function(){return c({},p(this))},rt.set=function(t,e){if("object"==typeof t)for(var i=function(t){var e,i=[];for(e in t)f(t,e)&&i.push({unit:e,priority:$[e]});return i.sort(function(t,e){return t.priority-e.priority}),i}(t=G(t)),n=0;n<i.length;n++)this[i[n].unit](t[i[n].unit]);else if(C(this[t=U(t)]))return this[t](e);return this},rt.startOf=function(t){var e,i;if(void 0===(t=U(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?ai:oi,t){case"year":e=i(this.year(),0,1);break;case"quarter":e=i(this.year(),this.month()-this.month()%3,1);break;case"month":e=i(this.year(),this.month(),1);break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=i(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=ri(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=ri(e,6e4);break;case"second":e=this._d.valueOf(),e-=ri(e,1e3)}return this._d.setTime(e),h.updateOffset(this,!0),this},rt.subtract=ct,rt.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},rt.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},rt.toDate=function(){return new Date(this.valueOf())},rt.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t;return(t=e?this.clone().utc():this).year()<0||9999<t.year()?O(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):C(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",O(t,"Z")):O(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},rt.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e="moment",i="";return this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+e+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(i+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(rt[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),rt.toJSON=function(){return this.isValid()?this.toISOString():null},rt.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},rt.unix=function(){return Math.floor(this.valueOf()/1e3)},rt.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},rt.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},rt.eraName=function(){for(var t,e=this.localeData().eras(),i=0,n=e.length;i<n;++i){if(t=this.clone().startOf("day").valueOf(),e[i].since<=t&&t<=e[i].until)return e[i].name;if(e[i].until<=t&&t<=e[i].since)return e[i].name}return""},rt.eraNarrow=function(){for(var t,e=this.localeData().eras(),i=0,n=e.length;i<n;++i){if(t=this.clone().startOf("day").valueOf(),e[i].since<=t&&t<=e[i].until)return e[i].narrow;if(e[i].until<=t&&t<=e[i].since)return e[i].narrow}return""},rt.eraAbbr=function(){for(var t,e=this.localeData().eras(),i=0,n=e.length;i<n;++i){if(t=this.clone().startOf("day").valueOf(),e[i].since<=t&&t<=e[i].until)return e[i].abbr;if(e[i].until<=t&&t<=e[i].since)return e[i].abbr}return""},rt.eraYear=function(){for(var t,e,i=this.localeData().eras(),n=0,r=i.length;n<r;++n)if(t=i[n].since<=i[n].until?1:-1,e=this.clone().startOf("day").valueOf(),i[n].since<=e&&e<=i[n].until||i[n].until<=e&&e<=i[n].since)return(this.year()-h(i[n].since).year())*t+i[n].offset;return this.year()},rt.year=Ft,rt.isLeapYear=function(){return j(this.year())},rt.weekYear=function(t){return ci.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},rt.isoWeekYear=function(t){return ci.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},rt.quarter=rt.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},rt.month=Ot,rt.daysInMonth=function(){return At(this.year(),this.month())},rt.week=rt.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},rt.isoWeek=rt.isoWeeks=function(t){var e=jt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},rt.weeksInYear=function(){var t=this.localeData()._week;return Bt(this.year(),t.dow,t.doy)},rt.weeksInWeekYear=function(){var t=this.localeData()._week;return Bt(this.weekYear(),t.dow,t.doy)},rt.isoWeeksInYear=function(){return Bt(this.year(),1,4)},rt.isoWeeksInISOWeekYear=function(){return Bt(this.isoWeekYear(),1,4)},rt.date=it,rt.day=rt.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e,i,n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(e=t,i=this.localeData(),t="string"!=typeof e?e:isNaN(e)?"number"==typeof(e=i.weekdaysParse(e))?e:null:parseInt(e,10),this.add(t-n,"d")):n},rt.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},rt.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null==t)return this.day()||7;var e=(e=t,t=this.localeData(),"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e);return this.day(this.day()%7?e:e-7)},rt.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},rt.hour=rt.hours=ie,rt.minute=rt.minutes=St,rt.second=rt.seconds=Vt,rt.millisecond=rt.milliseconds=Zt,rt.utcOffset=function(t,e,i){var n,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null==t)return this._isUTC?r:We(this);if("string"==typeof t){if(null===(t=Ge(ut,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&e&&(n=We(this)),this._offset=t,this._isUTC=!0,null!=n&&this.add(n,"m"),r!==t&&(!e||this._changeInProgress?qe(this,Ve(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,h.updateOffset(this,!0),this._changeInProgress=null)),this},rt.utc=function(t){return this.utcOffset(0,t)},rt.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(We(this),"m")),this},rt.parseZone=function(){var t;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(t=Ge(lt,this._i))?this.utcOffset(t):this.utcOffset(0,!0)),this},rt.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ie(t).utcOffset():0,(this.utcOffset()-t)%60==0)},rt.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},rt.isLocal=function(){return!!this.isValid()&&!this._isUTC},rt.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},rt.isUtc=je,rt.isUTC=je,rt.zoneAbbr=function(){return this._isUTC?"UTC":""},rt.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},rt.dates=i("dates accessor is deprecated. Use date instead.",it),rt.months=i("months accessor is deprecated. Use month instead",Ot),rt.years=i("years accessor is deprecated. Use year instead",Ft),rt.zone=i("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?(this.utcOffset(t="string"!=typeof t?-t:t,e),this):-this.utcOffset()}),rt.isDSTShifted=i("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var t,e={};return v(e,this),(e=Ae(e))._a?(t=(e._isUTC?d:Ie)(e._a),this._isDSTShifted=this.isValid()&&0<function(t,e,i){for(var n=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),o=0,a=0;a<n;a++)(i&&t[a]!==e[a]||!i&&H(t[a])!==H(e[a]))&&o++;return o+r}(e._a,t.toArray())):this._isDSTShifted=!1,this._isDSTShifted});K=M.prototype;function hi(t,e,i,n){var r=me(),e=d().set(n,e);return r[i](e,t)}function pi(t,e,i){if(u(t)&&(e=t,t=void 0),t=t||"",null!=e)return hi(t,e,i,"month");for(var n=[],r=0;r<12;r++)n[r]=hi(t,r,i,"month");return n}function yi(t,e,i,n){e=("boolean"==typeof t||(i=e=t,t=!1),u(e)&&(i=e,e=void 0),e||"");var r,o=me(),a=t?o._week.dow:0,s=[];if(null!=i)return hi(e,(i+a)%7,n,"day");for(r=0;r<7;r++)s[r]=hi(e,(r+a)%7,n,"day");return s}K.calendar=function(t,e,i){return C(t=this._calendar[t]||this._calendar.sameElse)?t.call(e,i):t},K.longDateFormat=function(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.match(I).map(function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t}).join(""),this._longDateFormat[t])},K.invalidDate=function(){return this._invalidDate},K.ordinal=function(t){return this._ordinal.replace("%d",t)},K.preparse=fi,K.postformat=fi,K.relativeTime=function(t,e,i,n){var r=this._relativeTime[i];return C(r)?r(t,e,i,n):r.replace(/%d/i,t)},K.pastFuture=function(t,e){return C(t=this._relativeTime[0<t?"future":"past"])?t(e):t.replace(/%s/i,e)},K.set=function(t){var e,i;for(i in t)f(t,i)&&(C(e=t[i])?this[i]=e:this["_"+i]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},K.eras=function(t,e){for(var i,n=this._eras||me("en")._eras,r=0,o=n.length;r<o;++r)switch("string"==typeof n[r].since&&(i=h(n[r].since).startOf("day"),n[r].since=i.valueOf()),typeof n[r].until){case"undefined":n[r].until=1/0;break;case"string":i=h(n[r].until).startOf("day").valueOf(),n[r].until=i.valueOf()}return n},K.erasParse=function(t,e,i){var n,r,o,a,s,l=this.eras();for(t=t.toUpperCase(),n=0,r=l.length;n<r;++n)if(o=l[n].name.toUpperCase(),a=l[n].abbr.toUpperCase(),s=l[n].narrow.toUpperCase(),i)switch(e){case"N":case"NN":case"NNN":if(a===t)return l[n];break;case"NNNN":if(o===t)return l[n];break;case"NNNNN":if(s===t)return l[n]}else if(0<=[o,a,s].indexOf(t))return l[n]},K.erasConvertYear=function(t,e){var i=t.since<=t.until?1:-1;return void 0===e?h(t.since).year():h(t.since).year()+(e-t.offset)*i},K.erasAbbrRegex=function(t){return f(this,"_erasAbbrRegex")||li.call(this),t?this._erasAbbrRegex:this._erasRegex},K.erasNameRegex=function(t){return f(this,"_erasNameRegex")||li.call(this),t?this._erasNameRegex:this._erasRegex},K.erasNarrowRegex=function(t){return f(this,"_erasNarrowRegex")||li.call(this),t?this._erasNarrowRegex:this._erasRegex},K.months=function(t,e){return t?(a(this._months)?this._months:this._months[(this._months.isFormat||Dt).test(e)?"format":"standalone"])[t.month()]:a(this._months)?this._months:this._months.standalone},K.monthsShort=function(t,e){return t?(a(this._monthsShort)?this._monthsShort:this._monthsShort[Dt.test(e)?"format":"standalone"])[t.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},K.monthsParse=function(t,e,i){var n,r;if(this._monthsParseExact)return function(t,e,i){var n,r,o,t=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=d([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return i?"MMM"===e?-1!==(r=wt.call(this._shortMonthsParse,t))?r:null:-1!==(r=wt.call(this._longMonthsParse,t))?r:null:"MMM"===e?-1!==(r=wt.call(this._shortMonthsParse,t))||-1!==(r=wt.call(this._longMonthsParse,t))?r:null:-1!==(r=wt.call(this._longMonthsParse,t))||-1!==(r=wt.call(this._shortMonthsParse,t))?r:null}.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=d([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=new RegExp(r.replace(".",""),"i")),i&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(i&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!i&&this._monthsParse[n].test(t))return n}},K.monthsRegex=function(t){return this._monthsParseExact?(f(this,"_monthsRegex")||Rt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Pt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},K.monthsShortRegex=function(t){return this._monthsParseExact?(f(this,"_monthsRegex")||Rt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=kt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},K.week=function(t){return jt(t,this._week.dow,this._week.doy).week},K.firstDayOfYear=function(){return this._week.doy},K.firstDayOfWeek=function(){return this._week.dow},K.weekdays=function(t,e){return e=a(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"],!0===t?Ht(e,this._week.dow):t?e[t.day()]:e},K.weekdaysMin=function(t){return!0===t?Ht(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},K.weekdaysShort=function(t){return!0===t?Ht(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},K.weekdaysParse=function(t,e,i){var n,r;if(this._weekdaysParseExact)return function(t,e,i){var n,r,o,t=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=d([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(r=wt.call(this._weekdaysParse,t))?r:null:"ddd"===e?-1!==(r=wt.call(this._shortWeekdaysParse,t))?r:null:-1!==(r=wt.call(this._minWeekdaysParse,t))?r:null:"dddd"===e?-1!==(r=wt.call(this._weekdaysParse,t))||-1!==(r=wt.call(this._shortWeekdaysParse,t))||-1!==(r=wt.call(this._minWeekdaysParse,t))?r:null:"ddd"===e?-1!==(r=wt.call(this._shortWeekdaysParse,t))||-1!==(r=wt.call(this._weekdaysParse,t))||-1!==(r=wt.call(this._minWeekdaysParse,t))?r:null:-1!==(r=wt.call(this._minWeekdaysParse,t))||-1!==(r=wt.call(this._weekdaysParse,t))||-1!==(r=wt.call(this._shortWeekdaysParse,t))?r:null}.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(r=d([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(r.replace(".",""),"i")),i&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(i&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(i&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!i&&this._weekdaysParse[n].test(t))return n}},K.weekdaysRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Xt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},K.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},K.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Jt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},K.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},K.meridiem=function(t,e,i){return 11<t?i?"pm":"PM":i?"am":"AM"},ce("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===H(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th")}}),h.lang=i("moment.lang is deprecated. Use moment.locale instead.",ce),h.langData=i("moment.langData is deprecated. Use moment.localeData instead.",me);var gi=Math.abs;function wi(t,e,i,n){i=Ve(e,i);return t._milliseconds+=n*i._milliseconds,t._days+=n*i._days,t._months+=n*i._months,t._bubble()}function vi(t){return t<0?Math.floor(t):Math.ceil(t)}function _i(t){return 4800*t/146097}function bi(t){return 146097*t/4800}function xi(t){return function(){return this.as(t)}}ot=xi("ms"),Q=xi("s"),X=xi("m"),q=xi("h"),nt=xi("d"),J=xi("w"),Je=xi("M"),ke=xi("Q"),De=xi("y");function Ei(t){return function(){return this.isValid()?this._data[t]:NaN}}ct=Ei("milliseconds"),ie=Ei("seconds"),St=Ei("minutes"),Vt=Ei("hours"),Zt=Ei("days"),it=Ei("months"),Ft=Ei("years");var Ti=Math.round,Ci={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Li(t,e,i,n){var r=Ve(t).abs(),o=Ti(r.as("s")),a=Ti(r.as("m")),s=Ti(r.as("h")),l=Ti(r.as("d")),u=Ti(r.as("M")),c=Ti(r.as("w")),r=Ti(r.as("y")),l=(o<=i.ss?["s",o]:o<i.s&&["ss",o])||a<=1&&["m"]||a<i.m&&["mm",a]||s<=1&&["h"]||s<i.h&&["hh",s]||l<=1&&["d"]||l<i.d&&["dd",l];return(l=(l=null!=i.w?l||c<=1&&["w"]||c<i.w&&["ww",c]:l)||u<=1&&["M"]||u<i.M&&["MM",u]||r<=1&&["y"]||["yy",r])[2]=e,l[3]=0<+t,l[4]=n,function(t,e,i,n,r){return r.relativeTime(e||1,!!i,t,n)}.apply(null,l)}var Mi=Math.abs;function Ai(t){return(0<t)-(t<0)||+t}function Si(){if(!this.isValid())return this.localeData().invalidDate();var t,e,i,n,r,o,a,s=Mi(this._milliseconds)/1e3,l=Mi(this._days),u=Mi(this._months),c=this.asSeconds();return c?(t=B(s/60),e=B(t/60),s%=60,t%=60,i=B(u/12),u%=12,n=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=Ai(this._months)!==Ai(c)?"-":"",o=Ai(this._days)!==Ai(c)?"-":"",a=Ai(this._milliseconds)!==Ai(c)?"-":"",(c<0?"-":"")+"P"+(i?r+i+"Y":"")+(u?r+u+"M":"")+(l?o+l+"D":"")+(e||t||s?"T":"")+(e?a+e+"H":"")+(t?a+t+"M":"")+(s?a+n+"S":"")):"P0D"}K=Oe.prototype;return K.isValid=function(){return this._isValid},K.abs=function(){var t=this._data;return this._milliseconds=gi(this._milliseconds),this._days=gi(this._days),this._months=gi(this._months),t.milliseconds=gi(t.milliseconds),t.seconds=gi(t.seconds),t.minutes=gi(t.minutes),t.hours=gi(t.hours),t.months=gi(t.months),t.years=gi(t.years),this},K.add=function(t,e){return wi(this,t,e,1)},K.subtract=function(t,e){return wi(this,t,e,-1)},K.as=function(t){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if("month"===(t=U(t))||"quarter"===t||"year"===t)switch(e=this._days+n/864e5,i=this._months+_i(e),t){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(e=this._days+Math.round(bi(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}},K.asMilliseconds=ot,K.asSeconds=Q,K.asMinutes=X,K.asHours=q,K.asDays=nt,K.asWeeks=J,K.asMonths=Je,K.asQuarters=ke,K.asYears=De,K.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*H(this._months/12):NaN},K._bubble=function(){var t=this._milliseconds,e=this._days,i=this._months,n=this._data;return 0<=t&&0<=e&&0<=i||t<=0&&e<=0&&i<=0||(t+=864e5*vi(bi(i)+e),i=e=0),n.milliseconds=t%1e3,t=B(t/1e3),n.seconds=t%60,t=B(t/60),n.minutes=t%60,t=B(t/60),n.hours=t%24,e+=B(t/24),i+=t=B(_i(e)),e-=vi(bi(t)),t=B(i/12),i%=12,n.days=e,n.months=i,n.years=t,this},K.clone=function(){return Ve(this)},K.get=function(t){return t=U(t),this.isValid()?this[t+"s"]():NaN},K.milliseconds=ct,K.seconds=ie,K.minutes=St,K.hours=Vt,K.days=Zt,K.weeks=function(){return B(this.days()/7)},K.months=it,K.years=Ft,K.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var i=!1,n=Ci;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(i=t),"object"==typeof e&&(n=Object.assign({},Ci,e),null!=e.s&&null==e.ss&&(n.ss=e.s-1)),n=Li(this,!i,n,e=this.localeData()),i&&(n=e.pastFuture(+this,n)),e.postformat(n)},K.toISOString=Si,K.toString=Si,K.toJSON=Si,K.locale=ei,K.localeData=ii,K.toIsoString=i("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Si),K.lang=et,N("X",0,0,"unix"),N("x",0,0,"valueOf"),dt("x",st),dt("X",/[+-]?\d+(\.\d{1,3})?/),yt("X",function(t,e,i){i._d=new Date(1e3*parseFloat(t))}),yt("x",function(t,e,i){i._d=new Date(H(t))}),h.version="2.29.1",t=Ie,h.fn=rt,h.min=function(){return Pe("isBefore",[].slice.call(arguments,0))},h.max=function(){return Pe("isAfter",[].slice.call(arguments,0))},h.now=function(){return Date.now?Date.now():+new Date},h.utc=d,h.unix=function(t){return Ie(1e3*t)},h.months=function(t,e){return pi(t,e,"months")},h.isDate=r,h.locale=ce,h.invalid=y,h.duration=Ve,h.isMoment=b,h.weekdays=function(t,e,i){return yi(t,e,i,"weekdays")},h.parseZone=function(){return Ie.apply(null,arguments).parseZone()},h.localeData=me,h.isDuration=Re,h.monthsShort=function(t,e){return pi(t,e,"monthsShort")},h.weekdaysMin=function(t,e,i){return yi(t,e,i,"weekdaysMin")},h.defineLocale=de,h.updateLocale=function(t,e){var i,n;return null!=e?(n=re,null!=oe[t]&&null!=oe[t].parentLocale?oe[t].set(L(oe[t]._config,e)):(e=L(n=null!=(i=ue(t))?i._config:n,e),null==i&&(e.abbr=t),(e=new M(e)).parentLocale=oe[t],oe[t]=e),ce(t)):null!=oe[t]&&(null!=oe[t].parentLocale?(oe[t]=oe[t].parentLocale,t===ce()&&ce(t)):null!=oe[t]&&delete oe[t]),oe[t]},h.locales=function(){return A(oe)},h.weekdaysShort=function(t,e,i){return yi(t,e,i,"weekdaysShort")},h.normalizeUnits=U,h.relativeTimeRounding=function(t){return void 0===t?Ti:"function"==typeof t&&(Ti=t,!0)},h.relativeTimeThreshold=function(t,e){return void 0!==Ci[t]&&(void 0===e?Ci[t]:(Ci[t]=e,"s"===t&&(Ci.ss=e-1),!0))},h.calendarFormat=function(t,e){return(e=t.diff(e,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},h.prototype=rt,h.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},h}(),Un.exports);function Wn(t,{delay:e=0,duration:i=400,easing:n=p}={}){const r=+getComputedStyle(t).opacity;return{delay:e,duration:i,easing:n,css:t=>"opacity: "+t*r}}function jn(i){let n,e,r;return{c(){n=K("div"),n.innerHTML='<div class="ModalContainer" part="ModalContainer"><slot></slot></div>',nt(n,"class","ModalWindow"),nt(n,"part","ModalWindow"),nt(n,"id","Modal")},m(t,e){q(t,n,e),i[3](n),r=!0},p(t,e){i=t},i(t){r||(I(()=>{e=e||B(n,Wn,{transitionDuration:i[1]},!0),e.run(1)}),r=!0)},o(t){e=e||B(n,Wn,{transitionDuration:i[1]},!1),e.run(0),r=!1},d(t){t&&J(n),i[3](null),t&&e&&e.end()}}}function Bn(t){let i,n,r=t[0]&&jn(t);return{c(){i=K("div"),r&&r.c(),this.c=z},m(t,e){q(t,i,e),r&&r.m(i,null),n=!0},p(t,[e]){t[0]?r?(r.p(t,e),1&e&&Y(r,1)):(r=jn(t),r.c(),Y(r,1),r.m(i,null)):r&&(R={r:0,c:[],p:R},W(r,1,1,()=>{r=null}),R.r||Z(R.c),R=R.p)},i(t){n||(Y(r),n=!0)},o(t){W(r),n=!1},d(t){t&&J(i),r&&r.d()}}}function Hn(t,e,i){let n,{show:r=!1}=e,{duration:o=350}=e;const a=t=>{"ModalClosed"==t.data.type&&i(0,r=!1),"ShowLimitsConfirmationModal"===t.data.type&&(i(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href))};return $(()=>(window.addEventListener("message",a,!1),()=>{window.removeEventListener("message",a)})),t.$$set=t=>{"show"in t&&i(0,r=t.show),"duration"in t&&i(1,o=t.duration)},[r,o,void 0,function(t){s[t?"unshift":"push"](()=>{n=t,i(2,n)})}]}customElements.get("player-account-modal")||customElements.define("player-account-modal",class extends V{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}</style>",H(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Hn,Bn,i,{show:0,duration:1}),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),k()))}static get observedAttributes(){return["show","duration"]}get show(){return this.$$.ctx[0]}set show(t){this.$set({show:t}),k()}get duration(){return this.$$.ctx[1]}set duration(t){this.$set({duration:t}),k()}});const Vn={en:{modalText:{cancel:"Cancel",confirm:"Confirm"}},ro:{modalText:{cancel:"Anulează",confirm:"Confirmă"}}};function zn(i){let n,r,o,a,s,l,u,c,d,m,f,h,p,y,g=i[1]("modalText.cancel")+"",w=i[1]("modalText.confirm")+"",v=!i[2]&&function(i){let n,r,o;return{c(){n=K("span"),n.innerHTML='<slot name="close"><svg class="w-6 h-6" part="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',nt(n,"class","ModalCloseBtn"),nt(n,"part","ModalCloseBtn"),nt(n,"role","button")},m(t,e){q(t,n,e),r||(o=et(n,"click",i[3]),r=!0)},p:z,d(t){t&&J(n),r=!1,o()}}}(i);return{c(){n=K("div"),v&&v.c(),r=tt(),o=K("div"),a=K("div"),s=Q(i[0]),l=tt(),u=K("div"),c=K("button"),d=Q(g),m=tt(),f=K("button"),h=Q(w),this.c=z,nt(a,"class","GamingLimitsConfirmationContent"),nt(a,"part","GamingLimitsConfirmationContent"),nt(c,"class","GamingLimitsCancelButton"),nt(c,"part","GamingLimitsCancelButton"),nt(f,"class","GamingLimitsConfirmButton"),nt(f,"part","GamingLimitsConfirmButton"),nt(u,"class","GamingLimitsConfirmationControlArea"),nt(u,"part","GamingLimitsConfirmationControlArea"),nt(o,"class","GamingLimitsConfirmationContainer "+(i[2]?"GamingLimitsConfirmationContainerMobile":"")),nt(o,"part","GamingLimitsConfirmationContainer "+(i[2]?"GamingLimitsConfirmationContainerMobile":"")),nt(n,"class","GamingLimitsConfirmationWrapper "+(i[2]?"GamingLimitsConfirmationMobileWrapper":"")),nt(n,"part","GamingLimitsConfirmationWrapper "+(i[2]?"GamingLimitsConfirmationMobileWrapper":""))},m(t,e){q(t,n,e),v&&v.m(n,null),X(n,r),X(n,o),X(o,a),X(a,s),X(o,l),X(o,u),X(u,c),X(c,d),X(u,m),X(u,f),X(f,h),p||(y=[et(c,"click",i[5]),et(f,"click",i[4])],p=!0)},p(t,[e]){t[2]||v.p(t,e),1&e&&ot(s,t[0]),2&e&&g!==(g=t[1]("modalText.cancel")+"")&&ot(d,g),2&e&&w!==(w=t[1]("modalText.confirm")+"")&&ot(h,w)},i:z,o:z,d(t){t&&J(n),v&&v.d(),p=!1,Z(y)}}}function Zn(e,t,i){let n;F(e,An,t=>i(1,n=t));let{modaltext:r="Are you sure that you want to perform this action?"}=t,{modalsource:o=""}=t,{lang:a="en"}=t;Object.keys(Vn).forEach(t=>{ln(t,Vn[t])});let s=window.navigator.userAgent,l="PC"!==Sn(s),u={},c="";const d=t=>{t.data&&"DeleteLimitsItem"===t.data.type&&(u=t.data.removeData,t=t.data.removeName,c="Time Limit"===t?"cumulativeSessionLimits":"Deposit Limit"===t?"depositLimits":"Wagering Limit"===t?"wageringLimit":"lossLimit")};$(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)}));return e.$$set=t=>{"modaltext"in t&&i(0,r=t.modaltext),"modalsource"in t&&i(6,o=t.modalsource),"lang"in t&&i(7,a=t.lang)},e.$$.update=()=>{var t;193&e.$$.dirty&&r&&o&&a&&(t=a,wn.set(t))},[r,n,l,()=>{window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},()=>{"groupEdit"===o?window.postMessage({type:"GamingLimitsConfirmChanges"},window.location.href):"infoCard"===o&&window.postMessage({type:"PlayerAccountGamingLimitDelete",limit:u,name:c},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},()=>{"groupEdit"===o?window.postMessage({type:"CancelGamingLimitsChanges"},window.location.href):"infoCard"===o&&window.postMessage({type:"CancelGamingLimitsRemove"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},o,a]}function Xn(t,e,i){const n=t.slice();return n[54]=e[i],n[55]=e,n[50]=i,n}function qn(t,e,i){const n=t.slice();return n[48]=e[i],n}function Jn(t,e,i){const n=t.slice();return n[48]=e[i],n}function Kn(t,e,i){const n=t.slice();return n[48]=e[i],n[49]=e,n[50]=i,n}function Qn(t,e,i){const n=t.slice();return n[51]=e[i],n}function tr(t,e,i){const n=t.slice();return n[48]=e[i],n[50]=i,n}function er(t){let i,n,r,o=t[18]("editText.success")+"";return{c(){i=K("div"),n=K("p"),r=Q(o),nt(i,"class","AccountEditLimitSuccessfulChangeContainer"),nt(i,"part","AccountEditLimitSuccessfulChangeContainer")},m(t,e){q(t,i,e),X(i,n),X(n,r)},p(t,e){262144&e[0]&&o!==(o=t[18]("editText.success")+"")&&ot(r,o)},d(t){t&&J(i)}}}function ir(t){let i;function n(t){return t[11]?rr:nr}let r=n(t),o=r(t);return{c(){i=K("div"),o.c(),nt(i,"class","AccountEditLimitSuccessfulChangeContainer"),nt(i,"part","AccountEditLimitSuccessfulChangeContainer")},m(t,e){q(t,i,e),o.m(i,null)},p(t,e){r===(r=n(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(i,null)))},d(t){t&&J(i),o.d()}}}function nr(t){let i,n,r,o,a=t[18]("editText.remove")+"",s=(t[0].expiryDate?$n(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){i=K("p"),n=Q(a),r=tt(),o=Q(s)},m(t,e){q(t,i,e),X(i,n),X(i,r),X(i,o)},p(t,e){262144&e[0]&&a!==(a=t[18]("editText.remove")+"")&&ot(n,a),1&e[0]&&s!==(s=(t[0].expiryDate?$n(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(o,s)},d(t){t&&J(i)}}}function rr(e){let r,o=e[14],a=[];for(let t=0;t<o.length;t+=1)a[t]=ar(tr(e,o,t));return{c(){for(let t=0;t<a.length;t+=1)a[t].c();r=_()},m(e,i){for(let t=0;t<a.length;t+=1)a[t].m(e,i);q(e,r,i)},p(e,i){if(409600&i[0]){let t;for(o=e[14],t=0;t<o.length;t+=1){var n=tr(e,o,t);a[t]?a[t].p(n,i):(a[t]=ar(n),a[t].c(),a[t].m(r.parentNode,r))}for(;t<a.length;t+=1)a[t].d(1);a.length=o.length}},d(t){C(a,t),t&&J(r)}}}function or(t){let i,n,r,o,a=t[18]("editText.remove")+"",s=(t[48].expiryDate?$n(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){i=K("p"),n=Q(a),r=tt(),o=Q(s)},m(t,e){q(t,i,e),X(i,n),X(i,r),X(i,o)},p(t,e){262144&e[0]&&a!==(a=t[18]("editText.remove")+"")&&ot(n,a),16384&e[0]&&s!==(s=(t[48].expiryDate?$n(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(o,s)},d(t){t&&J(i)}}}function ar(t){let i,n=t[48].period==t[17][t[50]].periodName&&or(t);return{c(){n&&n.c(),i=_()},m(t,e){n&&n.m(t,e),q(t,i,e)},p(t,e){t[48].period==t[17][t[50]].periodName?n?n.p(t,e):(n=or(t),n.c(),n.m(i.parentNode,i)):n&&(n.d(1),n=null)},d(t){n&&n.d(t),t&&J(i)}}}function sr(t){let i;function n(t){return t[11]?ur:lr}let r=n(t),o=r(t);return{c(){i=K("div"),o.c(),nt(i,"class","AccountEditContent"),nt(i,"part","AccountEditContent")},m(t,e){q(t,i,e),o.m(i,null)},p(t,e){r===(r=n(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(i,null)))},d(t){t&&J(i),o.d()}}}function lr(r){let o,i,n,a,s,t,l,u,c,d=r[22],m=[];for(let t=0;t<d.length;t+=1)m[t]=cr(Jn(r,d,t));let f=r[17],h=[];for(let t=0;t<f.length;t+=1)h[t]=yr(Xn(r,f,t));return{c(){o=K("div"),i=K("div"),n=K("p"),n.textContent="Limit",a=tt(),s=K("select");for(let t=0;t<m.length;t+=1)m[t].c();l=tt();for(let t=0;t<h.length;t+=1)h[t].c();nt(n,"class","AccountEditLimitsTitle"),nt(n,"part","AccountEditLimitsTitle"),nt(s,"class","AccountEditField "+(r[19]?"TimeoutSelectMobile":"")),nt(s,"part","AccountEditField "+(r[19]?"TimeoutSelectMobile":"")),s.disabled=t=!0===r[14].isModified,void 0===r[14].period&&I(()=>r[30].call(s)),nt(i,"class","AccountEditLimitsSplitSection"),nt(i,"part","AccountEditLimitsSplitSection"),nt(o,"class","AccountEditLimitsContainer"),nt(o,"part","AccountEditLimitsContainer")},m(t,e){q(t,o,e),X(o,i),X(i,n),X(i,a),X(i,s);for(let t=0;t<m.length;t+=1)m[t].m(s,null);L(s,r[14].period),X(o,l);for(let t=0;t<h.length;t+=1)h[t].m(o,null);u||(c=[et(s,"change",r[30]),et(s,"change",function(){T(r[26](r[14],0,!1,r[16]))&&r[26](r[14],0,!1,r[16]).apply(this,arguments)})],u=!0)},p(e,i){if(r=e,4194304&i[0]){let t;for(d=r[22],t=0;t<d.length;t+=1){const e=Jn(r,d,t);m[t]?m[t].p(e,i):(m[t]=cr(e),m[t].c(),m[t].m(s,null))}for(;t<m.length;t+=1)m[t].d(1);m.length=d.length}if(4210688&i[0]&&t!==(t=!0===r[14].isModified)&&(s.disabled=t),4210688&i[0]&&L(s,r[14].period),70213649&i[0]){let t;for(f=r[17],t=0;t<f.length;t+=1){var n=Xn(r,f,t);h[t]?h[t].p(n,i):(h[t]=yr(n),h[t].c(),h[t].m(o,null))}for(;t<h.length;t+=1)h[t].d(1);h.length=f.length}},d(t){t&&J(o),C(m,t),C(h,t),u=!1,Z(c)}}}function ur(e){let r,o=e[14],a=[];for(let t=0;t<o.length;t+=1)a[t]=Cr(Kn(e,o,t));return{c(){r=K("div");for(let t=0;t<a.length;t+=1)a[t].c();nt(r,"class","AccountEditLimitsContainer"),nt(r,"part","AccountEditLimitsContainer")},m(t,e){q(t,r,e);for(let t=0;t<a.length;t+=1)a[t].m(r,null)},p(e,i){if(69161752&i[0]){let t;for(o=e[14],t=0;t<o.length;t+=1){var n=Kn(e,o,t);a[t]?a[t].p(n,i):(a[t]=Cr(n),a[t].c(),a[t].m(r,null))}for(;t<a.length;t+=1)a[t].d(1);a.length=o.length}},d(t){t&&J(r),C(a,t)}}}function cr(t){let i,n,e=t[48]+"";return{c(){i=K("option"),n=Q(e),i.__value=t[48],i.value=i.__value},m(t,e){q(t,i,e),X(i,n)},p:z,d(t){t&&J(i)}}}function dr(i){let n,r,o,a,s,l,u,c,d,m,f,h,p,y,g=i[18]("editText.amount")+"",w=i[18]("editText.noLimit")+"",v=i[21],_=[];for(let t=0;t<v.length;t+=1)_[t]=mr(qn(i,v,t));function b(){i[31].call(s,i[55],i[50])}let x="Custom"===i[54].amount&&fr(i),E=!0===i[14].isModified&&pr(i);return{c(){n=K("div"),r=K("p"),o=Q(g),a=tt(),s=K("select"),l=K("option"),u=Q(w);for(let t=0;t<_.length;t+=1)_[t].c();d=tt(),m=K("div"),x&&x.c(),f=tt(),E&&E.c(),h=tt(),nt(r,"class","AccountEditLimitsTitle"),nt(r,"part","AccountEditLimitsTitle"),l.__value="",l.value=l.__value,l.disabled=!0,l.selected=!0,l.hidden=!0,nt(s,"class","AccountEditField "+(i[19]?"TimeoutSelectMobile":"")),nt(s,"part","AccountEditField "+(i[19]?"TimeoutSelectMobile":"")),s.disabled=c=!0===i[14].isModified,void 0===i[54].amount&&I(b),nt(m,"class","AccountEditLimitsInputContainer"),nt(m,"part","AccountEditLimitsInputContainer"),nt(n,"class","AccountEditLimitsSplitSection"),nt(n,"part","AccountEditField "+(i[19]?"TimeoutSelectMobile":""))},m(t,e){q(t,n,e),X(n,r),X(r,o),X(n,a),X(n,s),X(s,l),X(l,u);for(let t=0;t<_.length;t+=1)_[t].m(s,null);L(s,i[54].amount),X(n,d),X(n,m),x&&x.m(m,null),X(m,f),E&&E.m(m,null),X(n,h),p||(y=[et(s,"change",b),et(s,"change",function(){T(i[26](i[54],0,!1,i[16]))&&i[26](i[54],0,!1,i[16]).apply(this,arguments)})],p=!0)},p(t,e){if(i=t,262144&e[0]&&g!==(g=i[18]("editText.amount")+"")&&ot(o,g),262144&e[0]&&w!==(w=i[18]("editText.noLimit")+"")&&ot(u,w),2097168&e[0]){let t;for(v=i[21],t=0;t<v.length;t+=1){const o=qn(i,v,t);_[t]?_[t].p(o,e):(_[t]=mr(o),_[t].c(),_[t].m(s,null))}for(;t<_.length;t+=1)_[t].d(1);_.length=v.length}4210688&e[0]&&c!==(c=!0===i[14].isModified)&&(s.disabled=c),2228224&e[0]&&L(s,i[54].amount),"Custom"===i[54].amount?x?x.p(i,e):(x=fr(i),x.c(),x.m(m,f)):x&&(x.d(1),x=null),!0===i[14].isModified?E?E.p(i,e):(E=pr(i),E.c(),E.m(m,null)):E&&(E.d(1),E=null)},d(t){t&&J(n),C(_,t),x&&x.d(),E&&E.d(),p=!1,Z(y)}}}function mr(t){let i,n,r,e=t[48]+"",o="No limit"!==t[48]&&"Custom"!==t[48]&&function(t){let i;return{c(){i=Q(t[4])},m(t,e){q(t,i,e)},p(t,e){16&e[0]&&ot(i,t[4])},d(t){t&&J(i)}}}(t);return{c(){i=K("option"),n=Q(e),r=tt(),o&&o.c(),i.__value=t[48],i.value=i.__value},m(t,e){q(t,i,e),X(i,n),X(i,r),o&&o.m(i,null)},p(t,e){"No limit"!==t[48]&&"Custom"!==t[48]&&o.p(t,e)},d(t){t&&J(i),o&&o.d()}}}function fr(i){let n,r,o,a,s,l;function u(){i[32].call(n,i[55],i[50])}let c=!0===i[13]&&hr(i);return{c(){n=K("input"),o=tt(),c&&c.c(),a=_(),nt(n,"type","number"),nt(n,"class","AccountEditField AccountEditFieldCustom"),nt(n,"part","AccountEditField AccountEditFieldCustom"),n.disabled=r=!0===i[14].isModified},m(t,e){q(t,n,e),f(n,i[54].value),q(t,o,e),c&&c.m(t,e),q(t,a,e),s||(l=[et(n,"keyup",function(){T(i[26](i[54],0,!1,i[16]))&&i[26](i[54],0,!1,i[16]).apply(this,arguments)}),et(n,"input",u)],s=!0)},p(t,e){i=t,4210688&e[0]&&r!==(r=!0===i[14].isModified)&&(n.disabled=r),2228224&e[0]&&U(n.value)!==i[54].value&&f(n,i[54].value),!0===i[13]?c?c.p(i,e):(c=hr(i),c.c(),c.m(a.parentNode,a)):c&&(c.d(1),c=null)},d(t){t&&J(n),t&&J(o),c&&c.d(t),t&&J(a),s=!1,Z(l)}}}function hr(t){let i,n,r,o=t[18]("editText.invalidInputMessageLimit")+"";return{c(){i=K("p"),n=K("span"),r=Q(o),nt(n,"class","InvalidInput InvalidSingleRow"),nt(n,"part","InvalidInput InvalidSingleRow"),nt(i,"class","AccountEditWarningText"),nt(i,"part","AccountEditWarningText")},m(t,e){q(t,i,e),X(i,n),X(n,r)},p(t,e){262144&e[0]&&o!==(o=t[18]("editText.invalidInputMessageLimit")+"")&&ot(r,o)},d(t){t&&J(i)}}}function pr(t){let i,n,r,o,a,s,l,u,c,d,m,f,h,p,y,g,w=t[18]("editText.expirationDate")+"",v=(t[0].expiryDate?$n(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",_=t[18]("editText.changedLimitTextBefore")+"",b=(0<t[0].updateAmount?t[0].updateAmount:0)+"",x=t[18]("editText.changedLimitTextAfter")+"";return{c(){i=K("p"),n=Q(w),r=tt(),o=K("span"),a=Q(v),s=tt(),l=K("div"),u=K("p"),c=K("span"),c.textContent="i",d=K("span"),m=Q(_),f=tt(),h=Q(b),p=tt(),y=Q(t[4]),g=Q(x),nt(i,"class","AccountEditLimitsExpiryDate"),nt(i,"part","AccountEditLimitsExpiryDate"),nt(c,"class","AccountEditLimitChangePeriodIcon"),nt(c,"part","AccountEditLimitChangePeriodIcon"),nt(l,"class","AccountEditLimitsPeriodChangeContainer"),nt(l,"part","AccountEditLimitsPeriodChangeContainer")},m(t,e){q(t,i,e),X(i,n),X(i,r),X(i,o),X(o,a),q(t,s,e),q(t,l,e),X(l,u),X(u,c),X(u,d),X(d,m),X(d,f),X(d,h),X(d,p),X(d,y),X(d,g)},p(t,e){262144&e[0]&&w!==(w=t[18]("editText.expirationDate")+"")&&ot(n,w),1&e[0]&&v!==(v=(t[0].expiryDate?$n(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(a,v),262144&e[0]&&_!==(_=t[18]("editText.changedLimitTextBefore")+"")&&ot(m,_),1&e[0]&&b!==(b=(0<t[0].updateAmount?t[0].updateAmount:0)+"")&&ot(h,b),16&e[0]&&ot(y,t[4]),262144&e[0]&&x!==(x=t[18]("editText.changedLimitTextAfter")+"")&&ot(g,x)},d(t){t&&J(i),t&&J(s),t&&J(l)}}}function yr(t){let i,n=t[14].period===t[54].periodName&&dr(t);return{c(){n&&n.c(),i=_()},m(t,e){n&&n.m(t,e),q(t,i,e)},p(t,e){t[14].period===t[54].periodName?n?n.p(t,e):(n=dr(t),n.c(),n.m(i.parentNode,i)):n&&(n.d(1),n=null)},d(t){n&&n.d(t),t&&J(i)}}}function gr(i){let n,r,o,a,s,l,u,c,d,m,f=i[18]("editText.noLimit")+"",h=i[20][i[50]].values,p=[];for(let t=0;t<h.length;t+=1)p[t]=wr(Qn(i,h,t));function y(){i[27].call(n,i[50])}let g="Custom"===i[17][i[50]].amount&&vr(i),w=!0===i[48].isModified&&Tr(i);return{c(){n=K("select"),r=K("option"),o=Q(f);for(let t=0;t<p.length;t+=1)p[t].c();s=tt(),l=K("div"),g&&g.c(),u=tt(),w&&w.c(),c=_(),r.__value="",r.value=r.__value,r.disabled=!0,r.selected=!0,r.hidden=!0,nt(n,"class","AccountEditField "+(i[19]?"TimeoutSelectMobile":"")),nt(n,"part","AccountEditField "+(i[19]?"TimeoutSelectMobile":"")),n.disabled=a=!0===i[48].isModified,void 0===i[17][i[50]].amount&&I(y),nt(l,"class","AccountEditLimitsInputContainer"),nt(l,"part","AccountEditLimitsInputContainer")},m(t,e){q(t,n,e),X(n,r),X(r,o);for(let t=0;t<p.length;t+=1)p[t].m(n,null);L(n,i[17][i[50]].amount),q(t,s,e),q(t,l,e),g&&g.m(l,null),q(t,u,e),w&&w.m(t,e),q(t,c,e),d||(m=[et(n,"change",y),et(n,"change",function(){T(i[26](i[17][i[50]],i[50],!1,i[16]))&&i[26](i[17][i[50]],i[50],!1,i[16]).apply(this,arguments)})],d=!0)},p(t,e){if(i=t,262144&e[0]&&f!==(f=i[18]("editText.noLimit")+"")&&ot(o,f),1048600&e[0]){let t;for(h=i[20][i[50]].values,t=0;t<h.length;t+=1){const o=Qn(i,h,t);p[t]?p[t].p(o,e):(p[t]=wr(o),p[t].c(),p[t].m(n,null))}for(;t<p.length;t+=1)p[t].d(1);p.length=h.length}4210688&e[0]&&a!==(a=!0===i[48].isModified)&&(n.disabled=a),2228224&e[0]&&L(n,i[17][i[50]].amount),"Custom"===i[17][i[50]].amount?g?g.p(i,e):(g=vr(i),g.c(),g.m(l,null)):g&&(g.d(1),g=null),!0===i[48].isModified?w?w.p(i,e):(w=Tr(i),w.c(),w.m(c.parentNode,c)):w&&(w.d(1),w=null)},d(t){t&&J(n),C(p,t),t&&J(s),t&&J(l),g&&g.d(),t&&J(u),w&&w.d(t),t&&J(c),d=!1,Z(m)}}}function wr(t){let i,n,r,e=t[51]+"",o="No limit"!==t[51]&&"Custom"!==t[51]&&function(){let i,n=("Time Limit"!==t[3]?t[4]:" minutes")+"";return{c(){i=Q(n)},m(t,e){q(t,i,e)},p(t,e){24&e[0]&&n!==(n=("Time Limit"!==t[3]?t[4]:" minutes")+"")&&ot(i,n)},d(t){t&&J(i)}}}();return{c(){i=K("option"),n=Q(e),r=tt(),o&&o.c(),i.__value=t[51],i.value=i.__value},m(t,e){q(t,i,e),X(i,n),X(i,r),o&&o.m(i,null)},p(t,e){"No limit"!==t[51]&&"Custom"!==t[51]&&o.p(t,e)},d(t){t&&J(i),o&&o.d()}}}function vr(t){let i;function n(t){return"Deposit Limit"===t[3]?br:_r}let r=n(t),o=r(t);return{c(){o.c(),i=_()},m(t,e){o.m(t,e),q(t,i,e)},p(t,e){r===(r=n(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(i.parentNode,i)))},d(t){o.d(t),t&&J(i)}}}function _r(i){let n,r,o,a,s,l;function u(){i[29].call(n,i[50])}let c=1==i[12][i[50]]&&xr(i);return{c(){n=K("input"),o=tt(),a=K("p"),c&&c.c(),nt(n,"type","number"),nt(n,"class","AccountEditField AccountEditFieldCustom"),nt(n,"part","AccountEditField AccountEditFieldCustom"),n.disabled=r=!0===i[48].isModified,nt(a,"class","AccountEditWarningText"),nt(a,"part","AccountEditWarningText")},m(t,e){q(t,n,e),f(n,i[17][i[50]].value),q(t,o,e),q(t,a,e),c&&c.m(a,null),s||(l=[et(n,"keyup",function(){T(i[26](i[17][i[50]],i[50],!0,i[16]))&&i[26](i[17][i[50]],i[50],!0,i[16]).apply(this,arguments)}),et(n,"input",u)],s=!0)},p(t,e){i=t,4210688&e[0]&&r!==(r=!0===i[48].isModified)&&(n.disabled=r),2228224&e[0]&&U(n.value)!==i[17][i[50]].value&&f(n,i[17][i[50]].value),1==i[12][i[50]]?c?c.p(i,e):(c=xr(i),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(t){t&&J(n),t&&J(o),t&&J(a),c&&c.d(),s=!1,Z(l)}}}function br(i){let n,r,o,a,s,l;function u(){i[28].call(n,i[50])}let c=1==i[12][i[50]]&&Er(i);return{c(){n=K("input"),o=tt(),a=K("p"),c&&c.c(),nt(n,"type","number"),nt(n,"class","AccountEditField AccountEditFieldCustom"),nt(n,"part","AccountEditField AccountEditFieldCustom"),n.disabled=r=!0===i[48].isModified,nt(a,"class","AccountEditWarningText"),nt(a,"part","AccountEditWarningText")},m(t,e){q(t,n,e),f(n,i[17][i[50]].value),q(t,o,e),q(t,a,e),c&&c.m(a,null),s||(l=[et(n,"keyup",function(){T(i[26](i[17][i[50]],i[50],!1,i[16]))&&i[26](i[17][i[50]],i[50],!1,i[16]).apply(this,arguments)}),et(n,"input",u)],s=!0)},p(t,e){i=t,4210688&e[0]&&r!==(r=!0===i[48].isModified)&&(n.disabled=r),2228224&e[0]&&U(n.value)!==i[17][i[50]].value&&f(n,i[17][i[50]].value),1==i[12][i[50]]?c?c.p(i,e):(c=Er(i),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(t){t&&J(n),t&&J(o),t&&J(a),c&&c.d(),s=!1,Z(l)}}}function xr(t){let i,n,r=t[18]("editText.invalidInputMessageTime",{values:{minTime:t[8],maxTime:t[9]}})+"";return{c(){i=K("p"),n=Q(r),nt(i,"class","InvalidInput"),nt(i,"part","InvalidInput")},m(t,e){q(t,i,e),X(i,n)},p(t,e){262912&e[0]&&r!==(r=t[18]("editText.invalidInputMessageTime",{values:{minTime:t[8],maxTime:t[9]}})+"")&&ot(n,r)},d(t){t&&J(i)}}}function Er(t){let i,n,r=t[18]("editText.invalidInputMessageLimit")+"";return{c(){i=K("p"),n=Q(r),nt(i,"class","InvalidInput"),nt(i,"part","InvalidInput")},m(t,e){q(t,i,e),X(i,n)},p(t,e){262144&e[0]&&r!==(r=t[18]("editText.invalidInputMessageLimit")+"")&&ot(n,r)},d(t){t&&J(i)}}}function Tr(t){let i,n,r,o,a,s,l,u,c,d,m,f,h,p,y,g,w=t[18]("editText.expirationDate")+"",v=(t[48].expiryDate?$n(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",_=t[18]("editText.changedLimitTextBefore")+"",b=(0<t[48].updateAmount?t[48].updateAmount:0)+"",x=(void 0!==t[48].minutes?" minutes":t[4])+"",E=t[18]("editText.changedLimitTextAfter")+"";return{c(){i=K("p"),n=Q(w),r=tt(),o=K("span"),a=Q(v),s=tt(),l=K("div"),u=K("p"),c=K("span"),c.textContent="i",d=K("span"),m=Q(_),f=tt(),h=Q(b),p=tt(),y=Q(x),g=Q(E),nt(i,"class","AccountEditLimitsExpiryDate"),nt(i,"part","AccountEditLimitsExpiryDate"),nt(c,"class","AccountEditLimitChangePeriodIcon"),nt(c,"part","AccountEditLimitChangePeriodIcon"),nt(l,"class","AccountEditLimitsPeriodChangeContainer"),nt(l,"part","AccountEditLimitsPeriodChangeContainer")},m(t,e){q(t,i,e),X(i,n),X(i,r),X(i,o),X(o,a),q(t,s,e),q(t,l,e),X(l,u),X(u,c),X(u,d),X(d,m),X(d,f),X(d,h),X(d,p),X(d,y),X(d,g)},p(t,e){262144&e[0]&&w!==(w=t[18]("editText.expirationDate")+"")&&ot(n,w),16384&e[0]&&v!==(v=(t[48].expiryDate?$n(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(a,v),262144&e[0]&&_!==(_=t[18]("editText.changedLimitTextBefore")+"")&&ot(m,_),16384&e[0]&&b!==(b=(0<t[48].updateAmount?t[48].updateAmount:0)+"")&&ot(h,b),16400&e[0]&&x!==(x=(void 0!==t[48].minutes?" minutes":t[4])+"")&&ot(y,x),262144&e[0]&&E!==(E=t[18]("editText.changedLimitTextAfter")+"")&&ot(g,E)},d(t){t&&J(i),t&&J(s),t&&J(l)}}}function Cr(t){let i,n,r,o,a,s=t[48].period+"",l=t[48].period==t[17][t[50]].periodName&&gr(t);return{c(){i=K("div"),n=K("p"),r=Q(s),o=tt(),l&&l.c(),a=tt(),nt(n,"class","AccountEditLimitsTitle"),nt(n,"part","AccountEditLimitsTitle"),nt(i,"class","AccountEditLimitsBox"),nt(i,"part","AccountEditLimitsBox")},m(t,e){q(t,i,e),X(i,n),X(n,r),X(i,o),l&&l.m(i,null),X(i,a)},p(t,e){16384&e[0]&&s!==(s=t[48].period+"")&&ot(r,s),t[48].period==t[17][t[50]].periodName?l?l.p(t,e):(l=gr(t),l.c(),l.m(i,a)):l&&(l.d(1),l=null)},d(t){t&&J(i),l&&l.d()}}}function Lr(i){let n,r,o,a,s,l,u,c,d,m,f,h,p,y,g,w,v,_,b,x,E,T,C,L,M,A,S,I,D,k,P,N,O,R,Y,F,U,G=i[18]("editText.back")+"",$=(i[0]?i[3]:"")+"",W=i[18]("editText.save")+"",j=i[19]&&function(i){let n,r,o,a,s,l,u,c,d,m,f,h,p,y=i[18]("editText.back")+"";return{c(){n=K("div"),r=e("svg"),o=e("defs"),a=e("style"),s=Q(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),l=e("g"),u=e("g"),c=e("path"),d=tt(),m=K("h2"),f=Q(y),nt(c,"class","aaa"),nt(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),nt(c,"transform","translate(15 15) rotate(180)"),nt(u,"transform","translate(20 158)"),nt(l,"transform","translate(-20 -158)"),nt(r,"xmlns","http://www.w3.org/2000/svg"),nt(r,"width","15"),nt(r,"height","15"),nt(r,"viewBox","0 0 15 15"),nt(m,"class","MyAccountCategoryTitleMobile"),nt(m,"part","MyAccountCategoryTitleMobile"),nt(n,"class","MenuReturnButton"),nt(n,"part","MenuReturnButton")},m(t,e){q(t,n,e),X(n,r),X(r,o),X(o,a),X(a,s),X(r,l),X(l,u),X(u,c),X(n,d),X(n,m),X(m,f),h||(p=et(n,"click",i[24]),h=!0)},p(t,e){262144&e[0]&&y!==(y=t[18]("editText.back")+"")&&ot(f,y)},d(t){t&&J(n),h=!1,p()}}}(i),B=i[1]&&er(i),H=i[2]&&ir(i),V=i[7]&&sr(i);return{c(){n=K("div"),j&&j.c(),r=tt(),o=K("div"),a=e("svg"),s=e("defs"),l=e("style"),u=Q(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),c=e("g"),d=e("g"),m=e("path"),f=tt(),h=K("h2"),p=Q(G),y=tt(),g=K("div"),w=K("h6"),v=Q($),_=tt(),b=K("div"),x=K("span"),x.textContent="i",E=tt(),T=K("player-account-gaming-limits-popup"),C=tt(),B&&B.c(),L=tt(),H&&H.c(),M=tt(),V&&V.c(),A=tt(),S=K("div"),I=K("button"),D=Q(W),O=tt(),R=K("player-account-modal"),Y=K("player-account-gaming-limits-confirmation-modal"),this.c=z,nt(m,"class","aaa"),nt(m,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),nt(m,"transform","translate(15 15) rotate(180)"),nt(d,"transform","translate(20 158)"),nt(c,"transform","translate(-20 -158)"),nt(a,"xmlns","http://www.w3.org/2000/svg"),nt(a,"width","15"),nt(a,"height","15"),nt(a,"viewBox","0 0 15 15"),nt(h,"class","MyAccountCategoryTitle "+(i[19]?"MyAccountCategoryTitleNone":"")),nt(h,"part","MyAccountCategoryTitle "+(i[19]?"MyAccountCategoryTitleNone":"")),nt(o,"class","MenuReturnButton "+(i[19]?"MyAccountCategoryTitleNone":"")),nt(o,"part","MenuReturnButton "+(i[19]?"MyAccountCategoryTitleNone":"")),nt(x,"class","AccountEditLimitsIcon"),nt(x,"part","AccountEditLimitsIcon"),rt(T,"showpopup",i[6]),rt(T,"lang",i[5]),nt(b,"class","AccountEditLimitsIconWrapper"),nt(b,"part","AccountEditLimitsIconWrapper"),nt(g,"class","AccountEditLimitsHeader"),nt(g,"part","AccountEditLimitsHeader"),nt(I,"class",k="AccountEditLimitsSaveButton "+(i[15]?"":"AccountEditLimitsButtonDisabled")),nt(I,"part",P="AccountEditLimitsSaveButton "+(i[15]?"":"AccountEditLimitsButtonDisabled")),I.disabled=N=!i[15],nt(S,"class","AccountEditLimitsControlArea"),nt(S,"part","AccountEditLimitsControlArea"),nt(n,"class","AccountEditLimitsWrapper "+(i[19]?"AccountEditLimitsMobileWrapper":"")),rt(Y,"modaltext",i[10]),rt(Y,"modalsource","groupEdit"),rt(Y,"lang",i[5])},m(t,e){q(t,n,e),j&&j.m(n,null),X(n,r),X(n,o),X(o,a),X(a,s),X(s,l),X(l,u),X(a,c),X(c,d),X(d,m),X(o,f),X(o,h),X(h,p),X(n,y),X(n,g),X(g,w),X(w,v),X(g,_),X(g,b),X(b,x),X(b,E),X(b,T),X(n,C),B&&B.m(n,null),X(n,L),H&&H.m(n,null),X(n,M),V&&V.m(n,null),X(n,A),X(n,S),X(S,I),X(I,D),q(t,O,e),q(t,R,e),X(R,Y),F||(U=[et(o,"click",i[24]),et(x,"click",it(i[23])),et(I,"click",i[33])],F=!0)},p(t,e){t[19]&&j.p(t,e),262144&e[0]&&G!==(G=t[18]("editText.back")+"")&&ot(p,G),9&e[0]&&$!==($=(t[0]?t[3]:"")+"")&&ot(v,$),64&e[0]&&rt(T,"showpopup",t[6]),32&e[0]&&rt(T,"lang",t[5]),t[1]?B?B.p(t,e):(B=er(t),B.c(),B.m(n,L)):B&&(B.d(1),B=null),t[2]?H?H.p(t,e):(H=ir(t),H.c(),H.m(n,M)):H&&(H.d(1),H=null),t[7]?V?V.p(t,e):(V=sr(t),V.c(),V.m(n,A)):V&&(V.d(1),V=null),262144&e[0]&&W!==(W=t[18]("editText.save")+"")&&ot(D,W),32768&e[0]&&k!==(k="AccountEditLimitsSaveButton "+(t[15]?"":"AccountEditLimitsButtonDisabled"))&&nt(I,"class",k),32768&e[0]&&P!==(P="AccountEditLimitsSaveButton "+(t[15]?"":"AccountEditLimitsButtonDisabled"))&&nt(I,"part",P),32768&e[0]&&N!==(N=!t[15])&&(I.disabled=N),1024&e[0]&&rt(Y,"modaltext",t[10]),32&e[0]&&rt(Y,"lang",t[5])},i:z,o:z,d(t){t&&J(n),j&&j.d(),B&&B.d(),H&&H.d(),V&&V.d(),t&&J(O),t&&J(R),F=!1,Z(U)}}}function Mr(t,e,o){let i;F(t,An,t=>o(18,i=t));let{limitsdata:n=[]}=e,{showsuccessnotification:r=!1}=e,{showdeletenotification:a=!1}=e,{limitname:s=""}=e,{playercurrency:l=""}=e,{lang:u="en"}=e;Object.keys(Fn).forEach(t=>{ln(t,Fn[t])});let c=!1,d=!0,m=!1,f=0,h=0,p="",y=window.navigator.userAgent,g="PC"!==Sn(y),w=!1,v=new Array(3).fill(0),_=!1,b={},x=[],E=!1,T=[];const C={amount:/^[0-9]{0,7}$/,time:/^[1-9]\d*$/};let L=[{periodName:"Daily",amount:"No limit",value:0},{periodName:"Weekly",amount:"No limit",value:0},{periodName:"Monthly",amount:"No limit",value:0}],M=[{periodName:"Daily",values:["10000","20000","50000","Custom"]},{periodName:"Weekly",values:["10000","50000","100000","Custom"]},{periodName:"Monthly",values:["50000","100000","200000","Custom"]}],A=["50000","100000","200000","Custom"],S=["5000","50000","200000","Custom"],I=[{periodName:"Daily",values:["500","1000","1430","Custom"]},{periodName:"Weekly",values:["5000","7000","10000","Custom"]},{periodName:"Monthly",values:["20000","30000","43000","Custom"]}],D=["Daily","Weekly","Monthly"];const k=()=>{window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href)},P=(i,e)=>{if(w){let t=JSON.parse(JSON.stringify(e));L.forEach(e=>{t.forEach(t=>{e.periodName==i.periodName&&("Custom"!==e.amount&&"No limit"!==e.amount?e.value=JSON.parse(e.amount):"No limit"===e.amount&&(e.value=0)),t.period===e.periodName&&(t.amount=e.value)})})}else L.forEach(t=>{t.periodName===i.periodName&&("Custom"!==t.amount&&"No limit"!==t.amount?t.value=JSON.parse(t.amount):"No limit"===t.amount&&(t.value=0))})},N=(t,e,i,n)=>{let r=n?t.values:t;e.amount&&"No limit"!==e.amount?r.includes(JSON.stringify(e.amount))?i.forEach(t=>{t.periodName===e.period&&(t.amount=JSON.stringify(e.amount),t.value=e.amount)}):i.forEach(t=>{t.periodName===e.period&&(t.amount="Custom",t.value=e.amount)}):i.forEach(t=>{t.periodName===e.period&&(t.amount=e.amount,t.value=0)})},O=e=>{x.forEach(t=>{e.period===t.periodName&&("Time Limit"===s&&(o(8,f=60),"Daily"===e.periodName?o(9,h=1440):"Weekly"==e.periodName?o(9,h=10080):o(9,h=43200)),-1<t.values.indexOf(e.amount)&&("No limit"===e.amount?e.amount=0:e.amount=JSON.parse(e.amount)))})},R=()=>{var t=u;wn.set(t),t="Time Limit"===s?"time limit":"Deposit Limit"===s?"deposit limit":"Wagering Limit"===s?"wagering limit":"loss limit",o(10,p=i("editText.changeLimitsText",{values:{limit:t}})),o(11,w=Array.isArray(n)),o(16,T=JSON.parse(JSON.stringify(n))),o(14,b=JSON.parse(JSON.stringify(n))),x="Wagering Limit"===s?A:"Loss Limit"===s?S:"Deposit Limit"===s?M:"Time Limit"===s?I:[],w?(T.forEach(t=>{O(t)}),b.forEach(e=>{x.forEach(t=>{e.period===t.periodName&&N(t,e,L,!0)})})):(O(T),N(x,b,L,!1))},Y=t=>{if(t.data)switch(t.data.type){case"ClosePlayerAccountGamingLimitsPopup":o(6,c=!1);break;case"GamingLimitsConfirmChanges":m=!0,(()=>{if(m){if(w?"Time Limit"===s?L.forEach(e=>{b.forEach(t=>{t.period===e.periodName&&(t.minutes=e.value)})}):L.forEach(e=>{b.forEach(t=>{t.period===e.periodName&&(t.amount=e.value)})}):L.forEach(t=>{b.period===t.periodName&&o(14,b.amount=t.value,b)}),w){let e={};"Deposit Limit"===s?(e={depositLimits:[]},b.forEach(t=>{e.depositLimits.push(t)})):(e={cumulativeSessionLimits:[]},b.forEach(t=>{e.cumulativeSessionLimits.push(t)})),window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:e,limitsCategory:"Time Limit"===s?"cumulativeSessionLimits":"depositLimits"},window.location.href)}else window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:b,limitsCategory:"Wagering Limit"===s?"wageringLimit":"lossLimit"},window.location.href);o(15,E=!1)}})();break;case"CancelGamingLimitsChanges":o(7,d=!1),setTimeout(()=>{o(7,d=!0)},10),R(),o(15,E=!1),m=!1}};return $(()=>(window.addEventListener("message",Y,!1),()=>{window.removeEventListener("message",Y)})),t.$$set=t=>{"limitsdata"in t&&o(0,n=t.limitsdata),"showsuccessnotification"in t&&o(1,r=t.showsuccessnotification),"showdeletenotification"in t&&o(2,a=t.showdeletenotification),"limitname"in t&&o(3,s=t.limitname),"playercurrency"in t&&o(4,l=t.playercurrency),"lang"in t&&o(5,u=t.lang)},t.$$.update=()=>{6&t.$$.dirty[0]&&r&&a&&R(),33&t.$$.dirty[0]&&n&&u&&R()},[n,r,a,s,l,u,c,d,f,h,p,w,v,_,b,E,T,L,i,g,M,S,D,()=>{o(6,c=!0)},()=>{window.postMessage({type:"PlayerAccountBackToLimitsView"},window.location.href)},k,(t,e,i,n)=>{var r;w?"Custom"===t.amount?"Time Limit"==s?(o(8,f=60),"Daily"===t.periodName?o(9,h=1440):"Weekly"==t.periodName?o(9,h=10080):o(9,h=43200),t.value&&C.time.test(t.value)&&t.value>f&&t.value<=h?(o(12,v[e]=0,v),r=n[e],t.periodName==r.period&&t.value==r.amount?(o(15,E=!1),P(t,n)):o(15,E=!0)):(o(12,v[e]=1,v),o(15,E=!1))):t.value&&C.amount.test(t.value)?(o(12,v[e]=0,v),t.periodName==n[e].period&&t.value==n[e].amount?(o(15,E=!!E),P(t,n)):o(15,E=!0),L.forEach(t=>{0==t.value&&o(15,E=!1)})):(o(12,v[e]=1,v),o(15,E=!1)):(t.periodName==n[e].period?(P(t,n),o(15,E=t.value!=n[e].amount)):o(15,E=!0),L.forEach(t=>{0==t.value&&o(15,E=!1)})):b.period!=n.period?(o(15,E=!0),"Custom"==t.amount&&(t.value&&C.amount.test(t.value)?(o(13,_=!1),b.period==n.period&&t.value==n.amount?(o(15,E=!1),P(t,n)):o(15,E=!0)):(o(13,_=!0),o(15,E=!1)))):"Custom"===t.amount?t.value&&C.amount.test(t.value)?(o(13,_=!1),b.period==n.period&&t.value==n.amount?(o(15,E=!!E),P(t,n)):o(15,E=!0)):(o(13,_=!0),o(15,E=!1)):b.period==n.period?(P(t,n),o(15,E=t.value!=n.amount)):o(15,E=!0)},function(t){L[t].amount=G(this),o(17,L),o(21,S)},function(t){L[t].value=U(this.value),o(17,L),o(21,S)},function(t){L[t].value=U(this.value),o(17,L),o(21,S)},function(){b.period=G(this),o(14,b),o(22,D)},function(t,e){t[e].amount=G(this),o(17,L),o(21,S)},function(t,e){t[e].value=U(this.value),o(17,L),o(21,S)},()=>k()]}function Ar(t,e,i){const n=t.slice();return n[33]=e[i],n[35]=i,n}function Sr(t,e,i){const n=t.slice();return n[33]=e[i],n[35]=i,n}function Ir(t){let i,n,r,o,a,s,l,u,c,d,m,f,h,p,y,g,w,v=(t[0]?t[0].period:"")+"",_=(t[0]?t[0].amount:0)+"",b=(t[0]?t[0].currency:"")+"",x=t[11]("cardText.expirationDate")+"",E=(t[0]&&t[0].expiryDate?($n(t[0].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):$n(t[0].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){i=K("div"),n=K("div"),r=K("div"),o=Q(v),a=tt(),s=K("div"),l=Q(_),u=tt(),c=K("span"),d=Q(b),m=tt(),f=K("div"),h=K("div"),p=Q(x),y=tt(),g=K("div"),w=Q(E),nt(r,"class","InfoCardRowTitle"),nt(r,"part","InfoCardRowTitle"),nt(c,"class","InfoCardCurrency"),nt(c,"part","InfoCardCurrency"),nt(s,"class","InfoCardRowValue"),nt(s,"part","InfoCardRowValue"),nt(n,"class","InfoCardRow InfoMainRow"),nt(n,"part","InfoCardRow InfoMainRow"),nt(h,"class","InfoCardRowTitle"),nt(h,"part","InfoCardRowTitle"),nt(g,"class","InfoCardRowValue"),nt(g,"part","InfoCardRowValue"),nt(f,"class","InfoCardRow"),nt(f,"part","InfoCardRow"),nt(i,"class","InfoCardBox"),nt(i,"part","InfoCardBox")},m(t,e){q(t,i,e),X(i,n),X(n,r),X(r,o),X(n,a),X(n,s),X(s,l),X(s,u),X(s,c),X(c,d),X(i,m),X(i,f),X(f,h),X(h,p),X(f,y),X(f,g),X(g,w)},p(t,e){1&e[0]&&v!==(v=(t[0]?t[0].period:"")+"")&&ot(o,v),1&e[0]&&_!==(_=(t[0]?t[0].amount:0)+"")&&ot(l,_),1&e[0]&&b!==(b=(t[0]?t[0].currency:"")+"")&&ot(d,b),2048&e[0]&&x!==(x=t[11]("cardText.expirationDate")+"")&&ot(p,x),1&e[0]&&E!==(E=(t[0]&&t[0].expiryDate?($n(t[0].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):$n(t[0].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(w,E)},d(t){t&&J(i)}}}function Dr(t){let i;function n(t){return"Time Limit"===t[1]?Pr:kr}let r=n(t),o=r(t);return{c(){o.c(),i=_()},m(t,e){o.m(t,e),q(t,i,e)},p(t,e){r===(r=n(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(i.parentNode,i)))},d(t){o.d(t),t&&J(i)}}}function kr(e){let r,o=e[0],a=[];for(let t=0;t<o.length;t+=1)a[t]=Fr(Ar(e,o,t));return{c(){for(let t=0;t<a.length;t+=1)a[t].c();r=_()},m(e,i){for(let t=0;t<a.length;t+=1)a[t].m(e,i);q(e,r,i)},p(e,i){if(210975&i[0]){let t;for(o=e[0],t=0;t<o.length;t+=1){var n=Ar(e,o,t);a[t]?a[t].p(n,i):(a[t]=Fr(n),a[t].c(),a[t].m(r.parentNode,r))}for(;t<a.length;t+=1)a[t].d(1);a.length=o.length}},d(t){C(a,t),t&&J(r)}}}function Pr(e){let r,o=e[0],a=[];for(let t=0;t<o.length;t+=1)a[t]=Vr(Sr(e,o,t));return{c(){for(let t=0;t<a.length;t+=1)a[t].c();r=_()},m(e,i){for(let t=0;t<a.length;t+=1)a[t].m(e,i);q(e,r,i)},p(e,i){if(210971&i[0]){let t;for(o=e[0],t=0;t<o.length;t+=1){var n=Sr(e,o,t);a[t]?a[t].p(n,i):(a[t]=Vr(n),a[t].c(),a[t].m(r.parentNode,r))}for(;t<a.length;t+=1)a[t].d(1);a.length=o.length}},d(t){C(a,t),t&&J(r)}}}function Nr(t){let i,n,r=t[11]("cardText.notAvailable")+"";return{c(){i=K("div"),n=Q(r),nt(i,"class","InfoCardRowValue"),nt(i,"part","InfoCardRowValue")},m(t,e){q(t,i,e),X(i,n)},p(t,e){2048&e[0]&&r!==(r=t[11]("cardText.notAvailable")+"")&&ot(n,r)},d(t){t&&J(i)}}}function Or(t){let i,n,r=(t[33]?($n(t[33].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):$n(t[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){i=K("div"),n=Q(r),nt(i,"class","InfoCardRowValue"),nt(i,"part","InfoCardRowValue")},m(t,e){q(t,i,e),X(i,n)},p(t,e){1&e[0]&&r!==(r=(t[33]?($n(t[33].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):$n(t[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(n,r)},d(t){t&&J(i)}}}function Rr(i){let n,r,o,a,s,l,u,c;function d(){return i[20](i[35])}return{c(){n=K("div"),r=K("span"),r.textContent="i",o=tt(),a=K("player-account-gaming-limits-popup"),nt(r,"class","InfoCardIcon"),nt(r,"part","InfoCardIcon"),rt(a,"showpopup",s=i[4][i[35]+1]),rt(a,"iteminfoamount",l=i[33].updateAmount),rt(a,"playercurrency",i[2]),rt(a,"lang",i[3]),nt(n,"class","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":"")),nt(n,"part","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":""))},m(t,e){q(t,n,e),X(n,r),X(n,o),X(n,a),u||(c=et(r,"click",it(d)),u=!0)},p(t,e){i=t,16&e[0]&&s!==(s=i[4][i[35]+1])&&rt(a,"showpopup",s),1&e[0]&&l!==(l=i[33].updateAmount)&&rt(a,"iteminfoamount",l),4&e[0]&&rt(a,"playercurrency",i[2]),8&e[0]&&rt(a,"lang",i[3])},d(t){t&&J(n),u=!1,c()}}}function Yr(i){let n,r,o;return{c(){n=K("div"),n.innerHTML="<span></span>",nt(n,"class","InfoCardRemoveIcon"),nt(n,"part","InfoCardRemoveIcon")},m(t,e){q(t,n,e),r||(o=et(n,"click",function(){T(i[16](i[33],i[1]))&&i[16](i[33],i[1]).apply(this,arguments)}),r=!0)},p(t,e){i=t},d(t){t&&J(n),r=!1,o()}}}function Fr(t){let i,n,r,o,a,s,l,u,c,d,m,f,h,p,y,g,w,v,_=(t[33]?t[33].period:"")+"",b=(t[33]?t[33].amount:0)+"",x=(t[33]?t[33].currency:"")+"",E=t[11]("cardText.expirationDate")+"";function T(t){return t[33].expiryDate?Or:Nr}let C=T(t),L=C(t);function M(t){return"No limit"==t[33].amount||t[33].isModified?"No limit"!=t[33].amount&&t[33].isModified?Rr:void 0:Yr}let A=M(t),S=A&&A(t);return{c(){i=K("div"),n=K("div"),r=K("div"),o=K("div"),a=Q(_),s=tt(),l=K("div"),u=Q(b),c=tt(),d=K("span"),m=Q(x),f=tt(),h=K("div"),p=K("div"),y=Q(E),g=tt(),L.c(),w=tt(),S&&S.c(),v=tt(),nt(o,"class","InfoCardRowTitle"),nt(o,"part","InfoCardRowTitle"),nt(d,"class","InfoCardCurrency"),nt(d,"part","InfoCardCurrency"),nt(l,"class","InfoCardRowValue"),nt(l,"part","InfoCardRowValue"),nt(r,"class","InfoCardRow InfoMainRow"),nt(r,"part","InfoCardRow InfoMainRow"),nt(p,"class","InfoCardRowTitle"),nt(p,"part","InfoCardRowTitle"),nt(h,"class","InfoCardRow"),nt(h,"part","InfoCardRow"),nt(n,"class","InfoCardRowContainer"),nt(n,"part","InfoCardRowContainer"),nt(i,"class","InfoCardBox InfoCardMultipleItems"),nt(i,"part","InfoCardBox InfoCardMultipleItems")},m(t,e){q(t,i,e),X(i,n),X(n,r),X(r,o),X(o,a),X(r,s),X(r,l),X(l,u),X(l,c),X(l,d),X(d,m),X(n,f),X(n,h),X(h,p),X(p,y),X(h,g),L.m(h,null),X(i,w),S&&S.m(i,null),X(i,v)},p(t,e){1&e[0]&&_!==(_=(t[33]?t[33].period:"")+"")&&ot(a,_),1&e[0]&&b!==(b=(t[33]?t[33].amount:0)+"")&&ot(u,b),1&e[0]&&x!==(x=(t[33]?t[33].currency:"")+"")&&ot(m,x),2048&e[0]&&E!==(E=t[11]("cardText.expirationDate")+"")&&ot(y,E),C===(C=T(t))&&L?L.p(t,e):(L.d(1),L=C(t),L&&(L.c(),L.m(h,null))),A===(A=M(t))&&S?S.p(t,e):(S&&S.d(1),S=A&&A(t),S&&(S.c(),S.m(i,v)))},d(t){t&&J(i),L.d(),S&&S.d()}}}function Ur(t){let i,n,r=t[11]("cardText.noLimit")+"";return{c(){i=K("span"),n=Q(r),nt(i,"class","InfoCardCurrency"),nt(i,"part","InfoCardCurrency")},m(t,e){q(t,i,e),X(i,n)},p(t,e){2048&e[0]&&r!==(r=t[11]("cardText.noLimit")+"")&&ot(n,r)},d(t){t&&J(i)}}}function Gr(t){let i,n,r,o=(t[33]?t[33].amount:0)+"",a="No limit"!=t[33].amount&&$r(t);return{c(){i=Q(o),n=tt(),a&&a.c(),r=_()},m(t,e){q(t,i,e),q(t,n,e),a&&a.m(t,e),q(t,r,e)},p(t,e){1&e[0]&&o!==(o=(t[33]?t[33].amount:0)+"")&&ot(i,o),"No limit"!=t[33].amount?a?a.p(t,e):(a=$r(t),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(t){t&&J(i),t&&J(n),a&&a.d(t),t&&J(r)}}}function $r(t){let i,n,r=t[11]("cardText.minutes")+"";return{c(){i=K("span"),n=Q(r),nt(i,"class","InfoCardCurrency"),nt(i,"part","InfoCardCurrency")},m(t,e){q(t,i,e),X(i,n)},p(t,e){2048&e[0]&&r!==(r=t[11]("cardText.minutes")+"")&&ot(n,r)},d(t){t&&J(i)}}}function Wr(t){let i,n,r=t[11]("cardText.notAvailable")+"";return{c(){i=K("div"),n=Q(r),nt(i,"class","InfoCardRowValue"),nt(i,"part","InfoCardRowValue")},m(t,e){q(t,i,e),X(i,n)},p(t,e){2048&e[0]&&r!==(r=t[11]("cardText.notAvailable")+"")&&ot(n,r)},d(t){t&&J(i)}}}function jr(t){let i,n,r=(t[33]?($n(t[33].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):$n(t[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){i=K("div"),n=Q(r),nt(i,"class","InfoCardRowValue"),nt(i,"part","InfoCardRowValue")},m(t,e){q(t,i,e),X(i,n)},p(t,e){1&e[0]&&r!==(r=(t[33]?($n(t[33].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):$n(t[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(n,r)},d(t){t&&J(i)}}}function Br(i){let n,r,o,a,s,l,u,c;function d(){return i[19](i[35])}return{c(){n=K("div"),r=K("span"),r.textContent="i",o=tt(),a=K("player-account-gaming-limits-popup"),nt(r,"class","InfoCardIcon"),nt(r,"part","InfoCardIcon"),rt(a,"showpopup",s=i[4][i[35]+1]),rt(a,"iteminfoamount",l=i[33].updateMinutes),rt(a,"playercurrency","minutes"),rt(a,"lang",i[3]),nt(n,"class","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":"")),nt(n,"part","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":""))},m(t,e){q(t,n,e),X(n,r),X(n,o),X(n,a),u||(c=et(r,"click",it(d)),u=!0)},p(t,e){i=t,16&e[0]&&s!==(s=i[4][i[35]+1])&&rt(a,"showpopup",s),1&e[0]&&l!==(l=i[33].updateMinutes)&&rt(a,"iteminfoamount",l),8&e[0]&&rt(a,"lang",i[3])},d(t){t&&J(n),u=!1,c()}}}function Hr(i){let n,r,o;return{c(){n=K("div"),n.innerHTML="<span></span>",nt(n,"class","InfoCardRemoveIcon"),nt(n,"part","InfoCardRemoveIcon")},m(t,e){q(t,n,e),r||(o=et(n,"click",function(){T(i[16](i[33],i[1]))&&i[16](i[33],i[1]).apply(this,arguments)}),r=!0)},p(t,e){i=t},d(t){t&&J(n),r=!1,o()}}}function Vr(t){let i,n,r,o,a,s,l,u,c,d,m,f,h,p,y=(t[33]?t[33].period:"")+"",g=t[11]("cardText.expirationDate")+"";function w(t){return 0!==t[33].amount?Gr:Ur}let v=w(t),_=v(t);function b(t){return t[33].expiryDate?jr:Wr}let x=b(t),E=x(t);function T(t){return"No limit"==t[33].amount||t[33].isModified?"No limit"!=t[33].amount&&t[33].isModified?Br:void 0:Hr}let C=T(t),L=C&&C(t);return{c(){i=K("div"),n=K("div"),r=K("div"),o=K("div"),a=Q(y),s=tt(),l=K("div"),_.c(),u=tt(),c=K("div"),d=K("div"),m=Q(g),f=tt(),E.c(),h=tt(),L&&L.c(),p=tt(),nt(o,"class","InfoCardRowTitle"),nt(o,"part","InfoCardRowTitle"),nt(l,"class","InfoCardRowValue"),nt(l,"part","InfoCardRowValue"),nt(r,"class","InfoCardRow InfoMainRow"),nt(r,"part","InfoCardRow InfoMainRow"),nt(d,"class","InfoCardRowTitle"),nt(d,"part","InfoCardRowTitle"),nt(c,"class","InfoCardRow"),nt(c,"part","InfoCardRow"),nt(n,"class","InfoCardRowContainer"),nt(n,"part","InfoCardRowContainer"),nt(i,"class","InfoCardBox InfoCardMultipleItems"),nt(i,"part","InfoCardBox InfoCardMultipleItems")},m(t,e){q(t,i,e),X(i,n),X(n,r),X(r,o),X(o,a),X(r,s),X(r,l),_.m(l,null),X(n,u),X(n,c),X(c,d),X(d,m),X(c,f),E.m(c,null),X(i,h),L&&L.m(i,null),X(i,p)},p(t,e){1&e[0]&&y!==(y=(t[33]?t[33].period:"")+"")&&ot(a,y),v===(v=w(t))&&_?_.p(t,e):(_.d(1),_=v(t),_&&(_.c(),_.m(l,null))),2048&e[0]&&g!==(g=t[11]("cardText.expirationDate")+"")&&ot(m,g),x===(x=b(t))&&E?E.p(t,e):(E.d(1),E=x(t),E&&(E.c(),E.m(c,null))),C===(C=T(t))&&L?L.p(t,e):(L&&L.d(1),L=C&&C(t),L&&(L.c(),L.m(i,p)))},d(t){t&&J(i),_.d(),E.d(),L&&L.d()}}}function zr(i){let n,r,o,a,s=i[11]("cardText.removeLimits")+"";return{c(){n=K("button"),r=Q(s),nt(n,"class","InfoCardRemoveButton"),nt(n,"part","InfoCardRemoveButton")},m(t,e){q(t,n,e),X(n,r),o||(a=et(n,"click",i[22]),o=!0)},p(t,e){2048&e[0]&&s!==(s=t[11]("cardText.removeLimits")+"")&&ot(r,s)},d(t){t&&J(n),o=!1,a()}}}function Zr(t){let i,n,r;return{c(){i=K("player-account-modal"),n=K("player-account-gaming-limits-confirmation-modal"),rt(n,"modaltext",r=t[6]?t[8]:t[9]),rt(n,"modalsource","infoCard"),rt(n,"lang",t[3])},m(t,e){q(t,i,e),X(i,n)},p(t,e){832&e[0]&&r!==(r=t[6]?t[8]:t[9])&&rt(n,"modaltext",r),8&e[0]&&rt(n,"lang",t[3])},d(t){t&&J(i)}}}function Xr(t){let i,n=function(i){let n,r,o,a,s,l,u,c,d,m,f,h,p,y,g,w,v,_,b,x,E,T,C,L,M=(i[0]?i[1]:"")+"",A=i[11]("cardText.edit")+"";function S(t,e){return(null==w||1&e[0])&&(w=!!Array.isArray(t[0])),w?Dr:Ir}let I=S(i,[-1]),D=I(i),k=!i[5]&&!i[0].isModified&&i[10]&&zr(i),P=i[7]&&Zr(i);return{c(){n=K("div"),r=K("div"),o=K("div"),a=K("h5"),s=Q(M),l=tt(),u=K("div"),c=K("span"),c.textContent="i",d=tt(),m=K("player-account-gaming-limits-popup"),h=tt(),p=K("div"),y=K("div"),g=K("div"),D.c(),v=tt(),_=K("div"),b=K("button"),x=Q(A),E=tt(),k&&k.c(),T=tt(),P&&P.c(),nt(c,"class","InfoCardIcon"),nt(c,"part","InfoCardIcon"),rt(m,"showpopup",f=i[4][0]),rt(m,"lang",i[3]),nt(u,"class","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":"")),nt(u,"part","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":"")),nt(o,"class","InfoCardHeader "+(i[12]?"InfoCardMobileHeader":"")),nt(o,"part","InfoCardHeader "+(i[12]?"InfoCardMobileHeader":"")),nt(g,"class","InfoCardTableRow"),nt(g,"part","InfoCardTableRow"),nt(y,"class","InfoCardTableWrapper"),nt(y,"part","InfoCardTableWrapper"),nt(b,"class","InfoCardEditButton"),nt(b,"part","InfoCardEditButton"),nt(_,"class","InfoCardControlArea"),nt(_,"part","InfoCardControlArea"),nt(p,"class","InfoCard"),nt(p,"part","InfoCard"),nt(r,"class","InfoCardWrapper"),nt(r,"part","InfoCardWrapper"),nt(n,"class","InfoCardSection"),nt(n,"part","InfoCardSection")},m(t,e){q(t,n,e),X(n,r),X(r,o),X(o,a),X(a,s),X(o,l),X(o,u),X(u,c),X(u,d),X(u,m),X(r,h),X(r,p),X(p,y),X(y,g),D.m(g,null),X(p,v),X(p,_),X(_,b),X(b,x),X(_,E),k&&k.m(_,null),X(n,T),P&&P.m(n,null),C||(L=[et(c,"click",it(i[18])),et(b,"click",i[21])],C=!0)},p(t,e){3&e[0]&&M!==(M=(t[0]?t[1]:"")+"")&&ot(s,M),16&e[0]&&f!==(f=t[4][0])&&rt(m,"showpopup",f),8&e[0]&&rt(m,"lang",t[3]),I===(I=S(t,e))&&D?D.p(t,e):(D.d(1),D=I(t),D&&(D.c(),D.m(g,null))),2048&e[0]&&A!==(A=t[11]("cardText.edit")+"")&&ot(x,A),t[5]||t[0].isModified||!t[10]?k&&(k.d(1),k=null):k?k.p(t,e):(k=zr(t),k.c(),k.m(_,null)),t[7]?P?P.p(t,e):(P=Zr(t),P.c(),P.m(n,null)):P&&(P.d(1),P=null)},d(t){t&&J(n),D.d(),k&&k.d(),P&&P.d(),C=!1,Z(L)}}}(t);return{c(){n.c(),i=_(),this.c=z},m(t,e){n.m(t,e),q(t,i,e)},p(t,e){n.p(t,e)},i:z,o:z,d(t){n.d(t),t&&J(i)}}}function qr(t,e,n){let o;F(t,An,t=>n(11,o=t));let{limitsdata:i=""}=e,{limitname:r=""}=e,{playercurrency:a=""}=e,{lang:s="en"}=e;Object.keys(Dn).forEach(t=>{ln(t,Dn[t])});let l=new Array(5).fill(0),u=[o("cardText.daily"),o("cardText.weekly"),o("cardText.monthly")],c=!0,d=!0,m=!1,f=window.navigator.userAgent,h="PC"!==Sn(f),p="",y="",g=!0,w=$n();const v=t=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:t,name:r},window.location.href)},_=t=>{n(7,m=!0),n(6,d=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:t,removeName:r},window.location.href)},b=t=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{n(4,l[t]=!0,l)},50)},x=(t,e,i,n)=>{var r=n===o("cardText.time")?{period:i,minutes:0,currency:"",isModified:!1,expiryDate:""}:{period:i,amount:o("cardText.noLimit"),currency:"",isModified:!1,expiryDate:""};t.splice(e,0,r)},E=(t,e)=>t.period===o("cardText.weekly")&&e.period===o("cardText.daily")||t.period===o("cardText.monthly")&&e.period===o("cardText.daily")||t.period===o("cardText.monthly")&&e.period===o("cardText.weekly")?1:t.period===o("cardText.daily")&&e.period===o("cardText.weekly")||t.period===o("cardText.daily")&&e.period===o("cardText.monthly")||t.period===o("cardText.weekly")&&e.period===o("cardText.monthly")?-1:0,T=()=>{var t=s;wn.set(t),t=r===o("cardText.timeLimit")?o("cardText.timeLimitLower"):r===o("cardText.depositLimit")?o("cardText.depositLimitLower"):r===o("cardText.wageringLimit")?o("cardText.wageringLimitLower"):o("cardText.lossLimitLower"),n(8,p=o("cardText.removeLimitsText",{values:{limit:t}})),n(9,y=o("cardText.removeLimitText",{values:{limit:t}})),r===o("cardText.depositLimit")||r===o("cardText.timeLimit")?Array.isArray(i)&&(i.forEach(t=>{t.isModified&&n(10,g=!1)}),i.sort(E),(i=>{const e=u;u.forEach(e=>{i.indexOf(e),i.find(t=>t.period===e)&&(u=u.filter(t=>t!==e)),i.forEach(t=>{t.period===e&&t.amount!==o("cardText.noLimit")&&n(5,c=!1)})}),u.forEach(t=>{i.name===o("cardText.timeLimit")?x(i,e.indexOf(t),t,o("cardText.time")):x(i,e.indexOf(t),t,o("cardText.currency"))})})(i)):(i.hasOwnProperty("period")||n(0,i={period:o("cardText.daily"),amount:o("cardText.noLimit"),currency:"",isModified:!1,expiryDate:""}),n(5,c=i.amount==o("cardText.noLimit")))},C=t=>{if(t.data)switch(t.data.type){case"ClosePlayerAccountGamingLimitsPopup":n(4,l=new Array(5).fill(0));break;case"ModalClosed":n(7,m=!1),n(6,d=!1)}};return $(()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)})),t.$$set=t=>{"limitsdata"in t&&n(0,i=t.limitsdata),"limitname"in t&&n(1,r=t.limitname),"playercurrency"in t&&n(2,a=t.playercurrency),"lang"in t&&n(3,s=t.lang)},t.$$.update=()=>{11&t.$$.dirty[0]&&i&&r&&s&&T()},[i,r,a,s,l,c,d,m,p,y,g,o,h,w,v,_,(t,e)=>{n(7,m=!0),n(6,d=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:t,removeName:e},window.location.href)},b,()=>b(0),t=>b(t+1),t=>b(t+1),()=>v(i),()=>_(i)]}function Jr(t){let i;return{c(){i=K("player-account-gaming-limits-group-edit"),rt(i,"limitsdata",t[8]),rt(i,"limitname",t[9]),rt(i,"showsuccessnotification",t[5]),rt(i,"showdeletenotification",t[4]),rt(i,"playercurrency",t[7]),rt(i,"lang",t[6])},m(t,e){q(t,i,e)},p(t,e){256&e&&rt(i,"limitsdata",t[8]),512&e&&rt(i,"limitname",t[9]),32&e&&rt(i,"showsuccessnotification",t[5]),16&e&&rt(i,"showdeletenotification",t[4]),128&e&&rt(i,"playercurrency",t[7]),64&e&&rt(i,"lang",t[6])},d(t){t&&J(i)}}}function Kr(t){let i,n,r,o,a,s,l,u,c,d,m,f,h,p=t[11]("gamingLimits.gamingLimitsText")+"",y=t[12]&&function(i){let n,r,o,a,s,l,u,c,d,m,f,h,p,y=i[11]("gamingLimits.gamingLimitsText")+"";return{c(){n=K("div"),r=e("svg"),o=e("defs"),a=e("style"),s=Q(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),l=e("g"),u=e("g"),c=e("path"),d=tt(),m=K("h2"),f=Q(y),nt(c,"class","aaa"),nt(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),nt(c,"transform","translate(15 15) rotate(180)"),nt(u,"transform","translate(20 158)"),nt(l,"transform","translate(-20 -158)"),nt(r,"xmlns","http://www.w3.org/2000/svg"),nt(r,"width","15"),nt(r,"height","15"),nt(r,"viewBox","0 0 15 15"),nt(m,"class","PlayerGamingLimitsTitleMobile"),nt(m,"part","PlayerGamingLimitsTitleMobile"),nt(n,"class","MenuReturnButton"),nt(n,"part","MenuReturnButton")},m(t,e){q(t,n,e),X(n,r),X(r,o),X(o,a),X(a,s),X(r,l),X(l,u),X(u,c),X(n,d),X(n,m),X(m,f),h||(p=et(n,"click",i[19]),h=!0)},p(t,e){2048&e&&y!==(y=t[11]("gamingLimits.gamingLimitsText")+"")&&ot(f,y)},d(t){t&&J(n),h=!1,p()}}}(t);return{c(){i=K("div"),y&&y.c(),n=tt(),r=K("h2"),o=Q(p),a=tt(),s=K("div"),l=K("player-account-gaming-limits-info-card"),u=tt(),c=K("player-account-gaming-limits-info-card"),d=tt(),m=K("player-account-gaming-limits-info-card"),f=tt(),h=K("player-account-gaming-limits-info-card"),nt(r,"class","PlayerGamingLimitsTitle "+(t[12]?"PlayerGamingLimitsTitleNone":"")),nt(r,"part","PlayerGamingLimitsTitle "+(t[12]?"PlayerGamingLimitsTitleNone":"")),rt(l,"limitsdata",t[0]),rt(l,"limitname",t[13]),rt(l,"playercurrency",t[7]),rt(l,"lang",t[6]),rt(c,"limitsdata",t[1]),rt(c,"limitname",t[14]),rt(c,"playercurrency",t[7]),rt(c,"lang",t[6]),rt(m,"limitsdata",t[2]),rt(m,"limitname",t[15]),rt(m,"playercurrency",t[7]),rt(m,"lang",t[6]),rt(h,"limitsdata",t[3]),rt(h,"limitname",t[16]),rt(h,"playercurrency",t[7]),rt(h,"lang",t[6]),nt(s,"class","PlayerAccountGamingLimitsContainer"),nt(s,"part","PlayerAccountGamingLimitsContainer"),nt(i,"class","PlayerAccountGamingLimitsWrapper "+(t[12]?"PlayerAccountMobileGamingLimitsWrapper":"")+" "+(t[17].matches&&t[12]?"PlayerAccountTabletGamingLimitsWrapper":"")),nt(i,"part","PlayerAccountGamingLimitsWrapper "+(t[12]?"PlayerAccountMobileGamingLimitsWrapper":"")+" "+(t[17].matches&&t[12]?"PlayerAccountTabletGamingLimitsWrapper":""))},m(t,e){q(t,i,e),y&&y.m(i,null),X(i,n),X(i,r),X(r,o),X(i,a),X(i,s),X(s,l),X(s,u),X(s,c),X(s,d),X(s,m),X(s,f),X(s,h)},p(t,e){t[12]&&y.p(t,e),2048&e&&p!==(p=t[11]("gamingLimits.gamingLimitsText")+"")&&ot(o,p),1&e&&rt(l,"limitsdata",t[0]),128&e&&rt(l,"playercurrency",t[7]),64&e&&rt(l,"lang",t[6]),2&e&&rt(c,"limitsdata",t[1]),128&e&&rt(c,"playercurrency",t[7]),64&e&&rt(c,"lang",t[6]),4&e&&rt(m,"limitsdata",t[2]),128&e&&rt(m,"playercurrency",t[7]),64&e&&rt(m,"lang",t[6]),8&e&&rt(h,"limitsdata",t[3]),128&e&&rt(h,"playercurrency",t[7]),64&e&&rt(h,"lang",t[6])},d(t){t&&J(i),y&&y.d()}}}function Qr(t){let i;function n(t){return t[10]?Kr:Jr}let r=n(t),o=r(t);return{c(){o.c(),i=_(),this.c=z},m(t,e){o.m(t,e),q(t,i,e)},p(t,[e]){r===(r=n(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(i.parentNode,i)))},i:z,o:z,d(t){o.d(t),t&&J(i)}}}function to(e,t,i){let n;F(e,An,t=>i(11,n=t));let{depositlimit:r=""}=t,{wageringlimit:o=""}=t,{losslimit:a=""}=t,{timelimit:s=""}=t,{showdeletenotification:l=!1}=t,{showsuccessnotification:u=!1}=t,{lang:c="en"}=t;Object.keys(In).forEach(t=>{ln(t,In[t])});let d,m=window.navigator.userAgent,f="PC"!==Sn(m),h="",p="",y=!0,g=n("gamingLimits.depositLimit"),w=n("gamingLimits.wageringLimit"),v=n("gamingLimits.lossLimit"),_=n("gamingLimits.timeLimit");const b=window.matchMedia("(min-width: 768px)"),x=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:f},window.location.href)},E=t=>{if(t.data)switch(t.data.type){case"EditPlayerAccountGamingLimits":i(8,d=t.data.edit),i(9,p=t.data.name),i(10,y=!1);break;case"PlayerAccountBackToLimitsView":i(10,y=!0);break;case"ProfileDetailsData":var e=t.data.profileDetails;i(7,h=e.currency)}};return $(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)})),e.$$set=t=>{"depositlimit"in t&&i(0,r=t.depositlimit),"wageringlimit"in t&&i(1,o=t.wageringlimit),"losslimit"in t&&i(2,a=t.losslimit),"timelimit"in t&&i(3,s=t.timelimit),"showdeletenotification"in t&&i(4,l=t.showdeletenotification),"showsuccessnotification"in t&&i(5,u=t.showsuccessnotification),"lang"in t&&i(6,c=t.lang)},e.$$.update=()=>{var t;72&e.$$.dirty&&s&&g&&w&&v&&_&&c&&(t=c,wn.set(t),S())},[r,o,a,s,l,u,c,h,d,p,y,n,f,g,w,v,_,b,x,()=>x()]}customElements.get("player-account-gaming-limits-confirmation-modal")||customElements.define("player-account-gaming-limits-confirmation-modal",class extends V{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:relative;background:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;border-top:5px solid var(--emfe-w-color-secondary, #FD2839);margin:0 20px}.GamingLimitsConfirmationContainer{background:var(--emfe-w-color-gray-50, #F9F8F8);color:var(--emfe-w-color-black, #000000);padding:60px 30px 30px 30px;text-align:center}.GamingLimitsConfirmationContainerMobile{padding:30px}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{width:100%;font-size:18px;line-height:48px;border-radius:5px;color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B);background-color:transparent;text-transform:uppercase;cursor:pointer}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-primary, #D0046C)}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:40px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}</style>",H(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Zn,zn,i,{modaltext:0,modalsource:6,lang:7}),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),k()))}static get observedAttributes(){return["modaltext","modalsource","lang"]}get modaltext(){return this.$$.ctx[0]}set modaltext(t){this.$set({modaltext:t}),k()}get modalsource(){return this.$$.ctx[6]}set modalsource(t){this.$set({modalsource:t}),k()}get lang(){return this.$$.ctx[7]}set lang(t){this.$set({lang:t}),k()}}),customElements.get("player-account-gaming-limits-group-edit")||customElements.define("player-account-gaming-limits-group-edit",class extends V{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.MenuReturnButton{color:var(--emfe-w-color-primary, #D0046C);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px;cursor:pointer}.MenuReturnButton svg{fill:var(--emfe-w-color-primary, #D0046C)}.MyAccountCategoryTitle{font-size:26px;color:var(--emfe-w-color-primary, #D0046C);font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:var(--emfe-w-color-primary, #D0046C)}.MyAccountCategoryTitleNone{display:none !important}.AccountEditLimitsWrapper{padding:50px;max-width:760px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper{padding:20px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea{grid-template-columns:1fr}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea .AccountEditLimitsSaveButton{width:100%}.AccountEditLimitsHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:5px;color:var(--emfe-w-color-primary, #D0046C)}.AccountEditLimitsHeader h6{margin:0;font-weight:normal;font-size:16px;line-height:20px}.AccountEditLimitsHeader .AccountEditLimitsIcon{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emfe-w-color-primary, #D0046C);align-items:center;justify-content:center;border-radius:30px;cursor:pointer}.AccountEditLimitChangePeriodIcon{display:flex;width:20px;height:20px;color:var(--emfe-w-color-gray-300, #58586B);background:transparent;border:1px solid var(--emfe-w-color-gray-300, #58586B);align-items:center;justify-content:center;border-radius:30px;cursor:pointer;margin-right:10px}.AccountEditLimitSuccessfulChangeContainer{background:var(--emfe-w-color-primary-50, #FBECF4);border:1px solid var(--emfe-w-color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;padding:10px}.AccountEditLimitSuccessfulChangeContainer p{margin:0}.AccountEditLimitsIconWrapper{position:relative}.AccountEditLimitsTitle{font-size:16px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A);margin:0;padding:10px 0 10px}.AccountEditLimitsExpiryDate{font-size:12px;font-weight:300;color:var(--emfe-w-color-black, #000000)}.AccountEditLimitsContainer{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;direction:ltr}@media only screen and (max-width: 1024px){.AccountEditLimitsContainer{grid-template-columns:1fr;grid-gap:20px}}.AccountEditField{width:100%;font-size:14px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A);padding:10px;line-height:16px;background:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;outline:none;transition-duration:0.3s}.AccountEditField:focus,.AccountEditField :focus-within,.AccountEditField :focus-visible,.AccountEditField :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.AccountEditFieldCustom{padding:3%}.AccountEditLimitsPeriodChangeContainer{background:var(--emfe-w-color-gray-50, #F9F8F8);border-radius:5px}.AccountEditLimitsPeriodChangeContainer p{max-width:290px;display:-webkit-box;padding:10px 35px 15px 10px;color:var(--emfe-w-color-gray-300, #58586B);font-size:12px;font-weight:300}.AccountEditLimitsPeriodChangeContainer p .AccountEditLimitChangePeriodIcon{font-size:14px;font-weight:400}.AccountEditLimitsControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:40px;margin-top:35px}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton{padding:12px;cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:18px;color:var(--emfe-w-color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton.AccountEditLimitsButtonDisabled{background:var(--emfe-w-color-primary, #D0046C);cursor:not-allowed;opacity:0.6}.AccountEditLimitsBox{position:relative}.AccountEditWarningText{position:relative;margin:0}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;position:absolute;top:6px;margin:0;line-height:10px}.AccountEditLimitsInputContainer{position:relative;padding-top:10px;width:94%}</style>",H(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Mr,Lr,i,{limitsdata:0,showsuccessnotification:1,showdeletenotification:2,limitname:3,playercurrency:4,lang:5},[-1,-1]),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),k()))}static get observedAttributes(){return["limitsdata","showsuccessnotification","showdeletenotification","limitname","playercurrency","lang"]}get limitsdata(){return this.$$.ctx[0]}set limitsdata(t){this.$set({limitsdata:t}),k()}get showsuccessnotification(){return this.$$.ctx[1]}set showsuccessnotification(t){this.$set({showsuccessnotification:t}),k()}get showdeletenotification(){return this.$$.ctx[2]}set showdeletenotification(t){this.$set({showdeletenotification:t}),k()}get limitname(){return this.$$.ctx[3]}set limitname(t){this.$set({limitname:t}),k()}get playercurrency(){return this.$$.ctx[4]}set playercurrency(t){this.$set({playercurrency:t}),k()}get lang(){return this.$$.ctx[5]}set lang(t){this.$set({lang:t}),k()}}),customElements.get("player-account-gaming-limits-info-card")||customElements.define("player-account-gaming-limits-info-card",class extends V{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.InfoCard{padding:20px;color:var(--emfe-w-color-black, #000000);background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 3px 12px var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emfe-w-color-primary, #D0046C);align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:var(--emfe-w-color-gray-300, #58586B);font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:var(--emfe-w-color-secondary, #FD2839);border:1px solid var(--emfe-w-color-secondary, #FD2839)}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:\"\\274c\";font-size:7px;color:var(--emfe-w-color-secondary, #FD2839);line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:var(--emfe-w-color-gray-50, #F9F8F8)}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--emfe-w-color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);margin-right:10px}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid var(--emfe-w-color-black, #000000)}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emfe-w-color-primary, #D0046C);align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B)}</style>",H(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},qr,Xr,i,{limitsdata:0,limitname:1,playercurrency:2,lang:3},[-1,-1]),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),k()))}static get observedAttributes(){return["limitsdata","limitname","playercurrency","lang"]}get limitsdata(){return this.$$.ctx[0]}set limitsdata(t){this.$set({limitsdata:t}),k()}get limitname(){return this.$$.ctx[1]}set limitname(t){this.$set({limitname:t}),k()}get playercurrency(){return this.$$.ctx[2]}set playercurrency(t){this.$set({playercurrency:t}),k()}get lang(){return this.$$.ctx[3]}set lang(t){this.$set({lang:t}),k()}});class eo extends V{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerAccountGamingLimitsWrapper{color:var(--emfe-w-color-primary, #D0046C);padding:50px;max-width:760px}.PlayerGamingLimitsTitle{font-size:26px;color:var(--emfe-w-color-primary, #D0046C);font-weight:400}.PlayerGamingLimitsTitleMobile{font-size:16px;color:var(--emfe-w-color-primary, #D0046C)}.PlayerGamingLimitsTitleNone{display:none}.MenuReturnButton{color:var(--emfe-w-color-primary, #D0046C);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emfe-w-color-primary, #D0046C)}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:var(--emfe-w-color-white, #FFFFFF);max-width:unset}.PlayerAccountTabletGamingLimitsWrapper{padding:40px 25% 40px 25%}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}</style>",H(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},to,Qr,i,{depositlimit:0,wageringlimit:1,losslimit:2,timelimit:3,showdeletenotification:4,showsuccessnotification:5,lang:6}),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),k()))}static get observedAttributes(){return["depositlimit","wageringlimit","losslimit","timelimit","showdeletenotification","showsuccessnotification","lang"]}get depositlimit(){return this.$$.ctx[0]}set depositlimit(t){this.$set({depositlimit:t}),k()}get wageringlimit(){return this.$$.ctx[1]}set wageringlimit(t){this.$set({wageringlimit:t}),k()}get losslimit(){return this.$$.ctx[2]}set losslimit(t){this.$set({losslimit:t}),k()}get timelimit(){return this.$$.ctx[3]}set timelimit(t){this.$set({timelimit:t}),k()}get showdeletenotification(){return this.$$.ctx[4]}set showdeletenotification(t){this.$set({showdeletenotification:t}),k()}get showsuccessnotification(){return this.$$.ctx[5]}set showsuccessnotification(t){this.$set({showsuccessnotification:t}),k()}get lang(){return this.$$.ctx[6]}set lang(t){this.$set({lang:t}),k()}}return customElements.get("player-account-gaming-limits")||customElements.define("player-account-gaming-limits",eo),eo});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).app=e()}(this,function(){"use strict";function z(){}const p=t=>t;function c(t){return t()}function d(){return Object.create(null)}function Z(t){t.forEach(c)}function T(t){return"function"==typeof t}function i(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function m(t,...e){if(null==t)return z;const i=t.subscribe(...e);return i.unsubscribe?()=>i.unsubscribe():i}function F(t,e,i){t.$$.on_destroy.push(m(e,i))}var t="undefined"!=typeof window;let y=t?()=>window.performance.now():()=>Date.now(),g=t?t=>requestAnimationFrame(t):z;const w=new Set;function v(e){w.forEach(t=>{t.c(e)||(w.delete(t),t.f())}),0!==w.size&&g(v)}function X(t,e){t.appendChild(e)}function q(t,e,i){t.insertBefore(e,i||null)}function J(t){t.parentNode.removeChild(t)}function C(e,i){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(i)}function K(t){return document.createElement(t)}function e(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Q(t){return document.createTextNode(t)}function tt(){return Q(" ")}function _(){return Q("")}function et(t,e,i,n){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}function it(e){return function(t){return t.preventDefault(),e.call(this,t)}}function nt(t,e,i){null==i?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function rt(t,e,i){e in t?t[e]=i:nt(t,e,i)}function U(t){return""===t?null:+t}function ot(t,e){t.wholeText!==(e=""+e)&&(t.data=e)}function f(t,e){t.value=null==e?"":e}function L(e,i){for(let t=0;t<e.options.length;t+=1){const n=e.options[t];if(n.__value===i)return n.selected=!0,0}}function G(t){t=t.querySelector(":checked")||t.options[0];return t&&t.__value}function n(t){const e={};for(const i of t)e[i.name]=i.value;return e}const b=new Set;let h,x=0;function E(t,e,i,n,r,o,a,s=0){var l=16.666/n;let u="{\n";for(let t=0;t<=1;t+=l){const n=e+(i-e)*o(t);u+=100*t+`%{${a(n,1-n)}}\n`}const c=u+`100% {${a(i,1-i)}}\n}`,d=`__svelte_${function(t){let e=5381,i=t.length;for(;i--;)e=(e<<5)-e^t.charCodeAt(i);return e>>>0}(c)}_${s}`,m=t.ownerDocument;b.add(m);const f=m.__svelte_stylesheet||(m.__svelte_stylesheet=m.head.appendChild(K("style")).sheet),h=m.__svelte_rules||(m.__svelte_rules={});h[d]||(h[d]=!0,f.insertRule(`@keyframes ${d} ${c}`,f.cssRules.length));s=t.style.animation||"";return t.style.animation=`${s?`${s}, `:""}${d} ${n}ms linear ${r}ms 1 both`,x+=1,d}function M(t){h=t}function $(t){!function(){if(!h)throw new Error("Function called outside component initialization");return h}().$$.on_mount.push(t)}const A=[],s=[],r=[],o=[],a=Promise.resolve();let l=!1;function S(){l||(l=!0,a.then(k))}function I(t){r.push(t)}let u=!1;const D=new Set;function k(){if(!u){u=!0;do{for(let t=0;t<A.length;t+=1){var e=A[t];M(e),function(t){{var e;null!==t.fragment&&(t.update(),Z(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(I))}}(e.$$)}for(M(null),A.length=0;s.length;)s.pop()();for(let t=0;t<r.length;t+=1){const i=r[t];D.has(i)||(D.add(i),i())}}while(r.length=0,A.length);for(;o.length;)o.pop()();l=!1,u=!1,D.clear()}}let P;function N(t,e,i){t.dispatchEvent(function(t){const e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}(`${e?"intro":"outro"}${i}`))}const O=new Set;let R;function Y(t,e){t&&t.i&&(O.delete(t),t.i(e))}function W(t,e,i,n){t&&t.o&&(O.has(t)||(O.add(t),R.c.push(()=>{O.delete(t),n&&(i&&t.d(1),n())}),t.o(e)))}const j={duration:0};function B(s,t,e,i){let l=t(s,e),u=i?0:1,c=null,d=null,m=null;function f(){m&&function(t,e){const i=(t.style.animation||"").split(", "),n=i.filter(e?t=>t.indexOf(e)<0:t=>-1===t.indexOf("__svelte")),r=i.length-n.length;r&&(t.style.animation=n.join(", "),x-=r,x||g(()=>{x||(b.forEach(t=>{const e=t.__svelte_stylesheet;let i=e.cssRules.length;for(;i--;)e.deleteRule(i);t.__svelte_rules={}}),b.clear())}))}(s,m)}function h(t,e){var i=t.b-u;return e*=Math.abs(i),{a:u,b:t.b,d:i,duration:e,start:t.start,end:t.start+e,group:t.group}}function n(t){const{delay:e=0,duration:i=300,easing:n=p,tick:r=z,css:o}=l||j,a={start:y()+e,b:t};t||(a.group=R,R.r+=1),c||d?d=a:(o&&(f(),m=E(s,u,t,i,e,n,o)),t&&r(0,1),c=h(a,i),I(()=>N(s,t,"start")),function(e){let i;0===w.size&&g(v),new Promise(t=>{w.add(i={c:e,f:t})})}(t=>{return d&&t>d.start&&(c=h(d,i),d=null,N(s,c.b,"start"),o&&(f(),m=E(s,u,c.b,c.duration,0,n,l.css))),c&&(t>=c.end?(r(u=c.b,1-u),N(s,c.b,"end"),d||(c.b?f():--c.group.r||Z(c.group.c)),c=null):t>=c.start&&(t=t-c.start,u=c.a+c.d*n(t/c.duration),r(u,1-u))),!(!c&&!d)}))}return{run(t){T(l)?(P||(P=Promise.resolve(),P.then(()=>{P=null})),P.then(()=>{l=l(),n(t)})):n(t)},end(){f(),c=d=null}}}function H(n,t,e,i,r,o,a=[-1]){var s=h;M(n);const l=n.$$={fragment:null,ctx:null,props:o,update:z,not_equal:r,bound:d(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s?s.$$.context:t.context||[]),callbacks:d(),dirty:a,skip_bound:!1};let u=!1;if(l.ctx=e?e(n,t.props||{},(t,e,...i)=>{i=i.length?i[0]:e;return l.ctx&&r(l.ctx[t],l.ctx[t]=i)&&(!l.skip_bound&&l.bound[t]&&l.bound[t](i),u&&(i=t,-1===(t=n).$$.dirty[0]&&(A.push(t),S(),t.$$.dirty.fill(0)),t.$$.dirty[i/31|0]|=1<<i%31)),e}):[],l.update(),u=!0,Z(l.before_update),l.fragment=!!i&&i(l.ctx),t.target){if(t.hydrate){const z=(i=t.target,Array.from(i.childNodes));l.fragment&&l.fragment.l(z),z.forEach(J)}else l.fragment&&l.fragment.c();t.intro&&Y(n.$$.fragment),function(e,t,i,n){const{fragment:r,on_mount:o,on_destroy:a,after_update:s}=e.$$;r&&r.m(t,i),n||I(()=>{var t=o.map(c).filter(T);a?a.push(...t):Z(t),e.$$.on_mount=[]}),s.forEach(I)}(n,t.target,t.anchor,t.customElement),k()}M(s)}let V;"function"==typeof HTMLElement&&(V=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(c).filter(T);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,i){this[t]=i}disconnectedCallback(){Z(this.$$.on_disconnect)}$destroy(){!function(t){const e=t.$$;null!==e.fragment&&(Z(e.on_destroy),e.fragment&&e.fragment.d(1),e.on_destroy=e.fragment=null,e.ctx=[])}(this),this.$destroy=z}$on(t,e){const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(e),()=>{var t=i.indexOf(e);-1!==t&&i.splice(t,1)}}$set(t){this.$$set&&0!==Object.keys(t).length&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});var at,st,lt="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==lt&<,ut="URLSearchParams"in lt,ct="Symbol"in lt&&"iterator"in Symbol,dt="FileReader"in lt&&"Blob"in lt&&function(){try{return new Blob,!0}catch(t){return!1}}(),mt="FormData"in lt,ft="ArrayBuffer"in lt;function ht(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function pt(t){return t="string"!=typeof t?String(t):t}function yt(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return ct&&(t[Symbol.iterator]=function(){return t}),t}function gt(e){this.map={},e instanceof gt?e.forEach(function(t,e){this.append(e,t)},this):Array.isArray(e)?e.forEach(function(t){this.append(t[0],t[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function wt(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function vt(i){return new Promise(function(t,e){i.onload=function(){t(i.result)},i.onerror=function(){e(i.error)}})}function _t(t){var e=new FileReader,i=vt(e);return e.readAsArrayBuffer(t),i}function bt(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function xt(){return this.bodyUsed=!1,this._initBody=function(t){this.bodyUsed=this.bodyUsed,(this._bodyInit=t)?"string"==typeof t?this._bodyText=t:dt&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:mt&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:ut&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():ft&&dt&&t&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=bt(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ft&&(ArrayBuffer.prototype.isPrototypeOf(t)||st(t))?this._bodyArrayBuffer=bt(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):ut&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},dt&&(this.blob=function(){var t=wt(this);if(t)return t;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(){return this._bodyArrayBuffer?wt(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(_t)}),this.text=function(){var t,e,i=wt(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,i=vt(e),e.readAsText(t),i;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),i=new Array(e.length),n=0;n<e.length;n++)i[n]=String.fromCharCode(e[n]);return i.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},mt&&(this.formData=function(){return this.text().then(Ct)}),this.json=function(){return this.text().then(JSON.parse)},this}ft&&(at=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],st=ArrayBuffer.isView||function(t){return t&&-1<at.indexOf(Object.prototype.toString.call(t))}),gt.prototype.append=function(t,e){t=ht(t),e=pt(e);var i=this.map[t];this.map[t]=i?i+", "+e:e},gt.prototype.delete=function(t){delete this.map[ht(t)]},gt.prototype.get=function(t){return t=ht(t),this.has(t)?this.map[t]:null},gt.prototype.has=function(t){return this.map.hasOwnProperty(ht(t))},gt.prototype.set=function(t,e){this.map[ht(t)]=pt(e)},gt.prototype.forEach=function(t,e){for(var i in this.map)this.map.hasOwnProperty(i)&&t.call(e,this.map[i],i,this)},gt.prototype.keys=function(){var i=[];return this.forEach(function(t,e){i.push(e)}),yt(i)},gt.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),yt(e)},gt.prototype.entries=function(){var i=[];return this.forEach(function(t,e){i.push([e,t])}),yt(i)},ct&&(gt.prototype[Symbol.iterator]=gt.prototype.entries);var Et=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Tt(t,e){if(!(this instanceof Tt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var i,n=(e=e||{}).body;if(t instanceof Tt){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new gt(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new gt(e.headers)),this.method=(t=(i=e.method||this.method||"GET").toUpperCase(),-1<Et.indexOf(t)?t:i),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache||((e=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(e,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Ct(t){var i=new FormData;return t.trim().split("&").forEach(function(t){var e;t&&(t=(e=t.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),i.append(decodeURIComponent(t),decodeURIComponent(e)))}),i}function Lt(t,e){if(!(this instanceof Lt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e=e||{},this.type="default",this.status=void 0===e.status?200:e.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new gt(e.headers),this.url=e.url||"",this._initBody(t)}Tt.prototype.clone=function(){return new Tt(this,{body:this._bodyInit})},xt.call(Tt.prototype),xt.call(Lt.prototype),Lt.prototype.clone=function(){return new Lt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new gt(this.headers),url:this.url})},Lt.error=function(){var t=new Lt(null,{status:0,statusText:""});return t.type="error",t};var Mt=[301,302,303,307,308];Lt.redirect=function(t,e){if(-1===Mt.indexOf(e))throw new RangeError("Invalid status code");return new Lt(null,{status:e,headers:{location:t}})};var At=lt.DOMException;try{new At}catch(z){(At=function(t,e){this.message=t,this.name=e;t=Error(t);this.stack=t.stack}).prototype=Object.create(Error.prototype),At.prototype.constructor=At}function St(n,a){return new Promise(function(r,t){var e=new Tt(n,a);if(e.signal&&e.signal.aborted)return t(new At("Aborted","AbortError"));var o=new XMLHttpRequest;function i(){o.abort()}o.onload=function(){var t,i,e={status:o.status,statusText:o.statusText,headers:(t=o.getAllResponseHeaders()||"",i=new gt,t.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t}).forEach(function(t){var e=t.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),i.append(t,e))}),i)};e.url="responseURL"in o?o.responseURL:e.headers.get("X-Request-URL");var n="response"in o?o.response:o.responseText;setTimeout(function(){r(new Lt(n,e))},0)},o.onerror=function(){setTimeout(function(){t(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){t(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){t(new At("Aborted","AbortError"))},0)},o.open(e.method,function(e){try{return""===e&<.location.href?lt.location.href:e}catch(t){return e}}(e.url),!0),"include"===e.credentials?o.withCredentials=!0:"omit"===e.credentials&&(o.withCredentials=!1),"responseType"in o&&(dt?o.responseType="blob":ft&&e.headers.get("Content-Type")&&-1!==e.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof gt?e.headers.forEach(function(t,e){o.setRequestHeader(e,t)}):Object.getOwnPropertyNames(a.headers).forEach(function(t){o.setRequestHeader(t,pt(a.headers[t]))}),e.signal&&(e.signal.addEventListener("abort",i),o.onreadystatechange=function(){4===o.readyState&&e.signal.removeEventListener("abort",i)}),o.send(void 0===e._bodyInit?null:e._bodyInit)})}function Ii(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}St.polyfill=!0,lt.fetch||(lt.fetch=St,lt.Headers=gt,lt.Request=Tt,lt.Response=Lt),self.fetch.bind(self);var It=function(t,e){return(It=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)};function Dt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}It(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}function kt(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return{value:(t=t&&n>=t.length?void 0:t)&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Pt(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var n,r,o=i.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(n=o.next()).done;)a.push(n.value)}catch(t){r={error:t}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return a}function Nt(t,e){for(var i=0,n=e.length,r=t.length;i<n;i++,r++)t[r]=e[i];return t}function Ot(t){return"function"==typeof t}function Rt(t){t=t(function(t){Error.call(t),t.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t}var Yt=Rt(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}});function Ft(t,e){!t||0<=(e=t.indexOf(e))&&t.splice(e,1)}var Ut=($t.prototype.unsubscribe=function(){var t,e,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 a=kt(o),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}else o.remove(this);o=this.initialTeardown;if(Ot(o))try{o()}catch(t){r=t instanceof Yt?t.errors:[t]}o=this._teardowns;if(o){this._teardowns=null;try{for(var l=kt(o),u=l.next();!u.done;u=l.next()){var c=u.value;try{jt(c)}catch(t){r=null!=r?r:[],t instanceof Yt?r=Nt(Nt([],Pt(r)),Pt(t.errors)):r.push(t)}}}catch(t){i={error:t}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(i)throw i.error}}}if(r)throw new Yt(r)}},$t.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)jt(t);else{if(t instanceof $t){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(e=this._teardowns)&&void 0!==e?e:[]).push(t)}},$t.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},$t.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},$t.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&Ft(e,t)},$t.prototype.remove=function(t){var e=this._teardowns;e&&Ft(e,t),t instanceof $t&&t._removeParent(this)},$t.EMPTY=((ci=new $t).closed=!0,ci),$t),Gt=Ut.EMPTY;function $t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}function Wt(t){return t instanceof Ut||t&&"closed"in t&&Ot(t.remove)&&Ot(t.add)&&Ot(t.unsubscribe)}function jt(t){Ot(t)?t():t.unsubscribe()}var Bt=void 0,Ht=!1,Vt=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return setTimeout.apply(void 0,Nt([],Pt(t)))};function zt(){}function Zt(t){t()}var Xt,qt,Jt=(Dt(te,qt=Ut),te.create=function(t,e,i){return new Kt(t,e,i)},te.prototype.next=function(t){this.isStopped||this._next(t)},te.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},te.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},te.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,qt.prototype.unsubscribe.call(this),this.destination=null)},te.prototype._next=function(t){this.destination.next(t)},te.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},te.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},te),Kt=(Dt(Qt,Xt=Jt),Qt);function Qt(t,e,i){var n,r,o=Xt.call(this)||this;return Ot(t)?r=t:t&&(r=t.next,e=t.error,i=t.complete,o&&Ht?(n=Object.create(t)).unsubscribe=function(){return o.unsubscribe()}:n=t,r=null==r?void 0:r.bind(n),e=null==e?void 0:e.bind(n),i=null==i?void 0:i.bind(n)),o.destination={next:r?ee(r):zt,error:ee(null!=e?e:ie),complete:i?ee(i):zt},o}function te(t){var e=qt.call(this)||this;return e.isStopped=!1,t?Wt(e.destination=t)&&t.add(e):e.destination=ne,e}function ee(n){return function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];try{n.apply(void 0,Nt([],Pt(t)))}catch(t){e=t,Vt(function(){throw e})}}}function ie(t){throw t}var ne={closed:!0,next:zt,error:ie,complete:zt},re="function"==typeof Symbol&&Symbol.observable||"@@observable";function oe(t){return t}var ae=(se.prototype.lift=function(t){var e=new se;return e.source=this,e.operator=t,e},se.prototype.subscribe=function(t,e,i){var n,r=this,o=(n=t)&&n instanceof Jt||n&&Ot(n.next)&&Ot(n.error)&&Ot(n.complete)&&Wt(n)?t:new Kt(t,e,i);return Zt(function(){var t=r.operator,e=r.source;o.add(t?t.call(o,e):e?r._subscribe(o):r._trySubscribe(o))}),o},se.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},se.prototype.forEach=function(n,t){var r=this;return new(t=le(t))(function(t,e){var i=r.subscribe(function(t){try{n(t)}catch(t){e(t),null==i||i.unsubscribe()}},e,t)})},se.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},se.prototype[re]=function(){return this},se.prototype.pipe=function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return(0===(e=t).length?oe:1===e.length?e[0]:function(t){return e.reduce(function(t,e){return e(t)},t)})(this)},se.prototype.toPromise=function(t){var n=this;return new(t=le(t))(function(t,e){var i;n.subscribe(function(t){return i=t},function(t){return e(t)},function(){return t(i)})})},se.create=function(t){return new se(t)},se);function se(t){t&&(this._subscribe=t)}function le(t){return null!==(t=null!=t?t:Bt)&&void 0!==t?t:Promise}var ue,ce,de,me=Rt(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),fe=(Dt(ve,de=ae),ve.prototype.lift=function(t){var e=new he(this,this);return e.operator=t,e},ve.prototype._throwIfClosed=function(){if(this.closed)throw new me},ve.prototype.next=function(o){var a=this;Zt(function(){var e,t;if(a._throwIfClosed(),!a.isStopped){var i=a.observers.slice();try{for(var n=kt(i),r=n.next();!r.done;r=n.next())r.value.next(o)}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}}})},ve.prototype.error=function(e){var i=this;Zt(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=e;for(var t=i.observers;t.length;)t.shift().error(e)}})},ve.prototype.complete=function(){var e=this;Zt(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},ve.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(ve.prototype,"observed",{get:function(){var t;return 0<(null===(t=this.observers)||void 0===t?void 0:t.length)},enumerable:!1,configurable:!0}),ve.prototype._trySubscribe=function(t){return this._throwIfClosed(),de.prototype._trySubscribe.call(this,t)},ve.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},ve.prototype._innerSubscribe=function(t){var e=this.hasError,i=this.isStopped,n=this.observers;return e||i?Gt:(n.push(t),new Ut(function(){return Ft(n,t)}))},ve.prototype._checkFinalizedStatuses=function(t){var e=this.hasError,i=this.thrownError,n=this.isStopped;e?t.error(i):n&&t.complete()},ve.prototype.asObservable=function(){var t=new ae;return t.source=this,t},ve.create=function(t,e){return new he(t,e)},ve),he=(Dt(we,ce=fe),we.prototype.next=function(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,t)},we.prototype.error=function(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,t)},we.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},we.prototype._subscribe=function(t){var e;return null!==(t=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==t?t:Gt},we),pe={now:function(){return(pe.delegate||Date).now()},delegate:void 0},ye=(Dt(ge,ue=fe),ge.prototype.next=function(t){var e=this,i=e.isStopped,n=e._buffer,r=e._infiniteTimeWindow,o=e._timestampProvider,e=e._windowTime;i||(n.push(t),r||n.push(o.now()+e)),this._trimBuffer(),ue.prototype.next.call(this,t)},ge.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),i=this._infiniteTimeWindow,n=this._buffer.slice(),r=0;r<n.length&&!t.closed;r+=i?1:2)t.next(n[r]);return this._checkFinalizedStatuses(t),e},ge.prototype._trimBuffer=function(){var t=this._bufferSize,e=this._timestampProvider,i=this._buffer,n=this._infiniteTimeWindow,r=(n?1:2)*t;if(t<1/0&&r<i.length&&i.splice(0,i.length-r),!n){for(var o=e.now(),a=0,s=1;s<i.length&&i[s]<=o;s+=2)a=s;a&&i.splice(0,a+1)}},ge);function ge(t,e,i){void 0===t&&(t=1/0),void 0===e&&(e=1/0),void 0===i&&(i=pe);var n=ue.call(this)||this;return n._bufferSize=t,n._windowTime=e,n._timestampProvider=i,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=e===1/0,n._bufferSize=Math.max(1,t),n._windowTime=Math.max(1,e),n}function we(t,e){var i=ce.call(this)||this;return i.destination=t,i.source=e,i}function ve(){var t=de.call(this)||this;return t.closed=!1,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}let _e=[],be={};const xe=[];function Ee(n,r=z){let o;const a=[];function s(t){if(i(n,t)&&(n=t,o)){const t=!xe.length;for(let t=0;t<a.length;t+=1){const e=a[t];e[1](),xe.push(e,n)}if(t){for(let t=0;t<xe.length;t+=2)xe[t][0](xe[t+1]);xe.length=0}}}return{set:s,update:function(t){s(t(n))},subscribe:function(t,e=z){const i=[t,e];return a.push(i),1===a.length&&(o=r(s)||z),t(n),()=>{var t=a.indexOf(i);-1!==t&&a.splice(t,1),0===a.length&&(o(),o=null)}}}}function Te(t,s,e){const l=!Array.isArray(t),u=l?[t]:t,c=s.length<2;return{subscribe:Ee(e,e=>{let i=!1;const n=[];let r=0,o=z;const a=()=>{var t;r||(o(),t=s(l?n[0]:n,e),c?e(t):o=T(t)?t:z)},t=u.map((t,e)=>m(t,t=>{n[e]=t,r&=~(1<<e),i&&a()},()=>{r|=1<<e}));return i=!0,a(),function(){Z(t),o()}}).subscribe}}var Ce=function(t){return!(!t||"object"!=typeof t||(e=t,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Le));var e},Le="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Me(t,e){return!1!==e.clone&&e.isMergeableObject(t)?ke(Array.isArray(t)?[]:{},t,e):t}function Ae(t,e,i){return t.concat(e).map(function(t){return Me(t,i)})}function Se(t){return Object.keys(t).concat((e=t,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]));var e}function Ie(t,e){try{return e in t}catch(t){return!1}}function De(n,r,o){var a={};return o.isMergeableObject(n)&&Se(n).forEach(function(t){a[t]=Me(n[t],o)}),Se(r).forEach(function(e){var t,i;(!Ie(t=n,i=e)||Object.hasOwnProperty.call(t,i)&&Object.propertyIsEnumerable.call(t,i))&&(Ie(n,e)&&o.isMergeableObject(r[e])?a[e]=function(){if(!o.customMerge)return ke;var t=o.customMerge(e);return"function"==typeof t?t:ke}()(n[e],r[e],o):a[e]=Me(r[e],o))}),a}function ke(t,e,i){(i=i||{}).arrayMerge=i.arrayMerge||Ae,i.isMergeableObject=i.isMergeableObject||Ce,i.cloneUnlessOtherwiseSpecified=Me;var n=Array.isArray(e);return n===Array.isArray(t)?n?i.arrayMerge(t,e,i):De(t,e,i):Me(e,i)}ke.all=function(t,i){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,e){return ke(t,e,i)},{})};var Pe=ke,Ne=function(t,e){return(Ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)};function Oe(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}Ne(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}var Re,Ye,Fe,Ue=function(){return(Ue=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var r in e=arguments[i])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function Ge(t,e){for(var i=0,n=e.length,r=t.length;i<n;i++,r++)t[r]=e[i];return t}function $e(t){return t.type===Ye.literal}function We(t){return t.type===Ye.number}function je(t){return t.type===Ye.date}function Be(t){return t.type===Ye.time}function He(t){return t.type===Ye.select}function Ve(t){return t.type===Ye.plural}function ze(t){return t.type===Ye.tag}function Ze(t){return t&&"object"==typeof t&&t.type===Fe.number}function Xe(t){return t&&"object"==typeof t&&t.type===Fe.dateTime}(di=Re=Re||{})[di.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",di[di.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",di[di.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",di[di.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",di[di.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",di[di.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",di[di.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",di[di.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",di[di.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",di[di.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",di[di.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",di[di.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",di[di.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",di[di.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",di[di.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",di[di.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",di[di.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",di[di.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",di[di.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",di[di.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",di[di.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",di[di.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",di[di.INVALID_TAG=23]="INVALID_TAG",di[di.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",di[di.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",di[di.UNCLOSED_TAG=27]="UNCLOSED_TAG",(mi=Ye=Ye||{})[mi.literal=0]="literal",mi[mi.argument=1]="argument",mi[mi.number=2]="number",mi[mi.date=3]="date",mi[mi.time=4]="time",mi[mi.select=5]="select",mi[mi.plural=6]="plural",mi[mi.pound=7]="pound",mi[mi.tag=8]="tag",(fi=Fe=Fe||{})[fi.number=0]="number",fi[fi.dateTime=1]="dateTime";var t=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,qe=/(?:[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;var Je,Ke=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Qe=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ti=/^(@+)?(\+|#+)?$/g,ei=/(\*)(0+)|(#+)(0+)|(0+)/g,ii=/^(0+)$/;function ni(t){var n={};return t.replace(ti,function(t,e,i){return"string"!=typeof i?(n.minimumSignificantDigits=e.length,n.maximumSignificantDigits=e.length):"+"===i?n.minimumSignificantDigits=e.length:"#"===e[0]?n.maximumSignificantDigits=e.length:(n.minimumSignificantDigits=e.length,n.maximumSignificantDigits=e.length+("string"==typeof i?i.length:0)),""}),n}function ri(t){switch(t){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 oi(t){return ri(t)||{}}function ai(t){for(var a={},e=0,i=t;e<i.length;e++){var n,r=i[e];switch(r.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=r.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=Ue(Ue(Ue({},a),{notation:"scientific"}),r.options.reduce(function(t,e){return Ue(Ue({},t),oi(e))},{}));continue;case"engineering":a=Ue(Ue(Ue({},a),{notation:"engineering"}),r.options.reduce(function(t,e){return Ue(Ue({},t),oi(e))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(r.options[0]);continue;case"integer-width":if(1<r.options.length)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(ei,function(t,e,i,n,r,o){if(e)a.minimumIntegerDigits=i.length;else{if(n&&r)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ii.test(r.stem))a.minimumIntegerDigits=r.stem.length;else if(Qe.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Qe,function(t,e,i,n,r,o){return"*"===i?a.minimumFractionDigits=e.length:n&&"#"===n[0]?a.maximumFractionDigits=n.length:r&&o?(a.minimumFractionDigits=r.length,a.maximumFractionDigits=r.length+o.length):(a.minimumFractionDigits=e.length,a.maximumFractionDigits=e.length),""}),r.options.length&&(a=Ue(Ue({},a),ni(r.options[0])))}else ti.test(r.stem)?a=Ue(Ue({},a),ni(r.stem)):((n=ri(r.stem))&&(a=Ue(Ue({},a),n)),(n=function(t){var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var i=t.slice(0,2);if("+!"===i?(e.signDisplay="always",t=t.slice(2)):"+?"===i&&(e.signDisplay="exceptZero",t=t.slice(2)),!ii.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}(r.stem))&&(a=Ue(Ue({},a),n)))}return a}var si=new RegExp("^"+t.source+"*"),li=new RegExp(t.source+"*$");function ui(t,e){return{start:t,end:e}}var ci=!!String.prototype.startsWith,re=!!String.fromCodePoint,fe=!!Object.fromEntries,di=!!String.prototype.codePointAt,mi=!!String.prototype.trimStart,fi=!!String.prototype.trimEnd,hi=Number.isSafeInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},t=!0;try{t="a"===(null===(Je=Ei("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Je?void 0:Je[0])}catch(z){t=!1}var pi,yi,gi=ci?function(t,e,i){return t.startsWith(e,i)}:function(t,e,i){return t.slice(i,i+e.length)===e},wi=re?String.fromCodePoint:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var i,n="",r=t.length,o=0;o<r;){if(1114111<(i=t[o++]))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},vi=fe?Object.fromEntries:function(t){for(var e={},i=0,n=t;i<n.length;i++){var r=n[i],o=r[0],r=r[1];e[o]=r}return e},_i=di?function(t,e){return t.codePointAt(e)}:function(t,e){var i=t.length;if(!(e<0||i<=e)){var n,r=t.charCodeAt(e);return r<55296||56319<r||e+1===i||(n=t.charCodeAt(e+1))<56320||57343<n?r:n-56320+(r-55296<<10)+65536}},bi=mi?function(t){return t.trimStart()}:function(t){return t.replace(si,"")},xi=fi?function(t){return t.trimEnd()}:function(t){return t.replace(li,"")};function Ei(t,e){return new RegExp(t,e)}yi=t?(pi=Ei("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(t,e){return pi.lastIndex=e,null!==(t=pi.exec(t)[1])&&void 0!==t?t:""}):function(t,e){for(var i,n=[];;){var r=_i(t,e);if(void 0===r||Mi(r)||(33<=(i=r)&&i<=35||36===i||37<=i&&i<=39||40===i||41===i||42===i||43===i||44===i||45===i||46<=i&&i<=47||58<=i&&i<=59||60<=i&&i<=62||63<=i&&i<=64||91===i||92===i||93===i||94===i||96===i||123===i||124===i||125===i||126===i||161===i||162<=i&&i<=165||166===i||167===i||169===i||171===i||172===i||174===i||176===i||177===i||182===i||187===i||191===i||215===i||247===i||8208<=i&&i<=8213||8214<=i&&i<=8215||8216===i||8217===i||8218===i||8219<=i&&i<=8220||8221===i||8222===i||8223===i||8224<=i&&i<=8231||8240<=i&&i<=8248||8249===i||8250===i||8251<=i&&i<=8254||8257<=i&&i<=8259||8260===i||8261===i||8262===i||8263<=i&&i<=8273||8274===i||8275===i||8277<=i&&i<=8286||8592<=i&&i<=8596||8597<=i&&i<=8601||8602<=i&&i<=8603||8604<=i&&i<=8607||8608===i||8609<=i&&i<=8610||8611===i||8612<=i&&i<=8613||8614===i||8615<=i&&i<=8621||8622===i||8623<=i&&i<=8653||8654<=i&&i<=8655||8656<=i&&i<=8657||8658===i||8659===i||8660===i||8661<=i&&i<=8691||8692<=i&&i<=8959||8960<=i&&i<=8967||8968===i||8969===i||8970===i||8971===i||8972<=i&&i<=8991||8992<=i&&i<=8993||8994<=i&&i<=9e3||9001===i||9002===i||9003<=i&&i<=9083||9084===i||9085<=i&&i<=9114||9115<=i&&i<=9139||9140<=i&&i<=9179||9180<=i&&i<=9185||9186<=i&&i<=9254||9255<=i&&i<=9279||9280<=i&&i<=9290||9291<=i&&i<=9311||9472<=i&&i<=9654||9655===i||9656<=i&&i<=9664||9665===i||9666<=i&&i<=9719||9720<=i&&i<=9727||9728<=i&&i<=9838||9839===i||9840<=i&&i<=10087||10088===i||10089===i||10090===i||10091===i||10092===i||10093===i||10094===i||10095===i||10096===i||10097===i||10098===i||10099===i||10100===i||10101===i||10132<=i&&i<=10175||10176<=i&&i<=10180||10181===i||10182===i||10183<=i&&i<=10213||10214===i||10215===i||10216===i||10217===i||10218===i||10219===i||10220===i||10221===i||10222===i||10223===i||10224<=i&&i<=10239||10240<=i&&i<=10495||10496<=i&&i<=10626||10627===i||10628===i||10629===i||10630===i||10631===i||10632===i||10633===i||10634===i||10635===i||10636===i||10637===i||10638===i||10639===i||10640===i||10641===i||10642===i||10643===i||10644===i||10645===i||10646===i||10647===i||10648===i||10649<=i&&i<=10711||10712===i||10713===i||10714===i||10715===i||10716<=i&&i<=10747||10748===i||10749===i||10750<=i&&i<=11007||11008<=i&&i<=11055||11056<=i&&i<=11076||11077<=i&&i<=11078||11079<=i&&i<=11084||11085<=i&&i<=11123||11124<=i&&i<=11125||11126<=i&&i<=11157||11158===i||11159<=i&&i<=11263||11776<=i&&i<=11777||11778===i||11779===i||11780===i||11781===i||11782<=i&&i<=11784||11785===i||11786===i||11787===i||11788===i||11789===i||11790<=i&&i<=11798||11799===i||11800<=i&&i<=11801||11802===i||11803===i||11804===i||11805===i||11806<=i&&i<=11807||11808===i||11809===i||11810===i||11811===i||11812===i||11813===i||11814===i||11815===i||11816===i||11817===i||11818<=i&&i<=11822||11823===i||11824<=i&&i<=11833||11834<=i&&i<=11835||11836<=i&&i<=11839||11840===i||11841===i||11842===i||11843<=i&&i<=11855||11856<=i&&i<=11857||11858===i||11859<=i&&i<=11903||12289<=i&&i<=12291||12296===i||12297===i||12298===i||12299===i||12300===i||12301===i||12302===i||12303===i||12304===i||12305===i||12306<=i&&i<=12307||12308===i||12309===i||12310===i||12311===i||12312===i||12313===i||12314===i||12315===i||12316===i||12317===i||12318<=i&&i<=12319||12320===i||12336===i||64830===i||64831===i||65093<=i&&i<=65094))break;n.push(r),e+=65536<=r?2:1}return wi.apply(void 0,n)};var Ti=(Ci.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Ci.prototype.parseMessage=function(t,e,i){for(var n=[];!this.isEOF();){var r,o=this.char();if(123===o){if((r=this.parseArgument(t,i)).err)return r;n.push(r.val)}else{if(125===o&&0<t)break;if(35!==o||"plural"!==e&&"selectordinal"!==e){if(60===o&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(Re.UNMATCHED_CLOSING_TAG,ui(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Li(this.peek()||0)){if((r=this.parseTag(t,e)).err)return r;n.push(r.val)}else{if((r=this.parseLiteral(t,e)).err)return r;n.push(r.val)}}else{o=this.clonePosition();this.bump(),n.push({type:Ye.pound,location:ui(o,this.clonePosition())})}}}return{val:n,err:null}},Ci.prototype.parseTag=function(t,e){var i=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Ye.literal,value:"<"+n+"/>",location:ui(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(t+1,e,!0);if(r.err)return r;t=r.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Li(this.char()))return this.error(Re.INVALID_TAG,ui(e,this.clonePosition()));r=this.clonePosition();return n!==this.parseTagName()?this.error(Re.UNMATCHED_CLOSING_TAG,ui(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Ye.tag,value:n,children:t,location:ui(i,this.clonePosition())},err:null}:this.error(Re.INVALID_TAG,ui(e,this.clonePosition())))}return this.error(Re.UNCLOSED_TAG,ui(i,this.clonePosition()))}return this.error(Re.INVALID_TAG,ui(i,this.clonePosition()))},Ci.prototype.parseTagName=function(){var t,e=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||48<=t&&t<=57||95===t||97<=t&&t<=122||65<=t&&t<=90||183==t||192<=t&&t<=214||216<=t&&t<=246||248<=t&&t<=893||895<=t&&t<=8191||8204<=t&&t<=8205||8255<=t&&t<=8256||8304<=t&&t<=8591||11264<=t&&t<=12271||12289<=t&&t<=55295||63744<=t&&t<=64975||65008<=t&&t<=65533||65536<=t&&t<=983039);)this.bump();return this.message.slice(e,this.offset())},Ci.prototype.parseLiteral=function(t,e){for(var i=this.clonePosition(),n="";;){var r=this.tryParseQuote(e);if(r)n+=r;else{r=this.tryParseUnquoted(t,e);if(r)n+=r;else{r=this.tryParseLeftAngleBracket();if(!r)break;n+=r}}}i=ui(i,this.clonePosition());return{val:{type:Ye.literal,value:n,location:i},err:null}},Ci.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Li(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},Ci.prototype.tryParseQuote=function(t){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"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var e=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(39===i){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(i);this.bump()}return wi.apply(void 0,e)},Ci.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var i=this.char();return 60===i||123===i||35===i&&("plural"===e||"selectordinal"===e)||125===i&&0<t?null:(this.bump(),wi(i))},Ci.prototype.parseArgument=function(t,e){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,ui(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Re.EMPTY_ARGUMENT,ui(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(Re.MALFORMED_ARGUMENT,ui(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,ui(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Ye.argument,value:n,location:ui(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,ui(i,this.clonePosition())):this.parseArgumentOptions(t,e,n,i);default:return this.error(Re.MALFORMED_ARGUMENT,ui(i,this.clonePosition()))}},Ci.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),i=yi(this.message,e),e=e+i.length;return this.bumpTo(e),{value:i,location:ui(t,this.clonePosition())}},Ci.prototype.parseArgumentOptions=function(t,e,i,n){var r,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(Re.EXPECT_ARGUMENT_TYPE,ui(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(d=xi(m.val)).length)return this.error(Re.EXPECT_ARGUMENT_STYLE,ui(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:ui(u,this.clonePosition())}}if((f=this.tryParseArgumentClose(n)).err)return f;var c=ui(n,this.clonePosition());if(l&&gi(null==l?void 0:l.style,"::",0)){u=bi(l.style.slice(2));if("number"===a)return(m=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?m:{val:{type:Ye.number,value:i,location:c,style:m.val},err:null};if(0===u.length)return this.error(Re.EXPECT_DATE_TIME_SKELETON,c);var d={type:Fe.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},u.replace(qe,function(t){var e=t.length;switch(t[0]){case"G":r.era=4===e?"long":5===e?"narrow":"short";break;case"y":r.year=2===e?"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":r.month=["numeric","2-digit","short","long","narrow"][e-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][e-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4!==e&&5===e?"narrow":"short";break;case"e":if(e<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][e-4];break;case"c":if(e<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][e-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][e-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][e-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][e-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][e-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":r.minute=["numeric","2-digit"][e-1];break;case"s":r.second=["numeric","2-digit"][e-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=e<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""}),r):{}};return{val:{type:"date"===a?Ye.date:Ye.time,value:i,location:c,style:d},err:null}}return{val:{type:"number"===a?Ye.number:"date"===a?Ye.date:Ye.time,value:i,location:c,style:null!==(c=null==l?void 0:l.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Re.EXPECT_SELECT_ARGUMENT_OPTIONS,ui(l,Ue({},l)));this.bumpSpace();var m,c=this.parseIdentifierIfPossible(),l=0;if("select"!==a&&"offset"===c.value){if(!this.bumpIf(":"))return this.error(Re.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ui(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(m=this.tryParseDecimalInteger(Re.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Re.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),c=this.parseIdentifierIfPossible(),l=m.val}c=this.tryParsePluralOrSelectOptions(t,a,e,c);if(c.err)return c;if((f=this.tryParseArgumentClose(n)).err)return f;var f=ui(n,this.clonePosition());return"select"===a?{val:{type:Ye.select,value:i,options:vi(c.val),location:f},err:null}:{val:{type:Ye.plural,value:i,options:vi(c.val),offset:l,pluralType:"plural"===a?"cardinal":"ordinal",location:f},err:null};default:return this.error(Re.INVALID_ARGUMENT_TYPE,ui(o,s))}},Ci.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,ui(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},Ci.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Re.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,ui(i,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(0<t))return{val:this.message.slice(e.offset,this.offset()),err:null};--t;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}},Ci.prototype.parseNumberSkeletonFromString=function(t,e){var i=[];try{i=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var e=[],i=0,n=t.split(Ke).filter(function(t){return 0<t.length});i<n.length;i++){var r=n[i].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var o=r[0],r=r.slice(1),a=0,s=r;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");e.push({stem:o,options:r})}return e}(t)}catch(t){return this.error(Re.INVALID_NUMBER_SKELETON,e)}return{val:{type:Fe.number,tokens:i,location:e,parsedOptions:this.shouldParseSkeletons?ai(i):{}},err:null}},Ci.prototype.tryParsePluralOrSelectOptions=function(t,e,i,n){for(var r=!1,o=[],a=new Set,s=n.value,l=n.location;;){if(0===s.length){var u=this.clonePosition();if("select"===e||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(Re.EXPECT_PLURAL_ARGUMENT_SELECTOR,Re.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=ui(u,this.clonePosition()),s=this.message.slice(u.offset,this.offset())}if(a.has(s))return this.error("select"===e?Re.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Re.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(r=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?Re.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Re.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,ui(this.clonePosition(),this.clonePosition()));c=this.parseMessage(t+1,e,i);if(c.err)return c;u=this.tryParseArgumentClose(d);if(u.err)return u;o.push([s,{value:c.val,location:ui(d,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===o.length?this.error("select"===e?Re.EXPECT_SELECT_ARGUMENT_SELECTOR:Re.EXPECT_PLURAL_ARGUMENT_SELECTOR,ui(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(Re.MISSING_OTHER_CLAUSE,ui(this.clonePosition(),this.clonePosition())):{val:o,err:null}},Ci.prototype.tryParseDecimalInteger=function(t,e){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var r=!1,o=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;r=!0,o=10*o+(a-48),this.bump()}n=ui(n,this.clonePosition());return r?hi(o*=i)?{val:o,err:null}:this.error(e,n):this.error(t,n)},Ci.prototype.offset=function(){return this.position.offset},Ci.prototype.isEOF=function(){return this.offset()===this.message.length},Ci.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Ci.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var e=_i(this.message,t);if(void 0===e)throw Error("Offset "+t+" is at invalid UTF-16 code unit boundary");return e},Ci.prototype.error=function(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}},Ci.prototype.bump=function(){var t;this.isEOF()||(10===(t=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2))},Ci.prototype.bumpIf=function(t){if(gi(this.message,t,this.offset())){for(var e=0;e<t.length;e++)this.bump();return!0}return!1},Ci.prototype.bumpUntil=function(t){var e=this.offset(),e=this.message.indexOf(t,e);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},Ci.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset "+t+" must be greater than or equal to the current offset "+this.offset());for(t=Math.min(t,this.message.length);;){var e=this.offset();if(e===t)break;if(t<e)throw Error("targetOffset "+t+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},Ci.prototype.bumpSpace=function(){for(;!this.isEOF()&&Mi(this.char());)this.bump()},Ci.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this.offset(),t=this.message.charCodeAt(e+(65536<=t?2:1));return null!=t?t:null},Ci);function Ci(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}function Li(t){return 97<=t&&t<=122||65<=t&&t<=90}function Mi(t){return 9<=t&&t<=13||32===t||133===t||8206<=t&&t<=8207||8232===t||8233===t}function Ai(t,e){e=Ue({shouldParseSkeletons:!0,requiresOtherClause:!0},e=void 0===e?{}:e);var i=new Ti(t,e).parse();if(i.err){t=SyntaxError(Re[i.err.kind]);throw t.location=i.err.location,t.originalMessage=i.err.message,t}return null!=e&&e.captureLocation||function i(t){t.forEach(function(t){if(delete t.location,He(t)||Ve(t))for(var e in t.options)delete t.options[e].location,i(t.options[e].value);else We(t)&&Ze(t.style)||(je(t)||Be(t))&&Xe(t.style)?delete t.style.location:ze(t)&&i(t.children)})}(i.val),i.val}function Si(t,e){var i=e&&e.cache?e.cache:Yi,n=e&&e.serializer?e.serializer:Ni;return(e&&e.strategy?e.strategy:function(t,e){return Pi(t,this,1===t.length?Di:ki,e.cache.create(),e.serializer)})(t,{cache:i,serializer:n})}function Di(t,e,i,n){var r=null==n||"number"==typeof n||"boolean"==typeof n?n:i(n),i=e.get(r);return void 0===i&&(i=t.call(this,n),e.set(r,i)),i}function ki(t,e,i){var n=Array.prototype.slice.call(arguments,3),r=i(n),i=e.get(r);return void 0===i&&(i=t.apply(this,n),e.set(r,i)),i}function Pi(t,e,i,n,r){return i.bind(e,t,n,r)}var Ni=function(){return JSON.stringify(arguments)};function Oi(){this.cache=Object.create(null)}Oi.prototype.has=function(t){return t in this.cache},Oi.prototype.get=function(t){return this.cache[t]},Oi.prototype.set=function(t,e){this.cache[t]=e};var Ri,Yi={create:function(){return new Oi}},Fi={variadic:function(t,e){return Pi(t,this,ki,e.cache.create(),e.serializer)},monadic:function(t,e){return Pi(t,this,Di,e.cache.create(),e.serializer)}};(t=Ri=Ri||{}).MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API";var Ui,Gi,$i,Wi,ji,Bi=(Oe(Ji,ji=Error),Ji.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Ji),Hi=(Oe(qi,Wi=Bi),qi),Vi=(Oe(Xi,$i=Bi),Xi),zi=(Oe(Zi,Gi=Bi),Zi);function Zi(t,e){return Gi.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+e+'"',Ri.MISSING_VALUE,e)||this}function Xi(t,e,i){return $i.call(this,'Value for "'+t+'" must be of type '+e,Ri.INVALID_VALUE,i)||this}function qi(t,e,i,n){return Wi.call(this,'Invalid values for "'+t+'": "'+e+'". Options are "'+Object.keys(i).join('", "')+'"',Ri.INVALID_VALUE,n)||this}function Ji(t,e,i){t=ji.call(this,t)||this;return t.code=e,t.originalMessage=i,t}function Ki(t,e,i,n,r,o,a){if(1===t.length&&$e(t[0]))return[{type:Ui.literal,value:t[0].value}];for(var s=[],l=0,u=t;l<u.length;l++){var c=u[l];if($e(c))s.push({type:Ui.literal,value:c.value});else if(c.type===Ye.pound)"number"==typeof o&&s.push({type:Ui.literal,value:i.getNumberFormat(e).format(o)});else{var d=c.value;if(!(r&&d in r))throw new zi(d,a);var m=r[d];if(c.type===Ye.argument)m&&"string"!=typeof m&&"number"!=typeof m||(m="string"==typeof m||"number"==typeof m?String(m):""),s.push({type:"string"==typeof m?Ui.literal:Ui.object,value:m});else if(je(c)){var f="string"==typeof c.style?n.date[c.style]:Xe(c.style)?c.style.parsedOptions:void 0;s.push({type:Ui.literal,value:i.getDateTimeFormat(e,f).format(m)})}else if(Be(c))f="string"==typeof c.style?n.time[c.style]:Xe(c.style)?c.style.parsedOptions:void 0,s.push({type:Ui.literal,value:i.getDateTimeFormat(e,f).format(m)});else if(We(c))(f="string"==typeof c.style?n.number[c.style]:Ze(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(m*=f.scale||1),s.push({type:Ui.literal,value:i.getNumberFormat(e,f).format(m)});else{if(ze(c)){var h=c.children,p=c.value,d=r[p];if("function"!=typeof d)throw new Vi(p,"function",a);h=d(Ki(h,e,i,n,r,o).map(function(t){return t.value}));Array.isArray(h)||(h=[h]),s.push.apply(s,h.map(function(t){return{type:"string"==typeof t?Ui.literal:Ui.object,value:t}}))}if(He(c)){if(!(y=c.options[m]||c.options.other))throw new Hi(c.value,m,Object.keys(c.options),a);s.push.apply(s,Ki(y.value,e,i,n,r))}else if(Ve(c)){if(!(y=c.options["="+m])){if(!Intl.PluralRules)throw new Bi('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ri.MISSING_INTL_API,a);var h=i.getPluralRules(e,{type:c.pluralType}).select(m-(c.offset||0)),y=c.options[h]||c.options.other}if(!y)throw new Hi(c.value,m,Object.keys(c.options),a);s.push.apply(s,Ki(y.value,e,i,n,r,m-(c.offset||0)))}}}}return s.length<2?s:s.reduce(function(t,e){var i=t[t.length-1];return i&&i.type===Ui.literal&&e.type===Ui.literal?i.value+=e.value:t.push(e),t},[])}function Qi(i){return{create:function(){return{has:function(t){return t in i},get:function(t){return i[t]},set:function(t,e){i[t]=e}}}}}(t=Ui=Ui||{})[t.literal=0]="literal",t[t.object=1]="object";var tn=(Object.defineProperty(en,"defaultLocale",{get:function(){return en.memoizedDefaultLocale||(en.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),en.memoizedDefaultLocale},enumerable:!1,configurable:!0}),en.memoizedDefaultLocale=null,en.__parse=Ai,en.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"}}},en);function en(t,e,i,n){var r,o,a=this;if(void 0===e&&(e=en.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){t=a.formatToParts(t);if(1===t.length)return t[0].value;t=t.reduce(function(t,e){return t.length&&e.type===Ui.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t},[]);return t.length<=1?t[0]||"":t},this.formatToParts=function(t){return Ki(a.ast,a.locales,a.formatters,a.formats,t,void 0,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof t){if(this.message=t,!en.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=en.__parse(t,{ignoreTag:null==n?void 0:n.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(r=en.formats,(o=i)?Object.keys(r).reduce(function(t,e){var i,n;return t[e]=(i=r[e],(n=o[e])?Ue(Ue(Ue({},i||{}),n||{}),Object.keys(i).reduce(function(t,e){return t[e]=Ue(Ue({},i[e]),n[e]||{}),t},{})):i),t},Ue({},r)):r),this.locales=e,this.formatters=n&&n.formatters||{getNumberFormat:Si(function(){for(var t,e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return new((t=Intl.NumberFormat).bind.apply(t,Ge([void 0],e)))},{cache:Qi((n=void 0===(n=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:n).number),strategy:Fi.variadic}),getDateTimeFormat:Si(function(){for(var t,e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return new((t=Intl.DateTimeFormat).bind.apply(t,Ge([void 0],e)))},{cache:Qi(n.dateTime),strategy:Fi.variadic}),getPluralRules:Si(function(){for(var t,e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return new((t=Intl.PluralRules).bind.apply(t,Ge([void 0],e)))},{cache:Qi(n.pluralRules),strategy:Fi.variadic})}}const nn={},rn=(e,i)=>{if(null!=i){if(i in nn&&e in nn[i])return nn[i][e];var n,r,o=_n(i);for(let t=0;t<o.length;t++){var a=(n=o[t],r=e,sn(n)?function(t,e){if(e in t)return t[e];const i=e.split(".");let n=t;for(let t=0;t<i.length;t++)if("object"==typeof n){if(0<t){const e=i.slice(t,i.length).join(".");if(e in n){n=n[e];break}}n=n[i[t]]}else n=void 0;return n}(function(t){return on[t]||null}(n),r):null);if(a)return n=e,r=i,(a=a)&&(r in nn||(nn[r]={}),n in nn[r]||(nn[r][n]=a),a)}}};let on;const an=Ee({});function sn(t){return t in on}function ln(e,...i){delete nn[e],an.update(t=>(t[e]=Pe.all([t[e]||{},...i]),t))}Te([an],([t])=>Object.keys(t)),an.subscribe(t=>on=t);const un={};function cn(t){return un[t]}function dn(t){return _n(t).some(t=>{return null===(t=cn(t))||void 0===t?void 0:t.size})}const mn={};function fn(t){if(!dn(t))return t in mn?mn[t]:void 0;const e=_n(t).map(t=>{var e=cn(t);return[t,e?[...e]:[]]}).filter(([,t])=>0<t.length);return mn[t]=Promise.all(e.map(([t,i])=>function(e){return Promise.all(i.map(t=>(function(t,e){un[t].delete(e),0===un[t].size&&delete un[t]}(e,t),t().then(t=>t.default||t)))).then(t=>ln(e,...t))}(t))).then(()=>dn(t)?fn(t):void delete mn[t]),mn[t]}function hn(t,e){var i={};for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(i[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(t);n<r.length;n++)e.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(t,r[n])&&(i[r[n]]=t[r[n]]);return i}const pn={fallbackLocale:null,initialLocale: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,ignoreTag:!0};const yn=Ee(!1);let gn;const wn=Ee(null);function vn(t){return t.split("-").map((t,e,i)=>i.slice(0,e+1).join("-")).reverse()}function _n(t,e=pn.fallbackLocale){t=vn(t);return e?[...new Set([...t,...vn(e)])]:t}wn.subscribe(t=>{gn=t,"undefined"!=typeof window&&null!==t&&document.documentElement.setAttribute("lang",t)});const bn=wn.set;wn.set=e=>{if(function(t){if(null!=t){var e=_n(t);for(let t=0;t<e.length;t++){var i=e[t];if(sn(i))return i}}}(e)&&dn(e)){var{loadingDelay:i}=pn;let t;return"undefined"!=typeof window&&null!=gn&&i?t=window.setTimeout(()=>yn.set(!0),i):yn.set(!0),fn(e).then(()=>{bn(e)}).finally(()=>{clearTimeout(t),yn.set(!1)})}return bn(e)},wn.update=t=>bn(t(gn));const xn=i=>{const n=Object.create(null);return t=>{var e=JSON.stringify(t);return e in n?n[e]:n[e]=i(t)}},En=(t,e)=>{var{formats:i}=pn;if(t in i&&e in i[t])return i[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},Tn=xn(t=>{var{locale:e,format:i}=t,t=hn(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(t=En("number",i)),new Intl.NumberFormat(e,t)}),Cn=xn(t=>{var{locale:e,format:i}=t,t=hn(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?t=En("date",i):0===Object.keys(t).length&&(t=En("date","short")),new Intl.DateTimeFormat(e,t)}),Ln=xn(t=>{var{locale:e,format:i}=t,t=hn(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?t=En("time",i):0===Object.keys(t).length&&(t=En("time","short")),new Intl.DateTimeFormat(e,t)}),Mn=xn((t,e=gn)=>new tn(t,e,pn.formats,{ignoreTag:pn.ignoreTag})),An=Te([wn,an],()=>(t,e={})=>{"object"==typeof t&&(t=(e=t).id);var{values:i,locale:n=gn,default:r}=e;if(null==n)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let o=rn(t,n);if(o){if("string"!=typeof o)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof o}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),o}else pn.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${t}" was not found in "${_n(n).join('", "')}".${dn(gn)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),o=r||t;if(!i)return o;let a=o;try{a=Mn(o,n).format(i)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return a});Te([wn],()=>(t,e)=>((t={})=>{var{locale:e=gn}=t,t=hn(t,["locale"]);return Ln(Object.assign({locale:e},t))})(e).format(t)),Te([wn],()=>(t,e)=>((t={})=>{var{locale:e=gn}=t,t=hn(t,["locale"]);return Cn(Object.assign({locale:e},t))})(e).format(t)),Te([wn],()=>(t,e)=>((t={})=>{var{locale:e=gn}=t,t=hn(t,["locale"]);return Tn(Object.assign({locale:e},t))})(e).format(t)),Te([wn,an],()=>(t,e=gn)=>rn(t,e)),window.emWidgets={topic:(t,e=0)=>{return-1==_e.indexOf(t)&&(e=new ye(e),be[t]=e,_e.push(t)),be[t]}};const Sn=t=>t.toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",In={en:{gamingLimits:{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"}},ro:{gamingLimits:{returnToMenu:"Înapoi la meniu",gamingLimitsText:"Limite de joc",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limită de pierdere"}}},Dn={en:{cardText:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"}},ro:{cardText:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare:",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",removeLimitText:"Ești sigur că vrei să elimini această limită?",removeLimitsText:"Ești sigur că vrei să elimini toate limitele?",minutes:"minute",noLimit:"Fără Limită",expirationDate:"Dată Expirare",notAvailable:"N/A",edit:"Editează",removeLimits:"Elimină limitele",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",timeLimitLower:"limită de timp",depositLimitLower:"limită de depunere",wageringLimitLower:"limită de pariere",lossLimitLower:"limită de pierdere",time:"timp",currency:"monedă"}}},kn={en:{popupText:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",defaultText:"Nulla ornare pulvinar dui. Nullam viverra, lacus vel consectetur euismod, ante lorem aliquam nisi, non faucibus nulla lacus sed sapien. Sed imperdiet tristique tincidunt."}},ro:{popupText:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare.",defaultText:"Când stabilești o limită de joc, efectele se produc începând din momentul în care o activezi și durează până la finalul perioadei selectate. Așadar, dacă stabilești o limită zilnică la 14:00, perioada de 24 de ore este de la activare până la 00:00 GMT. Ulterior, limita va fi valabilă la fiecare 24 de ore. Poți micșora limita oricând, cu efect imediat. Totuși, majorarea sau eliminarea unei limite va fi aplicată în momentul în care limita curentă expiră. "}}};function Pn(i){let n,r,o,a,s,l,u,c,d,m,f,h,p,y,g,w=i[3]("popupText.name")+"";function v(t){return t[0]?On:Nn}let _=v(i),b=_(i);return{c(){n=K("section"),r=K("div"),o=K("div"),a=K("div"),a.textContent="i",s=tt(),l=K("div"),u=Q(w),c=tt(),d=K("div"),d.innerHTML='<svg class="w-6 h-6" part="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',m=tt(),f=K("div"),b.c(),nt(a,"class","InfoCardPopupIcon"),nt(a,"part","InfoCardPopupIcon"),nt(l,"class","InfoCardPopupTitle"),nt(l,"part","InfoCardPopupTitle"),nt(d,"class","InfoCardPopupCloseButton"),nt(d,"part","InfoCardPopupCloseButton"),nt(o,"class","InfoCardPopupHeader"),nt(o,"part","InfoCardPopupHeader"),nt(f,"class","InfoCardPopupContentArea"),nt(f,"part","InfoCardPopupContentArea"),nt(r,"class",h="InfoCardPopupWrapper "+(i[4]?"InfoCardPopupMobileWrapper":"")+" "+(i[0]?"InfoCardPopupLimitChanged":"")),nt(r,"part",p="InfoCardPopupWrapper "+(i[4]?"InfoCardPopupMobileWrapper":"")+" "+(i[0]?"InfoCardPopupLimitChanged":"")),nt(n,"class",i[4]?"InfoCardPopupMobileModal":""),nt(n,"part",i[4]?"InfoCardPopupMobileModal":"")},m(t,e){q(t,n,e),X(n,r),X(r,o),X(o,a),X(o,s),X(o,l),X(l,u),X(o,c),X(o,d),X(r,m),X(r,f),b.m(f,null),y||(g=et(d,"click",it(i[5])),y=!0)},p(t,e){8&e&&w!==(w=t[3]("popupText.name")+"")&&ot(u,w),_===(_=v(t))&&b?b.p(t,e):(b.d(1),b=_(t),b&&(b.c(),b.m(f,null))),1&e&&h!==(h="InfoCardPopupWrapper "+(t[4]?"InfoCardPopupMobileWrapper":"")+" "+(t[0]?"InfoCardPopupLimitChanged":""))&&nt(r,"class",h),1&e&&p!==(p="InfoCardPopupWrapper "+(t[4]?"InfoCardPopupMobileWrapper":"")+" "+(t[0]?"InfoCardPopupLimitChanged":""))&&nt(r,"part",p)},d(t){t&&J(n),b.d(),y=!1,g()}}}function Nn(t){let i,n,r=t[3]("popupText.defaultText")+"";return{c(){i=K("p"),n=Q(r),nt(i,"class","InfoCardPopupContent"),nt(i,"part","InfoCardPopupContent")},m(t,e){q(t,i,e),X(i,n)},p(t,e){8&e&&r!==(r=t[3]("popupText.defaultText")+"")&&ot(n,r)},d(t){t&&J(i)}}}function On(t){let i,n,r=t[3]("popupText.amountChanged",{values:{amount:t[0],currency:t[1]}})+"";return{c(){i=K("p"),n=Q(r),nt(i,"class","InfoCardPopupContent"),nt(i,"part","InfoCardPopupContent")},m(t,e){q(t,i,e),X(i,n)},p(t,e){11&e&&r!==(r=t[3]("popupText.amountChanged",{values:{amount:t[0],currency:t[1]}})+"")&&ot(n,r)},d(t){t&&J(i)}}}function Rn(t){let i,n=t[2]&&Pn(t);return{c(){n&&n.c(),i=_(),this.c=z},m(t,e){n&&n.m(t,e),q(t,i,e)},p(t,[e]){t[2]?n?n.p(t,e):(n=Pn(t),n.c(),n.m(i.parentNode,i)):n&&(n.d(1),n=null)},i:z,o:z,d(t){n&&n.d(t),t&&J(i)}}}function Yn(e,t,i){let n;F(e,An,t=>i(3,n=t));let{showpopup:r=""}=t,{iteminfoamount:o=""}=t,{lang:a="en"}=t,{playercurrency:s="USD"}=t;Object.keys(kn).forEach(t=>{ln(t,kn[t])});let l=!1,u=window.navigator.userAgent,c="PC"!==Sn(u);const d=t=>{t.data&&"ClosePlayerAccountGamingLimitsPopup"==t.data.type&&i(2,l=!1)};return $(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)})),e.$$set=t=>{"showpopup"in t&&i(6,r=t.showpopup),"iteminfoamount"in t&&i(0,o=t.iteminfoamount),"lang"in t&&i(7,a=t.lang),"playercurrency"in t&&i(1,s=t.playercurrency)},e.$$.update=()=>{var t;192&e.$$.dirty&&r&&a&&(t=a,wn.set(t),o<0&&i(0,o="0"),i(2,l=r))},[o,s,l,n,c,()=>{i(2,l=!1),window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href)},r,a]}customElements.get("player-account-gaming-limits-popup")||customElements.define("player-account-gaming-limits-popup",class extends V{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:''}.InfoCardPopupLimitChanged{background:var(--emfe-w-color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emfe-w-color-black, #000000);background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 4px 12px var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:\"\";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emfe-w-color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:102}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emfe-w-color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emfe-w-color-secondary, #FD2839);fill:var(--emfe-w-color-secondary, #FD2839)}</style>",H(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Yn,Rn,i,{showpopup:6,iteminfoamount:0,lang:7,playercurrency:1}),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),k()))}static get observedAttributes(){return["showpopup","iteminfoamount","lang","playercurrency"]}get showpopup(){return this.$$.ctx[6]}set showpopup(t){this.$set({showpopup:t}),k()}get iteminfoamount(){return this.$$.ctx[0]}set iteminfoamount(t){this.$set({iteminfoamount:t}),k()}get lang(){return this.$$.ctx[7]}set lang(t){this.$set({lang:t}),k()}get playercurrency(){return this.$$.ctx[1]}set playercurrency(t){this.$set({playercurrency:t}),k()}});const Fn={en:{editText:{back:"Back to Gaming Limits",limit:"Limit",amount:"Amount",noLimit:"No limit",changeLimitsText:"Are you sure you want to change the {limit}s?",success:"Success lorem Ipsum is simply dummy text of the printing and typesetting industry.",remove:"You have requested to remove this limit. This will be applied on ",invalidInputMessageLimit:"The amount needs to be between 0 and 99,999,999.",invalidInputMessageTime:"The time amount needs to be greater than {minTime} and below {maxTime} minutes.",expirationDate:"Expiration Date:",save:"Save",changedLimitTextBefore:"Your limit has been changed or increased:",changedLimitTextAfter:". You will have to wait for the expiration date for your new limit \vto take effect"}},ro:{editText:{back:"Înapoi la limite de joc",limit:"Limită",amount:"Sumă",noLimit:"Fără Limită",changeLimitsText:"Ești sigur că vrei să modifici {limit}?",success:"Limitele tale de joc au fost configurate cu success.",remove:"Ai solicitat eliminarea acestei limite. Acest lucru va avea loc la data expirării limitei ",invalidInputMessageLimit:"Trebuie să setezi o sumă intre 0 și 99,999,999.",invalidInputMessageTime:"Trebuie să setezi o limită intre {minTime} minute și {maxTime} minute",expirationDate:"Dată Expirare:",save:"Salvează",changedLimitTextBefore:"Limita ta a fost schimbată sau a crescut:",changedLimitTextAfter:". Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare."}}};var Un,Gn,$n=(Gn=Un={path:void 0,exports:{},require:function(t,e){return Ii(null==e&&Un.path)}},Un.exports,Gn.exports=function(){var t;function h(){return t.apply(null,arguments)}function a(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function s(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function f(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;for(var e in t)if(f(t,e))return;return 1}function o(t){return void 0===t}function u(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function r(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function n(t,e){for(var i=[],n=0;n<t.length;++n)i.push(e(t[n],n));return i}function c(t,e){for(var i in e)f(e,i)&&(t[i]=e[i]);return f(e,"toString")&&(t.toString=e.toString),f(e,"valueOf")&&(t.valueOf=e.valueOf),t}function d(t,e,i,n){return Se(t,e,i,n,!0).utc()}function p(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function m(t){if(null==t._isValid){var e=p(t),i=g.call(e.parsedDateParts,function(t){return null!=t}),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&i);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function y(t){var e=d(NaN);return null!=t?c(p(e),t):p(e).userInvalidated=!0,e}var g=Array.prototype.some||function(t){for(var e=Object(this),i=e.length>>>0,n=0;n<i;n++)if(n in e&&t.call(this,e[n],n,e))return!0;return!1},w=h.momentProperties=[],e=!1;function v(t,e){var i,n,r;if(o(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),o(e._i)||(t._i=e._i),o(e._f)||(t._f=e._f),o(e._l)||(t._l=e._l),o(e._strict)||(t._strict=e._strict),o(e._tzm)||(t._tzm=e._tzm),o(e._isUTC)||(t._isUTC=e._isUTC),o(e._offset)||(t._offset=e._offset),o(e._pf)||(t._pf=p(e)),o(e._locale)||(t._locale=e._locale),0<w.length)for(i=0;i<w.length;i++)o(r=e[n=w[i]])||(t[n]=r);return t}function _(t){v(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===e&&(e=!0,h.updateOffset(this),e=!1)}function b(t){return t instanceof _||null!=t&&null!=t._isAMomentObject}function x(t){!1===h.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function i(r,o){var a=!0;return c(function(){if(null!=h.deprecationHandler&&h.deprecationHandler(null,r),a){for(var t,e,i=[],n=0;n<arguments.length;n++){if(t="","object"==typeof arguments[n]){for(e in t+="\n["+n+"] ",arguments[0])f(arguments[0],e)&&(t+=e+": "+arguments[0][e]+", ");t=t.slice(0,-2)}else t=arguments[n];i.push(t)}x(r+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),a=!1}return o.apply(this,arguments)},o)}var E={};function T(t,e){null!=h.deprecationHandler&&h.deprecationHandler(t,e),E[t]||(x(e),E[t]=!0)}function C(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function L(t,e){var i,n=c({},t);for(i in e)f(e,i)&&(s(t[i])&&s(e[i])?(n[i]={},c(n[i],t[i]),c(n[i],e[i])):null!=e[i]?n[i]=e[i]:delete n[i]);for(i in t)f(t,i)&&!f(e,i)&&s(t[i])&&(n[i]=c({},n[i]));return n}function M(t){null!=t&&this.set(t)}h.suppressDeprecationWarnings=!1,h.deprecationHandler=null;var A=Object.keys||function(t){var e,i=[];for(e in t)f(t,e)&&i.push(e);return i};function S(t,e,i){var n=""+Math.abs(t);return(0<=t?i?"+":"":"-")+Math.pow(10,Math.max(0,e-n.length)).toString().substr(1)+n}var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,D=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,k={},P={};function N(t,e,i,n){var r="string"==typeof n?function(){return this[n]()}:n;t&&(P[t]=r),e&&(P[e[0]]=function(){return S(r.apply(this,arguments),e[1],e[2])}),i&&(P[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function O(t,e){return t.isValid()?(e=R(e,t.localeData()),k[e]=k[e]||function(n){for(var t,r=n.match(I),e=0,o=r.length;e<o;e++)P[r[e]]?r[e]=P[r[e]]:r[e]=(t=r[e]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t){for(var e="",i=0;i<o;i++)e+=C(r[i])?r[i].call(t,n):r[i];return e}}(e),k[e](t)):t.localeData().invalidDate()}function R(t,e){var i=5;function n(t){return e.longDateFormat(t)||t}for(D.lastIndex=0;0<=i&&D.test(t);)t=t.replace(D,n),D.lastIndex=0,--i;return t}var Y={};function F(t,e){var i=t.toLowerCase();Y[i]=Y[i+"s"]=Y[e]=t}function U(t){return"string"==typeof t?Y[t]||Y[t.toLowerCase()]:void 0}function G(t){var e,i,n={};for(i in t)f(t,i)&&(e=U(i))&&(n[e]=t[i]);return n}var $={};function W(t,e){$[t]=e}function j(t){return t%4==0&&t%100!=0||t%400==0}function B(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function H(t){var e=+t,t=0;return t=0!=e&&isFinite(e)?B(e):t}function V(e,i){return function(t){return null!=t?(Z(this,e,t),h.updateOffset(this,i),this):z(this,e)}}function z(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Z(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&j(t.year())&&1===t.month()&&29===t.date()?(i=H(i),t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),At(i,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](i))}var X=/\d/,q=/\d\d/,J=/\d{3}/,K=/\d{4}/,Q=/[+-]?\d{6}/,tt=/\d\d?/,et=/\d\d\d\d?/,it=/\d\d\d\d\d\d?/,nt=/\d{1,3}/,rt=/\d{1,4}/,ot=/[+-]?\d{1,6}/,at=/\d+/,st=/[+-]?\d+/,lt=/Z|[+-]\d\d:?\d\d/gi,ut=/Z|[+-]\d\d(?::?\d\d)?/gi,ct=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function dt(t,i,n){ht[t]=C(i)?i:function(t,e){return t&&n?n:i}}function mt(t,e){return f(ht,t)?ht[t](e._strict,e._locale):new RegExp(ft(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,i,n,r){return e||i||n||r})))}function ft(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ht={},pt={};function yt(t,i){var e,n=i;for("string"==typeof t&&(t=[t]),u(i)&&(n=function(t,e){e[i]=H(t)}),e=0;e<t.length;e++)pt[t[e]]=n}function gt(t,r){yt(t,function(t,e,i,n){i._w=i._w||{},r(t,i._w,i,n)})}var wt,vt=0,_t=1,bt=2,xt=3,Et=4,Tt=5,Ct=6,Lt=7,Mt=8;function At(t,e){if(isNaN(t)||isNaN(e))return NaN;var i,i=(e%(i=12)+i)%i;return t+=(e-i)/12,1==i?j(t)?29:28:31-i%7%2}wt=Array.prototype.indexOf||function(t){for(var e=0;e<this.length;++e)if(this[e]===t)return e;return-1},N("M",["MM",2],"Mo",function(){return this.month()+1}),N("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),N("MMMM",0,0,function(t){return this.localeData().months(this,t)}),F("month","M"),W("month",8),dt("M",tt),dt("MM",tt,q),dt("MMM",function(t,e){return e.monthsShortRegex(t)}),dt("MMMM",function(t,e){return e.monthsRegex(t)}),yt(["M","MM"],function(t,e){e[_t]=H(t)-1}),yt(["MMM","MMMM"],function(t,e,i,n){n=i._locale.monthsParse(t,n,i._strict);null!=n?e[_t]=n:p(i).invalidMonth=t});var St="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),It="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Dt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,kt=ct,Pt=ct;function Nt(t,e){var i;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=H(e);else if(!u(e=t.localeData().monthsParse(e)))return t;return i=Math.min(t.date(),At(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,i),t}function Ot(t){return null!=t?(Nt(this,t),h.updateOffset(this,!0),this):z(this,"Month")}function Rt(){function t(t,e){return e.length-t.length}for(var e,i=[],n=[],r=[],o=0;o<12;o++)e=d([2e3,o]),i.push(this.monthsShort(e,"")),n.push(this.months(e,"")),r.push(this.months(e,"")),r.push(this.monthsShort(e,""));for(i.sort(t),n.sort(t),r.sort(t),o=0;o<12;o++)i[o]=ft(i[o]),n[o]=ft(n[o]);for(o=0;o<24;o++)r[o]=ft(r[o]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Yt(t){return j(t)?366:365}N("Y",0,0,function(){var t=this.year();return t<=9999?S(t,4):"+"+t}),N(0,["YY",2],0,function(){return this.year()%100}),N(0,["YYYY",4],0,"year"),N(0,["YYYYY",5],0,"year"),N(0,["YYYYYY",6,!0],0,"year"),F("year","y"),W("year",1),dt("Y",st),dt("YY",tt,q),dt("YYYY",rt,K),dt("YYYYY",ot,Q),dt("YYYYYY",ot,Q),yt(["YYYYY","YYYYYY"],vt),yt("YYYY",function(t,e){e[vt]=2===t.length?h.parseTwoDigitYear(t):H(t)}),yt("YY",function(t,e){e[vt]=h.parseTwoDigitYear(t)}),yt("Y",function(t,e){e[vt]=parseInt(t,10)}),h.parseTwoDigitYear=function(t){return H(t)+(68<H(t)?1900:2e3)};var Ft=V("FullYear",!0);function Ut(t,e,i,n,r,o,a){var s;return t<100&&0<=t?(s=new Date(t+400,e,i,n,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,i,n,r,o,a),s}function Gt(t){var e;return t<100&&0<=t?((e=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,e)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function $t(t,e,i){i=7+e-i;return-(7+Gt(t,0,i).getUTCDay()-e)%7+i-1}function Wt(t,e,i,n,r){var o,r=1+7*(e-1)+(7+i-n)%7+$t(t,n,r),r=r<=0?Yt(o=t-1)+r:r>Yt(t)?(o=t+1,r-Yt(t)):(o=t,r);return{year:o,dayOfYear:r}}function jt(t,e,i){var n,r,o=$t(t.year(),e,i),o=Math.floor((t.dayOfYear()-o-1)/7)+1;return o<1?n=o+Bt(r=t.year()-1,e,i):o>Bt(t.year(),e,i)?(n=o-Bt(t.year(),e,i),r=t.year()+1):(r=t.year(),n=o),{week:n,year:r}}function Bt(t,e,i){var n=$t(t,e,i),i=$t(t+1,e,i);return(Yt(t)-n+i)/7}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),W("week",5),W("isoWeek",5),dt("w",tt),dt("ww",tt,q),dt("W",tt),dt("WW",tt,q),gt(["w","ww","W","WW"],function(t,e,i,n){e[n.substr(0,1)]=H(t)});function Ht(t,e){return t.slice(e,7).concat(t.slice(0,e))}N("d",0,"do","day"),N("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),N("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),N("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),dt("d",tt),dt("e",tt),dt("E",tt),dt("dd",function(t,e){return e.weekdaysMinRegex(t)}),dt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),dt("dddd",function(t,e){return e.weekdaysRegex(t)}),gt(["dd","ddd","dddd"],function(t,e,i,n){n=i._locale.weekdaysParse(t,n,i._strict);null!=n?e.d=n:p(i).invalidWeekday=t}),gt(["d","e","E"],function(t,e,i,n){e[n]=H(t)});var Vt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),zt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Zt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xt=ct,qt=ct,Jt=ct;function Kt(){function t(t,e){return e.length-t.length}for(var e,i,n,r=[],o=[],a=[],s=[],l=0;l<7;l++)n=d([2e3,1]).day(l),e=ft(this.weekdaysMin(n,"")),i=ft(this.weekdaysShort(n,"")),n=ft(this.weekdays(n,"")),r.push(e),o.push(i),a.push(n),s.push(e),s.push(i),s.push(n);r.sort(t),o.sort(t),a.sort(t),s.sort(t),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Qt(){return this.hours()%12||12}function te(t,e){N(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function ee(t,e){return e._meridiemParse}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,Qt),N("k",["kk",2],0,function(){return this.hours()||24}),N("hmm",0,0,function(){return""+Qt.apply(this)+S(this.minutes(),2)}),N("hmmss",0,0,function(){return""+Qt.apply(this)+S(this.minutes(),2)+S(this.seconds(),2)}),N("Hmm",0,0,function(){return""+this.hours()+S(this.minutes(),2)}),N("Hmmss",0,0,function(){return""+this.hours()+S(this.minutes(),2)+S(this.seconds(),2)}),te("a",!0),te("A",!1),F("hour","h"),W("hour",13),dt("a",ee),dt("A",ee),dt("H",tt),dt("h",tt),dt("k",tt),dt("HH",tt,q),dt("hh",tt,q),dt("kk",tt,q),dt("hmm",et),dt("hmmss",it),dt("Hmm",et),dt("Hmmss",it),yt(["H","HH"],xt),yt(["k","kk"],function(t,e,i){t=H(t);e[xt]=24===t?0:t}),yt(["a","A"],function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t}),yt(["h","hh"],function(t,e,i){e[xt]=H(t),p(i).bigHour=!0}),yt("hmm",function(t,e,i){var n=t.length-2;e[xt]=H(t.substr(0,n)),e[Et]=H(t.substr(n)),p(i).bigHour=!0}),yt("hmmss",function(t,e,i){var n=t.length-4,r=t.length-2;e[xt]=H(t.substr(0,n)),e[Et]=H(t.substr(n,2)),e[Tt]=H(t.substr(r)),p(i).bigHour=!0}),yt("Hmm",function(t,e,i){var n=t.length-2;e[xt]=H(t.substr(0,n)),e[Et]=H(t.substr(n))}),yt("Hmmss",function(t,e,i){var n=t.length-4,r=t.length-2;e[xt]=H(t.substr(0,n)),e[Et]=H(t.substr(n,2)),e[Tt]=H(t.substr(r))});var ie=V("Hours",!0);var ne,re={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:St,monthsShort:It,week:{dow:0,doy:6},weekdays:Vt,weekdaysMin:Zt,weekdaysShort:zt,meridiemParse:/[ap]\.?m?\.?/i},oe={},ae={};function se(t){return t&&t.toLowerCase().replace("_","-")}function le(t){for(var e,i,n,r,o=0;o<t.length;){for(e=(r=se(t[o]).split("-")).length,i=(i=se(t[o+1]))?i.split("-"):null;0<e;){if(n=ue(r.slice(0,e).join("-")))return n;if(i&&i.length>=e&&function(t,e){for(var i=Math.min(t.length,e.length),n=0;n<i;n+=1)if(t[n]!==e[n])return n;return i}(r,i)>=e-1)break;e--}o++}return ne}function ue(e){var t;if(void 0===oe[e]&&Gn&&Gn.exports)try{t=ne._abbr,Ii(),ce(t)}catch(t){oe[e]=null}return oe[e]}function ce(t,e){return t&&((e=o(e)?me(t):de(t,e))?ne=e:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ne._abbr}function de(t,e){if(null===e)return delete oe[t],null;var i,n=re;if(e.abbr=t,null!=oe[t])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=oe[t]._config;else if(null!=e.parentLocale)if(null!=oe[e.parentLocale])n=oe[e.parentLocale]._config;else{if(null==(i=ue(e.parentLocale)))return ae[e.parentLocale]||(ae[e.parentLocale]=[]),ae[e.parentLocale].push({name:t,config:e}),null;n=i._config}return oe[t]=new M(L(n,e)),ae[t]&&ae[t].forEach(function(t){de(t.name,t.config)}),ce(t),oe[t]}function me(t){var e;if(!(t=t&&t._locale&&t._locale._abbr?t._locale._abbr:t))return ne;if(!a(t)){if(e=ue(t))return e;t=[t]}return le(t)}function fe(t){var e=t._a;return e&&-2===p(t).overflow&&(e=e[_t]<0||11<e[_t]?_t:e[bt]<1||e[bt]>At(e[vt],e[_t])?bt:e[xt]<0||24<e[xt]||24===e[xt]&&(0!==e[Et]||0!==e[Tt]||0!==e[Ct])?xt:e[Et]<0||59<e[Et]?Et:e[Tt]<0||59<e[Tt]?Tt:e[Ct]<0||999<e[Ct]?Ct:-1,p(t)._overflowDayOfYear&&(e<vt||bt<e)&&(e=bt),p(t)._overflowWeeks&&-1===e&&(e=Lt),p(t)._overflowWeekday&&-1===e&&(e=Mt),p(t).overflow=e),t}var he=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pe=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ye=/Z|[+-]\d\d(?::?\d\d)?/,ge=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],we=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ve=/^\/?Date\((-?\d+)/i,_e=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,be={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xe(t){var e,i,n,r,o,a,s=t._i,l=he.exec(s)||pe.exec(s);if(l){for(p(t).iso=!0,e=0,i=ge.length;e<i;e++)if(ge[e][1].exec(l[1])){r=ge[e][0],n=!1!==ge[e][2];break}if(null==r)return t._isValid=!1;if(l[3]){for(e=0,i=we.length;e<i;e++)if(we[e][1].exec(l[3])){o=(l[2]||" ")+we[e][0];break}if(null==o)return t._isValid=!1}if(!n&&null!=o)return t._isValid=!1;if(l[4]){if(!ye.exec(l[4]))return t._isValid=!1;a="Z"}t._f=r+(o||"")+(a||""),Me(t)}else t._isValid=!1}function Ee(t,e,i,n,r,o){r=[function(t){t=parseInt(t,10);return t<=49?2e3+t:t<=999?1900+t:t}(t),It.indexOf(e),parseInt(i,10),parseInt(n,10),parseInt(r,10)];return o&&r.push(parseInt(o,10)),r}function Te(t){var e,i,n,r,o=_e.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(e=Ee(o[4],o[3],o[2],o[5],o[6],o[7]),i=o[1],n=e,r=t,i&&zt.indexOf(i)!==new Date(n[0],n[1],n[2]).getDay()?(p(r).weekdayMismatch=!0,r._isValid=!1):(t._a=e,t._tzm=(r=o[8],e=o[9],o=o[10],r?be[r]:e?0:((e=parseInt(o,10))-(o=e%100))/100*60+o),t._d=Gt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),p(t).rfc2822=!0)):t._isValid=!1}function Ce(t,e,i){return null!=t?t:null!=e?e:i}function Le(t){var e,i,n,r,o,a,s,l,u,c,d,m,f=[];if(!t._d){for(d=t,m=new Date(h.now()),i=d._useUTC?[m.getUTCFullYear(),m.getUTCMonth(),m.getUTCDate()]:[m.getFullYear(),m.getMonth(),m.getDate()],t._w&&null==t._a[bt]&&null==t._a[_t]&&(null!=(d=(r=t)._w).GG||null!=d.W||null!=d.E?(l=1,u=4,o=Ce(d.GG,r._a[vt],jt(Ie(),1,4).year),a=Ce(d.W,1),((s=Ce(d.E,1))<1||7<s)&&(c=!0)):(l=r._locale._week.dow,u=r._locale._week.doy,m=jt(Ie(),l,u),o=Ce(d.gg,r._a[vt],m.year),a=Ce(d.w,m.week),null!=d.d?((s=d.d)<0||6<s)&&(c=!0):null!=d.e?(s=d.e+l,(d.e<0||6<d.e)&&(c=!0)):s=l),a<1||a>Bt(o,l,u)?p(r)._overflowWeeks=!0:null!=c?p(r)._overflowWeekday=!0:(u=Wt(o,a,s,l,u),r._a[vt]=u.year,r._dayOfYear=u.dayOfYear)),null!=t._dayOfYear&&(n=Ce(t._a[vt],i[vt]),(t._dayOfYear>Yt(n)||0===t._dayOfYear)&&(p(t)._overflowDayOfYear=!0),n=Gt(n,0,t._dayOfYear),t._a[_t]=n.getUTCMonth(),t._a[bt]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=f[e]=i[e];for(;e<7;e++)t._a[e]=f[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[xt]&&0===t._a[Et]&&0===t._a[Tt]&&0===t._a[Ct]&&(t._nextDay=!0,t._a[xt]=0),t._d=(t._useUTC?Gt:Ut).apply(null,f),n=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[xt]=24),t._w&&void 0!==t._w.d&&t._w.d!==n&&(p(t).weekdayMismatch=!0)}}function Me(t){if(t._f!==h.ISO_8601)if(t._f!==h.RFC_2822){t._a=[],p(t).empty=!0;for(var e,i,n=""+t._i,r=n.length,o=0,a=R(t._f,t._locale).match(I)||[],s=0;s<a.length;s++)i=a[s],(e=(n.match(mt(i,t))||[])[0])&&(0<(d=n.substr(0,n.indexOf(e))).length&&p(t).unusedInput.push(d),n=n.slice(n.indexOf(e)+e.length),o+=e.length),P[i]?(e?p(t).empty=!1:p(t).unusedTokens.push(i),c=i,m=t,null!=(d=e)&&f(pt,c)&&pt[c](d,m._a,m,c)):t._strict&&!e&&p(t).unusedTokens.push(i);p(t).charsLeftOver=r-o,0<n.length&&p(t).unusedInput.push(n),t._a[xt]<=12&&!0===p(t).bigHour&&0<t._a[xt]&&(p(t).bigHour=void 0),p(t).parsedDateParts=t._a.slice(0),p(t).meridiem=t._meridiem,t._a[xt]=(l=t._locale,u=t._a[xt],null==(r=t._meridiem)?u:null!=l.meridiemHour?l.meridiemHour(u,r):null!=l.isPM?((r=l.isPM(r))&&u<12&&(u+=12),u=r||12!==u?u:0):u),null!==(u=p(t).era)&&(t._a[vt]=t._locale.erasConvertYear(u,t._a[vt])),Le(t),fe(t)}else Te(t);else xe(t);var l,u,c,d,m}function Ae(t){var e=t._i,i=t._f;return t._locale=t._locale||me(t._l),null===e||void 0===i&&""===e?y({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),b(e)?new _(fe(e)):(r(e)?t._d=e:a(i)?function(t){var e,i,n,r,o,a,s=!1;if(0===t._f.length)return p(t).invalidFormat=!0,t._d=new Date(NaN);for(r=0;r<t._f.length;r++)o=0,a=!1,e=v({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Me(e),m(e)&&(a=!0),o+=p(e).charsLeftOver,o+=10*p(e).unusedTokens.length,p(e).score=o,s?o<n&&(n=o,i=e):(null==n||o<n||a)&&(n=o,i=e,a&&(s=!0));c(t,i||e)}(t):i?Me(t):o(i=(e=t)._i)?e._d=new Date(h.now()):r(i)?e._d=new Date(i.valueOf()):"string"==typeof i?function(t){var e=ve.exec(t._i);null===e?(xe(t),!1===t._isValid&&(delete t._isValid,Te(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:h.createFromInputFallback(t)))):t._d=new Date(+e[1])}(e):a(i)?(e._a=n(i.slice(0),function(t){return parseInt(t,10)}),Le(e)):s(i)?function(t){var e,i;t._d||(i=void 0===(e=G(t._i)).day?e.date:e.day,t._a=n([e.year,e.month,i,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),Le(t))}(e):u(i)?e._d=new Date(i):h.createFromInputFallback(e),m(t)||(t._d=null),t))}function Se(t,e,i,n,r){var o={};return!0!==e&&!1!==e||(n=e,e=void 0),!0!==i&&!1!==i||(n=i,i=void 0),(s(t)&&l(t)||a(t)&&0===t.length)&&(t=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=i,o._i=t,o._f=e,o._strict=n,(o=new _(fe(Ae(o=o))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function Ie(t,e,i,n){return Se(t,e,i,n,!1)}h.createFromInputFallback=i("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),h.ISO_8601=function(){},h.RFC_2822=function(){};var De=i("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ie.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:y()}),ke=i("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ie.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:y()});function Pe(t,e){var i,n;if(!(e=1===e.length&&a(e[0])?e[0]:e).length)return Ie();for(i=e[0],n=1;n<e.length;++n)e[n].isValid()&&!e[n][t](i)||(i=e[n]);return i}var Ne=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Oe(t){var e=G(t),i=e.year||0,n=e.quarter||0,r=e.month||0,o=e.week||e.isoWeek||0,a=e.day||0,s=e.hour||0,l=e.minute||0,u=e.second||0,t=e.millisecond||0;this._isValid=function(t){var e,i,n=!1;for(e in t)if(f(t,e)&&(-1===wt.call(Ne,e)||null!=t[e]&&isNaN(t[e])))return!1;for(i=0;i<Ne.length;++i)if(t[Ne[i]]){if(n)return!1;parseFloat(t[Ne[i]])!==H(t[Ne[i]])&&(n=!0)}return!0}(e),this._milliseconds=+t+1e3*u+6e4*l+1e3*s*60*60,this._days=+a+7*o,this._months=+r+3*n+12*i,this._data={},this._locale=me(),this._bubble()}function Re(t){return t instanceof Oe}function Ye(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Fe(t,i){N(t,0,0,function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+S(~~(t/60),2)+i+S(~~t%60,2)})}Fe("Z",":"),Fe("ZZ",""),dt("Z",ut),dt("ZZ",ut),yt(["Z","ZZ"],function(t,e,i){i._useUTC=!0,i._tzm=Ge(ut,t)});var Ue=/([\+\-]|\d\d)/gi;function Ge(t,e){var e=(e||"").match(t);return null===e?null:0===(e=60*(t=((e[e.length-1]||[])+"").match(Ue)||["-",0,0])[1]+H(t[2]))?0:"+"===t[0]?e:-e}function $e(t,e){var i;return e._isUTC?(i=e.clone(),e=(b(t)||r(t)?t:Ie(t)).valueOf()-i.valueOf(),i._d.setTime(i._d.valueOf()+e),h.updateOffset(i,!1),i):Ie(t).local()}function We(t){return-Math.round(t._d.getTimezoneOffset())}function je(){return!!this.isValid()&&this._isUTC&&0===this._offset}h.updateOffset=function(){};var Be=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,He=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ve(t,e){var i,n,r=t,o=null;return Re(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:u(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(o=Be.exec(t))?(i="-"===o[1]?-1:1,r={y:0,d:H(o[bt])*i,h:H(o[xt])*i,m:H(o[Et])*i,s:H(o[Tt])*i,ms:H(Ye(1e3*o[Ct]))*i}):(o=He.exec(t))?(i="-"===o[1]?-1:1,r={y:ze(o[2],i),M:ze(o[3],i),w:ze(o[4],i),d:ze(o[5],i),h:ze(o[6],i),m:ze(o[7],i),s:ze(o[8],i)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(o=Ie(r.from),i=Ie(r.to),n=o.isValid()&&i.isValid()?(i=$e(i,o),o.isBefore(i)?n=Ze(o,i):((n=Ze(i,o)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0},(r={}).ms=n.milliseconds,r.M=n.months),r=new Oe(r),Re(t)&&f(t,"_locale")&&(r._locale=t._locale),Re(t)&&f(t,"_isValid")&&(r._isValid=t._isValid),r}function ze(t,e){t=t&&parseFloat(t.replace(",","."));return(isNaN(t)?0:t)*e}function Ze(t,e){var i={};return i.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(i.months,"M").isAfter(e)&&--i.months,i.milliseconds=+e-+t.clone().add(i.months,"M"),i}function Xe(n,r){return function(t,e){var i;return null===e||isNaN(+e)||(T(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=t,t=e,e=i),qe(this,Ve(t,e),n),this}}function qe(t,e,i,n){var r=e._milliseconds,o=Ye(e._days),e=Ye(e._months);t.isValid()&&(n=null==n||n,e&&Nt(t,z(t,"Month")+e*i),o&&Z(t,"Date",z(t,"Date")+o*i),r&&t._d.setTime(t._d.valueOf()+r*i),n&&h.updateOffset(t,o||e))}Ve.fn=Oe.prototype,Ve.invalid=function(){return Ve(NaN)};var Je=Xe(1,"add"),ct=Xe(-1,"subtract");function Ke(t){return"string"==typeof t||t instanceof String}function Qe(t){return b(t)||r(t)||Ke(t)||u(t)||(i=a(e=t),n=!1,i&&(n=0===e.filter(function(t){return!u(t)&&Ke(e)}).length),i&&n)||function(t){var e,i,n=s(t)&&!l(t),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(e=0;e<o.length;e+=1)i=o[e],r=r||f(t,i);return n&&r}(t)||null==t;var e,i,n}function ti(t,e){if(t.date()<e.date())return-ti(e,t);var i=12*(e.year()-t.year())+(e.month()-t.month()),n=t.clone().add(i,"months");return-(i+(e-n<0?(e-n)/(n-t.clone().add(i-1,"months")):(e-n)/(t.clone().add(1+i,"months")-n)))||0}function ei(t){return void 0===t?this._locale._abbr:(null!=(t=me(t))&&(this._locale=t),this)}h.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",h.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";et=i("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function ii(){return this._locale}var ni=126227808e5;function ri(t,e){return(t%e+e)%e}function oi(t,e,i){return t<100&&0<=t?new Date(t+400,e,i)-ni:new Date(t,e,i).valueOf()}function ai(t,e,i){return t<100&&0<=t?Date.UTC(t+400,e,i)-ni:Date.UTC(t,e,i)}function si(t,e){return e.erasAbbrRegex(t)}function li(){for(var t=[],e=[],i=[],n=[],r=this.eras(),o=0,a=r.length;o<a;++o)e.push(ft(r[o].name)),t.push(ft(r[o].abbr)),i.push(ft(r[o].narrow)),n.push(ft(r[o].name)),n.push(ft(r[o].abbr)),n.push(ft(r[o].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function ui(t,e){N(0,[t,t.length],0,e)}function ci(t,e,i,n,r){var o;return null==t?jt(this,n,r).year:(e>(o=Bt(t,n,r))&&(e=o),function(t,e,i,n,r){r=Wt(t,e,i,n,r),r=Gt(r.year,0,r.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}.call(this,t,e,i,n,r))}N("N",0,0,"eraAbbr"),N("NN",0,0,"eraAbbr"),N("NNN",0,0,"eraAbbr"),N("NNNN",0,0,"eraName"),N("NNNNN",0,0,"eraNarrow"),N("y",["y",1],"yo","eraYear"),N("y",["yy",2],0,"eraYear"),N("y",["yyy",3],0,"eraYear"),N("y",["yyyy",4],0,"eraYear"),dt("N",si),dt("NN",si),dt("NNN",si),dt("NNNN",function(t,e){return e.erasNameRegex(t)}),dt("NNNNN",function(t,e){return e.erasNarrowRegex(t)}),yt(["N","NN","NNN","NNNN","NNNNN"],function(t,e,i,n){n=i._locale.erasParse(t,n,i._strict);n?p(i).era=n:p(i).invalidEra=t}),dt("y",at),dt("yy",at),dt("yyy",at),dt("yyyy",at),dt("yo",function(t,e){return e._eraYearOrdinalRegex||at}),yt(["y","yy","yyy","yyyy"],vt),yt(["yo"],function(t,e,i,n){var r;i._locale._eraYearOrdinalRegex&&(r=t.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?e[vt]=i._locale.eraYearOrdinalParse(t,r):e[vt]=parseInt(t,10)}),N(0,["gg",2],0,function(){return this.weekYear()%100}),N(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ui("gggg","weekYear"),ui("ggggg","weekYear"),ui("GGGG","isoWeekYear"),ui("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),dt("G",st),dt("g",st),dt("GG",tt,q),dt("gg",tt,q),dt("GGGG",rt,K),dt("gggg",rt,K),dt("GGGGG",ot,Q),dt("ggggg",ot,Q),gt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,i,n){e[n.substr(0,2)]=H(t)}),gt(["gg","GG"],function(t,e,i,n){e[n]=h.parseTwoDigitYear(t)}),N("Q",0,"Qo","quarter"),F("quarter","Q"),W("quarter",7),dt("Q",X),yt("Q",function(t,e){e[_t]=3*(H(t)-1)}),N("D",["DD",2],"Do","date"),F("date","D"),W("date",9),dt("D",tt),dt("DD",tt,q),dt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),yt(["D","DD"],bt),yt("Do",function(t,e){e[bt]=H(t.match(tt)[0])});it=V("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),W("dayOfYear",4),dt("DDD",nt),dt("DDDD",J),yt(["DDD","DDDD"],function(t,e,i){i._dayOfYear=H(t)}),N("m",["mm",2],0,"minute"),F("minute","m"),W("minute",14),dt("m",tt),dt("mm",tt,q),yt(["m","mm"],Et);St=V("Minutes",!1);N("s",["ss",2],0,"second"),F("second","s"),W("second",15),dt("s",tt),dt("ss",tt,q),yt(["s","ss"],Tt);var di,Vt=V("Seconds",!1);for(N("S",0,0,function(){return~~(this.millisecond()/100)}),N(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,function(){return 10*this.millisecond()}),N(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),N(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),N(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),N(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),N(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),W("millisecond",16),dt("S",nt,X),dt("SS",nt,q),dt("SSS",nt,J),di="SSSS";di.length<=9;di+="S")dt(di,at);function mi(t,e){e[Ct]=H(1e3*("0."+t))}for(di="S";di.length<=9;di+="S")yt(di,mi);Zt=V("Milliseconds",!1),N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");rt=_.prototype;function fi(t){return t}rt.add=Je,rt.calendar=function(t,e){1===arguments.length&&(arguments[0]?Qe(arguments[0])?(t=arguments[0],e=void 0):function(t){for(var e=s(t)&&!l(t),i=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<n.length;r+=1)i=i||f(t,n[r]);return e&&i}(arguments[0])&&(e=arguments[0],t=void 0):e=t=void 0);var i=t||Ie(),t=$e(i,this).startOf("day"),t=h.calendarFormat(this,t)||"sameElse",e=e&&(C(e[t])?e[t].call(this,i):e[t]);return this.format(e||this.localeData().calendar(t,this,Ie(i)))},rt.clone=function(){return new _(this)},rt.diff=function(t,e,i){var n,r,o;if(!this.isValid())return NaN;if(!(n=$e(t,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),e=U(e)){case"year":o=ti(this,n)/12;break;case"month":o=ti(this,n);break;case"quarter":o=ti(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-r)/864e5;break;case"week":o=(this-n-r)/6048e5;break;default:o=this-n}return i?o:B(o)},rt.endOf=function(t){var e,i;if(void 0===(t=U(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?ai:oi,t){case"year":e=i(this.year()+1,0,1)-1;break;case"quarter":e=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=i(this.year(),this.month()+1,1)-1;break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-ri(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-ri(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-ri(e,1e3)-1}return this._d.setTime(e),h.updateOffset(this,!0),this},rt.format=function(t){return t=t||(this.isUtc()?h.defaultFormatUtc:h.defaultFormat),t=O(this,t),this.localeData().postformat(t)},rt.from=function(t,e){return this.isValid()&&(b(t)&&t.isValid()||Ie(t).isValid())?Ve({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},rt.fromNow=function(t){return this.from(Ie(),t)},rt.to=function(t,e){return this.isValid()&&(b(t)&&t.isValid()||Ie(t).isValid())?Ve({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},rt.toNow=function(t){return this.to(Ie(),t)},rt.get=function(t){return C(this[t=U(t)])?this[t]():this},rt.invalidAt=function(){return p(this).overflow},rt.isAfter=function(t,e){return t=b(t)?t:Ie(t),!(!this.isValid()||!t.isValid())&&("millisecond"===(e=U(e)||"millisecond")?this.valueOf()>t.valueOf():t.valueOf()<this.clone().startOf(e).valueOf())},rt.isBefore=function(t,e){return t=b(t)?t:Ie(t),!(!this.isValid()||!t.isValid())&&("millisecond"===(e=U(e)||"millisecond")?this.valueOf()<t.valueOf():this.clone().endOf(e).valueOf()<t.valueOf())},rt.isBetween=function(t,e,i,n){return t=b(t)?t:Ie(t),e=b(e)?e:Ie(e),!!(this.isValid()&&t.isValid()&&e.isValid())&&("("===(n=n||"()")[0]?this.isAfter(t,i):!this.isBefore(t,i))&&(")"===n[1]?this.isBefore(e,i):!this.isAfter(e,i))},rt.isSame=function(t,e){var t=b(t)?t:Ie(t);return!(!this.isValid()||!t.isValid())&&("millisecond"===(e=U(e)||"millisecond")?this.valueOf()===t.valueOf():(t=t.valueOf(),this.clone().startOf(e).valueOf()<=t&&t<=this.clone().endOf(e).valueOf()))},rt.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},rt.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},rt.isValid=function(){return m(this)},rt.lang=et,rt.locale=ei,rt.localeData=ii,rt.max=ke,rt.min=De,rt.parsingFlags=function(){return c({},p(this))},rt.set=function(t,e){if("object"==typeof t)for(var i=function(t){var e,i=[];for(e in t)f(t,e)&&i.push({unit:e,priority:$[e]});return i.sort(function(t,e){return t.priority-e.priority}),i}(t=G(t)),n=0;n<i.length;n++)this[i[n].unit](t[i[n].unit]);else if(C(this[t=U(t)]))return this[t](e);return this},rt.startOf=function(t){var e,i;if(void 0===(t=U(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?ai:oi,t){case"year":e=i(this.year(),0,1);break;case"quarter":e=i(this.year(),this.month()-this.month()%3,1);break;case"month":e=i(this.year(),this.month(),1);break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=i(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=ri(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=ri(e,6e4);break;case"second":e=this._d.valueOf(),e-=ri(e,1e3)}return this._d.setTime(e),h.updateOffset(this,!0),this},rt.subtract=ct,rt.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},rt.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},rt.toDate=function(){return new Date(this.valueOf())},rt.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t;return(t=e?this.clone().utc():this).year()<0||9999<t.year()?O(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):C(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",O(t,"Z")):O(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},rt.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e="moment",i="";return this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+e+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(i+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(rt[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),rt.toJSON=function(){return this.isValid()?this.toISOString():null},rt.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},rt.unix=function(){return Math.floor(this.valueOf()/1e3)},rt.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},rt.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},rt.eraName=function(){for(var t,e=this.localeData().eras(),i=0,n=e.length;i<n;++i){if(t=this.clone().startOf("day").valueOf(),e[i].since<=t&&t<=e[i].until)return e[i].name;if(e[i].until<=t&&t<=e[i].since)return e[i].name}return""},rt.eraNarrow=function(){for(var t,e=this.localeData().eras(),i=0,n=e.length;i<n;++i){if(t=this.clone().startOf("day").valueOf(),e[i].since<=t&&t<=e[i].until)return e[i].narrow;if(e[i].until<=t&&t<=e[i].since)return e[i].narrow}return""},rt.eraAbbr=function(){for(var t,e=this.localeData().eras(),i=0,n=e.length;i<n;++i){if(t=this.clone().startOf("day").valueOf(),e[i].since<=t&&t<=e[i].until)return e[i].abbr;if(e[i].until<=t&&t<=e[i].since)return e[i].abbr}return""},rt.eraYear=function(){for(var t,e,i=this.localeData().eras(),n=0,r=i.length;n<r;++n)if(t=i[n].since<=i[n].until?1:-1,e=this.clone().startOf("day").valueOf(),i[n].since<=e&&e<=i[n].until||i[n].until<=e&&e<=i[n].since)return(this.year()-h(i[n].since).year())*t+i[n].offset;return this.year()},rt.year=Ft,rt.isLeapYear=function(){return j(this.year())},rt.weekYear=function(t){return ci.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},rt.isoWeekYear=function(t){return ci.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},rt.quarter=rt.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},rt.month=Ot,rt.daysInMonth=function(){return At(this.year(),this.month())},rt.week=rt.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},rt.isoWeek=rt.isoWeeks=function(t){var e=jt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},rt.weeksInYear=function(){var t=this.localeData()._week;return Bt(this.year(),t.dow,t.doy)},rt.weeksInWeekYear=function(){var t=this.localeData()._week;return Bt(this.weekYear(),t.dow,t.doy)},rt.isoWeeksInYear=function(){return Bt(this.year(),1,4)},rt.isoWeeksInISOWeekYear=function(){return Bt(this.isoWeekYear(),1,4)},rt.date=it,rt.day=rt.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e,i,n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(e=t,i=this.localeData(),t="string"!=typeof e?e:isNaN(e)?"number"==typeof(e=i.weekdaysParse(e))?e:null:parseInt(e,10),this.add(t-n,"d")):n},rt.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},rt.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null==t)return this.day()||7;var e=(e=t,t=this.localeData(),"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e);return this.day(this.day()%7?e:e-7)},rt.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},rt.hour=rt.hours=ie,rt.minute=rt.minutes=St,rt.second=rt.seconds=Vt,rt.millisecond=rt.milliseconds=Zt,rt.utcOffset=function(t,e,i){var n,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null==t)return this._isUTC?r:We(this);if("string"==typeof t){if(null===(t=Ge(ut,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&e&&(n=We(this)),this._offset=t,this._isUTC=!0,null!=n&&this.add(n,"m"),r!==t&&(!e||this._changeInProgress?qe(this,Ve(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,h.updateOffset(this,!0),this._changeInProgress=null)),this},rt.utc=function(t){return this.utcOffset(0,t)},rt.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(We(this),"m")),this},rt.parseZone=function(){var t;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(t=Ge(lt,this._i))?this.utcOffset(t):this.utcOffset(0,!0)),this},rt.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ie(t).utcOffset():0,(this.utcOffset()-t)%60==0)},rt.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},rt.isLocal=function(){return!!this.isValid()&&!this._isUTC},rt.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},rt.isUtc=je,rt.isUTC=je,rt.zoneAbbr=function(){return this._isUTC?"UTC":""},rt.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},rt.dates=i("dates accessor is deprecated. Use date instead.",it),rt.months=i("months accessor is deprecated. Use month instead",Ot),rt.years=i("years accessor is deprecated. Use year instead",Ft),rt.zone=i("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?(this.utcOffset(t="string"!=typeof t?-t:t,e),this):-this.utcOffset()}),rt.isDSTShifted=i("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var t,e={};return v(e,this),(e=Ae(e))._a?(t=(e._isUTC?d:Ie)(e._a),this._isDSTShifted=this.isValid()&&0<function(t,e,i){for(var n=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),o=0,a=0;a<n;a++)(i&&t[a]!==e[a]||!i&&H(t[a])!==H(e[a]))&&o++;return o+r}(e._a,t.toArray())):this._isDSTShifted=!1,this._isDSTShifted});K=M.prototype;function hi(t,e,i,n){var r=me(),e=d().set(n,e);return r[i](e,t)}function pi(t,e,i){if(u(t)&&(e=t,t=void 0),t=t||"",null!=e)return hi(t,e,i,"month");for(var n=[],r=0;r<12;r++)n[r]=hi(t,r,i,"month");return n}function yi(t,e,i,n){e=("boolean"==typeof t||(i=e=t,t=!1),u(e)&&(i=e,e=void 0),e||"");var r,o=me(),a=t?o._week.dow:0,s=[];if(null!=i)return hi(e,(i+a)%7,n,"day");for(r=0;r<7;r++)s[r]=hi(e,(r+a)%7,n,"day");return s}K.calendar=function(t,e,i){return C(t=this._calendar[t]||this._calendar.sameElse)?t.call(e,i):t},K.longDateFormat=function(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.match(I).map(function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t}).join(""),this._longDateFormat[t])},K.invalidDate=function(){return this._invalidDate},K.ordinal=function(t){return this._ordinal.replace("%d",t)},K.preparse=fi,K.postformat=fi,K.relativeTime=function(t,e,i,n){var r=this._relativeTime[i];return C(r)?r(t,e,i,n):r.replace(/%d/i,t)},K.pastFuture=function(t,e){return C(t=this._relativeTime[0<t?"future":"past"])?t(e):t.replace(/%s/i,e)},K.set=function(t){var e,i;for(i in t)f(t,i)&&(C(e=t[i])?this[i]=e:this["_"+i]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},K.eras=function(t,e){for(var i,n=this._eras||me("en")._eras,r=0,o=n.length;r<o;++r)switch("string"==typeof n[r].since&&(i=h(n[r].since).startOf("day"),n[r].since=i.valueOf()),typeof n[r].until){case"undefined":n[r].until=1/0;break;case"string":i=h(n[r].until).startOf("day").valueOf(),n[r].until=i.valueOf()}return n},K.erasParse=function(t,e,i){var n,r,o,a,s,l=this.eras();for(t=t.toUpperCase(),n=0,r=l.length;n<r;++n)if(o=l[n].name.toUpperCase(),a=l[n].abbr.toUpperCase(),s=l[n].narrow.toUpperCase(),i)switch(e){case"N":case"NN":case"NNN":if(a===t)return l[n];break;case"NNNN":if(o===t)return l[n];break;case"NNNNN":if(s===t)return l[n]}else if(0<=[o,a,s].indexOf(t))return l[n]},K.erasConvertYear=function(t,e){var i=t.since<=t.until?1:-1;return void 0===e?h(t.since).year():h(t.since).year()+(e-t.offset)*i},K.erasAbbrRegex=function(t){return f(this,"_erasAbbrRegex")||li.call(this),t?this._erasAbbrRegex:this._erasRegex},K.erasNameRegex=function(t){return f(this,"_erasNameRegex")||li.call(this),t?this._erasNameRegex:this._erasRegex},K.erasNarrowRegex=function(t){return f(this,"_erasNarrowRegex")||li.call(this),t?this._erasNarrowRegex:this._erasRegex},K.months=function(t,e){return t?(a(this._months)?this._months:this._months[(this._months.isFormat||Dt).test(e)?"format":"standalone"])[t.month()]:a(this._months)?this._months:this._months.standalone},K.monthsShort=function(t,e){return t?(a(this._monthsShort)?this._monthsShort:this._monthsShort[Dt.test(e)?"format":"standalone"])[t.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},K.monthsParse=function(t,e,i){var n,r;if(this._monthsParseExact)return function(t,e,i){var n,r,o,t=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=d([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return i?"MMM"===e?-1!==(r=wt.call(this._shortMonthsParse,t))?r:null:-1!==(r=wt.call(this._longMonthsParse,t))?r:null:"MMM"===e?-1!==(r=wt.call(this._shortMonthsParse,t))||-1!==(r=wt.call(this._longMonthsParse,t))?r:null:-1!==(r=wt.call(this._longMonthsParse,t))||-1!==(r=wt.call(this._shortMonthsParse,t))?r:null}.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=d([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=new RegExp(r.replace(".",""),"i")),i&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(i&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!i&&this._monthsParse[n].test(t))return n}},K.monthsRegex=function(t){return this._monthsParseExact?(f(this,"_monthsRegex")||Rt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Pt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},K.monthsShortRegex=function(t){return this._monthsParseExact?(f(this,"_monthsRegex")||Rt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=kt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},K.week=function(t){return jt(t,this._week.dow,this._week.doy).week},K.firstDayOfYear=function(){return this._week.doy},K.firstDayOfWeek=function(){return this._week.dow},K.weekdays=function(t,e){return e=a(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"],!0===t?Ht(e,this._week.dow):t?e[t.day()]:e},K.weekdaysMin=function(t){return!0===t?Ht(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},K.weekdaysShort=function(t){return!0===t?Ht(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},K.weekdaysParse=function(t,e,i){var n,r;if(this._weekdaysParseExact)return function(t,e,i){var n,r,o,t=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=d([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(r=wt.call(this._weekdaysParse,t))?r:null:"ddd"===e?-1!==(r=wt.call(this._shortWeekdaysParse,t))?r:null:-1!==(r=wt.call(this._minWeekdaysParse,t))?r:null:"dddd"===e?-1!==(r=wt.call(this._weekdaysParse,t))||-1!==(r=wt.call(this._shortWeekdaysParse,t))||-1!==(r=wt.call(this._minWeekdaysParse,t))?r:null:"ddd"===e?-1!==(r=wt.call(this._shortWeekdaysParse,t))||-1!==(r=wt.call(this._weekdaysParse,t))||-1!==(r=wt.call(this._minWeekdaysParse,t))?r:null:-1!==(r=wt.call(this._minWeekdaysParse,t))||-1!==(r=wt.call(this._weekdaysParse,t))||-1!==(r=wt.call(this._shortWeekdaysParse,t))?r:null}.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(r=d([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(r.replace(".",""),"i")),i&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(i&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(i&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!i&&this._weekdaysParse[n].test(t))return n}},K.weekdaysRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Xt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},K.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},K.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Jt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},K.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},K.meridiem=function(t,e,i){return 11<t?i?"pm":"PM":i?"am":"AM"},ce("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===H(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th")}}),h.lang=i("moment.lang is deprecated. Use moment.locale instead.",ce),h.langData=i("moment.langData is deprecated. Use moment.localeData instead.",me);var gi=Math.abs;function wi(t,e,i,n){i=Ve(e,i);return t._milliseconds+=n*i._milliseconds,t._days+=n*i._days,t._months+=n*i._months,t._bubble()}function vi(t){return t<0?Math.floor(t):Math.ceil(t)}function _i(t){return 4800*t/146097}function bi(t){return 146097*t/4800}function xi(t){return function(){return this.as(t)}}ot=xi("ms"),Q=xi("s"),X=xi("m"),q=xi("h"),nt=xi("d"),J=xi("w"),Je=xi("M"),ke=xi("Q"),De=xi("y");function Ei(t){return function(){return this.isValid()?this._data[t]:NaN}}ct=Ei("milliseconds"),ie=Ei("seconds"),St=Ei("minutes"),Vt=Ei("hours"),Zt=Ei("days"),it=Ei("months"),Ft=Ei("years");var Ti=Math.round,Ci={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Li(t,e,i,n){var r=Ve(t).abs(),o=Ti(r.as("s")),a=Ti(r.as("m")),s=Ti(r.as("h")),l=Ti(r.as("d")),u=Ti(r.as("M")),c=Ti(r.as("w")),r=Ti(r.as("y")),l=(o<=i.ss?["s",o]:o<i.s&&["ss",o])||a<=1&&["m"]||a<i.m&&["mm",a]||s<=1&&["h"]||s<i.h&&["hh",s]||l<=1&&["d"]||l<i.d&&["dd",l];return(l=(l=null!=i.w?l||c<=1&&["w"]||c<i.w&&["ww",c]:l)||u<=1&&["M"]||u<i.M&&["MM",u]||r<=1&&["y"]||["yy",r])[2]=e,l[3]=0<+t,l[4]=n,function(t,e,i,n,r){return r.relativeTime(e||1,!!i,t,n)}.apply(null,l)}var Mi=Math.abs;function Ai(t){return(0<t)-(t<0)||+t}function Si(){if(!this.isValid())return this.localeData().invalidDate();var t,e,i,n,r,o,a,s=Mi(this._milliseconds)/1e3,l=Mi(this._days),u=Mi(this._months),c=this.asSeconds();return c?(t=B(s/60),e=B(t/60),s%=60,t%=60,i=B(u/12),u%=12,n=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=Ai(this._months)!==Ai(c)?"-":"",o=Ai(this._days)!==Ai(c)?"-":"",a=Ai(this._milliseconds)!==Ai(c)?"-":"",(c<0?"-":"")+"P"+(i?r+i+"Y":"")+(u?r+u+"M":"")+(l?o+l+"D":"")+(e||t||s?"T":"")+(e?a+e+"H":"")+(t?a+t+"M":"")+(s?a+n+"S":"")):"P0D"}K=Oe.prototype;return K.isValid=function(){return this._isValid},K.abs=function(){var t=this._data;return this._milliseconds=gi(this._milliseconds),this._days=gi(this._days),this._months=gi(this._months),t.milliseconds=gi(t.milliseconds),t.seconds=gi(t.seconds),t.minutes=gi(t.minutes),t.hours=gi(t.hours),t.months=gi(t.months),t.years=gi(t.years),this},K.add=function(t,e){return wi(this,t,e,1)},K.subtract=function(t,e){return wi(this,t,e,-1)},K.as=function(t){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if("month"===(t=U(t))||"quarter"===t||"year"===t)switch(e=this._days+n/864e5,i=this._months+_i(e),t){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(e=this._days+Math.round(bi(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}},K.asMilliseconds=ot,K.asSeconds=Q,K.asMinutes=X,K.asHours=q,K.asDays=nt,K.asWeeks=J,K.asMonths=Je,K.asQuarters=ke,K.asYears=De,K.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*H(this._months/12):NaN},K._bubble=function(){var t=this._milliseconds,e=this._days,i=this._months,n=this._data;return 0<=t&&0<=e&&0<=i||t<=0&&e<=0&&i<=0||(t+=864e5*vi(bi(i)+e),i=e=0),n.milliseconds=t%1e3,t=B(t/1e3),n.seconds=t%60,t=B(t/60),n.minutes=t%60,t=B(t/60),n.hours=t%24,e+=B(t/24),i+=t=B(_i(e)),e-=vi(bi(t)),t=B(i/12),i%=12,n.days=e,n.months=i,n.years=t,this},K.clone=function(){return Ve(this)},K.get=function(t){return t=U(t),this.isValid()?this[t+"s"]():NaN},K.milliseconds=ct,K.seconds=ie,K.minutes=St,K.hours=Vt,K.days=Zt,K.weeks=function(){return B(this.days()/7)},K.months=it,K.years=Ft,K.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var i=!1,n=Ci;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(i=t),"object"==typeof e&&(n=Object.assign({},Ci,e),null!=e.s&&null==e.ss&&(n.ss=e.s-1)),n=Li(this,!i,n,e=this.localeData()),i&&(n=e.pastFuture(+this,n)),e.postformat(n)},K.toISOString=Si,K.toString=Si,K.toJSON=Si,K.locale=ei,K.localeData=ii,K.toIsoString=i("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Si),K.lang=et,N("X",0,0,"unix"),N("x",0,0,"valueOf"),dt("x",st),dt("X",/[+-]?\d+(\.\d{1,3})?/),yt("X",function(t,e,i){i._d=new Date(1e3*parseFloat(t))}),yt("x",function(t,e,i){i._d=new Date(H(t))}),h.version="2.29.1",t=Ie,h.fn=rt,h.min=function(){return Pe("isBefore",[].slice.call(arguments,0))},h.max=function(){return Pe("isAfter",[].slice.call(arguments,0))},h.now=function(){return Date.now?Date.now():+new Date},h.utc=d,h.unix=function(t){return Ie(1e3*t)},h.months=function(t,e){return pi(t,e,"months")},h.isDate=r,h.locale=ce,h.invalid=y,h.duration=Ve,h.isMoment=b,h.weekdays=function(t,e,i){return yi(t,e,i,"weekdays")},h.parseZone=function(){return Ie.apply(null,arguments).parseZone()},h.localeData=me,h.isDuration=Re,h.monthsShort=function(t,e){return pi(t,e,"monthsShort")},h.weekdaysMin=function(t,e,i){return yi(t,e,i,"weekdaysMin")},h.defineLocale=de,h.updateLocale=function(t,e){var i,n;return null!=e?(n=re,null!=oe[t]&&null!=oe[t].parentLocale?oe[t].set(L(oe[t]._config,e)):(e=L(n=null!=(i=ue(t))?i._config:n,e),null==i&&(e.abbr=t),(e=new M(e)).parentLocale=oe[t],oe[t]=e),ce(t)):null!=oe[t]&&(null!=oe[t].parentLocale?(oe[t]=oe[t].parentLocale,t===ce()&&ce(t)):null!=oe[t]&&delete oe[t]),oe[t]},h.locales=function(){return A(oe)},h.weekdaysShort=function(t,e,i){return yi(t,e,i,"weekdaysShort")},h.normalizeUnits=U,h.relativeTimeRounding=function(t){return void 0===t?Ti:"function"==typeof t&&(Ti=t,!0)},h.relativeTimeThreshold=function(t,e){return void 0!==Ci[t]&&(void 0===e?Ci[t]:(Ci[t]=e,"s"===t&&(Ci.ss=e-1),!0))},h.calendarFormat=function(t,e){return(e=t.diff(e,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},h.prototype=rt,h.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},h}(),Un.exports);function Wn(t,{delay:e=0,duration:i=400,easing:n=p}={}){const r=+getComputedStyle(t).opacity;return{delay:e,duration:i,easing:n,css:t=>"opacity: "+t*r}}function jn(i){let n,e,r;return{c(){n=K("div"),n.innerHTML='<div class="ModalContainer" part="ModalContainer"><slot></slot></div>',nt(n,"class","ModalWindow"),nt(n,"part","ModalWindow"),nt(n,"id","Modal")},m(t,e){q(t,n,e),i[3](n),r=!0},p(t,e){i=t},i(t){r||(I(()=>{e=e||B(n,Wn,{transitionDuration:i[1]},!0),e.run(1)}),r=!0)},o(t){e=e||B(n,Wn,{transitionDuration:i[1]},!1),e.run(0),r=!1},d(t){t&&J(n),i[3](null),t&&e&&e.end()}}}function Bn(t){let i,n,r=t[0]&&jn(t);return{c(){i=K("div"),r&&r.c(),this.c=z},m(t,e){q(t,i,e),r&&r.m(i,null),n=!0},p(t,[e]){t[0]?r?(r.p(t,e),1&e&&Y(r,1)):(r=jn(t),r.c(),Y(r,1),r.m(i,null)):r&&(R={r:0,c:[],p:R},W(r,1,1,()=>{r=null}),R.r||Z(R.c),R=R.p)},i(t){n||(Y(r),n=!0)},o(t){W(r),n=!1},d(t){t&&J(i),r&&r.d()}}}function Hn(t,e,i){let n,{show:r=!1}=e,{duration:o=350}=e;const a=t=>{"ModalClosed"==t.data.type&&i(0,r=!1),"ShowLimitsConfirmationModal"===t.data.type&&(i(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href))};return $(()=>(window.addEventListener("message",a,!1),()=>{window.removeEventListener("message",a)})),t.$$set=t=>{"show"in t&&i(0,r=t.show),"duration"in t&&i(1,o=t.duration)},[r,o,void 0,function(t){s[t?"unshift":"push"](()=>{n=t,i(2,n)})}]}customElements.get("player-account-modal")||customElements.define("player-account-modal",class extends V{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}</style>",H(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Hn,Bn,i,{show:0,duration:1}),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),k()))}static get observedAttributes(){return["show","duration"]}get show(){return this.$$.ctx[0]}set show(t){this.$set({show:t}),k()}get duration(){return this.$$.ctx[1]}set duration(t){this.$set({duration:t}),k()}});const Vn={en:{modalText:{cancel:"Cancel",confirm:"Confirm"}},ro:{modalText:{cancel:"Anulează",confirm:"Confirmă"}}};function zn(i){let n,r,o,a,s,l,u,c,d,m,f,h,p,y,g=i[1]("modalText.cancel")+"",w=i[1]("modalText.confirm")+"",v=!i[2]&&function(i){let n,r,o;return{c(){n=K("span"),n.innerHTML='<slot name="close"><svg class="w-6 h-6" part="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',nt(n,"class","ModalCloseBtn"),nt(n,"part","ModalCloseBtn"),nt(n,"role","button")},m(t,e){q(t,n,e),r||(o=et(n,"click",i[3]),r=!0)},p:z,d(t){t&&J(n),r=!1,o()}}}(i);return{c(){n=K("div"),v&&v.c(),r=tt(),o=K("div"),a=K("div"),s=Q(i[0]),l=tt(),u=K("div"),c=K("button"),d=Q(g),m=tt(),f=K("button"),h=Q(w),this.c=z,nt(a,"class","GamingLimitsConfirmationContent"),nt(a,"part","GamingLimitsConfirmationContent"),nt(c,"class","GamingLimitsCancelButton"),nt(c,"part","GamingLimitsCancelButton"),nt(f,"class","GamingLimitsConfirmButton"),nt(f,"part","GamingLimitsConfirmButton"),nt(u,"class","GamingLimitsConfirmationControlArea"),nt(u,"part","GamingLimitsConfirmationControlArea"),nt(o,"class","GamingLimitsConfirmationContainer "+(i[2]?"GamingLimitsConfirmationContainerMobile":"")),nt(o,"part","GamingLimitsConfirmationContainer "+(i[2]?"GamingLimitsConfirmationContainerMobile":"")),nt(n,"class","GamingLimitsConfirmationWrapper "+(i[2]?"GamingLimitsConfirmationMobileWrapper":"")),nt(n,"part","GamingLimitsConfirmationWrapper "+(i[2]?"GamingLimitsConfirmationMobileWrapper":""))},m(t,e){q(t,n,e),v&&v.m(n,null),X(n,r),X(n,o),X(o,a),X(a,s),X(o,l),X(o,u),X(u,c),X(c,d),X(u,m),X(u,f),X(f,h),p||(y=[et(c,"click",i[5]),et(f,"click",i[4])],p=!0)},p(t,[e]){t[2]||v.p(t,e),1&e&&ot(s,t[0]),2&e&&g!==(g=t[1]("modalText.cancel")+"")&&ot(d,g),2&e&&w!==(w=t[1]("modalText.confirm")+"")&&ot(h,w)},i:z,o:z,d(t){t&&J(n),v&&v.d(),p=!1,Z(y)}}}function Zn(e,t,i){let n;F(e,An,t=>i(1,n=t));let{modaltext:r="Are you sure that you want to perform this action?"}=t,{modalsource:o=""}=t,{lang:a="en"}=t;Object.keys(Vn).forEach(t=>{ln(t,Vn[t])});let s=window.navigator.userAgent,l="PC"!==Sn(s),u={},c="";const d=t=>{t.data&&"DeleteLimitsItem"===t.data.type&&(u=t.data.removeData,t=t.data.removeName,c="Time Limit"===t?"cumulativeSessionLimits":"Deposit Limit"===t?"depositLimits":"Wagering Limit"===t?"wageringLimit":"lossLimit")};$(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)}));return e.$$set=t=>{"modaltext"in t&&i(0,r=t.modaltext),"modalsource"in t&&i(6,o=t.modalsource),"lang"in t&&i(7,a=t.lang)},e.$$.update=()=>{var t;193&e.$$.dirty&&r&&o&&a&&(t=a,wn.set(t))},[r,n,l,()=>{window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},()=>{"groupEdit"===o?window.postMessage({type:"GamingLimitsConfirmChanges"},window.location.href):"infoCard"===o&&window.postMessage({type:"PlayerAccountGamingLimitDelete",limit:u,name:c},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},()=>{"groupEdit"===o?window.postMessage({type:"CancelGamingLimitsChanges"},window.location.href):"infoCard"===o&&window.postMessage({type:"CancelGamingLimitsRemove"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},o,a]}function Xn(t,e,i){const n=t.slice();return n[54]=e[i],n[55]=e,n[50]=i,n}function qn(t,e,i){const n=t.slice();return n[48]=e[i],n}function Jn(t,e,i){const n=t.slice();return n[48]=e[i],n}function Kn(t,e,i){const n=t.slice();return n[48]=e[i],n[49]=e,n[50]=i,n}function Qn(t,e,i){const n=t.slice();return n[51]=e[i],n}function tr(t,e,i){const n=t.slice();return n[48]=e[i],n[50]=i,n}function er(t){let i,n,r,o=t[18]("editText.success")+"";return{c(){i=K("div"),n=K("p"),r=Q(o),nt(i,"class","AccountEditLimitSuccessfulChangeContainer"),nt(i,"part","AccountEditLimitSuccessfulChangeContainer")},m(t,e){q(t,i,e),X(i,n),X(n,r)},p(t,e){262144&e[0]&&o!==(o=t[18]("editText.success")+"")&&ot(r,o)},d(t){t&&J(i)}}}function ir(t){let i;function n(t){return t[11]?rr:nr}let r=n(t),o=r(t);return{c(){i=K("div"),o.c(),nt(i,"class","AccountEditLimitSuccessfulChangeContainer"),nt(i,"part","AccountEditLimitSuccessfulChangeContainer")},m(t,e){q(t,i,e),o.m(i,null)},p(t,e){r===(r=n(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(i,null)))},d(t){t&&J(i),o.d()}}}function nr(t){let i,n,r,o,a=t[18]("editText.remove")+"",s=(t[0].expiryDate?$n(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){i=K("p"),n=Q(a),r=tt(),o=Q(s)},m(t,e){q(t,i,e),X(i,n),X(i,r),X(i,o)},p(t,e){262144&e[0]&&a!==(a=t[18]("editText.remove")+"")&&ot(n,a),1&e[0]&&s!==(s=(t[0].expiryDate?$n(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(o,s)},d(t){t&&J(i)}}}function rr(e){let r,o=e[14],a=[];for(let t=0;t<o.length;t+=1)a[t]=ar(tr(e,o,t));return{c(){for(let t=0;t<a.length;t+=1)a[t].c();r=_()},m(e,i){for(let t=0;t<a.length;t+=1)a[t].m(e,i);q(e,r,i)},p(e,i){if(409600&i[0]){let t;for(o=e[14],t=0;t<o.length;t+=1){var n=tr(e,o,t);a[t]?a[t].p(n,i):(a[t]=ar(n),a[t].c(),a[t].m(r.parentNode,r))}for(;t<a.length;t+=1)a[t].d(1);a.length=o.length}},d(t){C(a,t),t&&J(r)}}}function or(t){let i,n,r,o,a=t[18]("editText.remove")+"",s=(t[48].expiryDate?$n(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){i=K("p"),n=Q(a),r=tt(),o=Q(s)},m(t,e){q(t,i,e),X(i,n),X(i,r),X(i,o)},p(t,e){262144&e[0]&&a!==(a=t[18]("editText.remove")+"")&&ot(n,a),16384&e[0]&&s!==(s=(t[48].expiryDate?$n(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(o,s)},d(t){t&&J(i)}}}function ar(t){let i,n=t[48].period==t[17][t[50]].periodName&&or(t);return{c(){n&&n.c(),i=_()},m(t,e){n&&n.m(t,e),q(t,i,e)},p(t,e){t[48].period==t[17][t[50]].periodName?n?n.p(t,e):(n=or(t),n.c(),n.m(i.parentNode,i)):n&&(n.d(1),n=null)},d(t){n&&n.d(t),t&&J(i)}}}function sr(t){let i;function n(t){return t[11]?ur:lr}let r=n(t),o=r(t);return{c(){i=K("div"),o.c(),nt(i,"class","AccountEditContent"),nt(i,"part","AccountEditContent")},m(t,e){q(t,i,e),o.m(i,null)},p(t,e){r===(r=n(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(i,null)))},d(t){t&&J(i),o.d()}}}function lr(r){let o,i,n,a,s,t,l,u,c,d=r[22],m=[];for(let t=0;t<d.length;t+=1)m[t]=cr(Jn(r,d,t));let f=r[17],h=[];for(let t=0;t<f.length;t+=1)h[t]=yr(Xn(r,f,t));return{c(){o=K("div"),i=K("div"),n=K("p"),n.textContent="Limit",a=tt(),s=K("select");for(let t=0;t<m.length;t+=1)m[t].c();l=tt();for(let t=0;t<h.length;t+=1)h[t].c();nt(n,"class","AccountEditLimitsTitle"),nt(n,"part","AccountEditLimitsTitle"),nt(s,"class","AccountEditField "+(r[19]?"TimeoutSelectMobile":"")),nt(s,"part","AccountEditField "+(r[19]?"TimeoutSelectMobile":"")),s.disabled=t=!0===r[14].isModified,void 0===r[14].period&&I(()=>r[30].call(s)),nt(i,"class","AccountEditLimitsSplitSection"),nt(i,"part","AccountEditLimitsSplitSection"),nt(o,"class","AccountEditLimitsContainer"),nt(o,"part","AccountEditLimitsContainer")},m(t,e){q(t,o,e),X(o,i),X(i,n),X(i,a),X(i,s);for(let t=0;t<m.length;t+=1)m[t].m(s,null);L(s,r[14].period),X(o,l);for(let t=0;t<h.length;t+=1)h[t].m(o,null);u||(c=[et(s,"change",r[30]),et(s,"change",function(){T(r[26](r[14],0,!1,r[16]))&&r[26](r[14],0,!1,r[16]).apply(this,arguments)})],u=!0)},p(e,i){if(r=e,4194304&i[0]){let t;for(d=r[22],t=0;t<d.length;t+=1){const e=Jn(r,d,t);m[t]?m[t].p(e,i):(m[t]=cr(e),m[t].c(),m[t].m(s,null))}for(;t<m.length;t+=1)m[t].d(1);m.length=d.length}if(4210688&i[0]&&t!==(t=!0===r[14].isModified)&&(s.disabled=t),4210688&i[0]&&L(s,r[14].period),70213649&i[0]){let t;for(f=r[17],t=0;t<f.length;t+=1){var n=Xn(r,f,t);h[t]?h[t].p(n,i):(h[t]=yr(n),h[t].c(),h[t].m(o,null))}for(;t<h.length;t+=1)h[t].d(1);h.length=f.length}},d(t){t&&J(o),C(m,t),C(h,t),u=!1,Z(c)}}}function ur(e){let r,o=e[14],a=[];for(let t=0;t<o.length;t+=1)a[t]=Cr(Kn(e,o,t));return{c(){r=K("div");for(let t=0;t<a.length;t+=1)a[t].c();nt(r,"class","AccountEditLimitsContainer"),nt(r,"part","AccountEditLimitsContainer")},m(t,e){q(t,r,e);for(let t=0;t<a.length;t+=1)a[t].m(r,null)},p(e,i){if(69161752&i[0]){let t;for(o=e[14],t=0;t<o.length;t+=1){var n=Kn(e,o,t);a[t]?a[t].p(n,i):(a[t]=Cr(n),a[t].c(),a[t].m(r,null))}for(;t<a.length;t+=1)a[t].d(1);a.length=o.length}},d(t){t&&J(r),C(a,t)}}}function cr(t){let i,n,e=t[48]+"";return{c(){i=K("option"),n=Q(e),i.__value=t[48],i.value=i.__value},m(t,e){q(t,i,e),X(i,n)},p:z,d(t){t&&J(i)}}}function dr(i){let n,r,o,a,s,l,u,c,d,m,f,h,p,y,g=i[18]("editText.amount")+"",w=i[18]("editText.noLimit")+"",v=i[21],_=[];for(let t=0;t<v.length;t+=1)_[t]=mr(qn(i,v,t));function b(){i[31].call(s,i[55],i[50])}let x="Custom"===i[54].amount&&fr(i),E=!0===i[14].isModified&&pr(i);return{c(){n=K("div"),r=K("p"),o=Q(g),a=tt(),s=K("select"),l=K("option"),u=Q(w);for(let t=0;t<_.length;t+=1)_[t].c();d=tt(),m=K("div"),x&&x.c(),f=tt(),E&&E.c(),h=tt(),nt(r,"class","AccountEditLimitsTitle"),nt(r,"part","AccountEditLimitsTitle"),l.__value="",l.value=l.__value,l.disabled=!0,l.selected=!0,l.hidden=!0,nt(s,"class","AccountEditField "+(i[19]?"TimeoutSelectMobile":"")),nt(s,"part","AccountEditField "+(i[19]?"TimeoutSelectMobile":"")),s.disabled=c=!0===i[14].isModified,void 0===i[54].amount&&I(b),nt(m,"class","AccountEditLimitsInputContainer"),nt(m,"part","AccountEditLimitsInputContainer"),nt(n,"class","AccountEditLimitsSplitSection"),nt(n,"part","AccountEditField "+(i[19]?"TimeoutSelectMobile":""))},m(t,e){q(t,n,e),X(n,r),X(r,o),X(n,a),X(n,s),X(s,l),X(l,u);for(let t=0;t<_.length;t+=1)_[t].m(s,null);L(s,i[54].amount),X(n,d),X(n,m),x&&x.m(m,null),X(m,f),E&&E.m(m,null),X(n,h),p||(y=[et(s,"change",b),et(s,"change",function(){T(i[26](i[54],0,!1,i[16]))&&i[26](i[54],0,!1,i[16]).apply(this,arguments)})],p=!0)},p(t,e){if(i=t,262144&e[0]&&g!==(g=i[18]("editText.amount")+"")&&ot(o,g),262144&e[0]&&w!==(w=i[18]("editText.noLimit")+"")&&ot(u,w),2097168&e[0]){let t;for(v=i[21],t=0;t<v.length;t+=1){const o=qn(i,v,t);_[t]?_[t].p(o,e):(_[t]=mr(o),_[t].c(),_[t].m(s,null))}for(;t<_.length;t+=1)_[t].d(1);_.length=v.length}4210688&e[0]&&c!==(c=!0===i[14].isModified)&&(s.disabled=c),2228224&e[0]&&L(s,i[54].amount),"Custom"===i[54].amount?x?x.p(i,e):(x=fr(i),x.c(),x.m(m,f)):x&&(x.d(1),x=null),!0===i[14].isModified?E?E.p(i,e):(E=pr(i),E.c(),E.m(m,null)):E&&(E.d(1),E=null)},d(t){t&&J(n),C(_,t),x&&x.d(),E&&E.d(),p=!1,Z(y)}}}function mr(t){let i,n,r,e=t[48]+"",o="No limit"!==t[48]&&"Custom"!==t[48]&&function(t){let i;return{c(){i=Q(t[4])},m(t,e){q(t,i,e)},p(t,e){16&e[0]&&ot(i,t[4])},d(t){t&&J(i)}}}(t);return{c(){i=K("option"),n=Q(e),r=tt(),o&&o.c(),i.__value=t[48],i.value=i.__value},m(t,e){q(t,i,e),X(i,n),X(i,r),o&&o.m(i,null)},p(t,e){"No limit"!==t[48]&&"Custom"!==t[48]&&o.p(t,e)},d(t){t&&J(i),o&&o.d()}}}function fr(i){let n,r,o,a,s,l;function u(){i[32].call(n,i[55],i[50])}let c=!0===i[13]&&hr(i);return{c(){n=K("input"),o=tt(),c&&c.c(),a=_(),nt(n,"type","number"),nt(n,"class","AccountEditField AccountEditFieldCustom"),nt(n,"part","AccountEditField AccountEditFieldCustom"),n.disabled=r=!0===i[14].isModified},m(t,e){q(t,n,e),f(n,i[54].value),q(t,o,e),c&&c.m(t,e),q(t,a,e),s||(l=[et(n,"keyup",function(){T(i[26](i[54],0,!1,i[16]))&&i[26](i[54],0,!1,i[16]).apply(this,arguments)}),et(n,"input",u)],s=!0)},p(t,e){i=t,4210688&e[0]&&r!==(r=!0===i[14].isModified)&&(n.disabled=r),2228224&e[0]&&U(n.value)!==i[54].value&&f(n,i[54].value),!0===i[13]?c?c.p(i,e):(c=hr(i),c.c(),c.m(a.parentNode,a)):c&&(c.d(1),c=null)},d(t){t&&J(n),t&&J(o),c&&c.d(t),t&&J(a),s=!1,Z(l)}}}function hr(t){let i,n,r,o=t[18]("editText.invalidInputMessageLimit")+"";return{c(){i=K("p"),n=K("span"),r=Q(o),nt(n,"class","InvalidInput InvalidSingleRow"),nt(n,"part","InvalidInput InvalidSingleRow"),nt(i,"class","AccountEditWarningText"),nt(i,"part","AccountEditWarningText")},m(t,e){q(t,i,e),X(i,n),X(n,r)},p(t,e){262144&e[0]&&o!==(o=t[18]("editText.invalidInputMessageLimit")+"")&&ot(r,o)},d(t){t&&J(i)}}}function pr(t){let i,n,r,o,a,s,l,u,c,d,m,f,h,p,y,g,w=t[18]("editText.expirationDate")+"",v=(t[0].expiryDate?$n(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",_=t[18]("editText.changedLimitTextBefore")+"",b=(0<t[0].updateAmount?t[0].updateAmount:0)+"",x=t[18]("editText.changedLimitTextAfter")+"";return{c(){i=K("p"),n=Q(w),r=tt(),o=K("span"),a=Q(v),s=tt(),l=K("div"),u=K("p"),c=K("span"),c.textContent="i",d=K("span"),m=Q(_),f=tt(),h=Q(b),p=tt(),y=Q(t[4]),g=Q(x),nt(i,"class","AccountEditLimitsExpiryDate"),nt(i,"part","AccountEditLimitsExpiryDate"),nt(c,"class","AccountEditLimitChangePeriodIcon"),nt(c,"part","AccountEditLimitChangePeriodIcon"),nt(l,"class","AccountEditLimitsPeriodChangeContainer"),nt(l,"part","AccountEditLimitsPeriodChangeContainer")},m(t,e){q(t,i,e),X(i,n),X(i,r),X(i,o),X(o,a),q(t,s,e),q(t,l,e),X(l,u),X(u,c),X(u,d),X(d,m),X(d,f),X(d,h),X(d,p),X(d,y),X(d,g)},p(t,e){262144&e[0]&&w!==(w=t[18]("editText.expirationDate")+"")&&ot(n,w),1&e[0]&&v!==(v=(t[0].expiryDate?$n(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(a,v),262144&e[0]&&_!==(_=t[18]("editText.changedLimitTextBefore")+"")&&ot(m,_),1&e[0]&&b!==(b=(0<t[0].updateAmount?t[0].updateAmount:0)+"")&&ot(h,b),16&e[0]&&ot(y,t[4]),262144&e[0]&&x!==(x=t[18]("editText.changedLimitTextAfter")+"")&&ot(g,x)},d(t){t&&J(i),t&&J(s),t&&J(l)}}}function yr(t){let i,n=t[14].period===t[54].periodName&&dr(t);return{c(){n&&n.c(),i=_()},m(t,e){n&&n.m(t,e),q(t,i,e)},p(t,e){t[14].period===t[54].periodName?n?n.p(t,e):(n=dr(t),n.c(),n.m(i.parentNode,i)):n&&(n.d(1),n=null)},d(t){n&&n.d(t),t&&J(i)}}}function gr(i){let n,r,o,a,s,l,u,c,d,m,f=i[18]("editText.noLimit")+"",h=i[20][i[50]].values,p=[];for(let t=0;t<h.length;t+=1)p[t]=wr(Qn(i,h,t));function y(){i[27].call(n,i[50])}let g="Custom"===i[17][i[50]].amount&&vr(i),w=!0===i[48].isModified&&Tr(i);return{c(){n=K("select"),r=K("option"),o=Q(f);for(let t=0;t<p.length;t+=1)p[t].c();s=tt(),l=K("div"),g&&g.c(),u=tt(),w&&w.c(),c=_(),r.__value="",r.value=r.__value,r.disabled=!0,r.selected=!0,r.hidden=!0,nt(n,"class","AccountEditField "+(i[19]?"TimeoutSelectMobile":"")),nt(n,"part","AccountEditField "+(i[19]?"TimeoutSelectMobile":"")),n.disabled=a=!0===i[48].isModified,void 0===i[17][i[50]].amount&&I(y),nt(l,"class","AccountEditLimitsInputContainer"),nt(l,"part","AccountEditLimitsInputContainer")},m(t,e){q(t,n,e),X(n,r),X(r,o);for(let t=0;t<p.length;t+=1)p[t].m(n,null);L(n,i[17][i[50]].amount),q(t,s,e),q(t,l,e),g&&g.m(l,null),q(t,u,e),w&&w.m(t,e),q(t,c,e),d||(m=[et(n,"change",y),et(n,"change",function(){T(i[26](i[17][i[50]],i[50],!1,i[16]))&&i[26](i[17][i[50]],i[50],!1,i[16]).apply(this,arguments)})],d=!0)},p(t,e){if(i=t,262144&e[0]&&f!==(f=i[18]("editText.noLimit")+"")&&ot(o,f),1048600&e[0]){let t;for(h=i[20][i[50]].values,t=0;t<h.length;t+=1){const o=Qn(i,h,t);p[t]?p[t].p(o,e):(p[t]=wr(o),p[t].c(),p[t].m(n,null))}for(;t<p.length;t+=1)p[t].d(1);p.length=h.length}4210688&e[0]&&a!==(a=!0===i[48].isModified)&&(n.disabled=a),2228224&e[0]&&L(n,i[17][i[50]].amount),"Custom"===i[17][i[50]].amount?g?g.p(i,e):(g=vr(i),g.c(),g.m(l,null)):g&&(g.d(1),g=null),!0===i[48].isModified?w?w.p(i,e):(w=Tr(i),w.c(),w.m(c.parentNode,c)):w&&(w.d(1),w=null)},d(t){t&&J(n),C(p,t),t&&J(s),t&&J(l),g&&g.d(),t&&J(u),w&&w.d(t),t&&J(c),d=!1,Z(m)}}}function wr(t){let i,n,r,e=t[51]+"",o="No limit"!==t[51]&&"Custom"!==t[51]&&function(){let i,n=("Time Limit"!==t[3]?t[4]:" minutes")+"";return{c(){i=Q(n)},m(t,e){q(t,i,e)},p(t,e){24&e[0]&&n!==(n=("Time Limit"!==t[3]?t[4]:" minutes")+"")&&ot(i,n)},d(t){t&&J(i)}}}();return{c(){i=K("option"),n=Q(e),r=tt(),o&&o.c(),i.__value=t[51],i.value=i.__value},m(t,e){q(t,i,e),X(i,n),X(i,r),o&&o.m(i,null)},p(t,e){"No limit"!==t[51]&&"Custom"!==t[51]&&o.p(t,e)},d(t){t&&J(i),o&&o.d()}}}function vr(t){let i;function n(t){return"Deposit Limit"===t[3]?br:_r}let r=n(t),o=r(t);return{c(){o.c(),i=_()},m(t,e){o.m(t,e),q(t,i,e)},p(t,e){r===(r=n(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(i.parentNode,i)))},d(t){o.d(t),t&&J(i)}}}function _r(i){let n,r,o,a,s,l;function u(){i[29].call(n,i[50])}let c=1==i[12][i[50]]&&xr(i);return{c(){n=K("input"),o=tt(),a=K("p"),c&&c.c(),nt(n,"type","number"),nt(n,"class","AccountEditField AccountEditFieldCustom"),nt(n,"part","AccountEditField AccountEditFieldCustom"),n.disabled=r=!0===i[48].isModified,nt(a,"class","AccountEditWarningText"),nt(a,"part","AccountEditWarningText")},m(t,e){q(t,n,e),f(n,i[17][i[50]].value),q(t,o,e),q(t,a,e),c&&c.m(a,null),s||(l=[et(n,"keyup",function(){T(i[26](i[17][i[50]],i[50],!0,i[16]))&&i[26](i[17][i[50]],i[50],!0,i[16]).apply(this,arguments)}),et(n,"input",u)],s=!0)},p(t,e){i=t,4210688&e[0]&&r!==(r=!0===i[48].isModified)&&(n.disabled=r),2228224&e[0]&&U(n.value)!==i[17][i[50]].value&&f(n,i[17][i[50]].value),1==i[12][i[50]]?c?c.p(i,e):(c=xr(i),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(t){t&&J(n),t&&J(o),t&&J(a),c&&c.d(),s=!1,Z(l)}}}function br(i){let n,r,o,a,s,l;function u(){i[28].call(n,i[50])}let c=1==i[12][i[50]]&&Er(i);return{c(){n=K("input"),o=tt(),a=K("p"),c&&c.c(),nt(n,"type","number"),nt(n,"class","AccountEditField AccountEditFieldCustom"),nt(n,"part","AccountEditField AccountEditFieldCustom"),n.disabled=r=!0===i[48].isModified,nt(a,"class","AccountEditWarningText"),nt(a,"part","AccountEditWarningText")},m(t,e){q(t,n,e),f(n,i[17][i[50]].value),q(t,o,e),q(t,a,e),c&&c.m(a,null),s||(l=[et(n,"keyup",function(){T(i[26](i[17][i[50]],i[50],!1,i[16]))&&i[26](i[17][i[50]],i[50],!1,i[16]).apply(this,arguments)}),et(n,"input",u)],s=!0)},p(t,e){i=t,4210688&e[0]&&r!==(r=!0===i[48].isModified)&&(n.disabled=r),2228224&e[0]&&U(n.value)!==i[17][i[50]].value&&f(n,i[17][i[50]].value),1==i[12][i[50]]?c?c.p(i,e):(c=Er(i),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(t){t&&J(n),t&&J(o),t&&J(a),c&&c.d(),s=!1,Z(l)}}}function xr(t){let i,n,r=t[18]("editText.invalidInputMessageTime",{values:{minTime:t[8],maxTime:t[9]}})+"";return{c(){i=K("p"),n=Q(r),nt(i,"class","InvalidInput"),nt(i,"part","InvalidInput")},m(t,e){q(t,i,e),X(i,n)},p(t,e){262912&e[0]&&r!==(r=t[18]("editText.invalidInputMessageTime",{values:{minTime:t[8],maxTime:t[9]}})+"")&&ot(n,r)},d(t){t&&J(i)}}}function Er(t){let i,n,r=t[18]("editText.invalidInputMessageLimit")+"";return{c(){i=K("p"),n=Q(r),nt(i,"class","InvalidInput"),nt(i,"part","InvalidInput")},m(t,e){q(t,i,e),X(i,n)},p(t,e){262144&e[0]&&r!==(r=t[18]("editText.invalidInputMessageLimit")+"")&&ot(n,r)},d(t){t&&J(i)}}}function Tr(t){let i,n,r,o,a,s,l,u,c,d,m,f,h,p,y,g,w=t[18]("editText.expirationDate")+"",v=(t[48].expiryDate?$n(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",_=t[18]("editText.changedLimitTextBefore")+"",b=(0<t[48].updateAmount?t[48].updateAmount:0)+"",x=(void 0!==t[48].minutes?" minutes":t[4])+"",E=t[18]("editText.changedLimitTextAfter")+"";return{c(){i=K("p"),n=Q(w),r=tt(),o=K("span"),a=Q(v),s=tt(),l=K("div"),u=K("p"),c=K("span"),c.textContent="i",d=K("span"),m=Q(_),f=tt(),h=Q(b),p=tt(),y=Q(x),g=Q(E),nt(i,"class","AccountEditLimitsExpiryDate"),nt(i,"part","AccountEditLimitsExpiryDate"),nt(c,"class","AccountEditLimitChangePeriodIcon"),nt(c,"part","AccountEditLimitChangePeriodIcon"),nt(l,"class","AccountEditLimitsPeriodChangeContainer"),nt(l,"part","AccountEditLimitsPeriodChangeContainer")},m(t,e){q(t,i,e),X(i,n),X(i,r),X(i,o),X(o,a),q(t,s,e),q(t,l,e),X(l,u),X(u,c),X(u,d),X(d,m),X(d,f),X(d,h),X(d,p),X(d,y),X(d,g)},p(t,e){262144&e[0]&&w!==(w=t[18]("editText.expirationDate")+"")&&ot(n,w),16384&e[0]&&v!==(v=(t[48].expiryDate?$n(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(a,v),262144&e[0]&&_!==(_=t[18]("editText.changedLimitTextBefore")+"")&&ot(m,_),16384&e[0]&&b!==(b=(0<t[48].updateAmount?t[48].updateAmount:0)+"")&&ot(h,b),16400&e[0]&&x!==(x=(void 0!==t[48].minutes?" minutes":t[4])+"")&&ot(y,x),262144&e[0]&&E!==(E=t[18]("editText.changedLimitTextAfter")+"")&&ot(g,E)},d(t){t&&J(i),t&&J(s),t&&J(l)}}}function Cr(t){let i,n,r,o,a,s=t[48].period+"",l=t[48].period==t[17][t[50]].periodName&&gr(t);return{c(){i=K("div"),n=K("p"),r=Q(s),o=tt(),l&&l.c(),a=tt(),nt(n,"class","AccountEditLimitsTitle"),nt(n,"part","AccountEditLimitsTitle"),nt(i,"class","AccountEditLimitsBox"),nt(i,"part","AccountEditLimitsBox")},m(t,e){q(t,i,e),X(i,n),X(n,r),X(i,o),l&&l.m(i,null),X(i,a)},p(t,e){16384&e[0]&&s!==(s=t[48].period+"")&&ot(r,s),t[48].period==t[17][t[50]].periodName?l?l.p(t,e):(l=gr(t),l.c(),l.m(i,a)):l&&(l.d(1),l=null)},d(t){t&&J(i),l&&l.d()}}}function Lr(i){let n,r,o,a,s,l,u,c,d,m,f,h,p,y,g,w,v,_,b,x,E,T,C,L,M,A,S,I,D,k,P,N,O,R,Y,F,U,G=i[18]("editText.back")+"",$=(i[0]?i[3]:"")+"",W=i[18]("editText.save")+"",j=i[19]&&function(i){let n,r,o,a,s,l,u,c,d,m,f,h,p,y=i[18]("editText.back")+"";return{c(){n=K("div"),r=e("svg"),o=e("defs"),a=e("style"),s=Q(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),l=e("g"),u=e("g"),c=e("path"),d=tt(),m=K("h2"),f=Q(y),nt(c,"class","aaa"),nt(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),nt(c,"transform","translate(15 15) rotate(180)"),nt(u,"transform","translate(20 158)"),nt(l,"transform","translate(-20 -158)"),nt(r,"xmlns","http://www.w3.org/2000/svg"),nt(r,"width","15"),nt(r,"height","15"),nt(r,"viewBox","0 0 15 15"),nt(m,"class","MyAccountCategoryTitleMobile"),nt(m,"part","MyAccountCategoryTitleMobile"),nt(n,"class","MenuReturnButton"),nt(n,"part","MenuReturnButton")},m(t,e){q(t,n,e),X(n,r),X(r,o),X(o,a),X(a,s),X(r,l),X(l,u),X(u,c),X(n,d),X(n,m),X(m,f),h||(p=et(n,"click",i[24]),h=!0)},p(t,e){262144&e[0]&&y!==(y=t[18]("editText.back")+"")&&ot(f,y)},d(t){t&&J(n),h=!1,p()}}}(i),B=i[1]&&er(i),H=i[2]&&ir(i),V=i[7]&&sr(i);return{c(){n=K("div"),j&&j.c(),r=tt(),o=K("div"),a=e("svg"),s=e("defs"),l=e("style"),u=Q(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),c=e("g"),d=e("g"),m=e("path"),f=tt(),h=K("h2"),p=Q(G),y=tt(),g=K("div"),w=K("h6"),v=Q($),_=tt(),b=K("div"),x=K("span"),x.textContent="i",E=tt(),T=K("player-account-gaming-limits-popup"),C=tt(),B&&B.c(),L=tt(),H&&H.c(),M=tt(),V&&V.c(),A=tt(),S=K("div"),I=K("button"),D=Q(W),O=tt(),R=K("player-account-modal"),Y=K("player-account-gaming-limits-confirmation-modal"),this.c=z,nt(m,"class","aaa"),nt(m,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),nt(m,"transform","translate(15 15) rotate(180)"),nt(d,"transform","translate(20 158)"),nt(c,"transform","translate(-20 -158)"),nt(a,"xmlns","http://www.w3.org/2000/svg"),nt(a,"width","15"),nt(a,"height","15"),nt(a,"viewBox","0 0 15 15"),nt(h,"class","MyAccountCategoryTitle "+(i[19]?"MyAccountCategoryTitleNone":"")),nt(h,"part","MyAccountCategoryTitle "+(i[19]?"MyAccountCategoryTitleNone":"")),nt(o,"class","MenuReturnButton "+(i[19]?"MyAccountCategoryTitleNone":"")),nt(o,"part","MenuReturnButton "+(i[19]?"MyAccountCategoryTitleNone":"")),nt(x,"class","AccountEditLimitsIcon"),nt(x,"part","AccountEditLimitsIcon"),rt(T,"showpopup",i[6]),rt(T,"lang",i[5]),nt(b,"class","AccountEditLimitsIconWrapper"),nt(b,"part","AccountEditLimitsIconWrapper"),nt(g,"class","AccountEditLimitsHeader"),nt(g,"part","AccountEditLimitsHeader"),nt(I,"class",k="AccountEditLimitsSaveButton "+(i[15]?"":"AccountEditLimitsButtonDisabled")),nt(I,"part",P="AccountEditLimitsSaveButton "+(i[15]?"":"AccountEditLimitsButtonDisabled")),I.disabled=N=!i[15],nt(S,"class","AccountEditLimitsControlArea"),nt(S,"part","AccountEditLimitsControlArea"),nt(n,"class","AccountEditLimitsWrapper "+(i[19]?"AccountEditLimitsMobileWrapper":"")),rt(Y,"modaltext",i[10]),rt(Y,"modalsource","groupEdit"),rt(Y,"lang",i[5])},m(t,e){q(t,n,e),j&&j.m(n,null),X(n,r),X(n,o),X(o,a),X(a,s),X(s,l),X(l,u),X(a,c),X(c,d),X(d,m),X(o,f),X(o,h),X(h,p),X(n,y),X(n,g),X(g,w),X(w,v),X(g,_),X(g,b),X(b,x),X(b,E),X(b,T),X(n,C),B&&B.m(n,null),X(n,L),H&&H.m(n,null),X(n,M),V&&V.m(n,null),X(n,A),X(n,S),X(S,I),X(I,D),q(t,O,e),q(t,R,e),X(R,Y),F||(U=[et(o,"click",i[24]),et(x,"click",it(i[23])),et(I,"click",i[33])],F=!0)},p(t,e){t[19]&&j.p(t,e),262144&e[0]&&G!==(G=t[18]("editText.back")+"")&&ot(p,G),9&e[0]&&$!==($=(t[0]?t[3]:"")+"")&&ot(v,$),64&e[0]&&rt(T,"showpopup",t[6]),32&e[0]&&rt(T,"lang",t[5]),t[1]?B?B.p(t,e):(B=er(t),B.c(),B.m(n,L)):B&&(B.d(1),B=null),t[2]?H?H.p(t,e):(H=ir(t),H.c(),H.m(n,M)):H&&(H.d(1),H=null),t[7]?V?V.p(t,e):(V=sr(t),V.c(),V.m(n,A)):V&&(V.d(1),V=null),262144&e[0]&&W!==(W=t[18]("editText.save")+"")&&ot(D,W),32768&e[0]&&k!==(k="AccountEditLimitsSaveButton "+(t[15]?"":"AccountEditLimitsButtonDisabled"))&&nt(I,"class",k),32768&e[0]&&P!==(P="AccountEditLimitsSaveButton "+(t[15]?"":"AccountEditLimitsButtonDisabled"))&&nt(I,"part",P),32768&e[0]&&N!==(N=!t[15])&&(I.disabled=N),1024&e[0]&&rt(Y,"modaltext",t[10]),32&e[0]&&rt(Y,"lang",t[5])},i:z,o:z,d(t){t&&J(n),j&&j.d(),B&&B.d(),H&&H.d(),V&&V.d(),t&&J(O),t&&J(R),F=!1,Z(U)}}}function Mr(t,e,o){let i;F(t,An,t=>o(18,i=t));let{limitsdata:n=[]}=e,{showsuccessnotification:r=!1}=e,{showdeletenotification:a=!1}=e,{limitname:s=""}=e,{playercurrency:l=""}=e,{lang:u="en"}=e;Object.keys(Fn).forEach(t=>{ln(t,Fn[t])});let c=!1,d=!0,m=!1,f=0,h=0,p="",y=window.navigator.userAgent,g="PC"!==Sn(y),w=!1,v=new Array(3).fill(0),_=!1,b={},x=[],E=!1,T=[];const C={amount:/^[0-9]{0,7}$/,time:/^[1-9]\d*$/};let L=[{periodName:"Daily",amount:"No limit",value:0},{periodName:"Weekly",amount:"No limit",value:0},{periodName:"Monthly",amount:"No limit",value:0}],M=[{periodName:"Daily",values:["10000","20000","50000","Custom"]},{periodName:"Weekly",values:["10000","50000","100000","Custom"]},{periodName:"Monthly",values:["50000","100000","200000","Custom"]}],A=["50000","100000","200000","Custom"],S=["5000","50000","200000","Custom"],I=[{periodName:"Daily",values:["500","1000","1430","Custom"]},{periodName:"Weekly",values:["5000","7000","10000","Custom"]},{periodName:"Monthly",values:["20000","30000","43000","Custom"]}],D=["Daily","Weekly","Monthly"];const k=()=>{window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href)},P=(i,e)=>{if(w){let t=JSON.parse(JSON.stringify(e));L.forEach(e=>{t.forEach(t=>{e.periodName==i.periodName&&("Custom"!==e.amount&&"No limit"!==e.amount?e.value=JSON.parse(e.amount):"No limit"===e.amount&&(e.value=0)),t.period===e.periodName&&(t.amount=e.value)})})}else L.forEach(t=>{t.periodName===i.periodName&&("Custom"!==t.amount&&"No limit"!==t.amount?t.value=JSON.parse(t.amount):"No limit"===t.amount&&(t.value=0))})},N=(t,e,i,n)=>{let r=n?t.values:t;e.amount&&"No limit"!==e.amount?r.includes(JSON.stringify(e.amount))?i.forEach(t=>{t.periodName===e.period&&(t.amount=JSON.stringify(e.amount),t.value=e.amount)}):i.forEach(t=>{t.periodName===e.period&&(t.amount="Custom",t.value=e.amount)}):i.forEach(t=>{t.periodName===e.period&&(t.amount=e.amount,t.value=0)})},O=e=>{x.forEach(t=>{e.period===t.periodName&&("Time Limit"===s&&(o(8,f=60),"Daily"===e.periodName?o(9,h=1440):"Weekly"==e.periodName?o(9,h=10080):o(9,h=43200)),-1<t.values.indexOf(e.amount)&&("No limit"===e.amount?e.amount=0:e.amount=JSON.parse(e.amount)))})},R=()=>{var t=u;wn.set(t),t="Time Limit"===s?"time limit":"Deposit Limit"===s?"deposit limit":"Wagering Limit"===s?"wagering limit":"loss limit",o(10,p=i("editText.changeLimitsText",{values:{limit:t}})),o(11,w=Array.isArray(n)),o(16,T=JSON.parse(JSON.stringify(n))),o(14,b=JSON.parse(JSON.stringify(n))),x="Wagering Limit"===s?A:"Loss Limit"===s?S:"Deposit Limit"===s?M:"Time Limit"===s?I:[],w?(T.forEach(t=>{O(t)}),b.forEach(e=>{x.forEach(t=>{e.period===t.periodName&&N(t,e,L,!0)})})):(O(T),N(x,b,L,!1))},Y=t=>{if(t.data)switch(t.data.type){case"ClosePlayerAccountGamingLimitsPopup":o(6,c=!1);break;case"GamingLimitsConfirmChanges":m=!0,(()=>{if(m){if(w?"Time Limit"===s?L.forEach(e=>{b.forEach(t=>{t.period===e.periodName&&(t.minutes=e.value)})}):L.forEach(e=>{b.forEach(t=>{t.period===e.periodName&&(t.amount=e.value)})}):L.forEach(t=>{b.period===t.periodName&&o(14,b.amount=t.value,b)}),w){let e={};"Deposit Limit"===s?(e={depositLimits:[]},b.forEach(t=>{e.depositLimits.push(t)})):(e={cumulativeSessionLimits:[]},b.forEach(t=>{e.cumulativeSessionLimits.push(t)})),window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:e,limitsCategory:"Time Limit"===s?"cumulativeSessionLimits":"depositLimits"},window.location.href)}else window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:b,limitsCategory:"Wagering Limit"===s?"wageringLimit":"lossLimit"},window.location.href);o(15,E=!1)}})();break;case"CancelGamingLimitsChanges":o(7,d=!1),setTimeout(()=>{o(7,d=!0)},10),R(),o(15,E=!1),m=!1}};return $(()=>(window.addEventListener("message",Y,!1),()=>{window.removeEventListener("message",Y)})),t.$$set=t=>{"limitsdata"in t&&o(0,n=t.limitsdata),"showsuccessnotification"in t&&o(1,r=t.showsuccessnotification),"showdeletenotification"in t&&o(2,a=t.showdeletenotification),"limitname"in t&&o(3,s=t.limitname),"playercurrency"in t&&o(4,l=t.playercurrency),"lang"in t&&o(5,u=t.lang)},t.$$.update=()=>{6&t.$$.dirty[0]&&r&&a&&R(),33&t.$$.dirty[0]&&n&&u&&R()},[n,r,a,s,l,u,c,d,f,h,p,w,v,_,b,E,T,L,i,g,M,S,D,()=>{o(6,c=!0)},()=>{window.postMessage({type:"PlayerAccountBackToLimitsView"},window.location.href)},k,(t,e,i,n)=>{var r;w?"Custom"===t.amount?"Time Limit"==s?(o(8,f=60),"Daily"===t.periodName?o(9,h=1440):"Weekly"==t.periodName?o(9,h=10080):o(9,h=43200),t.value&&C.time.test(t.value)&&t.value>f&&t.value<=h?(o(12,v[e]=0,v),r=n[e],t.periodName==r.period&&t.value==r.amount?(o(15,E=!1),P(t,n)):o(15,E=!0)):(o(12,v[e]=1,v),o(15,E=!1))):t.value&&C.amount.test(t.value)?(o(12,v[e]=0,v),t.periodName==n[e].period&&t.value==n[e].amount?(o(15,E=!!E),P(t,n)):o(15,E=!0),L.forEach(t=>{0==t.value&&o(15,E=!1)})):(o(12,v[e]=1,v),o(15,E=!1)):(t.periodName==n[e].period?(P(t,n),o(15,E=t.value!=n[e].amount)):o(15,E=!0),L.forEach(t=>{0==t.value&&o(15,E=!1)})):b.period!=n.period?(o(15,E=!0),"Custom"==t.amount&&(t.value&&C.amount.test(t.value)?(o(13,_=!1),b.period==n.period&&t.value==n.amount?(o(15,E=!1),P(t,n)):o(15,E=!0)):(o(13,_=!0),o(15,E=!1)))):"Custom"===t.amount?t.value&&C.amount.test(t.value)?(o(13,_=!1),b.period==n.period&&t.value==n.amount?(o(15,E=!!E),P(t,n)):o(15,E=!0)):(o(13,_=!0),o(15,E=!1)):b.period==n.period?(P(t,n),o(15,E=t.value!=n.amount)):o(15,E=!0)},function(t){L[t].amount=G(this),o(17,L),o(21,S)},function(t){L[t].value=U(this.value),o(17,L),o(21,S)},function(t){L[t].value=U(this.value),o(17,L),o(21,S)},function(){b.period=G(this),o(14,b),o(22,D)},function(t,e){t[e].amount=G(this),o(17,L),o(21,S)},function(t,e){t[e].value=U(this.value),o(17,L),o(21,S)},()=>k()]}function Ar(t,e,i){const n=t.slice();return n[33]=e[i],n[35]=i,n}function Sr(t,e,i){const n=t.slice();return n[33]=e[i],n[35]=i,n}function Ir(t){let i,n,r,o,a,s,l,u,c,d,m,f,h,p,y,g,w,v=(t[0]?t[0].period:"")+"",_=(t[0]?t[0].amount:0)+"",b=(t[0]?t[0].currency:"")+"",x=t[11]("cardText.expirationDate")+"",E=(t[0]&&t[0].expiryDate?($n(t[0].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):$n(t[0].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){i=K("div"),n=K("div"),r=K("div"),o=Q(v),a=tt(),s=K("div"),l=Q(_),u=tt(),c=K("span"),d=Q(b),m=tt(),f=K("div"),h=K("div"),p=Q(x),y=tt(),g=K("div"),w=Q(E),nt(r,"class","InfoCardRowTitle"),nt(r,"part","InfoCardRowTitle"),nt(c,"class","InfoCardCurrency"),nt(c,"part","InfoCardCurrency"),nt(s,"class","InfoCardRowValue"),nt(s,"part","InfoCardRowValue"),nt(n,"class","InfoCardRow InfoMainRow"),nt(n,"part","InfoCardRow InfoMainRow"),nt(h,"class","InfoCardRowTitle"),nt(h,"part","InfoCardRowTitle"),nt(g,"class","InfoCardRowValue"),nt(g,"part","InfoCardRowValue"),nt(f,"class","InfoCardRow"),nt(f,"part","InfoCardRow"),nt(i,"class","InfoCardBox"),nt(i,"part","InfoCardBox")},m(t,e){q(t,i,e),X(i,n),X(n,r),X(r,o),X(n,a),X(n,s),X(s,l),X(s,u),X(s,c),X(c,d),X(i,m),X(i,f),X(f,h),X(h,p),X(f,y),X(f,g),X(g,w)},p(t,e){1&e[0]&&v!==(v=(t[0]?t[0].period:"")+"")&&ot(o,v),1&e[0]&&_!==(_=(t[0]?t[0].amount:0)+"")&&ot(l,_),1&e[0]&&b!==(b=(t[0]?t[0].currency:"")+"")&&ot(d,b),2048&e[0]&&x!==(x=t[11]("cardText.expirationDate")+"")&&ot(p,x),1&e[0]&&E!==(E=(t[0]&&t[0].expiryDate?($n(t[0].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):$n(t[0].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(w,E)},d(t){t&&J(i)}}}function Dr(t){let i;function n(t){return"Time Limit"===t[1]?Pr:kr}let r=n(t),o=r(t);return{c(){o.c(),i=_()},m(t,e){o.m(t,e),q(t,i,e)},p(t,e){r===(r=n(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(i.parentNode,i)))},d(t){o.d(t),t&&J(i)}}}function kr(e){let r,o=e[0],a=[];for(let t=0;t<o.length;t+=1)a[t]=Fr(Ar(e,o,t));return{c(){for(let t=0;t<a.length;t+=1)a[t].c();r=_()},m(e,i){for(let t=0;t<a.length;t+=1)a[t].m(e,i);q(e,r,i)},p(e,i){if(210975&i[0]){let t;for(o=e[0],t=0;t<o.length;t+=1){var n=Ar(e,o,t);a[t]?a[t].p(n,i):(a[t]=Fr(n),a[t].c(),a[t].m(r.parentNode,r))}for(;t<a.length;t+=1)a[t].d(1);a.length=o.length}},d(t){C(a,t),t&&J(r)}}}function Pr(e){let r,o=e[0],a=[];for(let t=0;t<o.length;t+=1)a[t]=Vr(Sr(e,o,t));return{c(){for(let t=0;t<a.length;t+=1)a[t].c();r=_()},m(e,i){for(let t=0;t<a.length;t+=1)a[t].m(e,i);q(e,r,i)},p(e,i){if(210971&i[0]){let t;for(o=e[0],t=0;t<o.length;t+=1){var n=Sr(e,o,t);a[t]?a[t].p(n,i):(a[t]=Vr(n),a[t].c(),a[t].m(r.parentNode,r))}for(;t<a.length;t+=1)a[t].d(1);a.length=o.length}},d(t){C(a,t),t&&J(r)}}}function Nr(t){let i,n,r=t[11]("cardText.notAvailable")+"";return{c(){i=K("div"),n=Q(r),nt(i,"class","InfoCardRowValue"),nt(i,"part","InfoCardRowValue")},m(t,e){q(t,i,e),X(i,n)},p(t,e){2048&e[0]&&r!==(r=t[11]("cardText.notAvailable")+"")&&ot(n,r)},d(t){t&&J(i)}}}function Or(t){let i,n,r=(t[33]?($n(t[33].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):$n(t[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){i=K("div"),n=Q(r),nt(i,"class","InfoCardRowValue"),nt(i,"part","InfoCardRowValue")},m(t,e){q(t,i,e),X(i,n)},p(t,e){1&e[0]&&r!==(r=(t[33]?($n(t[33].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):$n(t[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(n,r)},d(t){t&&J(i)}}}function Rr(i){let n,r,o,a,s,l,u,c;function d(){return i[20](i[35])}return{c(){n=K("div"),r=K("span"),r.textContent="i",o=tt(),a=K("player-account-gaming-limits-popup"),nt(r,"class","InfoCardIcon"),nt(r,"part","InfoCardIcon"),rt(a,"showpopup",s=i[4][i[35]+1]),rt(a,"iteminfoamount",l=i[33].updateAmount),rt(a,"playercurrency",i[2]),rt(a,"lang",i[3]),nt(n,"class","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":"")),nt(n,"part","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":""))},m(t,e){q(t,n,e),X(n,r),X(n,o),X(n,a),u||(c=et(r,"click",it(d)),u=!0)},p(t,e){i=t,16&e[0]&&s!==(s=i[4][i[35]+1])&&rt(a,"showpopup",s),1&e[0]&&l!==(l=i[33].updateAmount)&&rt(a,"iteminfoamount",l),4&e[0]&&rt(a,"playercurrency",i[2]),8&e[0]&&rt(a,"lang",i[3])},d(t){t&&J(n),u=!1,c()}}}function Yr(i){let n,r,o;return{c(){n=K("div"),n.innerHTML="<span></span>",nt(n,"class","InfoCardRemoveIcon"),nt(n,"part","InfoCardRemoveIcon")},m(t,e){q(t,n,e),r||(o=et(n,"click",function(){T(i[16](i[33],i[1]))&&i[16](i[33],i[1]).apply(this,arguments)}),r=!0)},p(t,e){i=t},d(t){t&&J(n),r=!1,o()}}}function Fr(t){let i,n,r,o,a,s,l,u,c,d,m,f,h,p,y,g,w,v,_,b=(t[33]?t[33].period:"")+"",x=(t[33]?t[33].amount:0)+"",E=(t[33]?t[33].currency:"")+"",T=t[11]("cardText.expirationDate")+"";function C(t){return t[33].expiryDate?Or:Nr}let L=C(t),M=L(t);function A(t,e){return(null==v||2049&e[0])&&(v=!(t[33].amount===t[11]("cardText.noLimit")||t[33].isModified)),v?Yr:"No limit"!=t[33].amount&&t[33].isModified?Rr:void 0}let S=A(t,[-1]),I=S&&S(t);return{c(){i=K("div"),n=K("div"),r=K("div"),o=K("div"),a=Q(b),s=tt(),l=K("div"),u=Q(x),c=tt(),d=K("span"),m=Q(E),f=tt(),h=K("div"),p=K("div"),y=Q(T),g=tt(),M.c(),w=tt(),I&&I.c(),_=tt(),nt(o,"class","InfoCardRowTitle"),nt(o,"part","InfoCardRowTitle"),nt(d,"class","InfoCardCurrency"),nt(d,"part","InfoCardCurrency"),nt(l,"class","InfoCardRowValue"),nt(l,"part","InfoCardRowValue"),nt(r,"class","InfoCardRow InfoMainRow"),nt(r,"part","InfoCardRow InfoMainRow"),nt(p,"class","InfoCardRowTitle"),nt(p,"part","InfoCardRowTitle"),nt(h,"class","InfoCardRow"),nt(h,"part","InfoCardRow"),nt(n,"class","InfoCardRowContainer"),nt(n,"part","InfoCardRowContainer"),nt(i,"class","InfoCardBox InfoCardMultipleItems"),nt(i,"part","InfoCardBox InfoCardMultipleItems")},m(t,e){q(t,i,e),X(i,n),X(n,r),X(r,o),X(o,a),X(r,s),X(r,l),X(l,u),X(l,c),X(l,d),X(d,m),X(n,f),X(n,h),X(h,p),X(p,y),X(h,g),M.m(h,null),X(i,w),I&&I.m(i,null),X(i,_)},p(t,e){1&e[0]&&b!==(b=(t[33]?t[33].period:"")+"")&&ot(a,b),1&e[0]&&x!==(x=(t[33]?t[33].amount:0)+"")&&ot(u,x),1&e[0]&&E!==(E=(t[33]?t[33].currency:"")+"")&&ot(m,E),2048&e[0]&&T!==(T=t[11]("cardText.expirationDate")+"")&&ot(y,T),L===(L=C(t))&&M?M.p(t,e):(M.d(1),M=L(t),M&&(M.c(),M.m(h,null))),S===(S=A(t,e))&&I?I.p(t,e):(I&&I.d(1),I=S&&S(t),I&&(I.c(),I.m(i,_)))},d(t){t&&J(i),M.d(),I&&I.d()}}}function Ur(t){let i,n,r=t[11]("cardText.noLimit")+"";return{c(){i=K("span"),n=Q(r),nt(i,"class","InfoCardCurrency"),nt(i,"part","InfoCardCurrency")},m(t,e){q(t,i,e),X(i,n)},p(t,e){2048&e[0]&&r!==(r=t[11]("cardText.noLimit")+"")&&ot(n,r)},d(t){t&&J(i)}}}function Gr(t){let i,n,r,o=(t[33]?t[33].amount:0)+"",a="No limit"!=t[33].amount&&$r(t);return{c(){i=Q(o),n=tt(),a&&a.c(),r=_()},m(t,e){q(t,i,e),q(t,n,e),a&&a.m(t,e),q(t,r,e)},p(t,e){1&e[0]&&o!==(o=(t[33]?t[33].amount:0)+"")&&ot(i,o),"No limit"!=t[33].amount?a?a.p(t,e):(a=$r(t),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(t){t&&J(i),t&&J(n),a&&a.d(t),t&&J(r)}}}function $r(t){let i,n,r=t[11]("cardText.minutes")+"";return{c(){i=K("span"),n=Q(r),nt(i,"class","InfoCardCurrency"),nt(i,"part","InfoCardCurrency")},m(t,e){q(t,i,e),X(i,n)},p(t,e){2048&e[0]&&r!==(r=t[11]("cardText.minutes")+"")&&ot(n,r)},d(t){t&&J(i)}}}function Wr(t){let i,n,r=t[11]("cardText.notAvailable")+"";return{c(){i=K("div"),n=Q(r),nt(i,"class","InfoCardRowValue"),nt(i,"part","InfoCardRowValue")},m(t,e){q(t,i,e),X(i,n)},p(t,e){2048&e[0]&&r!==(r=t[11]("cardText.notAvailable")+"")&&ot(n,r)},d(t){t&&J(i)}}}function jr(t){let i,n,r=(t[33]?($n(t[33].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):$n(t[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){i=K("div"),n=Q(r),nt(i,"class","InfoCardRowValue"),nt(i,"part","InfoCardRowValue")},m(t,e){q(t,i,e),X(i,n)},p(t,e){1&e[0]&&r!==(r=(t[33]?($n(t[33].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):$n(t[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(n,r)},d(t){t&&J(i)}}}function Br(i){let n,r,o,a,s,l,u,c;function d(){return i[19](i[35])}return{c(){n=K("div"),r=K("span"),r.textContent="i",o=tt(),a=K("player-account-gaming-limits-popup"),nt(r,"class","InfoCardIcon"),nt(r,"part","InfoCardIcon"),rt(a,"showpopup",s=i[4][i[35]+1]),rt(a,"iteminfoamount",l=i[33].updateMinutes),rt(a,"playercurrency","minutes"),rt(a,"lang",i[3]),nt(n,"class","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":"")),nt(n,"part","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":""))},m(t,e){q(t,n,e),X(n,r),X(n,o),X(n,a),u||(c=et(r,"click",it(d)),u=!0)},p(t,e){i=t,16&e[0]&&s!==(s=i[4][i[35]+1])&&rt(a,"showpopup",s),1&e[0]&&l!==(l=i[33].updateMinutes)&&rt(a,"iteminfoamount",l),8&e[0]&&rt(a,"lang",i[3])},d(t){t&&J(n),u=!1,c()}}}function Hr(i){let n,r,o;return{c(){n=K("div"),n.innerHTML="<span></span>",nt(n,"class","InfoCardRemoveIcon"),nt(n,"part","InfoCardRemoveIcon")},m(t,e){q(t,n,e),r||(o=et(n,"click",function(){T(i[16](i[33],i[1]))&&i[16](i[33],i[1]).apply(this,arguments)}),r=!0)},p(t,e){i=t},d(t){t&&J(n),r=!1,o()}}}function Vr(t){let i,n,r,o,a,s,l,u,c,d,m,f,h,p,y,g=(t[33]?t[33].period:"")+"",w=t[11]("cardText.expirationDate")+"";function v(t){return 0!==t[33].amount?Gr:Ur}let _=v(t),b=_(t);function x(t){return t[33].expiryDate?jr:Wr}let E=x(t),T=E(t);function C(t,e){return(null==p||2049&e[0])&&(p=!(t[33].amount===t[11]("cardText.noLimit")||t[33].isModified)),p?Hr:"No limit"!=t[33].amount&&t[33].isModified?Br:void 0}let L=C(t,[-1]),M=L&&L(t);return{c(){i=K("div"),n=K("div"),r=K("div"),o=K("div"),a=Q(g),s=tt(),l=K("div"),b.c(),u=tt(),c=K("div"),d=K("div"),m=Q(w),f=tt(),T.c(),h=tt(),M&&M.c(),y=tt(),nt(o,"class","InfoCardRowTitle"),nt(o,"part","InfoCardRowTitle"),nt(l,"class","InfoCardRowValue"),nt(l,"part","InfoCardRowValue"),nt(r,"class","InfoCardRow InfoMainRow"),nt(r,"part","InfoCardRow InfoMainRow"),nt(d,"class","InfoCardRowTitle"),nt(d,"part","InfoCardRowTitle"),nt(c,"class","InfoCardRow"),nt(c,"part","InfoCardRow"),nt(n,"class","InfoCardRowContainer"),nt(n,"part","InfoCardRowContainer"),nt(i,"class","InfoCardBox InfoCardMultipleItems"),nt(i,"part","InfoCardBox InfoCardMultipleItems")},m(t,e){q(t,i,e),X(i,n),X(n,r),X(r,o),X(o,a),X(r,s),X(r,l),b.m(l,null),X(n,u),X(n,c),X(c,d),X(d,m),X(c,f),T.m(c,null),X(i,h),M&&M.m(i,null),X(i,y)},p(t,e){1&e[0]&&g!==(g=(t[33]?t[33].period:"")+"")&&ot(a,g),_===(_=v(t))&&b?b.p(t,e):(b.d(1),b=_(t),b&&(b.c(),b.m(l,null))),2048&e[0]&&w!==(w=t[11]("cardText.expirationDate")+"")&&ot(m,w),E===(E=x(t))&&T?T.p(t,e):(T.d(1),T=E(t),T&&(T.c(),T.m(c,null))),L===(L=C(t,e))&&M?M.p(t,e):(M&&M.d(1),M=L&&L(t),M&&(M.c(),M.m(i,y)))},d(t){t&&J(i),b.d(),T.d(),M&&M.d()}}}function zr(i){let n,r,o,a,s=i[11]("cardText.removeLimits")+"";return{c(){n=K("button"),r=Q(s),nt(n,"class","InfoCardRemoveButton"),nt(n,"part","InfoCardRemoveButton")},m(t,e){q(t,n,e),X(n,r),o||(a=et(n,"click",i[22]),o=!0)},p(t,e){2048&e[0]&&s!==(s=t[11]("cardText.removeLimits")+"")&&ot(r,s)},d(t){t&&J(n),o=!1,a()}}}function Zr(t){let i,n,r;return{c(){i=K("player-account-modal"),n=K("player-account-gaming-limits-confirmation-modal"),rt(n,"modaltext",r=t[6]?t[8]:t[9]),rt(n,"modalsource","infoCard"),rt(n,"lang",t[3])},m(t,e){q(t,i,e),X(i,n)},p(t,e){832&e[0]&&r!==(r=t[6]?t[8]:t[9])&&rt(n,"modaltext",r),8&e[0]&&rt(n,"lang",t[3])},d(t){t&&J(i)}}}function Xr(t){let i,n=function(i){let n,r,o,a,s,l,u,c,d,m,f,h,p,y,g,w,v,_,b,x,E,T,C,L,M=(i[0]?i[1]:"")+"",A=i[11]("cardText.edit")+"";function S(t,e){return(null==w||1&e[0])&&(w=!!Array.isArray(t[0])),w?Dr:Ir}let I=S(i,[-1]),D=I(i),k=!i[5]&&!i[0].isModified&&i[10]&&zr(i),P=i[7]&&Zr(i);return{c(){n=K("div"),r=K("div"),o=K("div"),a=K("h5"),s=Q(M),l=tt(),u=K("div"),c=K("span"),c.textContent="i",d=tt(),m=K("player-account-gaming-limits-popup"),h=tt(),p=K("div"),y=K("div"),g=K("div"),D.c(),v=tt(),_=K("div"),b=K("button"),x=Q(A),E=tt(),k&&k.c(),T=tt(),P&&P.c(),nt(c,"class","InfoCardIcon"),nt(c,"part","InfoCardIcon"),rt(m,"showpopup",f=i[4][0]),rt(m,"lang",i[3]),nt(u,"class","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":"")),nt(u,"part","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":"")),nt(o,"class","InfoCardHeader "+(i[12]?"InfoCardMobileHeader":"")),nt(o,"part","InfoCardHeader "+(i[12]?"InfoCardMobileHeader":"")),nt(g,"class","InfoCardTableRow"),nt(g,"part","InfoCardTableRow"),nt(y,"class","InfoCardTableWrapper"),nt(y,"part","InfoCardTableWrapper"),nt(b,"class","InfoCardEditButton"),nt(b,"part","InfoCardEditButton"),nt(_,"class","InfoCardControlArea"),nt(_,"part","InfoCardControlArea"),nt(p,"class","InfoCard"),nt(p,"part","InfoCard"),nt(r,"class","InfoCardWrapper"),nt(r,"part","InfoCardWrapper"),nt(n,"class","InfoCardSection"),nt(n,"part","InfoCardSection")},m(t,e){q(t,n,e),X(n,r),X(r,o),X(o,a),X(a,s),X(o,l),X(o,u),X(u,c),X(u,d),X(u,m),X(r,h),X(r,p),X(p,y),X(y,g),D.m(g,null),X(p,v),X(p,_),X(_,b),X(b,x),X(_,E),k&&k.m(_,null),X(n,T),P&&P.m(n,null),C||(L=[et(c,"click",it(i[18])),et(b,"click",i[21])],C=!0)},p(t,e){3&e[0]&&M!==(M=(t[0]?t[1]:"")+"")&&ot(s,M),16&e[0]&&f!==(f=t[4][0])&&rt(m,"showpopup",f),8&e[0]&&rt(m,"lang",t[3]),I===(I=S(t,e))&&D?D.p(t,e):(D.d(1),D=I(t),D&&(D.c(),D.m(g,null))),2048&e[0]&&A!==(A=t[11]("cardText.edit")+"")&&ot(x,A),t[5]||t[0].isModified||!t[10]?k&&(k.d(1),k=null):k?k.p(t,e):(k=zr(t),k.c(),k.m(_,null)),t[7]?P?P.p(t,e):(P=Zr(t),P.c(),P.m(n,null)):P&&(P.d(1),P=null)},d(t){t&&J(n),D.d(),k&&k.d(),P&&P.d(),C=!1,Z(L)}}}(t);return{c(){n.c(),i=_(),this.c=z},m(t,e){n.m(t,e),q(t,i,e)},p(t,e){n.p(t,e)},i:z,o:z,d(t){n.d(t),t&&J(i)}}}function qr(t,e,n){let o;F(t,An,t=>n(11,o=t));let{limitsdata:i=""}=e,{limitname:r=""}=e,{playercurrency:a=""}=e,{lang:s="en"}=e;Object.keys(Dn).forEach(t=>{ln(t,Dn[t])});let l=new Array(5).fill(0),u=[o("cardText.daily"),o("cardText.weekly"),o("cardText.monthly")],c=!0,d=!0,m=!1,f=window.navigator.userAgent,h="PC"!==Sn(f),p="",y="",g=!0,w=$n();const v=t=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:t,name:r},window.location.href)},_=t=>{n(7,m=!0),n(6,d=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:t,removeName:r},window.location.href)},b=t=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{n(4,l[t]=!0,l)},50)},x=(t,e,i,n)=>{var r=n===o("cardText.time")?{period:i,minutes:0,currency:"",isModified:!1,expiryDate:""}:{period:i,amount:o("cardText.noLimit"),currency:"",isModified:!1,expiryDate:""};t.splice(e,0,r)},E=(t,e)=>t.period===o("cardText.weekly")&&e.period===o("cardText.daily")||t.period===o("cardText.monthly")&&e.period===o("cardText.daily")||t.period===o("cardText.monthly")&&e.period===o("cardText.weekly")?1:t.period===o("cardText.daily")&&e.period===o("cardText.weekly")||t.period===o("cardText.daily")&&e.period===o("cardText.monthly")||t.period===o("cardText.weekly")&&e.period===o("cardText.monthly")?-1:0,T=()=>{var t=s;wn.set(t),t=r===o("cardText.timeLimit")?o("cardText.timeLimitLower"):r===o("cardText.depositLimit")?o("cardText.depositLimitLower"):r===o("cardText.wageringLimit")?o("cardText.wageringLimitLower"):o("cardText.lossLimitLower"),n(8,p=o("cardText.removeLimitsText",{values:{limit:t}})),n(9,y=o("cardText.removeLimitText",{values:{limit:t}})),r===o("cardText.depositLimit")||r===o("cardText.timeLimit")?Array.isArray(i)&&(i.forEach(t=>{t.isModified&&n(10,g=!1)}),i.sort(E),(i=>{const e=u;u.forEach(e=>{i.indexOf(e),i.find(t=>t.period===e)&&(u=u.filter(t=>t!==e)),i.forEach(t=>{t.period===e&&t.amount!==o("cardText.noLimit")&&n(5,c=!1)})}),u.forEach(t=>{i.name===o("cardText.timeLimit")?x(i,e.indexOf(t),t,o("cardText.time")):x(i,e.indexOf(t),t,o("cardText.currency"))})})(i)):(i.hasOwnProperty("period")||n(0,i={period:o("cardText.daily"),amount:o("cardText.noLimit"),currency:"",isModified:!1,expiryDate:""}),n(5,c=i.amount==o("cardText.noLimit")))},C=t=>{if(t.data)switch(t.data.type){case"ClosePlayerAccountGamingLimitsPopup":n(4,l=new Array(5).fill(0));break;case"ModalClosed":n(7,m=!1),n(6,d=!1)}};return $(()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)})),t.$$set=t=>{"limitsdata"in t&&n(0,i=t.limitsdata),"limitname"in t&&n(1,r=t.limitname),"playercurrency"in t&&n(2,a=t.playercurrency),"lang"in t&&n(3,s=t.lang)},t.$$.update=()=>{11&t.$$.dirty[0]&&i&&r&&s&&T()},[i,r,a,s,l,c,d,m,p,y,g,o,h,w,v,_,(t,e)=>{n(7,m=!0),n(6,d=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:t,removeName:e},window.location.href)},b,()=>b(0),t=>b(t+1),t=>b(t+1),()=>v(i),()=>_(i)]}function Jr(t){let i;return{c(){i=K("player-account-gaming-limits-group-edit"),rt(i,"limitsdata",t[8]),rt(i,"limitname",t[9]),rt(i,"showsuccessnotification",t[5]),rt(i,"showdeletenotification",t[4]),rt(i,"playercurrency",t[7]),rt(i,"lang",t[6])},m(t,e){q(t,i,e)},p(t,e){256&e&&rt(i,"limitsdata",t[8]),512&e&&rt(i,"limitname",t[9]),32&e&&rt(i,"showsuccessnotification",t[5]),16&e&&rt(i,"showdeletenotification",t[4]),128&e&&rt(i,"playercurrency",t[7]),64&e&&rt(i,"lang",t[6])},d(t){t&&J(i)}}}function Kr(t){let i,n,r,o,a,s,l,u,c,d,m,f,h,p=t[11]("gamingLimits.gamingLimitsText")+"",y=t[12]&&function(i){let n,r,o,a,s,l,u,c,d,m,f,h,p,y=i[11]("gamingLimits.gamingLimitsText")+"";return{c(){n=K("div"),r=e("svg"),o=e("defs"),a=e("style"),s=Q(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),l=e("g"),u=e("g"),c=e("path"),d=tt(),m=K("h2"),f=Q(y),nt(c,"class","aaa"),nt(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),nt(c,"transform","translate(15 15) rotate(180)"),nt(u,"transform","translate(20 158)"),nt(l,"transform","translate(-20 -158)"),nt(r,"xmlns","http://www.w3.org/2000/svg"),nt(r,"width","15"),nt(r,"height","15"),nt(r,"viewBox","0 0 15 15"),nt(m,"class","PlayerGamingLimitsTitleMobile"),nt(m,"part","PlayerGamingLimitsTitleMobile"),nt(n,"class","MenuReturnButton"),nt(n,"part","MenuReturnButton")},m(t,e){q(t,n,e),X(n,r),X(r,o),X(o,a),X(a,s),X(r,l),X(l,u),X(u,c),X(n,d),X(n,m),X(m,f),h||(p=et(n,"click",i[19]),h=!0)},p(t,e){2048&e&&y!==(y=t[11]("gamingLimits.gamingLimitsText")+"")&&ot(f,y)},d(t){t&&J(n),h=!1,p()}}}(t);return{c(){i=K("div"),y&&y.c(),n=tt(),r=K("h2"),o=Q(p),a=tt(),s=K("div"),l=K("player-account-gaming-limits-info-card"),u=tt(),c=K("player-account-gaming-limits-info-card"),d=tt(),m=K("player-account-gaming-limits-info-card"),f=tt(),h=K("player-account-gaming-limits-info-card"),nt(r,"class","PlayerGamingLimitsTitle "+(t[12]?"PlayerGamingLimitsTitleNone":"")),nt(r,"part","PlayerGamingLimitsTitle "+(t[12]?"PlayerGamingLimitsTitleNone":"")),rt(l,"limitsdata",t[0]),rt(l,"limitname",t[13]),rt(l,"playercurrency",t[7]),rt(l,"lang",t[6]),rt(c,"limitsdata",t[1]),rt(c,"limitname",t[14]),rt(c,"playercurrency",t[7]),rt(c,"lang",t[6]),rt(m,"limitsdata",t[2]),rt(m,"limitname",t[15]),rt(m,"playercurrency",t[7]),rt(m,"lang",t[6]),rt(h,"limitsdata",t[3]),rt(h,"limitname",t[16]),rt(h,"playercurrency",t[7]),rt(h,"lang",t[6]),nt(s,"class","PlayerAccountGamingLimitsContainer"),nt(s,"part","PlayerAccountGamingLimitsContainer"),nt(i,"class","PlayerAccountGamingLimitsWrapper "+(t[12]?"PlayerAccountMobileGamingLimitsWrapper":"")+" "+(t[17].matches&&t[12]?"PlayerAccountTabletGamingLimitsWrapper":"")),nt(i,"part","PlayerAccountGamingLimitsWrapper "+(t[12]?"PlayerAccountMobileGamingLimitsWrapper":"")+" "+(t[17].matches&&t[12]?"PlayerAccountTabletGamingLimitsWrapper":""))},m(t,e){q(t,i,e),y&&y.m(i,null),X(i,n),X(i,r),X(r,o),X(i,a),X(i,s),X(s,l),X(s,u),X(s,c),X(s,d),X(s,m),X(s,f),X(s,h)},p(t,e){t[12]&&y.p(t,e),2048&e&&p!==(p=t[11]("gamingLimits.gamingLimitsText")+"")&&ot(o,p),1&e&&rt(l,"limitsdata",t[0]),128&e&&rt(l,"playercurrency",t[7]),64&e&&rt(l,"lang",t[6]),2&e&&rt(c,"limitsdata",t[1]),128&e&&rt(c,"playercurrency",t[7]),64&e&&rt(c,"lang",t[6]),4&e&&rt(m,"limitsdata",t[2]),128&e&&rt(m,"playercurrency",t[7]),64&e&&rt(m,"lang",t[6]),8&e&&rt(h,"limitsdata",t[3]),128&e&&rt(h,"playercurrency",t[7]),64&e&&rt(h,"lang",t[6])},d(t){t&&J(i),y&&y.d()}}}function Qr(t){let i;function n(t){return t[10]?Kr:Jr}let r=n(t),o=r(t);return{c(){o.c(),i=_(),this.c=z},m(t,e){o.m(t,e),q(t,i,e)},p(t,[e]){r===(r=n(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(i.parentNode,i)))},i:z,o:z,d(t){o.d(t),t&&J(i)}}}function to(e,t,i){let n;F(e,An,t=>i(11,n=t));let{depositlimit:r=""}=t,{wageringlimit:o=""}=t,{losslimit:a=""}=t,{timelimit:s=""}=t,{showdeletenotification:l=!1}=t,{showsuccessnotification:u=!1}=t,{lang:c="en"}=t;Object.keys(In).forEach(t=>{ln(t,In[t])});let d,m=window.navigator.userAgent,f="PC"!==Sn(m),h="",p="",y=!0,g=n("gamingLimits.depositLimit"),w=n("gamingLimits.wageringLimit"),v=n("gamingLimits.lossLimit"),_=n("gamingLimits.timeLimit");const b=window.matchMedia("(min-width: 768px)"),x=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:f},window.location.href)},E=t=>{if(t.data)switch(t.data.type){case"EditPlayerAccountGamingLimits":i(8,d=t.data.edit),i(9,p=t.data.name),i(10,y=!1);break;case"PlayerAccountBackToLimitsView":i(10,y=!0);break;case"ProfileDetailsData":var e=t.data.profileDetails;i(7,h=e.currency)}};return $(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)})),e.$$set=t=>{"depositlimit"in t&&i(0,r=t.depositlimit),"wageringlimit"in t&&i(1,o=t.wageringlimit),"losslimit"in t&&i(2,a=t.losslimit),"timelimit"in t&&i(3,s=t.timelimit),"showdeletenotification"in t&&i(4,l=t.showdeletenotification),"showsuccessnotification"in t&&i(5,u=t.showsuccessnotification),"lang"in t&&i(6,c=t.lang)},e.$$.update=()=>{var t;72&e.$$.dirty&&s&&g&&w&&v&&_&&c&&(t=c,wn.set(t),S())},[r,o,a,s,l,u,c,h,d,p,y,n,f,g,w,v,_,b,x,()=>x()]}customElements.get("player-account-gaming-limits-confirmation-modal")||customElements.define("player-account-gaming-limits-confirmation-modal",class extends V{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:relative;background:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;border-top:5px solid var(--emfe-w-color-secondary, #FD2839);margin:0 20px}.GamingLimitsConfirmationContainer{background:var(--emfe-w-color-gray-50, #F9F8F8);color:var(--emfe-w-color-black, #000000);padding:60px 30px 30px 30px;text-align:center}.GamingLimitsConfirmationContainerMobile{padding:30px}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{width:100%;font-size:18px;line-height:48px;border-radius:5px;color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B);background-color:transparent;text-transform:uppercase;cursor:pointer}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-primary, #D0046C)}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:40px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}</style>",H(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Zn,zn,i,{modaltext:0,modalsource:6,lang:7}),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),k()))}static get observedAttributes(){return["modaltext","modalsource","lang"]}get modaltext(){return this.$$.ctx[0]}set modaltext(t){this.$set({modaltext:t}),k()}get modalsource(){return this.$$.ctx[6]}set modalsource(t){this.$set({modalsource:t}),k()}get lang(){return this.$$.ctx[7]}set lang(t){this.$set({lang:t}),k()}}),customElements.get("player-account-gaming-limits-group-edit")||customElements.define("player-account-gaming-limits-group-edit",class extends V{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.MenuReturnButton{color:var(--emfe-w-color-primary, #D0046C);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px;cursor:pointer}.MenuReturnButton svg{fill:var(--emfe-w-color-primary, #D0046C)}.MyAccountCategoryTitle{font-size:26px;color:var(--emfe-w-color-primary, #D0046C);font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:var(--emfe-w-color-primary, #D0046C)}.MyAccountCategoryTitleNone{display:none !important}.AccountEditLimitsWrapper{padding:50px;max-width:760px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper{padding:20px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea{grid-template-columns:1fr}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea .AccountEditLimitsSaveButton{width:100%}.AccountEditLimitsHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:5px;color:var(--emfe-w-color-primary, #D0046C)}.AccountEditLimitsHeader h6{margin:0;font-weight:normal;font-size:16px;line-height:20px}.AccountEditLimitsHeader .AccountEditLimitsIcon{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emfe-w-color-primary, #D0046C);align-items:center;justify-content:center;border-radius:30px;cursor:pointer}.AccountEditLimitChangePeriodIcon{display:flex;width:20px;height:20px;color:var(--emfe-w-color-gray-300, #58586B);background:transparent;border:1px solid var(--emfe-w-color-gray-300, #58586B);align-items:center;justify-content:center;border-radius:30px;cursor:pointer;margin-right:10px}.AccountEditLimitSuccessfulChangeContainer{background:var(--emfe-w-color-primary-50, #FBECF4);border:1px solid var(--emfe-w-color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;padding:10px}.AccountEditLimitSuccessfulChangeContainer p{margin:0}.AccountEditLimitsIconWrapper{position:relative}.AccountEditLimitsTitle{font-size:16px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A);margin:0;padding:10px 0 10px}.AccountEditLimitsExpiryDate{font-size:12px;font-weight:300;color:var(--emfe-w-color-black, #000000)}.AccountEditLimitsContainer{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;direction:ltr}@media only screen and (max-width: 1024px){.AccountEditLimitsContainer{grid-template-columns:1fr;grid-gap:20px}}.AccountEditField{width:100%;font-size:14px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A);padding:10px;line-height:16px;background:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;outline:none;transition-duration:0.3s}.AccountEditField:focus,.AccountEditField :focus-within,.AccountEditField :focus-visible,.AccountEditField :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.AccountEditFieldCustom{padding:3%}.AccountEditLimitsPeriodChangeContainer{background:var(--emfe-w-color-gray-50, #F9F8F8);border-radius:5px}.AccountEditLimitsPeriodChangeContainer p{max-width:290px;display:-webkit-box;padding:10px 35px 15px 10px;color:var(--emfe-w-color-gray-300, #58586B);font-size:12px;font-weight:300}.AccountEditLimitsPeriodChangeContainer p .AccountEditLimitChangePeriodIcon{font-size:14px;font-weight:400}.AccountEditLimitsControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:40px;margin-top:35px}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton{padding:12px;cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:18px;color:var(--emfe-w-color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton.AccountEditLimitsButtonDisabled{background:var(--emfe-w-color-primary, #D0046C);cursor:not-allowed;opacity:0.6}.AccountEditLimitsBox{position:relative}.AccountEditWarningText{position:relative;margin:0}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;position:absolute;top:6px;margin:0;line-height:10px}.AccountEditLimitsInputContainer{position:relative;padding-top:10px;width:94%}</style>",H(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Mr,Lr,i,{limitsdata:0,showsuccessnotification:1,showdeletenotification:2,limitname:3,playercurrency:4,lang:5},[-1,-1]),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),k()))}static get observedAttributes(){return["limitsdata","showsuccessnotification","showdeletenotification","limitname","playercurrency","lang"]}get limitsdata(){return this.$$.ctx[0]}set limitsdata(t){this.$set({limitsdata:t}),k()}get showsuccessnotification(){return this.$$.ctx[1]}set showsuccessnotification(t){this.$set({showsuccessnotification:t}),k()}get showdeletenotification(){return this.$$.ctx[2]}set showdeletenotification(t){this.$set({showdeletenotification:t}),k()}get limitname(){return this.$$.ctx[3]}set limitname(t){this.$set({limitname:t}),k()}get playercurrency(){return this.$$.ctx[4]}set playercurrency(t){this.$set({playercurrency:t}),k()}get lang(){return this.$$.ctx[5]}set lang(t){this.$set({lang:t}),k()}}),customElements.get("player-account-gaming-limits-info-card")||customElements.define("player-account-gaming-limits-info-card",class extends V{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.InfoCard{padding:20px;color:var(--emfe-w-color-black, #000000);background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 3px 12px var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emfe-w-color-primary, #D0046C);align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:var(--emfe-w-color-gray-300, #58586B);font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:var(--emfe-w-color-secondary, #FD2839);border:1px solid var(--emfe-w-color-secondary, #FD2839)}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:\"\\274c\";font-size:7px;color:var(--emfe-w-color-secondary, #FD2839);line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:var(--emfe-w-color-gray-50, #F9F8F8)}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--emfe-w-color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);margin-right:10px}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid var(--emfe-w-color-black, #000000)}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emfe-w-color-primary, #D0046C);align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B)}</style>",H(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},qr,Xr,i,{limitsdata:0,limitname:1,playercurrency:2,lang:3},[-1,-1]),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),k()))}static get observedAttributes(){return["limitsdata","limitname","playercurrency","lang"]}get limitsdata(){return this.$$.ctx[0]}set limitsdata(t){this.$set({limitsdata:t}),k()}get limitname(){return this.$$.ctx[1]}set limitname(t){this.$set({limitname:t}),k()}get playercurrency(){return this.$$.ctx[2]}set playercurrency(t){this.$set({playercurrency:t}),k()}get lang(){return this.$$.ctx[3]}set lang(t){this.$set({lang:t}),k()}});class eo extends V{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerAccountGamingLimitsWrapper{color:var(--emfe-w-color-primary, #D0046C);padding:50px;max-width:760px}.PlayerGamingLimitsTitle{font-size:26px;color:var(--emfe-w-color-primary, #D0046C);font-weight:400}.PlayerGamingLimitsTitleMobile{font-size:16px;color:var(--emfe-w-color-primary, #D0046C)}.PlayerGamingLimitsTitleNone{display:none}.MenuReturnButton{color:var(--emfe-w-color-primary, #D0046C);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emfe-w-color-primary, #D0046C)}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:var(--emfe-w-color-white, #FFFFFF);max-width:unset}.PlayerAccountTabletGamingLimitsWrapper{padding:40px 25% 40px 25%}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}</style>",H(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},to,Qr,i,{depositlimit:0,wageringlimit:1,losslimit:2,timelimit:3,showdeletenotification:4,showsuccessnotification:5,lang:6}),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),k()))}static get observedAttributes(){return["depositlimit","wageringlimit","losslimit","timelimit","showdeletenotification","showsuccessnotification","lang"]}get depositlimit(){return this.$$.ctx[0]}set depositlimit(t){this.$set({depositlimit:t}),k()}get wageringlimit(){return this.$$.ctx[1]}set wageringlimit(t){this.$set({wageringlimit:t}),k()}get losslimit(){return this.$$.ctx[2]}set losslimit(t){this.$set({losslimit:t}),k()}get timelimit(){return this.$$.ctx[3]}set timelimit(t){this.$set({timelimit:t}),k()}get showdeletenotification(){return this.$$.ctx[4]}set showdeletenotification(t){this.$set({showdeletenotification:t}),k()}get showsuccessnotification(){return this.$$.ctx[5]}set showsuccessnotification(t){this.$set({showsuccessnotification:t}),k()}get lang(){return this.$$.ctx[6]}set lang(t){this.$set({lang:t}),k()}}return customElements.get("player-account-gaming-limits")||customElements.define("player-account-gaming-limits",eo),eo});
|
|
2
2
|
//# sourceMappingURL=player-account-gaming-limits.js.map
|