@everymatrix/player-account-controller 0.0.195 → 0.0.196
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,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function yt(){}const f=e=>e;function d(e){return e()}function u(){return Object.create(null)}function _t(e){e.forEach(d)}function ne(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function h(e,...t){if(null==e)return yt;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function R(e,t,n){e.$$.on_destroy.push(h(t,n))}var e="undefined"!=typeof window;let g=e?()=>window.performance.now():()=>Date.now(),y=e?e=>requestAnimationFrame(e):yt;const _=new Set;function b(t){_.forEach(e=>{e.c(t)||(_.delete(e),e.f())}),0!==_.size&&y(b)}function bt(e,t){e.appendChild(t)}function vt(e,t,n){e.insertBefore(t,n||null)}function wt(e){e.parentNode.removeChild(e)}function xt(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function Ct(e){return document.createElement(e)}function t(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Pt(e){return document.createTextNode(e)}function At(){return Pt(" ")}function k(){return Pt("")}function Tt(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function G(t){return function(e){return e.preventDefault(),t.call(this,e)}}function St(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function V(e,t,n){t in e?e[t]=n:St(e,t,n)}function F(e){return""===e?null:+e}function q(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function Et(e,t){e.value=null==t?"":t}function v(e,t,n,i){e.style.setProperty(t,n,i?"important":"")}function Mt(t,n){for(let e=0;e<t.options.length;e+=1){const i=t.options[e];if(i.__value===n)return i.selected=!0,0}}function X(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}function i(e){const t={};for(const n of e)t[n.name]=n.value;return t}const w=new Set;let p,x=0;function C(e,t,n,i,o,r,s,a=0){var l=16.666/i;let c="{\n";for(let e=0;e<=1;e+=l){const i=t+(n-t)*r(e);c+=100*e+`%{${s(i,1-i)}}\n`}const d=c+`100% {${s(n,1-n)}}\n}`,u=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(d)}_${a}`,h=e.ownerDocument;w.add(h);const p=h.__svelte_stylesheet||(h.__svelte_stylesheet=h.head.appendChild(Ct("style")).sheet),m=h.__svelte_rules||(h.__svelte_rules={});m[u]||(m[u]=!0,p.insertRule(`@keyframes ${u} ${d}`,p.cssRules.length));a=e.style.animation||"";return e.style.animation=`${a?`${a}, `:""}${u} ${i}ms linear ${o}ms 1 both`,x+=1,u}function m(e){p=e}function Z(e){!function(){if(!p)throw new Error("Function called outside component initialization");return p}().$$.on_mount.push(e)}const P=[],J=[],o=[],r=[],s=Promise.resolve();let a=!1;function A(){a||(a=!0,s.then(T))}function H(){return A(),s}function Dt(e){o.push(e)}let l=!1;const c=new Set;function T(){if(!l){l=!0;do{for(let e=0;e<P.length;e+=1){var t=P[e];m(t),function(e){{var t;null!==e.fragment&&(e.update(),_t(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Dt))}}(t.$$)}for(m(null),P.length=0;J.length;)J.pop()();for(let e=0;e<o.length;e+=1){const n=o[e];c.has(n)||(c.add(n),n())}}while(o.length=0,P.length);for(;r.length;)r.pop()();a=!1,l=!1,c.clear()}}let S;function E(e,t,n){e.dispatchEvent(function(e){const t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}(`${t?"intro":"outro"}${n}`))}const M=new Set;let D;function I(e,t){e&&e.i&&(M.delete(e),e.i(t))}function L(e,t,n,i){e&&e.o&&(M.has(e)||(M.add(e),D.c.push(()=>{M.delete(e),i&&(n&&e.d(1),i())}),e.o(t)))}const O={duration:0};function N(a,e,t,n){let l=e(a,t),c=n?0:1,d=null,u=null,h=null;function p(){h&&function(e,t){const n=(e.style.animation||"").split(", "),i=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),o=n.length-i.length;o&&(e.style.animation=i.join(", "),x-=o,x||y(()=>{x||(w.forEach(e=>{const t=e.__svelte_stylesheet;let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.__svelte_rules={}}),w.clear())}))}(a,h)}function m(e,t){var n=e.b-c;return t*=Math.abs(n),{a:c,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function i(e){const{delay:t=0,duration:n=300,easing:i=f,tick:o=yt,css:r}=l||O,s={start:g()+t,b:e};e||(s.group=D,D.r+=1),d||u?u=s:(r&&(p(),h=C(a,c,e,n,t,i,r)),e&&o(0,1),d=m(s,n),Dt(()=>E(a,e,"start")),function(t){let n;0===_.size&&y(b),new Promise(e=>{_.add(n={c:t,f:e})})}(e=>{return u&&e>u.start&&(d=m(u,n),u=null,E(a,d.b,"start"),r&&(p(),h=C(a,c,d.b,d.duration,0,i,l.css))),d&&(e>=d.end?(o(c=d.b,1-c),E(a,d.b,"end"),u||(d.b?p():--d.group.r||_t(d.group.c)),d=null):e>=d.start&&(e=e-d.start,c=d.a+d.d*i(e/d.duration),o(c,1-c))),!(!d&&!u)}))}return{run(e){ne(l)?(S||(S=Promise.resolve(),S.then(()=>{S=null})),S.then(()=>{l=l(),i(e)})):i(e)},end(){p(),d=u=null}}}function B(i,e,t,n,o,r,s=[-1]){var a=p;m(i);const l=i.$$={fragment:null,ctx:null,props:r,update:yt,not_equal:o,bound:u(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(a?a.$$.context:e.context||[]),callbacks:u(),dirty:s,skip_bound:!1};let c=!1;if(l.ctx=t?t(i,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return l.ctx&&o(l.ctx[e],l.ctx[e]=n)&&(!l.skip_bound&&l.bound[e]&&l.bound[e](n),c&&(n=e,-1===(e=i).$$.dirty[0]&&(P.push(e),A(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],l.update(),c=!0,_t(l.before_update),l.fragment=!!n&&n(l.ctx),e.target){if(e.hydrate){const yt=(n=e.target,Array.from(n.childNodes));l.fragment&&l.fragment.l(yt),yt.forEach(wt)}else l.fragment&&l.fragment.c();e.intro&&I(i.$$.fragment),function(t,e,n,i){const{fragment:o,on_mount:r,on_destroy:s,after_update:a}=t.$$;o&&o.m(e,n),i||Dt(()=>{var e=r.map(d).filter(ne);s?s.push(...e):_t(e),t.$$.on_mount=[]}),a.forEach(Dt)}(i,e.target,e.anchor,e.customElement),T()}m(a)}let $;"function"==typeof HTMLElement&&($=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(d).filter(ne);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){_t(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(_t(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=yt}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var z,W,Y="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==Y&&Y,U="URLSearchParams"in Y,j="Symbol"in Y&&"iterator"in Symbol,K="FileReader"in Y&&"Blob"in Y&&function(){try{return new Blob,!0}catch(e){return!1}}(),Q="FormData"in Y,ee="ArrayBuffer"in Y;function te(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function ie(e){return e="string"!=typeof e?String(e):e}function oe(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return j&&(e[Symbol.iterator]=function(){return e}),e}function re(t){this.map={},t instanceof re?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function se(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ae(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function le(e){var t=new FileReader,n=ae(t);return t.readAsArrayBuffer(e),n}function ce(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function de(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:K&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Q&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:U&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ee&&K&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=ce(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ee&&(ArrayBuffer.prototype.isPrototypeOf(e)||W(e))?this._bodyArrayBuffer=ce(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):U&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},K&&(this.blob=function(){var e=se(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?se(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(le)}),this.text=function(){var e,t,n=se(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=ae(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),i=0;i<t.length;i++)n[i]=String.fromCharCode(t[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Q&&(this.formData=function(){return this.text().then(pe)}),this.json=function(){return this.text().then(JSON.parse)},this}ee&&(z=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],W=ArrayBuffer.isView||function(e){return e&&-1<z.indexOf(Object.prototype.toString.call(e))}),re.prototype.append=function(e,t){e=te(e),t=ie(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},re.prototype.delete=function(e){delete this.map[te(e)]},re.prototype.get=function(e){return e=te(e),this.has(e)?this.map[e]:null},re.prototype.has=function(e){return this.map.hasOwnProperty(te(e))},re.prototype.set=function(e,t){this.map[te(e)]=ie(t)},re.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},re.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),oe(n)},re.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),oe(t)},re.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),oe(n)},j&&(re.prototype[Symbol.iterator]=re.prototype.entries);var ue=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function he(e,t){if(!(this instanceof he))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,i=(t=t||{}).body;if(e instanceof he){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new re(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new re(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<ue.indexOf(e)?e:n),this.mode=t.mode||this.mode||null,this.signal=t.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"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function pe(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),n.append(decodeURIComponent(e),decodeURIComponent(t)))}),n}function me(e,t){if(!(this instanceof me))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new re(t.headers),this.url=t.url||"",this._initBody(e)}he.prototype.clone=function(){return new he(this,{body:this._bodyInit})},de.call(he.prototype),de.call(me.prototype),me.prototype.clone=function(){return new me(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new re(this.headers),url:this.url})},me.error=function(){var e=new me(null,{status:0,statusText:""});return e.type="error",e};var fe=[301,302,303,307,308];me.redirect=function(e,t){if(-1===fe.indexOf(t))throw new RangeError("Invalid status code");return new me(null,{status:t,headers:{location:e}})};var ge=Y.DOMException;try{new ge}catch(yt){(ge=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),ge.prototype.constructor=ge}function ye(i,s){return new Promise(function(o,e){var t=new he(i,s);if(t.signal&&t.signal.aborted)return e(new ge("Aborted","AbortError"));var r=new XMLHttpRequest;function n(){r.abort()}r.onload=function(){var e,n,t={status:r.status,statusText:r.statusText,headers:(e=r.getAllResponseHeaders()||"",n=new re,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in r?r.responseURL:t.headers.get("X-Request-URL");var i="response"in r?r.response:r.responseText;setTimeout(function(){o(new me(i,t))},0)},r.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},r.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},r.onabort=function(){setTimeout(function(){e(new ge("Aborted","AbortError"))},0)},r.open(t.method,function(t){try{return""===t&&Y.location.href?Y.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?r.withCredentials=!0:"omit"===t.credentials&&(r.withCredentials=!1),"responseType"in r&&(K?r.responseType="blob":ee&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(r.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof re?t.headers.forEach(function(e,t){r.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){r.setRequestHeader(e,ie(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),r.onreadystatechange=function(){4===r.readyState&&t.signal.removeEventListener("abort",n)}),r.send(void 0===t._bodyInit?null:t._bodyInit)})}function kn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}ye.polyfill=!0,Y.fetch||(Y.fetch=ye,Y.Headers=re,Y.Request=he,Y.Response=me),self.fetch.bind(self);var _e=function(e,t){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function be(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}_e(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ve(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&i>=e.length?void 0:e)&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function we(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(i=r.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s}function xe(e,t){for(var n=0,i=t.length,o=e.length;n<i;n++,o++)e[o]=t[n];return e}function Ce(e){return"function"==typeof e}function Pe(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var Ae=Pe(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function Te(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var Se=(Me.prototype.unsubscribe=function(){var e,t,n,i,o;if(!this.closed){this.closed=!0;var r=this._parentage;if(r)if(this._parentage=null,Array.isArray(r))try{for(var s=ve(r),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else r.remove(this);r=this.initialTeardown;if(Ce(r))try{r()}catch(e){o=e instanceof Ae?e.errors:[e]}r=this._teardowns;if(r){this._teardowns=null;try{for(var l=ve(r),c=l.next();!c.done;c=l.next()){var d=c.value;try{ke(d)}catch(e){o=null!=o?o:[],e instanceof Ae?o=xe(xe([],we(o)),we(e.errors)):o.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}}if(o)throw new Ae(o)}},Me.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ke(e);else{if(e instanceof Me){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},Me.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Me.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Me.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Te(t,e)},Me.prototype.remove=function(e){var t=this._teardowns;t&&Te(t,e),e instanceof Me&&e._removeParent(this)},Me.EMPTY=((pn=new Me).closed=!0,pn),Me),Ee=Se.EMPTY;function Me(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function De(e){return e instanceof Se||e&&"closed"in e&&Ce(e.remove)&&Ce(e.add)&&Ce(e.unsubscribe)}function ke(e){Ce(e)?e():e.unsubscribe()}var Ie=void 0,Le=!1,Oe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,xe([],we(e)))};function Ne(){}function Be(e){e()}var Re,Fe,$e=(be(Ye,Fe=Se),Ye.create=function(e,t,n){return new ze(e,t,n)},Ye.prototype.next=function(e){this.isStopped||this._next(e)},Ye.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ye.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ye.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Fe.prototype.unsubscribe.call(this),this.destination=null)},Ye.prototype._next=function(e){this.destination.next(e)},Ye.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ye.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Ye),ze=(be(We,Re=$e),We);function We(e,t,n){var i,o,r=Re.call(this)||this;return Ce(e)?o=e:e&&(o=e.next,t=e.error,n=e.complete,r&&Le?(i=Object.create(e)).unsubscribe=function(){return r.unsubscribe()}:i=e,o=null==o?void 0:o.bind(i),t=null==t?void 0:t.bind(i),n=null==n?void 0:n.bind(i)),r.destination={next:o?He(o):Ne,error:He(null!=t?t:Ue),complete:n?He(n):Ne},r}function Ye(e){var t=Fe.call(this)||this;return t.isStopped=!1,e?De(t.destination=e)&&e.add(t):t.destination=je,t}function He(i){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{i.apply(void 0,xe([],we(e)))}catch(e){t=e,Oe(function(){throw t})}}}function Ue(e){throw e}var je={closed:!0,next:Ne,error:Ue,complete:Ne},Ge="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ve(e){return e}var qe=(Xe.prototype.lift=function(e){var t=new Xe;return t.source=this,t.operator=e,t},Xe.prototype.subscribe=function(e,t,n){var i,o=this,r=(i=e)&&i instanceof $e||i&&Ce(i.next)&&Ce(i.error)&&Ce(i.complete)&&De(i)?e:new ze(e,t,n);return Be(function(){var e=o.operator,t=o.source;r.add(e?e.call(r,t):t?o._subscribe(r):o._trySubscribe(r))}),r},Xe.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Xe.prototype.forEach=function(i,e){var o=this;return new(e=Ze(e))(function(e,t){var n=o.subscribe(function(e){try{i(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},Xe.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},Xe.prototype[Ge]=function(){return this},Xe.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?Ve:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Xe.prototype.toPromise=function(e){var i=this;return new(e=Ze(e))(function(e,t){var n;i.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},Xe.create=function(e){return new Xe(e)},Xe);function Xe(e){e&&(this._subscribe=e)}function Ze(e){return null!==(e=null!=e?e:Ie)&&void 0!==e?e:Promise}var Je,Ke,Qe,et=Pe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),tt=(be(at,Qe=qe),at.prototype.lift=function(e){var t=new nt(this,this);return t.operator=e,t},at.prototype._throwIfClosed=function(){if(this.closed)throw new et},at.prototype.next=function(r){var s=this;Be(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){var n=s.observers.slice();try{for(var i=ve(n),o=i.next();!o.done;o=i.next())o.value.next(r)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}}})},at.prototype.error=function(t){var n=this;Be(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},at.prototype.complete=function(){var t=this;Be(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},at.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(at.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),at.prototype._trySubscribe=function(e){return this._throwIfClosed(),Qe.prototype._trySubscribe.call(this,e)},at.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},at.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,i=this.observers;return t||n?Ee:(i.push(e),new Se(function(){return Te(i,e)}))},at.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,i=this.isStopped;t?e.error(n):i&&e.complete()},at.prototype.asObservable=function(){var e=new qe;return e.source=this,e},at.create=function(e,t){return new nt(e,t)},at),nt=(be(st,Ke=tt),st.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},st.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},st.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},st.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:Ee},st),it={now:function(){return(it.delegate||Date).now()},delegate:void 0},ot=(be(rt,Je=tt),rt.prototype.next=function(e){var t=this,n=t.isStopped,i=t._buffer,o=t._infiniteTimeWindow,r=t._timestampProvider,t=t._windowTime;n||(i.push(e),o||i.push(r.now()+t)),this._trimBuffer(),Je.prototype.next.call(this,e)},rt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,i=this._buffer.slice(),o=0;o<i.length&&!e.closed;o+=n?1:2)e.next(i[o]);return this._checkFinalizedStatuses(e),t},rt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,i=this._infiniteTimeWindow,o=(i?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!i){for(var r=t.now(),s=0,a=1;a<n.length&&n[a]<=r;a+=2)s=a;s&&n.splice(0,s+1)}},rt);function rt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=it);var i=Je.call(this)||this;return i._bufferSize=e,i._windowTime=t,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,t),i}function st(e,t){var n=Ke.call(this)||this;return n.destination=e,n.source=t,n}function at(){var e=Qe.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let lt=[],ct={};const dt=[];function ut(i,o=yt){let r;const s=[];function a(e){if(n(i,e)&&(i=e,r)){const e=!dt.length;for(let e=0;e<s.length;e+=1){const t=s[e];t[1](),dt.push(t,i)}if(e){for(let e=0;e<dt.length;e+=2)dt[e][0](dt[e+1]);dt.length=0}}}return{set:a,update:function(e){a(e(i))},subscribe:function(e,t=yt){const n=[e,t];return s.push(n),1===s.length&&(r=o(a)||yt),e(i),()=>{var e=s.indexOf(n);-1!==e&&s.splice(e,1),0===s.length&&(r(),r=null)}}}}function ht(e,a,t){const l=!Array.isArray(e),c=l?[e]:e,d=a.length<2;return{subscribe:ut(t,t=>{let n=!1;const i=[];let o=0,r=yt;const s=()=>{var e;o||(r(),e=a(l?i[0]:i,t),d?t(e):r=ne(e)?e:yt)},e=c.map((e,t)=>h(e,e=>{i[t]=e,o&=~(1<<t),n&&s()},()=>{o|=1<<t}));return n=!0,s(),function(){_t(e),r()}}).subscribe}}var pt=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===mt));var t},mt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function ft(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ot(Array.isArray(e)?[]:{},e,t):e}function gt(e,t,n){return e.concat(t).map(function(e){return ft(e,n)})}function kt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function It(e,t){try{return t in e}catch(e){return!1}}function Lt(i,o,r){var s={};return r.isMergeableObject(i)&&kt(i).forEach(function(e){s[e]=ft(i[e],r)}),kt(o).forEach(function(t){var e,n;(!It(e=i,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(It(i,t)&&r.isMergeableObject(o[t])?s[t]=function(){if(!r.customMerge)return Ot;var e=r.customMerge(t);return"function"==typeof e?e:Ot}()(i[t],o[t],r):s[t]=ft(o[t],r))}),s}function Ot(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||gt,n.isMergeableObject=n.isMergeableObject||pt,n.cloneUnlessOtherwiseSpecified=ft;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):Lt(e,t,n):ft(t,n)}Ot.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return Ot(e,t,n)},{})};var Nt=Ot,Bt=function(e,t){return(Bt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function Rt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Bt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Ft,$t,zt,Wt=function(){return(Wt=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Yt(e,t){for(var n=0,i=t.length,o=e.length;n<i;n++,o++)e[o]=t[n];return e}function Ht(e){return e.type===$t.literal}function Ut(e){return e.type===$t.number}function jt(e){return e.type===$t.date}function Gt(e){return e.type===$t.time}function Vt(e){return e.type===$t.select}function qt(e){return e.type===$t.plural}function Xt(e){return e.type===$t.tag}function Zt(e){return e&&"object"==typeof e&&e.type===zt.number}function Jt(e){return e&&"object"==typeof e&&e.type===zt.dateTime}(mn=Ft=Ft||{})[mn.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",mn[mn.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",mn[mn.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",mn[mn.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",mn[mn.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",mn[mn.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",mn[mn.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",mn[mn.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",mn[mn.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",mn[mn.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",mn[mn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",mn[mn.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",mn[mn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",mn[mn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",mn[mn.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",mn[mn.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",mn[mn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",mn[mn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",mn[mn.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",mn[mn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",mn[mn.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",mn[mn.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",mn[mn.INVALID_TAG=23]="INVALID_TAG",mn[mn.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",mn[mn.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",mn[mn.UNCLOSED_TAG=27]="UNCLOSED_TAG",(fn=$t=$t||{})[fn.literal=0]="literal",fn[fn.argument=1]="argument",fn[fn.number=2]="number",fn[fn.date=3]="date",fn[fn.time=4]="time",fn[fn.select=5]="select",fn[fn.plural=6]="plural",fn[fn.pound=7]="pound",fn[fn.tag=8]="tag",(gn=zt=zt||{})[gn.number=0]="number",gn[gn.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Kt=/(?:[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 Qt,en=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,tn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,nn=/^(@+)?(\+|#+)?$/g,on=/(\*)(0+)|(#+)(0+)|(0+)/g,rn=/^(0+)$/;function sn(e){var i={};return e.replace(nn,function(e,t,n){return"string"!=typeof n?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===n?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),i}function an(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function ln(e){return an(e)||{}}function cn(e){for(var s={},t=0,n=e;t<n.length;t++){var i,o=n[t];switch(o.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=o.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=o.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=Wt(Wt(Wt({},s),{notation:"scientific"}),o.options.reduce(function(e,t){return Wt(Wt({},e),ln(t))},{}));continue;case"engineering":s=Wt(Wt(Wt({},s),{notation:"engineering"}),o.options.reduce(function(e,t){return Wt(Wt({},e),ln(t))},{}));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(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(on,function(e,t,n,i,o,r){if(t)s.minimumIntegerDigits=n.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(r)throw new Error("We currently do not support exact integer digits")}return""});continue}if(rn.test(o.stem))s.minimumIntegerDigits=o.stem.length;else if(tn.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(tn,function(e,t,n,i,o,r){return"*"===n?s.minimumFractionDigits=t.length:i&&"#"===i[0]?s.maximumFractionDigits=i.length:o&&r?(s.minimumFractionDigits=o.length,s.maximumFractionDigits=o.length+r.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""}),o.options.length&&(s=Wt(Wt({},s),sn(o.options[0])))}else nn.test(o.stem)?s=Wt(Wt({},s),sn(o.stem)):((i=an(o.stem))&&(s=Wt(Wt({},s),i)),(i=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!rn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(s=Wt(Wt({},s),i)))}return s}var dn=new RegExp("^"+e.source+"*"),un=new RegExp(e.source+"*$");function hn(e,t){return{start:e,end:t}}var pn=!!String.prototype.startsWith,Ge=!!String.fromCodePoint,tt=!!Object.fromEntries,mn=!!String.prototype.codePointAt,fn=!!String.prototype.trimStart,gn=!!String.prototype.trimEnd,yn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},e=!0;try{e="a"===(null===(Qt=Tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Qt?void 0:Qt[0])}catch(yt){e=!1}var _n,bn,vn=pn?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},wn=Ge?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,i="",o=e.length,r=0;r<o;){if(1114111<(n=e[r++]))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},xn=tt?Object.fromEntries:function(e){for(var t={},n=0,i=e;n<i.length;n++){var o=i[n],r=o[0],o=o[1];t[r]=o}return t},Cn=mn?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var i,o=e.charCodeAt(t);return o<55296||56319<o||t+1===n||(i=e.charCodeAt(t+1))<56320||57343<i?o:i-56320+(o-55296<<10)+65536}},Pn=fn?function(e){return e.trimStart()}:function(e){return e.replace(dn,"")},An=gn?function(e){return e.trimEnd()}:function(e){return e.replace(un,"")};function Tn(e,t){return new RegExp(e,t)}bn=e?(_n=Tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return _n.lastIndex=t,null!==(e=_n.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,i=[];;){var o=Cn(e,t);if(void 0===o||Dn(o)||(33<=(n=o)&&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(o),t+=65536<=o?2:1}return wn.apply(void 0,i)};var Sn=(En.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},En.prototype.parseMessage=function(e,t,n){for(var i=[];!this.isEOF();){var o,r=this.char();if(123===r){if((o=this.parseArgument(e,n)).err)return o;i.push(o.val)}else{if(125===r&&0<e)break;if(35!==r||"plural"!==t&&"selectordinal"!==t){if(60===r&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Ft.UNMATCHED_CLOSING_TAG,hn(this.clonePosition(),this.clonePosition()))}if(60===r&&!this.ignoreTag&&Mn(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;i.push(o.val)}else{if((o=this.parseLiteral(e,t)).err)return o;i.push(o.val)}}else{r=this.clonePosition();this.bump(),i.push({type:$t.pound,location:hn(r,this.clonePosition())})}}}return{val:i,err:null}},En.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:$t.literal,value:"<"+i+"/>",location:hn(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;e=o.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Mn(this.char()))return this.error(Ft.INVALID_TAG,hn(t,this.clonePosition()));o=this.clonePosition();return i!==this.parseTagName()?this.error(Ft.UNMATCHED_CLOSING_TAG,hn(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:$t.tag,value:i,children:e,location:hn(n,this.clonePosition())},err:null}:this.error(Ft.INVALID_TAG,hn(t,this.clonePosition())))}return this.error(Ft.UNCLOSED_TAG,hn(n,this.clonePosition()))}return this.error(Ft.INVALID_TAG,hn(n,this.clonePosition()))},En.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},En.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),i="";;){var o=this.tryParseQuote(t);if(o)i+=o;else{o=this.tryParseUnquoted(e,t);if(o)i+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;i+=o}}}n=hn(n,this.clonePosition());return{val:{type:$t.literal,value:i,location:n},err:null}},En.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Mn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},En.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return wn.apply(void 0,t)},En.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),wn(n))},En.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Ft.EXPECT_ARGUMENT_CLOSING_BRACE,hn(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Ft.EMPTY_ARGUMENT,hn(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(Ft.MALFORMED_ARGUMENT,hn(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Ft.EXPECT_ARGUMENT_CLOSING_BRACE,hn(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:$t.argument,value:i,location:hn(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Ft.EXPECT_ARGUMENT_CLOSING_BRACE,hn(n,this.clonePosition())):this.parseArgumentOptions(e,t,i,n);default:return this.error(Ft.MALFORMED_ARGUMENT,hn(n,this.clonePosition()))}},En.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=bn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:hn(e,this.clonePosition())}},En.prototype.parseArgumentOptions=function(e,t,n,i){var o,r=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(Ft.EXPECT_ARGUMENT_TYPE,hn(r,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(u=An(h.val)).length)return this.error(Ft.EXPECT_ARGUMENT_STYLE,hn(this.clonePosition(),this.clonePosition()));l={style:u,styleLocation:hn(c,this.clonePosition())}}if((p=this.tryParseArgumentClose(i)).err)return p;var d=hn(i,this.clonePosition());if(l&&vn(null==l?void 0:l.style,"::",0)){c=Pn(l.style.slice(2));if("number"===s)return(h=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?h:{val:{type:$t.number,value:n,location:d,style:h.val},err:null};if(0===c.length)return this.error(Ft.EXPECT_DATE_TIME_SKELETON,d);var u={type:zt.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},c.replace(Kt,function(e){var t=e.length;switch(e[0]){case"G":o.era=4===t?"long":5===t?"narrow":"short";break;case"y":o.year=2===t?"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":o.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":o.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":o.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][t-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][t-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][t-1];break;case"k":o.hourCycle="h24",o.hour=["numeric","2-digit"][t-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":o.minute=["numeric","2-digit"][t-1];break;case"s":o.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":o.timeZoneName=t<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""}),o):{}};return{val:{type:"date"===s?$t.date:$t.time,value:n,location:d,style:u},err:null}}return{val:{type:"number"===s?$t.number:"date"===s?$t.date:$t.time,value:n,location:d,style:null!==(d=null==l?void 0:l.style)&&void 0!==d?d:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Ft.EXPECT_SELECT_ARGUMENT_OPTIONS,hn(l,Wt({},l)));this.bumpSpace();var h,d=this.parseIdentifierIfPossible(),l=0;if("select"!==s&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(Ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,hn(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(Ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ft.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),d=this.parseIdentifierIfPossible(),l=h.val}d=this.tryParsePluralOrSelectOptions(e,s,t,d);if(d.err)return d;if((p=this.tryParseArgumentClose(i)).err)return p;var p=hn(i,this.clonePosition());return"select"===s?{val:{type:$t.select,value:n,options:xn(d.val),location:p},err:null}:{val:{type:$t.plural,value:n,options:xn(d.val),offset:l,pluralType:"plural"===s?"cardinal":"ordinal",location:p},err:null};default:return this.error(Ft.INVALID_ARGUMENT_TYPE,hn(r,a))}},En.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Ft.EXPECT_ARGUMENT_CLOSING_BRACE,hn(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},En.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Ft.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,hn(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},En.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,i=e.split(en).filter(function(e){return 0<e.length});n<i.length;n++){var o=i[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var r=o[0],o=o.slice(1),s=0,a=o;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:r,options:o})}return t}(e)}catch(e){return this.error(Ft.INVALID_NUMBER_SKELETON,t)}return{val:{type:zt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?cn(n):{}},err:null}},En.prototype.tryParsePluralOrSelectOptions=function(e,t,n,i){for(var o=!1,r=[],s=new Set,a=i.value,l=i.location;;){if(0===a.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(Ft.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ft.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=hn(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(s.has(a))return this.error("select"===t?Ft.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Ft.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(o=!0),this.bumpSpace();var u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Ft.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Ft.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,hn(this.clonePosition(),this.clonePosition()));d=this.parseMessage(e+1,t,n);if(d.err)return d;c=this.tryParseArgumentClose(u);if(c.err)return c;r.push([a,{value:d.val,location:hn(u,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===r.length?this.error("select"===t?Ft.EXPECT_SELECT_ARGUMENT_SELECTOR:Ft.EXPECT_PLURAL_ARGUMENT_SELECTOR,hn(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(Ft.MISSING_OTHER_CLAUSE,hn(this.clonePosition(),this.clonePosition())):{val:r,err:null}},En.prototype.tryParseDecimalInteger=function(e,t){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,r=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;o=!0,r=10*r+(s-48),this.bump()}i=hn(i,this.clonePosition());return o?yn(r*=n)?{val:r,err:null}:this.error(t,i):this.error(e,i)},En.prototype.offset=function(){return this.position.offset},En.prototype.isEOF=function(){return this.offset()===this.message.length},En.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},En.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Cn(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},En.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},En.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},En.prototype.bumpIf=function(e){if(vn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},En.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},En.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},En.prototype.bumpSpace=function(){for(;!this.isEOF()&&Dn(this.char());)this.bump()},En.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},En);function En(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Mn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Dn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function In(e,t){t=Wt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new Sn(e,t).parse();if(n.err){e=SyntaxError(Ft[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,Vt(e)||qt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Ut(e)&&Zt(e.style)||(jt(e)||Gt(e))&&Jt(e.style)?delete e.style.location:Xt(e)&&n(e.children)})}(n.val),n.val}function Ln(e,t){var n=t&&t.cache?t.cache:zn,i=t&&t.serializer?t.serializer:Rn;return(t&&t.strategy?t.strategy:function(e,t){return Bn(e,this,1===e.length?On:Nn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:i})}function On(e,t,n,i){var o=null==i||"number"==typeof i||"boolean"==typeof i?i:n(i),n=t.get(o);return void 0===n&&(n=e.call(this,i),t.set(o,n)),n}function Nn(e,t,n){var i=Array.prototype.slice.call(arguments,3),o=n(i),n=t.get(o);return void 0===n&&(n=e.apply(this,i),t.set(o,n)),n}function Bn(e,t,n,i,o){return n.bind(t,e,i,o)}var Rn=function(){return JSON.stringify(arguments)};function Fn(){this.cache=Object.create(null)}Fn.prototype.has=function(e){return e in this.cache},Fn.prototype.get=function(e){return this.cache[e]},Fn.prototype.set=function(e,t){this.cache[e]=t};var $n,zn={create:function(){return new Fn}},Wn={variadic:function(e,t){return Bn(e,this,Nn,t.cache.create(),t.serializer)},monadic:function(e,t){return Bn(e,this,On,t.cache.create(),t.serializer)}};(gn=$n=$n||{}).MISSING_VALUE="MISSING_VALUE",gn.INVALID_VALUE="INVALID_VALUE",gn.MISSING_INTL_API="MISSING_INTL_API";var Yn,Hn,Un,jn,Gn,Vn=(Rt(ei,Gn=Error),ei.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},ei),qn=(Rt(Qn,jn=Vn),Qn),Xn=(Rt(Kn,Un=Vn),Kn),Zn=(Rt(Jn,Hn=Vn),Jn);function Jn(e,t){return Hn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',$n.MISSING_VALUE,t)||this}function Kn(e,t,n){return Un.call(this,'Value for "'+e+'" must be of type '+t,$n.INVALID_VALUE,n)||this}function Qn(e,t,n,i){return jn.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',$n.INVALID_VALUE,i)||this}function ei(e,t,n){e=Gn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function ti(e,t,n,i,o,r,s){if(1===e.length&&Ht(e[0]))return[{type:Yn.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var d=c[l];if(Ht(d))a.push({type:Yn.literal,value:d.value});else if(d.type===$t.pound)"number"==typeof r&&a.push({type:Yn.literal,value:n.getNumberFormat(t).format(r)});else{var u=d.value;if(!(o&&u in o))throw new Zn(u,s);var h=o[u];if(d.type===$t.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?Yn.literal:Yn.object,value:h});else if(jt(d)){var p="string"==typeof d.style?i.date[d.style]:Jt(d.style)?d.style.parsedOptions:void 0;a.push({type:Yn.literal,value:n.getDateTimeFormat(t,p).format(h)})}else if(Gt(d))p="string"==typeof d.style?i.time[d.style]:Jt(d.style)?d.style.parsedOptions:void 0,a.push({type:Yn.literal,value:n.getDateTimeFormat(t,p).format(h)});else if(Ut(d))(p="string"==typeof d.style?i.number[d.style]:Zt(d.style)?d.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),a.push({type:Yn.literal,value:n.getNumberFormat(t,p).format(h)});else{if(Xt(d)){var m=d.children,f=d.value,u=o[f];if("function"!=typeof u)throw new Xn(f,"function",s);m=u(ti(m,t,n,i,o,r).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),a.push.apply(a,m.map(function(e){return{type:"string"==typeof e?Yn.literal:Yn.object,value:e}}))}if(Vt(d)){if(!(g=d.options[h]||d.options.other))throw new qn(d.value,h,Object.keys(d.options),s);a.push.apply(a,ti(g.value,t,n,i,o))}else if(qt(d)){if(!(g=d.options["="+h])){if(!Intl.PluralRules)throw new Vn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',$n.MISSING_INTL_API,s);var m=n.getPluralRules(t,{type:d.pluralType}).select(h-(d.offset||0)),g=d.options[m]||d.options.other}if(!g)throw new qn(d.value,h,Object.keys(d.options),s);a.push.apply(a,ti(g.value,t,n,i,o,h-(d.offset||0)))}}}}return a.length<2?a:a.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===Yn.literal&&t.type===Yn.literal?n.value+=t.value:e.push(t),e},[])}function ni(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=Yn=Yn||{})[e.literal=0]="literal",e[e.object=1]="object";var ii=(Object.defineProperty(oi,"defaultLocale",{get:function(){return oi.memoizedDefaultLocale||(oi.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),oi.memoizedDefaultLocale},enumerable:!1,configurable:!0}),oi.memoizedDefaultLocale=null,oi.__parse=In,oi.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"}}},oi);function oi(e,t,n,i){var o,r,s=this;if(void 0===t&&(t=oi.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=s.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===Yn.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return ti(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof e){if(this.message=e,!oi.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=oi.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(o=oi.formats,(r=n)?Object.keys(o).reduce(function(e,t){var n,i;return e[t]=(n=o[t],(i=r[t])?Wt(Wt(Wt({},n||{}),i||{}),Object.keys(n).reduce(function(e,t){return e[t]=Wt(Wt({},n[t]),i[t]||{}),e},{})):n),e},Wt({},o)):o),this.locales=t,this.formatters=i&&i.formatters||{getNumberFormat:Ln(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Yt([void 0],t)))},{cache:ni((i=void 0===(i=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:i).number),strategy:Wn.variadic}),getDateTimeFormat:Ln(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Yt([void 0],t)))},{cache:ni(i.dateTime),strategy:Wn.variadic}),getPluralRules:Ln(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Yt([void 0],t)))},{cache:ni(i.pluralRules),strategy:Wn.variadic})}}const ri={},si=(t,n)=>{if(null!=n){if(n in ri&&t in ri[n])return ri[n][t];var i,o,r=xi(n);for(let e=0;e<r.length;e++){var s=(i=r[e],o=t,ci(i)?function(e,t){if(t in e)return e[t];const n=t.split(".");let i=e;for(let e=0;e<n.length;e++)if("object"==typeof i){if(0<e){const t=n.slice(e,n.length).join(".");if(t in i){i=i[t];break}}i=i[n[e]]}else i=void 0;return i}(function(e){return ai[e]||null}(i),o):null);if(s)return i=t,o=n,(s=s)&&(o in ri||(ri[o]={}),i in ri[o]||(ri[o][i]=s),s)}}};let ai;const li=ut({});function ci(e){return e in ai}function di(t,...n){delete ri[t],li.update(e=>(e[t]=Nt.all([e[t]||{},...n]),e))}ht([li],([e])=>Object.keys(e)),li.subscribe(e=>ai=e);const ui={};function hi(e){return ui[e]}function pi(e){return xi(e).some(e=>{return null===(e=hi(e))||void 0===e?void 0:e.size})}const mi={};function fi(e){if(!pi(e))return e in mi?mi[e]:void 0;const t=xi(e).map(e=>{var t=hi(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return mi[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){ui[e].delete(t),0===ui[e].size&&delete ui[e]}(t,e),e().then(e=>e.default||e)))).then(e=>di(t,...e))}(e))).then(()=>pi(e)?fi(e):void delete mi[e]),mi[e]}function gi(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n}const yi={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 _i=ut(!1);let bi;const vi=ut(null);function wi(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function xi(e,t=yi.fallbackLocale){e=wi(e);return t?[...new Set([...e,...wi(t)])]:e}vi.subscribe(e=>{bi=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Ci=vi.set;vi.set=t=>{if(function(e){if(null!=e){var t=xi(e);for(let e=0;e<t.length;e++){var n=t[e];if(ci(n))return n}}}(t)&&pi(t)){var{loadingDelay:n}=yi;let e;return"undefined"!=typeof window&&null!=bi&&n?e=window.setTimeout(()=>_i.set(!0),n):_i.set(!0),fi(t).then(()=>{Ci(t)}).finally(()=>{clearTimeout(e),_i.set(!1)})}return Ci(t)},vi.update=e=>Ci(e(bi));const Pi=n=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=n(e)}},Ai=(e,t)=>{var{formats:n}=yi;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ti=Pi(e=>{var{locale:t,format:n}=e,e=gi(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Ai("number",n)),new Intl.NumberFormat(t,e)}),Si=Pi(e=>{var{locale:t,format:n}=e,e=gi(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Ai("date",n):0===Object.keys(e).length&&(e=Ai("date","short")),new Intl.DateTimeFormat(t,e)}),Ei=Pi(e=>{var{locale:t,format:n}=e,e=gi(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Ai("time",n):0===Object.keys(e).length&&(e=Ai("time","short")),new Intl.DateTimeFormat(t,e)}),Mi=Pi((e,t=bi)=>new ii(e,t,yi.formats,{ignoreTag:yi.ignoreTag})),Di=ht([vi,li],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:i=bi,default:o}=t;if(null==i)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let r=si(e,i);if(r){if("string"!=typeof r)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof r}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),r}else yi.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${xi(i).join('", "')}".${pi(bi)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),r=o||e;if(!n)return r;let s=r;try{s=Mi(r,i).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return s});ht([vi],()=>(e,t)=>((e={})=>{var{locale:t=bi}=e,e=gi(e,["locale"]);return Ei(Object.assign({locale:t},e))})(t).format(e)),ht([vi],()=>(e,t)=>((e={})=>{var{locale:t=bi}=e,e=gi(e,["locale"]);return Si(Object.assign({locale:t},e))})(t).format(e)),ht([vi],()=>(e,t)=>((e={})=>{var{locale:t=bi}=e,e=gi(e,["locale"]);return Ti(Object.assign({locale:t},e))})(t).format(e)),ht([vi,li],()=>(e,t=bi)=>si(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==lt.indexOf(e)&&(t=new ot(t),ct[e]=t,lt.push(e)),ct[e]}};const ki=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",Ii='<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="20px" height="20px" viewBox="0 0 1280.000000 1216.000000"\npreserveAspectRatio="xMidYMid meet">\n<g transform="translate(0.000000,1216.000000) scale(0.100000,-0.100000)" fill="#fff" stroke="none">\n<path d="M6177 12145 c-48 -8 -350 -84 -670 -170 l-582 -155 -610 0 c-679 0-725 -3 -920 -65 -264 -82 -511 -256 -677 -475 l-49 -65 -287 -76 c-1001 -267\n-1397 -375 -1472 -401 -388 -136 -713 -468 -839 -856 -51 -158 -66 -258 -65-437 1 -112 6 -196 17 -245 8 -41 77 -304 152 -585 267 -998 355 -1327 505\n-1885 83 -311 200 -747 260 -970 60 -223 168 -625 240 -895 72 -269 180 -672 240 -895 60 -223 177 -659 260 -970 83 -311 209 -781 280 -1045 71 -264 160\n-597 199 -740 38 -143 81 -291 95 -329 119 -316 375 -594 681 -742 124 -59 230 -95 355 -121 107 -22 373 -24 475 -4 65 12 684 176 2078 549 l557 150 143\n-38 c78 -22 464 -125 857 -230 393 -105 899 -241 1125 -301 526 -142 533 -143 735 -143 241 0 387 33 605 138 254 122 478 338 608 585 86 163 30 -33 607\n2121 60 223 177 659 260 970 83 311 200 747 260 970 318 1187 597 2228 755 2815 303 1132 415 1555 427 1620 7 39 13 142 13 230 0 221 -36 383 -130 581\n-152 324 -439 583 -775 702 -72 25 -568 160 -1546 421 l-211 56 -61 76 c-183 231 -403 383 -679 469 -183 56 -237 60 -909 60 l-610 0 -545 146 c-299 80\n-584 155 -634 165 -122 27 -396 34 -518 14z m-1127 -1167 c0 -10 -70 -274 -314 -1183 -124 -463 -364 -1358 -517 -1930 -233 -869 -374 -1393 -498 -1857\n-71 -266 -173 -645 -226 -843 -53 -198 -98 -364 -100 -370 -2 -5 -3 1122 -2 2505 l2 2515 22 90 c63 265 185 487 368 670 231 232 511 367 835 404 120 13\n430 13 430 -1z m2140 -127 c47 -10 202 -51 345 -90 224 -60 1099 -295 2790 -747 475 -128 514 -140 632 -194 398 -185 684 -558 769 -1005 23 -122 23 -350\n0 -469 -9 -49 -49 -206 -87 -350 -124 -463 -367 -1368 -499 -1861 -71 -264 -197 -734 -280 -1045 -83 -311 -200 -747 -260 -970 -497 -1855 -508 -1897\n-537 -1970 -126 -317 -382 -592 -686 -735 -182 -86 -331 -123 -528 -132 -239 -10 -190 -21 -1424 310 -776 208 -1457 391 -2045 548 -493 132 -625 176 -750\n249 -407 238 -665 661 -686 1125 -11 228 -11 229 250 1200 76 281 205 762 287 1070 83 308 200 745 260 970 61 226 168 626 239 890 71 264 197 734 280 1045\n83 311 191 714 240 895 48 182 99 359 113 395 35 94 102 223 160 310 63 95 259 290 357 355 159 105 354 185 540 219 119 22 402 15 520 -13z m-4750 -3698\nc0 -1697 -3 -3084 -6 -3081 -3 3 -32 106 -65 229 -133 496 -367 1367 -469 1749 -221 825 -375 1398 -507 1890 -200 743 -185 672 -187 900 -1 156 3 212\n18 279 112 511 459 894 946 1044 119 37 249 75 263 76 4 1 7 -1388 7 -3086z"/>\n<path d="M8960 9889 c-40 -111 -149 -350 -236 -518 -430 -831 -1050 -1573 -1649 -1976 -303 -203 -564 -310 -862 -350 -250 -35 -420 -122 -600 -308 -179\n-185 -305 -425 -369 -702 -27 -113 -27 -404 0 -525 117 -536 530 -939 1063 -1036 115 -20 339 -20 458 1 176 31 368 111 522 217 43 29 124 98 179 154\nl101 100 -55 -105 c-300 -573 -638 -1052 -1021 -1443 -63 -65 -113 -120 -110 -122 2 -2 347 -96 767 -208 536 -144 762 -200 762 -191 0 7 -11 55 -25 106\n-76 289 -135 658 -166 1047 -12 164 -13 753 0 845 5 33 9 47 10 30 2 -56 50 -223 90 -314 182 -424 547 -711 1000 -786 123 -21 364 -16 476 8 461 103 835\n434 979 867 115 346 99 745 -42 1025 -72 144 -133 214 -302 351 -216 172 -367 359 -514 636 -201 378 -351 874 -431 1431 -46 319 -59 516 -59 892 -1 355 8\n505 45 784 10 80 17 146 15 148 -2 2 -13 -24 -26 -58z"/>\n</g>\n</svg>';function Li(n){let i,o,r,s;return{c(){i=Ct("div"),o=Ct("button"),o.innerHTML="<span>Logout</span>",St(i,"class","GeneralLogout")},m(e,t){vt(e,i,t),bt(i,o),r||(s=Tt(o,"click",n[7]),r=!0)},p:yt,d(e){e&&wt(i),r=!1,s()}}}function Oi(n){let i,o,r,s,a,l,c,d,u,h,p,m=!n[1]&&function(){let n;return{c(){n=Ct("span"),n.textContent="Logout",St(n,"class","PlayerLogoutText")},m(e,t){vt(e,n,t)},d(e){e&&wt(n)}}}();return{c(){i=Ct("p"),o=Ct("span"),r=t("svg"),s=t("defs"),a=t("style"),l=Pt(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:#fff;}"),c=t("path"),d=t("path"),u=At(),m&&m.c(),St(c,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),St(c,"d","M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"),St(d,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),St(d,"d","M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"),St(r,"id","bbfaf345-72af-4296-bf4b-2fd41fc03d5d"),St(r,"data-name","Layer 1"),St(r,"xmlns","http://www.w3.org/2000/svg"),St(r,"viewBox","0 0 150 150"),v(o,"width",n[1]?n[2].matches?"50px":"24px":"20px"),St(i,"class","PlayerAccountMenuItemBox "+(n[1]?"PlayerAccountMenuItemBoxMobile":"")+" "+(n[2].matches&&n[1]?"PlayerAccountMenuItemBoxTablet":""))},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(s,a),bt(a,l),bt(r,c),bt(r,d),bt(i,u),m&&m.m(i,null),h||(p=Tt(i,"click",n[6]),h=!0)},p:yt,d(e){e&&wt(i),m&&m.d(),h=!1,p()}}}function Ni(e){let n;function i(e){return"PlayerAccountMenu"===e[0]?Oi:Li}let o=i(e),r=o(e);return{c(){r.c(),n=k(),this.c=yt},m(e,t){r.m(e,t),vt(e,n,t)},p(e,[t]){o===(o=i(e))&&r?r.p(e,t):(r.d(1),r=o(e),r&&(r.c(),r.m(n.parentNode,n)))},i:yt,o:yt,d(e){r.d(e),e&&wt(n)}}}function Bi(e,t,n){let{endpoint:i=""}=t,{session:o=""}=t,{buttonlocation:r=""}=t,s=!1,a=window.navigator.userAgent,l="PC"!==ki(a);const c=window.matchMedia("(min-width: 768px)"),d=()=>{let e=new Headers;e.append("Content-type","application/json"),e.append("X-SessionID",o),fetch(`${i}/player/session/player`,{method:"DELETE",headers:e}).then(e=>{window.postMessage({type:"LogoutSuccessfull"})})};return e.$$set=e=>{"endpoint"in e&&n(4,i=e.endpoint),"session"in e&&n(5,o=e.session),"buttonlocation"in e&&n(0,r=e.buttonlocation)},e.$$.update=()=>{49&e.$$.dirty&&i&&o&&r&&(i||(error="GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.",s=!0,console.error(error)),o||(error="GENERAL-LOGOUT - Session is missing! Please provide a valid session.",s=!0,console.error(error)))},[r,l,c,d,i,o,()=>d(),()=>d()]}function Ri(e,t,n){const i=e.slice();return i[20]=t[n],i}function Fi(e){let n,i;return{c(){n=Ct("img"),St(n,"class","PlayerAccountMenuItemIcon "+(e[7]?"PlayerAccountMenuItemIconMobile":"")),n.src!==(i=e[20].menu_item_icon)&&St(n,"src",i)},m(e,t){vt(e,n,t)},p(e,t){4&t&&n.src!==(i=e[20].menu_item_icon)&&St(n,"src",i)},d(e){e&&wt(n)}}}function $i(e){let n,i=e[20].menu_item_icon+"";return{c(){n=Ct("span"),v(n,"width",e[7]?e[8].matches?"80px":"30px":"20px"),v(n,"height",e[7]?e[8].matches?"80px":"40px":"20px")},m(e,t){vt(e,n,t),n.innerHTML=i},p(e,t){4&t&&i!==(i=e[20].menu_item_icon+"")&&(n.innerHTML=i)},d(e){e&&wt(n)}}}function zi(n){let i,o,r,s,a,l,c,d,u,h=n[20].title+"";function p(e){return e[4]?$i:Fi}let m=p(n),f=m(n);function g(){return n[11](n[20])}return{c(){i=Ct("div"),o=Ct("p"),f.c(),r=At(),s=Ct("span"),a=Pt(h),l=At(),St(s,"class","PlayerAccountMenuItemTitle"),St(o,"class","PlayerAccountMenuItemWrapper"),St(i,"class",c="PlayerAccountMenuItemBox "+(n[3]!==n[20].ID||n[7]?"":"PlayerAccountMenuActiveItemBox"))},m(e,t){vt(e,i,t),bt(i,o),f.m(o,null),bt(o,r),bt(o,s),bt(s,a),bt(i,l),d||(u=Tt(i,"click",g),d=!0)},p(e,t){m===(m=p(n=e))&&f?f.p(n,t):(f.d(1),f=m(n),f&&(f.c(),f.m(o,r))),4&t&&h!==(h=n[20].title+"")&&q(a,h),12&t&&c!==(c="PlayerAccountMenuItemBox "+(n[3]!==n[20].ID||n[7]?"":"PlayerAccountMenuActiveItemBox"))&&St(i,"class",c)},d(e){e&&wt(i),f.d(),d=!1,u()}}}function Wi(e){let n,i=function(t){let n,i,o,r,s,a,l,c,d,u,h,p,m=t[7]&&function(){let n;return{c(){n=Ct("h3"),n.textContent="My Account",St(n,"class","PlayerAccountMenuCategoryTitle")},m(e,t){vt(e,n,t)},d(e){e&&wt(n)}}}(),f=t[7]&&function(e){let n,i;return{c(){n=Ct("div"),i=Ct("general-logout"),V(i,"endpoint",e[1]),V(i,"session",e[0]),V(i,"buttonlocation","PlayerAccountMenu"),St(n,"class","PlayerAccountLogOutArea")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){2&t&&V(i,"endpoint",e[1]),1&t&&V(i,"session",e[0])},d(e){e&&wt(n)}}}(t),g=t[2],y=[];for(let e=0;e<g.length;e+=1)y[e]=zi(Ri(t,g,e));let _=!t[7]&&function(e){let n,i;return{c(){n=Ct("div"),i=Ct("general-logout"),V(i,"endpoint",e[1]),V(i,"session",e[0]),V(i,"buttonlocation","PlayerAccountMenu"),St(n,"class","PlayerAccountLogOutArea")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){2&t&&V(i,"endpoint",e[1]),1&t&&V(i,"session",e[0])},d(e){e&&wt(n)}}}(t);return{c(){n=Ct("div"),i=Ct("div"),m&&m.c(),o=At(),r=Ct("p"),s=Pt(t[5]),a=At(),l=Ct("p"),c=Pt(t[6]),d=At(),f&&f.c(),u=At(),h=Ct("div");for(let e=0;e<y.length;e+=1)y[e].c();p=At(),_&&_.c(),St(r,"class","PlayerAccountMenuUser"),St(l,"class","PlayerAccountMenuEmail"),St(i,"class","PlayerAccountMenuHeader"),St(h,"class","PlayerAccountMenuList"),St(n,"class","PlayerAccountMenuContainer "+(t[7]?"PlayerAccountMobileContainer":"")+" "+(t[8].matches&&t[7]?"PlayerAccountTabletContainer":""))},m(e,t){vt(e,n,t),bt(n,i),m&&m.m(i,null),bt(i,o),bt(i,r),bt(r,s),bt(i,a),bt(i,l),bt(l,c),bt(i,d),f&&f.m(i,null),bt(n,u),bt(n,h);for(let e=0;e<y.length;e+=1)y[e].m(h,null);bt(n,p),_&&_.m(n,null)},p(t,n){if(32&n&&q(s,t[5]),64&n&&q(c,t[6]),t[7]&&f.p(t,n),924&n){let e;for(g=t[2],e=0;e<g.length;e+=1){var i=Ri(t,g,e);y[e]?y[e].p(i,n):(y[e]=zi(i),y[e].c(),y[e].m(h,null))}for(;e<y.length;e+=1)y[e].d(1);y.length=g.length}t[7]||_.p(t,n)},d(e){e&&wt(n),m&&m.d(),f&&f.d(),xt(y,e),_&&_.d()}}}(e);return{c(){i.c(),n=k(),this.c=yt},m(e,t){i.m(e,t),vt(e,n,t)},p(e,[t]){i.p(e,t)},i:yt,o:yt,d(e){i.d(e),e&&wt(n)}}}function Yi(e,t,n){let{endpoint:i=""}=t,{session:o=""}=t,{playerid:r=""}=t,s=[],a=0,l=window.navigator.userAgent,c="PC"!==ki(l),d=[],u=!0,h="",p="";t=window.matchMedia("(min-width: 768px)");Z(()=>(window.addEventListener("message",m,!1),()=>{window.removeEventListener("message",m)}));const m=e=>{if(e.data)switch(e.data.type){case"AccountMenuDetails":n(2,s=e.data.accountMenuInfo),n(3,a=s[0].ID),f();break;case"UserSessionID":n(0,o=e.data.session)}},f=()=>{s.length?n(4,u=!1):(n(2,s=d),n(4,u=!0))},g=e=>{window.postMessage({type:"ChangeAccountPage",page:e},window.location.href),n(3,a=e.ID)};return e.$$set=e=>{"endpoint"in e&&n(1,i=e.endpoint),"session"in e&&n(0,o=e.session),"playerid"in e&&n(10,r=e.playerid)},e.$$.update=()=>{1027&e.$$.dirty&&i&&o&&r&&(d=[{ID:0,title:"Profile Info",menu_item_icon:Ii},{ID:1,title:"Account Security",menu_item_icon:Ii},{ID:2,title:"Deposit",menu_item_icon:Ii},{ID:3,title:"Withdrawal",menu_item_icon:Ii},{ID:4,title:"Active Bonuses",menu_item_icon:Ii},{ID:5,title:"Self-Exclusion",menu_item_icon:Ii},{ID:6,title:"Account Closure",menu_item_icon:Ii}],fetch(`${i}/player/${r}/profile`,{method:"GET",headers:{playerId:r,"X-SessionID":o}}).then(e=>e.json()).then(e=>{n(5,h=e.username),n(6,p=e.email)},e=>{console.error(e)}))},[o,i,s,a,u,h,p,c,t,g,r,e=>g(e)]}function Hi(e,t,n){const i=e.slice();return i[8]=t[n],i}function Ui(t){let o,r=t[0],s=[];for(let e=0;e<r.length;e+=1)s[e]=ji(Hi(t,r,e));return{c(){o=Ct("div");for(let e=0;e<s.length;e+=1)s[e].c();St(o,"class","PlayerAccountNotificationsContainer "+(t[1]&&t[2].matches?"PlayerAccountNotificationsTabletContainer":t[1]?"PlayerAccountNotificationsMobileContainer":""))},m(e,t){vt(e,o,t);for(let e=0;e<s.length;e+=1)s[e].m(o,null)},p(t,n){if(1&n){let e;for(r=t[0],e=0;e<r.length;e+=1){var i=Hi(t,r,e);s[e]?s[e].p(i,n):(s[e]=ji(i),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=r.length}},d(e){e&&wt(o),xt(s,e)}}}function ji(e){let n,i,o,r,s,a,l,c,d,u,h,p,m=e[8].title+"",f=e[8].description+"";return{c(){n=Ct("a"),i=Ct("div"),o=Ct("img"),a=At(),l=Ct("p"),c=Pt(m),d=At(),u=Ct("p"),h=At(),St(o,"class","PlayerAccountNotificationIcon"),o.src!==(r=e[8].icon.icon)&&St(o,"src",r),St(o,"alt",s=e[8].title),St(l,"class","PlayerAccountNotificationTitle"),St(i,"class","PlayerAccountNotificationBoxHeader"),St(u,"class","PlayerAccountNotificationText"),St(n,"class","PlayerAccountNotificationBox"),v(n,"background",e[8].backgroundColor),St(n,"href",p=e[8].icon.link)},m(e,t){vt(e,n,t),bt(n,i),bt(i,o),bt(i,a),bt(i,l),bt(l,c),bt(n,d),bt(n,u),u.innerHTML=f,bt(n,h)},p(e,t){1&t&&o.src!==(r=e[8].icon.icon)&&St(o,"src",r),1&t&&s!==(s=e[8].title)&&St(o,"alt",s),1&t&&m!==(m=e[8].title+"")&&q(c,m),1&t&&f!==(f=e[8].description+"")&&(u.innerHTML=f),1&t&&v(n,"background",e[8].backgroundColor),1&t&&p!==(p=e[8].icon.link)&&St(n,"href",p)},d(e){e&&wt(n)}}}function Gi(e){let n;function i(e){if(e[0].length)return Ui}let o=i(e),r=o&&o(e);return{c(){r&&r.c(),n=k(),this.c=yt},m(e,t){r&&r.m(e,t),vt(e,n,t)},p(e,[t]){o===(o=i(e))&&r?r.p(e,t):(r&&r.d(1),r=o&&o(e),r&&(r.c(),r.m(n.parentNode,n)))},i:yt,o:yt,d(e){r&&r.d(e),e&&wt(n)}}}function Vi(e,t,n){let{customnotif:i=""}=t,o=window.navigator.userAgent,r="PC"!==ki(o),s=[],a=[];const l=window.matchMedia("(min-width: 768px)"),c=e=>{e.data&&"NotificationsDetails"===e.data.type&&(n(0,s=e.data.notificationsInfo),s.forEach(e=>{a.length&&(e.backgroundColor=a[0],a.shift())}))};return Z(()=>(window.addEventListener("message",c,!1),()=>{window.removeEventListener("message",c)})),e.$$set=e=>{"customnotif"in e&&n(3,i=e.customnotif)},e.$$.update=()=>{8&e.$$.dirty&&i&&(i.replace(" ",""),a=i.split(","))},[s,r,l,i]}function qi(e,t,n){const i=e.slice();return i[67]=t[n],i}function Xi(e){let n,i,o,r=e[67].Prefix+"";return{c(){n=Ct("option"),i=Pt(r),n.__value=o=e[67].Prefix,n.value=n.__value},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){4096&t[0]&&r!==(r=e[67].Prefix+"")&&q(i,r),4096&t[0]&&o!==(o=e[67].Prefix)&&(n.__value=o,n.value=n.__value)},d(e){e&&wt(n)}}}function Zi(e){let n,i,o,r=e[67].Prefix+"";return{c(){n=Ct("option"),i=Pt(r),n.selected=!0,n.__value=o=e[67].Prefix,n.value=n.__value},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){4096&t[0]&&r!==(r=e[67].Prefix+"")&&q(i,r),4096&t[0]&&o!==(o=e[67].Prefix)&&(n.__value=o,n.value=n.__value)},d(e){e&&wt(n)}}}function Ji(e){let n;function i(e){return e[67].Prefix===e[14].mobiePrefix?Zi:Xi}let o=i(e),r=o(e);return{c(){r.c(),n=k()},m(e,t){r.m(e,t),vt(e,n,t)},p(e,t){o===(o=i(e))&&r?r.p(e,t):(r.d(1),r=o(e),r&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&wt(n)}}}function Ki(){let n;return{c(){n=Ct("section"),n.innerHTML='<p class="PlayerDetailsConfirmSaveText">Your changes have been saved!</p>',St(n,"class","PlayerDetailsConfirmSave")},m(e,t){vt(e,n,t)},d(e){e&&wt(n)}}}function Qi(e){let n,i=function(n){let o,i,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w,x,e,C,P,A,T,S,E,M,D,k,I,L,O,N,B,R,F,$,z,W,Y,H,U,j,G,V,q,X,Z,J,K,Q,ee,te,ne,ie,oe,re,se,ae,le,ce,de,ue,he,pe,me,fe,ge,ye,_e,be,ve,we,xe,Ce,Pe,Ae,Te,Se,Ee,Me,De,ke,Ie,Le,Oe,Ne,Be,Re,Fe,$e,ze,We,Ye,He,Ue,je,Ge,Ve,qe,Xe,Ze,Je,Ke,Qe,et,tt,nt,it,ot,rt,st,at,lt,ct,dt,ut,ht,pt=n[25]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="MyAccountCategoryTitleMobile">Profile Info</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[36]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(n),mt=n[12],ft=[];for(let e=0;e<mt.length;e+=1)ft[e]=Ji(qi(n,mt,e));let gt=n[13]&&Ki();return{c(){o=Ct("form"),pt&&pt.c(),i=At(),r=Ct("h2"),s=Pt("Profile Info"),a=At(),l=Ct("div"),l.innerHTML="<h3>Personal Details</h3>",c=At(),d=Ct("section"),u=Ct("div"),h=Ct("label"),h.textContent="User name:",p=At(),m=Ct("input"),f=At(),g=Ct("div"),y=Ct("label"),y.textContent="Phone:",_=At(),b=Ct("div"),v=Ct("select");for(let e=0;e<ft.length;e+=1)ft[e].c();w=At(),x=Ct("input"),C=At(),P=Ct("div"),A=Ct("label"),A.textContent="Email:",T=At(),S=Ct("input"),E=At(),M=Ct("div"),D=Ct("label"),D.textContent="Security Question:",k=At(),I=Ct("input"),O=At(),N=Ct("div"),B=Ct("label"),B.textContent="First name:",R=At(),F=Ct("input"),$=At(),z=Ct("div"),W=Ct("label"),W.textContent="Security Answer:",Y=At(),H=Ct("input"),j=At(),G=Ct("div"),V=Ct("label"),V.textContent="Last Name:",q=At(),X=Ct("input"),Z=At(),J=Ct("div"),K=Ct("label"),K.textContent="Date of birth:",Q=At(),ee=Ct("input"),te=At(),ne=Ct("div"),ie=Ct("label"),ie.textContent="Currency:",oe=At(),re=Ct("input"),se=At(),ae=Ct("div"),le=Ct("label"),le.textContent="Title:",ce=At(),de=Ct("input"),ue=At(),he=Ct("div"),he.innerHTML="<h3>Location Details</h3>",pe=At(),me=Ct("section"),fe=Ct("div"),ge=Ct("label"),ge.textContent="Country:",ye=At(),_e=Ct("input"),ve=At(),we=Ct("div"),xe=Ct("label"),xe.textContent="City:",Ce=At(),Pe=Ct("input"),Se=At(),Ee=Ct("div"),Me=Ct("label"),Me.textContent="Address:",De=At(),ke=Ct("input"),Le=At(),Oe=Ct("div"),Ne=Ct("label"),Ne.textContent="Postal Code:",Be=At(),Re=Ct("input"),ze=At(),We=Ct("div"),We.innerHTML="<h3>Notifications</h3>",Ye=At(),He=Ct("section"),Ue=Ct("div"),je=Ct("label"),Ge=Ct("input"),Ve=At(),qe=Ct("span"),Xe=At(),Ze=Ct("span"),Ze.textContent="Enable SMS notifications",Je=At(),Ke=Ct("div"),Qe=Ct("label"),et=Ct("input"),tt=At(),nt=Ct("span"),it=At(),ot=Ct("span"),ot.textContent="Enable Emails",rt=At(),st=Ct("section"),at=Ct("div"),lt=Pt("Save Changes"),dt=At(),gt&>.c(),St(r,"class","MyAccountCategoryTitle "+(n[25]?"MyAccountCategoryTitleNone":"")),St(l,"class","PlayerNotificationsHeader"),St(m,"type","text"),St(m,"class","FieldDisabled"),m.value=n[23],m.readOnly=!0,St(u,"class","PlayerInfoBox"),void 0===n[8]&&Dt(()=>n[37].call(v)),St(x,"type","text"),St(x,"oninput","this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"),St(x,"placeholder",e=n[0]?n[18].number:""),St(b,"class","PlayerPhoneNumber"),St(g,"class","PlayerInfoBox"),St(S,"type","email"),St(S,"class","FieldDisabled"),S.value=n[19],S.readOnly=!0,St(P,"class","PlayerInfoBox"),St(I,"type","text"),St(I,"placeholder",L=n[0]?n[31]:""),St(M,"class","PlayerInfoBox"),St(F,"type","text"),St(F,"class","FieldDisabled"),F.value=n[20],F.readOnly=!0,St(N,"class","PlayerInfoBox"),St(H,"type","text"),St(H,"placeholder",U=n[0]?n[30]:""),St(z,"class","PlayerInfoBox"),St(X,"type","text"),St(X,"class","FieldDisabled"),X.value=n[22],X.readOnly=!0,St(G,"class","PlayerInfoBox"),St(ee,"type","text"),St(ee,"class","FieldDisabled"),ee.value=n[15],ee.readOnly=!0,St(J,"class","PlayerInfoBox"),St(re,"type","text"),St(re,"class","FieldDisabled"),re.value=n[17],re.readOnly=!0,St(ne,"class","PlayerInfoBox"),St(de,"type","text"),St(de,"class","FieldDisabled"),de.value=n[21],de.readOnly=!0,St(ae,"class","PlayerInfoBox"),St(d,"class","PlayerDetailsContent"),St(he,"class","PlayerLocationHeader"),St(_e,"type","text"),St(_e,"class","PlayerCountry FieldDisabled"),St(_e,"placeholder",n[16]),_e.value=be=n[11].Name,_e.readOnly=!0,St(fe,"class","PlayerInfoBox"),St(Pe,"type","text"),St(Pe,"placeholder",Ae=n[0]?n[28]:""),Pe.value=Te=n[0]?"":n[14].city,St(we,"class","PlayerInfoBox"),St(ke,"placeholder",n[27]),St(ke,"type","text"),ke.value=Ie=n[0]?"":n[14].address,St(Ee,"class","PlayerInfoBox"),St(Re,"type","number"),St(Re,"placeholder",Fe=n[0]?n[29]:""),Re.value=$e=n[0]?"":n[14].postalCode,St(Oe,"class","PlayerInfoBox"),St(me,"class","PlayerLocationContent"),St(We,"class","PlayerNotificationsHeader"),St(Ge,"type","checkbox"),St(Ge,"id","SMSNotification"),St(Ge,"name","Enable SMS notifications"),St(qe,"class","Checkmark"),St(je,"for","SMSNotification"),St(Ue,"class","PlayerNotificationBox"),St(et,"type","checkbox"),St(et,"id","EmailNotification"),St(et,"name","Enable Emails"),St(nt,"class","Checkmark"),St(Qe,"for","EmailNotification"),St(Ke,"class","PlayerNotificationBox"),St(He,"class","PlayerNotificationsCheckboxArea"),St(at,"class",ct="PlayerDetailsSaveButton "+(n[10]&&n[24]?"":"PlayerButtonDisabled")),St(st,"class","PlayerDetailsButtonsArea "+(n[25]?"PlayerDetailsButtonsAreaMobile":"")),St(o,"class","PlayerInfoWrapper "+(n[25]?"PlayerInfoWrapperMobile":"")+" "+(n[26].matches&&n[25]?"PlayerInfoWrapperTablet":""))},m(e,t){vt(e,o,t),pt&&pt.m(o,null),bt(o,i),bt(o,r),bt(r,s),bt(o,a),bt(o,l),bt(o,c),bt(o,d),bt(d,u),bt(u,h),bt(u,p),bt(u,m),bt(d,f),bt(d,g),bt(g,y),bt(g,_),bt(g,b),bt(b,v);for(let e=0;e<ft.length;e+=1)ft[e].m(v,null);Mt(v,n[8]),bt(b,w),bt(b,x),Et(x,n[9]),bt(d,C),bt(d,P),bt(P,A),bt(P,T),bt(P,S),bt(d,E),bt(d,M),bt(M,D),bt(M,k),bt(M,I),Et(I,n[6]),bt(d,O),bt(d,N),bt(N,B),bt(N,R),bt(N,F),bt(d,$),bt(d,z),bt(z,W),bt(z,Y),bt(z,H),Et(H,n[7]),bt(d,j),bt(d,G),bt(G,V),bt(G,q),bt(G,X),bt(d,Z),bt(d,J),bt(J,K),bt(J,Q),bt(J,ee),bt(d,te),bt(d,ne),bt(ne,ie),bt(ne,oe),bt(ne,re),bt(d,se),bt(d,ae),bt(ae,le),bt(ae,ce),bt(ae,de),bt(o,ue),bt(o,he),bt(o,pe),bt(o,me),bt(me,fe),bt(fe,ge),bt(fe,ye),bt(fe,_e),bt(me,ve),bt(me,we),bt(we,xe),bt(we,Ce),bt(we,Pe),n[45](Pe),bt(me,Se),bt(me,Ee),bt(Ee,Me),bt(Ee,De),bt(Ee,ke),n[47](ke),bt(me,Le),bt(me,Oe),bt(Oe,Ne),bt(Oe,Be),bt(Oe,Re),n[49](Re),bt(o,ze),bt(o,We),bt(o,Ye),bt(o,He),bt(He,Ue),bt(Ue,je),bt(je,Ge),Ge.checked=n[4],bt(je,Ve),bt(je,qe),bt(je,Xe),bt(je,Ze),bt(He,Je),bt(He,Ke),bt(Ke,Qe),bt(Qe,et),et.checked=n[5],bt(Qe,tt),bt(Qe,nt),bt(Qe,it),bt(Qe,ot),bt(o,rt),bt(o,st),bt(st,at),bt(at,lt),bt(o,dt),gt&>.m(o,null),ut||(ht=[Tt(v,"change",n[37]),Tt(v,"change",n[38]),Tt(x,"input",n[39]),Tt(x,"keyup",n[40]),Tt(I,"input",n[41]),Tt(I,"keyup",n[42]),Tt(H,"input",n[43]),Tt(H,"keyup",n[44]),Tt(Pe,"keyup",n[46]),Tt(ke,"keyup",n[48]),Tt(Re,"keyup",n[50]),Tt(Ge,"change",n[51]),Tt(Ge,"change",n[34]),Tt(et,"change",n[52]),Tt(et,"change",n[34]),Tt(at,"click",n[53])],ut=!0)},p(t,n){if(t[25]&&pt.p(t,n),8388608&n[0]&&m.value!==t[23]&&(m.value=t[23]),20480&n[0]){let e;for(mt=t[12],e=0;e<mt.length;e+=1){var i=qi(t,mt,e);ft[e]?ft[e].p(i,n):(ft[e]=Ji(i),ft[e].c(),ft[e].m(v,null))}for(;e<ft.length;e+=1)ft[e].d(1);ft.length=mt.length}4352&n[0]&&Mt(v,t[8]),262145&n[0]&&e!==(e=t[0]?t[18].number:"")&&St(x,"placeholder",e),512&n[0]&&x.value!==t[9]&&Et(x,t[9]),524288&n[0]&&S.value!==t[19]&&(S.value=t[19]),1&n[0]&&L!==(L=t[0]?t[31]:"")&&St(I,"placeholder",L),64&n[0]&&I.value!==t[6]&&Et(I,t[6]),1048576&n[0]&&F.value!==t[20]&&(F.value=t[20]),1&n[0]&&U!==(U=t[0]?t[30]:"")&&St(H,"placeholder",U),128&n[0]&&H.value!==t[7]&&Et(H,t[7]),4194304&n[0]&&X.value!==t[22]&&(X.value=t[22]),32768&n[0]&&ee.value!==t[15]&&(ee.value=t[15]),131072&n[0]&&re.value!==t[17]&&(re.value=t[17]),2097152&n[0]&&de.value!==t[21]&&(de.value=t[21]),65536&n[0]&&St(_e,"placeholder",t[16]),2048&n[0]&&be!==(be=t[11].Name)&&_e.value!==be&&(_e.value=be),1&n[0]&&Ae!==(Ae=t[0]?t[28]:"")&&St(Pe,"placeholder",Ae),16385&n[0]&&Te!==(Te=t[0]?"":t[14].city)&&Pe.value!==Te&&(Pe.value=Te),16385&n[0]&&Ie!==(Ie=t[0]?"":t[14].address)&&ke.value!==Ie&&(ke.value=Ie),1&n[0]&&Fe!==(Fe=t[0]?t[29]:"")&&St(Re,"placeholder",Fe),16385&n[0]&&$e!==($e=t[0]?"":t[14].postalCode)&&(Re.value=$e),16&n[0]&&(Ge.checked=t[4]),32&n[0]&&(et.checked=t[5]),16778240&n[0]&&ct!==(ct="PlayerDetailsSaveButton "+(t[10]&&t[24]?"":"PlayerButtonDisabled"))&&St(at,"class",ct),t[13]?gt||(gt=Ki(),gt.c(),gt.m(o,null)):gt&&(gt.d(1),gt=null)},d(e){e&&wt(o),pt&&pt.d(),xt(ft,e),n[45](null),n[47](null),n[49](null),gt&>.d(),ut=!1,_t(ht)}}}(e);return{c(){i.c(),n=k(),this.c=yt},m(e,t){i.m(e,t),vt(e,n,t)},p(e,t){i.p(e,t)},i:yt,o:yt,d(e){i.d(e),e&&wt(n)}}}function eo(e,t,n){let i,o,r,{endpoint:s=""}=t,a=window.navigator.userAgent,l="PC"!==ki(a),c=!0,d=!1,u=!1,h="",p="",m="",f="",g=!1,y={},_=[],b=[],v=!1;t=window.matchMedia("(min-width: 768px)");let w={address1:"",address2:"",city:"",consents:{acceptNewsEmail:!1,acceptSMSOffers:!1},country:"",mobile:{prefix:"",number:""},postalCode:"",securityAnswer:"",securityQuestion:""},x={acceptNewsEmail:!1,acceptSMSOffers:!1,address:"",city:"",mobileNumber:"",mobilePrefix:"",postalCode:"",securityAnswer:"",securityQuestion:""},C={address1:"i.e.: Glanmire Rd.",birth:"01/01/1990",city:"i.e.: Cork",consents:{acceptNewsEmail:!1,acceptSMSOffers:!1},country:"i.e.: Ireland",currency:"EUR",email:"email@here.com",firstname:"Joe",gender:"M",lastname:"Johnson",mobile:{prefix:"+00",number:"00000000"},postalCode:"i.e.: 465531",securityAnswer:"i.e.: Jerry",securityQuestion:"i.e.: Pet name?",title:"",username:"Username"},{address1:P,birth:A,city:T,country:S,currency:E,mobile:M,email:D,firstname:k,gender:I,language:L,lastname:O,postalCode:N,securityAnswer:B,securityQuestion:R,username:F}=C;const $=e=>{if(e.data)switch(e.data.type){case"ProfileDetailsData":n(0,c=!1),C=e.data.profileDetails,n(23,F=C.username),n(18,M=C.mobile),n(19,D=C.email),n(20,k=C.firstname),n(22,O=C.lastname),L=C.language,n(15,A=C.birth.day+"/"+C.birth.month+"/"+C.birth.year),n(17,E=C.currency),n(21,I=C.gender),n(16,S=C.country),n(11,y=b.find(e=>e.Alpha2Code===C.country)),n(4,d=C.consents.acceptSMSOffers),n(5,u=C.consents.acceptNewsEmail),n(6,h=C.securityQuestion),n(7,p=C.securityAnswer),n(8,m=C.mobile.prefix),n(9,f=C.mobile.number),n(14,x={address:C.address1,city:C.city,acceptNewsEmail:C.consents.acceptNewsEmail,acceptSMSOffers:C.consents.acceptSMSOffers,mobilePrefix:M.prefix,mobileNumber:M.number,postalCode:C.postalCode,securityAnswer:C.securityAnswer,securityQuestion:C.securityQuestion});break;case"ConfirmProfileInfoSave":n(10,g=!1),z()}},z=()=>{n(13,v=!0),setTimeout(()=>{n(13,v=!1)},3e3)};let W=!1;const Y=()=>{1==g&&1==W&&window.postMessage({type:"UpdatePlayerInfo",provisionalArray:w},window.location.href)},H=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},U=()=>{w={acceptNewsEmail:u,acceptSMSOffers:d,address:o.value,city:r.value,mobileNumber:f,mobilePrefix:m,postalCode:i.value,securityAnswer:p,securityQuestion:h},j(w,x),h.length<=0||p.length<=0||!r.value||!o.value||!i.value||f.length<=0?n(24,W=!1):n(24,W=!0)},j=(e,t)=>{JSON.stringify(e)===JSON.stringify(t)?n(10,g=!1):n(10,g=!0)};return Z(()=>(window.addEventListener("message",$,!1),()=>{window.removeEventListener("message",$)})),e.$$set=e=>{"endpoint"in e&&n(35,s=e.endpoint)},e.$$.update=()=>{16&e.$$.dirty[1]&&s&&fetch(`${s}/player/countries`).then(e=>e.json()).then(e=>{b=e.countries}),16&e.$$.dirty[1]&&s&&fetch(`${s}/player/phonecodes`).then(e=>e.json()).then(e=>{n(12,_=e.phoneCodes)})},[c,i,o,r,d,u,h,p,m,f,g,y,_,v,x,A,S,E,M,D,k,I,O,F,W,l,t,P,T,N,B,R,Y,H,U,s,()=>H(),function(){m=X(this),n(8,m),n(12,_)},()=>U(),function(){f=this.value,n(9,f)},()=>U(),function(){h=this.value,n(6,h)},()=>U(),function(){p=this.value,n(7,p)},()=>U(),function(e){J[e?"unshift":"push"](()=>{r=e,n(3,r)})},()=>U(),function(e){J[e?"unshift":"push"](()=>{o=e,n(2,o)})},()=>U(),function(e){J[e?"unshift":"push"](()=>{i=e,n(1,i)})},()=>U(),function(){d=this.checked,n(4,d)},function(){u=this.checked,n(5,u)},()=>Y()]}function to(n){let i,o,r,s,a,l,c,d,u,h=n[17]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 240.823 240.823" style="enable-background:new 0 0 240.823 240.823;" xml:space="preserve" width="18px" fill="#58586B"><g><path id="Chevron_Right" d="M57.633,129.007L165.93,237.268c4.752,4.74,12.451,4.74,17.215,0c4.752-4.74,4.752-12.439,0-17.179\n l-99.707-99.671l99.695-99.671c4.752-4.74,4.752-12.439,0-17.191c-4.752-4.74-12.463-4.74-17.215,0L57.621,111.816\n C52.942,116.507,52.942,124.327,57.633,129.007z"></path></g></svg> \n <span>Return to menu</span>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[38]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(n);return{c(){h&&h.c(),i=At(),o=Ct("div"),o.innerHTML="<h3>Change Password</h3>",r=At(),s=Ct("div"),a=Ct("div"),a.innerHTML='<div class="IconContainer"><div class="Checkmark"></div></div> \n <div class="TextContainer"><h3>PASSWORD RESET</h3> \n <p>Your password has been reset successfully.</p></div>',l=At(),c=Ct("div"),c.textContent="Back to Casino",St(o,"class","PlayerChangePasswordHeader"),St(a,"class","SuccessWrapper"),St(c,"class","PlayerChangePasswordBackButton"),St(s,"class","ChangedPasswordSuccessfully")},m(e,t){h&&h.m(e,t),vt(e,i,t),vt(e,o,t),vt(e,r,t),vt(e,s,t),bt(s,a),bt(s,l),bt(s,c),d||(u=Tt(c,"click",n[39]),d=!0)},p(e,t){e[17]&&h.p(e,t)},d(e){h&&h.d(e),e&&wt(i),e&&wt(o),e&&wt(r),e&&wt(s),d=!1,u()}}}function no(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w,x,C,P,A,T,S,E,M,D,k,I,L,O,N,B,R,F,$,z=n[17]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="ChangePasswordTitleMobile">Change Password</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[24]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(n);function W(e){return e[8]?oo:io}let Y=W(n),H=Y(n),U=n[2]&&ro();function j(e){return e[9]?ao:so}let G=j(n),V=G(n);function q(e){return e[11]?co:e[3]?lo:void 0}let X=q(n),Z=X&&X(n);function J(e){return e[10]?ho:uo}let K=J(n),Q=K(n),ee=n[4]&&po(),te=n[16]&&mo(n);return{c(){z&&z.c(),i=At(),o=Ct("h2"),r=Pt("Change Password"),s=At(),a=Ct("section"),l=Ct("div"),c=Ct("label"),c.textContent="Current Password:",d=At(),u=Ct("input"),h=At(),H.c(),p=At(),U&&U.c(),f=At(),g=Ct("div"),y=Ct("label"),y.textContent="New Password:",_=At(),b=Ct("input"),v=At(),V.c(),w=At(),Z&&Z.c(),C=At(),P=Ct("div"),A=Ct("label"),A.textContent="Confirm Password:",T=At(),S=Ct("input"),E=At(),Q.c(),M=At(),ee&&ee.c(),k=At(),te&&te.c(),I=At(),L=Ct("section"),O=Ct("div"),N=Pt("Change Password"),St(o,"class","ChangePasswordTitle "+(n[17]?"ChangePasswordTitleNone":"")),St(c,"for","CurrentPassword"),St(u,"id","CurrentPassword"),St(u,"type","password"),St(l,"class",m="PlayerChangePasswordBox "+(n[2]?"InvalidField":"")),St(y,"for","NewPassword"),St(b,"id","NewPassword"),St(b,"type","password"),St(g,"class",x="PlayerChangePasswordBox "+(n[3]?"InvalidField":"")),St(A,"for","ConfirmPassword"),St(S,"id","ConfirmPassword"),St(S,"type","password"),St(P,"class",D="PlayerChangePasswordBox "+(n[4]?"InvalidField":"")),St(a,"class","PlayerChangePasswordContent"),St(O,"class",B="PlayerChangePasswordSaveButton "+(n[1]?"":"ButtonInactive")),St(O,"disabled",R=!n[1]),St(L,"class","PlayerChangePasswordButtonsArea")},m(e,t){z&&z.m(e,t),vt(e,i,t),vt(e,o,t),bt(o,r),vt(e,s,t),vt(e,a,t),bt(a,l),bt(l,c),bt(l,d),bt(l,u),Et(u,n[12]),n[26](u),bt(l,h),H.m(l,null),bt(l,p),U&&U.m(l,null),bt(a,f),bt(a,g),bt(g,y),bt(g,_),bt(g,b),Et(b,n[13]),n[30](b),bt(g,v),V.m(g,null),bt(g,w),Z&&Z.m(g,null),bt(a,C),bt(a,P),bt(P,A),bt(P,T),bt(P,S),Et(S,n[14]),n[34](S),bt(P,E),Q.m(P,null),bt(P,M),ee&&ee.m(P,null),vt(e,k,t),te&&te.m(e,t),vt(e,I,t),vt(e,L,t),bt(L,O),bt(O,N),F||($=[Tt(u,"input",n[25]),Tt(u,"blur",function(){ne(n[20](n[2],n[12],n[5]))&&n[20](n[2],n[12],n[5]).apply(this,arguments)}),Tt(b,"input",n[29]),Tt(b,"blur",function(){ne(n[20](n[3],n[13],n[6]))&&n[20](n[3],n[13],n[6]).apply(this,arguments)}),Tt(S,"input",n[33]),Tt(S,"blur",function(){ne(n[20](n[4],n[14],n[7]))&&n[20](n[4],n[14],n[7]).apply(this,arguments)}),Tt(O,"click",n[37])],F=!0)},p(e,t){(n=e)[17]&&z.p(n,t),4096&t[0]&&u.value!==n[12]&&Et(u,n[12]),Y===(Y=W(n))&&H?H.p(n,t):(H.d(1),H=Y(n),H&&(H.c(),H.m(l,p))),n[2]?U||(U=ro(),U.c(),U.m(l,null)):U&&(U.d(1),U=null),4&t[0]&&m!==(m="PlayerChangePasswordBox "+(n[2]?"InvalidField":""))&&St(l,"class",m),8192&t[0]&&b.value!==n[13]&&Et(b,n[13]),G===(G=j(n))&&V?V.p(n,t):(V.d(1),V=G(n),V&&(V.c(),V.m(g,w))),X!==(X=q(n))&&(Z&&Z.d(1),Z=X&&X(n),Z&&(Z.c(),Z.m(g,null))),8&t[0]&&x!==(x="PlayerChangePasswordBox "+(n[3]?"InvalidField":""))&&St(g,"class",x),16384&t[0]&&S.value!==n[14]&&Et(S,n[14]),K===(K=J(n))&&Q?Q.p(n,t):(Q.d(1),Q=K(n),Q&&(Q.c(),Q.m(P,M))),n[4]?ee||(ee=po(),ee.c(),ee.m(P,null)):ee&&(ee.d(1),ee=null),16&t[0]&&D!==(D="PlayerChangePasswordBox "+(n[4]?"InvalidField":""))&&St(P,"class",D),n[16]?te?te.p(n,t):(te=mo(n),te.c(),te.m(I.parentNode,I)):te&&(te.d(1),te=null),2&t[0]&&B!==(B="PlayerChangePasswordSaveButton "+(n[1]?"":"ButtonInactive"))&&St(O,"class",B),2&t[0]&&R!==(R=!n[1])&&St(O,"disabled",R)},d(e){z&&z.d(e),e&&wt(i),e&&wt(o),e&&wt(s),e&&wt(a),n[26](null),H.d(),U&&U.d(),n[30](null),V.d(),Z&&Z.d(),n[34](null),Q.d(),ee&&ee.d(),e&&wt(k),te&&te.d(e),e&&wt(I),e&&wt(L),F=!1,_t($)}}}function io(n){let i,o,r,s,a,l,c,d,u,h;return{c(){i=t("svg"),o=t("defs"),r=t("style"),s=Pt(".a{fill:#fff;}"),a=t("g"),l=t("path"),c=t("circle"),St(l,"class","a"),St(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),St(l,"transform","translate(0)"),St(c,"class","a"),St(c,"cx","2.779"),St(c,"cy","2.779"),St(c,"r","2.779"),St(c,"transform","translate(20.827 30.303)"),St(a,"transform","translate(-14.185 -27.832)"),St(i,"class",d="TogglePasswordVisibility "+(n[2]?"InvalidToggle":"")),St(i,"xmlns","http://www.w3.org/2000/svg"),St(i,"width","18.843"),St(i,"height","10.5"),St(i,"viewBox","0 0 18.843 10.5")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(i,a),bt(a,l),bt(a,c),u||(h=Tt(i,"click",n[28]),u=!0)},p(e,t){4&t[0]&&d!==(d="TogglePasswordVisibility "+(e[2]?"InvalidToggle":""))&&St(i,"class",d)},d(e){e&&wt(i),u=!1,h()}}}function oo(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_;return{c(){i=t("svg"),o=t("defs"),r=t("style"),s=Pt(".a{fill:#fff;}"),a=t("g"),l=t("circle"),c=t("g"),d=t("path"),u=t("path"),h=t("g"),p=t("path"),m=t("path"),f=t("rect"),St(l,"class","a"),St(l,"cx","0.05"),St(l,"cy","0.05"),St(l,"r","0.05"),St(l,"transform","translate(121.017 31.148)"),St(d,"class","a"),St(d,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),St(d,"transform","translate(-142.164 -39.123)"),St(u,"class","a"),St(u,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),St(u,"transform","translate(-136.413 -42.068)"),St(c,"transform","translate(117.499 27.37)"),St(p,"class","a"),St(p,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),St(p,"transform","translate(-110.856 -33.157)"),St(m,"class","a"),St(m,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),St(m,"transform","translate(-130.743 -29.617)"),St(h,"transform","translate(110.856 24.899)"),St(f,"class","a"),St(f,"width","0.972"),St(f,"height","15.861"),St(f,"rx","0.486"),St(f,"transform","translate(114.827 23.858) rotate(-39.315)"),St(a,"transform","translate(-110.856 -23.242)"),St(i,"class",g="TogglePasswordVisibility "+(n[2]?"InvalidToggle":"")),St(i,"xmlns","http://www.w3.org/2000/svg"),St(i,"width","18.844"),St(i,"height","12.887"),St(i,"viewBox","0 0 18.844 12.887")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(i,a),bt(a,l),bt(a,c),bt(c,d),bt(c,u),bt(a,h),bt(h,p),bt(h,m),bt(a,f),y||(_=Tt(i,"click",n[27]),y=!0)},p(e,t){4&t[0]&&g!==(g="TogglePasswordVisibility "+(e[2]?"InvalidToggle":""))&&St(i,"class",g)},d(e){e&&wt(i),y=!1,_()}}}function ro(){let n;return{c(){n=Ct("p"),n.textContent="The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",St(n,"class","InvalidInput")},m(e,t){vt(e,n,t)},d(e){e&&wt(n)}}}function so(n){let i,o,r,s,a,l,c,d,u,h;return{c(){i=t("svg"),o=t("defs"),r=t("style"),s=Pt(".a{fill:#fff;}"),a=t("g"),l=t("path"),c=t("circle"),St(l,"class","a"),St(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),St(l,"transform","translate(0)"),St(c,"class","a"),St(c,"cx","2.779"),St(c,"cy","2.779"),St(c,"r","2.779"),St(c,"transform","translate(20.827 30.303)"),St(a,"transform","translate(-14.185 -27.832)"),St(i,"class",d="TogglePasswordVisibility "+(n[3]?"InvalidToggle":"")),St(i,"xmlns","http://www.w3.org/2000/svg"),St(i,"width","18.843"),St(i,"height","10.5"),St(i,"viewBox","0 0 18.843 10.5")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(i,a),bt(a,l),bt(a,c),u||(h=Tt(i,"click",n[32]),u=!0)},p(e,t){8&t[0]&&d!==(d="TogglePasswordVisibility "+(e[3]?"InvalidToggle":""))&&St(i,"class",d)},d(e){e&&wt(i),u=!1,h()}}}function ao(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_;return{c(){i=t("svg"),o=t("defs"),r=t("style"),s=Pt(".a{fill:#fff;}"),a=t("g"),l=t("circle"),c=t("g"),d=t("path"),u=t("path"),h=t("g"),p=t("path"),m=t("path"),f=t("rect"),St(l,"class","a"),St(l,"cx","0.05"),St(l,"cy","0.05"),St(l,"r","0.05"),St(l,"transform","translate(121.017 31.148)"),St(d,"class","a"),St(d,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),St(d,"transform","translate(-142.164 -39.123)"),St(u,"class","a"),St(u,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),St(u,"transform","translate(-136.413 -42.068)"),St(c,"transform","translate(117.499 27.37)"),St(p,"class","a"),St(p,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),St(p,"transform","translate(-110.856 -33.157)"),St(m,"class","a"),St(m,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),St(m,"transform","translate(-130.743 -29.617)"),St(h,"transform","translate(110.856 24.899)"),St(f,"class","a"),St(f,"width","0.972"),St(f,"height","15.861"),St(f,"rx","0.486"),St(f,"transform","translate(114.827 23.858) rotate(-39.315)"),St(a,"transform","translate(-110.856 -23.242)"),St(i,"class",g="TogglePasswordVisibility "+(n[3]?"InvalidToggle":"")),St(i,"xmlns","http://www.w3.org/2000/svg"),St(i,"width","18.844"),St(i,"height","12.887"),St(i,"viewBox","0 0 18.844 12.887")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(i,a),bt(a,l),bt(a,c),bt(c,d),bt(c,u),bt(a,h),bt(h,p),bt(h,m),bt(a,f),y||(_=Tt(i,"click",n[31]),y=!0)},p(e,t){8&t[0]&&g!==(g="TogglePasswordVisibility "+(e[3]?"InvalidToggle":""))&&St(i,"class",g)},d(e){e&&wt(i),y=!1,_()}}}function lo(e){let n;return{c(){n=Ct("p"),n.textContent="The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",St(n,"class","InvalidInput")},m(e,t){vt(e,n,t)},d(e){e&&wt(n)}}}function co(e){let n;return{c(){n=Ct("p"),n.textContent="The new password must be different from the old password.",St(n,"class","InvalidInputNew")},m(e,t){vt(e,n,t)},d(e){e&&wt(n)}}}function uo(n){let i,o,r,s,a,l,c,d,u,h;return{c(){i=t("svg"),o=t("defs"),r=t("style"),s=Pt(".a{fill:#fff;}"),a=t("g"),l=t("path"),c=t("circle"),St(l,"class","a"),St(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),St(l,"transform","translate(0)"),St(c,"class","a"),St(c,"cx","2.779"),St(c,"cy","2.779"),St(c,"r","2.779"),St(c,"transform","translate(20.827 30.303)"),St(a,"transform","translate(-14.185 -27.832)"),St(i,"class",d="TogglePasswordVisibility "+(n[4]?"InvalidToggle":"")),St(i,"xmlns","http://www.w3.org/2000/svg"),St(i,"width","18.843"),St(i,"height","10.5"),St(i,"viewBox","0 0 18.843 10.5")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(i,a),bt(a,l),bt(a,c),u||(h=Tt(i,"click",n[36]),u=!0)},p(e,t){16&t[0]&&d!==(d="TogglePasswordVisibility "+(e[4]?"InvalidToggle":""))&&St(i,"class",d)},d(e){e&&wt(i),u=!1,h()}}}function ho(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_;return{c(){i=t("svg"),o=t("defs"),r=t("style"),s=Pt(".a{fill:#fff;}"),a=t("g"),l=t("circle"),c=t("g"),d=t("path"),u=t("path"),h=t("g"),p=t("path"),m=t("path"),f=t("rect"),St(l,"class","a"),St(l,"cx","0.05"),St(l,"cy","0.05"),St(l,"r","0.05"),St(l,"transform","translate(121.017 31.148)"),St(d,"class","a"),St(d,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),St(d,"transform","translate(-142.164 -39.123)"),St(u,"class","a"),St(u,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),St(u,"transform","translate(-136.413 -42.068)"),St(c,"transform","translate(117.499 27.37)"),St(p,"class","a"),St(p,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),St(p,"transform","translate(-110.856 -33.157)"),St(m,"class","a"),St(m,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),St(m,"transform","translate(-130.743 -29.617)"),St(h,"transform","translate(110.856 24.899)"),St(f,"class","a"),St(f,"width","0.972"),St(f,"height","15.861"),St(f,"rx","0.486"),St(f,"transform","translate(114.827 23.858) rotate(-39.315)"),St(a,"transform","translate(-110.856 -23.242)"),St(i,"class",g="TogglePasswordVisibility "+(n[4]?"InvalidToggle":"")),St(i,"xmlns","http://www.w3.org/2000/svg"),St(i,"width","18.844"),St(i,"height","12.887"),St(i,"viewBox","0 0 18.844 12.887")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(i,a),bt(a,l),bt(a,c),bt(c,d),bt(c,u),bt(a,h),bt(h,p),bt(h,m),bt(a,f),y||(_=Tt(i,"click",n[35]),y=!0)},p(e,t){16&t[0]&&g!==(g="TogglePasswordVisibility "+(e[4]?"InvalidToggle":""))&&St(i,"class",g)},d(e){e&&wt(i),y=!1,_()}}}function po(){let n;return{c(){n=Ct("p"),n.textContent="Password must match the new password and must follow the same rules.",St(n,"class","InvalidInput")},m(e,t){vt(e,n,t)},d(e){e&&wt(n)}}}function mo(e){let n,i,o;return{c(){n=Ct("div"),i=Ct("p"),o=Pt(e[15]),St(i,"class","PasswordChangedError")},m(e,t){vt(e,n,t),bt(n,i),bt(i,o)},p(e,t){32768&t[0]&&q(o,e[15])},d(e){e&&wt(n)}}}function fo(e){let n,i=function(e){let n;function i(e){return e[0]?to:no}let o=i(e),r=o(e);return{c(){n=Ct("form"),r.c(),St(n,"class","PlayerChangePasswordWrapper "+(e[17]?"PlayerChangePasswordWrapperMobile":"")+" "+(e[18].matches&&e[17]?"PlayerChangePasswordWrapperTablet":""))},m(e,t){vt(e,n,t),r.m(n,null)},p(e,t){o===(o=i(e))&&r?r.p(e,t):(r.d(1),r=o(e),r&&(r.c(),r.m(n,null)))},d(e){e&&wt(n),r.d()}}}(e);return{c(){i.c(),n=k(),this.c=yt},m(e,t){i.m(e,t),vt(e,n,t)},p(e,t){i.p(e,t)},i:yt,o:yt,d(e){i.d(e),e&&wt(n)}}}function go(e,t,i){let n=window.navigator.userAgent,o="PC"!==ki(n),r=!1;const s=window.matchMedia("(min-width: 768px)"),a={password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/};let l,c,d,u=!1,h=!1,p=!1,m=!1,f=!1,g=!1,y,_="",b="",v="",w=!1,x="",C=!1;const P=e=>{switch(e){case"userCurrentPassword":i(8,m=!m),i(5,l.type=m?"text":"password",l);break;case"userNewPassword":i(9,f=!f),i(6,c.type=f?"text":"password",c);break;case"userConfirmPassword":i(10,g=!g),i(7,d.type=g?"text":"password",d)}},A=e=>!!a.password.test(e),T=()=>{r&&window.postMessage({type:"ChangePassword",userCurrentPassword:_,userNewPassword:b},window.location.href)},S=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},E=e=>{if(e.data)switch(e.data.type){case"PasswordChangedSuccessfully":i(0,w=!0);break;case"ShowPasswordChangedError":i(16,C=e.data.showErrorPasswordChanged),i(15,x=e.data.errorPasswordChanged)}};return Z(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)})),e.$$.update=()=>{e.$$.dirty[0]},[w,r,u,h,p,l,c,d,m,f,g,!1,_,b,v,x,C,o,s,P,(e,t,n)=>{"CurrentPassword"===n.id?i(2,u=!A(t)):"NewPassword"===n.id?(i(3,h=!A(t)),_&&i(11,y=_===b)):i(4,p=b!==v||!A(t)),i(1,r=!(u||h||p||!_||!b||!v))},T,S,()=>{},()=>S(),function(){_=this.value,i(12,_)},function(e){J[e?"unshift":"push"](()=>{l=e,i(5,l)})},()=>P("userCurrentPassword"),()=>P("userCurrentPassword"),function(){b=this.value,i(13,b)},function(e){J[e?"unshift":"push"](()=>{c=e,i(6,c)})},()=>P("userNewPassword"),()=>P("userNewPassword"),function(){v=this.value,i(14,v)},function(e){J[e?"unshift":"push"](()=>{d=e,i(7,d)})},()=>P("userConfirmPassword"),()=>P("userConfirmPassword"),()=>T(),()=>S(),()=>{}]}function yo(e,t,n){const i=e.slice();return i[23]=t[n].value,i[24]=t[n].text,i[26]=n,i}function _o(){let n;return{c(){n=Ct("div"),n.textContent=`${Po}`,St(n,"class","successMessageMobile")},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function bo(e){let n,i;return{c(){n=Ct("div"),i=Pt(Po),St(n,"class","successMessage "+(e[3]?"successMessageMobile":""))},m(e,t){vt(e,n,t),bt(n,i)},p:yt,d(e){e&&wt(n)}}}function vo(t){let o,r=t[4],s=[];for(let e=0;e<r.length;e+=1)s[e]=xo(yo(t,r,e));return{c(){o=Ct("form");for(let e=0;e<s.length;e+=1)s[e].c();St(o,"class","customRadio")},m(e,t){vt(e,o,t);for(let e=0;e<s.length;e+=1)s[e].m(o,null)},p(t,n){if(17&n){let e;for(r=t[4],e=0;e<r.length;e+=1){var i=yo(t,r,e);s[e]?s[e].p(i,n):(s[e]=xo(i),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=r.length}},d(e){e&&wt(o),xt(s,e)}}}function wo(e){let n;return{c(){n=Ct("p"),n.textContent="Loading items, please wait ..."},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function xo(n){let i,o,r,s,a,l,c,d,e=n[24]+"";return{c(){i=Ct("div"),o=Ct("input"),r=At(),s=Ct("label"),a=Pt(e),l=At(),St(o,"type","radio"),St(o,"id",n[23]),o.__value=n[23],o.value=o.__value,n[13][0].push(o),St(s,"for",n[23])},m(e,t){vt(e,i,t),bt(i,o),o.checked=o.__value===n[0],bt(i,r),bt(i,s),bt(s,a),bt(i,l),c||(d=Tt(o,"change",n[12]),c=!0)},p(e,t){1&t&&(o.checked=o.__value===e[0])},d(e){e&&wt(i),n[13][0].splice(n[13][0].indexOf(o),1),c=!1,d()}}}function Co(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y=n[3]&&function(n){let i,o,r,s,a=n[2]&&_o();return{c(){a&&a.c(),i=At(),o=Ct("div"),o.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="RealityCheckTitleMobile">Reality Check</h2>',St(o,"class","MenuReturnButton")},m(e,t){a&&a.m(e,t),vt(e,i,t),vt(e,o,t),r||(s=Tt(o,"click",n[11]),r=!0)},p(e,t){e[2]?a?a.p(e,t):(a=_o(),a.c(),a.m(i.parentNode,i)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&wt(i),e&&wt(o),r=!1,s()}}}(n),_=n[2]&&bo(n);function b(e){return e[1]?wo:vo}let v=b(n),w=v(n);return{c(){i=Ct("div"),y&&y.c(),o=At(),_&&_.c(),r=At(),s=Ct("h2"),a=Pt("Reality Check"),l=At(),c=Ct("div"),d=Ct("p"),d.innerHTML="The Reality Check facility allows you to set the frequency at which you will see a Reality Check on the screen within your gaming session. A Reality Check means a display of the time elapsed since your session began.<br/><br/>\n You are able to control the frequency at which the Reality Check will appear on your screen.",u=At(),w.c(),h=At(),p=Ct("div"),m=Ct("button"),m.textContent="Set frequency",this.c=yt,St(s,"class","RealityCheckTitle "+(n[3]?"RealityCheckTitleNone":"")),St(c,"class","RealityCheckDescription "+(n[3]?"RealityCheckDescriptionMobile":"")),St(m,"class","PlayerRealityCheckButton"),St(p,"class","BottomButtonsArea "+(n[3]?"BottomButtonsAreaMobile":"")),St(i,"class","PlayerRealityCheckWrapper "+(n[3]?"PlayerRealityCheckWrapperMobile":""))},m(e,t){vt(e,i,t),y&&y.m(i,null),bt(i,o),_&&_.m(i,null),bt(i,r),bt(i,s),bt(s,a),bt(i,l),bt(i,c),bt(c,d),bt(c,u),w.m(c,null),bt(i,h),bt(i,p),bt(p,m),f||(g=Tt(m,"click",n[14]),f=!0)},p(e,[t]){e[3]&&y.p(e,t),e[2]?_?_.p(e,t):(_=bo(e),_.c(),_.m(i,r)):_&&(_.d(1),_=null),v===(v=b(e))&&w?w.p(e,t):(w.d(1),w=v(e),w&&(w.c(),w.m(c,null)))},i:yt,o:yt,d(e){e&&wt(i),y&&y.d(),_&&_.d(),w.d(),f=!1,g()}}}customElements.get("general-logout")||customElements.define("general-logout",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid #FFFFFF4A}.PlayerAccountMenuItemBox svg{fill:#fff}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:#fff}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Bi,Ni,n,{endpoint:4,session:5,buttonlocation:0}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","session","buttonlocation"]}get endpoint(){return this.$$.ctx[4]}set endpoint(e){this.$set({endpoint:e}),T()}get session(){return this.$$.ctx[5]}set session(e){this.$set({session:e}),T()}get buttonlocation(){return this.$$.ctx[0]}set buttonlocation(e){this.$set({buttonlocation:e}),T()}}),customElements.get("player-account-menu")||customElements.define("player-account-menu",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerAccountMenuContainer{color:#fff;position:relative;height:100vh;display:flex;flex-direction:column}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{color:#FFF;flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid #696972}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList{flex-grow:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c9c9c9 #58586B}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:#58586B}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:#c9c9c9}.PlayerAccountLogOutArea{background:#58586B;color:#fff;width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:#D0046C;color:#FFF}.PlayerAccountMobileContainer{height:unset;color:#07072A}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin-top:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid #2F313E;border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:#D0046C;border-bottom:1px solid #D0046C}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;color:#FFF}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Yi,Wi,n,{endpoint:1,session:0,playerid:10}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","session","playerid"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$set({endpoint:e}),T()}get session(){return this.$$.ctx[0]}set session(e){this.$set({session:e}),T()}get playerid(){return this.$$.ctx[10]}set playerid(e){this.$set({playerid:e}),T()}}),customElements.get("player-account-notifications")||customElements.define("player-account-notifications",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerAccountNotificationsContainer{padding:0 5.008px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:#58586B;color:#fff;box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:\"nav main aside\";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Vi,Gi,n,{customnotif:3}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["customnotif"]}get customnotif(){return this.$$.ctx[3]}set customnotif(e){this.$set({customnotif:e}),T()}}),customElements.get("player-profile-info")||customElements.define("player-profile-info",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.MyAccountCategoryTitle{font-size:26px;color:#D0046C;font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:#D0046C}.MyAccountCategoryTitleNone{display:none}.PlayerInfoWrapper{color:#07072A;background:#F9F8F8;padding:50px;max-width:760px}.PlayerNotificationsHeader h3,.PlayerLocationHeader h3{font-size:16px;color:#D0046C;text-transform:capitalize;font-weight:400}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.MenuReturnButton{color:#58586B;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerInfoBox{display:flex;flex-direction:column}.PlayerInfoBox label{font-size:14px;font-weight:300;margin-bottom:10px}.PlayerInfoBox input{font-size:14px;font-weight:300;color:#07072A;padding:10px;line-height:16px;background:#FFF;border:1px solid #D1D1D1;border-radius:5px;outline:none;transition-duration:0.3s}.PlayerInfoBox input:focus,.PlayerInfoBox input :focus-within,.PlayerInfoBox input :focus-visible,.PlayerInfoBox input :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.PlayerInfoBox .FieldDisabled{opacity:0.5}.PlayerInfoBox .PlayerPhoneNumber{display:grid;grid-template-columns:1fr 5fr;column-gap:10px;position:relative}.PlayerInfoBox select{font-size:14px;font-weight:300;padding:10px;color:#07072A;background:#FFF;border:1px solid #D1D1D1;border-radius:5px;outline:none;transition-duration:0.3s}.PlayerInfoBox select:focus,.PlayerInfoBox select :focus-within,.PlayerInfoBox select :focus-visible,.PlayerInfoBox select :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.PlayerInfoBox input::-webkit-outer-spin-button,.PlayerInfoBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerInfoBox input[type=number]{-moz-appearance:textfield}.PlayerLocationContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.PlayerNotificationBox:first-child{margin-bottom:10px}.PlayerNotificationBox label{display:inline-flex;position:relative;align-items:center}.PlayerNotificationBox label span{font-size:14px;font-weight:300}.PlayerNotificationBox label input{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border-radius:50px;outline:none;transition-duration:0.3s;background-color:#D1D1D1;cursor:pointer;margin-right:10px}.PlayerNotificationBox label input:checked{background-color:#D0046C}.PlayerNotificationBox label .Checkmark{left:11px;top:7px;width:4px;height:8px;border:solid white;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:absolute}.PlayerDetailsButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;color:#07072A;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{background:#D0046C;border:1px solid #D0046C;color:#fff}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton:active{background:#9e0352}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{opacity:0.3;cursor:not-allowed}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile{width:100%;grid-template-columns:1fr 1fr}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsSaveButton{height:40px;font-size:12px}.PlayerNotificationsCheckboxArea{padding-bottom:30px}.PlayerInfoWrapperMobile{padding:20px 15px;background:#F9F8F8;max-width:unset}.PlayerInfoWrapperMobile .PlayerDetailsContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsHeader h3,.PlayerInfoWrapperMobile .PlayerDetailsHeader h3,.PlayerInfoWrapperMobile .PlayerLocationHeader h3{color:#D0046C;font-size:14px;font-weight:400}.PlayerInfoWrapperMobile .PlayerInfoBox label{color:#58586B;font-size:12px;font-weight:400}.PlayerInfoWrapperMobile .PlayerInfoBox input{color:#58586B;font-size:12px;font-weight:300}.PlayerInfoWrapperMobile .PlayerInfoBox select{color:#58586B}.PlayerInfoWrapperMobile .PlayerLocationContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsCheckboxArea .PlayerNotificationBox label{color:#07072A;font-size:12px;font-weight:300}.PlayerInfoWrapperMobile .PlayerDetailsButtonsArea{grid-column-gap:10px}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton{font-size:12px;height:40px;color:#fff}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton.PlayerButtonDisabled{color:#58586B}.PlayerInfoWrapperTablet{padding:40px 25% 40px 25%}.PlayerInfoWrapperTablet .PlayerDetailsContent{grid-row-gap:20px}.PlayerInfoWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerInfoWrapperTablet .MenuReturnButton span{font-size:20px}.PlayerInfoWrapperTablet .PlayerDetailsHeader h3,.PlayerInfoWrapperTablet .PlayerLocationHeader h3,.PlayerInfoWrapperTablet .PlayerNotificationsHeader h3{font-size:24px}.PlayerInfoWrapperTablet .PlayerInfoBox label{font-size:20px}.PlayerInfoWrapperTablet .PlayerInfoBox input{height:30px;font-size:20px;line-height:30px}.PlayerInfoWrapperTablet .PlayerInfoBox select{font-size:20px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea{grid-column-gap:40px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton{font-size:20px;height:56px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton{color:#fff}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{color:#58586B}.PlayerInfoWrapperTablet .PlayerNotificationBox label span{font-size:20px}.PlayerInfoWrapperTablet .PlayerNotificationBox label input{height:26px;width:26px}.PlayerInfoWrapperTablet .PlayerNotificationBox label .Checkmark{left:50px;top:9px}.PlayerDetailsConfirmSave{background:#0cdc13;color:#fff;padding:16px;border-radius:5px;margin-top:16px}.PlayerDetailsConfirmSave .PlayerDetailsConfirmSaveText{padding:0;margin:0}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},eo,Qi,n,{endpoint:35},[-1,-1,-1]),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint"]}get endpoint(){return this.$$.ctx[35]}set endpoint(e){this.$set({endpoint:e}),T()}}),customElements.get("player-change-password")||customElements.define("player-change-password",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerChangePasswordWrapper{color:#07072A;padding:50px;max-width:400px}.ChangePasswordTitle{font-size:26px;color:#D0046C;font-weight:400}.ChangePasswordTitleMobile{font-size:16px;color:#D0046C}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:15px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px}.PlayerChangePasswordSaveButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#FFF;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordSaveButton{background:#D0046C;border:1px solid #D0046C;color:#fff}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:14px;font-weight:300;margin-bottom:10px}.PlayerChangePasswordBox input{font-size:14px;font-weight:300;color:#07072A;padding:10px;line-height:16px;border:1px solid #D1D1D1;background:#FFFFFF;border-radius:5px;outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox.InvalidField input{border:1px solid #D0046C;background:#FBECF4;color:#D0046C}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:20px;position:absolute;right:10px;top:28px;cursor:pointer}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:#D0046C}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:#58586B}.InvalidInput,.InvalidInputNew{color:#D0046C;font-size:10px;position:absolute;bottom:-25px;margin:0;line-height:10px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:#FD2839;font-size:16px;line-height:19.2px;margin-top:0}.ChangedPasswordSuccessfully{color:#fff;position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid #16CE16;border-radius:50px;display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:solid #16CE16;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:20px;font-weight:400;margin:10px 0;color:#16CE16}.ChangedPasswordSuccessfully p{margin:0;font-size:14px;font-weight:300;color:#07072A}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#FFF;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid #D0046C;background:#D0046C;max-width:185px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{color:#D0046C;background:#fff}.PlayerChangePasswordWrapperMobile{height:100%;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column;height:100%}.PlayerChangePasswordWrapperMobile:after{content:'';position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:#D0046C;font-size:14px;font-weight:400}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{color:#58586B;font-size:12px;font-weight:400}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{color:#58586B;font-size:12px;font-weight:300}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-size:12px;height:44px;color:#58586B}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{color:#fff}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:#58586B}.MenuReturnButton{color:#58586B;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerChangePasswordWrapperTablet{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordContent{grid-row-gap:20px}.PlayerChangePasswordWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerChangePasswordWrapperTablet .MenuReturnButton span{font-size:20px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox label{font-size:20px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox input{height:30px;font-size:20px;line-height:30px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility{width:30px;top:46px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .InvalidInput{font-size:16px;bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox:last-child .InvalidInput{font-size:16px;bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{font-size:18px;height:56px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{color:#fff}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive{color:#58586B}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},go,fo,n,{},[-1,-1]),e&&e.target&&vt(e.target,this,e.anchor)}});let Po="Reality check has been successfully updated.";function Ao(t,e,n){let{realitycheck:i=""}=e,{endpoint:o=""}=e,{playerid:r=""}=e,{session:s=""}=e,a=window.navigator.userAgent,l="PC"!==ki(a),c="",d=!0,u=!1,h=[],p=[];const m=()=>{window.postMessage({type:"SubmittedRealityCheck",realityCheckUpdatedValue:c},window.location.href)},f=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},g=e=>{e.data&&"RealityCheckValueUpdated"===e.data.type&&(n(2,u=!0),setTimeout(()=>{n(2,u=!1)},2e3))};return Z(()=>(window.addEventListener("message",g,!1),()=>{window.removeEventListener("message",g)})),t.$$set=e=>{"realitycheck"in e&&n(7,i=e.realitycheck),"endpoint"in e&&n(8,o=e.endpoint),"playerid"in e&&n(9,r=e.playerid),"session"in e&&n(10,s=e.session)},t.$$.update=()=>{var e;1792&t.$$.dirty&&o&&r&&s&&(e=new URL(`${o}/player/${r}/availablerealityvalues`),fetch(e,{method:"GET",headers:{playerId:r,"X-SessionId":s,accept:"application/json"}}).then(e=>e.json()).then(e=>{h=e.AvailableRealityCheckValues,h.forEach(e=>{0==e?p.push({value:e.toString(),text:"Never"}):e<60?p.push({value:e.toString(),text:e+" Minutes"}):60==e?p.push({value:e.toString(),text:"1 Hour"}):60<e&&p.push({value:e.toString(),text:e/60+" Hours"})}),n(0,c=i||p[0].value),n(1,d=!1)},e=>{console.error(e)}))},[c,d,u,l,p,m,f,i,o,r,s,()=>f(),function(){c=this.__value,n(0,c)},[[]],()=>m()]}function To(e,t,n){const i=e.slice();return i[9]=t[n].value,i[10]=t[n].text,i}function So(e){let n,i,t=e[10]+"";return{c(){n=Ct("option"),i=Pt(t),n.__value=e[9],n.value=n.__value},m(e,t){vt(e,n,t),bt(n,i)},p:yt,d(e){e&&wt(n)}}}function Eo(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v=n[1]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="TimeoutTitleMobile">Timeout</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[5]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(n),w=n[2],x=[];for(let e=0;e<w.length;e+=1)x[e]=So(To(n,w,e));return{c(){i=Ct("div"),v&&v.c(),o=At(),r=Ct("h2"),s=Pt("Timeout"),a=At(),l=Ct("div"),c=Ct("p"),c.textContent="Everymatrix provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.",d=At(),u=Ct("p"),u.textContent='Please note that the “Time-out facility” does not in any case replace “Self-exclusion”. If you think you are experiencing a gambling addiction problem, please enter the link under "Responsible Gaming" and use the "Self-exclusion service" or contact us as soon as possible.',h=At(),p=Ct("div"),m=Ct("select");for(let e=0;e<x.length;e+=1)x[e].c();f=At(),g=Ct("div"),y=Ct("button"),y.textContent="Save",this.c=yt,St(r,"class","TimeoutTitle "+(n[1]?"TimeoutTitleNone":"")),St(l,"class","TimeoutDescription "+(n[1]?"TimeoutDescriptionMobile":"")),St(m,"class","TimeoutSelect "+(n[1]?"TimeoutSelectMobile":"")),void 0===n[0]&&Dt(()=>n[6].call(m)),St(p,"class","TimeoutSelectWrapper"),St(y,"class","TimeoutSave"),St(g,"class","TimeoutActionButtons "+(n[1]?"TimeoutActionButtonsMobile":"")),St(i,"class","TimeoutWrapper "+(n[1]?"TimeoutWrapperMobile":""))},m(e,t){vt(e,i,t),v&&v.m(i,null),bt(i,o),bt(i,r),bt(r,s),bt(i,a),bt(i,l),bt(l,c),bt(l,d),bt(l,u),bt(i,h),bt(i,p),bt(p,m);for(let e=0;e<x.length;e+=1)x[e].m(m,null);Mt(m,n[0]),bt(i,f),bt(i,g),bt(g,y),_||(b=[Tt(m,"change",n[6]),Tt(y,"click",n[7])],_=!0)},p(t,[n]){if(t[1]&&v.p(t,n),4&n){let e;for(w=t[2],e=0;e<w.length;e+=1){var i=To(t,w,e);x[e]?x[e].p(i,n):(x[e]=So(i),x[e].c(),x[e].m(m,null))}for(;e<x.length;e+=1)x[e].d(1);x.length=w.length}5&n&&Mt(m,t[0])},i:yt,o:yt,d(e){e&&wt(i),v&&v.d(),xt(x,e),_=!1,_t(b)}}}function Mo(e,t,n){let i=window.navigator.userAgent,o="PC"!==ki(i),r=[{value:"CoolOffFor24Hours",text:"24 hours"},{value:"CoolOffFor7Days",text:"7 days"},{value:"CoolOffFor30Days",text:"30 days"},{value:"CoolOffFor3Months",text:"3 months"}],s=r[0].value;const a=()=>{window.postMessage({type:"SetPlayerAccountTimeout",timeoutSelected:s},window.location.href)},l=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)};return[s,o,r,a,l,()=>l(),function(){s=X(this),n(0,s),n(2,r)},()=>a()]}customElements.get("player-reality-check")||customElements.define("player-reality-check",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.successMessage{position:absolute;display:block;top:25px;left:50px;background:#16CE16;font-size:14px;border-radius:5px;padding:10px;color:#FFF}.successMessage.successMessageMobile{display:none}.successMessageMobile{display:block;background:#16CE16;font-size:14px;border-radius:5px;padding:10px;color:#FFF}.successMessageMobile.successMessage{display:none}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=\"radio\"]{position:absolute;left:-9999px}.customRadio input[type=\"radio\"]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=\"radio\"]+label:before{content:'';background:#fff;border:1px solid #707070;height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=\"radio\"]+label:after{content:'';background:#d0046c;width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=\"radio\"]:checked+label:after{opacity:1;transform:scale(1)}.RealityCheckDescription{color:#58586B;line-height:24px}.PlayerRealityCheckWrapper{position:relative;color:#07072A;padding:50px;max-width:760px}.PlayerRealityCheckWrapper.PlayerRealityCheckWrapperMobile{padding:20px 15px;max-width:unset}.RealityCheckTitle{font-size:26px;color:#D0046C;font-weight:400}.RealityCheckTitleMobile{font-size:16px;color:#D0046C}.RealityCheckTitleNone{display:none}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#FFF;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton{background:transparent;border:1px solid #58586B}.PlayerRealityCheckButton{background:#D0046C;border:1px solid #D0046C}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:20PX}.MenuReturnButton svg{fill:#D0046C}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Ao,Co,n,{realitycheck:7,endpoint:8,playerid:9,session:10}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["realitycheck","endpoint","playerid","session"]}get realitycheck(){return this.$$.ctx[7]}set realitycheck(e){this.$set({realitycheck:e}),T()}get endpoint(){return this.$$.ctx[8]}set endpoint(e){this.$set({endpoint:e}),T()}get playerid(){return this.$$.ctx[9]}set playerid(e){this.$set({playerid:e}),T()}get session(){return this.$$.ctx[10]}set session(e){this.$set({session:e}),T()}}),customElements.get("player-account-timeout")||customElements.define("player-account-timeout",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.TimeoutWrapper{color:#07072A;padding:50px;max-width:760px}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:#D0046C}.TimeoutTitle{font-size:26px;color:#D0046C;font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:#58586B;line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:19.2px}.TimeoutSelectWrapper{color:#58586B;display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid #D1D1D1;background:#FFFFFF;border-radius:5px;padding:5px;font-size:14px;box-sizing:border-box;padding:5px 10px;font-size:16px;line-height:18px;margin-bottom:16px}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.TimeoutSelectWrapper .TimeoutSelect.TimeoutSelectMobile{width:100%;height:36px;font-size:12px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{background:#D0046C;border:1px solid #D0046C;color:#fff;cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Mo,Eo,n,{}),e&&e.target&&vt(e.target,this,e.anchor)}});var Do,ko,Io=(ko=Do={path:void 0,exports:{},require:function(e,t){return kn(null==t&&Do.path)}},Do.exports,ko.exports=function(){var e;function m(){return e.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(p(e,t))return;return 1}function r(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function o(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function i(e,t){for(var n=[],i=0;i<e.length;++i)n.push(t(e[i],i));return n}function d(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,n,i){return Mt(e,t,n,i,!0).utc()}function f(e){return null==e._pf&&(e._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}),e._pf}function h(e){if(null==e._isValid){var t=f(e),n=y.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function g(e){var t=u(NaN);return null!=e?d(f(t),e):f(t).userInvalidated=!0,t}var y=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1},_=m.momentProperties=[],t=!1;function b(e,t){var n,i,o;if(r(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),r(t._i)||(e._i=t._i),r(t._f)||(e._f=t._f),r(t._l)||(e._l=t._l),r(t._strict)||(e._strict=t._strict),r(t._tzm)||(e._tzm=t._tzm),r(t._isUTC)||(e._isUTC=t._isUTC),r(t._offset)||(e._offset=t._offset),r(t._pf)||(e._pf=f(t)),r(t._locale)||(e._locale=t._locale),0<_.length)for(n=0;n<_.length;n++)r(o=t[i=_[n]])||(e[i]=o);return e}function v(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,m.updateOffset(this),t=!1)}function w(e){return e instanceof v||null!=e&&null!=e._isAMomentObject}function x(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(o,r){var s=!0;return d(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,o),s){for(var e,t,n=[],i=0;i<arguments.length;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])p(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}x(o+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return r.apply(this,arguments)},r)}var C={};function P(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),C[e]||(x(t),C[e]=!0)}function A(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e,t){var n,i=d({},e);for(n in t)p(t,n)&&(a(e[n])&&a(t[n])?(i[n]={},d(i[n],e[n]),d(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)p(e,n)&&!p(t,n)&&a(e[n])&&(i[n]=d({},i[n]));return i}function S(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var E=Object.keys||function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};function M(e,t,n){var i=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-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,I={},L={};function O(e,t,n,i){var o="string"==typeof i?function(){return this[i]()}:i;e&&(L[e]=o),t&&(L[t[0]]=function(){return M(o.apply(this,arguments),t[1],t[2])}),n&&(L[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function N(e,t){return e.isValid()?(t=B(t,e.localeData()),I[t]=I[t]||function(i){for(var e,o=i.match(D),t=0,r=o.length;t<r;t++)L[o[t]]?o[t]=L[o[t]]:o[t]=(e=o[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<r;n++)t+=A(o[n])?o[n].call(e,i):o[n];return t}}(t),I[t](e)):e.localeData().invalidDate()}function B(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(k.lastIndex=0;0<=n&&k.test(e);)e=e.replace(k,i),k.lastIndex=0,--n;return e}var R={};function F(e,t){var n=e.toLowerCase();R[n]=R[n+"s"]=R[t]=e}function $(e){return"string"==typeof e?R[e]||R[e.toLowerCase()]:void 0}function z(e){var t,n,i={};for(n in e)p(e,n)&&(t=$(n))&&(i[t]=e[n]);return i}var W={};function Y(e,t){W[e]=t}function H(e){return e%4==0&&e%100!=0||e%400==0}function U(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function j(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?U(t):e}function G(t,n){return function(e){return null!=e?(q(this,t,e),m.updateOffset(this,n),this):V(this,t)}}function V(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function q(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&H(e.year())&&1===e.month()&&29===e.date()?(n=j(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ee(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var X=/\d/,Z=/\d\d/,J=/\d{3}/,K=/\d{4}/,Q=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,ne=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,oe=/\d{1,4}/,re=/[+-]?\d{1,6}/,se=/\d+/,ae=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ce=/Z|[+-]\d\d(?::?\d\d)?/gi,de=/[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 ue(e,n,i){me[e]=A(n)?n:function(e,t){return e&&i?i:n}}function he(e,t){return p(me,e)?me[e](t._strict,t._locale):new RegExp(pe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,o){return t||n||i||o})))}function pe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var me={},fe={};function ge(e,n){var t,i=n;for("string"==typeof e&&(e=[e]),c(n)&&(i=function(e,t){t[n]=j(e)}),t=0;t<e.length;t++)fe[e[t]]=i}function ye(e,o){ge(e,function(e,t,n,i){n._w=n._w||{},o(e,n._w,n,i)})}var _e,be=0,ve=1,we=2,xe=3,Ce=4,Pe=5,Ae=6,Te=7,Se=8;function Ee(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?H(e)?29:28:31-n%7%2}_e=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},O("M",["MM",2],"Mo",function(){return this.month()+1}),O("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),O("MMMM",0,0,function(e){return this.localeData().months(this,e)}),F("month","M"),Y("month",8),ue("M",ee),ue("MM",ee,Z),ue("MMM",function(e,t){return t.monthsShortRegex(e)}),ue("MMMM",function(e,t){return t.monthsRegex(e)}),ge(["M","MM"],function(e,t){t[ve]=j(e)-1}),ge(["MMM","MMMM"],function(e,t,n,i){i=n._locale.monthsParse(e,i,n._strict);null!=i?t[ve]=i:f(n).invalidMonth=e});var Me="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ke=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ie=de,Le=de;function Oe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=j(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ee(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ne(e){return null!=e?(Oe(this,e),m.updateOffset(this,!0),this):V(this,"Month")}function Be(){function e(e,t){return t.length-e.length}for(var t,n=[],i=[],o=[],r=0;r<12;r++)t=u([2e3,r]),n.push(this.monthsShort(t,"")),i.push(this.months(t,"")),o.push(this.months(t,"")),o.push(this.monthsShort(t,""));for(n.sort(e),i.sort(e),o.sort(e),r=0;r<12;r++)n[r]=pe(n[r]),i[r]=pe(i[r]);for(r=0;r<24;r++)o[r]=pe(o[r]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Re(e){return H(e)?366:365}O("Y",0,0,function(){var e=this.year();return e<=9999?M(e,4):"+"+e}),O(0,["YY",2],0,function(){return this.year()%100}),O(0,["YYYY",4],0,"year"),O(0,["YYYYY",5],0,"year"),O(0,["YYYYYY",6,!0],0,"year"),F("year","y"),Y("year",1),ue("Y",ae),ue("YY",ee,Z),ue("YYYY",oe,K),ue("YYYYY",re,Q),ue("YYYYYY",re,Q),ge(["YYYYY","YYYYYY"],be),ge("YYYY",function(e,t){t[be]=2===e.length?m.parseTwoDigitYear(e):j(e)}),ge("YY",function(e,t){t[be]=m.parseTwoDigitYear(e)}),ge("Y",function(e,t){t[be]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return j(e)+(68<j(e)?1900:2e3)};var Fe=G("FullYear",!0);function $e(e,t,n,i,o,r,s){var a;return e<100&&0<=e?(a=new Date(e+400,t,n,i,o,r,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,i,o,r,s),a}function ze(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function We(e,t,n){n=7+t-n;return-(7+ze(e,0,n).getUTCDay()-t)%7+n-1}function Ye(e,t,n,i,o){var r,o=1+7*(t-1)+(7+n-i)%7+We(e,i,o),o=o<=0?Re(r=e-1)+o:o>Re(e)?(r=e+1,o-Re(e)):(r=e,o);return{year:r,dayOfYear:o}}function He(e,t,n){var i,o,r=We(e.year(),t,n),r=Math.floor((e.dayOfYear()-r-1)/7)+1;return r<1?i=r+Ue(o=e.year()-1,t,n):r>Ue(e.year(),t,n)?(i=r-Ue(e.year(),t,n),o=e.year()+1):(o=e.year(),i=r),{week:i,year:o}}function Ue(e,t,n){var i=We(e,t,n),n=We(e+1,t,n);return(Re(e)-i+n)/7}O("w",["ww",2],"wo","week"),O("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),Y("week",5),Y("isoWeek",5),ue("w",ee),ue("ww",ee,Z),ue("W",ee),ue("WW",ee,Z),ye(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=j(e)});function je(e,t){return e.slice(t,7).concat(e.slice(0,t))}O("d",0,"do","day"),O("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),O("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),O("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),O("e",0,0,"weekday"),O("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),Y("day",11),Y("weekday",11),Y("isoWeekday",11),ue("d",ee),ue("e",ee),ue("E",ee),ue("dd",function(e,t){return t.weekdaysMinRegex(e)}),ue("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ue("dddd",function(e,t){return t.weekdaysRegex(e)}),ye(["dd","ddd","dddd"],function(e,t,n,i){i=n._locale.weekdaysParse(e,i,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),ye(["d","e","E"],function(e,t,n,i){t[i]=j(e)});var Ge="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=de,Ze=de,Je=de;function Ke(){function e(e,t){return t.length-e.length}for(var t,n,i,o=[],r=[],s=[],a=[],l=0;l<7;l++)i=u([2e3,1]).day(l),t=pe(this.weekdaysMin(i,"")),n=pe(this.weekdaysShort(i,"")),i=pe(this.weekdays(i,"")),o.push(t),r.push(n),s.push(i),a.push(t),a.push(n),a.push(i);o.sort(e),r.sort(e),s.sort(e),a.sort(e),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("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Qe(){return this.hours()%12||12}function et(e,t){O(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}O("H",["HH",2],0,"hour"),O("h",["hh",2],0,Qe),O("k",["kk",2],0,function(){return this.hours()||24}),O("hmm",0,0,function(){return""+Qe.apply(this)+M(this.minutes(),2)}),O("hmmss",0,0,function(){return""+Qe.apply(this)+M(this.minutes(),2)+M(this.seconds(),2)}),O("Hmm",0,0,function(){return""+this.hours()+M(this.minutes(),2)}),O("Hmmss",0,0,function(){return""+this.hours()+M(this.minutes(),2)+M(this.seconds(),2)}),et("a",!0),et("A",!1),F("hour","h"),Y("hour",13),ue("a",tt),ue("A",tt),ue("H",ee),ue("h",ee),ue("k",ee),ue("HH",ee,Z),ue("hh",ee,Z),ue("kk",ee,Z),ue("hmm",te),ue("hmmss",ne),ue("Hmm",te),ue("Hmmss",ne),ge(["H","HH"],xe),ge(["k","kk"],function(e,t,n){e=j(e);t[xe]=24===e?0:e}),ge(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ge(["h","hh"],function(e,t,n){t[xe]=j(e),f(n).bigHour=!0}),ge("hmm",function(e,t,n){var i=e.length-2;t[xe]=j(e.substr(0,i)),t[Ce]=j(e.substr(i)),f(n).bigHour=!0}),ge("hmmss",function(e,t,n){var i=e.length-4,o=e.length-2;t[xe]=j(e.substr(0,i)),t[Ce]=j(e.substr(i,2)),t[Pe]=j(e.substr(o)),f(n).bigHour=!0}),ge("Hmm",function(e,t,n){var i=e.length-2;t[xe]=j(e.substr(0,i)),t[Ce]=j(e.substr(i))}),ge("Hmmss",function(e,t,n){var i=e.length-4,o=e.length-2;t[xe]=j(e.substr(0,i)),t[Ce]=j(e.substr(i,2)),t[Pe]=j(e.substr(o))});var nt=G("Hours",!0);var it,ot={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:Me,monthsShort:De,week:{dow:0,doy:6},weekdays:Ge,weekdaysMin:qe,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},rt={},st={};function at(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,n,i,o,r=0;r<e.length;){for(t=(o=at(e[r]).split("-")).length,n=(n=at(e[r+1]))?n.split("-"):null;0<t;){if(i=ct(o.slice(0,t).join("-")))return i;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}(o,n)>=t-1)break;t--}r++}return it}function ct(t){var e;if(void 0===rt[t]&&ko&&ko.exports)try{e=it._abbr,kn(),dt(e)}catch(e){rt[t]=null}return rt[t]}function dt(e,t){return e&&((t=r(t)?ht(e):ut(e,t))?it=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),it._abbr}function ut(e,t){if(null===t)return delete rt[e],null;var n,i=ot;if(t.abbr=e,null!=rt[e])P("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=rt[e]._config;else if(null!=t.parentLocale)if(null!=rt[t.parentLocale])i=rt[t.parentLocale]._config;else{if(null==(n=ct(t.parentLocale)))return st[t.parentLocale]||(st[t.parentLocale]=[]),st[t.parentLocale].push({name:e,config:t}),null;i=n._config}return rt[e]=new S(T(i,t)),st[e]&&st[e].forEach(function(e){ut(e.name,e.config)}),dt(e),rt[e]}function ht(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return it;if(!s(e)){if(t=ct(e))return t;e=[e]}return lt(e)}function pt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[ve]<0||11<t[ve]?ve:t[we]<1||t[we]>Ee(t[be],t[ve])?we:t[xe]<0||24<t[xe]||24===t[xe]&&(0!==t[Ce]||0!==t[Pe]||0!==t[Ae])?xe:t[Ce]<0||59<t[Ce]?Ce:t[Pe]<0||59<t[Pe]?Pe:t[Ae]<0||999<t[Ae]?Ae:-1,f(e)._overflowDayOfYear&&(t<be||we<t)&&(t=we),f(e)._overflowWeeks&&-1===t&&(t=Te),f(e)._overflowWeekday&&-1===t&&(t=Se),f(e).overflow=t),e}var mt=/^\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)?)?$/,ft=/^\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)?)?$/,gt=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["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]],_t=[["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/]],bt=/^\/?Date\((-?\d+)/i,vt=/^(?:(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}))$/,wt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xt(e){var t,n,i,o,r,s,a=e._i,l=mt.exec(a)||ft.exec(a);if(l){for(f(e).iso=!0,t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(l[1])){o=yt[t][0],i=!1!==yt[t][2];break}if(null==o)return e._isValid=!1;if(l[3]){for(t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(l[3])){r=(l[2]||" ")+_t[t][0];break}if(null==r)return e._isValid=!1}if(!i&&null!=r)return e._isValid=!1;if(l[4]){if(!gt.exec(l[4]))return e._isValid=!1;s="Z"}e._f=o+(r||"")+(s||""),St(e)}else e._isValid=!1}function Ct(e,t,n,i,o,r){o=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),De.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(o,10)];return r&&o.push(parseInt(r,10)),o}function Pt(e){var t,n,i,o,r=vt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));r?(t=Ct(r[4],r[3],r[2],r[5],r[6],r[7]),n=r[1],i=t,o=e,n&&Ve.indexOf(n)!==new Date(i[0],i[1],i[2]).getDay()?(f(o).weekdayMismatch=!0,o._isValid=!1):(e._a=t,e._tzm=(o=r[8],t=r[9],r=r[10],o?wt[o]:t?0:((t=parseInt(r,10))-(r=t%100))/100*60+r),e._d=ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function At(e,t,n){return null!=e?e:null!=t?t:n}function Tt(e){var t,n,i,o,r,s,a,l,c,d,u,h,p=[];if(!e._d){for(u=e,h=new Date(m.now()),n=u._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[we]&&null==e._a[ve]&&(null!=(u=(o=e)._w).GG||null!=u.W||null!=u.E?(l=1,c=4,r=At(u.GG,o._a[be],He(Dt(),1,4).year),s=At(u.W,1),((a=At(u.E,1))<1||7<a)&&(d=!0)):(l=o._locale._week.dow,c=o._locale._week.doy,h=He(Dt(),l,c),r=At(u.gg,o._a[be],h.year),s=At(u.w,h.week),null!=u.d?((a=u.d)<0||6<a)&&(d=!0):null!=u.e?(a=u.e+l,(u.e<0||6<u.e)&&(d=!0)):a=l),s<1||s>Ue(r,l,c)?f(o)._overflowWeeks=!0:null!=d?f(o)._overflowWeekday=!0:(c=Ye(r,s,a,l,c),o._a[be]=c.year,o._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(i=At(e._a[be],n[be]),(e._dayOfYear>Re(i)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),i=ze(i,0,e._dayOfYear),e._a[ve]=i.getUTCMonth(),e._a[we]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=p[t]=n[t];for(;t<7;t++)e._a[t]=p[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[xe]&&0===e._a[Ce]&&0===e._a[Pe]&&0===e._a[Ae]&&(e._nextDay=!0,e._a[xe]=0),e._d=(e._useUTC?ze:$e).apply(null,p),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[xe]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(f(e).weekdayMismatch=!0)}}function St(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,i=""+e._i,o=i.length,r=0,s=B(e._f,e._locale).match(D)||[],a=0;a<s.length;a++)n=s[a],(t=(i.match(he(n,e))||[])[0])&&(0<(u=i.substr(0,i.indexOf(t))).length&&f(e).unusedInput.push(u),i=i.slice(i.indexOf(t)+t.length),r+=t.length),L[n]?(t?f(e).empty=!1:f(e).unusedTokens.push(n),d=n,h=e,null!=(u=t)&&p(fe,d)&&fe[d](u,h._a,h,d)):e._strict&&!t&&f(e).unusedTokens.push(n);f(e).charsLeftOver=o-r,0<i.length&&f(e).unusedInput.push(i),e._a[xe]<=12&&!0===f(e).bigHour&&0<e._a[xe]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[xe]=(l=e._locale,c=e._a[xe],null==(o=e._meridiem)?c:null!=l.meridiemHour?l.meridiemHour(c,o):null!=l.isPM?((o=l.isPM(o))&&c<12&&(c+=12),c=o||12!==c?c:0):c),null!==(c=f(e).era)&&(e._a[be]=e._locale.erasConvertYear(c,e._a[be])),Tt(e),pt(e)}else Pt(e);else xt(e);var l,c,d,u,h}function Et(e){var t=e._i,n=e._f;return e._locale=e._locale||ht(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new v(pt(t)):(o(t)?e._d=t:s(n)?function(e){var t,n,i,o,r,s,a=!1;if(0===e._f.length)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(o=0;o<e._f.length;o++)r=0,s=!1,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],St(t),h(t)&&(s=!0),r+=f(t).charsLeftOver,r+=10*f(t).unusedTokens.length,f(t).score=r,a?r<i&&(i=r,n=t):(null==i||r<i||s)&&(i=r,n=t,s&&(a=!0));d(e,n||t)}(e):n?St(e):r(n=(t=e)._i)?t._d=new Date(m.now()):o(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=bt.exec(e._i);null===t?(xt(e),!1===e._isValid&&(delete e._isValid,Pt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:m.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):s(n)?(t._a=i(n.slice(0),function(e){return parseInt(e,10)}),Tt(t)):a(n)?function(e){var t,n;e._d||(n=void 0===(t=z(e._i)).day?t.date:t.day,e._a=i([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Tt(e))}(t):c(n)?t._d=new Date(n):m.createFromInputFallback(t),h(e)||(e._d=null),e))}function Mt(e,t,n,i,o){var r={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(a(e)&&l(e)||s(e)&&0===e.length)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=o,r._l=n,r._i=e,r._f=t,r._strict=i,(r=new v(pt(Et(r=r))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function Dt(e,t,n,i){return Mt(e,t,n,i,!1)}m.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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};var kt=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Dt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),It=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Dt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:g()});function Lt(e,t){var n,i;if(!(t=1===t.length&&s(t[0])?t[0]:t).length)return Dt();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var Ot=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Nt(e){var t=z(e),n=t.year||0,i=t.quarter||0,o=t.month||0,r=t.week||t.isoWeek||0,s=t.day||0,a=t.hour||0,l=t.minute||0,c=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,n,i=!1;for(t in e)if(p(e,t)&&(-1===_e.call(Ot,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Ot.length;++n)if(e[Ot[n]]){if(i)return!1;parseFloat(e[Ot[n]])!==j(e[Ot[n]])&&(i=!0)}return!0}(t),this._milliseconds=+e+1e3*c+6e4*l+1e3*a*60*60,this._days=+s+7*r,this._months=+o+3*i+12*n,this._data={},this._locale=ht(),this._bubble()}function Bt(e){return e instanceof Nt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,n){O(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+M(~~(e/60),2)+n+M(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),ue("Z",ce),ue("ZZ",ce),ge(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=zt(ce,e)});var $t=/([\+\-]|\d\d)/gi;function zt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match($t)||["-",0,0])[1]+j(e[2]))?0:"+"===e[0]?t:-t}function Wt(e,t){var n;return t._isUTC?(n=t.clone(),t=(w(e)||o(e)?e:Dt(e)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+t),m.updateOffset(n,!1),n):Dt(e).local()}function Yt(e){return-Math.round(e._d.getTimezoneOffset())}function Ht(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Gt(e,t){var n,i,o=e,r=null;return Bt(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(r=Ut.exec(e))?(n="-"===r[1]?-1:1,o={y:0,d:j(r[we])*n,h:j(r[xe])*n,m:j(r[Ce])*n,s:j(r[Pe])*n,ms:j(Rt(1e3*r[Ae]))*n}):(r=jt.exec(e))?(n="-"===r[1]?-1:1,o={y:Vt(r[2],n),M:Vt(r[3],n),w:Vt(r[4],n),d:Vt(r[5],n),h:Vt(r[6],n),m:Vt(r[7],n),s:Vt(r[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=Dt(o.from),n=Dt(o.to),i=r.isValid()&&n.isValid()?(n=Wt(n,r),r.isBefore(n)?i=qt(r,n):((i=qt(n,r)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(o={}).ms=i.milliseconds,o.M=i.months),o=new Nt(o),Bt(e)&&p(e,"_locale")&&(o._locale=e._locale),Bt(e)&&p(e,"_isValid")&&(o._isValid=e._isValid),o}function Vt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function qt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Xt(i,o){return function(e,t){var n;return null===t||isNaN(+t)||(P(o,"moment()."+o+"(period, number) is deprecated. Please use moment()."+o+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Zt(this,Gt(e,t),i),this}}function Zt(e,t,n,i){var o=t._milliseconds,r=Rt(t._days),t=Rt(t._months);e.isValid()&&(i=null==i||i,t&&Oe(e,V(e,"Month")+t*n),r&&q(e,"Date",V(e,"Date")+r*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&m.updateOffset(e,r||t))}Gt.fn=Nt.prototype,Gt.invalid=function(){return Gt(NaN)};var Jt=Xt(1,"add"),de=Xt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Qt(e){return w(e)||o(e)||Kt(e)||c(e)||(n=s(t=e),i=!1,n&&(i=0===t.filter(function(e){return!c(e)&&Kt(t)}).length),n&&i)||function(e){var t,n,i=a(e)&&!l(e),o=!1,r=["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(t=0;t<r.length;t+=1)n=r[t],o=o||p(e,n);return i&&o}(e)||null==e;var t,n,i}function en(e,t){if(e.date()<t.date())return-en(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(1+n,"months")-i)))||0}function tn(e){return void 0===e?this._locale._abbr:(null!=(e=ht(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function nn(){return this._locale}var on=126227808e5;function rn(e,t){return(e%t+t)%t}function sn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-on:new Date(e,t,n).valueOf()}function an(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-on:Date.UTC(e,t,n)}function ln(e,t){return t.erasAbbrRegex(e)}function cn(){for(var e=[],t=[],n=[],i=[],o=this.eras(),r=0,s=o.length;r<s;++r)t.push(pe(o[r].name)),e.push(pe(o[r].abbr)),n.push(pe(o[r].narrow)),i.push(pe(o[r].name)),i.push(pe(o[r].abbr)),i.push(pe(o[r].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function dn(e,t){O(0,[e,e.length],0,t)}function un(e,t,n,i,o){var r;return null==e?He(this,i,o).year:(t>(r=Ue(e,i,o))&&(t=r),function(e,t,n,i,o){o=Ye(e,t,n,i,o),o=ze(o.year,0,o.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}.call(this,e,t,n,i,o))}O("N",0,0,"eraAbbr"),O("NN",0,0,"eraAbbr"),O("NNN",0,0,"eraAbbr"),O("NNNN",0,0,"eraName"),O("NNNNN",0,0,"eraNarrow"),O("y",["y",1],"yo","eraYear"),O("y",["yy",2],0,"eraYear"),O("y",["yyy",3],0,"eraYear"),O("y",["yyyy",4],0,"eraYear"),ue("N",ln),ue("NN",ln),ue("NNN",ln),ue("NNNN",function(e,t){return t.erasNameRegex(e)}),ue("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ge(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){i=n._locale.erasParse(e,i,n._strict);i?f(n).era=i:f(n).invalidEra=e}),ue("y",se),ue("yy",se),ue("yyy",se),ue("yyyy",se),ue("yo",function(e,t){return t._eraYearOrdinalRegex||se}),ge(["y","yy","yyy","yyyy"],be),ge(["yo"],function(e,t,n,i){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[be]=n._locale.eraYearOrdinalParse(e,o):t[be]=parseInt(e,10)}),O(0,["gg",2],0,function(){return this.weekYear()%100}),O(0,["GG",2],0,function(){return this.isoWeekYear()%100}),dn("gggg","weekYear"),dn("ggggg","weekYear"),dn("GGGG","isoWeekYear"),dn("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),Y("weekYear",1),Y("isoWeekYear",1),ue("G",ae),ue("g",ae),ue("GG",ee,Z),ue("gg",ee,Z),ue("GGGG",oe,K),ue("gggg",oe,K),ue("GGGGG",re,Q),ue("ggggg",re,Q),ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=j(e)}),ye(["gg","GG"],function(e,t,n,i){t[i]=m.parseTwoDigitYear(e)}),O("Q",0,"Qo","quarter"),F("quarter","Q"),Y("quarter",7),ue("Q",X),ge("Q",function(e,t){t[ve]=3*(j(e)-1)}),O("D",["DD",2],"Do","date"),F("date","D"),Y("date",9),ue("D",ee),ue("DD",ee,Z),ue("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ge(["D","DD"],we),ge("Do",function(e,t){t[we]=j(e.match(ee)[0])});ne=G("Date",!0);O("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),Y("dayOfYear",4),ue("DDD",ie),ue("DDDD",J),ge(["DDD","DDDD"],function(e,t,n){n._dayOfYear=j(e)}),O("m",["mm",2],0,"minute"),F("minute","m"),Y("minute",14),ue("m",ee),ue("mm",ee,Z),ge(["m","mm"],Ce);Me=G("Minutes",!1);O("s",["ss",2],0,"second"),F("second","s"),Y("second",15),ue("s",ee),ue("ss",ee,Z),ge(["s","ss"],Pe);var hn,Ge=G("Seconds",!1);for(O("S",0,0,function(){return~~(this.millisecond()/100)}),O(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),O(0,["SSS",3],0,"millisecond"),O(0,["SSSS",4],0,function(){return 10*this.millisecond()}),O(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),O(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),O(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),O(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),O(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),Y("millisecond",16),ue("S",ie,X),ue("SS",ie,Z),ue("SSS",ie,J),hn="SSSS";hn.length<=9;hn+="S")ue(hn,se);function pn(e,t){t[Ae]=j(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")ge(hn,pn);qe=G("Milliseconds",!1),O("z",0,0,"zoneAbbr"),O("zz",0,0,"zoneName");oe=v.prototype;function mn(e){return e}oe.add=Jt,oe.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=a(e)&&!l(e),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],o=0;o<i.length;o+=1)n=n||p(e,i[o]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||Dt(),e=Wt(n,this).startOf("day"),e=m.calendarFormat(this,e)||"sameElse",t=t&&(A(t[e])?t[e].call(this,n):t[e]);return this.format(t||this.localeData().calendar(e,this,Dt(n)))},oe.clone=function(){return new v(this)},oe.diff=function(e,t,n){var i,o,r;if(!this.isValid())return NaN;if(!(i=Wt(e,this)).isValid())return NaN;switch(o=6e4*(i.utcOffset()-this.utcOffset()),t=$(t)){case"year":r=en(this,i)/12;break;case"month":r=en(this,i);break;case"quarter":r=en(this,i)/3;break;case"second":r=(this-i)/1e3;break;case"minute":r=(this-i)/6e4;break;case"hour":r=(this-i)/36e5;break;case"day":r=(this-i-o)/864e5;break;case"week":r=(this-i-o)/6048e5;break;default:r=this-i}return n?r:U(r)},oe.endOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:sn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-rn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-rn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-rn(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},oe.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=N(this,e),this.localeData().postformat(e)},oe.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Dt(e).isValid())?Gt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},oe.fromNow=function(e){return this.from(Dt(),e)},oe.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Dt(e).isValid())?Gt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},oe.toNow=function(e){return this.to(Dt(),e)},oe.get=function(e){return A(this[e=$(e)])?this[e]():this},oe.invalidAt=function(){return f(this).overflow},oe.isAfter=function(e,t){return e=w(e)?e:Dt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},oe.isBefore=function(e,t){return e=w(e)?e:Dt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},oe.isBetween=function(e,t,n,i){return e=w(e)?e:Dt(e),t=w(t)?t:Dt(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(i=i||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===i[1]?this.isBefore(t,n):!this.isAfter(t,n))},oe.isSame=function(e,t){var e=w(e)?e:Dt(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},oe.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},oe.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},oe.isValid=function(){return h(this)},oe.lang=te,oe.locale=tn,oe.localeData=nn,oe.max=It,oe.min=kt,oe.parsingFlags=function(){return d({},f(this))},oe.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)p(e,t)&&n.push({unit:t,priority:W[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=z(e)),i=0;i<n.length;i++)this[n[i].unit](e[n[i].unit]);else if(A(this[e=$(e)]))return this[e](t);return this},oe.startOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:sn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=rn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=rn(t,6e4);break;case"second":t=this._d.valueOf(),t-=rn(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},oe.subtract=de,oe.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},oe.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},oe.toDate=function(){return new Date(this.valueOf())},oe.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?N(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):A(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",N(e,"Z")):N(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},oe.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(oe[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),oe.toJSON=function(){return this.isValid()?this.toISOString():null},oe.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},oe.unix=function(){return Math.floor(this.valueOf()/1e3)},oe.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},oe.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},oe.eraName=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},oe.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},oe.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},oe.eraYear=function(){for(var e,t,n=this.localeData().eras(),i=0,o=n.length;i<o;++i)if(e=n[i].since<=n[i].until?1:-1,t=this.clone().startOf("day").valueOf(),n[i].since<=t&&t<=n[i].until||n[i].until<=t&&t<=n[i].since)return(this.year()-m(n[i].since).year())*e+n[i].offset;return this.year()},oe.year=Fe,oe.isLeapYear=function(){return H(this.year())},oe.weekYear=function(e){return un.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},oe.isoWeekYear=function(e){return un.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},oe.quarter=oe.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},oe.month=Ne,oe.daysInMonth=function(){return Ee(this.year(),this.month())},oe.week=oe.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},oe.isoWeek=oe.isoWeeks=function(e){var t=He(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},oe.weeksInYear=function(){var e=this.localeData()._week;return Ue(this.year(),e.dow,e.doy)},oe.weeksInWeekYear=function(){var e=this.localeData()._week;return Ue(this.weekYear(),e.dow,e.doy)},oe.isoWeeksInYear=function(){return Ue(this.year(),1,4)},oe.isoWeeksInISOWeekYear=function(){return Ue(this.isoWeekYear(),1,4)},oe.date=ne,oe.day=oe.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-i,"d")):i},oe.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},oe.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},oe.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},oe.hour=oe.hours=nt,oe.minute=oe.minutes=Me,oe.second=oe.seconds=Ge,oe.millisecond=oe.milliseconds=qe,oe.utcOffset=function(e,t,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?o:Yt(this);if("string"==typeof e){if(null===(e=zt(ce,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Yt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?Zt(this,Gt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},oe.utc=function(e){return this.utcOffset(0,e)},oe.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Yt(this),"m")),this},oe.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=zt(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},oe.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Dt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},oe.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},oe.isLocal=function(){return!!this.isValid()&&!this._isUTC},oe.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},oe.isUtc=Ht,oe.isUTC=Ht,oe.zoneAbbr=function(){return this._isUTC?"UTC":""},oe.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},oe.dates=n("dates accessor is deprecated. Use date instead.",ne),oe.months=n("months accessor is deprecated. Use month instead",Ne),oe.years=n("years accessor is deprecated. Use year instead",Fe),oe.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),oe.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!r(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=Et(t))._a?(e=(t._isUTC?u:Dt)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),r=0,s=0;s<i;s++)(n&&e[s]!==t[s]||!n&&j(e[s])!==j(t[s]))&&r++;return r+o}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});K=S.prototype;function fn(e,t,n,i){var o=ht(),t=u().set(i,t);return o[n](t,e)}function gn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return fn(e,t,n,"month");for(var i=[],o=0;o<12;o++)i[o]=fn(e,o,n,"month");return i}function yn(e,t,n,i){t=("boolean"==typeof e||(n=t=e,e=!1),c(t)&&(n=t,t=void 0),t||"");var o,r=ht(),s=e?r._week.dow:0,a=[];if(null!=n)return fn(t,(n+s)%7,i,"day");for(o=0;o<7;o++)a[o]=fn(t,(o+s)%7,i,"day");return a}K.calendar=function(e,t,n){return A(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},K.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(D).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},K.invalidDate=function(){return this._invalidDate},K.ordinal=function(e){return this._ordinal.replace("%d",e)},K.preparse=mn,K.postformat=mn,K.relativeTime=function(e,t,n,i){var o=this._relativeTime[n];return A(o)?o(e,t,n,i):o.replace(/%d/i,e)},K.pastFuture=function(e,t){return A(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},K.set=function(e){var t,n;for(n in e)p(e,n)&&(A(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},K.eras=function(e,t){for(var n,i=this._eras||ht("en")._eras,o=0,r=i.length;o<r;++o)switch("string"==typeof i[o].since&&(n=m(i[o].since).startOf("day"),i[o].since=n.valueOf()),typeof i[o].until){case"undefined":i[o].until=1/0;break;case"string":n=m(i[o].until).startOf("day").valueOf(),i[o].until=n.valueOf()}return i},K.erasParse=function(e,t,n){var i,o,r,s,a,l=this.eras();for(e=e.toUpperCase(),i=0,o=l.length;i<o;++i)if(r=l[i].name.toUpperCase(),s=l[i].abbr.toUpperCase(),a=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[i];break;case"NNNN":if(r===e)return l[i];break;case"NNNNN":if(a===e)return l[i]}else if(0<=[r,s,a].indexOf(e))return l[i]},K.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*n},K.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},K.erasNameRegex=function(e){return p(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},K.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||cn.call(this),e?this._erasNarrowRegex:this._erasRegex},K.months=function(e,t){return e?(s(this._months)?this._months:this._months[(this._months.isFormat||ke).test(t)?"format":"standalone"])[e.month()]:s(this._months)?this._months:this._months.standalone},K.monthsShort=function(e,t){return e?(s(this._monthsShort)?this._monthsShort:this._monthsShort[ke.test(t)?"format":"standalone"])[e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},K.monthsParse=function(e,t,n){var i,o;if(this._monthsParseExact)return function(e,t,n){var i,o,r,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)r=u([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=_e.call(this._shortMonthsParse,e))?o:null:-1!==(o=_e.call(this._longMonthsParse,e))?o:null:"MMM"===t?-1!==(o=_e.call(this._shortMonthsParse,e))||-1!==(o=_e.call(this._longMonthsParse,e))?o:null:-1!==(o=_e.call(this._longMonthsParse,e))||-1!==(o=_e.call(this._shortMonthsParse,e))?o:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(o=u([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},K.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Be.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=Le),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},K.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Be.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Ie),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},K.week=function(e){return He(e,this._week.dow,this._week.doy).week},K.firstDayOfYear=function(){return this._week.doy},K.firstDayOfWeek=function(){return this._week.dow},K.weekdays=function(e,t){return t=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?je(t,this._week.dow):e?t[e.day()]:t},K.weekdaysMin=function(e){return!0===e?je(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},K.weekdaysShort=function(e){return!0===e?je(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},K.weekdaysParse=function(e,t,n){var i,o;if(this._weekdaysParseExact)return function(e,t,n){var i,o,r,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)r=u([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=_e.call(this._weekdaysParse,e))?o:null:"ddd"===t?-1!==(o=_e.call(this._shortWeekdaysParse,e))?o:null:-1!==(o=_e.call(this._minWeekdaysParse,e))?o:null:"dddd"===t?-1!==(o=_e.call(this._weekdaysParse,e))||-1!==(o=_e.call(this._shortWeekdaysParse,e))||-1!==(o=_e.call(this._minWeekdaysParse,e))?o:null:"ddd"===t?-1!==(o=_e.call(this._shortWeekdaysParse,e))||-1!==(o=_e.call(this._weekdaysParse,e))||-1!==(o=_e.call(this._minWeekdaysParse,e))?o:null:-1!==(o=_e.call(this._minWeekdaysParse,e))||-1!==(o=_e.call(this._weekdaysParse,e))||-1!==(o=_e.call(this._shortWeekdaysParse,e))?o:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(o=u([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},K.weekdaysRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},K.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ze),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},K.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},K.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},K.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},dt("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(e){var t=e%10;return e+(1===j(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=n("moment.lang is deprecated. Use moment.locale instead.",dt),m.langData=n("moment.langData is deprecated. Use moment.localeData instead.",ht);var _n=Math.abs;function bn(e,t,n,i){n=Gt(t,n);return e._milliseconds+=i*n._milliseconds,e._days+=i*n._days,e._months+=i*n._months,e._bubble()}function vn(e){return e<0?Math.floor(e):Math.ceil(e)}function wn(e){return 4800*e/146097}function xn(e){return 146097*e/4800}function Cn(e){return function(){return this.as(e)}}re=Cn("ms"),Q=Cn("s"),X=Cn("m"),Z=Cn("h"),ie=Cn("d"),J=Cn("w"),Jt=Cn("M"),It=Cn("Q"),kt=Cn("y");function Pn(e){return function(){return this.isValid()?this._data[e]:NaN}}de=Pn("milliseconds"),nt=Pn("seconds"),Me=Pn("minutes"),Ge=Pn("hours"),qe=Pn("days"),ne=Pn("months"),Fe=Pn("years");var An=Math.round,Tn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Sn(e,t,n,i){var o=Gt(e).abs(),r=An(o.as("s")),s=An(o.as("m")),a=An(o.as("h")),l=An(o.as("d")),c=An(o.as("M")),d=An(o.as("w")),o=An(o.as("y")),l=(r<=n.ss?["s",r]:r<n.s&&["ss",r])||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return(l=(l=null!=n.w?l||d<=1&&["w"]||d<n.w&&["ww",d]:l)||c<=1&&["M"]||c<n.M&&["MM",c]||o<=1&&["y"]||["yy",o])[2]=t,l[3]=0<+e,l[4]=i,function(e,t,n,i,o){return o.relativeTime(t||1,!!n,e,i)}.apply(null,l)}var En=Math.abs;function Mn(e){return(0<e)-(e<0)||+e}function Dn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,o,r,s,a=En(this._milliseconds)/1e3,l=En(this._days),c=En(this._months),d=this.asSeconds();return d?(e=U(a/60),t=U(e/60),a%=60,e%=60,n=U(c/12),c%=12,i=a?a.toFixed(3).replace(/\.?0+$/,""):"",o=Mn(this._months)!==Mn(d)?"-":"",r=Mn(this._days)!==Mn(d)?"-":"",s=Mn(this._milliseconds)!==Mn(d)?"-":"",(d<0?"-":"")+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(l?r+l+"D":"")+(t||e||a?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(a?s+i+"S":"")):"P0D"}K=Nt.prototype;return K.isValid=function(){return this._isValid},K.abs=function(){var e=this._data;return this._milliseconds=_n(this._milliseconds),this._days=_n(this._days),this._months=_n(this._months),e.milliseconds=_n(e.milliseconds),e.seconds=_n(e.seconds),e.minutes=_n(e.minutes),e.hours=_n(e.hours),e.months=_n(e.months),e.years=_n(e.years),this},K.add=function(e,t){return bn(this,e,t,1)},K.subtract=function(e,t){return bn(this,e,t,-1)},K.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=$(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+wn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(xn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},K.asMilliseconds=re,K.asSeconds=Q,K.asMinutes=X,K.asHours=Z,K.asDays=ie,K.asWeeks=J,K.asMonths=Jt,K.asQuarters=It,K.asYears=kt,K.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*j(this._months/12):NaN},K._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,i=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*vn(xn(n)+t),n=t=0),i.milliseconds=e%1e3,e=U(e/1e3),i.seconds=e%60,e=U(e/60),i.minutes=e%60,e=U(e/60),i.hours=e%24,t+=U(e/24),n+=e=U(wn(t)),t-=vn(xn(e)),e=U(n/12),n%=12,i.days=t,i.months=n,i.years=e,this},K.clone=function(){return Gt(this)},K.get=function(e){return e=$(e),this.isValid()?this[e+"s"]():NaN},K.milliseconds=de,K.seconds=nt,K.minutes=Me,K.hours=Ge,K.days=qe,K.weeks=function(){return U(this.days()/7)},K.months=ne,K.years=Fe,K.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,i=Tn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(i=Object.assign({},Tn,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),i=Sn(this,!n,i,t=this.localeData()),n&&(i=t.pastFuture(+this,i)),t.postformat(i)},K.toISOString=Dn,K.toString=Dn,K.toJSON=Dn,K.locale=tn,K.localeData=nn,K.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dn),K.lang=te,O("X",0,0,"unix"),O("x",0,0,"valueOf"),ue("x",ae),ue("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ge("x",function(e,t,n){n._d=new Date(j(e))}),m.version="2.29.1",e=Dt,m.fn=oe,m.min=function(){return Lt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Lt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=u,m.unix=function(e){return Dt(1e3*e)},m.months=function(e,t){return gn(e,t,"months")},m.isDate=o,m.locale=dt,m.invalid=g,m.duration=Gt,m.isMoment=w,m.weekdays=function(e,t,n){return yn(e,t,n,"weekdays")},m.parseZone=function(){return Dt.apply(null,arguments).parseZone()},m.localeData=ht,m.isDuration=Bt,m.monthsShort=function(e,t){return gn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return yn(e,t,n,"weekdaysMin")},m.defineLocale=ut,m.updateLocale=function(e,t){var n,i;return null!=t?(i=ot,null!=rt[e]&&null!=rt[e].parentLocale?rt[e].set(T(rt[e]._config,t)):(t=T(i=null!=(n=ct(e))?n._config:i,t),null==n&&(t.abbr=e),(t=new S(t)).parentLocale=rt[e],rt[e]=t),dt(e)):null!=rt[e]&&(null!=rt[e].parentLocale?(rt[e]=rt[e].parentLocale,e===dt()&&dt(e)):null!=rt[e]&&delete rt[e]),rt[e]},m.locales=function(){return E(rt)},m.weekdaysShort=function(e,t,n){return yn(e,t,n,"weekdaysShort")},m.normalizeUnits=$,m.relativeTimeRounding=function(e){return void 0===e?An:"function"==typeof e&&(An=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Tn[e]&&(void 0===t?Tn[e]:(Tn[e]=t,"s"===e&&(Tn.ss=t-1),!0))},m.calendarFormat=function(e,t){return(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},m.prototype=oe,m.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"},m}(),Do.exports);class Lo extends HTMLElement{static get version(){return"1.6.1"}}customElements.define("vaadin-lumo-styles",Lo);let Oo,No=null,Bo=window.HTMLImports&&window.HTMLImports.whenReady||null;function Ro(e){requestAnimationFrame(function(){Bo?Bo(e):(No||(No=new Promise(e=>{Oo=e}),"complete"===document.readyState?Oo():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&Oo()})),No.then(function(){e&&e()}))})}const Fo="__seenByShadyCSS",$o="__shadyCSSCachedStyle";let zo=null,Wo=null;class Yo{constructor(){this.customStyles=[],this.enqueued=!1,Ro(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&Wo&&(this.enqueued=!0,Ro(Wo))}addCustomStyle(e){e[Fo]||(e[Fo]=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}getStyleForCustomStyle(e){return e[$o]||(e.getStyle?e.getStyle():e)}processStyles(){const t=this.customStyles;for(let e=0;e<t.length;e++){const i=t[e];if(!i[$o]){var n=this.getStyleForCustomStyle(i);if(n){const t=n.__appliedElement||n;zo&&zo(t),i[$o]=t}}}return t}}Object.defineProperties(Yo.prototype,{transformCallback:{get:()=>zo,set(e){zo=e}},validateCallback:{get:()=>Wo,set(e){let t=!1;Wo||(t=!0),Wo=e,t&&this.enqueueDocumentValidation()}}});const Ho=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,Uo=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,jo=/@media\s(.*)/;function Go(e,t){for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n])}function Vo(e,t){const n=window.getComputedStyle(e).getPropertyValue(t);return n?n.trim():""}const qo=!(window.ShadyDOM&&window.ShadyDOM.inUse);let Xo,Zo;function Jo(e){Xo=(!e||!e.shimcssproperties)&&(qo||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(Zo=window.ShadyCSS.cssBuild);gn=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?Xo=window.ShadyCSS.nativeCss:window.ShadyCSS?(Jo(window.ShadyCSS),window.ShadyCSS=void 0):Jo(window.WebComponents&&window.WebComponents.flags);const Ko=Xo,Qo=new Yo;window.ShadyCSS||(window.ShadyCSS={prepareTemplate(e,t,n){},prepareTemplateDom(e,t){},prepareTemplateStyles(e,t,n){},styleSubtree(e,t){Qo.processStyles(),Go(e,t)},styleElement(e){Qo.processStyles()},styleDocument(e){Qo.processStyles(),Go(document.body,e)},getComputedStyleValue:(e,t)=>Vo(e,t),flushCustomStyles(){},nativeCss:Ko,nativeShadow:qo,cssBuild:Zo,disableRuntime:gn}),window.ShadyCSS.CustomStyleInterface=Qo,window.JSCompiler_renameProperty=function(e,t){return e};let er,tr,nr=/(url\()([^)]*)(\))/g,ir=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function or(e,t){if(e&&ir.test(e))return e;if("//"===e)return e;if(void 0===er){er=!1;try{const e=new URL("b","http://a");e.pathname="c%20d",er="http://a/c%20d"===e.href}catch(e){}}if(t=t||(document.baseURI||window.location.href),er)try{return new URL(e,t).href}catch(t){return e}return tr||(tr=document.implementation.createHTMLDocument("temp"),tr.base=tr.createElement("base"),tr.head.appendChild(tr.base),tr.anchor=tr.createElement("a"),tr.body.appendChild(tr.anchor)),tr.base.href=t,tr.anchor.href=e,tr.anchor.href||e}function rr(e,o){return e.replace(nr,function(e,t,n,i){return t+"'"+or(n.replace(/["']/g,""),o)+"'"+i})}function sr(e){return e.substring(0,e.lastIndexOf("/")+1)}const ar=!window.ShadyDOM||!window.ShadyDOM.inUse;Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss);const lr=ar&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const e=new CSSStyleSheet;e.replaceSync("");const t=document.createElement("div");return t.attachShadow({mode:"open"}),t.shadowRoot.adoptedStyleSheets=[e],t.shadowRoot.adoptedStyleSheets[0]===e}catch(e){return!1}})();let cr=window.Polymer&&window.Polymer.rootPath||sr(document.baseURI||window.location.href),dr=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0,ur=window.Polymer&&window.Polymer.setPassiveTouchGestures||!1,hr=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,pr=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,mr=window.Polymer&&window.Polymer.legacyOptimizations||!1,fr=window.Polymer&&window.Polymer.legacyWarnings||!1,gr=window.Polymer&&window.Polymer.syncInitialRender||!1,yr=window.Polymer&&window.Polymer.legacyUndefined||!1,_r=window.Polymer&&window.Polymer.orderedComputed||!1,br=window.Polymer&&window.Polymer.removeNestedTemplates||!1,vr=window.Polymer&&window.Polymer.fastDomIf||!1,wr=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1,xr=window.Polymer&&window.Polymer.legacyNoObservedAttributes||!1,Cr=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1,Pr={},Ar={};function Tr(e,t){Pr[e]=Ar[e.toLowerCase()]=t}function Sr(e){return Pr[e]||Ar[e.toLowerCase()]}class Er extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,n){if(t){let e=Sr(t);return e&&n?e.querySelector(n):e}return null}attributeChangedCallback(e,t,n,i){t!==n&&this.register()}get assetpath(){var e;return this.__assetpath||(e=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,e=or(this.getAttribute("assetpath")||"",e.baseURI),this.__assetpath=sr(e)),this.__assetpath}register(e){if(e=e||this.id){if(hr&&void 0!==Sr(e))throw Tr(e,null),new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);Tr(this.id=e,this),(e=this).querySelector("style")&&console.warn("dom-module %s has style outside template",e.id)}}}Er.prototype.modules=Pr,customElements.define("dom-module",Er);const Mr="shady-unscoped";function Dr(e){return Er.import(e)}function kr(e){const t=rr((e.body||e).textContent,e.baseURI),n=document.createElement("style");return n.textContent=t,n}function Ir(e){const t=e.trim().split(/\s+/),n=[];for(let e=0;e<t.length;e++)n.push(...function(e){const t=Dr(e);if(!t)return console.warn("Could not find style data in module named",e),[];if(void 0===t._styles){const n=[];n.push(...Or(t));e=t.querySelector("template");e&&n.push(...Lr(e,t.assetpath)),t._styles=n}return t._styles}(t[e]));return n}function Lr(e,i){if(!e._styles){const o=[],r=e.content.querySelectorAll("style");for(let n=0;n<r.length;n++){let e=r[n],t=e.getAttribute("include");t&&o.push(...Ir(t).filter(function(e,t,n){return n.indexOf(e)===t})),i&&(e.textContent=rr(e.textContent,i)),o.push(e)}e._styles=o}return e._styles}function Or(n){const i=[],o=n.querySelectorAll("link[rel=import][type~=css]");for(let t=0;t<o.length;t++){let e=o[t];if(e.import){const n=e.import,o=e.hasAttribute(Mr);if(o&&!n._unscopedStyle){const i=kr(n);i.setAttribute(Mr,""),n._unscopedStyle=i}else n._style||(n._style=kr(n));i.push(o?n._unscopedStyle:n._style)}}return i}const Nr="include",Br=window.ShadyCSS.CustomStyleInterface;class Rr extends HTMLElement{constructor(){super(),this._style=null,Br.addCustomStyle(this)}getStyle(){if(this._style)return this._style;const e=this.querySelector("style");if(!e)return null;this._style=e;var i=e.getAttribute(Nr);return i&&(e.removeAttribute(Nr),e.textContent=function(){let t=i.trim().split(/\s+/),n="";for(let e=0;e<t.length;e++)n+=function(e){let o=Dr(e);if(o&&void 0===o._cssText){let e=function(){let t="",n=Or(o);for(let e=0;e<n.length;e++)t+=n[e].textContent;return t}(),t=o.querySelector("template");t&&(e+=function(){let n="";var i=Lr(t,o.assetpath);for(let t=0;t<i.length;t++){let e=i[t];e.parentNode&&e.parentNode.removeChild(e),n+=e.textContent}return n}()),o._cssText=e||null}return o||console.warn("Could not find style data in module named",e),o&&o._cssText||""}(t[e]);return n}()+e.textContent),this.ownerDocument!==window.document&&window.document.head.appendChild(this),this._style}}window.customElements.define("custom-style",Rr);const Fr=document.createElement("template");Fr.innerHTML="<custom-style>\n <style>\n html {\n --lumo-size-xs: 1.625rem;\n --lumo-size-s: 1.875rem;\n --lumo-size-m: 2.25rem;\n --lumo-size-l: 2.75rem;\n --lumo-size-xl: 3.5rem;\n\n /* Icons */\n --lumo-icon-size-s: 1.25em;\n --lumo-icon-size-m: 1.5em;\n --lumo-icon-size-l: 2.25em;\n /* For backwards compatibility */\n --lumo-icon-size: var(--lumo-icon-size-m);\n }\n </style>\n</custom-style>",document.head.appendChild(Fr.content);const $r=document.createElement("template");$r.innerHTML="<custom-style>\n <style>\n html {\n /* Square */\n --lumo-space-xs: 0.25rem;\n --lumo-space-s: 0.5rem;\n --lumo-space-m: 1rem;\n --lumo-space-l: 1.5rem;\n --lumo-space-xl: 2.5rem;\n\n /* Wide */\n --lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);\n --lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);\n --lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);\n --lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);\n --lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);\n\n /* Tall */\n --lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);\n --lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);\n --lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);\n --lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);\n --lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);\n }\n </style>\n</custom-style>",document.head.appendChild($r.content);const zr=document.createElement("template");zr.innerHTML="<custom-style>\n <style>\n html {\n /* Border radius */\n --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */\n --lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */\n --lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */\n --lumo-border-radius: 0.25em; /* Deprecated */\n\n /* Shadow */\n --lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);\n --lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);\n --lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);\n --lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);\n --lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);\n\n /* Clickable element cursor */\n --lumo-clickable-cursor: default;\n }\n </style>\n</custom-style>",document.head.appendChild(zr.content);const Wr=document.createElement("template");Wr.innerHTML='<custom-style>\n <style>\n html {\n /* Base (background) */\n --lumo-base-color: #FFF;\n\n /* Tint */\n --lumo-tint-5pct: hsla(0, 0%, 100%, 0.3);\n --lumo-tint-10pct: hsla(0, 0%, 100%, 0.37);\n --lumo-tint-20pct: hsla(0, 0%, 100%, 0.44);\n --lumo-tint-30pct: hsla(0, 0%, 100%, 0.5);\n --lumo-tint-40pct: hsla(0, 0%, 100%, 0.57);\n --lumo-tint-50pct: hsla(0, 0%, 100%, 0.64);\n --lumo-tint-60pct: hsla(0, 0%, 100%, 0.7);\n --lumo-tint-70pct: hsla(0, 0%, 100%, 0.77);\n --lumo-tint-80pct: hsla(0, 0%, 100%, 0.84);\n --lumo-tint-90pct: hsla(0, 0%, 100%, 0.9);\n --lumo-tint: #FFF;\n\n /* Shade */\n --lumo-shade-5pct: hsla(214, 61%, 25%, 0.05);\n --lumo-shade-10pct: hsla(214, 57%, 24%, 0.1);\n --lumo-shade-20pct: hsla(214, 53%, 23%, 0.16);\n --lumo-shade-30pct: hsla(214, 50%, 22%, 0.26);\n --lumo-shade-40pct: hsla(214, 47%, 21%, 0.38);\n --lumo-shade-50pct: hsla(214, 45%, 20%, 0.5);\n --lumo-shade-60pct: hsla(214, 43%, 19%, 0.61);\n --lumo-shade-70pct: hsla(214, 42%, 18%, 0.72);\n --lumo-shade-80pct: hsla(214, 41%, 17%, 0.83);\n --lumo-shade-90pct: hsla(214, 40%, 16%, 0.94);\n --lumo-shade: hsl(214, 35%, 15%);\n\n /* Contrast */\n --lumo-contrast-5pct: var(--lumo-shade-5pct);\n --lumo-contrast-10pct: var(--lumo-shade-10pct);\n --lumo-contrast-20pct: var(--lumo-shade-20pct);\n --lumo-contrast-30pct: var(--lumo-shade-30pct);\n --lumo-contrast-40pct: var(--lumo-shade-40pct);\n --lumo-contrast-50pct: var(--lumo-shade-50pct);\n --lumo-contrast-60pct: var(--lumo-shade-60pct);\n --lumo-contrast-70pct: var(--lumo-shade-70pct);\n --lumo-contrast-80pct: var(--lumo-shade-80pct);\n --lumo-contrast-90pct: var(--lumo-shade-90pct);\n --lumo-contrast: var(--lumo-shade);\n\n /* Text */\n --lumo-header-text-color: var(--lumo-contrast);\n --lumo-body-text-color: var(--lumo-contrast-90pct);\n --lumo-secondary-text-color: var(--lumo-contrast-70pct);\n --lumo-tertiary-text-color: var(--lumo-contrast-50pct);\n --lumo-disabled-text-color: var(--lumo-contrast-30pct);\n\n /* Primary */\n --lumo-primary-color: hsl(214, 90%, 52%);\n --lumo-primary-color-50pct: hsla(214, 90%, 52%, 0.5);\n --lumo-primary-color-10pct: hsla(214, 90%, 52%, 0.1);\n --lumo-primary-text-color: var(--lumo-primary-color);\n --lumo-primary-contrast-color: #FFF;\n\n /* Error */\n --lumo-error-color: hsl(3, 100%, 61%);\n --lumo-error-color-50pct: hsla(3, 100%, 60%, 0.5);\n --lumo-error-color-10pct: hsla(3, 100%, 60%, 0.1);\n --lumo-error-text-color: hsl(3, 92%, 53%);\n --lumo-error-contrast-color: #FFF;\n\n /* Success */\n --lumo-success-color: hsl(145, 80%, 42%); /* hsl(144,82%,37%); */\n --lumo-success-color-50pct: hsla(145, 76%, 44%, 0.55);\n --lumo-success-color-10pct: hsla(145, 76%, 44%, 0.12);\n --lumo-success-text-color: hsl(145, 100%, 32%);\n --lumo-success-contrast-color: #FFF;\n }\n </style>\n</custom-style><dom-module id="lumo-color">\n <template>\n <style>\n [theme~="dark"] {\n /* Base (background) */\n --lumo-base-color: hsl(214, 35%, 21%);\n\n /* Tint */\n --lumo-tint-5pct: hsla(214, 65%, 85%, 0.06);\n --lumo-tint-10pct: hsla(214, 60%, 80%, 0.14);\n --lumo-tint-20pct: hsla(214, 64%, 82%, 0.23);\n --lumo-tint-30pct: hsla(214, 69%, 84%, 0.32);\n --lumo-tint-40pct: hsla(214, 73%, 86%, 0.41);\n --lumo-tint-50pct: hsla(214, 78%, 88%, 0.5);\n --lumo-tint-60pct: hsla(214, 82%, 90%, 0.6);\n --lumo-tint-70pct: hsla(214, 87%, 92%, 0.7);\n --lumo-tint-80pct: hsla(214, 91%, 94%, 0.8);\n --lumo-tint-90pct: hsla(214, 96%, 96%, 0.9);\n --lumo-tint: hsl(214, 100%, 98%);\n\n /* Shade */\n --lumo-shade-5pct: hsla(214, 0%, 0%, 0.07);\n --lumo-shade-10pct: hsla(214, 4%, 2%, 0.15);\n --lumo-shade-20pct: hsla(214, 8%, 4%, 0.23);\n --lumo-shade-30pct: hsla(214, 12%, 6%, 0.32);\n --lumo-shade-40pct: hsla(214, 16%, 8%, 0.41);\n --lumo-shade-50pct: hsla(214, 20%, 10%, 0.5);\n --lumo-shade-60pct: hsla(214, 24%, 12%, 0.6);\n --lumo-shade-70pct: hsla(214, 28%, 13%, 0.7);\n --lumo-shade-80pct: hsla(214, 32%, 13%, 0.8);\n --lumo-shade-90pct: hsla(214, 33%, 13%, 0.9);\n --lumo-shade: hsl(214, 33%, 13%);\n\n /* Contrast */\n --lumo-contrast-5pct: var(--lumo-tint-5pct);\n --lumo-contrast-10pct: var(--lumo-tint-10pct);\n --lumo-contrast-20pct: var(--lumo-tint-20pct);\n --lumo-contrast-30pct: var(--lumo-tint-30pct);\n --lumo-contrast-40pct: var(--lumo-tint-40pct);\n --lumo-contrast-50pct: var(--lumo-tint-50pct);\n --lumo-contrast-60pct: var(--lumo-tint-60pct);\n --lumo-contrast-70pct: var(--lumo-tint-70pct);\n --lumo-contrast-80pct: var(--lumo-tint-80pct);\n --lumo-contrast-90pct: var(--lumo-tint-90pct);\n --lumo-contrast: var(--lumo-tint);\n\n /* Text */\n --lumo-header-text-color: var(--lumo-contrast);\n --lumo-body-text-color: var(--lumo-contrast-90pct);\n --lumo-secondary-text-color: var(--lumo-contrast-70pct);\n --lumo-tertiary-text-color: var(--lumo-contrast-50pct);\n --lumo-disabled-text-color: var(--lumo-contrast-30pct);\n\n /* Primary */\n --lumo-primary-color: hsl(214, 86%, 55%);\n --lumo-primary-color-50pct: hsla(214, 86%, 55%, 0.5);\n --lumo-primary-color-10pct: hsla(214, 90%, 63%, 0.1);\n --lumo-primary-text-color: hsl(214, 100%, 70%);\n --lumo-primary-contrast-color: #FFF;\n\n /* Error */\n --lumo-error-color: hsl(3, 90%, 63%);\n --lumo-error-color-50pct: hsla(3, 90%, 63%, 0.5);\n --lumo-error-color-10pct: hsla(3, 90%, 63%, 0.1);\n --lumo-error-text-color: hsl(3, 100%, 67%);\n\n /* Success */\n --lumo-success-color: hsl(145, 65%, 42%);\n --lumo-success-color-50pct: hsla(145, 65%, 42%, 0.5);\n --lumo-success-color-10pct: hsla(145, 65%, 42%, 0.1);\n --lumo-success-text-color: hsl(145, 85%, 47%);\n }\n\n html {\n color: var(--lumo-body-text-color);\n background-color: var(--lumo-base-color);\n }\n\n [theme~="dark"] {\n color: var(--lumo-body-text-color);\n background-color: var(--lumo-base-color);\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n color: var(--lumo-header-text-color);\n }\n\n a {\n color: var(--lumo-primary-text-color);\n }\n\n blockquote {\n color: var(--lumo-secondary-text-color);\n }\n\n code,\n pre {\n background-color: var(--lumo-contrast-10pct);\n border-radius: var(--lumo-border-radius-m);\n }\n </style>\n </template>\n</dom-module><dom-module id="lumo-color-legacy">\n <template>\n <style include="lumo-color">\n :host {\n color: var(--lumo-body-text-color) !important;\n background-color: var(--lumo-base-color) !important;\n }\n </style>\n </template>\n</dom-module>',document.head.appendChild(Wr.content);const Yr=document.createElement("template");Yr.innerHTML='<custom-style>\n <style>\n html {\n /* Font families */\n --lumo-font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n\n /* Font sizes */\n --lumo-font-size-xxs: .75rem;\n --lumo-font-size-xs: .8125rem;\n --lumo-font-size-s: .875rem;\n --lumo-font-size-m: 1rem;\n --lumo-font-size-l: 1.125rem;\n --lumo-font-size-xl: 1.375rem;\n --lumo-font-size-xxl: 1.75rem;\n --lumo-font-size-xxxl: 2.5rem;\n\n /* Line heights */\n --lumo-line-height-xs: 1.25;\n --lumo-line-height-s: 1.375;\n --lumo-line-height-m: 1.625;\n }\n\n </style>\n</custom-style><dom-module id="lumo-typography">\n <template>\n <style>\n html {\n font-family: var(--lumo-font-family);\n font-size: var(--lumo-font-size, var(--lumo-font-size-m));\n line-height: var(--lumo-line-height-m);\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n /* Can’t combine with the above selector because that doesn’t work in browsers without native shadow dom */\n :host {\n font-family: var(--lumo-font-family);\n font-size: var(--lumo-font-size, var(--lumo-font-size-m));\n line-height: var(--lumo-line-height-m);\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n small,\n [theme~="font-size-s"] {\n font-size: var(--lumo-font-size-s);\n line-height: var(--lumo-line-height-s);\n }\n\n [theme~="font-size-xs"] {\n font-size: var(--lumo-font-size-xs);\n line-height: var(--lumo-line-height-xs);\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-weight: 600;\n line-height: var(--lumo-line-height-xs);\n margin-top: 1.25em;\n }\n\n h1 {\n font-size: var(--lumo-font-size-xxxl);\n margin-bottom: 0.75em;\n }\n\n h2 {\n font-size: var(--lumo-font-size-xxl);\n margin-bottom: 0.5em;\n }\n\n h3 {\n font-size: var(--lumo-font-size-xl);\n margin-bottom: 0.5em;\n }\n\n h4 {\n font-size: var(--lumo-font-size-l);\n margin-bottom: 0.5em;\n }\n\n h5 {\n font-size: var(--lumo-font-size-m);\n margin-bottom: 0.25em;\n }\n\n h6 {\n font-size: var(--lumo-font-size-xs);\n margin-bottom: 0;\n text-transform: uppercase;\n letter-spacing: 0.03em;\n }\n\n p,\n blockquote {\n margin-top: 0.5em;\n margin-bottom: 0.75em;\n }\n\n a {\n text-decoration: none;\n }\n\n a:hover {\n text-decoration: underline;\n }\n\n hr {\n display: block;\n align-self: stretch;\n height: 1px;\n border: 0;\n padding: 0;\n margin: var(--lumo-space-s) calc(var(--lumo-border-radius-m) / 2);\n background-color: var(--lumo-contrast-10pct);\n }\n\n blockquote {\n border-left: 2px solid var(--lumo-contrast-30pct);\n }\n\n b,\n strong {\n font-weight: 600;\n }\n\n /* RTL specific styles */\n\n blockquote[dir="rtl"] {\n border-left: none;\n border-right: 2px solid var(--lumo-contrast-30pct);\n }\n\n </style>\n </template>\n</dom-module>',document.head.appendChild(Yr.content);const Hr=document.createElement("template");Hr.innerHTML='<dom-module id="lumo-overlay">\n <template>\n <style>\n :host {\n top: var(--lumo-space-m);\n right: var(--lumo-space-m);\n bottom: var(--lumo-space-m);\n left: var(--lumo-space-m);\n /* Workaround for Edge issue (only on Surface), where an overflowing vaadin-list-box inside vaadin-select-overlay makes the overlay transparent */\n /* stylelint-disable-next-line */\n outline: 0px solid transparent;\n }\n\n [part="overlay"] {\n background-color: var(--lumo-base-color);\n background-image: linear-gradient(var(--lumo-tint-5pct), var(--lumo-tint-5pct));\n border-radius: var(--lumo-border-radius-m);\n box-shadow: 0 0 0 1px var(--lumo-shade-5pct), var(--lumo-box-shadow-m);\n color: var(--lumo-body-text-color);\n font-family: var(--lumo-font-family);\n font-size: var(--lumo-font-size-m);\n font-weight: 400;\n line-height: var(--lumo-line-height-m);\n letter-spacing: 0;\n text-transform: none;\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n [part="content"] {\n padding: var(--lumo-space-xs);\n }\n\n [part="backdrop"] {\n background-color: var(--lumo-shade-20pct);\n animation: 0.2s lumo-overlay-backdrop-enter both;\n will-change: opacity;\n }\n\n @keyframes lumo-overlay-backdrop-enter {\n 0% {\n opacity: 0;\n }\n }\n\n :host([closing]) [part="backdrop"] {\n animation: 0.2s lumo-overlay-backdrop-exit both;\n }\n\n @keyframes lumo-overlay-backdrop-exit {\n 100% {\n opacity: 0;\n }\n }\n\n @keyframes lumo-overlay-dummy-animation {\n 0% { opacity: 1; }\n 100% { opacity: 1; }\n }\n </style>\n </template>\n</dom-module>',document.head.appendChild(Hr.content);const Ur=document.createElement("template");Ur.innerHTML='<dom-module id="lumo-menu-overlay-core">\n <template>\n <style>\n :host([opening]),\n :host([closing]) {\n animation: 0.14s lumo-overlay-dummy-animation;\n }\n\n [part="overlay"] {\n will-change: opacity, transform;\n }\n\n :host([opening]) [part="overlay"] {\n animation: 0.1s lumo-menu-overlay-enter ease-out both;\n }\n\n @keyframes lumo-menu-overlay-enter {\n 0% {\n opacity: 0;\n transform: translateY(-4px);\n }\n }\n\n :host([closing]) [part="overlay"] {\n animation: 0.1s lumo-menu-overlay-exit both;\n }\n\n @keyframes lumo-menu-overlay-exit {\n 100% {\n opacity: 0;\n }\n }\n </style>\n </template>\n</dom-module><dom-module id="lumo-menu-overlay">\n <template>\n <style include="lumo-overlay lumo-menu-overlay-core">\n /* Small viewport (bottom sheet) styles */\n /* Use direct media queries instead of the state attributes (`[phone]` and `[fullscreen]`) provided by the elements */\n @media (max-width: 420px), (max-height: 420px) {\n :host {\n top: 0 !important;\n right: 0 !important;\n bottom: var(--vaadin-overlay-viewport-bottom, 0) !important;\n left: 0 !important;\n align-items: stretch !important;\n justify-content: flex-end !important;\n }\n\n [part="overlay"] {\n max-height: 50vh;\n width: 100vw;\n border-radius: 0;\n box-shadow: var(--lumo-box-shadow-xl);\n }\n\n /* The content part scrolls instead of the overlay part, because of the gradient fade-out */\n [part="content"] {\n padding: 30px var(--lumo-space-m);\n max-height: inherit;\n box-sizing: border-box;\n -webkit-overflow-scrolling: touch;\n overflow: auto;\n -webkit-mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);\n mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);\n }\n\n [part="backdrop"] {\n display: block;\n }\n\n /* Animations */\n\n :host([opening]) [part="overlay"] {\n animation: 0.2s lumo-mobile-menu-overlay-enter cubic-bezier(.215, .61, .355, 1) both;\n }\n\n :host([closing]),\n :host([closing]) [part="backdrop"] {\n animation-delay: 0.14s;\n }\n\n :host([closing]) [part="overlay"] {\n animation: 0.14s 0.14s lumo-mobile-menu-overlay-exit cubic-bezier(.55, .055, .675, .19) both;\n }\n }\n\n @keyframes lumo-mobile-menu-overlay-enter {\n 0% {\n transform: translateY(150%);\n }\n }\n\n @keyframes lumo-mobile-menu-overlay-exit {\n 100% {\n transform: translateY(150%);\n }\n }\n </style>\n </template>\n</dom-module>',document.head.appendChild(Ur.content);class jr{constructor(e){this.value=e.toString()}toString(){return this.value}}const Gr=function(i,...e){const t=document.createElement("template");return t.innerHTML=e.reduce((e,t,n)=>e+function(e){if(e instanceof HTMLTemplateElement)return e.innerHTML;if(e instanceof jr)return function(e){if(e instanceof jr)return e.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${e}`)}(e);throw new Error(`non-template value passed to Polymer's html function: ${e}`)}(t)+i[n+1],i[0]),t},Vr=Gr`<dom-module id="lumo-date-picker-overlay" theme-for="vaadin-date-picker-overlay">
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function yt(){}const f=e=>e;function d(e){return e()}function u(){return Object.create(null)}function _t(e){e.forEach(d)}function ne(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function h(e,...t){if(null==e)return yt;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function R(e,t,n){e.$$.on_destroy.push(h(t,n))}var e="undefined"!=typeof window;let g=e?()=>window.performance.now():()=>Date.now(),y=e?e=>requestAnimationFrame(e):yt;const _=new Set;function b(t){_.forEach(e=>{e.c(t)||(_.delete(e),e.f())}),0!==_.size&&y(b)}function bt(e,t){e.appendChild(t)}function vt(e,t,n){e.insertBefore(t,n||null)}function wt(e){e.parentNode.removeChild(e)}function xt(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function Ct(e){return document.createElement(e)}function t(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Pt(e){return document.createTextNode(e)}function At(){return Pt(" ")}function k(){return Pt("")}function Tt(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function G(t){return function(e){return e.preventDefault(),t.call(this,e)}}function St(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function V(e,t,n){t in e?e[t]=n:St(e,t,n)}function F(e){return""===e?null:+e}function q(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function Et(e,t){e.value=null==t?"":t}function v(e,t,n,i){e.style.setProperty(t,n,i?"important":"")}function Mt(t,n){for(let e=0;e<t.options.length;e+=1){const i=t.options[e];if(i.__value===n)return i.selected=!0,0}}function X(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}function i(e){const t={};for(const n of e)t[n.name]=n.value;return t}const w=new Set;let p,x=0;function C(e,t,n,i,o,r,s,a=0){var l=16.666/i;let c="{\n";for(let e=0;e<=1;e+=l){const i=t+(n-t)*r(e);c+=100*e+`%{${s(i,1-i)}}\n`}const d=c+`100% {${s(n,1-n)}}\n}`,u=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(d)}_${a}`,h=e.ownerDocument;w.add(h);const p=h.__svelte_stylesheet||(h.__svelte_stylesheet=h.head.appendChild(Ct("style")).sheet),m=h.__svelte_rules||(h.__svelte_rules={});m[u]||(m[u]=!0,p.insertRule(`@keyframes ${u} ${d}`,p.cssRules.length));a=e.style.animation||"";return e.style.animation=`${a?`${a}, `:""}${u} ${i}ms linear ${o}ms 1 both`,x+=1,u}function m(e){p=e}function Z(e){!function(){if(!p)throw new Error("Function called outside component initialization");return p}().$$.on_mount.push(e)}const P=[],J=[],o=[],r=[],s=Promise.resolve();let a=!1;function A(){a||(a=!0,s.then(T))}function H(){return A(),s}function Dt(e){o.push(e)}let l=!1;const c=new Set;function T(){if(!l){l=!0;do{for(let e=0;e<P.length;e+=1){var t=P[e];m(t),function(e){{var t;null!==e.fragment&&(e.update(),_t(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Dt))}}(t.$$)}for(m(null),P.length=0;J.length;)J.pop()();for(let e=0;e<o.length;e+=1){const n=o[e];c.has(n)||(c.add(n),n())}}while(o.length=0,P.length);for(;r.length;)r.pop()();a=!1,l=!1,c.clear()}}let S;function E(e,t,n){e.dispatchEvent(function(e){const t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}(`${t?"intro":"outro"}${n}`))}const M=new Set;let D;function I(e,t){e&&e.i&&(M.delete(e),e.i(t))}function L(e,t,n,i){e&&e.o&&(M.has(e)||(M.add(e),D.c.push(()=>{M.delete(e),i&&(n&&e.d(1),i())}),e.o(t)))}const O={duration:0};function N(a,e,t,n){let l=e(a,t),c=n?0:1,d=null,u=null,h=null;function p(){h&&function(e,t){const n=(e.style.animation||"").split(", "),i=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),o=n.length-i.length;o&&(e.style.animation=i.join(", "),x-=o,x||y(()=>{x||(w.forEach(e=>{const t=e.__svelte_stylesheet;let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.__svelte_rules={}}),w.clear())}))}(a,h)}function m(e,t){var n=e.b-c;return t*=Math.abs(n),{a:c,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function i(e){const{delay:t=0,duration:n=300,easing:i=f,tick:o=yt,css:r}=l||O,s={start:g()+t,b:e};e||(s.group=D,D.r+=1),d||u?u=s:(r&&(p(),h=C(a,c,e,n,t,i,r)),e&&o(0,1),d=m(s,n),Dt(()=>E(a,e,"start")),function(t){let n;0===_.size&&y(b),new Promise(e=>{_.add(n={c:t,f:e})})}(e=>{return u&&e>u.start&&(d=m(u,n),u=null,E(a,d.b,"start"),r&&(p(),h=C(a,c,d.b,d.duration,0,i,l.css))),d&&(e>=d.end?(o(c=d.b,1-c),E(a,d.b,"end"),u||(d.b?p():--d.group.r||_t(d.group.c)),d=null):e>=d.start&&(e=e-d.start,c=d.a+d.d*i(e/d.duration),o(c,1-c))),!(!d&&!u)}))}return{run(e){ne(l)?(S||(S=Promise.resolve(),S.then(()=>{S=null})),S.then(()=>{l=l(),i(e)})):i(e)},end(){p(),d=u=null}}}function B(i,e,t,n,o,r,s=[-1]){var a=p;m(i);const l=i.$$={fragment:null,ctx:null,props:r,update:yt,not_equal:o,bound:u(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(a?a.$$.context:e.context||[]),callbacks:u(),dirty:s,skip_bound:!1};let c=!1;if(l.ctx=t?t(i,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return l.ctx&&o(l.ctx[e],l.ctx[e]=n)&&(!l.skip_bound&&l.bound[e]&&l.bound[e](n),c&&(n=e,-1===(e=i).$$.dirty[0]&&(P.push(e),A(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],l.update(),c=!0,_t(l.before_update),l.fragment=!!n&&n(l.ctx),e.target){if(e.hydrate){const yt=(n=e.target,Array.from(n.childNodes));l.fragment&&l.fragment.l(yt),yt.forEach(wt)}else l.fragment&&l.fragment.c();e.intro&&I(i.$$.fragment),function(t,e,n,i){const{fragment:o,on_mount:r,on_destroy:s,after_update:a}=t.$$;o&&o.m(e,n),i||Dt(()=>{var e=r.map(d).filter(ne);s?s.push(...e):_t(e),t.$$.on_mount=[]}),a.forEach(Dt)}(i,e.target,e.anchor,e.customElement),T()}m(a)}let $;"function"==typeof HTMLElement&&($=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(d).filter(ne);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){_t(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(_t(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=yt}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var z,W,Y="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==Y&&Y,U="URLSearchParams"in Y,j="Symbol"in Y&&"iterator"in Symbol,K="FileReader"in Y&&"Blob"in Y&&function(){try{return new Blob,!0}catch(e){return!1}}(),Q="FormData"in Y,ee="ArrayBuffer"in Y;function te(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function ie(e){return e="string"!=typeof e?String(e):e}function oe(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return j&&(e[Symbol.iterator]=function(){return e}),e}function re(t){this.map={},t instanceof re?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function se(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ae(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function le(e){var t=new FileReader,n=ae(t);return t.readAsArrayBuffer(e),n}function ce(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function de(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:K&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Q&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:U&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ee&&K&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=ce(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ee&&(ArrayBuffer.prototype.isPrototypeOf(e)||W(e))?this._bodyArrayBuffer=ce(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):U&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},K&&(this.blob=function(){var e=se(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?se(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(le)}),this.text=function(){var e,t,n=se(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=ae(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),i=0;i<t.length;i++)n[i]=String.fromCharCode(t[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Q&&(this.formData=function(){return this.text().then(pe)}),this.json=function(){return this.text().then(JSON.parse)},this}ee&&(z=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],W=ArrayBuffer.isView||function(e){return e&&-1<z.indexOf(Object.prototype.toString.call(e))}),re.prototype.append=function(e,t){e=te(e),t=ie(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},re.prototype.delete=function(e){delete this.map[te(e)]},re.prototype.get=function(e){return e=te(e),this.has(e)?this.map[e]:null},re.prototype.has=function(e){return this.map.hasOwnProperty(te(e))},re.prototype.set=function(e,t){this.map[te(e)]=ie(t)},re.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},re.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),oe(n)},re.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),oe(t)},re.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),oe(n)},j&&(re.prototype[Symbol.iterator]=re.prototype.entries);var ue=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function he(e,t){if(!(this instanceof he))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,i=(t=t||{}).body;if(e instanceof he){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new re(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new re(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<ue.indexOf(e)?e:n),this.mode=t.mode||this.mode||null,this.signal=t.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"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function pe(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),n.append(decodeURIComponent(e),decodeURIComponent(t)))}),n}function me(e,t){if(!(this instanceof me))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new re(t.headers),this.url=t.url||"",this._initBody(e)}he.prototype.clone=function(){return new he(this,{body:this._bodyInit})},de.call(he.prototype),de.call(me.prototype),me.prototype.clone=function(){return new me(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new re(this.headers),url:this.url})},me.error=function(){var e=new me(null,{status:0,statusText:""});return e.type="error",e};var fe=[301,302,303,307,308];me.redirect=function(e,t){if(-1===fe.indexOf(t))throw new RangeError("Invalid status code");return new me(null,{status:t,headers:{location:e}})};var ge=Y.DOMException;try{new ge}catch(yt){(ge=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),ge.prototype.constructor=ge}function ye(i,s){return new Promise(function(o,e){var t=new he(i,s);if(t.signal&&t.signal.aborted)return e(new ge("Aborted","AbortError"));var r=new XMLHttpRequest;function n(){r.abort()}r.onload=function(){var e,n,t={status:r.status,statusText:r.statusText,headers:(e=r.getAllResponseHeaders()||"",n=new re,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in r?r.responseURL:t.headers.get("X-Request-URL");var i="response"in r?r.response:r.responseText;setTimeout(function(){o(new me(i,t))},0)},r.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},r.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},r.onabort=function(){setTimeout(function(){e(new ge("Aborted","AbortError"))},0)},r.open(t.method,function(t){try{return""===t&&Y.location.href?Y.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?r.withCredentials=!0:"omit"===t.credentials&&(r.withCredentials=!1),"responseType"in r&&(K?r.responseType="blob":ee&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(r.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof re?t.headers.forEach(function(e,t){r.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){r.setRequestHeader(e,ie(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),r.onreadystatechange=function(){4===r.readyState&&t.signal.removeEventListener("abort",n)}),r.send(void 0===t._bodyInit?null:t._bodyInit)})}function kn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}ye.polyfill=!0,Y.fetch||(Y.fetch=ye,Y.Headers=re,Y.Request=he,Y.Response=me),self.fetch.bind(self);var _e=function(e,t){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function be(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}_e(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ve(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&i>=e.length?void 0:e)&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function we(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(i=r.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s}function xe(e,t){for(var n=0,i=t.length,o=e.length;n<i;n++,o++)e[o]=t[n];return e}function Ce(e){return"function"==typeof e}function Pe(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var Ae=Pe(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function Te(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var Se=(Me.prototype.unsubscribe=function(){var e,t,n,i,o;if(!this.closed){this.closed=!0;var r=this._parentage;if(r)if(this._parentage=null,Array.isArray(r))try{for(var s=ve(r),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else r.remove(this);r=this.initialTeardown;if(Ce(r))try{r()}catch(e){o=e instanceof Ae?e.errors:[e]}r=this._teardowns;if(r){this._teardowns=null;try{for(var l=ve(r),c=l.next();!c.done;c=l.next()){var d=c.value;try{ke(d)}catch(e){o=null!=o?o:[],e instanceof Ae?o=xe(xe([],we(o)),we(e.errors)):o.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}}if(o)throw new Ae(o)}},Me.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ke(e);else{if(e instanceof Me){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},Me.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Me.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Me.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Te(t,e)},Me.prototype.remove=function(e){var t=this._teardowns;t&&Te(t,e),e instanceof Me&&e._removeParent(this)},Me.EMPTY=((pn=new Me).closed=!0,pn),Me),Ee=Se.EMPTY;function Me(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function De(e){return e instanceof Se||e&&"closed"in e&&Ce(e.remove)&&Ce(e.add)&&Ce(e.unsubscribe)}function ke(e){Ce(e)?e():e.unsubscribe()}var Ie=void 0,Le=!1,Oe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,xe([],we(e)))};function Ne(){}function Be(e){e()}var Re,Fe,$e=(be(Ye,Fe=Se),Ye.create=function(e,t,n){return new ze(e,t,n)},Ye.prototype.next=function(e){this.isStopped||this._next(e)},Ye.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ye.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ye.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Fe.prototype.unsubscribe.call(this),this.destination=null)},Ye.prototype._next=function(e){this.destination.next(e)},Ye.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ye.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Ye),ze=(be(We,Re=$e),We);function We(e,t,n){var i,o,r=Re.call(this)||this;return Ce(e)?o=e:e&&(o=e.next,t=e.error,n=e.complete,r&&Le?(i=Object.create(e)).unsubscribe=function(){return r.unsubscribe()}:i=e,o=null==o?void 0:o.bind(i),t=null==t?void 0:t.bind(i),n=null==n?void 0:n.bind(i)),r.destination={next:o?He(o):Ne,error:He(null!=t?t:Ue),complete:n?He(n):Ne},r}function Ye(e){var t=Fe.call(this)||this;return t.isStopped=!1,e?De(t.destination=e)&&e.add(t):t.destination=je,t}function He(i){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{i.apply(void 0,xe([],we(e)))}catch(e){t=e,Oe(function(){throw t})}}}function Ue(e){throw e}var je={closed:!0,next:Ne,error:Ue,complete:Ne},Ge="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ve(e){return e}var qe=(Xe.prototype.lift=function(e){var t=new Xe;return t.source=this,t.operator=e,t},Xe.prototype.subscribe=function(e,t,n){var i,o=this,r=(i=e)&&i instanceof $e||i&&Ce(i.next)&&Ce(i.error)&&Ce(i.complete)&&De(i)?e:new ze(e,t,n);return Be(function(){var e=o.operator,t=o.source;r.add(e?e.call(r,t):t?o._subscribe(r):o._trySubscribe(r))}),r},Xe.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Xe.prototype.forEach=function(i,e){var o=this;return new(e=Ze(e))(function(e,t){var n=o.subscribe(function(e){try{i(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},Xe.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},Xe.prototype[Ge]=function(){return this},Xe.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?Ve:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Xe.prototype.toPromise=function(e){var i=this;return new(e=Ze(e))(function(e,t){var n;i.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},Xe.create=function(e){return new Xe(e)},Xe);function Xe(e){e&&(this._subscribe=e)}function Ze(e){return null!==(e=null!=e?e:Ie)&&void 0!==e?e:Promise}var Je,Ke,Qe,et=Pe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),tt=(be(at,Qe=qe),at.prototype.lift=function(e){var t=new nt(this,this);return t.operator=e,t},at.prototype._throwIfClosed=function(){if(this.closed)throw new et},at.prototype.next=function(r){var s=this;Be(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){var n=s.observers.slice();try{for(var i=ve(n),o=i.next();!o.done;o=i.next())o.value.next(r)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}}})},at.prototype.error=function(t){var n=this;Be(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},at.prototype.complete=function(){var t=this;Be(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},at.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(at.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),at.prototype._trySubscribe=function(e){return this._throwIfClosed(),Qe.prototype._trySubscribe.call(this,e)},at.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},at.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,i=this.observers;return t||n?Ee:(i.push(e),new Se(function(){return Te(i,e)}))},at.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,i=this.isStopped;t?e.error(n):i&&e.complete()},at.prototype.asObservable=function(){var e=new qe;return e.source=this,e},at.create=function(e,t){return new nt(e,t)},at),nt=(be(st,Ke=tt),st.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},st.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},st.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},st.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:Ee},st),it={now:function(){return(it.delegate||Date).now()},delegate:void 0},ot=(be(rt,Je=tt),rt.prototype.next=function(e){var t=this,n=t.isStopped,i=t._buffer,o=t._infiniteTimeWindow,r=t._timestampProvider,t=t._windowTime;n||(i.push(e),o||i.push(r.now()+t)),this._trimBuffer(),Je.prototype.next.call(this,e)},rt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,i=this._buffer.slice(),o=0;o<i.length&&!e.closed;o+=n?1:2)e.next(i[o]);return this._checkFinalizedStatuses(e),t},rt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,i=this._infiniteTimeWindow,o=(i?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!i){for(var r=t.now(),s=0,a=1;a<n.length&&n[a]<=r;a+=2)s=a;s&&n.splice(0,s+1)}},rt);function rt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=it);var i=Je.call(this)||this;return i._bufferSize=e,i._windowTime=t,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,t),i}function st(e,t){var n=Ke.call(this)||this;return n.destination=e,n.source=t,n}function at(){var e=Qe.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let lt=[],ct={};const dt=[];function ut(i,o=yt){let r;const s=[];function a(e){if(n(i,e)&&(i=e,r)){const e=!dt.length;for(let e=0;e<s.length;e+=1){const t=s[e];t[1](),dt.push(t,i)}if(e){for(let e=0;e<dt.length;e+=2)dt[e][0](dt[e+1]);dt.length=0}}}return{set:a,update:function(e){a(e(i))},subscribe:function(e,t=yt){const n=[e,t];return s.push(n),1===s.length&&(r=o(a)||yt),e(i),()=>{var e=s.indexOf(n);-1!==e&&s.splice(e,1),0===s.length&&(r(),r=null)}}}}function ht(e,a,t){const l=!Array.isArray(e),c=l?[e]:e,d=a.length<2;return{subscribe:ut(t,t=>{let n=!1;const i=[];let o=0,r=yt;const s=()=>{var e;o||(r(),e=a(l?i[0]:i,t),d?t(e):r=ne(e)?e:yt)},e=c.map((e,t)=>h(e,e=>{i[t]=e,o&=~(1<<t),n&&s()},()=>{o|=1<<t}));return n=!0,s(),function(){_t(e),r()}}).subscribe}}var pt=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===mt));var t},mt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function ft(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ot(Array.isArray(e)?[]:{},e,t):e}function gt(e,t,n){return e.concat(t).map(function(e){return ft(e,n)})}function kt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function It(e,t){try{return t in e}catch(e){return!1}}function Lt(i,o,r){var s={};return r.isMergeableObject(i)&&kt(i).forEach(function(e){s[e]=ft(i[e],r)}),kt(o).forEach(function(t){var e,n;(!It(e=i,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(It(i,t)&&r.isMergeableObject(o[t])?s[t]=function(){if(!r.customMerge)return Ot;var e=r.customMerge(t);return"function"==typeof e?e:Ot}()(i[t],o[t],r):s[t]=ft(o[t],r))}),s}function Ot(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||gt,n.isMergeableObject=n.isMergeableObject||pt,n.cloneUnlessOtherwiseSpecified=ft;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):Lt(e,t,n):ft(t,n)}Ot.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return Ot(e,t,n)},{})};var Nt=Ot,Bt=function(e,t){return(Bt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function Rt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Bt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Ft,$t,zt,Wt=function(){return(Wt=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Yt(e,t){for(var n=0,i=t.length,o=e.length;n<i;n++,o++)e[o]=t[n];return e}function Ht(e){return e.type===$t.literal}function Ut(e){return e.type===$t.number}function jt(e){return e.type===$t.date}function Gt(e){return e.type===$t.time}function Vt(e){return e.type===$t.select}function qt(e){return e.type===$t.plural}function Xt(e){return e.type===$t.tag}function Zt(e){return e&&"object"==typeof e&&e.type===zt.number}function Jt(e){return e&&"object"==typeof e&&e.type===zt.dateTime}(mn=Ft=Ft||{})[mn.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",mn[mn.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",mn[mn.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",mn[mn.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",mn[mn.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",mn[mn.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",mn[mn.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",mn[mn.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",mn[mn.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",mn[mn.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",mn[mn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",mn[mn.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",mn[mn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",mn[mn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",mn[mn.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",mn[mn.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",mn[mn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",mn[mn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",mn[mn.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",mn[mn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",mn[mn.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",mn[mn.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",mn[mn.INVALID_TAG=23]="INVALID_TAG",mn[mn.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",mn[mn.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",mn[mn.UNCLOSED_TAG=27]="UNCLOSED_TAG",(fn=$t=$t||{})[fn.literal=0]="literal",fn[fn.argument=1]="argument",fn[fn.number=2]="number",fn[fn.date=3]="date",fn[fn.time=4]="time",fn[fn.select=5]="select",fn[fn.plural=6]="plural",fn[fn.pound=7]="pound",fn[fn.tag=8]="tag",(gn=zt=zt||{})[gn.number=0]="number",gn[gn.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Kt=/(?:[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 Qt,en=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,tn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,nn=/^(@+)?(\+|#+)?$/g,on=/(\*)(0+)|(#+)(0+)|(0+)/g,rn=/^(0+)$/;function sn(e){var i={};return e.replace(nn,function(e,t,n){return"string"!=typeof n?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===n?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),i}function an(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function ln(e){return an(e)||{}}function cn(e){for(var s={},t=0,n=e;t<n.length;t++){var i,o=n[t];switch(o.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=o.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=o.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=Wt(Wt(Wt({},s),{notation:"scientific"}),o.options.reduce(function(e,t){return Wt(Wt({},e),ln(t))},{}));continue;case"engineering":s=Wt(Wt(Wt({},s),{notation:"engineering"}),o.options.reduce(function(e,t){return Wt(Wt({},e),ln(t))},{}));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(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(on,function(e,t,n,i,o,r){if(t)s.minimumIntegerDigits=n.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(r)throw new Error("We currently do not support exact integer digits")}return""});continue}if(rn.test(o.stem))s.minimumIntegerDigits=o.stem.length;else if(tn.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(tn,function(e,t,n,i,o,r){return"*"===n?s.minimumFractionDigits=t.length:i&&"#"===i[0]?s.maximumFractionDigits=i.length:o&&r?(s.minimumFractionDigits=o.length,s.maximumFractionDigits=o.length+r.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""}),o.options.length&&(s=Wt(Wt({},s),sn(o.options[0])))}else nn.test(o.stem)?s=Wt(Wt({},s),sn(o.stem)):((i=an(o.stem))&&(s=Wt(Wt({},s),i)),(i=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!rn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(s=Wt(Wt({},s),i)))}return s}var dn=new RegExp("^"+e.source+"*"),un=new RegExp(e.source+"*$");function hn(e,t){return{start:e,end:t}}var pn=!!String.prototype.startsWith,Ge=!!String.fromCodePoint,tt=!!Object.fromEntries,mn=!!String.prototype.codePointAt,fn=!!String.prototype.trimStart,gn=!!String.prototype.trimEnd,yn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},e=!0;try{e="a"===(null===(Qt=Tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Qt?void 0:Qt[0])}catch(yt){e=!1}var _n,bn,vn=pn?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},wn=Ge?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,i="",o=e.length,r=0;r<o;){if(1114111<(n=e[r++]))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},xn=tt?Object.fromEntries:function(e){for(var t={},n=0,i=e;n<i.length;n++){var o=i[n],r=o[0],o=o[1];t[r]=o}return t},Cn=mn?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var i,o=e.charCodeAt(t);return o<55296||56319<o||t+1===n||(i=e.charCodeAt(t+1))<56320||57343<i?o:i-56320+(o-55296<<10)+65536}},Pn=fn?function(e){return e.trimStart()}:function(e){return e.replace(dn,"")},An=gn?function(e){return e.trimEnd()}:function(e){return e.replace(un,"")};function Tn(e,t){return new RegExp(e,t)}bn=e?(_n=Tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return _n.lastIndex=t,null!==(e=_n.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,i=[];;){var o=Cn(e,t);if(void 0===o||Dn(o)||(33<=(n=o)&&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(o),t+=65536<=o?2:1}return wn.apply(void 0,i)};var Sn=(En.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},En.prototype.parseMessage=function(e,t,n){for(var i=[];!this.isEOF();){var o,r=this.char();if(123===r){if((o=this.parseArgument(e,n)).err)return o;i.push(o.val)}else{if(125===r&&0<e)break;if(35!==r||"plural"!==t&&"selectordinal"!==t){if(60===r&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Ft.UNMATCHED_CLOSING_TAG,hn(this.clonePosition(),this.clonePosition()))}if(60===r&&!this.ignoreTag&&Mn(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;i.push(o.val)}else{if((o=this.parseLiteral(e,t)).err)return o;i.push(o.val)}}else{r=this.clonePosition();this.bump(),i.push({type:$t.pound,location:hn(r,this.clonePosition())})}}}return{val:i,err:null}},En.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:$t.literal,value:"<"+i+"/>",location:hn(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;e=o.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Mn(this.char()))return this.error(Ft.INVALID_TAG,hn(t,this.clonePosition()));o=this.clonePosition();return i!==this.parseTagName()?this.error(Ft.UNMATCHED_CLOSING_TAG,hn(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:$t.tag,value:i,children:e,location:hn(n,this.clonePosition())},err:null}:this.error(Ft.INVALID_TAG,hn(t,this.clonePosition())))}return this.error(Ft.UNCLOSED_TAG,hn(n,this.clonePosition()))}return this.error(Ft.INVALID_TAG,hn(n,this.clonePosition()))},En.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},En.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),i="";;){var o=this.tryParseQuote(t);if(o)i+=o;else{o=this.tryParseUnquoted(e,t);if(o)i+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;i+=o}}}n=hn(n,this.clonePosition());return{val:{type:$t.literal,value:i,location:n},err:null}},En.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Mn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},En.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return wn.apply(void 0,t)},En.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),wn(n))},En.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Ft.EXPECT_ARGUMENT_CLOSING_BRACE,hn(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Ft.EMPTY_ARGUMENT,hn(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(Ft.MALFORMED_ARGUMENT,hn(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Ft.EXPECT_ARGUMENT_CLOSING_BRACE,hn(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:$t.argument,value:i,location:hn(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Ft.EXPECT_ARGUMENT_CLOSING_BRACE,hn(n,this.clonePosition())):this.parseArgumentOptions(e,t,i,n);default:return this.error(Ft.MALFORMED_ARGUMENT,hn(n,this.clonePosition()))}},En.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=bn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:hn(e,this.clonePosition())}},En.prototype.parseArgumentOptions=function(e,t,n,i){var o,r=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(Ft.EXPECT_ARGUMENT_TYPE,hn(r,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(u=An(h.val)).length)return this.error(Ft.EXPECT_ARGUMENT_STYLE,hn(this.clonePosition(),this.clonePosition()));l={style:u,styleLocation:hn(c,this.clonePosition())}}if((p=this.tryParseArgumentClose(i)).err)return p;var d=hn(i,this.clonePosition());if(l&&vn(null==l?void 0:l.style,"::",0)){c=Pn(l.style.slice(2));if("number"===s)return(h=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?h:{val:{type:$t.number,value:n,location:d,style:h.val},err:null};if(0===c.length)return this.error(Ft.EXPECT_DATE_TIME_SKELETON,d);var u={type:zt.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},c.replace(Kt,function(e){var t=e.length;switch(e[0]){case"G":o.era=4===t?"long":5===t?"narrow":"short";break;case"y":o.year=2===t?"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":o.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":o.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":o.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][t-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][t-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][t-1];break;case"k":o.hourCycle="h24",o.hour=["numeric","2-digit"][t-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":o.minute=["numeric","2-digit"][t-1];break;case"s":o.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":o.timeZoneName=t<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""}),o):{}};return{val:{type:"date"===s?$t.date:$t.time,value:n,location:d,style:u},err:null}}return{val:{type:"number"===s?$t.number:"date"===s?$t.date:$t.time,value:n,location:d,style:null!==(d=null==l?void 0:l.style)&&void 0!==d?d:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Ft.EXPECT_SELECT_ARGUMENT_OPTIONS,hn(l,Wt({},l)));this.bumpSpace();var h,d=this.parseIdentifierIfPossible(),l=0;if("select"!==s&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(Ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,hn(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(Ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ft.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),d=this.parseIdentifierIfPossible(),l=h.val}d=this.tryParsePluralOrSelectOptions(e,s,t,d);if(d.err)return d;if((p=this.tryParseArgumentClose(i)).err)return p;var p=hn(i,this.clonePosition());return"select"===s?{val:{type:$t.select,value:n,options:xn(d.val),location:p},err:null}:{val:{type:$t.plural,value:n,options:xn(d.val),offset:l,pluralType:"plural"===s?"cardinal":"ordinal",location:p},err:null};default:return this.error(Ft.INVALID_ARGUMENT_TYPE,hn(r,a))}},En.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Ft.EXPECT_ARGUMENT_CLOSING_BRACE,hn(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},En.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Ft.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,hn(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},En.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,i=e.split(en).filter(function(e){return 0<e.length});n<i.length;n++){var o=i[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var r=o[0],o=o.slice(1),s=0,a=o;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:r,options:o})}return t}(e)}catch(e){return this.error(Ft.INVALID_NUMBER_SKELETON,t)}return{val:{type:zt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?cn(n):{}},err:null}},En.prototype.tryParsePluralOrSelectOptions=function(e,t,n,i){for(var o=!1,r=[],s=new Set,a=i.value,l=i.location;;){if(0===a.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(Ft.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ft.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=hn(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(s.has(a))return this.error("select"===t?Ft.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Ft.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(o=!0),this.bumpSpace();var u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Ft.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Ft.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,hn(this.clonePosition(),this.clonePosition()));d=this.parseMessage(e+1,t,n);if(d.err)return d;c=this.tryParseArgumentClose(u);if(c.err)return c;r.push([a,{value:d.val,location:hn(u,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===r.length?this.error("select"===t?Ft.EXPECT_SELECT_ARGUMENT_SELECTOR:Ft.EXPECT_PLURAL_ARGUMENT_SELECTOR,hn(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(Ft.MISSING_OTHER_CLAUSE,hn(this.clonePosition(),this.clonePosition())):{val:r,err:null}},En.prototype.tryParseDecimalInteger=function(e,t){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,r=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;o=!0,r=10*r+(s-48),this.bump()}i=hn(i,this.clonePosition());return o?yn(r*=n)?{val:r,err:null}:this.error(t,i):this.error(e,i)},En.prototype.offset=function(){return this.position.offset},En.prototype.isEOF=function(){return this.offset()===this.message.length},En.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},En.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Cn(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},En.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},En.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},En.prototype.bumpIf=function(e){if(vn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},En.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},En.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},En.prototype.bumpSpace=function(){for(;!this.isEOF()&&Dn(this.char());)this.bump()},En.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},En);function En(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Mn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Dn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function In(e,t){t=Wt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new Sn(e,t).parse();if(n.err){e=SyntaxError(Ft[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,Vt(e)||qt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Ut(e)&&Zt(e.style)||(jt(e)||Gt(e))&&Jt(e.style)?delete e.style.location:Xt(e)&&n(e.children)})}(n.val),n.val}function Ln(e,t){var n=t&&t.cache?t.cache:zn,i=t&&t.serializer?t.serializer:Rn;return(t&&t.strategy?t.strategy:function(e,t){return Bn(e,this,1===e.length?On:Nn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:i})}function On(e,t,n,i){var o=null==i||"number"==typeof i||"boolean"==typeof i?i:n(i),n=t.get(o);return void 0===n&&(n=e.call(this,i),t.set(o,n)),n}function Nn(e,t,n){var i=Array.prototype.slice.call(arguments,3),o=n(i),n=t.get(o);return void 0===n&&(n=e.apply(this,i),t.set(o,n)),n}function Bn(e,t,n,i,o){return n.bind(t,e,i,o)}var Rn=function(){return JSON.stringify(arguments)};function Fn(){this.cache=Object.create(null)}Fn.prototype.has=function(e){return e in this.cache},Fn.prototype.get=function(e){return this.cache[e]},Fn.prototype.set=function(e,t){this.cache[e]=t};var $n,zn={create:function(){return new Fn}},Wn={variadic:function(e,t){return Bn(e,this,Nn,t.cache.create(),t.serializer)},monadic:function(e,t){return Bn(e,this,On,t.cache.create(),t.serializer)}};(gn=$n=$n||{}).MISSING_VALUE="MISSING_VALUE",gn.INVALID_VALUE="INVALID_VALUE",gn.MISSING_INTL_API="MISSING_INTL_API";var Yn,Hn,Un,jn,Gn,Vn=(Rt(ei,Gn=Error),ei.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},ei),qn=(Rt(Qn,jn=Vn),Qn),Xn=(Rt(Kn,Un=Vn),Kn),Zn=(Rt(Jn,Hn=Vn),Jn);function Jn(e,t){return Hn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',$n.MISSING_VALUE,t)||this}function Kn(e,t,n){return Un.call(this,'Value for "'+e+'" must be of type '+t,$n.INVALID_VALUE,n)||this}function Qn(e,t,n,i){return jn.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',$n.INVALID_VALUE,i)||this}function ei(e,t,n){e=Gn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function ti(e,t,n,i,o,r,s){if(1===e.length&&Ht(e[0]))return[{type:Yn.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var d=c[l];if(Ht(d))a.push({type:Yn.literal,value:d.value});else if(d.type===$t.pound)"number"==typeof r&&a.push({type:Yn.literal,value:n.getNumberFormat(t).format(r)});else{var u=d.value;if(!(o&&u in o))throw new Zn(u,s);var h=o[u];if(d.type===$t.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?Yn.literal:Yn.object,value:h});else if(jt(d)){var p="string"==typeof d.style?i.date[d.style]:Jt(d.style)?d.style.parsedOptions:void 0;a.push({type:Yn.literal,value:n.getDateTimeFormat(t,p).format(h)})}else if(Gt(d))p="string"==typeof d.style?i.time[d.style]:Jt(d.style)?d.style.parsedOptions:void 0,a.push({type:Yn.literal,value:n.getDateTimeFormat(t,p).format(h)});else if(Ut(d))(p="string"==typeof d.style?i.number[d.style]:Zt(d.style)?d.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),a.push({type:Yn.literal,value:n.getNumberFormat(t,p).format(h)});else{if(Xt(d)){var m=d.children,f=d.value,u=o[f];if("function"!=typeof u)throw new Xn(f,"function",s);m=u(ti(m,t,n,i,o,r).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),a.push.apply(a,m.map(function(e){return{type:"string"==typeof e?Yn.literal:Yn.object,value:e}}))}if(Vt(d)){if(!(g=d.options[h]||d.options.other))throw new qn(d.value,h,Object.keys(d.options),s);a.push.apply(a,ti(g.value,t,n,i,o))}else if(qt(d)){if(!(g=d.options["="+h])){if(!Intl.PluralRules)throw new Vn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',$n.MISSING_INTL_API,s);var m=n.getPluralRules(t,{type:d.pluralType}).select(h-(d.offset||0)),g=d.options[m]||d.options.other}if(!g)throw new qn(d.value,h,Object.keys(d.options),s);a.push.apply(a,ti(g.value,t,n,i,o,h-(d.offset||0)))}}}}return a.length<2?a:a.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===Yn.literal&&t.type===Yn.literal?n.value+=t.value:e.push(t),e},[])}function ni(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=Yn=Yn||{})[e.literal=0]="literal",e[e.object=1]="object";var ii=(Object.defineProperty(oi,"defaultLocale",{get:function(){return oi.memoizedDefaultLocale||(oi.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),oi.memoizedDefaultLocale},enumerable:!1,configurable:!0}),oi.memoizedDefaultLocale=null,oi.__parse=In,oi.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"}}},oi);function oi(e,t,n,i){var o,r,s=this;if(void 0===t&&(t=oi.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=s.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===Yn.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return ti(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof e){if(this.message=e,!oi.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=oi.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(o=oi.formats,(r=n)?Object.keys(o).reduce(function(e,t){var n,i;return e[t]=(n=o[t],(i=r[t])?Wt(Wt(Wt({},n||{}),i||{}),Object.keys(n).reduce(function(e,t){return e[t]=Wt(Wt({},n[t]),i[t]||{}),e},{})):n),e},Wt({},o)):o),this.locales=t,this.formatters=i&&i.formatters||{getNumberFormat:Ln(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Yt([void 0],t)))},{cache:ni((i=void 0===(i=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:i).number),strategy:Wn.variadic}),getDateTimeFormat:Ln(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Yt([void 0],t)))},{cache:ni(i.dateTime),strategy:Wn.variadic}),getPluralRules:Ln(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Yt([void 0],t)))},{cache:ni(i.pluralRules),strategy:Wn.variadic})}}const ri={},si=(t,n)=>{if(null!=n){if(n in ri&&t in ri[n])return ri[n][t];var i,o,r=xi(n);for(let e=0;e<r.length;e++){var s=(i=r[e],o=t,ci(i)?function(e,t){if(t in e)return e[t];const n=t.split(".");let i=e;for(let e=0;e<n.length;e++)if("object"==typeof i){if(0<e){const t=n.slice(e,n.length).join(".");if(t in i){i=i[t];break}}i=i[n[e]]}else i=void 0;return i}(function(e){return ai[e]||null}(i),o):null);if(s)return i=t,o=n,(s=s)&&(o in ri||(ri[o]={}),i in ri[o]||(ri[o][i]=s),s)}}};let ai;const li=ut({});function ci(e){return e in ai}function di(t,...n){delete ri[t],li.update(e=>(e[t]=Nt.all([e[t]||{},...n]),e))}ht([li],([e])=>Object.keys(e)),li.subscribe(e=>ai=e);const ui={};function hi(e){return ui[e]}function pi(e){return xi(e).some(e=>{return null===(e=hi(e))||void 0===e?void 0:e.size})}const mi={};function fi(e){if(!pi(e))return e in mi?mi[e]:void 0;const t=xi(e).map(e=>{var t=hi(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return mi[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){ui[e].delete(t),0===ui[e].size&&delete ui[e]}(t,e),e().then(e=>e.default||e)))).then(e=>di(t,...e))}(e))).then(()=>pi(e)?fi(e):void delete mi[e]),mi[e]}function gi(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n}const yi={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 _i=ut(!1);let bi;const vi=ut(null);function wi(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function xi(e,t=yi.fallbackLocale){e=wi(e);return t?[...new Set([...e,...wi(t)])]:e}vi.subscribe(e=>{bi=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Ci=vi.set;vi.set=t=>{if(function(e){if(null!=e){var t=xi(e);for(let e=0;e<t.length;e++){var n=t[e];if(ci(n))return n}}}(t)&&pi(t)){var{loadingDelay:n}=yi;let e;return"undefined"!=typeof window&&null!=bi&&n?e=window.setTimeout(()=>_i.set(!0),n):_i.set(!0),fi(t).then(()=>{Ci(t)}).finally(()=>{clearTimeout(e),_i.set(!1)})}return Ci(t)},vi.update=e=>Ci(e(bi));const Pi=n=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=n(e)}},Ai=(e,t)=>{var{formats:n}=yi;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ti=Pi(e=>{var{locale:t,format:n}=e,e=gi(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Ai("number",n)),new Intl.NumberFormat(t,e)}),Si=Pi(e=>{var{locale:t,format:n}=e,e=gi(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Ai("date",n):0===Object.keys(e).length&&(e=Ai("date","short")),new Intl.DateTimeFormat(t,e)}),Ei=Pi(e=>{var{locale:t,format:n}=e,e=gi(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Ai("time",n):0===Object.keys(e).length&&(e=Ai("time","short")),new Intl.DateTimeFormat(t,e)}),Mi=Pi((e,t=bi)=>new ii(e,t,yi.formats,{ignoreTag:yi.ignoreTag})),Di=ht([vi,li],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:i=bi,default:o}=t;if(null==i)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let r=si(e,i);if(r){if("string"!=typeof r)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof r}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),r}else yi.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${xi(i).join('", "')}".${pi(bi)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),r=o||e;if(!n)return r;let s=r;try{s=Mi(r,i).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return s});ht([vi],()=>(e,t)=>((e={})=>{var{locale:t=bi}=e,e=gi(e,["locale"]);return Ei(Object.assign({locale:t},e))})(t).format(e)),ht([vi],()=>(e,t)=>((e={})=>{var{locale:t=bi}=e,e=gi(e,["locale"]);return Si(Object.assign({locale:t},e))})(t).format(e)),ht([vi],()=>(e,t)=>((e={})=>{var{locale:t=bi}=e,e=gi(e,["locale"]);return Ti(Object.assign({locale:t},e))})(t).format(e)),ht([vi,li],()=>(e,t=bi)=>si(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==lt.indexOf(e)&&(t=new ot(t),ct[e]=t,lt.push(e)),ct[e]}};const ki=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",Ii='<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="20px" height="20px" viewBox="0 0 1280.000000 1216.000000"\npreserveAspectRatio="xMidYMid meet">\n<g transform="translate(0.000000,1216.000000) scale(0.100000,-0.100000)" fill="#fff" stroke="none">\n<path d="M6177 12145 c-48 -8 -350 -84 -670 -170 l-582 -155 -610 0 c-679 0-725 -3 -920 -65 -264 -82 -511 -256 -677 -475 l-49 -65 -287 -76 c-1001 -267\n-1397 -375 -1472 -401 -388 -136 -713 -468 -839 -856 -51 -158 -66 -258 -65-437 1 -112 6 -196 17 -245 8 -41 77 -304 152 -585 267 -998 355 -1327 505\n-1885 83 -311 200 -747 260 -970 60 -223 168 -625 240 -895 72 -269 180 -672 240 -895 60 -223 177 -659 260 -970 83 -311 209 -781 280 -1045 71 -264 160\n-597 199 -740 38 -143 81 -291 95 -329 119 -316 375 -594 681 -742 124 -59 230 -95 355 -121 107 -22 373 -24 475 -4 65 12 684 176 2078 549 l557 150 143\n-38 c78 -22 464 -125 857 -230 393 -105 899 -241 1125 -301 526 -142 533 -143 735 -143 241 0 387 33 605 138 254 122 478 338 608 585 86 163 30 -33 607\n2121 60 223 177 659 260 970 83 311 200 747 260 970 318 1187 597 2228 755 2815 303 1132 415 1555 427 1620 7 39 13 142 13 230 0 221 -36 383 -130 581\n-152 324 -439 583 -775 702 -72 25 -568 160 -1546 421 l-211 56 -61 76 c-183 231 -403 383 -679 469 -183 56 -237 60 -909 60 l-610 0 -545 146 c-299 80\n-584 155 -634 165 -122 27 -396 34 -518 14z m-1127 -1167 c0 -10 -70 -274 -314 -1183 -124 -463 -364 -1358 -517 -1930 -233 -869 -374 -1393 -498 -1857\n-71 -266 -173 -645 -226 -843 -53 -198 -98 -364 -100 -370 -2 -5 -3 1122 -2 2505 l2 2515 22 90 c63 265 185 487 368 670 231 232 511 367 835 404 120 13\n430 13 430 -1z m2140 -127 c47 -10 202 -51 345 -90 224 -60 1099 -295 2790 -747 475 -128 514 -140 632 -194 398 -185 684 -558 769 -1005 23 -122 23 -350\n0 -469 -9 -49 -49 -206 -87 -350 -124 -463 -367 -1368 -499 -1861 -71 -264 -197 -734 -280 -1045 -83 -311 -200 -747 -260 -970 -497 -1855 -508 -1897\n-537 -1970 -126 -317 -382 -592 -686 -735 -182 -86 -331 -123 -528 -132 -239 -10 -190 -21 -1424 310 -776 208 -1457 391 -2045 548 -493 132 -625 176 -750\n249 -407 238 -665 661 -686 1125 -11 228 -11 229 250 1200 76 281 205 762 287 1070 83 308 200 745 260 970 61 226 168 626 239 890 71 264 197 734 280 1045\n83 311 191 714 240 895 48 182 99 359 113 395 35 94 102 223 160 310 63 95 259 290 357 355 159 105 354 185 540 219 119 22 402 15 520 -13z m-4750 -3698\nc0 -1697 -3 -3084 -6 -3081 -3 3 -32 106 -65 229 -133 496 -367 1367 -469 1749 -221 825 -375 1398 -507 1890 -200 743 -185 672 -187 900 -1 156 3 212\n18 279 112 511 459 894 946 1044 119 37 249 75 263 76 4 1 7 -1388 7 -3086z"/>\n<path d="M8960 9889 c-40 -111 -149 -350 -236 -518 -430 -831 -1050 -1573 -1649 -1976 -303 -203 -564 -310 -862 -350 -250 -35 -420 -122 -600 -308 -179\n-185 -305 -425 -369 -702 -27 -113 -27 -404 0 -525 117 -536 530 -939 1063 -1036 115 -20 339 -20 458 1 176 31 368 111 522 217 43 29 124 98 179 154\nl101 100 -55 -105 c-300 -573 -638 -1052 -1021 -1443 -63 -65 -113 -120 -110 -122 2 -2 347 -96 767 -208 536 -144 762 -200 762 -191 0 7 -11 55 -25 106\n-76 289 -135 658 -166 1047 -12 164 -13 753 0 845 5 33 9 47 10 30 2 -56 50 -223 90 -314 182 -424 547 -711 1000 -786 123 -21 364 -16 476 8 461 103 835\n434 979 867 115 346 99 745 -42 1025 -72 144 -133 214 -302 351 -216 172 -367 359 -514 636 -201 378 -351 874 -431 1431 -46 319 -59 516 -59 892 -1 355 8\n505 45 784 10 80 17 146 15 148 -2 2 -13 -24 -26 -58z"/>\n</g>\n</svg>';function Li(n){let i,o,r,s;return{c(){i=Ct("div"),o=Ct("button"),o.innerHTML="<span>Logout</span>",St(i,"class","GeneralLogout")},m(e,t){vt(e,i,t),bt(i,o),r||(s=Tt(o,"click",n[7]),r=!0)},p:yt,d(e){e&&wt(i),r=!1,s()}}}function Oi(n){let i,o,r,s,a,l,c,d,u,h,p,m=!n[1]&&function(){let n;return{c(){n=Ct("span"),n.textContent="Logout",St(n,"class","PlayerLogoutText")},m(e,t){vt(e,n,t)},d(e){e&&wt(n)}}}();return{c(){i=Ct("p"),o=Ct("span"),r=t("svg"),s=t("defs"),a=t("style"),l=Pt(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:#fff;}"),c=t("path"),d=t("path"),u=At(),m&&m.c(),St(c,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),St(c,"d","M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"),St(d,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),St(d,"d","M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"),St(r,"id","bbfaf345-72af-4296-bf4b-2fd41fc03d5d"),St(r,"data-name","Layer 1"),St(r,"xmlns","http://www.w3.org/2000/svg"),St(r,"viewBox","0 0 150 150"),v(o,"width",n[1]?n[2].matches?"50px":"24px":"20px"),St(i,"class","PlayerAccountMenuItemBox "+(n[1]?"PlayerAccountMenuItemBoxMobile":"")+" "+(n[2].matches&&n[1]?"PlayerAccountMenuItemBoxTablet":""))},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(s,a),bt(a,l),bt(r,c),bt(r,d),bt(i,u),m&&m.m(i,null),h||(p=Tt(i,"click",n[6]),h=!0)},p:yt,d(e){e&&wt(i),m&&m.d(),h=!1,p()}}}function Ni(e){let n;function i(e){return"PlayerAccountMenu"===e[0]?Oi:Li}let o=i(e),r=o(e);return{c(){r.c(),n=k(),this.c=yt},m(e,t){r.m(e,t),vt(e,n,t)},p(e,[t]){o===(o=i(e))&&r?r.p(e,t):(r.d(1),r=o(e),r&&(r.c(),r.m(n.parentNode,n)))},i:yt,o:yt,d(e){r.d(e),e&&wt(n)}}}function Bi(e,t,n){let{endpoint:i=""}=t,{session:o=""}=t,{buttonlocation:r=""}=t,s=!1,a=window.navigator.userAgent,l="PC"!==ki(a);const c=window.matchMedia("(min-width: 768px)"),d=()=>{let e=new Headers;e.append("Content-type","application/json"),e.append("X-SessionID",o),fetch(`${i}/player/session/player`,{method:"DELETE",headers:e}).then(e=>{window.postMessage({type:"LogoutSuccessfull"})})};return e.$$set=e=>{"endpoint"in e&&n(4,i=e.endpoint),"session"in e&&n(5,o=e.session),"buttonlocation"in e&&n(0,r=e.buttonlocation)},e.$$.update=()=>{49&e.$$.dirty&&i&&o&&r&&(i||(error="GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.",s=!0,console.error(error)),o||(error="GENERAL-LOGOUT - Session is missing! Please provide a valid session.",s=!0,console.error(error)))},[r,l,c,d,i,o,()=>d(),()=>d()]}function Ri(e,t,n){const i=e.slice();return i[20]=t[n],i}function Fi(e){let n,i;return{c(){n=Ct("img"),St(n,"class","PlayerAccountMenuItemIcon "+(e[7]?"PlayerAccountMenuItemIconMobile":"")),n.src!==(i=e[20].menu_item_icon)&&St(n,"src",i)},m(e,t){vt(e,n,t)},p(e,t){4&t&&n.src!==(i=e[20].menu_item_icon)&&St(n,"src",i)},d(e){e&&wt(n)}}}function $i(e){let n,i=e[20].menu_item_icon+"";return{c(){n=Ct("span"),v(n,"width",e[7]?e[8].matches?"80px":"30px":"20px"),v(n,"height",e[7]?e[8].matches?"80px":"40px":"20px")},m(e,t){vt(e,n,t),n.innerHTML=i},p(e,t){4&t&&i!==(i=e[20].menu_item_icon+"")&&(n.innerHTML=i)},d(e){e&&wt(n)}}}function zi(n){let i,o,r,s,a,l,c,d,u,h=n[20].title+"";function p(e){return e[4]?$i:Fi}let m=p(n),f=m(n);function g(){return n[11](n[20])}return{c(){i=Ct("div"),o=Ct("p"),f.c(),r=At(),s=Ct("span"),a=Pt(h),l=At(),St(s,"class","PlayerAccountMenuItemTitle"),St(o,"class","PlayerAccountMenuItemWrapper"),St(i,"class",c="PlayerAccountMenuItemBox "+(n[3]!==n[20].ID||n[7]?"":"PlayerAccountMenuActiveItemBox"))},m(e,t){vt(e,i,t),bt(i,o),f.m(o,null),bt(o,r),bt(o,s),bt(s,a),bt(i,l),d||(u=Tt(i,"click",g),d=!0)},p(e,t){m===(m=p(n=e))&&f?f.p(n,t):(f.d(1),f=m(n),f&&(f.c(),f.m(o,r))),4&t&&h!==(h=n[20].title+"")&&q(a,h),12&t&&c!==(c="PlayerAccountMenuItemBox "+(n[3]!==n[20].ID||n[7]?"":"PlayerAccountMenuActiveItemBox"))&&St(i,"class",c)},d(e){e&&wt(i),f.d(),d=!1,u()}}}function Wi(e){let n,i=function(t){let n,i,o,r,s,a,l,c,d,u,h,p,m=t[7]&&function(){let n;return{c(){n=Ct("h3"),n.textContent="My Account",St(n,"class","PlayerAccountMenuCategoryTitle")},m(e,t){vt(e,n,t)},d(e){e&&wt(n)}}}(),f=t[7]&&function(e){let n,i;return{c(){n=Ct("div"),i=Ct("general-logout"),V(i,"endpoint",e[1]),V(i,"session",e[0]),V(i,"buttonlocation","PlayerAccountMenu"),St(n,"class","PlayerAccountLogOutArea")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){2&t&&V(i,"endpoint",e[1]),1&t&&V(i,"session",e[0])},d(e){e&&wt(n)}}}(t),g=t[2],y=[];for(let e=0;e<g.length;e+=1)y[e]=zi(Ri(t,g,e));let _=!t[7]&&function(e){let n,i;return{c(){n=Ct("div"),i=Ct("general-logout"),V(i,"endpoint",e[1]),V(i,"session",e[0]),V(i,"buttonlocation","PlayerAccountMenu"),St(n,"class","PlayerAccountLogOutArea")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){2&t&&V(i,"endpoint",e[1]),1&t&&V(i,"session",e[0])},d(e){e&&wt(n)}}}(t);return{c(){n=Ct("div"),i=Ct("div"),m&&m.c(),o=At(),r=Ct("p"),s=Pt(t[5]),a=At(),l=Ct("p"),c=Pt(t[6]),d=At(),f&&f.c(),u=At(),h=Ct("div");for(let e=0;e<y.length;e+=1)y[e].c();p=At(),_&&_.c(),St(r,"class","PlayerAccountMenuUser"),St(l,"class","PlayerAccountMenuEmail"),St(i,"class","PlayerAccountMenuHeader"),St(h,"class","PlayerAccountMenuList"),St(n,"class","PlayerAccountMenuContainer "+(t[7]?"PlayerAccountMobileContainer":"")+" "+(t[8].matches&&t[7]?"PlayerAccountTabletContainer":""))},m(e,t){vt(e,n,t),bt(n,i),m&&m.m(i,null),bt(i,o),bt(i,r),bt(r,s),bt(i,a),bt(i,l),bt(l,c),bt(i,d),f&&f.m(i,null),bt(n,u),bt(n,h);for(let e=0;e<y.length;e+=1)y[e].m(h,null);bt(n,p),_&&_.m(n,null)},p(t,n){if(32&n&&q(s,t[5]),64&n&&q(c,t[6]),t[7]&&f.p(t,n),924&n){let e;for(g=t[2],e=0;e<g.length;e+=1){var i=Ri(t,g,e);y[e]?y[e].p(i,n):(y[e]=zi(i),y[e].c(),y[e].m(h,null))}for(;e<y.length;e+=1)y[e].d(1);y.length=g.length}t[7]||_.p(t,n)},d(e){e&&wt(n),m&&m.d(),f&&f.d(),xt(y,e),_&&_.d()}}}(e);return{c(){i.c(),n=k(),this.c=yt},m(e,t){i.m(e,t),vt(e,n,t)},p(e,[t]){i.p(e,t)},i:yt,o:yt,d(e){i.d(e),e&&wt(n)}}}function Yi(e,t,n){let{endpoint:i=""}=t,{session:o=""}=t,{playerid:r=""}=t,s=[],a=0,l=window.navigator.userAgent,c="PC"!==ki(l),d=[],u=!0,h="",p="";t=window.matchMedia("(min-width: 768px)");Z(()=>(window.addEventListener("message",m,!1),()=>{window.removeEventListener("message",m)}));const m=e=>{if(e.data)switch(e.data.type){case"AccountMenuDetails":n(2,s=e.data.accountMenuInfo),n(3,a=s[0].ID),f();break;case"UserSessionID":n(0,o=e.data.session)}},f=()=>{s.length?n(4,u=!1):(n(2,s=d),n(4,u=!0))},g=e=>{window.postMessage({type:"ChangeAccountPage",page:e},window.location.href),n(3,a=e.ID)};return e.$$set=e=>{"endpoint"in e&&n(1,i=e.endpoint),"session"in e&&n(0,o=e.session),"playerid"in e&&n(10,r=e.playerid)},e.$$.update=()=>{1027&e.$$.dirty&&i&&o&&r&&(d=[{ID:0,title:"Profile Info",menu_item_icon:Ii},{ID:1,title:"Account Security",menu_item_icon:Ii},{ID:2,title:"Deposit",menu_item_icon:Ii},{ID:3,title:"Withdrawal",menu_item_icon:Ii},{ID:4,title:"Active Bonuses",menu_item_icon:Ii},{ID:5,title:"Self-Exclusion",menu_item_icon:Ii},{ID:6,title:"Account Closure",menu_item_icon:Ii}],fetch(`${i}/player/${r}/profile`,{method:"GET",headers:{playerId:r,"X-SessionID":o}}).then(e=>e.json()).then(e=>{n(5,h=e.username),n(6,p=e.email)},e=>{console.error(e)}))},[o,i,s,a,u,h,p,c,t,g,r,e=>g(e)]}function Hi(e,t,n){const i=e.slice();return i[8]=t[n],i}function Ui(t){let o,r=t[0],s=[];for(let e=0;e<r.length;e+=1)s[e]=ji(Hi(t,r,e));return{c(){o=Ct("div");for(let e=0;e<s.length;e+=1)s[e].c();St(o,"class","PlayerAccountNotificationsContainer "+(t[1]&&t[2].matches?"PlayerAccountNotificationsTabletContainer":t[1]?"PlayerAccountNotificationsMobileContainer":""))},m(e,t){vt(e,o,t);for(let e=0;e<s.length;e+=1)s[e].m(o,null)},p(t,n){if(1&n){let e;for(r=t[0],e=0;e<r.length;e+=1){var i=Hi(t,r,e);s[e]?s[e].p(i,n):(s[e]=ji(i),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=r.length}},d(e){e&&wt(o),xt(s,e)}}}function ji(e){let n,i,o,r,s,a,l,c,d,u,h,p,m=e[8].title+"",f=e[8].description+"";return{c(){n=Ct("a"),i=Ct("div"),o=Ct("img"),a=At(),l=Ct("p"),c=Pt(m),d=At(),u=Ct("p"),h=At(),St(o,"class","PlayerAccountNotificationIcon"),o.src!==(r=e[8].icon.icon)&&St(o,"src",r),St(o,"alt",s=e[8].title),St(l,"class","PlayerAccountNotificationTitle"),St(i,"class","PlayerAccountNotificationBoxHeader"),St(u,"class","PlayerAccountNotificationText"),St(n,"class","PlayerAccountNotificationBox"),v(n,"background",e[8].backgroundColor),St(n,"href",p=e[8].icon.link)},m(e,t){vt(e,n,t),bt(n,i),bt(i,o),bt(i,a),bt(i,l),bt(l,c),bt(n,d),bt(n,u),u.innerHTML=f,bt(n,h)},p(e,t){1&t&&o.src!==(r=e[8].icon.icon)&&St(o,"src",r),1&t&&s!==(s=e[8].title)&&St(o,"alt",s),1&t&&m!==(m=e[8].title+"")&&q(c,m),1&t&&f!==(f=e[8].description+"")&&(u.innerHTML=f),1&t&&v(n,"background",e[8].backgroundColor),1&t&&p!==(p=e[8].icon.link)&&St(n,"href",p)},d(e){e&&wt(n)}}}function Gi(e){let n;function i(e){if(e[0].length)return Ui}let o=i(e),r=o&&o(e);return{c(){r&&r.c(),n=k(),this.c=yt},m(e,t){r&&r.m(e,t),vt(e,n,t)},p(e,[t]){o===(o=i(e))&&r?r.p(e,t):(r&&r.d(1),r=o&&o(e),r&&(r.c(),r.m(n.parentNode,n)))},i:yt,o:yt,d(e){r&&r.d(e),e&&wt(n)}}}function Vi(e,t,n){let{customnotif:i=""}=t,o=window.navigator.userAgent,r="PC"!==ki(o),s=[],a=[];const l=window.matchMedia("(min-width: 768px)"),c=e=>{e.data&&"NotificationsDetails"===e.data.type&&(n(0,s=e.data.notificationsInfo),s.forEach(e=>{a.length&&(e.backgroundColor=a[0],a.shift())}))};return Z(()=>(window.addEventListener("message",c,!1),()=>{window.removeEventListener("message",c)})),e.$$set=e=>{"customnotif"in e&&n(3,i=e.customnotif)},e.$$.update=()=>{8&e.$$.dirty&&i&&(i.replace(" ",""),a=i.split(","))},[s,r,l,i]}function qi(e,t,n){const i=e.slice();return i[67]=t[n],i}function Xi(e){let n,i,o,r=e[67].Prefix+"";return{c(){n=Ct("option"),i=Pt(r),n.__value=o=e[67].Prefix,n.value=n.__value},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){4096&t[0]&&r!==(r=e[67].Prefix+"")&&q(i,r),4096&t[0]&&o!==(o=e[67].Prefix)&&(n.__value=o,n.value=n.__value)},d(e){e&&wt(n)}}}function Zi(e){let n,i,o,r=e[67].Prefix+"";return{c(){n=Ct("option"),i=Pt(r),n.selected=!0,n.__value=o=e[67].Prefix,n.value=n.__value},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){4096&t[0]&&r!==(r=e[67].Prefix+"")&&q(i,r),4096&t[0]&&o!==(o=e[67].Prefix)&&(n.__value=o,n.value=n.__value)},d(e){e&&wt(n)}}}function Ji(e){let n;function i(e){return e[67].Prefix===e[14].mobiePrefix?Zi:Xi}let o=i(e),r=o(e);return{c(){r.c(),n=k()},m(e,t){r.m(e,t),vt(e,n,t)},p(e,t){o===(o=i(e))&&r?r.p(e,t):(r.d(1),r=o(e),r&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&wt(n)}}}function Ki(){let n;return{c(){n=Ct("section"),n.innerHTML='<p class="PlayerDetailsConfirmSaveText">Your changes have been saved!</p>',St(n,"class","PlayerDetailsConfirmSave")},m(e,t){vt(e,n,t)},d(e){e&&wt(n)}}}function Qi(e){let n,i=function(n){let o,i,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w,x,e,C,P,A,T,S,E,M,D,k,I,L,O,N,B,R,F,$,z,W,Y,H,U,j,G,V,q,X,Z,J,K,Q,ee,te,ne,ie,oe,re,se,ae,le,ce,de,ue,he,pe,me,fe,ge,ye,_e,be,ve,we,xe,Ce,Pe,Ae,Te,Se,Ee,Me,De,ke,Ie,Le,Oe,Ne,Be,Re,Fe,$e,ze,We,Ye,He,Ue,je,Ge,Ve,qe,Xe,Ze,Je,Ke,Qe,et,tt,nt,it,ot,rt,st,at,lt,ct,dt,ut,ht,pt=n[25]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="MyAccountCategoryTitleMobile">Profile Info</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[36]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(n),mt=n[12],ft=[];for(let e=0;e<mt.length;e+=1)ft[e]=Ji(qi(n,mt,e));let gt=n[13]&&Ki();return{c(){o=Ct("form"),pt&&pt.c(),i=At(),r=Ct("h2"),s=Pt("Profile Info"),a=At(),l=Ct("div"),l.innerHTML="<h3>Personal Details</h3>",c=At(),d=Ct("section"),u=Ct("div"),h=Ct("label"),h.textContent="User name:",p=At(),m=Ct("input"),f=At(),g=Ct("div"),y=Ct("label"),y.textContent="Phone:",_=At(),b=Ct("div"),v=Ct("select");for(let e=0;e<ft.length;e+=1)ft[e].c();w=At(),x=Ct("input"),C=At(),P=Ct("div"),A=Ct("label"),A.textContent="Email:",T=At(),S=Ct("input"),E=At(),M=Ct("div"),D=Ct("label"),D.textContent="Security Question:",k=At(),I=Ct("input"),O=At(),N=Ct("div"),B=Ct("label"),B.textContent="First name:",R=At(),F=Ct("input"),$=At(),z=Ct("div"),W=Ct("label"),W.textContent="Security Answer:",Y=At(),H=Ct("input"),j=At(),G=Ct("div"),V=Ct("label"),V.textContent="Last Name:",q=At(),X=Ct("input"),Z=At(),J=Ct("div"),K=Ct("label"),K.textContent="Date of birth:",Q=At(),ee=Ct("input"),te=At(),ne=Ct("div"),ie=Ct("label"),ie.textContent="Currency:",oe=At(),re=Ct("input"),se=At(),ae=Ct("div"),le=Ct("label"),le.textContent="Title:",ce=At(),de=Ct("input"),ue=At(),he=Ct("div"),he.innerHTML="<h3>Location Details</h3>",pe=At(),me=Ct("section"),fe=Ct("div"),ge=Ct("label"),ge.textContent="Country:",ye=At(),_e=Ct("input"),ve=At(),we=Ct("div"),xe=Ct("label"),xe.textContent="City:",Ce=At(),Pe=Ct("input"),Se=At(),Ee=Ct("div"),Me=Ct("label"),Me.textContent="Address:",De=At(),ke=Ct("input"),Le=At(),Oe=Ct("div"),Ne=Ct("label"),Ne.textContent="Postal Code:",Be=At(),Re=Ct("input"),ze=At(),We=Ct("div"),We.innerHTML="<h3>Notifications</h3>",Ye=At(),He=Ct("section"),Ue=Ct("div"),je=Ct("label"),Ge=Ct("input"),Ve=At(),qe=Ct("span"),Xe=At(),Ze=Ct("span"),Ze.textContent="Enable SMS notifications",Je=At(),Ke=Ct("div"),Qe=Ct("label"),et=Ct("input"),tt=At(),nt=Ct("span"),it=At(),ot=Ct("span"),ot.textContent="Enable Emails",rt=At(),st=Ct("section"),at=Ct("div"),lt=Pt("Save Changes"),dt=At(),gt&>.c(),St(r,"class","MyAccountCategoryTitle "+(n[25]?"MyAccountCategoryTitleNone":"")),St(l,"class","PlayerNotificationsHeader"),St(m,"type","text"),St(m,"class","FieldDisabled"),m.value=n[23],m.readOnly=!0,St(u,"class","PlayerInfoBox"),void 0===n[8]&&Dt(()=>n[37].call(v)),St(x,"type","text"),St(x,"oninput","this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"),St(x,"placeholder",e=n[0]?n[18].number:""),St(b,"class","PlayerPhoneNumber"),St(g,"class","PlayerInfoBox"),St(S,"type","email"),St(S,"class","FieldDisabled"),S.value=n[19],S.readOnly=!0,St(P,"class","PlayerInfoBox"),St(I,"type","text"),St(I,"placeholder",L=n[0]?n[31]:""),St(M,"class","PlayerInfoBox"),St(F,"type","text"),St(F,"class","FieldDisabled"),F.value=n[20],F.readOnly=!0,St(N,"class","PlayerInfoBox"),St(H,"type","text"),St(H,"placeholder",U=n[0]?n[30]:""),St(z,"class","PlayerInfoBox"),St(X,"type","text"),St(X,"class","FieldDisabled"),X.value=n[22],X.readOnly=!0,St(G,"class","PlayerInfoBox"),St(ee,"type","text"),St(ee,"class","FieldDisabled"),ee.value=n[15],ee.readOnly=!0,St(J,"class","PlayerInfoBox"),St(re,"type","text"),St(re,"class","FieldDisabled"),re.value=n[17],re.readOnly=!0,St(ne,"class","PlayerInfoBox"),St(de,"type","text"),St(de,"class","FieldDisabled"),de.value=n[21],de.readOnly=!0,St(ae,"class","PlayerInfoBox"),St(d,"class","PlayerDetailsContent"),St(he,"class","PlayerLocationHeader"),St(_e,"type","text"),St(_e,"class","PlayerCountry FieldDisabled"),St(_e,"placeholder",n[16]),_e.value=be=n[11].Name,_e.readOnly=!0,St(fe,"class","PlayerInfoBox"),St(Pe,"type","text"),St(Pe,"placeholder",Ae=n[0]?n[28]:""),Pe.value=Te=n[0]?"":n[14].city,St(we,"class","PlayerInfoBox"),St(ke,"placeholder",n[27]),St(ke,"type","text"),ke.value=Ie=n[0]?"":n[14].address,St(Ee,"class","PlayerInfoBox"),St(Re,"type","number"),St(Re,"placeholder",Fe=n[0]?n[29]:""),Re.value=$e=n[0]?"":n[14].postalCode,St(Oe,"class","PlayerInfoBox"),St(me,"class","PlayerLocationContent"),St(We,"class","PlayerNotificationsHeader"),St(Ge,"type","checkbox"),St(Ge,"id","SMSNotification"),St(Ge,"name","Enable SMS notifications"),St(qe,"class","Checkmark"),St(je,"for","SMSNotification"),St(Ue,"class","PlayerNotificationBox"),St(et,"type","checkbox"),St(et,"id","EmailNotification"),St(et,"name","Enable Emails"),St(nt,"class","Checkmark"),St(Qe,"for","EmailNotification"),St(Ke,"class","PlayerNotificationBox"),St(He,"class","PlayerNotificationsCheckboxArea"),St(at,"class",ct="PlayerDetailsSaveButton "+(n[10]&&n[24]?"":"PlayerButtonDisabled")),St(st,"class","PlayerDetailsButtonsArea "+(n[25]?"PlayerDetailsButtonsAreaMobile":"")),St(o,"class","PlayerInfoWrapper "+(n[25]?"PlayerInfoWrapperMobile":"")+" "+(n[26].matches&&n[25]?"PlayerInfoWrapperTablet":""))},m(e,t){vt(e,o,t),pt&&pt.m(o,null),bt(o,i),bt(o,r),bt(r,s),bt(o,a),bt(o,l),bt(o,c),bt(o,d),bt(d,u),bt(u,h),bt(u,p),bt(u,m),bt(d,f),bt(d,g),bt(g,y),bt(g,_),bt(g,b),bt(b,v);for(let e=0;e<ft.length;e+=1)ft[e].m(v,null);Mt(v,n[8]),bt(b,w),bt(b,x),Et(x,n[9]),bt(d,C),bt(d,P),bt(P,A),bt(P,T),bt(P,S),bt(d,E),bt(d,M),bt(M,D),bt(M,k),bt(M,I),Et(I,n[6]),bt(d,O),bt(d,N),bt(N,B),bt(N,R),bt(N,F),bt(d,$),bt(d,z),bt(z,W),bt(z,Y),bt(z,H),Et(H,n[7]),bt(d,j),bt(d,G),bt(G,V),bt(G,q),bt(G,X),bt(d,Z),bt(d,J),bt(J,K),bt(J,Q),bt(J,ee),bt(d,te),bt(d,ne),bt(ne,ie),bt(ne,oe),bt(ne,re),bt(d,se),bt(d,ae),bt(ae,le),bt(ae,ce),bt(ae,de),bt(o,ue),bt(o,he),bt(o,pe),bt(o,me),bt(me,fe),bt(fe,ge),bt(fe,ye),bt(fe,_e),bt(me,ve),bt(me,we),bt(we,xe),bt(we,Ce),bt(we,Pe),n[45](Pe),bt(me,Se),bt(me,Ee),bt(Ee,Me),bt(Ee,De),bt(Ee,ke),n[47](ke),bt(me,Le),bt(me,Oe),bt(Oe,Ne),bt(Oe,Be),bt(Oe,Re),n[49](Re),bt(o,ze),bt(o,We),bt(o,Ye),bt(o,He),bt(He,Ue),bt(Ue,je),bt(je,Ge),Ge.checked=n[4],bt(je,Ve),bt(je,qe),bt(je,Xe),bt(je,Ze),bt(He,Je),bt(He,Ke),bt(Ke,Qe),bt(Qe,et),et.checked=n[5],bt(Qe,tt),bt(Qe,nt),bt(Qe,it),bt(Qe,ot),bt(o,rt),bt(o,st),bt(st,at),bt(at,lt),bt(o,dt),gt&>.m(o,null),ut||(ht=[Tt(v,"change",n[37]),Tt(v,"change",n[38]),Tt(x,"input",n[39]),Tt(x,"keyup",n[40]),Tt(I,"input",n[41]),Tt(I,"keyup",n[42]),Tt(H,"input",n[43]),Tt(H,"keyup",n[44]),Tt(Pe,"keyup",n[46]),Tt(ke,"keyup",n[48]),Tt(Re,"keyup",n[50]),Tt(Ge,"change",n[51]),Tt(Ge,"change",n[34]),Tt(et,"change",n[52]),Tt(et,"change",n[34]),Tt(at,"click",n[53])],ut=!0)},p(t,n){if(t[25]&&pt.p(t,n),8388608&n[0]&&m.value!==t[23]&&(m.value=t[23]),20480&n[0]){let e;for(mt=t[12],e=0;e<mt.length;e+=1){var i=qi(t,mt,e);ft[e]?ft[e].p(i,n):(ft[e]=Ji(i),ft[e].c(),ft[e].m(v,null))}for(;e<ft.length;e+=1)ft[e].d(1);ft.length=mt.length}4352&n[0]&&Mt(v,t[8]),262145&n[0]&&e!==(e=t[0]?t[18].number:"")&&St(x,"placeholder",e),512&n[0]&&x.value!==t[9]&&Et(x,t[9]),524288&n[0]&&S.value!==t[19]&&(S.value=t[19]),1&n[0]&&L!==(L=t[0]?t[31]:"")&&St(I,"placeholder",L),64&n[0]&&I.value!==t[6]&&Et(I,t[6]),1048576&n[0]&&F.value!==t[20]&&(F.value=t[20]),1&n[0]&&U!==(U=t[0]?t[30]:"")&&St(H,"placeholder",U),128&n[0]&&H.value!==t[7]&&Et(H,t[7]),4194304&n[0]&&X.value!==t[22]&&(X.value=t[22]),32768&n[0]&&ee.value!==t[15]&&(ee.value=t[15]),131072&n[0]&&re.value!==t[17]&&(re.value=t[17]),2097152&n[0]&&de.value!==t[21]&&(de.value=t[21]),65536&n[0]&&St(_e,"placeholder",t[16]),2048&n[0]&&be!==(be=t[11].Name)&&_e.value!==be&&(_e.value=be),1&n[0]&&Ae!==(Ae=t[0]?t[28]:"")&&St(Pe,"placeholder",Ae),16385&n[0]&&Te!==(Te=t[0]?"":t[14].city)&&Pe.value!==Te&&(Pe.value=Te),16385&n[0]&&Ie!==(Ie=t[0]?"":t[14].address)&&ke.value!==Ie&&(ke.value=Ie),1&n[0]&&Fe!==(Fe=t[0]?t[29]:"")&&St(Re,"placeholder",Fe),16385&n[0]&&$e!==($e=t[0]?"":t[14].postalCode)&&(Re.value=$e),16&n[0]&&(Ge.checked=t[4]),32&n[0]&&(et.checked=t[5]),16778240&n[0]&&ct!==(ct="PlayerDetailsSaveButton "+(t[10]&&t[24]?"":"PlayerButtonDisabled"))&&St(at,"class",ct),t[13]?gt||(gt=Ki(),gt.c(),gt.m(o,null)):gt&&(gt.d(1),gt=null)},d(e){e&&wt(o),pt&&pt.d(),xt(ft,e),n[45](null),n[47](null),n[49](null),gt&>.d(),ut=!1,_t(ht)}}}(e);return{c(){i.c(),n=k(),this.c=yt},m(e,t){i.m(e,t),vt(e,n,t)},p(e,t){i.p(e,t)},i:yt,o:yt,d(e){i.d(e),e&&wt(n)}}}function eo(e,t,n){let i,o,r,{endpoint:s=""}=t,a=window.navigator.userAgent,l="PC"!==ki(a),c=!0,d=!1,u=!1,h="",p="",m="",f="",g=!1,y={},_=[],b=[],v=!1;t=window.matchMedia("(min-width: 768px)");let w={address1:"",address2:"",city:"",consents:{acceptNewsEmail:!1,acceptSMSOffers:!1},country:"",mobile:{prefix:"",number:""},postalCode:"",securityAnswer:"",securityQuestion:""},x={acceptNewsEmail:!1,acceptSMSOffers:!1,address:"",city:"",mobileNumber:"",mobilePrefix:"",postalCode:"",securityAnswer:"",securityQuestion:""},C={address1:"i.e.: Glanmire Rd.",birth:"01/01/1990",city:"i.e.: Cork",consents:{acceptNewsEmail:!1,acceptSMSOffers:!1},country:"i.e.: Ireland",currency:"EUR",email:"email@here.com",firstname:"Joe",gender:"M",lastname:"Johnson",mobile:{prefix:"+00",number:"00000000"},postalCode:"i.e.: 465531",securityAnswer:"i.e.: Jerry",securityQuestion:"i.e.: Pet name?",title:"",username:"Username"},{address1:P,birth:A,city:T,country:S,currency:E,mobile:M,email:D,firstname:k,gender:I,language:L,lastname:O,postalCode:N,securityAnswer:B,securityQuestion:R,username:F}=C;const $=e=>{if(e.data)switch(e.data.type){case"ProfileDetailsData":n(0,c=!1),C=e.data.profileDetails,n(23,F=C.username),n(18,M=C.mobile),n(19,D=C.email),n(20,k=C.firstname),n(22,O=C.lastname),L=C.language,n(15,A=C.birth.day+"/"+C.birth.month+"/"+C.birth.year),n(17,E=C.currency),n(21,I=C.gender),n(16,S=C.country),n(11,y=b.find(e=>e.Alpha2Code===C.country)),n(4,d=C.consents.acceptSMSOffers),n(5,u=C.consents.acceptNewsEmail),n(6,h=C.securityQuestion),n(7,p=C.securityAnswer),n(8,m=C.mobile.prefix),n(9,f=C.mobile.number),n(14,x={address:C.address1,city:C.city,acceptNewsEmail:C.consents.acceptNewsEmail,acceptSMSOffers:C.consents.acceptSMSOffers,mobilePrefix:M.prefix,mobileNumber:M.number,postalCode:C.postalCode,securityAnswer:C.securityAnswer,securityQuestion:C.securityQuestion});break;case"ConfirmProfileInfoSave":n(10,g=!1),z()}},z=()=>{n(13,v=!0),setTimeout(()=>{n(13,v=!1)},3e3)};let W=!1;const Y=()=>{1==g&&1==W&&window.postMessage({type:"UpdatePlayerInfo",provisionalArray:w},window.location.href)},H=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},U=()=>{w={acceptNewsEmail:u,acceptSMSOffers:d,address:o.value,city:r.value,mobileNumber:f,mobilePrefix:m,postalCode:i.value,securityAnswer:p,securityQuestion:h},j(w,x),h.length<=0||p.length<=0||!r.value||!o.value||!i.value||f.length<=0?n(24,W=!1):n(24,W=!0)},j=(e,t)=>{JSON.stringify(e)===JSON.stringify(t)?n(10,g=!1):n(10,g=!0)};return Z(()=>(window.addEventListener("message",$,!1),()=>{window.removeEventListener("message",$)})),e.$$set=e=>{"endpoint"in e&&n(35,s=e.endpoint)},e.$$.update=()=>{16&e.$$.dirty[1]&&s&&fetch(`${s}/player/countries`).then(e=>e.json()).then(e=>{b=e.countries}),16&e.$$.dirty[1]&&s&&fetch(`${s}/player/phonecodes`).then(e=>e.json()).then(e=>{n(12,_=e.phoneCodes)})},[c,i,o,r,d,u,h,p,m,f,g,y,_,v,x,A,S,E,M,D,k,I,O,F,W,l,t,P,T,N,B,R,Y,H,U,s,()=>H(),function(){m=X(this),n(8,m),n(12,_)},()=>U(),function(){f=this.value,n(9,f)},()=>U(),function(){h=this.value,n(6,h)},()=>U(),function(){p=this.value,n(7,p)},()=>U(),function(e){J[e?"unshift":"push"](()=>{r=e,n(3,r)})},()=>U(),function(e){J[e?"unshift":"push"](()=>{o=e,n(2,o)})},()=>U(),function(e){J[e?"unshift":"push"](()=>{i=e,n(1,i)})},()=>U(),function(){d=this.checked,n(4,d)},function(){u=this.checked,n(5,u)},()=>Y()]}function to(n){let i,o,r,s,a,l,c,d,u,h=n[17]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 240.823 240.823" style="enable-background:new 0 0 240.823 240.823;" xml:space="preserve" width="18px" fill="#58586B"><g><path id="Chevron_Right" d="M57.633,129.007L165.93,237.268c4.752,4.74,12.451,4.74,17.215,0c4.752-4.74,4.752-12.439,0-17.179\n l-99.707-99.671l99.695-99.671c4.752-4.74,4.752-12.439,0-17.191c-4.752-4.74-12.463-4.74-17.215,0L57.621,111.816\n C52.942,116.507,52.942,124.327,57.633,129.007z"></path></g></svg> \n <span>Return to menu</span>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[38]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(n);return{c(){h&&h.c(),i=At(),o=Ct("div"),o.innerHTML="<h3>Change Password</h3>",r=At(),s=Ct("div"),a=Ct("div"),a.innerHTML='<div class="IconContainer"><div class="Checkmark"></div></div> \n <div class="TextContainer"><h3>PASSWORD RESET</h3> \n <p>Your password has been reset successfully.</p></div>',l=At(),c=Ct("div"),c.textContent="Back to Casino",St(o,"class","PlayerChangePasswordHeader"),St(a,"class","SuccessWrapper"),St(c,"class","PlayerChangePasswordBackButton"),St(s,"class","ChangedPasswordSuccessfully")},m(e,t){h&&h.m(e,t),vt(e,i,t),vt(e,o,t),vt(e,r,t),vt(e,s,t),bt(s,a),bt(s,l),bt(s,c),d||(u=Tt(c,"click",n[39]),d=!0)},p(e,t){e[17]&&h.p(e,t)},d(e){h&&h.d(e),e&&wt(i),e&&wt(o),e&&wt(r),e&&wt(s),d=!1,u()}}}function no(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w,x,C,P,A,T,S,E,M,D,k,I,L,O,N,B,R,F,$,z=n[17]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="ChangePasswordTitleMobile">Change Password</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[24]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(n);function W(e){return e[8]?oo:io}let Y=W(n),H=Y(n),U=n[2]&&ro();function j(e){return e[9]?ao:so}let G=j(n),V=G(n);function q(e){return e[11]?co:e[3]?lo:void 0}let X=q(n),Z=X&&X(n);function J(e){return e[10]?ho:uo}let K=J(n),Q=K(n),ee=n[4]&&po(),te=n[16]&&mo(n);return{c(){z&&z.c(),i=At(),o=Ct("h2"),r=Pt("Change Password"),s=At(),a=Ct("section"),l=Ct("div"),c=Ct("label"),c.textContent="Current Password:",d=At(),u=Ct("input"),h=At(),H.c(),p=At(),U&&U.c(),f=At(),g=Ct("div"),y=Ct("label"),y.textContent="New Password:",_=At(),b=Ct("input"),v=At(),V.c(),w=At(),Z&&Z.c(),C=At(),P=Ct("div"),A=Ct("label"),A.textContent="Confirm Password:",T=At(),S=Ct("input"),E=At(),Q.c(),M=At(),ee&&ee.c(),k=At(),te&&te.c(),I=At(),L=Ct("section"),O=Ct("div"),N=Pt("Change Password"),St(o,"class","ChangePasswordTitle "+(n[17]?"ChangePasswordTitleNone":"")),St(c,"for","CurrentPassword"),St(u,"id","CurrentPassword"),St(u,"type","password"),St(l,"class",m="PlayerChangePasswordBox "+(n[2]?"InvalidField":"")),St(y,"for","NewPassword"),St(b,"id","NewPassword"),St(b,"type","password"),St(g,"class",x="PlayerChangePasswordBox "+(n[3]?"InvalidField":"")),St(A,"for","ConfirmPassword"),St(S,"id","ConfirmPassword"),St(S,"type","password"),St(P,"class",D="PlayerChangePasswordBox "+(n[4]?"InvalidField":"")),St(a,"class","PlayerChangePasswordContent"),St(O,"class",B="PlayerChangePasswordSaveButton "+(n[1]?"":"ButtonInactive")),St(O,"disabled",R=!n[1]),St(L,"class","PlayerChangePasswordButtonsArea")},m(e,t){z&&z.m(e,t),vt(e,i,t),vt(e,o,t),bt(o,r),vt(e,s,t),vt(e,a,t),bt(a,l),bt(l,c),bt(l,d),bt(l,u),Et(u,n[12]),n[26](u),bt(l,h),H.m(l,null),bt(l,p),U&&U.m(l,null),bt(a,f),bt(a,g),bt(g,y),bt(g,_),bt(g,b),Et(b,n[13]),n[30](b),bt(g,v),V.m(g,null),bt(g,w),Z&&Z.m(g,null),bt(a,C),bt(a,P),bt(P,A),bt(P,T),bt(P,S),Et(S,n[14]),n[34](S),bt(P,E),Q.m(P,null),bt(P,M),ee&&ee.m(P,null),vt(e,k,t),te&&te.m(e,t),vt(e,I,t),vt(e,L,t),bt(L,O),bt(O,N),F||($=[Tt(u,"input",n[25]),Tt(u,"blur",function(){ne(n[20](n[2],n[12],n[5]))&&n[20](n[2],n[12],n[5]).apply(this,arguments)}),Tt(b,"input",n[29]),Tt(b,"blur",function(){ne(n[20](n[3],n[13],n[6]))&&n[20](n[3],n[13],n[6]).apply(this,arguments)}),Tt(S,"input",n[33]),Tt(S,"blur",function(){ne(n[20](n[4],n[14],n[7]))&&n[20](n[4],n[14],n[7]).apply(this,arguments)}),Tt(O,"click",n[37])],F=!0)},p(e,t){(n=e)[17]&&z.p(n,t),4096&t[0]&&u.value!==n[12]&&Et(u,n[12]),Y===(Y=W(n))&&H?H.p(n,t):(H.d(1),H=Y(n),H&&(H.c(),H.m(l,p))),n[2]?U||(U=ro(),U.c(),U.m(l,null)):U&&(U.d(1),U=null),4&t[0]&&m!==(m="PlayerChangePasswordBox "+(n[2]?"InvalidField":""))&&St(l,"class",m),8192&t[0]&&b.value!==n[13]&&Et(b,n[13]),G===(G=j(n))&&V?V.p(n,t):(V.d(1),V=G(n),V&&(V.c(),V.m(g,w))),X!==(X=q(n))&&(Z&&Z.d(1),Z=X&&X(n),Z&&(Z.c(),Z.m(g,null))),8&t[0]&&x!==(x="PlayerChangePasswordBox "+(n[3]?"InvalidField":""))&&St(g,"class",x),16384&t[0]&&S.value!==n[14]&&Et(S,n[14]),K===(K=J(n))&&Q?Q.p(n,t):(Q.d(1),Q=K(n),Q&&(Q.c(),Q.m(P,M))),n[4]?ee||(ee=po(),ee.c(),ee.m(P,null)):ee&&(ee.d(1),ee=null),16&t[0]&&D!==(D="PlayerChangePasswordBox "+(n[4]?"InvalidField":""))&&St(P,"class",D),n[16]?te?te.p(n,t):(te=mo(n),te.c(),te.m(I.parentNode,I)):te&&(te.d(1),te=null),2&t[0]&&B!==(B="PlayerChangePasswordSaveButton "+(n[1]?"":"ButtonInactive"))&&St(O,"class",B),2&t[0]&&R!==(R=!n[1])&&St(O,"disabled",R)},d(e){z&&z.d(e),e&&wt(i),e&&wt(o),e&&wt(s),e&&wt(a),n[26](null),H.d(),U&&U.d(),n[30](null),V.d(),Z&&Z.d(),n[34](null),Q.d(),ee&&ee.d(),e&&wt(k),te&&te.d(e),e&&wt(I),e&&wt(L),F=!1,_t($)}}}function io(n){let i,o,r,s,a,l,c,d,u,h;return{c(){i=t("svg"),o=t("defs"),r=t("style"),s=Pt(".a{fill:#fff;}"),a=t("g"),l=t("path"),c=t("circle"),St(l,"class","a"),St(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),St(l,"transform","translate(0)"),St(c,"class","a"),St(c,"cx","2.779"),St(c,"cy","2.779"),St(c,"r","2.779"),St(c,"transform","translate(20.827 30.303)"),St(a,"transform","translate(-14.185 -27.832)"),St(i,"class",d="TogglePasswordVisibility "+(n[2]?"InvalidToggle":"")+" "+(n[17]?"TogglePasswordVisibilityMobile":"")),St(i,"xmlns","http://www.w3.org/2000/svg"),St(i,"width","18.843"),St(i,"height","10.5"),St(i,"viewBox","0 0 18.843 10.5")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(i,a),bt(a,l),bt(a,c),u||(h=Tt(i,"click",n[28]),u=!0)},p(e,t){4&t[0]&&d!==(d="TogglePasswordVisibility "+(e[2]?"InvalidToggle":"")+" "+(e[17]?"TogglePasswordVisibilityMobile":""))&&St(i,"class",d)},d(e){e&&wt(i),u=!1,h()}}}function oo(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_;return{c(){i=t("svg"),o=t("defs"),r=t("style"),s=Pt(".a{fill:#fff;}"),a=t("g"),l=t("circle"),c=t("g"),d=t("path"),u=t("path"),h=t("g"),p=t("path"),m=t("path"),f=t("rect"),St(l,"class","a"),St(l,"cx","0.05"),St(l,"cy","0.05"),St(l,"r","0.05"),St(l,"transform","translate(121.017 31.148)"),St(d,"class","a"),St(d,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),St(d,"transform","translate(-142.164 -39.123)"),St(u,"class","a"),St(u,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),St(u,"transform","translate(-136.413 -42.068)"),St(c,"transform","translate(117.499 27.37)"),St(p,"class","a"),St(p,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),St(p,"transform","translate(-110.856 -33.157)"),St(m,"class","a"),St(m,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),St(m,"transform","translate(-130.743 -29.617)"),St(h,"transform","translate(110.856 24.899)"),St(f,"class","a"),St(f,"width","0.972"),St(f,"height","15.861"),St(f,"rx","0.486"),St(f,"transform","translate(114.827 23.858) rotate(-39.315)"),St(a,"transform","translate(-110.856 -23.242)"),St(i,"class",g="TogglePasswordVisibility "+(n[2]?"InvalidToggle":"")+" "+(n[17]?"TogglePasswordVisibilityMobile":"")),St(i,"xmlns","http://www.w3.org/2000/svg"),St(i,"width","18.844"),St(i,"height","12.887"),St(i,"viewBox","0 0 18.844 12.887")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(i,a),bt(a,l),bt(a,c),bt(c,d),bt(c,u),bt(a,h),bt(h,p),bt(h,m),bt(a,f),y||(_=Tt(i,"click",n[27]),y=!0)},p(e,t){4&t[0]&&g!==(g="TogglePasswordVisibility "+(e[2]?"InvalidToggle":"")+" "+(e[17]?"TogglePasswordVisibilityMobile":""))&&St(i,"class",g)},d(e){e&&wt(i),y=!1,_()}}}function ro(){let n;return{c(){n=Ct("p"),n.textContent="The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",St(n,"class","InvalidInput")},m(e,t){vt(e,n,t)},d(e){e&&wt(n)}}}function so(n){let i,o,r,s,a,l,c,d,u,h;return{c(){i=t("svg"),o=t("defs"),r=t("style"),s=Pt(".a{fill:#fff;}"),a=t("g"),l=t("path"),c=t("circle"),St(l,"class","a"),St(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),St(l,"transform","translate(0)"),St(c,"class","a"),St(c,"cx","2.779"),St(c,"cy","2.779"),St(c,"r","2.779"),St(c,"transform","translate(20.827 30.303)"),St(a,"transform","translate(-14.185 -27.832)"),St(i,"class",d="TogglePasswordVisibility "+(n[3]?"InvalidToggle":"")+" "+(n[17]?"TogglePasswordVisibilityMobile":"")),St(i,"xmlns","http://www.w3.org/2000/svg"),St(i,"width","18.843"),St(i,"height","10.5"),St(i,"viewBox","0 0 18.843 10.5")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(i,a),bt(a,l),bt(a,c),u||(h=Tt(i,"click",n[32]),u=!0)},p(e,t){8&t[0]&&d!==(d="TogglePasswordVisibility "+(e[3]?"InvalidToggle":"")+" "+(e[17]?"TogglePasswordVisibilityMobile":""))&&St(i,"class",d)},d(e){e&&wt(i),u=!1,h()}}}function ao(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_;return{c(){i=t("svg"),o=t("defs"),r=t("style"),s=Pt(".a{fill:#fff;}"),a=t("g"),l=t("circle"),c=t("g"),d=t("path"),u=t("path"),h=t("g"),p=t("path"),m=t("path"),f=t("rect"),St(l,"class","a"),St(l,"cx","0.05"),St(l,"cy","0.05"),St(l,"r","0.05"),St(l,"transform","translate(121.017 31.148)"),St(d,"class","a"),St(d,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),St(d,"transform","translate(-142.164 -39.123)"),St(u,"class","a"),St(u,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),St(u,"transform","translate(-136.413 -42.068)"),St(c,"transform","translate(117.499 27.37)"),St(p,"class","a"),St(p,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),St(p,"transform","translate(-110.856 -33.157)"),St(m,"class","a"),St(m,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),St(m,"transform","translate(-130.743 -29.617)"),St(h,"transform","translate(110.856 24.899)"),St(f,"class","a"),St(f,"width","0.972"),St(f,"height","15.861"),St(f,"rx","0.486"),St(f,"transform","translate(114.827 23.858) rotate(-39.315)"),St(a,"transform","translate(-110.856 -23.242)"),St(i,"class",g="TogglePasswordVisibility "+(n[3]?"InvalidToggle":"")+" "+(n[17]?"TogglePasswordVisibilityMobile":"")),St(i,"xmlns","http://www.w3.org/2000/svg"),St(i,"width","18.844"),St(i,"height","12.887"),St(i,"viewBox","0 0 18.844 12.887")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(i,a),bt(a,l),bt(a,c),bt(c,d),bt(c,u),bt(a,h),bt(h,p),bt(h,m),bt(a,f),y||(_=Tt(i,"click",n[31]),y=!0)},p(e,t){8&t[0]&&g!==(g="TogglePasswordVisibility "+(e[3]?"InvalidToggle":"")+" "+(e[17]?"TogglePasswordVisibilityMobile":""))&&St(i,"class",g)},d(e){e&&wt(i),y=!1,_()}}}function lo(e){let n;return{c(){n=Ct("p"),n.textContent="The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",St(n,"class","InvalidInput")},m(e,t){vt(e,n,t)},d(e){e&&wt(n)}}}function co(e){let n;return{c(){n=Ct("p"),n.textContent="The new password must be different from the old password.",St(n,"class","InvalidInputNew")},m(e,t){vt(e,n,t)},d(e){e&&wt(n)}}}function uo(n){let i,o,r,s,a,l,c,d,u,h;return{c(){i=t("svg"),o=t("defs"),r=t("style"),s=Pt(".a{fill:#fff;}"),a=t("g"),l=t("path"),c=t("circle"),St(l,"class","a"),St(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),St(l,"transform","translate(0)"),St(c,"class","a"),St(c,"cx","2.779"),St(c,"cy","2.779"),St(c,"r","2.779"),St(c,"transform","translate(20.827 30.303)"),St(a,"transform","translate(-14.185 -27.832)"),St(i,"class",d="TogglePasswordVisibility "+(n[4]?"InvalidToggle":"")+" "+(n[17]?"TogglePasswordVisibilityMobile":"")),St(i,"xmlns","http://www.w3.org/2000/svg"),St(i,"width","18.843"),St(i,"height","10.5"),St(i,"viewBox","0 0 18.843 10.5")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(i,a),bt(a,l),bt(a,c),u||(h=Tt(i,"click",n[36]),u=!0)},p(e,t){16&t[0]&&d!==(d="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[17]?"TogglePasswordVisibilityMobile":""))&&St(i,"class",d)},d(e){e&&wt(i),u=!1,h()}}}function ho(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_;return{c(){i=t("svg"),o=t("defs"),r=t("style"),s=Pt(".a{fill:#fff;}"),a=t("g"),l=t("circle"),c=t("g"),d=t("path"),u=t("path"),h=t("g"),p=t("path"),m=t("path"),f=t("rect"),St(l,"class","a"),St(l,"cx","0.05"),St(l,"cy","0.05"),St(l,"r","0.05"),St(l,"transform","translate(121.017 31.148)"),St(d,"class","a"),St(d,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),St(d,"transform","translate(-142.164 -39.123)"),St(u,"class","a"),St(u,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),St(u,"transform","translate(-136.413 -42.068)"),St(c,"transform","translate(117.499 27.37)"),St(p,"class","a"),St(p,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),St(p,"transform","translate(-110.856 -33.157)"),St(m,"class","a"),St(m,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),St(m,"transform","translate(-130.743 -29.617)"),St(h,"transform","translate(110.856 24.899)"),St(f,"class","a"),St(f,"width","0.972"),St(f,"height","15.861"),St(f,"rx","0.486"),St(f,"transform","translate(114.827 23.858) rotate(-39.315)"),St(a,"transform","translate(-110.856 -23.242)"),St(i,"class",g="TogglePasswordVisibility "+(n[4]?"InvalidToggle":"")+" "+(n[17]?"TogglePasswordVisibilityMobile":"")),St(i,"xmlns","http://www.w3.org/2000/svg"),St(i,"width","18.844"),St(i,"height","12.887"),St(i,"viewBox","0 0 18.844 12.887")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(i,a),bt(a,l),bt(a,c),bt(c,d),bt(c,u),bt(a,h),bt(h,p),bt(h,m),bt(a,f),y||(_=Tt(i,"click",n[35]),y=!0)},p(e,t){16&t[0]&&g!==(g="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[17]?"TogglePasswordVisibilityMobile":""))&&St(i,"class",g)},d(e){e&&wt(i),y=!1,_()}}}function po(){let n;return{c(){n=Ct("p"),n.textContent="Password must match the new password and must follow the same rules.",St(n,"class","InvalidInput")},m(e,t){vt(e,n,t)},d(e){e&&wt(n)}}}function mo(e){let n,i,o;return{c(){n=Ct("div"),i=Ct("p"),o=Pt(e[15]),St(i,"class","PasswordChangedError")},m(e,t){vt(e,n,t),bt(n,i),bt(i,o)},p(e,t){32768&t[0]&&q(o,e[15])},d(e){e&&wt(n)}}}function fo(e){let n,i=function(e){let n;function i(e){return e[0]?to:no}let o=i(e),r=o(e);return{c(){n=Ct("form"),r.c(),St(n,"class","PlayerChangePasswordWrapper "+(e[17]?"PlayerChangePasswordWrapperMobile":"")+" "+(e[18].matches&&e[17]?"PlayerChangePasswordWrapperTablet":""))},m(e,t){vt(e,n,t),r.m(n,null)},p(e,t){o===(o=i(e))&&r?r.p(e,t):(r.d(1),r=o(e),r&&(r.c(),r.m(n,null)))},d(e){e&&wt(n),r.d()}}}(e);return{c(){i.c(),n=k(),this.c=yt},m(e,t){i.m(e,t),vt(e,n,t)},p(e,t){i.p(e,t)},i:yt,o:yt,d(e){i.d(e),e&&wt(n)}}}function go(e,t,i){let n=window.navigator.userAgent,o="PC"!==ki(n),r=!1;const s=window.matchMedia("(min-width: 768px)"),a={password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/};let l,c,d,u=!1,h=!1,p=!1,m=!1,f=!1,g=!1,y,_="",b="",v="",w=!1,x="",C=!1;const P=e=>{switch(e){case"userCurrentPassword":i(8,m=!m),i(5,l.type=m?"text":"password",l);break;case"userNewPassword":i(9,f=!f),i(6,c.type=f?"text":"password",c);break;case"userConfirmPassword":i(10,g=!g),i(7,d.type=g?"text":"password",d)}},A=e=>!!a.password.test(e),T=()=>{r&&window.postMessage({type:"ChangePassword",userCurrentPassword:_,userNewPassword:b},window.location.href)},S=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},E=e=>{if(e.data)switch(e.data.type){case"PasswordChangedSuccessfully":i(0,w=!0);break;case"ShowPasswordChangedError":i(16,C=e.data.showErrorPasswordChanged),i(15,x=e.data.errorPasswordChanged)}};return Z(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)})),e.$$.update=()=>{e.$$.dirty[0]},[w,r,u,h,p,l,c,d,m,f,g,!1,_,b,v,x,C,o,s,P,(e,t,n)=>{"CurrentPassword"===n.id?i(2,u=!A(t)):"NewPassword"===n.id?(i(3,h=!A(t)),_&&i(11,y=_===b)):i(4,p=b!==v||!A(t)),i(1,r=!(u||h||p||!_||!b||!v))},T,S,()=>{},()=>S(),function(){_=this.value,i(12,_)},function(e){J[e?"unshift":"push"](()=>{l=e,i(5,l)})},()=>P("userCurrentPassword"),()=>P("userCurrentPassword"),function(){b=this.value,i(13,b)},function(e){J[e?"unshift":"push"](()=>{c=e,i(6,c)})},()=>P("userNewPassword"),()=>P("userNewPassword"),function(){v=this.value,i(14,v)},function(e){J[e?"unshift":"push"](()=>{d=e,i(7,d)})},()=>P("userConfirmPassword"),()=>P("userConfirmPassword"),()=>T(),()=>S(),()=>{}]}function yo(e,t,n){const i=e.slice();return i[23]=t[n].value,i[24]=t[n].text,i[26]=n,i}function _o(){let n;return{c(){n=Ct("div"),n.textContent=`${Po}`,St(n,"class","successMessageMobile")},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function bo(e){let n,i;return{c(){n=Ct("div"),i=Pt(Po),St(n,"class","successMessage "+(e[3]?"successMessageMobile":""))},m(e,t){vt(e,n,t),bt(n,i)},p:yt,d(e){e&&wt(n)}}}function vo(t){let o,r=t[4],s=[];for(let e=0;e<r.length;e+=1)s[e]=xo(yo(t,r,e));return{c(){o=Ct("form");for(let e=0;e<s.length;e+=1)s[e].c();St(o,"class","customRadio")},m(e,t){vt(e,o,t);for(let e=0;e<s.length;e+=1)s[e].m(o,null)},p(t,n){if(17&n){let e;for(r=t[4],e=0;e<r.length;e+=1){var i=yo(t,r,e);s[e]?s[e].p(i,n):(s[e]=xo(i),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=r.length}},d(e){e&&wt(o),xt(s,e)}}}function wo(e){let n;return{c(){n=Ct("p"),n.textContent="Loading items, please wait ..."},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function xo(n){let i,o,r,s,a,l,c,d,e=n[24]+"";return{c(){i=Ct("div"),o=Ct("input"),r=At(),s=Ct("label"),a=Pt(e),l=At(),St(o,"type","radio"),St(o,"id",n[23]),o.__value=n[23],o.value=o.__value,n[13][0].push(o),St(s,"for",n[23])},m(e,t){vt(e,i,t),bt(i,o),o.checked=o.__value===n[0],bt(i,r),bt(i,s),bt(s,a),bt(i,l),c||(d=Tt(o,"change",n[12]),c=!0)},p(e,t){1&t&&(o.checked=o.__value===e[0])},d(e){e&&wt(i),n[13][0].splice(n[13][0].indexOf(o),1),c=!1,d()}}}function Co(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y=n[3]&&function(n){let i,o,r,s,a=n[2]&&_o();return{c(){a&&a.c(),i=At(),o=Ct("div"),o.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="RealityCheckTitleMobile">Reality Check</h2>',St(o,"class","MenuReturnButton")},m(e,t){a&&a.m(e,t),vt(e,i,t),vt(e,o,t),r||(s=Tt(o,"click",n[11]),r=!0)},p(e,t){e[2]?a?a.p(e,t):(a=_o(),a.c(),a.m(i.parentNode,i)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&wt(i),e&&wt(o),r=!1,s()}}}(n),_=n[2]&&bo(n);function b(e){return e[1]?wo:vo}let v=b(n),w=v(n);return{c(){i=Ct("div"),y&&y.c(),o=At(),_&&_.c(),r=At(),s=Ct("h2"),a=Pt("Reality Check"),l=At(),c=Ct("div"),d=Ct("p"),d.innerHTML="The Reality Check facility allows you to set the frequency at which you will see a Reality Check on the screen within your gaming session. A Reality Check means a display of the time elapsed since your session began.<br/><br/>\n You are able to control the frequency at which the Reality Check will appear on your screen.",u=At(),w.c(),h=At(),p=Ct("div"),m=Ct("button"),m.textContent="Set frequency",this.c=yt,St(s,"class","RealityCheckTitle "+(n[3]?"RealityCheckTitleNone":"")),St(c,"class","RealityCheckDescription "+(n[3]?"RealityCheckDescriptionMobile":"")),St(m,"class","PlayerRealityCheckButton"),St(p,"class","BottomButtonsArea "+(n[3]?"BottomButtonsAreaMobile":"")),St(i,"class","PlayerRealityCheckWrapper "+(n[3]?"PlayerRealityCheckWrapperMobile":""))},m(e,t){vt(e,i,t),y&&y.m(i,null),bt(i,o),_&&_.m(i,null),bt(i,r),bt(i,s),bt(s,a),bt(i,l),bt(i,c),bt(c,d),bt(c,u),w.m(c,null),bt(i,h),bt(i,p),bt(p,m),f||(g=Tt(m,"click",n[14]),f=!0)},p(e,[t]){e[3]&&y.p(e,t),e[2]?_?_.p(e,t):(_=bo(e),_.c(),_.m(i,r)):_&&(_.d(1),_=null),v===(v=b(e))&&w?w.p(e,t):(w.d(1),w=v(e),w&&(w.c(),w.m(c,null)))},i:yt,o:yt,d(e){e&&wt(i),y&&y.d(),_&&_.d(),w.d(),f=!1,g()}}}customElements.get("general-logout")||customElements.define("general-logout",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid #FFFFFF4A}.PlayerAccountMenuItemBox svg{fill:#fff}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:#fff}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Bi,Ni,n,{endpoint:4,session:5,buttonlocation:0}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","session","buttonlocation"]}get endpoint(){return this.$$.ctx[4]}set endpoint(e){this.$set({endpoint:e}),T()}get session(){return this.$$.ctx[5]}set session(e){this.$set({session:e}),T()}get buttonlocation(){return this.$$.ctx[0]}set buttonlocation(e){this.$set({buttonlocation:e}),T()}}),customElements.get("player-account-menu")||customElements.define("player-account-menu",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerAccountMenuContainer{color:#fff;position:relative;height:100vh;display:flex;flex-direction:column}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{color:#FFF;flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid #696972}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList{flex-grow:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c9c9c9 #58586B}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:#58586B}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:#c9c9c9}.PlayerAccountLogOutArea{background:#58586B;color:#fff;width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:#D0046C;color:#FFF}.PlayerAccountMobileContainer{height:unset;color:#07072A}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin-top:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid #2F313E;border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:#D0046C;border-bottom:1px solid #D0046C}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;color:#FFF}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Yi,Wi,n,{endpoint:1,session:0,playerid:10}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","session","playerid"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$set({endpoint:e}),T()}get session(){return this.$$.ctx[0]}set session(e){this.$set({session:e}),T()}get playerid(){return this.$$.ctx[10]}set playerid(e){this.$set({playerid:e}),T()}}),customElements.get("player-account-notifications")||customElements.define("player-account-notifications",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerAccountNotificationsContainer{padding:0 5.008px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:#58586B;color:#fff;box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:\"nav main aside\";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Vi,Gi,n,{customnotif:3}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["customnotif"]}get customnotif(){return this.$$.ctx[3]}set customnotif(e){this.$set({customnotif:e}),T()}}),customElements.get("player-profile-info")||customElements.define("player-profile-info",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.MyAccountCategoryTitle{font-size:26px;color:#D0046C;font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:#D0046C}.MyAccountCategoryTitleNone{display:none}.PlayerInfoWrapper{color:#07072A;background:#F9F8F8;padding:50px;max-width:760px}.PlayerNotificationsHeader h3,.PlayerLocationHeader h3{font-size:16px;color:#D0046C;text-transform:capitalize;font-weight:400}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.MenuReturnButton{color:#58586B;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerInfoBox{display:flex;flex-direction:column}.PlayerInfoBox label{font-size:14px;font-weight:300;margin-bottom:10px}.PlayerInfoBox input{font-size:14px;font-weight:300;color:#07072A;padding:10px;line-height:16px;background:#FFF;border:1px solid #D1D1D1;border-radius:5px;outline:none;transition-duration:0.3s}.PlayerInfoBox input:focus,.PlayerInfoBox input :focus-within,.PlayerInfoBox input :focus-visible,.PlayerInfoBox input :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.PlayerInfoBox .FieldDisabled{opacity:0.5}.PlayerInfoBox .PlayerPhoneNumber{display:grid;grid-template-columns:1fr 5fr;column-gap:10px;position:relative}.PlayerInfoBox select{font-size:14px;font-weight:300;padding:10px;color:#07072A;background:#FFF;border:1px solid #D1D1D1;border-radius:5px;outline:none;transition-duration:0.3s}.PlayerInfoBox select:focus,.PlayerInfoBox select :focus-within,.PlayerInfoBox select :focus-visible,.PlayerInfoBox select :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.PlayerInfoBox input::-webkit-outer-spin-button,.PlayerInfoBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerInfoBox input[type=number]{-moz-appearance:textfield}.PlayerLocationContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.PlayerNotificationBox:first-child{margin-bottom:10px}.PlayerNotificationBox label{display:inline-flex;position:relative;align-items:center}.PlayerNotificationBox label span{font-size:14px;font-weight:300}.PlayerNotificationBox label input{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border-radius:50px;outline:none;transition-duration:0.3s;background-color:#D1D1D1;cursor:pointer;margin-right:10px}.PlayerNotificationBox label input:checked{background-color:#D0046C}.PlayerNotificationBox label .Checkmark{left:11px;top:7px;width:4px;height:8px;border:solid white;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:absolute}.PlayerDetailsButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;color:#07072A;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{background:#D0046C;border:1px solid #D0046C;color:#fff}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton:active{background:#9e0352}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{opacity:0.3;cursor:not-allowed}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile{width:100%;grid-template-columns:1fr 1fr}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsSaveButton{height:40px;font-size:12px}.PlayerNotificationsCheckboxArea{padding-bottom:30px}.PlayerInfoWrapperMobile{padding:20px 15px;background:#F9F8F8;max-width:unset}.PlayerInfoWrapperMobile .PlayerDetailsContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsHeader h3,.PlayerInfoWrapperMobile .PlayerDetailsHeader h3,.PlayerInfoWrapperMobile .PlayerLocationHeader h3{color:#D0046C;font-size:14px;font-weight:400}.PlayerInfoWrapperMobile .PlayerInfoBox label{color:#58586B;font-size:12px;font-weight:400}.PlayerInfoWrapperMobile .PlayerInfoBox input{color:#58586B;font-size:12px;font-weight:300}.PlayerInfoWrapperMobile .PlayerInfoBox select{color:#58586B}.PlayerInfoWrapperMobile .PlayerLocationContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsCheckboxArea .PlayerNotificationBox label{color:#07072A;font-size:12px;font-weight:300}.PlayerInfoWrapperMobile .PlayerDetailsButtonsArea{grid-column-gap:10px}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton{font-size:12px;height:40px;color:#fff}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton.PlayerButtonDisabled{color:#58586B}.PlayerInfoWrapperTablet{padding:40px 25% 40px 25%}.PlayerInfoWrapperTablet .PlayerDetailsContent{grid-row-gap:20px}.PlayerInfoWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerInfoWrapperTablet .MenuReturnButton span{font-size:20px}.PlayerInfoWrapperTablet .PlayerDetailsHeader h3,.PlayerInfoWrapperTablet .PlayerLocationHeader h3,.PlayerInfoWrapperTablet .PlayerNotificationsHeader h3{font-size:24px}.PlayerInfoWrapperTablet .PlayerInfoBox label{font-size:20px}.PlayerInfoWrapperTablet .PlayerInfoBox input{height:30px;font-size:20px;line-height:30px}.PlayerInfoWrapperTablet .PlayerInfoBox select{font-size:20px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea{grid-column-gap:40px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton{font-size:20px;height:56px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton{color:#fff}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{color:#58586B}.PlayerInfoWrapperTablet .PlayerNotificationBox label span{font-size:20px}.PlayerInfoWrapperTablet .PlayerNotificationBox label input{height:26px;width:26px}.PlayerInfoWrapperTablet .PlayerNotificationBox label .Checkmark{left:50px;top:9px}.PlayerDetailsConfirmSave{background:#0cdc13;color:#fff;padding:16px;border-radius:5px;margin-top:16px}.PlayerDetailsConfirmSave .PlayerDetailsConfirmSaveText{padding:0;margin:0}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},eo,Qi,n,{endpoint:35},[-1,-1,-1]),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint"]}get endpoint(){return this.$$.ctx[35]}set endpoint(e){this.$set({endpoint:e}),T()}}),customElements.get("player-change-password")||customElements.define("player-change-password",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerChangePasswordWrapper{color:#07072A;padding:50px;max-width:400px}.ChangePasswordTitle{font-size:26px;color:#D0046C;font-weight:400}.ChangePasswordTitleMobile{font-size:16px;color:#D0046C}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:15px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr}.PlayerChangePasswordSaveButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#FFF;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordSaveButton{background:#D0046C;border:1px solid #D0046C;color:#fff}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:14px;font-weight:300;margin-bottom:10px}.PlayerChangePasswordBox input{font-size:14px;font-weight:300;color:#07072A;padding:10px;line-height:16px;border:1px solid #D1D1D1;background:#FFFFFF;border-radius:5px;outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox.InvalidField input{border:1px solid #D0046C;background:#FBECF4;color:#D0046C}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:20px;position:absolute;right:10px;top:33px;cursor:pointer}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:#D0046C}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:#58586B}.TogglePasswordVisibilityMobile{top:31px}.InvalidInput,.InvalidInputNew{color:#D0046C;font-size:10px;position:absolute;bottom:-25px;margin:0;line-height:10px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:#FD2839;font-size:16px;line-height:19.2px;margin-top:0}.ChangedPasswordSuccessfully{color:#fff;position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid #16CE16;border-radius:50px;display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:solid #16CE16;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:20px;font-weight:400;margin:10px 0;color:#16CE16}.ChangedPasswordSuccessfully p{margin:0;font-size:14px;font-weight:300;color:#07072A}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#FFF;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid #D0046C;background:#D0046C;max-width:185px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{color:#D0046C;background:#fff}.PlayerChangePasswordWrapperMobile{height:100%;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column;height:100%}.PlayerChangePasswordWrapperMobile:after{content:'';position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:#D0046C;font-size:14px;font-weight:400}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{color:#58586B;font-size:12px;font-weight:400}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{color:#58586B;font-size:12px;font-weight:300}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-size:12px;height:44px;color:#58586B}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{color:#fff}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:#58586B}.MenuReturnButton{color:#58586B;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerChangePasswordWrapperTablet{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordContent{grid-row-gap:20px}.PlayerChangePasswordWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerChangePasswordWrapperTablet .MenuReturnButton span{font-size:20px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox label{font-size:20px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox input{height:30px;font-size:20px;line-height:30px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility{width:30px;top:46px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .InvalidInput{font-size:16px;bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox:last-child .InvalidInput{font-size:16px;bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{font-size:18px;height:56px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{color:#fff}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive{color:#58586B}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},go,fo,n,{},[-1,-1]),e&&e.target&&vt(e.target,this,e.anchor)}});let Po="Reality check has been successfully updated.";function Ao(t,e,n){let{realitycheck:i=""}=e,{endpoint:o=""}=e,{playerid:r=""}=e,{session:s=""}=e,a=window.navigator.userAgent,l="PC"!==ki(a),c="",d=!0,u=!1,h=[],p=[];const m=()=>{window.postMessage({type:"SubmittedRealityCheck",realityCheckUpdatedValue:c},window.location.href)},f=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},g=e=>{e.data&&"RealityCheckValueUpdated"===e.data.type&&(n(2,u=!0),setTimeout(()=>{n(2,u=!1)},2e3))};return Z(()=>(window.addEventListener("message",g,!1),()=>{window.removeEventListener("message",g)})),t.$$set=e=>{"realitycheck"in e&&n(7,i=e.realitycheck),"endpoint"in e&&n(8,o=e.endpoint),"playerid"in e&&n(9,r=e.playerid),"session"in e&&n(10,s=e.session)},t.$$.update=()=>{var e;1792&t.$$.dirty&&o&&r&&s&&(e=new URL(`${o}/player/${r}/availablerealityvalues`),fetch(e,{method:"GET",headers:{playerId:r,"X-SessionId":s,accept:"application/json"}}).then(e=>e.json()).then(e=>{h=e.AvailableRealityCheckValues,h.forEach(e=>{0==e?p.push({value:e.toString(),text:"Never"}):e<60?p.push({value:e.toString(),text:e+" Minutes"}):60==e?p.push({value:e.toString(),text:"1 Hour"}):60<e&&p.push({value:e.toString(),text:e/60+" Hours"})}),n(0,c=i||p[0].value),n(1,d=!1)},e=>{console.error(e)}))},[c,d,u,l,p,m,f,i,o,r,s,()=>f(),function(){c=this.__value,n(0,c)},[[]],()=>m()]}function To(e,t,n){const i=e.slice();return i[9]=t[n].value,i[10]=t[n].text,i}function So(e){let n,i,t=e[10]+"";return{c(){n=Ct("option"),i=Pt(t),n.__value=e[9],n.value=n.__value},m(e,t){vt(e,n,t),bt(n,i)},p:yt,d(e){e&&wt(n)}}}function Eo(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v=n[1]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="TimeoutTitleMobile">Timeout</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[5]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(n),w=n[2],x=[];for(let e=0;e<w.length;e+=1)x[e]=So(To(n,w,e));return{c(){i=Ct("div"),v&&v.c(),o=At(),r=Ct("h2"),s=Pt("Timeout"),a=At(),l=Ct("div"),c=Ct("p"),c.textContent="Everymatrix provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.",d=At(),u=Ct("p"),u.textContent='Please note that the “Time-out facility” does not in any case replace “Self-exclusion”. If you think you are experiencing a gambling addiction problem, please enter the link under "Responsible Gaming" and use the "Self-exclusion service" or contact us as soon as possible.',h=At(),p=Ct("div"),m=Ct("select");for(let e=0;e<x.length;e+=1)x[e].c();f=At(),g=Ct("div"),y=Ct("button"),y.textContent="Save",this.c=yt,St(r,"class","TimeoutTitle "+(n[1]?"TimeoutTitleNone":"")),St(l,"class","TimeoutDescription "+(n[1]?"TimeoutDescriptionMobile":"")),St(m,"class","TimeoutSelect "+(n[1]?"TimeoutSelectMobile":"")),void 0===n[0]&&Dt(()=>n[6].call(m)),St(p,"class","TimeoutSelectWrapper"),St(y,"class","TimeoutSave"),St(g,"class","TimeoutActionButtons "+(n[1]?"TimeoutActionButtonsMobile":"")),St(i,"class","TimeoutWrapper "+(n[1]?"TimeoutWrapperMobile":""))},m(e,t){vt(e,i,t),v&&v.m(i,null),bt(i,o),bt(i,r),bt(r,s),bt(i,a),bt(i,l),bt(l,c),bt(l,d),bt(l,u),bt(i,h),bt(i,p),bt(p,m);for(let e=0;e<x.length;e+=1)x[e].m(m,null);Mt(m,n[0]),bt(i,f),bt(i,g),bt(g,y),_||(b=[Tt(m,"change",n[6]),Tt(y,"click",n[7])],_=!0)},p(t,[n]){if(t[1]&&v.p(t,n),4&n){let e;for(w=t[2],e=0;e<w.length;e+=1){var i=To(t,w,e);x[e]?x[e].p(i,n):(x[e]=So(i),x[e].c(),x[e].m(m,null))}for(;e<x.length;e+=1)x[e].d(1);x.length=w.length}5&n&&Mt(m,t[0])},i:yt,o:yt,d(e){e&&wt(i),v&&v.d(),xt(x,e),_=!1,_t(b)}}}function Mo(e,t,n){let i=window.navigator.userAgent,o="PC"!==ki(i),r=[{value:"CoolOffFor24Hours",text:"24 hours"},{value:"CoolOffFor7Days",text:"7 days"},{value:"CoolOffFor30Days",text:"30 days"},{value:"CoolOffFor3Months",text:"3 months"}],s=r[0].value;const a=()=>{window.postMessage({type:"SetPlayerAccountTimeout",timeoutSelected:s},window.location.href)},l=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)};return[s,o,r,a,l,()=>l(),function(){s=X(this),n(0,s),n(2,r)},()=>a()]}customElements.get("player-reality-check")||customElements.define("player-reality-check",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.successMessage{position:absolute;display:block;top:25px;left:50px;background:#16CE16;font-size:14px;border-radius:5px;padding:10px;color:#FFF}.successMessage.successMessageMobile{display:none}.successMessageMobile{display:block;background:#16CE16;font-size:14px;border-radius:5px;padding:10px;color:#FFF}.successMessageMobile.successMessage{display:none}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=\"radio\"]{position:absolute;left:-9999px}.customRadio input[type=\"radio\"]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=\"radio\"]+label:before{content:'';background:#fff;border:1px solid #707070;height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=\"radio\"]+label:after{content:'';background:#d0046c;width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=\"radio\"]:checked+label:after{opacity:1;transform:scale(1)}.RealityCheckDescription{color:#58586B;line-height:24px}.PlayerRealityCheckWrapper{position:relative;color:#07072A;padding:50px;max-width:760px}.PlayerRealityCheckWrapper.PlayerRealityCheckWrapperMobile{padding:20px 15px;max-width:unset}.RealityCheckTitle{font-size:26px;color:#D0046C;font-weight:400}.RealityCheckTitleMobile{font-size:16px;color:#D0046C}.RealityCheckTitleNone{display:none}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#FFF;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton{background:transparent;border:1px solid #58586B}.PlayerRealityCheckButton{background:#D0046C;border:1px solid #D0046C}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:20PX}.MenuReturnButton svg{fill:#D0046C}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Ao,Co,n,{realitycheck:7,endpoint:8,playerid:9,session:10}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["realitycheck","endpoint","playerid","session"]}get realitycheck(){return this.$$.ctx[7]}set realitycheck(e){this.$set({realitycheck:e}),T()}get endpoint(){return this.$$.ctx[8]}set endpoint(e){this.$set({endpoint:e}),T()}get playerid(){return this.$$.ctx[9]}set playerid(e){this.$set({playerid:e}),T()}get session(){return this.$$.ctx[10]}set session(e){this.$set({session:e}),T()}}),customElements.get("player-account-timeout")||customElements.define("player-account-timeout",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.TimeoutWrapper{color:#07072A;padding:50px;max-width:760px}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:#D0046C}.TimeoutTitle{font-size:26px;color:#D0046C;font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:#58586B;line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:19.2px}.TimeoutSelectWrapper{color:#58586B;display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid #D1D1D1;background:#FFFFFF;border-radius:5px;padding:5px;font-size:14px;box-sizing:border-box;padding:5px 10px;font-size:16px;line-height:18px;margin-bottom:16px}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.TimeoutSelectWrapper .TimeoutSelect.TimeoutSelectMobile{width:100%;height:36px;font-size:12px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{background:#D0046C;border:1px solid #D0046C;color:#fff;cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Mo,Eo,n,{}),e&&e.target&&vt(e.target,this,e.anchor)}});var Do,ko,Io=(ko=Do={path:void 0,exports:{},require:function(e,t){return kn(null==t&&Do.path)}},Do.exports,ko.exports=function(){var e;function m(){return e.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(p(e,t))return;return 1}function r(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function o(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function i(e,t){for(var n=[],i=0;i<e.length;++i)n.push(t(e[i],i));return n}function d(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,n,i){return Mt(e,t,n,i,!0).utc()}function f(e){return null==e._pf&&(e._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}),e._pf}function h(e){if(null==e._isValid){var t=f(e),n=y.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function g(e){var t=u(NaN);return null!=e?d(f(t),e):f(t).userInvalidated=!0,t}var y=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1},_=m.momentProperties=[],t=!1;function b(e,t){var n,i,o;if(r(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),r(t._i)||(e._i=t._i),r(t._f)||(e._f=t._f),r(t._l)||(e._l=t._l),r(t._strict)||(e._strict=t._strict),r(t._tzm)||(e._tzm=t._tzm),r(t._isUTC)||(e._isUTC=t._isUTC),r(t._offset)||(e._offset=t._offset),r(t._pf)||(e._pf=f(t)),r(t._locale)||(e._locale=t._locale),0<_.length)for(n=0;n<_.length;n++)r(o=t[i=_[n]])||(e[i]=o);return e}function v(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,m.updateOffset(this),t=!1)}function w(e){return e instanceof v||null!=e&&null!=e._isAMomentObject}function x(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(o,r){var s=!0;return d(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,o),s){for(var e,t,n=[],i=0;i<arguments.length;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])p(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}x(o+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return r.apply(this,arguments)},r)}var C={};function P(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),C[e]||(x(t),C[e]=!0)}function A(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e,t){var n,i=d({},e);for(n in t)p(t,n)&&(a(e[n])&&a(t[n])?(i[n]={},d(i[n],e[n]),d(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)p(e,n)&&!p(t,n)&&a(e[n])&&(i[n]=d({},i[n]));return i}function S(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var E=Object.keys||function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};function M(e,t,n){var i=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-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,I={},L={};function O(e,t,n,i){var o="string"==typeof i?function(){return this[i]()}:i;e&&(L[e]=o),t&&(L[t[0]]=function(){return M(o.apply(this,arguments),t[1],t[2])}),n&&(L[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function N(e,t){return e.isValid()?(t=B(t,e.localeData()),I[t]=I[t]||function(i){for(var e,o=i.match(D),t=0,r=o.length;t<r;t++)L[o[t]]?o[t]=L[o[t]]:o[t]=(e=o[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<r;n++)t+=A(o[n])?o[n].call(e,i):o[n];return t}}(t),I[t](e)):e.localeData().invalidDate()}function B(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(k.lastIndex=0;0<=n&&k.test(e);)e=e.replace(k,i),k.lastIndex=0,--n;return e}var R={};function F(e,t){var n=e.toLowerCase();R[n]=R[n+"s"]=R[t]=e}function $(e){return"string"==typeof e?R[e]||R[e.toLowerCase()]:void 0}function z(e){var t,n,i={};for(n in e)p(e,n)&&(t=$(n))&&(i[t]=e[n]);return i}var W={};function Y(e,t){W[e]=t}function H(e){return e%4==0&&e%100!=0||e%400==0}function U(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function j(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?U(t):e}function G(t,n){return function(e){return null!=e?(q(this,t,e),m.updateOffset(this,n),this):V(this,t)}}function V(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function q(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&H(e.year())&&1===e.month()&&29===e.date()?(n=j(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ee(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var X=/\d/,Z=/\d\d/,J=/\d{3}/,K=/\d{4}/,Q=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,ne=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,oe=/\d{1,4}/,re=/[+-]?\d{1,6}/,se=/\d+/,ae=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ce=/Z|[+-]\d\d(?::?\d\d)?/gi,de=/[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 ue(e,n,i){me[e]=A(n)?n:function(e,t){return e&&i?i:n}}function he(e,t){return p(me,e)?me[e](t._strict,t._locale):new RegExp(pe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,o){return t||n||i||o})))}function pe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var me={},fe={};function ge(e,n){var t,i=n;for("string"==typeof e&&(e=[e]),c(n)&&(i=function(e,t){t[n]=j(e)}),t=0;t<e.length;t++)fe[e[t]]=i}function ye(e,o){ge(e,function(e,t,n,i){n._w=n._w||{},o(e,n._w,n,i)})}var _e,be=0,ve=1,we=2,xe=3,Ce=4,Pe=5,Ae=6,Te=7,Se=8;function Ee(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?H(e)?29:28:31-n%7%2}_e=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},O("M",["MM",2],"Mo",function(){return this.month()+1}),O("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),O("MMMM",0,0,function(e){return this.localeData().months(this,e)}),F("month","M"),Y("month",8),ue("M",ee),ue("MM",ee,Z),ue("MMM",function(e,t){return t.monthsShortRegex(e)}),ue("MMMM",function(e,t){return t.monthsRegex(e)}),ge(["M","MM"],function(e,t){t[ve]=j(e)-1}),ge(["MMM","MMMM"],function(e,t,n,i){i=n._locale.monthsParse(e,i,n._strict);null!=i?t[ve]=i:f(n).invalidMonth=e});var Me="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ke=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ie=de,Le=de;function Oe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=j(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ee(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ne(e){return null!=e?(Oe(this,e),m.updateOffset(this,!0),this):V(this,"Month")}function Be(){function e(e,t){return t.length-e.length}for(var t,n=[],i=[],o=[],r=0;r<12;r++)t=u([2e3,r]),n.push(this.monthsShort(t,"")),i.push(this.months(t,"")),o.push(this.months(t,"")),o.push(this.monthsShort(t,""));for(n.sort(e),i.sort(e),o.sort(e),r=0;r<12;r++)n[r]=pe(n[r]),i[r]=pe(i[r]);for(r=0;r<24;r++)o[r]=pe(o[r]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Re(e){return H(e)?366:365}O("Y",0,0,function(){var e=this.year();return e<=9999?M(e,4):"+"+e}),O(0,["YY",2],0,function(){return this.year()%100}),O(0,["YYYY",4],0,"year"),O(0,["YYYYY",5],0,"year"),O(0,["YYYYYY",6,!0],0,"year"),F("year","y"),Y("year",1),ue("Y",ae),ue("YY",ee,Z),ue("YYYY",oe,K),ue("YYYYY",re,Q),ue("YYYYYY",re,Q),ge(["YYYYY","YYYYYY"],be),ge("YYYY",function(e,t){t[be]=2===e.length?m.parseTwoDigitYear(e):j(e)}),ge("YY",function(e,t){t[be]=m.parseTwoDigitYear(e)}),ge("Y",function(e,t){t[be]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return j(e)+(68<j(e)?1900:2e3)};var Fe=G("FullYear",!0);function $e(e,t,n,i,o,r,s){var a;return e<100&&0<=e?(a=new Date(e+400,t,n,i,o,r,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,i,o,r,s),a}function ze(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function We(e,t,n){n=7+t-n;return-(7+ze(e,0,n).getUTCDay()-t)%7+n-1}function Ye(e,t,n,i,o){var r,o=1+7*(t-1)+(7+n-i)%7+We(e,i,o),o=o<=0?Re(r=e-1)+o:o>Re(e)?(r=e+1,o-Re(e)):(r=e,o);return{year:r,dayOfYear:o}}function He(e,t,n){var i,o,r=We(e.year(),t,n),r=Math.floor((e.dayOfYear()-r-1)/7)+1;return r<1?i=r+Ue(o=e.year()-1,t,n):r>Ue(e.year(),t,n)?(i=r-Ue(e.year(),t,n),o=e.year()+1):(o=e.year(),i=r),{week:i,year:o}}function Ue(e,t,n){var i=We(e,t,n),n=We(e+1,t,n);return(Re(e)-i+n)/7}O("w",["ww",2],"wo","week"),O("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),Y("week",5),Y("isoWeek",5),ue("w",ee),ue("ww",ee,Z),ue("W",ee),ue("WW",ee,Z),ye(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=j(e)});function je(e,t){return e.slice(t,7).concat(e.slice(0,t))}O("d",0,"do","day"),O("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),O("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),O("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),O("e",0,0,"weekday"),O("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),Y("day",11),Y("weekday",11),Y("isoWeekday",11),ue("d",ee),ue("e",ee),ue("E",ee),ue("dd",function(e,t){return t.weekdaysMinRegex(e)}),ue("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ue("dddd",function(e,t){return t.weekdaysRegex(e)}),ye(["dd","ddd","dddd"],function(e,t,n,i){i=n._locale.weekdaysParse(e,i,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),ye(["d","e","E"],function(e,t,n,i){t[i]=j(e)});var Ge="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=de,Ze=de,Je=de;function Ke(){function e(e,t){return t.length-e.length}for(var t,n,i,o=[],r=[],s=[],a=[],l=0;l<7;l++)i=u([2e3,1]).day(l),t=pe(this.weekdaysMin(i,"")),n=pe(this.weekdaysShort(i,"")),i=pe(this.weekdays(i,"")),o.push(t),r.push(n),s.push(i),a.push(t),a.push(n),a.push(i);o.sort(e),r.sort(e),s.sort(e),a.sort(e),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("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Qe(){return this.hours()%12||12}function et(e,t){O(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}O("H",["HH",2],0,"hour"),O("h",["hh",2],0,Qe),O("k",["kk",2],0,function(){return this.hours()||24}),O("hmm",0,0,function(){return""+Qe.apply(this)+M(this.minutes(),2)}),O("hmmss",0,0,function(){return""+Qe.apply(this)+M(this.minutes(),2)+M(this.seconds(),2)}),O("Hmm",0,0,function(){return""+this.hours()+M(this.minutes(),2)}),O("Hmmss",0,0,function(){return""+this.hours()+M(this.minutes(),2)+M(this.seconds(),2)}),et("a",!0),et("A",!1),F("hour","h"),Y("hour",13),ue("a",tt),ue("A",tt),ue("H",ee),ue("h",ee),ue("k",ee),ue("HH",ee,Z),ue("hh",ee,Z),ue("kk",ee,Z),ue("hmm",te),ue("hmmss",ne),ue("Hmm",te),ue("Hmmss",ne),ge(["H","HH"],xe),ge(["k","kk"],function(e,t,n){e=j(e);t[xe]=24===e?0:e}),ge(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ge(["h","hh"],function(e,t,n){t[xe]=j(e),f(n).bigHour=!0}),ge("hmm",function(e,t,n){var i=e.length-2;t[xe]=j(e.substr(0,i)),t[Ce]=j(e.substr(i)),f(n).bigHour=!0}),ge("hmmss",function(e,t,n){var i=e.length-4,o=e.length-2;t[xe]=j(e.substr(0,i)),t[Ce]=j(e.substr(i,2)),t[Pe]=j(e.substr(o)),f(n).bigHour=!0}),ge("Hmm",function(e,t,n){var i=e.length-2;t[xe]=j(e.substr(0,i)),t[Ce]=j(e.substr(i))}),ge("Hmmss",function(e,t,n){var i=e.length-4,o=e.length-2;t[xe]=j(e.substr(0,i)),t[Ce]=j(e.substr(i,2)),t[Pe]=j(e.substr(o))});var nt=G("Hours",!0);var it,ot={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:Me,monthsShort:De,week:{dow:0,doy:6},weekdays:Ge,weekdaysMin:qe,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},rt={},st={};function at(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,n,i,o,r=0;r<e.length;){for(t=(o=at(e[r]).split("-")).length,n=(n=at(e[r+1]))?n.split("-"):null;0<t;){if(i=ct(o.slice(0,t).join("-")))return i;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}(o,n)>=t-1)break;t--}r++}return it}function ct(t){var e;if(void 0===rt[t]&&ko&&ko.exports)try{e=it._abbr,kn(),dt(e)}catch(e){rt[t]=null}return rt[t]}function dt(e,t){return e&&((t=r(t)?ht(e):ut(e,t))?it=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),it._abbr}function ut(e,t){if(null===t)return delete rt[e],null;var n,i=ot;if(t.abbr=e,null!=rt[e])P("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=rt[e]._config;else if(null!=t.parentLocale)if(null!=rt[t.parentLocale])i=rt[t.parentLocale]._config;else{if(null==(n=ct(t.parentLocale)))return st[t.parentLocale]||(st[t.parentLocale]=[]),st[t.parentLocale].push({name:e,config:t}),null;i=n._config}return rt[e]=new S(T(i,t)),st[e]&&st[e].forEach(function(e){ut(e.name,e.config)}),dt(e),rt[e]}function ht(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return it;if(!s(e)){if(t=ct(e))return t;e=[e]}return lt(e)}function pt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[ve]<0||11<t[ve]?ve:t[we]<1||t[we]>Ee(t[be],t[ve])?we:t[xe]<0||24<t[xe]||24===t[xe]&&(0!==t[Ce]||0!==t[Pe]||0!==t[Ae])?xe:t[Ce]<0||59<t[Ce]?Ce:t[Pe]<0||59<t[Pe]?Pe:t[Ae]<0||999<t[Ae]?Ae:-1,f(e)._overflowDayOfYear&&(t<be||we<t)&&(t=we),f(e)._overflowWeeks&&-1===t&&(t=Te),f(e)._overflowWeekday&&-1===t&&(t=Se),f(e).overflow=t),e}var mt=/^\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)?)?$/,ft=/^\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)?)?$/,gt=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["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]],_t=[["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/]],bt=/^\/?Date\((-?\d+)/i,vt=/^(?:(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}))$/,wt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xt(e){var t,n,i,o,r,s,a=e._i,l=mt.exec(a)||ft.exec(a);if(l){for(f(e).iso=!0,t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(l[1])){o=yt[t][0],i=!1!==yt[t][2];break}if(null==o)return e._isValid=!1;if(l[3]){for(t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(l[3])){r=(l[2]||" ")+_t[t][0];break}if(null==r)return e._isValid=!1}if(!i&&null!=r)return e._isValid=!1;if(l[4]){if(!gt.exec(l[4]))return e._isValid=!1;s="Z"}e._f=o+(r||"")+(s||""),St(e)}else e._isValid=!1}function Ct(e,t,n,i,o,r){o=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),De.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(o,10)];return r&&o.push(parseInt(r,10)),o}function Pt(e){var t,n,i,o,r=vt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));r?(t=Ct(r[4],r[3],r[2],r[5],r[6],r[7]),n=r[1],i=t,o=e,n&&Ve.indexOf(n)!==new Date(i[0],i[1],i[2]).getDay()?(f(o).weekdayMismatch=!0,o._isValid=!1):(e._a=t,e._tzm=(o=r[8],t=r[9],r=r[10],o?wt[o]:t?0:((t=parseInt(r,10))-(r=t%100))/100*60+r),e._d=ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function At(e,t,n){return null!=e?e:null!=t?t:n}function Tt(e){var t,n,i,o,r,s,a,l,c,d,u,h,p=[];if(!e._d){for(u=e,h=new Date(m.now()),n=u._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[we]&&null==e._a[ve]&&(null!=(u=(o=e)._w).GG||null!=u.W||null!=u.E?(l=1,c=4,r=At(u.GG,o._a[be],He(Dt(),1,4).year),s=At(u.W,1),((a=At(u.E,1))<1||7<a)&&(d=!0)):(l=o._locale._week.dow,c=o._locale._week.doy,h=He(Dt(),l,c),r=At(u.gg,o._a[be],h.year),s=At(u.w,h.week),null!=u.d?((a=u.d)<0||6<a)&&(d=!0):null!=u.e?(a=u.e+l,(u.e<0||6<u.e)&&(d=!0)):a=l),s<1||s>Ue(r,l,c)?f(o)._overflowWeeks=!0:null!=d?f(o)._overflowWeekday=!0:(c=Ye(r,s,a,l,c),o._a[be]=c.year,o._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(i=At(e._a[be],n[be]),(e._dayOfYear>Re(i)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),i=ze(i,0,e._dayOfYear),e._a[ve]=i.getUTCMonth(),e._a[we]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=p[t]=n[t];for(;t<7;t++)e._a[t]=p[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[xe]&&0===e._a[Ce]&&0===e._a[Pe]&&0===e._a[Ae]&&(e._nextDay=!0,e._a[xe]=0),e._d=(e._useUTC?ze:$e).apply(null,p),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[xe]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(f(e).weekdayMismatch=!0)}}function St(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,i=""+e._i,o=i.length,r=0,s=B(e._f,e._locale).match(D)||[],a=0;a<s.length;a++)n=s[a],(t=(i.match(he(n,e))||[])[0])&&(0<(u=i.substr(0,i.indexOf(t))).length&&f(e).unusedInput.push(u),i=i.slice(i.indexOf(t)+t.length),r+=t.length),L[n]?(t?f(e).empty=!1:f(e).unusedTokens.push(n),d=n,h=e,null!=(u=t)&&p(fe,d)&&fe[d](u,h._a,h,d)):e._strict&&!t&&f(e).unusedTokens.push(n);f(e).charsLeftOver=o-r,0<i.length&&f(e).unusedInput.push(i),e._a[xe]<=12&&!0===f(e).bigHour&&0<e._a[xe]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[xe]=(l=e._locale,c=e._a[xe],null==(o=e._meridiem)?c:null!=l.meridiemHour?l.meridiemHour(c,o):null!=l.isPM?((o=l.isPM(o))&&c<12&&(c+=12),c=o||12!==c?c:0):c),null!==(c=f(e).era)&&(e._a[be]=e._locale.erasConvertYear(c,e._a[be])),Tt(e),pt(e)}else Pt(e);else xt(e);var l,c,d,u,h}function Et(e){var t=e._i,n=e._f;return e._locale=e._locale||ht(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new v(pt(t)):(o(t)?e._d=t:s(n)?function(e){var t,n,i,o,r,s,a=!1;if(0===e._f.length)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(o=0;o<e._f.length;o++)r=0,s=!1,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],St(t),h(t)&&(s=!0),r+=f(t).charsLeftOver,r+=10*f(t).unusedTokens.length,f(t).score=r,a?r<i&&(i=r,n=t):(null==i||r<i||s)&&(i=r,n=t,s&&(a=!0));d(e,n||t)}(e):n?St(e):r(n=(t=e)._i)?t._d=new Date(m.now()):o(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=bt.exec(e._i);null===t?(xt(e),!1===e._isValid&&(delete e._isValid,Pt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:m.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):s(n)?(t._a=i(n.slice(0),function(e){return parseInt(e,10)}),Tt(t)):a(n)?function(e){var t,n;e._d||(n=void 0===(t=z(e._i)).day?t.date:t.day,e._a=i([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Tt(e))}(t):c(n)?t._d=new Date(n):m.createFromInputFallback(t),h(e)||(e._d=null),e))}function Mt(e,t,n,i,o){var r={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(a(e)&&l(e)||s(e)&&0===e.length)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=o,r._l=n,r._i=e,r._f=t,r._strict=i,(r=new v(pt(Et(r=r))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function Dt(e,t,n,i){return Mt(e,t,n,i,!1)}m.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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};var kt=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Dt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),It=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Dt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:g()});function Lt(e,t){var n,i;if(!(t=1===t.length&&s(t[0])?t[0]:t).length)return Dt();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var Ot=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Nt(e){var t=z(e),n=t.year||0,i=t.quarter||0,o=t.month||0,r=t.week||t.isoWeek||0,s=t.day||0,a=t.hour||0,l=t.minute||0,c=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,n,i=!1;for(t in e)if(p(e,t)&&(-1===_e.call(Ot,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Ot.length;++n)if(e[Ot[n]]){if(i)return!1;parseFloat(e[Ot[n]])!==j(e[Ot[n]])&&(i=!0)}return!0}(t),this._milliseconds=+e+1e3*c+6e4*l+1e3*a*60*60,this._days=+s+7*r,this._months=+o+3*i+12*n,this._data={},this._locale=ht(),this._bubble()}function Bt(e){return e instanceof Nt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,n){O(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+M(~~(e/60),2)+n+M(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),ue("Z",ce),ue("ZZ",ce),ge(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=zt(ce,e)});var $t=/([\+\-]|\d\d)/gi;function zt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match($t)||["-",0,0])[1]+j(e[2]))?0:"+"===e[0]?t:-t}function Wt(e,t){var n;return t._isUTC?(n=t.clone(),t=(w(e)||o(e)?e:Dt(e)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+t),m.updateOffset(n,!1),n):Dt(e).local()}function Yt(e){return-Math.round(e._d.getTimezoneOffset())}function Ht(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Gt(e,t){var n,i,o=e,r=null;return Bt(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(r=Ut.exec(e))?(n="-"===r[1]?-1:1,o={y:0,d:j(r[we])*n,h:j(r[xe])*n,m:j(r[Ce])*n,s:j(r[Pe])*n,ms:j(Rt(1e3*r[Ae]))*n}):(r=jt.exec(e))?(n="-"===r[1]?-1:1,o={y:Vt(r[2],n),M:Vt(r[3],n),w:Vt(r[4],n),d:Vt(r[5],n),h:Vt(r[6],n),m:Vt(r[7],n),s:Vt(r[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=Dt(o.from),n=Dt(o.to),i=r.isValid()&&n.isValid()?(n=Wt(n,r),r.isBefore(n)?i=qt(r,n):((i=qt(n,r)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(o={}).ms=i.milliseconds,o.M=i.months),o=new Nt(o),Bt(e)&&p(e,"_locale")&&(o._locale=e._locale),Bt(e)&&p(e,"_isValid")&&(o._isValid=e._isValid),o}function Vt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function qt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Xt(i,o){return function(e,t){var n;return null===t||isNaN(+t)||(P(o,"moment()."+o+"(period, number) is deprecated. Please use moment()."+o+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Zt(this,Gt(e,t),i),this}}function Zt(e,t,n,i){var o=t._milliseconds,r=Rt(t._days),t=Rt(t._months);e.isValid()&&(i=null==i||i,t&&Oe(e,V(e,"Month")+t*n),r&&q(e,"Date",V(e,"Date")+r*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&m.updateOffset(e,r||t))}Gt.fn=Nt.prototype,Gt.invalid=function(){return Gt(NaN)};var Jt=Xt(1,"add"),de=Xt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Qt(e){return w(e)||o(e)||Kt(e)||c(e)||(n=s(t=e),i=!1,n&&(i=0===t.filter(function(e){return!c(e)&&Kt(t)}).length),n&&i)||function(e){var t,n,i=a(e)&&!l(e),o=!1,r=["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(t=0;t<r.length;t+=1)n=r[t],o=o||p(e,n);return i&&o}(e)||null==e;var t,n,i}function en(e,t){if(e.date()<t.date())return-en(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(1+n,"months")-i)))||0}function tn(e){return void 0===e?this._locale._abbr:(null!=(e=ht(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function nn(){return this._locale}var on=126227808e5;function rn(e,t){return(e%t+t)%t}function sn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-on:new Date(e,t,n).valueOf()}function an(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-on:Date.UTC(e,t,n)}function ln(e,t){return t.erasAbbrRegex(e)}function cn(){for(var e=[],t=[],n=[],i=[],o=this.eras(),r=0,s=o.length;r<s;++r)t.push(pe(o[r].name)),e.push(pe(o[r].abbr)),n.push(pe(o[r].narrow)),i.push(pe(o[r].name)),i.push(pe(o[r].abbr)),i.push(pe(o[r].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function dn(e,t){O(0,[e,e.length],0,t)}function un(e,t,n,i,o){var r;return null==e?He(this,i,o).year:(t>(r=Ue(e,i,o))&&(t=r),function(e,t,n,i,o){o=Ye(e,t,n,i,o),o=ze(o.year,0,o.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}.call(this,e,t,n,i,o))}O("N",0,0,"eraAbbr"),O("NN",0,0,"eraAbbr"),O("NNN",0,0,"eraAbbr"),O("NNNN",0,0,"eraName"),O("NNNNN",0,0,"eraNarrow"),O("y",["y",1],"yo","eraYear"),O("y",["yy",2],0,"eraYear"),O("y",["yyy",3],0,"eraYear"),O("y",["yyyy",4],0,"eraYear"),ue("N",ln),ue("NN",ln),ue("NNN",ln),ue("NNNN",function(e,t){return t.erasNameRegex(e)}),ue("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ge(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){i=n._locale.erasParse(e,i,n._strict);i?f(n).era=i:f(n).invalidEra=e}),ue("y",se),ue("yy",se),ue("yyy",se),ue("yyyy",se),ue("yo",function(e,t){return t._eraYearOrdinalRegex||se}),ge(["y","yy","yyy","yyyy"],be),ge(["yo"],function(e,t,n,i){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[be]=n._locale.eraYearOrdinalParse(e,o):t[be]=parseInt(e,10)}),O(0,["gg",2],0,function(){return this.weekYear()%100}),O(0,["GG",2],0,function(){return this.isoWeekYear()%100}),dn("gggg","weekYear"),dn("ggggg","weekYear"),dn("GGGG","isoWeekYear"),dn("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),Y("weekYear",1),Y("isoWeekYear",1),ue("G",ae),ue("g",ae),ue("GG",ee,Z),ue("gg",ee,Z),ue("GGGG",oe,K),ue("gggg",oe,K),ue("GGGGG",re,Q),ue("ggggg",re,Q),ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=j(e)}),ye(["gg","GG"],function(e,t,n,i){t[i]=m.parseTwoDigitYear(e)}),O("Q",0,"Qo","quarter"),F("quarter","Q"),Y("quarter",7),ue("Q",X),ge("Q",function(e,t){t[ve]=3*(j(e)-1)}),O("D",["DD",2],"Do","date"),F("date","D"),Y("date",9),ue("D",ee),ue("DD",ee,Z),ue("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ge(["D","DD"],we),ge("Do",function(e,t){t[we]=j(e.match(ee)[0])});ne=G("Date",!0);O("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),Y("dayOfYear",4),ue("DDD",ie),ue("DDDD",J),ge(["DDD","DDDD"],function(e,t,n){n._dayOfYear=j(e)}),O("m",["mm",2],0,"minute"),F("minute","m"),Y("minute",14),ue("m",ee),ue("mm",ee,Z),ge(["m","mm"],Ce);Me=G("Minutes",!1);O("s",["ss",2],0,"second"),F("second","s"),Y("second",15),ue("s",ee),ue("ss",ee,Z),ge(["s","ss"],Pe);var hn,Ge=G("Seconds",!1);for(O("S",0,0,function(){return~~(this.millisecond()/100)}),O(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),O(0,["SSS",3],0,"millisecond"),O(0,["SSSS",4],0,function(){return 10*this.millisecond()}),O(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),O(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),O(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),O(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),O(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),Y("millisecond",16),ue("S",ie,X),ue("SS",ie,Z),ue("SSS",ie,J),hn="SSSS";hn.length<=9;hn+="S")ue(hn,se);function pn(e,t){t[Ae]=j(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")ge(hn,pn);qe=G("Milliseconds",!1),O("z",0,0,"zoneAbbr"),O("zz",0,0,"zoneName");oe=v.prototype;function mn(e){return e}oe.add=Jt,oe.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=a(e)&&!l(e),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],o=0;o<i.length;o+=1)n=n||p(e,i[o]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||Dt(),e=Wt(n,this).startOf("day"),e=m.calendarFormat(this,e)||"sameElse",t=t&&(A(t[e])?t[e].call(this,n):t[e]);return this.format(t||this.localeData().calendar(e,this,Dt(n)))},oe.clone=function(){return new v(this)},oe.diff=function(e,t,n){var i,o,r;if(!this.isValid())return NaN;if(!(i=Wt(e,this)).isValid())return NaN;switch(o=6e4*(i.utcOffset()-this.utcOffset()),t=$(t)){case"year":r=en(this,i)/12;break;case"month":r=en(this,i);break;case"quarter":r=en(this,i)/3;break;case"second":r=(this-i)/1e3;break;case"minute":r=(this-i)/6e4;break;case"hour":r=(this-i)/36e5;break;case"day":r=(this-i-o)/864e5;break;case"week":r=(this-i-o)/6048e5;break;default:r=this-i}return n?r:U(r)},oe.endOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:sn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-rn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-rn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-rn(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},oe.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=N(this,e),this.localeData().postformat(e)},oe.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Dt(e).isValid())?Gt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},oe.fromNow=function(e){return this.from(Dt(),e)},oe.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Dt(e).isValid())?Gt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},oe.toNow=function(e){return this.to(Dt(),e)},oe.get=function(e){return A(this[e=$(e)])?this[e]():this},oe.invalidAt=function(){return f(this).overflow},oe.isAfter=function(e,t){return e=w(e)?e:Dt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},oe.isBefore=function(e,t){return e=w(e)?e:Dt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},oe.isBetween=function(e,t,n,i){return e=w(e)?e:Dt(e),t=w(t)?t:Dt(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(i=i||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===i[1]?this.isBefore(t,n):!this.isAfter(t,n))},oe.isSame=function(e,t){var e=w(e)?e:Dt(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},oe.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},oe.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},oe.isValid=function(){return h(this)},oe.lang=te,oe.locale=tn,oe.localeData=nn,oe.max=It,oe.min=kt,oe.parsingFlags=function(){return d({},f(this))},oe.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)p(e,t)&&n.push({unit:t,priority:W[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=z(e)),i=0;i<n.length;i++)this[n[i].unit](e[n[i].unit]);else if(A(this[e=$(e)]))return this[e](t);return this},oe.startOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:sn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=rn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=rn(t,6e4);break;case"second":t=this._d.valueOf(),t-=rn(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},oe.subtract=de,oe.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},oe.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},oe.toDate=function(){return new Date(this.valueOf())},oe.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?N(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):A(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",N(e,"Z")):N(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},oe.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(oe[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),oe.toJSON=function(){return this.isValid()?this.toISOString():null},oe.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},oe.unix=function(){return Math.floor(this.valueOf()/1e3)},oe.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},oe.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},oe.eraName=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},oe.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},oe.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},oe.eraYear=function(){for(var e,t,n=this.localeData().eras(),i=0,o=n.length;i<o;++i)if(e=n[i].since<=n[i].until?1:-1,t=this.clone().startOf("day").valueOf(),n[i].since<=t&&t<=n[i].until||n[i].until<=t&&t<=n[i].since)return(this.year()-m(n[i].since).year())*e+n[i].offset;return this.year()},oe.year=Fe,oe.isLeapYear=function(){return H(this.year())},oe.weekYear=function(e){return un.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},oe.isoWeekYear=function(e){return un.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},oe.quarter=oe.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},oe.month=Ne,oe.daysInMonth=function(){return Ee(this.year(),this.month())},oe.week=oe.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},oe.isoWeek=oe.isoWeeks=function(e){var t=He(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},oe.weeksInYear=function(){var e=this.localeData()._week;return Ue(this.year(),e.dow,e.doy)},oe.weeksInWeekYear=function(){var e=this.localeData()._week;return Ue(this.weekYear(),e.dow,e.doy)},oe.isoWeeksInYear=function(){return Ue(this.year(),1,4)},oe.isoWeeksInISOWeekYear=function(){return Ue(this.isoWeekYear(),1,4)},oe.date=ne,oe.day=oe.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-i,"d")):i},oe.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},oe.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},oe.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},oe.hour=oe.hours=nt,oe.minute=oe.minutes=Me,oe.second=oe.seconds=Ge,oe.millisecond=oe.milliseconds=qe,oe.utcOffset=function(e,t,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?o:Yt(this);if("string"==typeof e){if(null===(e=zt(ce,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Yt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?Zt(this,Gt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},oe.utc=function(e){return this.utcOffset(0,e)},oe.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Yt(this),"m")),this},oe.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=zt(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},oe.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Dt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},oe.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},oe.isLocal=function(){return!!this.isValid()&&!this._isUTC},oe.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},oe.isUtc=Ht,oe.isUTC=Ht,oe.zoneAbbr=function(){return this._isUTC?"UTC":""},oe.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},oe.dates=n("dates accessor is deprecated. Use date instead.",ne),oe.months=n("months accessor is deprecated. Use month instead",Ne),oe.years=n("years accessor is deprecated. Use year instead",Fe),oe.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),oe.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!r(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=Et(t))._a?(e=(t._isUTC?u:Dt)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),r=0,s=0;s<i;s++)(n&&e[s]!==t[s]||!n&&j(e[s])!==j(t[s]))&&r++;return r+o}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});K=S.prototype;function fn(e,t,n,i){var o=ht(),t=u().set(i,t);return o[n](t,e)}function gn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return fn(e,t,n,"month");for(var i=[],o=0;o<12;o++)i[o]=fn(e,o,n,"month");return i}function yn(e,t,n,i){t=("boolean"==typeof e||(n=t=e,e=!1),c(t)&&(n=t,t=void 0),t||"");var o,r=ht(),s=e?r._week.dow:0,a=[];if(null!=n)return fn(t,(n+s)%7,i,"day");for(o=0;o<7;o++)a[o]=fn(t,(o+s)%7,i,"day");return a}K.calendar=function(e,t,n){return A(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},K.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(D).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},K.invalidDate=function(){return this._invalidDate},K.ordinal=function(e){return this._ordinal.replace("%d",e)},K.preparse=mn,K.postformat=mn,K.relativeTime=function(e,t,n,i){var o=this._relativeTime[n];return A(o)?o(e,t,n,i):o.replace(/%d/i,e)},K.pastFuture=function(e,t){return A(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},K.set=function(e){var t,n;for(n in e)p(e,n)&&(A(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},K.eras=function(e,t){for(var n,i=this._eras||ht("en")._eras,o=0,r=i.length;o<r;++o)switch("string"==typeof i[o].since&&(n=m(i[o].since).startOf("day"),i[o].since=n.valueOf()),typeof i[o].until){case"undefined":i[o].until=1/0;break;case"string":n=m(i[o].until).startOf("day").valueOf(),i[o].until=n.valueOf()}return i},K.erasParse=function(e,t,n){var i,o,r,s,a,l=this.eras();for(e=e.toUpperCase(),i=0,o=l.length;i<o;++i)if(r=l[i].name.toUpperCase(),s=l[i].abbr.toUpperCase(),a=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[i];break;case"NNNN":if(r===e)return l[i];break;case"NNNNN":if(a===e)return l[i]}else if(0<=[r,s,a].indexOf(e))return l[i]},K.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*n},K.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},K.erasNameRegex=function(e){return p(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},K.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||cn.call(this),e?this._erasNarrowRegex:this._erasRegex},K.months=function(e,t){return e?(s(this._months)?this._months:this._months[(this._months.isFormat||ke).test(t)?"format":"standalone"])[e.month()]:s(this._months)?this._months:this._months.standalone},K.monthsShort=function(e,t){return e?(s(this._monthsShort)?this._monthsShort:this._monthsShort[ke.test(t)?"format":"standalone"])[e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},K.monthsParse=function(e,t,n){var i,o;if(this._monthsParseExact)return function(e,t,n){var i,o,r,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)r=u([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=_e.call(this._shortMonthsParse,e))?o:null:-1!==(o=_e.call(this._longMonthsParse,e))?o:null:"MMM"===t?-1!==(o=_e.call(this._shortMonthsParse,e))||-1!==(o=_e.call(this._longMonthsParse,e))?o:null:-1!==(o=_e.call(this._longMonthsParse,e))||-1!==(o=_e.call(this._shortMonthsParse,e))?o:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(o=u([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},K.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Be.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=Le),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},K.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Be.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Ie),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},K.week=function(e){return He(e,this._week.dow,this._week.doy).week},K.firstDayOfYear=function(){return this._week.doy},K.firstDayOfWeek=function(){return this._week.dow},K.weekdays=function(e,t){return t=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?je(t,this._week.dow):e?t[e.day()]:t},K.weekdaysMin=function(e){return!0===e?je(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},K.weekdaysShort=function(e){return!0===e?je(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},K.weekdaysParse=function(e,t,n){var i,o;if(this._weekdaysParseExact)return function(e,t,n){var i,o,r,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)r=u([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=_e.call(this._weekdaysParse,e))?o:null:"ddd"===t?-1!==(o=_e.call(this._shortWeekdaysParse,e))?o:null:-1!==(o=_e.call(this._minWeekdaysParse,e))?o:null:"dddd"===t?-1!==(o=_e.call(this._weekdaysParse,e))||-1!==(o=_e.call(this._shortWeekdaysParse,e))||-1!==(o=_e.call(this._minWeekdaysParse,e))?o:null:"ddd"===t?-1!==(o=_e.call(this._shortWeekdaysParse,e))||-1!==(o=_e.call(this._weekdaysParse,e))||-1!==(o=_e.call(this._minWeekdaysParse,e))?o:null:-1!==(o=_e.call(this._minWeekdaysParse,e))||-1!==(o=_e.call(this._weekdaysParse,e))||-1!==(o=_e.call(this._shortWeekdaysParse,e))?o:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(o=u([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},K.weekdaysRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},K.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ze),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},K.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},K.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},K.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},dt("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(e){var t=e%10;return e+(1===j(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=n("moment.lang is deprecated. Use moment.locale instead.",dt),m.langData=n("moment.langData is deprecated. Use moment.localeData instead.",ht);var _n=Math.abs;function bn(e,t,n,i){n=Gt(t,n);return e._milliseconds+=i*n._milliseconds,e._days+=i*n._days,e._months+=i*n._months,e._bubble()}function vn(e){return e<0?Math.floor(e):Math.ceil(e)}function wn(e){return 4800*e/146097}function xn(e){return 146097*e/4800}function Cn(e){return function(){return this.as(e)}}re=Cn("ms"),Q=Cn("s"),X=Cn("m"),Z=Cn("h"),ie=Cn("d"),J=Cn("w"),Jt=Cn("M"),It=Cn("Q"),kt=Cn("y");function Pn(e){return function(){return this.isValid()?this._data[e]:NaN}}de=Pn("milliseconds"),nt=Pn("seconds"),Me=Pn("minutes"),Ge=Pn("hours"),qe=Pn("days"),ne=Pn("months"),Fe=Pn("years");var An=Math.round,Tn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Sn(e,t,n,i){var o=Gt(e).abs(),r=An(o.as("s")),s=An(o.as("m")),a=An(o.as("h")),l=An(o.as("d")),c=An(o.as("M")),d=An(o.as("w")),o=An(o.as("y")),l=(r<=n.ss?["s",r]:r<n.s&&["ss",r])||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return(l=(l=null!=n.w?l||d<=1&&["w"]||d<n.w&&["ww",d]:l)||c<=1&&["M"]||c<n.M&&["MM",c]||o<=1&&["y"]||["yy",o])[2]=t,l[3]=0<+e,l[4]=i,function(e,t,n,i,o){return o.relativeTime(t||1,!!n,e,i)}.apply(null,l)}var En=Math.abs;function Mn(e){return(0<e)-(e<0)||+e}function Dn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,o,r,s,a=En(this._milliseconds)/1e3,l=En(this._days),c=En(this._months),d=this.asSeconds();return d?(e=U(a/60),t=U(e/60),a%=60,e%=60,n=U(c/12),c%=12,i=a?a.toFixed(3).replace(/\.?0+$/,""):"",o=Mn(this._months)!==Mn(d)?"-":"",r=Mn(this._days)!==Mn(d)?"-":"",s=Mn(this._milliseconds)!==Mn(d)?"-":"",(d<0?"-":"")+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(l?r+l+"D":"")+(t||e||a?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(a?s+i+"S":"")):"P0D"}K=Nt.prototype;return K.isValid=function(){return this._isValid},K.abs=function(){var e=this._data;return this._milliseconds=_n(this._milliseconds),this._days=_n(this._days),this._months=_n(this._months),e.milliseconds=_n(e.milliseconds),e.seconds=_n(e.seconds),e.minutes=_n(e.minutes),e.hours=_n(e.hours),e.months=_n(e.months),e.years=_n(e.years),this},K.add=function(e,t){return bn(this,e,t,1)},K.subtract=function(e,t){return bn(this,e,t,-1)},K.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=$(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+wn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(xn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},K.asMilliseconds=re,K.asSeconds=Q,K.asMinutes=X,K.asHours=Z,K.asDays=ie,K.asWeeks=J,K.asMonths=Jt,K.asQuarters=It,K.asYears=kt,K.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*j(this._months/12):NaN},K._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,i=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*vn(xn(n)+t),n=t=0),i.milliseconds=e%1e3,e=U(e/1e3),i.seconds=e%60,e=U(e/60),i.minutes=e%60,e=U(e/60),i.hours=e%24,t+=U(e/24),n+=e=U(wn(t)),t-=vn(xn(e)),e=U(n/12),n%=12,i.days=t,i.months=n,i.years=e,this},K.clone=function(){return Gt(this)},K.get=function(e){return e=$(e),this.isValid()?this[e+"s"]():NaN},K.milliseconds=de,K.seconds=nt,K.minutes=Me,K.hours=Ge,K.days=qe,K.weeks=function(){return U(this.days()/7)},K.months=ne,K.years=Fe,K.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,i=Tn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(i=Object.assign({},Tn,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),i=Sn(this,!n,i,t=this.localeData()),n&&(i=t.pastFuture(+this,i)),t.postformat(i)},K.toISOString=Dn,K.toString=Dn,K.toJSON=Dn,K.locale=tn,K.localeData=nn,K.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dn),K.lang=te,O("X",0,0,"unix"),O("x",0,0,"valueOf"),ue("x",ae),ue("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ge("x",function(e,t,n){n._d=new Date(j(e))}),m.version="2.29.1",e=Dt,m.fn=oe,m.min=function(){return Lt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Lt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=u,m.unix=function(e){return Dt(1e3*e)},m.months=function(e,t){return gn(e,t,"months")},m.isDate=o,m.locale=dt,m.invalid=g,m.duration=Gt,m.isMoment=w,m.weekdays=function(e,t,n){return yn(e,t,n,"weekdays")},m.parseZone=function(){return Dt.apply(null,arguments).parseZone()},m.localeData=ht,m.isDuration=Bt,m.monthsShort=function(e,t){return gn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return yn(e,t,n,"weekdaysMin")},m.defineLocale=ut,m.updateLocale=function(e,t){var n,i;return null!=t?(i=ot,null!=rt[e]&&null!=rt[e].parentLocale?rt[e].set(T(rt[e]._config,t)):(t=T(i=null!=(n=ct(e))?n._config:i,t),null==n&&(t.abbr=e),(t=new S(t)).parentLocale=rt[e],rt[e]=t),dt(e)):null!=rt[e]&&(null!=rt[e].parentLocale?(rt[e]=rt[e].parentLocale,e===dt()&&dt(e)):null!=rt[e]&&delete rt[e]),rt[e]},m.locales=function(){return E(rt)},m.weekdaysShort=function(e,t,n){return yn(e,t,n,"weekdaysShort")},m.normalizeUnits=$,m.relativeTimeRounding=function(e){return void 0===e?An:"function"==typeof e&&(An=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Tn[e]&&(void 0===t?Tn[e]:(Tn[e]=t,"s"===e&&(Tn.ss=t-1),!0))},m.calendarFormat=function(e,t){return(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},m.prototype=oe,m.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"},m}(),Do.exports);class Lo extends HTMLElement{static get version(){return"1.6.1"}}customElements.define("vaadin-lumo-styles",Lo);let Oo,No=null,Bo=window.HTMLImports&&window.HTMLImports.whenReady||null;function Ro(e){requestAnimationFrame(function(){Bo?Bo(e):(No||(No=new Promise(e=>{Oo=e}),"complete"===document.readyState?Oo():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&Oo()})),No.then(function(){e&&e()}))})}const Fo="__seenByShadyCSS",$o="__shadyCSSCachedStyle";let zo=null,Wo=null;class Yo{constructor(){this.customStyles=[],this.enqueued=!1,Ro(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&Wo&&(this.enqueued=!0,Ro(Wo))}addCustomStyle(e){e[Fo]||(e[Fo]=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}getStyleForCustomStyle(e){return e[$o]||(e.getStyle?e.getStyle():e)}processStyles(){const t=this.customStyles;for(let e=0;e<t.length;e++){const i=t[e];if(!i[$o]){var n=this.getStyleForCustomStyle(i);if(n){const t=n.__appliedElement||n;zo&&zo(t),i[$o]=t}}}return t}}Object.defineProperties(Yo.prototype,{transformCallback:{get:()=>zo,set(e){zo=e}},validateCallback:{get:()=>Wo,set(e){let t=!1;Wo||(t=!0),Wo=e,t&&this.enqueueDocumentValidation()}}});const Ho=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,Uo=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,jo=/@media\s(.*)/;function Go(e,t){for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n])}function Vo(e,t){const n=window.getComputedStyle(e).getPropertyValue(t);return n?n.trim():""}const qo=!(window.ShadyDOM&&window.ShadyDOM.inUse);let Xo,Zo;function Jo(e){Xo=(!e||!e.shimcssproperties)&&(qo||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(Zo=window.ShadyCSS.cssBuild);gn=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?Xo=window.ShadyCSS.nativeCss:window.ShadyCSS?(Jo(window.ShadyCSS),window.ShadyCSS=void 0):Jo(window.WebComponents&&window.WebComponents.flags);const Ko=Xo,Qo=new Yo;window.ShadyCSS||(window.ShadyCSS={prepareTemplate(e,t,n){},prepareTemplateDom(e,t){},prepareTemplateStyles(e,t,n){},styleSubtree(e,t){Qo.processStyles(),Go(e,t)},styleElement(e){Qo.processStyles()},styleDocument(e){Qo.processStyles(),Go(document.body,e)},getComputedStyleValue:(e,t)=>Vo(e,t),flushCustomStyles(){},nativeCss:Ko,nativeShadow:qo,cssBuild:Zo,disableRuntime:gn}),window.ShadyCSS.CustomStyleInterface=Qo,window.JSCompiler_renameProperty=function(e,t){return e};let er,tr,nr=/(url\()([^)]*)(\))/g,ir=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function or(e,t){if(e&&ir.test(e))return e;if("//"===e)return e;if(void 0===er){er=!1;try{const e=new URL("b","http://a");e.pathname="c%20d",er="http://a/c%20d"===e.href}catch(e){}}if(t=t||(document.baseURI||window.location.href),er)try{return new URL(e,t).href}catch(t){return e}return tr||(tr=document.implementation.createHTMLDocument("temp"),tr.base=tr.createElement("base"),tr.head.appendChild(tr.base),tr.anchor=tr.createElement("a"),tr.body.appendChild(tr.anchor)),tr.base.href=t,tr.anchor.href=e,tr.anchor.href||e}function rr(e,o){return e.replace(nr,function(e,t,n,i){return t+"'"+or(n.replace(/["']/g,""),o)+"'"+i})}function sr(e){return e.substring(0,e.lastIndexOf("/")+1)}const ar=!window.ShadyDOM||!window.ShadyDOM.inUse;Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss);const lr=ar&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const e=new CSSStyleSheet;e.replaceSync("");const t=document.createElement("div");return t.attachShadow({mode:"open"}),t.shadowRoot.adoptedStyleSheets=[e],t.shadowRoot.adoptedStyleSheets[0]===e}catch(e){return!1}})();let cr=window.Polymer&&window.Polymer.rootPath||sr(document.baseURI||window.location.href),dr=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0,ur=window.Polymer&&window.Polymer.setPassiveTouchGestures||!1,hr=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,pr=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,mr=window.Polymer&&window.Polymer.legacyOptimizations||!1,fr=window.Polymer&&window.Polymer.legacyWarnings||!1,gr=window.Polymer&&window.Polymer.syncInitialRender||!1,yr=window.Polymer&&window.Polymer.legacyUndefined||!1,_r=window.Polymer&&window.Polymer.orderedComputed||!1,br=window.Polymer&&window.Polymer.removeNestedTemplates||!1,vr=window.Polymer&&window.Polymer.fastDomIf||!1,wr=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1,xr=window.Polymer&&window.Polymer.legacyNoObservedAttributes||!1,Cr=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1,Pr={},Ar={};function Tr(e,t){Pr[e]=Ar[e.toLowerCase()]=t}function Sr(e){return Pr[e]||Ar[e.toLowerCase()]}class Er extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,n){if(t){let e=Sr(t);return e&&n?e.querySelector(n):e}return null}attributeChangedCallback(e,t,n,i){t!==n&&this.register()}get assetpath(){var e;return this.__assetpath||(e=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,e=or(this.getAttribute("assetpath")||"",e.baseURI),this.__assetpath=sr(e)),this.__assetpath}register(e){if(e=e||this.id){if(hr&&void 0!==Sr(e))throw Tr(e,null),new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);Tr(this.id=e,this),(e=this).querySelector("style")&&console.warn("dom-module %s has style outside template",e.id)}}}Er.prototype.modules=Pr,customElements.define("dom-module",Er);const Mr="shady-unscoped";function Dr(e){return Er.import(e)}function kr(e){const t=rr((e.body||e).textContent,e.baseURI),n=document.createElement("style");return n.textContent=t,n}function Ir(e){const t=e.trim().split(/\s+/),n=[];for(let e=0;e<t.length;e++)n.push(...function(e){const t=Dr(e);if(!t)return console.warn("Could not find style data in module named",e),[];if(void 0===t._styles){const n=[];n.push(...Or(t));e=t.querySelector("template");e&&n.push(...Lr(e,t.assetpath)),t._styles=n}return t._styles}(t[e]));return n}function Lr(e,i){if(!e._styles){const o=[],r=e.content.querySelectorAll("style");for(let n=0;n<r.length;n++){let e=r[n],t=e.getAttribute("include");t&&o.push(...Ir(t).filter(function(e,t,n){return n.indexOf(e)===t})),i&&(e.textContent=rr(e.textContent,i)),o.push(e)}e._styles=o}return e._styles}function Or(n){const i=[],o=n.querySelectorAll("link[rel=import][type~=css]");for(let t=0;t<o.length;t++){let e=o[t];if(e.import){const n=e.import,o=e.hasAttribute(Mr);if(o&&!n._unscopedStyle){const i=kr(n);i.setAttribute(Mr,""),n._unscopedStyle=i}else n._style||(n._style=kr(n));i.push(o?n._unscopedStyle:n._style)}}return i}const Nr="include",Br=window.ShadyCSS.CustomStyleInterface;class Rr extends HTMLElement{constructor(){super(),this._style=null,Br.addCustomStyle(this)}getStyle(){if(this._style)return this._style;const e=this.querySelector("style");if(!e)return null;this._style=e;var i=e.getAttribute(Nr);return i&&(e.removeAttribute(Nr),e.textContent=function(){let t=i.trim().split(/\s+/),n="";for(let e=0;e<t.length;e++)n+=function(e){let o=Dr(e);if(o&&void 0===o._cssText){let e=function(){let t="",n=Or(o);for(let e=0;e<n.length;e++)t+=n[e].textContent;return t}(),t=o.querySelector("template");t&&(e+=function(){let n="";var i=Lr(t,o.assetpath);for(let t=0;t<i.length;t++){let e=i[t];e.parentNode&&e.parentNode.removeChild(e),n+=e.textContent}return n}()),o._cssText=e||null}return o||console.warn("Could not find style data in module named",e),o&&o._cssText||""}(t[e]);return n}()+e.textContent),this.ownerDocument!==window.document&&window.document.head.appendChild(this),this._style}}window.customElements.define("custom-style",Rr);const Fr=document.createElement("template");Fr.innerHTML="<custom-style>\n <style>\n html {\n --lumo-size-xs: 1.625rem;\n --lumo-size-s: 1.875rem;\n --lumo-size-m: 2.25rem;\n --lumo-size-l: 2.75rem;\n --lumo-size-xl: 3.5rem;\n\n /* Icons */\n --lumo-icon-size-s: 1.25em;\n --lumo-icon-size-m: 1.5em;\n --lumo-icon-size-l: 2.25em;\n /* For backwards compatibility */\n --lumo-icon-size: var(--lumo-icon-size-m);\n }\n </style>\n</custom-style>",document.head.appendChild(Fr.content);const $r=document.createElement("template");$r.innerHTML="<custom-style>\n <style>\n html {\n /* Square */\n --lumo-space-xs: 0.25rem;\n --lumo-space-s: 0.5rem;\n --lumo-space-m: 1rem;\n --lumo-space-l: 1.5rem;\n --lumo-space-xl: 2.5rem;\n\n /* Wide */\n --lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);\n --lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);\n --lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);\n --lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);\n --lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);\n\n /* Tall */\n --lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);\n --lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);\n --lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);\n --lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);\n --lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);\n }\n </style>\n</custom-style>",document.head.appendChild($r.content);const zr=document.createElement("template");zr.innerHTML="<custom-style>\n <style>\n html {\n /* Border radius */\n --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */\n --lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */\n --lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */\n --lumo-border-radius: 0.25em; /* Deprecated */\n\n /* Shadow */\n --lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);\n --lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);\n --lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);\n --lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);\n --lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);\n\n /* Clickable element cursor */\n --lumo-clickable-cursor: default;\n }\n </style>\n</custom-style>",document.head.appendChild(zr.content);const Wr=document.createElement("template");Wr.innerHTML='<custom-style>\n <style>\n html {\n /* Base (background) */\n --lumo-base-color: #FFF;\n\n /* Tint */\n --lumo-tint-5pct: hsla(0, 0%, 100%, 0.3);\n --lumo-tint-10pct: hsla(0, 0%, 100%, 0.37);\n --lumo-tint-20pct: hsla(0, 0%, 100%, 0.44);\n --lumo-tint-30pct: hsla(0, 0%, 100%, 0.5);\n --lumo-tint-40pct: hsla(0, 0%, 100%, 0.57);\n --lumo-tint-50pct: hsla(0, 0%, 100%, 0.64);\n --lumo-tint-60pct: hsla(0, 0%, 100%, 0.7);\n --lumo-tint-70pct: hsla(0, 0%, 100%, 0.77);\n --lumo-tint-80pct: hsla(0, 0%, 100%, 0.84);\n --lumo-tint-90pct: hsla(0, 0%, 100%, 0.9);\n --lumo-tint: #FFF;\n\n /* Shade */\n --lumo-shade-5pct: hsla(214, 61%, 25%, 0.05);\n --lumo-shade-10pct: hsla(214, 57%, 24%, 0.1);\n --lumo-shade-20pct: hsla(214, 53%, 23%, 0.16);\n --lumo-shade-30pct: hsla(214, 50%, 22%, 0.26);\n --lumo-shade-40pct: hsla(214, 47%, 21%, 0.38);\n --lumo-shade-50pct: hsla(214, 45%, 20%, 0.5);\n --lumo-shade-60pct: hsla(214, 43%, 19%, 0.61);\n --lumo-shade-70pct: hsla(214, 42%, 18%, 0.72);\n --lumo-shade-80pct: hsla(214, 41%, 17%, 0.83);\n --lumo-shade-90pct: hsla(214, 40%, 16%, 0.94);\n --lumo-shade: hsl(214, 35%, 15%);\n\n /* Contrast */\n --lumo-contrast-5pct: var(--lumo-shade-5pct);\n --lumo-contrast-10pct: var(--lumo-shade-10pct);\n --lumo-contrast-20pct: var(--lumo-shade-20pct);\n --lumo-contrast-30pct: var(--lumo-shade-30pct);\n --lumo-contrast-40pct: var(--lumo-shade-40pct);\n --lumo-contrast-50pct: var(--lumo-shade-50pct);\n --lumo-contrast-60pct: var(--lumo-shade-60pct);\n --lumo-contrast-70pct: var(--lumo-shade-70pct);\n --lumo-contrast-80pct: var(--lumo-shade-80pct);\n --lumo-contrast-90pct: var(--lumo-shade-90pct);\n --lumo-contrast: var(--lumo-shade);\n\n /* Text */\n --lumo-header-text-color: var(--lumo-contrast);\n --lumo-body-text-color: var(--lumo-contrast-90pct);\n --lumo-secondary-text-color: var(--lumo-contrast-70pct);\n --lumo-tertiary-text-color: var(--lumo-contrast-50pct);\n --lumo-disabled-text-color: var(--lumo-contrast-30pct);\n\n /* Primary */\n --lumo-primary-color: hsl(214, 90%, 52%);\n --lumo-primary-color-50pct: hsla(214, 90%, 52%, 0.5);\n --lumo-primary-color-10pct: hsla(214, 90%, 52%, 0.1);\n --lumo-primary-text-color: var(--lumo-primary-color);\n --lumo-primary-contrast-color: #FFF;\n\n /* Error */\n --lumo-error-color: hsl(3, 100%, 61%);\n --lumo-error-color-50pct: hsla(3, 100%, 60%, 0.5);\n --lumo-error-color-10pct: hsla(3, 100%, 60%, 0.1);\n --lumo-error-text-color: hsl(3, 92%, 53%);\n --lumo-error-contrast-color: #FFF;\n\n /* Success */\n --lumo-success-color: hsl(145, 80%, 42%); /* hsl(144,82%,37%); */\n --lumo-success-color-50pct: hsla(145, 76%, 44%, 0.55);\n --lumo-success-color-10pct: hsla(145, 76%, 44%, 0.12);\n --lumo-success-text-color: hsl(145, 100%, 32%);\n --lumo-success-contrast-color: #FFF;\n }\n </style>\n</custom-style><dom-module id="lumo-color">\n <template>\n <style>\n [theme~="dark"] {\n /* Base (background) */\n --lumo-base-color: hsl(214, 35%, 21%);\n\n /* Tint */\n --lumo-tint-5pct: hsla(214, 65%, 85%, 0.06);\n --lumo-tint-10pct: hsla(214, 60%, 80%, 0.14);\n --lumo-tint-20pct: hsla(214, 64%, 82%, 0.23);\n --lumo-tint-30pct: hsla(214, 69%, 84%, 0.32);\n --lumo-tint-40pct: hsla(214, 73%, 86%, 0.41);\n --lumo-tint-50pct: hsla(214, 78%, 88%, 0.5);\n --lumo-tint-60pct: hsla(214, 82%, 90%, 0.6);\n --lumo-tint-70pct: hsla(214, 87%, 92%, 0.7);\n --lumo-tint-80pct: hsla(214, 91%, 94%, 0.8);\n --lumo-tint-90pct: hsla(214, 96%, 96%, 0.9);\n --lumo-tint: hsl(214, 100%, 98%);\n\n /* Shade */\n --lumo-shade-5pct: hsla(214, 0%, 0%, 0.07);\n --lumo-shade-10pct: hsla(214, 4%, 2%, 0.15);\n --lumo-shade-20pct: hsla(214, 8%, 4%, 0.23);\n --lumo-shade-30pct: hsla(214, 12%, 6%, 0.32);\n --lumo-shade-40pct: hsla(214, 16%, 8%, 0.41);\n --lumo-shade-50pct: hsla(214, 20%, 10%, 0.5);\n --lumo-shade-60pct: hsla(214, 24%, 12%, 0.6);\n --lumo-shade-70pct: hsla(214, 28%, 13%, 0.7);\n --lumo-shade-80pct: hsla(214, 32%, 13%, 0.8);\n --lumo-shade-90pct: hsla(214, 33%, 13%, 0.9);\n --lumo-shade: hsl(214, 33%, 13%);\n\n /* Contrast */\n --lumo-contrast-5pct: var(--lumo-tint-5pct);\n --lumo-contrast-10pct: var(--lumo-tint-10pct);\n --lumo-contrast-20pct: var(--lumo-tint-20pct);\n --lumo-contrast-30pct: var(--lumo-tint-30pct);\n --lumo-contrast-40pct: var(--lumo-tint-40pct);\n --lumo-contrast-50pct: var(--lumo-tint-50pct);\n --lumo-contrast-60pct: var(--lumo-tint-60pct);\n --lumo-contrast-70pct: var(--lumo-tint-70pct);\n --lumo-contrast-80pct: var(--lumo-tint-80pct);\n --lumo-contrast-90pct: var(--lumo-tint-90pct);\n --lumo-contrast: var(--lumo-tint);\n\n /* Text */\n --lumo-header-text-color: var(--lumo-contrast);\n --lumo-body-text-color: var(--lumo-contrast-90pct);\n --lumo-secondary-text-color: var(--lumo-contrast-70pct);\n --lumo-tertiary-text-color: var(--lumo-contrast-50pct);\n --lumo-disabled-text-color: var(--lumo-contrast-30pct);\n\n /* Primary */\n --lumo-primary-color: hsl(214, 86%, 55%);\n --lumo-primary-color-50pct: hsla(214, 86%, 55%, 0.5);\n --lumo-primary-color-10pct: hsla(214, 90%, 63%, 0.1);\n --lumo-primary-text-color: hsl(214, 100%, 70%);\n --lumo-primary-contrast-color: #FFF;\n\n /* Error */\n --lumo-error-color: hsl(3, 90%, 63%);\n --lumo-error-color-50pct: hsla(3, 90%, 63%, 0.5);\n --lumo-error-color-10pct: hsla(3, 90%, 63%, 0.1);\n --lumo-error-text-color: hsl(3, 100%, 67%);\n\n /* Success */\n --lumo-success-color: hsl(145, 65%, 42%);\n --lumo-success-color-50pct: hsla(145, 65%, 42%, 0.5);\n --lumo-success-color-10pct: hsla(145, 65%, 42%, 0.1);\n --lumo-success-text-color: hsl(145, 85%, 47%);\n }\n\n html {\n color: var(--lumo-body-text-color);\n background-color: var(--lumo-base-color);\n }\n\n [theme~="dark"] {\n color: var(--lumo-body-text-color);\n background-color: var(--lumo-base-color);\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n color: var(--lumo-header-text-color);\n }\n\n a {\n color: var(--lumo-primary-text-color);\n }\n\n blockquote {\n color: var(--lumo-secondary-text-color);\n }\n\n code,\n pre {\n background-color: var(--lumo-contrast-10pct);\n border-radius: var(--lumo-border-radius-m);\n }\n </style>\n </template>\n</dom-module><dom-module id="lumo-color-legacy">\n <template>\n <style include="lumo-color">\n :host {\n color: var(--lumo-body-text-color) !important;\n background-color: var(--lumo-base-color) !important;\n }\n </style>\n </template>\n</dom-module>',document.head.appendChild(Wr.content);const Yr=document.createElement("template");Yr.innerHTML='<custom-style>\n <style>\n html {\n /* Font families */\n --lumo-font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n\n /* Font sizes */\n --lumo-font-size-xxs: .75rem;\n --lumo-font-size-xs: .8125rem;\n --lumo-font-size-s: .875rem;\n --lumo-font-size-m: 1rem;\n --lumo-font-size-l: 1.125rem;\n --lumo-font-size-xl: 1.375rem;\n --lumo-font-size-xxl: 1.75rem;\n --lumo-font-size-xxxl: 2.5rem;\n\n /* Line heights */\n --lumo-line-height-xs: 1.25;\n --lumo-line-height-s: 1.375;\n --lumo-line-height-m: 1.625;\n }\n\n </style>\n</custom-style><dom-module id="lumo-typography">\n <template>\n <style>\n html {\n font-family: var(--lumo-font-family);\n font-size: var(--lumo-font-size, var(--lumo-font-size-m));\n line-height: var(--lumo-line-height-m);\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n /* Can’t combine with the above selector because that doesn’t work in browsers without native shadow dom */\n :host {\n font-family: var(--lumo-font-family);\n font-size: var(--lumo-font-size, var(--lumo-font-size-m));\n line-height: var(--lumo-line-height-m);\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n small,\n [theme~="font-size-s"] {\n font-size: var(--lumo-font-size-s);\n line-height: var(--lumo-line-height-s);\n }\n\n [theme~="font-size-xs"] {\n font-size: var(--lumo-font-size-xs);\n line-height: var(--lumo-line-height-xs);\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-weight: 600;\n line-height: var(--lumo-line-height-xs);\n margin-top: 1.25em;\n }\n\n h1 {\n font-size: var(--lumo-font-size-xxxl);\n margin-bottom: 0.75em;\n }\n\n h2 {\n font-size: var(--lumo-font-size-xxl);\n margin-bottom: 0.5em;\n }\n\n h3 {\n font-size: var(--lumo-font-size-xl);\n margin-bottom: 0.5em;\n }\n\n h4 {\n font-size: var(--lumo-font-size-l);\n margin-bottom: 0.5em;\n }\n\n h5 {\n font-size: var(--lumo-font-size-m);\n margin-bottom: 0.25em;\n }\n\n h6 {\n font-size: var(--lumo-font-size-xs);\n margin-bottom: 0;\n text-transform: uppercase;\n letter-spacing: 0.03em;\n }\n\n p,\n blockquote {\n margin-top: 0.5em;\n margin-bottom: 0.75em;\n }\n\n a {\n text-decoration: none;\n }\n\n a:hover {\n text-decoration: underline;\n }\n\n hr {\n display: block;\n align-self: stretch;\n height: 1px;\n border: 0;\n padding: 0;\n margin: var(--lumo-space-s) calc(var(--lumo-border-radius-m) / 2);\n background-color: var(--lumo-contrast-10pct);\n }\n\n blockquote {\n border-left: 2px solid var(--lumo-contrast-30pct);\n }\n\n b,\n strong {\n font-weight: 600;\n }\n\n /* RTL specific styles */\n\n blockquote[dir="rtl"] {\n border-left: none;\n border-right: 2px solid var(--lumo-contrast-30pct);\n }\n\n </style>\n </template>\n</dom-module>',document.head.appendChild(Yr.content);const Hr=document.createElement("template");Hr.innerHTML='<dom-module id="lumo-overlay">\n <template>\n <style>\n :host {\n top: var(--lumo-space-m);\n right: var(--lumo-space-m);\n bottom: var(--lumo-space-m);\n left: var(--lumo-space-m);\n /* Workaround for Edge issue (only on Surface), where an overflowing vaadin-list-box inside vaadin-select-overlay makes the overlay transparent */\n /* stylelint-disable-next-line */\n outline: 0px solid transparent;\n }\n\n [part="overlay"] {\n background-color: var(--lumo-base-color);\n background-image: linear-gradient(var(--lumo-tint-5pct), var(--lumo-tint-5pct));\n border-radius: var(--lumo-border-radius-m);\n box-shadow: 0 0 0 1px var(--lumo-shade-5pct), var(--lumo-box-shadow-m);\n color: var(--lumo-body-text-color);\n font-family: var(--lumo-font-family);\n font-size: var(--lumo-font-size-m);\n font-weight: 400;\n line-height: var(--lumo-line-height-m);\n letter-spacing: 0;\n text-transform: none;\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n [part="content"] {\n padding: var(--lumo-space-xs);\n }\n\n [part="backdrop"] {\n background-color: var(--lumo-shade-20pct);\n animation: 0.2s lumo-overlay-backdrop-enter both;\n will-change: opacity;\n }\n\n @keyframes lumo-overlay-backdrop-enter {\n 0% {\n opacity: 0;\n }\n }\n\n :host([closing]) [part="backdrop"] {\n animation: 0.2s lumo-overlay-backdrop-exit both;\n }\n\n @keyframes lumo-overlay-backdrop-exit {\n 100% {\n opacity: 0;\n }\n }\n\n @keyframes lumo-overlay-dummy-animation {\n 0% { opacity: 1; }\n 100% { opacity: 1; }\n }\n </style>\n </template>\n</dom-module>',document.head.appendChild(Hr.content);const Ur=document.createElement("template");Ur.innerHTML='<dom-module id="lumo-menu-overlay-core">\n <template>\n <style>\n :host([opening]),\n :host([closing]) {\n animation: 0.14s lumo-overlay-dummy-animation;\n }\n\n [part="overlay"] {\n will-change: opacity, transform;\n }\n\n :host([opening]) [part="overlay"] {\n animation: 0.1s lumo-menu-overlay-enter ease-out both;\n }\n\n @keyframes lumo-menu-overlay-enter {\n 0% {\n opacity: 0;\n transform: translateY(-4px);\n }\n }\n\n :host([closing]) [part="overlay"] {\n animation: 0.1s lumo-menu-overlay-exit both;\n }\n\n @keyframes lumo-menu-overlay-exit {\n 100% {\n opacity: 0;\n }\n }\n </style>\n </template>\n</dom-module><dom-module id="lumo-menu-overlay">\n <template>\n <style include="lumo-overlay lumo-menu-overlay-core">\n /* Small viewport (bottom sheet) styles */\n /* Use direct media queries instead of the state attributes (`[phone]` and `[fullscreen]`) provided by the elements */\n @media (max-width: 420px), (max-height: 420px) {\n :host {\n top: 0 !important;\n right: 0 !important;\n bottom: var(--vaadin-overlay-viewport-bottom, 0) !important;\n left: 0 !important;\n align-items: stretch !important;\n justify-content: flex-end !important;\n }\n\n [part="overlay"] {\n max-height: 50vh;\n width: 100vw;\n border-radius: 0;\n box-shadow: var(--lumo-box-shadow-xl);\n }\n\n /* The content part scrolls instead of the overlay part, because of the gradient fade-out */\n [part="content"] {\n padding: 30px var(--lumo-space-m);\n max-height: inherit;\n box-sizing: border-box;\n -webkit-overflow-scrolling: touch;\n overflow: auto;\n -webkit-mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);\n mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);\n }\n\n [part="backdrop"] {\n display: block;\n }\n\n /* Animations */\n\n :host([opening]) [part="overlay"] {\n animation: 0.2s lumo-mobile-menu-overlay-enter cubic-bezier(.215, .61, .355, 1) both;\n }\n\n :host([closing]),\n :host([closing]) [part="backdrop"] {\n animation-delay: 0.14s;\n }\n\n :host([closing]) [part="overlay"] {\n animation: 0.14s 0.14s lumo-mobile-menu-overlay-exit cubic-bezier(.55, .055, .675, .19) both;\n }\n }\n\n @keyframes lumo-mobile-menu-overlay-enter {\n 0% {\n transform: translateY(150%);\n }\n }\n\n @keyframes lumo-mobile-menu-overlay-exit {\n 100% {\n transform: translateY(150%);\n }\n }\n </style>\n </template>\n</dom-module>',document.head.appendChild(Ur.content);class jr{constructor(e){this.value=e.toString()}toString(){return this.value}}const Gr=function(i,...e){const t=document.createElement("template");return t.innerHTML=e.reduce((e,t,n)=>e+function(e){if(e instanceof HTMLTemplateElement)return e.innerHTML;if(e instanceof jr)return function(e){if(e instanceof jr)return e.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${e}`)}(e);throw new Error(`non-template value passed to Polymer's html function: ${e}`)}(t)+i[n+1],i[0]),t},Vr=Gr`<dom-module id="lumo-date-picker-overlay" theme-for="vaadin-date-picker-overlay">
|
|
2
2
|
<template>
|
|
3
3
|
<style include="lumo-menu-overlay">
|
|
4
4
|
[part="overlay"] {
|
|
@@ -1685,5 +1685,5 @@
|
|
|
1685
1685
|
|
|
1686
1686
|
<iron-media-query query="[[_fullscreenMediaQuery]]" query-matches="{{_fullscreen}}">
|
|
1687
1687
|
</iron-media-query>
|
|
1688
|
-
`}static get is(){return"vaadin-date-picker"}static get version(){return"4.0.1"}static get properties(){return{clearButtonVisible:{type:Boolean,value:!1},disabled:{type:Boolean,value:!1,reflectToAttribute:!0},errorMessage:String,placeholder:String,readonly:{type:Boolean,value:!1,reflectToAttribute:!0},invalid:{type:Boolean,reflectToAttribute:!0,notify:!0,value:!1},_userInputValue:String}}static get observers(){return["_userInputValueChanged(_userInputValue)","_setClearButtonLabel(i18n.clear)"]}ready(){super.ready(),mc(this,()=>this._inputElement.validate=()=>{}),this._inputElement.addEventListener("change",()=>{""===this._inputElement.value&&(this.__dispatchChange=!0,this.value="",this.__dispatchChange=!1)})}_onVaadinOverlayClose(e){this._openedWithFocusRing&&this.hasAttribute("focused")?this.focusElement.setAttribute("focus-ring",""):this.hasAttribute("focused")||this.focusElement.blur(),e.detail.sourceEvent&&-1!==e.detail.sourceEvent.composedPath().indexOf(this)&&e.preventDefault()}_toggle(e){e.stopPropagation(),this[this._overlayInitialized&&this.$.overlay.opened?"close":"open"]()}_input(){return this.$.input}set _inputValue(e){this._inputElement.value=e}get _inputValue(){return this._inputElement.value}_getAriaExpanded(e){return Boolean(e).toString()}get focusElement(){return this._input()||this}_setClearButtonLabel(e){this._inputElement.shadowRoot.querySelector('[part="clear-button"]').setAttribute("aria-label",e)}}function Fd(e){let n,i,o,r,s;return{c(){n=Ct("p"),i=Ct("strong"),o=Pt("Your self-exclusion period will last until the "),r=Pt(e[2]),s=Pt(" 23:59."),St(n,"class","SelfExclusionDescriptionText")},m(e,t){vt(e,n,t),bt(n,i),bt(i,o),bt(i,r),bt(i,s)},p(e,t){4&t&&q(r,e[2])},d(e){e&&wt(n)}}}function $d(e){let n;return{c(){n=Ct("p"),n.innerHTML="<strong>Your self-exclusion period will be permanent.</strong>",St(n,"class","SelfExclusionDescriptionText")},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function zd(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w,x,C,P,A,T,S,E,M,D,k,I,L,O,N=n[4]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="PlayerSelfExclusionTitleMobile">Self-Exclusion</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[8]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(n);function B(e){return e[1]?$d:Fd}let R=B(n),F=R(n);return{c(){i=Ct("div"),N&&N.c(),o=At(),r=Ct("h2"),s=Pt("Self-Exclusion"),a=At(),l=Ct("div"),c=Ct("p"),c.textContent="Everymatrix recognizes that gambling can lead to addiction and in our effort to prevent these problems, we offer our users the ability to exclude all forms of betting on our site for a certain of indefinite period of time.",d=At(),u=Ct("p"),u.textContent='Self-exclusion takes effect from the time it is set for the period you choose. Select a timeframe below then click "Confirm".',h=At(),p=Ct("p"),p.textContent="During self-exclusion you will not be able to access your Everymatrix account. In the case of permanent self-exclusion, it is only possible to revoke Self-exclusion upon written request and only 6 months post its initial application. Please note that an alternative way to request self-exclusion is to contact Customer Service as follows: E-mail: support@everymatrix.com",m=At(),f=Ct("p"),f.innerHTML='E-mail: <a href="mailto:support@everymatrix.com">support@everymatrix.com</a>',g=At(),y=Ct("div"),_=Ct("label"),_.textContent="Duration:",b=At(),v=Ct("vaadin-date-picker"),w=At(),x=Ct("div"),C=Ct("label"),P=Pt("Forever\n "),A=Ct("input"),T=At(),S=Ct("span"),E=At(),M=Ct("div"),F.c(),D=At(),k=Ct("div"),I=Ct("button"),I.textContent="Save",this.c=yt,St(r,"class","PlayerSelfExclusionTitle "+(n[4]?"PlayerSelfExclusionTitleNone":"")),St(c,"class","SelfExclusionDescriptionText"),St(u,"class","SelfExclusionDescriptionText"),St(p,"class","SelfExclusionDescriptionText"),St(f,"class","SelfExclusionDescriptionText"),St(l,"class","SelfExclusionDescription "+(n[4]?"SelfExclusionDescriptionMobile":"")),St(_,"for","SelfExclusionDate"),V(v,"min",n[3]),St(y,"class","SelfExclusionDateWrapper "+(n[4]?"SelfExclusionDateWrapperMobile":"")),St(A,"type","Checkbox"),St(S,"class","Checkmark"),St(C,"class","SelfExclusionRadio"),St(x,"class","SelfExclusionRadioWrapper "+(n[4]?"SelfExclusionRadioWrapperMobile":"")),St(M,"class","SelfExclusionDescription "+(n[4]?"SelfExclusionDescriptionMobile":"")),St(I,"class","SelfExclusionSave"),St(k,"class","SelfExclusionActionButtons "+(n[4]?"SelfExclusionActionButtonsMobile":"")),St(i,"class","SelfExclusionWrapper "+(n[4]?"SelfExclusionWrapperMobile":""))},m(e,t){vt(e,i,t),N&&N.m(i,null),bt(i,o),bt(i,r),bt(r,s),bt(i,a),bt(i,l),bt(l,c),bt(l,d),bt(l,u),bt(l,h),bt(l,p),bt(l,m),bt(l,f),bt(i,g),bt(i,y),bt(y,_),bt(y,b),bt(y,v),n[9](v),bt(i,w),bt(i,x),bt(x,C),bt(C,P),bt(C,A),bt(C,T),bt(C,S),bt(i,E),bt(i,M),F.m(M,null),bt(i,D),bt(i,k),bt(k,I),L||(O=[Tt(A,"click",n[10]),Tt(I,"click",n[11])],L=!0)},p(e,[t]){e[4]&&N.p(e,t),8&t&&V(v,"min",e[3]),R===(R=B(e))&&F?F.p(e,t):(F.d(1),F=R(e),F&&(F.c(),F.m(M,null)))},i:yt,o:yt,d(e){e&&wt(i),N&&N.d(),n[9](null),F.d(),L=!1,_t(O)}}}function Wd(e,t,n){let i,o,r=window.navigator.userAgent,s="PC"!==ki(r),a=!1,l="",c="",d=new Date;d.setDate(d.getDate()+7),o=Io(d).format("YYYY-MM-DD");const u=()=>{n(1,a=0==a)},h=e=>{1==a?l="SelfExclusionPermanent":(l="SelfExclusionPeriod",n(2,c=e))},p=()=>{h(),window.postMessage({type:"SetSelfExclusion",selfExclusionPeriod:l,selfExclusionExpiryDate:c},window.location.href)},m=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},f=e=>{h(e.target.value)};return Z(()=>()=>{i.removeEventListener("change",f)}),e.$$.update=()=>{1&e.$$.dirty&&i&&i.addEventListener("change",f,!1)},[i,a,c,o,s,u,p,m,()=>m(),function(e){J[e?"unshift":"push"](()=>{i=e,n(0,i)})},()=>u(),()=>p()]}function Yd(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g=n[0]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="AccountClosureTitleMobile">Account Closure</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[3]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(n);return{c(){i=Ct("div"),g&&g.c(),o=At(),r=Ct("h2"),s=Pt("Account Closure"),a=At(),l=Ct("div"),c=Ct("p"),c.textContent="Account Closure provides a permanent access restriction to your account if you feel you need a break, or you just want to stop using our services.",d=At(),u=Ct("div"),h=Ct("button"),p=Pt("Close Account"),this.c=yt,St(r,"class","AccountClosureTitle "+(n[0]?"AccountClosureTitleNone":"")),St(l,"class","AccountClosureDescription "+(n[0]?"AccountClosureDescriptionMobile":"")),St(h,"class","AccountClosureSave "+(n[0]?"AccountClosureSaveMobile":"")),St(u,"class","AccountClosureActionButtons "+(n[0]?"AccountClosureActionButtonsMobile":"")),St(i,"class","AccountClosureWrapper "+(n[0]?"AccountClosureWrapperMobile":""))},m(e,t){vt(e,i,t),g&&g.m(i,null),bt(i,o),bt(i,r),bt(r,s),bt(i,a),bt(i,l),bt(l,c),bt(i,d),bt(i,u),bt(u,h),bt(h,p),m||(f=Tt(h,"click",n[4]),m=!0)},p(e,[t]){e[0]&&g.p(e,t)},i:yt,o:yt,d(e){e&&wt(i),g&&g.d(),m=!1,f()}}}function Hd(e){var t=window.navigator.userAgent,t="PC"!==ki(t);const n=()=>{window.postMessage({type:"AccountClosure"},window.location.href)},i=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)};return[t,n,i,()=>i(),()=>n()]}customElements.define(Rd.is,Rd),customElements.get("player-account-self-exclusion")||customElements.define("player-account-self-exclusion",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerSelfExclusionTitle{font-size:26px;color:#D0046C;font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:16px;color:#D0046C}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionWrapper{color:#07072A;padding:50px;max-width:760px}.SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;background:#fff;max-width:unset}.MenuReturnButton{color:#58586B;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionDescription{color:#58586B;line-height:24px}.SelfExclusionDescription.SelfExclusionDescriptionMobile{font-size:12px;line-height:19.2px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:#D0046C}.SelfExclusionDateWrapper{color:#58586B;display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:14px;font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 35.008px;margin-bottom:16px;font-size:16px;user-select:none;line-height:19.2px}.SelfExclusionRadioWrapper label{font-size:16px;cursor:pointer}.SelfExclusionRadioWrapper input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25.008px;width:25.008px;background-color:#D1D1D1;border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:#D0046C}.SelfExclusionRadioWrapper .Checkmark:after{content:\"\";position:absolute;display:none;left:9.008px;top:5.008px;width:5.008px;height:10px;border:solid white;border-width:0 3.008px 3.008px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-size:12px}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:#D0046C;border:1px solid #D0046C;color:#fff}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:12px}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Wd,zd,n,{}),e&&e.target&&vt(e.target,this,e.anchor)}}),customElements.get("player-account-closure")||customElements.define("player-account-closure",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.AccountClosureWrapper{color:#07072A;padding:50px;max-width:760px}.AccountClosureWrapper.AccountClosureWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:#D0046C}.AccountClosureTitle{font-size:26px;color:#D0046C;font-weight:400}.AccountClosureTitleMobile{font-size:16px}.AccountClosureTitleNone{display:none}.AccountClosureDescription{color:#58586B;line-height:24px}.AccountClosureDescription.AccountClosureDescriptionMobile{font-size:12px;line-height:19.2px}.AccountClosureActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%;color:#fff}.AccountClosureActionButtons.AccountClosureActionButtonsMobile{width:100%;grid-template-columns:1fr}.AccountClosureSave{background:#D0046C;border:1px solid #D0046C;color:#fff;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}.AccountClosureSave.AccountClosureSaveMobile{width:100%;height:40px;font-size:12px;grid-template-columns:1fr}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Hd,Yd,n,{}),e&&e.target&&vt(e.target,this,e.anchor)}});const Ud={en:{gamingLimits:{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"}},ro:{gamingLimits:{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"}}},jd={en:{cardText:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"}},ro:{cardText:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"}}},Gd={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:"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."}}};function Vd(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y=n[3]("popupText.name")+"";function _(e){return e[0]?Xd:qd}let b=_(n),v=b(n);return{c(){i=Ct("section"),o=Ct("div"),r=Ct("div"),s=Ct("div"),s.textContent="i",a=At(),l=Ct("div"),c=Pt(y),d=At(),u=Ct("div"),u.innerHTML='<svg class="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=At(),p=Ct("div"),v.c(),St(s,"class","InfoCardPopupIcon"),St(l,"class","InfoCardPopupTitle"),St(u,"class","InfoCardPopupCloseButton"),St(r,"class","InfoCardPopupHeader"),St(p,"class","InfoCardPopupContentArea"),St(o,"class",m="InfoCardPopupWrapper "+(n[4]?"InfoCardPopupMobileWrapper":"")+" "+(n[0]?"InfoCardPopupLimitChanged":"")),St(i,"class",n[4]?"InfoCardPopupMobileModal":"")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(r,a),bt(r,l),bt(l,c),bt(r,d),bt(r,u),bt(o,h),bt(o,p),v.m(p,null),f||(g=Tt(u,"click",G(n[5])),f=!0)},p(e,t){8&t&&y!==(y=e[3]("popupText.name")+"")&&q(c,y),b===(b=_(e))&&v?v.p(e,t):(v.d(1),v=b(e),v&&(v.c(),v.m(p,null))),1&t&&m!==(m="InfoCardPopupWrapper "+(e[4]?"InfoCardPopupMobileWrapper":"")+" "+(e[0]?"InfoCardPopupLimitChanged":""))&&St(o,"class",m)},d(e){e&&wt(i),v.d(),f=!1,g()}}}function qd(e){let n,i,o=e[3]("popupText.defaultText")+"";return{c(){n=Ct("p"),i=Pt(o),St(n,"class","InfoCardPopupContent")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){8&t&&o!==(o=e[3]("popupText.defaultText")+"")&&q(i,o)},d(e){e&&wt(n)}}}function Xd(e){let n,i,o=e[3]("popupText.amountChanged",{values:{amount:e[0],currency:e[1]}})+"";return{c(){n=Ct("p"),i=Pt(o),St(n,"class","InfoCardPopupContent")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){11&t&&o!==(o=e[3]("popupText.amountChanged",{values:{amount:e[0],currency:e[1]}})+"")&&q(i,o)},d(e){e&&wt(n)}}}function Zd(e){let n,i=e[2]&&Vd(e);return{c(){i&&i.c(),n=k(),this.c=yt},m(e,t){i&&i.m(e,t),vt(e,n,t)},p(e,[t]){e[2]?i?i.p(e,t):(i=Vd(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},i:yt,o:yt,d(e){i&&i.d(e),e&&wt(n)}}}function Jd(e,t,n){let i;R(e,Di,e=>n(3,i=e));let{showpopup:o=""}=t,{iteminfoamount:r=""}=t,{lang:s="en"}=t,{playercurrency:a="USD"}=t;Object.keys(Gd).forEach(e=>{di(e,Gd[e])});let l=!1,c=window.navigator.userAgent,d="PC"!==ki(c);const u=e=>{e.data&&"ClosePlayerAccountGamingLimitsPopup"==e.data.type&&n(2,l=!1)};return Z(()=>(window.addEventListener("message",u,!1),()=>{window.removeEventListener("message",u)})),e.$$set=e=>{"showpopup"in e&&n(6,o=e.showpopup),"iteminfoamount"in e&&n(0,r=e.iteminfoamount),"lang"in e&&n(7,s=e.lang),"playercurrency"in e&&n(1,a=e.playercurrency)},e.$$.update=()=>{64&e.$$.dirty&&o&&(r<0&&n(0,r="0"),n(2,l=o))},[r,a,l,i,d,()=>{n(2,l=!1),window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href)},o,s]}customElements.get("player-account-gaming-limits-popup")||customElements.define("player-account-gaming-limits-popup",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.InfoCardPopupMobileModal:after{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);content:''}.InfoCardPopupLimitChanged{background:#FFFFF8}.InfoCardPopupWrapper{width:200px;padding:20px;color:#000;background:#fff;box-shadow:0px 4px 12px #00000012;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:#FFF transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%)}.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 #000;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:#FD2839;fill:#FD2839}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Jd,Zd,n,{showpopup:6,iteminfoamount:0,lang:7,playercurrency:1}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["showpopup","iteminfoamount","lang","playercurrency"]}get showpopup(){return this.$$.ctx[6]}set showpopup(e){this.$set({showpopup:e}),T()}get iteminfoamount(){return this.$$.ctx[0]}set iteminfoamount(e){this.$set({iteminfoamount:e}),T()}get lang(){return this.$$.ctx[7]}set lang(e){this.$set({lang:e}),T()}get playercurrency(){return this.$$.ctx[1]}set playercurrency(e){this.$set({playercurrency:e}),T()}});const Kd={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:"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"}}};function Qd(e,{delay:t=0,duration:n=400,easing:i=f}={}){const o=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:i,css:e=>"opacity: "+e*o}}function eu(n){let i,t,o;return{c(){i=Ct("div"),i.innerHTML='<div class="ModalContainer"><slot></slot></div>',St(i,"class","ModalWindow"),St(i,"id","Modal")},m(e,t){vt(e,i,t),n[3](i),o=!0},p(e,t){n=e},i(e){o||(Dt(()=>{t=t||N(i,Qd,{transitionDuration:n[1]},!0),t.run(1)}),o=!0)},o(e){t=t||N(i,Qd,{transitionDuration:n[1]},!1),t.run(0),o=!1},d(e){e&&wt(i),n[3](null),e&&t&&t.end()}}}function tu(e){let n,i,o=e[0]&&eu(e);return{c(){n=Ct("div"),o&&o.c(),this.c=yt},m(e,t){vt(e,n,t),o&&o.m(n,null),i=!0},p(e,[t]){e[0]?o?(o.p(e,t),1&t&&I(o,1)):(o=eu(e),o.c(),I(o,1),o.m(n,null)):o&&(D={r:0,c:[],p:D},L(o,1,1,()=>{o=null}),D.r||_t(D.c),D=D.p)},i(e){i||(I(o),i=!0)},o(e){L(o),i=!1},d(e){e&&wt(n),o&&o.d()}}}function nu(e,t,n){let i,{show:o=!1}=t,{duration:r=350}=t;const s=e=>{"ModalClosed"==e.data.type&&n(0,o=!1),"ShowLimitsConfirmationModal"===e.data.type&&(n(0,o=!0),window.postMessage({type:"DisableScroll"},window.location.href))};return Z(()=>(window.addEventListener("message",s,!1),()=>{window.removeEventListener("message",s)})),e.$$set=e=>{"show"in e&&n(0,o=e.show),"duration"in e&&n(1,r=e.duration)},[o,r,void 0,function(e){J[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}customElements.get("player-account-modal")||customElements.define("player-account-modal",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::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:10;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},nu,tu,n,{show:0,duration:1}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["show","duration"]}get show(){return this.$$.ctx[0]}set show(e){this.$set({show:e}),T()}get duration(){return this.$$.ctx[1]}set duration(e){this.$set({duration:e}),T()}});const iu={en:{modalText:{cancel:"Cancel",confirm:"Confirm"}},ro:{modalText:{cancel:"Cancel",confirm:"Confirm"}}};function ou(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y=n[1]("modalText.cancel")+"",_=n[1]("modalText.confirm")+"",b=!n[2]&&function(n){let i,o,r;return{c(){i=Ct("span"),i.innerHTML='<slot name="close"><svg class="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>',St(i,"class","ModalCloseBtn"),St(i,"role","button")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[3]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(n);return{c(){i=Ct("div"),b&&b.c(),o=At(),r=Ct("div"),s=Ct("div"),a=Pt(n[0]),l=At(),c=Ct("div"),d=Ct("button"),u=Pt(y),h=At(),p=Ct("button"),m=Pt(_),this.c=yt,St(s,"class","GamingLimitsConfirmationContent"),St(d,"class","GamingLimitsCancelButton"),St(p,"class","GamingLimitsConfirmButton"),St(c,"class","GamingLimitsConfirmationControlArea"),St(r,"class","GamingLimitsConfirmationContainer "+(n[2]?"GamingLimitsConfirmationContainerMobile":"")),St(i,"class","GamingLimitsConfirmationWrapper "+(n[2]?"GamingLimitsConfirmationMobileWrapper":""))},m(e,t){vt(e,i,t),b&&b.m(i,null),bt(i,o),bt(i,r),bt(r,s),bt(s,a),bt(r,l),bt(r,c),bt(c,d),bt(d,u),bt(c,h),bt(c,p),bt(p,m),f||(g=[Tt(d,"click",n[5]),Tt(p,"click",n[4])],f=!0)},p(e,[t]){e[2]||b.p(e,t),1&t&&q(a,e[0]),2&t&&y!==(y=e[1]("modalText.cancel")+"")&&q(u,y),2&t&&_!==(_=e[1]("modalText.confirm")+"")&&q(m,_)},i:yt,o:yt,d(e){e&&wt(i),b&&b.d(),f=!1,_t(g)}}}function ru(e,t,n){let i;R(e,Di,e=>n(1,i=e));let{modaltext:o="Are you sure that you want to perform this action?"}=t,{modalsource:r=""}=t;Object.keys(iu).forEach(e=>{di(e,iu[e])});let s=window.navigator.userAgent,a="PC"!==ki(s),l={},c="";const d=e=>{e.data&&"DeleteLimitsItem"===e.data.type&&(l=e.data.removeData,e=e.data.removeName,c="Time Limit"===e?"cumulativeSessionLimits":"Deposit Limit"===e?"depositLimits":"Wagering Limit"===e?"wageringLimit":"lossLimit")};return Z(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)})),e.$$set=e=>{"modaltext"in e&&n(0,o=e.modaltext),"modalsource"in e&&n(6,r=e.modalsource)},e.$$.update=()=>{e.$$.dirty},[o,i,a,()=>{window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},()=>{"groupEdit"===r?window.postMessage({type:"GamingLimitsConfirmChanges"},window.location.href):"infoCard"===r&&window.postMessage({type:"PlayerAccountGamingLimitDelete",limit:l,name:c},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},()=>{"groupEdit"===r?window.postMessage({type:"CancelGamingLimitsChanges"},window.location.href):"infoCard"===r&&window.postMessage({type:"CancelGamingLimitsRemove"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},r]}function su(e,t,n){const i=e.slice();return i[53]=t[n],i[54]=t,i[49]=n,i}function au(e,t,n){const i=e.slice();return i[47]=t[n],i}function lu(e,t,n){const i=e.slice();return i[47]=t[n],i}function cu(e,t,n){const i=e.slice();return i[47]=t[n],i[48]=t,i[49]=n,i}function du(e,t,n){const i=e.slice();return i[50]=t[n],i}function uu(e,t,n){const i=e.slice();return i[47]=t[n],i[49]=n,i}function hu(e){let n,i,o,r=e[17]("editText.success")+"";return{c(){n=Ct("div"),i=Ct("p"),o=Pt(r),St(n,"class","AccountEditLimitSuccessfulChangeContainer")},m(e,t){vt(e,n,t),bt(n,i),bt(i,o)},p(e,t){131072&t[0]&&r!==(r=e[17]("editText.success")+"")&&q(o,r)},d(e){e&&wt(n)}}}function pu(e){let n;function i(e){return e[10]?fu:mu}let o=i(e),r=o(e);return{c(){n=Ct("div"),r.c(),St(n,"class","AccountEditLimitSuccessfulChangeContainer")},m(e,t){vt(e,n,t),r.m(n,null)},p(e,t){o===(o=i(e))&&r?r.p(e,t):(r.d(1),r=o(e),r&&(r.c(),r.m(n,null)))},d(e){e&&wt(n),r.d()}}}function mu(e){let n,i,o,r,s=e[17]("editText.remove")+"",a=(e[0].expiryDate?Io(e[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=Ct("p"),i=Pt(s),o=At(),r=Pt(a)},m(e,t){vt(e,n,t),bt(n,i),bt(n,o),bt(n,r)},p(e,t){131072&t[0]&&s!==(s=e[17]("editText.remove")+"")&&q(i,s),1&t[0]&&a!==(a=(e[0].expiryDate?Io(e[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&q(r,a)},d(e){e&&wt(n)}}}function fu(t){let o,r=t[13],s=[];for(let e=0;e<r.length;e+=1)s[e]=yu(uu(t,r,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();o=k()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);vt(t,o,n)},p(t,n){if(204800&n[0]){let e;for(r=t[13],e=0;e<r.length;e+=1){var i=uu(t,r,e);s[e]?s[e].p(i,n):(s[e]=yu(i),s[e].c(),s[e].m(o.parentNode,o))}for(;e<s.length;e+=1)s[e].d(1);s.length=r.length}},d(e){xt(s,e),e&&wt(o)}}}function gu(e){let n,i,o,r,s=e[17]("editText.remove")+"",a=(e[47].expiryDate?Io(e[47].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=Ct("p"),i=Pt(s),o=At(),r=Pt(a)},m(e,t){vt(e,n,t),bt(n,i),bt(n,o),bt(n,r)},p(e,t){131072&t[0]&&s!==(s=e[17]("editText.remove")+"")&&q(i,s),8192&t[0]&&a!==(a=(e[47].expiryDate?Io(e[47].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&q(r,a)},d(e){e&&wt(n)}}}function yu(e){let n,i=e[47].period==e[16][e[49]].periodName&&gu(e);return{c(){i&&i.c(),n=k()},m(e,t){i&&i.m(e,t),vt(e,n,t)},p(e,t){e[47].period==e[16][e[49]].periodName?i?i.p(e,t):(i=gu(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&wt(n)}}}function _u(e){let n;function i(e){return e[10]?vu:bu}let o=i(e),r=o(e);return{c(){n=Ct("div"),r.c(),St(n,"class","AccountEditContent")},m(e,t){vt(e,n,t),r.m(n,null)},p(e,t){o===(o=i(e))&&r?r.p(e,t):(r.d(1),r=o(e),r&&(r.c(),r.m(n,null)))},d(e){e&&wt(n),r.d()}}}function bu(o){let r,n,i,s,a,e,l,c,d,u=o[21],h=[];for(let e=0;e<u.length;e+=1)h[e]=wu(lu(o,u,e));let p=o[16],m=[];for(let e=0;e<p.length;e+=1)m[e]=Su(su(o,p,e));return{c(){r=Ct("div"),n=Ct("div"),i=Ct("p"),i.textContent="Limit",s=At(),a=Ct("select");for(let e=0;e<h.length;e+=1)h[e].c();l=At();for(let e=0;e<m.length;e+=1)m[e].c();St(i,"class","AccountEditLimitsTitle"),St(a,"class","AccountEditField "+(o[18]?"TimeoutSelectMobile":"")),a.disabled=e=!0===o[13].isModified,void 0===o[13].period&&Dt(()=>o[29].call(a)),St(n,"class","AccountEditLimitsSplitSection"),St(r,"class","AccountEditLimitsContainer")},m(e,t){vt(e,r,t),bt(r,n),bt(n,i),bt(n,s),bt(n,a);for(let e=0;e<h.length;e+=1)h[e].m(a,null);Mt(a,o[13].period),bt(r,l);for(let e=0;e<m.length;e+=1)m[e].m(r,null);c||(d=[Tt(a,"change",o[29]),Tt(a,"change",function(){ne(o[25](o[13],0,!1,o[15]))&&o[25](o[13],0,!1,o[15]).apply(this,arguments)})],c=!0)},p(t,n){if(o=t,2097152&n[0]){let e;for(u=o[21],e=0;e<u.length;e+=1){const t=lu(o,u,e);h[e]?h[e].p(t,n):(h[e]=wu(t),h[e].c(),h[e].m(a,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=u.length}if(2105344&n[0]&&e!==(e=!0===o[13].isModified)&&(a.disabled=e),2105344&n[0]&&Mt(a,o[13].period),35106833&n[0]){let e;for(p=o[16],e=0;e<p.length;e+=1){var i=su(o,p,e);m[e]?m[e].p(i,n):(m[e]=Su(i),m[e].c(),m[e].m(r,null))}for(;e<m.length;e+=1)m[e].d(1);m.length=p.length}},d(e){e&&wt(r),xt(h,e),xt(m,e),c=!1,_t(d)}}}function vu(t){let o,r=t[13],s=[];for(let e=0;e<r.length;e+=1)s[e]=Bu(cu(t,r,e));return{c(){o=Ct("div");for(let e=0;e<s.length;e+=1)s[e].c();St(o,"class","AccountEditLimitsContainer")},m(e,t){vt(e,o,t);for(let e=0;e<s.length;e+=1)s[e].m(o,null)},p(t,n){if(34580888&n[0]){let e;for(r=t[13],e=0;e<r.length;e+=1){var i=cu(t,r,e);s[e]?s[e].p(i,n):(s[e]=Bu(i),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=r.length}},d(e){e&&wt(o),xt(s,e)}}}function wu(e){let n,i,t=e[47]+"";return{c(){n=Ct("option"),i=Pt(t),n.__value=e[47],n.value=n.__value},m(e,t){vt(e,n,t),bt(n,i)},p:yt,d(e){e&&wt(n)}}}function xu(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y=n[17]("editText.amount")+"",_=n[17]("editText.noLimit")+"",b=n[20],v=[];for(let e=0;e<b.length;e+=1)v[e]=Cu(au(n,b,e));function w(){n[30].call(a,n[54],n[49])}let x="Custom"===n[53].amount&&Pu(n),C=!0===n[13].isModified&&Tu(n);return{c(){i=Ct("div"),o=Ct("p"),r=Pt(y),s=At(),a=Ct("select"),l=Ct("option"),c=Pt(_);for(let e=0;e<v.length;e+=1)v[e].c();u=At(),h=Ct("div"),x&&x.c(),p=At(),C&&C.c(),m=At(),St(o,"class","AccountEditLimitsTitle"),l.__value="",l.value=l.__value,l.disabled=!0,l.selected=!0,l.hidden=!0,St(a,"class","AccountEditField "+(n[18]?"TimeoutSelectMobile":"")),a.disabled=d=!0===n[13].isModified,void 0===n[53].amount&&Dt(w),St(h,"class","AccountEditLimitsInputContainer"),St(i,"class","AccountEditLimitsSplitSection")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(i,s),bt(i,a),bt(a,l),bt(l,c);for(let e=0;e<v.length;e+=1)v[e].m(a,null);Mt(a,n[53].amount),bt(i,u),bt(i,h),x&&x.m(h,null),bt(h,p),C&&C.m(h,null),bt(i,m),f||(g=[Tt(a,"change",w),Tt(a,"change",function(){ne(n[25](n[53],0,!1,n[15]))&&n[25](n[53],0,!1,n[15]).apply(this,arguments)})],f=!0)},p(e,t){if(n=e,131072&t[0]&&y!==(y=n[17]("editText.amount")+"")&&q(r,y),131072&t[0]&&_!==(_=n[17]("editText.noLimit")+"")&&q(c,_),1048592&t[0]){let e;for(b=n[20],e=0;e<b.length;e+=1){const r=au(n,b,e);v[e]?v[e].p(r,t):(v[e]=Cu(r),v[e].c(),v[e].m(a,null))}for(;e<v.length;e+=1)v[e].d(1);v.length=b.length}2105344&t[0]&&d!==(d=!0===n[13].isModified)&&(a.disabled=d),1114112&t[0]&&Mt(a,n[53].amount),"Custom"===n[53].amount?x?x.p(n,t):(x=Pu(n),x.c(),x.m(h,p)):x&&(x.d(1),x=null),!0===n[13].isModified?C?C.p(n,t):(C=Tu(n),C.c(),C.m(h,null)):C&&(C.d(1),C=null)},d(e){e&&wt(i),xt(v,e),x&&x.d(),C&&C.d(),f=!1,_t(g)}}}function Cu(e){let n,i,o,t=e[47]+"",r="No limit"!==e[47]&&"Custom"!==e[47]&&function(e){let n;return{c(){n=Pt(e[4])},m(e,t){vt(e,n,t)},p(e,t){16&t[0]&&q(n,e[4])},d(e){e&&wt(n)}}}(e);return{c(){n=Ct("option"),i=Pt(t),o=At(),r&&r.c(),n.__value=e[47],n.value=n.__value},m(e,t){vt(e,n,t),bt(n,i),bt(n,o),r&&r.m(n,null)},p(e,t){"No limit"!==e[47]&&"Custom"!==e[47]&&r.p(e,t)},d(e){e&&wt(n),r&&r.d()}}}function Pu(n){let i,o,r,s,a,l;function c(){n[31].call(i,n[54],n[49])}let d=!0===n[12]&&Au(n);return{c(){i=Ct("input"),r=At(),d&&d.c(),s=k(),St(i,"type","number"),St(i,"class","AccountEditField"),i.disabled=o=!0===n[13].isModified},m(e,t){vt(e,i,t),Et(i,n[53].value),vt(e,r,t),d&&d.m(e,t),vt(e,s,t),a||(l=[Tt(i,"keyup",function(){ne(n[25](n[53],0,!1,n[15]))&&n[25](n[53],0,!1,n[15]).apply(this,arguments)}),Tt(i,"input",c)],a=!0)},p(e,t){n=e,2105344&t[0]&&o!==(o=!0===n[13].isModified)&&(i.disabled=o),1114112&t[0]&&F(i.value)!==n[53].value&&Et(i,n[53].value),!0===n[12]?d?d.p(n,t):(d=Au(n),d.c(),d.m(s.parentNode,s)):d&&(d.d(1),d=null)},d(e){e&&wt(i),e&&wt(r),d&&d.d(e),e&&wt(s),a=!1,_t(l)}}}function Au(e){let n,i,o,r=e[17]("editText.invalidInputMessageLimit")+"";return{c(){n=Ct("p"),i=Ct("span"),o=Pt(r),St(i,"class","InvalidInput InvalidSingleRow"),St(n,"class","AccountEditWarningText")},m(e,t){vt(e,n,t),bt(n,i),bt(i,o)},p(e,t){131072&t[0]&&r!==(r=e[17]("editText.invalidInputMessageLimit")+"")&&q(o,r)},d(e){e&&wt(n)}}}function Tu(e){let n,i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_=e[17]("editText.expirationDate")+"",b=(e[0].expiryDate?Io(e[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",v=e[17]("editText.changedLimitTextBefore")+"",w=(0<e[0].updateAmount?e[0].updateAmount:0)+"",x=e[17]("editText.changedLimitTextAfter")+"";return{c(){n=Ct("p"),i=Pt(_),o=At(),r=Ct("span"),s=Pt(b),a=At(),l=Ct("div"),c=Ct("p"),d=Ct("span"),d.textContent="i",u=Ct("span"),h=Pt(v),p=At(),m=Pt(w),f=At(),g=Pt(e[4]),y=Pt(x),St(n,"class","AccountEditLimitsExpiryDate"),St(d,"class","AccountEditLimitChangePeriodIcon"),St(l,"class","AccountEditLimitsPeriodChangeContainer")},m(e,t){vt(e,n,t),bt(n,i),bt(n,o),bt(n,r),bt(r,s),vt(e,a,t),vt(e,l,t),bt(l,c),bt(c,d),bt(c,u),bt(u,h),bt(u,p),bt(u,m),bt(u,f),bt(u,g),bt(u,y)},p(e,t){131072&t[0]&&_!==(_=e[17]("editText.expirationDate")+"")&&q(i,_),1&t[0]&&b!==(b=(e[0].expiryDate?Io(e[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&q(s,b),131072&t[0]&&v!==(v=e[17]("editText.changedLimitTextBefore")+"")&&q(h,v),1&t[0]&&w!==(w=(0<e[0].updateAmount?e[0].updateAmount:0)+"")&&q(m,w),16&t[0]&&q(g,e[4]),131072&t[0]&&x!==(x=e[17]("editText.changedLimitTextAfter")+"")&&q(y,x)},d(e){e&&wt(n),e&&wt(a),e&&wt(l)}}}function Su(e){let n,i=e[13].period===e[53].periodName&&xu(e);return{c(){i&&i.c(),n=k()},m(e,t){i&&i.m(e,t),vt(e,n,t)},p(e,t){e[13].period===e[53].periodName?i?i.p(e,t):(i=xu(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&wt(n)}}}function Eu(n){let i,o,r,s,a,l,c,d,u,h=n[17]("editText.noLimit")+"",p=n[19][n[49]].values,m=[];for(let e=0;e<p.length;e+=1)m[e]=Mu(du(n,p,e));function f(){n[26].call(i,n[49])}let g="Custom"===n[16][n[49]].amount&&Du(n),y=!0===n[47].isModified&&Nu(n);return{c(){i=Ct("select"),o=Ct("option"),r=Pt(h);for(let e=0;e<m.length;e+=1)m[e].c();a=At(),g&&g.c(),l=At(),y&&y.c(),c=k(),o.__value="",o.value=o.__value,o.disabled=!0,o.selected=!0,o.hidden=!0,St(i,"class","AccountEditField "+(n[18]?"TimeoutSelectMobile":"")),i.disabled=s=!0===n[47].isModified,void 0===n[16][n[49]].amount&&Dt(f)},m(e,t){vt(e,i,t),bt(i,o),bt(o,r);for(let e=0;e<m.length;e+=1)m[e].m(i,null);Mt(i,n[16][n[49]].amount),vt(e,a,t),g&&g.m(e,t),vt(e,l,t),y&&y.m(e,t),vt(e,c,t),d||(u=[Tt(i,"change",f),Tt(i,"change",function(){ne(n[25](n[16][n[49]],n[49],!1,n[15]))&&n[25](n[16][n[49]],n[49],!1,n[15]).apply(this,arguments)})],d=!0)},p(e,t){if(n=e,131072&t[0]&&h!==(h=n[17]("editText.noLimit")+"")&&q(r,h),524312&t[0]){let e;for(p=n[19][n[49]].values,e=0;e<p.length;e+=1){const r=du(n,p,e);m[e]?m[e].p(r,t):(m[e]=Mu(r),m[e].c(),m[e].m(i,null))}for(;e<m.length;e+=1)m[e].d(1);m.length=p.length}2105344&t[0]&&s!==(s=!0===n[47].isModified)&&(i.disabled=s),1114112&t[0]&&Mt(i,n[16][n[49]].amount),"Custom"===n[16][n[49]].amount?g?g.p(n,t):(g=Du(n),g.c(),g.m(l.parentNode,l)):g&&(g.d(1),g=null),!0===n[47].isModified?y?y.p(n,t):(y=Nu(n),y.c(),y.m(c.parentNode,c)):y&&(y.d(1),y=null)},d(e){e&&wt(i),xt(m,e),e&&wt(a),g&&g.d(e),e&&wt(l),y&&y.d(e),e&&wt(c),d=!1,_t(u)}}}function Mu(e){let n,i,o,t=e[50]+"",r="No limit"!==e[50]&&"Custom"!==e[50]&&function(){let n,i=("Time Limit"!==e[3]?e[4]:" minutes")+"";return{c(){n=Pt(i)},m(e,t){vt(e,n,t)},p(e,t){24&t[0]&&i!==(i=("Time Limit"!==e[3]?e[4]:" minutes")+"")&&q(n,i)},d(e){e&&wt(n)}}}();return{c(){n=Ct("option"),i=Pt(t),o=At(),r&&r.c(),n.__value=e[50],n.value=n.__value},m(e,t){vt(e,n,t),bt(n,i),bt(n,o),r&&r.m(n,null)},p(e,t){"No limit"!==e[50]&&"Custom"!==e[50]&&r.p(e,t)},d(e){e&&wt(n),r&&r.d()}}}function Du(e){let n;function i(e){return"Deposit Limit"===e[3]?Iu:ku}let o=i(e),r=o(e);return{c(){r.c(),n=k()},m(e,t){r.m(e,t),vt(e,n,t)},p(e,t){o===(o=i(e))&&r?r.p(e,t):(r.d(1),r=o(e),r&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&wt(n)}}}function ku(n){let i,o,r,s,a,l;function c(){n[28].call(i,n[49])}let d=1==n[11][n[49]]&&Lu(n);return{c(){i=Ct("input"),r=At(),s=Ct("p"),d&&d.c(),St(i,"type","number"),St(i,"class","AccountEditField"),i.disabled=o=!0===n[47].isModified,St(s,"class","AccountEditWarningText")},m(e,t){vt(e,i,t),Et(i,n[16][n[49]].value),vt(e,r,t),vt(e,s,t),d&&d.m(s,null),a||(l=[Tt(i,"keyup",function(){ne(n[25](n[16][n[49]],n[49],!0,n[15]))&&n[25](n[16][n[49]],n[49],!0,n[15]).apply(this,arguments)}),Tt(i,"input",c)],a=!0)},p(e,t){n=e,2105344&t[0]&&o!==(o=!0===n[47].isModified)&&(i.disabled=o),1114112&t[0]&&F(i.value)!==n[16][n[49]].value&&Et(i,n[16][n[49]].value),1==n[11][n[49]]?d?d.p(n,t):(d=Lu(n),d.c(),d.m(s,null)):d&&(d.d(1),d=null)},d(e){e&&wt(i),e&&wt(r),e&&wt(s),d&&d.d(),a=!1,_t(l)}}}function Iu(n){let i,o,r,s,a,l;function c(){n[27].call(i,n[49])}let d=1==n[11][n[49]]&&Ou(n);return{c(){i=Ct("input"),r=At(),s=Ct("p"),d&&d.c(),St(i,"type","number"),St(i,"class","AccountEditField"),i.disabled=o=!0===n[47].isModified,St(s,"class","AccountEditWarningText")},m(e,t){vt(e,i,t),Et(i,n[16][n[49]].value),vt(e,r,t),vt(e,s,t),d&&d.m(s,null),a||(l=[Tt(i,"keyup",function(){ne(n[25](n[16][n[49]],n[49],!1,n[15]))&&n[25](n[16][n[49]],n[49],!1,n[15]).apply(this,arguments)}),Tt(i,"input",c)],a=!0)},p(e,t){n=e,2105344&t[0]&&o!==(o=!0===n[47].isModified)&&(i.disabled=o),1114112&t[0]&&F(i.value)!==n[16][n[49]].value&&Et(i,n[16][n[49]].value),1==n[11][n[49]]?d?d.p(n,t):(d=Ou(n),d.c(),d.m(s,null)):d&&(d.d(1),d=null)},d(e){e&&wt(i),e&&wt(r),e&&wt(s),d&&d.d(),a=!1,_t(l)}}}function Lu(e){let n,i,o=e[17]("editText.invalidInputMessageTime",{values:{minTime:e[7],maxTime:e[8]}})+"";return{c(){n=Ct("p"),i=Pt(o),St(n,"class","InvalidInput")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){131456&t[0]&&o!==(o=e[17]("editText.invalidInputMessageTime",{values:{minTime:e[7],maxTime:e[8]}})+"")&&q(i,o)},d(e){e&&wt(n)}}}function Ou(e){let n,i,o=e[17]("editText.invalidInputMessageLimit")+"";return{c(){n=Ct("p"),i=Pt(o),St(n,"class","InvalidInput")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){131072&t[0]&&o!==(o=e[17]("editText.invalidInputMessageLimit")+"")&&q(i,o)},d(e){e&&wt(n)}}}function Nu(e){let n,i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_=e[17]("editText.expirationDate")+"",b=(e[47].expiryDate?Io(e[47].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",v=e[17]("editText.changedLimitTextBefore")+"",w=(0<e[47].updateAmount?e[47].updateAmount:0)+"",x=(void 0!==e[47].minutes?" minutes":e[4])+"",C=e[17]("editText.changedLimitTextAfter")+"";return{c(){n=Ct("p"),i=Pt(_),o=At(),r=Ct("span"),s=Pt(b),a=At(),l=Ct("div"),c=Ct("p"),d=Ct("span"),d.textContent="i",u=Ct("span"),h=Pt(v),p=At(),m=Pt(w),f=At(),g=Pt(x),y=Pt(C),St(n,"class","AccountEditLimitsExpiryDate"),St(d,"class","AccountEditLimitChangePeriodIcon"),St(l,"class","AccountEditLimitsPeriodChangeContainer")},m(e,t){vt(e,n,t),bt(n,i),bt(n,o),bt(n,r),bt(r,s),vt(e,a,t),vt(e,l,t),bt(l,c),bt(c,d),bt(c,u),bt(u,h),bt(u,p),bt(u,m),bt(u,f),bt(u,g),bt(u,y)},p(e,t){131072&t[0]&&_!==(_=e[17]("editText.expirationDate")+"")&&q(i,_),8192&t[0]&&b!==(b=(e[47].expiryDate?Io(e[47].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&q(s,b),131072&t[0]&&v!==(v=e[17]("editText.changedLimitTextBefore")+"")&&q(h,v),8192&t[0]&&w!==(w=(0<e[47].updateAmount?e[47].updateAmount:0)+"")&&q(m,w),8208&t[0]&&x!==(x=(void 0!==e[47].minutes?" minutes":e[4])+"")&&q(g,x),131072&t[0]&&C!==(C=e[17]("editText.changedLimitTextAfter")+"")&&q(y,C)},d(e){e&&wt(n),e&&wt(a),e&&wt(l)}}}function Bu(e){let n,i,o,r,s,a=e[47].period+"",l=e[47].period==e[16][e[49]].periodName&&Eu(e);return{c(){n=Ct("div"),i=Ct("p"),o=Pt(a),r=At(),l&&l.c(),s=At(),St(i,"class","AccountEditLimitsTitle"),St(n,"class","AccountEditLimitsBox")},m(e,t){vt(e,n,t),bt(n,i),bt(i,o),bt(n,r),l&&l.m(n,null),bt(n,s)},p(e,t){8192&t[0]&&a!==(a=e[47].period+"")&&q(o,a),e[47].period==e[16][e[49]].periodName?l?l.p(e,t):(l=Eu(e),l.c(),l.m(n,s)):l&&(l.d(1),l=null)},d(e){e&&wt(n),l&&l.d()}}}function Ru(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w,x,C,P,A,T,S,E,M,D,k,I,L,O,N,B,R,F,$=n[17]("editText.back")+"",z=(n[0]?n[3]:"")+"",W=n[17]("editText.save")+"",Y=n[18]&&function(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g=n[17]("editText.back")+"";return{c(){i=Ct("div"),o=t("svg"),r=t("defs"),s=t("style"),a=Pt(".aaa{fill:#d0046c;}"),l=t("g"),c=t("g"),d=t("path"),u=At(),h=Ct("h2"),p=Pt(g),St(d,"class","aaa"),St(d,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),St(d,"transform","translate(15 15) rotate(180)"),St(c,"transform","translate(20 158)"),St(l,"transform","translate(-20 -158)"),St(o,"xmlns","http://www.w3.org/2000/svg"),St(o,"width","15"),St(o,"height","15"),St(o,"viewBox","0 0 15 15"),St(h,"class","MyAccountCategoryTitleMobile"),St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(s,a),bt(o,l),bt(l,c),bt(c,d),bt(i,u),bt(i,h),bt(h,p),m||(f=Tt(i,"click",n[23]),m=!0)},p(e,t){131072&t[0]&&g!==(g=e[17]("editText.back")+"")&&q(p,g)},d(e){e&&wt(i),m=!1,f()}}}(n),H=n[1]&&hu(n),U=n[2]&&pu(n),j=n[6]&&_u(n);return{c(){i=Ct("div"),Y&&Y.c(),o=At(),r=Ct("div"),s=t("svg"),a=t("defs"),l=t("style"),c=Pt(".aaa{fill:#d0046c;}"),d=t("g"),u=t("g"),h=t("path"),p=At(),m=Ct("h2"),f=Pt($),g=At(),y=Ct("div"),_=Ct("h6"),b=Pt(z),v=At(),w=Ct("div"),x=Ct("span"),x.textContent="i",C=At(),P=Ct("player-account-gaming-limits-popup"),A=At(),H&&H.c(),T=At(),U&&U.c(),S=At(),j&&j.c(),E=At(),M=Ct("div"),D=Ct("button"),k=Pt(W),O=At(),N=Ct("player-account-modal"),B=Ct("player-account-gaming-limits-confirmation-modal"),this.c=yt,St(h,"class","aaa"),St(h,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),St(h,"transform","translate(15 15) rotate(180)"),St(u,"transform","translate(20 158)"),St(d,"transform","translate(-20 -158)"),St(s,"xmlns","http://www.w3.org/2000/svg"),St(s,"width","15"),St(s,"height","15"),St(s,"viewBox","0 0 15 15"),St(m,"class","MyAccountCategoryTitle "+(n[18]?"MyAccountCategoryTitleNone":"")),St(r,"class","MenuReturnButton "+(n[18]?"MyAccountCategoryTitleNone":"")),St(x,"class","AccountEditLimitsIcon"),V(P,"showpopup",n[5]),St(w,"class","AccountEditLimitsIconWrapper"),St(y,"class","AccountEditLimitsHeader"),St(D,"class",I="AccountEditLimitsSaveButton "+(n[14]?"":"AccountEditLimitsButtonDisabled")),D.disabled=L=!n[14],St(M,"class","AccountEditLimitsControlArea"),St(i,"class","AccountEditLimitsWrapper "+(n[18]?"AccountEditLimitsMobileWrapper":"")),V(B,"modaltext",n[9]),V(B,"modalsource","groupEdit")},m(e,t){vt(e,i,t),Y&&Y.m(i,null),bt(i,o),bt(i,r),bt(r,s),bt(s,a),bt(a,l),bt(l,c),bt(s,d),bt(d,u),bt(u,h),bt(r,p),bt(r,m),bt(m,f),bt(i,g),bt(i,y),bt(y,_),bt(_,b),bt(y,v),bt(y,w),bt(w,x),bt(w,C),bt(w,P),bt(i,A),H&&H.m(i,null),bt(i,T),U&&U.m(i,null),bt(i,S),j&&j.m(i,null),bt(i,E),bt(i,M),bt(M,D),bt(D,k),vt(e,O,t),vt(e,N,t),bt(N,B),R||(F=[Tt(r,"click",n[23]),Tt(x,"click",G(n[22])),Tt(D,"click",n[32])],R=!0)},p(e,t){e[18]&&Y.p(e,t),131072&t[0]&&$!==($=e[17]("editText.back")+"")&&q(f,$),9&t[0]&&z!==(z=(e[0]?e[3]:"")+"")&&q(b,z),32&t[0]&&V(P,"showpopup",e[5]),e[1]?H?H.p(e,t):(H=hu(e),H.c(),H.m(i,T)):H&&(H.d(1),H=null),e[2]?U?U.p(e,t):(U=pu(e),U.c(),U.m(i,S)):U&&(U.d(1),U=null),e[6]?j?j.p(e,t):(j=_u(e),j.c(),j.m(i,E)):j&&(j.d(1),j=null),131072&t[0]&&W!==(W=e[17]("editText.save")+"")&&q(k,W),16384&t[0]&&I!==(I="AccountEditLimitsSaveButton "+(e[14]?"":"AccountEditLimitsButtonDisabled"))&&St(D,"class",I),16384&t[0]&&L!==(L=!e[14])&&(D.disabled=L),512&t[0]&&V(B,"modaltext",e[9])},i:yt,o:yt,d(e){e&&wt(i),Y&&Y.d(),H&&H.d(),U&&U.d(),j&&j.d(),e&&wt(O),e&&wt(N),R=!1,_t(F)}}}function Fu(e,t,r){let n;R(e,Di,e=>r(17,n=e));let{limitsdata:i=[]}=t,{showsuccessnotification:o=!1}=t,{showdeletenotification:s=!1}=t,{limitname:a=""}=t,{playercurrency:l=""}=t;Object.keys(Kd).forEach(e=>{di(e,Kd[e])});let c=!1,d=!0,u=!1,h=0,p=0,m="",f=window.navigator.userAgent,g="PC"!==ki(f),y=!1,_=new Array(3).fill(0),b=!1,v={},w=[],x=!1,C=[];const P={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}],T=[{periodName:"Daily",values:["10000","20000","50000","Custom"]},{periodName:"Weekly",values:["10000","50000","100000","Custom"]},{periodName:"Monthly",values:["50000","100000","200000","Custom"]}],S=["50000","100000","200000","Custom"],E=["5000","50000","200000","Custom"],M=[{periodName:"Daily",values:["500","1000","1430","Custom"]},{periodName:"Weekly",values:["5000","7000","10000","Custom"]},{periodName:"Monthly",values:["20000","30000","43000","Custom"]}],D=["Daily","Weekly","Monthly"];const k=()=>{window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href)},I=(n,t)=>{if(y){let e=JSON.parse(JSON.stringify(t));A.forEach(t=>{e.forEach(e=>{t.periodName==n.periodName&&("Custom"!==t.amount&&"No limit"!==t.amount?t.value=JSON.parse(t.amount):"No limit"===t.amount&&(t.value=0)),e.period===t.periodName&&(e.amount=t.value)})})}else A.forEach(e=>{e.periodName===n.periodName&&("Custom"!==e.amount&&"No limit"!==e.amount?e.value=JSON.parse(e.amount):"No limit"===e.amount&&(e.value=0))})},L=(e,t,n,i)=>{let o=i?e.values:e;t.amount&&"No limit"!==t.amount?o.includes(JSON.stringify(t.amount))?n.forEach(e=>{e.periodName===t.period&&(e.amount=JSON.stringify(t.amount),e.value=t.amount)}):n.forEach(e=>{e.periodName===t.period&&(e.amount="Custom",e.value=t.amount)}):n.forEach(e=>{e.periodName===t.period&&(e.amount=t.amount,e.value=0)})},O=t=>{w.forEach(e=>{t.period===e.periodName&&("Time Limit"===a&&(r(7,h=60),"Daily"===t.periodName?r(8,p=1440):"Weekly"==t.periodName?r(8,p=10080):r(8,p=43200)),-1<e.values.indexOf(t.amount)&&("No limit"===t.amount?t.amount=0:t.amount=JSON.parse(t.amount)))})},N=()=>{var e;e="Time Limit"===a?"time limit":"Deposit Limit"===a?"deposit limit":"Wagering Limit"===a?"wagering limit":"loss limit",r(9,m=n("editText.changeLimitsText",{values:{limit:e}})),r(10,y=Array.isArray(i)),r(15,C=JSON.parse(JSON.stringify(i))),r(13,v=JSON.parse(JSON.stringify(i))),w="Wagering Limit"===a?S:"Loss Limit"===a?E:"Deposit Limit"===a?T:"Time Limit"===a?M:[],y?(C.forEach(e=>{O(e)}),v.forEach(t=>{w.forEach(e=>{t.period===e.periodName&&L(e,t,A,!0)})})):(O(C),L(w,v,A,!1))},B=e=>{if(e.data)switch(e.data.type){case"ClosePlayerAccountGamingLimitsPopup":r(5,c=!1);break;case"GamingLimitsConfirmChanges":u=!0,(()=>{if(u){if(y?"Time Limit"===a?A.forEach(t=>{v.forEach(e=>{e.period===t.periodName&&(e.minutes=t.value)})}):A.forEach(t=>{v.forEach(e=>{e.period===t.periodName&&(e.amount=t.value)})}):A.forEach(e=>{v.period===e.periodName&&r(13,v.amount=e.value,v)}),y){let t={};"Deposit Limit"===a?(t={depositLimits:[]},v.forEach(e=>{t.depositLimits.push(e)})):(t={cumulativeSessionLimits:[]},v.forEach(e=>{t.cumulativeSessionLimits.push(e)})),window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:t,limitsCategory:"Time Limit"===a?"cumulativeSessionLimits":"depositLimits"},window.location.href)}else window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:v,limitsCategory:"Wagering Limit"===a?"wageringLimit":"lossLimit"},window.location.href);r(14,x=!1)}})();break;case"CancelGamingLimitsChanges":r(6,d=!1),setTimeout(()=>{r(6,d=!0)},10),N(),r(14,x=!1),u=!1}};return Z(()=>(window.addEventListener("message",B,!1),()=>{window.removeEventListener("message",B)})),e.$$set=e=>{"limitsdata"in e&&r(0,i=e.limitsdata),"showsuccessnotification"in e&&r(1,o=e.showsuccessnotification),"showdeletenotification"in e&&r(2,s=e.showdeletenotification),"limitname"in e&&r(3,a=e.limitname),"playercurrency"in e&&r(4,l=e.playercurrency)},e.$$.update=()=>{6&e.$$.dirty[0]&&o&&s&&N(),1&e.$$.dirty[0]&&i&&N()},[i,o,s,a,l,c,d,h,p,m,y,_,b,v,x,C,A,n,g,T,E,D,()=>{r(5,c=!0)},()=>{window.postMessage({type:"PlayerAccountBackToLimitsView"},window.location.href)},k,(e,t,n,i)=>{var o;y?"Custom"===e.amount?"Time Limit"==a?(r(7,h=60),"Daily"===e.periodName?r(8,p=1440):"Weekly"==e.periodName?r(8,p=10080):r(8,p=43200),e.value&&P.time.test(e.value)&&e.value>h&&e.value<=p?(r(11,_[t]=0,_),o=i[t],e.periodName==o.period&&e.value==o.amount?(r(14,x=!1),I(e,i)):r(14,x=!0)):(r(11,_[t]=1,_),r(14,x=!1))):e.value&&P.amount.test(e.value)?(r(11,_[t]=0,_),e.periodName==i[t].period&&e.value==i[t].amount?(r(14,x=!!x),I(e,i)):r(14,x=!0),A.forEach(e=>{0==e.value&&r(14,x=!1)})):(r(11,_[t]=1,_),r(14,x=!1)):(e.periodName==i[t].period?(I(e,i),r(14,x=e.value!=i[t].amount)):r(14,x=!0),A.forEach(e=>{0==e.value&&r(14,x=!1)})):v.period!=i.period?(r(14,x=!0),"Custom"==e.amount&&(e.value&&P.amount.test(e.value)?(r(12,b=!1),v.period==i.period&&e.value==i.amount?(r(14,x=!1),I(e,i)):r(14,x=!0)):(r(12,b=!0),r(14,x=!1)))):"Custom"===e.amount?e.value&&P.amount.test(e.value)?(r(12,b=!1),v.period==i.period&&e.value==i.amount?(r(14,x=!!x),I(e,i)):r(14,x=!0)):(r(12,b=!0),r(14,x=!1)):v.period==i.period?(I(e,i),r(14,x=e.value!=i.amount)):r(14,x=!0)},function(e){A[e].amount=X(this),r(16,A),r(20,E)},function(e){A[e].value=F(this.value),r(16,A),r(20,E)},function(e){A[e].value=F(this.value),r(16,A),r(20,E)},function(){v.period=X(this),r(13,v),r(21,D)},function(e,t){e[t].amount=X(this),r(16,A),r(20,E)},function(e,t){e[t].value=F(this.value),r(16,A),r(20,E)},()=>k()]}function $u(e,t,n){const i=e.slice();return i[32]=t[n],i[34]=n,i}function zu(e,t,n){const i=e.slice();return i[32]=t[n],i[34]=n,i}function Wu(e){let n,i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b=(e[0]?e[0].period:"")+"",v=(e[0]?e[0].amount:0)+"",w=(e[0]?e[0].currency:"")+"",x=e[10]("cardText.expirationDate")+"",C=(e[0]&&e[0].expiryDate?(Io(e[0].expiryDate).year()>e[12].year()+30?e[12].add(5,"years"):Io(e[0].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=Ct("div"),i=Ct("div"),o=Ct("div"),r=Pt(b),s=At(),a=Ct("div"),l=Pt(v),c=At(),d=Ct("span"),u=Pt(w),h=At(),p=Ct("div"),m=Ct("div"),f=Pt(x),g=At(),y=Ct("div"),_=Pt(C),St(o,"class","InfoCardRowTitle"),St(d,"class","InfoCardCurrency"),St(a,"class","InfoCardRowValue"),St(i,"class","InfoCardRow InfoMainRow"),St(m,"class","InfoCardRowTitle"),St(y,"class","InfoCardRowValue"),St(p,"class","InfoCardRow"),St(n,"class","InfoCardBox")},m(e,t){vt(e,n,t),bt(n,i),bt(i,o),bt(o,r),bt(i,s),bt(i,a),bt(a,l),bt(a,c),bt(a,d),bt(d,u),bt(n,h),bt(n,p),bt(p,m),bt(m,f),bt(p,g),bt(p,y),bt(y,_)},p(e,t){1&t[0]&&b!==(b=(e[0]?e[0].period:"")+"")&&q(r,b),1&t[0]&&v!==(v=(e[0]?e[0].amount:0)+"")&&q(l,v),1&t[0]&&w!==(w=(e[0]?e[0].currency:"")+"")&&q(u,w),1024&t[0]&&x!==(x=e[10]("cardText.expirationDate")+"")&&q(f,x),1&t[0]&&C!==(C=(e[0]&&e[0].expiryDate?(Io(e[0].expiryDate).year()>e[12].year()+30?e[12].add(5,"years"):Io(e[0].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&q(_,C)},d(e){e&&wt(n)}}}function Yu(e){let n;function i(e){return"Time Limit"===e[1]?Uu:Hu}let o=i(e),r=o(e);return{c(){r.c(),n=k()},m(e,t){r.m(e,t),vt(e,n,t)},p(e,t){o===(o=i(e))&&r?r.p(e,t):(r.d(1),r=o(e),r&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&wt(n)}}}function Hu(t){let o,r=t[0],s=[];for(let e=0;e<r.length;e+=1)s[e]=Xu($u(t,r,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();o=k()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);vt(t,o,n)},p(t,n){if(105487&n[0]){let e;for(r=t[0],e=0;e<r.length;e+=1){var i=$u(t,r,e);s[e]?s[e].p(i,n):(s[e]=Xu(i),s[e].c(),s[e].m(o.parentNode,o))}for(;e<s.length;e+=1)s[e].d(1);s.length=r.length}},d(e){xt(s,e),e&&wt(o)}}}function Uu(t){let o,r=t[0],s=[];for(let e=0;e<r.length;e+=1)s[e]=ih(zu(t,r,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();o=k()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);vt(t,o,n)},p(t,n){if(105483&n[0]){let e;for(r=t[0],e=0;e<r.length;e+=1){var i=zu(t,r,e);s[e]?s[e].p(i,n):(s[e]=ih(i),s[e].c(),s[e].m(o.parentNode,o))}for(;e<s.length;e+=1)s[e].d(1);s.length=r.length}},d(e){xt(s,e),e&&wt(o)}}}function ju(e){let n,i,o=e[10]("cardText.notAvailable")+"";return{c(){n=Ct("div"),i=Pt(o),St(n,"class","InfoCardRowValue")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){1024&t[0]&&o!==(o=e[10]("cardText.notAvailable")+"")&&q(i,o)},d(e){e&&wt(n)}}}function Gu(e){let n,i,o=(e[32]?(Io(e[32].expiryDate).year()>e[12].year()+30?e[12].add(5,"years"):Io(e[32].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=Ct("div"),i=Pt(o),St(n,"class","InfoCardRowValue")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){1&t[0]&&o!==(o=(e[32]?(Io(e[32].expiryDate).year()>e[12].year()+30?e[12].add(5,"years"):Io(e[32].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&q(i,o)},d(e){e&&wt(n)}}}function Vu(n){let i,o,r,s,a,l,c,d;function u(){return n[19](n[34])}return{c(){i=Ct("div"),o=Ct("span"),o.textContent="i",r=At(),s=Ct("player-account-gaming-limits-popup"),St(o,"class","InfoCardIcon"),V(s,"showpopup",a=n[3][n[34]+1]),V(s,"iteminfoamount",l=n[32].updateAmount),V(s,"playercurrency",n[2]),St(i,"class","InfoCardIconWrapper "+(n[11]?"InfoCardIconMobileWrapper":""))},m(e,t){vt(e,i,t),bt(i,o),bt(i,r),bt(i,s),c||(d=Tt(o,"click",G(u)),c=!0)},p(e,t){n=e,8&t[0]&&a!==(a=n[3][n[34]+1])&&V(s,"showpopup",a),1&t[0]&&l!==(l=n[32].updateAmount)&&V(s,"iteminfoamount",l),4&t[0]&&V(s,"playercurrency",n[2])},d(e){e&&wt(i),c=!1,d()}}}function qu(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML="<span></span>",St(i,"class","InfoCardRemoveIcon")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",function(){ne(n[15](n[32],n[1]))&&n[15](n[32],n[1]).apply(this,arguments)}),o=!0)},p(e,t){n=e},d(e){e&&wt(i),o=!1,r()}}}function Xu(e){let n,i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v=(e[32]?e[32].period:"")+"",w=(e[32]?e[32].amount:0)+"",x=(e[32]?e[32].currency:"")+"",C=e[10]("cardText.expirationDate")+"";function P(e){return e[32].expiryDate?Gu:ju}let A=P(e),T=A(e);function S(e){return"No limit"==e[32].amount||e[32].isModified?"No limit"!=e[32].amount&&e[32].isModified?Vu:void 0:qu}let E=S(e),M=E&&E(e);return{c(){n=Ct("div"),i=Ct("div"),o=Ct("div"),r=Ct("div"),s=Pt(v),a=At(),l=Ct("div"),c=Pt(w),d=At(),u=Ct("span"),h=Pt(x),p=At(),m=Ct("div"),f=Ct("div"),g=Pt(C),y=At(),T.c(),_=At(),M&&M.c(),b=At(),St(r,"class","InfoCardRowTitle"),St(u,"class","InfoCardCurrency"),St(l,"class","InfoCardRowValue"),St(o,"class","InfoCardRow InfoMainRow"),St(f,"class","InfoCardRowTitle"),St(m,"class","InfoCardRow"),St(i,"class","InfoCardRowContainer"),St(n,"class","InfoCardBox InfoCardMultipleItems")},m(e,t){vt(e,n,t),bt(n,i),bt(i,o),bt(o,r),bt(r,s),bt(o,a),bt(o,l),bt(l,c),bt(l,d),bt(l,u),bt(u,h),bt(i,p),bt(i,m),bt(m,f),bt(f,g),bt(m,y),T.m(m,null),bt(n,_),M&&M.m(n,null),bt(n,b)},p(e,t){1&t[0]&&v!==(v=(e[32]?e[32].period:"")+"")&&q(s,v),1&t[0]&&w!==(w=(e[32]?e[32].amount:0)+"")&&q(c,w),1&t[0]&&x!==(x=(e[32]?e[32].currency:"")+"")&&q(h,x),1024&t[0]&&C!==(C=e[10]("cardText.expirationDate")+"")&&q(g,C),A===(A=P(e))&&T?T.p(e,t):(T.d(1),T=A(e),T&&(T.c(),T.m(m,null))),E===(E=S(e))&&M?M.p(e,t):(M&&M.d(1),M=E&&E(e),M&&(M.c(),M.m(n,b)))},d(e){e&&wt(n),T.d(),M&&M.d()}}}function Zu(e){let n,i,o=e[10]("cardText.noLimit")+"";return{c(){n=Ct("span"),i=Pt(o),St(n,"class","InfoCardCurrency")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){1024&t[0]&&o!==(o=e[10]("cardText.noLimit")+"")&&q(i,o)},d(e){e&&wt(n)}}}function Ju(e){let n,i,o,r=(e[32]?e[32].amount:0)+"",s="No limit"!=e[32].amount&&Ku(e);return{c(){n=Pt(r),i=At(),s&&s.c(),o=k()},m(e,t){vt(e,n,t),vt(e,i,t),s&&s.m(e,t),vt(e,o,t)},p(e,t){1&t[0]&&r!==(r=(e[32]?e[32].amount:0)+"")&&q(n,r),"No limit"!=e[32].amount?s?s.p(e,t):(s=Ku(e),s.c(),s.m(o.parentNode,o)):s&&(s.d(1),s=null)},d(e){e&&wt(n),e&&wt(i),s&&s.d(e),e&&wt(o)}}}function Ku(e){let n,i,o=e[10]("cardText.minutes")+"";return{c(){n=Ct("span"),i=Pt(o),St(n,"class","InfoCardCurrency")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){1024&t[0]&&o!==(o=e[10]("cardText.minutes")+"")&&q(i,o)},d(e){e&&wt(n)}}}function Qu(e){let n,i,o=e[10]("cardText.notAvailable")+"";return{c(){n=Ct("div"),i=Pt(o),St(n,"class","InfoCardRowValue")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){1024&t[0]&&o!==(o=e[10]("cardText.notAvailable")+"")&&q(i,o)},d(e){e&&wt(n)}}}function eh(e){let n,i,o=(e[32]?(Io(e[32].expiryDate).year()>e[12].year()+30?e[12].add(5,"years"):Io(e[32].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=Ct("div"),i=Pt(o),St(n,"class","InfoCardRowValue")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){1&t[0]&&o!==(o=(e[32]?(Io(e[32].expiryDate).year()>e[12].year()+30?e[12].add(5,"years"):Io(e[32].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&q(i,o)},d(e){e&&wt(n)}}}function th(n){let i,o,r,s,a,l,c,d;function u(){return n[18](n[34])}return{c(){i=Ct("div"),o=Ct("span"),o.textContent="i",r=At(),s=Ct("player-account-gaming-limits-popup"),St(o,"class","InfoCardIcon"),V(s,"showpopup",a=n[3][n[34]+1]),V(s,"iteminfoamount",l=n[32].updateMinutes),V(s,"playercurrency","minutes"),St(i,"class","InfoCardIconWrapper "+(n[11]?"InfoCardIconMobileWrapper":""))},m(e,t){vt(e,i,t),bt(i,o),bt(i,r),bt(i,s),c||(d=Tt(o,"click",G(u)),c=!0)},p(e,t){n=e,8&t[0]&&a!==(a=n[3][n[34]+1])&&V(s,"showpopup",a),1&t[0]&&l!==(l=n[32].updateMinutes)&&V(s,"iteminfoamount",l)},d(e){e&&wt(i),c=!1,d()}}}function nh(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML="<span></span>",St(i,"class","InfoCardRemoveIcon")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",function(){ne(n[15](n[32],n[1]))&&n[15](n[32],n[1]).apply(this,arguments)}),o=!0)},p(e,t){n=e},d(e){e&&wt(i),o=!1,r()}}}function ih(e){let n,i,o,r,s,a,l,c,d,u,h,p,m,f,g=(e[32]?e[32].period:"")+"",y=e[10]("cardText.expirationDate")+"";function _(e){return 0!==e[32].amount?Ju:Zu}let b=_(e),v=b(e);function w(e){return e[32].expiryDate?eh:Qu}let x=w(e),C=x(e);function P(e){return"No limit"==e[32].amount||e[32].isModified?"No limit"!=e[32].amount&&e[32].isModified?th:void 0:nh}let A=P(e),T=A&&A(e);return{c(){n=Ct("div"),i=Ct("div"),o=Ct("div"),r=Ct("div"),s=Pt(g),a=At(),l=Ct("div"),v.c(),c=At(),d=Ct("div"),u=Ct("div"),h=Pt(y),p=At(),C.c(),m=At(),T&&T.c(),f=At(),St(r,"class","InfoCardRowTitle"),St(l,"class","InfoCardRowValue"),St(o,"class","InfoCardRow InfoMainRow"),St(u,"class","InfoCardRowTitle"),St(d,"class","InfoCardRow"),St(i,"class","InfoCardRowContainer"),St(n,"class","InfoCardBox InfoCardMultipleItems")},m(e,t){vt(e,n,t),bt(n,i),bt(i,o),bt(o,r),bt(r,s),bt(o,a),bt(o,l),v.m(l,null),bt(i,c),bt(i,d),bt(d,u),bt(u,h),bt(d,p),C.m(d,null),bt(n,m),T&&T.m(n,null),bt(n,f)},p(e,t){1&t[0]&&g!==(g=(e[32]?e[32].period:"")+"")&&q(s,g),b===(b=_(e))&&v?v.p(e,t):(v.d(1),v=b(e),v&&(v.c(),v.m(l,null))),1024&t[0]&&y!==(y=e[10]("cardText.expirationDate")+"")&&q(h,y),x===(x=w(e))&&C?C.p(e,t):(C.d(1),C=x(e),C&&(C.c(),C.m(d,null))),A===(A=P(e))&&T?T.p(e,t):(T&&T.d(1),T=A&&A(e),T&&(T.c(),T.m(n,f)))},d(e){e&&wt(n),v.d(),C.d(),T&&T.d()}}}function oh(n){let i,o,r,s,a=n[10]("cardText.removeLimits")+"";return{c(){i=Ct("button"),o=Pt(a),St(i,"class","InfoCardRemoveButton")},m(e,t){vt(e,i,t),bt(i,o),r||(s=Tt(i,"click",n[21]),r=!0)},p(e,t){1024&t[0]&&a!==(a=e[10]("cardText.removeLimits")+"")&&q(o,a)},d(e){e&&wt(i),r=!1,s()}}}function rh(e){let n,i,o;return{c(){n=Ct("player-account-modal"),i=Ct("player-account-gaming-limits-confirmation-modal"),V(i,"modaltext",o=e[5]?e[7]:e[8]),V(i,"modalsource","infoCard")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){416&t[0]&&o!==(o=e[5]?e[7]:e[8])&&V(i,"modaltext",o)},d(e){e&&wt(n)}}}function sh(e){let n,i=function(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w,x,C,P,A,T,S=(n[0]?n[1]:"")+"",E=n[10]("cardText.edit")+"";function M(e,t){return(null==_||1&t[0])&&(_=!!Array.isArray(e[0])),_?Yu:Wu}let D=M(n,[-1]),k=D(n),I=!n[4]&&!n[0].isModified&&n[9]&&oh(n),L=n[6]&&rh(n);return{c(){i=Ct("div"),o=Ct("div"),r=Ct("div"),s=Ct("h5"),a=Pt(S),l=At(),c=Ct("div"),d=Ct("span"),d.textContent="i",u=At(),h=Ct("player-account-gaming-limits-popup"),m=At(),f=Ct("div"),g=Ct("div"),y=Ct("div"),k.c(),b=At(),v=Ct("div"),w=Ct("button"),x=Pt(E),C=At(),I&&I.c(),P=At(),L&&L.c(),St(d,"class","InfoCardIcon"),V(h,"showpopup",p=n[3][0]),St(c,"class","InfoCardIconWrapper "+(n[11]?"InfoCardIconMobileWrapper":"")),St(r,"class","InfoCardHeader "+(n[11]?"InfoCardMobileHeader":"")),St(y,"class","InfoCardTableRow"),St(g,"class","InfoCardTableWrapper"),St(w,"class","InfoCardEditButton"),St(v,"class","InfoCardControlArea"),St(f,"class","InfoCard"),St(o,"class","InfoCardWrapper"),St(i,"class","InfoCardSection")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(s,a),bt(r,l),bt(r,c),bt(c,d),bt(c,u),bt(c,h),bt(o,m),bt(o,f),bt(f,g),bt(g,y),k.m(y,null),bt(f,b),bt(f,v),bt(v,w),bt(w,x),bt(v,C),I&&I.m(v,null),bt(i,P),L&&L.m(i,null),A||(T=[Tt(d,"click",G(n[17])),Tt(w,"click",n[20])],A=!0)},p(e,t){3&t[0]&&S!==(S=(e[0]?e[1]:"")+"")&&q(a,S),8&t[0]&&p!==(p=e[3][0])&&V(h,"showpopup",p),D===(D=M(e,t))&&k?k.p(e,t):(k.d(1),k=D(e),k&&(k.c(),k.m(y,null))),1024&t[0]&&E!==(E=e[10]("cardText.edit")+"")&&q(x,E),e[4]||e[0].isModified||!e[9]?I&&(I.d(1),I=null):I?I.p(e,t):(I=oh(e),I.c(),I.m(v,null)),e[6]?L?L.p(e,t):(L=rh(e),L.c(),L.m(i,null)):L&&(L.d(1),L=null)},d(e){e&&wt(i),k.d(),I&&I.d(),L&&L.d(),A=!1,_t(T)}}}(e);return{c(){i.c(),n=k(),this.c=yt},m(e,t){i.m(e,t),vt(e,n,t)},p(e,t){i.p(e,t)},i:yt,o:yt,d(e){i.d(e),e&&wt(n)}}}function ah(e,t,i){let r;R(e,Di,e=>i(10,r=e));let{limitsdata:n=""}=t,{limitname:o=""}=t,{playercurrency:s=""}=t;Object.keys(jd).forEach(e=>{di(e,jd[e])});let a=new Array(5).fill(0),l=[r("cardText.daily"),r("cardText.weekly"),r("cardText.monthly")],c=!0,d=!0,u=!1,h=window.navigator.userAgent,p="PC"!==ki(h),m="",f="",g=!0,y=Io();const _=e=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:e,name:o},window.location.href)},b=e=>{i(6,u=!0),i(5,d=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:e,removeName:o},window.location.href)},v=e=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{i(3,a[e]=!0,a)},50)},w=(e,t,n,i)=>{var o=i===r("cardText.time")?{period:n,minutes:0,currency:"",isModified:!1,expiryDate:""}:{period:n,amount:r("cardText.noLimit"),currency:"",isModified:!1,expiryDate:""};e.splice(t,0,o)},x=(e,t)=>e.period===r("cardText.weekly")&&t.period===r("cardText.daily")||e.period===r("cardText.monthly")&&t.period===r("cardText.daily")||e.period===r("cardText.monthly")&&t.period===r("cardText.weekly")?1:e.period===r("cardText.daily")&&t.period===r("cardText.weekly")||e.period===r("cardText.daily")&&t.period===r("cardText.monthly")||e.period===r("cardText.weekly")&&t.period===r("cardText.monthly")?-1:0,C=()=>{var e;e=o===r("cardText.timeLimit")?r("cardText.timeLimitLower"):o===r("cardText.depositLimit")?r("cardText.depositLimitLower"):o===r("cardText.wageringLimit")?r("cardText.wageringLimitLower"):r("cardText.lossLimitLower"),i(7,m=r("cardText.removeLimitsText",{values:{limit:e}})),i(8,f=r("cardText.removeLimitText",{values:{limit:e}})),o===r("cardText.depositLimit")||o===r("cardText.timeLimit")?Array.isArray(n)&&(n.forEach(e=>{e.isModified&&i(9,g=!1)}),n.sort(x),(n=>{const t=l;l.forEach(t=>{n.indexOf(t),n.find(e=>e.period===t)&&(l=l.filter(e=>e!==t)),n.forEach(e=>{e.period===t&&e.amount!==r("cardText.noLimit")&&i(4,c=!1)})}),l.forEach(e=>{n.name===r("cardText.timeLimit")?w(n,t.indexOf(e),e,r("cardText.time")):w(n,t.indexOf(e),e,r("cardText.currency"))})})(n)):(n.hasOwnProperty("period")||i(0,n={period:r("cardText.daily"),amount:r("cardText.noLimit"),currency:"",isModified:!1,expiryDate:""}),i(4,c=n.amount==r("cardText.noLimit")))},P=e=>{if(e.data)switch(e.data.type){case"ClosePlayerAccountGamingLimitsPopup":i(3,a=new Array(5).fill(0));break;case"ModalClosed":i(6,u=!1),i(5,d=!1)}};return Z(()=>(window.addEventListener("message",P,!1),()=>{window.removeEventListener("message",P)})),e.$$set=e=>{"limitsdata"in e&&i(0,n=e.limitsdata),"limitname"in e&&i(1,o=e.limitname),"playercurrency"in e&&i(2,s=e.playercurrency)},e.$$.update=()=>{3&e.$$.dirty[0]&&n&&o&&C()},[n,o,s,a,c,d,u,m,f,g,r,p,y,_,b,(e,t)=>{i(6,u=!0),i(5,d=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:e,removeName:t},window.location.href)},v,()=>v(0),e=>v(e+1),e=>v(e+1),()=>_(n),()=>b(n)]}function lh(e){let n;return{c(){n=Ct("player-account-gaming-limits-group-edit"),V(n,"limitsdata",e[7]),V(n,"limitname",e[8]),V(n,"showsuccessnotification",e[5]),V(n,"showdeletenotification",e[4]),V(n,"playercurrency",e[6])},m(e,t){vt(e,n,t)},p(e,t){128&t&&V(n,"limitsdata",e[7]),256&t&&V(n,"limitname",e[8]),32&t&&V(n,"showsuccessnotification",e[5]),16&t&&V(n,"showdeletenotification",e[4]),64&t&&V(n,"playercurrency",e[6])},d(e){e&&wt(n)}}}function ch(e){let n,i,o,r,s,a,l,c,d,u,h,p,m,f=e[10]("gamingLimits.gamingLimitsText")+"",g=e[11]&&function(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g=n[10]("gamingLimits.gamingLimitsText")+"";return{c(){i=Ct("div"),o=t("svg"),r=t("defs"),s=t("style"),a=Pt(".aaa{fill:#d0046c;}"),l=t("g"),c=t("g"),d=t("path"),u=At(),h=Ct("h2"),p=Pt(g),St(d,"class","aaa"),St(d,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),St(d,"transform","translate(15 15) rotate(180)"),St(c,"transform","translate(20 158)"),St(l,"transform","translate(-20 -158)"),St(o,"xmlns","http://www.w3.org/2000/svg"),St(o,"width","15"),St(o,"height","15"),St(o,"viewBox","0 0 15 15"),St(h,"class","PlayerGamingLimitsTitleMobile"),St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(s,a),bt(o,l),bt(l,c),bt(c,d),bt(i,u),bt(i,h),bt(h,p),m||(f=Tt(i,"click",n[18]),m=!0)},p(e,t){1024&t&&g!==(g=e[10]("gamingLimits.gamingLimitsText")+"")&&q(p,g)},d(e){e&&wt(i),m=!1,f()}}}(e);return{c(){n=Ct("div"),g&&g.c(),i=At(),o=Ct("h2"),r=Pt(f),s=At(),a=Ct("div"),l=Ct("player-account-gaming-limits-info-card"),c=At(),d=Ct("player-account-gaming-limits-info-card"),u=At(),h=Ct("player-account-gaming-limits-info-card"),p=At(),m=Ct("player-account-gaming-limits-info-card"),St(o,"class","PlayerGamingLimitsTitle "+(e[11]?"PlayerGamingLimitsTitleNone":"")),V(l,"limitsdata",e[0]),V(l,"limitname",e[12]),V(l,"playercurrency",e[6]),V(d,"limitsdata",e[1]),V(d,"limitname",e[13]),V(d,"playercurrency",e[6]),V(h,"limitsdata",e[2]),V(h,"limitname",e[14]),V(h,"playercurrency",e[6]),V(m,"limitsdata",e[3]),V(m,"limitname",e[15]),V(m,"playercurrency",e[6]),St(a,"class","PlayerAccountGamingLimitsContainer"),St(n,"class","PlayerAccountGamingLimitsWrapper "+(e[11]?"PlayerAccountMobileGamingLimitsWrapper":"")+" "+(e[16].matches&&e[11]?"PlayerAccountTabletGamingLimitsWrapper":""))},m(e,t){vt(e,n,t),g&&g.m(n,null),bt(n,i),bt(n,o),bt(o,r),bt(n,s),bt(n,a),bt(a,l),bt(a,c),bt(a,d),bt(a,u),bt(a,h),bt(a,p),bt(a,m)},p(e,t){e[11]&&g.p(e,t),1024&t&&f!==(f=e[10]("gamingLimits.gamingLimitsText")+"")&&q(r,f),1&t&&V(l,"limitsdata",e[0]),64&t&&V(l,"playercurrency",e[6]),2&t&&V(d,"limitsdata",e[1]),64&t&&V(d,"playercurrency",e[6]),4&t&&V(h,"limitsdata",e[2]),64&t&&V(h,"playercurrency",e[6]),8&t&&V(m,"limitsdata",e[3]),64&t&&V(m,"playercurrency",e[6])},d(e){e&&wt(n),g&&g.d()}}}function dh(e){let n;function i(e){return e[9]?ch:lh}let o=i(e),r=o(e);return{c(){r.c(),n=k(),this.c=yt},m(e,t){r.m(e,t),vt(e,n,t)},p(e,[t]){o===(o=i(e))&&r?r.p(e,t):(r.d(1),r=o(e),r&&(r.c(),r.m(n.parentNode,n)))},i:yt,o:yt,d(e){r.d(e),e&&wt(n)}}}function uh(e,t,n){let i;R(e,Di,e=>n(10,i=e));let{depositlimit:o=""}=t,{wageringlimit:r=""}=t,{losslimit:s=""}=t,{timelimit:a=""}=t,{showdeletenotification:l=!1}=t,{showsuccessnotification:c=!1}=t;Object.keys(Ud).forEach(e=>{di(e,Ud[e])});let d,u=window.navigator.userAgent,h="PC"!==ki(u),p="",m="",f=!0,g=i("gamingLimits.depositLimit"),y=i("gamingLimits.wageringLimit"),_=i("gamingLimits.lossLimit"),b=i("gamingLimits.timeLimit");const v=window.matchMedia("(min-width: 768px)"),w=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},x=e=>{if(e.data)switch(e.data.type){case"EditPlayerAccountGamingLimits":n(7,d=e.data.edit),n(8,m=e.data.name),n(9,f=!1);break;case"PlayerAccountBackToLimitsView":n(9,f=!0);break;case"ProfileDetailsData":var t=e.data.profileDetails;n(6,p=t.currency)}};return Z(()=>(window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)})),e.$$set=e=>{"depositlimit"in e&&n(0,o=e.depositlimit),"wageringlimit"in e&&n(1,r=e.wageringlimit),"losslimit"in e&&n(2,s=e.losslimit),"timelimit"in e&&n(3,a=e.timelimit),"showdeletenotification"in e&&n(4,l=e.showdeletenotification),"showsuccessnotification"in e&&n(5,c=e.showsuccessnotification)},e.$$.update=()=>{8&e.$$.dirty&&a&&g&&y&&_&&b&&H()},[o,r,s,a,l,c,p,d,m,f,i,h,g,y,_,b,v,w,()=>w()]}function hh(e){let n,i,o,r,s,a,l;return{c(){n=Ct("div"),i=Ct("p"),i.textContent="Bonus Amount",o=At(),r=Ct("p"),s=Pt(e[3]),a=At(),l=Pt(e[6]),St(i,"class","BonusCardRowTitle"),St(r,"class","BonusCardRowText"),St(n,"class","BonusCardRow")},m(e,t){vt(e,n,t),bt(n,i),bt(n,o),bt(n,r),bt(r,s),bt(r,a),bt(r,l)},p(e,t){8&t&&q(s,e[3]),64&t&&q(l,e[6])},d(e){e&&wt(n)}}}function ph(e){let n,i,o,r,s,a,l;return{c(){n=Ct("div"),i=Ct("p"),i.textContent="Wagering Amount",o=At(),r=Ct("p"),s=Pt(e[4]),a=At(),l=Pt(e[6]),St(i,"class","BonusCardRowTitle"),St(r,"class","BonusCardRowText"),St(n,"class","BonusCardRow")},m(e,t){vt(e,n,t),bt(n,i),bt(n,o),bt(n,r),bt(r,s),bt(r,a),bt(r,l)},p(e,t){16&t&&q(s,e[4]),64&t&&q(l,e[6])},d(e){e&&wt(n)}}}function mh(e){let n,i,o,r,s,a,l;return{c(){n=Ct("div"),i=Ct("p"),i.textContent="Remaining Bonus Amount",o=At(),r=Ct("p"),s=Pt(e[5]),a=At(),l=Pt(e[6]),St(i,"class","BonusCardRowTitle"),St(r,"class","BonusCardRowText"),St(n,"class","BonusCardRow")},m(e,t){vt(e,n,t),bt(n,i),bt(n,o),bt(n,r),bt(r,s),bt(r,a),bt(r,l)},p(e,t){32&t&&q(s,e[5]),64&t&&q(l,e[6])},d(e){e&&wt(n)}}}function fh(n){let i,o,r,s;return{c(){i=Ct("button"),o=Pt("Forfeit Bonus"),St(i,"class","DeleteBonus "+(n[8]?"DeleteBonusMobile":""))},m(e,t){vt(e,i,t),bt(i,o),r||(s=Tt(i,"click",n[9]),r=!0)},p:yt,d(e){e&&wt(i),r=!1,s()}}}function gh(e){let n,i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w,x,C,P,A,T,S,E,M=Io(e[0]).format("DD/MM/YYYY h:mm A")+"",D=0<=e[3]&&hh(e),k=0<=e[4]&&ph(e),I=0<=e[5]&&mh(e),L="active"===e[1]&&fh(e);return{c(){n=Ct("div"),i=Ct("div"),o=Ct("div"),r=Ct("p"),s=Pt("Granted date: "),a=Ct("span"),l=Pt(M),c=At(),d=Ct("p"),u=Pt(e[1]),p=At(),m=Ct("div"),f=Ct("p"),f.textContent="Bonus Name",g=At(),y=Ct("p"),_=Pt(e[2]),b=At(),v=Ct("div"),w=Ct("p"),w.textContent="Bonus Type",x=At(),C=Ct("p"),P=Pt(e[7]),A=At(),D&&D.c(),T=At(),k&&k.c(),S=At(),I&&I.c(),E=At(),L&&L.c(),this.c=yt,St(r,"class","BonusCardRowTitle"),St(d,"class",h="BonusCardRowText BonusCardStatus TextCapitalize "+("active"===e[1]||"released"===e[1]?"StatusActive":"")+" "+("expired"===e[1]?"StatusExpired":"")+" "+("forfeited"===e[1]?"StatusForfeited":"")),St(o,"class","BonusCardRow"),St(f,"class","BonusCardRowTitle"),St(y,"class","BonusCardRowText"),St(m,"class","BonusCardRow"),St(w,"class","BonusCardRowTitle"),St(C,"class","BonusCardRowText TextCapitalize"),St(v,"class","BonusCardRow"),St(i,"class","BonusCardInfo"),St(n,"class","BonusCard")},m(e,t){vt(e,n,t),bt(n,i),bt(i,o),bt(o,r),bt(r,s),bt(r,a),bt(a,l),bt(o,c),bt(o,d),bt(d,u),bt(i,p),bt(i,m),bt(m,f),bt(m,g),bt(m,y),bt(y,_),bt(i,b),bt(i,v),bt(v,w),bt(v,x),bt(v,C),bt(C,P),bt(i,A),D&&D.m(i,null),bt(i,T),k&&k.m(i,null),bt(i,S),I&&I.m(i,null),bt(n,E),L&&L.m(n,null)},p(e,[t]){1&t&&M!==(M=Io(e[0]).format("DD/MM/YYYY h:mm A")+"")&&q(l,M),2&t&&q(u,e[1]),2&t&&h!==(h="BonusCardRowText BonusCardStatus TextCapitalize "+("active"===e[1]||"released"===e[1]?"StatusActive":"")+" "+("expired"===e[1]?"StatusExpired":"")+" "+("forfeited"===e[1]?"StatusForfeited":""))&&St(d,"class",h),4&t&&q(_,e[2]),128&t&&q(P,e[7]),0<=e[3]?D?D.p(e,t):(D=hh(e),D.c(),D.m(i,T)):D&&(D.d(1),D=null),0<=e[4]?k?k.p(e,t):(k=ph(e),k.c(),k.m(i,S)):k&&(k.d(1),k=null),0<=e[5]?I?I.p(e,t):(I=mh(e),I.c(),I.m(i,null)):I&&(I.d(1),I=null),"active"===e[1]?L?L.p(e,t):(L=fh(e),L.c(),L.m(n,null)):L&&(L.d(1),L=null)},i:yt,o:yt,d(e){e&&wt(n),D&&D.d(),k&&k.d(),I&&I.d(),L&&L.d()}}}function yh(e,t,n){let{bonuswalletid:i=""}=t,{bonusdate:o=""}=t,{bonusstatus:r=""}=t,{bonusname:s=""}=t,{bonustype:a=""}=t,{bonusamount:l=""}=t,{bonuswageringamount:c=""}=t,{bonusremainingamount:d=""}=t,{bonuscurrency:u=""}=t,h=window.navigator.userAgent,p="PC"!==ki(h),m="";return e.$$set=e=>{"bonuswalletid"in e&&n(10,i=e.bonuswalletid),"bonusdate"in e&&n(0,o=e.bonusdate),"bonusstatus"in e&&n(1,r=e.bonusstatus),"bonusname"in e&&n(2,s=e.bonusname),"bonustype"in e&&n(11,a=e.bonustype),"bonusamount"in e&&n(3,l=e.bonusamount),"bonuswageringamount"in e&&n(4,c=e.bonuswageringamount),"bonusremainingamount"in e&&n(5,d=e.bonusremainingamount),"bonuscurrency"in e&&n(6,u=e.bonuscurrency)},e.$$.update=()=>{2048&e.$$.dirty&&a&&(n(7,m=a),"freeRound"===m?n(7,m="Free Spins"):"freeBet"===m&&n(7,m="Free Bet"))},[o,r,s,l,c,d,u,m,p,()=>{window.postMessage({type:"DeleteActiveBonus",bonuswalletid:i},window.location.href)},i,a]}function _h(e,t,n){const i=e.slice();return i[31]=t[n],i[33]=n,i}function bh(e,t,n){const i=e.slice();return i[34]=t[n],i}function vh(){let n;return{c(){n=Ct("p"),n.textContent="The bonus code provided is invalid.",St(n,"class","InvalidBonusCodeMessage")},m(e,t){vt(e,n,t)},d(e){e&&wt(n)}}}function wh(t){let o,r=t[8],s=[];for(let e=0;e<r.length;e+=1)s[e]=Ah(bh(t,r,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();o=k()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);vt(t,o,n)},p(t,n){if(256&n[0]){let e;for(r=t[8],e=0;e<r.length;e+=1){var i=bh(t,r,e);s[e]?s[e].p(i,n):(s[e]=Ah(i),s[e].c(),s[e].m(o.parentNode,o))}for(;e<s.length;e+=1)s[e].d(1);s.length=r.length}},d(e){xt(s,e),e&&wt(o)}}}function xh(e){let n;return{c(){n=Ct("p"),n.textContent="You have no active bonuses at the moment."},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Ch(e){let n,i,o,r,s,a,l,c,d,u;return{c(){n=Ct("player-bonus-card"),V(n,"bonuswalletid",i=e[34].walletId),V(n,"bonusdate",o=e[34].granted),V(n,"bonusstatus",r=e[34].status),V(n,"bonusname",s=e[34].name),V(n,"bonustype",a=e[34].type),V(n,"bonusamount",l=e[34].grantedAmount),V(n,"bonuswageringamount",c=e[34].totalWR),V(n,"bonusremainingamount",d=e[34].currentAmount),V(n,"bonuscurrency",u=e[34].currency)},m(e,t){vt(e,n,t)},p(e,t){256&t[0]&&i!==(i=e[34].walletId)&&V(n,"bonuswalletid",i),256&t[0]&&o!==(o=e[34].granted)&&V(n,"bonusdate",o),256&t[0]&&r!==(r=e[34].status)&&V(n,"bonusstatus",r),256&t[0]&&s!==(s=e[34].name)&&V(n,"bonusname",s),256&t[0]&&a!==(a=e[34].type)&&V(n,"bonustype",a),256&t[0]&&l!==(l=e[34].grantedAmount)&&V(n,"bonusamount",l),256&t[0]&&c!==(c=e[34].totalWR)&&V(n,"bonuswageringamount",c),256&t[0]&&d!==(d=e[34].currentAmount)&&V(n,"bonusremainingamount",d),256&t[0]&&u!==(u=e[34].currency)&&V(n,"bonuscurrency",u)},d(e){e&&wt(n)}}}function Ph(e){let n,i,o,r,s,a,l;return{c(){n=Ct("player-bonus-card"),V(n,"bonuswalletid",i=e[34].walletId),V(n,"bonusdate",o=e[34].granted),V(n,"bonusstatus",r=e[34].status),V(n,"bonusname",s=e[34].name),V(n,"bonustype",a=e[34].type),V(n,"bonuscurrency",l=e[34].currency)},m(e,t){vt(e,n,t)},p(e,t){256&t[0]&&i!==(i=e[34].walletId)&&V(n,"bonuswalletid",i),256&t[0]&&o!==(o=e[34].granted)&&V(n,"bonusdate",o),256&t[0]&&r!==(r=e[34].status)&&V(n,"bonusstatus",r),256&t[0]&&s!==(s=e[34].name)&&V(n,"bonusname",s),256&t[0]&&a!==(a=e[34].type)&&V(n,"bonustype",a),256&t[0]&&l!==(l=e[34].currency)&&V(n,"bonuscurrency",l)},d(e){e&&wt(n)}}}function Ah(e){let n;function i(e){return"freeRound"===e[34].type?Ph:Ch}let o=i(e),r=o(e);return{c(){r.c(),n=k()},m(e,t){r.m(e,t),vt(e,n,t)},p(e,t){o===(o=i(e))&&r?r.p(e,t):(r.d(1),r=o(e),r&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&wt(n)}}}function Th(n){let o,r,i,e,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w=Array(n[6]),x=[];for(let e=0;e<w.length;e+=1)x[e]=Sh(_h(n,w,e));return{c(){o=Ct("div"),r=Ct("span"),i=Pt("|<"),s=At(),a=Ct("span"),l=Pt("<"),d=At();for(let e=0;e<x.length;e+=1)x[e].c();u=At(),h=Ct("span"),p=Pt(">"),f=At(),g=Ct("span"),y=Pt(">|"),St(r,"class",e="BonusesFirst "+(0===n[7]?"Inactive":"")),St(a,"class",c="BonusesPrev "+(0===n[7]?"Inactive":"")),St(h,"class",m="BonusesNext "+(n[7]===n[6]-1?"Inactive":"")),St(g,"class",_="BonusesLast "+(n[7]===n[6]-1?"Inactive":"")),St(o,"class","BonusesPaginationWrapper "+(n[10]?"BonusesPaginationWrapperMobile":""))},m(e,t){vt(e,o,t),bt(o,r),bt(r,i),bt(o,s),bt(o,a),bt(a,l),bt(o,d);for(let e=0;e<x.length;e+=1)x[e].m(o,null);bt(o,u),bt(o,h),bt(h,p),bt(o,f),bt(o,g),bt(g,y),b||(v=[Tt(r,"click",n[22]),Tt(a,"click",n[23]),Tt(h,"click",n[25]),Tt(g,"click",n[26])],b=!0)},p(t,n){if(128&n[0]&&e!==(e="BonusesFirst "+(0===t[7]?"Inactive":""))&&St(r,"class",e),128&n[0]&&c!==(c="BonusesPrev "+(0===t[7]?"Inactive":""))&&St(a,"class",c),8384&n[0]){let e;for(w=Array(t[6]),e=0;e<w.length;e+=1){var i=_h(t,w,e);x[e]?x[e].p(i,n):(x[e]=Sh(i),x[e].c(),x[e].m(o,u))}for(;e<x.length;e+=1)x[e].d(1);x.length=w.length}192&n[0]&&m!==(m="BonusesNext "+(t[7]===t[6]-1?"Inactive":""))&&St(h,"class",m),192&n[0]&&_!==(_="BonusesLast "+(t[7]===t[6]-1?"Inactive":""))&&St(g,"class",_)},d(e){e&&wt(o),xt(x,e),b=!1,_t(v)}}}function Sh(n){let i,o,r,s,a,e=n[33]+1+"";function l(){return n[24](n[33])}return{c(){i=Ct("span"),o=Pt(e),St(i,"class",r="BonusesPage "+(n[33]===n[7]?"BonusPageActive":""))},m(e,t){vt(e,i,t),bt(i,o),s||(a=Tt(i,"click",l),s=!0)},p(e,t){n=e,128&t[0]&&r!==(r="BonusesPage "+(n[33]===n[7]?"BonusPageActive":""))&&St(i,"class",r)},d(e){e&&wt(i),s=!1,a()}}}function Eh(n){let i,o,r,s,a,l,c,d,u,h,p,m,f=!n[10]&&function(n){let i,o,r;return{c(){i=Ct("span"),St(i,"class","ModalClose")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[15]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(n);return{c(){i=Ct("div"),o=Ct("div"),f&&f.c(),r=At(),s=Ct("div"),a=Ct("p"),a.textContent="Are you sure want to forfeit bonus?",l=At(),c=Ct("div"),d=Ct("button"),d.textContent="Cancel",u=At(),h=Ct("button"),h.textContent="Confirm",St(a,"class","ModalText"),St(d,"class","ModalCancel"),St(h,"class","ModalConfirm"),St(c,"class","ModalButtons"),St(s,"class","ModalBody"),St(o,"class","ModalContent"),St(i,"class","ModalWrapper "+(n[10]?"ModalWrapperMobile":""))},m(e,t){vt(e,i,t),bt(i,o),f&&f.m(o,null),bt(o,r),bt(o,s),bt(s,a),bt(s,l),bt(s,c),bt(c,d),bt(c,u),bt(c,h),p||(m=[Tt(d,"click",n[15]),Tt(h,"click",n[16])],p=!0)},p(e,t){e[10]||f.p(e,t)},d(e){e&&wt(i),f&&f.d(),p=!1,_t(m)}}}function Mh(e){let n,i=function(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w,x,C,P=n[10]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="ActiveBonusesTitleMobile">Active Bonuses</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[20]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(n),A=n[1]&&vh();function T(e){return 0===e[8].length?xh:wh}let S=T(n),E=S(n),M=0!==n[8].length&&Th(n),D=n[9]&&Eh(n);return{c(){i=Ct("div"),P&&P.c(),o=At(),r=Ct("h2"),s=Pt("Active Bonuses"),a=At(),l=Ct("div"),c=Ct("label"),c.textContent="Do you have a bonus code?",d=At(),u=Ct("div"),h=Ct("input"),p=At(),m=Ct("button"),f=Pt("Get Bonus"),g=At(),A&&A.c(),y=At(),_=Ct("div"),E.c(),b=At(),M&&M.c(),v=At(),D&&D.c(),w=k(),St(r,"class","ActiveBonusesTitle "+(n[10]?"ActiveBonusesTitleNone":"")),St(c,"for","BonusCode"),St(h,"class","BonusCodeInput "+(n[10]?"BonusCodeInputMobile":"")),St(h,"type","text"),St(h,"id","BonusCode"),St(m,"class","SubmitBonusCode "+(n[10]?"SubmitBonusCodeMobile":"")),m.disabled=n[0],St(u,"class","BonusCodeWrapper "+(n[10]?"BonusCodeWrapperMobile":"")),St(l,"class","BonusCodeContainer "+(n[10]?"BonusCodeContainerMobile":"")),St(_,"class","ActiveBonusesGrid "+(n[10]?"ActiveBonusesGridMobile":"")),St(i,"class","ActiveBonusesWrapper "+(n[10]?"ActiveBonusesWrapperMobile":""))},m(e,t){vt(e,i,t),P&&P.m(i,null),bt(i,o),bt(i,r),bt(r,s),bt(i,a),bt(i,l),bt(l,c),bt(l,d),bt(l,u),bt(u,h),Et(h,n[2]),bt(u,p),bt(u,m),bt(m,f),bt(l,g),A&&A.m(l,null),bt(i,y),bt(i,_),E.m(_,null),bt(i,b),M&&M.m(i,null),vt(e,v,t),D&&D.m(e,t),vt(e,w,t),x||(C=[Tt(h,"input",n[21]),Tt(h,"keyup",n[12]),Tt(m,"click",n[14])],x=!0)},p(e,t){e[10]&&P.p(e,t),4&t[0]&&h.value!==e[2]&&Et(h,e[2]),1&t[0]&&(m.disabled=e[0]),e[1]?A||(A=vh(),A.c(),A.m(l,null)):A&&(A.d(1),A=null),S===(S=T(e))&&E?E.p(e,t):(E.d(1),E=S(e),E&&(E.c(),E.m(_,null))),0!==e[8].length?M?M.p(e,t):(M=Th(e),M.c(),M.m(i,null)):M&&(M.d(1),M=null),e[9]?D?D.p(e,t):(D=Eh(e),D.c(),D.m(w.parentNode,w)):D&&(D.d(1),D=null)},d(e){e&&wt(i),P&&P.d(),A&&A.d(),E.d(),M&&M.d(),e&&wt(v),D&&D.d(e),e&&wt(w),x=!1,_t(C)}}}(e);return{c(){i.c(),n=k(),this.c=yt},m(e,t){i.m(e,t),vt(e,n,t)},p(e,t){i.p(e,t)},i:yt,o:yt,d(e){i.d(e),e&&wt(n)}}}function Dh(e,t,i){let{endpoint:o=""}=t,{session:r=""}=t,{playerid:s=""}=t,n=window.navigator.userAgent,a="PC"!==ki(n),l,c="",d=0,u=0,h=0,p=0,m=0,f=[],g="",y=!1;const _=e=>{e.data&&"DeleteActiveBonus"===e.data.type&&(g=e.data.bonuswalletid,i(9,y=!0))},b=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},v=t=>{let e={method:"GET",headers:{"X-SessionId":r,playerId:s}},n=new URL(`${o}/player/${s}/bonusWallet`);n.searchParams.append("filter","status=active,type=standard,type=cashback,type=freeround,type=freebet,type=wagering"),n.searchParams.append("pagination",`offset=${t},limit=6`),fetch(n,e).then(e=>e.json()).then(e=>{i(6,p=Math.ceil(e.total/6)),0<=t-6&&i(3,d=t-6),t+6<e.total&&i(4,u=t+6),i(5,h=6*(p-1)),i(7,m=t/6),i(8,f=e.items)},e=>{console.error(e)})};return Z(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)})),e.$$set=e=>{"endpoint"in e&&i(17,o=e.endpoint),"session"in e&&i(18,r=e.session),"playerid"in e&&i(19,s=e.playerid)},[!0,!(e.$$.update=()=>{917504&e.$$.dirty[0]&&r&&s&&o&&v(0)}),c,d,u,h,p,m,f,y,a,b,()=>{i(0,l=!c)},v,()=>{let e=new URL(`${o}/player/${s}/claimbonus`),t={method:"POST",headers:{"X-SessionId":r,accept:"application/json"}};e.searchParams.append("currency","EUR"),e.searchParams.append("bonusCode",c),fetch(e.href,t).then(e=>{200==e.status?v(0):i(1,!0)})},()=>{i(9,y=!1)},()=>{let e={method:"DELETE",headers:{"X-SessionId":r,playerId:s}},t=new URL(`${o}/player/${s}/bonusWallet`);t.searchParams.append("bonusWalletID",g),fetch(t,e).then(e=>{200==e.status&&(v(0),i(9,y=!1))})},o,r,s,()=>b(),function(){c=this.value,i(2,c)},()=>v(0),()=>v(d),e=>v(6*e),()=>v(u),()=>v(h)]}function kh(e,t,n){const i=e.slice();return i[31]=t[n],i[33]=n,i}function Ih(e,t,n){const i=e.slice();return i[34]=t[n],i}function Lh(t){let o,r=t[9],s=[];for(let e=0;e<r.length;e+=1)s[e]=Rh(Ih(t,r,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();o=k()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);vt(t,o,n)},p(t,n){if(512&n[0]){let e;for(r=t[9],e=0;e<r.length;e+=1){var i=Ih(t,r,e);s[e]?s[e].p(i,n):(s[e]=Rh(i),s[e].c(),s[e].m(o.parentNode,o))}for(;e<s.length;e+=1)s[e].d(1);s.length=r.length}},d(e){xt(s,e),e&&wt(o)}}}function Oh(e){let n;return{c(){n=Ct("p"),n.textContent="You have no bonuses at the moment."},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Nh(e){let n,i,o,r,s,a,l,c,d,u;return{c(){n=Ct("player-bonus-card"),V(n,"bonuswalletid",i=e[34].walletId),V(n,"bonusdate",o=e[34].granted),V(n,"bonusstatus",r=e[34].status),V(n,"bonusname",s=e[34].name),V(n,"bonustype",a=e[34].type),V(n,"bonusamount",l=e[34].grantedAmount),V(n,"bonuswageringamount",c=e[34].totalWR),V(n,"bonusremainingamount",d=e[34].currentAmount),V(n,"bonuscurrency",u=e[34].currency)},m(e,t){vt(e,n,t)},p(e,t){512&t[0]&&i!==(i=e[34].walletId)&&V(n,"bonuswalletid",i),512&t[0]&&o!==(o=e[34].granted)&&V(n,"bonusdate",o),512&t[0]&&r!==(r=e[34].status)&&V(n,"bonusstatus",r),512&t[0]&&s!==(s=e[34].name)&&V(n,"bonusname",s),512&t[0]&&a!==(a=e[34].type)&&V(n,"bonustype",a),512&t[0]&&l!==(l=e[34].grantedAmount)&&V(n,"bonusamount",l),512&t[0]&&c!==(c=e[34].totalWR)&&V(n,"bonuswageringamount",c),512&t[0]&&d!==(d=e[34].currentAmount)&&V(n,"bonusremainingamount",d),512&t[0]&&u!==(u=e[34].currency)&&V(n,"bonuscurrency",u)},d(e){e&&wt(n)}}}function Bh(e){let n,i,o,r,s,a,l;return{c(){n=Ct("player-bonus-card"),V(n,"bonuswalletid",i=e[34].walletId),V(n,"bonusdate",o=e[34].granted),V(n,"bonusstatus",r=e[34].status),V(n,"bonusname",s=e[34].name),V(n,"bonustype",a=e[34].type),V(n,"bonuscurrency",l=e[34].currency)},m(e,t){vt(e,n,t)},p(e,t){512&t[0]&&i!==(i=e[34].walletId)&&V(n,"bonuswalletid",i),512&t[0]&&o!==(o=e[34].granted)&&V(n,"bonusdate",o),512&t[0]&&r!==(r=e[34].status)&&V(n,"bonusstatus",r),512&t[0]&&s!==(s=e[34].name)&&V(n,"bonusname",s),512&t[0]&&a!==(a=e[34].type)&&V(n,"bonustype",a),512&t[0]&&l!==(l=e[34].currency)&&V(n,"bonuscurrency",l)},d(e){e&&wt(n)}}}function Rh(e){let n;function i(e){return"freeRound"===e[34].type?Bh:Nh}let o=i(e),r=o(e);return{c(){r.c(),n=k()},m(e,t){r.m(e,t),vt(e,n,t)},p(e,t){o===(o=i(e))&&r?r.p(e,t):(r.d(1),r=o(e),r&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&wt(n)}}}function Fh(n){let o,r,i,e,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w=Array(n[7]),x=[];for(let e=0;e<w.length;e+=1)x[e]=$h(kh(n,w,e));return{c(){o=Ct("div"),r=Ct("span"),i=Pt("|<"),s=At(),a=Ct("span"),l=Pt("<"),d=At();for(let e=0;e<x.length;e+=1)x[e].c();u=At(),h=Ct("span"),p=Pt(">"),f=At(),g=Ct("span"),y=Pt(">|"),St(r,"class",e="BonusesFirst "+(0===n[8]?"Inactive":"")),St(a,"class",c="BonusesPrev "+(0===n[8]?"Inactive":"")),St(h,"class",m="BonusesNext "+(n[8]===n[7]-1?"Inactive":"")),St(g,"class",_="BonusesLast "+(n[8]===n[7]-1?"Inactive":"")),St(o,"class","BonusesPaginationWrapper "+(n[10]?"BonusesPaginationWrapperMobile":""))},m(e,t){vt(e,o,t),bt(o,r),bt(r,i),bt(o,s),bt(o,a),bt(a,l),bt(o,d);for(let e=0;e<x.length;e+=1)x[e].m(o,null);bt(o,u),bt(o,h),bt(h,p),bt(o,f),bt(o,g),bt(g,y),b||(v=[Tt(r,"click",n[20]),Tt(a,"click",n[21]),Tt(h,"click",n[23]),Tt(g,"click",n[24])],b=!0)},p(t,n){if(256&n[0]&&e!==(e="BonusesFirst "+(0===t[8]?"Inactive":""))&&St(r,"class",e),256&n[0]&&c!==(c="BonusesPrev "+(0===t[8]?"Inactive":""))&&St(a,"class",c),4480&n[0]){let e;for(w=Array(t[7]),e=0;e<w.length;e+=1){var i=kh(t,w,e);x[e]?x[e].p(i,n):(x[e]=$h(i),x[e].c(),x[e].m(o,u))}for(;e<x.length;e+=1)x[e].d(1);x.length=w.length}384&n[0]&&m!==(m="BonusesNext "+(t[8]===t[7]-1?"Inactive":""))&&St(h,"class",m),384&n[0]&&_!==(_="BonusesLast "+(t[8]===t[7]-1?"Inactive":""))&&St(g,"class",_)},d(e){e&&wt(o),xt(x,e),b=!1,_t(v)}}}function $h(n){let i,o,r,s,a,e=n[33]+1+"";function l(){return n[22](n[33])}return{c(){i=Ct("span"),o=Pt(e),St(i,"class",r="BonusesPage "+(n[33]===n[8]?"BonusPageActive":""))},m(e,t){vt(e,i,t),bt(i,o),s||(a=Tt(i,"click",l),s=!0)},p(e,t){n=e,256&t[0]&&r!==(r="BonusesPage "+(n[33]===n[8]?"BonusPageActive":""))&&St(i,"class",r)},d(e){e&&wt(i),s=!1,a()}}}function zh(e){let n,i=function(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w,x,C,P,A,T,S=n[10]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="BonusesTitleMobile">Bonus History</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[16]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(n);function E(e){return 0===e[9].length?Oh:Lh}let M=E(n),D=M(n),k=0!==n[9].length&&Fh(n);return{c(){i=Ct("div"),S&&S.c(),o=At(),r=Ct("h2"),s=Pt("Bonus History"),a=At(),l=Ct("div"),c=Ct("div"),d=Ct("div"),u=Ct("label"),u.textContent="From:",h=At(),p=Ct("vaadin-date-picker"),m=At(),f=Ct("div"),g=Ct("label"),g.textContent="To:",y=At(),_=Ct("vaadin-date-picker"),b=At(),v=Ct("button"),w=Pt("Filter"),x=At(),C=Ct("div"),D.c(),P=At(),k&&k.c(),St(r,"class","BonusesTitle "+(n[10]?"BonusesTitleNone":"")),St(u,"for","BonusCalendarStartDate"),V(p,"max",n[2]),V(p,"value",n[3]),V(p,"placeholder","From"),V(p,"class","VaadinDatePicker"),St(d,"class","BonusesCalendarStartDate "+(n[10]?"BonusesCalendarMobile":"")),St(g,"for","BonusesCalendarEndDate"),V(_,"max",n[2]),V(_,"value",n[2]),V(_,"placeholder","To"),V(_,"class","VaadinDatePicker"),St(f,"class","BonusesCalendarEndDate "+(n[10]?"BonusesCalendarMobile":"")),St(c,"class","BonusesCalendarContainer "+(n[10]?"BonusesCalendarContainerMobile":"")),St(v,"class","BonusesCalendarFilter "+(n[10]?"BonusesCalendarFilterMobile":"")),St(l,"class","BonusCalendarWrapper "+(n[10]?"BonusCalendarWrapperMobile":"")),St(C,"class","BonusesGrid "+(n[10]?"BonusesGridMobile":"")),St(i,"class","BonusesWrapper "+(n[10]?"BonusesWrapperMobile":""))},m(e,t){vt(e,i,t),S&&S.m(i,null),bt(i,o),bt(i,r),bt(r,s),bt(i,a),bt(i,l),bt(l,c),bt(c,d),bt(d,u),bt(d,h),bt(d,p),n[17](p),bt(c,m),bt(c,f),bt(f,g),bt(f,y),bt(f,_),n[18](_),bt(l,b),bt(l,v),bt(v,w),bt(i,x),bt(i,C),D.m(C,null),bt(i,P),k&&k.m(i,null),A||(T=Tt(v,"click",n[19]),A=!0)},p(e,t){e[10]&&S.p(e,t),4&t[0]&&V(p,"max",e[2]),8&t[0]&&V(p,"value",e[3]),4&t[0]&&V(_,"max",e[2]),4&t[0]&&V(_,"value",e[2]),M===(M=E(e))&&D?D.p(e,t):(D.d(1),D=M(e),D&&(D.c(),D.m(C,null))),0!==e[9].length?k?k.p(e,t):(k=Fh(e),k.c(),k.m(i,null)):k&&(k.d(1),k=null)},d(e){e&&wt(i),S&&S.d(),n[17](null),n[18](null),D.d(),k&&k.d(),A=!1,T()}}}(e);return{c(){i.c(),n=k(),this.c=yt},m(e,t){i.m(e,t),vt(e,n,t)},p(e,t){i.p(e,t)},i:yt,o:yt,d(e){i.d(e),e&&wt(n)}}}function Wh(e,t,o){let n,i,r,s,{endpoint:a=""}=t,{session:l=""}=t,{playerid:c=""}=t,d=window.navigator.userAgent,u="PC"!==ki(d);r=Io(new Date).format("YYYY-MM-DD");let h=s=Io(new Date).subtract(3,"months").format("YYYY-MM-DD"),p=r,m=0,f=0,g=0,y=0,_=0,b=[];const v=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},w=t=>{let e=new URL(`${a}/player/${c}/bonusWallet`),n=`status=closed,status=forfeited,status=released,status=expired,type=standard,type=cashback,type=freeround,type=freebet,type=wagering,granted=[${new Date(h).toISOString()}~${new Date(p).toISOString()}]`;e.searchParams.append("filter",n),e.searchParams.append("pagination",`offset=${t},limit=6`);var i={method:"GET",headers:{"X-SessionId":l,playerId:c}};fetch(e.href,i).then(e=>e.json()).then(e=>{o(7,y=Math.ceil(e.total/6)),0<=t-6&&o(4,m=t-6),t+6<e.total&&o(5,f=t+6),o(6,g=6*(y-1)),o(8,_=t/6),o(9,b=e.items)},e=>{console.error(e)})},x=e=>{h=e.target.value},C=e=>{p=e.target.value};return Z(()=>()=>{n.removeEventListener("change",x),i.removeEventListener("change",C)}),e.$$set=e=>{"endpoint"in e&&o(13,a=e.endpoint),"session"in e&&o(14,l=e.session),"playerid"in e&&o(15,c=e.playerid)},e.$$.update=()=>{3&e.$$.dirty[0]&&n&&i&&(n.addEventListener("change",x,!1),i.addEventListener("change",C,!1)),57344&e.$$.dirty[0]&&l&&c&&a&&w(0)},[n,i,r,s,m,f,g,y,_,b,u,v,w,a,l,c,()=>v(),function(e){J[e?"unshift":"push"](()=>{n=e,o(0,n)})},function(e){J[e?"unshift":"push"](()=>{i=e,o(1,i)})},()=>w(0),()=>w(0),()=>w(m),e=>w(6*e),()=>w(f),()=>w(g)]}function Yh(e){let n,i,o;return{c(){n=Ct("div"),i=Ct("iframe"),i.src!==(o=e[1])&&St(i,"src",o),St(i,"title","Deposit Iframe"),St(n,"class","DepositIframeWrapper")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){2&t&&i.src!==(o=e[1])&&St(i,"src",o)},d(e){e&&wt(n)}}}function Hh(e){let n;return{c(){n=Ct("p"),n.textContent="Loading, please wait ..."},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Uh(e){let n,i,o,r,s,a=e[2]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="DepositTitleMobile">Deposit</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[7]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(e);function l(e){return e[0]?Hh:Yh}let c=l(e),d=c(e);return{c(){n=Ct("div"),a&&a.c(),i=At(),o=Ct("h2"),r=Pt("Deposit"),s=At(),d.c(),this.c=yt,St(o,"class","DepositTitle "+(e[2]?"DepositTitleNone":"")),St(n,"class","DepositWrapper "+(e[2]?"DepositWrapperMobile":""))},m(e,t){vt(e,n,t),a&&a.m(n,null),bt(n,i),bt(n,o),bt(o,r),bt(n,s),d.m(n,null)},p(e,[t]){e[2]&&a.p(e,t),c===(c=l(e))&&d?d.p(e,t):(d.d(1),d=c(e),d&&(d.c(),d.m(n,null)))},i:yt,o:yt,d(e){e&&wt(n),a&&a.d(),d.d()}}}function jh(t,e,n){let{endpoint:i=""}=e,{session:o=""}=e,{playerid:r=""}=e,s=window.navigator.userAgent,a="PC"!==ki(s),l=!0,c="",d="";const u=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},h=e=>{if(e.data)switch("ProfileDetailsData"===e.data.type&&(c=e.data.profileDetails.currency),e.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"GoToDeposit"},window.location.href)}};return Z(()=>(window.addEventListener("message",h,!1),()=>{window.removeEventListener("message",h)})),t.$$set=e=>{"endpoint"in e&&n(4,i=e.endpoint),"session"in e&&n(5,o=e.session),"playerid"in e&&n(6,r=e.playerid)},t.$$.update=()=>{var e;112&t.$$.dirty&&o&&r&&i&&(e=new URL(`${i}/player/${r}/hostedcashier/initializedeposit`),fetch(e,{method:"POST",headers:{playerId:r,"X-SessionId":o,currency:c,amount:0,cashierMode:"Default",IsShortCashier:!1,accept:"application/json"}}).then(e=>e.json()).then(e=>{n(0,l=!1),n(1,d=e.CashierUrl)},e=>{console.error(e)}))},[l,d,a,u,i,o,r,()=>u()]}function Gh(e){let n,i,o;return{c(){n=Ct("div"),i=Ct("iframe"),i.src!==(o=e[1])&&St(i,"src",o),St(i,"title","Withdrawal Iframe"),St(n,"class","WithdrawalIframeWrapper")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){2&t&&i.src!==(o=e[1])&&St(i,"src",o)},d(e){e&&wt(n)}}}function Vh(e){let n;return{c(){n=Ct("p"),n.textContent="Loading, please wait ..."},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function qh(e){let n,i,o,r,s,a=e[2]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="WithdrawalTitleMobile">Withdrawal</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[7]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(e);function l(e){return e[0]?Vh:Gh}let c=l(e),d=c(e);return{c(){n=Ct("div"),a&&a.c(),i=At(),o=Ct("h2"),r=Pt("Withdrawal"),s=At(),d.c(),this.c=yt,St(o,"class","WithdrawalTitle "+(e[2]?"WithdrawalTitleNone":"")),St(n,"class","WithdrawalWrapper "+(e[2]?"WithdrawalWrapperMobile":""))},m(e,t){vt(e,n,t),a&&a.m(n,null),bt(n,i),bt(n,o),bt(o,r),bt(n,s),d.m(n,null)},p(e,[t]){e[2]&&a.p(e,t),c===(c=l(e))&&d?d.p(e,t):(d.d(1),d=c(e),d&&(d.c(),d.m(n,null)))},i:yt,o:yt,d(e){e&&wt(n),a&&a.d(),d.d()}}}function Xh(t,e,n){let{endpoint:i=""}=e,{session:o=""}=e,{playerid:r=""}=e,s=window.navigator.userAgent,a="PC"!==ki(s),l=!0,c="",d="";const u=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},h=e=>{if(e.data)switch("ProfileDetailsData"===e.data.type&&(c=e.data.profileDetails.currency),e.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"GoToDeposit"},window.location.href)}};return Z(()=>(window.addEventListener("message",h,!1),()=>{window.removeEventListener("message",h)})),t.$$set=e=>{"endpoint"in e&&n(4,i=e.endpoint),"session"in e&&n(5,o=e.session),"playerid"in e&&n(6,r=e.playerid)},t.$$.update=()=>{var e;112&t.$$.dirty&&o&&r&&i&&(e=new URL(`${i}/player/${r}/hostedcashier/initializewithdraw`),fetch(e,{method:"POST",headers:{playerId:r,"X-SessionId":o,currency:c,amount:0,cashierMode:"Default",IsShortCashier:!1,accept:"application/json"}}).then(e=>e.json()).then(e=>{n(0,l=!1),n(1,d=e.CashierUrl)},e=>{console.error(e)}))},[l,d,a,u,i,o,r,()=>u()]}function Zh(e){let n,i,o;return{c(){n=Ct("div"),i=Ct("iframe"),i.src!==(o=e[1])&&St(i,"src",o),St(i,"title","Pending Withdrawals Iframe"),St(n,"class","PendingWithdrawalsIframeWrapper")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){2&t&&i.src!==(o=e[1])&&St(i,"src",o)},d(e){e&&wt(n)}}}function Jh(e){let n;return{c(){n=Ct("p"),n.textContent="Loading, please wait ..."},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Kh(e){let n,i,o,r,s,a=e[2]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="PendingWithdrawalsTitleMobile">Pending Withdrawals</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[7]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(e);function l(e){return e[0]?Jh:Zh}let c=l(e),d=c(e);return{c(){n=Ct("div"),a&&a.c(),i=At(),o=Ct("h2"),r=Pt("Pending Withdrawals"),s=At(),d.c(),this.c=yt,St(o,"class","PendingWithdrawalsTitle "+(e[2]?"PendingWithdrawalsTitleNone":"")),St(n,"class","PendingWithdrawalsWrapper "+(e[2]?"PendingWithdrawalsWrapperMobile":""))},m(e,t){vt(e,n,t),a&&a.m(n,null),bt(n,i),bt(n,o),bt(o,r),bt(n,s),d.m(n,null)},p(e,[t]){e[2]&&a.p(e,t),c===(c=l(e))&&d?d.p(e,t):(d.d(1),d=c(e),d&&(d.c(),d.m(n,null)))},i:yt,o:yt,d(e){e&&wt(n),a&&a.d(),d.d()}}}function Qh(t,e,n){let{endpoint:i=""}=e,{session:o=""}=e,{playerid:r=""}=e,s=window.navigator.userAgent,a="PC"!==ki(s),l=!0,c="";const d=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)};return t.$$set=e=>{"endpoint"in e&&n(4,i=e.endpoint),"session"in e&&n(5,o=e.session),"playerid"in e&&n(6,r=e.playerid)},t.$$.update=()=>{var e;112&t.$$.dirty&&o&&r&&i&&(e=new URL(`${i}/player/${r}/hostedcashier/pendingwithdrawals`),fetch(e,{method:"GET",headers:{playerId:r,"X-SessionId":o,accept:"application/json"}}).then(e=>e.json()).then(e=>{n(0,l=!1),n(1,c=e.CashierUrl)},e=>{console.error(e)}))},[l,c,a,d,i,o,r,()=>d()]}function ep(e){let n,i,o;return{c(){n=Ct("div"),i=Ct("iframe"),i.src!==(o=e[1])&&St(i,"src",o),St(i,"title","Transaction History Iframe"),St(n,"class","TransactionHistoryIframeWrapper")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){2&t&&i.src!==(o=e[1])&&St(i,"src",o)},d(e){e&&wt(n)}}}function tp(e){let n;return{c(){n=Ct("p"),n.textContent="Loading, please wait ..."},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function np(e){let n,i,o,r,s,a=e[2]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="TransactionHistoryTitleMobile">Transaction History</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[7]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(e);function l(e){return e[0]?tp:ep}let c=l(e),d=c(e);return{c(){n=Ct("div"),a&&a.c(),i=At(),o=Ct("h2"),r=Pt("Transaction History"),s=At(),d.c(),this.c=yt,St(o,"class","TransactionHistoryTitle "+(e[2]?"TransactionHistoryTitleNone":"")),St(n,"class","TransactionHistoryWrapper "+(e[2]?"TransactionHistoryWrapperMobile":""))},m(e,t){vt(e,n,t),a&&a.m(n,null),bt(n,i),bt(n,o),bt(o,r),bt(n,s),d.m(n,null)},p(e,[t]){e[2]&&a.p(e,t),c===(c=l(e))&&d?d.p(e,t):(d.d(1),d=c(e),d&&(d.c(),d.m(n,null)))},i:yt,o:yt,d(e){e&&wt(n),a&&a.d(),d.d()}}}function ip(t,e,n){let{endpoint:i=""}=e,{session:o=""}=e,{playerid:r=""}=e,s=window.navigator.userAgent,a="PC"!==ki(s),l=!0,c="";const d=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)};return t.$$set=e=>{"endpoint"in e&&n(4,i=e.endpoint),"session"in e&&n(5,o=e.session),"playerid"in e&&n(6,r=e.playerid)},t.$$.update=()=>{var e;112&t.$$.dirty&&o&&r&&i&&(e=new URL(`${i}/player/${r}/hostedcashier/customertransactionhistoryurl`),fetch(e,{method:"GET",headers:{playerId:r,"X-SessionId":o,accept:"application/json"}}).then(e=>e.json()).then(e=>{n(0,l=!1),n(1,c=e.CashierUrl)},e=>{console.error(e)}))},[l,c,a,d,i,o,r,()=>d()]}customElements.get("player-account-gaming-limits-confirmation-modal")||customElements.define("player-account-gaming-limits-confirmation-modal",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:relative;background:#fff;border-radius:5px;border-top:5px solid #FD2839;margin:0 20px}.GamingLimitsConfirmationContainer{background:#F9F8F8;color:#000;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:#58586B;border:1px solid #58586B;background-color:transparent;text-transform:uppercase;cursor:pointer}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:#D0046C;color:#fff;border:1px solid #D0046C}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;color:#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>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},ru,ou,n,{modaltext:0,modalsource:6}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["modaltext","modalsource"]}get modaltext(){return this.$$.ctx[0]}set modaltext(e){this.$set({modaltext:e}),T()}get modalsource(){return this.$$.ctx[6]}set modalsource(e){this.$set({modalsource:e}),T()}}),customElements.get("player-account-gaming-limits-group-edit")||customElements.define("player-account-gaming-limits-group-edit",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px;cursor:pointer}.MenuReturnButton svg{fill:#D0046C}.MyAccountCategoryTitle{font-size:26px;color:#D0046C;font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:#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:#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 #D0046C;align-items:center;justify-content:center;border-radius:30px;cursor:pointer}.AccountEditLimitChangePeriodIcon{display:flex;width:20px;height:20px;color:#5E5E30;background:transparent;border:1px solid #5E5E30;align-items:center;justify-content:center;border-radius:30px;cursor:pointer;margin-right:10px}.AccountEditLimitSuccessfulChangeContainer{background:#F2F9F2;border:1px solid #C5DFC5;font-size:16px;font-weight:300;color:#07072A;border-radius:5px;padding:10px}.AccountEditLimitSuccessfulChangeContainer p{margin:0}.AccountEditLimitsIconWrapper{position:relative}.AccountEditLimitsTitle{font-size:16px;font-weight:300;color:#07072A;margin:0;padding:10px 0 10px}.AccountEditLimitsExpiryDate{font-size:12px;font-weight:300;color:#000}.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:#07072A;padding:10px;line-height:16px;background:#FFF;border:1px solid #D1D1D1;border-radius:5px;outline:none;transition-duration:0.3s}.AccountEditField:focus,.AccountEditField :focus-within,.AccountEditField :focus-visible,.AccountEditField :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.AccountEditLimitsPeriodChangeContainer{background:#FFFFF8;border-radius:5px}.AccountEditLimitsPeriodChangeContainer p{max-width:290px;display:-webkit-box;padding:10px 35px 15px 10px;color:#5E5E30;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:#000;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:#D0046C;border:1px solid #D0046C;color:#fff}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton.AccountEditLimitsButtonDisabled{background:#D0046C;cursor:not-allowed;opacity:0.6}.AccountEditLimitsBox{position:relative}.AccountEditWarningText{position:relative;margin:0}.InvalidInput{color:#D0046C;font-size:10px;position:absolute;top:6px;margin:0;line-height:10px}.AccountEditLimitsInputContainer{position:relative}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Fu,Ru,n,{limitsdata:0,showsuccessnotification:1,showdeletenotification:2,limitname:3,playercurrency:4},[-1,-1]),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["limitsdata","showsuccessnotification","showdeletenotification","limitname","playercurrency"]}get limitsdata(){return this.$$.ctx[0]}set limitsdata(e){this.$set({limitsdata:e}),T()}get showsuccessnotification(){return this.$$.ctx[1]}set showsuccessnotification(e){this.$set({showsuccessnotification:e}),T()}get showdeletenotification(){return this.$$.ctx[2]}set showdeletenotification(e){this.$set({showdeletenotification:e}),T()}get limitname(){return this.$$.ctx[3]}set limitname(e){this.$set({limitname:e}),T()}get playercurrency(){return this.$$.ctx[4]}set playercurrency(e){this.$set({playercurrency:e}),T()}}),customElements.get("player-account-gaming-limits-info-card")||customElements.define("player-account-gaming-limits-info-card",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.InfoCard{padding:20px;color:#000;background:#fff;box-shadow:0px 3px 12px #00000012;border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid #D0046C;align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:#58586B;font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:#FD2839;border:2px solid #FD2839}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:\"\\274c\";font-size:8px;color:#FFF;line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:#F9F8F8}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:#000;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:#D0046C;border:1px solid #D0046C;color:#fff;margin-right:10px}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid #000}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid #D0046C;align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:#5E5E30;border:1px solid #5E5E30}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},ah,sh,n,{limitsdata:0,limitname:1,playercurrency:2},[-1,-1]),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["limitsdata","limitname","playercurrency"]}get limitsdata(){return this.$$.ctx[0]}set limitsdata(e){this.$set({limitsdata:e}),T()}get limitname(){return this.$$.ctx[1]}set limitname(e){this.$set({limitname:e}),T()}get playercurrency(){return this.$$.ctx[2]}set playercurrency(e){this.$set({playercurrency:e}),T()}}),customElements.get("player-account-gaming-limits")||customElements.define("player-account-gaming-limits",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerAccountGamingLimitsWrapper{color:#D0046C;padding:50px;max-width:760px}.PlayerGamingLimitsTitle{font-size:26px;color:#D0046C;font-weight:400}.PlayerGamingLimitsTitleMobile{font-size:16px;color:#D0046C}.PlayerGamingLimitsTitleNone{display:none}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:#D0046C}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:#fff;max-width:unset}.PlayerAccountTabletGamingLimitsWrapper{padding:40px 25% 40px 25%}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},uh,dh,n,{depositlimit:0,wageringlimit:1,losslimit:2,timelimit:3,showdeletenotification:4,showsuccessnotification:5}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["depositlimit","wageringlimit","losslimit","timelimit","showdeletenotification","showsuccessnotification"]}get depositlimit(){return this.$$.ctx[0]}set depositlimit(e){this.$set({depositlimit:e}),T()}get wageringlimit(){return this.$$.ctx[1]}set wageringlimit(e){this.$set({wageringlimit:e}),T()}get losslimit(){return this.$$.ctx[2]}set losslimit(e){this.$set({losslimit:e}),T()}get timelimit(){return this.$$.ctx[3]}set timelimit(e){this.$set({timelimit:e}),T()}get showdeletenotification(){return this.$$.ctx[4]}set showdeletenotification(e){this.$set({showdeletenotification:e}),T()}get showsuccessnotification(){return this.$$.ctx[5]}set showsuccessnotification(e){this.$set({showsuccessnotification:e}),T()}}),customElements.get("player-bonus-card")||customElements.define("player-bonus-card",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.BonusCard{background-color:#fff;padding:10px 20px 20px;border-radius:5px;box-shadow:0 3px 12px #00000012}.BonusCardRow{display:flex;justify-content:space-between;align-items:center;padding:2px 10px;font-size:14px}.BonusCardRow .BonusCardRowTitle{color:#000;font-weight:700}.BonusCardRow .BonusCardRowTitle span{font-weight:400;color:#58586B}.BonusCardRow .BonusCardRowText{color:#58586B}.BonusCardRow .BonusCardRowText.BonusCardStatus{font-weight:700;color:#000}.BonusCardRow .BonusCardRowText.StatusActive{color:#0AA543}.BonusCardRow .BonusCardRowText.StatusExpired{color:#FD2839}.BonusCardRow .BonusCardRowText.StatusForfeited{color:#fd8c2d}.BonusCardRow .BonusCardRowText.TextCapitalize{text-transform:capitalize}.BonusCardRow:nth-child(even){background-color:#F9F8F8;border-radius:5px}.DeleteBonus{background:#D0046C;border:1px solid #D0046C;color:#fff;cursor:pointer;border-radius:5px;width:50%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;margin-top:10px}.DeleteBonus.DeleteBonusMobile{width:100%}.DeleteBonus:active{background:#9e0352}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},yh,gh,n,{bonuswalletid:10,bonusdate:0,bonusstatus:1,bonusname:2,bonustype:11,bonusamount:3,bonuswageringamount:4,bonusremainingamount:5,bonuscurrency:6}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["bonuswalletid","bonusdate","bonusstatus","bonusname","bonustype","bonusamount","bonuswageringamount","bonusremainingamount","bonuscurrency"]}get bonuswalletid(){return this.$$.ctx[10]}set bonuswalletid(e){this.$set({bonuswalletid:e}),T()}get bonusdate(){return this.$$.ctx[0]}set bonusdate(e){this.$set({bonusdate:e}),T()}get bonusstatus(){return this.$$.ctx[1]}set bonusstatus(e){this.$set({bonusstatus:e}),T()}get bonusname(){return this.$$.ctx[2]}set bonusname(e){this.$set({bonusname:e}),T()}get bonustype(){return this.$$.ctx[11]}set bonustype(e){this.$set({bonustype:e}),T()}get bonusamount(){return this.$$.ctx[3]}set bonusamount(e){this.$set({bonusamount:e}),T()}get bonuswageringamount(){return this.$$.ctx[4]}set bonuswageringamount(e){this.$set({bonuswageringamount:e}),T()}get bonusremainingamount(){return this.$$.ctx[5]}set bonusremainingamount(e){this.$set({bonusremainingamount:e}),T()}get bonuscurrency(){return this.$$.ctx[6]}set bonuscurrency(e){this.$set({bonuscurrency:e}),T()}}),customElements.get("player-active-bonuses")||customElements.define("player-active-bonuses",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.ActiveBonusesWrapper{color:#07072A;padding:50px;max-width:850px}.ActiveBonusesWrapper.ActiveBonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:#D0046C}.ActiveBonusesTitle{font-size:26px;color:#D0046C;font-weight:400}.ActiveBonusesTitleMobile{font-size:16px}.ActiveBonusesTitleNone{display:none}.BonusCodeContainer{color:#58586B;display:flex;flex-direction:column;padding-bottom:30px;position:relative;width:70%}.BonusCodeContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.BonusCodeContainer.BonusCodeContainerMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper{display:flex;gap:10px}.BonusCodeContainer .BonusCodeWrapper.BonusCodeWrapperMobile{flex-direction:column}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput{width:70%;height:44px;border:1px solid #D1D1D1;border-radius:5px;padding:5px;font-size:14px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput:focus{outline-color:#D0046C}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:#D0046C;border:1px solid #D0046C;color:#fff;cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode[disabled]{opacity:0.3;cursor:not-allowed}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:#9e0352}.BonusCodeContainer .InvalidBonusCodeMessage{color:#FD2839}.BonusCodeWrapper{display:flex;gap:20px}.SubmitBonusCode{background:#D0046C;border:1px solid #D0046C;color:#fff;cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.SubmitBonusCode[disabled]{opacity:0.3}.SubmitBonusCode:active{background:#9e0352}.ActiveBonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.ActiveBonusesGrid.ActiveBonusesGridMobile{grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center}.ModalWrapper .ModalContent{background-color:#fff;position:relative;padding:80px;border-top:5px solid #FD2839;border-radius:5px}.ModalWrapper .ModalContent .ModalClose{position:absolute;top:15px;right:15px;width:36px;height:36px;cursor:pointer}.ModalWrapper .ModalContent .ModalClose:before,.ModalWrapper .ModalContent .ModalClose:after{content:'';position:absolute;top:16px;left:-2px;width:40px;height:4px;background-color:#FD2839;transform:rotate(45deg)}.ModalWrapper .ModalContent .ModalClose:after{transform:rotate(-45deg)}.ModalWrapper .ModalBody{background-color:#F9F8F8;padding:30px 60px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:26px}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid #58586B;color:#58586B;cursor:pointer;border-radius:5px;width:330px;height:80px;font-size:22px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background:#D0046C;border:1px solid #D0046C;color:#fff}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}.BonusesPaginationWrapper{margin:40px 0}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:#D0046C;font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:#D1D1D1;cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:#58586B;font-size:16px;cursor:pointer;padding:5px 10px}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:#fff;font-weight:700}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Dh,Mh,n,{endpoint:17,session:18,playerid:19},[-1,-1]),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","session","playerid"]}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$set({endpoint:e}),T()}get session(){return this.$$.ctx[18]}set session(e){this.$set({session:e}),T()}get playerid(){return this.$$.ctx[19]}set playerid(e){this.$set({playerid:e}),T()}}),customElements.get("player-bonus-history")||customElements.define("player-bonus-history",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.BonusesWrapper{color:#07072A;padding:50px;max-width:850px}.BonusesWrapper.BonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:#D0046C}.BonusesTitle{font-size:26px;color:#D0046C;font-weight:400}.BonusesTitleMobile{font-size:16px}.BonusesTitleNone{display:none}.BonusCalendarWrapper{display:flex;gap:15px;padding-bottom:30px;align-items:center}.BonusCalendarWrapper.BonusCalendarWrapperMobile{flex-direction:column;gap:10px;padding-bottom:15px}.BonusesCalendarContainer{display:flex;gap:20px}.BonusesCalendarContainer.BonusesCalendarContainerMobile{flex-direction:row;gap:0;justify-content:space-between;padding-bottom:0;width:100%}.BonusesCalendarStartDate,.BonusesCalendarEndDate{color:#58586B;display:flex;position:relative;align-items:center;gap:10px}.BonusesCalendarStartDate.BonusesCalendarMobile,.BonusesCalendarEndDate.BonusesCalendarMobile{flex-direction:column;align-items:flex-start;gap:5px;width:48%}.BonusesCalendarStartDate.BonusesCalendarMobile .VaadinDatePicker,.BonusesCalendarEndDate.BonusesCalendarMobile .VaadinDatePicker{width:100%}.BonusesCalendarStartDate label,.BonusesCalendarEndDate label{font-size:14px;font-weight:300}.BonusesCalendarFilter{background:#D0046C;border:1px solid #D0046C;color:#fff;cursor:pointer;border-radius:5px;width:120px;height:40px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusesCalendarFilter.BonusesCalendarFilterMobile{width:100%;height:44px}.BonusesCalendarFilter:active{background:#9e0352}.BonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.BonusesGrid.BonusesGridMobile{grid-template-columns:1fr;gap:20px}.BonusesPaginationWrapper{margin:40px 0}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:#D0046C;font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:#D1D1D1;cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:#58586B;font-size:16px;cursor:pointer;padding:5px 10px}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:#fff;font-weight:700}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Wh,zh,n,{endpoint:13,session:14,playerid:15},[-1,-1]),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","session","playerid"]}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$set({endpoint:e}),T()}get session(){return this.$$.ctx[14]}set session(e){this.$set({session:e}),T()}get playerid(){return this.$$.ctx[15]}set playerid(e){this.$set({playerid:e}),T()}}),customElements.get("player-deposit")||customElements.define("player-deposit",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.DepositWrapper{color:#07072A;padding:50px 50px 30px 50px;max-width:100%}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:#D0046C}.DepositTitle{font-size:26px;color:#D0046C;font-weight:400}.DepositTitleMobile{font-size:16px}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},jh,Uh,n,{endpoint:4,session:5,playerid:6}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","session","playerid"]}get endpoint(){return this.$$.ctx[4]}set endpoint(e){this.$set({endpoint:e}),T()}get session(){return this.$$.ctx[5]}set session(e){this.$set({session:e}),T()}get playerid(){return this.$$.ctx[6]}set playerid(e){this.$set({playerid:e}),T()}}),customElements.get("player-withdrawal")||customElements.define("player-withdrawal",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.WithdrawalWrapper{color:#07072A;padding:50px 50px 30px 50px;max-width:100%}.WithdrawalWrapper.WithdrawalWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:#D0046C}.WithdrawalTitle{font-size:26px;color:#D0046C;font-weight:400}.WithdrawalTitleMobile{font-size:16px}.WithdrawalTitleNone{display:none}.WithdrawalIframeWrapper iframe{border:none;width:100%;height:85vh}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Xh,qh,n,{endpoint:4,session:5,playerid:6}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","session","playerid"]}get endpoint(){return this.$$.ctx[4]}set endpoint(e){this.$set({endpoint:e}),T()}get session(){return this.$$.ctx[5]}set session(e){this.$set({session:e}),T()}get playerid(){return this.$$.ctx[6]}set playerid(e){this.$set({playerid:e}),T()}}),customElements.get("player-pending-withdrawals")||customElements.define("player-pending-withdrawals",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PendingWithdrawalsWrapper{color:#07072A;padding:50px 50px 30px 50px;max-width:100%}.PendingWithdrawalsWrapper.PendingWithdrawalsWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:#D0046C}.PendingWithdrawalsTitle{font-size:26px;color:#D0046C;font-weight:400}.PendingWithdrawalsTitleMobile{font-size:16px}.PendingWithdrawalsTitleNone{display:none}.PendingWithdrawalsIframeWrapper iframe{border:none;width:100%;height:85vh}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Qh,Kh,n,{endpoint:4,session:5,playerid:6}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","session","playerid"]}get endpoint(){return this.$$.ctx[4]}set endpoint(e){this.$set({endpoint:e}),T()}get session(){return this.$$.ctx[5]}set session(e){this.$set({session:e}),T()}get playerid(){return this.$$.ctx[6]}set playerid(e){this.$set({playerid:e}),T()}}),customElements.get("player-transaction-history")||customElements.define("player-transaction-history",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.TransactionHistoryWrapper{color:#07072A;padding:50px 50px 30px 50px;max-width:100%}.TransactionHistoryWrapper.TransactionHistoryWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:#D0046C}.TransactionHistoryTitle{font-size:26px;color:#D0046C;font-weight:400}.TransactionHistoryTitleMobile{font-size:16px}.TransactionHistoryTitleNone{display:none}.TransactionHistoryIframeWrapper iframe{border:none;width:100%;height:85vh}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},ip,np,n,{endpoint:4,session:5,playerid:6}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","session","playerid"]}get endpoint(){return this.$$.ctx[4]}set endpoint(e){this.$set({endpoint:e}),T()}get session(){return this.$$.ctx[5]}set session(e){this.$set({session:e}),T()}get playerid(){return this.$$.ctx[6]}set playerid(e){this.$set({playerid:e}),T()}});const op={en:{gamingHistory:{title:"Gaming History",return:"Return to menu",previous:"Prev",next:"Next",dateFrom:"From:",dateTo:"To:",dateFilter:"Filter",numberOfResults:"Show:",noRecord:"You haven't played any games so far."}},ro:{gamingHistory:{title:"Gaming History",return:"Return to menu",previous:"Prev",next:"Next",dateFrom:"From:",dateTo:"To:",dateFilter:"Filter",numberOfResults:"Show:",noRecord:"You haven't played any games so far."}}};function rp(e,t,n){const i=e.slice();return i[40]=t[n],i}function sp(e,t,n){const i=e.slice();return i[43]=t[n],i}function ap(e,t,n){const i=e.slice();return i[46]=t[n],i}function lp(n){let i,o,r,s,a,l,c,e=n[11]("gamingHistory.numberOfResults")+"",d=n[12],u=[];for(let e=0;e<d.length;e+=1)u[e]=cp(ap(n,d,e));return{c(){i=Ct("div"),o=Ct("span"),r=Pt(e),s=At(),a=Ct("select");for(let e=0;e<u.length;e+=1)u[e].c();St(a,"class","PlayerGamingHistoryItemCount"),void 0===n[6]&&Dt(()=>n[25].call(a)),St(i,"class","PlayerGamingItemCountContainer")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(i,s),bt(i,a);for(let e=0;e<u.length;e+=1)u[e].m(a,null);Mt(a,n[6]),l||(c=[Tt(a,"change",n[25]),Tt(a,"change",n[26])],l=!0)},p(t,n){if(2048&n[0]&&e!==(e=t[11]("gamingHistory.numberOfResults")+"")&&q(r,e),4096&n[0]){let e;for(d=t[12],e=0;e<d.length;e+=1){const r=ap(t,d,e);u[e]?u[e].p(r,n):(u[e]=cp(r),u[e].c(),u[e].m(a,null))}for(;e<u.length;e+=1)u[e].d(1);u.length=d.length}4160&n[0]&&Mt(a,t[6])},d(e){e&&wt(i),xt(u,e),l=!1,_t(c)}}}function cp(e){let n,i,t=e[46]+"";return{c(){n=Ct("option"),i=Pt(t),n.__value=e[46],n.value=n.__value},m(e,t){vt(e,n,t),bt(n,i)},p:yt,d(e){e&&wt(n)}}}function dp(e){let n,i,o=e[11]("gamingHistory.noRecord")+"";return{c(){n=Ct("p"),i=Pt(o),St(n,"class","PlayerGamingHistoryEmpty")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){2048&t[0]&&o!==(o=e[11]("gamingHistory.noRecord")+"")&&q(i,o)},d(e){e&&wt(n)}}}function up(n){let i,o,r,s,a,l,c,d,u,h,p,e,m,f,g,y,_,b,v,w,x,C,P,A,T,S,E,M,D,k=n[11]("gamingHistory.previous")+"",I=n[11]("gamingHistory.next")+"",L=n[15],O=[];for(let e=0;e<L.length;e+=1)O[e]=pp(sp(n,L,e));let N=n[10],B=[];for(let e=0;e<N.length;e+=1)B[e]=mp(rp(n,N,e));return{c(){i=Ct("div"),o=Ct("table"),r=Ct("thead"),s=Ct("tr");for(let e=0;e<O.length;e+=1)O[e].c();a=At(),l=Ct("tbody");for(let e=0;e<B.length;e+=1)B[e].c();c=At(),d=Ct("div"),u=Ct("button"),h=t("svg"),p=t("path"),m=At(),f=Ct("span"),g=Pt(k),b=At(),v=Ct("button"),w=Ct("span"),x=Pt(I),C=At(),P=t("svg"),A=t("path"),St(i,"class","PlayerGamingHistoryContainer"),St(p,"fill",e=n[4]?"#D0046C":"#D1D1D1"),St(p,"class","a"),St(p,"d","M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"),St(p,"transform","translate(19.246 -6.188) rotate(90)"),St(h,"xmlns","http://www.w3.org/2000/svg"),St(h,"width","8"),St(h,"height","13.992"),St(h,"viewBox","0 0 8 13.992"),St(f,"class","PlayerPaginationControlsText"),St(u,"class",y="PlayerPaginationControls "+(n[4]?"":"PlayerPaginationControlsDisabled")),u.disabled=_=!n[4],St(w,"class","PlayerPaginationControlsText"),St(A,"fill",T=n[3]?"#D0046C":"#D1D1D1"),St(A,"class","a"),St(A,"d","M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"),St(A,"transform","translate(-11.246 20.179) rotate(-90)"),St(P,"xmlns","http://www.w3.org/2000/svg"),St(P,"width","8"),St(P,"height","13.992"),St(P,"viewBox","0 0 8 13.992"),St(v,"class",S="PlayerPaginationControls "+(n[3]?"":"PlayerPaginationControlsDisabled")),v.disabled=E=!n[3],St(d,"class","PlayerPaginationControlsArea")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s);for(let e=0;e<O.length;e+=1)O[e].m(s,null);bt(o,a),bt(o,l);for(let e=0;e<B.length;e+=1)B[e].m(l,null);vt(e,c,t),vt(e,d,t),bt(d,u),bt(u,h),bt(h,p),bt(u,m),bt(u,f),bt(f,g),bt(d,b),bt(d,v),bt(v,w),bt(w,x),bt(v,C),bt(v,P),bt(P,A),M||(D=[Tt(u,"click",n[27]),Tt(v,"click",n[28])],M=!0)},p(t,n){if(32768&n[0]){let e;for(L=t[15],e=0;e<L.length;e+=1){var i=sp(t,L,e);O[e]?O[e].p(i,n):(O[e]=pp(i),O[e].c(),O[e].m(s,null))}for(;e<O.length;e+=1)O[e].d(1);O.length=L.length}if(33792&n[0]){let e;for(N=t[10],e=0;e<N.length;e+=1){var o=rp(t,N,e);B[e]?B[e].p(o,n):(B[e]=mp(o),B[e].c(),B[e].m(l,null))}for(;e<B.length;e+=1)B[e].d(1);B.length=N.length}16&n[0]&&e!==(e=t[4]?"#D0046C":"#D1D1D1")&&St(p,"fill",e),2048&n[0]&&k!==(k=t[11]("gamingHistory.previous")+"")&&q(g,k),16&n[0]&&y!==(y="PlayerPaginationControls "+(t[4]?"":"PlayerPaginationControlsDisabled"))&&St(u,"class",y),16&n[0]&&_!==(_=!t[4])&&(u.disabled=_),2048&n[0]&&I!==(I=t[11]("gamingHistory.next")+"")&&q(x,I),8&n[0]&&T!==(T=t[3]?"#D0046C":"#D1D1D1")&&St(A,"fill",T),8&n[0]&&S!==(S="PlayerPaginationControls "+(t[3]?"":"PlayerPaginationControlsDisabled"))&&St(v,"class",S),8&n[0]&&E!==(E=!t[3])&&(v.disabled=E)},d(e){e&&wt(i),xt(O,e),xt(B,e),e&&wt(c),e&&wt(d),M=!1,_t(D)}}}function hp(e){let n;return{c(){n=Ct("div"),St(n,"class","DataLoader")},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function pp(e){let n,i,t=e[43]+"";return{c(){n=Ct("th"),i=Pt(t),St(n,"scope","col")},m(e,t){vt(e,n,t),bt(n,i)},p:yt,d(e){e&&wt(n)}}}function mp(e){let n,i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w,x,C,P=e[40].roundId+"",A=Io(e[40].roundStartDate).format("D/M/YYYY - h:mm A")+"",T=e[40].gameModel.name+"",S=e[40].stakeAmount+"",E=e[40].returnAmount+"";return{c(){n=Ct("tr"),i=Ct("td"),o=Ct("span"),r=Pt(P),a=At(),l=Ct("td"),c=Ct("span"),d=Pt(A),u=At(),h=Ct("td"),p=Ct("span"),m=Pt(T),f=At(),g=Ct("td"),y=Ct("span"),_=Pt(S),b=At(),v=Ct("td"),w=Ct("span"),x=Pt(E),C=At(),St(i,"data-label",e[15][0]),St(i,"title",s=e[40].roundId),St(l,"data-label",e[15][1]),St(h,"data-label",e[15][2]),St(g,"data-label",e[15][3]),St(v,"data-label",e[15][4])},m(e,t){vt(e,n,t),bt(n,i),bt(i,o),bt(o,r),bt(n,a),bt(n,l),bt(l,c),bt(c,d),bt(n,u),bt(n,h),bt(h,p),bt(p,m),bt(n,f),bt(n,g),bt(g,y),bt(y,_),bt(n,b),bt(n,v),bt(v,w),bt(w,x),bt(n,C)},p(e,t){1024&t[0]&&P!==(P=e[40].roundId+"")&&q(r,P),1024&t[0]&&s!==(s=e[40].roundId)&&St(i,"title",s),1024&t[0]&&A!==(A=Io(e[40].roundStartDate).format("D/M/YYYY - h:mm A")+"")&&q(d,A),1024&t[0]&&T!==(T=e[40].gameModel.name+"")&&q(m,T),1024&t[0]&&S!==(S=e[40].stakeAmount+"")&&q(_,S),1024&t[0]&&E!==(E=e[40].returnAmount+"")&&q(x,E)},d(e){e&&wt(n)}}}function fp(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w,x,C,P,A,T,S,E,M=n[11]("gamingHistory.title")+"",D=n[11]("gamingHistory.dateFrom")+"",k=n[11]("gamingHistory.dateTo")+"",I=n[11]("gamingHistory.dateFilter")+"",L=n[13]&&function(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g=n[11]("gamingHistory.title")+"";return{c(){i=Ct("div"),o=t("svg"),r=t("defs"),s=t("style"),a=Pt(".aaa{fill:#d0046c;}"),l=t("g"),c=t("g"),d=t("path"),u=At(),h=Ct("h2"),p=Pt(g),St(d,"class","aaa"),St(d,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),St(d,"transform","translate(15 15) rotate(180)"),St(c,"transform","translate(20 158)"),St(l,"transform","translate(-20 -158)"),St(o,"xmlns","http://www.w3.org/2000/svg"),St(o,"width","15"),St(o,"height","15"),St(o,"viewBox","0 0 15 15"),St(h,"class","PlayerGamingHistoryTitleMobile"),St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(s,a),bt(o,l),bt(l,c),bt(c,d),bt(i,u),bt(i,h),bt(h,p),m||(f=Tt(i,"click",n[21]),m=!0)},p(e,t){2048&t[0]&&g!==(g=e[11]("gamingHistory.title")+"")&&q(p,g)},d(e){e&&wt(i),m=!1,f()}}}(n),O=!n[9].matches&&lp(n);function N(e){return e[7]?hp:0<e[10].length?up:dp}let B=N(n),R=B(n);return{c(){i=Ct("div"),L&&L.c(),o=At(),r=Ct("h2"),s=Pt(M),a=At(),l=Ct("div"),c=Ct("div"),d=Ct("div"),u=Ct("div"),h=Ct("span"),p=Pt(D),m=At(),f=Ct("vaadin-date-picker"),g=At(),y=Ct("div"),_=Ct("span"),b=Pt(k),v=At(),w=Ct("vaadin-date-picker"),x=At(),C=Ct("button"),P=Pt(I),A=At(),O&&O.c(),T=At(),R.c(),this.c=yt,St(r,"class","PlayerGamingHistoryTitle "+(n[13]?"PlayerGamingHistoryTitleNone":"")),V(f,"max",n[8]),V(f,"placeholder","From"),V(f,"class","VaadinDatePicker"),St(u,"class","PlayerGamingDateWrapper"),V(w,"max",n[8]),V(w,"placeholder","To"),V(w,"class","VaadinDatePicker"),St(y,"class","PlayerGamingDateWrapper"),St(d,"class","PlayerGamingDateContainer"),St(C,"class","PlayerGamingHistoryFilterButton"),St(c,"class","PlayerGamingHistoryFilterWrapper"),St(l,"class","PlayerGamingHistoryTopSection"),St(i,"class","PlayerGamingHistoryWrapper "+(n[13]?"PlayerGamingHistoryWrapperMobile":"")+" "+(n[14].matches&&n[13]?"PlayerTabletGamingHistoryWrapper":""))},m(e,t){vt(e,i,t),L&&L.m(i,null),bt(i,o),bt(i,r),bt(r,s),bt(i,a),bt(i,l),bt(l,c),bt(c,d),bt(d,u),bt(u,h),bt(h,p),bt(u,m),bt(u,f),n[22](f),bt(d,g),bt(d,y),bt(y,_),bt(_,b),bt(y,v),bt(y,w),n[23](w),bt(c,x),bt(c,C),bt(C,P),bt(c,A),O&&O.m(c,null),bt(i,T),R.m(i,null),n[29](i),S||(E=Tt(C,"click",n[24]),S=!0)},p(e,t){e[13]&&L.p(e,t),2048&t[0]&&M!==(M=e[11]("gamingHistory.title")+"")&&q(s,M),2048&t[0]&&D!==(D=e[11]("gamingHistory.dateFrom")+"")&&q(p,D),256&t[0]&&V(f,"max",e[8]),2048&t[0]&&k!==(k=e[11]("gamingHistory.dateTo")+"")&&q(b,k),256&t[0]&&V(w,"max",e[8]),2048&t[0]&&I!==(I=e[11]("gamingHistory.dateFilter")+"")&&q(P,I),e[9].matches?O&&(O.d(1),O=null):O?O.p(e,t):(O=lp(e),O.c(),O.m(c,null)),B===(B=N(e))&&R?R.p(e,t):(R.d(1),R=B(e),R&&(R.c(),R.m(i,null)))},i:yt,o:yt,d(e){e&&wt(i),L&&L.d(),n[22](null),n[23](null),O&&O.d(),R.d(),n[29](null),S=!1,E()}}}function gp(e,t,r){let n;R(e,Di,e=>r(11,n=e));let i,o,s,a,{endpoint:l=""}=t,{playerid:c=""}=t,{session:d=""}=t,u="",h="",p="",m=Io().format("YYYY-MM-DD"),f=Io().format("YYYY-MM-DD"),g=["5","10","25","50"],y="5",_=!1,b=window.navigator.userAgent,v="PC"!==ki(b);a=Io(new Date).format("YYYY-MM-DD"),Io(new Date).subtract(3,"months").format("YYYY-MM-DD"),Object.keys(op).forEach(e=>{di(e,op[e])});let w=window.matchMedia("(min-width: 768px)"),x=window.matchMedia("(max-width: 1280px)"),C=[];const P=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},A=()=>{r(9,x=window.matchMedia("(max-width: 1280px)"))},T=(e,t,n)=>{let i=new URL(e),o={method:"GET",headers:{"X-SessionID":d}};t||(i.searchParams.append("offset","0"),i.searchParams.append("limit",y)),n&&(i.searchParams.append("startDate",m),i.searchParams.append("endDate",f)),r(7,_=!0),fetch(i.href,o).then(e=>e.json()).then(e=>{r(10,C=e.transactions),r(3,h=e.pagination.next),r(4,p=e.pagination.previous),r(7,_=!1)},e=>{r(7,_=!1),console.error(e)})},S=e=>{e.data&&e.data.type},E=e=>{m=e.target.value},M=e=>{f=e.target.value};return Z(()=>(window.addEventListener("message",S,!1),window.addEventListener("resize",A,!1),()=>{o.removeEventListener("change",E),s.removeEventListener("change",M),window.removeEventListener("message",S),window.removeEventListener("resize",S)})),e.$$set=e=>{"endpoint"in e&&r(18,l=e.endpoint),"playerid"in e&&r(19,c=e.playerid),"session"in e&&r(20,d=e.session)},e.$$.update=()=>{3&e.$$.dirty[0]&&o&&s&&(o.addEventListener("change",E,!1),s.addEventListener("change",M,!1)),1835008&e.$$.dirty[0]&&d&&c&&l&&(r(2,u=`${l}/player/${c}/bets`),T(u,!1,!1))},[o,s,u,h,p,void 0,y,_,a,x,C,n,g,v,w,["Transaction ID","Date","Game Name","Stake","Return"],P,T,l,c,d,()=>P(),function(e){J[e?"unshift":"push"](()=>{o=e,r(0,o)})},function(e){J[e?"unshift":"push"](()=>{s=e,r(1,s)})},()=>T(u,!1,!0),function(){y=X(this),r(6,y),r(12,g)},()=>T(u,!1,!1),()=>T(p,!0,!1),()=>T(h,!0,!1),function(e){J[e?"unshift":"push"](()=>{i=e,r(5,i)})}]}function yp(e){let n,i,o,r,s,a,l;function c(e){return e[12]&&e[4]===e[14][0]?Ip:e[12]&&e[4]===e[14][1]?kp:e[12]&&e[4]===e[14][2]?Dp:e[12]&&e[4]===e[14][3]?Mp:e[12]&&e[4]===e[14][4]?Ep:e[12]&&e[4]===e[14][5]?Sp:e[12]&&e[4]===e[14][6]?Tp:e[12]&&e[4]===e[14][7]?Ap:e[12]&&e[4]===e[14][8]?Pp:e[12]&&e[4]===e[14][9]?Cp:e[12]&&e[4]===e[14][10]?xp:e[12]&&e[4]===e[14][11]?wp:e[12]&&e[4]===e[14][12]?vp:e[12]&&e[4]===e[14][13]?bp:void 0}let d=c(e),u=d&&d(e);return{c(){n=Ct("nav"),i=Ct("player-account-menu"),o=At(),r=Ct("main"),u&&u.c(),s=At(),a=Ct("aside"),l=Ct("player-account-notifications"),V(i,"endpoint",e[3]),V(i,"session",e[2]),V(i,"playerid",e[1]),V(l,"customnotif",e[0])},m(e,t){vt(e,n,t),bt(n,i),vt(e,o,t),vt(e,r,t),u&&u.m(r,null),vt(e,s,t),vt(e,a,t),bt(a,l)},p(e,t){8&t[0]&&V(i,"endpoint",e[3]),4&t[0]&&V(i,"session",e[2]),2&t[0]&&V(i,"playerid",e[1]),d===(d=c(e))&&u?u.p(e,t):(u&&u.d(1),u=d&&d(e),u&&(u.c(),u.m(r,null))),1&t[0]&&V(l,"customnotif",e[0])},d(e){e&&wt(n),e&&wt(o),e&&wt(r),u&&u.d(),e&&wt(s),e&&wt(a)}}}function _p(e){let n;function i(e){return e[12]?e[12]&&e[4]===e[14][0]?Gp:e[12]&&e[4]===e[14][1]?jp:e[12]&&e[4]===e[14][2]?Up:e[12]&&e[4]===e[14][3]?Hp:e[12]&&e[4]===e[14][4]?Yp:e[12]&&e[4]===e[14][5]?Wp:e[12]&&e[4]===e[14][6]?zp:e[12]&&e[4]===e[14][7]?$p:e[12]&&e[4]===e[14][8]?Fp:e[12]&&e[4]===e[14][9]?Rp:e[12]&&e[4]===e[14][10]?Bp:e[12]&&e[4]===e[14][11]?Np:e[12]&&e[4]===e[14][12]?Op:e[12]&&e[4]===e[14][13]?Lp:void 0:Vp}let o=i(e),r=o&&o(e);return{c(){r&&r.c(),n=k()},m(e,t){r&&r.m(e,t),vt(e,n,t)},p(e,t){o===(o=i(e))&&r?r.p(e,t):(r&&r.d(1),r=o&&o(e),r&&(r.c(),r.m(n.parentNode,n)))},d(e){r&&r.d(e),e&&wt(n)}}}function bp(e){let n;return{c(){n=Ct("player-transaction-history"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function vp(e){let n;return{c(){n=Ct("player-pending-withdrawals"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function wp(e){let n;return{c(){n=Ct("player-withdrawal"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function xp(e){let n;return{c(){n=Ct("player-deposit"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function Cp(e){let n;return{c(){n=Ct("player-gaming-history"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function Pp(e){let n;return{c(){n=Ct("player-bonus-history"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function Ap(e){let n;return{c(){n=Ct("player-active-bonuses"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function Tp(e){let n;return{c(){n=Ct("player-account-self-exclusion")},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Sp(e){let n;return{c(){n=Ct("player-account-gaming-limits"),V(n,"depositlimit",e[5]),V(n,"wageringlimit",e[6]),V(n,"losslimit",e[7]),V(n,"timelimit",e[8]),V(n,"showsuccessnotification",e[9]),V(n,"showdeletenotification",e[10])},m(e,t){vt(e,n,t)},p(e,t){32&t[0]&&V(n,"depositlimit",e[5]),64&t[0]&&V(n,"wageringlimit",e[6]),128&t[0]&&V(n,"losslimit",e[7]),256&t[0]&&V(n,"timelimit",e[8]),512&t[0]&&V(n,"showsuccessnotification",e[9]),1024&t[0]&&V(n,"showdeletenotification",e[10])},d(e){e&&wt(n)}}}function Ep(e){let n;return{c(){n=Ct("player-account-closure")},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Mp(e){let n;return{c(){n=Ct("player-account-timeout")},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Dp(e){let n;return{c(){n=Ct("player-reality-check"),V(n,"realitycheck",e[11]),V(n,"endpoint",e[3]),V(n,"playerid",e[1]),V(n,"session",e[2])},m(e,t){vt(e,n,t)},p(e,t){2048&t[0]&&V(n,"realitycheck",e[11]),8&t[0]&&V(n,"endpoint",e[3]),2&t[0]&&V(n,"playerid",e[1]),4&t[0]&&V(n,"session",e[2])},d(e){e&&wt(n)}}}function kp(e){let n;return{c(){n=Ct("player-change-password")},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Ip(e){let n;return{c(){n=Ct("player-profile-info"),V(n,"endpoint",e[3])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3])},d(e){e&&wt(n)}}}function Lp(e){let n;return{c(){n=Ct("player-transaction-history"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function Op(e){let n;return{c(){n=Ct("player-pending-withdrawals"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function Np(e){let n;return{c(){n=Ct("player-withdrawal"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function Bp(e){let n;return{c(){n=Ct("player-deposit"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function Rp(e){let n;return{c(){n=Ct("player-gaming-history"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function Fp(e){let n;return{c(){n=Ct("player-bonus-history"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function $p(e){let n;return{c(){n=Ct("player-active-bonuses"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function zp(e){let n;return{c(){n=Ct("player-account-self-exclusion")},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Wp(e){let n;return{c(){n=Ct("player-account-gaming-limits"),V(n,"depositlimit",e[5]),V(n,"wageringlimit",e[6]),V(n,"losslimit",e[7]),V(n,"timelimit",e[8]),V(n,"showsuccessnotification",e[9]),V(n,"showdeletenotification",e[10])},m(e,t){vt(e,n,t)},p(e,t){32&t[0]&&V(n,"depositlimit",e[5]),64&t[0]&&V(n,"wageringlimit",e[6]),128&t[0]&&V(n,"losslimit",e[7]),256&t[0]&&V(n,"timelimit",e[8]),512&t[0]&&V(n,"showsuccessnotification",e[9]),1024&t[0]&&V(n,"showdeletenotification",e[10])},d(e){e&&wt(n)}}}function Yp(e){let n;return{c(){n=Ct("player-account-closure")},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Hp(e){let n;return{c(){n=Ct("player-account-timeout")},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Up(e){let n;return{c(){n=Ct("player-reality-check"),V(n,"realitycheck",e[11]),V(n,"endpoint",e[3]),V(n,"playerid",e[1]),V(n,"session",e[2])},m(e,t){vt(e,n,t)},p(e,t){2048&t[0]&&V(n,"realitycheck",e[11]),8&t[0]&&V(n,"endpoint",e[3]),2&t[0]&&V(n,"playerid",e[1]),4&t[0]&&V(n,"session",e[2])},d(e){e&&wt(n)}}}function jp(e){let n;return{c(){n=Ct("player-change-password")},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Gp(e){let n;return{c(){n=Ct("player-profile-info"),V(n,"endpoint",e[3])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3])},d(e){e&&wt(n)}}}function Vp(e){let n,i,o,r;return{c(){n=Ct("nav"),i=Ct("player-account-menu"),o=At(),r=Ct("player-account-notifications"),V(i,"endpoint",e[3]),V(i,"session",e[2]),V(i,"playerid",e[1]),V(r,"customnotif",e[0]),St(n,"class","PlayerAccountMobile")},m(e,t){vt(e,n,t),bt(n,i),bt(n,o),bt(n,r)},p(e,t){8&t[0]&&V(i,"endpoint",e[3]),4&t[0]&&V(i,"session",e[2]),2&t[0]&&V(i,"playerid",e[1]),1&t[0]&&V(r,"customnotif",e[0])},d(e){e&&wt(n)}}}function qp(e){let n,i=function(e){let n,i=(e[13]?_p:yp)(e);return{c(){n=Ct("section"),i.c(),St(n,"class","PlayerAccountPage "+(e[13]?"PlayerAccountMobilePage":""))},m(e,t){vt(e,n,t),i.m(n,null)},p(e,t){i.p(e,t)},d(e){e&&wt(n),i.d()}}}(e);return{c(){i.c(),n=k(),this.c=yt},m(e,t){i.m(e,t),vt(e,n,t)},p(e,t){i.p(e,t)},i:yt,o:yt,d(e){i.d(e),e&&wt(n)}}}function Xp(e,t,d){var n,i,r=this&&this.__awaiter||function(e,s,a,l){return new(a=a||Promise)(function(n,t){function i(e){try{r(l.next(e))}catch(e){t(e)}}function o(e){try{r(l.throw(e))}catch(e){t(e)}}function r(e){var t;e.done?n(e.value):((t=e.value)instanceof a?t:new a(function(e){e(t)})).then(i,o)}r((l=l.apply(e,s||[])).next())})};let{cmsendpoint:o=""}=t,{accountpath:s=""}=t,{notificationpath:a=""}=t,{customnotifications:l=""}=t,{limitspath:c=""}=t,{playerid:u=""}=t,{session:h=""}=t,{endpoint:p=""}=t,{lang:m="en"}=t;[{withLocale:n,translations:i}]=[{withLocale:"en",translations:{}}],vi.subscribe(e=>{null==e&&(li.set(i),vi.set(n))});let f,g,y,_,b,v=window.navigator.userAgent,w="PC"!==ki(v),x,C,P="",A="",T="",S={},E=!1,M=!1,D="",k,I;const L=["Profile Info","Change password","Reality Check","Timeout","Account Closure","Gaming Limits","Self Exclusion","Active Bonuses","Bonus History","Gaming History","Deposit","Withdrawal","Pending Withdrawals","Transaction History"];let O=!1;const N=r=>{if(r.data)switch(r.data.type){case"AccountMenuDetails":break;case"ChangeAccountPage":d(12,O=!0),d(4,T=r.data.page.post_title),B();break;case"ReturnToMenu":d(12,O=!1),Y();break;case"UpdatePlayerInfo":var s=r.data.provisionalArray,s={mobile:{prefix:s.mobilePrefix,number:s.mobileNumber},address1:s.address,city:s.city,postalCode:s.postalCode,securityQuestion:s.securityQuestion,securityAnswer:s.securityAnswer,consents:{acceptNewsEmail:s.acceptNewsEmail,acceptSMSOffers:s.acceptSMSOffers}},s={method:"POST",headers:{"X-SessionID":A,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(s)};fetch(`${p}/player/${P}/profile`,s).then(e=>{200==e.status&&window.postMessage({type:"ConfirmProfileInfoSave"},window.location.href)});break;case"ChangePassword":R(r.data.userCurrentPassword,r.data.userNewPassword);break;case"SetPlayerAccountTimeout":var a={cooloff:{period:r.data.timeoutSelected}},a={method:"PUT",headers:{playerId:P,"X-SessionID":A,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(a)};fetch(`${p}/player/${P}/limits`,a).then(e=>{200==e.status&&window.postMessage({type:"LogOut"},window.location.href)});break;case"SetSelfExclusion":a={selfExclusion:{period:r.data.selfExclusionPeriod,expiryDate:r.data.selfExclusionExpiryDate}},a={method:"PUT",headers:{playerId:P,"X-SessionID":A,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(a)};fetch(`${p}/player/${P}/limits`,a).then(e=>{200==e.status&&window.postMessage({type:"LogOut"},window.location.href)});case"AccountClosure":var l={selfExclusion:{period:"SelfExclusionPermanent",sendNotificationEmail:!0,selfExclusionReason:"UserRequest"}},c={method:"PUT",headers:{playerId:P,"X-SessionID":A,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(l)};fetch(`${p}/player/${P}/limits`,c).then(e=>{200==e.status&&window.postMessage({type:"LogOut"},window.location.href)});break;case"UserSessionID":A=r.data.session,P=r.data.userid,W();break;case"PlayerAccountGamingLimitsUpdate":l=r.data.payload,c=r.data.limitsCategory,l="cumulativeSessionLimits"===c||"depositLimits"===c?l:{[c]:l},l={method:"PUT",headers:{playerId:P,"X-SessionID":A,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(l)};fetch(`${p}/player/${P}/limits`,l).then(e=>{200==e.status&&(d(9,E=!0),z(`${p}/player/${u}/limits`))});break;case"PlayerAccountGamingLimitDelete":let e,t=r.data.limit||{};e=Array.isArray(t)?t.map(e=>e.period):t.period;let n="";switch(r.data.name){case"depositLimits":n="deposit";break;case"cumulativeSessionLimits":n="cumulativeSession";break;case"wageringLimit":n="wagering",t={};break;case"lossLimit":n="loss",t={}}let i={method:"DELETE",headers:{"X-SessionID":A},body:JSON.stringify(t)},o=new URL(`${p}/player/${P}/limits/${n}`);"deposit"!==n&&"cumulativeSession"!==n||(Array.isArray(e)?e.forEach(e=>{o.searchParams.append("periods",e)}):o.searchParams.append("periods",e)),fetch(o,i).then(e=>{200==e.status&&(d(10,M=!0),z(`${p}/player/${u}/limits`))});break;case"GamingLimitsConfirmChanges":case"CancelGamingLimitsChanges":z(`${p}/player/${u}/limits`);break;case"SubmittedRealityCheck":$(r.data.realityCheckUpdatedValue)}},B=()=>{fetch(`${p}/player/${P}/profile`,{method:"GET",headers:{"X-SessionID":A}}).then(e=>e.json()).then(e=>{window.postMessage({type:"ProfileDetailsData",profileDetails:e},window.location.href)},e=>{console.error(e)})},R=(i,o)=>r(void 0,void 0,void 0,function*(){let e={currentPassword:i,newPassword:o},t={method:"POST",headers:{"X-SessionID":A,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)},n=yield fetch(`${p}/player/${P}/password`,t);if(n.ok)window.postMessage({type:"PasswordChangedSuccessfully"},window.location.href);else{let e=yield n.json();k=e.error.substring(e.error.indexOf("errorMessage")+13,e.error.length),I=!0,window.postMessage({type:"ShowPasswordChangedError",showErrorPasswordChanged:!0,errorPasswordChanged:k},window.location.href)}}),F=e=>{fetch(e,{method:"GET",headers:{"X-SessionID":A}}).then(e=>e.json()).then(e=>{d(11,b=e.UserRealityCheckValue)},e=>{console.error(e)})},$=e=>{e&&(D=e);e={method:"POST",headers:{"X-SessionID":A,"Content-Type":"application/json",Accept:"application/json",realityCheckValue:parseInt(D,10)}};fetch(`${p}/player/${P}/realitycheck`,e).then(e=>{200==e.status&&(F(`${p}/player/${u}/realitycheck`),window.postMessage({type:"RealityCheckValueUpdated"},window.location.href))},e=>{console.error(e)})},z=e=>{!0===E?setTimeout(()=>{d(9,E=!1)},3e3):!0===M&&setTimeout(()=>{d(10,M=!1)},3e3),fetch(e,{method:"GET",headers:{"X-SessionID":A}}).then(e=>e.json()).then(e=>{S=e,0!==Object.keys(S).length?(S.hasOwnProperty("depositLimits")?d(5,f=S.depositLimits):d(5,f=[]),S.hasOwnProperty("wageringLimit")?d(6,g=S.wageringLimit):d(6,g={}),S.hasOwnProperty("lossLimit")?d(7,y=S.lossLimit):d(7,y={}),S.hasOwnProperty("cumulativeSessionLimits")?(d(8,_=S.timeLimit),d(8,_=S.cumulativeSessionLimits.map(e=>(e.amount=e.minutes,e)))):d(8,_=[])):(d(5,f=[]),d(6,g={}),d(7,y={}),d(8,_=[])),H()},e=>{console.error(e)})},W=()=>{var e;fetch(o+s).then(e=>e.json()).then(e=>{x=e.items,window.postMessage({type:"AccountMenuDetails",accountMenuInfo:x},window.location.href)},e=>{console.error(e)}),e=o+a,fetch(e).then(e=>e.json()).then(e=>{e.length&&(C=e[0].acf.support_info_item,window.postMessage({type:"NotificationsDetails",notificationsInfo:C},window.location.href))},e=>{console.error(e)}),B(),z(`${p}/player/${u}/limits`),F(`${p}/player/${u}/realitycheck`)},Y=()=>{var e=m;vi.set(e),P=u,A=h,d(4,T=L[0]),w||d(12,O=!0),W()};return Z(()=>(window.addEventListener("message",N,!1),()=>{window.removeEventListener("message",N)})),e.$$set=e=>{"cmsendpoint"in e&&d(15,o=e.cmsendpoint),"accountpath"in e&&d(16,s=e.accountpath),"notificationpath"in e&&d(17,a=e.notificationpath),"customnotifications"in e&&d(0,l=e.customnotifications),"limitspath"in e&&d(18,c=e.limitspath),"playerid"in e&&d(1,u=e.playerid),"session"in e&&d(2,h=e.session),"endpoint"in e&&d(3,p=e.endpoint),"lang"in e&&d(19,m=e.lang)},e.$$.update=()=>{753679&e.$$.dirty[0]&&o&&p&&s&&a&&l&&u&&h&&m&&Y()},[l,u,h,p,T,f,g,y,_,E,M,b,O,w,L,o,s,a,c,m]}customElements.get("player-gaming-history")||customElements.define("player-gaming-history",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerGamingHistoryWrapper{color:#D0046C;padding:50px;max-width:760px}.PlayerGamingHistoryWrapper .PlayerGamingHistoryTitle{font-size:24px;font-weight:400;text-transform:capitalize}.PlayerGamingDateContainer{display:inline-flex;gap:20px}.PlayerGamingHistoryFilterWrapper,.PlayerGamingDateWrapper{display:inline-flex;align-items:center;gap:10px}.PlayerGamingHistoryFilterWrapper{margin-bottom:20px;gap:20px;width:100%}.PlayerGamingItemCountContainer{margin-left:auto}.PlayerGamingHistoryTitle{font-size:26px;color:#D0046C;font-weight:400}.PlayerGamingHistoryTitleMobile{font-size:16px;color:#D0046C}.PlayerGamingHistoryTitleNone{display:none}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:#D0046C}.PlayerGamingHistoryEmpty{color:#000}.PlayerGamingHistoryContainer{width:100%;row-gap:30px;color:#000;background:#fff;box-shadow:0px 3px 12px #00000012;border-radius:5px;padding:10px 0}.PlayerGamingHistoryContainer table{border:0}.PlayerGamingHistoryContainer table tr{border:0;background:#fff}.PlayerGamingHistoryContainer table tr:not(:last-child){border-bottom:1px solid #F3F3F3}.PlayerGamingHistoryContainer thead tr{border-bottom:1px solid #F3F3F3}.PlayerGamingHistoryContainer thead th{font-size:14px;font-weight:400}.PlayerGamingHistoryItemCount{padding:8px;border-radius:5px;border:1px solid #D1D1D1}.PlayerPaginationControls{background:transparent;border:none;color:#D0046C;display:inline-flex;gap:8px}.PlayerPaginationControls.PlayerPaginationControlsDisabled{color:#D1D1D1}.PlayerPaginationControlsArea{margin-top:30px;display:flex}.PlayerGamingHistoryFilterWrapper span{color:#07072A;font-weight:300;font-size:14px}.PlayerGamingHistoryFilterButton{color:#fff;background:#D0046C;border-radius:5px;border:0;height:40px;text-transform:uppercase;padding:10px 20px}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper{align-items:flex-start;gap:10px;flex-direction:column}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateContainer{gap:0;flex-direction:row;width:100%;justify-content:space-between}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateWrapper{display:block;gap:0;align-items:end;width:48%}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateWrapper span{display:block;margin-bottom:5px}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingHistoryFilterButton{padding:15px 20px;width:100%}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryTitle{font-size:16px;font-weight:400}.PlayerGamingHistoryWrapperMobile .PlayerPaginationControlsArea{justify-content:center;gap:30px}.PlayerGamingHistoryWrapperMobile .PlayerPaginationControlsArea .PlayerPaginationControls{align-items:center}.PlayerGamingHistoryWrapperMobile .PlayerPaginationControlsArea .PlayerPaginationControlsText{font-size:16px}.PlayerGamingHistoryWrapperMobile .VaadinDatePicker{width:100%}table{border:1px solid #ccc;border-collapse:collapse;margin:0;padding:0;width:100%;table-layout:fixed}table tr{border:1px solid #ddd}table th,table td{padding:10px;text-align:center}table th:first-child,table td:first-child{padding-left:20px}table th:first-child span,table td:first-child span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}table th:last-child,table td:last-child{padding-right:20px}table th{font-size:.85em;letter-spacing:.1em;text-align:left}table tr td{font-size:12px;font-weight:300;text-align:left}@media screen and (max-width: 1024px){.PlayerGamingHistoryWrapper{padding:20px}.PlayerGamingHistoryContainer{box-shadow:none;padding:0}table{border:0}tbody{background:#F9F8F8}table thead{border:none;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}table tr{border-bottom:3px solid #ddd;display:block;border-radius:5px;box-shadow:0px 3px 12px #00000012;padding:10px}table tr:not(:last-child){margin-bottom:.625em}table tr th,table tr td{border:0;border-radius:5px}table tr th:nth-child(even),table tr td:nth-child(even){background:#F9F8F8}table th:first-child,table td:first-child{padding-left:10px}table th:last-child,table td:last-child{padding-right:10px}table td{border-bottom:1px solid #ddd;display:block;font-size:.8em;text-align:right;display:flex}table th:first-child span,table td:first-child span{width:50%;text-align:right}table td::before{content:attr(data-label);float:left;font-weight:bold;text-transform:uppercase;flex:1}table td:last-child{border-bottom:0}}.DataLoader{width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.DataLoader:after{content:\" \";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid #D0046C;border-color:#D0046C transparent #D0046C transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},gp,fp,n,{endpoint:18,playerid:19,session:20},[-1,-1]),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","playerid","session"]}get endpoint(){return this.$$.ctx[18]}set endpoint(e){this.$set({endpoint:e}),T()}get playerid(){return this.$$.ctx[19]}set playerid(e){this.$set({playerid:e}),T()}get session(){return this.$$.ctx[20]}set session(e){this.$set({session:e}),T()}});class Zp extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.PlayerAccountPage{display:grid;width:100%;grid-template-areas:\"nav main aside\";grid-template-rows:auto;grid-template-columns:250px 1fr 230px;background:#F9F8F8}.PlayerAccountPage.PlayerAccountMobilePage{display:block;background:#F9F8F8}.PlayerAccountPage>nav{grid-area:nav;background:#58586B}.PlayerAccountPage>nav.PlayerAccountMobile{background:#07072A;color:#FFF}.PlayerAccountPage>main{grid-area:main}.PlayerAccountPage>aside{grid-area:aside}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Xp,qp,n,{cmsendpoint:15,accountpath:16,notificationpath:17,customnotifications:0,limitspath:18,playerid:1,session:2,endpoint:3,lang:19},[-1,-1]),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["cmsendpoint","accountpath","notificationpath","customnotifications","limitspath","playerid","session","endpoint","lang"]}get cmsendpoint(){return this.$$.ctx[15]}set cmsendpoint(e){this.$set({cmsendpoint:e}),T()}get accountpath(){return this.$$.ctx[16]}set accountpath(e){this.$set({accountpath:e}),T()}get notificationpath(){return this.$$.ctx[17]}set notificationpath(e){this.$set({notificationpath:e}),T()}get customnotifications(){return this.$$.ctx[0]}set customnotifications(e){this.$set({customnotifications:e}),T()}get limitspath(){return this.$$.ctx[18]}set limitspath(e){this.$set({limitspath:e}),T()}get playerid(){return this.$$.ctx[1]}set playerid(e){this.$set({playerid:e}),T()}get session(){return this.$$.ctx[2]}set session(e){this.$set({session:e}),T()}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$set({endpoint:e}),T()}get lang(){return this.$$.ctx[19]}set lang(e){this.$set({lang:e}),T()}}return customElements.get("player-account-controller")||customElements.define("player-account-controller",Zp),Zp});
|
|
1688
|
+
`}static get is(){return"vaadin-date-picker"}static get version(){return"4.0.1"}static get properties(){return{clearButtonVisible:{type:Boolean,value:!1},disabled:{type:Boolean,value:!1,reflectToAttribute:!0},errorMessage:String,placeholder:String,readonly:{type:Boolean,value:!1,reflectToAttribute:!0},invalid:{type:Boolean,reflectToAttribute:!0,notify:!0,value:!1},_userInputValue:String}}static get observers(){return["_userInputValueChanged(_userInputValue)","_setClearButtonLabel(i18n.clear)"]}ready(){super.ready(),mc(this,()=>this._inputElement.validate=()=>{}),this._inputElement.addEventListener("change",()=>{""===this._inputElement.value&&(this.__dispatchChange=!0,this.value="",this.__dispatchChange=!1)})}_onVaadinOverlayClose(e){this._openedWithFocusRing&&this.hasAttribute("focused")?this.focusElement.setAttribute("focus-ring",""):this.hasAttribute("focused")||this.focusElement.blur(),e.detail.sourceEvent&&-1!==e.detail.sourceEvent.composedPath().indexOf(this)&&e.preventDefault()}_toggle(e){e.stopPropagation(),this[this._overlayInitialized&&this.$.overlay.opened?"close":"open"]()}_input(){return this.$.input}set _inputValue(e){this._inputElement.value=e}get _inputValue(){return this._inputElement.value}_getAriaExpanded(e){return Boolean(e).toString()}get focusElement(){return this._input()||this}_setClearButtonLabel(e){this._inputElement.shadowRoot.querySelector('[part="clear-button"]').setAttribute("aria-label",e)}}function Fd(e){let n,i,o,r,s;return{c(){n=Ct("p"),i=Ct("strong"),o=Pt("Your self-exclusion period will last until the "),r=Pt(e[2]),s=Pt(" 23:59."),St(n,"class","SelfExclusionDescriptionText")},m(e,t){vt(e,n,t),bt(n,i),bt(i,o),bt(i,r),bt(i,s)},p(e,t){4&t&&q(r,e[2])},d(e){e&&wt(n)}}}function $d(e){let n;return{c(){n=Ct("p"),n.innerHTML="<strong>Your self-exclusion period will be permanent.</strong>",St(n,"class","SelfExclusionDescriptionText")},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function zd(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w,x,C,P,A,T,S,E,M,D,k,I,L,O,N=n[4]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="PlayerSelfExclusionTitleMobile">Self-Exclusion</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[8]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(n);function B(e){return e[1]?$d:Fd}let R=B(n),F=R(n);return{c(){i=Ct("div"),N&&N.c(),o=At(),r=Ct("h2"),s=Pt("Self-Exclusion"),a=At(),l=Ct("div"),c=Ct("p"),c.textContent="Everymatrix recognizes that gambling can lead to addiction and in our effort to prevent these problems, we offer our users the ability to exclude all forms of betting on our site for a certain of indefinite period of time.",d=At(),u=Ct("p"),u.textContent='Self-exclusion takes effect from the time it is set for the period you choose. Select a timeframe below then click "Confirm".',h=At(),p=Ct("p"),p.textContent="During self-exclusion you will not be able to access your Everymatrix account. In the case of permanent self-exclusion, it is only possible to revoke Self-exclusion upon written request and only 6 months post its initial application. Please note that an alternative way to request self-exclusion is to contact Customer Service as follows: E-mail: support@everymatrix.com",m=At(),f=Ct("p"),f.innerHTML='E-mail: <a href="mailto:support@everymatrix.com">support@everymatrix.com</a>',g=At(),y=Ct("div"),_=Ct("label"),_.textContent="Duration:",b=At(),v=Ct("vaadin-date-picker"),w=At(),x=Ct("div"),C=Ct("label"),P=Pt("Forever\n "),A=Ct("input"),T=At(),S=Ct("span"),E=At(),M=Ct("div"),F.c(),D=At(),k=Ct("div"),I=Ct("button"),I.textContent="Save",this.c=yt,St(r,"class","PlayerSelfExclusionTitle "+(n[4]?"PlayerSelfExclusionTitleNone":"")),St(c,"class","SelfExclusionDescriptionText"),St(u,"class","SelfExclusionDescriptionText"),St(p,"class","SelfExclusionDescriptionText"),St(f,"class","SelfExclusionDescriptionText"),St(l,"class","SelfExclusionDescription "+(n[4]?"SelfExclusionDescriptionMobile":"")),St(_,"for","SelfExclusionDate"),V(v,"min",n[3]),St(y,"class","SelfExclusionDateWrapper "+(n[4]?"SelfExclusionDateWrapperMobile":"")),St(A,"type","Checkbox"),St(S,"class","Checkmark"),St(C,"class","SelfExclusionRadio"),St(x,"class","SelfExclusionRadioWrapper "+(n[4]?"SelfExclusionRadioWrapperMobile":"")),St(M,"class","SelfExclusionDescription "+(n[4]?"SelfExclusionDescriptionMobile":"")),St(I,"class","SelfExclusionSave"),St(k,"class","SelfExclusionActionButtons "+(n[4]?"SelfExclusionActionButtonsMobile":"")),St(i,"class","SelfExclusionWrapper "+(n[4]?"SelfExclusionWrapperMobile":""))},m(e,t){vt(e,i,t),N&&N.m(i,null),bt(i,o),bt(i,r),bt(r,s),bt(i,a),bt(i,l),bt(l,c),bt(l,d),bt(l,u),bt(l,h),bt(l,p),bt(l,m),bt(l,f),bt(i,g),bt(i,y),bt(y,_),bt(y,b),bt(y,v),n[9](v),bt(i,w),bt(i,x),bt(x,C),bt(C,P),bt(C,A),bt(C,T),bt(C,S),bt(i,E),bt(i,M),F.m(M,null),bt(i,D),bt(i,k),bt(k,I),L||(O=[Tt(A,"click",n[10]),Tt(I,"click",n[11])],L=!0)},p(e,[t]){e[4]&&N.p(e,t),8&t&&V(v,"min",e[3]),R===(R=B(e))&&F?F.p(e,t):(F.d(1),F=R(e),F&&(F.c(),F.m(M,null)))},i:yt,o:yt,d(e){e&&wt(i),N&&N.d(),n[9](null),F.d(),L=!1,_t(O)}}}function Wd(e,t,n){let i,o,r=window.navigator.userAgent,s="PC"!==ki(r),a=!1,l="",c="",d=new Date;d.setDate(d.getDate()+7),o=Io(d).format("YYYY-MM-DD");const u=()=>{n(1,a=0==a)},h=e=>{1==a?l="SelfExclusionPermanent":(l="SelfExclusionPeriod",n(2,c=e))},p=()=>{h(),window.postMessage({type:"SetSelfExclusion",selfExclusionPeriod:l,selfExclusionExpiryDate:c},window.location.href)},m=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},f=e=>{h(e.target.value)};return Z(()=>()=>{i.removeEventListener("change",f)}),e.$$.update=()=>{1&e.$$.dirty&&i&&i.addEventListener("change",f,!1)},[i,a,c,o,s,u,p,m,()=>m(),function(e){J[e?"unshift":"push"](()=>{i=e,n(0,i)})},()=>u(),()=>p()]}function Yd(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g=n[0]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="AccountClosureTitleMobile">Account Closure</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[3]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(n);return{c(){i=Ct("div"),g&&g.c(),o=At(),r=Ct("h2"),s=Pt("Account Closure"),a=At(),l=Ct("div"),c=Ct("p"),c.textContent="Account Closure provides a permanent access restriction to your account if you feel you need a break, or you just want to stop using our services.",d=At(),u=Ct("div"),h=Ct("button"),p=Pt("Close Account"),this.c=yt,St(r,"class","AccountClosureTitle "+(n[0]?"AccountClosureTitleNone":"")),St(l,"class","AccountClosureDescription "+(n[0]?"AccountClosureDescriptionMobile":"")),St(h,"class","AccountClosureSave "+(n[0]?"AccountClosureSaveMobile":"")),St(u,"class","AccountClosureActionButtons "+(n[0]?"AccountClosureActionButtonsMobile":"")),St(i,"class","AccountClosureWrapper "+(n[0]?"AccountClosureWrapperMobile":""))},m(e,t){vt(e,i,t),g&&g.m(i,null),bt(i,o),bt(i,r),bt(r,s),bt(i,a),bt(i,l),bt(l,c),bt(i,d),bt(i,u),bt(u,h),bt(h,p),m||(f=Tt(h,"click",n[4]),m=!0)},p(e,[t]){e[0]&&g.p(e,t)},i:yt,o:yt,d(e){e&&wt(i),g&&g.d(),m=!1,f()}}}function Hd(e){var t=window.navigator.userAgent,t="PC"!==ki(t);const n=()=>{window.postMessage({type:"AccountClosure"},window.location.href)},i=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)};return[t,n,i,()=>i(),()=>n()]}customElements.define(Rd.is,Rd),customElements.get("player-account-self-exclusion")||customElements.define("player-account-self-exclusion",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerSelfExclusionTitle{font-size:26px;color:#D0046C;font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:16px;color:#D0046C}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionWrapper{color:#07072A;padding:50px;max-width:760px}.SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;background:#fff;max-width:unset}.MenuReturnButton{color:#58586B;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionDescription{color:#58586B;line-height:24px}.SelfExclusionDescription.SelfExclusionDescriptionMobile{font-size:12px;line-height:19.2px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:#D0046C}.SelfExclusionDateWrapper{color:#58586B;display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:14px;font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 35.008px;margin-bottom:16px;font-size:16px;user-select:none;line-height:19.2px}.SelfExclusionRadioWrapper label{font-size:16px;cursor:pointer}.SelfExclusionRadioWrapper input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25.008px;width:25.008px;background-color:#D1D1D1;border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:#D0046C}.SelfExclusionRadioWrapper .Checkmark:after{content:\"\";position:absolute;display:none;left:9.008px;top:5.008px;width:5.008px;height:10px;border:solid white;border-width:0 3.008px 3.008px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-size:12px}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:#D0046C;border:1px solid #D0046C;color:#fff}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:12px}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Wd,zd,n,{}),e&&e.target&&vt(e.target,this,e.anchor)}}),customElements.get("player-account-closure")||customElements.define("player-account-closure",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.AccountClosureWrapper{color:#07072A;padding:50px;max-width:760px}.AccountClosureWrapper.AccountClosureWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:#D0046C}.AccountClosureTitle{font-size:26px;color:#D0046C;font-weight:400}.AccountClosureTitleMobile{font-size:16px}.AccountClosureTitleNone{display:none}.AccountClosureDescription{color:#58586B;line-height:24px}.AccountClosureDescription.AccountClosureDescriptionMobile{font-size:12px;line-height:19.2px}.AccountClosureActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%;color:#fff}.AccountClosureActionButtons.AccountClosureActionButtonsMobile{width:100%;grid-template-columns:1fr}.AccountClosureSave{background:#D0046C;border:1px solid #D0046C;color:#fff;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}.AccountClosureSave.AccountClosureSaveMobile{width:100%;height:40px;font-size:12px;grid-template-columns:1fr}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Hd,Yd,n,{}),e&&e.target&&vt(e.target,this,e.anchor)}});const Ud={en:{gamingLimits:{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"}},ro:{gamingLimits:{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"}}},jd={en:{cardText:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"}},ro:{cardText:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"}}},Gd={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:"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."}}};function Vd(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y=n[3]("popupText.name")+"";function _(e){return e[0]?Xd:qd}let b=_(n),v=b(n);return{c(){i=Ct("section"),o=Ct("div"),r=Ct("div"),s=Ct("div"),s.textContent="i",a=At(),l=Ct("div"),c=Pt(y),d=At(),u=Ct("div"),u.innerHTML='<svg class="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=At(),p=Ct("div"),v.c(),St(s,"class","InfoCardPopupIcon"),St(l,"class","InfoCardPopupTitle"),St(u,"class","InfoCardPopupCloseButton"),St(r,"class","InfoCardPopupHeader"),St(p,"class","InfoCardPopupContentArea"),St(o,"class",m="InfoCardPopupWrapper "+(n[4]?"InfoCardPopupMobileWrapper":"")+" "+(n[0]?"InfoCardPopupLimitChanged":"")),St(i,"class",n[4]?"InfoCardPopupMobileModal":"")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(r,a),bt(r,l),bt(l,c),bt(r,d),bt(r,u),bt(o,h),bt(o,p),v.m(p,null),f||(g=Tt(u,"click",G(n[5])),f=!0)},p(e,t){8&t&&y!==(y=e[3]("popupText.name")+"")&&q(c,y),b===(b=_(e))&&v?v.p(e,t):(v.d(1),v=b(e),v&&(v.c(),v.m(p,null))),1&t&&m!==(m="InfoCardPopupWrapper "+(e[4]?"InfoCardPopupMobileWrapper":"")+" "+(e[0]?"InfoCardPopupLimitChanged":""))&&St(o,"class",m)},d(e){e&&wt(i),v.d(),f=!1,g()}}}function qd(e){let n,i,o=e[3]("popupText.defaultText")+"";return{c(){n=Ct("p"),i=Pt(o),St(n,"class","InfoCardPopupContent")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){8&t&&o!==(o=e[3]("popupText.defaultText")+"")&&q(i,o)},d(e){e&&wt(n)}}}function Xd(e){let n,i,o=e[3]("popupText.amountChanged",{values:{amount:e[0],currency:e[1]}})+"";return{c(){n=Ct("p"),i=Pt(o),St(n,"class","InfoCardPopupContent")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){11&t&&o!==(o=e[3]("popupText.amountChanged",{values:{amount:e[0],currency:e[1]}})+"")&&q(i,o)},d(e){e&&wt(n)}}}function Zd(e){let n,i=e[2]&&Vd(e);return{c(){i&&i.c(),n=k(),this.c=yt},m(e,t){i&&i.m(e,t),vt(e,n,t)},p(e,[t]){e[2]?i?i.p(e,t):(i=Vd(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},i:yt,o:yt,d(e){i&&i.d(e),e&&wt(n)}}}function Jd(e,t,n){let i;R(e,Di,e=>n(3,i=e));let{showpopup:o=""}=t,{iteminfoamount:r=""}=t,{lang:s="en"}=t,{playercurrency:a="USD"}=t;Object.keys(Gd).forEach(e=>{di(e,Gd[e])});let l=!1,c=window.navigator.userAgent,d="PC"!==ki(c);const u=e=>{e.data&&"ClosePlayerAccountGamingLimitsPopup"==e.data.type&&n(2,l=!1)};return Z(()=>(window.addEventListener("message",u,!1),()=>{window.removeEventListener("message",u)})),e.$$set=e=>{"showpopup"in e&&n(6,o=e.showpopup),"iteminfoamount"in e&&n(0,r=e.iteminfoamount),"lang"in e&&n(7,s=e.lang),"playercurrency"in e&&n(1,a=e.playercurrency)},e.$$.update=()=>{64&e.$$.dirty&&o&&(r<0&&n(0,r="0"),n(2,l=o))},[r,a,l,i,d,()=>{n(2,l=!1),window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href)},o,s]}customElements.get("player-account-gaming-limits-popup")||customElements.define("player-account-gaming-limits-popup",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.InfoCardPopupMobileModal:after{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);content:''}.InfoCardPopupLimitChanged{background:#FFFFF8}.InfoCardPopupWrapper{width:200px;padding:20px;color:#000;background:#fff;box-shadow:0px 4px 12px #00000012;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:#FFF transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%)}.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 #000;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:#FD2839;fill:#FD2839}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Jd,Zd,n,{showpopup:6,iteminfoamount:0,lang:7,playercurrency:1}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["showpopup","iteminfoamount","lang","playercurrency"]}get showpopup(){return this.$$.ctx[6]}set showpopup(e){this.$set({showpopup:e}),T()}get iteminfoamount(){return this.$$.ctx[0]}set iteminfoamount(e){this.$set({iteminfoamount:e}),T()}get lang(){return this.$$.ctx[7]}set lang(e){this.$set({lang:e}),T()}get playercurrency(){return this.$$.ctx[1]}set playercurrency(e){this.$set({playercurrency:e}),T()}});const Kd={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:"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"}}};function Qd(e,{delay:t=0,duration:n=400,easing:i=f}={}){const o=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:i,css:e=>"opacity: "+e*o}}function eu(n){let i,t,o;return{c(){i=Ct("div"),i.innerHTML='<div class="ModalContainer"><slot></slot></div>',St(i,"class","ModalWindow"),St(i,"id","Modal")},m(e,t){vt(e,i,t),n[3](i),o=!0},p(e,t){n=e},i(e){o||(Dt(()=>{t=t||N(i,Qd,{transitionDuration:n[1]},!0),t.run(1)}),o=!0)},o(e){t=t||N(i,Qd,{transitionDuration:n[1]},!1),t.run(0),o=!1},d(e){e&&wt(i),n[3](null),e&&t&&t.end()}}}function tu(e){let n,i,o=e[0]&&eu(e);return{c(){n=Ct("div"),o&&o.c(),this.c=yt},m(e,t){vt(e,n,t),o&&o.m(n,null),i=!0},p(e,[t]){e[0]?o?(o.p(e,t),1&t&&I(o,1)):(o=eu(e),o.c(),I(o,1),o.m(n,null)):o&&(D={r:0,c:[],p:D},L(o,1,1,()=>{o=null}),D.r||_t(D.c),D=D.p)},i(e){i||(I(o),i=!0)},o(e){L(o),i=!1},d(e){e&&wt(n),o&&o.d()}}}function nu(e,t,n){let i,{show:o=!1}=t,{duration:r=350}=t;const s=e=>{"ModalClosed"==e.data.type&&n(0,o=!1),"ShowLimitsConfirmationModal"===e.data.type&&(n(0,o=!0),window.postMessage({type:"DisableScroll"},window.location.href))};return Z(()=>(window.addEventListener("message",s,!1),()=>{window.removeEventListener("message",s)})),e.$$set=e=>{"show"in e&&n(0,o=e.show),"duration"in e&&n(1,r=e.duration)},[o,r,void 0,function(e){J[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}customElements.get("player-account-modal")||customElements.define("player-account-modal",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::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:10;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},nu,tu,n,{show:0,duration:1}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["show","duration"]}get show(){return this.$$.ctx[0]}set show(e){this.$set({show:e}),T()}get duration(){return this.$$.ctx[1]}set duration(e){this.$set({duration:e}),T()}});const iu={en:{modalText:{cancel:"Cancel",confirm:"Confirm"}},ro:{modalText:{cancel:"Cancel",confirm:"Confirm"}}};function ou(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y=n[1]("modalText.cancel")+"",_=n[1]("modalText.confirm")+"",b=!n[2]&&function(n){let i,o,r;return{c(){i=Ct("span"),i.innerHTML='<slot name="close"><svg class="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>',St(i,"class","ModalCloseBtn"),St(i,"role","button")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[3]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(n);return{c(){i=Ct("div"),b&&b.c(),o=At(),r=Ct("div"),s=Ct("div"),a=Pt(n[0]),l=At(),c=Ct("div"),d=Ct("button"),u=Pt(y),h=At(),p=Ct("button"),m=Pt(_),this.c=yt,St(s,"class","GamingLimitsConfirmationContent"),St(d,"class","GamingLimitsCancelButton"),St(p,"class","GamingLimitsConfirmButton"),St(c,"class","GamingLimitsConfirmationControlArea"),St(r,"class","GamingLimitsConfirmationContainer "+(n[2]?"GamingLimitsConfirmationContainerMobile":"")),St(i,"class","GamingLimitsConfirmationWrapper "+(n[2]?"GamingLimitsConfirmationMobileWrapper":""))},m(e,t){vt(e,i,t),b&&b.m(i,null),bt(i,o),bt(i,r),bt(r,s),bt(s,a),bt(r,l),bt(r,c),bt(c,d),bt(d,u),bt(c,h),bt(c,p),bt(p,m),f||(g=[Tt(d,"click",n[5]),Tt(p,"click",n[4])],f=!0)},p(e,[t]){e[2]||b.p(e,t),1&t&&q(a,e[0]),2&t&&y!==(y=e[1]("modalText.cancel")+"")&&q(u,y),2&t&&_!==(_=e[1]("modalText.confirm")+"")&&q(m,_)},i:yt,o:yt,d(e){e&&wt(i),b&&b.d(),f=!1,_t(g)}}}function ru(e,t,n){let i;R(e,Di,e=>n(1,i=e));let{modaltext:o="Are you sure that you want to perform this action?"}=t,{modalsource:r=""}=t;Object.keys(iu).forEach(e=>{di(e,iu[e])});let s=window.navigator.userAgent,a="PC"!==ki(s),l={},c="";const d=e=>{e.data&&"DeleteLimitsItem"===e.data.type&&(l=e.data.removeData,e=e.data.removeName,c="Time Limit"===e?"cumulativeSessionLimits":"Deposit Limit"===e?"depositLimits":"Wagering Limit"===e?"wageringLimit":"lossLimit")};return Z(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)})),e.$$set=e=>{"modaltext"in e&&n(0,o=e.modaltext),"modalsource"in e&&n(6,r=e.modalsource)},e.$$.update=()=>{e.$$.dirty},[o,i,a,()=>{window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},()=>{"groupEdit"===r?window.postMessage({type:"GamingLimitsConfirmChanges"},window.location.href):"infoCard"===r&&window.postMessage({type:"PlayerAccountGamingLimitDelete",limit:l,name:c},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},()=>{"groupEdit"===r?window.postMessage({type:"CancelGamingLimitsChanges"},window.location.href):"infoCard"===r&&window.postMessage({type:"CancelGamingLimitsRemove"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},r]}function su(e,t,n){const i=e.slice();return i[53]=t[n],i[54]=t,i[49]=n,i}function au(e,t,n){const i=e.slice();return i[47]=t[n],i}function lu(e,t,n){const i=e.slice();return i[47]=t[n],i}function cu(e,t,n){const i=e.slice();return i[47]=t[n],i[48]=t,i[49]=n,i}function du(e,t,n){const i=e.slice();return i[50]=t[n],i}function uu(e,t,n){const i=e.slice();return i[47]=t[n],i[49]=n,i}function hu(e){let n,i,o,r=e[17]("editText.success")+"";return{c(){n=Ct("div"),i=Ct("p"),o=Pt(r),St(n,"class","AccountEditLimitSuccessfulChangeContainer")},m(e,t){vt(e,n,t),bt(n,i),bt(i,o)},p(e,t){131072&t[0]&&r!==(r=e[17]("editText.success")+"")&&q(o,r)},d(e){e&&wt(n)}}}function pu(e){let n;function i(e){return e[10]?fu:mu}let o=i(e),r=o(e);return{c(){n=Ct("div"),r.c(),St(n,"class","AccountEditLimitSuccessfulChangeContainer")},m(e,t){vt(e,n,t),r.m(n,null)},p(e,t){o===(o=i(e))&&r?r.p(e,t):(r.d(1),r=o(e),r&&(r.c(),r.m(n,null)))},d(e){e&&wt(n),r.d()}}}function mu(e){let n,i,o,r,s=e[17]("editText.remove")+"",a=(e[0].expiryDate?Io(e[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=Ct("p"),i=Pt(s),o=At(),r=Pt(a)},m(e,t){vt(e,n,t),bt(n,i),bt(n,o),bt(n,r)},p(e,t){131072&t[0]&&s!==(s=e[17]("editText.remove")+"")&&q(i,s),1&t[0]&&a!==(a=(e[0].expiryDate?Io(e[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&q(r,a)},d(e){e&&wt(n)}}}function fu(t){let o,r=t[13],s=[];for(let e=0;e<r.length;e+=1)s[e]=yu(uu(t,r,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();o=k()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);vt(t,o,n)},p(t,n){if(204800&n[0]){let e;for(r=t[13],e=0;e<r.length;e+=1){var i=uu(t,r,e);s[e]?s[e].p(i,n):(s[e]=yu(i),s[e].c(),s[e].m(o.parentNode,o))}for(;e<s.length;e+=1)s[e].d(1);s.length=r.length}},d(e){xt(s,e),e&&wt(o)}}}function gu(e){let n,i,o,r,s=e[17]("editText.remove")+"",a=(e[47].expiryDate?Io(e[47].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=Ct("p"),i=Pt(s),o=At(),r=Pt(a)},m(e,t){vt(e,n,t),bt(n,i),bt(n,o),bt(n,r)},p(e,t){131072&t[0]&&s!==(s=e[17]("editText.remove")+"")&&q(i,s),8192&t[0]&&a!==(a=(e[47].expiryDate?Io(e[47].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&q(r,a)},d(e){e&&wt(n)}}}function yu(e){let n,i=e[47].period==e[16][e[49]].periodName&&gu(e);return{c(){i&&i.c(),n=k()},m(e,t){i&&i.m(e,t),vt(e,n,t)},p(e,t){e[47].period==e[16][e[49]].periodName?i?i.p(e,t):(i=gu(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&wt(n)}}}function _u(e){let n;function i(e){return e[10]?vu:bu}let o=i(e),r=o(e);return{c(){n=Ct("div"),r.c(),St(n,"class","AccountEditContent")},m(e,t){vt(e,n,t),r.m(n,null)},p(e,t){o===(o=i(e))&&r?r.p(e,t):(r.d(1),r=o(e),r&&(r.c(),r.m(n,null)))},d(e){e&&wt(n),r.d()}}}function bu(o){let r,n,i,s,a,e,l,c,d,u=o[21],h=[];for(let e=0;e<u.length;e+=1)h[e]=wu(lu(o,u,e));let p=o[16],m=[];for(let e=0;e<p.length;e+=1)m[e]=Su(su(o,p,e));return{c(){r=Ct("div"),n=Ct("div"),i=Ct("p"),i.textContent="Limit",s=At(),a=Ct("select");for(let e=0;e<h.length;e+=1)h[e].c();l=At();for(let e=0;e<m.length;e+=1)m[e].c();St(i,"class","AccountEditLimitsTitle"),St(a,"class","AccountEditField "+(o[18]?"TimeoutSelectMobile":"")),a.disabled=e=!0===o[13].isModified,void 0===o[13].period&&Dt(()=>o[29].call(a)),St(n,"class","AccountEditLimitsSplitSection"),St(r,"class","AccountEditLimitsContainer")},m(e,t){vt(e,r,t),bt(r,n),bt(n,i),bt(n,s),bt(n,a);for(let e=0;e<h.length;e+=1)h[e].m(a,null);Mt(a,o[13].period),bt(r,l);for(let e=0;e<m.length;e+=1)m[e].m(r,null);c||(d=[Tt(a,"change",o[29]),Tt(a,"change",function(){ne(o[25](o[13],0,!1,o[15]))&&o[25](o[13],0,!1,o[15]).apply(this,arguments)})],c=!0)},p(t,n){if(o=t,2097152&n[0]){let e;for(u=o[21],e=0;e<u.length;e+=1){const t=lu(o,u,e);h[e]?h[e].p(t,n):(h[e]=wu(t),h[e].c(),h[e].m(a,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=u.length}if(2105344&n[0]&&e!==(e=!0===o[13].isModified)&&(a.disabled=e),2105344&n[0]&&Mt(a,o[13].period),35106833&n[0]){let e;for(p=o[16],e=0;e<p.length;e+=1){var i=su(o,p,e);m[e]?m[e].p(i,n):(m[e]=Su(i),m[e].c(),m[e].m(r,null))}for(;e<m.length;e+=1)m[e].d(1);m.length=p.length}},d(e){e&&wt(r),xt(h,e),xt(m,e),c=!1,_t(d)}}}function vu(t){let o,r=t[13],s=[];for(let e=0;e<r.length;e+=1)s[e]=Bu(cu(t,r,e));return{c(){o=Ct("div");for(let e=0;e<s.length;e+=1)s[e].c();St(o,"class","AccountEditLimitsContainer")},m(e,t){vt(e,o,t);for(let e=0;e<s.length;e+=1)s[e].m(o,null)},p(t,n){if(34580888&n[0]){let e;for(r=t[13],e=0;e<r.length;e+=1){var i=cu(t,r,e);s[e]?s[e].p(i,n):(s[e]=Bu(i),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=r.length}},d(e){e&&wt(o),xt(s,e)}}}function wu(e){let n,i,t=e[47]+"";return{c(){n=Ct("option"),i=Pt(t),n.__value=e[47],n.value=n.__value},m(e,t){vt(e,n,t),bt(n,i)},p:yt,d(e){e&&wt(n)}}}function xu(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y=n[17]("editText.amount")+"",_=n[17]("editText.noLimit")+"",b=n[20],v=[];for(let e=0;e<b.length;e+=1)v[e]=Cu(au(n,b,e));function w(){n[30].call(a,n[54],n[49])}let x="Custom"===n[53].amount&&Pu(n),C=!0===n[13].isModified&&Tu(n);return{c(){i=Ct("div"),o=Ct("p"),r=Pt(y),s=At(),a=Ct("select"),l=Ct("option"),c=Pt(_);for(let e=0;e<v.length;e+=1)v[e].c();u=At(),h=Ct("div"),x&&x.c(),p=At(),C&&C.c(),m=At(),St(o,"class","AccountEditLimitsTitle"),l.__value="",l.value=l.__value,l.disabled=!0,l.selected=!0,l.hidden=!0,St(a,"class","AccountEditField "+(n[18]?"TimeoutSelectMobile":"")),a.disabled=d=!0===n[13].isModified,void 0===n[53].amount&&Dt(w),St(h,"class","AccountEditLimitsInputContainer"),St(i,"class","AccountEditLimitsSplitSection")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(i,s),bt(i,a),bt(a,l),bt(l,c);for(let e=0;e<v.length;e+=1)v[e].m(a,null);Mt(a,n[53].amount),bt(i,u),bt(i,h),x&&x.m(h,null),bt(h,p),C&&C.m(h,null),bt(i,m),f||(g=[Tt(a,"change",w),Tt(a,"change",function(){ne(n[25](n[53],0,!1,n[15]))&&n[25](n[53],0,!1,n[15]).apply(this,arguments)})],f=!0)},p(e,t){if(n=e,131072&t[0]&&y!==(y=n[17]("editText.amount")+"")&&q(r,y),131072&t[0]&&_!==(_=n[17]("editText.noLimit")+"")&&q(c,_),1048592&t[0]){let e;for(b=n[20],e=0;e<b.length;e+=1){const r=au(n,b,e);v[e]?v[e].p(r,t):(v[e]=Cu(r),v[e].c(),v[e].m(a,null))}for(;e<v.length;e+=1)v[e].d(1);v.length=b.length}2105344&t[0]&&d!==(d=!0===n[13].isModified)&&(a.disabled=d),1114112&t[0]&&Mt(a,n[53].amount),"Custom"===n[53].amount?x?x.p(n,t):(x=Pu(n),x.c(),x.m(h,p)):x&&(x.d(1),x=null),!0===n[13].isModified?C?C.p(n,t):(C=Tu(n),C.c(),C.m(h,null)):C&&(C.d(1),C=null)},d(e){e&&wt(i),xt(v,e),x&&x.d(),C&&C.d(),f=!1,_t(g)}}}function Cu(e){let n,i,o,t=e[47]+"",r="No limit"!==e[47]&&"Custom"!==e[47]&&function(e){let n;return{c(){n=Pt(e[4])},m(e,t){vt(e,n,t)},p(e,t){16&t[0]&&q(n,e[4])},d(e){e&&wt(n)}}}(e);return{c(){n=Ct("option"),i=Pt(t),o=At(),r&&r.c(),n.__value=e[47],n.value=n.__value},m(e,t){vt(e,n,t),bt(n,i),bt(n,o),r&&r.m(n,null)},p(e,t){"No limit"!==e[47]&&"Custom"!==e[47]&&r.p(e,t)},d(e){e&&wt(n),r&&r.d()}}}function Pu(n){let i,o,r,s,a,l;function c(){n[31].call(i,n[54],n[49])}let d=!0===n[12]&&Au(n);return{c(){i=Ct("input"),r=At(),d&&d.c(),s=k(),St(i,"type","number"),St(i,"class","AccountEditField"),i.disabled=o=!0===n[13].isModified},m(e,t){vt(e,i,t),Et(i,n[53].value),vt(e,r,t),d&&d.m(e,t),vt(e,s,t),a||(l=[Tt(i,"keyup",function(){ne(n[25](n[53],0,!1,n[15]))&&n[25](n[53],0,!1,n[15]).apply(this,arguments)}),Tt(i,"input",c)],a=!0)},p(e,t){n=e,2105344&t[0]&&o!==(o=!0===n[13].isModified)&&(i.disabled=o),1114112&t[0]&&F(i.value)!==n[53].value&&Et(i,n[53].value),!0===n[12]?d?d.p(n,t):(d=Au(n),d.c(),d.m(s.parentNode,s)):d&&(d.d(1),d=null)},d(e){e&&wt(i),e&&wt(r),d&&d.d(e),e&&wt(s),a=!1,_t(l)}}}function Au(e){let n,i,o,r=e[17]("editText.invalidInputMessageLimit")+"";return{c(){n=Ct("p"),i=Ct("span"),o=Pt(r),St(i,"class","InvalidInput InvalidSingleRow"),St(n,"class","AccountEditWarningText")},m(e,t){vt(e,n,t),bt(n,i),bt(i,o)},p(e,t){131072&t[0]&&r!==(r=e[17]("editText.invalidInputMessageLimit")+"")&&q(o,r)},d(e){e&&wt(n)}}}function Tu(e){let n,i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_=e[17]("editText.expirationDate")+"",b=(e[0].expiryDate?Io(e[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",v=e[17]("editText.changedLimitTextBefore")+"",w=(0<e[0].updateAmount?e[0].updateAmount:0)+"",x=e[17]("editText.changedLimitTextAfter")+"";return{c(){n=Ct("p"),i=Pt(_),o=At(),r=Ct("span"),s=Pt(b),a=At(),l=Ct("div"),c=Ct("p"),d=Ct("span"),d.textContent="i",u=Ct("span"),h=Pt(v),p=At(),m=Pt(w),f=At(),g=Pt(e[4]),y=Pt(x),St(n,"class","AccountEditLimitsExpiryDate"),St(d,"class","AccountEditLimitChangePeriodIcon"),St(l,"class","AccountEditLimitsPeriodChangeContainer")},m(e,t){vt(e,n,t),bt(n,i),bt(n,o),bt(n,r),bt(r,s),vt(e,a,t),vt(e,l,t),bt(l,c),bt(c,d),bt(c,u),bt(u,h),bt(u,p),bt(u,m),bt(u,f),bt(u,g),bt(u,y)},p(e,t){131072&t[0]&&_!==(_=e[17]("editText.expirationDate")+"")&&q(i,_),1&t[0]&&b!==(b=(e[0].expiryDate?Io(e[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&q(s,b),131072&t[0]&&v!==(v=e[17]("editText.changedLimitTextBefore")+"")&&q(h,v),1&t[0]&&w!==(w=(0<e[0].updateAmount?e[0].updateAmount:0)+"")&&q(m,w),16&t[0]&&q(g,e[4]),131072&t[0]&&x!==(x=e[17]("editText.changedLimitTextAfter")+"")&&q(y,x)},d(e){e&&wt(n),e&&wt(a),e&&wt(l)}}}function Su(e){let n,i=e[13].period===e[53].periodName&&xu(e);return{c(){i&&i.c(),n=k()},m(e,t){i&&i.m(e,t),vt(e,n,t)},p(e,t){e[13].period===e[53].periodName?i?i.p(e,t):(i=xu(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&wt(n)}}}function Eu(n){let i,o,r,s,a,l,c,d,u,h=n[17]("editText.noLimit")+"",p=n[19][n[49]].values,m=[];for(let e=0;e<p.length;e+=1)m[e]=Mu(du(n,p,e));function f(){n[26].call(i,n[49])}let g="Custom"===n[16][n[49]].amount&&Du(n),y=!0===n[47].isModified&&Nu(n);return{c(){i=Ct("select"),o=Ct("option"),r=Pt(h);for(let e=0;e<m.length;e+=1)m[e].c();a=At(),g&&g.c(),l=At(),y&&y.c(),c=k(),o.__value="",o.value=o.__value,o.disabled=!0,o.selected=!0,o.hidden=!0,St(i,"class","AccountEditField "+(n[18]?"TimeoutSelectMobile":"")),i.disabled=s=!0===n[47].isModified,void 0===n[16][n[49]].amount&&Dt(f)},m(e,t){vt(e,i,t),bt(i,o),bt(o,r);for(let e=0;e<m.length;e+=1)m[e].m(i,null);Mt(i,n[16][n[49]].amount),vt(e,a,t),g&&g.m(e,t),vt(e,l,t),y&&y.m(e,t),vt(e,c,t),d||(u=[Tt(i,"change",f),Tt(i,"change",function(){ne(n[25](n[16][n[49]],n[49],!1,n[15]))&&n[25](n[16][n[49]],n[49],!1,n[15]).apply(this,arguments)})],d=!0)},p(e,t){if(n=e,131072&t[0]&&h!==(h=n[17]("editText.noLimit")+"")&&q(r,h),524312&t[0]){let e;for(p=n[19][n[49]].values,e=0;e<p.length;e+=1){const r=du(n,p,e);m[e]?m[e].p(r,t):(m[e]=Mu(r),m[e].c(),m[e].m(i,null))}for(;e<m.length;e+=1)m[e].d(1);m.length=p.length}2105344&t[0]&&s!==(s=!0===n[47].isModified)&&(i.disabled=s),1114112&t[0]&&Mt(i,n[16][n[49]].amount),"Custom"===n[16][n[49]].amount?g?g.p(n,t):(g=Du(n),g.c(),g.m(l.parentNode,l)):g&&(g.d(1),g=null),!0===n[47].isModified?y?y.p(n,t):(y=Nu(n),y.c(),y.m(c.parentNode,c)):y&&(y.d(1),y=null)},d(e){e&&wt(i),xt(m,e),e&&wt(a),g&&g.d(e),e&&wt(l),y&&y.d(e),e&&wt(c),d=!1,_t(u)}}}function Mu(e){let n,i,o,t=e[50]+"",r="No limit"!==e[50]&&"Custom"!==e[50]&&function(){let n,i=("Time Limit"!==e[3]?e[4]:" minutes")+"";return{c(){n=Pt(i)},m(e,t){vt(e,n,t)},p(e,t){24&t[0]&&i!==(i=("Time Limit"!==e[3]?e[4]:" minutes")+"")&&q(n,i)},d(e){e&&wt(n)}}}();return{c(){n=Ct("option"),i=Pt(t),o=At(),r&&r.c(),n.__value=e[50],n.value=n.__value},m(e,t){vt(e,n,t),bt(n,i),bt(n,o),r&&r.m(n,null)},p(e,t){"No limit"!==e[50]&&"Custom"!==e[50]&&r.p(e,t)},d(e){e&&wt(n),r&&r.d()}}}function Du(e){let n;function i(e){return"Deposit Limit"===e[3]?Iu:ku}let o=i(e),r=o(e);return{c(){r.c(),n=k()},m(e,t){r.m(e,t),vt(e,n,t)},p(e,t){o===(o=i(e))&&r?r.p(e,t):(r.d(1),r=o(e),r&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&wt(n)}}}function ku(n){let i,o,r,s,a,l;function c(){n[28].call(i,n[49])}let d=1==n[11][n[49]]&&Lu(n);return{c(){i=Ct("input"),r=At(),s=Ct("p"),d&&d.c(),St(i,"type","number"),St(i,"class","AccountEditField"),i.disabled=o=!0===n[47].isModified,St(s,"class","AccountEditWarningText")},m(e,t){vt(e,i,t),Et(i,n[16][n[49]].value),vt(e,r,t),vt(e,s,t),d&&d.m(s,null),a||(l=[Tt(i,"keyup",function(){ne(n[25](n[16][n[49]],n[49],!0,n[15]))&&n[25](n[16][n[49]],n[49],!0,n[15]).apply(this,arguments)}),Tt(i,"input",c)],a=!0)},p(e,t){n=e,2105344&t[0]&&o!==(o=!0===n[47].isModified)&&(i.disabled=o),1114112&t[0]&&F(i.value)!==n[16][n[49]].value&&Et(i,n[16][n[49]].value),1==n[11][n[49]]?d?d.p(n,t):(d=Lu(n),d.c(),d.m(s,null)):d&&(d.d(1),d=null)},d(e){e&&wt(i),e&&wt(r),e&&wt(s),d&&d.d(),a=!1,_t(l)}}}function Iu(n){let i,o,r,s,a,l;function c(){n[27].call(i,n[49])}let d=1==n[11][n[49]]&&Ou(n);return{c(){i=Ct("input"),r=At(),s=Ct("p"),d&&d.c(),St(i,"type","number"),St(i,"class","AccountEditField"),i.disabled=o=!0===n[47].isModified,St(s,"class","AccountEditWarningText")},m(e,t){vt(e,i,t),Et(i,n[16][n[49]].value),vt(e,r,t),vt(e,s,t),d&&d.m(s,null),a||(l=[Tt(i,"keyup",function(){ne(n[25](n[16][n[49]],n[49],!1,n[15]))&&n[25](n[16][n[49]],n[49],!1,n[15]).apply(this,arguments)}),Tt(i,"input",c)],a=!0)},p(e,t){n=e,2105344&t[0]&&o!==(o=!0===n[47].isModified)&&(i.disabled=o),1114112&t[0]&&F(i.value)!==n[16][n[49]].value&&Et(i,n[16][n[49]].value),1==n[11][n[49]]?d?d.p(n,t):(d=Ou(n),d.c(),d.m(s,null)):d&&(d.d(1),d=null)},d(e){e&&wt(i),e&&wt(r),e&&wt(s),d&&d.d(),a=!1,_t(l)}}}function Lu(e){let n,i,o=e[17]("editText.invalidInputMessageTime",{values:{minTime:e[7],maxTime:e[8]}})+"";return{c(){n=Ct("p"),i=Pt(o),St(n,"class","InvalidInput")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){131456&t[0]&&o!==(o=e[17]("editText.invalidInputMessageTime",{values:{minTime:e[7],maxTime:e[8]}})+"")&&q(i,o)},d(e){e&&wt(n)}}}function Ou(e){let n,i,o=e[17]("editText.invalidInputMessageLimit")+"";return{c(){n=Ct("p"),i=Pt(o),St(n,"class","InvalidInput")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){131072&t[0]&&o!==(o=e[17]("editText.invalidInputMessageLimit")+"")&&q(i,o)},d(e){e&&wt(n)}}}function Nu(e){let n,i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_=e[17]("editText.expirationDate")+"",b=(e[47].expiryDate?Io(e[47].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",v=e[17]("editText.changedLimitTextBefore")+"",w=(0<e[47].updateAmount?e[47].updateAmount:0)+"",x=(void 0!==e[47].minutes?" minutes":e[4])+"",C=e[17]("editText.changedLimitTextAfter")+"";return{c(){n=Ct("p"),i=Pt(_),o=At(),r=Ct("span"),s=Pt(b),a=At(),l=Ct("div"),c=Ct("p"),d=Ct("span"),d.textContent="i",u=Ct("span"),h=Pt(v),p=At(),m=Pt(w),f=At(),g=Pt(x),y=Pt(C),St(n,"class","AccountEditLimitsExpiryDate"),St(d,"class","AccountEditLimitChangePeriodIcon"),St(l,"class","AccountEditLimitsPeriodChangeContainer")},m(e,t){vt(e,n,t),bt(n,i),bt(n,o),bt(n,r),bt(r,s),vt(e,a,t),vt(e,l,t),bt(l,c),bt(c,d),bt(c,u),bt(u,h),bt(u,p),bt(u,m),bt(u,f),bt(u,g),bt(u,y)},p(e,t){131072&t[0]&&_!==(_=e[17]("editText.expirationDate")+"")&&q(i,_),8192&t[0]&&b!==(b=(e[47].expiryDate?Io(e[47].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&q(s,b),131072&t[0]&&v!==(v=e[17]("editText.changedLimitTextBefore")+"")&&q(h,v),8192&t[0]&&w!==(w=(0<e[47].updateAmount?e[47].updateAmount:0)+"")&&q(m,w),8208&t[0]&&x!==(x=(void 0!==e[47].minutes?" minutes":e[4])+"")&&q(g,x),131072&t[0]&&C!==(C=e[17]("editText.changedLimitTextAfter")+"")&&q(y,C)},d(e){e&&wt(n),e&&wt(a),e&&wt(l)}}}function Bu(e){let n,i,o,r,s,a=e[47].period+"",l=e[47].period==e[16][e[49]].periodName&&Eu(e);return{c(){n=Ct("div"),i=Ct("p"),o=Pt(a),r=At(),l&&l.c(),s=At(),St(i,"class","AccountEditLimitsTitle"),St(n,"class","AccountEditLimitsBox")},m(e,t){vt(e,n,t),bt(n,i),bt(i,o),bt(n,r),l&&l.m(n,null),bt(n,s)},p(e,t){8192&t[0]&&a!==(a=e[47].period+"")&&q(o,a),e[47].period==e[16][e[49]].periodName?l?l.p(e,t):(l=Eu(e),l.c(),l.m(n,s)):l&&(l.d(1),l=null)},d(e){e&&wt(n),l&&l.d()}}}function Ru(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w,x,C,P,A,T,S,E,M,D,k,I,L,O,N,B,R,F,$=n[17]("editText.back")+"",z=(n[0]?n[3]:"")+"",W=n[17]("editText.save")+"",Y=n[18]&&function(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g=n[17]("editText.back")+"";return{c(){i=Ct("div"),o=t("svg"),r=t("defs"),s=t("style"),a=Pt(".aaa{fill:#d0046c;}"),l=t("g"),c=t("g"),d=t("path"),u=At(),h=Ct("h2"),p=Pt(g),St(d,"class","aaa"),St(d,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),St(d,"transform","translate(15 15) rotate(180)"),St(c,"transform","translate(20 158)"),St(l,"transform","translate(-20 -158)"),St(o,"xmlns","http://www.w3.org/2000/svg"),St(o,"width","15"),St(o,"height","15"),St(o,"viewBox","0 0 15 15"),St(h,"class","MyAccountCategoryTitleMobile"),St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(s,a),bt(o,l),bt(l,c),bt(c,d),bt(i,u),bt(i,h),bt(h,p),m||(f=Tt(i,"click",n[23]),m=!0)},p(e,t){131072&t[0]&&g!==(g=e[17]("editText.back")+"")&&q(p,g)},d(e){e&&wt(i),m=!1,f()}}}(n),H=n[1]&&hu(n),U=n[2]&&pu(n),j=n[6]&&_u(n);return{c(){i=Ct("div"),Y&&Y.c(),o=At(),r=Ct("div"),s=t("svg"),a=t("defs"),l=t("style"),c=Pt(".aaa{fill:#d0046c;}"),d=t("g"),u=t("g"),h=t("path"),p=At(),m=Ct("h2"),f=Pt($),g=At(),y=Ct("div"),_=Ct("h6"),b=Pt(z),v=At(),w=Ct("div"),x=Ct("span"),x.textContent="i",C=At(),P=Ct("player-account-gaming-limits-popup"),A=At(),H&&H.c(),T=At(),U&&U.c(),S=At(),j&&j.c(),E=At(),M=Ct("div"),D=Ct("button"),k=Pt(W),O=At(),N=Ct("player-account-modal"),B=Ct("player-account-gaming-limits-confirmation-modal"),this.c=yt,St(h,"class","aaa"),St(h,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),St(h,"transform","translate(15 15) rotate(180)"),St(u,"transform","translate(20 158)"),St(d,"transform","translate(-20 -158)"),St(s,"xmlns","http://www.w3.org/2000/svg"),St(s,"width","15"),St(s,"height","15"),St(s,"viewBox","0 0 15 15"),St(m,"class","MyAccountCategoryTitle "+(n[18]?"MyAccountCategoryTitleNone":"")),St(r,"class","MenuReturnButton "+(n[18]?"MyAccountCategoryTitleNone":"")),St(x,"class","AccountEditLimitsIcon"),V(P,"showpopup",n[5]),St(w,"class","AccountEditLimitsIconWrapper"),St(y,"class","AccountEditLimitsHeader"),St(D,"class",I="AccountEditLimitsSaveButton "+(n[14]?"":"AccountEditLimitsButtonDisabled")),D.disabled=L=!n[14],St(M,"class","AccountEditLimitsControlArea"),St(i,"class","AccountEditLimitsWrapper "+(n[18]?"AccountEditLimitsMobileWrapper":"")),V(B,"modaltext",n[9]),V(B,"modalsource","groupEdit")},m(e,t){vt(e,i,t),Y&&Y.m(i,null),bt(i,o),bt(i,r),bt(r,s),bt(s,a),bt(a,l),bt(l,c),bt(s,d),bt(d,u),bt(u,h),bt(r,p),bt(r,m),bt(m,f),bt(i,g),bt(i,y),bt(y,_),bt(_,b),bt(y,v),bt(y,w),bt(w,x),bt(w,C),bt(w,P),bt(i,A),H&&H.m(i,null),bt(i,T),U&&U.m(i,null),bt(i,S),j&&j.m(i,null),bt(i,E),bt(i,M),bt(M,D),bt(D,k),vt(e,O,t),vt(e,N,t),bt(N,B),R||(F=[Tt(r,"click",n[23]),Tt(x,"click",G(n[22])),Tt(D,"click",n[32])],R=!0)},p(e,t){e[18]&&Y.p(e,t),131072&t[0]&&$!==($=e[17]("editText.back")+"")&&q(f,$),9&t[0]&&z!==(z=(e[0]?e[3]:"")+"")&&q(b,z),32&t[0]&&V(P,"showpopup",e[5]),e[1]?H?H.p(e,t):(H=hu(e),H.c(),H.m(i,T)):H&&(H.d(1),H=null),e[2]?U?U.p(e,t):(U=pu(e),U.c(),U.m(i,S)):U&&(U.d(1),U=null),e[6]?j?j.p(e,t):(j=_u(e),j.c(),j.m(i,E)):j&&(j.d(1),j=null),131072&t[0]&&W!==(W=e[17]("editText.save")+"")&&q(k,W),16384&t[0]&&I!==(I="AccountEditLimitsSaveButton "+(e[14]?"":"AccountEditLimitsButtonDisabled"))&&St(D,"class",I),16384&t[0]&&L!==(L=!e[14])&&(D.disabled=L),512&t[0]&&V(B,"modaltext",e[9])},i:yt,o:yt,d(e){e&&wt(i),Y&&Y.d(),H&&H.d(),U&&U.d(),j&&j.d(),e&&wt(O),e&&wt(N),R=!1,_t(F)}}}function Fu(e,t,r){let n;R(e,Di,e=>r(17,n=e));let{limitsdata:i=[]}=t,{showsuccessnotification:o=!1}=t,{showdeletenotification:s=!1}=t,{limitname:a=""}=t,{playercurrency:l=""}=t;Object.keys(Kd).forEach(e=>{di(e,Kd[e])});let c=!1,d=!0,u=!1,h=0,p=0,m="",f=window.navigator.userAgent,g="PC"!==ki(f),y=!1,_=new Array(3).fill(0),b=!1,v={},w=[],x=!1,C=[];const P={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}],T=[{periodName:"Daily",values:["10000","20000","50000","Custom"]},{periodName:"Weekly",values:["10000","50000","100000","Custom"]},{periodName:"Monthly",values:["50000","100000","200000","Custom"]}],S=["50000","100000","200000","Custom"],E=["5000","50000","200000","Custom"],M=[{periodName:"Daily",values:["500","1000","1430","Custom"]},{periodName:"Weekly",values:["5000","7000","10000","Custom"]},{periodName:"Monthly",values:["20000","30000","43000","Custom"]}],D=["Daily","Weekly","Monthly"];const k=()=>{window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href)},I=(n,t)=>{if(y){let e=JSON.parse(JSON.stringify(t));A.forEach(t=>{e.forEach(e=>{t.periodName==n.periodName&&("Custom"!==t.amount&&"No limit"!==t.amount?t.value=JSON.parse(t.amount):"No limit"===t.amount&&(t.value=0)),e.period===t.periodName&&(e.amount=t.value)})})}else A.forEach(e=>{e.periodName===n.periodName&&("Custom"!==e.amount&&"No limit"!==e.amount?e.value=JSON.parse(e.amount):"No limit"===e.amount&&(e.value=0))})},L=(e,t,n,i)=>{let o=i?e.values:e;t.amount&&"No limit"!==t.amount?o.includes(JSON.stringify(t.amount))?n.forEach(e=>{e.periodName===t.period&&(e.amount=JSON.stringify(t.amount),e.value=t.amount)}):n.forEach(e=>{e.periodName===t.period&&(e.amount="Custom",e.value=t.amount)}):n.forEach(e=>{e.periodName===t.period&&(e.amount=t.amount,e.value=0)})},O=t=>{w.forEach(e=>{t.period===e.periodName&&("Time Limit"===a&&(r(7,h=60),"Daily"===t.periodName?r(8,p=1440):"Weekly"==t.periodName?r(8,p=10080):r(8,p=43200)),-1<e.values.indexOf(t.amount)&&("No limit"===t.amount?t.amount=0:t.amount=JSON.parse(t.amount)))})},N=()=>{var e;e="Time Limit"===a?"time limit":"Deposit Limit"===a?"deposit limit":"Wagering Limit"===a?"wagering limit":"loss limit",r(9,m=n("editText.changeLimitsText",{values:{limit:e}})),r(10,y=Array.isArray(i)),r(15,C=JSON.parse(JSON.stringify(i))),r(13,v=JSON.parse(JSON.stringify(i))),w="Wagering Limit"===a?S:"Loss Limit"===a?E:"Deposit Limit"===a?T:"Time Limit"===a?M:[],y?(C.forEach(e=>{O(e)}),v.forEach(t=>{w.forEach(e=>{t.period===e.periodName&&L(e,t,A,!0)})})):(O(C),L(w,v,A,!1))},B=e=>{if(e.data)switch(e.data.type){case"ClosePlayerAccountGamingLimitsPopup":r(5,c=!1);break;case"GamingLimitsConfirmChanges":u=!0,(()=>{if(u){if(y?"Time Limit"===a?A.forEach(t=>{v.forEach(e=>{e.period===t.periodName&&(e.minutes=t.value)})}):A.forEach(t=>{v.forEach(e=>{e.period===t.periodName&&(e.amount=t.value)})}):A.forEach(e=>{v.period===e.periodName&&r(13,v.amount=e.value,v)}),y){let t={};"Deposit Limit"===a?(t={depositLimits:[]},v.forEach(e=>{t.depositLimits.push(e)})):(t={cumulativeSessionLimits:[]},v.forEach(e=>{t.cumulativeSessionLimits.push(e)})),window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:t,limitsCategory:"Time Limit"===a?"cumulativeSessionLimits":"depositLimits"},window.location.href)}else window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:v,limitsCategory:"Wagering Limit"===a?"wageringLimit":"lossLimit"},window.location.href);r(14,x=!1)}})();break;case"CancelGamingLimitsChanges":r(6,d=!1),setTimeout(()=>{r(6,d=!0)},10),N(),r(14,x=!1),u=!1}};return Z(()=>(window.addEventListener("message",B,!1),()=>{window.removeEventListener("message",B)})),e.$$set=e=>{"limitsdata"in e&&r(0,i=e.limitsdata),"showsuccessnotification"in e&&r(1,o=e.showsuccessnotification),"showdeletenotification"in e&&r(2,s=e.showdeletenotification),"limitname"in e&&r(3,a=e.limitname),"playercurrency"in e&&r(4,l=e.playercurrency)},e.$$.update=()=>{6&e.$$.dirty[0]&&o&&s&&N(),1&e.$$.dirty[0]&&i&&N()},[i,o,s,a,l,c,d,h,p,m,y,_,b,v,x,C,A,n,g,T,E,D,()=>{r(5,c=!0)},()=>{window.postMessage({type:"PlayerAccountBackToLimitsView"},window.location.href)},k,(e,t,n,i)=>{var o;y?"Custom"===e.amount?"Time Limit"==a?(r(7,h=60),"Daily"===e.periodName?r(8,p=1440):"Weekly"==e.periodName?r(8,p=10080):r(8,p=43200),e.value&&P.time.test(e.value)&&e.value>h&&e.value<=p?(r(11,_[t]=0,_),o=i[t],e.periodName==o.period&&e.value==o.amount?(r(14,x=!1),I(e,i)):r(14,x=!0)):(r(11,_[t]=1,_),r(14,x=!1))):e.value&&P.amount.test(e.value)?(r(11,_[t]=0,_),e.periodName==i[t].period&&e.value==i[t].amount?(r(14,x=!!x),I(e,i)):r(14,x=!0),A.forEach(e=>{0==e.value&&r(14,x=!1)})):(r(11,_[t]=1,_),r(14,x=!1)):(e.periodName==i[t].period?(I(e,i),r(14,x=e.value!=i[t].amount)):r(14,x=!0),A.forEach(e=>{0==e.value&&r(14,x=!1)})):v.period!=i.period?(r(14,x=!0),"Custom"==e.amount&&(e.value&&P.amount.test(e.value)?(r(12,b=!1),v.period==i.period&&e.value==i.amount?(r(14,x=!1),I(e,i)):r(14,x=!0)):(r(12,b=!0),r(14,x=!1)))):"Custom"===e.amount?e.value&&P.amount.test(e.value)?(r(12,b=!1),v.period==i.period&&e.value==i.amount?(r(14,x=!!x),I(e,i)):r(14,x=!0)):(r(12,b=!0),r(14,x=!1)):v.period==i.period?(I(e,i),r(14,x=e.value!=i.amount)):r(14,x=!0)},function(e){A[e].amount=X(this),r(16,A),r(20,E)},function(e){A[e].value=F(this.value),r(16,A),r(20,E)},function(e){A[e].value=F(this.value),r(16,A),r(20,E)},function(){v.period=X(this),r(13,v),r(21,D)},function(e,t){e[t].amount=X(this),r(16,A),r(20,E)},function(e,t){e[t].value=F(this.value),r(16,A),r(20,E)},()=>k()]}function $u(e,t,n){const i=e.slice();return i[32]=t[n],i[34]=n,i}function zu(e,t,n){const i=e.slice();return i[32]=t[n],i[34]=n,i}function Wu(e){let n,i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b=(e[0]?e[0].period:"")+"",v=(e[0]?e[0].amount:0)+"",w=(e[0]?e[0].currency:"")+"",x=e[10]("cardText.expirationDate")+"",C=(e[0]&&e[0].expiryDate?(Io(e[0].expiryDate).year()>e[12].year()+30?e[12].add(5,"years"):Io(e[0].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=Ct("div"),i=Ct("div"),o=Ct("div"),r=Pt(b),s=At(),a=Ct("div"),l=Pt(v),c=At(),d=Ct("span"),u=Pt(w),h=At(),p=Ct("div"),m=Ct("div"),f=Pt(x),g=At(),y=Ct("div"),_=Pt(C),St(o,"class","InfoCardRowTitle"),St(d,"class","InfoCardCurrency"),St(a,"class","InfoCardRowValue"),St(i,"class","InfoCardRow InfoMainRow"),St(m,"class","InfoCardRowTitle"),St(y,"class","InfoCardRowValue"),St(p,"class","InfoCardRow"),St(n,"class","InfoCardBox")},m(e,t){vt(e,n,t),bt(n,i),bt(i,o),bt(o,r),bt(i,s),bt(i,a),bt(a,l),bt(a,c),bt(a,d),bt(d,u),bt(n,h),bt(n,p),bt(p,m),bt(m,f),bt(p,g),bt(p,y),bt(y,_)},p(e,t){1&t[0]&&b!==(b=(e[0]?e[0].period:"")+"")&&q(r,b),1&t[0]&&v!==(v=(e[0]?e[0].amount:0)+"")&&q(l,v),1&t[0]&&w!==(w=(e[0]?e[0].currency:"")+"")&&q(u,w),1024&t[0]&&x!==(x=e[10]("cardText.expirationDate")+"")&&q(f,x),1&t[0]&&C!==(C=(e[0]&&e[0].expiryDate?(Io(e[0].expiryDate).year()>e[12].year()+30?e[12].add(5,"years"):Io(e[0].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&q(_,C)},d(e){e&&wt(n)}}}function Yu(e){let n;function i(e){return"Time Limit"===e[1]?Uu:Hu}let o=i(e),r=o(e);return{c(){r.c(),n=k()},m(e,t){r.m(e,t),vt(e,n,t)},p(e,t){o===(o=i(e))&&r?r.p(e,t):(r.d(1),r=o(e),r&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&wt(n)}}}function Hu(t){let o,r=t[0],s=[];for(let e=0;e<r.length;e+=1)s[e]=Xu($u(t,r,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();o=k()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);vt(t,o,n)},p(t,n){if(105487&n[0]){let e;for(r=t[0],e=0;e<r.length;e+=1){var i=$u(t,r,e);s[e]?s[e].p(i,n):(s[e]=Xu(i),s[e].c(),s[e].m(o.parentNode,o))}for(;e<s.length;e+=1)s[e].d(1);s.length=r.length}},d(e){xt(s,e),e&&wt(o)}}}function Uu(t){let o,r=t[0],s=[];for(let e=0;e<r.length;e+=1)s[e]=ih(zu(t,r,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();o=k()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);vt(t,o,n)},p(t,n){if(105483&n[0]){let e;for(r=t[0],e=0;e<r.length;e+=1){var i=zu(t,r,e);s[e]?s[e].p(i,n):(s[e]=ih(i),s[e].c(),s[e].m(o.parentNode,o))}for(;e<s.length;e+=1)s[e].d(1);s.length=r.length}},d(e){xt(s,e),e&&wt(o)}}}function ju(e){let n,i,o=e[10]("cardText.notAvailable")+"";return{c(){n=Ct("div"),i=Pt(o),St(n,"class","InfoCardRowValue")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){1024&t[0]&&o!==(o=e[10]("cardText.notAvailable")+"")&&q(i,o)},d(e){e&&wt(n)}}}function Gu(e){let n,i,o=(e[32]?(Io(e[32].expiryDate).year()>e[12].year()+30?e[12].add(5,"years"):Io(e[32].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=Ct("div"),i=Pt(o),St(n,"class","InfoCardRowValue")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){1&t[0]&&o!==(o=(e[32]?(Io(e[32].expiryDate).year()>e[12].year()+30?e[12].add(5,"years"):Io(e[32].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&q(i,o)},d(e){e&&wt(n)}}}function Vu(n){let i,o,r,s,a,l,c,d;function u(){return n[19](n[34])}return{c(){i=Ct("div"),o=Ct("span"),o.textContent="i",r=At(),s=Ct("player-account-gaming-limits-popup"),St(o,"class","InfoCardIcon"),V(s,"showpopup",a=n[3][n[34]+1]),V(s,"iteminfoamount",l=n[32].updateAmount),V(s,"playercurrency",n[2]),St(i,"class","InfoCardIconWrapper "+(n[11]?"InfoCardIconMobileWrapper":""))},m(e,t){vt(e,i,t),bt(i,o),bt(i,r),bt(i,s),c||(d=Tt(o,"click",G(u)),c=!0)},p(e,t){n=e,8&t[0]&&a!==(a=n[3][n[34]+1])&&V(s,"showpopup",a),1&t[0]&&l!==(l=n[32].updateAmount)&&V(s,"iteminfoamount",l),4&t[0]&&V(s,"playercurrency",n[2])},d(e){e&&wt(i),c=!1,d()}}}function qu(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML="<span></span>",St(i,"class","InfoCardRemoveIcon")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",function(){ne(n[15](n[32],n[1]))&&n[15](n[32],n[1]).apply(this,arguments)}),o=!0)},p(e,t){n=e},d(e){e&&wt(i),o=!1,r()}}}function Xu(e){let n,i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v=(e[32]?e[32].period:"")+"",w=(e[32]?e[32].amount:0)+"",x=(e[32]?e[32].currency:"")+"",C=e[10]("cardText.expirationDate")+"";function P(e){return e[32].expiryDate?Gu:ju}let A=P(e),T=A(e);function S(e){return"No limit"==e[32].amount||e[32].isModified?"No limit"!=e[32].amount&&e[32].isModified?Vu:void 0:qu}let E=S(e),M=E&&E(e);return{c(){n=Ct("div"),i=Ct("div"),o=Ct("div"),r=Ct("div"),s=Pt(v),a=At(),l=Ct("div"),c=Pt(w),d=At(),u=Ct("span"),h=Pt(x),p=At(),m=Ct("div"),f=Ct("div"),g=Pt(C),y=At(),T.c(),_=At(),M&&M.c(),b=At(),St(r,"class","InfoCardRowTitle"),St(u,"class","InfoCardCurrency"),St(l,"class","InfoCardRowValue"),St(o,"class","InfoCardRow InfoMainRow"),St(f,"class","InfoCardRowTitle"),St(m,"class","InfoCardRow"),St(i,"class","InfoCardRowContainer"),St(n,"class","InfoCardBox InfoCardMultipleItems")},m(e,t){vt(e,n,t),bt(n,i),bt(i,o),bt(o,r),bt(r,s),bt(o,a),bt(o,l),bt(l,c),bt(l,d),bt(l,u),bt(u,h),bt(i,p),bt(i,m),bt(m,f),bt(f,g),bt(m,y),T.m(m,null),bt(n,_),M&&M.m(n,null),bt(n,b)},p(e,t){1&t[0]&&v!==(v=(e[32]?e[32].period:"")+"")&&q(s,v),1&t[0]&&w!==(w=(e[32]?e[32].amount:0)+"")&&q(c,w),1&t[0]&&x!==(x=(e[32]?e[32].currency:"")+"")&&q(h,x),1024&t[0]&&C!==(C=e[10]("cardText.expirationDate")+"")&&q(g,C),A===(A=P(e))&&T?T.p(e,t):(T.d(1),T=A(e),T&&(T.c(),T.m(m,null))),E===(E=S(e))&&M?M.p(e,t):(M&&M.d(1),M=E&&E(e),M&&(M.c(),M.m(n,b)))},d(e){e&&wt(n),T.d(),M&&M.d()}}}function Zu(e){let n,i,o=e[10]("cardText.noLimit")+"";return{c(){n=Ct("span"),i=Pt(o),St(n,"class","InfoCardCurrency")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){1024&t[0]&&o!==(o=e[10]("cardText.noLimit")+"")&&q(i,o)},d(e){e&&wt(n)}}}function Ju(e){let n,i,o,r=(e[32]?e[32].amount:0)+"",s="No limit"!=e[32].amount&&Ku(e);return{c(){n=Pt(r),i=At(),s&&s.c(),o=k()},m(e,t){vt(e,n,t),vt(e,i,t),s&&s.m(e,t),vt(e,o,t)},p(e,t){1&t[0]&&r!==(r=(e[32]?e[32].amount:0)+"")&&q(n,r),"No limit"!=e[32].amount?s?s.p(e,t):(s=Ku(e),s.c(),s.m(o.parentNode,o)):s&&(s.d(1),s=null)},d(e){e&&wt(n),e&&wt(i),s&&s.d(e),e&&wt(o)}}}function Ku(e){let n,i,o=e[10]("cardText.minutes")+"";return{c(){n=Ct("span"),i=Pt(o),St(n,"class","InfoCardCurrency")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){1024&t[0]&&o!==(o=e[10]("cardText.minutes")+"")&&q(i,o)},d(e){e&&wt(n)}}}function Qu(e){let n,i,o=e[10]("cardText.notAvailable")+"";return{c(){n=Ct("div"),i=Pt(o),St(n,"class","InfoCardRowValue")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){1024&t[0]&&o!==(o=e[10]("cardText.notAvailable")+"")&&q(i,o)},d(e){e&&wt(n)}}}function eh(e){let n,i,o=(e[32]?(Io(e[32].expiryDate).year()>e[12].year()+30?e[12].add(5,"years"):Io(e[32].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=Ct("div"),i=Pt(o),St(n,"class","InfoCardRowValue")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){1&t[0]&&o!==(o=(e[32]?(Io(e[32].expiryDate).year()>e[12].year()+30?e[12].add(5,"years"):Io(e[32].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&q(i,o)},d(e){e&&wt(n)}}}function th(n){let i,o,r,s,a,l,c,d;function u(){return n[18](n[34])}return{c(){i=Ct("div"),o=Ct("span"),o.textContent="i",r=At(),s=Ct("player-account-gaming-limits-popup"),St(o,"class","InfoCardIcon"),V(s,"showpopup",a=n[3][n[34]+1]),V(s,"iteminfoamount",l=n[32].updateMinutes),V(s,"playercurrency","minutes"),St(i,"class","InfoCardIconWrapper "+(n[11]?"InfoCardIconMobileWrapper":""))},m(e,t){vt(e,i,t),bt(i,o),bt(i,r),bt(i,s),c||(d=Tt(o,"click",G(u)),c=!0)},p(e,t){n=e,8&t[0]&&a!==(a=n[3][n[34]+1])&&V(s,"showpopup",a),1&t[0]&&l!==(l=n[32].updateMinutes)&&V(s,"iteminfoamount",l)},d(e){e&&wt(i),c=!1,d()}}}function nh(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML="<span></span>",St(i,"class","InfoCardRemoveIcon")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",function(){ne(n[15](n[32],n[1]))&&n[15](n[32],n[1]).apply(this,arguments)}),o=!0)},p(e,t){n=e},d(e){e&&wt(i),o=!1,r()}}}function ih(e){let n,i,o,r,s,a,l,c,d,u,h,p,m,f,g=(e[32]?e[32].period:"")+"",y=e[10]("cardText.expirationDate")+"";function _(e){return 0!==e[32].amount?Ju:Zu}let b=_(e),v=b(e);function w(e){return e[32].expiryDate?eh:Qu}let x=w(e),C=x(e);function P(e){return"No limit"==e[32].amount||e[32].isModified?"No limit"!=e[32].amount&&e[32].isModified?th:void 0:nh}let A=P(e),T=A&&A(e);return{c(){n=Ct("div"),i=Ct("div"),o=Ct("div"),r=Ct("div"),s=Pt(g),a=At(),l=Ct("div"),v.c(),c=At(),d=Ct("div"),u=Ct("div"),h=Pt(y),p=At(),C.c(),m=At(),T&&T.c(),f=At(),St(r,"class","InfoCardRowTitle"),St(l,"class","InfoCardRowValue"),St(o,"class","InfoCardRow InfoMainRow"),St(u,"class","InfoCardRowTitle"),St(d,"class","InfoCardRow"),St(i,"class","InfoCardRowContainer"),St(n,"class","InfoCardBox InfoCardMultipleItems")},m(e,t){vt(e,n,t),bt(n,i),bt(i,o),bt(o,r),bt(r,s),bt(o,a),bt(o,l),v.m(l,null),bt(i,c),bt(i,d),bt(d,u),bt(u,h),bt(d,p),C.m(d,null),bt(n,m),T&&T.m(n,null),bt(n,f)},p(e,t){1&t[0]&&g!==(g=(e[32]?e[32].period:"")+"")&&q(s,g),b===(b=_(e))&&v?v.p(e,t):(v.d(1),v=b(e),v&&(v.c(),v.m(l,null))),1024&t[0]&&y!==(y=e[10]("cardText.expirationDate")+"")&&q(h,y),x===(x=w(e))&&C?C.p(e,t):(C.d(1),C=x(e),C&&(C.c(),C.m(d,null))),A===(A=P(e))&&T?T.p(e,t):(T&&T.d(1),T=A&&A(e),T&&(T.c(),T.m(n,f)))},d(e){e&&wt(n),v.d(),C.d(),T&&T.d()}}}function oh(n){let i,o,r,s,a=n[10]("cardText.removeLimits")+"";return{c(){i=Ct("button"),o=Pt(a),St(i,"class","InfoCardRemoveButton")},m(e,t){vt(e,i,t),bt(i,o),r||(s=Tt(i,"click",n[21]),r=!0)},p(e,t){1024&t[0]&&a!==(a=e[10]("cardText.removeLimits")+"")&&q(o,a)},d(e){e&&wt(i),r=!1,s()}}}function rh(e){let n,i,o;return{c(){n=Ct("player-account-modal"),i=Ct("player-account-gaming-limits-confirmation-modal"),V(i,"modaltext",o=e[5]?e[7]:e[8]),V(i,"modalsource","infoCard")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){416&t[0]&&o!==(o=e[5]?e[7]:e[8])&&V(i,"modaltext",o)},d(e){e&&wt(n)}}}function sh(e){let n,i=function(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w,x,C,P,A,T,S=(n[0]?n[1]:"")+"",E=n[10]("cardText.edit")+"";function M(e,t){return(null==_||1&t[0])&&(_=!!Array.isArray(e[0])),_?Yu:Wu}let D=M(n,[-1]),k=D(n),I=!n[4]&&!n[0].isModified&&n[9]&&oh(n),L=n[6]&&rh(n);return{c(){i=Ct("div"),o=Ct("div"),r=Ct("div"),s=Ct("h5"),a=Pt(S),l=At(),c=Ct("div"),d=Ct("span"),d.textContent="i",u=At(),h=Ct("player-account-gaming-limits-popup"),m=At(),f=Ct("div"),g=Ct("div"),y=Ct("div"),k.c(),b=At(),v=Ct("div"),w=Ct("button"),x=Pt(E),C=At(),I&&I.c(),P=At(),L&&L.c(),St(d,"class","InfoCardIcon"),V(h,"showpopup",p=n[3][0]),St(c,"class","InfoCardIconWrapper "+(n[11]?"InfoCardIconMobileWrapper":"")),St(r,"class","InfoCardHeader "+(n[11]?"InfoCardMobileHeader":"")),St(y,"class","InfoCardTableRow"),St(g,"class","InfoCardTableWrapper"),St(w,"class","InfoCardEditButton"),St(v,"class","InfoCardControlArea"),St(f,"class","InfoCard"),St(o,"class","InfoCardWrapper"),St(i,"class","InfoCardSection")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(s,a),bt(r,l),bt(r,c),bt(c,d),bt(c,u),bt(c,h),bt(o,m),bt(o,f),bt(f,g),bt(g,y),k.m(y,null),bt(f,b),bt(f,v),bt(v,w),bt(w,x),bt(v,C),I&&I.m(v,null),bt(i,P),L&&L.m(i,null),A||(T=[Tt(d,"click",G(n[17])),Tt(w,"click",n[20])],A=!0)},p(e,t){3&t[0]&&S!==(S=(e[0]?e[1]:"")+"")&&q(a,S),8&t[0]&&p!==(p=e[3][0])&&V(h,"showpopup",p),D===(D=M(e,t))&&k?k.p(e,t):(k.d(1),k=D(e),k&&(k.c(),k.m(y,null))),1024&t[0]&&E!==(E=e[10]("cardText.edit")+"")&&q(x,E),e[4]||e[0].isModified||!e[9]?I&&(I.d(1),I=null):I?I.p(e,t):(I=oh(e),I.c(),I.m(v,null)),e[6]?L?L.p(e,t):(L=rh(e),L.c(),L.m(i,null)):L&&(L.d(1),L=null)},d(e){e&&wt(i),k.d(),I&&I.d(),L&&L.d(),A=!1,_t(T)}}}(e);return{c(){i.c(),n=k(),this.c=yt},m(e,t){i.m(e,t),vt(e,n,t)},p(e,t){i.p(e,t)},i:yt,o:yt,d(e){i.d(e),e&&wt(n)}}}function ah(e,t,i){let r;R(e,Di,e=>i(10,r=e));let{limitsdata:n=""}=t,{limitname:o=""}=t,{playercurrency:s=""}=t;Object.keys(jd).forEach(e=>{di(e,jd[e])});let a=new Array(5).fill(0),l=[r("cardText.daily"),r("cardText.weekly"),r("cardText.monthly")],c=!0,d=!0,u=!1,h=window.navigator.userAgent,p="PC"!==ki(h),m="",f="",g=!0,y=Io();const _=e=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:e,name:o},window.location.href)},b=e=>{i(6,u=!0),i(5,d=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:e,removeName:o},window.location.href)},v=e=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{i(3,a[e]=!0,a)},50)},w=(e,t,n,i)=>{var o=i===r("cardText.time")?{period:n,minutes:0,currency:"",isModified:!1,expiryDate:""}:{period:n,amount:r("cardText.noLimit"),currency:"",isModified:!1,expiryDate:""};e.splice(t,0,o)},x=(e,t)=>e.period===r("cardText.weekly")&&t.period===r("cardText.daily")||e.period===r("cardText.monthly")&&t.period===r("cardText.daily")||e.period===r("cardText.monthly")&&t.period===r("cardText.weekly")?1:e.period===r("cardText.daily")&&t.period===r("cardText.weekly")||e.period===r("cardText.daily")&&t.period===r("cardText.monthly")||e.period===r("cardText.weekly")&&t.period===r("cardText.monthly")?-1:0,C=()=>{var e;e=o===r("cardText.timeLimit")?r("cardText.timeLimitLower"):o===r("cardText.depositLimit")?r("cardText.depositLimitLower"):o===r("cardText.wageringLimit")?r("cardText.wageringLimitLower"):r("cardText.lossLimitLower"),i(7,m=r("cardText.removeLimitsText",{values:{limit:e}})),i(8,f=r("cardText.removeLimitText",{values:{limit:e}})),o===r("cardText.depositLimit")||o===r("cardText.timeLimit")?Array.isArray(n)&&(n.forEach(e=>{e.isModified&&i(9,g=!1)}),n.sort(x),(n=>{const t=l;l.forEach(t=>{n.indexOf(t),n.find(e=>e.period===t)&&(l=l.filter(e=>e!==t)),n.forEach(e=>{e.period===t&&e.amount!==r("cardText.noLimit")&&i(4,c=!1)})}),l.forEach(e=>{n.name===r("cardText.timeLimit")?w(n,t.indexOf(e),e,r("cardText.time")):w(n,t.indexOf(e),e,r("cardText.currency"))})})(n)):(n.hasOwnProperty("period")||i(0,n={period:r("cardText.daily"),amount:r("cardText.noLimit"),currency:"",isModified:!1,expiryDate:""}),i(4,c=n.amount==r("cardText.noLimit")))},P=e=>{if(e.data)switch(e.data.type){case"ClosePlayerAccountGamingLimitsPopup":i(3,a=new Array(5).fill(0));break;case"ModalClosed":i(6,u=!1),i(5,d=!1)}};return Z(()=>(window.addEventListener("message",P,!1),()=>{window.removeEventListener("message",P)})),e.$$set=e=>{"limitsdata"in e&&i(0,n=e.limitsdata),"limitname"in e&&i(1,o=e.limitname),"playercurrency"in e&&i(2,s=e.playercurrency)},e.$$.update=()=>{3&e.$$.dirty[0]&&n&&o&&C()},[n,o,s,a,c,d,u,m,f,g,r,p,y,_,b,(e,t)=>{i(6,u=!0),i(5,d=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:e,removeName:t},window.location.href)},v,()=>v(0),e=>v(e+1),e=>v(e+1),()=>_(n),()=>b(n)]}function lh(e){let n;return{c(){n=Ct("player-account-gaming-limits-group-edit"),V(n,"limitsdata",e[7]),V(n,"limitname",e[8]),V(n,"showsuccessnotification",e[5]),V(n,"showdeletenotification",e[4]),V(n,"playercurrency",e[6])},m(e,t){vt(e,n,t)},p(e,t){128&t&&V(n,"limitsdata",e[7]),256&t&&V(n,"limitname",e[8]),32&t&&V(n,"showsuccessnotification",e[5]),16&t&&V(n,"showdeletenotification",e[4]),64&t&&V(n,"playercurrency",e[6])},d(e){e&&wt(n)}}}function ch(e){let n,i,o,r,s,a,l,c,d,u,h,p,m,f=e[10]("gamingLimits.gamingLimitsText")+"",g=e[11]&&function(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g=n[10]("gamingLimits.gamingLimitsText")+"";return{c(){i=Ct("div"),o=t("svg"),r=t("defs"),s=t("style"),a=Pt(".aaa{fill:#d0046c;}"),l=t("g"),c=t("g"),d=t("path"),u=At(),h=Ct("h2"),p=Pt(g),St(d,"class","aaa"),St(d,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),St(d,"transform","translate(15 15) rotate(180)"),St(c,"transform","translate(20 158)"),St(l,"transform","translate(-20 -158)"),St(o,"xmlns","http://www.w3.org/2000/svg"),St(o,"width","15"),St(o,"height","15"),St(o,"viewBox","0 0 15 15"),St(h,"class","PlayerGamingLimitsTitleMobile"),St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(s,a),bt(o,l),bt(l,c),bt(c,d),bt(i,u),bt(i,h),bt(h,p),m||(f=Tt(i,"click",n[18]),m=!0)},p(e,t){1024&t&&g!==(g=e[10]("gamingLimits.gamingLimitsText")+"")&&q(p,g)},d(e){e&&wt(i),m=!1,f()}}}(e);return{c(){n=Ct("div"),g&&g.c(),i=At(),o=Ct("h2"),r=Pt(f),s=At(),a=Ct("div"),l=Ct("player-account-gaming-limits-info-card"),c=At(),d=Ct("player-account-gaming-limits-info-card"),u=At(),h=Ct("player-account-gaming-limits-info-card"),p=At(),m=Ct("player-account-gaming-limits-info-card"),St(o,"class","PlayerGamingLimitsTitle "+(e[11]?"PlayerGamingLimitsTitleNone":"")),V(l,"limitsdata",e[0]),V(l,"limitname",e[12]),V(l,"playercurrency",e[6]),V(d,"limitsdata",e[1]),V(d,"limitname",e[13]),V(d,"playercurrency",e[6]),V(h,"limitsdata",e[2]),V(h,"limitname",e[14]),V(h,"playercurrency",e[6]),V(m,"limitsdata",e[3]),V(m,"limitname",e[15]),V(m,"playercurrency",e[6]),St(a,"class","PlayerAccountGamingLimitsContainer"),St(n,"class","PlayerAccountGamingLimitsWrapper "+(e[11]?"PlayerAccountMobileGamingLimitsWrapper":"")+" "+(e[16].matches&&e[11]?"PlayerAccountTabletGamingLimitsWrapper":""))},m(e,t){vt(e,n,t),g&&g.m(n,null),bt(n,i),bt(n,o),bt(o,r),bt(n,s),bt(n,a),bt(a,l),bt(a,c),bt(a,d),bt(a,u),bt(a,h),bt(a,p),bt(a,m)},p(e,t){e[11]&&g.p(e,t),1024&t&&f!==(f=e[10]("gamingLimits.gamingLimitsText")+"")&&q(r,f),1&t&&V(l,"limitsdata",e[0]),64&t&&V(l,"playercurrency",e[6]),2&t&&V(d,"limitsdata",e[1]),64&t&&V(d,"playercurrency",e[6]),4&t&&V(h,"limitsdata",e[2]),64&t&&V(h,"playercurrency",e[6]),8&t&&V(m,"limitsdata",e[3]),64&t&&V(m,"playercurrency",e[6])},d(e){e&&wt(n),g&&g.d()}}}function dh(e){let n;function i(e){return e[9]?ch:lh}let o=i(e),r=o(e);return{c(){r.c(),n=k(),this.c=yt},m(e,t){r.m(e,t),vt(e,n,t)},p(e,[t]){o===(o=i(e))&&r?r.p(e,t):(r.d(1),r=o(e),r&&(r.c(),r.m(n.parentNode,n)))},i:yt,o:yt,d(e){r.d(e),e&&wt(n)}}}function uh(e,t,n){let i;R(e,Di,e=>n(10,i=e));let{depositlimit:o=""}=t,{wageringlimit:r=""}=t,{losslimit:s=""}=t,{timelimit:a=""}=t,{showdeletenotification:l=!1}=t,{showsuccessnotification:c=!1}=t;Object.keys(Ud).forEach(e=>{di(e,Ud[e])});let d,u=window.navigator.userAgent,h="PC"!==ki(u),p="",m="",f=!0,g=i("gamingLimits.depositLimit"),y=i("gamingLimits.wageringLimit"),_=i("gamingLimits.lossLimit"),b=i("gamingLimits.timeLimit");const v=window.matchMedia("(min-width: 768px)"),w=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},x=e=>{if(e.data)switch(e.data.type){case"EditPlayerAccountGamingLimits":n(7,d=e.data.edit),n(8,m=e.data.name),n(9,f=!1);break;case"PlayerAccountBackToLimitsView":n(9,f=!0);break;case"ProfileDetailsData":var t=e.data.profileDetails;n(6,p=t.currency)}};return Z(()=>(window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)})),e.$$set=e=>{"depositlimit"in e&&n(0,o=e.depositlimit),"wageringlimit"in e&&n(1,r=e.wageringlimit),"losslimit"in e&&n(2,s=e.losslimit),"timelimit"in e&&n(3,a=e.timelimit),"showdeletenotification"in e&&n(4,l=e.showdeletenotification),"showsuccessnotification"in e&&n(5,c=e.showsuccessnotification)},e.$$.update=()=>{8&e.$$.dirty&&a&&g&&y&&_&&b&&H()},[o,r,s,a,l,c,p,d,m,f,i,h,g,y,_,b,v,w,()=>w()]}function hh(e){let n,i,o,r,s,a,l;return{c(){n=Ct("div"),i=Ct("p"),i.textContent="Bonus Amount",o=At(),r=Ct("p"),s=Pt(e[3]),a=At(),l=Pt(e[6]),St(i,"class","BonusCardRowTitle"),St(r,"class","BonusCardRowText"),St(n,"class","BonusCardRow")},m(e,t){vt(e,n,t),bt(n,i),bt(n,o),bt(n,r),bt(r,s),bt(r,a),bt(r,l)},p(e,t){8&t&&q(s,e[3]),64&t&&q(l,e[6])},d(e){e&&wt(n)}}}function ph(e){let n,i,o,r,s,a,l;return{c(){n=Ct("div"),i=Ct("p"),i.textContent="Wagering Amount",o=At(),r=Ct("p"),s=Pt(e[4]),a=At(),l=Pt(e[6]),St(i,"class","BonusCardRowTitle"),St(r,"class","BonusCardRowText"),St(n,"class","BonusCardRow")},m(e,t){vt(e,n,t),bt(n,i),bt(n,o),bt(n,r),bt(r,s),bt(r,a),bt(r,l)},p(e,t){16&t&&q(s,e[4]),64&t&&q(l,e[6])},d(e){e&&wt(n)}}}function mh(e){let n,i,o,r,s,a,l;return{c(){n=Ct("div"),i=Ct("p"),i.textContent="Remaining Bonus Amount",o=At(),r=Ct("p"),s=Pt(e[5]),a=At(),l=Pt(e[6]),St(i,"class","BonusCardRowTitle"),St(r,"class","BonusCardRowText"),St(n,"class","BonusCardRow")},m(e,t){vt(e,n,t),bt(n,i),bt(n,o),bt(n,r),bt(r,s),bt(r,a),bt(r,l)},p(e,t){32&t&&q(s,e[5]),64&t&&q(l,e[6])},d(e){e&&wt(n)}}}function fh(n){let i,o,r,s;return{c(){i=Ct("button"),o=Pt("Forfeit Bonus"),St(i,"class","DeleteBonus "+(n[8]?"DeleteBonusMobile":""))},m(e,t){vt(e,i,t),bt(i,o),r||(s=Tt(i,"click",n[9]),r=!0)},p:yt,d(e){e&&wt(i),r=!1,s()}}}function gh(e){let n,i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w,x,C,P,A,T,S,E,M=Io(e[0]).format("DD/MM/YYYY h:mm A")+"",D=0<=e[3]&&hh(e),k=0<=e[4]&&ph(e),I=0<=e[5]&&mh(e),L="active"===e[1]&&fh(e);return{c(){n=Ct("div"),i=Ct("div"),o=Ct("div"),r=Ct("p"),s=Pt("Granted date: "),a=Ct("span"),l=Pt(M),c=At(),d=Ct("p"),u=Pt(e[1]),p=At(),m=Ct("div"),f=Ct("p"),f.textContent="Bonus Name",g=At(),y=Ct("p"),_=Pt(e[2]),b=At(),v=Ct("div"),w=Ct("p"),w.textContent="Bonus Type",x=At(),C=Ct("p"),P=Pt(e[7]),A=At(),D&&D.c(),T=At(),k&&k.c(),S=At(),I&&I.c(),E=At(),L&&L.c(),this.c=yt,St(r,"class","BonusCardRowTitle"),St(d,"class",h="BonusCardRowText BonusCardStatus TextCapitalize "+("active"===e[1]||"released"===e[1]?"StatusActive":"")+" "+("expired"===e[1]?"StatusExpired":"")+" "+("forfeited"===e[1]?"StatusForfeited":"")),St(o,"class","BonusCardRow"),St(f,"class","BonusCardRowTitle"),St(y,"class","BonusCardRowText"),St(m,"class","BonusCardRow"),St(w,"class","BonusCardRowTitle"),St(C,"class","BonusCardRowText TextCapitalize"),St(v,"class","BonusCardRow"),St(i,"class","BonusCardInfo"),St(n,"class","BonusCard")},m(e,t){vt(e,n,t),bt(n,i),bt(i,o),bt(o,r),bt(r,s),bt(r,a),bt(a,l),bt(o,c),bt(o,d),bt(d,u),bt(i,p),bt(i,m),bt(m,f),bt(m,g),bt(m,y),bt(y,_),bt(i,b),bt(i,v),bt(v,w),bt(v,x),bt(v,C),bt(C,P),bt(i,A),D&&D.m(i,null),bt(i,T),k&&k.m(i,null),bt(i,S),I&&I.m(i,null),bt(n,E),L&&L.m(n,null)},p(e,[t]){1&t&&M!==(M=Io(e[0]).format("DD/MM/YYYY h:mm A")+"")&&q(l,M),2&t&&q(u,e[1]),2&t&&h!==(h="BonusCardRowText BonusCardStatus TextCapitalize "+("active"===e[1]||"released"===e[1]?"StatusActive":"")+" "+("expired"===e[1]?"StatusExpired":"")+" "+("forfeited"===e[1]?"StatusForfeited":""))&&St(d,"class",h),4&t&&q(_,e[2]),128&t&&q(P,e[7]),0<=e[3]?D?D.p(e,t):(D=hh(e),D.c(),D.m(i,T)):D&&(D.d(1),D=null),0<=e[4]?k?k.p(e,t):(k=ph(e),k.c(),k.m(i,S)):k&&(k.d(1),k=null),0<=e[5]?I?I.p(e,t):(I=mh(e),I.c(),I.m(i,null)):I&&(I.d(1),I=null),"active"===e[1]?L?L.p(e,t):(L=fh(e),L.c(),L.m(n,null)):L&&(L.d(1),L=null)},i:yt,o:yt,d(e){e&&wt(n),D&&D.d(),k&&k.d(),I&&I.d(),L&&L.d()}}}function yh(e,t,n){let{bonuswalletid:i=""}=t,{bonusdate:o=""}=t,{bonusstatus:r=""}=t,{bonusname:s=""}=t,{bonustype:a=""}=t,{bonusamount:l=""}=t,{bonuswageringamount:c=""}=t,{bonusremainingamount:d=""}=t,{bonuscurrency:u=""}=t,h=window.navigator.userAgent,p="PC"!==ki(h),m="";return e.$$set=e=>{"bonuswalletid"in e&&n(10,i=e.bonuswalletid),"bonusdate"in e&&n(0,o=e.bonusdate),"bonusstatus"in e&&n(1,r=e.bonusstatus),"bonusname"in e&&n(2,s=e.bonusname),"bonustype"in e&&n(11,a=e.bonustype),"bonusamount"in e&&n(3,l=e.bonusamount),"bonuswageringamount"in e&&n(4,c=e.bonuswageringamount),"bonusremainingamount"in e&&n(5,d=e.bonusremainingamount),"bonuscurrency"in e&&n(6,u=e.bonuscurrency)},e.$$.update=()=>{2048&e.$$.dirty&&a&&(n(7,m=a),"freeRound"===m?n(7,m="Free Spins"):"freeBet"===m&&n(7,m="Free Bet"))},[o,r,s,l,c,d,u,m,p,()=>{window.postMessage({type:"DeleteActiveBonus",bonuswalletid:i},window.location.href)},i,a]}function _h(e,t,n){const i=e.slice();return i[31]=t[n],i[33]=n,i}function bh(e,t,n){const i=e.slice();return i[34]=t[n],i}function vh(){let n;return{c(){n=Ct("p"),n.textContent="The bonus code provided is invalid.",St(n,"class","InvalidBonusCodeMessage")},m(e,t){vt(e,n,t)},d(e){e&&wt(n)}}}function wh(t){let o,r=t[8],s=[];for(let e=0;e<r.length;e+=1)s[e]=Ah(bh(t,r,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();o=k()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);vt(t,o,n)},p(t,n){if(256&n[0]){let e;for(r=t[8],e=0;e<r.length;e+=1){var i=bh(t,r,e);s[e]?s[e].p(i,n):(s[e]=Ah(i),s[e].c(),s[e].m(o.parentNode,o))}for(;e<s.length;e+=1)s[e].d(1);s.length=r.length}},d(e){xt(s,e),e&&wt(o)}}}function xh(e){let n;return{c(){n=Ct("p"),n.textContent="You have no active bonuses at the moment."},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Ch(e){let n,i,o,r,s,a,l,c,d,u;return{c(){n=Ct("player-bonus-card"),V(n,"bonuswalletid",i=e[34].walletId),V(n,"bonusdate",o=e[34].granted),V(n,"bonusstatus",r=e[34].status),V(n,"bonusname",s=e[34].name),V(n,"bonustype",a=e[34].type),V(n,"bonusamount",l=e[34].grantedAmount),V(n,"bonuswageringamount",c=e[34].totalWR),V(n,"bonusremainingamount",d=e[34].currentAmount),V(n,"bonuscurrency",u=e[34].currency)},m(e,t){vt(e,n,t)},p(e,t){256&t[0]&&i!==(i=e[34].walletId)&&V(n,"bonuswalletid",i),256&t[0]&&o!==(o=e[34].granted)&&V(n,"bonusdate",o),256&t[0]&&r!==(r=e[34].status)&&V(n,"bonusstatus",r),256&t[0]&&s!==(s=e[34].name)&&V(n,"bonusname",s),256&t[0]&&a!==(a=e[34].type)&&V(n,"bonustype",a),256&t[0]&&l!==(l=e[34].grantedAmount)&&V(n,"bonusamount",l),256&t[0]&&c!==(c=e[34].totalWR)&&V(n,"bonuswageringamount",c),256&t[0]&&d!==(d=e[34].currentAmount)&&V(n,"bonusremainingamount",d),256&t[0]&&u!==(u=e[34].currency)&&V(n,"bonuscurrency",u)},d(e){e&&wt(n)}}}function Ph(e){let n,i,o,r,s,a,l;return{c(){n=Ct("player-bonus-card"),V(n,"bonuswalletid",i=e[34].walletId),V(n,"bonusdate",o=e[34].granted),V(n,"bonusstatus",r=e[34].status),V(n,"bonusname",s=e[34].name),V(n,"bonustype",a=e[34].type),V(n,"bonuscurrency",l=e[34].currency)},m(e,t){vt(e,n,t)},p(e,t){256&t[0]&&i!==(i=e[34].walletId)&&V(n,"bonuswalletid",i),256&t[0]&&o!==(o=e[34].granted)&&V(n,"bonusdate",o),256&t[0]&&r!==(r=e[34].status)&&V(n,"bonusstatus",r),256&t[0]&&s!==(s=e[34].name)&&V(n,"bonusname",s),256&t[0]&&a!==(a=e[34].type)&&V(n,"bonustype",a),256&t[0]&&l!==(l=e[34].currency)&&V(n,"bonuscurrency",l)},d(e){e&&wt(n)}}}function Ah(e){let n;function i(e){return"freeRound"===e[34].type?Ph:Ch}let o=i(e),r=o(e);return{c(){r.c(),n=k()},m(e,t){r.m(e,t),vt(e,n,t)},p(e,t){o===(o=i(e))&&r?r.p(e,t):(r.d(1),r=o(e),r&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&wt(n)}}}function Th(n){let o,r,i,e,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w=Array(n[6]),x=[];for(let e=0;e<w.length;e+=1)x[e]=Sh(_h(n,w,e));return{c(){o=Ct("div"),r=Ct("span"),i=Pt("|<"),s=At(),a=Ct("span"),l=Pt("<"),d=At();for(let e=0;e<x.length;e+=1)x[e].c();u=At(),h=Ct("span"),p=Pt(">"),f=At(),g=Ct("span"),y=Pt(">|"),St(r,"class",e="BonusesFirst "+(0===n[7]?"Inactive":"")),St(a,"class",c="BonusesPrev "+(0===n[7]?"Inactive":"")),St(h,"class",m="BonusesNext "+(n[7]===n[6]-1?"Inactive":"")),St(g,"class",_="BonusesLast "+(n[7]===n[6]-1?"Inactive":"")),St(o,"class","BonusesPaginationWrapper "+(n[10]?"BonusesPaginationWrapperMobile":""))},m(e,t){vt(e,o,t),bt(o,r),bt(r,i),bt(o,s),bt(o,a),bt(a,l),bt(o,d);for(let e=0;e<x.length;e+=1)x[e].m(o,null);bt(o,u),bt(o,h),bt(h,p),bt(o,f),bt(o,g),bt(g,y),b||(v=[Tt(r,"click",n[22]),Tt(a,"click",n[23]),Tt(h,"click",n[25]),Tt(g,"click",n[26])],b=!0)},p(t,n){if(128&n[0]&&e!==(e="BonusesFirst "+(0===t[7]?"Inactive":""))&&St(r,"class",e),128&n[0]&&c!==(c="BonusesPrev "+(0===t[7]?"Inactive":""))&&St(a,"class",c),8384&n[0]){let e;for(w=Array(t[6]),e=0;e<w.length;e+=1){var i=_h(t,w,e);x[e]?x[e].p(i,n):(x[e]=Sh(i),x[e].c(),x[e].m(o,u))}for(;e<x.length;e+=1)x[e].d(1);x.length=w.length}192&n[0]&&m!==(m="BonusesNext "+(t[7]===t[6]-1?"Inactive":""))&&St(h,"class",m),192&n[0]&&_!==(_="BonusesLast "+(t[7]===t[6]-1?"Inactive":""))&&St(g,"class",_)},d(e){e&&wt(o),xt(x,e),b=!1,_t(v)}}}function Sh(n){let i,o,r,s,a,e=n[33]+1+"";function l(){return n[24](n[33])}return{c(){i=Ct("span"),o=Pt(e),St(i,"class",r="BonusesPage "+(n[33]===n[7]?"BonusPageActive":""))},m(e,t){vt(e,i,t),bt(i,o),s||(a=Tt(i,"click",l),s=!0)},p(e,t){n=e,128&t[0]&&r!==(r="BonusesPage "+(n[33]===n[7]?"BonusPageActive":""))&&St(i,"class",r)},d(e){e&&wt(i),s=!1,a()}}}function Eh(n){let i,o,r,s,a,l,c,d,u,h,p,m,f=!n[10]&&function(n){let i,o,r;return{c(){i=Ct("span"),St(i,"class","ModalClose")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[15]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(n);return{c(){i=Ct("div"),o=Ct("div"),f&&f.c(),r=At(),s=Ct("div"),a=Ct("p"),a.textContent="Are you sure want to forfeit bonus?",l=At(),c=Ct("div"),d=Ct("button"),d.textContent="Cancel",u=At(),h=Ct("button"),h.textContent="Confirm",St(a,"class","ModalText"),St(d,"class","ModalCancel"),St(h,"class","ModalConfirm"),St(c,"class","ModalButtons"),St(s,"class","ModalBody"),St(o,"class","ModalContent"),St(i,"class","ModalWrapper "+(n[10]?"ModalWrapperMobile":""))},m(e,t){vt(e,i,t),bt(i,o),f&&f.m(o,null),bt(o,r),bt(o,s),bt(s,a),bt(s,l),bt(s,c),bt(c,d),bt(c,u),bt(c,h),p||(m=[Tt(d,"click",n[15]),Tt(h,"click",n[16])],p=!0)},p(e,t){e[10]||f.p(e,t)},d(e){e&&wt(i),f&&f.d(),p=!1,_t(m)}}}function Mh(e){let n,i=function(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w,x,C,P=n[10]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="ActiveBonusesTitleMobile">Active Bonuses</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[20]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(n),A=n[1]&&vh();function T(e){return 0===e[8].length?xh:wh}let S=T(n),E=S(n),M=0!==n[8].length&&Th(n),D=n[9]&&Eh(n);return{c(){i=Ct("div"),P&&P.c(),o=At(),r=Ct("h2"),s=Pt("Active Bonuses"),a=At(),l=Ct("div"),c=Ct("label"),c.textContent="Do you have a bonus code?",d=At(),u=Ct("div"),h=Ct("input"),p=At(),m=Ct("button"),f=Pt("Get Bonus"),g=At(),A&&A.c(),y=At(),_=Ct("div"),E.c(),b=At(),M&&M.c(),v=At(),D&&D.c(),w=k(),St(r,"class","ActiveBonusesTitle "+(n[10]?"ActiveBonusesTitleNone":"")),St(c,"for","BonusCode"),St(h,"class","BonusCodeInput "+(n[10]?"BonusCodeInputMobile":"")),St(h,"type","text"),St(h,"id","BonusCode"),St(m,"class","SubmitBonusCode "+(n[10]?"SubmitBonusCodeMobile":"")),m.disabled=n[0],St(u,"class","BonusCodeWrapper "+(n[10]?"BonusCodeWrapperMobile":"")),St(l,"class","BonusCodeContainer "+(n[10]?"BonusCodeContainerMobile":"")),St(_,"class","ActiveBonusesGrid "+(n[10]?"ActiveBonusesGridMobile":"")),St(i,"class","ActiveBonusesWrapper "+(n[10]?"ActiveBonusesWrapperMobile":""))},m(e,t){vt(e,i,t),P&&P.m(i,null),bt(i,o),bt(i,r),bt(r,s),bt(i,a),bt(i,l),bt(l,c),bt(l,d),bt(l,u),bt(u,h),Et(h,n[2]),bt(u,p),bt(u,m),bt(m,f),bt(l,g),A&&A.m(l,null),bt(i,y),bt(i,_),E.m(_,null),bt(i,b),M&&M.m(i,null),vt(e,v,t),D&&D.m(e,t),vt(e,w,t),x||(C=[Tt(h,"input",n[21]),Tt(h,"keyup",n[12]),Tt(m,"click",n[14])],x=!0)},p(e,t){e[10]&&P.p(e,t),4&t[0]&&h.value!==e[2]&&Et(h,e[2]),1&t[0]&&(m.disabled=e[0]),e[1]?A||(A=vh(),A.c(),A.m(l,null)):A&&(A.d(1),A=null),S===(S=T(e))&&E?E.p(e,t):(E.d(1),E=S(e),E&&(E.c(),E.m(_,null))),0!==e[8].length?M?M.p(e,t):(M=Th(e),M.c(),M.m(i,null)):M&&(M.d(1),M=null),e[9]?D?D.p(e,t):(D=Eh(e),D.c(),D.m(w.parentNode,w)):D&&(D.d(1),D=null)},d(e){e&&wt(i),P&&P.d(),A&&A.d(),E.d(),M&&M.d(),e&&wt(v),D&&D.d(e),e&&wt(w),x=!1,_t(C)}}}(e);return{c(){i.c(),n=k(),this.c=yt},m(e,t){i.m(e,t),vt(e,n,t)},p(e,t){i.p(e,t)},i:yt,o:yt,d(e){i.d(e),e&&wt(n)}}}function Dh(e,t,i){let{endpoint:o=""}=t,{session:r=""}=t,{playerid:s=""}=t,n=window.navigator.userAgent,a="PC"!==ki(n),l,c="",d=0,u=0,h=0,p=0,m=0,f=[],g="",y=!1;const _=e=>{e.data&&"DeleteActiveBonus"===e.data.type&&(g=e.data.bonuswalletid,i(9,y=!0))},b=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},v=t=>{let e={method:"GET",headers:{"X-SessionId":r,playerId:s}},n=new URL(`${o}/player/${s}/bonusWallet`);n.searchParams.append("filter","status=active,type=standard,type=cashback,type=freeround,type=freebet,type=wagering"),n.searchParams.append("pagination",`offset=${t},limit=6`),fetch(n,e).then(e=>e.json()).then(e=>{i(6,p=Math.ceil(e.total/6)),0<=t-6&&i(3,d=t-6),t+6<e.total&&i(4,u=t+6),i(5,h=6*(p-1)),i(7,m=t/6),i(8,f=e.items)},e=>{console.error(e)})};return Z(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)})),e.$$set=e=>{"endpoint"in e&&i(17,o=e.endpoint),"session"in e&&i(18,r=e.session),"playerid"in e&&i(19,s=e.playerid)},[!0,!(e.$$.update=()=>{917504&e.$$.dirty[0]&&r&&s&&o&&v(0)}),c,d,u,h,p,m,f,y,a,b,()=>{i(0,l=!c)},v,()=>{let e=new URL(`${o}/player/${s}/claimbonus`),t={method:"POST",headers:{"X-SessionId":r,accept:"application/json"}};e.searchParams.append("currency","EUR"),e.searchParams.append("bonusCode",c),fetch(e.href,t).then(e=>{200==e.status?v(0):i(1,!0)})},()=>{i(9,y=!1)},()=>{let e={method:"DELETE",headers:{"X-SessionId":r,playerId:s}},t=new URL(`${o}/player/${s}/bonusWallet`);t.searchParams.append("bonusWalletID",g),fetch(t,e).then(e=>{200==e.status&&(v(0),i(9,y=!1))})},o,r,s,()=>b(),function(){c=this.value,i(2,c)},()=>v(0),()=>v(d),e=>v(6*e),()=>v(u),()=>v(h)]}function kh(e,t,n){const i=e.slice();return i[31]=t[n],i[33]=n,i}function Ih(e,t,n){const i=e.slice();return i[34]=t[n],i}function Lh(t){let o,r=t[9],s=[];for(let e=0;e<r.length;e+=1)s[e]=Rh(Ih(t,r,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();o=k()},m(t,n){for(let e=0;e<s.length;e+=1)s[e].m(t,n);vt(t,o,n)},p(t,n){if(512&n[0]){let e;for(r=t[9],e=0;e<r.length;e+=1){var i=Ih(t,r,e);s[e]?s[e].p(i,n):(s[e]=Rh(i),s[e].c(),s[e].m(o.parentNode,o))}for(;e<s.length;e+=1)s[e].d(1);s.length=r.length}},d(e){xt(s,e),e&&wt(o)}}}function Oh(e){let n;return{c(){n=Ct("p"),n.textContent="You have no bonuses at the moment."},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Nh(e){let n,i,o,r,s,a,l,c,d,u;return{c(){n=Ct("player-bonus-card"),V(n,"bonuswalletid",i=e[34].walletId),V(n,"bonusdate",o=e[34].granted),V(n,"bonusstatus",r=e[34].status),V(n,"bonusname",s=e[34].name),V(n,"bonustype",a=e[34].type),V(n,"bonusamount",l=e[34].grantedAmount),V(n,"bonuswageringamount",c=e[34].totalWR),V(n,"bonusremainingamount",d=e[34].currentAmount),V(n,"bonuscurrency",u=e[34].currency)},m(e,t){vt(e,n,t)},p(e,t){512&t[0]&&i!==(i=e[34].walletId)&&V(n,"bonuswalletid",i),512&t[0]&&o!==(o=e[34].granted)&&V(n,"bonusdate",o),512&t[0]&&r!==(r=e[34].status)&&V(n,"bonusstatus",r),512&t[0]&&s!==(s=e[34].name)&&V(n,"bonusname",s),512&t[0]&&a!==(a=e[34].type)&&V(n,"bonustype",a),512&t[0]&&l!==(l=e[34].grantedAmount)&&V(n,"bonusamount",l),512&t[0]&&c!==(c=e[34].totalWR)&&V(n,"bonuswageringamount",c),512&t[0]&&d!==(d=e[34].currentAmount)&&V(n,"bonusremainingamount",d),512&t[0]&&u!==(u=e[34].currency)&&V(n,"bonuscurrency",u)},d(e){e&&wt(n)}}}function Bh(e){let n,i,o,r,s,a,l;return{c(){n=Ct("player-bonus-card"),V(n,"bonuswalletid",i=e[34].walletId),V(n,"bonusdate",o=e[34].granted),V(n,"bonusstatus",r=e[34].status),V(n,"bonusname",s=e[34].name),V(n,"bonustype",a=e[34].type),V(n,"bonuscurrency",l=e[34].currency)},m(e,t){vt(e,n,t)},p(e,t){512&t[0]&&i!==(i=e[34].walletId)&&V(n,"bonuswalletid",i),512&t[0]&&o!==(o=e[34].granted)&&V(n,"bonusdate",o),512&t[0]&&r!==(r=e[34].status)&&V(n,"bonusstatus",r),512&t[0]&&s!==(s=e[34].name)&&V(n,"bonusname",s),512&t[0]&&a!==(a=e[34].type)&&V(n,"bonustype",a),512&t[0]&&l!==(l=e[34].currency)&&V(n,"bonuscurrency",l)},d(e){e&&wt(n)}}}function Rh(e){let n;function i(e){return"freeRound"===e[34].type?Bh:Nh}let o=i(e),r=o(e);return{c(){r.c(),n=k()},m(e,t){r.m(e,t),vt(e,n,t)},p(e,t){o===(o=i(e))&&r?r.p(e,t):(r.d(1),r=o(e),r&&(r.c(),r.m(n.parentNode,n)))},d(e){r.d(e),e&&wt(n)}}}function Fh(n){let o,r,i,e,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w=Array(n[7]),x=[];for(let e=0;e<w.length;e+=1)x[e]=$h(kh(n,w,e));return{c(){o=Ct("div"),r=Ct("span"),i=Pt("|<"),s=At(),a=Ct("span"),l=Pt("<"),d=At();for(let e=0;e<x.length;e+=1)x[e].c();u=At(),h=Ct("span"),p=Pt(">"),f=At(),g=Ct("span"),y=Pt(">|"),St(r,"class",e="BonusesFirst "+(0===n[8]?"Inactive":"")),St(a,"class",c="BonusesPrev "+(0===n[8]?"Inactive":"")),St(h,"class",m="BonusesNext "+(n[8]===n[7]-1?"Inactive":"")),St(g,"class",_="BonusesLast "+(n[8]===n[7]-1?"Inactive":"")),St(o,"class","BonusesPaginationWrapper "+(n[10]?"BonusesPaginationWrapperMobile":""))},m(e,t){vt(e,o,t),bt(o,r),bt(r,i),bt(o,s),bt(o,a),bt(a,l),bt(o,d);for(let e=0;e<x.length;e+=1)x[e].m(o,null);bt(o,u),bt(o,h),bt(h,p),bt(o,f),bt(o,g),bt(g,y),b||(v=[Tt(r,"click",n[20]),Tt(a,"click",n[21]),Tt(h,"click",n[23]),Tt(g,"click",n[24])],b=!0)},p(t,n){if(256&n[0]&&e!==(e="BonusesFirst "+(0===t[8]?"Inactive":""))&&St(r,"class",e),256&n[0]&&c!==(c="BonusesPrev "+(0===t[8]?"Inactive":""))&&St(a,"class",c),4480&n[0]){let e;for(w=Array(t[7]),e=0;e<w.length;e+=1){var i=kh(t,w,e);x[e]?x[e].p(i,n):(x[e]=$h(i),x[e].c(),x[e].m(o,u))}for(;e<x.length;e+=1)x[e].d(1);x.length=w.length}384&n[0]&&m!==(m="BonusesNext "+(t[8]===t[7]-1?"Inactive":""))&&St(h,"class",m),384&n[0]&&_!==(_="BonusesLast "+(t[8]===t[7]-1?"Inactive":""))&&St(g,"class",_)},d(e){e&&wt(o),xt(x,e),b=!1,_t(v)}}}function $h(n){let i,o,r,s,a,e=n[33]+1+"";function l(){return n[22](n[33])}return{c(){i=Ct("span"),o=Pt(e),St(i,"class",r="BonusesPage "+(n[33]===n[8]?"BonusPageActive":""))},m(e,t){vt(e,i,t),bt(i,o),s||(a=Tt(i,"click",l),s=!0)},p(e,t){n=e,256&t[0]&&r!==(r="BonusesPage "+(n[33]===n[8]?"BonusPageActive":""))&&St(i,"class",r)},d(e){e&&wt(i),s=!1,a()}}}function zh(e){let n,i=function(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w,x,C,P,A,T,S=n[10]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="BonusesTitleMobile">Bonus History</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[16]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(n);function E(e){return 0===e[9].length?Oh:Lh}let M=E(n),D=M(n),k=0!==n[9].length&&Fh(n);return{c(){i=Ct("div"),S&&S.c(),o=At(),r=Ct("h2"),s=Pt("Bonus History"),a=At(),l=Ct("div"),c=Ct("div"),d=Ct("div"),u=Ct("label"),u.textContent="From:",h=At(),p=Ct("vaadin-date-picker"),m=At(),f=Ct("div"),g=Ct("label"),g.textContent="To:",y=At(),_=Ct("vaadin-date-picker"),b=At(),v=Ct("button"),w=Pt("Filter"),x=At(),C=Ct("div"),D.c(),P=At(),k&&k.c(),St(r,"class","BonusesTitle "+(n[10]?"BonusesTitleNone":"")),St(u,"for","BonusCalendarStartDate"),V(p,"max",n[2]),V(p,"value",n[3]),V(p,"placeholder","From"),V(p,"class","VaadinDatePicker"),St(d,"class","BonusesCalendarStartDate "+(n[10]?"BonusesCalendarMobile":"")),St(g,"for","BonusesCalendarEndDate"),V(_,"max",n[2]),V(_,"value",n[2]),V(_,"placeholder","To"),V(_,"class","VaadinDatePicker"),St(f,"class","BonusesCalendarEndDate "+(n[10]?"BonusesCalendarMobile":"")),St(c,"class","BonusesCalendarContainer "+(n[10]?"BonusesCalendarContainerMobile":"")),St(v,"class","BonusesCalendarFilter "+(n[10]?"BonusesCalendarFilterMobile":"")),St(l,"class","BonusCalendarWrapper "+(n[10]?"BonusCalendarWrapperMobile":"")),St(C,"class","BonusesGrid "+(n[10]?"BonusesGridMobile":"")),St(i,"class","BonusesWrapper "+(n[10]?"BonusesWrapperMobile":""))},m(e,t){vt(e,i,t),S&&S.m(i,null),bt(i,o),bt(i,r),bt(r,s),bt(i,a),bt(i,l),bt(l,c),bt(c,d),bt(d,u),bt(d,h),bt(d,p),n[17](p),bt(c,m),bt(c,f),bt(f,g),bt(f,y),bt(f,_),n[18](_),bt(l,b),bt(l,v),bt(v,w),bt(i,x),bt(i,C),D.m(C,null),bt(i,P),k&&k.m(i,null),A||(T=Tt(v,"click",n[19]),A=!0)},p(e,t){e[10]&&S.p(e,t),4&t[0]&&V(p,"max",e[2]),8&t[0]&&V(p,"value",e[3]),4&t[0]&&V(_,"max",e[2]),4&t[0]&&V(_,"value",e[2]),M===(M=E(e))&&D?D.p(e,t):(D.d(1),D=M(e),D&&(D.c(),D.m(C,null))),0!==e[9].length?k?k.p(e,t):(k=Fh(e),k.c(),k.m(i,null)):k&&(k.d(1),k=null)},d(e){e&&wt(i),S&&S.d(),n[17](null),n[18](null),D.d(),k&&k.d(),A=!1,T()}}}(e);return{c(){i.c(),n=k(),this.c=yt},m(e,t){i.m(e,t),vt(e,n,t)},p(e,t){i.p(e,t)},i:yt,o:yt,d(e){i.d(e),e&&wt(n)}}}function Wh(e,t,o){let n,i,r,s,{endpoint:a=""}=t,{session:l=""}=t,{playerid:c=""}=t,d=window.navigator.userAgent,u="PC"!==ki(d);r=Io(new Date).format("YYYY-MM-DD");let h=s=Io(new Date).subtract(3,"months").format("YYYY-MM-DD"),p=r,m=0,f=0,g=0,y=0,_=0,b=[];const v=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},w=t=>{let e=new URL(`${a}/player/${c}/bonusWallet`),n=`status=closed,status=forfeited,status=released,status=expired,type=standard,type=cashback,type=freeround,type=freebet,type=wagering,granted=[${new Date(h).toISOString()}~${new Date(p).toISOString()}]`;e.searchParams.append("filter",n),e.searchParams.append("pagination",`offset=${t},limit=6`);var i={method:"GET",headers:{"X-SessionId":l,playerId:c}};fetch(e.href,i).then(e=>e.json()).then(e=>{o(7,y=Math.ceil(e.total/6)),0<=t-6&&o(4,m=t-6),t+6<e.total&&o(5,f=t+6),o(6,g=6*(y-1)),o(8,_=t/6),o(9,b=e.items)},e=>{console.error(e)})},x=e=>{h=e.target.value},C=e=>{p=e.target.value};return Z(()=>()=>{n.removeEventListener("change",x),i.removeEventListener("change",C)}),e.$$set=e=>{"endpoint"in e&&o(13,a=e.endpoint),"session"in e&&o(14,l=e.session),"playerid"in e&&o(15,c=e.playerid)},e.$$.update=()=>{3&e.$$.dirty[0]&&n&&i&&(n.addEventListener("change",x,!1),i.addEventListener("change",C,!1)),57344&e.$$.dirty[0]&&l&&c&&a&&w(0)},[n,i,r,s,m,f,g,y,_,b,u,v,w,a,l,c,()=>v(),function(e){J[e?"unshift":"push"](()=>{n=e,o(0,n)})},function(e){J[e?"unshift":"push"](()=>{i=e,o(1,i)})},()=>w(0),()=>w(0),()=>w(m),e=>w(6*e),()=>w(f),()=>w(g)]}function Yh(e){let n,i,o;return{c(){n=Ct("div"),i=Ct("iframe"),i.src!==(o=e[1])&&St(i,"src",o),St(i,"title","Deposit Iframe"),St(n,"class","DepositIframeWrapper")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){2&t&&i.src!==(o=e[1])&&St(i,"src",o)},d(e){e&&wt(n)}}}function Hh(e){let n;return{c(){n=Ct("p"),n.textContent="Loading, please wait ..."},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Uh(e){let n,i,o,r,s,a=e[2]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="DepositTitleMobile">Deposit</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[7]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(e);function l(e){return e[0]?Hh:Yh}let c=l(e),d=c(e);return{c(){n=Ct("div"),a&&a.c(),i=At(),o=Ct("h2"),r=Pt("Deposit"),s=At(),d.c(),this.c=yt,St(o,"class","DepositTitle "+(e[2]?"DepositTitleNone":"")),St(n,"class","DepositWrapper "+(e[2]?"DepositWrapperMobile":""))},m(e,t){vt(e,n,t),a&&a.m(n,null),bt(n,i),bt(n,o),bt(o,r),bt(n,s),d.m(n,null)},p(e,[t]){e[2]&&a.p(e,t),c===(c=l(e))&&d?d.p(e,t):(d.d(1),d=c(e),d&&(d.c(),d.m(n,null)))},i:yt,o:yt,d(e){e&&wt(n),a&&a.d(),d.d()}}}function jh(t,e,n){let{endpoint:i=""}=e,{session:o=""}=e,{playerid:r=""}=e,s=window.navigator.userAgent,a="PC"!==ki(s),l=!0,c="",d="";const u=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},h=e=>{if(e.data)switch("ProfileDetailsData"===e.data.type&&(c=e.data.profileDetails.currency),e.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"GoToDeposit"},window.location.href)}};return Z(()=>(window.addEventListener("message",h,!1),()=>{window.removeEventListener("message",h)})),t.$$set=e=>{"endpoint"in e&&n(4,i=e.endpoint),"session"in e&&n(5,o=e.session),"playerid"in e&&n(6,r=e.playerid)},t.$$.update=()=>{var e;112&t.$$.dirty&&o&&r&&i&&(e=new URL(`${i}/player/${r}/hostedcashier/initializedeposit`),fetch(e,{method:"POST",headers:{playerId:r,"X-SessionId":o,currency:c,amount:0,cashierMode:"Default",IsShortCashier:!1,accept:"application/json"}}).then(e=>e.json()).then(e=>{n(0,l=!1),n(1,d=e.CashierUrl)},e=>{console.error(e)}))},[l,d,a,u,i,o,r,()=>u()]}function Gh(e){let n,i,o;return{c(){n=Ct("div"),i=Ct("iframe"),i.src!==(o=e[1])&&St(i,"src",o),St(i,"title","Withdrawal Iframe"),St(n,"class","WithdrawalIframeWrapper")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){2&t&&i.src!==(o=e[1])&&St(i,"src",o)},d(e){e&&wt(n)}}}function Vh(e){let n;return{c(){n=Ct("p"),n.textContent="Loading, please wait ..."},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function qh(e){let n,i,o,r,s,a=e[2]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="WithdrawalTitleMobile">Withdrawal</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[7]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(e);function l(e){return e[0]?Vh:Gh}let c=l(e),d=c(e);return{c(){n=Ct("div"),a&&a.c(),i=At(),o=Ct("h2"),r=Pt("Withdrawal"),s=At(),d.c(),this.c=yt,St(o,"class","WithdrawalTitle "+(e[2]?"WithdrawalTitleNone":"")),St(n,"class","WithdrawalWrapper "+(e[2]?"WithdrawalWrapperMobile":""))},m(e,t){vt(e,n,t),a&&a.m(n,null),bt(n,i),bt(n,o),bt(o,r),bt(n,s),d.m(n,null)},p(e,[t]){e[2]&&a.p(e,t),c===(c=l(e))&&d?d.p(e,t):(d.d(1),d=c(e),d&&(d.c(),d.m(n,null)))},i:yt,o:yt,d(e){e&&wt(n),a&&a.d(),d.d()}}}function Xh(t,e,n){let{endpoint:i=""}=e,{session:o=""}=e,{playerid:r=""}=e,s=window.navigator.userAgent,a="PC"!==ki(s),l=!0,c="",d="";const u=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},h=e=>{if(e.data)switch("ProfileDetailsData"===e.data.type&&(c=e.data.profileDetails.currency),e.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"GoToDeposit"},window.location.href)}};return Z(()=>(window.addEventListener("message",h,!1),()=>{window.removeEventListener("message",h)})),t.$$set=e=>{"endpoint"in e&&n(4,i=e.endpoint),"session"in e&&n(5,o=e.session),"playerid"in e&&n(6,r=e.playerid)},t.$$.update=()=>{var e;112&t.$$.dirty&&o&&r&&i&&(e=new URL(`${i}/player/${r}/hostedcashier/initializewithdraw`),fetch(e,{method:"POST",headers:{playerId:r,"X-SessionId":o,currency:c,amount:0,cashierMode:"Default",IsShortCashier:!1,accept:"application/json"}}).then(e=>e.json()).then(e=>{n(0,l=!1),n(1,d=e.CashierUrl)},e=>{console.error(e)}))},[l,d,a,u,i,o,r,()=>u()]}function Zh(e){let n,i,o;return{c(){n=Ct("div"),i=Ct("iframe"),i.src!==(o=e[1])&&St(i,"src",o),St(i,"title","Pending Withdrawals Iframe"),St(n,"class","PendingWithdrawalsIframeWrapper")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){2&t&&i.src!==(o=e[1])&&St(i,"src",o)},d(e){e&&wt(n)}}}function Jh(e){let n;return{c(){n=Ct("p"),n.textContent="Loading, please wait ..."},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Kh(e){let n,i,o,r,s,a=e[2]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="PendingWithdrawalsTitleMobile">Pending Withdrawals</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[7]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(e);function l(e){return e[0]?Jh:Zh}let c=l(e),d=c(e);return{c(){n=Ct("div"),a&&a.c(),i=At(),o=Ct("h2"),r=Pt("Pending Withdrawals"),s=At(),d.c(),this.c=yt,St(o,"class","PendingWithdrawalsTitle "+(e[2]?"PendingWithdrawalsTitleNone":"")),St(n,"class","PendingWithdrawalsWrapper "+(e[2]?"PendingWithdrawalsWrapperMobile":""))},m(e,t){vt(e,n,t),a&&a.m(n,null),bt(n,i),bt(n,o),bt(o,r),bt(n,s),d.m(n,null)},p(e,[t]){e[2]&&a.p(e,t),c===(c=l(e))&&d?d.p(e,t):(d.d(1),d=c(e),d&&(d.c(),d.m(n,null)))},i:yt,o:yt,d(e){e&&wt(n),a&&a.d(),d.d()}}}function Qh(t,e,n){let{endpoint:i=""}=e,{session:o=""}=e,{playerid:r=""}=e,s=window.navigator.userAgent,a="PC"!==ki(s),l=!0,c="";const d=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)};return t.$$set=e=>{"endpoint"in e&&n(4,i=e.endpoint),"session"in e&&n(5,o=e.session),"playerid"in e&&n(6,r=e.playerid)},t.$$.update=()=>{var e;112&t.$$.dirty&&o&&r&&i&&(e=new URL(`${i}/player/${r}/hostedcashier/pendingwithdrawals`),fetch(e,{method:"GET",headers:{playerId:r,"X-SessionId":o,accept:"application/json"}}).then(e=>e.json()).then(e=>{n(0,l=!1),n(1,c=e.CashierUrl)},e=>{console.error(e)}))},[l,c,a,d,i,o,r,()=>d()]}function ep(e){let n,i,o;return{c(){n=Ct("div"),i=Ct("iframe"),i.src!==(o=e[1])&&St(i,"src",o),St(i,"title","Transaction History Iframe"),St(n,"class","TransactionHistoryIframeWrapper")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){2&t&&i.src!==(o=e[1])&&St(i,"src",o)},d(e){e&&wt(n)}}}function tp(e){let n;return{c(){n=Ct("p"),n.textContent="Loading, please wait ..."},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function np(e){let n,i,o,r,s,a=e[2]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="TransactionHistoryTitleMobile">Transaction History</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[7]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(e);function l(e){return e[0]?tp:ep}let c=l(e),d=c(e);return{c(){n=Ct("div"),a&&a.c(),i=At(),o=Ct("h2"),r=Pt("Transaction History"),s=At(),d.c(),this.c=yt,St(o,"class","TransactionHistoryTitle "+(e[2]?"TransactionHistoryTitleNone":"")),St(n,"class","TransactionHistoryWrapper "+(e[2]?"TransactionHistoryWrapperMobile":""))},m(e,t){vt(e,n,t),a&&a.m(n,null),bt(n,i),bt(n,o),bt(o,r),bt(n,s),d.m(n,null)},p(e,[t]){e[2]&&a.p(e,t),c===(c=l(e))&&d?d.p(e,t):(d.d(1),d=c(e),d&&(d.c(),d.m(n,null)))},i:yt,o:yt,d(e){e&&wt(n),a&&a.d(),d.d()}}}function ip(t,e,n){let{endpoint:i=""}=e,{session:o=""}=e,{playerid:r=""}=e,s=window.navigator.userAgent,a="PC"!==ki(s),l=!0,c="";const d=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)};return t.$$set=e=>{"endpoint"in e&&n(4,i=e.endpoint),"session"in e&&n(5,o=e.session),"playerid"in e&&n(6,r=e.playerid)},t.$$.update=()=>{var e;112&t.$$.dirty&&o&&r&&i&&(e=new URL(`${i}/player/${r}/hostedcashier/customertransactionhistoryurl`),fetch(e,{method:"GET",headers:{playerId:r,"X-SessionId":o,accept:"application/json"}}).then(e=>e.json()).then(e=>{n(0,l=!1),n(1,c=e.CashierUrl)},e=>{console.error(e)}))},[l,c,a,d,i,o,r,()=>d()]}customElements.get("player-account-gaming-limits-confirmation-modal")||customElements.define("player-account-gaming-limits-confirmation-modal",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:relative;background:#fff;border-radius:5px;border-top:5px solid #FD2839;margin:0 20px}.GamingLimitsConfirmationContainer{background:#F9F8F8;color:#000;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:#58586B;border:1px solid #58586B;background-color:transparent;text-transform:uppercase;cursor:pointer}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:#D0046C;color:#fff;border:1px solid #D0046C}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;color:#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>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},ru,ou,n,{modaltext:0,modalsource:6}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["modaltext","modalsource"]}get modaltext(){return this.$$.ctx[0]}set modaltext(e){this.$set({modaltext:e}),T()}get modalsource(){return this.$$.ctx[6]}set modalsource(e){this.$set({modalsource:e}),T()}}),customElements.get("player-account-gaming-limits-group-edit")||customElements.define("player-account-gaming-limits-group-edit",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px;cursor:pointer}.MenuReturnButton svg{fill:#D0046C}.MyAccountCategoryTitle{font-size:26px;color:#D0046C;font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:#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:#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 #D0046C;align-items:center;justify-content:center;border-radius:30px;cursor:pointer}.AccountEditLimitChangePeriodIcon{display:flex;width:20px;height:20px;color:#5E5E30;background:transparent;border:1px solid #5E5E30;align-items:center;justify-content:center;border-radius:30px;cursor:pointer;margin-right:10px}.AccountEditLimitSuccessfulChangeContainer{background:#F2F9F2;border:1px solid #C5DFC5;font-size:16px;font-weight:300;color:#07072A;border-radius:5px;padding:10px}.AccountEditLimitSuccessfulChangeContainer p{margin:0}.AccountEditLimitsIconWrapper{position:relative}.AccountEditLimitsTitle{font-size:16px;font-weight:300;color:#07072A;margin:0;padding:10px 0 10px}.AccountEditLimitsExpiryDate{font-size:12px;font-weight:300;color:#000}.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:#07072A;padding:10px;line-height:16px;background:#FFF;border:1px solid #D1D1D1;border-radius:5px;outline:none;transition-duration:0.3s}.AccountEditField:focus,.AccountEditField :focus-within,.AccountEditField :focus-visible,.AccountEditField :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.AccountEditLimitsPeriodChangeContainer{background:#FFFFF8;border-radius:5px}.AccountEditLimitsPeriodChangeContainer p{max-width:290px;display:-webkit-box;padding:10px 35px 15px 10px;color:#5E5E30;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:#000;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:#D0046C;border:1px solid #D0046C;color:#fff}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton.AccountEditLimitsButtonDisabled{background:#D0046C;cursor:not-allowed;opacity:0.6}.AccountEditLimitsBox{position:relative}.AccountEditWarningText{position:relative;margin:0}.InvalidInput{color:#D0046C;font-size:10px;position:absolute;top:6px;margin:0;line-height:10px}.AccountEditLimitsInputContainer{position:relative}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Fu,Ru,n,{limitsdata:0,showsuccessnotification:1,showdeletenotification:2,limitname:3,playercurrency:4},[-1,-1]),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["limitsdata","showsuccessnotification","showdeletenotification","limitname","playercurrency"]}get limitsdata(){return this.$$.ctx[0]}set limitsdata(e){this.$set({limitsdata:e}),T()}get showsuccessnotification(){return this.$$.ctx[1]}set showsuccessnotification(e){this.$set({showsuccessnotification:e}),T()}get showdeletenotification(){return this.$$.ctx[2]}set showdeletenotification(e){this.$set({showdeletenotification:e}),T()}get limitname(){return this.$$.ctx[3]}set limitname(e){this.$set({limitname:e}),T()}get playercurrency(){return this.$$.ctx[4]}set playercurrency(e){this.$set({playercurrency:e}),T()}}),customElements.get("player-account-gaming-limits-info-card")||customElements.define("player-account-gaming-limits-info-card",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.InfoCard{padding:20px;color:#000;background:#fff;box-shadow:0px 3px 12px #00000012;border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid #D0046C;align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:#58586B;font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:#FD2839;border:2px solid #FD2839}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:\"\\274c\";font-size:8px;color:#FFF;line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:#F9F8F8}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:#000;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:#D0046C;border:1px solid #D0046C;color:#fff;margin-right:10px}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid #000}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid #D0046C;align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:#5E5E30;border:1px solid #5E5E30}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},ah,sh,n,{limitsdata:0,limitname:1,playercurrency:2},[-1,-1]),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["limitsdata","limitname","playercurrency"]}get limitsdata(){return this.$$.ctx[0]}set limitsdata(e){this.$set({limitsdata:e}),T()}get limitname(){return this.$$.ctx[1]}set limitname(e){this.$set({limitname:e}),T()}get playercurrency(){return this.$$.ctx[2]}set playercurrency(e){this.$set({playercurrency:e}),T()}}),customElements.get("player-account-gaming-limits")||customElements.define("player-account-gaming-limits",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerAccountGamingLimitsWrapper{color:#D0046C;padding:50px;max-width:760px}.PlayerGamingLimitsTitle{font-size:26px;color:#D0046C;font-weight:400}.PlayerGamingLimitsTitleMobile{font-size:16px;color:#D0046C}.PlayerGamingLimitsTitleNone{display:none}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:#D0046C}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:#fff;max-width:unset}.PlayerAccountTabletGamingLimitsWrapper{padding:40px 25% 40px 25%}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},uh,dh,n,{depositlimit:0,wageringlimit:1,losslimit:2,timelimit:3,showdeletenotification:4,showsuccessnotification:5}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["depositlimit","wageringlimit","losslimit","timelimit","showdeletenotification","showsuccessnotification"]}get depositlimit(){return this.$$.ctx[0]}set depositlimit(e){this.$set({depositlimit:e}),T()}get wageringlimit(){return this.$$.ctx[1]}set wageringlimit(e){this.$set({wageringlimit:e}),T()}get losslimit(){return this.$$.ctx[2]}set losslimit(e){this.$set({losslimit:e}),T()}get timelimit(){return this.$$.ctx[3]}set timelimit(e){this.$set({timelimit:e}),T()}get showdeletenotification(){return this.$$.ctx[4]}set showdeletenotification(e){this.$set({showdeletenotification:e}),T()}get showsuccessnotification(){return this.$$.ctx[5]}set showsuccessnotification(e){this.$set({showsuccessnotification:e}),T()}}),customElements.get("player-bonus-card")||customElements.define("player-bonus-card",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.BonusCard{background-color:#fff;padding:10px 20px 20px;border-radius:5px;box-shadow:0 3px 12px #00000012}.BonusCardRow{display:flex;justify-content:space-between;align-items:center;padding:2px 10px;font-size:14px}.BonusCardRow .BonusCardRowTitle{color:#000;font-weight:700}.BonusCardRow .BonusCardRowTitle span{font-weight:400;color:#58586B}.BonusCardRow .BonusCardRowText{color:#58586B}.BonusCardRow .BonusCardRowText.BonusCardStatus{font-weight:700;color:#000}.BonusCardRow .BonusCardRowText.StatusActive{color:#0AA543}.BonusCardRow .BonusCardRowText.StatusExpired{color:#FD2839}.BonusCardRow .BonusCardRowText.StatusForfeited{color:#fd8c2d}.BonusCardRow .BonusCardRowText.TextCapitalize{text-transform:capitalize}.BonusCardRow:nth-child(even){background-color:#F9F8F8;border-radius:5px}.DeleteBonus{background:#D0046C;border:1px solid #D0046C;color:#fff;cursor:pointer;border-radius:5px;width:50%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;margin-top:10px}.DeleteBonus.DeleteBonusMobile{width:100%}.DeleteBonus:active{background:#9e0352}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},yh,gh,n,{bonuswalletid:10,bonusdate:0,bonusstatus:1,bonusname:2,bonustype:11,bonusamount:3,bonuswageringamount:4,bonusremainingamount:5,bonuscurrency:6}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["bonuswalletid","bonusdate","bonusstatus","bonusname","bonustype","bonusamount","bonuswageringamount","bonusremainingamount","bonuscurrency"]}get bonuswalletid(){return this.$$.ctx[10]}set bonuswalletid(e){this.$set({bonuswalletid:e}),T()}get bonusdate(){return this.$$.ctx[0]}set bonusdate(e){this.$set({bonusdate:e}),T()}get bonusstatus(){return this.$$.ctx[1]}set bonusstatus(e){this.$set({bonusstatus:e}),T()}get bonusname(){return this.$$.ctx[2]}set bonusname(e){this.$set({bonusname:e}),T()}get bonustype(){return this.$$.ctx[11]}set bonustype(e){this.$set({bonustype:e}),T()}get bonusamount(){return this.$$.ctx[3]}set bonusamount(e){this.$set({bonusamount:e}),T()}get bonuswageringamount(){return this.$$.ctx[4]}set bonuswageringamount(e){this.$set({bonuswageringamount:e}),T()}get bonusremainingamount(){return this.$$.ctx[5]}set bonusremainingamount(e){this.$set({bonusremainingamount:e}),T()}get bonuscurrency(){return this.$$.ctx[6]}set bonuscurrency(e){this.$set({bonuscurrency:e}),T()}}),customElements.get("player-active-bonuses")||customElements.define("player-active-bonuses",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.ActiveBonusesWrapper{color:#07072A;padding:50px;max-width:850px}.ActiveBonusesWrapper.ActiveBonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:#D0046C}.ActiveBonusesTitle{font-size:26px;color:#D0046C;font-weight:400}.ActiveBonusesTitleMobile{font-size:16px}.ActiveBonusesTitleNone{display:none}.BonusCodeContainer{color:#58586B;display:flex;flex-direction:column;padding-bottom:30px;position:relative;width:70%}.BonusCodeContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.BonusCodeContainer.BonusCodeContainerMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper{display:flex;gap:10px}.BonusCodeContainer .BonusCodeWrapper.BonusCodeWrapperMobile{flex-direction:column}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput{width:70%;height:44px;border:1px solid #D1D1D1;border-radius:5px;padding:5px;font-size:14px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput:focus{outline-color:#D0046C}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:#D0046C;border:1px solid #D0046C;color:#fff;cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode[disabled]{opacity:0.3;cursor:not-allowed}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:#9e0352}.BonusCodeContainer .InvalidBonusCodeMessage{color:#FD2839}.BonusCodeWrapper{display:flex;gap:20px}.SubmitBonusCode{background:#D0046C;border:1px solid #D0046C;color:#fff;cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.SubmitBonusCode[disabled]{opacity:0.3}.SubmitBonusCode:active{background:#9e0352}.ActiveBonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.ActiveBonusesGrid.ActiveBonusesGridMobile{grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center}.ModalWrapper .ModalContent{background-color:#fff;position:relative;padding:80px;border-top:5px solid #FD2839;border-radius:5px}.ModalWrapper .ModalContent .ModalClose{position:absolute;top:15px;right:15px;width:36px;height:36px;cursor:pointer}.ModalWrapper .ModalContent .ModalClose:before,.ModalWrapper .ModalContent .ModalClose:after{content:'';position:absolute;top:16px;left:-2px;width:40px;height:4px;background-color:#FD2839;transform:rotate(45deg)}.ModalWrapper .ModalContent .ModalClose:after{transform:rotate(-45deg)}.ModalWrapper .ModalBody{background-color:#F9F8F8;padding:30px 60px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:26px}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid #58586B;color:#58586B;cursor:pointer;border-radius:5px;width:330px;height:80px;font-size:22px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background:#D0046C;border:1px solid #D0046C;color:#fff}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}.BonusesPaginationWrapper{margin:40px 0}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:#D0046C;font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:#D1D1D1;cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:#58586B;font-size:16px;cursor:pointer;padding:5px 10px}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:#fff;font-weight:700}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Dh,Mh,n,{endpoint:17,session:18,playerid:19},[-1,-1]),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","session","playerid"]}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$set({endpoint:e}),T()}get session(){return this.$$.ctx[18]}set session(e){this.$set({session:e}),T()}get playerid(){return this.$$.ctx[19]}set playerid(e){this.$set({playerid:e}),T()}}),customElements.get("player-bonus-history")||customElements.define("player-bonus-history",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.BonusesWrapper{color:#07072A;padding:50px;max-width:850px}.BonusesWrapper.BonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:#D0046C}.BonusesTitle{font-size:26px;color:#D0046C;font-weight:400}.BonusesTitleMobile{font-size:16px}.BonusesTitleNone{display:none}.BonusCalendarWrapper{display:flex;gap:15px;padding-bottom:30px;align-items:center}.BonusCalendarWrapper.BonusCalendarWrapperMobile{flex-direction:column;gap:10px;padding-bottom:15px}.BonusesCalendarContainer{display:flex;gap:20px}.BonusesCalendarContainer.BonusesCalendarContainerMobile{flex-direction:row;gap:0;justify-content:space-between;padding-bottom:0;width:100%}.BonusesCalendarStartDate,.BonusesCalendarEndDate{color:#58586B;display:flex;position:relative;align-items:center;gap:10px}.BonusesCalendarStartDate.BonusesCalendarMobile,.BonusesCalendarEndDate.BonusesCalendarMobile{flex-direction:column;align-items:flex-start;gap:5px;width:48%}.BonusesCalendarStartDate.BonusesCalendarMobile .VaadinDatePicker,.BonusesCalendarEndDate.BonusesCalendarMobile .VaadinDatePicker{width:100%}.BonusesCalendarStartDate label,.BonusesCalendarEndDate label{font-size:14px;font-weight:300}.BonusesCalendarFilter{background:#D0046C;border:1px solid #D0046C;color:#fff;cursor:pointer;border-radius:5px;width:120px;height:40px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusesCalendarFilter.BonusesCalendarFilterMobile{width:100%;height:44px}.BonusesCalendarFilter:active{background:#9e0352}.BonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.BonusesGrid.BonusesGridMobile{grid-template-columns:1fr;gap:20px}.BonusesPaginationWrapper{margin:40px 0}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:#D0046C;font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:#D1D1D1;cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:#58586B;font-size:16px;cursor:pointer;padding:5px 10px}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:#fff;font-weight:700}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Wh,zh,n,{endpoint:13,session:14,playerid:15},[-1,-1]),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","session","playerid"]}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$set({endpoint:e}),T()}get session(){return this.$$.ctx[14]}set session(e){this.$set({session:e}),T()}get playerid(){return this.$$.ctx[15]}set playerid(e){this.$set({playerid:e}),T()}}),customElements.get("player-deposit")||customElements.define("player-deposit",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.DepositWrapper{color:#07072A;padding:50px 50px 30px 50px;max-width:100%}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:#D0046C}.DepositTitle{font-size:26px;color:#D0046C;font-weight:400}.DepositTitleMobile{font-size:16px}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},jh,Uh,n,{endpoint:4,session:5,playerid:6}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","session","playerid"]}get endpoint(){return this.$$.ctx[4]}set endpoint(e){this.$set({endpoint:e}),T()}get session(){return this.$$.ctx[5]}set session(e){this.$set({session:e}),T()}get playerid(){return this.$$.ctx[6]}set playerid(e){this.$set({playerid:e}),T()}}),customElements.get("player-withdrawal")||customElements.define("player-withdrawal",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.WithdrawalWrapper{color:#07072A;padding:50px 50px 30px 50px;max-width:100%}.WithdrawalWrapper.WithdrawalWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:#D0046C}.WithdrawalTitle{font-size:26px;color:#D0046C;font-weight:400}.WithdrawalTitleMobile{font-size:16px}.WithdrawalTitleNone{display:none}.WithdrawalIframeWrapper iframe{border:none;width:100%;height:85vh}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Xh,qh,n,{endpoint:4,session:5,playerid:6}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","session","playerid"]}get endpoint(){return this.$$.ctx[4]}set endpoint(e){this.$set({endpoint:e}),T()}get session(){return this.$$.ctx[5]}set session(e){this.$set({session:e}),T()}get playerid(){return this.$$.ctx[6]}set playerid(e){this.$set({playerid:e}),T()}}),customElements.get("player-pending-withdrawals")||customElements.define("player-pending-withdrawals",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PendingWithdrawalsWrapper{color:#07072A;padding:50px 50px 30px 50px;max-width:100%}.PendingWithdrawalsWrapper.PendingWithdrawalsWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:#D0046C}.PendingWithdrawalsTitle{font-size:26px;color:#D0046C;font-weight:400}.PendingWithdrawalsTitleMobile{font-size:16px}.PendingWithdrawalsTitleNone{display:none}.PendingWithdrawalsIframeWrapper iframe{border:none;width:100%;height:85vh}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Qh,Kh,n,{endpoint:4,session:5,playerid:6}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","session","playerid"]}get endpoint(){return this.$$.ctx[4]}set endpoint(e){this.$set({endpoint:e}),T()}get session(){return this.$$.ctx[5]}set session(e){this.$set({session:e}),T()}get playerid(){return this.$$.ctx[6]}set playerid(e){this.$set({playerid:e}),T()}}),customElements.get("player-transaction-history")||customElements.define("player-transaction-history",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.TransactionHistoryWrapper{color:#07072A;padding:50px 50px 30px 50px;max-width:100%}.TransactionHistoryWrapper.TransactionHistoryWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:#D0046C}.TransactionHistoryTitle{font-size:26px;color:#D0046C;font-weight:400}.TransactionHistoryTitleMobile{font-size:16px}.TransactionHistoryTitleNone{display:none}.TransactionHistoryIframeWrapper iframe{border:none;width:100%;height:85vh}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},ip,np,n,{endpoint:4,session:5,playerid:6}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","session","playerid"]}get endpoint(){return this.$$.ctx[4]}set endpoint(e){this.$set({endpoint:e}),T()}get session(){return this.$$.ctx[5]}set session(e){this.$set({session:e}),T()}get playerid(){return this.$$.ctx[6]}set playerid(e){this.$set({playerid:e}),T()}});const op={en:{gamingHistory:{title:"Gaming History",return:"Return to menu",previous:"Prev",next:"Next",dateFrom:"From:",dateTo:"To:",dateFilter:"Filter",numberOfResults:"Show:",noRecord:"You haven't played any games so far."}},ro:{gamingHistory:{title:"Gaming History",return:"Return to menu",previous:"Prev",next:"Next",dateFrom:"From:",dateTo:"To:",dateFilter:"Filter",numberOfResults:"Show:",noRecord:"You haven't played any games so far."}}};function rp(e,t,n){const i=e.slice();return i[40]=t[n],i}function sp(e,t,n){const i=e.slice();return i[43]=t[n],i}function ap(e,t,n){const i=e.slice();return i[46]=t[n],i}function lp(n){let i,o,r,s,a,l,c,e=n[11]("gamingHistory.numberOfResults")+"",d=n[12],u=[];for(let e=0;e<d.length;e+=1)u[e]=cp(ap(n,d,e));return{c(){i=Ct("div"),o=Ct("span"),r=Pt(e),s=At(),a=Ct("select");for(let e=0;e<u.length;e+=1)u[e].c();St(a,"class","PlayerGamingHistoryItemCount"),void 0===n[6]&&Dt(()=>n[25].call(a)),St(i,"class","PlayerGamingItemCountContainer")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(i,s),bt(i,a);for(let e=0;e<u.length;e+=1)u[e].m(a,null);Mt(a,n[6]),l||(c=[Tt(a,"change",n[25]),Tt(a,"change",n[26])],l=!0)},p(t,n){if(2048&n[0]&&e!==(e=t[11]("gamingHistory.numberOfResults")+"")&&q(r,e),4096&n[0]){let e;for(d=t[12],e=0;e<d.length;e+=1){const r=ap(t,d,e);u[e]?u[e].p(r,n):(u[e]=cp(r),u[e].c(),u[e].m(a,null))}for(;e<u.length;e+=1)u[e].d(1);u.length=d.length}4160&n[0]&&Mt(a,t[6])},d(e){e&&wt(i),xt(u,e),l=!1,_t(c)}}}function cp(e){let n,i,t=e[46]+"";return{c(){n=Ct("option"),i=Pt(t),n.__value=e[46],n.value=n.__value},m(e,t){vt(e,n,t),bt(n,i)},p:yt,d(e){e&&wt(n)}}}function dp(e){let n,i,o=e[11]("gamingHistory.noRecord")+"";return{c(){n=Ct("p"),i=Pt(o),St(n,"class","PlayerGamingHistoryEmpty")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){2048&t[0]&&o!==(o=e[11]("gamingHistory.noRecord")+"")&&q(i,o)},d(e){e&&wt(n)}}}function up(n){let i,o,r,s,a,l,c,d,u,h,p,e,m,f,g,y,_,b,v,w,x,C,P,A,T,S,E,M,D,k=n[11]("gamingHistory.previous")+"",I=n[11]("gamingHistory.next")+"",L=n[15],O=[];for(let e=0;e<L.length;e+=1)O[e]=pp(sp(n,L,e));let N=n[10],B=[];for(let e=0;e<N.length;e+=1)B[e]=mp(rp(n,N,e));return{c(){i=Ct("div"),o=Ct("table"),r=Ct("thead"),s=Ct("tr");for(let e=0;e<O.length;e+=1)O[e].c();a=At(),l=Ct("tbody");for(let e=0;e<B.length;e+=1)B[e].c();c=At(),d=Ct("div"),u=Ct("button"),h=t("svg"),p=t("path"),m=At(),f=Ct("span"),g=Pt(k),b=At(),v=Ct("button"),w=Ct("span"),x=Pt(I),C=At(),P=t("svg"),A=t("path"),St(i,"class","PlayerGamingHistoryContainer"),St(p,"fill",e=n[4]?"#D0046C":"#D1D1D1"),St(p,"class","a"),St(p,"d","M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"),St(p,"transform","translate(19.246 -6.188) rotate(90)"),St(h,"xmlns","http://www.w3.org/2000/svg"),St(h,"width","8"),St(h,"height","13.992"),St(h,"viewBox","0 0 8 13.992"),St(f,"class","PlayerPaginationControlsText"),St(u,"class",y="PlayerPaginationControls "+(n[4]?"":"PlayerPaginationControlsDisabled")),u.disabled=_=!n[4],St(w,"class","PlayerPaginationControlsText"),St(A,"fill",T=n[3]?"#D0046C":"#D1D1D1"),St(A,"class","a"),St(A,"d","M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"),St(A,"transform","translate(-11.246 20.179) rotate(-90)"),St(P,"xmlns","http://www.w3.org/2000/svg"),St(P,"width","8"),St(P,"height","13.992"),St(P,"viewBox","0 0 8 13.992"),St(v,"class",S="PlayerPaginationControls "+(n[3]?"":"PlayerPaginationControlsDisabled")),v.disabled=E=!n[3],St(d,"class","PlayerPaginationControlsArea")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s);for(let e=0;e<O.length;e+=1)O[e].m(s,null);bt(o,a),bt(o,l);for(let e=0;e<B.length;e+=1)B[e].m(l,null);vt(e,c,t),vt(e,d,t),bt(d,u),bt(u,h),bt(h,p),bt(u,m),bt(u,f),bt(f,g),bt(d,b),bt(d,v),bt(v,w),bt(w,x),bt(v,C),bt(v,P),bt(P,A),M||(D=[Tt(u,"click",n[27]),Tt(v,"click",n[28])],M=!0)},p(t,n){if(32768&n[0]){let e;for(L=t[15],e=0;e<L.length;e+=1){var i=sp(t,L,e);O[e]?O[e].p(i,n):(O[e]=pp(i),O[e].c(),O[e].m(s,null))}for(;e<O.length;e+=1)O[e].d(1);O.length=L.length}if(33792&n[0]){let e;for(N=t[10],e=0;e<N.length;e+=1){var o=rp(t,N,e);B[e]?B[e].p(o,n):(B[e]=mp(o),B[e].c(),B[e].m(l,null))}for(;e<B.length;e+=1)B[e].d(1);B.length=N.length}16&n[0]&&e!==(e=t[4]?"#D0046C":"#D1D1D1")&&St(p,"fill",e),2048&n[0]&&k!==(k=t[11]("gamingHistory.previous")+"")&&q(g,k),16&n[0]&&y!==(y="PlayerPaginationControls "+(t[4]?"":"PlayerPaginationControlsDisabled"))&&St(u,"class",y),16&n[0]&&_!==(_=!t[4])&&(u.disabled=_),2048&n[0]&&I!==(I=t[11]("gamingHistory.next")+"")&&q(x,I),8&n[0]&&T!==(T=t[3]?"#D0046C":"#D1D1D1")&&St(A,"fill",T),8&n[0]&&S!==(S="PlayerPaginationControls "+(t[3]?"":"PlayerPaginationControlsDisabled"))&&St(v,"class",S),8&n[0]&&E!==(E=!t[3])&&(v.disabled=E)},d(e){e&&wt(i),xt(O,e),xt(B,e),e&&wt(c),e&&wt(d),M=!1,_t(D)}}}function hp(e){let n;return{c(){n=Ct("div"),St(n,"class","DataLoader")},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function pp(e){let n,i,t=e[43]+"";return{c(){n=Ct("th"),i=Pt(t),St(n,"scope","col")},m(e,t){vt(e,n,t),bt(n,i)},p:yt,d(e){e&&wt(n)}}}function mp(e){let n,i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w,x,C,P=e[40].roundId+"",A=Io(e[40].roundStartDate).format("D/M/YYYY - h:mm A")+"",T=e[40].gameModel.name+"",S=e[40].stakeAmount+"",E=e[40].returnAmount+"";return{c(){n=Ct("tr"),i=Ct("td"),o=Ct("span"),r=Pt(P),a=At(),l=Ct("td"),c=Ct("span"),d=Pt(A),u=At(),h=Ct("td"),p=Ct("span"),m=Pt(T),f=At(),g=Ct("td"),y=Ct("span"),_=Pt(S),b=At(),v=Ct("td"),w=Ct("span"),x=Pt(E),C=At(),St(i,"data-label",e[15][0]),St(i,"title",s=e[40].roundId),St(l,"data-label",e[15][1]),St(h,"data-label",e[15][2]),St(g,"data-label",e[15][3]),St(v,"data-label",e[15][4])},m(e,t){vt(e,n,t),bt(n,i),bt(i,o),bt(o,r),bt(n,a),bt(n,l),bt(l,c),bt(c,d),bt(n,u),bt(n,h),bt(h,p),bt(p,m),bt(n,f),bt(n,g),bt(g,y),bt(y,_),bt(n,b),bt(n,v),bt(v,w),bt(w,x),bt(n,C)},p(e,t){1024&t[0]&&P!==(P=e[40].roundId+"")&&q(r,P),1024&t[0]&&s!==(s=e[40].roundId)&&St(i,"title",s),1024&t[0]&&A!==(A=Io(e[40].roundStartDate).format("D/M/YYYY - h:mm A")+"")&&q(d,A),1024&t[0]&&T!==(T=e[40].gameModel.name+"")&&q(m,T),1024&t[0]&&S!==(S=e[40].stakeAmount+"")&&q(_,S),1024&t[0]&&E!==(E=e[40].returnAmount+"")&&q(x,E)},d(e){e&&wt(n)}}}function fp(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v,w,x,C,P,A,T,S,E,M=n[11]("gamingHistory.title")+"",D=n[11]("gamingHistory.dateFrom")+"",k=n[11]("gamingHistory.dateTo")+"",I=n[11]("gamingHistory.dateFilter")+"",L=n[13]&&function(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g=n[11]("gamingHistory.title")+"";return{c(){i=Ct("div"),o=t("svg"),r=t("defs"),s=t("style"),a=Pt(".aaa{fill:#d0046c;}"),l=t("g"),c=t("g"),d=t("path"),u=At(),h=Ct("h2"),p=Pt(g),St(d,"class","aaa"),St(d,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),St(d,"transform","translate(15 15) rotate(180)"),St(c,"transform","translate(20 158)"),St(l,"transform","translate(-20 -158)"),St(o,"xmlns","http://www.w3.org/2000/svg"),St(o,"width","15"),St(o,"height","15"),St(o,"viewBox","0 0 15 15"),St(h,"class","PlayerGamingHistoryTitleMobile"),St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(s,a),bt(o,l),bt(l,c),bt(c,d),bt(i,u),bt(i,h),bt(h,p),m||(f=Tt(i,"click",n[21]),m=!0)},p(e,t){2048&t[0]&&g!==(g=e[11]("gamingHistory.title")+"")&&q(p,g)},d(e){e&&wt(i),m=!1,f()}}}(n),O=!n[9].matches&&lp(n);function N(e){return e[7]?hp:0<e[10].length?up:dp}let B=N(n),R=B(n);return{c(){i=Ct("div"),L&&L.c(),o=At(),r=Ct("h2"),s=Pt(M),a=At(),l=Ct("div"),c=Ct("div"),d=Ct("div"),u=Ct("div"),h=Ct("span"),p=Pt(D),m=At(),f=Ct("vaadin-date-picker"),g=At(),y=Ct("div"),_=Ct("span"),b=Pt(k),v=At(),w=Ct("vaadin-date-picker"),x=At(),C=Ct("button"),P=Pt(I),A=At(),O&&O.c(),T=At(),R.c(),this.c=yt,St(r,"class","PlayerGamingHistoryTitle "+(n[13]?"PlayerGamingHistoryTitleNone":"")),V(f,"max",n[8]),V(f,"placeholder","From"),V(f,"class","VaadinDatePicker"),St(u,"class","PlayerGamingDateWrapper"),V(w,"max",n[8]),V(w,"placeholder","To"),V(w,"class","VaadinDatePicker"),St(y,"class","PlayerGamingDateWrapper"),St(d,"class","PlayerGamingDateContainer"),St(C,"class","PlayerGamingHistoryFilterButton"),St(c,"class","PlayerGamingHistoryFilterWrapper"),St(l,"class","PlayerGamingHistoryTopSection"),St(i,"class","PlayerGamingHistoryWrapper "+(n[13]?"PlayerGamingHistoryWrapperMobile":"")+" "+(n[14].matches&&n[13]?"PlayerTabletGamingHistoryWrapper":""))},m(e,t){vt(e,i,t),L&&L.m(i,null),bt(i,o),bt(i,r),bt(r,s),bt(i,a),bt(i,l),bt(l,c),bt(c,d),bt(d,u),bt(u,h),bt(h,p),bt(u,m),bt(u,f),n[22](f),bt(d,g),bt(d,y),bt(y,_),bt(_,b),bt(y,v),bt(y,w),n[23](w),bt(c,x),bt(c,C),bt(C,P),bt(c,A),O&&O.m(c,null),bt(i,T),R.m(i,null),n[29](i),S||(E=Tt(C,"click",n[24]),S=!0)},p(e,t){e[13]&&L.p(e,t),2048&t[0]&&M!==(M=e[11]("gamingHistory.title")+"")&&q(s,M),2048&t[0]&&D!==(D=e[11]("gamingHistory.dateFrom")+"")&&q(p,D),256&t[0]&&V(f,"max",e[8]),2048&t[0]&&k!==(k=e[11]("gamingHistory.dateTo")+"")&&q(b,k),256&t[0]&&V(w,"max",e[8]),2048&t[0]&&I!==(I=e[11]("gamingHistory.dateFilter")+"")&&q(P,I),e[9].matches?O&&(O.d(1),O=null):O?O.p(e,t):(O=lp(e),O.c(),O.m(c,null)),B===(B=N(e))&&R?R.p(e,t):(R.d(1),R=B(e),R&&(R.c(),R.m(i,null)))},i:yt,o:yt,d(e){e&&wt(i),L&&L.d(),n[22](null),n[23](null),O&&O.d(),R.d(),n[29](null),S=!1,E()}}}function gp(e,t,r){let n;R(e,Di,e=>r(11,n=e));let i,o,s,a,{endpoint:l=""}=t,{playerid:c=""}=t,{session:d=""}=t,u="",h="",p="",m=Io().format("YYYY-MM-DD"),f=Io().format("YYYY-MM-DD"),g=["5","10","25","50"],y="5",_=!1,b=window.navigator.userAgent,v="PC"!==ki(b);a=Io(new Date).format("YYYY-MM-DD"),Io(new Date).subtract(3,"months").format("YYYY-MM-DD"),Object.keys(op).forEach(e=>{di(e,op[e])});let w=window.matchMedia("(min-width: 768px)"),x=window.matchMedia("(max-width: 1280px)"),C=[];const P=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},A=()=>{r(9,x=window.matchMedia("(max-width: 1280px)"))},T=(e,t,n)=>{let i=new URL(e),o={method:"GET",headers:{"X-SessionID":d}};t||(i.searchParams.append("offset","0"),i.searchParams.append("limit",y)),n&&(i.searchParams.append("startDate",m),i.searchParams.append("endDate",f)),r(7,_=!0),fetch(i.href,o).then(e=>e.json()).then(e=>{r(10,C=e.transactions),r(3,h=e.pagination.next),r(4,p=e.pagination.previous),r(7,_=!1)},e=>{r(7,_=!1),console.error(e)})},S=e=>{e.data&&e.data.type},E=e=>{m=e.target.value},M=e=>{f=e.target.value};return Z(()=>(window.addEventListener("message",S,!1),window.addEventListener("resize",A,!1),()=>{o.removeEventListener("change",E),s.removeEventListener("change",M),window.removeEventListener("message",S),window.removeEventListener("resize",S)})),e.$$set=e=>{"endpoint"in e&&r(18,l=e.endpoint),"playerid"in e&&r(19,c=e.playerid),"session"in e&&r(20,d=e.session)},e.$$.update=()=>{3&e.$$.dirty[0]&&o&&s&&(o.addEventListener("change",E,!1),s.addEventListener("change",M,!1)),1835008&e.$$.dirty[0]&&d&&c&&l&&(r(2,u=`${l}/player/${c}/bets`),T(u,!1,!1))},[o,s,u,h,p,void 0,y,_,a,x,C,n,g,v,w,["Transaction ID","Date","Game Name","Stake","Return"],P,T,l,c,d,()=>P(),function(e){J[e?"unshift":"push"](()=>{o=e,r(0,o)})},function(e){J[e?"unshift":"push"](()=>{s=e,r(1,s)})},()=>T(u,!1,!0),function(){y=X(this),r(6,y),r(12,g)},()=>T(u,!1,!1),()=>T(p,!0,!1),()=>T(h,!0,!1),function(e){J[e?"unshift":"push"](()=>{i=e,r(5,i)})}]}function yp(e){let n,i,o,r,s,a,l;function c(e){return e[12]&&e[4]===e[14][0]?Ip:e[12]&&e[4]===e[14][1]?kp:e[12]&&e[4]===e[14][2]?Dp:e[12]&&e[4]===e[14][3]?Mp:e[12]&&e[4]===e[14][4]?Ep:e[12]&&e[4]===e[14][5]?Sp:e[12]&&e[4]===e[14][6]?Tp:e[12]&&e[4]===e[14][7]?Ap:e[12]&&e[4]===e[14][8]?Pp:e[12]&&e[4]===e[14][9]?Cp:e[12]&&e[4]===e[14][10]?xp:e[12]&&e[4]===e[14][11]?wp:e[12]&&e[4]===e[14][12]?vp:e[12]&&e[4]===e[14][13]?bp:void 0}let d=c(e),u=d&&d(e);return{c(){n=Ct("nav"),i=Ct("player-account-menu"),o=At(),r=Ct("main"),u&&u.c(),s=At(),a=Ct("aside"),l=Ct("player-account-notifications"),V(i,"endpoint",e[3]),V(i,"session",e[2]),V(i,"playerid",e[1]),V(l,"customnotif",e[0])},m(e,t){vt(e,n,t),bt(n,i),vt(e,o,t),vt(e,r,t),u&&u.m(r,null),vt(e,s,t),vt(e,a,t),bt(a,l)},p(e,t){8&t[0]&&V(i,"endpoint",e[3]),4&t[0]&&V(i,"session",e[2]),2&t[0]&&V(i,"playerid",e[1]),d===(d=c(e))&&u?u.p(e,t):(u&&u.d(1),u=d&&d(e),u&&(u.c(),u.m(r,null))),1&t[0]&&V(l,"customnotif",e[0])},d(e){e&&wt(n),e&&wt(o),e&&wt(r),u&&u.d(),e&&wt(s),e&&wt(a)}}}function _p(e){let n;function i(e){return e[12]?e[12]&&e[4]===e[14][0]?Gp:e[12]&&e[4]===e[14][1]?jp:e[12]&&e[4]===e[14][2]?Up:e[12]&&e[4]===e[14][3]?Hp:e[12]&&e[4]===e[14][4]?Yp:e[12]&&e[4]===e[14][5]?Wp:e[12]&&e[4]===e[14][6]?zp:e[12]&&e[4]===e[14][7]?$p:e[12]&&e[4]===e[14][8]?Fp:e[12]&&e[4]===e[14][9]?Rp:e[12]&&e[4]===e[14][10]?Bp:e[12]&&e[4]===e[14][11]?Np:e[12]&&e[4]===e[14][12]?Op:e[12]&&e[4]===e[14][13]?Lp:void 0:Vp}let o=i(e),r=o&&o(e);return{c(){r&&r.c(),n=k()},m(e,t){r&&r.m(e,t),vt(e,n,t)},p(e,t){o===(o=i(e))&&r?r.p(e,t):(r&&r.d(1),r=o&&o(e),r&&(r.c(),r.m(n.parentNode,n)))},d(e){r&&r.d(e),e&&wt(n)}}}function bp(e){let n;return{c(){n=Ct("player-transaction-history"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function vp(e){let n;return{c(){n=Ct("player-pending-withdrawals"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function wp(e){let n;return{c(){n=Ct("player-withdrawal"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function xp(e){let n;return{c(){n=Ct("player-deposit"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function Cp(e){let n;return{c(){n=Ct("player-gaming-history"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function Pp(e){let n;return{c(){n=Ct("player-bonus-history"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function Ap(e){let n;return{c(){n=Ct("player-active-bonuses"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function Tp(e){let n;return{c(){n=Ct("player-account-self-exclusion")},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Sp(e){let n;return{c(){n=Ct("player-account-gaming-limits"),V(n,"depositlimit",e[5]),V(n,"wageringlimit",e[6]),V(n,"losslimit",e[7]),V(n,"timelimit",e[8]),V(n,"showsuccessnotification",e[9]),V(n,"showdeletenotification",e[10])},m(e,t){vt(e,n,t)},p(e,t){32&t[0]&&V(n,"depositlimit",e[5]),64&t[0]&&V(n,"wageringlimit",e[6]),128&t[0]&&V(n,"losslimit",e[7]),256&t[0]&&V(n,"timelimit",e[8]),512&t[0]&&V(n,"showsuccessnotification",e[9]),1024&t[0]&&V(n,"showdeletenotification",e[10])},d(e){e&&wt(n)}}}function Ep(e){let n;return{c(){n=Ct("player-account-closure")},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Mp(e){let n;return{c(){n=Ct("player-account-timeout")},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Dp(e){let n;return{c(){n=Ct("player-reality-check"),V(n,"realitycheck",e[11]),V(n,"endpoint",e[3]),V(n,"playerid",e[1]),V(n,"session",e[2])},m(e,t){vt(e,n,t)},p(e,t){2048&t[0]&&V(n,"realitycheck",e[11]),8&t[0]&&V(n,"endpoint",e[3]),2&t[0]&&V(n,"playerid",e[1]),4&t[0]&&V(n,"session",e[2])},d(e){e&&wt(n)}}}function kp(e){let n;return{c(){n=Ct("player-change-password")},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Ip(e){let n;return{c(){n=Ct("player-profile-info"),V(n,"endpoint",e[3])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3])},d(e){e&&wt(n)}}}function Lp(e){let n;return{c(){n=Ct("player-transaction-history"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function Op(e){let n;return{c(){n=Ct("player-pending-withdrawals"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function Np(e){let n;return{c(){n=Ct("player-withdrawal"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function Bp(e){let n;return{c(){n=Ct("player-deposit"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function Rp(e){let n;return{c(){n=Ct("player-gaming-history"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function Fp(e){let n;return{c(){n=Ct("player-bonus-history"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function $p(e){let n;return{c(){n=Ct("player-active-bonuses"),V(n,"endpoint",e[3]),V(n,"session",e[2]),V(n,"playerid",e[1])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3]),4&t[0]&&V(n,"session",e[2]),2&t[0]&&V(n,"playerid",e[1])},d(e){e&&wt(n)}}}function zp(e){let n;return{c(){n=Ct("player-account-self-exclusion")},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Wp(e){let n;return{c(){n=Ct("player-account-gaming-limits"),V(n,"depositlimit",e[5]),V(n,"wageringlimit",e[6]),V(n,"losslimit",e[7]),V(n,"timelimit",e[8]),V(n,"showsuccessnotification",e[9]),V(n,"showdeletenotification",e[10])},m(e,t){vt(e,n,t)},p(e,t){32&t[0]&&V(n,"depositlimit",e[5]),64&t[0]&&V(n,"wageringlimit",e[6]),128&t[0]&&V(n,"losslimit",e[7]),256&t[0]&&V(n,"timelimit",e[8]),512&t[0]&&V(n,"showsuccessnotification",e[9]),1024&t[0]&&V(n,"showdeletenotification",e[10])},d(e){e&&wt(n)}}}function Yp(e){let n;return{c(){n=Ct("player-account-closure")},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Hp(e){let n;return{c(){n=Ct("player-account-timeout")},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Up(e){let n;return{c(){n=Ct("player-reality-check"),V(n,"realitycheck",e[11]),V(n,"endpoint",e[3]),V(n,"playerid",e[1]),V(n,"session",e[2])},m(e,t){vt(e,n,t)},p(e,t){2048&t[0]&&V(n,"realitycheck",e[11]),8&t[0]&&V(n,"endpoint",e[3]),2&t[0]&&V(n,"playerid",e[1]),4&t[0]&&V(n,"session",e[2])},d(e){e&&wt(n)}}}function jp(e){let n;return{c(){n=Ct("player-change-password")},m(e,t){vt(e,n,t)},p:yt,d(e){e&&wt(n)}}}function Gp(e){let n;return{c(){n=Ct("player-profile-info"),V(n,"endpoint",e[3])},m(e,t){vt(e,n,t)},p(e,t){8&t[0]&&V(n,"endpoint",e[3])},d(e){e&&wt(n)}}}function Vp(e){let n,i,o,r;return{c(){n=Ct("nav"),i=Ct("player-account-menu"),o=At(),r=Ct("player-account-notifications"),V(i,"endpoint",e[3]),V(i,"session",e[2]),V(i,"playerid",e[1]),V(r,"customnotif",e[0]),St(n,"class","PlayerAccountMobile")},m(e,t){vt(e,n,t),bt(n,i),bt(n,o),bt(n,r)},p(e,t){8&t[0]&&V(i,"endpoint",e[3]),4&t[0]&&V(i,"session",e[2]),2&t[0]&&V(i,"playerid",e[1]),1&t[0]&&V(r,"customnotif",e[0])},d(e){e&&wt(n)}}}function qp(e){let n,i=function(e){let n,i=(e[13]?_p:yp)(e);return{c(){n=Ct("section"),i.c(),St(n,"class","PlayerAccountPage "+(e[13]?"PlayerAccountMobilePage":""))},m(e,t){vt(e,n,t),i.m(n,null)},p(e,t){i.p(e,t)},d(e){e&&wt(n),i.d()}}}(e);return{c(){i.c(),n=k(),this.c=yt},m(e,t){i.m(e,t),vt(e,n,t)},p(e,t){i.p(e,t)},i:yt,o:yt,d(e){i.d(e),e&&wt(n)}}}function Xp(e,t,d){var n,i,r=this&&this.__awaiter||function(e,s,a,l){return new(a=a||Promise)(function(n,t){function i(e){try{r(l.next(e))}catch(e){t(e)}}function o(e){try{r(l.throw(e))}catch(e){t(e)}}function r(e){var t;e.done?n(e.value):((t=e.value)instanceof a?t:new a(function(e){e(t)})).then(i,o)}r((l=l.apply(e,s||[])).next())})};let{cmsendpoint:o=""}=t,{accountpath:s=""}=t,{notificationpath:a=""}=t,{customnotifications:l=""}=t,{limitspath:c=""}=t,{playerid:u=""}=t,{session:h=""}=t,{endpoint:p=""}=t,{lang:m="en"}=t;[{withLocale:n,translations:i}]=[{withLocale:"en",translations:{}}],vi.subscribe(e=>{null==e&&(li.set(i),vi.set(n))});let f,g,y,_,b,v=window.navigator.userAgent,w="PC"!==ki(v),x,C,P="",A="",T="",S={},E=!1,M=!1,D="",k,I;const L=["Profile Info","Change password","Reality Check","Timeout","Account Closure","Gaming Limits","Self Exclusion","Active Bonuses","Bonus History","Gaming History","Deposit","Withdrawal","Pending Withdrawals","Transaction History"];let O=!1;const N=r=>{if(r.data)switch(r.data.type){case"AccountMenuDetails":break;case"ChangeAccountPage":d(12,O=!0),d(4,T=r.data.page.post_title),B();break;case"SetActivePage":d(12,O=!0),d(4,T=r.data.pageName),B();break;case"ReturnToMenu":d(12,O=!1),Y();break;case"UpdatePlayerInfo":var s=r.data.provisionalArray,s={mobile:{prefix:s.mobilePrefix,number:s.mobileNumber},address1:s.address,city:s.city,postalCode:s.postalCode,securityQuestion:s.securityQuestion,securityAnswer:s.securityAnswer,consents:{acceptNewsEmail:s.acceptNewsEmail,acceptSMSOffers:s.acceptSMSOffers}},s={method:"POST",headers:{"X-SessionID":A,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(s)};fetch(`${p}/player/${P}/profile`,s).then(e=>{200==e.status&&window.postMessage({type:"ConfirmProfileInfoSave"},window.location.href)});break;case"ChangePassword":R(r.data.userCurrentPassword,r.data.userNewPassword);break;case"SetPlayerAccountTimeout":var a={cooloff:{period:r.data.timeoutSelected}},a={method:"PUT",headers:{playerId:P,"X-SessionID":A,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(a)};fetch(`${p}/player/${P}/limits`,a).then(e=>{200==e.status&&window.postMessage({type:"LogOut"},window.location.href)});break;case"SetSelfExclusion":a={selfExclusion:{period:r.data.selfExclusionPeriod,expiryDate:r.data.selfExclusionExpiryDate}},a={method:"PUT",headers:{playerId:P,"X-SessionID":A,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(a)};fetch(`${p}/player/${P}/limits`,a).then(e=>{200==e.status&&window.postMessage({type:"LogOut"},window.location.href)});break;case"AccountClosure":var l={selfExclusion:{period:"SelfExclusionPermanent",sendNotificationEmail:!0,selfExclusionReason:"UserRequest"}},c={method:"PUT",headers:{playerId:P,"X-SessionID":A,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(l)};fetch(`${p}/player/${P}/limits`,c).then(e=>{200==e.status&&window.postMessage({type:"LogOut"},window.location.href)});break;case"UserSessionID":A=r.data.session,P=r.data.userid,W();break;case"PlayerAccountGamingLimitsUpdate":l=r.data.payload,c=r.data.limitsCategory,l="cumulativeSessionLimits"===c||"depositLimits"===c?l:{[c]:l},l={method:"PUT",headers:{playerId:P,"X-SessionID":A,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(l)};fetch(`${p}/player/${P}/limits`,l).then(e=>{200==e.status&&(d(9,E=!0),z(`${p}/player/${u}/limits`))});break;case"PlayerAccountGamingLimitDelete":let e,t=r.data.limit||{};e=Array.isArray(t)?t.map(e=>e.period):t.period;let n="";switch(r.data.name){case"depositLimits":n="deposit";break;case"cumulativeSessionLimits":n="cumulativeSession";break;case"wageringLimit":n="wagering",t={};break;case"lossLimit":n="loss",t={}}let i={method:"DELETE",headers:{"X-SessionID":A},body:JSON.stringify(t)},o=new URL(`${p}/player/${P}/limits/${n}`);"deposit"!==n&&"cumulativeSession"!==n||(Array.isArray(e)?e.forEach(e=>{o.searchParams.append("periods",e)}):o.searchParams.append("periods",e)),fetch(o,i).then(e=>{200==e.status&&(d(10,M=!0),z(`${p}/player/${u}/limits`))});break;case"GamingLimitsConfirmChanges":case"CancelGamingLimitsChanges":z(`${p}/player/${u}/limits`);break;case"SubmittedRealityCheck":$(r.data.realityCheckUpdatedValue)}},B=()=>{fetch(`${p}/player/${P}/profile`,{method:"GET",headers:{"X-SessionID":A}}).then(e=>e.json()).then(e=>{window.postMessage({type:"ProfileDetailsData",profileDetails:e},window.location.href)},e=>{console.error(e)})},R=(i,o)=>r(void 0,void 0,void 0,function*(){let e={currentPassword:i,newPassword:o},t={method:"POST",headers:{"X-SessionID":A,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)},n=yield fetch(`${p}/player/${P}/password`,t);if(n.ok)window.postMessage({type:"PasswordChangedSuccessfully"},window.location.href);else{let e=yield n.json();k=e.error.substring(e.error.indexOf("errorMessage")+13,e.error.length),I=!0,window.postMessage({type:"ShowPasswordChangedError",showErrorPasswordChanged:!0,errorPasswordChanged:k},window.location.href)}}),F=e=>{fetch(e,{method:"GET",headers:{"X-SessionID":A}}).then(e=>e.json()).then(e=>{d(11,b=e.UserRealityCheckValue)},e=>{console.error(e)})},$=e=>{e&&(D=e);e={method:"POST",headers:{"X-SessionID":A,"Content-Type":"application/json",Accept:"application/json",realityCheckValue:parseInt(D,10)}};fetch(`${p}/player/${P}/realitycheck`,e).then(e=>{200==e.status&&(F(`${p}/player/${u}/realitycheck`),window.postMessage({type:"RealityCheckValueUpdated"},window.location.href))},e=>{console.error(e)})},z=e=>{!0===E?setTimeout(()=>{d(9,E=!1)},3e3):!0===M&&setTimeout(()=>{d(10,M=!1)},3e3),fetch(e,{method:"GET",headers:{"X-SessionID":A}}).then(e=>e.json()).then(e=>{S=e,0!==Object.keys(S).length?(S.hasOwnProperty("depositLimits")?d(5,f=S.depositLimits):d(5,f=[]),S.hasOwnProperty("wageringLimit")?d(6,g=S.wageringLimit):d(6,g={}),S.hasOwnProperty("lossLimit")?d(7,y=S.lossLimit):d(7,y={}),S.hasOwnProperty("cumulativeSessionLimits")?(d(8,_=S.timeLimit),d(8,_=S.cumulativeSessionLimits.map(e=>(e.amount=e.minutes,e)))):d(8,_=[])):(d(5,f=[]),d(6,g={}),d(7,y={}),d(8,_=[])),H()},e=>{console.error(e)})},W=()=>{var e;fetch(o+s).then(e=>e.json()).then(e=>{x=e.items,window.postMessage({type:"AccountMenuDetails",accountMenuInfo:x},window.location.href)},e=>{console.error(e)}),e=o+a,fetch(e).then(e=>e.json()).then(e=>{e.length&&(C=e[0].acf.support_info_item,window.postMessage({type:"NotificationsDetails",notificationsInfo:C},window.location.href))},e=>{console.error(e)}),B(),z(`${p}/player/${u}/limits`),F(`${p}/player/${u}/realitycheck`)},Y=()=>{var e=m;vi.set(e),P=u,A=h,d(4,T=L[0]),w||d(12,O=!0),W()};return Z(()=>(window.addEventListener("message",N,!1),()=>{window.removeEventListener("message",N)})),e.$$set=e=>{"cmsendpoint"in e&&d(15,o=e.cmsendpoint),"accountpath"in e&&d(16,s=e.accountpath),"notificationpath"in e&&d(17,a=e.notificationpath),"customnotifications"in e&&d(0,l=e.customnotifications),"limitspath"in e&&d(18,c=e.limitspath),"playerid"in e&&d(1,u=e.playerid),"session"in e&&d(2,h=e.session),"endpoint"in e&&d(3,p=e.endpoint),"lang"in e&&d(19,m=e.lang)},e.$$.update=()=>{753679&e.$$.dirty[0]&&o&&p&&s&&a&&l&&u&&h&&m&&Y()},[l,u,h,p,T,f,g,y,_,E,M,b,O,w,L,o,s,a,c,m]}customElements.get("player-gaming-history")||customElements.define("player-gaming-history",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerGamingHistoryWrapper{color:#D0046C;padding:50px;max-width:760px}.PlayerGamingHistoryWrapper .PlayerGamingHistoryTitle{font-size:24px;font-weight:400;text-transform:capitalize}.PlayerGamingDateContainer{display:inline-flex;gap:20px}.PlayerGamingHistoryFilterWrapper,.PlayerGamingDateWrapper{display:inline-flex;align-items:center;gap:10px}.PlayerGamingHistoryFilterWrapper{margin-bottom:20px;gap:20px;width:100%}.PlayerGamingItemCountContainer{margin-left:auto}.PlayerGamingHistoryTitle{font-size:26px;color:#D0046C;font-weight:400}.PlayerGamingHistoryTitleMobile{font-size:16px;color:#D0046C}.PlayerGamingHistoryTitleNone{display:none}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:#D0046C}.PlayerGamingHistoryEmpty{color:#000}.PlayerGamingHistoryContainer{width:100%;row-gap:30px;color:#000;background:#fff;box-shadow:0px 3px 12px #00000012;border-radius:5px;padding:10px 0}.PlayerGamingHistoryContainer table{border:0}.PlayerGamingHistoryContainer table tr{border:0;background:#fff}.PlayerGamingHistoryContainer table tr:not(:last-child){border-bottom:1px solid #F3F3F3}.PlayerGamingHistoryContainer thead tr{border-bottom:1px solid #F3F3F3}.PlayerGamingHistoryContainer thead th{font-size:14px;font-weight:400}.PlayerGamingHistoryItemCount{padding:8px;border-radius:5px;border:1px solid #D1D1D1}.PlayerPaginationControls{background:transparent;border:none;color:#D0046C;display:inline-flex;gap:8px}.PlayerPaginationControls.PlayerPaginationControlsDisabled{color:#D1D1D1}.PlayerPaginationControlsArea{margin-top:30px;display:flex}.PlayerGamingHistoryFilterWrapper span{color:#07072A;font-weight:300;font-size:14px}.PlayerGamingHistoryFilterButton{color:#fff;background:#D0046C;border-radius:5px;border:0;height:40px;text-transform:uppercase;padding:10px 20px}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper{align-items:flex-start;gap:10px;flex-direction:column}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateContainer{gap:0;flex-direction:row;width:100%;justify-content:space-between}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateWrapper{display:block;gap:0;align-items:end;width:48%}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateWrapper span{display:block;margin-bottom:5px}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingHistoryFilterButton{padding:15px 20px;width:100%}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryTitle{font-size:16px;font-weight:400}.PlayerGamingHistoryWrapperMobile .PlayerPaginationControlsArea{justify-content:center;gap:30px}.PlayerGamingHistoryWrapperMobile .PlayerPaginationControlsArea .PlayerPaginationControls{align-items:center}.PlayerGamingHistoryWrapperMobile .PlayerPaginationControlsArea .PlayerPaginationControlsText{font-size:16px}.PlayerGamingHistoryWrapperMobile .VaadinDatePicker{width:100%}table{border:1px solid #ccc;border-collapse:collapse;margin:0;padding:0;width:100%;table-layout:fixed}table tr{border:1px solid #ddd}table th,table td{padding:10px;text-align:center}table th:first-child,table td:first-child{padding-left:20px}table th:first-child span,table td:first-child span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}table th:last-child,table td:last-child{padding-right:20px}table th{font-size:.85em;letter-spacing:.1em;text-align:left}table tr td{font-size:12px;font-weight:300;text-align:left}@media screen and (max-width: 1024px){.PlayerGamingHistoryWrapper{padding:20px}.PlayerGamingHistoryContainer{box-shadow:none;padding:0}table{border:0}tbody{background:#F9F8F8}table thead{border:none;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}table tr{border-bottom:3px solid #ddd;display:block;border-radius:5px;box-shadow:0px 3px 12px #00000012;padding:10px}table tr:not(:last-child){margin-bottom:.625em}table tr th,table tr td{border:0;border-radius:5px}table tr th:nth-child(even),table tr td:nth-child(even){background:#F9F8F8}table th:first-child,table td:first-child{padding-left:10px}table th:last-child,table td:last-child{padding-right:10px}table td{border-bottom:1px solid #ddd;display:block;font-size:.8em;text-align:right;display:flex}table th:first-child span,table td:first-child span{width:50%;text-align:right}table td::before{content:attr(data-label);float:left;font-weight:bold;text-transform:uppercase;flex:1}table td:last-child{border-bottom:0}}.DataLoader{width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.DataLoader:after{content:\" \";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid #D0046C;border-color:#D0046C transparent #D0046C transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},gp,fp,n,{endpoint:18,playerid:19,session:20},[-1,-1]),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","playerid","session"]}get endpoint(){return this.$$.ctx[18]}set endpoint(e){this.$set({endpoint:e}),T()}get playerid(){return this.$$.ctx[19]}set playerid(e){this.$set({playerid:e}),T()}get session(){return this.$$.ctx[20]}set session(e){this.$set({session:e}),T()}});class Zp extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.PlayerAccountPage{display:grid;width:100%;grid-template-areas:\"nav main aside\";grid-template-rows:auto;grid-template-columns:250px 1fr 230px;background:#F9F8F8}.PlayerAccountPage.PlayerAccountMobilePage{display:block;background:#F9F8F8}.PlayerAccountPage>nav{grid-area:nav;background:#58586B}.PlayerAccountPage>nav.PlayerAccountMobile{background:#07072A;color:#FFF}.PlayerAccountPage>main{grid-area:main}.PlayerAccountPage>aside{grid-area:aside}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Xp,qp,n,{cmsendpoint:15,accountpath:16,notificationpath:17,customnotifications:0,limitspath:18,playerid:1,session:2,endpoint:3,lang:19},[-1,-1]),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["cmsendpoint","accountpath","notificationpath","customnotifications","limitspath","playerid","session","endpoint","lang"]}get cmsendpoint(){return this.$$.ctx[15]}set cmsendpoint(e){this.$set({cmsendpoint:e}),T()}get accountpath(){return this.$$.ctx[16]}set accountpath(e){this.$set({accountpath:e}),T()}get notificationpath(){return this.$$.ctx[17]}set notificationpath(e){this.$set({notificationpath:e}),T()}get customnotifications(){return this.$$.ctx[0]}set customnotifications(e){this.$set({customnotifications:e}),T()}get limitspath(){return this.$$.ctx[18]}set limitspath(e){this.$set({limitspath:e}),T()}get playerid(){return this.$$.ctx[1]}set playerid(e){this.$set({playerid:e}),T()}get session(){return this.$$.ctx[2]}set session(e){this.$set({session:e}),T()}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$set({endpoint:e}),T()}get lang(){return this.$$.ctx[19]}set lang(e){this.$set({lang:e}),T()}}return customElements.get("player-account-controller")||customElements.define("player-account-controller",Zp),Zp});
|
|
1689
1689
|
//# sourceMappingURL=player-account-controller.js.map
|