@everymatrix/player-account-gaming-limits-group-edit 0.0.258 → 0.0.261
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 m=t=>t;function c(t){return t()}function d(){return Object.create(null)}function Z(t){t.forEach(c)}function x(t){return"function"==typeof t}function n(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function h(t,...e){if(null==t)return z;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function F(t,e,n){t.$$.on_destroy.push(h(e,n))}var t="undefined"!=typeof window;let y=t?()=>window.performance.now():()=>Date.now(),g=t?t=>requestAnimationFrame(t):z;const _=new Set;function v(e){_.forEach(t=>{t.c(e)||(_.delete(t),t.f())}),0!==_.size&&g(v)}function X(t,e){t.appendChild(e)}function q(t,e,n){t.insertBefore(e,n||null)}function J(t){t.parentNode.removeChild(t)}function S(e,n){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(n)}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 w(){return Q("")}function et(t,e,n,i){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n,i)}function nt(e){return function(t){return t.preventDefault(),e.call(this,t)}}function it(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function rt(t,e,n){e in t?t[e]=n:it(t,e,n)}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 A(e,n){for(let t=0;t<e.options.length;t+=1){const i=e.options[t];if(i.__value===n)return i.selected=!0,0}}function G(t){t=t.querySelector(":checked")||t.options[0];return t&&t.__value}function i(t){const e={};for(const n of t)e[n.name]=n.value;return e}const b=new Set;let p,E=0;function T(t,e,n,i,r,o,s,a=0){var u=16.666/i;let l="{\n";for(let t=0;t<=1;t+=u){const i=e+(n-e)*o(t);l+=100*t+`%{${s(i,1-i)}}\n`}const c=l+`100% {${s(n,1-n)}}\n}`,d=`__svelte_${function(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}(c)}_${a}`,h=t.ownerDocument;b.add(h);const f=h.__svelte_stylesheet||(h.__svelte_stylesheet=h.head.appendChild(K("style")).sheet),p=h.__svelte_rules||(h.__svelte_rules={});p[d]||(p[d]=!0,f.insertRule(`@keyframes ${d} ${c}`,f.cssRules.length));a=t.style.animation||"";return t.style.animation=`${a?`${a}, `:""}${d} ${i}ms linear ${r}ms 1 both`,E+=1,d}function M(t){p=t}function W(t){!function(){if(!p)throw new Error("Function called outside component initialization");return p}().$$.on_mount.push(t)}const C=[],a=[],r=[],o=[],L=Promise.resolve();let D=!1;function k(t){r.push(t)}let s=!1;const u=new Set;function P(){if(!s){s=!0;do{for(let t=0;t<C.length;t+=1){var e=C[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(k))}}(e.$$)}for(M(null),C.length=0;a.length;)a.pop()();for(let t=0;t<r.length;t+=1){const n=r[t];u.has(n)||(u.add(n),n())}}while(r.length=0,C.length);for(;o.length;)o.pop()();D=!1,s=!1,u.clear()}}let O;function N(t,e,n){t.dispatchEvent(function(t){const e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}(`${e?"intro":"outro"}${n}`))}const l=new Set;let I;function Y(t,e){t&&t.i&&(l.delete(t),t.i(e))}function R(t,e,n,i){t&&t.o&&(l.has(t)||(l.add(t),I.c.push(()=>{l.delete(t),i&&(n&&t.d(1),i())}),t.o(e)))}const j={duration:0};function $(a,t,e,n){let u=t(a,e),l=n?0:1,c=null,d=null,h=null;function f(){h&&function(t,e){const n=(t.style.animation||"").split(", "),i=n.filter(e?t=>t.indexOf(e)<0:t=>-1===t.indexOf("__svelte")),r=n.length-i.length;r&&(t.style.animation=i.join(", "),E-=r,E||g(()=>{E||(b.forEach(t=>{const e=t.__svelte_stylesheet;let n=e.cssRules.length;for(;n--;)e.deleteRule(n);t.__svelte_rules={}}),b.clear())}))}(a,h)}function p(t,e){var n=t.b-l;return e*=Math.abs(n),{a:l,b:t.b,d:n,duration:e,start:t.start,end:t.start+e,group:t.group}}function i(t){const{delay:e=0,duration:n=300,easing:i=m,tick:r=z,css:o}=u||j,s={start:y()+e,b:t};t||(s.group=I,I.r+=1),c||d?d=s:(o&&(f(),h=T(a,l,t,n,e,i,o)),t&&r(0,1),c=p(s,n),k(()=>N(a,t,"start")),function(e){let n;0===_.size&&g(v),new Promise(t=>{_.add(n={c:e,f:t})})}(t=>{return d&&t>d.start&&(c=p(d,n),d=null,N(a,c.b,"start"),o&&(f(),h=T(a,l,c.b,c.duration,0,i,u.css))),c&&(t>=c.end?(r(l=c.b,1-l),N(a,c.b,"end"),d||(c.b?f():--c.group.r||Z(c.group.c)),c=null):t>=c.start&&(t=t-c.start,l=c.a+c.d*i(t/c.duration),r(l,1-l))),!(!c&&!d)}))}return{run(t){x(u)?(O||(O=Promise.resolve(),O.then(()=>{O=null})),O.then(()=>{u=u(),i(t)})):i(t)},end(){f(),c=d=null}}}function H(i,t,e,n,r,o,s=[-1]){var a=p;M(i);const u=i.$$={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(a?a.$$.context:t.context||[]),callbacks:d(),dirty:s,skip_bound:!1};let l=!1;if(u.ctx=e?e(i,t.props||{},(t,e,...n)=>{n=n.length?n[0]:e;return u.ctx&&r(u.ctx[t],u.ctx[t]=n)&&(!u.skip_bound&&u.bound[t]&&u.bound[t](n),l&&(n=t,-1===(t=i).$$.dirty[0]&&(C.push(t),D||(D=!0,L.then(P)),t.$$.dirty.fill(0)),t.$$.dirty[n/31|0]|=1<<n%31)),e}):[],u.update(),l=!0,Z(u.before_update),u.fragment=!!n&&n(u.ctx),t.target){if(t.hydrate){const z=(n=t.target,Array.from(n.childNodes));u.fragment&&u.fragment.l(z),z.forEach(J)}else u.fragment&&u.fragment.c();t.intro&&Y(i.$$.fragment),function(e,t,n,i){const{fragment:r,on_mount:o,on_destroy:s,after_update:a}=e.$$;r&&r.m(t,n),i||k(()=>{var t=o.map(c).filter(x);s?s.push(...t):Z(t),e.$$.on_mount=[]}),a.forEach(k)}(i,t.target,t.anchor,t.customElement),P()}M(a)}let B;"function"==typeof HTMLElement&&(B=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(c).filter(x);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,n){this[t]=n}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 n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{var t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){this.$$set&&0!==Object.keys(t).length&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});var V,st,at="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==at&&at,ut="URLSearchParams"in at,lt="Symbol"in at&&"iterator"in Symbol,ct="FileReader"in at&&"Blob"in at&&function(){try{return new Blob,!0}catch(t){return!1}}(),dt="FormData"in at,ht="ArrayBuffer"in at;function ft(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 mt(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return lt&&(t[Symbol.iterator]=function(){return t}),t}function yt(e){this.map={},e instanceof yt?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 gt(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function _t(n){return new Promise(function(t,e){n.onload=function(){t(n.result)},n.onerror=function(){e(n.error)}})}function vt(t){var e=new FileReader,n=_t(e);return e.readAsArrayBuffer(t),n}function wt(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function bt(){return this.bodyUsed=!1,this._initBody=function(t){this.bodyUsed=this.bodyUsed,(this._bodyInit=t)?"string"==typeof t?this._bodyText=t:ct&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:dt&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:ut&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():ht&&ct&&t&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=wt(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ht&&(ArrayBuffer.prototype.isPrototypeOf(t)||st(t))?this._bodyArrayBuffer=wt(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"))},ct&&(this.blob=function(){var t=gt(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?gt(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(vt)}),this.text=function(){var t,e,n=gt(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,n=_t(e),e.readAsText(t),n;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),n=new Array(e.length),i=0;i<e.length;i++)n[i]=String.fromCharCode(e[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},dt&&(this.formData=function(){return this.text().then(xt)}),this.json=function(){return this.text().then(JSON.parse)},this}ht&&(V=["[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<V.indexOf(Object.prototype.toString.call(t))}),yt.prototype.append=function(t,e){t=ft(t),e=pt(e);var n=this.map[t];this.map[t]=n?n+", "+e:e},yt.prototype.delete=function(t){delete this.map[ft(t)]},yt.prototype.get=function(t){return t=ft(t),this.has(t)?this.map[t]:null},yt.prototype.has=function(t){return this.map.hasOwnProperty(ft(t))},yt.prototype.set=function(t,e){this.map[ft(t)]=pt(e)},yt.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},yt.prototype.keys=function(){var n=[];return this.forEach(function(t,e){n.push(e)}),mt(n)},yt.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),mt(e)},yt.prototype.entries=function(){var n=[];return this.forEach(function(t,e){n.push([e,t])}),mt(n)},lt&&(yt.prototype[Symbol.iterator]=yt.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 n,i=(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 yt(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=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 yt(e.headers)),this.method=(t=(n=e.method||this.method||"GET").toUpperCase(),-1<Et.indexOf(t)?t:n),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i),"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 xt(t){var n=new FormData;return t.trim().split("&").forEach(function(t){var e;t&&(t=(e=t.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function St(t,e){if(!(this instanceof St))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 yt(e.headers),this.url=e.url||"",this._initBody(t)}Tt.prototype.clone=function(){return new Tt(this,{body:this._bodyInit})},bt.call(Tt.prototype),bt.call(St.prototype),St.prototype.clone=function(){return new St(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new yt(this.headers),url:this.url})},St.error=function(){var t=new St(null,{status:0,statusText:""});return t.type="error",t};var At=[301,302,303,307,308];St.redirect=function(t,e){if(-1===At.indexOf(e))throw new RangeError("Invalid status code");return new St(null,{status:e,headers:{location:t}})};var Mt=at.DOMException;try{new Mt}catch(z){(Mt=function(t,e){this.message=t,this.name=e;t=Error(t);this.stack=t.stack}).prototype=Object.create(Error.prototype),Mt.prototype.constructor=Mt}function Ct(i,s){return new Promise(function(r,t){var e=new Tt(i,s);if(e.signal&&e.signal.aborted)return t(new Mt("Aborted","AbortError"));var o=new XMLHttpRequest;function n(){o.abort()}o.onload=function(){var t,n,e={status:o.status,statusText:o.statusText,headers:(t=o.getAllResponseHeaders()||"",n=new yt,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(),n.append(t,e))}),n)};e.url="responseURL"in o?o.responseURL:e.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;setTimeout(function(){r(new St(i,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 Mt("Aborted","AbortError"))},0)},o.open(e.method,function(e){try{return""===e&&at.location.href?at.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&&(ct?o.responseType="blob":ht&&e.headers.get("Content-Type")&&-1!==e.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof yt?e.headers.forEach(function(t,e){o.setRequestHeader(e,t)}):Object.getOwnPropertyNames(s.headers).forEach(function(t){o.setRequestHeader(t,pt(s.headers[t]))}),e.signal&&(e.signal.addEventListener("abort",n),o.onreadystatechange=function(){4===o.readyState&&e.signal.removeEventListener("abort",n)}),o.send(void 0===e._bodyInit?null:e._bodyInit)})}function kn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Ct.polyfill=!0,at.fetch||(at.fetch=Ct,at.Headers=yt,at.Request=Tt,at.Response=St),self.fetch.bind(self);var Lt=function(t,e){return(Lt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(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 n(){this.constructor=t}Lt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function kt(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return{value:(t=t&&i>=t.length?void 0:t)&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Pt(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(i=o.next()).done;)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return s}function Ot(t,e){for(var n=0,i=e.length,r=t.length;n<i;n++,r++)t[r]=e[n];return t}function Nt(t){return"function"==typeof t}function It(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=It(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 Rt(t,e){!t||0<=(e=t.indexOf(e))&&t.splice(e,1)}var Ft=(Gt.prototype.unsubscribe=function(){var t,e,n,i,r;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=kt(o),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}else o.remove(this);o=this.initialTeardown;if(Nt(o))try{o()}catch(t){r=t instanceof Yt?t.errors:[t]}o=this._teardowns;if(o){this._teardowns=null;try{for(var u=kt(o),l=u.next();!l.done;l=u.next()){var c=l.value;try{jt(c)}catch(t){r=null!=r?r:[],t instanceof Yt?r=Ot(Ot([],Pt(r)),Pt(t.errors)):r.push(t)}}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}}if(r)throw new Yt(r)}},Gt.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)jt(t);else{if(t instanceof Gt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(e=this._teardowns)&&void 0!==e?e:[]).push(t)}},Gt.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},Gt.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},Gt.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&Rt(e,t)},Gt.prototype.remove=function(t){var e=this._teardowns;e&&Rt(e,t),t instanceof Gt&&t._removeParent(this)},Gt.EMPTY=((cn=new Gt).closed=!0,cn),Gt),Ut=Ft.EMPTY;function Gt(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}function Wt(t){return t instanceof Ft||t&&"closed"in t&&Nt(t.remove)&&Nt(t.add)&&Nt(t.unsubscribe)}function jt(t){Nt(t)?t():t.unsubscribe()}var $t=void 0,Ht=!1,Bt=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return setTimeout.apply(void 0,Ot([],Pt(t)))};function Vt(){}function zt(t){t()}var Zt,Xt,qt=(Dt(Qt,Xt=Ft),Qt.create=function(t,e,n){return new Jt(t,e,n)},Qt.prototype.next=function(t){this.isStopped||this._next(t)},Qt.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},Qt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Qt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Xt.prototype.unsubscribe.call(this),this.destination=null)},Qt.prototype._next=function(t){this.destination.next(t)},Qt.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},Qt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Qt),Jt=(Dt(Kt,Zt=qt),Kt);function Kt(t,e,n){var i,r,o=Zt.call(this)||this;return Nt(t)?r=t:t&&(r=t.next,e=t.error,n=t.complete,o&&Ht?(i=Object.create(t)).unsubscribe=function(){return o.unsubscribe()}:i=t,r=null==r?void 0:r.bind(i),e=null==e?void 0:e.bind(i),n=null==n?void 0:n.bind(i)),o.destination={next:r?te(r):Vt,error:te(null!=e?e:ee),complete:n?te(n):Vt},o}function Qt(t){var e=Xt.call(this)||this;return e.isStopped=!1,t?Wt(e.destination=t)&&t.add(e):e.destination=ne,e}function te(i){return function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];try{i.apply(void 0,Ot([],Pt(t)))}catch(t){e=t,Bt(function(){throw e})}}}function ee(t){throw t}var ne={closed:!0,next:Vt,error:ee,complete:Vt},ie="function"==typeof Symbol&&Symbol.observable||"@@observable";function re(t){return t}var oe=(se.prototype.lift=function(t){var e=new se;return e.source=this,e.operator=t,e},se.prototype.subscribe=function(t,e,n){var i,r=this,o=(i=t)&&i instanceof qt||i&&Nt(i.next)&&Nt(i.error)&&Nt(i.complete)&&Wt(i)?t:new Jt(t,e,n);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(i,t){var r=this;return new(t=ae(t))(function(t,e){var n=r.subscribe(function(t){try{i(t)}catch(t){e(t),null==n||n.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[ie]=function(){return this},se.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?re:1===e.length?e[0]:function(t){return e.reduce(function(t,e){return e(t)},t)})(this)},se.prototype.toPromise=function(t){var i=this;return new(t=ae(t))(function(t,e){var n;i.subscribe(function(t){return n=t},function(t){return e(t)},function(){return t(n)})})},se.create=function(t){return new se(t)},se);function se(t){t&&(this._subscribe=t)}function ae(t){return null!==(t=null!=t?t:$t)&&void 0!==t?t:Promise}var ue,le,ce,de=It(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),he=(Dt(_e,ce=oe),_e.prototype.lift=function(t){var e=new fe(this,this);return e.operator=t,e},_e.prototype._throwIfClosed=function(){if(this.closed)throw new de},_e.prototype.next=function(o){var s=this;zt(function(){var e,t;if(s._throwIfClosed(),!s.isStopped){var n=s.observers.slice();try{for(var i=kt(n),r=i.next();!r.done;r=i.next())r.value.next(o)}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}}})},_e.prototype.error=function(e){var n=this;zt(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=e;for(var t=n.observers;t.length;)t.shift().error(e)}})},_e.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()}})},_e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(_e.prototype,"observed",{get:function(){var t;return 0<(null===(t=this.observers)||void 0===t?void 0:t.length)},enumerable:!1,configurable:!0}),_e.prototype._trySubscribe=function(t){return this._throwIfClosed(),ce.prototype._trySubscribe.call(this,t)},_e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},_e.prototype._innerSubscribe=function(t){var e=this.hasError,n=this.isStopped,i=this.observers;return e||n?Ut:(i.push(t),new Ft(function(){return Rt(i,t)}))},_e.prototype._checkFinalizedStatuses=function(t){var e=this.hasError,n=this.thrownError,i=this.isStopped;e?t.error(n):i&&t.complete()},_e.prototype.asObservable=function(){var t=new oe;return t.source=this,t},_e.create=function(t,e){return new fe(t,e)},_e),fe=(Dt(ge,le=he),ge.prototype.next=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)},ge.prototype.error=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)},ge.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)},ge.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:Ut},ge),pe={now:function(){return(pe.delegate||Date).now()},delegate:void 0},me=(Dt(ye,ue=he),ye.prototype.next=function(t){var e=this,n=e.isStopped,i=e._buffer,r=e._infiniteTimeWindow,o=e._timestampProvider,e=e._windowTime;n||(i.push(t),r||i.push(o.now()+e)),this._trimBuffer(),ue.prototype.next.call(this,t)},ye.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),n=this._infiniteTimeWindow,i=this._buffer.slice(),r=0;r<i.length&&!t.closed;r+=n?1:2)t.next(i[r]);return this._checkFinalizedStatuses(t),e},ye.prototype._trimBuffer=function(){var t=this._bufferSize,e=this._timestampProvider,n=this._buffer,i=this._infiniteTimeWindow,r=(i?1:2)*t;if(t<1/0&&r<n.length&&n.splice(0,n.length-r),!i){for(var o=e.now(),s=0,a=1;a<n.length&&n[a]<=o;a+=2)s=a;s&&n.splice(0,s+1)}},ye);function ye(t,e,n){void 0===t&&(t=1/0),void 0===e&&(e=1/0),void 0===n&&(n=pe);var i=ue.call(this)||this;return i._bufferSize=t,i._windowTime=e,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=e===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,e),i}function ge(t,e){var n=le.call(this)||this;return n.destination=t,n.source=e,n}function _e(){var t=ce.call(this)||this;return t.closed=!1,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}let ve=[],we={};const be=[];function Ee(i,r=z){let o;const s=[];function a(t){if(n(i,t)&&(i=t,o)){const t=!be.length;for(let t=0;t<s.length;t+=1){const e=s[t];e[1](),be.push(e,i)}if(t){for(let t=0;t<be.length;t+=2)be[t][0](be[t+1]);be.length=0}}}return{set:a,update:function(t){a(t(i))},subscribe:function(t,e=z){const n=[t,e];return s.push(n),1===s.length&&(o=r(a)||z),t(i),()=>{var t=s.indexOf(n);-1!==t&&s.splice(t,1),0===s.length&&(o(),o=null)}}}}function Te(t,a,e){const u=!Array.isArray(t),l=u?[t]:t,c=a.length<2;return{subscribe:Ee(e,e=>{let n=!1;const i=[];let r=0,o=z;const s=()=>{var t;r||(o(),t=a(u?i[0]:i,e),c?e(t):o=x(t)?t:z)},t=l.map((t,e)=>h(t,t=>{i[e]=t,r&=~(1<<e),n&&s()},()=>{r|=1<<e}));return n=!0,s(),function(){Z(t),o()}}).subscribe}}var xe=function(t){return!(!t||"object"!=typeof t||(e=t,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Se));var e},Se="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Ae(t,e){return!1!==e.clone&&e.isMergeableObject(t)?ke(Array.isArray(t)?[]:{},t,e):t}function Me(t,e,n){return t.concat(e).map(function(t){return Ae(t,n)})}function Ce(t){return Object.keys(t).concat((e=t,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]));var e}function Le(t,e){try{return e in t}catch(t){return!1}}function De(i,r,o){var s={};return o.isMergeableObject(i)&&Ce(i).forEach(function(t){s[t]=Ae(i[t],o)}),Ce(r).forEach(function(e){var t,n;(!Le(t=i,n=e)||Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))&&(Le(i,e)&&o.isMergeableObject(r[e])?s[e]=function(){if(!o.customMerge)return ke;var t=o.customMerge(e);return"function"==typeof t?t:ke}()(i[e],r[e],o):s[e]=Ae(r[e],o))}),s}function ke(t,e,n){(n=n||{}).arrayMerge=n.arrayMerge||Me,n.isMergeableObject=n.isMergeableObject||xe,n.cloneUnlessOtherwiseSpecified=Ae;var i=Array.isArray(e);return i===Array.isArray(t)?i?n.arrayMerge(t,e,n):De(t,e,n):Ae(e,n)}ke.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,e){return ke(t,e,n)},{})};var Pe=ke,Oe=function(t,e){return(Oe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function Ne(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Oe(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Ie,Ye,Re,Fe=function(){return(Fe=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function Ue(t,e){for(var n=0,i=e.length,r=t.length;n<i;n++,r++)t[r]=e[n];return t}function Ge(t){return t.type===Ye.literal}function We(t){return t.type===Ye.number}function je(t){return t.type===Ye.date}function $e(t){return t.type===Ye.time}function He(t){return t.type===Ye.select}function Be(t){return t.type===Ye.plural}function Ve(t){return t.type===Ye.tag}function ze(t){return t&&"object"==typeof t&&t.type===Re.number}function Ze(t){return t&&"object"==typeof t&&t.type===Re.dateTime}(dn=Ie=Ie||{})[dn.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",dn[dn.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",dn[dn.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",dn[dn.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",dn[dn.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",dn[dn.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",dn[dn.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",dn[dn.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",dn[dn.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",dn[dn.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",dn[dn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",dn[dn.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",dn[dn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",dn[dn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",dn[dn.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",dn[dn.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",dn[dn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",dn[dn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",dn[dn.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",dn[dn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",dn[dn.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",dn[dn.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",dn[dn.INVALID_TAG=23]="INVALID_TAG",dn[dn.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",dn[dn.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",dn[dn.UNCLOSED_TAG=27]="UNCLOSED_TAG",(hn=Ye=Ye||{})[hn.literal=0]="literal",hn[hn.argument=1]="argument",hn[hn.number=2]="number",hn[hn.date=3]="date",hn[hn.time=4]="time",hn[hn.select=5]="select",hn[hn.plural=6]="plural",hn[hn.pound=7]="pound",hn[hn.tag=8]="tag",(fn=Re=Re||{})[fn.number=0]="number",fn[fn.dateTime=1]="dateTime";var t=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Xe=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var qe,Je=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Ke=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Qe=/^(@+)?(\+|#+)?$/g,tn=/(\*)(0+)|(#+)(0+)|(0+)/g,en=/^(0+)$/;function nn(t){var i={};return t.replace(Qe,function(t,e,n){return"string"!=typeof n?(i.minimumSignificantDigits=e.length,i.maximumSignificantDigits=e.length):"+"===n?i.minimumSignificantDigits=e.length:"#"===e[0]?i.maximumSignificantDigits=e.length:(i.minimumSignificantDigits=e.length,i.maximumSignificantDigits=e.length+("string"==typeof n?n.length:0)),""}),i}function rn(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 on(t){return rn(t)||{}}function sn(t){for(var s={},e=0,n=t;e<n.length;e++){var i,r=n[e];switch(r.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=r.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=Fe(Fe(Fe({},s),{notation:"scientific"}),r.options.reduce(function(t,e){return Fe(Fe({},t),on(e))},{}));continue;case"engineering":s=Fe(Fe(Fe({},s),{notation:"engineering"}),r.options.reduce(function(t,e){return Fe(Fe({},t),on(e))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.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(tn,function(t,e,n,i,r,o){if(e)s.minimumIntegerDigits=n.length;else{if(i&&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(en.test(r.stem))s.minimumIntegerDigits=r.stem.length;else if(Ke.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Ke,function(t,e,n,i,r,o){return"*"===n?s.minimumFractionDigits=e.length:i&&"#"===i[0]?s.maximumFractionDigits=i.length:r&&o?(s.minimumFractionDigits=r.length,s.maximumFractionDigits=r.length+o.length):(s.minimumFractionDigits=e.length,s.maximumFractionDigits=e.length),""}),r.options.length&&(s=Fe(Fe({},s),nn(r.options[0])))}else Qe.test(r.stem)?s=Fe(Fe({},s),nn(r.stem)):((i=rn(r.stem))&&(s=Fe(Fe({},s),i)),(i=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 n=t.slice(0,2);if("+!"===n?(e.signDisplay="always",t=t.slice(2)):"+?"===n&&(e.signDisplay="exceptZero",t=t.slice(2)),!en.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}(r.stem))&&(s=Fe(Fe({},s),i)))}return s}var an=new RegExp("^"+t.source+"*"),un=new RegExp(t.source+"*$");function ln(t,e){return{start:t,end:e}}var cn=!!String.prototype.startsWith,ie=!!String.fromCodePoint,he=!!Object.fromEntries,dn=!!String.prototype.codePointAt,hn=!!String.prototype.trimStart,fn=!!String.prototype.trimEnd,pn=Number.isSafeInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},t=!0;try{t="a"===(null===(qe=Tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===qe?void 0:qe[0])}catch(z){t=!1}var mn,yn,gn=cn?function(t,e,n){return t.startsWith(e,n)}:function(t,e,n){return t.slice(n,n+e.length)===e},_n=ie?String.fromCodePoint:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n,i="",r=t.length,o=0;o<r;){if(1114111<(n=t[o++]))throw RangeError(n+" is not a valid code point");i+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return i},vn=he?Object.fromEntries:function(t){for(var e={},n=0,i=t;n<i.length;n++){var r=i[n],o=r[0],r=r[1];e[o]=r}return e},wn=dn?function(t,e){return t.codePointAt(e)}:function(t,e){var n=t.length;if(!(e<0||n<=e)){var i,r=t.charCodeAt(e);return r<55296||56319<r||e+1===n||(i=t.charCodeAt(e+1))<56320||57343<i?r:i-56320+(r-55296<<10)+65536}},bn=hn?function(t){return t.trimStart()}:function(t){return t.replace(an,"")},En=fn?function(t){return t.trimEnd()}:function(t){return t.replace(un,"")};function Tn(t,e){return new RegExp(t,e)}yn=t?(mn=Tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(t,e){return mn.lastIndex=e,null!==(t=mn.exec(t)[1])&&void 0!==t?t:""}):function(t,e){for(var n,i=[];;){var r=wn(t,e);if(void 0===r||Mn(r)||(33<=(n=r)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;i.push(r),e+=65536<=r?2:1}return _n.apply(void 0,i)};var xn=(Sn.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Sn.prototype.parseMessage=function(t,e,n){for(var i=[];!this.isEOF();){var r,o=this.char();if(123===o){if((r=this.parseArgument(t,n)).err)return r;i.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(n)break;return this.error(Ie.UNMATCHED_CLOSING_TAG,ln(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&An(this.peek()||0)){if((r=this.parseTag(t,e)).err)return r;i.push(r.val)}else{if((r=this.parseLiteral(t,e)).err)return r;i.push(r.val)}}else{o=this.clonePosition();this.bump(),i.push({type:Ye.pound,location:ln(o,this.clonePosition())})}}}return{val:i,err:null}},Sn.prototype.parseTag=function(t,e){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Ye.literal,value:"<"+i+"/>",location:ln(n,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()||!An(this.char()))return this.error(Ie.INVALID_TAG,ln(e,this.clonePosition()));r=this.clonePosition();return i!==this.parseTagName()?this.error(Ie.UNMATCHED_CLOSING_TAG,ln(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Ye.tag,value:i,children:t,location:ln(n,this.clonePosition())},err:null}:this.error(Ie.INVALID_TAG,ln(e,this.clonePosition())))}return this.error(Ie.UNCLOSED_TAG,ln(n,this.clonePosition()))}return this.error(Ie.INVALID_TAG,ln(n,this.clonePosition()))},Sn.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())},Sn.prototype.parseLiteral=function(t,e){for(var n=this.clonePosition(),i="";;){var r=this.tryParseQuote(e);if(r)i+=r;else{r=this.tryParseUnquoted(t,e);if(r)i+=r;else{r=this.tryParseLeftAngleBracket();if(!r)break;i+=r}}}n=ln(n,this.clonePosition());return{val:{type:Ye.literal,value:i,location:n},err:null}},Sn.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(An(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},Sn.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 n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(n);this.bump()}return _n.apply(void 0,e)},Sn.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===e||"selectordinal"===e)||125===n&&0<t?null:(this.bump(),_n(n))},Sn.prototype.parseArgument=function(t,e){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Ie.EXPECT_ARGUMENT_CLOSING_BRACE,ln(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Ie.EMPTY_ARGUMENT,ln(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(Ie.MALFORMED_ARGUMENT,ln(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Ie.EXPECT_ARGUMENT_CLOSING_BRACE,ln(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Ye.argument,value:i,location:ln(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Ie.EXPECT_ARGUMENT_CLOSING_BRACE,ln(n,this.clonePosition())):this.parseArgumentOptions(t,e,i,n);default:return this.error(Ie.MALFORMED_ARGUMENT,ln(n,this.clonePosition()))}},Sn.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),n=yn(this.message,e),e=e+n.length;return this.bumpTo(e),{value:n,location:ln(t,this.clonePosition())}},Sn.prototype.parseArgumentOptions=function(t,e,n,i){var r,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(Ie.EXPECT_ARGUMENT_TYPE,ln(o,a));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(d=En(h.val)).length)return this.error(Ie.EXPECT_ARGUMENT_STYLE,ln(this.clonePosition(),this.clonePosition()));u={style:d,styleLocation:ln(l,this.clonePosition())}}if((f=this.tryParseArgumentClose(i)).err)return f;var c=ln(i,this.clonePosition());if(u&&gn(null==u?void 0:u.style,"::",0)){l=bn(u.style.slice(2));if("number"===s)return(h=this.parseNumberSkeletonFromString(l,u.styleLocation)).err?h:{val:{type:Ye.number,value:n,location:c,style:h.val},err:null};if(0===l.length)return this.error(Ie.EXPECT_DATE_TIME_SKELETON,c);var d={type:Re.dateTime,pattern:l,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},l.replace(Xe,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"===s?Ye.date:Ye.time,value:n,location:c,style:d},err:null}}return{val:{type:"number"===s?Ye.number:"date"===s?Ye.date:Ye.time,value:n,location:c,style:null!==(c=null==u?void 0:u.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Ie.EXPECT_SELECT_ARGUMENT_OPTIONS,ln(u,Fe({},u)));this.bumpSpace();var h,c=this.parseIdentifierIfPossible(),u=0;if("select"!==s&&"offset"===c.value){if(!this.bumpIf(":"))return this.error(Ie.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ln(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(Ie.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ie.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),c=this.parseIdentifierIfPossible(),u=h.val}c=this.tryParsePluralOrSelectOptions(t,s,e,c);if(c.err)return c;if((f=this.tryParseArgumentClose(i)).err)return f;var f=ln(i,this.clonePosition());return"select"===s?{val:{type:Ye.select,value:n,options:vn(c.val),location:f},err:null}:{val:{type:Ye.plural,value:n,options:vn(c.val),offset:u,pluralType:"plural"===s?"cardinal":"ordinal",location:f},err:null};default:return this.error(Ie.INVALID_ARGUMENT_TYPE,ln(o,a))}},Sn.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(Ie.EXPECT_ARGUMENT_CLOSING_BRACE,ln(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},Sn.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Ie.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,ln(n,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}},Sn.prototype.parseNumberSkeletonFromString=function(t,e){var n=[];try{n=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var e=[],n=0,i=t.split(Je).filter(function(t){return 0<t.length});n<i.length;n++){var r=i[n].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var o=r[0],r=r.slice(1),s=0,a=r;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");e.push({stem:o,options:r})}return e}(t)}catch(t){return this.error(Ie.INVALID_NUMBER_SKELETON,e)}return{val:{type:Re.number,tokens:n,location:e,parsedOptions:this.shouldParseSkeletons?sn(n):{}},err:null}},Sn.prototype.tryParsePluralOrSelectOptions=function(t,e,n,i){for(var r=!1,o=[],s=new Set,a=i.value,u=i.location;;){if(0===a.length){var l=this.clonePosition();if("select"===e||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(Ie.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ie.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;u=ln(l,this.clonePosition()),a=this.message.slice(l.offset,this.offset())}if(s.has(a))return this.error("select"===e?Ie.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Ie.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===a&&(r=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?Ie.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Ie.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,ln(this.clonePosition(),this.clonePosition()));c=this.parseMessage(t+1,e,n);if(c.err)return c;l=this.tryParseArgumentClose(d);if(l.err)return l;o.push([a,{value:c.val,location:ln(d,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(d=this.parseIdentifierIfPossible()).value,u=d.location}return 0===o.length?this.error("select"===e?Ie.EXPECT_SELECT_ARGUMENT_SELECTOR:Ie.EXPECT_PLURAL_ARGUMENT_SELECTOR,ln(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(Ie.MISSING_OTHER_CLAUSE,ln(this.clonePosition(),this.clonePosition())):{val:o,err:null}},Sn.prototype.tryParseDecimalInteger=function(t,e){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var r=!1,o=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;r=!0,o=10*o+(s-48),this.bump()}i=ln(i,this.clonePosition());return r?pn(o*=n)?{val:o,err:null}:this.error(e,i):this.error(t,i)},Sn.prototype.offset=function(){return this.position.offset},Sn.prototype.isEOF=function(){return this.offset()===this.message.length},Sn.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Sn.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var e=wn(this.message,t);if(void 0===e)throw Error("Offset "+t+" is at invalid UTF-16 code unit boundary");return e},Sn.prototype.error=function(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}},Sn.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))},Sn.prototype.bumpIf=function(t){if(gn(this.message,t,this.offset())){for(var e=0;e<t.length;e++)this.bump();return!0}return!1},Sn.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)},Sn.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}},Sn.prototype.bumpSpace=function(){for(;!this.isEOF()&&Mn(this.char());)this.bump()},Sn.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},Sn);function Sn(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 An(t){return 97<=t&&t<=122||65<=t&&t<=90}function Mn(t){return 9<=t&&t<=13||32===t||133===t||8206<=t&&t<=8207||8232===t||8233===t}function Cn(t,e){e=Fe({shouldParseSkeletons:!0,requiresOtherClause:!0},e=void 0===e?{}:e);var n=new xn(t,e).parse();if(n.err){t=SyntaxError(Ie[n.err.kind]);throw t.location=n.err.location,t.originalMessage=n.err.message,t}return null!=e&&e.captureLocation||function n(t){t.forEach(function(t){if(delete t.location,He(t)||Be(t))for(var e in t.options)delete t.options[e].location,n(t.options[e].value);else We(t)&&ze(t.style)||(je(t)||$e(t))&&Ze(t.style)?delete t.style.location:Ve(t)&&n(t.children)})}(n.val),n.val}function Ln(t,e){var n=e&&e.cache?e.cache:Rn,i=e&&e.serializer?e.serializer:Nn;return(e&&e.strategy?e.strategy:function(t,e){return On(t,this,1===t.length?Dn:Pn,e.cache.create(),e.serializer)})(t,{cache:n,serializer:i})}function Dn(t,e,n,i){var r=null==i||"number"==typeof i||"boolean"==typeof i?i:n(i),n=e.get(r);return void 0===n&&(n=t.call(this,i),e.set(r,n)),n}function Pn(t,e,n){var i=Array.prototype.slice.call(arguments,3),r=n(i),n=e.get(r);return void 0===n&&(n=t.apply(this,i),e.set(r,n)),n}function On(t,e,n,i,r){return n.bind(e,t,i,r)}var Nn=function(){return JSON.stringify(arguments)};function In(){this.cache=Object.create(null)}In.prototype.has=function(t){return t in this.cache},In.prototype.get=function(t){return this.cache[t]},In.prototype.set=function(t,e){this.cache[t]=e};var Yn,Rn={create:function(){return new In}},Fn={variadic:function(t,e){return On(t,this,Pn,e.cache.create(),e.serializer)},monadic:function(t,e){return On(t,this,Dn,e.cache.create(),e.serializer)}};(t=Yn=Yn||{}).MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API";var Un,Gn,Wn,jn,$n,Hn=(Ne(Jn,$n=Error),Jn.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Jn),Bn=(Ne(qn,jn=Hn),qn),Vn=(Ne(Xn,Wn=Hn),Xn),zn=(Ne(Zn,Gn=Hn),Zn);function Zn(t,e){return Gn.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+e+'"',Yn.MISSING_VALUE,e)||this}function Xn(t,e,n){return Wn.call(this,'Value for "'+t+'" must be of type '+e,Yn.INVALID_VALUE,n)||this}function qn(t,e,n,i){return jn.call(this,'Invalid values for "'+t+'": "'+e+'". Options are "'+Object.keys(n).join('", "')+'"',Yn.INVALID_VALUE,i)||this}function Jn(t,e,n){t=$n.call(this,t)||this;return t.code=e,t.originalMessage=n,t}function Kn(t,e,n,i,r,o,s){if(1===t.length&&Ge(t[0]))return[{type:Un.literal,value:t[0].value}];for(var a=[],u=0,l=t;u<l.length;u++){var c=l[u];if(Ge(c))a.push({type:Un.literal,value:c.value});else if(c.type===Ye.pound)"number"==typeof o&&a.push({type:Un.literal,value:n.getNumberFormat(e).format(o)});else{var d=c.value;if(!(r&&d in r))throw new zn(d,s);var h=r[d];if(c.type===Ye.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?Un.literal:Un.object,value:h});else if(je(c)){var f="string"==typeof c.style?i.date[c.style]:Ze(c.style)?c.style.parsedOptions:void 0;a.push({type:Un.literal,value:n.getDateTimeFormat(e,f).format(h)})}else if($e(c))f="string"==typeof c.style?i.time[c.style]:Ze(c.style)?c.style.parsedOptions:void 0,a.push({type:Un.literal,value:n.getDateTimeFormat(e,f).format(h)});else if(We(c))(f="string"==typeof c.style?i.number[c.style]:ze(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(h*=f.scale||1),a.push({type:Un.literal,value:n.getNumberFormat(e,f).format(h)});else{if(Ve(c)){var p=c.children,m=c.value,d=r[m];if("function"!=typeof d)throw new Vn(m,"function",s);p=d(Kn(p,e,n,i,r,o).map(function(t){return t.value}));Array.isArray(p)||(p=[p]),a.push.apply(a,p.map(function(t){return{type:"string"==typeof t?Un.literal:Un.object,value:t}}))}if(He(c)){if(!(y=c.options[h]||c.options.other))throw new Bn(c.value,h,Object.keys(c.options),s);a.push.apply(a,Kn(y.value,e,n,i,r))}else if(Be(c)){if(!(y=c.options["="+h])){if(!Intl.PluralRules)throw new Hn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Yn.MISSING_INTL_API,s);var p=n.getPluralRules(e,{type:c.pluralType}).select(h-(c.offset||0)),y=c.options[p]||c.options.other}if(!y)throw new Bn(c.value,h,Object.keys(c.options),s);a.push.apply(a,Kn(y.value,e,n,i,r,h-(c.offset||0)))}}}}return a.length<2?a:a.reduce(function(t,e){var n=t[t.length-1];return n&&n.type===Un.literal&&e.type===Un.literal?n.value+=e.value:t.push(e),t},[])}function Qn(n){return{create:function(){return{has:function(t){return t in n},get:function(t){return n[t]},set:function(t,e){n[t]=e}}}}}(t=Un=Un||{})[t.literal=0]="literal",t[t.object=1]="object";var ti=(Object.defineProperty(ei,"defaultLocale",{get:function(){return ei.memoizedDefaultLocale||(ei.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),ei.memoizedDefaultLocale},enumerable:!1,configurable:!0}),ei.memoizedDefaultLocale=null,ei.__parse=Cn,ei.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"}}},ei);function ei(t,e,n,i){var r,o,s=this;if(void 0===e&&(e=ei.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){t=s.formatToParts(t);if(1===t.length)return t[0].value;t=t.reduce(function(t,e){return t.length&&e.type===Un.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 Kn(s.ast,s.locales,s.formatters,s.formats,t,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof t){if(this.message=t,!ei.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=ei.__parse(t,{ignoreTag:null==i?void 0:i.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=ei.formats,(o=n)?Object.keys(r).reduce(function(t,e){var n,i;return t[e]=(n=r[e],(i=o[e])?Fe(Fe(Fe({},n||{}),i||{}),Object.keys(n).reduce(function(t,e){return t[e]=Fe(Fe({},n[e]),i[e]||{}),t},{})):n),t},Fe({},r)):r),this.locales=e,this.formatters=i&&i.formatters||{getNumberFormat:Ln(function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Ue([void 0],e)))},{cache:Qn((i=void 0===(i=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:i).number),strategy:Fn.variadic}),getDateTimeFormat:Ln(function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Ue([void 0],e)))},{cache:Qn(i.dateTime),strategy:Fn.variadic}),getPluralRules:Ln(function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Ue([void 0],e)))},{cache:Qn(i.pluralRules),strategy:Fn.variadic})}}const ni={},ii=(e,n)=>{if(null!=n){if(n in ni&&e in ni[n])return ni[n][e];var i,r,o=vi(n);for(let t=0;t<o.length;t++){var s=(i=o[t],r=e,si(i)?function(t,e){if(e in t)return t[e];const n=e.split(".");let i=t;for(let t=0;t<n.length;t++)if("object"==typeof i){if(0<t){const e=n.slice(t,n.length).join(".");if(e in i){i=i[e];break}}i=i[n[t]]}else i=void 0;return i}(function(t){return ri[t]||null}(i),r):null);if(s)return i=e,r=n,(s=s)&&(r in ni||(ni[r]={}),i in ni[r]||(ni[r][i]=s),s)}}};let ri;const oi=Ee({});function si(t){return t in ri}function ai(e,...n){delete ni[e],oi.update(t=>(t[e]=Pe.all([t[e]||{},...n]),t))}Te([oi],([t])=>Object.keys(t)),oi.subscribe(t=>ri=t);const ui={};function li(t){return ui[t]}function ci(t){return vi(t).some(t=>{return null===(t=li(t))||void 0===t?void 0:t.size})}const di={};function hi(t){if(!ci(t))return t in di?di[t]:void 0;const e=vi(t).map(t=>{var e=li(t);return[t,e?[...e]:[]]}).filter(([,t])=>0<t.length);return di[t]=Promise.all(e.map(([t,n])=>function(e){return Promise.all(n.map(t=>(function(t,e){ui[t].delete(e),0===ui[t].size&&delete ui[t]}(e,t),t().then(t=>t.default||t)))).then(t=>ai(e,...t))}(t))).then(()=>ci(t)?hi(t):void delete di[t]),di[t]}function fi(t,e){var n={};for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}const pi={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 mi=Ee(!1);let yi;const gi=Ee(null);function _i(t){return t.split("-").map((t,e,n)=>n.slice(0,e+1).join("-")).reverse()}function vi(t,e=pi.fallbackLocale){t=_i(t);return e?[...new Set([...t,..._i(e)])]:t}gi.subscribe(t=>{yi=t,"undefined"!=typeof window&&null!==t&&document.documentElement.setAttribute("lang",t)});const wi=gi.set;gi.set=e=>{if(function(t){if(null!=t){var e=vi(t);for(let t=0;t<e.length;t++){var n=e[t];if(si(n))return n}}}(e)&&ci(e)){var{loadingDelay:n}=pi;let t;return"undefined"!=typeof window&&null!=yi&&n?t=window.setTimeout(()=>mi.set(!0),n):mi.set(!0),hi(e).then(()=>{wi(e)}).finally(()=>{clearTimeout(t),mi.set(!1)})}return wi(e)},gi.update=t=>wi(t(yi));const bi=n=>{const i=Object.create(null);return t=>{var e=JSON.stringify(t);return e in i?i[e]:i[e]=n(t)}},Ei=(t,e)=>{var{formats:n}=pi;if(t in n&&e in n[t])return n[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},Ti=bi(t=>{var{locale:e,format:n}=t,t=fi(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(t=Ei("number",n)),new Intl.NumberFormat(e,t)}),xi=bi(t=>{var{locale:e,format:n}=t,t=fi(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?t=Ei("date",n):0===Object.keys(t).length&&(t=Ei("date","short")),new Intl.DateTimeFormat(e,t)}),Si=bi(t=>{var{locale:e,format:n}=t,t=fi(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?t=Ei("time",n):0===Object.keys(t).length&&(t=Ei("time","short")),new Intl.DateTimeFormat(e,t)}),Ai=bi((t,e=yi)=>new ti(t,e,pi.formats,{ignoreTag:pi.ignoreTag})),Mi=Te([gi,oi],()=>(t,e={})=>{"object"==typeof t&&(t=(e=t).id);var{values:n,locale:i=yi,default:r}=e;if(null==i)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let o=ii(t,i);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 pi.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${t}" was not found in "${vi(i).join('", "')}".${ci(yi)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),o=r||t;if(!n)return o;let s=o;try{s=Ai(o,i).format(n)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return s});Te([gi],()=>(t,e)=>((t={})=>{var{locale:e=yi}=t,t=fi(t,["locale"]);return Si(Object.assign({locale:e},t))})(e).format(t)),Te([gi],()=>(t,e)=>((t={})=>{var{locale:e=yi}=t,t=fi(t,["locale"]);return xi(Object.assign({locale:e},t))})(e).format(t)),Te([gi],()=>(t,e)=>((t={})=>{var{locale:e=yi}=t,t=fi(t,["locale"]);return Ti(Object.assign({locale:e},t))})(e).format(t)),Te([gi,oi],()=>(t,e=yi)=>ii(t,e)),window.emWidgets={topic:(t,e=0)=>{return-1==ve.indexOf(t)&&(e=new me(e),we[t]=e,ve.push(t)),we[t]}};const Ci=t=>t.toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",Li={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 Di,ki,Pi=(ki=Di={path:void 0,exports:{},require:function(t,e){return kn(null==e&&Di.path)}},Di.exports,ki.exports=function(){var t;function p(){return t.apply(null,arguments)}function s(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function a(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function f(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function u(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 l(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 i(t,e){for(var n=[],i=0;i<t.length;++i)n.push(e(t[i],i));return n}function c(t,e){for(var n in e)f(e,n)&&(t[n]=e[n]);return f(e,"toString")&&(t.toString=e.toString),f(e,"valueOf")&&(t.valueOf=e.valueOf),t}function d(t,e,n,i){return Le(t,e,n,i,!0).utc()}function m(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 h(t){if(null==t._isValid){var e=m(t),n=g.call(e.parsedDateParts,function(t){return null!=t}),n=!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&&n);if(t._strict&&(n=n&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return n;t._isValid=n}return t._isValid}function y(t){var e=d(NaN);return null!=t?c(m(e),t):m(e).userInvalidated=!0,e}var g=Array.prototype.some||function(t){for(var e=Object(this),n=e.length>>>0,i=0;i<n;i++)if(i in e&&t.call(this,e[i],i,e))return!0;return!1},_=p.momentProperties=[],e=!1;function v(t,e){var n,i,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=m(e)),o(e._locale)||(t._locale=e._locale),0<_.length)for(n=0;n<_.length;n++)o(r=e[i=_[n]])||(t[i]=r);return t}function w(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,p.updateOffset(this),e=!1)}function b(t){return t instanceof w||null!=t&&null!=t._isAMomentObject}function E(t){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function n(r,o){var s=!0;return c(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,r),s){for(var t,e,n=[],i=0;i<arguments.length;i++){if(t="","object"==typeof arguments[i]){for(e in t+="\n["+i+"] ",arguments[0])f(arguments[0],e)&&(t+=e+": "+arguments[0][e]+", ");t=t.slice(0,-2)}else t=arguments[i];n.push(t)}E(r+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var T={};function x(t,e){null!=p.deprecationHandler&&p.deprecationHandler(t,e),T[t]||(E(e),T[t]=!0)}function S(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function A(t,e){var n,i=c({},t);for(n in e)f(e,n)&&(a(t[n])&&a(e[n])?(i[n]={},c(i[n],t[n]),c(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)f(t,n)&&!f(e,n)&&a(t[n])&&(i[n]=c({},i[n]));return i}function M(t){null!=t&&this.set(t)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var C=Object.keys||function(t){var e,n=[];for(e in t)f(t,e)&&n.push(e);return n};function L(t,e,n){var i=""+Math.abs(t);return(0<=t?n?"+":"":"-")+Math.pow(10,Math.max(0,e-i.length)).toString().substr(1)+i}var D=/(\[[^\[]*\])|(\\)?([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,k=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},O={};function N(t,e,n,i){var r="string"==typeof i?function(){return this[i]()}:i;t&&(O[t]=r),e&&(O[e[0]]=function(){return L(r.apply(this,arguments),e[1],e[2])}),n&&(O[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function I(t,e){return t.isValid()?(e=Y(e,t.localeData()),P[e]=P[e]||function(i){for(var t,r=i.match(D),e=0,o=r.length;e<o;e++)O[r[e]]?r[e]=O[r[e]]:r[e]=(t=r[e]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t){for(var e="",n=0;n<o;n++)e+=S(r[n])?r[n].call(t,i):r[n];return e}}(e),P[e](t)):t.localeData().invalidDate()}function Y(t,e){var n=5;function i(t){return e.longDateFormat(t)||t}for(k.lastIndex=0;0<=n&&k.test(t);)t=t.replace(k,i),k.lastIndex=0,--n;return t}var R={};function F(t,e){var n=t.toLowerCase();R[n]=R[n+"s"]=R[e]=t}function U(t){return"string"==typeof t?R[t]||R[t.toLowerCase()]:void 0}function G(t){var e,n,i={};for(n in t)f(t,n)&&(e=U(n))&&(i[e]=t[n]);return i}var W={};function j(t,e){W[t]=e}function $(t){return t%4==0&&t%100!=0||t%400==0}function H(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function B(t){var e=+t,t=0;return t=0!=e&&isFinite(e)?H(e):t}function V(e,n){return function(t){return null!=t?(Z(this,e,t),p.updateOffset(this,n),this):z(this,e)}}function z(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Z(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&$(t.year())&&1===t.month()&&29===t.date()?(n=B(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),Ct(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}var X=/\d/,q=/\d\d/,J=/\d{3}/,K=/\d{4}/,Q=/[+-]?\d{6}/,tt=/\d\d?/,et=/\d\d\d\d?/,nt=/\d\d\d\d\d\d?/,it=/\d{1,3}/,rt=/\d{1,4}/,ot=/[+-]?\d{1,6}/,st=/\d+/,at=/[+-]?\d+/,ut=/Z|[+-]\d\d:?\d\d/gi,lt=/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,n,i){pt[t]=S(n)?n:function(t,e){return t&&i?i:n}}function ht(t,e){return f(pt,t)?pt[t](e._strict,e._locale):new RegExp(ft(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r})))}function ft(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var pt={},mt={};function yt(t,n){var e,i=n;for("string"==typeof t&&(t=[t]),l(n)&&(i=function(t,e){e[n]=B(t)}),e=0;e<t.length;e++)mt[t[e]]=i}function gt(t,r){yt(t,function(t,e,n,i){n._w=n._w||{},r(t,n._w,n,i)})}var _t,vt=0,wt=1,bt=2,Et=3,Tt=4,xt=5,St=6,At=7,Mt=8;function Ct(t,e){if(isNaN(t)||isNaN(e))return NaN;var n,n=(e%(n=12)+n)%n;return t+=(e-n)/12,1==n?$(t)?29:28:31-n%7%2}_t=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"),j("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[wt]=B(t)-1}),yt(["MMM","MMMM"],function(t,e,n,i){i=n._locale.monthsParse(t,i,n._strict);null!=i?e[wt]=i:m(n).invalidMonth=t});var Lt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Dt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),kt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Pt=ct,Ot=ct;function Nt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=B(e);else if(!l(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),Ct(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function It(t){return null!=t?(Nt(this,t),p.updateOffset(this,!0),this):z(this,"Month")}function Yt(){function t(t,e){return e.length-t.length}for(var e,n=[],i=[],r=[],o=0;o<12;o++)e=d([2e3,o]),n.push(this.monthsShort(e,"")),i.push(this.months(e,"")),r.push(this.months(e,"")),r.push(this.monthsShort(e,""));for(n.sort(t),i.sort(t),r.sort(t),o=0;o<12;o++)n[o]=ft(n[o]),i[o]=ft(i[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("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Rt(t){return $(t)?366:365}N("Y",0,0,function(){var t=this.year();return t<=9999?L(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"),j("year",1),dt("Y",at),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?p.parseTwoDigitYear(t):B(t)}),yt("YY",function(t,e){e[vt]=p.parseTwoDigitYear(t)}),yt("Y",function(t,e){e[vt]=parseInt(t,10)}),p.parseTwoDigitYear=function(t){return B(t)+(68<B(t)?1900:2e3)};var Ft=V("FullYear",!0);function Ut(t,e,n,i,r,o,s){var a;return t<100&&0<=t?(a=new Date(t+400,e,n,i,r,o,s),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,e,n,i,r,o,s),a}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 Wt(t,e,n){n=7+e-n;return-(7+Gt(t,0,n).getUTCDay()-e)%7+n-1}function jt(t,e,n,i,r){var o,r=1+7*(e-1)+(7+n-i)%7+Wt(t,i,r),r=r<=0?Rt(o=t-1)+r:r>Rt(t)?(o=t+1,r-Rt(t)):(o=t,r);return{year:o,dayOfYear:r}}function $t(t,e,n){var i,r,o=Wt(t.year(),e,n),o=Math.floor((t.dayOfYear()-o-1)/7)+1;return o<1?i=o+Ht(r=t.year()-1,e,n):o>Ht(t.year(),e,n)?(i=o-Ht(t.year(),e,n),r=t.year()+1):(r=t.year(),i=o),{week:i,year:r}}function Ht(t,e,n){var i=Wt(t,e,n),n=Wt(t+1,e,n);return(Rt(t)-i+n)/7}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),j("week",5),j("isoWeek",5),dt("w",tt),dt("ww",tt,q),dt("W",tt),dt("WW",tt,q),gt(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=B(t)});function Bt(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"),j("day",11),j("weekday",11),j("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,n,i){i=n._locale.weekdaysParse(t,i,n._strict);null!=i?e.d=i:m(n).invalidWeekday=t}),gt(["d","e","E"],function(t,e,n,i){e[i]=B(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,n,i,r=[],o=[],s=[],a=[],u=0;u<7;u++)i=d([2e3,1]).day(u),e=ft(this.weekdaysMin(i,"")),n=ft(this.weekdaysShort(i,"")),i=ft(this.weekdays(i,"")),r.push(e),o.push(n),s.push(i),a.push(e),a.push(n),a.push(i);r.sort(t),o.sort(t),s.sort(t),a.sort(t),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.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)+L(this.minutes(),2)}),N("hmmss",0,0,function(){return""+Qt.apply(this)+L(this.minutes(),2)+L(this.seconds(),2)}),N("Hmm",0,0,function(){return""+this.hours()+L(this.minutes(),2)}),N("Hmmss",0,0,function(){return""+this.hours()+L(this.minutes(),2)+L(this.seconds(),2)}),te("a",!0),te("A",!1),F("hour","h"),j("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",nt),dt("Hmm",et),dt("Hmmss",nt),yt(["H","HH"],Et),yt(["k","kk"],function(t,e,n){t=B(t);e[Et]=24===t?0:t}),yt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),yt(["h","hh"],function(t,e,n){e[Et]=B(t),m(n).bigHour=!0}),yt("hmm",function(t,e,n){var i=t.length-2;e[Et]=B(t.substr(0,i)),e[Tt]=B(t.substr(i)),m(n).bigHour=!0}),yt("hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[Et]=B(t.substr(0,i)),e[Tt]=B(t.substr(i,2)),e[xt]=B(t.substr(r)),m(n).bigHour=!0}),yt("Hmm",function(t,e,n){var i=t.length-2;e[Et]=B(t.substr(0,i)),e[Tt]=B(t.substr(i))}),yt("Hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[Et]=B(t.substr(0,i)),e[Tt]=B(t.substr(i,2)),e[xt]=B(t.substr(r))});var ne=V("Hours",!0);var ie,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:Lt,monthsShort:Dt,week:{dow:0,doy:6},weekdays:Vt,weekdaysMin:Zt,weekdaysShort:zt,meridiemParse:/[ap]\.?m?\.?/i},oe={},se={};function ae(t){return t&&t.toLowerCase().replace("_","-")}function ue(t){for(var e,n,i,r,o=0;o<t.length;){for(e=(r=ae(t[o]).split("-")).length,n=(n=ae(t[o+1]))?n.split("-"):null;0<e;){if(i=le(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&function(t,e){for(var n=Math.min(t.length,e.length),i=0;i<n;i+=1)if(t[i]!==e[i])return i;return n}(r,n)>=e-1)break;e--}o++}return ie}function le(e){var t;if(void 0===oe[e]&&ki&&ki.exports)try{t=ie._abbr,kn(),ce(t)}catch(t){oe[e]=null}return oe[e]}function ce(t,e){return t&&((e=o(e)?he(t):de(t,e))?ie=e:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ie._abbr}function de(t,e){if(null===e)return delete oe[t],null;var n,i=re;if(e.abbr=t,null!=oe[t])x("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."),i=oe[t]._config;else if(null!=e.parentLocale)if(null!=oe[e.parentLocale])i=oe[e.parentLocale]._config;else{if(null==(n=le(e.parentLocale)))return se[e.parentLocale]||(se[e.parentLocale]=[]),se[e.parentLocale].push({name:t,config:e}),null;i=n._config}return oe[t]=new M(A(i,e)),se[t]&&se[t].forEach(function(t){de(t.name,t.config)}),ce(t),oe[t]}function he(t){var e;if(!(t=t&&t._locale&&t._locale._abbr?t._locale._abbr:t))return ie;if(!s(t)){if(e=le(t))return e;t=[t]}return ue(t)}function fe(t){var e=t._a;return e&&-2===m(t).overflow&&(e=e[wt]<0||11<e[wt]?wt:e[bt]<1||e[bt]>Ct(e[vt],e[wt])?bt:e[Et]<0||24<e[Et]||24===e[Et]&&(0!==e[Tt]||0!==e[xt]||0!==e[St])?Et:e[Tt]<0||59<e[Tt]?Tt:e[xt]<0||59<e[xt]?xt:e[St]<0||999<e[St]?St:-1,m(t)._overflowDayOfYear&&(e<vt||bt<e)&&(e=bt),m(t)._overflowWeeks&&-1===e&&(e=At),m(t)._overflowWeekday&&-1===e&&(e=Mt),m(t).overflow=e),t}var 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)?)?$/,me=/^\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]],_e=[["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,we=/^(?:(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 Ee(t){var e,n,i,r,o,s,a=t._i,u=pe.exec(a)||me.exec(a);if(u){for(m(t).iso=!0,e=0,n=ge.length;e<n;e++)if(ge[e][1].exec(u[1])){r=ge[e][0],i=!1!==ge[e][2];break}if(null==r)return t._isValid=!1;if(u[3]){for(e=0,n=_e.length;e<n;e++)if(_e[e][1].exec(u[3])){o=(u[2]||" ")+_e[e][0];break}if(null==o)return t._isValid=!1}if(!i&&null!=o)return t._isValid=!1;if(u[4]){if(!ye.exec(u[4]))return t._isValid=!1;s="Z"}t._f=r+(o||"")+(s||""),Me(t)}else t._isValid=!1}function Te(t,e,n,i,r,o){r=[function(t){t=parseInt(t,10);return t<=49?2e3+t:t<=999?1900+t:t}(t),Dt.indexOf(e),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return o&&r.push(parseInt(o,10)),r}function xe(t){var e,n,i,r,o=we.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(e=Te(o[4],o[3],o[2],o[5],o[6],o[7]),n=o[1],i=e,r=t,n&&zt.indexOf(n)!==new Date(i[0],i[1],i[2]).getDay()?(m(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),m(t).rfc2822=!0)):t._isValid=!1}function Se(t,e,n){return null!=t?t:null!=e?e:n}function Ae(t){var e,n,i,r,o,s,a,u,l,c,d,h,f=[];if(!t._d){for(d=t,h=new Date(p.now()),n=d._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],t._w&&null==t._a[bt]&&null==t._a[wt]&&(null!=(d=(r=t)._w).GG||null!=d.W||null!=d.E?(u=1,l=4,o=Se(d.GG,r._a[vt],$t(De(),1,4).year),s=Se(d.W,1),((a=Se(d.E,1))<1||7<a)&&(c=!0)):(u=r._locale._week.dow,l=r._locale._week.doy,h=$t(De(),u,l),o=Se(d.gg,r._a[vt],h.year),s=Se(d.w,h.week),null!=d.d?((a=d.d)<0||6<a)&&(c=!0):null!=d.e?(a=d.e+u,(d.e<0||6<d.e)&&(c=!0)):a=u),s<1||s>Ht(o,u,l)?m(r)._overflowWeeks=!0:null!=c?m(r)._overflowWeekday=!0:(l=jt(o,s,a,u,l),r._a[vt]=l.year,r._dayOfYear=l.dayOfYear)),null!=t._dayOfYear&&(i=Se(t._a[vt],n[vt]),(t._dayOfYear>Rt(i)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),i=Gt(i,0,t._dayOfYear),t._a[wt]=i.getUTCMonth(),t._a[bt]=i.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=f[e]=n[e];for(;e<7;e++)t._a[e]=f[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Et]&&0===t._a[Tt]&&0===t._a[xt]&&0===t._a[St]&&(t._nextDay=!0,t._a[Et]=0),t._d=(t._useUTC?Gt:Ut).apply(null,f),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Et]=24),t._w&&void 0!==t._w.d&&t._w.d!==i&&(m(t).weekdayMismatch=!0)}}function Me(t){if(t._f!==p.ISO_8601)if(t._f!==p.RFC_2822){t._a=[],m(t).empty=!0;for(var e,n,i=""+t._i,r=i.length,o=0,s=Y(t._f,t._locale).match(D)||[],a=0;a<s.length;a++)n=s[a],(e=(i.match(ht(n,t))||[])[0])&&(0<(d=i.substr(0,i.indexOf(e))).length&&m(t).unusedInput.push(d),i=i.slice(i.indexOf(e)+e.length),o+=e.length),O[n]?(e?m(t).empty=!1:m(t).unusedTokens.push(n),c=n,h=t,null!=(d=e)&&f(mt,c)&&mt[c](d,h._a,h,c)):t._strict&&!e&&m(t).unusedTokens.push(n);m(t).charsLeftOver=r-o,0<i.length&&m(t).unusedInput.push(i),t._a[Et]<=12&&!0===m(t).bigHour&&0<t._a[Et]&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[Et]=(u=t._locale,l=t._a[Et],null==(r=t._meridiem)?l:null!=u.meridiemHour?u.meridiemHour(l,r):null!=u.isPM?((r=u.isPM(r))&&l<12&&(l+=12),l=r||12!==l?l:0):l),null!==(l=m(t).era)&&(t._a[vt]=t._locale.erasConvertYear(l,t._a[vt])),Ae(t),fe(t)}else xe(t);else Ee(t);var u,l,c,d,h}function Ce(t){var e=t._i,n=t._f;return t._locale=t._locale||he(t._l),null===e||void 0===n&&""===e?y({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),b(e)?new w(fe(e)):(r(e)?t._d=e:s(n)?function(t){var e,n,i,r,o,s,a=!1;if(0===t._f.length)return m(t).invalidFormat=!0,t._d=new Date(NaN);for(r=0;r<t._f.length;r++)o=0,s=!1,e=v({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Me(e),h(e)&&(s=!0),o+=m(e).charsLeftOver,o+=10*m(e).unusedTokens.length,m(e).score=o,a?o<i&&(i=o,n=e):(null==i||o<i||s)&&(i=o,n=e,s&&(a=!0));c(t,n||e)}(t):n?Me(t):o(n=(e=t)._i)?e._d=new Date(p.now()):r(n)?e._d=new Date(n.valueOf()):"string"==typeof n?function(t){var e=ve.exec(t._i);null===e?(Ee(t),!1===t._isValid&&(delete t._isValid,xe(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:p.createFromInputFallback(t)))):t._d=new Date(+e[1])}(e):s(n)?(e._a=i(n.slice(0),function(t){return parseInt(t,10)}),Ae(e)):a(n)?function(t){var e,n;t._d||(n=void 0===(e=G(t._i)).day?e.date:e.day,t._a=i([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),Ae(t))}(e):l(n)?e._d=new Date(n):p.createFromInputFallback(e),h(t)||(t._d=null),t))}function Le(t,e,n,i,r){var o={};return!0!==e&&!1!==e||(i=e,e=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(a(t)&&u(t)||s(t)&&0===t.length)&&(t=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=n,o._i=t,o._f=e,o._strict=i,(o=new w(fe(Ce(o=o))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function De(t,e,n,i){return Le(t,e,n,i,!1)}p.createFromInputFallback=n("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":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};var ke=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=De.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:y()}),Pe=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=De.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:y()});function Oe(t,e){var n,i;if(!(e=1===e.length&&s(e[0])?e[0]:e).length)return De();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}var Ne=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ie(t){var e=G(t),n=e.year||0,i=e.quarter||0,r=e.month||0,o=e.week||e.isoWeek||0,s=e.day||0,a=e.hour||0,u=e.minute||0,l=e.second||0,t=e.millisecond||0;this._isValid=function(t){var e,n,i=!1;for(e in t)if(f(t,e)&&(-1===_t.call(Ne,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<Ne.length;++n)if(t[Ne[n]]){if(i)return!1;parseFloat(t[Ne[n]])!==B(t[Ne[n]])&&(i=!0)}return!0}(e),this._milliseconds=+t+1e3*l+6e4*u+1e3*a*60*60,this._days=+s+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=he(),this._bubble()}function Ye(t){return t instanceof Ie}function Re(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Fe(t,n){N(t,0,0,function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+L(~~(t/60),2)+n+L(~~t%60,2)})}Fe("Z",":"),Fe("ZZ",""),dt("Z",lt),dt("ZZ",lt),yt(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Ge(lt,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]+B(t[2]))?0:"+"===t[0]?e:-e}function We(t,e){var n;return e._isUTC?(n=e.clone(),e=(b(t)||r(t)?t:De(t)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+e),p.updateOffset(n,!1),n):De(t).local()}function je(t){return-Math.round(t._d.getTimezoneOffset())}function $e(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var He=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Be=/^(-|\+)?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 n,i,r=t,o=null;return Ye(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:l(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(o=He.exec(t))?(n="-"===o[1]?-1:1,r={y:0,d:B(o[bt])*n,h:B(o[Et])*n,m:B(o[Tt])*n,s:B(o[xt])*n,ms:B(Re(1e3*o[St]))*n}):(o=Be.exec(t))?(n="-"===o[1]?-1:1,r={y:ze(o[2],n),M:ze(o[3],n),w:ze(o[4],n),d:ze(o[5],n),h:ze(o[6],n),m:ze(o[7],n),s:ze(o[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(o=De(r.from),n=De(r.to),i=o.isValid()&&n.isValid()?(n=We(n,o),o.isBefore(n)?i=Ze(o,n):((i=Ze(n,o)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(r={}).ms=i.milliseconds,r.M=i.months),r=new Ie(r),Ye(t)&&f(t,"_locale")&&(r._locale=t._locale),Ye(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 n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Xe(i,r){return function(t,e){var n;return null===e||isNaN(+e)||(x(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."),n=t,t=e,e=n),qe(this,Ve(t,e),i),this}}function qe(t,e,n,i){var r=e._milliseconds,o=Re(e._days),e=Re(e._months);t.isValid()&&(i=null==i||i,e&&Nt(t,z(t,"Month")+e*n),o&&Z(t,"Date",z(t,"Date")+o*n),r&&t._d.setTime(t._d.valueOf()+r*n),i&&p.updateOffset(t,o||e))}Ve.fn=Ie.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)||l(t)||(n=s(e=t),i=!1,n&&(i=0===e.filter(function(t){return!l(t)&&Ke(e)}).length),n&&i)||function(t){var e,n,i=a(t)&&!u(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)n=o[e],r=r||f(t,n);return i&&r}(t)||null==t;var e,n,i}function tn(t,e){if(t.date()<e.date())return-tn(e,t);var n=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(n,"months");return-(n+(e-i<0?(e-i)/(i-t.clone().add(n-1,"months")):(e-i)/(t.clone().add(1+n,"months")-i)))||0}function en(t){return void 0===t?this._locale._abbr:(null!=(t=he(t))&&(this._locale=t),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";et=n("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 nn(){return this._locale}var rn=126227808e5;function on(t,e){return(t%e+e)%e}function sn(t,e,n){return t<100&&0<=t?new Date(t+400,e,n)-rn:new Date(t,e,n).valueOf()}function an(t,e,n){return t<100&&0<=t?Date.UTC(t+400,e,n)-rn:Date.UTC(t,e,n)}function un(t,e){return e.erasAbbrRegex(t)}function ln(){for(var t=[],e=[],n=[],i=[],r=this.eras(),o=0,s=r.length;o<s;++o)e.push(ft(r[o].name)),t.push(ft(r[o].abbr)),n.push(ft(r[o].narrow)),i.push(ft(r[o].name)),i.push(ft(r[o].abbr)),i.push(ft(r[o].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function cn(t,e){N(0,[t,t.length],0,e)}function dn(t,e,n,i,r){var o;return null==t?$t(this,i,r).year:(e>(o=Ht(t,i,r))&&(e=o),function(t,e,n,i,r){r=jt(t,e,n,i,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,n,i,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",un),dt("NN",un),dt("NNN",un),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,n,i){i=n._locale.erasParse(t,i,n._strict);i?m(n).era=i:m(n).invalidEra=t}),dt("y",st),dt("yy",st),dt("yyy",st),dt("yyyy",st),dt("yo",function(t,e){return e._eraYearOrdinalRegex||st}),yt(["y","yy","yyy","yyyy"],vt),yt(["yo"],function(t,e,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[vt]=n._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}),cn("gggg","weekYear"),cn("ggggg","weekYear"),cn("GGGG","isoWeekYear"),cn("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),dt("G",at),dt("g",at),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,n,i){e[i.substr(0,2)]=B(t)}),gt(["gg","GG"],function(t,e,n,i){e[i]=p.parseTwoDigitYear(t)}),N("Q",0,"Qo","quarter"),F("quarter","Q"),j("quarter",7),dt("Q",X),yt("Q",function(t,e){e[wt]=3*(B(t)-1)}),N("D",["DD",2],"Do","date"),F("date","D"),j("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]=B(t.match(tt)[0])});nt=V("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),j("dayOfYear",4),dt("DDD",it),dt("DDDD",J),yt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=B(t)}),N("m",["mm",2],0,"minute"),F("minute","m"),j("minute",14),dt("m",tt),dt("mm",tt,q),yt(["m","mm"],Tt);Lt=V("Minutes",!1);N("s",["ss",2],0,"second"),F("second","s"),j("second",15),dt("s",tt),dt("ss",tt,q),yt(["s","ss"],xt);var hn,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"),j("millisecond",16),dt("S",it,X),dt("SS",it,q),dt("SSS",it,J),hn="SSSS";hn.length<=9;hn+="S")dt(hn,st);function fn(t,e){e[St]=B(1e3*("0."+t))}for(hn="S";hn.length<=9;hn+="S")yt(hn,fn);Zt=V("Milliseconds",!1),N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");rt=w.prototype;function pn(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=a(t)&&!u(t),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<i.length;r+=1)n=n||f(t,i[r]);return e&&n}(arguments[0])&&(e=arguments[0],t=void 0):e=t=void 0);var n=t||De(),t=We(n,this).startOf("day"),t=p.calendarFormat(this,t)||"sameElse",e=e&&(S(e[t])?e[t].call(this,n):e[t]);return this.format(e||this.localeData().calendar(t,this,De(n)))},rt.clone=function(){return new w(this)},rt.diff=function(t,e,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=We(t,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=U(e)){case"year":o=tn(this,i)/12;break;case"month":o=tn(this,i);break;case"quarter":o=tn(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:H(o)},rt.endOf=function(t){var e,n;if(void 0===(t=U(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?an:sn,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-on(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-on(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-on(e,1e3)-1}return this._d.setTime(e),p.updateOffset(this,!0),this},rt.format=function(t){return t=t||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),t=I(this,t),this.localeData().postformat(t)},rt.from=function(t,e){return this.isValid()&&(b(t)&&t.isValid()||De(t).isValid())?Ve({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},rt.fromNow=function(t){return this.from(De(),t)},rt.to=function(t,e){return this.isValid()&&(b(t)&&t.isValid()||De(t).isValid())?Ve({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},rt.toNow=function(t){return this.to(De(),t)},rt.get=function(t){return S(this[t=U(t)])?this[t]():this},rt.invalidAt=function(){return m(this).overflow},rt.isAfter=function(t,e){return t=b(t)?t:De(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:De(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,n,i){return t=b(t)?t:De(t),e=b(e)?e:De(e),!!(this.isValid()&&t.isValid()&&e.isValid())&&("("===(i=i||"()")[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===i[1]?this.isBefore(e,n):!this.isAfter(e,n))},rt.isSame=function(t,e){var t=b(t)?t:De(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 h(this)},rt.lang=et,rt.locale=en,rt.localeData=nn,rt.max=Pe,rt.min=ke,rt.parsingFlags=function(){return c({},m(this))},rt.set=function(t,e){if("object"==typeof t)for(var n=function(t){var e,n=[];for(e in t)f(t,e)&&n.push({unit:e,priority:W[e]});return n.sort(function(t,e){return t.priority-e.priority}),n}(t=G(t)),i=0;i<n.length;i++)this[n[i].unit](t[n[i].unit]);else if(S(this[t=U(t)]))return this[t](e);return this},rt.startOf=function(t){var e,n;if(void 0===(t=U(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?an:sn,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=on(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=on(e,6e4);break;case"second":e=this._d.valueOf(),e-=on(e,1e3)}return this._d.setTime(e),p.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()?I(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):S(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",I(t,"Z")):I(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",n="";return this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+e+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"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(),n=0,i=e.length;n<i;++n){if(t=this.clone().startOf("day").valueOf(),e[n].since<=t&&t<=e[n].until)return e[n].name;if(e[n].until<=t&&t<=e[n].since)return e[n].name}return""},rt.eraNarrow=function(){for(var t,e=this.localeData().eras(),n=0,i=e.length;n<i;++n){if(t=this.clone().startOf("day").valueOf(),e[n].since<=t&&t<=e[n].until)return e[n].narrow;if(e[n].until<=t&&t<=e[n].since)return e[n].narrow}return""},rt.eraAbbr=function(){for(var t,e=this.localeData().eras(),n=0,i=e.length;n<i;++n){if(t=this.clone().startOf("day").valueOf(),e[n].since<=t&&t<=e[n].until)return e[n].abbr;if(e[n].until<=t&&t<=e[n].since)return e[n].abbr}return""},rt.eraYear=function(){for(var t,e,n=this.localeData().eras(),i=0,r=n.length;i<r;++i)if(t=n[i].since<=n[i].until?1:-1,e=this.clone().startOf("day").valueOf(),n[i].since<=e&&e<=n[i].until||n[i].until<=e&&e<=n[i].since)return(this.year()-p(n[i].since).year())*t+n[i].offset;return this.year()},rt.year=Ft,rt.isLeapYear=function(){return $(this.year())},rt.weekYear=function(t){return dn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},rt.isoWeekYear=function(t){return dn.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=It,rt.daysInMonth=function(){return Ct(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=$t(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},rt.weeksInYear=function(){var t=this.localeData()._week;return Ht(this.year(),t.dow,t.doy)},rt.weeksInWeekYear=function(){var t=this.localeData()._week;return Ht(this.weekYear(),t.dow,t.doy)},rt.isoWeeksInYear=function(){return Ht(this.year(),1,4)},rt.isoWeeksInISOWeekYear=function(){return Ht(this.isoWeekYear(),1,4)},rt.date=nt,rt.day=rt.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e,n,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(e=t,n=this.localeData(),t="string"!=typeof e?e:isNaN(e)?"number"==typeof(e=n.weekdaysParse(e))?e:null:parseInt(e,10),this.add(t-i,"d")):i},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=ne,rt.minute=rt.minutes=Lt,rt.second=rt.seconds=Vt,rt.millisecond=rt.milliseconds=Zt,rt.utcOffset=function(t,e,n){var i,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null==t)return this._isUTC?r:je(this);if("string"==typeof t){if(null===(t=Ge(lt,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=je(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!e||this._changeInProgress?qe(this,Ve(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.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(je(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(ut,this._i))?this.utcOffset(t):this.utcOffset(0,!0)),this},rt.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?De(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=$e,rt.isUTC=$e,rt.zoneAbbr=function(){return this._isUTC?"UTC":""},rt.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},rt.dates=n("dates accessor is deprecated. Use date instead.",nt),rt.months=n("months accessor is deprecated. Use month instead",It),rt.years=n("years accessor is deprecated. Use year instead",Ft),rt.zone=n("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=n("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=Ce(e))._a?(t=(e._isUTC?d:De)(e._a),this._isDSTShifted=this.isValid()&&0<function(t,e,n){for(var i=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),o=0,s=0;s<i;s++)(n&&t[s]!==e[s]||!n&&B(t[s])!==B(e[s]))&&o++;return o+r}(e._a,t.toArray())):this._isDSTShifted=!1,this._isDSTShifted});K=M.prototype;function mn(t,e,n,i){var r=he(),e=d().set(i,e);return r[n](e,t)}function yn(t,e,n){if(l(t)&&(e=t,t=void 0),t=t||"",null!=e)return mn(t,e,n,"month");for(var i=[],r=0;r<12;r++)i[r]=mn(t,r,n,"month");return i}function gn(t,e,n,i){e=("boolean"==typeof t||(n=e=t,t=!1),l(e)&&(n=e,e=void 0),e||"");var r,o=he(),s=t?o._week.dow:0,a=[];if(null!=n)return mn(e,(n+s)%7,i,"day");for(r=0;r<7;r++)a[r]=mn(e,(r+s)%7,i,"day");return a}K.calendar=function(t,e,n){return S(t=this._calendar[t]||this._calendar.sameElse)?t.call(e,n):t},K.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(D).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=pn,K.postformat=pn,K.relativeTime=function(t,e,n,i){var r=this._relativeTime[n];return S(r)?r(t,e,n,i):r.replace(/%d/i,t)},K.pastFuture=function(t,e){return S(t=this._relativeTime[0<t?"future":"past"])?t(e):t.replace(/%s/i,e)},K.set=function(t){var e,n;for(n in t)f(t,n)&&(S(e=t[n])?this[n]=e:this["_"+n]=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 n,i=this._eras||he("en")._eras,r=0,o=i.length;r<o;++r)switch("string"==typeof i[r].since&&(n=p(i[r].since).startOf("day"),i[r].since=n.valueOf()),typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":n=p(i[r].until).startOf("day").valueOf(),i[r].until=n.valueOf()}return i},K.erasParse=function(t,e,n){var i,r,o,s,a,u=this.eras();for(t=t.toUpperCase(),i=0,r=u.length;i<r;++i)if(o=u[i].name.toUpperCase(),s=u[i].abbr.toUpperCase(),a=u[i].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(s===t)return u[i];break;case"NNNN":if(o===t)return u[i];break;case"NNNNN":if(a===t)return u[i]}else if(0<=[o,s,a].indexOf(t))return u[i]},K.erasConvertYear=function(t,e){var n=t.since<=t.until?1:-1;return void 0===e?p(t.since).year():p(t.since).year()+(e-t.offset)*n},K.erasAbbrRegex=function(t){return f(this,"_erasAbbrRegex")||ln.call(this),t?this._erasAbbrRegex:this._erasRegex},K.erasNameRegex=function(t){return f(this,"_erasNameRegex")||ln.call(this),t?this._erasNameRegex:this._erasRegex},K.erasNarrowRegex=function(t){return f(this,"_erasNarrowRegex")||ln.call(this),t?this._erasNarrowRegex:this._erasRegex},K.months=function(t,e){return t?(s(this._months)?this._months:this._months[(this._months.isFormat||kt).test(e)?"format":"standalone"])[t.month()]:s(this._months)?this._months:this._months.standalone},K.monthsShort=function(t,e){return t?(s(this._monthsShort)?this._monthsShort:this._monthsShort[kt.test(e)?"format":"standalone"])[t.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},K.monthsParse=function(t,e,n){var i,r;if(this._monthsParseExact)return function(t,e,n){var i,r,o,t=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=d([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(r=_t.call(this._shortMonthsParse,t))?r:null:-1!==(r=_t.call(this._longMonthsParse,t))?r:null:"MMM"===e?-1!==(r=_t.call(this._shortMonthsParse,t))||-1!==(r=_t.call(this._longMonthsParse,t))?r:null:-1!==(r=_t.call(this._longMonthsParse,t))||-1!==(r=_t.call(this._shortMonthsParse,t))?r:null}.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=d([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},K.monthsRegex=function(t){return this._monthsParseExact?(f(this,"_monthsRegex")||Yt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Ot),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},K.monthsShortRegex=function(t){return this._monthsParseExact?(f(this,"_monthsRegex")||Yt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Pt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},K.week=function(t){return $t(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=s(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"],!0===t?Bt(e,this._week.dow):t?e[t.day()]:e},K.weekdaysMin=function(t){return!0===t?Bt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},K.weekdaysShort=function(t){return!0===t?Bt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},K.weekdaysParse=function(t,e,n){var i,r;if(this._weekdaysParseExact)return function(t,e,n){var i,r,o,t=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=d([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(r=_t.call(this._weekdaysParse,t))?r:null:"ddd"===e?-1!==(r=_t.call(this._shortWeekdaysParse,t))?r:null:-1!==(r=_t.call(this._minWeekdaysParse,t))?r:null:"dddd"===e?-1!==(r=_t.call(this._weekdaysParse,t))||-1!==(r=_t.call(this._shortWeekdaysParse,t))||-1!==(r=_t.call(this._minWeekdaysParse,t))?r:null:"ddd"===e?-1!==(r=_t.call(this._shortWeekdaysParse,t))||-1!==(r=_t.call(this._weekdaysParse,t))||-1!==(r=_t.call(this._minWeekdaysParse,t))?r:null:-1!==(r=_t.call(this._minWeekdaysParse,t))||-1!==(r=_t.call(this._weekdaysParse,t))||-1!==(r=_t.call(this._shortWeekdaysParse,t))?r:null}.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=d([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},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,n){return 11<t?n?"pm":"PM":n?"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===B(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th")}}),p.lang=n("moment.lang is deprecated. Use moment.locale instead.",ce),p.langData=n("moment.langData is deprecated. Use moment.localeData instead.",he);var _n=Math.abs;function vn(t,e,n,i){n=Ve(e,n);return t._milliseconds+=i*n._milliseconds,t._days+=i*n._days,t._months+=i*n._months,t._bubble()}function wn(t){return t<0?Math.floor(t):Math.ceil(t)}function bn(t){return 4800*t/146097}function En(t){return 146097*t/4800}function Tn(t){return function(){return this.as(t)}}ot=Tn("ms"),Q=Tn("s"),X=Tn("m"),q=Tn("h"),it=Tn("d"),J=Tn("w"),Je=Tn("M"),Pe=Tn("Q"),ke=Tn("y");function xn(t){return function(){return this.isValid()?this._data[t]:NaN}}ct=xn("milliseconds"),ne=xn("seconds"),Lt=xn("minutes"),Vt=xn("hours"),Zt=xn("days"),nt=xn("months"),Ft=xn("years");var Sn=Math.round,An={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(t,e,n,i){var r=Ve(t).abs(),o=Sn(r.as("s")),s=Sn(r.as("m")),a=Sn(r.as("h")),u=Sn(r.as("d")),l=Sn(r.as("M")),c=Sn(r.as("w")),r=Sn(r.as("y")),u=(o<=n.ss?["s",o]:o<n.s&&["ss",o])||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||u<=1&&["d"]||u<n.d&&["dd",u];return(u=(u=null!=n.w?u||c<=1&&["w"]||c<n.w&&["ww",c]:u)||l<=1&&["M"]||l<n.M&&["MM",l]||r<=1&&["y"]||["yy",r])[2]=e,u[3]=0<+t,u[4]=i,function(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}.apply(null,u)}var Cn=Math.abs;function Ln(t){return(0<t)-(t<0)||+t}function Dn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i,r,o,s,a=Cn(this._milliseconds)/1e3,u=Cn(this._days),l=Cn(this._months),c=this.asSeconds();return c?(t=H(a/60),e=H(t/60),a%=60,t%=60,n=H(l/12),l%=12,i=a?a.toFixed(3).replace(/\.?0+$/,""):"",r=Ln(this._months)!==Ln(c)?"-":"",o=Ln(this._days)!==Ln(c)?"-":"",s=Ln(this._milliseconds)!==Ln(c)?"-":"",(c<0?"-":"")+"P"+(n?r+n+"Y":"")+(l?r+l+"M":"")+(u?o+u+"D":"")+(e||t||a?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(a?s+i+"S":"")):"P0D"}K=Ie.prototype;return K.isValid=function(){return this._isValid},K.abs=function(){var t=this._data;return this._milliseconds=_n(this._milliseconds),this._days=_n(this._days),this._months=_n(this._months),t.milliseconds=_n(t.milliseconds),t.seconds=_n(t.seconds),t.minutes=_n(t.minutes),t.hours=_n(t.hours),t.months=_n(t.months),t.years=_n(t.years),this},K.add=function(t,e){return vn(this,t,e,1)},K.subtract=function(t,e){return vn(this,t,e,-1)},K.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=U(t))||"quarter"===t||"year"===t)switch(e=this._days+i/864e5,n=this._months+bn(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(En(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},K.asMilliseconds=ot,K.asSeconds=Q,K.asMinutes=X,K.asHours=q,K.asDays=it,K.asWeeks=J,K.asMonths=Je,K.asQuarters=Pe,K.asYears=ke,K.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*B(this._months/12):NaN},K._bubble=function(){var t=this._milliseconds,e=this._days,n=this._months,i=this._data;return 0<=t&&0<=e&&0<=n||t<=0&&e<=0&&n<=0||(t+=864e5*wn(En(n)+e),n=e=0),i.milliseconds=t%1e3,t=H(t/1e3),i.seconds=t%60,t=H(t/60),i.minutes=t%60,t=H(t/60),i.hours=t%24,e+=H(t/24),n+=t=H(bn(e)),e-=wn(En(t)),t=H(n/12),n%=12,i.days=e,i.months=n,i.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=ne,K.minutes=Lt,K.hours=Vt,K.days=Zt,K.weeks=function(){return H(this.days()/7)},K.months=nt,K.years=Ft,K.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var n=!1,i=An;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(n=t),"object"==typeof e&&(i=Object.assign({},An,e),null!=e.s&&null==e.ss&&(i.ss=e.s-1)),i=Mn(this,!n,i,e=this.localeData()),n&&(i=e.pastFuture(+this,i)),e.postformat(i)},K.toISOString=Dn,K.toString=Dn,K.toJSON=Dn,K.locale=en,K.localeData=nn,K.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dn),K.lang=et,N("X",0,0,"unix"),N("x",0,0,"valueOf"),dt("x",at),dt("X",/[+-]?\d+(\.\d{1,3})?/),yt("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t))}),yt("x",function(t,e,n){n._d=new Date(B(t))}),p.version="2.29.1",t=De,p.fn=rt,p.min=function(){return Oe("isBefore",[].slice.call(arguments,0))},p.max=function(){return Oe("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=d,p.unix=function(t){return De(1e3*t)},p.months=function(t,e){return yn(t,e,"months")},p.isDate=r,p.locale=ce,p.invalid=y,p.duration=Ve,p.isMoment=b,p.weekdays=function(t,e,n){return gn(t,e,n,"weekdays")},p.parseZone=function(){return De.apply(null,arguments).parseZone()},p.localeData=he,p.isDuration=Ye,p.monthsShort=function(t,e){return yn(t,e,"monthsShort")},p.weekdaysMin=function(t,e,n){return gn(t,e,n,"weekdaysMin")},p.defineLocale=de,p.updateLocale=function(t,e){var n,i;return null!=e?(i=re,null!=oe[t]&&null!=oe[t].parentLocale?oe[t].set(A(oe[t]._config,e)):(e=A(i=null!=(n=le(t))?n._config:i,e),null==n&&(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]},p.locales=function(){return C(oe)},p.weekdaysShort=function(t,e,n){return gn(t,e,n,"weekdaysShort")},p.normalizeUnits=U,p.relativeTimeRounding=function(t){return void 0===t?Sn:"function"==typeof t&&(Sn=t,!0)},p.relativeTimeThreshold=function(t,e){return void 0!==An[t]&&(void 0===e?An[t]:(An[t]=e,"s"===t&&(An.ss=e-1),!0))},p.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"},p.prototype=rt,p.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"},p}(),Di.exports);const Oi={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 Ni(n){let i,r,o,s,a,u,l,c,d,h,f,p,m,y,g,_=n[3]("popupText.name")+"";function v(t){return t[0]?Yi:Ii}let w=v(n),b=w(n);return{c(){i=K("section"),r=K("div"),o=K("div"),s=K("div"),s.textContent="i",a=tt(),u=K("div"),l=Q(_),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>',h=tt(),f=K("div"),b.c(),it(s,"class","InfoCardPopupIcon"),it(s,"part","InfoCardPopupIcon"),it(u,"class","InfoCardPopupTitle"),it(u,"part","InfoCardPopupTitle"),it(d,"class","InfoCardPopupCloseButton"),it(d,"part","InfoCardPopupCloseButton"),it(o,"class","InfoCardPopupHeader"),it(o,"part","InfoCardPopupHeader"),it(f,"class","InfoCardPopupContentArea"),it(f,"part","InfoCardPopupContentArea"),it(r,"class",p="InfoCardPopupWrapper "+(n[4]?"InfoCardPopupMobileWrapper":"")+" "+(n[0]?"InfoCardPopupLimitChanged":"")),it(r,"part",m="InfoCardPopupWrapper "+(n[4]?"InfoCardPopupMobileWrapper":"")+" "+(n[0]?"InfoCardPopupLimitChanged":"")),it(i,"class",n[4]?"InfoCardPopupMobileModal":""),it(i,"part",n[4]?"InfoCardPopupMobileModal":"")},m(t,e){q(t,i,e),X(i,r),X(r,o),X(o,s),X(o,a),X(o,u),X(u,l),X(o,c),X(o,d),X(r,h),X(r,f),b.m(f,null),y||(g=et(d,"click",nt(n[5])),y=!0)},p(t,e){8&e&&_!==(_=t[3]("popupText.name")+"")&&ot(l,_),w===(w=v(t))&&b?b.p(t,e):(b.d(1),b=w(t),b&&(b.c(),b.m(f,null))),1&e&&p!==(p="InfoCardPopupWrapper "+(t[4]?"InfoCardPopupMobileWrapper":"")+" "+(t[0]?"InfoCardPopupLimitChanged":""))&&it(r,"class",p),1&e&&m!==(m="InfoCardPopupWrapper "+(t[4]?"InfoCardPopupMobileWrapper":"")+" "+(t[0]?"InfoCardPopupLimitChanged":""))&&it(r,"part",m)},d(t){t&&J(i),b.d(),y=!1,g()}}}function Ii(t){let n,i,r=t[3]("popupText.defaultText")+"";return{c(){n=K("p"),i=Q(r),it(n,"class","InfoCardPopupContent"),it(n,"part","InfoCardPopupContent")},m(t,e){q(t,n,e),X(n,i)},p(t,e){8&e&&r!==(r=t[3]("popupText.defaultText")+"")&&ot(i,r)},d(t){t&&J(n)}}}function Yi(t){let n,i,r=t[3]("popupText.amountChanged",{values:{amount:t[0],currency:t[1]}})+"";return{c(){n=K("p"),i=Q(r),it(n,"class","InfoCardPopupContent"),it(n,"part","InfoCardPopupContent")},m(t,e){q(t,n,e),X(n,i)},p(t,e){11&e&&r!==(r=t[3]("popupText.amountChanged",{values:{amount:t[0],currency:t[1]}})+"")&&ot(i,r)},d(t){t&&J(n)}}}function Ri(t){let n,i=t[2]&&Ni(t);return{c(){i&&i.c(),n=w(),this.c=z},m(t,e){i&&i.m(t,e),q(t,n,e)},p(t,[e]){t[2]?i?i.p(t,e):(i=Ni(t),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},i:z,o:z,d(t){i&&i.d(t),t&&J(n)}}}function Fi(e,t,n){let i;F(e,Mi,t=>n(3,i=t));let{showpopup:r=""}=t,{iteminfoamount:o=""}=t,{lang:s="en"}=t,{playercurrency:a="USD"}=t;Object.keys(Oi).forEach(t=>{ai(t,Oi[t])});let u=!1,l=window.navigator.userAgent,c="PC"!==Ci(l);const d=t=>{t.data&&"ClosePlayerAccountGamingLimitsPopup"==t.data.type&&n(2,u=!1)};return W(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)})),e.$$set=t=>{"showpopup"in t&&n(6,r=t.showpopup),"iteminfoamount"in t&&n(0,o=t.iteminfoamount),"lang"in t&&n(7,s=t.lang),"playercurrency"in t&&n(1,a=t.playercurrency)},e.$$.update=()=>{var t;192&e.$$.dirty&&r&&s&&(t=s,gi.set(t),o<0&&n(0,o="0"),n(2,u=r))},[o,a,u,i,c,()=>{n(2,u=!1),window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href)},r,s]}function Ui(t,{delay:e=0,duration:n=400,easing:i=m}={}){const r=+getComputedStyle(t).opacity;return{delay:e,duration:n,easing:i,css:t=>"opacity: "+t*r}}function Gi(n){let i,e,r;return{c(){i=K("div"),i.innerHTML='<div class="ModalContainer" part="ModalContainer"><slot></slot></div>',it(i,"class","ModalWindow"),it(i,"part","ModalWindow"),it(i,"id","Modal")},m(t,e){q(t,i,e),n[3](i),r=!0},p(t,e){n=t},i(t){r||(k(()=>{e=e||$(i,Ui,{transitionDuration:n[1]},!0),e.run(1)}),r=!0)},o(t){e=e||$(i,Ui,{transitionDuration:n[1]},!1),e.run(0),r=!1},d(t){t&&J(i),n[3](null),t&&e&&e.end()}}}function Wi(t){let n,i,r=t[0]&&Gi(t);return{c(){n=K("div"),r&&r.c(),this.c=z},m(t,e){q(t,n,e),r&&r.m(n,null),i=!0},p(t,[e]){t[0]?r?(r.p(t,e),1&e&&Y(r,1)):(r=Gi(t),r.c(),Y(r,1),r.m(n,null)):r&&(I={r:0,c:[],p:I},R(r,1,1,()=>{r=null}),I.r||Z(I.c),I=I.p)},i(t){i||(Y(r),i=!0)},o(t){R(r),i=!1},d(t){t&&J(n),r&&r.d()}}}function ji(t,e,n){let i,{show:r=!1}=e,{duration:o=350}=e;const s=t=>{"ModalClosed"==t.data.type&&n(0,r=!1),"ShowLimitsConfirmationModal"===t.data.type&&(n(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href))};return W(()=>(window.addEventListener("message",s,!1),()=>{window.removeEventListener("message",s)})),t.$$set=t=>{"show"in t&&n(0,r=t.show),"duration"in t&&n(1,o=t.duration)},[r,o,void 0,function(t){a[t?"unshift":"push"](()=>{i=t,n(2,i)})}]}customElements.get("player-account-gaming-limits-popup")||customElements.define("player-account-gaming-limits-popup",class extends B{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:0px 4px 12px var(--emfe-w-color-gray-100, #E6E6E6);border-radius:0.3125;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:i(this.attributes),customElement:!0},Fi,Ri,n,{showpopup:6,iteminfoamount:0,lang:7,playercurrency:1}),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),P()))}static get observedAttributes(){return["showpopup","iteminfoamount","lang","playercurrency"]}get showpopup(){return this.$$.ctx[6]}set showpopup(t){this.$set({showpopup:t}),P()}get iteminfoamount(){return this.$$.ctx[0]}set iteminfoamount(t){this.$set({iteminfoamount:t}),P()}get lang(){return this.$$.ctx[7]}set lang(t){this.$set({lang:t}),P()}get playercurrency(){return this.$$.ctx[1]}set playercurrency(t){this.$set({playercurrency:t}),P()}}),customElements.get("player-account-modal")||customElements.define("player-account-modal",class extends B{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:i(this.attributes),customElement:!0},ji,Wi,n,{show:0,duration:1}),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),P()))}static get observedAttributes(){return["show","duration"]}get show(){return this.$$.ctx[0]}set show(t){this.$set({show:t}),P()}get duration(){return this.$$.ctx[1]}set duration(t){this.$set({duration:t}),P()}});const $i={en:{modalText:{cancel:"Cancel",confirm:"Confirm"}},ro:{modalText:{cancel:"Anulează",confirm:"Confirmă"}}};function Hi(n){let i,r,o,s,a,u,l,c,d,h,f,p,m,y,g=n[1]("modalText.cancel")+"",_=n[1]("modalText.confirm")+"",v=!n[2]&&function(n){let i,r,o;return{c(){i=K("span"),i.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>',it(i,"class","ModalCloseBtn"),it(i,"part","ModalCloseBtn"),it(i,"role","button")},m(t,e){q(t,i,e),r||(o=et(i,"click",n[3]),r=!0)},p:z,d(t){t&&J(i),r=!1,o()}}}(n);return{c(){i=K("div"),v&&v.c(),r=tt(),o=K("div"),s=K("div"),a=Q(n[0]),u=tt(),l=K("div"),c=K("button"),d=Q(g),h=tt(),f=K("button"),p=Q(_),this.c=z,it(s,"class","GamingLimitsConfirmationContent"),it(s,"part","GamingLimitsConfirmationContent"),it(c,"class","GamingLimitsCancelButton"),it(c,"part","GamingLimitsCancelButton"),it(f,"class","GamingLimitsConfirmButton"),it(f,"part","GamingLimitsConfirmButton"),it(l,"class","GamingLimitsConfirmationControlArea"),it(l,"part","GamingLimitsConfirmationControlArea"),it(o,"class","GamingLimitsConfirmationContainer "+(n[2]?"GamingLimitsConfirmationContainerMobile":"")),it(o,"part","GamingLimitsConfirmationContainer "+(n[2]?"GamingLimitsConfirmationContainerMobile":"")),it(i,"class","GamingLimitsConfirmationWrapper "+(n[2]?"GamingLimitsConfirmationMobileWrapper":"")),it(i,"part","GamingLimitsConfirmationWrapper "+(n[2]?"GamingLimitsConfirmationMobileWrapper":""))},m(t,e){q(t,i,e),v&&v.m(i,null),X(i,r),X(i,o),X(o,s),X(s,a),X(o,u),X(o,l),X(l,c),X(c,d),X(l,h),X(l,f),X(f,p),m||(y=[et(c,"click",n[5]),et(f,"click",n[4])],m=!0)},p(t,[e]){t[2]||v.p(t,e),1&e&&ot(a,t[0]),2&e&&g!==(g=t[1]("modalText.cancel")+"")&&ot(d,g),2&e&&_!==(_=t[1]("modalText.confirm")+"")&&ot(p,_)},i:z,o:z,d(t){t&&J(i),v&&v.d(),m=!1,Z(y)}}}function Bi(e,t,n){let i;F(e,Mi,t=>n(1,i=t));let{modaltext:r="Are you sure that you want to perform this action?"}=t,{modalsource:o=""}=t,{lang:s="en"}=t;Object.keys($i).forEach(t=>{ai(t,$i[t])});let a=window.navigator.userAgent,u="PC"!==Ci(a),l={},c="";const d=t=>{t.data&&"DeleteLimitsItem"===t.data.type&&(l=t.data.removeData,t=t.data.removeName,c="Time Limit"===t?"cumulativeSessionLimits":"Deposit Limit"===t?"depositLimits":"Wagering Limit"===t?"wageringLimit":"lossLimit")};W(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)}));return e.$$set=t=>{"modaltext"in t&&n(0,r=t.modaltext),"modalsource"in t&&n(6,o=t.modalsource),"lang"in t&&n(7,s=t.lang)},e.$$.update=()=>{var t;193&e.$$.dirty&&r&&o&&s&&(t=s,gi.set(t))},[r,i,u,()=>{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:l,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,s]}function Vi(t,e,n){const i=t.slice();return i[54]=e[n],i[55]=e,i[50]=n,i}function zi(t,e,n){const i=t.slice();return i[48]=e[n],i}function Zi(t,e,n){const i=t.slice();return i[48]=e[n],i}function Xi(t,e,n){const i=t.slice();return i[48]=e[n],i[49]=e,i[50]=n,i}function qi(t,e,n){const i=t.slice();return i[51]=e[n],i}function Ji(t,e,n){const i=t.slice();return i[48]=e[n],i[50]=n,i}function Ki(t){let n,i,r,o=t[18]("editText.success")+"";return{c(){n=K("div"),i=K("p"),r=Q(o),it(n,"class","AccountEditLimitSuccessfulChangeContainer"),it(n,"part","AccountEditLimitSuccessfulChangeContainer")},m(t,e){q(t,n,e),X(n,i),X(i,r)},p(t,e){262144&e[0]&&o!==(o=t[18]("editText.success")+"")&&ot(r,o)},d(t){t&&J(n)}}}function Qi(t){let n;function i(t){return t[11]?er:tr}let r=i(t),o=r(t);return{c(){n=K("div"),o.c(),it(n,"class","AccountEditLimitSuccessfulChangeContainer"),it(n,"part","AccountEditLimitSuccessfulChangeContainer")},m(t,e){q(t,n,e),o.m(n,null)},p(t,e){r===(r=i(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(n,null)))},d(t){t&&J(n),o.d()}}}function tr(t){let n,i,r,o,s=t[18]("editText.remove")+"",a=(t[0].expiryDate?Pi(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=K("p"),i=Q(s),r=tt(),o=Q(a)},m(t,e){q(t,n,e),X(n,i),X(n,r),X(n,o)},p(t,e){262144&e[0]&&s!==(s=t[18]("editText.remove")+"")&&ot(i,s),1&e[0]&&a!==(a=(t[0].expiryDate?Pi(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(o,a)},d(t){t&&J(n)}}}function er(e){let r,o=e[14],s=[];for(let t=0;t<o.length;t+=1)s[t]=ir(Ji(e,o,t));return{c(){for(let t=0;t<s.length;t+=1)s[t].c();r=w()},m(e,n){for(let t=0;t<s.length;t+=1)s[t].m(e,n);q(e,r,n)},p(e,n){if(409600&n[0]){let t;for(o=e[14],t=0;t<o.length;t+=1){var i=Ji(e,o,t);s[t]?s[t].p(i,n):(s[t]=ir(i),s[t].c(),s[t].m(r.parentNode,r))}for(;t<s.length;t+=1)s[t].d(1);s.length=o.length}},d(t){S(s,t),t&&J(r)}}}function nr(t){let n,i,r,o,s=t[18]("editText.remove")+"",a=(t[48].expiryDate?Pi(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=K("p"),i=Q(s),r=tt(),o=Q(a)},m(t,e){q(t,n,e),X(n,i),X(n,r),X(n,o)},p(t,e){262144&e[0]&&s!==(s=t[18]("editText.remove")+"")&&ot(i,s),16384&e[0]&&a!==(a=(t[48].expiryDate?Pi(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(o,a)},d(t){t&&J(n)}}}function ir(t){let n,i=t[48].period==t[17][t[50]].periodName&&nr(t);return{c(){i&&i.c(),n=w()},m(t,e){i&&i.m(t,e),q(t,n,e)},p(t,e){t[48].period==t[17][t[50]].periodName?i?i.p(t,e):(i=nr(t),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(t){i&&i.d(t),t&&J(n)}}}function rr(t){let n;function i(t){return t[11]?sr:or}let r=i(t),o=r(t);return{c(){n=K("div"),o.c(),it(n,"class","AccountEditContent"),it(n,"part","AccountEditContent")},m(t,e){q(t,n,e),o.m(n,null)},p(t,e){r===(r=i(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(n,null)))},d(t){t&&J(n),o.d()}}}function or(r){let o,n,i,s,a,t,u,l,c,d=r[22],h=[];for(let t=0;t<d.length;t+=1)h[t]=ar(Zi(r,d,t));let f=r[17],p=[];for(let t=0;t<f.length;t+=1)p[t]=fr(Vi(r,f,t));return{c(){o=K("div"),n=K("div"),i=K("p"),i.textContent="Limit",s=tt(),a=K("select");for(let t=0;t<h.length;t+=1)h[t].c();u=tt();for(let t=0;t<p.length;t+=1)p[t].c();it(i,"class","AccountEditLimitsTitle"),it(i,"part","AccountEditLimitsTitle"),it(a,"class","AccountEditField "+(r[19]?"TimeoutSelectMobile":"")),it(a,"part","AccountEditField "+(r[19]?"TimeoutSelectMobile":"")),a.disabled=t=!0===r[14].isModified,void 0===r[14].period&&k(()=>r[30].call(a)),it(n,"class","AccountEditLimitsSplitSection"),it(n,"part","AccountEditLimitsSplitSection"),it(o,"class","AccountEditLimitsContainer"),it(o,"part","AccountEditLimitsContainer")},m(t,e){q(t,o,e),X(o,n),X(n,i),X(n,s),X(n,a);for(let t=0;t<h.length;t+=1)h[t].m(a,null);A(a,r[14].period),X(o,u);for(let t=0;t<p.length;t+=1)p[t].m(o,null);l||(c=[et(a,"change",r[30]),et(a,"change",function(){x(r[26](r[14],0,!1,r[16]))&&r[26](r[14],0,!1,r[16]).apply(this,arguments)})],l=!0)},p(e,n){if(r=e,4194304&n[0]){let t;for(d=r[22],t=0;t<d.length;t+=1){const e=Zi(r,d,t);h[t]?h[t].p(e,n):(h[t]=ar(e),h[t].c(),h[t].m(a,null))}for(;t<h.length;t+=1)h[t].d(1);h.length=d.length}if(4210688&n[0]&&t!==(t=!0===r[14].isModified)&&(a.disabled=t),4210688&n[0]&&A(a,r[14].period),70213649&n[0]){let t;for(f=r[17],t=0;t<f.length;t+=1){var i=Vi(r,f,t);p[t]?p[t].p(i,n):(p[t]=fr(i),p[t].c(),p[t].m(o,null))}for(;t<p.length;t+=1)p[t].d(1);p.length=f.length}},d(t){t&&J(o),S(h,t),S(p,t),l=!1,Z(c)}}}function sr(e){let r,o=e[14],s=[];for(let t=0;t<o.length;t+=1)s[t]=Er(Xi(e,o,t));return{c(){r=K("div");for(let t=0;t<s.length;t+=1)s[t].c();it(r,"class","AccountEditLimitsContainer"),it(r,"part","AccountEditLimitsContainer")},m(t,e){q(t,r,e);for(let t=0;t<s.length;t+=1)s[t].m(r,null)},p(e,n){if(69161752&n[0]){let t;for(o=e[14],t=0;t<o.length;t+=1){var i=Xi(e,o,t);s[t]?s[t].p(i,n):(s[t]=Er(i),s[t].c(),s[t].m(r,null))}for(;t<s.length;t+=1)s[t].d(1);s.length=o.length}},d(t){t&&J(r),S(s,t)}}}function ar(t){let n,i,e=t[48]+"";return{c(){n=K("option"),i=Q(e),n.__value=t[48],n.value=n.__value},m(t,e){q(t,n,e),X(n,i)},p:z,d(t){t&&J(n)}}}function ur(n){let i,r,o,s,a,u,l,c,d,h,f,p,m,y,g=n[18]("editText.amount")+"",_=n[18]("editText.noLimit")+"",v=n[21],w=[];for(let t=0;t<v.length;t+=1)w[t]=lr(zi(n,v,t));function b(){n[31].call(a,n[55],n[50])}let E="Custom"===n[54].amount&&cr(n),T=!0===n[14].isModified&&hr(n);return{c(){i=K("div"),r=K("p"),o=Q(g),s=tt(),a=K("select"),u=K("option"),l=Q(_);for(let t=0;t<w.length;t+=1)w[t].c();d=tt(),h=K("div"),E&&E.c(),f=tt(),T&&T.c(),p=tt(),it(r,"class","AccountEditLimitsTitle"),it(r,"part","AccountEditLimitsTitle"),u.__value="",u.value=u.__value,u.disabled=!0,u.selected=!0,u.hidden=!0,it(a,"class","AccountEditField "+(n[19]?"TimeoutSelectMobile":"")),it(a,"part","AccountEditField "+(n[19]?"TimeoutSelectMobile":"")),a.disabled=c=!0===n[14].isModified,void 0===n[54].amount&&k(b),it(h,"class","AccountEditLimitsInputContainer"),it(h,"part","AccountEditLimitsInputContainer"),it(i,"class","AccountEditLimitsSplitSection"),it(i,"part","AccountEditField "+(n[19]?"TimeoutSelectMobile":""))},m(t,e){q(t,i,e),X(i,r),X(r,o),X(i,s),X(i,a),X(a,u),X(u,l);for(let t=0;t<w.length;t+=1)w[t].m(a,null);A(a,n[54].amount),X(i,d),X(i,h),E&&E.m(h,null),X(h,f),T&&T.m(h,null),X(i,p),m||(y=[et(a,"change",b),et(a,"change",function(){x(n[26](n[54],0,!1,n[16]))&&n[26](n[54],0,!1,n[16]).apply(this,arguments)})],m=!0)},p(t,e){if(n=t,262144&e[0]&&g!==(g=n[18]("editText.amount")+"")&&ot(o,g),262144&e[0]&&_!==(_=n[18]("editText.noLimit")+"")&&ot(l,_),2097168&e[0]){let t;for(v=n[21],t=0;t<v.length;t+=1){const o=zi(n,v,t);w[t]?w[t].p(o,e):(w[t]=lr(o),w[t].c(),w[t].m(a,null))}for(;t<w.length;t+=1)w[t].d(1);w.length=v.length}4210688&e[0]&&c!==(c=!0===n[14].isModified)&&(a.disabled=c),2228224&e[0]&&A(a,n[54].amount),"Custom"===n[54].amount?E?E.p(n,e):(E=cr(n),E.c(),E.m(h,f)):E&&(E.d(1),E=null),!0===n[14].isModified?T?T.p(n,e):(T=hr(n),T.c(),T.m(h,null)):T&&(T.d(1),T=null)},d(t){t&&J(i),S(w,t),E&&E.d(),T&&T.d(),m=!1,Z(y)}}}function lr(t){let n,i,r,e=t[48]+"",o="No limit"!==t[48]&&"Custom"!==t[48]&&function(t){let n;return{c(){n=Q(t[4])},m(t,e){q(t,n,e)},p(t,e){16&e[0]&&ot(n,t[4])},d(t){t&&J(n)}}}(t);return{c(){n=K("option"),i=Q(e),r=tt(),o&&o.c(),n.__value=t[48],n.value=n.__value},m(t,e){q(t,n,e),X(n,i),X(n,r),o&&o.m(n,null)},p(t,e){"No limit"!==t[48]&&"Custom"!==t[48]&&o.p(t,e)},d(t){t&&J(n),o&&o.d()}}}function cr(n){let i,r,o,s,a,u;function l(){n[32].call(i,n[55],n[50])}let c=!0===n[13]&&dr(n);return{c(){i=K("input"),o=tt(),c&&c.c(),s=w(),it(i,"type","number"),it(i,"class","AccountEditField AccountEditFieldCustom"),it(i,"part","AccountEditField AccountEditFieldCustom"),i.disabled=r=!0===n[14].isModified},m(t,e){q(t,i,e),f(i,n[54].value),q(t,o,e),c&&c.m(t,e),q(t,s,e),a||(u=[et(i,"keyup",function(){x(n[26](n[54],0,!1,n[16]))&&n[26](n[54],0,!1,n[16]).apply(this,arguments)}),et(i,"input",l)],a=!0)},p(t,e){n=t,4210688&e[0]&&r!==(r=!0===n[14].isModified)&&(i.disabled=r),2228224&e[0]&&U(i.value)!==n[54].value&&f(i,n[54].value),!0===n[13]?c?c.p(n,e):(c=dr(n),c.c(),c.m(s.parentNode,s)):c&&(c.d(1),c=null)},d(t){t&&J(i),t&&J(o),c&&c.d(t),t&&J(s),a=!1,Z(u)}}}function dr(t){let n,i,r,o=t[18]("editText.invalidInputMessageLimit")+"";return{c(){n=K("p"),i=K("span"),r=Q(o),it(i,"class","InvalidInput InvalidSingleRow"),it(i,"part","InvalidInput InvalidSingleRow"),it(n,"class","AccountEditWarningText"),it(n,"part","AccountEditWarningText")},m(t,e){q(t,n,e),X(n,i),X(i,r)},p(t,e){262144&e[0]&&o!==(o=t[18]("editText.invalidInputMessageLimit")+"")&&ot(r,o)},d(t){t&&J(n)}}}function hr(t){let n,i,r,o,s,a,u,l,c,d,h,f,p,m,y,g,_=t[18]("editText.expirationDate")+"",v=(t[0].expiryDate?Pi(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",w=t[18]("editText.changedLimitTextBefore")+"",b=(0<t[0].updateAmount?t[0].updateAmount:0)+"",E=t[18]("editText.changedLimitTextAfter")+"";return{c(){n=K("p"),i=Q(_),r=tt(),o=K("span"),s=Q(v),a=tt(),u=K("div"),l=K("p"),c=K("span"),c.textContent="i",d=K("span"),h=Q(w),f=tt(),p=Q(b),m=tt(),y=Q(t[4]),g=Q(E),it(n,"class","AccountEditLimitsExpiryDate"),it(n,"part","AccountEditLimitsExpiryDate"),it(c,"class","AccountEditLimitChangePeriodIcon"),it(c,"part","AccountEditLimitChangePeriodIcon"),it(u,"class","AccountEditLimitsPeriodChangeContainer"),it(u,"part","AccountEditLimitsPeriodChangeContainer")},m(t,e){q(t,n,e),X(n,i),X(n,r),X(n,o),X(o,s),q(t,a,e),q(t,u,e),X(u,l),X(l,c),X(l,d),X(d,h),X(d,f),X(d,p),X(d,m),X(d,y),X(d,g)},p(t,e){262144&e[0]&&_!==(_=t[18]("editText.expirationDate")+"")&&ot(i,_),1&e[0]&&v!==(v=(t[0].expiryDate?Pi(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(s,v),262144&e[0]&&w!==(w=t[18]("editText.changedLimitTextBefore")+"")&&ot(h,w),1&e[0]&&b!==(b=(0<t[0].updateAmount?t[0].updateAmount:0)+"")&&ot(p,b),16&e[0]&&ot(y,t[4]),262144&e[0]&&E!==(E=t[18]("editText.changedLimitTextAfter")+"")&&ot(g,E)},d(t){t&&J(n),t&&J(a),t&&J(u)}}}function fr(t){let n,i=t[14].period===t[54].periodName&&ur(t);return{c(){i&&i.c(),n=w()},m(t,e){i&&i.m(t,e),q(t,n,e)},p(t,e){t[14].period===t[54].periodName?i?i.p(t,e):(i=ur(t),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(t){i&&i.d(t),t&&J(n)}}}function pr(n){let i,r,o,s,a,u,l,c,d,h,f=n[18]("editText.noLimit")+"",p=n[20][n[50]].values,m=[];for(let t=0;t<p.length;t+=1)m[t]=mr(qi(n,p,t));function y(){n[27].call(i,n[50])}let g="Custom"===n[17][n[50]].amount&&yr(n),_=!0===n[48].isModified&&br(n);return{c(){i=K("select"),r=K("option"),o=Q(f);for(let t=0;t<m.length;t+=1)m[t].c();a=tt(),u=K("div"),g&&g.c(),l=tt(),_&&_.c(),c=w(),r.__value="",r.value=r.__value,r.disabled=!0,r.selected=!0,r.hidden=!0,it(i,"class","AccountEditField "+(n[19]?"TimeoutSelectMobile":"")),it(i,"part","AccountEditField "+(n[19]?"TimeoutSelectMobile":"")),i.disabled=s=!0===n[48].isModified,void 0===n[17][n[50]].amount&&k(y),it(u,"class","AccountEditLimitsInputContainer"),it(u,"part","AccountEditLimitsInputContainer")},m(t,e){q(t,i,e),X(i,r),X(r,o);for(let t=0;t<m.length;t+=1)m[t].m(i,null);A(i,n[17][n[50]].amount),q(t,a,e),q(t,u,e),g&&g.m(u,null),q(t,l,e),_&&_.m(t,e),q(t,c,e),d||(h=[et(i,"change",y),et(i,"change",function(){x(n[26](n[17][n[50]],n[50],!1,n[16]))&&n[26](n[17][n[50]],n[50],!1,n[16]).apply(this,arguments)})],d=!0)},p(t,e){if(n=t,262144&e[0]&&f!==(f=n[18]("editText.noLimit")+"")&&ot(o,f),1048600&e[0]){let t;for(p=n[20][n[50]].values,t=0;t<p.length;t+=1){const o=qi(n,p,t);m[t]?m[t].p(o,e):(m[t]=mr(o),m[t].c(),m[t].m(i,null))}for(;t<m.length;t+=1)m[t].d(1);m.length=p.length}4210688&e[0]&&s!==(s=!0===n[48].isModified)&&(i.disabled=s),2228224&e[0]&&A(i,n[17][n[50]].amount),"Custom"===n[17][n[50]].amount?g?g.p(n,e):(g=yr(n),g.c(),g.m(u,null)):g&&(g.d(1),g=null),!0===n[48].isModified?_?_.p(n,e):(_=br(n),_.c(),_.m(c.parentNode,c)):_&&(_.d(1),_=null)},d(t){t&&J(i),S(m,t),t&&J(a),t&&J(u),g&&g.d(),t&&J(l),_&&_.d(t),t&&J(c),d=!1,Z(h)}}}function mr(t){let n,i,r,e=t[51]+"",o="No limit"!==t[51]&&"Custom"!==t[51]&&function(){let n,i=("Time Limit"!==t[3]?t[4]:" minutes")+"";return{c(){n=Q(i)},m(t,e){q(t,n,e)},p(t,e){24&e[0]&&i!==(i=("Time Limit"!==t[3]?t[4]:" minutes")+"")&&ot(n,i)},d(t){t&&J(n)}}}();return{c(){n=K("option"),i=Q(e),r=tt(),o&&o.c(),n.__value=t[51],n.value=n.__value},m(t,e){q(t,n,e),X(n,i),X(n,r),o&&o.m(n,null)},p(t,e){"No limit"!==t[51]&&"Custom"!==t[51]&&o.p(t,e)},d(t){t&&J(n),o&&o.d()}}}function yr(t){let n;function i(t){return"Deposit Limit"===t[3]?_r:gr}let r=i(t),o=r(t);return{c(){o.c(),n=w()},m(t,e){o.m(t,e),q(t,n,e)},p(t,e){r===(r=i(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(n.parentNode,n)))},d(t){o.d(t),t&&J(n)}}}function gr(n){let i,r,o,s,a,u;function l(){n[29].call(i,n[50])}let c=1==n[12][n[50]]&&vr(n);return{c(){i=K("input"),o=tt(),s=K("p"),c&&c.c(),it(i,"type","number"),it(i,"class","AccountEditField AccountEditFieldCustom"),it(i,"part","AccountEditField AccountEditFieldCustom"),i.disabled=r=!0===n[48].isModified,it(s,"class","AccountEditWarningText"),it(s,"part","AccountEditWarningText")},m(t,e){q(t,i,e),f(i,n[17][n[50]].value),q(t,o,e),q(t,s,e),c&&c.m(s,null),a||(u=[et(i,"keyup",function(){x(n[26](n[17][n[50]],n[50],!0,n[16]))&&n[26](n[17][n[50]],n[50],!0,n[16]).apply(this,arguments)}),et(i,"input",l)],a=!0)},p(t,e){n=t,4210688&e[0]&&r!==(r=!0===n[48].isModified)&&(i.disabled=r),2228224&e[0]&&U(i.value)!==n[17][n[50]].value&&f(i,n[17][n[50]].value),1==n[12][n[50]]?c?c.p(n,e):(c=vr(n),c.c(),c.m(s,null)):c&&(c.d(1),c=null)},d(t){t&&J(i),t&&J(o),t&&J(s),c&&c.d(),a=!1,Z(u)}}}function _r(n){let i,r,o,s,a,u;function l(){n[28].call(i,n[50])}let c=1==n[12][n[50]]&&wr(n);return{c(){i=K("input"),o=tt(),s=K("p"),c&&c.c(),it(i,"type","number"),it(i,"class","AccountEditField AccountEditFieldCustom"),it(i,"part","AccountEditField AccountEditFieldCustom"),i.disabled=r=!0===n[48].isModified,it(s,"class","AccountEditWarningText"),it(s,"part","AccountEditWarningText")},m(t,e){q(t,i,e),f(i,n[17][n[50]].value),q(t,o,e),q(t,s,e),c&&c.m(s,null),a||(u=[et(i,"keyup",function(){x(n[26](n[17][n[50]],n[50],!1,n[16]))&&n[26](n[17][n[50]],n[50],!1,n[16]).apply(this,arguments)}),et(i,"input",l)],a=!0)},p(t,e){n=t,4210688&e[0]&&r!==(r=!0===n[48].isModified)&&(i.disabled=r),2228224&e[0]&&U(i.value)!==n[17][n[50]].value&&f(i,n[17][n[50]].value),1==n[12][n[50]]?c?c.p(n,e):(c=wr(n),c.c(),c.m(s,null)):c&&(c.d(1),c=null)},d(t){t&&J(i),t&&J(o),t&&J(s),c&&c.d(),a=!1,Z(u)}}}function vr(t){let n,i,r=t[18]("editText.invalidInputMessageTime",{values:{minTime:t[8],maxTime:t[9]}})+"";return{c(){n=K("p"),i=Q(r),it(n,"class","InvalidInput"),it(n,"part","InvalidInput")},m(t,e){q(t,n,e),X(n,i)},p(t,e){262912&e[0]&&r!==(r=t[18]("editText.invalidInputMessageTime",{values:{minTime:t[8],maxTime:t[9]}})+"")&&ot(i,r)},d(t){t&&J(n)}}}function wr(t){let n,i,r=t[18]("editText.invalidInputMessageLimit")+"";return{c(){n=K("p"),i=Q(r),it(n,"class","InvalidInput"),it(n,"part","InvalidInput")},m(t,e){q(t,n,e),X(n,i)},p(t,e){262144&e[0]&&r!==(r=t[18]("editText.invalidInputMessageLimit")+"")&&ot(i,r)},d(t){t&&J(n)}}}function br(t){let n,i,r,o,s,a,u,l,c,d,h,f,p,m,y,g,_=t[18]("editText.expirationDate")+"",v=(t[48].expiryDate?Pi(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",w=t[18]("editText.changedLimitTextBefore")+"",b=(0<t[48].updateAmount?t[48].updateAmount:0)+"",E=(void 0!==t[48].minutes?" minutes":t[4])+"",T=t[18]("editText.changedLimitTextAfter")+"";return{c(){n=K("p"),i=Q(_),r=tt(),o=K("span"),s=Q(v),a=tt(),u=K("div"),l=K("p"),c=K("span"),c.textContent="i",d=K("span"),h=Q(w),f=tt(),p=Q(b),m=tt(),y=Q(E),g=Q(T),it(n,"class","AccountEditLimitsExpiryDate"),it(n,"part","AccountEditLimitsExpiryDate"),it(c,"class","AccountEditLimitChangePeriodIcon"),it(c,"part","AccountEditLimitChangePeriodIcon"),it(u,"class","AccountEditLimitsPeriodChangeContainer"),it(u,"part","AccountEditLimitsPeriodChangeContainer")},m(t,e){q(t,n,e),X(n,i),X(n,r),X(n,o),X(o,s),q(t,a,e),q(t,u,e),X(u,l),X(l,c),X(l,d),X(d,h),X(d,f),X(d,p),X(d,m),X(d,y),X(d,g)},p(t,e){262144&e[0]&&_!==(_=t[18]("editText.expirationDate")+"")&&ot(i,_),16384&e[0]&&v!==(v=(t[48].expiryDate?Pi(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(s,v),262144&e[0]&&w!==(w=t[18]("editText.changedLimitTextBefore")+"")&&ot(h,w),16384&e[0]&&b!==(b=(0<t[48].updateAmount?t[48].updateAmount:0)+"")&&ot(p,b),16400&e[0]&&E!==(E=(void 0!==t[48].minutes?" minutes":t[4])+"")&&ot(y,E),262144&e[0]&&T!==(T=t[18]("editText.changedLimitTextAfter")+"")&&ot(g,T)},d(t){t&&J(n),t&&J(a),t&&J(u)}}}function Er(t){let n,i,r,o,s,a=t[48].period+"",u=t[48].period==t[17][t[50]].periodName&&pr(t);return{c(){n=K("div"),i=K("p"),r=Q(a),o=tt(),u&&u.c(),s=tt(),it(i,"class","AccountEditLimitsTitle"),it(i,"part","AccountEditLimitsTitle"),it(n,"class","AccountEditLimitsBox"),it(n,"part","AccountEditLimitsBox")},m(t,e){q(t,n,e),X(n,i),X(i,r),X(n,o),u&&u.m(n,null),X(n,s)},p(t,e){16384&e[0]&&a!==(a=t[48].period+"")&&ot(r,a),t[48].period==t[17][t[50]].periodName?u?u.p(t,e):(u=pr(t),u.c(),u.m(n,s)):u&&(u.d(1),u=null)},d(t){t&&J(n),u&&u.d()}}}function Tr(n){let i,r,o,s,a,u,l,c,d,h,f,p,m,y,g,_,v,w,b,E,T,x,S,A,M,C,L,D,k,P,O,N,I,Y,R,F,U,G=n[18]("editText.back")+"",W=(n[0]?n[3]:"")+"",j=n[18]("editText.save")+"",$=n[19]&&function(n){let i,r,o,s,a,u,l,c,d,h,f,p,m,y=n[18]("editText.back")+"";return{c(){i=K("div"),r=e("svg"),o=e("defs"),s=e("style"),a=Q(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),u=e("g"),l=e("g"),c=e("path"),d=tt(),h=K("h2"),f=Q(y),it(c,"class","aaa"),it(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),it(c,"transform","translate(15 15) rotate(180)"),it(l,"transform","translate(20 158)"),it(u,"transform","translate(-20 -158)"),it(r,"xmlns","http://www.w3.org/2000/svg"),it(r,"width","15"),it(r,"height","15"),it(r,"viewBox","0 0 15 15"),it(h,"class","MyAccountCategoryTitleMobile"),it(h,"part","MyAccountCategoryTitleMobile"),it(i,"class","MenuReturnButton"),it(i,"part","MenuReturnButton")},m(t,e){q(t,i,e),X(i,r),X(r,o),X(o,s),X(s,a),X(r,u),X(u,l),X(l,c),X(i,d),X(i,h),X(h,f),p||(m=et(i,"click",n[24]),p=!0)},p(t,e){262144&e[0]&&y!==(y=t[18]("editText.back")+"")&&ot(f,y)},d(t){t&&J(i),p=!1,m()}}}(n),H=n[1]&&Ki(n),B=n[2]&&Qi(n),V=n[7]&&rr(n);return{c(){i=K("div"),$&&$.c(),r=tt(),o=K("div"),s=e("svg"),a=e("defs"),u=e("style"),l=Q(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),c=e("g"),d=e("g"),h=e("path"),f=tt(),p=K("h2"),m=Q(G),y=tt(),g=K("div"),_=K("h6"),v=Q(W),w=tt(),b=K("div"),E=K("span"),E.textContent="i",T=tt(),x=K("player-account-gaming-limits-popup"),S=tt(),H&&H.c(),A=tt(),B&&B.c(),M=tt(),V&&V.c(),C=tt(),L=K("div"),D=K("button"),k=Q(j),I=tt(),Y=K("player-account-modal"),R=K("player-account-gaming-limits-confirmation-modal"),this.c=z,it(h,"class","aaa"),it(h,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),it(h,"transform","translate(15 15) rotate(180)"),it(d,"transform","translate(20 158)"),it(c,"transform","translate(-20 -158)"),it(s,"xmlns","http://www.w3.org/2000/svg"),it(s,"width","15"),it(s,"height","15"),it(s,"viewBox","0 0 15 15"),it(p,"class","MyAccountCategoryTitle "+(n[19]?"MyAccountCategoryTitleNone":"")),it(p,"part","MyAccountCategoryTitle "+(n[19]?"MyAccountCategoryTitleNone":"")),it(o,"class","MenuReturnButton "+(n[19]?"MyAccountCategoryTitleNone":"")),it(o,"part","MenuReturnButton "+(n[19]?"MyAccountCategoryTitleNone":"")),it(E,"class","AccountEditLimitsIcon"),it(E,"part","AccountEditLimitsIcon"),rt(x,"showpopup",n[6]),rt(x,"lang",n[5]),it(b,"class","AccountEditLimitsIconWrapper"),it(b,"part","AccountEditLimitsIconWrapper"),it(g,"class","AccountEditLimitsHeader"),it(g,"part","AccountEditLimitsHeader"),it(D,"class",P="AccountEditLimitsSaveButton "+(n[15]?"":"AccountEditLimitsButtonDisabled")),it(D,"part",O="AccountEditLimitsSaveButton "+(n[15]?"":"AccountEditLimitsButtonDisabled")),D.disabled=N=!n[15],it(L,"class","AccountEditLimitsControlArea"),it(L,"part","AccountEditLimitsControlArea"),it(i,"class","AccountEditLimitsWrapper "+(n[19]?"AccountEditLimitsMobileWrapper":"")),rt(R,"modaltext",n[10]),rt(R,"modalsource","groupEdit"),rt(R,"lang",n[5])},m(t,e){q(t,i,e),$&&$.m(i,null),X(i,r),X(i,o),X(o,s),X(s,a),X(a,u),X(u,l),X(s,c),X(c,d),X(d,h),X(o,f),X(o,p),X(p,m),X(i,y),X(i,g),X(g,_),X(_,v),X(g,w),X(g,b),X(b,E),X(b,T),X(b,x),X(i,S),H&&H.m(i,null),X(i,A),B&&B.m(i,null),X(i,M),V&&V.m(i,null),X(i,C),X(i,L),X(L,D),X(D,k),q(t,I,e),q(t,Y,e),X(Y,R),F||(U=[et(o,"click",n[24]),et(E,"click",nt(n[23])),et(D,"click",n[33])],F=!0)},p(t,e){t[19]&&$.p(t,e),262144&e[0]&&G!==(G=t[18]("editText.back")+"")&&ot(m,G),9&e[0]&&W!==(W=(t[0]?t[3]:"")+"")&&ot(v,W),64&e[0]&&rt(x,"showpopup",t[6]),32&e[0]&&rt(x,"lang",t[5]),t[1]?H?H.p(t,e):(H=Ki(t),H.c(),H.m(i,A)):H&&(H.d(1),H=null),t[2]?B?B.p(t,e):(B=Qi(t),B.c(),B.m(i,M)):B&&(B.d(1),B=null),t[7]?V?V.p(t,e):(V=rr(t),V.c(),V.m(i,C)):V&&(V.d(1),V=null),262144&e[0]&&j!==(j=t[18]("editText.save")+"")&&ot(k,j),32768&e[0]&&P!==(P="AccountEditLimitsSaveButton "+(t[15]?"":"AccountEditLimitsButtonDisabled"))&&it(D,"class",P),32768&e[0]&&O!==(O="AccountEditLimitsSaveButton "+(t[15]?"":"AccountEditLimitsButtonDisabled"))&&it(D,"part",O),32768&e[0]&&N!==(N=!t[15])&&(D.disabled=N),1024&e[0]&&rt(R,"modaltext",t[10]),32&e[0]&&rt(R,"lang",t[5])},i:z,o:z,d(t){t&&J(i),$&&$.d(),H&&H.d(),B&&B.d(),V&&V.d(),t&&J(I),t&&J(Y),F=!1,Z(U)}}}function xr(t,e,o){let n;F(t,Mi,t=>o(18,n=t));let{limitsdata:i=[]}=e,{showsuccessnotification:r=!1}=e,{showdeletenotification:s=!1}=e,{limitname:a=""}=e,{playercurrency:u=""}=e,{lang:l="en"}=e;Object.keys(Li).forEach(t=>{ai(t,Li[t])});let c=!1,d=!0,h=!1,f=0,p=0,m="",y=window.navigator.userAgent,g="PC"!==Ci(y),_=!1,v=new Array(3).fill(0),w=!1,b={},E=[],T=!1,x=[];const S={amount:/^[0-9]{0,7}$/,time:/^[1-9]\d*$/};let A=[{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"]}],C=["50000","100000","200000","Custom"],L=["5000","50000","200000","Custom"],D=[{periodName:"Daily",values:["500","1000","1430","Custom"]},{periodName:"Weekly",values:["5000","7000","10000","Custom"]},{periodName:"Monthly",values:["20000","30000","43000","Custom"]}],k=["Daily","Weekly","Monthly"];const P=()=>{window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href)},O=(n,e)=>{if(_){let t=JSON.parse(JSON.stringify(e));A.forEach(e=>{t.forEach(t=>{e.periodName==n.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 A.forEach(t=>{t.periodName===n.periodName&&("Custom"!==t.amount&&"No limit"!==t.amount?t.value=JSON.parse(t.amount):"No limit"===t.amount&&(t.value=0))})},N=(t,e,n,i)=>{let r=i?t.values:t;e.amount&&"No limit"!==e.amount?r.includes(JSON.stringify(e.amount))?n.forEach(t=>{t.periodName===e.period&&(t.amount=JSON.stringify(e.amount),t.value=e.amount)}):n.forEach(t=>{t.periodName===e.period&&(t.amount="Custom",t.value=e.amount)}):n.forEach(t=>{t.periodName===e.period&&(t.amount=e.amount,t.value=0)})},I=e=>{E.forEach(t=>{e.period===t.periodName&&("Time Limit"===a&&(o(8,f=60),"Daily"===e.periodName?o(9,p=1440):"Weekly"==e.periodName?o(9,p=10080):o(9,p=43200)),-1<t.values.indexOf(e.amount)&&("No limit"===e.amount?e.amount=0:e.amount=JSON.parse(e.amount)))})},Y=()=>{var t=l;gi.set(t),t="Time Limit"===a?"time limit":"Deposit Limit"===a?"deposit limit":"Wagering Limit"===a?"wagering limit":"loss limit",o(10,m=n("editText.changeLimitsText",{values:{limit:t}})),o(11,_=Array.isArray(i)),o(16,x=JSON.parse(JSON.stringify(i))),o(14,b=JSON.parse(JSON.stringify(i))),E="Wagering Limit"===a?C:"Loss Limit"===a?L:"Deposit Limit"===a?M:"Time Limit"===a?D:[],_?(x.forEach(t=>{I(t)}),b.forEach(e=>{E.forEach(t=>{e.period===t.periodName&&N(t,e,A,!0)})})):(I(x),N(E,b,A,!1))},R=t=>{if(t.data)switch(t.data.type){case"ClosePlayerAccountGamingLimitsPopup":o(6,c=!1);break;case"GamingLimitsConfirmChanges":h=!0,(()=>{if(h){if(_?"Time Limit"===a?A.forEach(e=>{b.forEach(t=>{t.period===e.periodName&&(t.minutes=e.value)})}):A.forEach(e=>{b.forEach(t=>{t.period===e.periodName&&(t.amount=e.value)})}):A.forEach(t=>{b.period===t.periodName&&o(14,b.amount=t.value,b)}),_){let e={};"Deposit Limit"===a?(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"===a?"cumulativeSessionLimits":"depositLimits"},window.location.href)}else window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:b,limitsCategory:"Wagering Limit"===a?"wageringLimit":"lossLimit"},window.location.href);o(15,T=!1)}})();break;case"CancelGamingLimitsChanges":o(7,d=!1),setTimeout(()=>{o(7,d=!0)},10),Y(),o(15,T=!1),h=!1}};return W(()=>(window.addEventListener("message",R,!1),()=>{window.removeEventListener("message",R)})),t.$$set=t=>{"limitsdata"in t&&o(0,i=t.limitsdata),"showsuccessnotification"in t&&o(1,r=t.showsuccessnotification),"showdeletenotification"in t&&o(2,s=t.showdeletenotification),"limitname"in t&&o(3,a=t.limitname),"playercurrency"in t&&o(4,u=t.playercurrency),"lang"in t&&o(5,l=t.lang)},t.$$.update=()=>{6&t.$$.dirty[0]&&r&&s&&Y(),33&t.$$.dirty[0]&&i&&l&&Y()},[i,r,s,a,u,l,c,d,f,p,m,_,v,w,b,T,x,A,n,g,M,L,k,()=>{o(6,c=!0)},()=>{window.postMessage({type:"PlayerAccountBackToLimitsView"},window.location.href)},P,(t,e,n,i)=>{var r;_?"Custom"===t.amount?"Time Limit"==a?(o(8,f=60),"Daily"===t.periodName?o(9,p=1440):"Weekly"==t.periodName?o(9,p=10080):o(9,p=43200),t.value&&S.time.test(t.value)&&t.value>f&&t.value<=p?(o(12,v[e]=0,v),r=i[e],t.periodName==r.period&&t.value==r.amount?(o(15,T=!1),O(t,i)):o(15,T=!0)):(o(12,v[e]=1,v),o(15,T=!1))):t.value&&S.amount.test(t.value)?(o(12,v[e]=0,v),t.periodName==i[e].period&&t.value==i[e].amount?(o(15,T=!!T),O(t,i)):o(15,T=!0),A.forEach(t=>{0==t.value&&o(15,T=!1)})):(o(12,v[e]=1,v),o(15,T=!1)):(t.periodName==i[e].period?(O(t,i),o(15,T=t.value!=i[e].amount)):o(15,T=!0),A.forEach(t=>{0==t.value&&o(15,T=!1)})):b.period!=i.period?(o(15,T=!0),"Custom"==t.amount&&(t.value&&S.amount.test(t.value)?(o(13,w=!1),b.period==i.period&&t.value==i.amount?(o(15,T=!1),O(t,i)):o(15,T=!0)):(o(13,w=!0),o(15,T=!1)))):"Custom"===t.amount?t.value&&S.amount.test(t.value)?(o(13,w=!1),b.period==i.period&&t.value==i.amount?(o(15,T=!!T),O(t,i)):o(15,T=!0)):(o(13,w=!0),o(15,T=!1)):b.period==i.period?(O(t,i),o(15,T=t.value!=i.amount)):o(15,T=!0)},function(t){A[t].amount=G(this),o(17,A),o(21,L)},function(t){A[t].value=U(this.value),o(17,A),o(21,L)},function(t){A[t].value=U(this.value),o(17,A),o(21,L)},function(){b.period=G(this),o(14,b),o(22,k)},function(t,e){t[e].amount=G(this),o(17,A),o(21,L)},function(t,e){t[e].value=U(this.value),o(17,A),o(21,L)},()=>P()]}customElements.get("player-account-gaming-limits-confirmation-modal")||customElements.define("player-account-gaming-limits-confirmation-modal",class extends B{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:i(this.attributes),customElement:!0},Bi,Hi,n,{modaltext:0,modalsource:6,lang:7}),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),P()))}static get observedAttributes(){return["modaltext","modalsource","lang"]}get modaltext(){return this.$$.ctx[0]}set modaltext(t){this.$set({modaltext:t}),P()}get modalsource(){return this.$$.ctx[6]}set modalsource(t){this.$set({modalsource:t}),P()}get lang(){return this.$$.ctx[7]}set lang(t){this.$set({lang:t}),P()}});class Sr extends B{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:i(this.attributes),customElement:!0},xr,Tr,n,{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),P()))}static get observedAttributes(){return["limitsdata","showsuccessnotification","showdeletenotification","limitname","playercurrency","lang"]}get limitsdata(){return this.$$.ctx[0]}set limitsdata(t){this.$set({limitsdata:t}),P()}get showsuccessnotification(){return this.$$.ctx[1]}set showsuccessnotification(t){this.$set({showsuccessnotification:t}),P()}get showdeletenotification(){return this.$$.ctx[2]}set showdeletenotification(t){this.$set({showdeletenotification:t}),P()}get limitname(){return this.$$.ctx[3]}set limitname(t){this.$set({limitname:t}),P()}get playercurrency(){return this.$$.ctx[4]}set playercurrency(t){this.$set({playercurrency:t}),P()}get lang(){return this.$$.ctx[5]}set lang(t){this.$set({lang:t}),P()}}return customElements.get("player-account-gaming-limits-group-edit")||customElements.define("player-account-gaming-limits-group-edit",Sr),Sr});
|
|
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 m=t=>t;function c(t){return t()}function d(){return Object.create(null)}function Z(t){t.forEach(c)}function x(t){return"function"==typeof t}function n(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function h(t,...e){if(null==t)return z;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function F(t,e,n){t.$$.on_destroy.push(h(e,n))}var t="undefined"!=typeof window;let y=t?()=>window.performance.now():()=>Date.now(),g=t?t=>requestAnimationFrame(t):z;const _=new Set;function v(e){_.forEach(t=>{t.c(e)||(_.delete(t),t.f())}),0!==_.size&&g(v)}function X(t,e){t.appendChild(e)}function q(t,e,n){t.insertBefore(e,n||null)}function J(t){t.parentNode.removeChild(t)}function S(e,n){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(n)}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 w(){return Q("")}function et(t,e,n,i){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n,i)}function nt(e){return function(t){return t.preventDefault(),e.call(this,t)}}function it(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function rt(t,e,n){e in t?t[e]=n:it(t,e,n)}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 A(e,n){for(let t=0;t<e.options.length;t+=1){const i=e.options[t];if(i.__value===n)return i.selected=!0,0}}function G(t){t=t.querySelector(":checked")||t.options[0];return t&&t.__value}function i(t){const e={};for(const n of t)e[n.name]=n.value;return e}const b=new Set;let p,E=0;function T(t,e,n,i,r,o,s,a=0){var u=16.666/i;let l="{\n";for(let t=0;t<=1;t+=u){const i=e+(n-e)*o(t);l+=100*t+`%{${s(i,1-i)}}\n`}const c=l+`100% {${s(n,1-n)}}\n}`,d=`__svelte_${function(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}(c)}_${a}`,h=t.ownerDocument;b.add(h);const f=h.__svelte_stylesheet||(h.__svelte_stylesheet=h.head.appendChild(K("style")).sheet),p=h.__svelte_rules||(h.__svelte_rules={});p[d]||(p[d]=!0,f.insertRule(`@keyframes ${d} ${c}`,f.cssRules.length));a=t.style.animation||"";return t.style.animation=`${a?`${a}, `:""}${d} ${i}ms linear ${r}ms 1 both`,E+=1,d}function M(t){p=t}function W(t){!function(){if(!p)throw new Error("Function called outside component initialization");return p}().$$.on_mount.push(t)}const C=[],a=[],r=[],o=[],L=Promise.resolve();let D=!1;function k(t){r.push(t)}let s=!1;const u=new Set;function P(){if(!s){s=!0;do{for(let t=0;t<C.length;t+=1){var e=C[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(k))}}(e.$$)}for(M(null),C.length=0;a.length;)a.pop()();for(let t=0;t<r.length;t+=1){const n=r[t];u.has(n)||(u.add(n),n())}}while(r.length=0,C.length);for(;o.length;)o.pop()();D=!1,s=!1,u.clear()}}let O;function N(t,e,n){t.dispatchEvent(function(t){const e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}(`${e?"intro":"outro"}${n}`))}const l=new Set;let I;function Y(t,e){t&&t.i&&(l.delete(t),t.i(e))}function R(t,e,n,i){t&&t.o&&(l.has(t)||(l.add(t),I.c.push(()=>{l.delete(t),i&&(n&&t.d(1),i())}),t.o(e)))}const j={duration:0};function $(a,t,e,n){let u=t(a,e),l=n?0:1,c=null,d=null,h=null;function f(){h&&function(t,e){const n=(t.style.animation||"").split(", "),i=n.filter(e?t=>t.indexOf(e)<0:t=>-1===t.indexOf("__svelte")),r=n.length-i.length;r&&(t.style.animation=i.join(", "),E-=r,E||g(()=>{E||(b.forEach(t=>{const e=t.__svelte_stylesheet;let n=e.cssRules.length;for(;n--;)e.deleteRule(n);t.__svelte_rules={}}),b.clear())}))}(a,h)}function p(t,e){var n=t.b-l;return e*=Math.abs(n),{a:l,b:t.b,d:n,duration:e,start:t.start,end:t.start+e,group:t.group}}function i(t){const{delay:e=0,duration:n=300,easing:i=m,tick:r=z,css:o}=u||j,s={start:y()+e,b:t};t||(s.group=I,I.r+=1),c||d?d=s:(o&&(f(),h=T(a,l,t,n,e,i,o)),t&&r(0,1),c=p(s,n),k(()=>N(a,t,"start")),function(e){let n;0===_.size&&g(v),new Promise(t=>{_.add(n={c:e,f:t})})}(t=>{return d&&t>d.start&&(c=p(d,n),d=null,N(a,c.b,"start"),o&&(f(),h=T(a,l,c.b,c.duration,0,i,u.css))),c&&(t>=c.end?(r(l=c.b,1-l),N(a,c.b,"end"),d||(c.b?f():--c.group.r||Z(c.group.c)),c=null):t>=c.start&&(t=t-c.start,l=c.a+c.d*i(t/c.duration),r(l,1-l))),!(!c&&!d)}))}return{run(t){x(u)?(O||(O=Promise.resolve(),O.then(()=>{O=null})),O.then(()=>{u=u(),i(t)})):i(t)},end(){f(),c=d=null}}}function H(i,t,e,n,r,o,s=[-1]){var a=p;M(i);const u=i.$$={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(a?a.$$.context:t.context||[]),callbacks:d(),dirty:s,skip_bound:!1};let l=!1;if(u.ctx=e?e(i,t.props||{},(t,e,...n)=>{n=n.length?n[0]:e;return u.ctx&&r(u.ctx[t],u.ctx[t]=n)&&(!u.skip_bound&&u.bound[t]&&u.bound[t](n),l&&(n=t,-1===(t=i).$$.dirty[0]&&(C.push(t),D||(D=!0,L.then(P)),t.$$.dirty.fill(0)),t.$$.dirty[n/31|0]|=1<<n%31)),e}):[],u.update(),l=!0,Z(u.before_update),u.fragment=!!n&&n(u.ctx),t.target){if(t.hydrate){const z=(n=t.target,Array.from(n.childNodes));u.fragment&&u.fragment.l(z),z.forEach(J)}else u.fragment&&u.fragment.c();t.intro&&Y(i.$$.fragment),function(e,t,n,i){const{fragment:r,on_mount:o,on_destroy:s,after_update:a}=e.$$;r&&r.m(t,n),i||k(()=>{var t=o.map(c).filter(x);s?s.push(...t):Z(t),e.$$.on_mount=[]}),a.forEach(k)}(i,t.target,t.anchor,t.customElement),P()}M(a)}let B;"function"==typeof HTMLElement&&(B=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(c).filter(x);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,n){this[t]=n}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 n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{var t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){this.$$set&&0!==Object.keys(t).length&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});var V,st,at="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==at&&at,ut="URLSearchParams"in at,lt="Symbol"in at&&"iterator"in Symbol,ct="FileReader"in at&&"Blob"in at&&function(){try{return new Blob,!0}catch(t){return!1}}(),dt="FormData"in at,ht="ArrayBuffer"in at;function ft(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 mt(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return lt&&(t[Symbol.iterator]=function(){return t}),t}function yt(e){this.map={},e instanceof yt?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 gt(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function _t(n){return new Promise(function(t,e){n.onload=function(){t(n.result)},n.onerror=function(){e(n.error)}})}function vt(t){var e=new FileReader,n=_t(e);return e.readAsArrayBuffer(t),n}function wt(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function bt(){return this.bodyUsed=!1,this._initBody=function(t){this.bodyUsed=this.bodyUsed,(this._bodyInit=t)?"string"==typeof t?this._bodyText=t:ct&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:dt&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:ut&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():ht&&ct&&t&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=wt(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ht&&(ArrayBuffer.prototype.isPrototypeOf(t)||st(t))?this._bodyArrayBuffer=wt(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"))},ct&&(this.blob=function(){var t=gt(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?gt(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(vt)}),this.text=function(){var t,e,n=gt(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,n=_t(e),e.readAsText(t),n;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),n=new Array(e.length),i=0;i<e.length;i++)n[i]=String.fromCharCode(e[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},dt&&(this.formData=function(){return this.text().then(xt)}),this.json=function(){return this.text().then(JSON.parse)},this}ht&&(V=["[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<V.indexOf(Object.prototype.toString.call(t))}),yt.prototype.append=function(t,e){t=ft(t),e=pt(e);var n=this.map[t];this.map[t]=n?n+", "+e:e},yt.prototype.delete=function(t){delete this.map[ft(t)]},yt.prototype.get=function(t){return t=ft(t),this.has(t)?this.map[t]:null},yt.prototype.has=function(t){return this.map.hasOwnProperty(ft(t))},yt.prototype.set=function(t,e){this.map[ft(t)]=pt(e)},yt.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},yt.prototype.keys=function(){var n=[];return this.forEach(function(t,e){n.push(e)}),mt(n)},yt.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),mt(e)},yt.prototype.entries=function(){var n=[];return this.forEach(function(t,e){n.push([e,t])}),mt(n)},lt&&(yt.prototype[Symbol.iterator]=yt.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 n,i=(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 yt(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=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 yt(e.headers)),this.method=(t=(n=e.method||this.method||"GET").toUpperCase(),-1<Et.indexOf(t)?t:n),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i),"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 xt(t){var n=new FormData;return t.trim().split("&").forEach(function(t){var e;t&&(t=(e=t.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function St(t,e){if(!(this instanceof St))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 yt(e.headers),this.url=e.url||"",this._initBody(t)}Tt.prototype.clone=function(){return new Tt(this,{body:this._bodyInit})},bt.call(Tt.prototype),bt.call(St.prototype),St.prototype.clone=function(){return new St(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new yt(this.headers),url:this.url})},St.error=function(){var t=new St(null,{status:0,statusText:""});return t.type="error",t};var At=[301,302,303,307,308];St.redirect=function(t,e){if(-1===At.indexOf(e))throw new RangeError("Invalid status code");return new St(null,{status:e,headers:{location:t}})};var Mt=at.DOMException;try{new Mt}catch(z){(Mt=function(t,e){this.message=t,this.name=e;t=Error(t);this.stack=t.stack}).prototype=Object.create(Error.prototype),Mt.prototype.constructor=Mt}function Ct(i,s){return new Promise(function(r,t){var e=new Tt(i,s);if(e.signal&&e.signal.aborted)return t(new Mt("Aborted","AbortError"));var o=new XMLHttpRequest;function n(){o.abort()}o.onload=function(){var t,n,e={status:o.status,statusText:o.statusText,headers:(t=o.getAllResponseHeaders()||"",n=new yt,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(),n.append(t,e))}),n)};e.url="responseURL"in o?o.responseURL:e.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;setTimeout(function(){r(new St(i,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 Mt("Aborted","AbortError"))},0)},o.open(e.method,function(e){try{return""===e&&at.location.href?at.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&&(ct?o.responseType="blob":ht&&e.headers.get("Content-Type")&&-1!==e.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof yt?e.headers.forEach(function(t,e){o.setRequestHeader(e,t)}):Object.getOwnPropertyNames(s.headers).forEach(function(t){o.setRequestHeader(t,pt(s.headers[t]))}),e.signal&&(e.signal.addEventListener("abort",n),o.onreadystatechange=function(){4===o.readyState&&e.signal.removeEventListener("abort",n)}),o.send(void 0===e._bodyInit?null:e._bodyInit)})}function kn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Ct.polyfill=!0,at.fetch||(at.fetch=Ct,at.Headers=yt,at.Request=Tt,at.Response=St),self.fetch.bind(self);var Lt=function(t,e){return(Lt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(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 n(){this.constructor=t}Lt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function kt(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return{value:(t=t&&i>=t.length?void 0:t)&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Pt(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(i=o.next()).done;)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return s}function Ot(t,e){for(var n=0,i=e.length,r=t.length;n<i;n++,r++)t[r]=e[n];return t}function Nt(t){return"function"==typeof t}function It(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=It(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 Rt(t,e){!t||0<=(e=t.indexOf(e))&&t.splice(e,1)}var Ft=(Gt.prototype.unsubscribe=function(){var t,e,n,i,r;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=kt(o),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}else o.remove(this);o=this.initialTeardown;if(Nt(o))try{o()}catch(t){r=t instanceof Yt?t.errors:[t]}o=this._teardowns;if(o){this._teardowns=null;try{for(var u=kt(o),l=u.next();!l.done;l=u.next()){var c=l.value;try{jt(c)}catch(t){r=null!=r?r:[],t instanceof Yt?r=Ot(Ot([],Pt(r)),Pt(t.errors)):r.push(t)}}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}}if(r)throw new Yt(r)}},Gt.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)jt(t);else{if(t instanceof Gt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(e=this._teardowns)&&void 0!==e?e:[]).push(t)}},Gt.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},Gt.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},Gt.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&Rt(e,t)},Gt.prototype.remove=function(t){var e=this._teardowns;e&&Rt(e,t),t instanceof Gt&&t._removeParent(this)},Gt.EMPTY=((cn=new Gt).closed=!0,cn),Gt),Ut=Ft.EMPTY;function Gt(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}function Wt(t){return t instanceof Ft||t&&"closed"in t&&Nt(t.remove)&&Nt(t.add)&&Nt(t.unsubscribe)}function jt(t){Nt(t)?t():t.unsubscribe()}var $t=void 0,Ht=!1,Bt=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return setTimeout.apply(void 0,Ot([],Pt(t)))};function Vt(){}function zt(t){t()}var Zt,Xt,qt=(Dt(Qt,Xt=Ft),Qt.create=function(t,e,n){return new Jt(t,e,n)},Qt.prototype.next=function(t){this.isStopped||this._next(t)},Qt.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},Qt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Qt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Xt.prototype.unsubscribe.call(this),this.destination=null)},Qt.prototype._next=function(t){this.destination.next(t)},Qt.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},Qt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Qt),Jt=(Dt(Kt,Zt=qt),Kt);function Kt(t,e,n){var i,r,o=Zt.call(this)||this;return Nt(t)?r=t:t&&(r=t.next,e=t.error,n=t.complete,o&&Ht?(i=Object.create(t)).unsubscribe=function(){return o.unsubscribe()}:i=t,r=null==r?void 0:r.bind(i),e=null==e?void 0:e.bind(i),n=null==n?void 0:n.bind(i)),o.destination={next:r?te(r):Vt,error:te(null!=e?e:ee),complete:n?te(n):Vt},o}function Qt(t){var e=Xt.call(this)||this;return e.isStopped=!1,t?Wt(e.destination=t)&&t.add(e):e.destination=ne,e}function te(i){return function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];try{i.apply(void 0,Ot([],Pt(t)))}catch(t){e=t,Bt(function(){throw e})}}}function ee(t){throw t}var ne={closed:!0,next:Vt,error:ee,complete:Vt},ie="function"==typeof Symbol&&Symbol.observable||"@@observable";function re(t){return t}var oe=(se.prototype.lift=function(t){var e=new se;return e.source=this,e.operator=t,e},se.prototype.subscribe=function(t,e,n){var i,r=this,o=(i=t)&&i instanceof qt||i&&Nt(i.next)&&Nt(i.error)&&Nt(i.complete)&&Wt(i)?t:new Jt(t,e,n);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(i,t){var r=this;return new(t=ae(t))(function(t,e){var n=r.subscribe(function(t){try{i(t)}catch(t){e(t),null==n||n.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[ie]=function(){return this},se.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?re:1===e.length?e[0]:function(t){return e.reduce(function(t,e){return e(t)},t)})(this)},se.prototype.toPromise=function(t){var i=this;return new(t=ae(t))(function(t,e){var n;i.subscribe(function(t){return n=t},function(t){return e(t)},function(){return t(n)})})},se.create=function(t){return new se(t)},se);function se(t){t&&(this._subscribe=t)}function ae(t){return null!==(t=null!=t?t:$t)&&void 0!==t?t:Promise}var ue,le,ce,de=It(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),he=(Dt(_e,ce=oe),_e.prototype.lift=function(t){var e=new fe(this,this);return e.operator=t,e},_e.prototype._throwIfClosed=function(){if(this.closed)throw new de},_e.prototype.next=function(o){var s=this;zt(function(){var e,t;if(s._throwIfClosed(),!s.isStopped){var n=s.observers.slice();try{for(var i=kt(n),r=i.next();!r.done;r=i.next())r.value.next(o)}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}}})},_e.prototype.error=function(e){var n=this;zt(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=e;for(var t=n.observers;t.length;)t.shift().error(e)}})},_e.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()}})},_e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(_e.prototype,"observed",{get:function(){var t;return 0<(null===(t=this.observers)||void 0===t?void 0:t.length)},enumerable:!1,configurable:!0}),_e.prototype._trySubscribe=function(t){return this._throwIfClosed(),ce.prototype._trySubscribe.call(this,t)},_e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},_e.prototype._innerSubscribe=function(t){var e=this.hasError,n=this.isStopped,i=this.observers;return e||n?Ut:(i.push(t),new Ft(function(){return Rt(i,t)}))},_e.prototype._checkFinalizedStatuses=function(t){var e=this.hasError,n=this.thrownError,i=this.isStopped;e?t.error(n):i&&t.complete()},_e.prototype.asObservable=function(){var t=new oe;return t.source=this,t},_e.create=function(t,e){return new fe(t,e)},_e),fe=(Dt(ge,le=he),ge.prototype.next=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)},ge.prototype.error=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)},ge.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)},ge.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:Ut},ge),pe={now:function(){return(pe.delegate||Date).now()},delegate:void 0},me=(Dt(ye,ue=he),ye.prototype.next=function(t){var e=this,n=e.isStopped,i=e._buffer,r=e._infiniteTimeWindow,o=e._timestampProvider,e=e._windowTime;n||(i.push(t),r||i.push(o.now()+e)),this._trimBuffer(),ue.prototype.next.call(this,t)},ye.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),n=this._infiniteTimeWindow,i=this._buffer.slice(),r=0;r<i.length&&!t.closed;r+=n?1:2)t.next(i[r]);return this._checkFinalizedStatuses(t),e},ye.prototype._trimBuffer=function(){var t=this._bufferSize,e=this._timestampProvider,n=this._buffer,i=this._infiniteTimeWindow,r=(i?1:2)*t;if(t<1/0&&r<n.length&&n.splice(0,n.length-r),!i){for(var o=e.now(),s=0,a=1;a<n.length&&n[a]<=o;a+=2)s=a;s&&n.splice(0,s+1)}},ye);function ye(t,e,n){void 0===t&&(t=1/0),void 0===e&&(e=1/0),void 0===n&&(n=pe);var i=ue.call(this)||this;return i._bufferSize=t,i._windowTime=e,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=e===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,e),i}function ge(t,e){var n=le.call(this)||this;return n.destination=t,n.source=e,n}function _e(){var t=ce.call(this)||this;return t.closed=!1,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}let ve=[],we={};const be=[];function Ee(i,r=z){let o;const s=[];function a(t){if(n(i,t)&&(i=t,o)){const t=!be.length;for(let t=0;t<s.length;t+=1){const e=s[t];e[1](),be.push(e,i)}if(t){for(let t=0;t<be.length;t+=2)be[t][0](be[t+1]);be.length=0}}}return{set:a,update:function(t){a(t(i))},subscribe:function(t,e=z){const n=[t,e];return s.push(n),1===s.length&&(o=r(a)||z),t(i),()=>{var t=s.indexOf(n);-1!==t&&s.splice(t,1),0===s.length&&(o(),o=null)}}}}function Te(t,a,e){const u=!Array.isArray(t),l=u?[t]:t,c=a.length<2;return{subscribe:Ee(e,e=>{let n=!1;const i=[];let r=0,o=z;const s=()=>{var t;r||(o(),t=a(u?i[0]:i,e),c?e(t):o=x(t)?t:z)},t=l.map((t,e)=>h(t,t=>{i[e]=t,r&=~(1<<e),n&&s()},()=>{r|=1<<e}));return n=!0,s(),function(){Z(t),o()}}).subscribe}}var xe=function(t){return!(!t||"object"!=typeof t||(e=t,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Se));var e},Se="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Ae(t,e){return!1!==e.clone&&e.isMergeableObject(t)?ke(Array.isArray(t)?[]:{},t,e):t}function Me(t,e,n){return t.concat(e).map(function(t){return Ae(t,n)})}function Ce(t){return Object.keys(t).concat((e=t,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]));var e}function Le(t,e){try{return e in t}catch(t){return!1}}function De(i,r,o){var s={};return o.isMergeableObject(i)&&Ce(i).forEach(function(t){s[t]=Ae(i[t],o)}),Ce(r).forEach(function(e){var t,n;(!Le(t=i,n=e)||Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))&&(Le(i,e)&&o.isMergeableObject(r[e])?s[e]=function(){if(!o.customMerge)return ke;var t=o.customMerge(e);return"function"==typeof t?t:ke}()(i[e],r[e],o):s[e]=Ae(r[e],o))}),s}function ke(t,e,n){(n=n||{}).arrayMerge=n.arrayMerge||Me,n.isMergeableObject=n.isMergeableObject||xe,n.cloneUnlessOtherwiseSpecified=Ae;var i=Array.isArray(e);return i===Array.isArray(t)?i?n.arrayMerge(t,e,n):De(t,e,n):Ae(e,n)}ke.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,e){return ke(t,e,n)},{})};var Pe=ke,Oe=function(t,e){return(Oe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function Ne(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Oe(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Ie,Ye,Re,Fe=function(){return(Fe=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function Ue(t,e){for(var n=0,i=e.length,r=t.length;n<i;n++,r++)t[r]=e[n];return t}function Ge(t){return t.type===Ye.literal}function We(t){return t.type===Ye.number}function je(t){return t.type===Ye.date}function $e(t){return t.type===Ye.time}function He(t){return t.type===Ye.select}function Be(t){return t.type===Ye.plural}function Ve(t){return t.type===Ye.tag}function ze(t){return t&&"object"==typeof t&&t.type===Re.number}function Ze(t){return t&&"object"==typeof t&&t.type===Re.dateTime}(dn=Ie=Ie||{})[dn.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",dn[dn.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",dn[dn.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",dn[dn.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",dn[dn.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",dn[dn.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",dn[dn.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",dn[dn.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",dn[dn.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",dn[dn.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",dn[dn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",dn[dn.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",dn[dn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",dn[dn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",dn[dn.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",dn[dn.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",dn[dn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",dn[dn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",dn[dn.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",dn[dn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",dn[dn.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",dn[dn.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",dn[dn.INVALID_TAG=23]="INVALID_TAG",dn[dn.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",dn[dn.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",dn[dn.UNCLOSED_TAG=27]="UNCLOSED_TAG",(hn=Ye=Ye||{})[hn.literal=0]="literal",hn[hn.argument=1]="argument",hn[hn.number=2]="number",hn[hn.date=3]="date",hn[hn.time=4]="time",hn[hn.select=5]="select",hn[hn.plural=6]="plural",hn[hn.pound=7]="pound",hn[hn.tag=8]="tag",(fn=Re=Re||{})[fn.number=0]="number",fn[fn.dateTime=1]="dateTime";var t=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Xe=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var qe,Je=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Ke=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Qe=/^(@+)?(\+|#+)?$/g,tn=/(\*)(0+)|(#+)(0+)|(0+)/g,en=/^(0+)$/;function nn(t){var i={};return t.replace(Qe,function(t,e,n){return"string"!=typeof n?(i.minimumSignificantDigits=e.length,i.maximumSignificantDigits=e.length):"+"===n?i.minimumSignificantDigits=e.length:"#"===e[0]?i.maximumSignificantDigits=e.length:(i.minimumSignificantDigits=e.length,i.maximumSignificantDigits=e.length+("string"==typeof n?n.length:0)),""}),i}function rn(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 on(t){return rn(t)||{}}function sn(t){for(var s={},e=0,n=t;e<n.length;e++){var i,r=n[e];switch(r.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=r.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=Fe(Fe(Fe({},s),{notation:"scientific"}),r.options.reduce(function(t,e){return Fe(Fe({},t),on(e))},{}));continue;case"engineering":s=Fe(Fe(Fe({},s),{notation:"engineering"}),r.options.reduce(function(t,e){return Fe(Fe({},t),on(e))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.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(tn,function(t,e,n,i,r,o){if(e)s.minimumIntegerDigits=n.length;else{if(i&&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(en.test(r.stem))s.minimumIntegerDigits=r.stem.length;else if(Ke.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Ke,function(t,e,n,i,r,o){return"*"===n?s.minimumFractionDigits=e.length:i&&"#"===i[0]?s.maximumFractionDigits=i.length:r&&o?(s.minimumFractionDigits=r.length,s.maximumFractionDigits=r.length+o.length):(s.minimumFractionDigits=e.length,s.maximumFractionDigits=e.length),""}),r.options.length&&(s=Fe(Fe({},s),nn(r.options[0])))}else Qe.test(r.stem)?s=Fe(Fe({},s),nn(r.stem)):((i=rn(r.stem))&&(s=Fe(Fe({},s),i)),(i=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 n=t.slice(0,2);if("+!"===n?(e.signDisplay="always",t=t.slice(2)):"+?"===n&&(e.signDisplay="exceptZero",t=t.slice(2)),!en.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}(r.stem))&&(s=Fe(Fe({},s),i)))}return s}var an=new RegExp("^"+t.source+"*"),un=new RegExp(t.source+"*$");function ln(t,e){return{start:t,end:e}}var cn=!!String.prototype.startsWith,ie=!!String.fromCodePoint,he=!!Object.fromEntries,dn=!!String.prototype.codePointAt,hn=!!String.prototype.trimStart,fn=!!String.prototype.trimEnd,pn=Number.isSafeInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},t=!0;try{t="a"===(null===(qe=Tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===qe?void 0:qe[0])}catch(z){t=!1}var mn,yn,gn=cn?function(t,e,n){return t.startsWith(e,n)}:function(t,e,n){return t.slice(n,n+e.length)===e},_n=ie?String.fromCodePoint:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n,i="",r=t.length,o=0;o<r;){if(1114111<(n=t[o++]))throw RangeError(n+" is not a valid code point");i+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return i},vn=he?Object.fromEntries:function(t){for(var e={},n=0,i=t;n<i.length;n++){var r=i[n],o=r[0],r=r[1];e[o]=r}return e},wn=dn?function(t,e){return t.codePointAt(e)}:function(t,e){var n=t.length;if(!(e<0||n<=e)){var i,r=t.charCodeAt(e);return r<55296||56319<r||e+1===n||(i=t.charCodeAt(e+1))<56320||57343<i?r:i-56320+(r-55296<<10)+65536}},bn=hn?function(t){return t.trimStart()}:function(t){return t.replace(an,"")},En=fn?function(t){return t.trimEnd()}:function(t){return t.replace(un,"")};function Tn(t,e){return new RegExp(t,e)}yn=t?(mn=Tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(t,e){return mn.lastIndex=e,null!==(t=mn.exec(t)[1])&&void 0!==t?t:""}):function(t,e){for(var n,i=[];;){var r=wn(t,e);if(void 0===r||Mn(r)||(33<=(n=r)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;i.push(r),e+=65536<=r?2:1}return _n.apply(void 0,i)};var xn=(Sn.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Sn.prototype.parseMessage=function(t,e,n){for(var i=[];!this.isEOF();){var r,o=this.char();if(123===o){if((r=this.parseArgument(t,n)).err)return r;i.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(n)break;return this.error(Ie.UNMATCHED_CLOSING_TAG,ln(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&An(this.peek()||0)){if((r=this.parseTag(t,e)).err)return r;i.push(r.val)}else{if((r=this.parseLiteral(t,e)).err)return r;i.push(r.val)}}else{o=this.clonePosition();this.bump(),i.push({type:Ye.pound,location:ln(o,this.clonePosition())})}}}return{val:i,err:null}},Sn.prototype.parseTag=function(t,e){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Ye.literal,value:"<"+i+"/>",location:ln(n,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()||!An(this.char()))return this.error(Ie.INVALID_TAG,ln(e,this.clonePosition()));r=this.clonePosition();return i!==this.parseTagName()?this.error(Ie.UNMATCHED_CLOSING_TAG,ln(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Ye.tag,value:i,children:t,location:ln(n,this.clonePosition())},err:null}:this.error(Ie.INVALID_TAG,ln(e,this.clonePosition())))}return this.error(Ie.UNCLOSED_TAG,ln(n,this.clonePosition()))}return this.error(Ie.INVALID_TAG,ln(n,this.clonePosition()))},Sn.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())},Sn.prototype.parseLiteral=function(t,e){for(var n=this.clonePosition(),i="";;){var r=this.tryParseQuote(e);if(r)i+=r;else{r=this.tryParseUnquoted(t,e);if(r)i+=r;else{r=this.tryParseLeftAngleBracket();if(!r)break;i+=r}}}n=ln(n,this.clonePosition());return{val:{type:Ye.literal,value:i,location:n},err:null}},Sn.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(An(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},Sn.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 n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(n);this.bump()}return _n.apply(void 0,e)},Sn.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===e||"selectordinal"===e)||125===n&&0<t?null:(this.bump(),_n(n))},Sn.prototype.parseArgument=function(t,e){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Ie.EXPECT_ARGUMENT_CLOSING_BRACE,ln(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Ie.EMPTY_ARGUMENT,ln(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(Ie.MALFORMED_ARGUMENT,ln(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Ie.EXPECT_ARGUMENT_CLOSING_BRACE,ln(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Ye.argument,value:i,location:ln(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Ie.EXPECT_ARGUMENT_CLOSING_BRACE,ln(n,this.clonePosition())):this.parseArgumentOptions(t,e,i,n);default:return this.error(Ie.MALFORMED_ARGUMENT,ln(n,this.clonePosition()))}},Sn.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),n=yn(this.message,e),e=e+n.length;return this.bumpTo(e),{value:n,location:ln(t,this.clonePosition())}},Sn.prototype.parseArgumentOptions=function(t,e,n,i){var r,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(Ie.EXPECT_ARGUMENT_TYPE,ln(o,a));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(d=En(h.val)).length)return this.error(Ie.EXPECT_ARGUMENT_STYLE,ln(this.clonePosition(),this.clonePosition()));u={style:d,styleLocation:ln(l,this.clonePosition())}}if((f=this.tryParseArgumentClose(i)).err)return f;var c=ln(i,this.clonePosition());if(u&&gn(null==u?void 0:u.style,"::",0)){l=bn(u.style.slice(2));if("number"===s)return(h=this.parseNumberSkeletonFromString(l,u.styleLocation)).err?h:{val:{type:Ye.number,value:n,location:c,style:h.val},err:null};if(0===l.length)return this.error(Ie.EXPECT_DATE_TIME_SKELETON,c);var d={type:Re.dateTime,pattern:l,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},l.replace(Xe,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"===s?Ye.date:Ye.time,value:n,location:c,style:d},err:null}}return{val:{type:"number"===s?Ye.number:"date"===s?Ye.date:Ye.time,value:n,location:c,style:null!==(c=null==u?void 0:u.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Ie.EXPECT_SELECT_ARGUMENT_OPTIONS,ln(u,Fe({},u)));this.bumpSpace();var h,c=this.parseIdentifierIfPossible(),u=0;if("select"!==s&&"offset"===c.value){if(!this.bumpIf(":"))return this.error(Ie.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ln(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(Ie.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ie.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),c=this.parseIdentifierIfPossible(),u=h.val}c=this.tryParsePluralOrSelectOptions(t,s,e,c);if(c.err)return c;if((f=this.tryParseArgumentClose(i)).err)return f;var f=ln(i,this.clonePosition());return"select"===s?{val:{type:Ye.select,value:n,options:vn(c.val),location:f},err:null}:{val:{type:Ye.plural,value:n,options:vn(c.val),offset:u,pluralType:"plural"===s?"cardinal":"ordinal",location:f},err:null};default:return this.error(Ie.INVALID_ARGUMENT_TYPE,ln(o,a))}},Sn.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(Ie.EXPECT_ARGUMENT_CLOSING_BRACE,ln(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},Sn.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Ie.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,ln(n,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}},Sn.prototype.parseNumberSkeletonFromString=function(t,e){var n=[];try{n=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var e=[],n=0,i=t.split(Je).filter(function(t){return 0<t.length});n<i.length;n++){var r=i[n].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var o=r[0],r=r.slice(1),s=0,a=r;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");e.push({stem:o,options:r})}return e}(t)}catch(t){return this.error(Ie.INVALID_NUMBER_SKELETON,e)}return{val:{type:Re.number,tokens:n,location:e,parsedOptions:this.shouldParseSkeletons?sn(n):{}},err:null}},Sn.prototype.tryParsePluralOrSelectOptions=function(t,e,n,i){for(var r=!1,o=[],s=new Set,a=i.value,u=i.location;;){if(0===a.length){var l=this.clonePosition();if("select"===e||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(Ie.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ie.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;u=ln(l,this.clonePosition()),a=this.message.slice(l.offset,this.offset())}if(s.has(a))return this.error("select"===e?Ie.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Ie.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===a&&(r=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?Ie.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Ie.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,ln(this.clonePosition(),this.clonePosition()));c=this.parseMessage(t+1,e,n);if(c.err)return c;l=this.tryParseArgumentClose(d);if(l.err)return l;o.push([a,{value:c.val,location:ln(d,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(d=this.parseIdentifierIfPossible()).value,u=d.location}return 0===o.length?this.error("select"===e?Ie.EXPECT_SELECT_ARGUMENT_SELECTOR:Ie.EXPECT_PLURAL_ARGUMENT_SELECTOR,ln(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(Ie.MISSING_OTHER_CLAUSE,ln(this.clonePosition(),this.clonePosition())):{val:o,err:null}},Sn.prototype.tryParseDecimalInteger=function(t,e){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var r=!1,o=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;r=!0,o=10*o+(s-48),this.bump()}i=ln(i,this.clonePosition());return r?pn(o*=n)?{val:o,err:null}:this.error(e,i):this.error(t,i)},Sn.prototype.offset=function(){return this.position.offset},Sn.prototype.isEOF=function(){return this.offset()===this.message.length},Sn.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Sn.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var e=wn(this.message,t);if(void 0===e)throw Error("Offset "+t+" is at invalid UTF-16 code unit boundary");return e},Sn.prototype.error=function(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}},Sn.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))},Sn.prototype.bumpIf=function(t){if(gn(this.message,t,this.offset())){for(var e=0;e<t.length;e++)this.bump();return!0}return!1},Sn.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)},Sn.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}},Sn.prototype.bumpSpace=function(){for(;!this.isEOF()&&Mn(this.char());)this.bump()},Sn.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},Sn);function Sn(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 An(t){return 97<=t&&t<=122||65<=t&&t<=90}function Mn(t){return 9<=t&&t<=13||32===t||133===t||8206<=t&&t<=8207||8232===t||8233===t}function Cn(t,e){e=Fe({shouldParseSkeletons:!0,requiresOtherClause:!0},e=void 0===e?{}:e);var n=new xn(t,e).parse();if(n.err){t=SyntaxError(Ie[n.err.kind]);throw t.location=n.err.location,t.originalMessage=n.err.message,t}return null!=e&&e.captureLocation||function n(t){t.forEach(function(t){if(delete t.location,He(t)||Be(t))for(var e in t.options)delete t.options[e].location,n(t.options[e].value);else We(t)&&ze(t.style)||(je(t)||$e(t))&&Ze(t.style)?delete t.style.location:Ve(t)&&n(t.children)})}(n.val),n.val}function Ln(t,e){var n=e&&e.cache?e.cache:Rn,i=e&&e.serializer?e.serializer:Nn;return(e&&e.strategy?e.strategy:function(t,e){return On(t,this,1===t.length?Dn:Pn,e.cache.create(),e.serializer)})(t,{cache:n,serializer:i})}function Dn(t,e,n,i){var r=null==i||"number"==typeof i||"boolean"==typeof i?i:n(i),n=e.get(r);return void 0===n&&(n=t.call(this,i),e.set(r,n)),n}function Pn(t,e,n){var i=Array.prototype.slice.call(arguments,3),r=n(i),n=e.get(r);return void 0===n&&(n=t.apply(this,i),e.set(r,n)),n}function On(t,e,n,i,r){return n.bind(e,t,i,r)}var Nn=function(){return JSON.stringify(arguments)};function In(){this.cache=Object.create(null)}In.prototype.has=function(t){return t in this.cache},In.prototype.get=function(t){return this.cache[t]},In.prototype.set=function(t,e){this.cache[t]=e};var Yn,Rn={create:function(){return new In}},Fn={variadic:function(t,e){return On(t,this,Pn,e.cache.create(),e.serializer)},monadic:function(t,e){return On(t,this,Dn,e.cache.create(),e.serializer)}};(t=Yn=Yn||{}).MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API";var Un,Gn,Wn,jn,$n,Hn=(Ne(Jn,$n=Error),Jn.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Jn),Bn=(Ne(qn,jn=Hn),qn),Vn=(Ne(Xn,Wn=Hn),Xn),zn=(Ne(Zn,Gn=Hn),Zn);function Zn(t,e){return Gn.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+e+'"',Yn.MISSING_VALUE,e)||this}function Xn(t,e,n){return Wn.call(this,'Value for "'+t+'" must be of type '+e,Yn.INVALID_VALUE,n)||this}function qn(t,e,n,i){return jn.call(this,'Invalid values for "'+t+'": "'+e+'". Options are "'+Object.keys(n).join('", "')+'"',Yn.INVALID_VALUE,i)||this}function Jn(t,e,n){t=$n.call(this,t)||this;return t.code=e,t.originalMessage=n,t}function Kn(t,e,n,i,r,o,s){if(1===t.length&&Ge(t[0]))return[{type:Un.literal,value:t[0].value}];for(var a=[],u=0,l=t;u<l.length;u++){var c=l[u];if(Ge(c))a.push({type:Un.literal,value:c.value});else if(c.type===Ye.pound)"number"==typeof o&&a.push({type:Un.literal,value:n.getNumberFormat(e).format(o)});else{var d=c.value;if(!(r&&d in r))throw new zn(d,s);var h=r[d];if(c.type===Ye.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?Un.literal:Un.object,value:h});else if(je(c)){var f="string"==typeof c.style?i.date[c.style]:Ze(c.style)?c.style.parsedOptions:void 0;a.push({type:Un.literal,value:n.getDateTimeFormat(e,f).format(h)})}else if($e(c))f="string"==typeof c.style?i.time[c.style]:Ze(c.style)?c.style.parsedOptions:void 0,a.push({type:Un.literal,value:n.getDateTimeFormat(e,f).format(h)});else if(We(c))(f="string"==typeof c.style?i.number[c.style]:ze(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(h*=f.scale||1),a.push({type:Un.literal,value:n.getNumberFormat(e,f).format(h)});else{if(Ve(c)){var p=c.children,m=c.value,d=r[m];if("function"!=typeof d)throw new Vn(m,"function",s);p=d(Kn(p,e,n,i,r,o).map(function(t){return t.value}));Array.isArray(p)||(p=[p]),a.push.apply(a,p.map(function(t){return{type:"string"==typeof t?Un.literal:Un.object,value:t}}))}if(He(c)){if(!(y=c.options[h]||c.options.other))throw new Bn(c.value,h,Object.keys(c.options),s);a.push.apply(a,Kn(y.value,e,n,i,r))}else if(Be(c)){if(!(y=c.options["="+h])){if(!Intl.PluralRules)throw new Hn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Yn.MISSING_INTL_API,s);var p=n.getPluralRules(e,{type:c.pluralType}).select(h-(c.offset||0)),y=c.options[p]||c.options.other}if(!y)throw new Bn(c.value,h,Object.keys(c.options),s);a.push.apply(a,Kn(y.value,e,n,i,r,h-(c.offset||0)))}}}}return a.length<2?a:a.reduce(function(t,e){var n=t[t.length-1];return n&&n.type===Un.literal&&e.type===Un.literal?n.value+=e.value:t.push(e),t},[])}function Qn(n){return{create:function(){return{has:function(t){return t in n},get:function(t){return n[t]},set:function(t,e){n[t]=e}}}}}(t=Un=Un||{})[t.literal=0]="literal",t[t.object=1]="object";var ti=(Object.defineProperty(ei,"defaultLocale",{get:function(){return ei.memoizedDefaultLocale||(ei.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),ei.memoizedDefaultLocale},enumerable:!1,configurable:!0}),ei.memoizedDefaultLocale=null,ei.__parse=Cn,ei.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"}}},ei);function ei(t,e,n,i){var r,o,s=this;if(void 0===e&&(e=ei.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){t=s.formatToParts(t);if(1===t.length)return t[0].value;t=t.reduce(function(t,e){return t.length&&e.type===Un.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 Kn(s.ast,s.locales,s.formatters,s.formats,t,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof t){if(this.message=t,!ei.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=ei.__parse(t,{ignoreTag:null==i?void 0:i.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=ei.formats,(o=n)?Object.keys(r).reduce(function(t,e){var n,i;return t[e]=(n=r[e],(i=o[e])?Fe(Fe(Fe({},n||{}),i||{}),Object.keys(n).reduce(function(t,e){return t[e]=Fe(Fe({},n[e]),i[e]||{}),t},{})):n),t},Fe({},r)):r),this.locales=e,this.formatters=i&&i.formatters||{getNumberFormat:Ln(function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Ue([void 0],e)))},{cache:Qn((i=void 0===(i=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:i).number),strategy:Fn.variadic}),getDateTimeFormat:Ln(function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Ue([void 0],e)))},{cache:Qn(i.dateTime),strategy:Fn.variadic}),getPluralRules:Ln(function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Ue([void 0],e)))},{cache:Qn(i.pluralRules),strategy:Fn.variadic})}}const ni={},ii=(e,n)=>{if(null!=n){if(n in ni&&e in ni[n])return ni[n][e];var i,r,o=vi(n);for(let t=0;t<o.length;t++){var s=(i=o[t],r=e,si(i)?function(t,e){if(e in t)return t[e];const n=e.split(".");let i=t;for(let t=0;t<n.length;t++)if("object"==typeof i){if(0<t){const e=n.slice(t,n.length).join(".");if(e in i){i=i[e];break}}i=i[n[t]]}else i=void 0;return i}(function(t){return ri[t]||null}(i),r):null);if(s)return i=e,r=n,(s=s)&&(r in ni||(ni[r]={}),i in ni[r]||(ni[r][i]=s),s)}}};let ri;const oi=Ee({});function si(t){return t in ri}function ai(e,...n){delete ni[e],oi.update(t=>(t[e]=Pe.all([t[e]||{},...n]),t))}Te([oi],([t])=>Object.keys(t)),oi.subscribe(t=>ri=t);const ui={};function li(t){return ui[t]}function ci(t){return vi(t).some(t=>{return null===(t=li(t))||void 0===t?void 0:t.size})}const di={};function hi(t){if(!ci(t))return t in di?di[t]:void 0;const e=vi(t).map(t=>{var e=li(t);return[t,e?[...e]:[]]}).filter(([,t])=>0<t.length);return di[t]=Promise.all(e.map(([t,n])=>function(e){return Promise.all(n.map(t=>(function(t,e){ui[t].delete(e),0===ui[t].size&&delete ui[t]}(e,t),t().then(t=>t.default||t)))).then(t=>ai(e,...t))}(t))).then(()=>ci(t)?hi(t):void delete di[t]),di[t]}function fi(t,e){var n={};for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}const pi={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 mi=Ee(!1);let yi;const gi=Ee(null);function _i(t){return t.split("-").map((t,e,n)=>n.slice(0,e+1).join("-")).reverse()}function vi(t,e=pi.fallbackLocale){t=_i(t);return e?[...new Set([...t,..._i(e)])]:t}gi.subscribe(t=>{yi=t,"undefined"!=typeof window&&null!==t&&document.documentElement.setAttribute("lang",t)});const wi=gi.set;gi.set=e=>{if(function(t){if(null!=t){var e=vi(t);for(let t=0;t<e.length;t++){var n=e[t];if(si(n))return n}}}(e)&&ci(e)){var{loadingDelay:n}=pi;let t;return"undefined"!=typeof window&&null!=yi&&n?t=window.setTimeout(()=>mi.set(!0),n):mi.set(!0),hi(e).then(()=>{wi(e)}).finally(()=>{clearTimeout(t),mi.set(!1)})}return wi(e)},gi.update=t=>wi(t(yi));const bi=n=>{const i=Object.create(null);return t=>{var e=JSON.stringify(t);return e in i?i[e]:i[e]=n(t)}},Ei=(t,e)=>{var{formats:n}=pi;if(t in n&&e in n[t])return n[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},Ti=bi(t=>{var{locale:e,format:n}=t,t=fi(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(t=Ei("number",n)),new Intl.NumberFormat(e,t)}),xi=bi(t=>{var{locale:e,format:n}=t,t=fi(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?t=Ei("date",n):0===Object.keys(t).length&&(t=Ei("date","short")),new Intl.DateTimeFormat(e,t)}),Si=bi(t=>{var{locale:e,format:n}=t,t=fi(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?t=Ei("time",n):0===Object.keys(t).length&&(t=Ei("time","short")),new Intl.DateTimeFormat(e,t)}),Ai=bi((t,e=yi)=>new ti(t,e,pi.formats,{ignoreTag:pi.ignoreTag})),Mi=Te([gi,oi],()=>(t,e={})=>{"object"==typeof t&&(t=(e=t).id);var{values:n,locale:i=yi,default:r}=e;if(null==i)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let o=ii(t,i);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 pi.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${t}" was not found in "${vi(i).join('", "')}".${ci(yi)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),o=r||t;if(!n)return o;let s=o;try{s=Ai(o,i).format(n)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return s});Te([gi],()=>(t,e)=>((t={})=>{var{locale:e=yi}=t,t=fi(t,["locale"]);return Si(Object.assign({locale:e},t))})(e).format(t)),Te([gi],()=>(t,e)=>((t={})=>{var{locale:e=yi}=t,t=fi(t,["locale"]);return xi(Object.assign({locale:e},t))})(e).format(t)),Te([gi],()=>(t,e)=>((t={})=>{var{locale:e=yi}=t,t=fi(t,["locale"]);return Ti(Object.assign({locale:e},t))})(e).format(t)),Te([gi,oi],()=>(t,e=yi)=>ii(t,e)),window.emWidgets={topic:(t,e=0)=>{return-1==ve.indexOf(t)&&(e=new me(e),we[t]=e,ve.push(t)),we[t]}};const Ci=t=>t.toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",Li={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 Di,ki,Pi=(ki=Di={path:void 0,exports:{},require:function(t,e){return kn(null==e&&Di.path)}},Di.exports,ki.exports=function(){var t;function p(){return t.apply(null,arguments)}function s(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function a(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function f(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function u(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 l(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 i(t,e){for(var n=[],i=0;i<t.length;++i)n.push(e(t[i],i));return n}function c(t,e){for(var n in e)f(e,n)&&(t[n]=e[n]);return f(e,"toString")&&(t.toString=e.toString),f(e,"valueOf")&&(t.valueOf=e.valueOf),t}function d(t,e,n,i){return Le(t,e,n,i,!0).utc()}function m(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 h(t){if(null==t._isValid){var e=m(t),n=g.call(e.parsedDateParts,function(t){return null!=t}),n=!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&&n);if(t._strict&&(n=n&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return n;t._isValid=n}return t._isValid}function y(t){var e=d(NaN);return null!=t?c(m(e),t):m(e).userInvalidated=!0,e}var g=Array.prototype.some||function(t){for(var e=Object(this),n=e.length>>>0,i=0;i<n;i++)if(i in e&&t.call(this,e[i],i,e))return!0;return!1},_=p.momentProperties=[],e=!1;function v(t,e){var n,i,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=m(e)),o(e._locale)||(t._locale=e._locale),0<_.length)for(n=0;n<_.length;n++)o(r=e[i=_[n]])||(t[i]=r);return t}function w(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,p.updateOffset(this),e=!1)}function b(t){return t instanceof w||null!=t&&null!=t._isAMomentObject}function E(t){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function n(r,o){var s=!0;return c(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,r),s){for(var t,e,n=[],i=0;i<arguments.length;i++){if(t="","object"==typeof arguments[i]){for(e in t+="\n["+i+"] ",arguments[0])f(arguments[0],e)&&(t+=e+": "+arguments[0][e]+", ");t=t.slice(0,-2)}else t=arguments[i];n.push(t)}E(r+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var T={};function x(t,e){null!=p.deprecationHandler&&p.deprecationHandler(t,e),T[t]||(E(e),T[t]=!0)}function S(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function A(t,e){var n,i=c({},t);for(n in e)f(e,n)&&(a(t[n])&&a(e[n])?(i[n]={},c(i[n],t[n]),c(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)f(t,n)&&!f(e,n)&&a(t[n])&&(i[n]=c({},i[n]));return i}function M(t){null!=t&&this.set(t)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var C=Object.keys||function(t){var e,n=[];for(e in t)f(t,e)&&n.push(e);return n};function L(t,e,n){var i=""+Math.abs(t);return(0<=t?n?"+":"":"-")+Math.pow(10,Math.max(0,e-i.length)).toString().substr(1)+i}var D=/(\[[^\[]*\])|(\\)?([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,k=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},O={};function N(t,e,n,i){var r="string"==typeof i?function(){return this[i]()}:i;t&&(O[t]=r),e&&(O[e[0]]=function(){return L(r.apply(this,arguments),e[1],e[2])}),n&&(O[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function I(t,e){return t.isValid()?(e=Y(e,t.localeData()),P[e]=P[e]||function(i){for(var t,r=i.match(D),e=0,o=r.length;e<o;e++)O[r[e]]?r[e]=O[r[e]]:r[e]=(t=r[e]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t){for(var e="",n=0;n<o;n++)e+=S(r[n])?r[n].call(t,i):r[n];return e}}(e),P[e](t)):t.localeData().invalidDate()}function Y(t,e){var n=5;function i(t){return e.longDateFormat(t)||t}for(k.lastIndex=0;0<=n&&k.test(t);)t=t.replace(k,i),k.lastIndex=0,--n;return t}var R={};function F(t,e){var n=t.toLowerCase();R[n]=R[n+"s"]=R[e]=t}function U(t){return"string"==typeof t?R[t]||R[t.toLowerCase()]:void 0}function G(t){var e,n,i={};for(n in t)f(t,n)&&(e=U(n))&&(i[e]=t[n]);return i}var W={};function j(t,e){W[t]=e}function $(t){return t%4==0&&t%100!=0||t%400==0}function H(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function B(t){var e=+t,t=0;return t=0!=e&&isFinite(e)?H(e):t}function V(e,n){return function(t){return null!=t?(Z(this,e,t),p.updateOffset(this,n),this):z(this,e)}}function z(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Z(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&$(t.year())&&1===t.month()&&29===t.date()?(n=B(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),Ct(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}var X=/\d/,q=/\d\d/,J=/\d{3}/,K=/\d{4}/,Q=/[+-]?\d{6}/,tt=/\d\d?/,et=/\d\d\d\d?/,nt=/\d\d\d\d\d\d?/,it=/\d{1,3}/,rt=/\d{1,4}/,ot=/[+-]?\d{1,6}/,st=/\d+/,at=/[+-]?\d+/,ut=/Z|[+-]\d\d:?\d\d/gi,lt=/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,n,i){pt[t]=S(n)?n:function(t,e){return t&&i?i:n}}function ht(t,e){return f(pt,t)?pt[t](e._strict,e._locale):new RegExp(ft(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r})))}function ft(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var pt={},mt={};function yt(t,n){var e,i=n;for("string"==typeof t&&(t=[t]),l(n)&&(i=function(t,e){e[n]=B(t)}),e=0;e<t.length;e++)mt[t[e]]=i}function gt(t,r){yt(t,function(t,e,n,i){n._w=n._w||{},r(t,n._w,n,i)})}var _t,vt=0,wt=1,bt=2,Et=3,Tt=4,xt=5,St=6,At=7,Mt=8;function Ct(t,e){if(isNaN(t)||isNaN(e))return NaN;var n,n=(e%(n=12)+n)%n;return t+=(e-n)/12,1==n?$(t)?29:28:31-n%7%2}_t=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"),j("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[wt]=B(t)-1}),yt(["MMM","MMMM"],function(t,e,n,i){i=n._locale.monthsParse(t,i,n._strict);null!=i?e[wt]=i:m(n).invalidMonth=t});var Lt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Dt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),kt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Pt=ct,Ot=ct;function Nt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=B(e);else if(!l(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),Ct(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function It(t){return null!=t?(Nt(this,t),p.updateOffset(this,!0),this):z(this,"Month")}function Yt(){function t(t,e){return e.length-t.length}for(var e,n=[],i=[],r=[],o=0;o<12;o++)e=d([2e3,o]),n.push(this.monthsShort(e,"")),i.push(this.months(e,"")),r.push(this.months(e,"")),r.push(this.monthsShort(e,""));for(n.sort(t),i.sort(t),r.sort(t),o=0;o<12;o++)n[o]=ft(n[o]),i[o]=ft(i[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("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Rt(t){return $(t)?366:365}N("Y",0,0,function(){var t=this.year();return t<=9999?L(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"),j("year",1),dt("Y",at),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?p.parseTwoDigitYear(t):B(t)}),yt("YY",function(t,e){e[vt]=p.parseTwoDigitYear(t)}),yt("Y",function(t,e){e[vt]=parseInt(t,10)}),p.parseTwoDigitYear=function(t){return B(t)+(68<B(t)?1900:2e3)};var Ft=V("FullYear",!0);function Ut(t,e,n,i,r,o,s){var a;return t<100&&0<=t?(a=new Date(t+400,e,n,i,r,o,s),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,e,n,i,r,o,s),a}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 Wt(t,e,n){n=7+e-n;return-(7+Gt(t,0,n).getUTCDay()-e)%7+n-1}function jt(t,e,n,i,r){var o,r=1+7*(e-1)+(7+n-i)%7+Wt(t,i,r),r=r<=0?Rt(o=t-1)+r:r>Rt(t)?(o=t+1,r-Rt(t)):(o=t,r);return{year:o,dayOfYear:r}}function $t(t,e,n){var i,r,o=Wt(t.year(),e,n),o=Math.floor((t.dayOfYear()-o-1)/7)+1;return o<1?i=o+Ht(r=t.year()-1,e,n):o>Ht(t.year(),e,n)?(i=o-Ht(t.year(),e,n),r=t.year()+1):(r=t.year(),i=o),{week:i,year:r}}function Ht(t,e,n){var i=Wt(t,e,n),n=Wt(t+1,e,n);return(Rt(t)-i+n)/7}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),j("week",5),j("isoWeek",5),dt("w",tt),dt("ww",tt,q),dt("W",tt),dt("WW",tt,q),gt(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=B(t)});function Bt(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"),j("day",11),j("weekday",11),j("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,n,i){i=n._locale.weekdaysParse(t,i,n._strict);null!=i?e.d=i:m(n).invalidWeekday=t}),gt(["d","e","E"],function(t,e,n,i){e[i]=B(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,n,i,r=[],o=[],s=[],a=[],u=0;u<7;u++)i=d([2e3,1]).day(u),e=ft(this.weekdaysMin(i,"")),n=ft(this.weekdaysShort(i,"")),i=ft(this.weekdays(i,"")),r.push(e),o.push(n),s.push(i),a.push(e),a.push(n),a.push(i);r.sort(t),o.sort(t),s.sort(t),a.sort(t),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.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)+L(this.minutes(),2)}),N("hmmss",0,0,function(){return""+Qt.apply(this)+L(this.minutes(),2)+L(this.seconds(),2)}),N("Hmm",0,0,function(){return""+this.hours()+L(this.minutes(),2)}),N("Hmmss",0,0,function(){return""+this.hours()+L(this.minutes(),2)+L(this.seconds(),2)}),te("a",!0),te("A",!1),F("hour","h"),j("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",nt),dt("Hmm",et),dt("Hmmss",nt),yt(["H","HH"],Et),yt(["k","kk"],function(t,e,n){t=B(t);e[Et]=24===t?0:t}),yt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),yt(["h","hh"],function(t,e,n){e[Et]=B(t),m(n).bigHour=!0}),yt("hmm",function(t,e,n){var i=t.length-2;e[Et]=B(t.substr(0,i)),e[Tt]=B(t.substr(i)),m(n).bigHour=!0}),yt("hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[Et]=B(t.substr(0,i)),e[Tt]=B(t.substr(i,2)),e[xt]=B(t.substr(r)),m(n).bigHour=!0}),yt("Hmm",function(t,e,n){var i=t.length-2;e[Et]=B(t.substr(0,i)),e[Tt]=B(t.substr(i))}),yt("Hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[Et]=B(t.substr(0,i)),e[Tt]=B(t.substr(i,2)),e[xt]=B(t.substr(r))});var ne=V("Hours",!0);var ie,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:Lt,monthsShort:Dt,week:{dow:0,doy:6},weekdays:Vt,weekdaysMin:Zt,weekdaysShort:zt,meridiemParse:/[ap]\.?m?\.?/i},oe={},se={};function ae(t){return t&&t.toLowerCase().replace("_","-")}function ue(t){for(var e,n,i,r,o=0;o<t.length;){for(e=(r=ae(t[o]).split("-")).length,n=(n=ae(t[o+1]))?n.split("-"):null;0<e;){if(i=le(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&function(t,e){for(var n=Math.min(t.length,e.length),i=0;i<n;i+=1)if(t[i]!==e[i])return i;return n}(r,n)>=e-1)break;e--}o++}return ie}function le(e){var t;if(void 0===oe[e]&&ki&&ki.exports)try{t=ie._abbr,kn(),ce(t)}catch(t){oe[e]=null}return oe[e]}function ce(t,e){return t&&((e=o(e)?he(t):de(t,e))?ie=e:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ie._abbr}function de(t,e){if(null===e)return delete oe[t],null;var n,i=re;if(e.abbr=t,null!=oe[t])x("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."),i=oe[t]._config;else if(null!=e.parentLocale)if(null!=oe[e.parentLocale])i=oe[e.parentLocale]._config;else{if(null==(n=le(e.parentLocale)))return se[e.parentLocale]||(se[e.parentLocale]=[]),se[e.parentLocale].push({name:t,config:e}),null;i=n._config}return oe[t]=new M(A(i,e)),se[t]&&se[t].forEach(function(t){de(t.name,t.config)}),ce(t),oe[t]}function he(t){var e;if(!(t=t&&t._locale&&t._locale._abbr?t._locale._abbr:t))return ie;if(!s(t)){if(e=le(t))return e;t=[t]}return ue(t)}function fe(t){var e=t._a;return e&&-2===m(t).overflow&&(e=e[wt]<0||11<e[wt]?wt:e[bt]<1||e[bt]>Ct(e[vt],e[wt])?bt:e[Et]<0||24<e[Et]||24===e[Et]&&(0!==e[Tt]||0!==e[xt]||0!==e[St])?Et:e[Tt]<0||59<e[Tt]?Tt:e[xt]<0||59<e[xt]?xt:e[St]<0||999<e[St]?St:-1,m(t)._overflowDayOfYear&&(e<vt||bt<e)&&(e=bt),m(t)._overflowWeeks&&-1===e&&(e=At),m(t)._overflowWeekday&&-1===e&&(e=Mt),m(t).overflow=e),t}var 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)?)?$/,me=/^\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]],_e=[["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,we=/^(?:(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 Ee(t){var e,n,i,r,o,s,a=t._i,u=pe.exec(a)||me.exec(a);if(u){for(m(t).iso=!0,e=0,n=ge.length;e<n;e++)if(ge[e][1].exec(u[1])){r=ge[e][0],i=!1!==ge[e][2];break}if(null==r)return t._isValid=!1;if(u[3]){for(e=0,n=_e.length;e<n;e++)if(_e[e][1].exec(u[3])){o=(u[2]||" ")+_e[e][0];break}if(null==o)return t._isValid=!1}if(!i&&null!=o)return t._isValid=!1;if(u[4]){if(!ye.exec(u[4]))return t._isValid=!1;s="Z"}t._f=r+(o||"")+(s||""),Me(t)}else t._isValid=!1}function Te(t,e,n,i,r,o){r=[function(t){t=parseInt(t,10);return t<=49?2e3+t:t<=999?1900+t:t}(t),Dt.indexOf(e),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return o&&r.push(parseInt(o,10)),r}function xe(t){var e,n,i,r,o=we.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(e=Te(o[4],o[3],o[2],o[5],o[6],o[7]),n=o[1],i=e,r=t,n&&zt.indexOf(n)!==new Date(i[0],i[1],i[2]).getDay()?(m(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),m(t).rfc2822=!0)):t._isValid=!1}function Se(t,e,n){return null!=t?t:null!=e?e:n}function Ae(t){var e,n,i,r,o,s,a,u,l,c,d,h,f=[];if(!t._d){for(d=t,h=new Date(p.now()),n=d._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],t._w&&null==t._a[bt]&&null==t._a[wt]&&(null!=(d=(r=t)._w).GG||null!=d.W||null!=d.E?(u=1,l=4,o=Se(d.GG,r._a[vt],$t(De(),1,4).year),s=Se(d.W,1),((a=Se(d.E,1))<1||7<a)&&(c=!0)):(u=r._locale._week.dow,l=r._locale._week.doy,h=$t(De(),u,l),o=Se(d.gg,r._a[vt],h.year),s=Se(d.w,h.week),null!=d.d?((a=d.d)<0||6<a)&&(c=!0):null!=d.e?(a=d.e+u,(d.e<0||6<d.e)&&(c=!0)):a=u),s<1||s>Ht(o,u,l)?m(r)._overflowWeeks=!0:null!=c?m(r)._overflowWeekday=!0:(l=jt(o,s,a,u,l),r._a[vt]=l.year,r._dayOfYear=l.dayOfYear)),null!=t._dayOfYear&&(i=Se(t._a[vt],n[vt]),(t._dayOfYear>Rt(i)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),i=Gt(i,0,t._dayOfYear),t._a[wt]=i.getUTCMonth(),t._a[bt]=i.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=f[e]=n[e];for(;e<7;e++)t._a[e]=f[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Et]&&0===t._a[Tt]&&0===t._a[xt]&&0===t._a[St]&&(t._nextDay=!0,t._a[Et]=0),t._d=(t._useUTC?Gt:Ut).apply(null,f),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Et]=24),t._w&&void 0!==t._w.d&&t._w.d!==i&&(m(t).weekdayMismatch=!0)}}function Me(t){if(t._f!==p.ISO_8601)if(t._f!==p.RFC_2822){t._a=[],m(t).empty=!0;for(var e,n,i=""+t._i,r=i.length,o=0,s=Y(t._f,t._locale).match(D)||[],a=0;a<s.length;a++)n=s[a],(e=(i.match(ht(n,t))||[])[0])&&(0<(d=i.substr(0,i.indexOf(e))).length&&m(t).unusedInput.push(d),i=i.slice(i.indexOf(e)+e.length),o+=e.length),O[n]?(e?m(t).empty=!1:m(t).unusedTokens.push(n),c=n,h=t,null!=(d=e)&&f(mt,c)&&mt[c](d,h._a,h,c)):t._strict&&!e&&m(t).unusedTokens.push(n);m(t).charsLeftOver=r-o,0<i.length&&m(t).unusedInput.push(i),t._a[Et]<=12&&!0===m(t).bigHour&&0<t._a[Et]&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[Et]=(u=t._locale,l=t._a[Et],null==(r=t._meridiem)?l:null!=u.meridiemHour?u.meridiemHour(l,r):null!=u.isPM?((r=u.isPM(r))&&l<12&&(l+=12),l=r||12!==l?l:0):l),null!==(l=m(t).era)&&(t._a[vt]=t._locale.erasConvertYear(l,t._a[vt])),Ae(t),fe(t)}else xe(t);else Ee(t);var u,l,c,d,h}function Ce(t){var e=t._i,n=t._f;return t._locale=t._locale||he(t._l),null===e||void 0===n&&""===e?y({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),b(e)?new w(fe(e)):(r(e)?t._d=e:s(n)?function(t){var e,n,i,r,o,s,a=!1;if(0===t._f.length)return m(t).invalidFormat=!0,t._d=new Date(NaN);for(r=0;r<t._f.length;r++)o=0,s=!1,e=v({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Me(e),h(e)&&(s=!0),o+=m(e).charsLeftOver,o+=10*m(e).unusedTokens.length,m(e).score=o,a?o<i&&(i=o,n=e):(null==i||o<i||s)&&(i=o,n=e,s&&(a=!0));c(t,n||e)}(t):n?Me(t):o(n=(e=t)._i)?e._d=new Date(p.now()):r(n)?e._d=new Date(n.valueOf()):"string"==typeof n?function(t){var e=ve.exec(t._i);null===e?(Ee(t),!1===t._isValid&&(delete t._isValid,xe(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:p.createFromInputFallback(t)))):t._d=new Date(+e[1])}(e):s(n)?(e._a=i(n.slice(0),function(t){return parseInt(t,10)}),Ae(e)):a(n)?function(t){var e,n;t._d||(n=void 0===(e=G(t._i)).day?e.date:e.day,t._a=i([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),Ae(t))}(e):l(n)?e._d=new Date(n):p.createFromInputFallback(e),h(t)||(t._d=null),t))}function Le(t,e,n,i,r){var o={};return!0!==e&&!1!==e||(i=e,e=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(a(t)&&u(t)||s(t)&&0===t.length)&&(t=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=n,o._i=t,o._f=e,o._strict=i,(o=new w(fe(Ce(o=o))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function De(t,e,n,i){return Le(t,e,n,i,!1)}p.createFromInputFallback=n("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":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};var ke=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=De.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:y()}),Pe=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=De.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:y()});function Oe(t,e){var n,i;if(!(e=1===e.length&&s(e[0])?e[0]:e).length)return De();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}var Ne=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ie(t){var e=G(t),n=e.year||0,i=e.quarter||0,r=e.month||0,o=e.week||e.isoWeek||0,s=e.day||0,a=e.hour||0,u=e.minute||0,l=e.second||0,t=e.millisecond||0;this._isValid=function(t){var e,n,i=!1;for(e in t)if(f(t,e)&&(-1===_t.call(Ne,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<Ne.length;++n)if(t[Ne[n]]){if(i)return!1;parseFloat(t[Ne[n]])!==B(t[Ne[n]])&&(i=!0)}return!0}(e),this._milliseconds=+t+1e3*l+6e4*u+1e3*a*60*60,this._days=+s+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=he(),this._bubble()}function Ye(t){return t instanceof Ie}function Re(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Fe(t,n){N(t,0,0,function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+L(~~(t/60),2)+n+L(~~t%60,2)})}Fe("Z",":"),Fe("ZZ",""),dt("Z",lt),dt("ZZ",lt),yt(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Ge(lt,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]+B(t[2]))?0:"+"===t[0]?e:-e}function We(t,e){var n;return e._isUTC?(n=e.clone(),e=(b(t)||r(t)?t:De(t)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+e),p.updateOffset(n,!1),n):De(t).local()}function je(t){return-Math.round(t._d.getTimezoneOffset())}function $e(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var He=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Be=/^(-|\+)?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 n,i,r=t,o=null;return Ye(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:l(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(o=He.exec(t))?(n="-"===o[1]?-1:1,r={y:0,d:B(o[bt])*n,h:B(o[Et])*n,m:B(o[Tt])*n,s:B(o[xt])*n,ms:B(Re(1e3*o[St]))*n}):(o=Be.exec(t))?(n="-"===o[1]?-1:1,r={y:ze(o[2],n),M:ze(o[3],n),w:ze(o[4],n),d:ze(o[5],n),h:ze(o[6],n),m:ze(o[7],n),s:ze(o[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(o=De(r.from),n=De(r.to),i=o.isValid()&&n.isValid()?(n=We(n,o),o.isBefore(n)?i=Ze(o,n):((i=Ze(n,o)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(r={}).ms=i.milliseconds,r.M=i.months),r=new Ie(r),Ye(t)&&f(t,"_locale")&&(r._locale=t._locale),Ye(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 n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Xe(i,r){return function(t,e){var n;return null===e||isNaN(+e)||(x(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."),n=t,t=e,e=n),qe(this,Ve(t,e),i),this}}function qe(t,e,n,i){var r=e._milliseconds,o=Re(e._days),e=Re(e._months);t.isValid()&&(i=null==i||i,e&&Nt(t,z(t,"Month")+e*n),o&&Z(t,"Date",z(t,"Date")+o*n),r&&t._d.setTime(t._d.valueOf()+r*n),i&&p.updateOffset(t,o||e))}Ve.fn=Ie.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)||l(t)||(n=s(e=t),i=!1,n&&(i=0===e.filter(function(t){return!l(t)&&Ke(e)}).length),n&&i)||function(t){var e,n,i=a(t)&&!u(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)n=o[e],r=r||f(t,n);return i&&r}(t)||null==t;var e,n,i}function tn(t,e){if(t.date()<e.date())return-tn(e,t);var n=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(n,"months");return-(n+(e-i<0?(e-i)/(i-t.clone().add(n-1,"months")):(e-i)/(t.clone().add(1+n,"months")-i)))||0}function en(t){return void 0===t?this._locale._abbr:(null!=(t=he(t))&&(this._locale=t),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";et=n("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 nn(){return this._locale}var rn=126227808e5;function on(t,e){return(t%e+e)%e}function sn(t,e,n){return t<100&&0<=t?new Date(t+400,e,n)-rn:new Date(t,e,n).valueOf()}function an(t,e,n){return t<100&&0<=t?Date.UTC(t+400,e,n)-rn:Date.UTC(t,e,n)}function un(t,e){return e.erasAbbrRegex(t)}function ln(){for(var t=[],e=[],n=[],i=[],r=this.eras(),o=0,s=r.length;o<s;++o)e.push(ft(r[o].name)),t.push(ft(r[o].abbr)),n.push(ft(r[o].narrow)),i.push(ft(r[o].name)),i.push(ft(r[o].abbr)),i.push(ft(r[o].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function cn(t,e){N(0,[t,t.length],0,e)}function dn(t,e,n,i,r){var o;return null==t?$t(this,i,r).year:(e>(o=Ht(t,i,r))&&(e=o),function(t,e,n,i,r){r=jt(t,e,n,i,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,n,i,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",un),dt("NN",un),dt("NNN",un),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,n,i){i=n._locale.erasParse(t,i,n._strict);i?m(n).era=i:m(n).invalidEra=t}),dt("y",st),dt("yy",st),dt("yyy",st),dt("yyyy",st),dt("yo",function(t,e){return e._eraYearOrdinalRegex||st}),yt(["y","yy","yyy","yyyy"],vt),yt(["yo"],function(t,e,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[vt]=n._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}),cn("gggg","weekYear"),cn("ggggg","weekYear"),cn("GGGG","isoWeekYear"),cn("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),dt("G",at),dt("g",at),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,n,i){e[i.substr(0,2)]=B(t)}),gt(["gg","GG"],function(t,e,n,i){e[i]=p.parseTwoDigitYear(t)}),N("Q",0,"Qo","quarter"),F("quarter","Q"),j("quarter",7),dt("Q",X),yt("Q",function(t,e){e[wt]=3*(B(t)-1)}),N("D",["DD",2],"Do","date"),F("date","D"),j("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]=B(t.match(tt)[0])});nt=V("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),j("dayOfYear",4),dt("DDD",it),dt("DDDD",J),yt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=B(t)}),N("m",["mm",2],0,"minute"),F("minute","m"),j("minute",14),dt("m",tt),dt("mm",tt,q),yt(["m","mm"],Tt);Lt=V("Minutes",!1);N("s",["ss",2],0,"second"),F("second","s"),j("second",15),dt("s",tt),dt("ss",tt,q),yt(["s","ss"],xt);var hn,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"),j("millisecond",16),dt("S",it,X),dt("SS",it,q),dt("SSS",it,J),hn="SSSS";hn.length<=9;hn+="S")dt(hn,st);function fn(t,e){e[St]=B(1e3*("0."+t))}for(hn="S";hn.length<=9;hn+="S")yt(hn,fn);Zt=V("Milliseconds",!1),N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");rt=w.prototype;function pn(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=a(t)&&!u(t),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<i.length;r+=1)n=n||f(t,i[r]);return e&&n}(arguments[0])&&(e=arguments[0],t=void 0):e=t=void 0);var n=t||De(),t=We(n,this).startOf("day"),t=p.calendarFormat(this,t)||"sameElse",e=e&&(S(e[t])?e[t].call(this,n):e[t]);return this.format(e||this.localeData().calendar(t,this,De(n)))},rt.clone=function(){return new w(this)},rt.diff=function(t,e,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=We(t,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=U(e)){case"year":o=tn(this,i)/12;break;case"month":o=tn(this,i);break;case"quarter":o=tn(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:H(o)},rt.endOf=function(t){var e,n;if(void 0===(t=U(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?an:sn,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-on(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-on(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-on(e,1e3)-1}return this._d.setTime(e),p.updateOffset(this,!0),this},rt.format=function(t){return t=t||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),t=I(this,t),this.localeData().postformat(t)},rt.from=function(t,e){return this.isValid()&&(b(t)&&t.isValid()||De(t).isValid())?Ve({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},rt.fromNow=function(t){return this.from(De(),t)},rt.to=function(t,e){return this.isValid()&&(b(t)&&t.isValid()||De(t).isValid())?Ve({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},rt.toNow=function(t){return this.to(De(),t)},rt.get=function(t){return S(this[t=U(t)])?this[t]():this},rt.invalidAt=function(){return m(this).overflow},rt.isAfter=function(t,e){return t=b(t)?t:De(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:De(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,n,i){return t=b(t)?t:De(t),e=b(e)?e:De(e),!!(this.isValid()&&t.isValid()&&e.isValid())&&("("===(i=i||"()")[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===i[1]?this.isBefore(e,n):!this.isAfter(e,n))},rt.isSame=function(t,e){var t=b(t)?t:De(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 h(this)},rt.lang=et,rt.locale=en,rt.localeData=nn,rt.max=Pe,rt.min=ke,rt.parsingFlags=function(){return c({},m(this))},rt.set=function(t,e){if("object"==typeof t)for(var n=function(t){var e,n=[];for(e in t)f(t,e)&&n.push({unit:e,priority:W[e]});return n.sort(function(t,e){return t.priority-e.priority}),n}(t=G(t)),i=0;i<n.length;i++)this[n[i].unit](t[n[i].unit]);else if(S(this[t=U(t)]))return this[t](e);return this},rt.startOf=function(t){var e,n;if(void 0===(t=U(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?an:sn,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=on(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=on(e,6e4);break;case"second":e=this._d.valueOf(),e-=on(e,1e3)}return this._d.setTime(e),p.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()?I(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):S(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",I(t,"Z")):I(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",n="";return this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+e+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"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(),n=0,i=e.length;n<i;++n){if(t=this.clone().startOf("day").valueOf(),e[n].since<=t&&t<=e[n].until)return e[n].name;if(e[n].until<=t&&t<=e[n].since)return e[n].name}return""},rt.eraNarrow=function(){for(var t,e=this.localeData().eras(),n=0,i=e.length;n<i;++n){if(t=this.clone().startOf("day").valueOf(),e[n].since<=t&&t<=e[n].until)return e[n].narrow;if(e[n].until<=t&&t<=e[n].since)return e[n].narrow}return""},rt.eraAbbr=function(){for(var t,e=this.localeData().eras(),n=0,i=e.length;n<i;++n){if(t=this.clone().startOf("day").valueOf(),e[n].since<=t&&t<=e[n].until)return e[n].abbr;if(e[n].until<=t&&t<=e[n].since)return e[n].abbr}return""},rt.eraYear=function(){for(var t,e,n=this.localeData().eras(),i=0,r=n.length;i<r;++i)if(t=n[i].since<=n[i].until?1:-1,e=this.clone().startOf("day").valueOf(),n[i].since<=e&&e<=n[i].until||n[i].until<=e&&e<=n[i].since)return(this.year()-p(n[i].since).year())*t+n[i].offset;return this.year()},rt.year=Ft,rt.isLeapYear=function(){return $(this.year())},rt.weekYear=function(t){return dn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},rt.isoWeekYear=function(t){return dn.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=It,rt.daysInMonth=function(){return Ct(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=$t(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},rt.weeksInYear=function(){var t=this.localeData()._week;return Ht(this.year(),t.dow,t.doy)},rt.weeksInWeekYear=function(){var t=this.localeData()._week;return Ht(this.weekYear(),t.dow,t.doy)},rt.isoWeeksInYear=function(){return Ht(this.year(),1,4)},rt.isoWeeksInISOWeekYear=function(){return Ht(this.isoWeekYear(),1,4)},rt.date=nt,rt.day=rt.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e,n,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(e=t,n=this.localeData(),t="string"!=typeof e?e:isNaN(e)?"number"==typeof(e=n.weekdaysParse(e))?e:null:parseInt(e,10),this.add(t-i,"d")):i},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=ne,rt.minute=rt.minutes=Lt,rt.second=rt.seconds=Vt,rt.millisecond=rt.milliseconds=Zt,rt.utcOffset=function(t,e,n){var i,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null==t)return this._isUTC?r:je(this);if("string"==typeof t){if(null===(t=Ge(lt,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=je(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!e||this._changeInProgress?qe(this,Ve(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.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(je(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(ut,this._i))?this.utcOffset(t):this.utcOffset(0,!0)),this},rt.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?De(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=$e,rt.isUTC=$e,rt.zoneAbbr=function(){return this._isUTC?"UTC":""},rt.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},rt.dates=n("dates accessor is deprecated. Use date instead.",nt),rt.months=n("months accessor is deprecated. Use month instead",It),rt.years=n("years accessor is deprecated. Use year instead",Ft),rt.zone=n("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=n("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=Ce(e))._a?(t=(e._isUTC?d:De)(e._a),this._isDSTShifted=this.isValid()&&0<function(t,e,n){for(var i=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),o=0,s=0;s<i;s++)(n&&t[s]!==e[s]||!n&&B(t[s])!==B(e[s]))&&o++;return o+r}(e._a,t.toArray())):this._isDSTShifted=!1,this._isDSTShifted});K=M.prototype;function mn(t,e,n,i){var r=he(),e=d().set(i,e);return r[n](e,t)}function yn(t,e,n){if(l(t)&&(e=t,t=void 0),t=t||"",null!=e)return mn(t,e,n,"month");for(var i=[],r=0;r<12;r++)i[r]=mn(t,r,n,"month");return i}function gn(t,e,n,i){e=("boolean"==typeof t||(n=e=t,t=!1),l(e)&&(n=e,e=void 0),e||"");var r,o=he(),s=t?o._week.dow:0,a=[];if(null!=n)return mn(e,(n+s)%7,i,"day");for(r=0;r<7;r++)a[r]=mn(e,(r+s)%7,i,"day");return a}K.calendar=function(t,e,n){return S(t=this._calendar[t]||this._calendar.sameElse)?t.call(e,n):t},K.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(D).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=pn,K.postformat=pn,K.relativeTime=function(t,e,n,i){var r=this._relativeTime[n];return S(r)?r(t,e,n,i):r.replace(/%d/i,t)},K.pastFuture=function(t,e){return S(t=this._relativeTime[0<t?"future":"past"])?t(e):t.replace(/%s/i,e)},K.set=function(t){var e,n;for(n in t)f(t,n)&&(S(e=t[n])?this[n]=e:this["_"+n]=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 n,i=this._eras||he("en")._eras,r=0,o=i.length;r<o;++r)switch("string"==typeof i[r].since&&(n=p(i[r].since).startOf("day"),i[r].since=n.valueOf()),typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":n=p(i[r].until).startOf("day").valueOf(),i[r].until=n.valueOf()}return i},K.erasParse=function(t,e,n){var i,r,o,s,a,u=this.eras();for(t=t.toUpperCase(),i=0,r=u.length;i<r;++i)if(o=u[i].name.toUpperCase(),s=u[i].abbr.toUpperCase(),a=u[i].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(s===t)return u[i];break;case"NNNN":if(o===t)return u[i];break;case"NNNNN":if(a===t)return u[i]}else if(0<=[o,s,a].indexOf(t))return u[i]},K.erasConvertYear=function(t,e){var n=t.since<=t.until?1:-1;return void 0===e?p(t.since).year():p(t.since).year()+(e-t.offset)*n},K.erasAbbrRegex=function(t){return f(this,"_erasAbbrRegex")||ln.call(this),t?this._erasAbbrRegex:this._erasRegex},K.erasNameRegex=function(t){return f(this,"_erasNameRegex")||ln.call(this),t?this._erasNameRegex:this._erasRegex},K.erasNarrowRegex=function(t){return f(this,"_erasNarrowRegex")||ln.call(this),t?this._erasNarrowRegex:this._erasRegex},K.months=function(t,e){return t?(s(this._months)?this._months:this._months[(this._months.isFormat||kt).test(e)?"format":"standalone"])[t.month()]:s(this._months)?this._months:this._months.standalone},K.monthsShort=function(t,e){return t?(s(this._monthsShort)?this._monthsShort:this._monthsShort[kt.test(e)?"format":"standalone"])[t.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},K.monthsParse=function(t,e,n){var i,r;if(this._monthsParseExact)return function(t,e,n){var i,r,o,t=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=d([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(r=_t.call(this._shortMonthsParse,t))?r:null:-1!==(r=_t.call(this._longMonthsParse,t))?r:null:"MMM"===e?-1!==(r=_t.call(this._shortMonthsParse,t))||-1!==(r=_t.call(this._longMonthsParse,t))?r:null:-1!==(r=_t.call(this._longMonthsParse,t))||-1!==(r=_t.call(this._shortMonthsParse,t))?r:null}.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=d([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},K.monthsRegex=function(t){return this._monthsParseExact?(f(this,"_monthsRegex")||Yt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Ot),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},K.monthsShortRegex=function(t){return this._monthsParseExact?(f(this,"_monthsRegex")||Yt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Pt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},K.week=function(t){return $t(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=s(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"],!0===t?Bt(e,this._week.dow):t?e[t.day()]:e},K.weekdaysMin=function(t){return!0===t?Bt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},K.weekdaysShort=function(t){return!0===t?Bt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},K.weekdaysParse=function(t,e,n){var i,r;if(this._weekdaysParseExact)return function(t,e,n){var i,r,o,t=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=d([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(r=_t.call(this._weekdaysParse,t))?r:null:"ddd"===e?-1!==(r=_t.call(this._shortWeekdaysParse,t))?r:null:-1!==(r=_t.call(this._minWeekdaysParse,t))?r:null:"dddd"===e?-1!==(r=_t.call(this._weekdaysParse,t))||-1!==(r=_t.call(this._shortWeekdaysParse,t))||-1!==(r=_t.call(this._minWeekdaysParse,t))?r:null:"ddd"===e?-1!==(r=_t.call(this._shortWeekdaysParse,t))||-1!==(r=_t.call(this._weekdaysParse,t))||-1!==(r=_t.call(this._minWeekdaysParse,t))?r:null:-1!==(r=_t.call(this._minWeekdaysParse,t))||-1!==(r=_t.call(this._weekdaysParse,t))||-1!==(r=_t.call(this._shortWeekdaysParse,t))?r:null}.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=d([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},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,n){return 11<t?n?"pm":"PM":n?"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===B(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th")}}),p.lang=n("moment.lang is deprecated. Use moment.locale instead.",ce),p.langData=n("moment.langData is deprecated. Use moment.localeData instead.",he);var _n=Math.abs;function vn(t,e,n,i){n=Ve(e,n);return t._milliseconds+=i*n._milliseconds,t._days+=i*n._days,t._months+=i*n._months,t._bubble()}function wn(t){return t<0?Math.floor(t):Math.ceil(t)}function bn(t){return 4800*t/146097}function En(t){return 146097*t/4800}function Tn(t){return function(){return this.as(t)}}ot=Tn("ms"),Q=Tn("s"),X=Tn("m"),q=Tn("h"),it=Tn("d"),J=Tn("w"),Je=Tn("M"),Pe=Tn("Q"),ke=Tn("y");function xn(t){return function(){return this.isValid()?this._data[t]:NaN}}ct=xn("milliseconds"),ne=xn("seconds"),Lt=xn("minutes"),Vt=xn("hours"),Zt=xn("days"),nt=xn("months"),Ft=xn("years");var Sn=Math.round,An={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(t,e,n,i){var r=Ve(t).abs(),o=Sn(r.as("s")),s=Sn(r.as("m")),a=Sn(r.as("h")),u=Sn(r.as("d")),l=Sn(r.as("M")),c=Sn(r.as("w")),r=Sn(r.as("y")),u=(o<=n.ss?["s",o]:o<n.s&&["ss",o])||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||u<=1&&["d"]||u<n.d&&["dd",u];return(u=(u=null!=n.w?u||c<=1&&["w"]||c<n.w&&["ww",c]:u)||l<=1&&["M"]||l<n.M&&["MM",l]||r<=1&&["y"]||["yy",r])[2]=e,u[3]=0<+t,u[4]=i,function(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}.apply(null,u)}var Cn=Math.abs;function Ln(t){return(0<t)-(t<0)||+t}function Dn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i,r,o,s,a=Cn(this._milliseconds)/1e3,u=Cn(this._days),l=Cn(this._months),c=this.asSeconds();return c?(t=H(a/60),e=H(t/60),a%=60,t%=60,n=H(l/12),l%=12,i=a?a.toFixed(3).replace(/\.?0+$/,""):"",r=Ln(this._months)!==Ln(c)?"-":"",o=Ln(this._days)!==Ln(c)?"-":"",s=Ln(this._milliseconds)!==Ln(c)?"-":"",(c<0?"-":"")+"P"+(n?r+n+"Y":"")+(l?r+l+"M":"")+(u?o+u+"D":"")+(e||t||a?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(a?s+i+"S":"")):"P0D"}K=Ie.prototype;return K.isValid=function(){return this._isValid},K.abs=function(){var t=this._data;return this._milliseconds=_n(this._milliseconds),this._days=_n(this._days),this._months=_n(this._months),t.milliseconds=_n(t.milliseconds),t.seconds=_n(t.seconds),t.minutes=_n(t.minutes),t.hours=_n(t.hours),t.months=_n(t.months),t.years=_n(t.years),this},K.add=function(t,e){return vn(this,t,e,1)},K.subtract=function(t,e){return vn(this,t,e,-1)},K.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=U(t))||"quarter"===t||"year"===t)switch(e=this._days+i/864e5,n=this._months+bn(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(En(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},K.asMilliseconds=ot,K.asSeconds=Q,K.asMinutes=X,K.asHours=q,K.asDays=it,K.asWeeks=J,K.asMonths=Je,K.asQuarters=Pe,K.asYears=ke,K.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*B(this._months/12):NaN},K._bubble=function(){var t=this._milliseconds,e=this._days,n=this._months,i=this._data;return 0<=t&&0<=e&&0<=n||t<=0&&e<=0&&n<=0||(t+=864e5*wn(En(n)+e),n=e=0),i.milliseconds=t%1e3,t=H(t/1e3),i.seconds=t%60,t=H(t/60),i.minutes=t%60,t=H(t/60),i.hours=t%24,e+=H(t/24),n+=t=H(bn(e)),e-=wn(En(t)),t=H(n/12),n%=12,i.days=e,i.months=n,i.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=ne,K.minutes=Lt,K.hours=Vt,K.days=Zt,K.weeks=function(){return H(this.days()/7)},K.months=nt,K.years=Ft,K.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var n=!1,i=An;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(n=t),"object"==typeof e&&(i=Object.assign({},An,e),null!=e.s&&null==e.ss&&(i.ss=e.s-1)),i=Mn(this,!n,i,e=this.localeData()),n&&(i=e.pastFuture(+this,i)),e.postformat(i)},K.toISOString=Dn,K.toString=Dn,K.toJSON=Dn,K.locale=en,K.localeData=nn,K.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dn),K.lang=et,N("X",0,0,"unix"),N("x",0,0,"valueOf"),dt("x",at),dt("X",/[+-]?\d+(\.\d{1,3})?/),yt("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t))}),yt("x",function(t,e,n){n._d=new Date(B(t))}),p.version="2.29.1",t=De,p.fn=rt,p.min=function(){return Oe("isBefore",[].slice.call(arguments,0))},p.max=function(){return Oe("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=d,p.unix=function(t){return De(1e3*t)},p.months=function(t,e){return yn(t,e,"months")},p.isDate=r,p.locale=ce,p.invalid=y,p.duration=Ve,p.isMoment=b,p.weekdays=function(t,e,n){return gn(t,e,n,"weekdays")},p.parseZone=function(){return De.apply(null,arguments).parseZone()},p.localeData=he,p.isDuration=Ye,p.monthsShort=function(t,e){return yn(t,e,"monthsShort")},p.weekdaysMin=function(t,e,n){return gn(t,e,n,"weekdaysMin")},p.defineLocale=de,p.updateLocale=function(t,e){var n,i;return null!=e?(i=re,null!=oe[t]&&null!=oe[t].parentLocale?oe[t].set(A(oe[t]._config,e)):(e=A(i=null!=(n=le(t))?n._config:i,e),null==n&&(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]},p.locales=function(){return C(oe)},p.weekdaysShort=function(t,e,n){return gn(t,e,n,"weekdaysShort")},p.normalizeUnits=U,p.relativeTimeRounding=function(t){return void 0===t?Sn:"function"==typeof t&&(Sn=t,!0)},p.relativeTimeThreshold=function(t,e){return void 0!==An[t]&&(void 0===e?An[t]:(An[t]=e,"s"===t&&(An.ss=e-1),!0))},p.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"},p.prototype=rt,p.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"},p}(),Di.exports);const Oi={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 Ni(n){let i,r,o,s,a,u,l,c,d,h,f,p,m,y,g,_=n[3]("popupText.name")+"";function v(t){return t[0]?Yi:Ii}let w=v(n),b=w(n);return{c(){i=K("section"),r=K("div"),o=K("div"),s=K("div"),s.textContent="i",a=tt(),u=K("div"),l=Q(_),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>',h=tt(),f=K("div"),b.c(),it(s,"class","InfoCardPopupIcon"),it(s,"part","InfoCardPopupIcon"),it(u,"class","InfoCardPopupTitle"),it(u,"part","InfoCardPopupTitle"),it(d,"class","InfoCardPopupCloseButton"),it(d,"part","InfoCardPopupCloseButton"),it(o,"class","InfoCardPopupHeader"),it(o,"part","InfoCardPopupHeader"),it(f,"class","InfoCardPopupContentArea"),it(f,"part","InfoCardPopupContentArea"),it(r,"class",p="InfoCardPopupWrapper "+(n[4]?"InfoCardPopupMobileWrapper":"")+" "+(n[0]?"InfoCardPopupLimitChanged":"")),it(r,"part",m="InfoCardPopupWrapper "+(n[4]?"InfoCardPopupMobileWrapper":"")+" "+(n[0]?"InfoCardPopupLimitChanged":"")),it(i,"class",n[4]?"InfoCardPopupMobileModal":""),it(i,"part",n[4]?"InfoCardPopupMobileModal":"")},m(t,e){q(t,i,e),X(i,r),X(r,o),X(o,s),X(o,a),X(o,u),X(u,l),X(o,c),X(o,d),X(r,h),X(r,f),b.m(f,null),y||(g=et(d,"click",nt(n[5])),y=!0)},p(t,e){8&e&&_!==(_=t[3]("popupText.name")+"")&&ot(l,_),w===(w=v(t))&&b?b.p(t,e):(b.d(1),b=w(t),b&&(b.c(),b.m(f,null))),1&e&&p!==(p="InfoCardPopupWrapper "+(t[4]?"InfoCardPopupMobileWrapper":"")+" "+(t[0]?"InfoCardPopupLimitChanged":""))&&it(r,"class",p),1&e&&m!==(m="InfoCardPopupWrapper "+(t[4]?"InfoCardPopupMobileWrapper":"")+" "+(t[0]?"InfoCardPopupLimitChanged":""))&&it(r,"part",m)},d(t){t&&J(i),b.d(),y=!1,g()}}}function Ii(t){let n,i,r=t[3]("popupText.defaultText")+"";return{c(){n=K("p"),i=Q(r),it(n,"class","InfoCardPopupContent"),it(n,"part","InfoCardPopupContent")},m(t,e){q(t,n,e),X(n,i)},p(t,e){8&e&&r!==(r=t[3]("popupText.defaultText")+"")&&ot(i,r)},d(t){t&&J(n)}}}function Yi(t){let n,i,r=t[3]("popupText.amountChanged",{values:{amount:t[0],currency:t[1]}})+"";return{c(){n=K("p"),i=Q(r),it(n,"class","InfoCardPopupContent"),it(n,"part","InfoCardPopupContent")},m(t,e){q(t,n,e),X(n,i)},p(t,e){11&e&&r!==(r=t[3]("popupText.amountChanged",{values:{amount:t[0],currency:t[1]}})+"")&&ot(i,r)},d(t){t&&J(n)}}}function Ri(t){let n,i=t[2]&&Ni(t);return{c(){i&&i.c(),n=w(),this.c=z},m(t,e){i&&i.m(t,e),q(t,n,e)},p(t,[e]){t[2]?i?i.p(t,e):(i=Ni(t),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},i:z,o:z,d(t){i&&i.d(t),t&&J(n)}}}function Fi(e,t,n){let i;F(e,Mi,t=>n(3,i=t));let{showpopup:r=""}=t,{iteminfoamount:o=""}=t,{lang:s="en"}=t,{playercurrency:a="USD"}=t;Object.keys(Oi).forEach(t=>{ai(t,Oi[t])});let u=!1,l=window.navigator.userAgent,c="PC"!==Ci(l);const d=t=>{t.data&&"ClosePlayerAccountGamingLimitsPopup"==t.data.type&&n(2,u=!1)};return W(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)})),e.$$set=t=>{"showpopup"in t&&n(6,r=t.showpopup),"iteminfoamount"in t&&n(0,o=t.iteminfoamount),"lang"in t&&n(7,s=t.lang),"playercurrency"in t&&n(1,a=t.playercurrency)},e.$$.update=()=>{var t;192&e.$$.dirty&&r&&s&&(t=s,gi.set(t),o<0&&n(0,o="0"),n(2,u=r))},[o,a,u,i,c,()=>{n(2,u=!1),window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href)},r,s]}function Ui(t,{delay:e=0,duration:n=400,easing:i=m}={}){const r=+getComputedStyle(t).opacity;return{delay:e,duration:n,easing:i,css:t=>"opacity: "+t*r}}function Gi(n){let i,e,r;return{c(){i=K("div"),i.innerHTML='<div class="ModalContainer" part="ModalContainer"><slot></slot></div>',it(i,"class","ModalWindow"),it(i,"part","ModalWindow"),it(i,"id","Modal")},m(t,e){q(t,i,e),n[3](i),r=!0},p(t,e){n=t},i(t){r||(k(()=>{e=e||$(i,Ui,{transitionDuration:n[1]},!0),e.run(1)}),r=!0)},o(t){e=e||$(i,Ui,{transitionDuration:n[1]},!1),e.run(0),r=!1},d(t){t&&J(i),n[3](null),t&&e&&e.end()}}}function Wi(t){let n,i,r=t[0]&&Gi(t);return{c(){n=K("div"),r&&r.c(),this.c=z},m(t,e){q(t,n,e),r&&r.m(n,null),i=!0},p(t,[e]){t[0]?r?(r.p(t,e),1&e&&Y(r,1)):(r=Gi(t),r.c(),Y(r,1),r.m(n,null)):r&&(I={r:0,c:[],p:I},R(r,1,1,()=>{r=null}),I.r||Z(I.c),I=I.p)},i(t){i||(Y(r),i=!0)},o(t){R(r),i=!1},d(t){t&&J(n),r&&r.d()}}}function ji(t,e,n){let i,{show:r=!1}=e,{duration:o=350}=e;const s=t=>{"ModalClosed"==t.data.type&&n(0,r=!1),"ShowLimitsConfirmationModal"===t.data.type&&(n(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href))};return W(()=>(window.addEventListener("message",s,!1),()=>{window.removeEventListener("message",s)})),t.$$set=t=>{"show"in t&&n(0,r=t.show),"duration"in t&&n(1,o=t.duration)},[r,o,void 0,function(t){a[t?"unshift":"push"](()=>{i=t,n(2,i)})}]}customElements.get("player-account-gaming-limits-popup")||customElements.define("player-account-gaming-limits-popup",class extends B{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:i(this.attributes),customElement:!0},Fi,Ri,n,{showpopup:6,iteminfoamount:0,lang:7,playercurrency:1}),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),P()))}static get observedAttributes(){return["showpopup","iteminfoamount","lang","playercurrency"]}get showpopup(){return this.$$.ctx[6]}set showpopup(t){this.$set({showpopup:t}),P()}get iteminfoamount(){return this.$$.ctx[0]}set iteminfoamount(t){this.$set({iteminfoamount:t}),P()}get lang(){return this.$$.ctx[7]}set lang(t){this.$set({lang:t}),P()}get playercurrency(){return this.$$.ctx[1]}set playercurrency(t){this.$set({playercurrency:t}),P()}}),customElements.get("player-account-modal")||customElements.define("player-account-modal",class extends B{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:i(this.attributes),customElement:!0},ji,Wi,n,{show:0,duration:1}),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),P()))}static get observedAttributes(){return["show","duration"]}get show(){return this.$$.ctx[0]}set show(t){this.$set({show:t}),P()}get duration(){return this.$$.ctx[1]}set duration(t){this.$set({duration:t}),P()}});const $i={en:{modalText:{cancel:"Cancel",confirm:"Confirm"}},ro:{modalText:{cancel:"Anulează",confirm:"Confirmă"}}};function Hi(n){let i,r,o,s,a,u,l,c,d,h,f,p,m,y,g=n[1]("modalText.cancel")+"",_=n[1]("modalText.confirm")+"",v=!n[2]&&function(n){let i,r,o;return{c(){i=K("span"),i.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>',it(i,"class","ModalCloseBtn"),it(i,"part","ModalCloseBtn"),it(i,"role","button")},m(t,e){q(t,i,e),r||(o=et(i,"click",n[3]),r=!0)},p:z,d(t){t&&J(i),r=!1,o()}}}(n);return{c(){i=K("div"),v&&v.c(),r=tt(),o=K("div"),s=K("div"),a=Q(n[0]),u=tt(),l=K("div"),c=K("button"),d=Q(g),h=tt(),f=K("button"),p=Q(_),this.c=z,it(s,"class","GamingLimitsConfirmationContent"),it(s,"part","GamingLimitsConfirmationContent"),it(c,"class","GamingLimitsCancelButton"),it(c,"part","GamingLimitsCancelButton"),it(f,"class","GamingLimitsConfirmButton"),it(f,"part","GamingLimitsConfirmButton"),it(l,"class","GamingLimitsConfirmationControlArea"),it(l,"part","GamingLimitsConfirmationControlArea"),it(o,"class","GamingLimitsConfirmationContainer "+(n[2]?"GamingLimitsConfirmationContainerMobile":"")),it(o,"part","GamingLimitsConfirmationContainer "+(n[2]?"GamingLimitsConfirmationContainerMobile":"")),it(i,"class","GamingLimitsConfirmationWrapper "+(n[2]?"GamingLimitsConfirmationMobileWrapper":"")),it(i,"part","GamingLimitsConfirmationWrapper "+(n[2]?"GamingLimitsConfirmationMobileWrapper":""))},m(t,e){q(t,i,e),v&&v.m(i,null),X(i,r),X(i,o),X(o,s),X(s,a),X(o,u),X(o,l),X(l,c),X(c,d),X(l,h),X(l,f),X(f,p),m||(y=[et(c,"click",n[5]),et(f,"click",n[4])],m=!0)},p(t,[e]){t[2]||v.p(t,e),1&e&&ot(a,t[0]),2&e&&g!==(g=t[1]("modalText.cancel")+"")&&ot(d,g),2&e&&_!==(_=t[1]("modalText.confirm")+"")&&ot(p,_)},i:z,o:z,d(t){t&&J(i),v&&v.d(),m=!1,Z(y)}}}function Bi(e,t,n){let i;F(e,Mi,t=>n(1,i=t));let{modaltext:r="Are you sure that you want to perform this action?"}=t,{modalsource:o=""}=t,{lang:s="en"}=t;Object.keys($i).forEach(t=>{ai(t,$i[t])});let a=window.navigator.userAgent,u="PC"!==Ci(a),l={},c="";const d=t=>{t.data&&"DeleteLimitsItem"===t.data.type&&(l=t.data.removeData,t=t.data.removeName,c="Time Limit"===t?"cumulativeSessionLimits":"Deposit Limit"===t?"depositLimits":"Wagering Limit"===t?"wageringLimit":"lossLimit")};W(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)}));return e.$$set=t=>{"modaltext"in t&&n(0,r=t.modaltext),"modalsource"in t&&n(6,o=t.modalsource),"lang"in t&&n(7,s=t.lang)},e.$$.update=()=>{var t;193&e.$$.dirty&&r&&o&&s&&(t=s,gi.set(t))},[r,i,u,()=>{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:l,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,s]}function Vi(t,e,n){const i=t.slice();return i[54]=e[n],i[55]=e,i[50]=n,i}function zi(t,e,n){const i=t.slice();return i[48]=e[n],i}function Zi(t,e,n){const i=t.slice();return i[48]=e[n],i}function Xi(t,e,n){const i=t.slice();return i[48]=e[n],i[49]=e,i[50]=n,i}function qi(t,e,n){const i=t.slice();return i[51]=e[n],i}function Ji(t,e,n){const i=t.slice();return i[48]=e[n],i[50]=n,i}function Ki(t){let n,i,r,o=t[18]("editText.success")+"";return{c(){n=K("div"),i=K("p"),r=Q(o),it(n,"class","AccountEditLimitSuccessfulChangeContainer"),it(n,"part","AccountEditLimitSuccessfulChangeContainer")},m(t,e){q(t,n,e),X(n,i),X(i,r)},p(t,e){262144&e[0]&&o!==(o=t[18]("editText.success")+"")&&ot(r,o)},d(t){t&&J(n)}}}function Qi(t){let n;function i(t){return t[11]?er:tr}let r=i(t),o=r(t);return{c(){n=K("div"),o.c(),it(n,"class","AccountEditLimitSuccessfulChangeContainer"),it(n,"part","AccountEditLimitSuccessfulChangeContainer")},m(t,e){q(t,n,e),o.m(n,null)},p(t,e){r===(r=i(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(n,null)))},d(t){t&&J(n),o.d()}}}function tr(t){let n,i,r,o,s=t[18]("editText.remove")+"",a=(t[0].expiryDate?Pi(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=K("p"),i=Q(s),r=tt(),o=Q(a)},m(t,e){q(t,n,e),X(n,i),X(n,r),X(n,o)},p(t,e){262144&e[0]&&s!==(s=t[18]("editText.remove")+"")&&ot(i,s),1&e[0]&&a!==(a=(t[0].expiryDate?Pi(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(o,a)},d(t){t&&J(n)}}}function er(e){let r,o=e[14],s=[];for(let t=0;t<o.length;t+=1)s[t]=ir(Ji(e,o,t));return{c(){for(let t=0;t<s.length;t+=1)s[t].c();r=w()},m(e,n){for(let t=0;t<s.length;t+=1)s[t].m(e,n);q(e,r,n)},p(e,n){if(409600&n[0]){let t;for(o=e[14],t=0;t<o.length;t+=1){var i=Ji(e,o,t);s[t]?s[t].p(i,n):(s[t]=ir(i),s[t].c(),s[t].m(r.parentNode,r))}for(;t<s.length;t+=1)s[t].d(1);s.length=o.length}},d(t){S(s,t),t&&J(r)}}}function nr(t){let n,i,r,o,s=t[18]("editText.remove")+"",a=(t[48].expiryDate?Pi(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=K("p"),i=Q(s),r=tt(),o=Q(a)},m(t,e){q(t,n,e),X(n,i),X(n,r),X(n,o)},p(t,e){262144&e[0]&&s!==(s=t[18]("editText.remove")+"")&&ot(i,s),16384&e[0]&&a!==(a=(t[48].expiryDate?Pi(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(o,a)},d(t){t&&J(n)}}}function ir(t){let n,i=t[48].period==t[17][t[50]].periodName&&nr(t);return{c(){i&&i.c(),n=w()},m(t,e){i&&i.m(t,e),q(t,n,e)},p(t,e){t[48].period==t[17][t[50]].periodName?i?i.p(t,e):(i=nr(t),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(t){i&&i.d(t),t&&J(n)}}}function rr(t){let n;function i(t){return t[11]?sr:or}let r=i(t),o=r(t);return{c(){n=K("div"),o.c(),it(n,"class","AccountEditContent"),it(n,"part","AccountEditContent")},m(t,e){q(t,n,e),o.m(n,null)},p(t,e){r===(r=i(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(n,null)))},d(t){t&&J(n),o.d()}}}function or(r){let o,n,i,s,a,t,u,l,c,d=r[22],h=[];for(let t=0;t<d.length;t+=1)h[t]=ar(Zi(r,d,t));let f=r[17],p=[];for(let t=0;t<f.length;t+=1)p[t]=fr(Vi(r,f,t));return{c(){o=K("div"),n=K("div"),i=K("p"),i.textContent="Limit",s=tt(),a=K("select");for(let t=0;t<h.length;t+=1)h[t].c();u=tt();for(let t=0;t<p.length;t+=1)p[t].c();it(i,"class","AccountEditLimitsTitle"),it(i,"part","AccountEditLimitsTitle"),it(a,"class","AccountEditField "+(r[19]?"TimeoutSelectMobile":"")),it(a,"part","AccountEditField "+(r[19]?"TimeoutSelectMobile":"")),a.disabled=t=!0===r[14].isModified,void 0===r[14].period&&k(()=>r[30].call(a)),it(n,"class","AccountEditLimitsSplitSection"),it(n,"part","AccountEditLimitsSplitSection"),it(o,"class","AccountEditLimitsContainer"),it(o,"part","AccountEditLimitsContainer")},m(t,e){q(t,o,e),X(o,n),X(n,i),X(n,s),X(n,a);for(let t=0;t<h.length;t+=1)h[t].m(a,null);A(a,r[14].period),X(o,u);for(let t=0;t<p.length;t+=1)p[t].m(o,null);l||(c=[et(a,"change",r[30]),et(a,"change",function(){x(r[26](r[14],0,!1,r[16]))&&r[26](r[14],0,!1,r[16]).apply(this,arguments)})],l=!0)},p(e,n){if(r=e,4194304&n[0]){let t;for(d=r[22],t=0;t<d.length;t+=1){const e=Zi(r,d,t);h[t]?h[t].p(e,n):(h[t]=ar(e),h[t].c(),h[t].m(a,null))}for(;t<h.length;t+=1)h[t].d(1);h.length=d.length}if(4210688&n[0]&&t!==(t=!0===r[14].isModified)&&(a.disabled=t),4210688&n[0]&&A(a,r[14].period),70213649&n[0]){let t;for(f=r[17],t=0;t<f.length;t+=1){var i=Vi(r,f,t);p[t]?p[t].p(i,n):(p[t]=fr(i),p[t].c(),p[t].m(o,null))}for(;t<p.length;t+=1)p[t].d(1);p.length=f.length}},d(t){t&&J(o),S(h,t),S(p,t),l=!1,Z(c)}}}function sr(e){let r,o=e[14],s=[];for(let t=0;t<o.length;t+=1)s[t]=Er(Xi(e,o,t));return{c(){r=K("div");for(let t=0;t<s.length;t+=1)s[t].c();it(r,"class","AccountEditLimitsContainer"),it(r,"part","AccountEditLimitsContainer")},m(t,e){q(t,r,e);for(let t=0;t<s.length;t+=1)s[t].m(r,null)},p(e,n){if(69161752&n[0]){let t;for(o=e[14],t=0;t<o.length;t+=1){var i=Xi(e,o,t);s[t]?s[t].p(i,n):(s[t]=Er(i),s[t].c(),s[t].m(r,null))}for(;t<s.length;t+=1)s[t].d(1);s.length=o.length}},d(t){t&&J(r),S(s,t)}}}function ar(t){let n,i,e=t[48]+"";return{c(){n=K("option"),i=Q(e),n.__value=t[48],n.value=n.__value},m(t,e){q(t,n,e),X(n,i)},p:z,d(t){t&&J(n)}}}function ur(n){let i,r,o,s,a,u,l,c,d,h,f,p,m,y,g=n[18]("editText.amount")+"",_=n[18]("editText.noLimit")+"",v=n[21],w=[];for(let t=0;t<v.length;t+=1)w[t]=lr(zi(n,v,t));function b(){n[31].call(a,n[55],n[50])}let E="Custom"===n[54].amount&&cr(n),T=!0===n[14].isModified&&hr(n);return{c(){i=K("div"),r=K("p"),o=Q(g),s=tt(),a=K("select"),u=K("option"),l=Q(_);for(let t=0;t<w.length;t+=1)w[t].c();d=tt(),h=K("div"),E&&E.c(),f=tt(),T&&T.c(),p=tt(),it(r,"class","AccountEditLimitsTitle"),it(r,"part","AccountEditLimitsTitle"),u.__value="",u.value=u.__value,u.disabled=!0,u.selected=!0,u.hidden=!0,it(a,"class","AccountEditField "+(n[19]?"TimeoutSelectMobile":"")),it(a,"part","AccountEditField "+(n[19]?"TimeoutSelectMobile":"")),a.disabled=c=!0===n[14].isModified,void 0===n[54].amount&&k(b),it(h,"class","AccountEditLimitsInputContainer"),it(h,"part","AccountEditLimitsInputContainer"),it(i,"class","AccountEditLimitsSplitSection"),it(i,"part","AccountEditField "+(n[19]?"TimeoutSelectMobile":""))},m(t,e){q(t,i,e),X(i,r),X(r,o),X(i,s),X(i,a),X(a,u),X(u,l);for(let t=0;t<w.length;t+=1)w[t].m(a,null);A(a,n[54].amount),X(i,d),X(i,h),E&&E.m(h,null),X(h,f),T&&T.m(h,null),X(i,p),m||(y=[et(a,"change",b),et(a,"change",function(){x(n[26](n[54],0,!1,n[16]))&&n[26](n[54],0,!1,n[16]).apply(this,arguments)})],m=!0)},p(t,e){if(n=t,262144&e[0]&&g!==(g=n[18]("editText.amount")+"")&&ot(o,g),262144&e[0]&&_!==(_=n[18]("editText.noLimit")+"")&&ot(l,_),2097168&e[0]){let t;for(v=n[21],t=0;t<v.length;t+=1){const o=zi(n,v,t);w[t]?w[t].p(o,e):(w[t]=lr(o),w[t].c(),w[t].m(a,null))}for(;t<w.length;t+=1)w[t].d(1);w.length=v.length}4210688&e[0]&&c!==(c=!0===n[14].isModified)&&(a.disabled=c),2228224&e[0]&&A(a,n[54].amount),"Custom"===n[54].amount?E?E.p(n,e):(E=cr(n),E.c(),E.m(h,f)):E&&(E.d(1),E=null),!0===n[14].isModified?T?T.p(n,e):(T=hr(n),T.c(),T.m(h,null)):T&&(T.d(1),T=null)},d(t){t&&J(i),S(w,t),E&&E.d(),T&&T.d(),m=!1,Z(y)}}}function lr(t){let n,i,r,e=t[48]+"",o="No limit"!==t[48]&&"Custom"!==t[48]&&function(t){let n;return{c(){n=Q(t[4])},m(t,e){q(t,n,e)},p(t,e){16&e[0]&&ot(n,t[4])},d(t){t&&J(n)}}}(t);return{c(){n=K("option"),i=Q(e),r=tt(),o&&o.c(),n.__value=t[48],n.value=n.__value},m(t,e){q(t,n,e),X(n,i),X(n,r),o&&o.m(n,null)},p(t,e){"No limit"!==t[48]&&"Custom"!==t[48]&&o.p(t,e)},d(t){t&&J(n),o&&o.d()}}}function cr(n){let i,r,o,s,a,u;function l(){n[32].call(i,n[55],n[50])}let c=!0===n[13]&&dr(n);return{c(){i=K("input"),o=tt(),c&&c.c(),s=w(),it(i,"type","number"),it(i,"class","AccountEditField AccountEditFieldCustom"),it(i,"part","AccountEditField AccountEditFieldCustom"),i.disabled=r=!0===n[14].isModified},m(t,e){q(t,i,e),f(i,n[54].value),q(t,o,e),c&&c.m(t,e),q(t,s,e),a||(u=[et(i,"keyup",function(){x(n[26](n[54],0,!1,n[16]))&&n[26](n[54],0,!1,n[16]).apply(this,arguments)}),et(i,"input",l)],a=!0)},p(t,e){n=t,4210688&e[0]&&r!==(r=!0===n[14].isModified)&&(i.disabled=r),2228224&e[0]&&U(i.value)!==n[54].value&&f(i,n[54].value),!0===n[13]?c?c.p(n,e):(c=dr(n),c.c(),c.m(s.parentNode,s)):c&&(c.d(1),c=null)},d(t){t&&J(i),t&&J(o),c&&c.d(t),t&&J(s),a=!1,Z(u)}}}function dr(t){let n,i,r,o=t[18]("editText.invalidInputMessageLimit")+"";return{c(){n=K("p"),i=K("span"),r=Q(o),it(i,"class","InvalidInput InvalidSingleRow"),it(i,"part","InvalidInput InvalidSingleRow"),it(n,"class","AccountEditWarningText"),it(n,"part","AccountEditWarningText")},m(t,e){q(t,n,e),X(n,i),X(i,r)},p(t,e){262144&e[0]&&o!==(o=t[18]("editText.invalidInputMessageLimit")+"")&&ot(r,o)},d(t){t&&J(n)}}}function hr(t){let n,i,r,o,s,a,u,l,c,d,h,f,p,m,y,g,_=t[18]("editText.expirationDate")+"",v=(t[0].expiryDate?Pi(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",w=t[18]("editText.changedLimitTextBefore")+"",b=(0<t[0].updateAmount?t[0].updateAmount:0)+"",E=t[18]("editText.changedLimitTextAfter")+"";return{c(){n=K("p"),i=Q(_),r=tt(),o=K("span"),s=Q(v),a=tt(),u=K("div"),l=K("p"),c=K("span"),c.textContent="i",d=K("span"),h=Q(w),f=tt(),p=Q(b),m=tt(),y=Q(t[4]),g=Q(E),it(n,"class","AccountEditLimitsExpiryDate"),it(n,"part","AccountEditLimitsExpiryDate"),it(c,"class","AccountEditLimitChangePeriodIcon"),it(c,"part","AccountEditLimitChangePeriodIcon"),it(u,"class","AccountEditLimitsPeriodChangeContainer"),it(u,"part","AccountEditLimitsPeriodChangeContainer")},m(t,e){q(t,n,e),X(n,i),X(n,r),X(n,o),X(o,s),q(t,a,e),q(t,u,e),X(u,l),X(l,c),X(l,d),X(d,h),X(d,f),X(d,p),X(d,m),X(d,y),X(d,g)},p(t,e){262144&e[0]&&_!==(_=t[18]("editText.expirationDate")+"")&&ot(i,_),1&e[0]&&v!==(v=(t[0].expiryDate?Pi(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(s,v),262144&e[0]&&w!==(w=t[18]("editText.changedLimitTextBefore")+"")&&ot(h,w),1&e[0]&&b!==(b=(0<t[0].updateAmount?t[0].updateAmount:0)+"")&&ot(p,b),16&e[0]&&ot(y,t[4]),262144&e[0]&&E!==(E=t[18]("editText.changedLimitTextAfter")+"")&&ot(g,E)},d(t){t&&J(n),t&&J(a),t&&J(u)}}}function fr(t){let n,i=t[14].period===t[54].periodName&&ur(t);return{c(){i&&i.c(),n=w()},m(t,e){i&&i.m(t,e),q(t,n,e)},p(t,e){t[14].period===t[54].periodName?i?i.p(t,e):(i=ur(t),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(t){i&&i.d(t),t&&J(n)}}}function pr(n){let i,r,o,s,a,u,l,c,d,h,f=n[18]("editText.noLimit")+"",p=n[20][n[50]].values,m=[];for(let t=0;t<p.length;t+=1)m[t]=mr(qi(n,p,t));function y(){n[27].call(i,n[50])}let g="Custom"===n[17][n[50]].amount&&yr(n),_=!0===n[48].isModified&&br(n);return{c(){i=K("select"),r=K("option"),o=Q(f);for(let t=0;t<m.length;t+=1)m[t].c();a=tt(),u=K("div"),g&&g.c(),l=tt(),_&&_.c(),c=w(),r.__value="",r.value=r.__value,r.disabled=!0,r.selected=!0,r.hidden=!0,it(i,"class","AccountEditField "+(n[19]?"TimeoutSelectMobile":"")),it(i,"part","AccountEditField "+(n[19]?"TimeoutSelectMobile":"")),i.disabled=s=!0===n[48].isModified,void 0===n[17][n[50]].amount&&k(y),it(u,"class","AccountEditLimitsInputContainer"),it(u,"part","AccountEditLimitsInputContainer")},m(t,e){q(t,i,e),X(i,r),X(r,o);for(let t=0;t<m.length;t+=1)m[t].m(i,null);A(i,n[17][n[50]].amount),q(t,a,e),q(t,u,e),g&&g.m(u,null),q(t,l,e),_&&_.m(t,e),q(t,c,e),d||(h=[et(i,"change",y),et(i,"change",function(){x(n[26](n[17][n[50]],n[50],!1,n[16]))&&n[26](n[17][n[50]],n[50],!1,n[16]).apply(this,arguments)})],d=!0)},p(t,e){if(n=t,262144&e[0]&&f!==(f=n[18]("editText.noLimit")+"")&&ot(o,f),1048600&e[0]){let t;for(p=n[20][n[50]].values,t=0;t<p.length;t+=1){const o=qi(n,p,t);m[t]?m[t].p(o,e):(m[t]=mr(o),m[t].c(),m[t].m(i,null))}for(;t<m.length;t+=1)m[t].d(1);m.length=p.length}4210688&e[0]&&s!==(s=!0===n[48].isModified)&&(i.disabled=s),2228224&e[0]&&A(i,n[17][n[50]].amount),"Custom"===n[17][n[50]].amount?g?g.p(n,e):(g=yr(n),g.c(),g.m(u,null)):g&&(g.d(1),g=null),!0===n[48].isModified?_?_.p(n,e):(_=br(n),_.c(),_.m(c.parentNode,c)):_&&(_.d(1),_=null)},d(t){t&&J(i),S(m,t),t&&J(a),t&&J(u),g&&g.d(),t&&J(l),_&&_.d(t),t&&J(c),d=!1,Z(h)}}}function mr(t){let n,i,r,e=t[51]+"",o="No limit"!==t[51]&&"Custom"!==t[51]&&function(){let n,i=("Time Limit"!==t[3]?t[4]:" minutes")+"";return{c(){n=Q(i)},m(t,e){q(t,n,e)},p(t,e){24&e[0]&&i!==(i=("Time Limit"!==t[3]?t[4]:" minutes")+"")&&ot(n,i)},d(t){t&&J(n)}}}();return{c(){n=K("option"),i=Q(e),r=tt(),o&&o.c(),n.__value=t[51],n.value=n.__value},m(t,e){q(t,n,e),X(n,i),X(n,r),o&&o.m(n,null)},p(t,e){"No limit"!==t[51]&&"Custom"!==t[51]&&o.p(t,e)},d(t){t&&J(n),o&&o.d()}}}function yr(t){let n;function i(t){return"Deposit Limit"===t[3]?_r:gr}let r=i(t),o=r(t);return{c(){o.c(),n=w()},m(t,e){o.m(t,e),q(t,n,e)},p(t,e){r===(r=i(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(n.parentNode,n)))},d(t){o.d(t),t&&J(n)}}}function gr(n){let i,r,o,s,a,u;function l(){n[29].call(i,n[50])}let c=1==n[12][n[50]]&&vr(n);return{c(){i=K("input"),o=tt(),s=K("p"),c&&c.c(),it(i,"type","number"),it(i,"class","AccountEditField AccountEditFieldCustom"),it(i,"part","AccountEditField AccountEditFieldCustom"),i.disabled=r=!0===n[48].isModified,it(s,"class","AccountEditWarningText"),it(s,"part","AccountEditWarningText")},m(t,e){q(t,i,e),f(i,n[17][n[50]].value),q(t,o,e),q(t,s,e),c&&c.m(s,null),a||(u=[et(i,"keyup",function(){x(n[26](n[17][n[50]],n[50],!0,n[16]))&&n[26](n[17][n[50]],n[50],!0,n[16]).apply(this,arguments)}),et(i,"input",l)],a=!0)},p(t,e){n=t,4210688&e[0]&&r!==(r=!0===n[48].isModified)&&(i.disabled=r),2228224&e[0]&&U(i.value)!==n[17][n[50]].value&&f(i,n[17][n[50]].value),1==n[12][n[50]]?c?c.p(n,e):(c=vr(n),c.c(),c.m(s,null)):c&&(c.d(1),c=null)},d(t){t&&J(i),t&&J(o),t&&J(s),c&&c.d(),a=!1,Z(u)}}}function _r(n){let i,r,o,s,a,u;function l(){n[28].call(i,n[50])}let c=1==n[12][n[50]]&&wr(n);return{c(){i=K("input"),o=tt(),s=K("p"),c&&c.c(),it(i,"type","number"),it(i,"class","AccountEditField AccountEditFieldCustom"),it(i,"part","AccountEditField AccountEditFieldCustom"),i.disabled=r=!0===n[48].isModified,it(s,"class","AccountEditWarningText"),it(s,"part","AccountEditWarningText")},m(t,e){q(t,i,e),f(i,n[17][n[50]].value),q(t,o,e),q(t,s,e),c&&c.m(s,null),a||(u=[et(i,"keyup",function(){x(n[26](n[17][n[50]],n[50],!1,n[16]))&&n[26](n[17][n[50]],n[50],!1,n[16]).apply(this,arguments)}),et(i,"input",l)],a=!0)},p(t,e){n=t,4210688&e[0]&&r!==(r=!0===n[48].isModified)&&(i.disabled=r),2228224&e[0]&&U(i.value)!==n[17][n[50]].value&&f(i,n[17][n[50]].value),1==n[12][n[50]]?c?c.p(n,e):(c=wr(n),c.c(),c.m(s,null)):c&&(c.d(1),c=null)},d(t){t&&J(i),t&&J(o),t&&J(s),c&&c.d(),a=!1,Z(u)}}}function vr(t){let n,i,r=t[18]("editText.invalidInputMessageTime",{values:{minTime:t[8],maxTime:t[9]}})+"";return{c(){n=K("p"),i=Q(r),it(n,"class","InvalidInput"),it(n,"part","InvalidInput")},m(t,e){q(t,n,e),X(n,i)},p(t,e){262912&e[0]&&r!==(r=t[18]("editText.invalidInputMessageTime",{values:{minTime:t[8],maxTime:t[9]}})+"")&&ot(i,r)},d(t){t&&J(n)}}}function wr(t){let n,i,r=t[18]("editText.invalidInputMessageLimit")+"";return{c(){n=K("p"),i=Q(r),it(n,"class","InvalidInput"),it(n,"part","InvalidInput")},m(t,e){q(t,n,e),X(n,i)},p(t,e){262144&e[0]&&r!==(r=t[18]("editText.invalidInputMessageLimit")+"")&&ot(i,r)},d(t){t&&J(n)}}}function br(t){let n,i,r,o,s,a,u,l,c,d,h,f,p,m,y,g,_=t[18]("editText.expirationDate")+"",v=(t[48].expiryDate?Pi(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",w=t[18]("editText.changedLimitTextBefore")+"",b=(0<t[48].updateAmount?t[48].updateAmount:0)+"",E=(void 0!==t[48].minutes?" minutes":t[4])+"",T=t[18]("editText.changedLimitTextAfter")+"";return{c(){n=K("p"),i=Q(_),r=tt(),o=K("span"),s=Q(v),a=tt(),u=K("div"),l=K("p"),c=K("span"),c.textContent="i",d=K("span"),h=Q(w),f=tt(),p=Q(b),m=tt(),y=Q(E),g=Q(T),it(n,"class","AccountEditLimitsExpiryDate"),it(n,"part","AccountEditLimitsExpiryDate"),it(c,"class","AccountEditLimitChangePeriodIcon"),it(c,"part","AccountEditLimitChangePeriodIcon"),it(u,"class","AccountEditLimitsPeriodChangeContainer"),it(u,"part","AccountEditLimitsPeriodChangeContainer")},m(t,e){q(t,n,e),X(n,i),X(n,r),X(n,o),X(o,s),q(t,a,e),q(t,u,e),X(u,l),X(l,c),X(l,d),X(d,h),X(d,f),X(d,p),X(d,m),X(d,y),X(d,g)},p(t,e){262144&e[0]&&_!==(_=t[18]("editText.expirationDate")+"")&&ot(i,_),16384&e[0]&&v!==(v=(t[48].expiryDate?Pi(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(s,v),262144&e[0]&&w!==(w=t[18]("editText.changedLimitTextBefore")+"")&&ot(h,w),16384&e[0]&&b!==(b=(0<t[48].updateAmount?t[48].updateAmount:0)+"")&&ot(p,b),16400&e[0]&&E!==(E=(void 0!==t[48].minutes?" minutes":t[4])+"")&&ot(y,E),262144&e[0]&&T!==(T=t[18]("editText.changedLimitTextAfter")+"")&&ot(g,T)},d(t){t&&J(n),t&&J(a),t&&J(u)}}}function Er(t){let n,i,r,o,s,a=t[48].period+"",u=t[48].period==t[17][t[50]].periodName&&pr(t);return{c(){n=K("div"),i=K("p"),r=Q(a),o=tt(),u&&u.c(),s=tt(),it(i,"class","AccountEditLimitsTitle"),it(i,"part","AccountEditLimitsTitle"),it(n,"class","AccountEditLimitsBox"),it(n,"part","AccountEditLimitsBox")},m(t,e){q(t,n,e),X(n,i),X(i,r),X(n,o),u&&u.m(n,null),X(n,s)},p(t,e){16384&e[0]&&a!==(a=t[48].period+"")&&ot(r,a),t[48].period==t[17][t[50]].periodName?u?u.p(t,e):(u=pr(t),u.c(),u.m(n,s)):u&&(u.d(1),u=null)},d(t){t&&J(n),u&&u.d()}}}function Tr(n){let i,r,o,s,a,u,l,c,d,h,f,p,m,y,g,_,v,w,b,E,T,x,S,A,M,C,L,D,k,P,O,N,I,Y,R,F,U,G=n[18]("editText.back")+"",W=(n[0]?n[3]:"")+"",j=n[18]("editText.save")+"",$=n[19]&&function(n){let i,r,o,s,a,u,l,c,d,h,f,p,m,y=n[18]("editText.back")+"";return{c(){i=K("div"),r=e("svg"),o=e("defs"),s=e("style"),a=Q(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),u=e("g"),l=e("g"),c=e("path"),d=tt(),h=K("h2"),f=Q(y),it(c,"class","aaa"),it(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),it(c,"transform","translate(15 15) rotate(180)"),it(l,"transform","translate(20 158)"),it(u,"transform","translate(-20 -158)"),it(r,"xmlns","http://www.w3.org/2000/svg"),it(r,"width","15"),it(r,"height","15"),it(r,"viewBox","0 0 15 15"),it(h,"class","MyAccountCategoryTitleMobile"),it(h,"part","MyAccountCategoryTitleMobile"),it(i,"class","MenuReturnButton"),it(i,"part","MenuReturnButton")},m(t,e){q(t,i,e),X(i,r),X(r,o),X(o,s),X(s,a),X(r,u),X(u,l),X(l,c),X(i,d),X(i,h),X(h,f),p||(m=et(i,"click",n[24]),p=!0)},p(t,e){262144&e[0]&&y!==(y=t[18]("editText.back")+"")&&ot(f,y)},d(t){t&&J(i),p=!1,m()}}}(n),H=n[1]&&Ki(n),B=n[2]&&Qi(n),V=n[7]&&rr(n);return{c(){i=K("div"),$&&$.c(),r=tt(),o=K("div"),s=e("svg"),a=e("defs"),u=e("style"),l=Q(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),c=e("g"),d=e("g"),h=e("path"),f=tt(),p=K("h2"),m=Q(G),y=tt(),g=K("div"),_=K("h6"),v=Q(W),w=tt(),b=K("div"),E=K("span"),E.textContent="i",T=tt(),x=K("player-account-gaming-limits-popup"),S=tt(),H&&H.c(),A=tt(),B&&B.c(),M=tt(),V&&V.c(),C=tt(),L=K("div"),D=K("button"),k=Q(j),I=tt(),Y=K("player-account-modal"),R=K("player-account-gaming-limits-confirmation-modal"),this.c=z,it(h,"class","aaa"),it(h,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),it(h,"transform","translate(15 15) rotate(180)"),it(d,"transform","translate(20 158)"),it(c,"transform","translate(-20 -158)"),it(s,"xmlns","http://www.w3.org/2000/svg"),it(s,"width","15"),it(s,"height","15"),it(s,"viewBox","0 0 15 15"),it(p,"class","MyAccountCategoryTitle "+(n[19]?"MyAccountCategoryTitleNone":"")),it(p,"part","MyAccountCategoryTitle "+(n[19]?"MyAccountCategoryTitleNone":"")),it(o,"class","MenuReturnButton "+(n[19]?"MyAccountCategoryTitleNone":"")),it(o,"part","MenuReturnButton "+(n[19]?"MyAccountCategoryTitleNone":"")),it(E,"class","AccountEditLimitsIcon"),it(E,"part","AccountEditLimitsIcon"),rt(x,"showpopup",n[6]),rt(x,"lang",n[5]),it(b,"class","AccountEditLimitsIconWrapper"),it(b,"part","AccountEditLimitsIconWrapper"),it(g,"class","AccountEditLimitsHeader"),it(g,"part","AccountEditLimitsHeader"),it(D,"class",P="AccountEditLimitsSaveButton "+(n[15]?"":"AccountEditLimitsButtonDisabled")),it(D,"part",O="AccountEditLimitsSaveButton "+(n[15]?"":"AccountEditLimitsButtonDisabled")),D.disabled=N=!n[15],it(L,"class","AccountEditLimitsControlArea"),it(L,"part","AccountEditLimitsControlArea"),it(i,"class","AccountEditLimitsWrapper "+(n[19]?"AccountEditLimitsMobileWrapper":"")),rt(R,"modaltext",n[10]),rt(R,"modalsource","groupEdit"),rt(R,"lang",n[5])},m(t,e){q(t,i,e),$&&$.m(i,null),X(i,r),X(i,o),X(o,s),X(s,a),X(a,u),X(u,l),X(s,c),X(c,d),X(d,h),X(o,f),X(o,p),X(p,m),X(i,y),X(i,g),X(g,_),X(_,v),X(g,w),X(g,b),X(b,E),X(b,T),X(b,x),X(i,S),H&&H.m(i,null),X(i,A),B&&B.m(i,null),X(i,M),V&&V.m(i,null),X(i,C),X(i,L),X(L,D),X(D,k),q(t,I,e),q(t,Y,e),X(Y,R),F||(U=[et(o,"click",n[24]),et(E,"click",nt(n[23])),et(D,"click",n[33])],F=!0)},p(t,e){t[19]&&$.p(t,e),262144&e[0]&&G!==(G=t[18]("editText.back")+"")&&ot(m,G),9&e[0]&&W!==(W=(t[0]?t[3]:"")+"")&&ot(v,W),64&e[0]&&rt(x,"showpopup",t[6]),32&e[0]&&rt(x,"lang",t[5]),t[1]?H?H.p(t,e):(H=Ki(t),H.c(),H.m(i,A)):H&&(H.d(1),H=null),t[2]?B?B.p(t,e):(B=Qi(t),B.c(),B.m(i,M)):B&&(B.d(1),B=null),t[7]?V?V.p(t,e):(V=rr(t),V.c(),V.m(i,C)):V&&(V.d(1),V=null),262144&e[0]&&j!==(j=t[18]("editText.save")+"")&&ot(k,j),32768&e[0]&&P!==(P="AccountEditLimitsSaveButton "+(t[15]?"":"AccountEditLimitsButtonDisabled"))&&it(D,"class",P),32768&e[0]&&O!==(O="AccountEditLimitsSaveButton "+(t[15]?"":"AccountEditLimitsButtonDisabled"))&&it(D,"part",O),32768&e[0]&&N!==(N=!t[15])&&(D.disabled=N),1024&e[0]&&rt(R,"modaltext",t[10]),32&e[0]&&rt(R,"lang",t[5])},i:z,o:z,d(t){t&&J(i),$&&$.d(),H&&H.d(),B&&B.d(),V&&V.d(),t&&J(I),t&&J(Y),F=!1,Z(U)}}}function xr(t,e,o){let n;F(t,Mi,t=>o(18,n=t));let{limitsdata:i=[]}=e,{showsuccessnotification:r=!1}=e,{showdeletenotification:s=!1}=e,{limitname:a=""}=e,{playercurrency:u=""}=e,{lang:l="en"}=e;Object.keys(Li).forEach(t=>{ai(t,Li[t])});let c=!1,d=!0,h=!1,f=0,p=0,m="",y=window.navigator.userAgent,g="PC"!==Ci(y),_=!1,v=new Array(3).fill(0),w=!1,b={},E=[],T=!1,x=[];const S={amount:/^[0-9]{0,7}$/,time:/^[1-9]\d*$/};let A=[{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"]}],C=["50000","100000","200000","Custom"],L=["5000","50000","200000","Custom"],D=[{periodName:"Daily",values:["500","1000","1430","Custom"]},{periodName:"Weekly",values:["5000","7000","10000","Custom"]},{periodName:"Monthly",values:["20000","30000","43000","Custom"]}],k=["Daily","Weekly","Monthly"];const P=()=>{window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href)},O=(n,e)=>{if(_){let t=JSON.parse(JSON.stringify(e));A.forEach(e=>{t.forEach(t=>{e.periodName==n.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 A.forEach(t=>{t.periodName===n.periodName&&("Custom"!==t.amount&&"No limit"!==t.amount?t.value=JSON.parse(t.amount):"No limit"===t.amount&&(t.value=0))})},N=(t,e,n,i)=>{let r=i?t.values:t;e.amount&&"No limit"!==e.amount?r.includes(JSON.stringify(e.amount))?n.forEach(t=>{t.periodName===e.period&&(t.amount=JSON.stringify(e.amount),t.value=e.amount)}):n.forEach(t=>{t.periodName===e.period&&(t.amount="Custom",t.value=e.amount)}):n.forEach(t=>{t.periodName===e.period&&(t.amount=e.amount,t.value=0)})},I=e=>{E.forEach(t=>{e.period===t.periodName&&("Time Limit"===a&&(o(8,f=60),"Daily"===e.periodName?o(9,p=1440):"Weekly"==e.periodName?o(9,p=10080):o(9,p=43200)),-1<t.values.indexOf(e.amount)&&("No limit"===e.amount?e.amount=0:e.amount=JSON.parse(e.amount)))})},Y=()=>{var t=l;gi.set(t),t="Time Limit"===a?"time limit":"Deposit Limit"===a?"deposit limit":"Wagering Limit"===a?"wagering limit":"loss limit",o(10,m=n("editText.changeLimitsText",{values:{limit:t}})),o(11,_=Array.isArray(i)),o(16,x=JSON.parse(JSON.stringify(i))),o(14,b=JSON.parse(JSON.stringify(i))),E="Wagering Limit"===a?C:"Loss Limit"===a?L:"Deposit Limit"===a?M:"Time Limit"===a?D:[],_?(x.forEach(t=>{I(t)}),b.forEach(e=>{E.forEach(t=>{e.period===t.periodName&&N(t,e,A,!0)})})):(I(x),N(E,b,A,!1))},R=t=>{if(t.data)switch(t.data.type){case"ClosePlayerAccountGamingLimitsPopup":o(6,c=!1);break;case"GamingLimitsConfirmChanges":h=!0,(()=>{if(h){if(_?"Time Limit"===a?A.forEach(e=>{b.forEach(t=>{t.period===e.periodName&&(t.minutes=e.value)})}):A.forEach(e=>{b.forEach(t=>{t.period===e.periodName&&(t.amount=e.value)})}):A.forEach(t=>{b.period===t.periodName&&o(14,b.amount=t.value,b)}),_){let e={};"Deposit Limit"===a?(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"===a?"cumulativeSessionLimits":"depositLimits"},window.location.href)}else window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:b,limitsCategory:"Wagering Limit"===a?"wageringLimit":"lossLimit"},window.location.href);o(15,T=!1)}})();break;case"CancelGamingLimitsChanges":o(7,d=!1),setTimeout(()=>{o(7,d=!0)},10),Y(),o(15,T=!1),h=!1}};return W(()=>(window.addEventListener("message",R,!1),()=>{window.removeEventListener("message",R)})),t.$$set=t=>{"limitsdata"in t&&o(0,i=t.limitsdata),"showsuccessnotification"in t&&o(1,r=t.showsuccessnotification),"showdeletenotification"in t&&o(2,s=t.showdeletenotification),"limitname"in t&&o(3,a=t.limitname),"playercurrency"in t&&o(4,u=t.playercurrency),"lang"in t&&o(5,l=t.lang)},t.$$.update=()=>{6&t.$$.dirty[0]&&r&&s&&Y(),33&t.$$.dirty[0]&&i&&l&&Y()},[i,r,s,a,u,l,c,d,f,p,m,_,v,w,b,T,x,A,n,g,M,L,k,()=>{o(6,c=!0)},()=>{window.postMessage({type:"PlayerAccountBackToLimitsView"},window.location.href)},P,(t,e,n,i)=>{var r;_?"Custom"===t.amount?"Time Limit"==a?(o(8,f=60),"Daily"===t.periodName?o(9,p=1440):"Weekly"==t.periodName?o(9,p=10080):o(9,p=43200),t.value&&S.time.test(t.value)&&t.value>f&&t.value<=p?(o(12,v[e]=0,v),r=i[e],t.periodName==r.period&&t.value==r.amount?(o(15,T=!1),O(t,i)):o(15,T=!0)):(o(12,v[e]=1,v),o(15,T=!1))):t.value&&S.amount.test(t.value)?(o(12,v[e]=0,v),t.periodName==i[e].period&&t.value==i[e].amount?(o(15,T=!!T),O(t,i)):o(15,T=!0),A.forEach(t=>{0==t.value&&o(15,T=!1)})):(o(12,v[e]=1,v),o(15,T=!1)):(t.periodName==i[e].period?(O(t,i),o(15,T=t.value!=i[e].amount)):o(15,T=!0),A.forEach(t=>{0==t.value&&o(15,T=!1)})):b.period!=i.period?(o(15,T=!0),"Custom"==t.amount&&(t.value&&S.amount.test(t.value)?(o(13,w=!1),b.period==i.period&&t.value==i.amount?(o(15,T=!1),O(t,i)):o(15,T=!0)):(o(13,w=!0),o(15,T=!1)))):"Custom"===t.amount?t.value&&S.amount.test(t.value)?(o(13,w=!1),b.period==i.period&&t.value==i.amount?(o(15,T=!!T),O(t,i)):o(15,T=!0)):(o(13,w=!0),o(15,T=!1)):b.period==i.period?(O(t,i),o(15,T=t.value!=i.amount)):o(15,T=!0)},function(t){A[t].amount=G(this),o(17,A),o(21,L)},function(t){A[t].value=U(this.value),o(17,A),o(21,L)},function(t){A[t].value=U(this.value),o(17,A),o(21,L)},function(){b.period=G(this),o(14,b),o(22,k)},function(t,e){t[e].amount=G(this),o(17,A),o(21,L)},function(t,e){t[e].value=U(this.value),o(17,A),o(21,L)},()=>P()]}customElements.get("player-account-gaming-limits-confirmation-modal")||customElements.define("player-account-gaming-limits-confirmation-modal",class extends B{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:i(this.attributes),customElement:!0},Bi,Hi,n,{modaltext:0,modalsource:6,lang:7}),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),P()))}static get observedAttributes(){return["modaltext","modalsource","lang"]}get modaltext(){return this.$$.ctx[0]}set modaltext(t){this.$set({modaltext:t}),P()}get modalsource(){return this.$$.ctx[6]}set modalsource(t){this.$set({modalsource:t}),P()}get lang(){return this.$$.ctx[7]}set lang(t){this.$set({lang:t}),P()}});class Sr extends B{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:i(this.attributes),customElement:!0},xr,Tr,n,{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),P()))}static get observedAttributes(){return["limitsdata","showsuccessnotification","showdeletenotification","limitname","playercurrency","lang"]}get limitsdata(){return this.$$.ctx[0]}set limitsdata(t){this.$set({limitsdata:t}),P()}get showsuccessnotification(){return this.$$.ctx[1]}set showsuccessnotification(t){this.$set({showsuccessnotification:t}),P()}get showdeletenotification(){return this.$$.ctx[2]}set showdeletenotification(t){this.$set({showdeletenotification:t}),P()}get limitname(){return this.$$.ctx[3]}set limitname(t){this.$set({limitname:t}),P()}get playercurrency(){return this.$$.ctx[4]}set playercurrency(t){this.$set({playercurrency:t}),P()}get lang(){return this.$$.ctx[5]}set lang(t){this.$set({lang:t}),P()}}return customElements.get("player-account-gaming-limits-group-edit")||customElements.define("player-account-gaming-limits-group-edit",Sr),Sr});
|
|
2
2
|
//# sourceMappingURL=player-account-gaming-limits-group-edit.js.map
|