@everymatrix/casino-footer 1.7.1 → 1.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function g(){}function A(e){return e()}function H(){return Object.create(null)}function v(e){e.forEach(A)}function y(e){return"function"==typeof e}function C(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let I,R;function w(e,t){return(I=I||document.createElement("a")).href=t,e===I.href}function B(e,...t){if(null==e)return g;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function le(e,t,n){e.$$.on_destroy.push(B(t,n))}function N(e){return e&&y(e.destroy)?e.destroy:g}function S(e,t){e.appendChild(t)}function k(e,t,n){e.insertBefore(t,n||null)}function T(e){e.parentNode.removeChild(e)}function E(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function x(e){return document.createElement(e)}function t(e){return document.createTextNode(e)}function M(){return t(" ")}function G(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function D(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function l(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:D(e,t,n)}function L(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function Y(t,n){for(let e=0;e<t.options.length;e+=1){const r=t.options[e];if(r.__value===n)return r.selected=!0}t.selectedIndex=-1}function U(e,t,n){e.classList[n?"add":"remove"](t)}function j(e){const t={};for(const n of e)t[n.name]=n.value;return t}function V(e){R=e}function ce(e){!function(){if(R)return R;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const W=[],se=[],z=[],Z=[],X=Promise.resolve();let K=!1;function q(e){z.push(e)}const J=new Set;let Q=0;function b(){const e=R;do{for(;Q<W.length;){const e=W[Q];Q++,V(e),t=n=void 0;var t,n=e.$$;null!==n.fragment&&(n.update(),v(n.before_update),t=n.dirty,n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(q))}for(V(null),W.length=0,Q=0;se.length;)se.pop()();for(let e=0;e<z.length;e+=1){const r=z[e];J.has(r)||(J.add(r),r())}}while(z.length=0,W.length);for(;Z.length;)Z.pop()();K=!1,J.clear(),V(e)}const ee=new Set;var te="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function ne(r,e,t,n,i,o,s,a=[-1]){var l=R;V(r);const c=r.$$={fragment:null,ctx:null,props:o,update:g,not_equal:i,bound:H(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:H(),dirty:a,skip_bound:!1,root:e.target||l.$$.root};s&&s(c.root);let u=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&i(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),u&&(n=e,-1===(e=r).$$.dirty[0]&&(W.push(e),K||(K=!0,X.then(b)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),u=!0,v(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){o=e.target;const g=Array.from(o.childNodes);c.fragment&&c.fragment.l(g),g.forEach(T)}else c.fragment&&c.fragment.c();e.intro&&(a=r.$$.fragment)&&a.i&&(ee.delete(a),a.i(void 0));{var h=r;s=e.target;t=e.anchor;n=e.customElement;const{fragment:d,on_mount:f,on_destroy:p,after_update:m}=h.$$;d&&d.m(s,t),n||q(()=>{var e=f.map(A).filter(y);p?p.push(...e):v(e),h.$$.on_mount=[]}),m.forEach(q)}b()}V(l)}let re;function ie(e){let n,r,i,o,s,a,l,c;return{c(){n=x("div"),r=x("a"),D(i=x("img"),"class","FooterImage"),D(i,"part","FooterImage"),w(i.src,o=e[16])||D(i,"src",o),D(i,"title",s=e[17]||e[15]),D(r,"class",a="FooterLink "+(e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"part",l="FooterLink "+(e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"href",c=e[19]?e[15]:e[21]+`/${e[22]}/`+e[15]),D(r,"target",e[18]),D(n,"class","FooterItem SocialItem"),D(n,"part","FooterItem SocialItem")},m(e,t){k(e,n,t),S(n,r),S(r,i)},p(e,t){65536&t&&!w(i.src,o=e[16])&&D(i,"src",o),163840&t&&s!==(s=e[17]||e[15])&&D(i,"title",s),32768&t&&a!==(a="FooterLink "+(e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"class",a),32768&t&&l!==(l="FooterLink "+(e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"part",l),6848512&t&&c!==(c=e[19]?e[15]:e[21]+`/${e[22]}/`+e[15])&&D(r,"href",c),262144&t&&D(r,"target",e[18])},d(e){e&&T(n)}}}function oe(e){let n,r,i,o,s,a,l,c;return{c(){n=x("div"),r=x("a"),D(i=x("img"),"class","FooterImage"),D(i,"part","FooterImage"),w(i.src,o=e[13])||D(i,"src",o),D(i,"title",s=e[14]||e[12]),D(r,"class",a="FooterLink "+(e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"part",l="FooterLink "+(e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"href",c=e[19]?e[12]:e[21]+`/${e[22]}/`+e[12]),D(r,"target",e[18]),D(n,"class","FooterItem"),D(n,"part","FooterItem")},m(e,t){k(e,n,t),S(n,r),S(r,i)},p(e,t){8192&t&&!w(i.src,o=e[13])&&D(i,"src",o),20480&t&&s!==(s=e[14]||e[12])&&D(i,"title",s),4096&t&&a!==(a="FooterLink "+(e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"class",a),4096&t&&l!==(l="FooterLink "+(e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"part",l),6819840&t&&c!==(c=e[19]?e[12]:e[21]+`/${e[22]}/`+e[12])&&D(r,"href",c),262144&t&&D(r,"target",e[18])},d(e){e&&T(n)}}}function ue(e){let n,r,i,o,s,a,l,c,u,h,d=e[11]&&pe(e);return{c(){n=x("div"),r=x("a"),i=x("img"),a=M(),d&&d.c(),D(i,"class","FooterImage"),D(i,"part","FooterImage"),w(i.src,o=e[10])||D(i,"src",o),D(i,"title",s=e[11]||e[9]),D(r,"class",l=(e[11]?"FooterHelperLink":"")+" "+(e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"part",c=(e[11]?"FooterHelperLink":"")+" "+(e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"href",u=e[19]?e[9]:e[21]+`/${e[22]}/`+e[9]),D(r,"target",e[18]),D(n,"class",h="FooterItem HelperLinkItem "+("true"==e[20]?"DisplayColumn":"")),D(n,"part","FooterItem HelperLinkItem")},m(e,t){k(e,n,t),S(n,r),S(r,i),S(r,a),d&&d.m(r,null)},p(e,t){1024&t&&!w(i.src,o=e[10])&&D(i,"src",o),2560&t&&s!==(s=e[11]||e[9])&&D(i,"title",s),e[11]?d?d.p(e,t):((d=pe(e)).c(),d.m(r,null)):d&&(d.d(1),d=null),2560&t&&l!==(l=(e[11]?"FooterHelperLink":"")+" "+(e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"class",l),2560&t&&c!==(c=(e[11]?"FooterHelperLink":"")+" "+(e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"part",c),6816256&t&&u!==(u=e[19]?e[9]:e[21]+`/${e[22]}/`+e[9])&&D(r,"href",u),262144&t&&D(r,"target",e[18]),1048576&t&&h!==(h="FooterItem HelperLinkItem "+("true"==e[20]?"DisplayColumn":""))&&D(n,"class",h)},d(e){e&&T(n),d&&d.d()}}}function he(e){let n,r,i,o,s,a,l,c;return{c(){n=x("div"),r=x("a"),D(i=x("img"),"class","FooterImage"),D(i,"part","FooterImage"),w(i.src,o=e[7])||D(i,"src",o),D(i,"title",s=e[8]||e[6]),D(r,"class",a=(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"part",l=(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"href",c=e[19]?e[6]:e[21]+`/${e[22]}/`+e[6]),D(r,"target",e[18]),D(n,"class","FooterItem GameVendorItem"),D(n,"part","FooterItem GameVendorItem")},m(e,t){k(e,n,t),S(n,r),S(r,i)},p(e,t){128&t&&!w(i.src,o=e[7])&&D(i,"src",o),320&t&&s!==(s=e[8]||e[6])&&D(i,"title",s),64&t&&a!==(a=(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"class",a),64&t&&l!==(l=(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"part",l),6815808&t&&c!==(c=e[19]?e[6]:e[21]+`/${e[22]}/`+e[6])&&D(r,"href",c),262144&t&&D(r,"target",e[18])},d(e){e&&T(n)}}}function de(e){let n,r,i,o,s,a,l,c,u,h=e[5]&&me(e);return{c(){n=x("div"),r=x("a"),i=x("img"),a=M(),h&&h.c(),D(i,"class","FooterImage"),D(i,"part","FooterImage"),w(i.src,o=e[4])||D(i,"src",o),D(i,"title",s=e[5]||e[3]),D(r,"class",l=(e[5]?"FooterPaymentLink":"")+" "+(e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"part",c=(e[5]?"FooterPaymentLink":"")+" "+(e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"href",u=e[19]?e[3]:e[21]+`/${e[22]}/`+e[3]),D(r,"target",e[18]),D(n,"class","FooterItem PaymentItem"),D(n,"part","FooterItem PaymentItem")},m(e,t){k(e,n,t),S(n,r),S(r,i),S(r,a),h&&h.m(r,null)},p(e,t){16&t&&!w(i.src,o=e[4])&&D(i,"src",o),40&t&&s!==(s=e[5]||e[3])&&D(i,"title",s),e[5]?h?h.p(e,t):((h=me(e)).c(),h.m(r,null)):h&&(h.d(1),h=null),40&t&&l!==(l=(e[5]?"FooterPaymentLink":"")+" "+(e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"class",l),40&t&&c!==(c=(e[5]?"FooterPaymentLink":"")+" "+(e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"part",c),6815752&t&&u!==(u=e[19]?e[3]:e[21]+`/${e[22]}/`+e[3])&&D(r,"href",u),262144&t&&D(r,"target",e[18])},d(e){e&&T(n),h&&h.d()}}}function fe(e){let n,r,i,o,s,a,l,c,u,h=e[2]&&ge(e);return{c(){n=x("div"),r=x("a"),i=x("img"),a=M(),h&&h.c(),D(i,"class","FooterImage"),D(i,"part","FooterImage"),w(i.src,o=e[1])||D(i,"src",o),D(i,"title",s=e[2]||e[0]),D(r,"class",l=(e[2]?"FooterSponsorLink":"")+" "+(e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"part",c=(e[2]?"FooterSponsorLink":"")+" "+(e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"href",u=e[19]?e[0]:e[21]+`/${e[22]}/`+e[0]),D(r,"target",e[18]),D(n,"class","FooterItem SponsorItem"),D(n,"part","FooterItem SponsorItem")},m(e,t){k(e,n,t),S(n,r),S(r,i),S(r,a),h&&h.m(r,null)},p(e,t){2&t&&!w(i.src,o=e[1])&&D(i,"src",o),5&t&&s!==(s=e[2]||e[0])&&D(i,"title",s),e[2]?h?h.p(e,t):((h=ge(e)).c(),h.m(r,null)):h&&(h.d(1),h=null),5&t&&l!==(l=(e[2]?"FooterSponsorLink":"")+" "+(e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"class",l),5&t&&c!==(c=(e[2]?"FooterSponsorLink":"")+" "+(e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"part",c),6815745&t&&u!==(u=e[19]?e[0]:e[21]+`/${e[22]}/`+e[0])&&D(r,"href",u),262144&t&&D(r,"target",e[18])},d(e){e&&T(n),h&&h.d()}}}function pe(e){let n,r;return{c(){n=x("p"),r=t(e[11]),D(n,"class","HelperTitle"),D(n,"part","HelperTitle")},m(e,t){k(e,n,t),S(n,r)},p(e,t){2048&t&&L(r,e[11])},d(e){e&&T(n)}}}function me(e){let n,r;return{c(){n=x("p"),r=t(e[5]),D(n,"class","PaymentTitle"),D(n,"part","PaymentTitle")},m(e,t){k(e,n,t),S(n,r)},p(e,t){32&t&&L(r,e[5])},d(e){e&&T(n)}}}function ge(e){let n,r;return{c(){n=x("p"),r=t(e[2]),D(n,"class","SponsorTitle"),D(n,"part","SponsorTitle")},m(e,t){k(e,n,t),S(n,r)},p(e,t){4&t&&L(r,e[2])},d(e){e&&T(n)}}}function ye(n){let r;function i(e){return e[1]?fe:e[4]?de:e[7]?he:e[10]?ue:e[13]?oe:e[16]?ie:void 0}let o=i(n),s=o&&o(n);return{c(){r=x("div"),s&&s.c(),this.c=g,D(r,"class","ThumbnailContainer"),D(r,"part","ThumbnailContainer")},m(e,t){k(e,r,t),s&&s.m(r,null),n[26](r)},p(e,[t]){o===(o=i(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r,null)))},i:g,o:g,d(e){e&&T(r),s&&s.d(),n[26](null)}}}function be(e,t,n){let r,{sponsorurl:i=""}=t,{sponsorimage:o=""}=t,{sponsortitle:s=""}=t,{paymenturl:a=""}=t,{paymentimage:l=""}=t,{paymenttitle:c=""}=t,{vendorurl:u=""}=t,{vendorimage:h=""}=t,{vendortitle:d=""}=t,{helperlinkurl:f=""}=t,{helperlinkimage:p=""}=t,{helperlinktitle:m=""}=t,{licenseurl:g=""}=t,{licenseimage:y=""}=t,{licensetitle:b=""}=t,{sociallinkurl:_=""}=t,{sociallinkimage:v=""}=t,{sociallinktitle:w=""}=t,{target:S="_self"}=t,{linktype:k="false"}=t,{displaycolumn:T=""}=t,{baseurl:E=""}=t,{lang:x=""}=t,{clientstyling:M=""}=t,{clientstylingurl:D=""}=t;return e.$$set=e=>{"sponsorurl"in e&&n(0,i=e.sponsorurl),"sponsorimage"in e&&n(1,o=e.sponsorimage),"sponsortitle"in e&&n(2,s=e.sponsortitle),"paymenturl"in e&&n(3,a=e.paymenturl),"paymentimage"in e&&n(4,l=e.paymentimage),"paymenttitle"in e&&n(5,c=e.paymenttitle),"vendorurl"in e&&n(6,u=e.vendorurl),"vendorimage"in e&&n(7,h=e.vendorimage),"vendortitle"in e&&n(8,d=e.vendortitle),"helperlinkurl"in e&&n(9,f=e.helperlinkurl),"helperlinkimage"in e&&n(10,p=e.helperlinkimage),"helperlinktitle"in e&&n(11,m=e.helperlinktitle),"licenseurl"in e&&n(12,g=e.licenseurl),"licenseimage"in e&&n(13,y=e.licenseimage),"licensetitle"in e&&n(14,b=e.licensetitle),"sociallinkurl"in e&&n(15,_=e.sociallinkurl),"sociallinkimage"in e&&n(16,v=e.sociallinkimage),"sociallinktitle"in e&&n(17,w=e.sociallinktitle),"target"in e&&n(18,S=e.target),"linktype"in e&&n(19,k=e.linktype),"displaycolumn"in e&&n(20,T=e.displaycolumn),"baseurl"in e&&n(21,E=e.baseurl),"lang"in e&&n(22,x=e.lang),"clientstyling"in e&&n(24,M=e.clientstyling),"clientstylingurl"in e&&n(25,D=e.clientstylingurl)},e.$$.update=()=>{if(25165824&e.$$.dirty&&M&&r){let e=document.createElement("style");e.innerHTML=M,r.appendChild(e)}if(41943040&e.$$.dirty&&D&&r){let e=new URL(D),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[i,o,s,a,l,c,u,h,d,f,p,m,g,y,b,_,v,w,S,k,T,E,x,r,M,D,function(e){se[e?"unshift":"push"](()=>{r=e,n(23,r)})}]}function _e(e,t,n){const r=e.slice();return r[31]=t[n],r}function ve(e,t,n){const r=e.slice();return r[31]=t[n],r}function we(e,t,n){const r=e.slice();return r[31]=t[n],r}function Se(e,t,n){const r=e.slice();return r[31]=t[n],r}function ke(e,t,n){const r=e.slice();return r[28]=t[n],r}function Te(e,t,n){const r=e.slice();return r[25]=t[n],r}function Ee(t){let i,o=t[17],s=[];for(let e=0;e<o.length;e+=1)s[e]=Fe(_e(t,o,e));return{c(){i=x("div");for(let e=0;e<s.length;e+=1)s[e].c();D(i,"class","FooterSectionInnerContainer"),D(i,"part","FooterSectionInnerContainer")},m(e,t){k(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(132992&n[0]){let e;for(o=t[17],e=0;e<o.length;e+=1){var r=_e(t,o,e);s[e]?s[e].p(r,n):(s[e]=Fe(r),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){e&&T(i),E(s,e)}}}function xe(t){let i,o=t[16],s=[];for(let e=0;e<o.length;e+=1)s[e]=Pe(ve(t,o,e));return{c(){i=x("div");for(let e=0;e<s.length;e+=1)s[e].c();D(i,"class","FooterSectionInnerContainer"),D(i,"part","FooterSectionInnerContainer")},m(e,t){k(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(67456&n[0]){let e;for(o=t[16],e=0;e<o.length;e+=1){var r=ve(t,o,e);s[e]?s[e].p(r,n):(s[e]=Pe(r),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){e&&T(i),E(s,e)}}}function Me(t){let i,e,o=t[15],s=[];for(let e=0;e<o.length;e+=1)s[e]=$e(we(t,o,e));return{c(){i=x("div");for(let e=0;e<s.length;e+=1)s[e].c();D(i,"class",e="FooterSectionInnerContainer "+("true"==t[6]?"DisplayColumn":"")),D(i,"part","FooterSectionInnerContainer")},m(e,t){k(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(34752&n[0]){let e;for(o=t[15],e=0;e<o.length;e+=1){var r=we(t,o,e);s[e]?s[e].p(r,n):(s[e]=$e(r),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}64&n[0]&&e!==(e="FooterSectionInnerContainer "+("true"==t[6]?"DisplayColumn":""))&&D(i,"class",e)},d(e){e&&T(i),E(s,e)}}}function De(t){let i,o=t[14],s=[];for(let e=0;e<o.length;e+=1)s[e]=Ae(Se(t,o,e));return{c(){i=x("div");for(let e=0;e<s.length;e+=1)s[e].c();D(i,"class","FooterSectionInnerContainer"),D(i,"part","FooterSectionInnerContainer")},m(e,t){k(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(18304&n[0]){let e;for(o=t[14],e=0;e<o.length;e+=1){var r=Se(t,o,e);s[e]?s[e].p(r,n):(s[e]=Ae(r),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){e&&T(i),E(s,e)}}}function Le(t){let i,o=t[13],s=[];for(let e=0;e<o.length;e+=1)s[e]=He(ke(t,o,e));return{c(){i=x("div");for(let e=0;e<s.length;e+=1)s[e].c();D(i,"class","FooterSectionInnerContainer"),D(i,"part","FooterSectionInnerContainer")},m(e,t){k(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(10112&n[0]){let e;for(o=t[13],e=0;e<o.length;e+=1){var r=ke(t,o,e);s[e]?s[e].p(r,n):(s[e]=He(r),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){e&&T(i),E(s,e)}}}function Oe(t){let i,o=t[12],s=[];for(let e=0;e<o.length;e+=1)s[e]=Ce(Te(t,o,e));return{c(){i=x("div");for(let e=0;e<s.length;e+=1)s[e].c();D(i,"class","FooterSectionInnerContainer"),D(i,"part","FooterSectionInnerContainer")},m(e,t){k(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(6016&n[0]){let e;for(o=t[12],e=0;e<o.length;e+=1){var r=Te(t,o,e);s[e]?s[e].p(r,n):(s[e]=Ce(r),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){e&&T(i),E(s,e)}}}function Fe(e){let n,r,i,o,s,a;return{c(){l(n=x("casino-footer-thumbnail"),"sociallinkurl",r=e[31].socialLinkUrl),l(n,"sociallinkimage",i=e[31].socialLinkImage),l(n,"sociallinktitle",o=e[31].socialLinkTitle),l(n,"clientstyling",e[9]),l(n,"clientstylingurl",e[10]),l(n,"linktype",s=e[31]?.isExternalLink),l(n,"target",a=e[31]?.target),l(n,"baseurl",e[7]),l(n,"lang",e[8])},m(e,t){k(e,n,t)},p(e,t){131072&t[0]&&r!==(r=e[31].socialLinkUrl)&&l(n,"sociallinkurl",r),131072&t[0]&&i!==(i=e[31].socialLinkImage)&&l(n,"sociallinkimage",i),131072&t[0]&&o!==(o=e[31].socialLinkTitle)&&l(n,"sociallinktitle",o),512&t[0]&&l(n,"clientstyling",e[9]),1024&t[0]&&l(n,"clientstylingurl",e[10]),131072&t[0]&&s!==(s=e[31]?.isExternalLink)&&l(n,"linktype",s),131072&t[0]&&a!==(a=e[31]?.target)&&l(n,"target",a),128&t[0]&&l(n,"baseurl",e[7]),256&t[0]&&l(n,"lang",e[8])},d(e){e&&T(n)}}}function Pe(e){let n,r,i,o,s,a;return{c(){l(n=x("casino-footer-thumbnail"),"licenseurl",r=e[31].licenseUrl),l(n,"licenseimage",i=e[31].licenseImage),l(n,"licensetitle",o=e[31].licenseTitle),l(n,"clientstyling",e[9]),l(n,"clientstylingurl",e[10]),l(n,"linktype",s=e[31]?.isExternalLink),l(n,"target",a=e[31]?.target),l(n,"baseurl",e[7]),l(n,"lang",e[8])},m(e,t){k(e,n,t)},p(e,t){65536&t[0]&&r!==(r=e[31].licenseUrl)&&l(n,"licenseurl",r),65536&t[0]&&i!==(i=e[31].licenseImage)&&l(n,"licenseimage",i),65536&t[0]&&o!==(o=e[31].licenseTitle)&&l(n,"licensetitle",o),512&t[0]&&l(n,"clientstyling",e[9]),1024&t[0]&&l(n,"clientstylingurl",e[10]),65536&t[0]&&s!==(s=e[31]?.isExternalLink)&&l(n,"linktype",s),65536&t[0]&&a!==(a=e[31]?.target)&&l(n,"target",a),128&t[0]&&l(n,"baseurl",e[7]),256&t[0]&&l(n,"lang",e[8])},d(e){e&&T(n)}}}function $e(e){let n,r,i,o,s,a;return{c(){l(n=x("casino-footer-thumbnail"),"helperlinkurl",r=e[31].helpLinkUrl),l(n,"helperlinkimage",i=e[31].helpLinkImage),l(n,"helperlinktitle",o=e[31].helpLinkTitle),l(n,"clientstyling",e[9]),l(n,"clientstylingurl",e[10]),l(n,"displaycolumn",e[6]),l(n,"linktype",s=e[31]?.helpLinkType),l(n,"target",a=e[31]?.target),l(n,"baseurl",e[7]),l(n,"lang",e[8])},m(e,t){k(e,n,t)},p(e,t){32768&t[0]&&r!==(r=e[31].helpLinkUrl)&&l(n,"helperlinkurl",r),32768&t[0]&&i!==(i=e[31].helpLinkImage)&&l(n,"helperlinkimage",i),32768&t[0]&&o!==(o=e[31].helpLinkTitle)&&l(n,"helperlinktitle",o),512&t[0]&&l(n,"clientstyling",e[9]),1024&t[0]&&l(n,"clientstylingurl",e[10]),64&t[0]&&l(n,"displaycolumn",e[6]),32768&t[0]&&s!==(s=e[31]?.helpLinkType)&&l(n,"linktype",s),32768&t[0]&&a!==(a=e[31]?.target)&&l(n,"target",a),128&t[0]&&l(n,"baseurl",e[7]),256&t[0]&&l(n,"lang",e[8])},d(e){e&&T(n)}}}function Ae(e){let n,r,i,o,s,a;return{c(){l(n=x("casino-footer-thumbnail"),"vendorurl",r=e[31].gameVendorUrl),l(n,"vendorimage",i=e[31].gameVendorImage),l(n,"vendortitle",o=e[31].gameVendorTitle),l(n,"clientstyling",e[9]),l(n,"clientstylingurl",e[10]),l(n,"linktype",s=e[31]?.isExternalLink),l(n,"target",a=e[31]?.target),l(n,"baseurl",e[7]),l(n,"lang",e[8])},m(e,t){k(e,n,t)},p(e,t){16384&t[0]&&r!==(r=e[31].gameVendorUrl)&&l(n,"vendorurl",r),16384&t[0]&&i!==(i=e[31].gameVendorImage)&&l(n,"vendorimage",i),16384&t[0]&&o!==(o=e[31].gameVendorTitle)&&l(n,"vendortitle",o),512&t[0]&&l(n,"clientstyling",e[9]),1024&t[0]&&l(n,"clientstylingurl",e[10]),16384&t[0]&&s!==(s=e[31]?.isExternalLink)&&l(n,"linktype",s),16384&t[0]&&a!==(a=e[31]?.target)&&l(n,"target",a),128&t[0]&&l(n,"baseurl",e[7]),256&t[0]&&l(n,"lang",e[8])},d(e){e&&T(n)}}}function He(e){let n,r,i,o,s,a;return{c(){l(n=x("casino-footer-thumbnail"),"paymenturl",r=e[28].paymentMethodUrl),l(n,"paymentimage",i=e[28].paymentMethodImage),l(n,"paymenttitle",o=e[28].paymentMethodTitle),l(n,"clientstyling",e[9]),l(n,"clientstylingurl",e[10]),l(n,"linktype",s=e[28]?.isExternalLink),l(n,"target",a=e[28]?.target),l(n,"baseurl",e[7]),l(n,"lang",e[8])},m(e,t){k(e,n,t)},p(e,t){8192&t[0]&&r!==(r=e[28].paymentMethodUrl)&&l(n,"paymenturl",r),8192&t[0]&&i!==(i=e[28].paymentMethodImage)&&l(n,"paymentimage",i),8192&t[0]&&o!==(o=e[28].paymentMethodTitle)&&l(n,"paymenttitle",o),512&t[0]&&l(n,"clientstyling",e[9]),1024&t[0]&&l(n,"clientstylingurl",e[10]),8192&t[0]&&s!==(s=e[28]?.isExternalLink)&&l(n,"linktype",s),8192&t[0]&&a!==(a=e[28]?.target)&&l(n,"target",a),128&t[0]&&l(n,"baseurl",e[7]),256&t[0]&&l(n,"lang",e[8])},d(e){e&&T(n)}}}function Ce(e){let n,r,i,o,s,a;return{c(){l(n=x("casino-footer-thumbnail"),"sponsorurl",r=e[25].sponsorUrl),l(n,"sponsorimage",i=e[25].sponsorImage),l(n,"sponsortitle",o=e[25].sponsorTitle),l(n,"clientstyling",e[9]),l(n,"clientstylingurl",e[10]),l(n,"linktype",s=e[25]?.isExternalLink),l(n,"target",a=e[25]?.target),l(n,"baseurl",e[7]),l(n,"lang",e[8])},m(e,t){k(e,n,t)},p(e,t){4096&t[0]&&r!==(r=e[25].sponsorUrl)&&l(n,"sponsorurl",r),4096&t[0]&&i!==(i=e[25].sponsorImage)&&l(n,"sponsorimage",i),4096&t[0]&&o!==(o=e[25].sponsorTitle)&&l(n,"sponsortitle",o),512&t[0]&&l(n,"clientstyling",e[9]),1024&t[0]&&l(n,"clientstylingurl",e[10]),4096&t[0]&&s!==(s=e[25]?.isExternalLink)&&l(n,"linktype",s),4096&t[0]&&a!==(a=e[25]?.target)&&l(n,"target",a),128&t[0]&&l(n,"baseurl",e[7]),256&t[0]&&l(n,"lang",e[8])},d(e){e&&T(n)}}}function Ie(n){let r;function i(e){return e[0]&&e[12].length?Oe:e[1]&&e[13].length?Le:e[2]&&e[14].length?De:e[3]&&e[15].length?Me:e[4]&&e[16].length?xe:e[5]&&e[17].length?Ee:void 0}let o=i(n),s=o&&o(n);return{c(){r=x("div"),s&&s.c(),this.c=g,D(r,"class","FooterSectionContainer"),D(r,"part","FooterSectionContainer")},m(e,t){k(e,r,t),s&&s.m(r,null),n[21](r)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r,null)))},i:g,o:g,d(e){e&&T(r),s&&s.d(),n[21](null)}}}function Re(e,t,n){let r,{sponsorflag:i=""}=t,{paymentflag:o=""}=t,{vendorflag:s=""}=t,{helperflag:a=""}=t,{licenseflag:l=""}=t,{socialflag:c=""}=t,{target:u=""}=t,{displaycolumn:h=""}=t,{category:d=""}=t,{baseurl:f=""}=t,{lang:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{footertype:y=""}=t,b=[],_=[],v=[],w=[],S=[],k=[];const T=e=>{e.data&&"FooterData"===e.data.type&&(n(12,b=e.data.sponsorsRepeater),n(13,_=e.data.paymentMethodsRepeater),n(14,v=e.data.gameVendorsRepeater),n(15,w=e.data.helpLinksRepeater),n(16,S=e.data.licensesRepeater),n(17,k=e.data.socialLinksRepeater),d&&n(15,w=w.filter(e=>e.key==d)),"footersecondary"===y&&n(15,w=w[0].value))};return ce(()=>(window.addEventListener("message",T,!1),()=>{window.removeEventListener("message",T)})),e.$$set=e=>{"sponsorflag"in e&&n(0,i=e.sponsorflag),"paymentflag"in e&&n(1,o=e.paymentflag),"vendorflag"in e&&n(2,s=e.vendorflag),"helperflag"in e&&n(3,a=e.helperflag),"licenseflag"in e&&n(4,l=e.licenseflag),"socialflag"in e&&n(5,c=e.socialflag),"target"in e&&n(18,u=e.target),"displaycolumn"in e&&n(6,h=e.displaycolumn),"category"in e&&n(19,d=e.category),"baseurl"in e&&n(7,f=e.baseurl),"lang"in e&&n(8,p=e.lang),"clientstyling"in e&&n(9,m=e.clientstyling),"clientstylingurl"in e&&n(10,g=e.clientstylingurl),"footertype"in e&&n(20,y=e.footertype)},e.$$.update=()=>{if(2560&e.$$.dirty[0]&&m&&r){let e=document.createElement("style");e.innerHTML=m,r.appendChild(e)}if(3072&e.$$.dirty[0]&&g&&r){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[i,o,s,a,l,c,h,f,p,m,g,r,b,_,v,w,S,k,u,d,y,function(e){se[e?"unshift":"push"](()=>{r=e,n(11,r)})}]}"function"==typeof HTMLElement&&(re=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(A).filter(y);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){v(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(v(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=g}$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)}}),customElements.get("casino-footer-thumbnail")||customElements.define("casino-footer-thumbnail",class extends re{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterItem{display:inline-block;padding:0 12px}.FooterItem .FooterSponsorLink,.FooterItem .FooterPaymentLink{display:block}.FooterItem .FooterSponsorLink{display:flex;align-items:center}.FooterItem .FooterPaymentLink,.FooterItem .FooterHelperLink{display:flex;align-items:center;justify-content:center}.FooterItem .FooterLinkDisabled{pointer-events:none;cursor:auto}.FooterItem .SponsorTitle,.FooterItem .PaymentTitle{font-size:9px;text-decoration:none;color:var(--emfe-w-color-gray-150, #828282);text-align:center}.FooterItem .HelperTitle{color:#111111;font-size:8px}.FooterItem.HelperLinkItem p{font-size:10px}.FooterItem .FooterItemAnchor{display:flex;flex-direction:column;gap:6px;text-decoration:none}.FooterItem.SocialItem .FooterItemAnchor{width:42px;height:42px}.SponsorTitle{margin:0}.FooterLink{display:block;text-align:center}.DisplayColumn .FooterItemAnchor{flex-direction:row}.DisplayColumn .FooterImage{height:16px;width:16px}.DisplayColumn.FooterItem.HelperLinkItem p{font-size:12px}@media only screen and (max-width: 768px){.FooterItem{padding:0 5px}.FooterItem.PaymentItem{padding:15px 5px}.FooterItem.GameVendorItem{padding:0 10px}}</style>",ne(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},be,ye,C,{sponsorurl:0,sponsorimage:1,sponsortitle:2,paymenturl:3,paymentimage:4,paymenttitle:5,vendorurl:6,vendorimage:7,vendortitle:8,helperlinkurl:9,helperlinkimage:10,helperlinktitle:11,licenseurl:12,licenseimage:13,licensetitle:14,sociallinkurl:15,sociallinkimage:16,sociallinktitle:17,target:18,linktype:19,displaycolumn:20,baseurl:21,lang:22,clientstyling:24,clientstylingurl:25},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),b()))}static get observedAttributes(){return["sponsorurl","sponsorimage","sponsortitle","paymenturl","paymentimage","paymenttitle","vendorurl","vendorimage","vendortitle","helperlinkurl","helperlinkimage","helperlinktitle","licenseurl","licenseimage","licensetitle","sociallinkurl","sociallinkimage","sociallinktitle","target","linktype","displaycolumn","baseurl","lang","clientstyling","clientstylingurl"]}get sponsorurl(){return this.$$.ctx[0]}set sponsorurl(e){this.$$set({sponsorurl:e}),b()}get sponsorimage(){return this.$$.ctx[1]}set sponsorimage(e){this.$$set({sponsorimage:e}),b()}get sponsortitle(){return this.$$.ctx[2]}set sponsortitle(e){this.$$set({sponsortitle:e}),b()}get paymenturl(){return this.$$.ctx[3]}set paymenturl(e){this.$$set({paymenturl:e}),b()}get paymentimage(){return this.$$.ctx[4]}set paymentimage(e){this.$$set({paymentimage:e}),b()}get paymenttitle(){return this.$$.ctx[5]}set paymenttitle(e){this.$$set({paymenttitle:e}),b()}get vendorurl(){return this.$$.ctx[6]}set vendorurl(e){this.$$set({vendorurl:e}),b()}get vendorimage(){return this.$$.ctx[7]}set vendorimage(e){this.$$set({vendorimage:e}),b()}get vendortitle(){return this.$$.ctx[8]}set vendortitle(e){this.$$set({vendortitle:e}),b()}get helperlinkurl(){return this.$$.ctx[9]}set helperlinkurl(e){this.$$set({helperlinkurl:e}),b()}get helperlinkimage(){return this.$$.ctx[10]}set helperlinkimage(e){this.$$set({helperlinkimage:e}),b()}get helperlinktitle(){return this.$$.ctx[11]}set helperlinktitle(e){this.$$set({helperlinktitle:e}),b()}get licenseurl(){return this.$$.ctx[12]}set licenseurl(e){this.$$set({licenseurl:e}),b()}get licenseimage(){return this.$$.ctx[13]}set licenseimage(e){this.$$set({licenseimage:e}),b()}get licensetitle(){return this.$$.ctx[14]}set licensetitle(e){this.$$set({licensetitle:e}),b()}get sociallinkurl(){return this.$$.ctx[15]}set sociallinkurl(e){this.$$set({sociallinkurl:e}),b()}get sociallinkimage(){return this.$$.ctx[16]}set sociallinkimage(e){this.$$set({sociallinkimage:e}),b()}get sociallinktitle(){return this.$$.ctx[17]}set sociallinktitle(e){this.$$set({sociallinktitle:e}),b()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),b()}get linktype(){return this.$$.ctx[19]}set linktype(e){this.$$set({linktype:e}),b()}get displaycolumn(){return this.$$.ctx[20]}set displaycolumn(e){this.$$set({displaycolumn:e}),b()}get baseurl(){return this.$$.ctx[21]}set baseurl(e){this.$$set({baseurl:e}),b()}get lang(){return this.$$.ctx[22]}set lang(e){this.$$set({lang:e}),b()}get clientstyling(){return this.$$.ctx[24]}set clientstyling(e){this.$$set({clientstyling:e}),b()}get clientstylingurl(){return this.$$.ctx[25]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),b()}}),customElements.get("casino-footer-section")||customElements.define("casino-footer-section",class extends re{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterSectionInnerContainer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.DisplayColumn{flex-direction:column;align-items:flex-start}</style>",ne(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Re,Ie,C,{sponsorflag:0,paymentflag:1,vendorflag:2,helperflag:3,licenseflag:4,socialflag:5,target:18,displaycolumn:6,category:19,baseurl:7,lang:8,clientstyling:9,clientstylingurl:10,footertype:20},null,[-1,-1]),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),b()))}static get observedAttributes(){return["sponsorflag","paymentflag","vendorflag","helperflag","licenseflag","socialflag","target","displaycolumn","category","baseurl","lang","clientstyling","clientstylingurl","footertype"]}get sponsorflag(){return this.$$.ctx[0]}set sponsorflag(e){this.$$set({sponsorflag:e}),b()}get paymentflag(){return this.$$.ctx[1]}set paymentflag(e){this.$$set({paymentflag:e}),b()}get vendorflag(){return this.$$.ctx[2]}set vendorflag(e){this.$$set({vendorflag:e}),b()}get helperflag(){return this.$$.ctx[3]}set helperflag(e){this.$$set({helperflag:e}),b()}get licenseflag(){return this.$$.ctx[4]}set licenseflag(e){this.$$set({licenseflag:e}),b()}get socialflag(){return this.$$.ctx[5]}set socialflag(e){this.$$set({socialflag:e}),b()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),b()}get displaycolumn(){return this.$$.ctx[6]}set displaycolumn(e){this.$$set({displaycolumn:e}),b()}get category(){return this.$$.ctx[19]}set category(e){this.$$set({category:e}),b()}get baseurl(){return this.$$.ctx[7]}set baseurl(e){this.$$set({baseurl:e}),b()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),b()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),b()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),b()}get footertype(){return this.$$.ctx[20]}set footertype(e){this.$$set({footertype:e}),b()}});var Be,Ne,a="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==a&&a,Ge="URLSearchParams"in a,Ye="Symbol"in a&&"iterator"in Symbol,Ue="FileReader"in a&&"Blob"in a&&function(){try{return new Blob,!0}catch(e){return!1}}(),je="FormData"in a,Ve="ArrayBuffer"in a;function We(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 ze(e){return e="string"!=typeof e?String(e):e}function Ze(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return Ye&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?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 Xe(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Ke(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function qe(e){var t=new FileReader,n=Ke(t);return t.readAsArrayBuffer(e),n}function Je(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Qe(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:Ue&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:je&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Ge&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Ve&&Ue&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Je(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Ve&&(ArrayBuffer.prototype.isPrototypeOf(e)||Ne(e))?this._bodyArrayBuffer=Je(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):Ge&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Ue&&(this.blob=function(){var e=Xe(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?Xe(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(qe)}),this.text=function(){var e,t,n=Xe(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,t=Ke(e=new FileReader),e.readAsText(n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},je&&(this.formData=function(){return this.text().then(tt)}),this.json=function(){return this.text().then(JSON.parse)},this}Ve&&(Be=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Ne=ArrayBuffer.isView||function(e){return e&&-1<Be.indexOf(Object.prototype.toString.call(e))}),c.prototype.append=function(e,t){e=We(e),t=ze(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},c.prototype.delete=function(e){delete this.map[We(e)]},c.prototype.get=function(e){return e=We(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(We(e))},c.prototype.set=function(e,t){this.map[We(e)]=ze(t)},c.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},c.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),Ze(n)},c.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Ze(t)},c.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Ze(n)},Ye&&(c.prototype[Symbol.iterator]=c.prototype.entries);var et=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function u(e,t){if(!(this instanceof u))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof u){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new c(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new c(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<et.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function tt(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function h(e,t){if(!(this instanceof h))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 c(t.headers),this.url=t.url||"",this._initBody(e)}u.prototype.clone=function(){return new u(this,{body:this._bodyInit})},Qe.call(u.prototype),Qe.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},h.error=function(){var e=new h(null,{status:0,statusText:""});return e.type="error",e};var nt=[301,302,303,307,308],rt=(h.redirect=function(e,t){if(-1===nt.indexOf(t))throw new RangeError("Invalid status code");return new h(null,{status:t,headers:{location:e}})},a.DOMException);try{new rt}catch(g){(rt=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),rt.prototype.constructor=rt}function it(r,s){return new Promise(function(i,e){var t=new u(r,s);if(t.signal&&t.signal.aborted)return e(new rt("Aborted","AbortError"));var o=new XMLHttpRequest;function n(){o.abort()}o.onload=function(){var e,n,t={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",n=new c,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 e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),n.append(t,e))}),n)},r=(t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL"),"response"in o?o.response:o.responseText);setTimeout(function(){i(new h(r,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){e(new rt("Aborted","AbortError"))},0)},o.open(t.method,function(t){try{return""===t&&a.location.href?a.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?o.withCredentials=!0:"omit"===t.credentials&&(o.withCredentials=!1),"responseType"in o&&(Ue?o.responseType="blob":Ve&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof c?t.headers.forEach(function(e,t){o.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){o.setRequestHeader(e,ze(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),o.onreadystatechange=function(){4===o.readyState&&t.signal.removeEventListener("abort",n)}),o.send(void 0===t._bodyInit?null:t._bodyInit)})}function Fn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}it.polyfill=!0,a.fetch||(a.fetch=it,a.Headers=c,a.Request=u,a.Response=h);var ot=self.fetch.bind(self),st=function(e,t){return(st=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 at(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}st(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function lt(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ct(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function ut(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function d(e){return"function"==typeof e}function ht(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 dt=ht(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 ft(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}n.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=lt(o),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);o=this.initialTeardown;if(d(o))try{o()}catch(e){i=e instanceof dt?e.errors:[e]}o=this._finalizers;if(o){this._finalizers=null;try{for(var l=lt(o),c=l.next();!c.done;c=l.next()){var u=c.value;try{yt(u)}catch(e){i=null!=i?i:[],e instanceof dt?i=ut(ut([],ct(i)),ct(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(i)throw new dt(i)}},n.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)yt(e);else{if(e instanceof n){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},n.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},n.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},n.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&ft(t,e)},n.prototype.remove=function(e){var t=this._finalizers;t&&ft(t,e),e instanceof n&&e._removeParent(this)},n.EMPTY=((r=new n).closed=!0,r);var pt=n,mt=pt.EMPTY;function n(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function gt(e){return e instanceof pt||e&&"closed"in e&&d(e.remove)&&d(e.add)&&d(e.unsubscribe)}function yt(e){d(e)?e():e.unsubscribe()}var bt=void 0,_t=!1,vt=!1,wt={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=wt.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,ut([e,t],ct(n))):setTimeout.apply(void 0,ut([e,t],ct(n)))},clearTimeout:function(e){var t=wt.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function St(){}var kt=null;function Tt(e){if(_t){var t=!kt;if(t&&(kt={errorThrown:!1,error:null}),e(),t){var t=kt,n=t.errorThrown,t=t.error;if(kt=null,n)throw t}}else e()}at(e,Et=pt),e.create=function(e,t,n){return new Ft(e,t,n)},e.prototype.next=function(e){this.isStopped||this._next(e)},e.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Et.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(e){this.destination.next(e)},e.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var Et,xt=e,Mt=Function.prototype.bind;function e(e){var t=Et.call(this)||this;return t.isStopped=!1,e?gt(t.destination=e)&&e.add(t):t.destination=Ht,t}function Dt(e,t){return Mt.call(e,t)}$t.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){At(e)}},$t.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){At(e)}else At(e)},$t.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){At(e)}};var Lt,Ot=$t,Ft=(at(Pt,Lt=xt),Pt);function Pt(e,t,n){var r=Lt.call(this)||this,n=d(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&vt?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&Dt(e.next,t),error:e.error&&Dt(e.error,t),complete:e.complete&&Dt(e.complete,t)}):e;return r.destination=new Ot(n),r}function $t(e){this.partialObserver=e}function At(e){var t=e;wt.setTimeout(function(){throw t})}var Ht={closed:!0,next:St,error:function(e){throw e},complete:St},r="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ct(e){return e}i.prototype.lift=function(e){var t=new i;return t.source=this,t.operator=e,t},i.prototype.subscribe=function(e,t,n){var r,i=this,o=(r=e)&&r instanceof xt||r&&d(r.next)&&d(r.error)&&d(r.complete)&&gt(r)?e:new Ft(e,t,n);return Tt(function(){var e=i.operator,t=i.source;o.add(e?e.call(o,t):t?i._subscribe(o):i._trySubscribe(o))}),o},i.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},i.prototype.forEach=function(r,e){var i=this;return new(e=Rt(e))(function(e,t){var n=new Ft({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});i.subscribe(n)})},i.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},i.prototype[r]=function(){return this},i.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?Ct:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},i.prototype.toPromise=function(e){var r=this;return new(e=Rt(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},i.create=function(e){return new i(e)};var It=i;function i(e){e&&(this._subscribe=e)}function Rt(e){return null!=(e=null!=e?e:bt)?e:Promise}var Bt,Nt,Gt,Yt=ht(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),r=(at(o,Gt=It),o.prototype.lift=function(e){var t=new Ut(this,this);return t.operator=e,t},o.prototype._throwIfClosed=function(){if(this.closed)throw new Yt},o.prototype.next=function(i){var o=this;Tt(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){o.currentObservers||(o.currentObservers=Array.from(o.observers));try{for(var n=lt(o.currentObservers),r=n.next();!r.done;r=n.next())r.value.next(i)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},o.prototype.error=function(t){var n=this;Tt(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)}})},o.prototype.complete=function(){var t=this;Tt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},o.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(o.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),o.prototype._trySubscribe=function(e){return this._throwIfClosed(),Gt.prototype._trySubscribe.call(this,e)},o.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},o.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?mt:(this.currentObservers=null,i.push(e),new pt(function(){t.currentObservers=null,ft(i,e)}))},o.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},o.prototype.asObservable=function(){var e=new It;return e.source=this,e},o.create=function(e,t){return new Ut(e,t)},o),Ut=(at(zt,Nt=r),zt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},zt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},zt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},zt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:mt},zt),jt={now:function(){return(jt.delegate||Date).now()},delegate:void 0},Vt=(at(Wt,Bt=r),Wt.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;n||(r.push(e),i||r.push(o.now()+t)),this._trimBuffer(),Bt.prototype.next.call(this,e)},Wt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},Wt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var o=t.now(),s=0,a=1;a<n.length&&n[a]<=o;a+=2)s=a;s&&n.splice(0,s+1)}},Wt);function Wt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=jt);var r=Bt.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function zt(e,t){var n=Nt.call(this)||this;return n.destination=e,n.source=t,n}function o(){var e=Gt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Zt=[],Xt={};const Kt=[];function qt(r,i=g){let o;const s=new Set;function a(e){if(C(r,e)&&(r=e,o)){const e=!Kt.length;for(const e of s)e[1](),Kt.push(e,r);if(e){for(let e=0;e<Kt.length;e+=2)Kt[e][0](Kt[e+1]);Kt.length=0}}}return{set:a,update:function(e){a(e(r))},subscribe:function(e,t=g){const n=[e,t];return s.add(n),1===s.size&&(o=i(a)||g),e(r),()=>{s.delete(n),0===s.size&&(o(),o=null)}}}}function Jt(e,a,t){const l=!Array.isArray(e),c=l?[e]:e,u=a.length<2;return{subscribe:qt(t,t=>{let n=!1;const r=[];let i=0,o=g;const s=()=>{var e;i||(o(),e=a(l?r[0]:r,t),u?t(e):o=y(e)?e:g)},e=c.map((e,t)=>B(e,e=>{r[t]=e,i&=~(1<<t),n&&s()},()=>{i|=1<<t}));return n=!0,s(),function(){v(e),o()}}).subscribe}}function Qt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===en));var t}var en="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function tn(e,t){return!1!==t.clone&&t.isMergeableObject(e)?an(Array.isArray(e)?[]:{},e,t):e}function nn(e,t,n){return e.concat(t).map(function(e){return tn(e,n)})}function rn(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function on(e,t){try{return t in e}catch(e){return!1}}function sn(r,i,o){var s={};return o.isMergeableObject(r)&&rn(r).forEach(function(e){s[e]=tn(r[e],o)}),rn(i).forEach(function(t){var e,n;(!on(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(on(r,t)&&o.isMergeableObject(i[t])?s[t]=function(e){if(!e.customMerge)return an;e=e.customMerge(t);return"function"==typeof e?e:an}(o)(r[t],i[t],o):s[t]=tn(i[t],o))}),s}function an(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||nn,n.isMergeableObject=n.isMergeableObject||Qt,n.cloneUnlessOtherwiseSpecified=tn;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):sn(e,t,n):tn(t,n)}an.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return an(e,t,n)},{});throw new Error("first argument should be an array")};var ln=an,cn=function(e,t){return(cn=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 un(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}cn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var m,_,hn,O=function(){return(O=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function dn(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function fn(e){return e.type===_.literal}function pn(e){return e.type===_.number}function mn(e){return e.type===_.date}function gn(e){return e.type===_.time}function yn(e){return e.type===_.select}function bn(e){return e.type===_.plural}function _n(e){return e.type===_.tag}function vn(e){return e&&"object"==typeof e&&e.type===hn.number}function wn(e){return e&&"object"==typeof e&&e.type===hn.dateTime}(r=m=m||{})[r.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",r[r.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",r[r.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",r[r.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",r[r.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",r[r.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",r[r.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",r[r.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",r[r.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",r[r.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",r[r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",r[r.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",r[r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",r[r.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",r[r.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",r[r.INVALID_TAG=23]="INVALID_TAG",r[r.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",r[r.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",r[r.UNCLOSED_TAG=27]="UNCLOSED_TAG",(r=_=_||{})[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound",r[r.tag=8]="tag",(r=hn=hn||{})[r.number=0]="number",r[r.dateTime=1]="dateTime";var r=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Sn=/(?:[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 kn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Tn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,En=/^(@+)?(\+|#+)?[rs]?$/g,xn=/(\*)(0+)|(#+)(0+)|(0+)/g,Mn=/^(0+)$/;function Dn(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(En,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function Ln(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 On(e){return Ln(e)||{}}function Pn(e){for(var s={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=i.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=i.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=O(O(O({},s),{notation:"scientific"}),i.options.reduce(function(e,t){return O(O({},e),On(t))},{}));continue;case"engineering":s=O(O(O({},s),{notation:"engineering"}),i.options.reduce(function(e,t){return O(O({},e),On(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(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(xn,function(e,t,n,r,i,o){if(t)s.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Mn.test(i.stem))s.minimumIntegerDigits=i.stem.length;else if(Tn.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Tn,function(e,t,n,r,i,o){return"*"===n?s.minimumFractionDigits=t.length:r&&"#"===r[0]?s.maximumFractionDigits=r.length:i&&o?(s.minimumFractionDigits=i.length,s.maximumFractionDigits=i.length+o.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""});var o=i.options[0];"w"===o?s=O(O({},s),{trailingZeroDisplay:"stripIfInteger"}):o&&(s=O(O({},s),Dn(o)))}else En.test(i.stem)?s=O(O({},s),Dn(i.stem)):((o=Ln(i.stem))&&(s=O(O({},s),o)),(r=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)),!Mn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(s=O(O({},s),r)))}return s}var $n={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var An=new RegExp("^".concat(r.source,"*")),Hn=new RegExp("".concat(r.source,"*$"));function F(e,t){return{start:e,end:t}}var r=!!String.prototype.startsWith,Cn=!!String.fromCodePoint,In=!!Object.fromEntries,Rn=!!String.prototype.codePointAt,Bn=!!String.prototype.trimStart,Nn=!!String.prototype.trimEnd,Gn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Yn=!0;try{Yn="a"===(null==(cr=qn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:cr[0])}catch(g){Yn=!1}var Un,jn,Vn=r?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Wn=Cn?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;o<i;){if(1114111<(n=e[o++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},zn=In?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],i=i[1];t[o]=i}return t},Zn=Rn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,r=e.length;if(!(t<0||r<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?n:r-56320+(n-55296<<10)+65536},Xn=Bn?function(e){return e.trimStart()}:function(e){return e.replace(An,"")},Kn=Nn?function(e){return e.trimEnd()}:function(e){return e.replace(Hn,"")};function qn(e,t){return new RegExp(e,t)}jn=Yn?(Un=qn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Un.lastIndex=t,null!=(t=Un.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var i=Zn(e,t);if(void 0===i||er(i)||(33<=(n=i)&&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;r.push(i),t+=65536<=i?2:1}return Wn.apply(void 0,r)};s.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},s.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,o=this.char();if(123===o){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(m.UNMATCHED_CLOSING_TAG,F(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Qn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{o=this.clonePosition();this.bump(),r.push({type:_.pound,location:F(o,this.clonePosition())})}}}return{val:r,err:null}},s.prototype.parseTag=function(e,t){var n=this.clonePosition(),r=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:_.literal,value:"<".concat(r,"/>"),location:F(n,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Qn(this.char()))return this.error(m.INVALID_TAG,F(e,this.clonePosition()));var i=this.clonePosition();return r!==this.parseTagName()?this.error(m.UNMATCHED_CLOSING_TAG,F(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:_.tag,value:r,children:t,location:F(n,this.clonePosition())},err:null}:this.error(m.INVALID_TAG,F(e,this.clonePosition())))}return this.error(m.UNCLOSED_TAG,F(n,this.clonePosition()))}return this.error(m.INVALID_TAG,F(n,this.clonePosition()))},s.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())},s.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=F(n,this.clonePosition());return{val:{type:_.literal,value:r,location:n},err:null}},s.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Qn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},s.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)},s.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))},s.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,F(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(m.EMPTY_ARGUMENT,F(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(m.MALFORMED_ARGUMENT,F(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,F(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:_.argument,value:r,location:F(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,F(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(m.MALFORMED_ARGUMENT,F(n,this.clonePosition()))}},s.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=jn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:F(e,this.clonePosition())}},s.prototype.parseArgumentOptions=function(e,t,n,r){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(m.EXPECT_ARGUMENT_TYPE,F(o,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((p=this.parseSimpleArgStyleIfPossible()).err)return p;if(0===(f=Kn(p.val)).length)return this.error(m.EXPECT_ARGUMENT_STYLE,F(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:F(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(r)).err)return c;var u=F(r,this.clonePosition());if(l&&Vn(null==l?void 0:l.style,"::",0)){var h=Xn(l.style.slice(2));if("number"===s)return(p=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?p:{val:{type:_.number,value:n,location:u,style:p.val},err:null};if(0===h.length)return this.error(m.EXPECT_DATE_TIME_SKELETON,u);var d=h,f=(this.locale&&(d=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),($n[t||""]||$n[n||""]||$n["".concat(n,"-001")]||$n["001"])[0]}(t);for("H"!=l&&"k"!=l||(a=0);0<a--;)n+="a";for(;0<s--;)n=l+n}else n+="J"===i?"H":i}return n}(h,this.locale)),{type:hn.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},d.replace(Sn,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.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":i.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":i.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":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.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":i.minute=["numeric","2-digit"][t-1];break;case"s":i.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":i.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""}),i):{}});return{val:{type:"date"===s?_.date:_.time,value:n,location:u,style:f},err:null}}return{val:{type:"number"===s?_.number:"date"===s?_.date:_.time,value:n,location:u,style:null!=(h=null==l?void 0:l.style)?h:null},err:null};case"plural":case"selectordinal":case"select":d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS,F(d,O({},d)));this.bumpSpace();var p,f=this.parseIdentifierIfPossible(),u=0;if("select"!==s&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,F(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(p=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return p;this.bumpSpace(),f=this.parseIdentifierIfPossible(),u=p.val}l=this.tryParsePluralOrSelectOptions(e,s,t,f);if(l.err)return l;if((c=this.tryParseArgumentClose(r)).err)return c;h=F(r,this.clonePosition());return"select"===s?{val:{type:_.select,value:n,options:zn(l.val),location:h},err:null}:{val:{type:_.plural,value:n,options:zn(l.val),offset:u,pluralType:"plural"===s?"cardinal":"ordinal",location:h},err:null};default:return this.error(m.INVALID_ARGUMENT_TYPE,F(o,a))}},s.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,F(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},s.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(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,F(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}},s.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,r=e.split(kn).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],i=i.slice(1),s=0,a=i;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:i})}return t}(e)}catch(e){return this.error(m.INVALID_NUMBER_SKELETON,t)}return{val:{type:hn.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Pn(n):{}},err:null}},s.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,o=[],s=new Set,a=r.value,l=r.location;;){if(0===a.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR,m.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=F(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(s.has(a))return this.error("select"===t?m.DUPLICATE_SELECT_ARGUMENT_SELECTOR:m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(i=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,F(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var h=this.tryParseArgumentClose(u);if(h.err)return h;o.push([a,{value:c.val,location:F(u,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===o.length?this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR:m.EXPECT_PLURAL_ARGUMENT_SELECTOR,F(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(m.MISSING_OTHER_CLAUSE,F(this.clonePosition(),this.clonePosition())):{val:o,err:null}},s.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;i=!0,o=10*o+(s-48),this.bump()}r=F(r,this.clonePosition());return i?Gn(o*=n)?{val:o,err:null}:this.error(t,r):this.error(e,r)},s.prototype.offset=function(){return this.position.offset},s.prototype.isEOF=function(){return this.offset()===this.message.length},s.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},s.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Zn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},s.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},s.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))},s.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},s.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},s.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},s.prototype.bumpSpace=function(){for(;!this.isEOF()&&er(this.char());)this.bump()},s.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var Jn=s;function s(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Qn(e){return 97<=e&&e<=122||65<=e&&e<=90}function er(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function tr(e,t){t=O({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Jn(e,t).parse();if(e.err)throw(n=SyntaxError(m[e.err.kind])).location=e.err.location,n.originalMessage=e.err.message,n;return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,yn(e)||bn(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else pn(e)&&vn(e.style)||(mn(e)||gn(e))&&wn(e.style)?delete e.style.location:_n(e)&&n(e.children)})}(e.val),e.val}function nr(e,t){var n=t&&t.cache?t.cache:ur,r=t&&t.serializer?t.serializer:sr;return(t&&t.strategy?t.strategy:function(e,t){return or(e,this,1===e.length?rr:ir,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function rr(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),i=t.get(n);return void 0===i&&(i=e.call(this,r),t.set(n,i)),i}function ir(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),i=t.get(n);return void 0===i&&(i=e.apply(this,r),t.set(n,i)),i}function or(e,t,n,r,i){return n.bind(t,e,r,i)}var sr=function(){return JSON.stringify(arguments)};function ar(){this.cache=Object.create(null)}ar.prototype.get=function(e){return this.cache[e]},ar.prototype.set=function(e,t){this.cache[e]=t};var lr,cr,ur={create:function(){return new ar}},hr={variadic:function(e,t){return or(e,this,ir,t.cache.create(),t.serializer)},monadic:function(e,t){return or(e,this,rr,t.cache.create(),t.serializer)}};(cr=lr=lr||{}).MISSING_VALUE="MISSING_VALUE",cr.INVALID_VALUE="INVALID_VALUE",cr.MISSING_INTL_API="MISSING_INTL_API";un(kr,mr=Error),kr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var P,dr,fr,pr,mr,gr=kr,yr=(un(Sr,pr=gr),Sr),br=(un(wr,fr=gr),wr),_r=(un(vr,dr=gr),vr);function vr(e,t){return dr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),lr.MISSING_VALUE,t)||this}function wr(e,t,n){return fr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),lr.INVALID_VALUE,n)||this}function Sr(e,t,n,r){return pr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),lr.INVALID_VALUE,r)||this}function kr(e,t,n){e=mr.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function Tr(e,t,n,r,i,o,s){if(1===e.length&&fn(e[0]))return[{type:P.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var u=c[l];if(fn(u))a.push({type:P.literal,value:u.value});else if(u.type===_.pound)"number"==typeof o&&a.push({type:P.literal,value:n.getNumberFormat(t).format(o)});else{var h=u.value;if(!(i&&h in i))throw new _r(h,s);h=i[h];if(u.type===_.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?P.literal:P.object,value:h});else if(mn(u)){var d="string"==typeof u.style?r.date[u.style]:wn(u.style)?u.style.parsedOptions:void 0;a.push({type:P.literal,value:n.getDateTimeFormat(t,d).format(h)})}else if(gn(u))d="string"==typeof u.style?r.time[u.style]:wn(u.style)?u.style.parsedOptions:r.time.medium,a.push({type:P.literal,value:n.getDateTimeFormat(t,d).format(h)});else if(pn(u))(d="string"==typeof u.style?r.number[u.style]:vn(u.style)?u.style.parsedOptions:void 0)&&d.scale&&(h*=d.scale||1),a.push({type:P.literal,value:n.getNumberFormat(t,d).format(h)});else{if(_n(u)){var f=u.children,p=u.value,m=i[p];if("function"!=typeof m)throw new br(p,"function",s);p=m(Tr(f,t,n,r,i,o).map(function(e){return e.value}));Array.isArray(p)||(p=[p]),a.push.apply(a,p.map(function(e){return{type:"string"==typeof e?P.literal:P.object,value:e}}))}if(yn(u)){if(!(g=u.options[h]||u.options.other))throw new yr(u.value,h,Object.keys(u.options),s);a.push.apply(a,Tr(g.value,t,n,r,i))}else if(bn(u)){if(!(g=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new gr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',lr.MISSING_INTL_API,s);var m=n.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),g=u.options[m]||u.options.other}if(!g)throw new yr(u.value,h,Object.keys(u.options),s);a.push.apply(a,Tr(g.value,t,n,r,i,h-(u.offset||0)))}}}}return(e=a).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===P.literal&&t.type===P.literal?n.value+=t.value:e.push(t),e},[])}function Er(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(r=P=P||{})[r.literal=0]="literal",r[r.object=1]="object",Object.defineProperty(f,"defaultLocale",{get:function(){return f.memoizedDefaultLocale||(f.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),f.memoizedDefaultLocale},enumerable:!1,configurable:!0}),f.memoizedDefaultLocale=null,f.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},f.__parse=tr,f.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"}}};var xr=f;function f(e,t,n,r){var i,o,s=this;if(void 0===t&&(t=f.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===P.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 Tr(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=t,this.resolvedLocale=f.resolveLocale(t),"string"==typeof e){if(this.message=e,!f.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=f.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=f.formats,(o=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=o[t])?O(O(O({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=O(O({},n[t]),r[t]||{}),e},{})):n),e},O({},i)):i),this.formatters=r&&r.formatters||{getNumberFormat:nr(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,dn([void 0],t,!1)))},{cache:Er((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:hr.variadic}),getDateTimeFormat:nr(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,dn([void 0],t,!1)))},{cache:Er(t.dateTime),strategy:hr.variadic}),getPluralRules:nr(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,dn([void 0],t,!1)))},{cache:Er(t.pluralRules),strategy:hr.variadic})}}const p={},Mr=(e,t,n)=>n&&(t in p||(p[t]={}),e in p[t]||(p[t][e]=n),n),Dr=(t,n)=>{if(null!=n){if(n in p&&t in p[n])return p[n][t];var r=jr(n);for(let e=0;e<r.length;e++){var i=function(e,n){if(!Fr(e))return null;e=function(e){return Lr[e]||null}(e);{var r=n;if(null==r)return;if(r in e)return e[r];const i=r.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const r=i.slice(e,i.length).join(".");if(r in t){t=t[r];break}}t=t[i[e]]}else t=void 0;return t}}(r[e],t);if(i)return Mr(t,n,i)}}};let Lr;const Or=qt({});function Fr(e){return e in Lr}function Pr(t,...n){delete p[t],Or.update(e=>(e[t]=ln.all([e[t]||{},...n]),e))}Jt([Or],([e])=>Object.keys(e)),Or.subscribe(e=>Lr=e);const $r={};function Ar(e){return $r[e]}function Hr(e){return null!=e&&jr(e).some(e=>{return null==(e=Ar(e))?void 0:e.size})}const Cr={};function Ir(e){if(!Hr(e))return e in Cr?Cr[e]:Promise.resolve();const t=jr(e).map(e=>{var t=Ar(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Cr[e]=Promise.all(t.map(([e,t])=>{{var r=e;e=t;const n=Promise.all(e.map(e=>{var t=r,n=e;return $r[t].delete(n),0===$r[t].size&&delete $r[t],e().then(e=>e.default||e)}));return n.then(e=>Pr(r,...e))}})).then(()=>{if(Hr(e))return Ir(e);delete Cr[e]}),Cr[e]}function Rr(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}const Br={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const Nr=qt(!1);let Gr;const Yr=qt(null);function Ur(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function jr(e,t=Br.fallbackLocale){e=Ur(e);return t?[...new Set([...e,...Ur(t)])]:e}function $(){return null!=Gr?Gr:void 0}Yr.subscribe(e=>{Gr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const ae=Object.assign(Object.assign({},Yr),{set:t=>{if(t&&function(e){if(null!=e){var t=jr(e);for(let e=0;e<t.length;e++){var n=t[e];if(Fr(n))return n}}}(t)&&Hr(t)){var n=Br["loadingDelay"];let e;return"undefined"!=typeof window&&null!=$()&&n?e=window.setTimeout(()=>Nr.set(!0),n):Nr.set(!0),Ir(t).then(()=>{Yr.set(t)}).finally(()=>{clearTimeout(e),Nr.set(!1)})}return Yr.set(t)}}),Vr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Wr=(e,t)=>{var n=Br["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},zr=Vr(e=>{var{locale:t,format:n}=e,e=Rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Wr("number",n)),new Intl.NumberFormat(t,e)}),Zr=Vr(e=>{var{locale:t,format:n}=e,e=Rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Wr("date",n):0===Object.keys(e).length&&(e=Wr("date","short")),new Intl.DateTimeFormat(t,e)}),Xr=Vr(e=>{var{locale:t,format:n}=e,e=Rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Wr("time",n):0===Object.keys(e).length&&(e=Wr("time","short")),new Intl.DateTimeFormat(t,e)}),Kr=Vr((e,t=$())=>new xr(e,t,Br.formats,{ignoreTag:Br.ignoreTag})),qr=Jt([ae,Or],()=>(e,t={})=>{var n,r;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:o,locale:s=$(),default:a}=i;if(null==s)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Dr(e,s);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(r=null!=(n=null==(n=(r=Br).handleMissingMessage)?void 0:n.call(r,{locale:s,id:e,defaultValue:a}))?n:a)?r:e;if(!o)return l;let c=l;try{c=Kr(l,s).format(o)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),Jr=(Jt([ae],()=>(e,t)=>((e={})=>{var{locale:t=$()}=e,e=Rr(e,["locale"]);return Xr(Object.assign({locale:t},e))})(t).format(e)),Jt([ae],()=>(e,t)=>((e={})=>{var{locale:t=$()}=e,e=Rr(e,["locale"]);return Zr(Object.assign({locale:t},e))})(t).format(e)),Jt([ae],()=>(e,t)=>((e={})=>{var{locale:t=$()}=e,e=Rr(e,["locale"]);return zr(Object.assign({locale:t},e))})(t).format(e)),Jt([ae,Or],()=>(e,t=$())=>Dr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Zt.indexOf(e)&&(t=new Vt(t),Xt[e]=t,Zt.push(e)),Xt[e]}},e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC");function Qr(e,t){Pr(e,t)}const ei={en:{panicButton:{panicButtonString:"Hold button for 3 seconds to take 24-hour timeout"}},"zh-hk":{panicButton:{panicButtonString:"长按3秒24小时即时锁定"}},fr:{panicButton:{panicButtonString:"Maintenez le bouton enfoncé pendant 3 secondes pour prendre un verrouillage instantané de 24 heures"}},ro:{panicButton:{panicButtonString:"Tine apasat 3 secunde pentru a lua o pauza de 24h"}},es:{panicButton:{panicButtonString:"Dar clic durante 3 segundos para tomar un descanso de 24 horas"}},de:{panicButton:{panicButtonString:"Button für 3 Sekunden drücken um eine 24-stündige Auszeit zu nehmen"}},hr:{panicButton:{panicButtonString:"Držite gumb 3 sekunde kako biste aktivirali vremensko ograničenje od 24 sata"}},sl:{panicButton:{panicButtonString:"Držite gumb 3 sekunde, da bi vzeli 24 urni premor"}},pl:{panicButton:{panicButtonString:"Przytrzymaj przycisk przez 3 sekundy, aby uzyskać 24-godzinny limit czasu"}}};function ti(n){let r,i,o,s,a,l=(n[0]||n[5]("panicButton.panicButtonString"))+"";return{c(){r=x("div"),i=x("div"),o=x("button"),s=t(l),this.c=g,D(o,"class","PanicButton "+("PC"!==Jr(n[6])?"PanicButtonMobile":"")),D(o,"part","PanicButton "+("PC"!==Jr(n[6])?"PanicButtonMobile":"")),U(o,"PanicButtonAnimation",n[4]),D(i,"class","PanicSection "+("PC"!==Jr(n[6])?"PanicSectionMobile":"")),D(i,"part","PanicSection "+("PC"!==Jr(n[6])?"PanicSectionMobile":"")),D(r,"class",a="true"==n[1]?"PanicButtonV2":"")},m(e,t){k(e,r,t),S(r,i),S(i,o),S(o,s),n[11](o),n[12](r)},p(e,[t]){33&t&&l!==(l=(e[0]||e[5]("panicButton.panicButtonString"))+"")&&L(s,l),16&t&&U(o,"PanicButtonAnimation",e[4]),2&t&&a!==(a="true"==e[1]?"PanicButtonV2":"")&&D(r,"class",a)},i:g,o:g,d(e){e&&T(r),n[11](null),n[12](null)}}}function ni(t,e,n){let r;le(t,qr,e=>n(5,r=e));let i,o,s,{lang:a="en"}=e,{customtext:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:u=""}=e,{alternativestyling:h=""}=e,{translationurl:d=""}=e,f=!1,p=0,m=window.navigator.userAgent;Object.keys(ei).forEach(e=>{Qr(e,ei[e])});const g=()=>{p=0,n(4,f=!0),s=setInterval(()=>{2<=++p&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(s),"function"==typeof gtag&&gtag("event","PanicButtonClicked",{context:"PanicButton"}))},1e3)},y=()=>{n(4,f=!1),clearInterval(s)};return ce(()=>()=>{n(4,f=!1),null!=i&&i.removeEventListener("mousedown",g),null!=i&&i.removeEventListener("touchstart",g),null!=i&&i.removeEventListener("mouseup",y),null!=i&&i.removeEventListener("touchend",y)}),t.$$set=e=>{"lang"in e&&n(7,a=e.lang),"customtext"in e&&n(0,l=e.customtext),"clientstyling"in e&&n(8,c=e.clientstyling),"clientstylingurl"in e&&n(9,u=e.clientstylingurl),"alternativestyling"in e&&n(1,h=e.alternativestyling),"translationurl"in e&&n(10,d=e.translationurl)},t.$$.update=()=>{var e;if(4&t.$$.dirty&&i&&(null!=i&&i.addEventListener("mousedown",g,!1),null!=i&&i.addEventListener("touchstart",g,!1),null!=i&&i.addEventListener("mouseup",y,!1),null!=i&&i.addEventListener("touchend",y,!1)),128&t.$$.dirty&&a&&(e=a,ae.set(e)),264&t.$$.dirty&&c&&o){let e=document.createElement("style");e.innerHTML=c,o.appendChild(e)}if(520&t.$$.dirty&&u&&o){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1)})}1024&t.$$.dirty&&d&&fetch(d).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Qr(e,t[e])})}).catch(e=>{console.log(e)})},[l,h,i,o,f,r,m,a,c,u,d,function(e){se[e?"unshift":"push"](()=>{i=e,n(2,i)})},function(e){se[e?"unshift":"push"](()=>{o=e,n(3,o)})}]}customElements.get("panic-button")||customElements.define("panic-button",class extends re{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}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{border-radius:5px;border:1px solid #D0046C;background-color:#D0046C;font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid #D0046C;background-color:#D0046C;width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:#D0046C;width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{border:1px solid #F57F17;background-color:#F57F17;width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid #F57F17;background-color:#F57F17;font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:#F57F17;width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}</style>',ne(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},ni,ti,C,{lang:7,customtext:0,clientstyling:8,clientstylingurl:9,alternativestyling:1,translationurl:10},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),b()))}static get observedAttributes(){return["lang","customtext","clientstyling","clientstylingurl","alternativestyling","translationurl"]}get lang(){return this.$$.ctx[7]}set lang(e){this.$$set({lang:e}),b()}get customtext(){return this.$$.ctx[0]}set customtext(e){this.$$set({customtext:e}),b()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(e){this.$$set({clientstyling:e}),b()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),b()}get alternativestyling(){return this.$$.ctx[1]}set alternativestyling(e){this.$$set({alternativestyling:e}),b()}get translationurl(){return this.$$.ctx[10]}set translationurl(e){this.$$set({translationurl:e}),b()}});ii=ri={path:void 0,exports:{},require:function(e,t){return Fn(null==t&&ri.path)}},ri.exports,ii.exports=function(){var C;function p(){return C.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function I(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function R(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(m(e,t))return;return 1}function a(e){return void 0===e}function B(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function N(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function G(e,t){for(var n=[],r=e.length,i=0;i<r;++i)n.push(t(e[i],i));return n}function Y(e,t){for(var n in t)m(t,n)&&(e[n]=t[n]);return m(t,"toString")&&(e.toString=t.toString),m(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,r){return Ft(e,t,n,r,!0).utc()}function g(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 U(e){if(null==e._isValid){var t=g(e),n=V.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 j(e){var t=c(NaN);return null!=e?Y(g(t),e):g(t).userInvalidated=!0,t}var V=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},W=p.momentProperties=[],z=!1;function Z(e,t){var n,r,i,o=W.length;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=g(t)),a(t._locale)||(e._locale=t._locale),0<o)for(n=0;n<o;n++)a(i=t[r=W[n]])||(e[r]=i);return e}function X(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===z&&(z=!0,p.updateOffset(this),z=!1)}function l(e){return e instanceof X||null!=e&&null!=e._isAMomentObject}function K(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(o,s){var a=!0;return Y(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,o),a){for(var e,t,n=[],r=arguments.length,i=0;i<r;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])m(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}K(o+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),a=!1}return s.apply(this,arguments)},s)}var q={};function J(e,t){null!=p.deprecationHandler&&p.deprecationHandler(e,t),q[e]||(K(t),q[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,r=Y({},e);for(n in t)m(t,n)&&(I(e[n])&&I(t[n])?(r[n]={},Y(r[n],e[n]),Y(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)m(e,n)&&!m(t,n)&&I(e[n])&&(r[n]=Y({},r[n]));return r}function ee(e){null!=e&&this.set(e)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)m(e,t)&&n.push(t);return n};function o(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var ne=/(\[[^\[]*\])|(\\)?([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,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ie={},oe={};function r(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(oe[e]=i),t&&(oe[t[0]]=function(){return o(i.apply(this,arguments),t[1],t[2])}),n&&(oe[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function se(e,t){return e.isValid()?(t=ae(t,e.localeData()),ie[t]=ie[t]||function(r){for(var e,i=r.match(ne),t=0,o=i.length;t<o;t++)oe[i[t]]?i[t]=oe[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<o;n++)t+=u(i[n])?i[n].call(e,r):i[n];return t}}(t),ie[t](e)):e.localeData().invalidDate()}function ae(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(re.lastIndex=0;0<=n&&re.test(e);)e=e.replace(re,r),re.lastIndex=0,--n;return e}var le={};function t(e,t){var n=e.toLowerCase();le[n]=le[n+"s"]=le[t]=e}function h(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,n,r={};for(n in e)m(e,n)&&(t=h(n))&&(r[t]=e[n]);return r}var ue={};function n(e,t){ue[e]=t}function he(e){return e%4==0&&e%100!=0||e%400==0}function d(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function f(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?d(e):t}function de(t,n){return function(e){return null!=e?(pe(this,t,e),p.updateOffset(this,n),this):fe(this,t)}}function fe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&he(e.year())&&1===e.month()&&29===e.date()?(n=f(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ae(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var i=/\d/,y=/\d\d/,me=/\d{3}/,ge=/\d{4}/,ye=/[+-]?\d{6}/,b=/\d\d?/,be=/\d\d\d\d?/,_e=/\d\d\d\d\d\d?/,ve=/\d{1,3}/,we=/\d{1,4}/,Se=/[+-]?\d{1,6}/,ke=/\d+/,Te=/[+-]?\d+/,Ee=/Z|[+-]\d\d:?\d\d/gi,xe=/Z|[+-]\d\d(?::?\d\d)?/gi,_=/[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 v(e,n,r){De[e]=u(n)?n:function(e,t){return e&&r?r:n}}function Me(e,t){return m(De,e)?De[e](t._strict,t._locale):new RegExp(w(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function w(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var De={},Le={};function S(e,n){var t,r,i=n;for("string"==typeof e&&(e=[e]),B(n)&&(i=function(e,t){t[n]=f(e)}),r=e.length,t=0;t<r;t++)Le[e[t]]=i}function Oe(e,i){S(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var k,T=0,E=1,x=2,M=3,D=4,L=5,Fe=6,Pe=7,$e=8;function Ae(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?he(e)?29:28:31-n%7%2}k=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),v("M",b),v("MM",b,y),v("MMM",function(e,t){return t.monthsShortRegex(e)}),v("MMMM",function(e,t){return t.monthsRegex(e)}),S(["M","MM"],function(e,t){t[E]=f(e)-1}),S(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[E]=r:g(n).invalidMonth=e});var He="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ce="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ie=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Re=_,Be=_;function Ne(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=f(t);else if(!B(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Ae(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function Ge(e){return null!=e?(Ne(this,e),p.updateOffset(this,!0),this):fe(this,"Month")}function Ye(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],o=0;o<12;o++)t=c([2e3,o]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),o=0;o<12;o++)n[o]=w(n[o]),r[o]=w(r[o]);for(o=0;o<24;o++)i[o]=w(i[o]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ue(e){return he(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?o(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),v("Y",Te),v("YY",b,y),v("YYYY",we,ge),v("YYYYY",Se,ye),v("YYYYYY",Se,ye),S(["YYYYY","YYYYYY"],T),S("YYYY",function(e,t){t[T]=2===e.length?p.parseTwoDigitYear(e):f(e)}),S("YY",function(e,t){t[T]=p.parseTwoDigitYear(e)}),S("Y",function(e,t){t[T]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return f(e)+(68<f(e)?1900:2e3)};var je=de("FullYear",!0);function Ve(e,t,n,r,i,o,s){var a;return e<100&&0<=e?(a=new Date(e+400,t,n,r,i,o,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,r,i,o,s),a}function We(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 ze(e,t,n){n=7+t-n;return-(7+We(e,0,n).getUTCDay()-t)%7+n-1}function Ze(e,t,n,r,i){var o,t=1+7*(t-1)+(7+n-r)%7+ze(e,r,i),n=t<=0?Ue(o=e-1)+t:t>Ue(e)?(o=e+1,t-Ue(e)):(o=e,t);return{year:o,dayOfYear:n}}function Xe(e,t,n){var r,i,o=ze(e.year(),t,n),o=Math.floor((e.dayOfYear()-o-1)/7)+1;return o<1?r=o+O(i=e.year()-1,t,n):o>O(e.year(),t,n)?(r=o-O(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function O(e,t,n){var r=ze(e,t,n),t=ze(e+1,t,n);return(Ue(e)-r+t)/7}r("w",["ww",2],"wo","week"),r("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),v("w",b),v("ww",b,y),v("W",b),v("WW",b,y),Oe(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=f(e)});function Ke(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),v("d",b),v("e",b),v("E",b),v("dd",function(e,t){return t.weekdaysMinRegex(e)}),v("ddd",function(e,t){return t.weekdaysShortRegex(e)}),v("dddd",function(e,t){return t.weekdaysRegex(e)}),Oe(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:g(n).invalidWeekday=e}),Oe(["d","e","E"],function(e,t,n,r){t[r]=f(e)});var qe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=_,tt=_,nt=_;function rt(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],o=[],s=[],a=[],l=0;l<7;l++)r=c([2e3,1]).day(l),t=w(this.weekdaysMin(r,"")),n=w(this.weekdaysShort(r,"")),r=w(this.weekdays(r,"")),i.push(t),o.push(n),s.push(r),a.push(t),a.push(n),a.push(r);i.sort(e),o.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("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function it(){return this.hours()%12||12}function ot(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function st(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,it),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+it.apply(this)+o(this.minutes(),2)}),r("hmmss",0,0,function(){return""+it.apply(this)+o(this.minutes(),2)+o(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+o(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+o(this.minutes(),2)+o(this.seconds(),2)}),ot("a",!0),ot("A",!1),t("hour","h"),n("hour",13),v("a",st),v("A",st),v("H",b),v("h",b),v("k",b),v("HH",b,y),v("hh",b,y),v("kk",b,y),v("hmm",be),v("hmmss",_e),v("Hmm",be),v("Hmmss",_e),S(["H","HH"],M),S(["k","kk"],function(e,t,n){e=f(e);t[M]=24===e?0:e}),S(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),S(["h","hh"],function(e,t,n){t[M]=f(e),g(n).bigHour=!0}),S("hmm",function(e,t,n){var r=e.length-2;t[M]=f(e.substr(0,r)),t[D]=f(e.substr(r)),g(n).bigHour=!0}),S("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[M]=f(e.substr(0,r)),t[D]=f(e.substr(r,2)),t[L]=f(e.substr(i)),g(n).bigHour=!0}),S("Hmm",function(e,t,n){var r=e.length-2;t[M]=f(e.substr(0,r)),t[D]=f(e.substr(r))}),S("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[M]=f(e.substr(0,r)),t[D]=f(e.substr(r,2)),t[L]=f(e.substr(i))});_=de("Hours",!0);var at,lt={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:He,monthsShort:Ce,week:{dow:0,doy:6},weekdays:qe,weekdaysMin:Qe,weekdaysShort:Je,meridiemParse:/[ap]\.?m?\.?/i},F={},ct={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function ht(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=ut(e[o]).split("-")).length,n=(n=ut(e[o+1]))?n.split("-"):null;0<t;){if(r=dt(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}o++}return at}function dt(t){var e;if(void 0===F[t]&&ii&&ii.exports&&null!=t.match("^[^/\\\\]*$"))try{e=at._abbr,Fn(),ft(e)}catch(e){F[t]=null}return F[t]}function ft(e,t){return e&&((t=a(t)?P(e):pt(e,t))?at=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),at._abbr}function pt(e,t){if(null===t)return delete F[e],null;var n,r=lt;if(t.abbr=e,null!=F[e])J("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."),r=F[e]._config;else if(null!=t.parentLocale)if(null!=F[t.parentLocale])r=F[t.parentLocale]._config;else{if(null==(n=dt(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;r=n._config}return F[e]=new ee(Q(r,t)),ct[e]&&ct[e].forEach(function(e){pt(e.name,e.config)}),ft(e),F[e]}function P(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return at;if(!s(e)){if(t=dt(e))return t;e=[e]}return ht(e)}function mt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[E]<0||11<t[E]?E:t[x]<1||t[x]>Ae(t[T],t[E])?x:t[M]<0||24<t[M]||24===t[M]&&(0!==t[D]||0!==t[L]||0!==t[Fe])?M:t[D]<0||59<t[D]?D:t[L]<0||59<t[L]?L:t[Fe]<0||999<t[Fe]?Fe:-1,g(e)._overflowDayOfYear&&(t<T||x<t)&&(t=x),g(e)._overflowWeeks&&-1===t&&(t=Pe),g(e)._overflowWeekday&&-1===t&&(t=$e),g(e).overflow=t),e}var gt=/^\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)?)?$/,yt=/^\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)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,_t=[["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]],vt=[["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/]],wt=/^\/?Date\((-?\d+)/i,St=/^(?:(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}))$/,kt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Tt(e){var t,n,r,i,o,s,a=e._i,l=gt.exec(a)||yt.exec(a),a=_t.length,c=vt.length;if(l){for(g(e).iso=!0,t=0,n=a;t<n;t++)if(_t[t][1].exec(l[1])){i=_t[t][0],r=!1!==_t[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(vt[t][1].exec(l[3])){o=(l[2]||" ")+vt[t][0];break}if(null==o)return e._isValid=!1}if(!r&&null!=o)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;s="Z"}e._f=i+(o||"")+(s||""),Lt(e)}else e._isValid=!1}function Et(e,t,n,r,i,o){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Ce.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&e.push(parseInt(o,10)),e}function xt(e){var t,n,r,i,o=St.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=Et(o[4],o[3],o[2],o[5],o[6],o[7]),n=o[1],r=t,i=e,n&&Je.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(g(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=o[8],r=o[9],i=o[10],n?kt[n]:r?0:((n=parseInt(i,10))-(r=n%100))/100*60+r),e._d=We.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function Mt(e,t,n){return null!=e?e:null!=t?t:n}function Dt(e){var t,n,r,i,o,s,a,l,c,u,h,d=[];if(!e._d){for(u=e,h=new Date(p.now()),n=u._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[x]&&null==e._a[E]&&(null!=(h=(u=e)._w).GG||null!=h.W||null!=h.E?(s=1,a=4,r=Mt(h.GG,u._a[T],Xe($(),1,4).year),i=Mt(h.W,1),((o=Mt(h.E,1))<1||7<o)&&(l=!0)):(s=u._locale._week.dow,a=u._locale._week.doy,c=Xe($(),s,a),r=Mt(h.gg,u._a[T],c.year),i=Mt(h.w,c.week),null!=h.d?((o=h.d)<0||6<o)&&(l=!0):null!=h.e?(o=h.e+s,(h.e<0||6<h.e)&&(l=!0)):o=s),i<1||i>O(r,s,a)?g(u)._overflowWeeks=!0:null!=l?g(u)._overflowWeekday=!0:(c=Ze(r,i,o,s,a),u._a[T]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(h=Mt(e._a[T],n[T]),(e._dayOfYear>Ue(h)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=We(h,0,e._dayOfYear),e._a[E]=l.getUTCMonth(),e._a[x]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=d[t]=n[t];for(;t<7;t++)e._a[t]=d[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[M]&&0===e._a[D]&&0===e._a[L]&&0===e._a[Fe]&&(e._nextDay=!0,e._a[M]=0),e._d=(e._useUTC?We:Ve).apply(null,d),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[M]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function Lt(e){if(e._f!==p.ISO_8601)if(e._f!==p.RFC_2822){e._a=[],g(e).empty=!0;for(var t,n,r,i=""+e._i,o=i.length,s=0,a=(n=ae(e._f,e._locale).match(ne)||[]).length,l=0;l<a;l++)r=n[l],(t=(i.match(Me(r,e))||[])[0])&&(0<(h=i.substr(0,i.indexOf(t))).length&&g(e).unusedInput.push(h),i=i.slice(i.indexOf(t)+t.length),s+=t.length),oe[r]?(t?g(e).empty=!1:g(e).unusedTokens.push(r),h=r,f=e,null!=(d=t)&&m(Le,h)&&Le[h](d,f._a,f,h)):e._strict&&!t&&g(e).unusedTokens.push(r);g(e).charsLeftOver=o-s,0<i.length&&g(e).unusedInput.push(i),e._a[M]<=12&&!0===g(e).bigHour&&0<e._a[M]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[M]=(o=e._locale,c=e._a[M],null==(u=e._meridiem)?c:null!=o.meridiemHour?o.meridiemHour(c,u):null!=o.isPM?((o=o.isPM(u))&&c<12&&(c+=12),c=o||12!==c?c:0):c),null!==(u=g(e).era)&&(e._a[T]=e._locale.erasConvertYear(u,e._a[T])),Dt(e),mt(e)}else xt(e);else Tt(e);var c,u,h,d,f}function Ot(e){var t,n=e._i,r=e._f;{var i,o;if(e._locale=e._locale||P(e._l),null===n||void 0===r&&""===n)return j({nullInput:!0});else return"string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new X(mt(n)):(N(n)?e._d=n:s(r)?function(e){var t,n,r,i,o,s,a=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<l;i++)o=0,s=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Lt(t),U(t)&&(s=!0),o=(o+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=o,a?o<r&&(r=o,n=t):(null==r||o<r||s)&&(r=o,n=t,s&&(a=!0));Y(e,n||t)}(e):r?Lt(e):a(r=(n=e)._i)?n._d=new Date(p.now()):N(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(i=n,null===(o=wt.exec(i._i))?(Tt(i),!1===i._isValid&&(delete i._isValid,xt(i),!1===i._isValid&&(delete i._isValid,i._strict?i._isValid=!1:p.createFromInputFallback(i)))):i._d=new Date(+o[1])):s(r)?(n._a=G(r.slice(0),function(e){return parseInt(e,10)}),Dt(n)):I(r)?(i=n)._d||(t=void 0===(o=ce(i._i)).day?o.date:o.day,i._a=G([o.year,o.month,t,o.hour,o.minute,o.second,o.millisecond],function(e){return e&&parseInt(e,10)}),Dt(i)):B(r)?n._d=new Date(r):p.createFromInputFallback(n),U(e)||(e._d=null),e)}}function Ft(e,t,n,r,i){var o={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(I(e)&&R(e)||s(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,(i=new X(mt(Ot(i=o))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function $(e,t,n,r){return Ft(e,t,n,r,!1)}p.createFromInputFallback=e("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":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=$.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:j()}),_e=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=$.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:j()});function Pt(e,t){var n,r;if(!(t=1===t.length&&s(t[0])?t[0]:t).length)return $();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var $t=["year","quarter","month","week","day","hour","minute","second","millisecond"];function At(e){var e=ce(e),t=e.year||0,n=e.quarter||0,r=e.month||0,i=e.week||e.isoWeek||0,o=e.day||0,s=e.hour||0,a=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,r=!1,i=$t.length;for(t in e)if(m(e,t)&&(-1===k.call($t,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[$t[n]]){if(r)return!1;parseFloat(e[$t[n]])!==f(e[$t[n]])&&(r=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*a+1e3*s*60*60,this._days=+o+7*i,this._months=+r+3*n+12*t,this._data={},this._locale=P(),this._bubble()}function Ht(e){return e instanceof At}function Ct(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function It(e,n){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+o(~~(e/60),2)+n+o(~~e%60,2)})}It("Z",":"),It("ZZ",""),v("Z",xe),v("ZZ",xe),S(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Bt(xe,e)});var Rt=/([\+\-]|\d\d)/gi;function Bt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Rt)||["-",0,0])[1]+f(e[2]))?0:"+"===e[0]?t:-t}function Nt(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||N(e)?e:$(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),p.updateOffset(t,!1),t):$(e).local()}function Gt(e){return-Math.round(e._d.getTimezoneOffset())}function Yt(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.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 A(e,t){var n,r,i=e,o=null;return Ht(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:B(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(o=Ut.exec(e))?(n="-"===o[1]?-1:1,i={y:0,d:f(o[x])*n,h:f(o[M])*n,m:f(o[D])*n,s:f(o[L])*n,ms:f(Ct(1e3*o[Fe]))*n}):(o=jt.exec(e))?(n="-"===o[1]?-1:1,i={y:Vt(o[2],n),M:Vt(o[3],n),w:Vt(o[4],n),d:Vt(o[5],n),h:Vt(o[6],n),m:Vt(o[7],n),s:Vt(o[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=$(i.from),o=$(i.to),n=t.isValid()&&o.isValid()?(o=Nt(o,t),t.isBefore(o)?r=Wt(t,o):((r=Wt(o,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=n.milliseconds,i.M=n.months),o=new At(i),Ht(e)&&m(e,"_locale")&&(o._locale=e._locale),Ht(e)&&m(e,"_isValid")&&(o._isValid=e._isValid),o}function Vt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Wt(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 zt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(J(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Zt(this,A(e,t),r),this}}function Zt(e,t,n,r){var i=t._milliseconds,o=Ct(t._days),t=Ct(t._months);e.isValid()&&(r=null==r||r,t&&Ne(e,fe(e,"Month")+t*n),o&&pe(e,"Date",fe(e,"Date")+o*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&p.updateOffset(e,o||t))}A.fn=At.prototype,A.invalid=function(){return A(NaN)};He=zt(1,"add"),qe=zt(-1,"subtract");function Xt(e){return"string"==typeof e||e instanceof String}function Kt(e){return l(e)||N(e)||Xt(e)||B(e)||(n=s(t=e),r=!1,n&&(r=0===t.filter(function(e){return!B(e)&&Xt(t)}).length),n&&r)||function(e){var t,n,r=I(e)&&!R(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s=o.length;for(t=0;t<s;t+=1)n=o[t],i=i||m(e,n);return r&&i}(e)||null==e;var t,n,r}function qt(e,t){if(e.date()<t.date())return-qt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function Jt(e){return void 0===e?this._locale._abbr:(null!=(e=P(e))&&(this._locale=e),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("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 Qt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function sn(){for(var e=[],t=[],n=[],r=[],i=this.eras(),o=0,s=i.length;o<s;++o)t.push(w(i[o].name)),e.push(w(i[o].abbr)),n.push(w(i[o].narrow)),r.push(w(i[o].name)),r.push(w(i[o].abbr)),r.push(w(i[o].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function an(e,t){r(0,[e,e.length],0,t)}function ln(e,t,n,r,i){var o;return null==e?Xe(this,r,i).year:(t>(o=O(e,r,i))&&(t=o),function(e,t,n,r,i){e=Ze(e,t,n,r,i),t=We(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,r,i))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),v("N",on),v("NN",on),v("NNN",on),v("NNNN",function(e,t){return t.erasNameRegex(e)}),v("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),S(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?g(n).era=r:g(n).invalidEra=e}),v("y",ke),v("yy",ke),v("yyy",ke),v("yyyy",ke),v("yo",function(e,t){return t._eraYearOrdinalRegex||ke}),S(["y","yy","yyy","yyyy"],T),S(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[T]=n._locale.eraYearOrdinalParse(e,i):t[T]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),an("gggg","weekYear"),an("ggggg","weekYear"),an("GGGG","isoWeekYear"),an("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),v("G",Te),v("g",Te),v("GG",b,y),v("gg",b,y),v("GGGG",we,ge),v("gggg",we,ge),v("GGGGG",Se,ye),v("ggggg",Se,ye),Oe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=f(e)}),Oe(["gg","GG"],function(e,t,n,r){t[r]=p.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),v("Q",i),S("Q",function(e,t){t[E]=3*(f(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),n("date",9),v("D",b),v("DD",b,y),v("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),S(["D","DD"],x),S("Do",function(e,t){t[x]=f(e.match(b)[0])});we=de("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),v("DDD",ve),v("DDDD",me),S(["DDD","DDDD"],function(e,t,n){n._dayOfYear=f(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),v("m",b),v("mm",b,y),S(["m","mm"],D);ge=de("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),v("s",b),v("ss",b,y),S(["s","ss"],L);var cn,Se=de("Seconds",!1);for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),v("S",ve,i),v("SS",ve,y),v("SSS",ve,me),cn="SSSS";cn.length<=9;cn+="S")v(cn,ke);function un(e,t){t[Fe]=f(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")S(cn,un);ye=de("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");i=X.prototype;function hn(e){return e}i.add=He,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=I(e)&&!R(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||m(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||$(),n=Nt(e,this).startOf("day"),n=p.calendarFormat(this,n)||"sameElse",t=t&&(u(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,$(e)))},i.clone=function(){return new X(this)},i.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Nt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=h(t)){case"year":o=qt(this,r)/12;break;case"month":o=qt(this,r);break;case"quarter":o=qt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:d(o)},i.endOf=function(e){var t,n;if(void 0===(e=h(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,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-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}return this._d.setTime(t),p.updateOffset(this,!0),this},i.format=function(e){return e=e||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),e=se(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||$(e).isValid())?A({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from($(),e)},i.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||$(e).isValid())?A({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to($(),e)},i.get=function(e){return u(this[e=h(e)])?this[e]():this},i.invalidAt=function(){return g(this).overflow},i.isAfter=function(e,t){return e=l(e)?e:$(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},i.isBefore=function(e,t){return e=l(e)?e:$(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},i.isBetween=function(e,t,n,r){return e=l(e)?e:$(e),t=l(t)?t:$(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},i.isSame=function(e,t){var e=l(e)?e:$(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},i.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},i.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},i.isValid=function(){return U(this)},i.lang=Qe,i.locale=Jt,i.localeData=Qt,i.max=_e,i.min=be,i.parsingFlags=function(){return Y({},g(this))},i.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)m(e,t)&&n.push({unit:t,priority:ue[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),r=n.length,i=0;i<r;i++)this[n[i].unit](e[n[i].unit]);else if(u(this[e=h(e)]))return this[e](t);return this},i.startOf=function(e){var t,n;if(void 0===(e=h(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,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-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}return this._d.setTime(t),p.updateOffset(this,!0),this},i.subtract=qe,i.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},i.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},i.toDate=function(){return new Date(this.valueOf())},i.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?se(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):u(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",se(t,"Z")):se(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},i.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"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(i[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},i.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},i.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++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""},i.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++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""},i.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++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""},i.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-p(n[r].since).year())*e+n[r].offset;return this.year()},i.year=je,i.isLeapYear=function(){return he(this.year())},i.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},i.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},i.quarter=i.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},i.month=Ge,i.daysInMonth=function(){return Ae(this.year(),this.month())},i.week=i.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},i.isoWeek=i.isoWeeks=function(e){var t=Xe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return O(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return O(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return O(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return O(this.isoWeekYear(),1,4)},i.date=we,i.day=i.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=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-r,"d")):r},i.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")},i.isoWeekday=function(e){return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN;var t,n},i.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")},i.hour=i.hours=_,i.minute=i.minutes=ge,i.second=i.seconds=Se,i.millisecond=i.milliseconds=ye,i.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Gt(this);if("string"==typeof e){if(null===(e=Bt(xe,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Gt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,A(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},i.utc=function(e){return this.utcOffset(0,e)},i.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Gt(this),"m")),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Bt(Ee,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?$(e).utcOffset():0,(this.utcOffset()-e)%60==0)},i.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},i.isLocal=function(){return!!this.isValid()&&!this._isUTC},i.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},i.isUtc=Yt,i.isUTC=Yt,i.zoneAbbr=function(){return this._isUTC?"UTC":""},i.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},i.dates=e("dates accessor is deprecated. Use date instead.",we),i.months=e("months accessor is deprecated. Use month instead",Ge),i.years=e("years accessor is deprecated. Use year instead",je),i.zone=e("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()}),i.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e,t={};return Z(t,this),(t=Ot(t))._a?(e=(t._isUTC?c:$)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),o=0,s=0;s<r;s++)(n&&e[s]!==t[s]||!n&&f(e[s])!==f(t[s]))&&o++;return o+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=ee.prototype;function dn(e,t,n,r){var i=P(),r=c().set(r,t);return i[n](r,e)}function fn(e,t,n){if(B(e)&&(t=e,e=void 0),e=e||"",null!=t)return dn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=dn(e,i,n,"month");return r}function pn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),B(t)&&(n=t,t=void 0),t||"");var i,o=P(),s=e?o._week.dow:0,a=[];if(null!=n)return dn(t,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=dn(t,(i+s)%7,r,"day");return a}y.calendar=function(e,t,n){return u(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ne).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=hn,y.postformat=hn,y.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return u(i)?i(e,t,n,r):i.replace(/%d/i,e)},y.pastFuture=function(e,t){return u(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,n;for(n in e)m(e,n)&&(u(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)},y.eras=function(e,t){for(var n,r=this._eras||P("en")._eras,i=0,o=r.length;i<o;++i)switch("string"==typeof r[i].since&&(n=p(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=p(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},y.erasParse=function(e,t,n){var r,i,o,s,a,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(o=l[r].name.toUpperCase(),s=l[r].abbr.toUpperCase(),a=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(a===e)return l[r]}else if(0<=[o,s,a].indexOf(e))return l[r]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?p(e.since).year():p(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return m(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return m(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return m(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(s(this._months)?this._months:this._months[(this._months.isFormat||Ie).test(t)?"format":"standalone"])[e.month()]:s(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(s(this._monthsShort)?this._monthsShort:this._monthsShort[Ie.test(t)?"format":"standalone"])[e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,o,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=k.call(this._shortMonthsParse,e))?i:null:-1!==(i=k.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=k.call(this._shortMonthsParse,e))||-1!==(i=k.call(this._longMonthsParse,e))?i:null:-1!==(i=k.call(this._longMonthsParse,e))||-1!==(i=k.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=c([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},y.monthsRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Ye.call(this),e?this._monthsStrictRegex:this._monthsRegex):(m(this,"_monthsRegex")||(this._monthsRegex=Be),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Ye.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(m(this,"_monthsShortRegex")||(this._monthsShortRegex=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Xe(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.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?Ke(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Ke(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Ke(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,o,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=k.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=k.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=k.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=k.call(this._weekdaysParse,e))||-1!==(i=k.call(this._shortWeekdaysParse,e))||-1!==(i=k.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=k.call(this._shortWeekdaysParse,e))||-1!==(i=k.call(this._weekdaysParse,e))||-1!==(i=k.call(this._minWeekdaysParse,e))?i:null:-1!==(i=k.call(this._minWeekdaysParse,e))||-1!==(i=k.call(this._weekdaysParse,e))||-1!==(i=k.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=c([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(m(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(m(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(m(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ft("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===f(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),p.lang=e("moment.lang is deprecated. Use moment.locale instead.",ft),p.langData=e("moment.langData is deprecated. Use moment.localeData instead.",P);var mn=Math.abs;function gn(e,t,n,r){t=A(t,n);return e._milliseconds+=r*t._milliseconds,e._days+=r*t._days,e._months+=r*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(e){return 4800*e/146097}function _n(e){return 146097*e/4800}function vn(e){return function(){return this.as(e)}}ve=vn("ms"),me=vn("s"),He=vn("m"),_e=vn("h"),be=vn("d"),qe=vn("w"),_=vn("M"),ge=vn("Q"),Se=vn("y");function wn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=wn("milliseconds"),we=wn("seconds"),je=wn("minutes"),y=wn("hours"),Sn=wn("days"),kn=wn("months"),Tn=wn("years");var En=Math.round,xn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(e,t,n,r){var i=A(e).abs(),o=En(i.as("s")),s=En(i.as("m")),a=En(i.as("h")),l=En(i.as("d")),c=En(i.as("M")),u=En(i.as("w")),i=En(i.as("y")),o=(o<=n.ss?["s",o]:o<n.s&&["ss",o])||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return(o=(o=null!=n.w?o||u<=1&&["w"]||u<n.w&&["ww",u]:o)||c<=1&&["M"]||c<n.M&&["MM",c]||i<=1&&["y"]||["yy",i])[2]=t,o[3]=0<+e,o[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,o)}var Dn=Math.abs;function Ln(e){return(0<e)-(e<0)||+e}function On(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,s,a=Dn(this._milliseconds)/1e3,l=Dn(this._days),c=Dn(this._months),u=this.asSeconds();return u?(e=d(a/60),t=d(e/60),a%=60,e%=60,n=d(c/12),c%=12,r=a?a.toFixed(3).replace(/\.?0+$/,""):"",i=Ln(this._months)!==Ln(u)?"-":"",o=Ln(this._days)!==Ln(u)?"-":"",s=Ln(this._milliseconds)!==Ln(u)?"-":"",(u<0?"-":"")+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?o+l+"D":"")+(t||e||a?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(a?s+r+"S":"")):"P0D"}var H=At.prototype;return H.isValid=function(){return this._isValid},H.abs=function(){var e=this._data;return this._milliseconds=mn(this._milliseconds),this._days=mn(this._days),this._months=mn(this._months),e.milliseconds=mn(e.milliseconds),e.seconds=mn(e.seconds),e.minutes=mn(e.minutes),e.hours=mn(e.hours),e.months=mn(e.months),e.years=mn(e.years),this},H.add=function(e,t){return gn(this,e,t,1)},H.subtract=function(e,t){return gn(this,e,t,-1)},H.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=h(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(_n(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},H.asMilliseconds=ve,H.asSeconds=me,H.asMinutes=He,H.asHours=_e,H.asDays=be,H.asWeeks=qe,H.asMonths=_,H.asQuarters=ge,H.asYears=Se,H.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*f(this._months/12):NaN},H._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(_n(n)+t),n=t=0),r.milliseconds=e%1e3,e=d(e/1e3),r.seconds=e%60,e=d(e/60),r.minutes=e%60,e=d(e/60),r.hours=e%24,t+=d(e/24),n+=e=d(bn(t)),t-=yn(_n(e)),e=d(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},H.clone=function(){return A(this)},H.get=function(e){return e=h(e),this.isValid()?this[e+"s"]():NaN},H.milliseconds=ye,H.seconds=we,H.minutes=je,H.hours=y,H.days=Sn,H.weeks=function(){return d(this.days()/7)},H.months=kn,H.years=Tn,H.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=xn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},xn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),t=Mn(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},H.toISOString=On,H.toString=On,H.toJSON=On,H.locale=Jt,H.localeData=Qt,H.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",On),H.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),v("x",Te),v("X",/[+-]?\d+(\.\d{1,3})?/),S("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),S("x",function(e,t,n){n._d=new Date(f(e))}),p.version="2.29.3",C=$,p.fn=i,p.min=function(){return Pt("isBefore",[].slice.call(arguments,0))},p.max=function(){return Pt("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=c,p.unix=function(e){return $(1e3*e)},p.months=function(e,t){return fn(e,t,"months")},p.isDate=N,p.locale=ft,p.invalid=j,p.duration=A,p.isMoment=l,p.weekdays=function(e,t,n){return pn(e,t,n,"weekdays")},p.parseZone=function(){return $.apply(null,arguments).parseZone()},p.localeData=P,p.isDuration=Ht,p.monthsShort=function(e,t){return fn(e,t,"monthsShort")},p.weekdaysMin=function(e,t,n){return pn(e,t,n,"weekdaysMin")},p.defineLocale=pt,p.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=F[e]&&null!=F[e].parentLocale?F[e].set(Q(F[e]._config,t)):(t=Q(r=null!=(n=dt(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=F[e],F[e]=r),ft(e)):null!=F[e]&&(null!=F[e].parentLocale?(F[e]=F[e].parentLocale,e===ft()&&ft(e)):null!=F[e]&&delete F[e]),F[e]},p.locales=function(){return te(F)},p.weekdaysShort=function(e,t,n){return pn(e,t,n,"weekdaysShort")},p.normalizeUnits=h,p.relativeTimeRounding=function(e){return void 0===e?En:"function"==typeof e&&(En=e,!0)},p.relativeTimeThreshold=function(e,t){return void 0!==xn[e]&&(void 0===t?xn[e]:(xn[e]=t,"s"===e&&(xn.ss=t-1),!0))},p.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},p.prototype=i,p.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},p}();var ri,ii,oi=ri.exports;function si(e,t){Pr(e,t)}const ai={en:{casinoFooter:{timeText:"Time",sessionTimer:"Logged in for"}},fr:{casinoFooter:{timeText:"Temps",sessionTimer:"Connecté pour"}},ro:{casinoFooter:{timeText:"Ora",sessionTimer:"Online de"}},es:{casinoFooter:{timeText:"Hora",sessionTimer:"Tiempo sesión"}},pt:{casinoFooter:{timeText:"Categorias",sessionTimer:"Logged in for"}}},li=te["document"];function ci(e,t,n){const r=e.slice();return r[74]=t[n],r}function ui(e,t,n){const r=e.slice();return r[77]=t[n],r}function hi(e){let n,r;return{c(){w((n=x("script")).src,r=e[28])||D(n,"src",r)},m(e,t){k(e,n,t)},p(e,t){268435456&t[0]&&!w(n.src,r=e[28])&&D(n,"src",r)},d(e){e&&T(n)}}}function di(e){let n,r,i,o,s,a,l,c,u=("true"===e[3]||"true"===e[5]||"true"===e[6])&&mi(e),h="true"===e[7]&&localStorage.session&&wi(e),d=e[16]&&Si(e),f=(e[14]||e[12])&&Ei(e),p=(e[18]||e[20])&&Oi(e),m=(e[24]||e[23])&&Hi(e);return{c(){n=x("div"),u&&u.c(),r=M(),h&&h.c(),i=M(),d&&d.c(),o=M(),f&&f.c(),s=M(),p&&p.c(),a=M(),m&&m.c(),D(n,"class",l="FooterGrid "+(e[16]?"":"NoSponsorSpacing")),D(n,"part",c="FooterGrid "+(e[16]?"":"NoSponsorSpacing"))},m(e,t){k(e,n,t),u&&u.m(n,null),S(n,r),h&&h.m(n,null),S(n,i),d&&d.m(n,null),S(n,o),f&&f.m(n,null),S(n,s),p&&p.m(n,null),S(n,a),m&&m.m(n,null)},p(e,t){"true"===e[3]||"true"===e[5]||"true"===e[6]?u?u.p(e,t):((u=mi(e)).c(),u.m(n,r)):u&&(u.d(1),u=null),"true"===e[7]&&localStorage.session?h?h.p(e,t):((h=wi(e)).c(),h.m(n,i)):h&&(h.d(1),h=null),e[16]?d?d.p(e,t):((d=Si(e)).c(),d.m(n,o)):d&&(d.d(1),d=null),e[14]||e[12]?f?f.p(e,t):((f=Ei(e)).c(),f.m(n,s)):f&&(f.d(1),f=null),e[18]||e[20]?p?p.p(e,t):((p=Oi(e)).c(),p.m(n,a)):p&&(p.d(1),p=null),e[24]||e[23]?m?m.p(e,t):((m=Hi(e)).c(),m.m(n,null)):m&&(m.d(1),m=null),65536&t[0]&&l!==(l="FooterGrid "+(e[16]?"":"NoSponsorSpacing"))&&D(n,"class",l),65536&t[0]&&c!==(c="FooterGrid "+(e[16]?"":"NoSponsorSpacing"))&&D(n,"part",c)},d(e){e&&T(n),u&&u.d(),h&&h.d(),d&&d.d(),f&&f.d(),p&&p.d(),m&&m.d()}}}function fi(e){let n;return{c(){(n=x("p")).textContent="Loading ...",D(n,"class","SearchLoading"),D(n,"part","SearchLoading")},m(e,t){k(e,n,t)},p:g,d(e){e&&T(n)}}}function pi(e){let n;return{c(){(n=x("p")).textContent="500 Error - Internal Server Error",D(n,"class","SearchLoading"),D(n,"part","SearchLoading")},m(e,t){k(e,n,t)},p:g,d(e){e&&T(n)}}}function mi(e){let n,r,i,o="true"===e[3]&&gi(e),s="true"===e[6]&&yi(e),a="true"===e[5]&&e[36]&&e[30]&&bi(e);return{c(){n=x("div"),o&&o.c(),r=M(),s&&s.c(),i=M(),a&&a.c(),D(n,"class","GridRow ProvisionalRow"),D(n,"part","GridRow")},m(e,t){k(e,n,t),o&&o.m(n,null),S(n,r),s&&s.m(n,null),S(n,i),a&&a.m(n,null)},p(e,t){"true"===e[3]?o?o.p(e,t):((o=gi(e)).c(),o.m(n,r)):o&&(o.d(1),o=null),"true"===e[6]?s?s.p(e,t):((s=yi(e)).c(),s.m(n,i)):s&&(s.d(1),s=null),"true"===e[5]&&e[36]&&e[30]?a?a.p(e,t):((a=bi(e)).c(),a.m(n,null)):a&&(a.d(1),a=null)},d(e){e&&T(n),o&&o.d(),s&&s.d(),a&&a.d()}}}function gi(e){let n,r,i,o,s,a,l;return{c(){n=x("div"),r=x("span"),i=t(e[4]),o=t(":"),s=M(),a=x("span"),l=t(e[31]),D(r,"class","ClockText"),D(a,"class","ClockTime"),D(n,"class","ClockContainer")},m(e,t){k(e,n,t),S(n,r),S(r,i),S(r,o),S(n,s),S(n,a),S(a,l)},p(e,t){16&t[0]&&L(i,e[4]),1&t[1]&&L(l,e[31])},d(e){e&&T(n)}}}function yi(e){let n;return{c(){l(n=x("panic-button"),"lang",e[0])},m(e,t){k(e,n,t)},p(e,t){1&t[0]&&l(n,"lang",e[0])},d(e){e&&T(n)}}}function bi(n){let r,o,i,s,a,l,e,c,u,h,d,f,p,m,g=n[32],y=[];for(let e=0;e<g.length;e+=1)y[e]=_i(ui(n,g,e));let b=n[9],_=[];for(let e=0;e<b.length;e+=1)_[e]=vi(ci(n,b,e));return{c(){r=x("div"),o=x("select");for(let e=0;e<y.length;e+=1)y[e].c();i=M(),s=x("div"),a=x("button"),l=x("img"),c=t(n[34]),u=x("img"),h=M(),d=x("div"),f=x("ul");for(let e=0;e<_.length;e+=1)_[e].c();D(o,"class","Item ItemLanguage"),D(o,"part","Item ItemLanguage"),void 0===n[30]&&q(()=>n[55].call(o)),D(l,"class","languageFlag"),w(l.src,e=n[35])||D(l,"src",e),D(u,"class","downwardChevron"),w(u.src,"https://upload.wikimedia.org/wikipedia/commons/2/24/White_arrow_down.svg")||D(u,"src","https://upload.wikimedia.org/wikipedia/commons/2/24/White_arrow_down.svg"),D(a,"class","drawerButton"),a.value=n[30],D(f,"id","languageList"),D(d,"class","languageDrawer hidden"),D(s,"class","languageSelectorOverlay"),D(r,"class","languageSelectorContainer")},m(e,t){k(e,r,t),S(r,o);for(let e=0;e<y.length;e+=1)y[e].m(o,null);Y(o,n[30]),S(r,i),S(r,s),S(s,a),S(a,l),S(a,c),S(a,u),S(s,h),S(s,d),S(d,f);for(let e=0;e<_.length;e+=1)_[e].m(f,null);n[57](d),p||(m=[G(o,"change",n[55]),G(o,"change",n[56]),G(a,"click",n[41])],p=!0)},p(t,n){if(2&n[1]){let e;for(g=t[32],e=0;e<g.length;e+=1){var r=ui(t,g,e);y[e]?y[e].p(r,n):(y[e]=_i(r),y[e].c(),y[e].m(o,null))}for(;e<y.length;e+=1)y[e].d(1);y.length=g.length}if(1073741824&n[0]|2&n[1]&&Y(o,t[30]),16&n[1]&&!w(l.src,e=t[35])&&D(l,"src",e),8&n[1]&&L(c,t[34]),1073741824&n[0]|2&n[1]&&(a.value=t[30]),512&n[0]|2048&n[1]){let e;for(b=t[9],e=0;e<b.length;e+=1){var i=ci(t,b,e);_[e]?_[e].p(i,n):(_[e]=vi(i),_[e].c(),_[e].m(f,null))}for(;e<_.length;e+=1)_[e].d(1);_.length=b.length}},d(e){e&&T(r),E(y,e),E(_,e),n[57](null),p=!1,v(m)}}}function _i(e){let n,r,i,o=e[77]+"";return{c(){n=x("option"),r=t(o),n.__value=i=e[77],n.value=n.__value,n.selected=!0},m(e,t){k(e,n,t),S(n,r)},p(e,t){2&t[1]&&o!==(o=e[77]+"")&&L(r,o),2&t[1]&&i!==(i=e[77])&&(n.__value=i,n.value=n.__value)},d(e){e&&T(n)}}}function vi(n){let r,i,o,s,a,l,c,u,h,d=n[74].name+"";return{c(){r=x("li"),i=x("img"),s=x("a"),a=x("span"),l=t(d),D(i,"class","languageFlag"),w(i.src,o=n[74].flag_icon_editable)||D(i,"src",o),D(s,"href","javascript:void(0)"),D(r,"class","overlayLanguageOption"),D(r,"data-lang",c=n[74].code)},m(e,t){k(e,r,t),S(r,i),S(r,s),S(s,a),S(a,l),u||(h=G(r,"click",n[42]),u=!0)},p(e,t){512&t[0]&&!w(i.src,o=e[74].flag_icon_editable)&&D(i,"src",o),512&t[0]&&d!==(d=e[74].name+"")&&L(l,d),512&t[0]&&c!==(c=e[74].code)&&D(r,"data-lang",c)},d(e){e&&T(r),u=!1,h()}}}function wi(e){let n,r,i,o,s,a,l=e[38]("casinoFooter.sessionTimer")+"";return{c(){n=x("div"),r=x("div"),i=x("span"),o=t(l),s=M(),a=t(e[37]),D(i,"class","SessionText"),D(r,"class","sessionTimerContainer"),D(n,"class","GridRow ProvisionalRow"),D(n,"part","GridRow")},m(e,t){k(e,n,t),S(n,r),S(r,i),S(i,o),S(i,s),S(i,a)},p(e,t){128&t[1]&&l!==(l=e[38]("casinoFooter.sessionTimer")+"")&&L(o,l),64&t[1]&&L(a,e[37])},d(e){e&&T(n)}}}function Si(e){let n,r=e[16]&&ki(e);return{c(){n=x("div"),r&&r.c(),D(n,"class","GridRow"),D(n,"part","GridRow")},m(e,t){k(e,n,t),r&&r.m(n,null)},p(e,t){e[16]?r?r.p(e,t):((r=ki(e)).c(),r.m(n,null)):r&&(r.d(1),r=null)},d(e){e&&T(n),r&&r.d()}}}function ki(e){let n,r,i,o=e[15]&&Ti(e);return{c(){n=x("div"),o&&o.c(),r=M(),l(i=x("casino-footer-section"),"class","FooterSection"),l(i,"part","FooterSection"),l(i,"sponsorflag","1"),l(i,"clientstyling",e[1]),l(i,"clientstylingurl",e[2]),l(i,"baseurl",e[8]),l(i,"lang",e[0]),l(i,"footertype","footerprimary"),D(n,"class","GridCol"),D(n,"part","GridCol")},m(e,t){k(e,n,t),o&&o.m(n,null),S(n,r),S(n,i)},p(e,t){e[15]?o?o.p(e,t):((o=Ti(e)).c(),o.m(n,r)):o&&(o.d(1),o=null),2&t[0]&&l(i,"clientstyling",e[1]),4&t[0]&&l(i,"clientstylingurl",e[2]),256&t[0]&&l(i,"baseurl",e[8]),1&t[0]&&l(i,"lang",e[0])},d(e){e&&T(n),o&&o.d()}}}function Ti(e){let n,r;return{c(){n=x("p"),r=t(e[15]),D(n,"class","FooterTitle"),D(n,"part","FooterTitle")},m(e,t){k(e,n,t),S(n,r)},p(e,t){32768&t[0]&&L(r,e[15])},d(e){e&&T(n)}}}function Ei(e){let n,r,i,o,s=e[14]&&xi(e),a=e[12]&&Di(e);return{c(){n=x("div"),s&&s.c(),r=M(),a&&a.c(),D(n,"class",i="GridRow "+(e[14]&&e[12]?"SplitRow":"")),D(n,"part",o="GridRow "+(e[14]&&e[12]?"SplitRow":""))},m(e,t){k(e,n,t),s&&s.m(n,null),S(n,r),a&&a.m(n,null)},p(e,t){e[14]?s?s.p(e,t):((s=xi(e)).c(),s.m(n,r)):s&&(s.d(1),s=null),e[12]?a?a.p(e,t):((a=Di(e)).c(),a.m(n,null)):a&&(a.d(1),a=null),20480&t[0]&&i!==(i="GridRow "+(e[14]&&e[12]?"SplitRow":""))&&D(n,"class",i),20480&t[0]&&o!==(o="GridRow "+(e[14]&&e[12]?"SplitRow":""))&&D(n,"part",o)},d(e){e&&T(n),s&&s.d(),a&&a.d()}}}function xi(e){let n,r,i,o=e[13]&&Mi(e);return{c(){n=x("div"),o&&o.c(),r=M(),l(i=x("casino-footer-section"),"class","FooterSection"),l(i,"part","FooterSection"),l(i,"paymentflag","1"),l(i,"clientstyling",e[1]),l(i,"clientstylingurl",e[2]),l(i,"baseurl",e[8]),l(i,"lang",e[0]),l(i,"footertype","footerprimary"),D(n,"class","GridCol"),D(n,"part","GridCol")},m(e,t){k(e,n,t),o&&o.m(n,null),S(n,r),S(n,i)},p(e,t){e[13]?o?o.p(e,t):((o=Mi(e)).c(),o.m(n,r)):o&&(o.d(1),o=null),2&t[0]&&l(i,"clientstyling",e[1]),4&t[0]&&l(i,"clientstylingurl",e[2]),256&t[0]&&l(i,"baseurl",e[8]),1&t[0]&&l(i,"lang",e[0])},d(e){e&&T(n),o&&o.d()}}}function Mi(e){let n,r;return{c(){n=x("p"),r=t(e[13]),D(n,"class","FooterTitle"),D(n,"part","FooterTitle")},m(e,t){k(e,n,t),S(n,r)},p(e,t){8192&t[0]&&L(r,e[13])},d(e){e&&T(n)}}}function Di(e){let n,r,i,o=e[11]&&Li(e);return{c(){n=x("div"),o&&o.c(),r=M(),l(i=x("casino-footer-section"),"class","FooterSection"),l(i,"part","FooterSection"),l(i,"vendorflag","1"),l(i,"clientstyling",e[1]),l(i,"clientstylingurl",e[2]),l(i,"baseurl",e[8]),l(i,"lang",e[0]),l(i,"footertype","footerprimary"),D(n,"class","GridCol"),D(n,"part","GridCol")},m(e,t){k(e,n,t),o&&o.m(n,null),S(n,r),S(n,i)},p(e,t){e[11]?o?o.p(e,t):((o=Li(e)).c(),o.m(n,r)):o&&(o.d(1),o=null),2&t[0]&&l(i,"clientstyling",e[1]),4&t[0]&&l(i,"clientstylingurl",e[2]),256&t[0]&&l(i,"baseurl",e[8]),1&t[0]&&l(i,"lang",e[0])},d(e){e&&T(n),o&&o.d()}}}function Li(e){let n,r;return{c(){n=x("p"),r=t(e[11]),D(n,"class","FooterTitle"),D(n,"part","FooterTitle")},m(e,t){k(e,n,t),S(n,r)},p(e,t){2048&t[0]&&L(r,e[11])},d(e){e&&T(n)}}}function Oi(e){let n,r,i,o,s=e[18]&&Fi(e),a=e[20]&&$i(e);return{c(){n=x("div"),s&&s.c(),r=M(),a&&a.c(),D(n,"class",i="GridRow "+(e[18]&&e[20]?"SplitRow":"")),D(n,"part",o="GridRow "+(e[18]&&e[20]?"SplitRow":""))},m(e,t){k(e,n,t),s&&s.m(n,null),S(n,r),a&&a.m(n,null)},p(e,t){e[18]?s?s.p(e,t):((s=Fi(e)).c(),s.m(n,r)):s&&(s.d(1),s=null),e[20]?a?a.p(e,t):((a=$i(e)).c(),a.m(n,null)):a&&(a.d(1),a=null),1310720&t[0]&&i!==(i="GridRow "+(e[18]&&e[20]?"SplitRow":""))&&D(n,"class",i),1310720&t[0]&&o!==(o="GridRow "+(e[18]&&e[20]?"SplitRow":""))&&D(n,"part",o)},d(e){e&&T(n),s&&s.d(),a&&a.d()}}}function Fi(e){let n,r,i,o=e[17]&&Pi(e);return{c(){n=x("div"),o&&o.c(),r=M(),l(i=x("casino-footer-section"),"class","FooterSection"),l(i,"part","FooterSection"),l(i,"helperflag","1"),l(i,"clientstyling",e[1]),l(i,"clientstylingurl",e[2]),l(i,"baseurl",e[8]),l(i,"lang",e[0]),l(i,"footertype","footerprimary"),D(n,"class","GridCol"),D(n,"part","GridCol")},m(e,t){k(e,n,t),o&&o.m(n,null),S(n,r),S(n,i)},p(e,t){e[17]?o?o.p(e,t):((o=Pi(e)).c(),o.m(n,r)):o&&(o.d(1),o=null),2&t[0]&&l(i,"clientstyling",e[1]),4&t[0]&&l(i,"clientstylingurl",e[2]),256&t[0]&&l(i,"baseurl",e[8]),1&t[0]&&l(i,"lang",e[0])},d(e){e&&T(n),o&&o.d()}}}function Pi(e){let n,r;return{c(){n=x("p"),r=t(e[17]),D(n,"class","FooterTitle"),D(n,"part","FooterTitle")},m(e,t){k(e,n,t),S(n,r)},p(e,t){131072&t[0]&&L(r,e[17])},d(e){e&&T(n)}}}function $i(e){let n,r,i,o=e[19]&&Ai(e);return{c(){n=x("div"),o&&o.c(),r=M(),l(i=x("casino-footer-section"),"class","FooterSection"),l(i,"part","FooterSection"),l(i,"licenseflag","1"),l(i,"clientstyling",e[1]),l(i,"clientstylingurl",e[2]),l(i,"baseurl",e[8]),l(i,"lang",e[0]),l(i,"footertype","footerprimary"),D(n,"class","GridCol"),D(n,"part","GridCol")},m(e,t){k(e,n,t),o&&o.m(n,null),S(n,r),S(n,i)},p(e,t){e[19]?o?o.p(e,t):((o=Ai(e)).c(),o.m(n,r)):o&&(o.d(1),o=null),2&t[0]&&l(i,"clientstyling",e[1]),4&t[0]&&l(i,"clientstylingurl",e[2]),256&t[0]&&l(i,"baseurl",e[8]),1&t[0]&&l(i,"lang",e[0])},d(e){e&&T(n),o&&o.d()}}}function Ai(e){let n,r;return{c(){n=x("p"),r=t(e[19]),D(n,"class","FooterTitle"),D(n,"part","FooterTitle")},m(e,t){k(e,n,t),S(n,r)},p(e,t){524288&t[0]&&L(r,e[19])},d(e){e&&T(n)}}}function Hi(n){let r,i,o,s,a,l,c,u,h,d,f,p,m,g=n[22]&&Ci(n);return{c(){r=x("div"),i=x("div"),o=x("div"),a=M(),l=x("div"),u=M(),g&&g.c(),h=M(),d=x("div"),D(o,"class","DetailedLicenses"),D(o,"part","DetailedLicenses"),D(l,"class","DetailedCustomLicenses"),D(l,"part","DetailedCustomLicenses"),D(d,"class","CopyrightAreaRights CopyrightArea"),D(d,"part","CopyrightAreaRights CopyrightArea"),D(i,"class","GridCol"),D(i,"part","GridCol"),D(r,"class","GridRow LicenseRow"),D(r,"part","GridRow LicenseRow")},m(e,t){k(e,r,t),S(r,i),S(i,o),S(i,a),S(i,l),S(i,u),g&&g.m(i,null),S(i,h),S(i,d),p||(m=[N(s=n[39].call(null,o,n[24])),N(c=n[39].call(null,l,n[29])),N(f=n[39].call(null,d,n[23]))],p=!0)},p(e,t){s&&y(s.update)&&16777216&t[0]&&s.update.call(null,e[24]),c&&y(c.update)&&536870912&t[0]&&c.update.call(null,e[29]),e[22]?g?g.p(e,t):((g=Ci(e)).c(),g.m(i,h)):g&&(g.d(1),g=null),f&&y(f.update)&&8388608&t[0]&&f.update.call(null,e[23])},d(e){e&&T(r),g&&g.d(),p=!1,v(m)}}}function Ci(e){let n,r,i=e[21]&&Ii(e);return{c(){i&&i.c(),n=M(),l(r=x("casino-footer-section"),"class","FooterSection SocialSection"),l(r,"part","FooterSection SocialSection"),l(r,"socialflag","1"),l(r,"clientstyling",e[1]),l(r,"clientstylingurl",e[2]),l(r,"baseurl",e[8]),l(r,"lang",e[0]),l(r,"footertype","footerprimary")},m(e,t){i&&i.m(e,t),k(e,n,t),k(e,r,t)},p(e,t){e[21]?i?i.p(e,t):((i=Ii(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),2&t[0]&&l(r,"clientstyling",e[1]),4&t[0]&&l(r,"clientstylingurl",e[2]),256&t[0]&&l(r,"baseurl",e[8]),1&t[0]&&l(r,"lang",e[0])},d(e){i&&i.d(e),e&&T(n),e&&T(r)}}}function Ii(e){let n,r;return{c(){n=x("p"),r=t(e[21]),D(n,"class","FooterTitle"),D(n,"part","FooterTitle")},m(e,t){k(e,n,t),S(n,r)},p(e,t){2097152&t[0]&&L(r,e[21])},d(e){e&&T(n)}}}function Ri(n){let r,i,o,s=n[27]&&hi(n);function a(e){return e[25]?pi:e[26]?fi:di}let l=a(n),c=l(n);return{c(){s&&s.c(),r=t(""),i=M(),o=x("div"),c.c(),this.c=g},m(e,t){s&&s.m(li.head,null),S(li.head,r),k(e,i,t),k(e,o,t),c.m(o,null),n[58](o)},p(e,t){e[27]?s?s.p(e,t):((s=hi(e)).c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null),l===(l=a(e))&&c?c.p(e,t):(c.d(1),(c=l(e))&&(c.c(),c.m(o,null)))},i:g,o:g,d(e){s&&s.d(e),T(r),e&&T(i),e&&T(o),c.d(),n[58](null)}}}function Bi(e,t,l){let s;le(e,qr,e=>l(38,s=e));let R,a,B,n,{endpoint:c=""}=t,{lang:u="en"}=t,{env:h=""}=t,{clientstyling:d=""}=t,{clientstylingurl:f=""}=t,{translationurl:p=""}=t,{clockenabled:m=""}=t,{clocksecondsenabled:g=""}=t,{clockcustomformat:y=""}=t,{clocktext:N="Time"}=t,{languageselectorenabled:G="true"}=t,{languageslist:r="en, ro"}=t,{languagedisplaytype:i="name"}=t,{session:b=""}=t,{userid:_=""}=t,{userendpoint:v=""}=t,{userroles:w=""}=t,{panicbuttonenabled:Y="true"}=t,{sessiontimerenabled:U="true"}=t,{baseurl:j=""}=t,S="",k=[],T="",E=[],x="",M=[],D="",L=[],O="",F=[],V="",P=[],W="",z="",Z=!1,$=!1,X=!1,K="",q="",A=!1,H="hr",C=[],J=window.navigator.userAgent,o=[],Q="",ee="",te=!1,ne="",I;Object.keys(ai).forEach(e=>{si(e,ai[e])});const re=()=>{var e="false"!=y?y:`hh:mm${"true"===g?":ss":""} (UTC Z)`;l(31,a=oi().format(e))},ie=()=>{window.postMessage({type:"LanguageChanged",selectedLanguage:H},window.location.href)},oe=()=>{let n=!1;C.forEach((t,e)=>{if(t.code==H.toLowerCase()){n=!0;let e="";switch(l(35,ee=t.flag_icon_editable),i){case"name":e=t.name;break;case"translatedName":e=t.translated_name;break;default:e=t.code}l(34,Q=e)}}),n||l(34,Q=H)};return ce(()=>{l(32,o=r.replace(/ /g,"").split(",")),l(32,o=o.map(e=>e.toUpperCase()))}),e.$$set=e=>{"endpoint"in e&&l(43,c=e.endpoint),"lang"in e&&l(0,u=e.lang),"env"in e&&l(44,h=e.env),"clientstyling"in e&&l(1,d=e.clientstyling),"clientstylingurl"in e&&l(2,f=e.clientstylingurl),"translationurl"in e&&l(45,p=e.translationurl),"clockenabled"in e&&l(3,m=e.clockenabled),"clocksecondsenabled"in e&&l(46,g=e.clocksecondsenabled),"clockcustomformat"in e&&l(47,y=e.clockcustomformat),"clocktext"in e&&l(4,N=e.clocktext),"languageselectorenabled"in e&&l(5,G=e.languageselectorenabled),"languageslist"in e&&l(48,r=e.languageslist),"languagedisplaytype"in e&&l(49,i=e.languagedisplaytype),"session"in e&&l(50,b=e.session),"userid"in e&&l(51,_=e.userid),"userendpoint"in e&&l(52,v=e.userendpoint),"userroles"in e&&l(53,w=e.userroles),"panicbuttonenabled"in e&&l(6,Y=e.panicbuttonenabled),"sessiontimerenabled"in e&&l(7,U=e.sessiontimerenabled),"baseurl"in e&&l(8,j=e.baseurl)},e.$$.update=()=>{var r,i;if(1&e.$$.dirty[0]&&u&&(t=u,ae.set(t)),1576960&e.$$.dirty[1]&&b&&_&&c&&(r=v,i=b,new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",i),ot(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))}).then(e=>{e.Guid,e.UserID,l(54,A=!0)},e=>{l(54,A=!1),console.error("Error while checking the session - ",e)})),1&e.$$.dirty[0]|8388608&e.$$.dirty[1]&&A&&u){const o=JSON.parse(localStorage.session),s=new Date(o.Login),a=(new Date).getTimezoneOffset()/60;let e=(new Date).getTime()-s.getTime(),t=void(Math.floor(e/36e5),a),n=void Math.floor(e%36e5/6e4),r=void Math.floor(e%6e4/1e3);setInterval(()=>{t=Math.floor(e/36e5)+a,n=Math.floor(e%36e5/6e4),r=Math.floor(e%6e4/1e3),l(37,ne=`${9<t?t:"0"+t}:${9<n?n:"0"+n}:`+(9<r?r:"0"+r)),e+=1e3},1e3)}if(1026&e.$$.dirty[0]&&d&&I){let e=document.createElement("style");e.innerHTML=d,I.appendChild(e)}if(1028&e.$$.dirty[0]&&f&&I){let e=new URL(f),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{I.appendChild(t)},1),setTimeout(()=>{},500)})}if(1&e.$$.dirty[0]|4206592&e.$$.dirty[1]&&c&&u&&h&&w){let e=new URL(`${c}/${u}/footer-raw-data?env=`+h);e.searchParams.append("userRoles",w);var t=Jr(J);t&&("PC"===t?e.searchParams.append("device","dk"):"iPad"===t||"iPhone"===t?e.searchParams.append("device","ios"):e.searchParams.append("device","mtWeb")),l(26,$=!0),fetch(e).then(e=>e.json()).then(e=>{var t,n;l(26,$=!1),R=e,l(11,{gameVendorsLinksTitle:S,gameVendorsRepeater:k,paymentLinksTitle:T,paymentMethodsRepeater:E,sponsorsLinksTitle:x,sponsorsRepeater:M,helpLinksTitle:D,helpLinksRepeater:L,licensesLinksTitle:O,licensesRepeater:F,socialLinksTitle:V,socialLinksRepeater:P,copyright:W,licenseDesc:z,licenseHeadScriptSrc:e,licenseScriptBody:t,licenseEvent:n,language:C}=R,S,l(12,k),l(13,T),l(14,E),l(15,x),l(16,M),l(17,D),l(18,L),l(19,O),l(20,F),l(21,V),l(22,P),l(23,W),l(24,z),l(9,C)),C&&(l(36,te=!0),oe()),0<(null==e?void 0:e.length)&&(l(27,X=!0),l(28,K=e)),0<(null==t?void 0:t.length)&&l(29,q=t),window.postMessage({type:n},window.location.href),window.postMessage({type:"FooterData",gameVendorsRepeater:k,paymentMethodsRepeater:E,sponsorsRepeater:M,helpLinksRepeater:L,licensesRepeater:F,socialLinksRepeater:P},window.location.href)}).catch(e=>{l(25,Z=!0),l(26,$=!1),console.error(e)})}16384&e.$$.dirty[1]&&p&&fetch(p).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{si(e,t[e])})}).catch(e=>{console.log(e)}),8&e.$$.dirty[0]|98304&e.$$.dirty[1]&&"false"!==m&&g&&y&&re(),8&e.$$.dirty[0]|32768&e.$$.dirty[1]&&"false"!==m&&g&&(B="true"==g?1e3:6e4)&&setInterval(()=>{re()},B),513&e.$$.dirty[0]&&u&&l(30,H=u)&&C&&0<C.length&&oe()},[u,d,f,m,N,G,Y,U,j,C,I,S,k,T,E,x,M,D,L,O,F,V,P,W,z,Z,$,X,K,q,H,a,o,n,Q,ee,te,ne,s,(e,t)=>{let n=document.createElement("div");n.innerHTML=t,e.append(n)},ie,()=>{n.classList.toggle("hidden")},e=>{let t=e.target.closest(".overlayLanguageOption");l(30,H=t.getAttribute("data-lang")),ie(),oe(),n.classList.toggle("hidden")},c,h,p,g,y,r,i,b,_,v,w,A,function(){H=function(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}(this),l(30,H),l(0,u),l(9,C),l(32,o)},()=>ie(),function(e){se[e?"unshift":"push"](()=>{n=e,l(33,n)})},function(e){se[e?"unshift":"push"](()=>{I=e,l(10,I)})}]}class Ni extends re{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"}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.FooterGrid{font-weight:400;display:flex;padding:10px 40px;background-color:var(--emfe-w-color-footer-bg, #212529);color:var(--emfe-w-color-white, #FFFFFF);flex-direction:column;align-items:center;justify-content:center}.FooterGrid.NoSponsorSpacing{padding-top:30px}.FooterGrid .GridRow{display:flex;flex-flow:row wrap;width:100%;padding:20px 0;align-items:flex-start;justify-content:center}.FooterGrid .GridRow:first-child{padding-top:0}.FooterGrid .GridRow:not(:last-child){border-bottom:1px solid rgba(255, 255, 255, 0.1)}.FooterGrid .GridRow.LicenseRow{border-bottom:0}.FooterGrid .GridRow.SplitRow .GridCol:first-child{flex-basis:50%}.FooterGrid .GridRow.SplitRow .GridCol:nth-child(2){flex-basis:calc(50% - 1px);border-left:1px solid rgba(255, 255, 255, 0.1)}.FooterGrid .GridRow.ProvisionalRow{padding-top:12px;justify-content:space-between;align-items:center}.FooterGrid .GridRow .GridCol{width:100%;flex:1}.FooterGrid .GridRow .GridCol p{text-align:center}.FooterGrid .GridRow .GridCol p.FooterTitle{font-size:12px;font-weight:700}.FooterGrid .DetailedLicenses{margin:30px 50px 20px;font-size:10px;text-align:center;color:var(--emfe-w-color-gray-150, #828282)}.FooterGrid .CopyrightAreaRights{margin-top:10px}.FooterGrid .CopyrightTextArea p,.FooterGrid .CopyrightArea p{margin:0;color:var(--emfe-w-color-gray-150, #828282);font-size:9px}@media only screen and (max-width: 768px){.FooterGrid{padding:5px 20px}.FooterGrid .FooterTitle{margin-top:0}.FooterGrid .GridRow{padding:0}.FooterGrid .GridRow:not(:last-child){border-bottom:0}.FooterGrid .GridRow:not(:last-child).ProvisionalRow{padding-top:12px;justify-content:space-between;flex-direction:column;align-items:center;gap:1rem}.FooterGrid .GridRow:last-child .GridCol:last-child{border-bottom:0}.FooterGrid .GridRow.SplitRow .GridCol:first-child,.FooterGrid .GridRow.SplitRow .GridCol:nth-child(2){flex-basis:unset}.FooterGrid .GridRow.SplitRow .GridCol:nth-child(2){border-left:none}.FooterGrid .GridRow .GridCol{border-bottom:1px solid rgba(255, 255, 255, 0.1);padding:15px 0}}.ClockContainer{color:var(--emfe-w-color-gray-150, #c3c3c3)}.SessionText{color:var(--emfe-w-color-gray-150, #c3c3c3)}.ItemLanguage{display:none}#languageList{padding:0;margin:0}.languageSelectorOverlay{position:relative}.drawerButton{height:30px;width:150px;background:#212529;color:inherit;border:none;padding:0;font:inherit;cursor:pointer;outline:inherit;display:flex;justify-content:space-evenly;align-items:center;border-radius:0px;border:0}.languageDrawer{position:absolute;background:#363e46;width:150px;top:30px;padding:6px 0}.languageDrawer.hidden{display:none}.languageFlag{margin-right:8px;background:white;border-radius:50%;width:14px;height:14px}.downwardChevron{margin-left:8px;margin-top:4px;width:8px;height:auto}.overlayLanguageOption{list-style:none;width:24px;position:relative;padding:0;justify-content:center}.overlayLanguageOption img{position:absolute;z-index:0;cursor:pointer;top:6px;left:12px}.overlayLanguageOption a{text-decoration:none;color:#fff;display:inline-block;width:150px}.overlayLanguageOption a span{width:100%;display:flex;justify-content:center;margin:4px 0}</style>',ne(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Bi,Ri,C,{endpoint:43,lang:0,env:44,clientstyling:1,clientstylingurl:2,translationurl:45,clockenabled:3,clocksecondsenabled:46,clockcustomformat:47,clocktext:4,languageselectorenabled:5,languageslist:48,languagedisplaytype:49,session:50,userid:51,userendpoint:52,userroles:53,panicbuttonenabled:6,sessiontimerenabled:7,baseurl:8},null,[-1,-1,-1]),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),b()))}static get observedAttributes(){return["endpoint","lang","env","clientstyling","clientstylingurl","translationurl","clockenabled","clocksecondsenabled","clockcustomformat","clocktext","languageselectorenabled","languageslist","languagedisplaytype","session","userid","userendpoint","userroles","panicbuttonenabled","sessiontimerenabled","baseurl"]}get endpoint(){return this.$$.ctx[43]}set endpoint(e){this.$$set({endpoint:e}),b()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),b()}get env(){return this.$$.ctx[44]}set env(e){this.$$set({env:e}),b()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),b()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),b()}get translationurl(){return this.$$.ctx[45]}set translationurl(e){this.$$set({translationurl:e}),b()}get clockenabled(){return this.$$.ctx[3]}set clockenabled(e){this.$$set({clockenabled:e}),b()}get clocksecondsenabled(){return this.$$.ctx[46]}set clocksecondsenabled(e){this.$$set({clocksecondsenabled:e}),b()}get clockcustomformat(){return this.$$.ctx[47]}set clockcustomformat(e){this.$$set({clockcustomformat:e}),b()}get clocktext(){return this.$$.ctx[4]}set clocktext(e){this.$$set({clocktext:e}),b()}get languageselectorenabled(){return this.$$.ctx[5]}set languageselectorenabled(e){this.$$set({languageselectorenabled:e}),b()}get languageslist(){return this.$$.ctx[48]}set languageslist(e){this.$$set({languageslist:e}),b()}get languagedisplaytype(){return this.$$.ctx[49]}set languagedisplaytype(e){this.$$set({languagedisplaytype:e}),b()}get session(){return this.$$.ctx[50]}set session(e){this.$$set({session:e}),b()}get userid(){return this.$$.ctx[51]}set userid(e){this.$$set({userid:e}),b()}get userendpoint(){return this.$$.ctx[52]}set userendpoint(e){this.$$set({userendpoint:e}),b()}get userroles(){return this.$$.ctx[53]}set userroles(e){this.$$set({userroles:e}),b()}get panicbuttonenabled(){return this.$$.ctx[6]}set panicbuttonenabled(e){this.$$set({panicbuttonenabled:e}),b()}get sessiontimerenabled(){return this.$$.ctx[7]}set sessiontimerenabled(e){this.$$set({sessiontimerenabled:e}),b()}get baseurl(){return this.$$.ctx[8]}set baseurl(e){this.$$set({baseurl:e}),b()}}return customElements.get("casino-footer")||customElements.define("casino-footer",Ni),Ni});
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 g(){}function A(e){return e()}function H(){return Object.create(null)}function v(e){e.forEach(A)}function y(e){return"function"==typeof e}function C(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let I,R;function w(e,t){return(I=I||document.createElement("a")).href=t,e===I.href}function B(e,...t){if(null==e)return g;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function le(e,t,n){e.$$.on_destroy.push(B(t,n))}function N(e){return e&&y(e.destroy)?e.destroy:g}function S(e,t){e.appendChild(t)}function k(e,t,n){e.insertBefore(t,n||null)}function T(e){e.parentNode.removeChild(e)}function E(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function x(e){return document.createElement(e)}function t(e){return document.createTextNode(e)}function M(){return t(" ")}function G(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function D(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function l(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:D(e,t,n)}function L(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function Y(t,n){for(let e=0;e<t.options.length;e+=1){const r=t.options[e];if(r.__value===n)return r.selected=!0}t.selectedIndex=-1}function U(e,t,n){e.classList[n?"add":"remove"](t)}function j(e){const t={};for(const n of e)t[n.name]=n.value;return t}function V(e){R=e}function ce(e){!function(){if(R)return R;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const W=[],se=[],z=[],Z=[],X=Promise.resolve();let K=!1;function q(e){z.push(e)}const J=new Set;let Q=0;function b(){const e=R;do{for(;Q<W.length;){const e=W[Q];Q++,V(e),t=n=void 0;var t,n=e.$$;null!==n.fragment&&(n.update(),v(n.before_update),t=n.dirty,n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(q))}for(V(null),W.length=0,Q=0;se.length;)se.pop()();for(let e=0;e<z.length;e+=1){const r=z[e];J.has(r)||(J.add(r),r())}}while(z.length=0,W.length);for(;Z.length;)Z.pop()();K=!1,J.clear(),V(e)}const ee=new Set;var te="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function ne(r,e,t,n,i,o,s,a=[-1]){var l=R;V(r);const c=r.$$={fragment:null,ctx:null,props:o,update:g,not_equal:i,bound:H(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:H(),dirty:a,skip_bound:!1,root:e.target||l.$$.root};s&&s(c.root);let u=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{var n=n.length?n[0]:t;return c.ctx&&i(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),u&&(n=e,-1===(e=r).$$.dirty[0]&&(W.push(e),K||(K=!0,X.then(b)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),u=!0,v(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){o=e.target;const g=Array.from(o.childNodes);c.fragment&&c.fragment.l(g),g.forEach(T)}else c.fragment&&c.fragment.c();e.intro&&(a=r.$$.fragment)&&a.i&&(ee.delete(a),a.i(void 0));{var h=r;s=e.target;t=e.anchor;n=e.customElement;const{fragment:d,on_mount:f,on_destroy:p,after_update:m}=h.$$;d&&d.m(s,t),n||q(()=>{var e=f.map(A).filter(y);p?p.push(...e):v(e),h.$$.on_mount=[]}),m.forEach(q)}b()}V(l)}let re;function ie(e){let n,r,i,o,s,a,l,c;return{c(){n=x("div"),r=x("a"),D(i=x("img"),"class","FooterImage"),D(i,"part","FooterImage"),w(i.src,o=e[16])||D(i,"src",o),D(i,"title",s=e[17]||e[15]),D(r,"class",a="FooterLink "+(e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"part",l="FooterLink "+(e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"href",c=e[19]?e[15]:e[21]+`/${e[22]}/`+e[15]),D(r,"target",e[18]),D(n,"class","FooterItem SocialItem"),D(n,"part","FooterItem SocialItem")},m(e,t){k(e,n,t),S(n,r),S(r,i)},p(e,t){65536&t&&!w(i.src,o=e[16])&&D(i,"src",o),163840&t&&s!==(s=e[17]||e[15])&&D(i,"title",s),32768&t&&a!==(a="FooterLink "+(e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"class",a),32768&t&&l!==(l="FooterLink "+(e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"part",l),6848512&t&&c!==(c=e[19]?e[15]:e[21]+`/${e[22]}/`+e[15])&&D(r,"href",c),262144&t&&D(r,"target",e[18])},d(e){e&&T(n)}}}function oe(e){let n,r,i,o,s,a,l,c;return{c(){n=x("div"),r=x("a"),D(i=x("img"),"class","FooterImage"),D(i,"part","FooterImage"),w(i.src,o=e[13])||D(i,"src",o),D(i,"title",s=e[14]||e[12]),D(r,"class",a="FooterLink "+(e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"part",l="FooterLink "+(e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"href",c=e[19]?e[12]:e[21]+`/${e[22]}/`+e[12]),D(r,"target",e[18]),D(n,"class","FooterItem"),D(n,"part","FooterItem")},m(e,t){k(e,n,t),S(n,r),S(r,i)},p(e,t){8192&t&&!w(i.src,o=e[13])&&D(i,"src",o),20480&t&&s!==(s=e[14]||e[12])&&D(i,"title",s),4096&t&&a!==(a="FooterLink "+(e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"class",a),4096&t&&l!==(l="FooterLink "+(e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"part",l),6819840&t&&c!==(c=e[19]?e[12]:e[21]+`/${e[22]}/`+e[12])&&D(r,"href",c),262144&t&&D(r,"target",e[18])},d(e){e&&T(n)}}}function ue(e){let n,r,i,o,s,a,l,c,u,h,d=e[11]&&pe(e);return{c(){n=x("div"),r=x("a"),i=x("img"),a=M(),d&&d.c(),D(i,"class","FooterImage"),D(i,"part","FooterImage"),w(i.src,o=e[10])||D(i,"src",o),D(i,"title",s=e[11]||e[9]),D(r,"class",l=(e[11]?"FooterHelperLink":"")+" "+(e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"part",c=(e[11]?"FooterHelperLink":"")+" "+(e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"href",u=e[19]?e[9]:e[21]+`/${e[22]}/`+e[9]),D(r,"target",e[18]),D(n,"class",h="FooterItem HelperLinkItem "+("true"==e[20]?"DisplayColumn":"")),D(n,"part","FooterItem HelperLinkItem")},m(e,t){k(e,n,t),S(n,r),S(r,i),S(r,a),d&&d.m(r,null)},p(e,t){1024&t&&!w(i.src,o=e[10])&&D(i,"src",o),2560&t&&s!==(s=e[11]||e[9])&&D(i,"title",s),e[11]?d?d.p(e,t):((d=pe(e)).c(),d.m(r,null)):d&&(d.d(1),d=null),2560&t&&l!==(l=(e[11]?"FooterHelperLink":"")+" "+(e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"class",l),2560&t&&c!==(c=(e[11]?"FooterHelperLink":"")+" "+(e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"part",c),6816256&t&&u!==(u=e[19]?e[9]:e[21]+`/${e[22]}/`+e[9])&&D(r,"href",u),262144&t&&D(r,"target",e[18]),1048576&t&&h!==(h="FooterItem HelperLinkItem "+("true"==e[20]?"DisplayColumn":""))&&D(n,"class",h)},d(e){e&&T(n),d&&d.d()}}}function he(e){let n,r,i,o,s,a,l,c;return{c(){n=x("div"),r=x("a"),D(i=x("img"),"class","FooterImage"),D(i,"part","FooterImage"),w(i.src,o=e[7])||D(i,"src",o),D(i,"title",s=e[8]||e[6]),D(r,"class",a=(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"part",l=(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"href",c=e[19]?e[6]:e[21]+`/${e[22]}/`+e[6]),D(r,"target",e[18]),D(n,"class","FooterItem GameVendorItem"),D(n,"part","FooterItem GameVendorItem")},m(e,t){k(e,n,t),S(n,r),S(r,i)},p(e,t){128&t&&!w(i.src,o=e[7])&&D(i,"src",o),320&t&&s!==(s=e[8]||e[6])&&D(i,"title",s),64&t&&a!==(a=(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"class",a),64&t&&l!==(l=(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"part",l),6815808&t&&c!==(c=e[19]?e[6]:e[21]+`/${e[22]}/`+e[6])&&D(r,"href",c),262144&t&&D(r,"target",e[18])},d(e){e&&T(n)}}}function de(e){let n,r,i,o,s,a,l,c,u,h=e[5]&&me(e);return{c(){n=x("div"),r=x("a"),i=x("img"),a=M(),h&&h.c(),D(i,"class","FooterImage"),D(i,"part","FooterImage"),w(i.src,o=e[4])||D(i,"src",o),D(i,"title",s=e[5]||e[3]),D(r,"class",l=(e[5]?"FooterPaymentLink":"")+" "+(e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"part",c=(e[5]?"FooterPaymentLink":"")+" "+(e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"href",u=e[19]?e[3]:e[21]+`/${e[22]}/`+e[3]),D(r,"target",e[18]),D(n,"class","FooterItem PaymentItem"),D(n,"part","FooterItem PaymentItem")},m(e,t){k(e,n,t),S(n,r),S(r,i),S(r,a),h&&h.m(r,null)},p(e,t){16&t&&!w(i.src,o=e[4])&&D(i,"src",o),40&t&&s!==(s=e[5]||e[3])&&D(i,"title",s),e[5]?h?h.p(e,t):((h=me(e)).c(),h.m(r,null)):h&&(h.d(1),h=null),40&t&&l!==(l=(e[5]?"FooterPaymentLink":"")+" "+(e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"class",l),40&t&&c!==(c=(e[5]?"FooterPaymentLink":"")+" "+(e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"part",c),6815752&t&&u!==(u=e[19]?e[3]:e[21]+`/${e[22]}/`+e[3])&&D(r,"href",u),262144&t&&D(r,"target",e[18])},d(e){e&&T(n),h&&h.d()}}}function fe(e){let n,r,i,o,s,a,l,c,u,h=e[2]&&ge(e);return{c(){n=x("div"),r=x("a"),i=x("img"),a=M(),h&&h.c(),D(i,"class","FooterImage"),D(i,"part","FooterImage"),w(i.src,o=e[1])||D(i,"src",o),D(i,"title",s=e[2]||e[0]),D(r,"class",l=(e[2]?"FooterSponsorLink":"")+" "+(e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"part",c=(e[2]?"FooterSponsorLink":"")+" "+(e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor"),D(r,"href",u=e[19]?e[0]:e[21]+`/${e[22]}/`+e[0]),D(r,"target",e[18]),D(n,"class","FooterItem SponsorItem"),D(n,"part","FooterItem SponsorItem")},m(e,t){k(e,n,t),S(n,r),S(r,i),S(r,a),h&&h.m(r,null)},p(e,t){2&t&&!w(i.src,o=e[1])&&D(i,"src",o),5&t&&s!==(s=e[2]||e[0])&&D(i,"title",s),e[2]?h?h.p(e,t):((h=ge(e)).c(),h.m(r,null)):h&&(h.d(1),h=null),5&t&&l!==(l=(e[2]?"FooterSponsorLink":"")+" "+(e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"class",l),5&t&&c!==(c=(e[2]?"FooterSponsorLink":"")+" "+(e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&D(r,"part",c),6815745&t&&u!==(u=e[19]?e[0]:e[21]+`/${e[22]}/`+e[0])&&D(r,"href",u),262144&t&&D(r,"target",e[18])},d(e){e&&T(n),h&&h.d()}}}function pe(e){let n,r;return{c(){n=x("p"),r=t(e[11]),D(n,"class","HelperTitle"),D(n,"part","HelperTitle")},m(e,t){k(e,n,t),S(n,r)},p(e,t){2048&t&&L(r,e[11])},d(e){e&&T(n)}}}function me(e){let n,r;return{c(){n=x("p"),r=t(e[5]),D(n,"class","PaymentTitle"),D(n,"part","PaymentTitle")},m(e,t){k(e,n,t),S(n,r)},p(e,t){32&t&&L(r,e[5])},d(e){e&&T(n)}}}function ge(e){let n,r;return{c(){n=x("p"),r=t(e[2]),D(n,"class","SponsorTitle"),D(n,"part","SponsorTitle")},m(e,t){k(e,n,t),S(n,r)},p(e,t){4&t&&L(r,e[2])},d(e){e&&T(n)}}}function ye(n){let r;function i(e){return e[1]?fe:e[4]?de:e[7]?he:e[10]?ue:e[13]?oe:e[16]?ie:void 0}let o=i(n),s=o&&o(n);return{c(){r=x("div"),s&&s.c(),this.c=g,D(r,"class","ThumbnailContainer"),D(r,"part","ThumbnailContainer")},m(e,t){k(e,r,t),s&&s.m(r,null),n[26](r)},p(e,[t]){o===(o=i(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r,null)))},i:g,o:g,d(e){e&&T(r),s&&s.d(),n[26](null)}}}function be(e,t,n){let r,{sponsorurl:i=""}=t,{sponsorimage:o=""}=t,{sponsortitle:s=""}=t,{paymenturl:a=""}=t,{paymentimage:l=""}=t,{paymenttitle:c=""}=t,{vendorurl:u=""}=t,{vendorimage:h=""}=t,{vendortitle:d=""}=t,{helperlinkurl:f=""}=t,{helperlinkimage:p=""}=t,{helperlinktitle:m=""}=t,{licenseurl:g=""}=t,{licenseimage:y=""}=t,{licensetitle:b=""}=t,{sociallinkurl:_=""}=t,{sociallinkimage:v=""}=t,{sociallinktitle:w=""}=t,{target:S="_self"}=t,{linktype:k="false"}=t,{displaycolumn:T=""}=t,{baseurl:E=""}=t,{lang:x=""}=t,{clientstyling:M=""}=t,{clientstylingurl:D=""}=t;return e.$$set=e=>{"sponsorurl"in e&&n(0,i=e.sponsorurl),"sponsorimage"in e&&n(1,o=e.sponsorimage),"sponsortitle"in e&&n(2,s=e.sponsortitle),"paymenturl"in e&&n(3,a=e.paymenturl),"paymentimage"in e&&n(4,l=e.paymentimage),"paymenttitle"in e&&n(5,c=e.paymenttitle),"vendorurl"in e&&n(6,u=e.vendorurl),"vendorimage"in e&&n(7,h=e.vendorimage),"vendortitle"in e&&n(8,d=e.vendortitle),"helperlinkurl"in e&&n(9,f=e.helperlinkurl),"helperlinkimage"in e&&n(10,p=e.helperlinkimage),"helperlinktitle"in e&&n(11,m=e.helperlinktitle),"licenseurl"in e&&n(12,g=e.licenseurl),"licenseimage"in e&&n(13,y=e.licenseimage),"licensetitle"in e&&n(14,b=e.licensetitle),"sociallinkurl"in e&&n(15,_=e.sociallinkurl),"sociallinkimage"in e&&n(16,v=e.sociallinkimage),"sociallinktitle"in e&&n(17,w=e.sociallinktitle),"target"in e&&n(18,S=e.target),"linktype"in e&&n(19,k=e.linktype),"displaycolumn"in e&&n(20,T=e.displaycolumn),"baseurl"in e&&n(21,E=e.baseurl),"lang"in e&&n(22,x=e.lang),"clientstyling"in e&&n(24,M=e.clientstyling),"clientstylingurl"in e&&n(25,D=e.clientstylingurl)},e.$$.update=()=>{if(25165824&e.$$.dirty&&M&&r){let e=document.createElement("style");e.innerHTML=M,r.appendChild(e)}if(41943040&e.$$.dirty&&D&&r){let e=new URL(D),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[i,o,s,a,l,c,u,h,d,f,p,m,g,y,b,_,v,w,S,k,T,E,x,r,M,D,function(e){se[e?"unshift":"push"](()=>{r=e,n(23,r)})}]}function _e(e,t,n){const r=e.slice();return r[31]=t[n],r}function ve(e,t,n){const r=e.slice();return r[31]=t[n],r}function we(e,t,n){const r=e.slice();return r[31]=t[n],r}function Se(e,t,n){const r=e.slice();return r[31]=t[n],r}function ke(e,t,n){const r=e.slice();return r[28]=t[n],r}function Te(e,t,n){const r=e.slice();return r[25]=t[n],r}function Ee(t){let i,o=t[17],s=[];for(let e=0;e<o.length;e+=1)s[e]=Fe(_e(t,o,e));return{c(){i=x("div");for(let e=0;e<s.length;e+=1)s[e].c();D(i,"class","FooterSectionInnerContainer"),D(i,"part","FooterSectionInnerContainer")},m(e,t){k(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(132992&n[0]){let e;for(o=t[17],e=0;e<o.length;e+=1){var r=_e(t,o,e);s[e]?s[e].p(r,n):(s[e]=Fe(r),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){e&&T(i),E(s,e)}}}function xe(t){let i,o=t[16],s=[];for(let e=0;e<o.length;e+=1)s[e]=Pe(ve(t,o,e));return{c(){i=x("div");for(let e=0;e<s.length;e+=1)s[e].c();D(i,"class","FooterSectionInnerContainer"),D(i,"part","FooterSectionInnerContainer")},m(e,t){k(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(67456&n[0]){let e;for(o=t[16],e=0;e<o.length;e+=1){var r=ve(t,o,e);s[e]?s[e].p(r,n):(s[e]=Pe(r),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){e&&T(i),E(s,e)}}}function Me(t){let i,e,o=t[15],s=[];for(let e=0;e<o.length;e+=1)s[e]=$e(we(t,o,e));return{c(){i=x("div");for(let e=0;e<s.length;e+=1)s[e].c();D(i,"class",e="FooterSectionInnerContainer "+("true"==t[6]?"DisplayColumn":"")),D(i,"part","FooterSectionInnerContainer")},m(e,t){k(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(34752&n[0]){let e;for(o=t[15],e=0;e<o.length;e+=1){var r=we(t,o,e);s[e]?s[e].p(r,n):(s[e]=$e(r),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}64&n[0]&&e!==(e="FooterSectionInnerContainer "+("true"==t[6]?"DisplayColumn":""))&&D(i,"class",e)},d(e){e&&T(i),E(s,e)}}}function De(t){let i,o=t[14],s=[];for(let e=0;e<o.length;e+=1)s[e]=Ae(Se(t,o,e));return{c(){i=x("div");for(let e=0;e<s.length;e+=1)s[e].c();D(i,"class","FooterSectionInnerContainer"),D(i,"part","FooterSectionInnerContainer")},m(e,t){k(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(18304&n[0]){let e;for(o=t[14],e=0;e<o.length;e+=1){var r=Se(t,o,e);s[e]?s[e].p(r,n):(s[e]=Ae(r),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){e&&T(i),E(s,e)}}}function Le(t){let i,o=t[13],s=[];for(let e=0;e<o.length;e+=1)s[e]=He(ke(t,o,e));return{c(){i=x("div");for(let e=0;e<s.length;e+=1)s[e].c();D(i,"class","FooterSectionInnerContainer"),D(i,"part","FooterSectionInnerContainer")},m(e,t){k(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(10112&n[0]){let e;for(o=t[13],e=0;e<o.length;e+=1){var r=ke(t,o,e);s[e]?s[e].p(r,n):(s[e]=He(r),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){e&&T(i),E(s,e)}}}function Oe(t){let i,o=t[12],s=[];for(let e=0;e<o.length;e+=1)s[e]=Ce(Te(t,o,e));return{c(){i=x("div");for(let e=0;e<s.length;e+=1)s[e].c();D(i,"class","FooterSectionInnerContainer"),D(i,"part","FooterSectionInnerContainer")},m(e,t){k(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(6016&n[0]){let e;for(o=t[12],e=0;e<o.length;e+=1){var r=Te(t,o,e);s[e]?s[e].p(r,n):(s[e]=Ce(r),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){e&&T(i),E(s,e)}}}function Fe(e){let n,r,i,o,s,a;return{c(){l(n=x("casino-footer-thumbnail"),"sociallinkurl",r=e[31].socialLinkUrl),l(n,"sociallinkimage",i=e[31].socialLinkImage),l(n,"sociallinktitle",o=e[31].socialLinkTitle),l(n,"clientstyling",e[9]),l(n,"clientstylingurl",e[10]),l(n,"linktype",s=e[31]?.isExternalLink),l(n,"target",a=e[31]?.target),l(n,"baseurl",e[7]),l(n,"lang",e[8])},m(e,t){k(e,n,t)},p(e,t){131072&t[0]&&r!==(r=e[31].socialLinkUrl)&&l(n,"sociallinkurl",r),131072&t[0]&&i!==(i=e[31].socialLinkImage)&&l(n,"sociallinkimage",i),131072&t[0]&&o!==(o=e[31].socialLinkTitle)&&l(n,"sociallinktitle",o),512&t[0]&&l(n,"clientstyling",e[9]),1024&t[0]&&l(n,"clientstylingurl",e[10]),131072&t[0]&&s!==(s=e[31]?.isExternalLink)&&l(n,"linktype",s),131072&t[0]&&a!==(a=e[31]?.target)&&l(n,"target",a),128&t[0]&&l(n,"baseurl",e[7]),256&t[0]&&l(n,"lang",e[8])},d(e){e&&T(n)}}}function Pe(e){let n,r,i,o,s,a;return{c(){l(n=x("casino-footer-thumbnail"),"licenseurl",r=e[31].licenseUrl),l(n,"licenseimage",i=e[31].licenseImage),l(n,"licensetitle",o=e[31].licenseTitle),l(n,"clientstyling",e[9]),l(n,"clientstylingurl",e[10]),l(n,"linktype",s=e[31]?.isExternalLink),l(n,"target",a=e[31]?.target),l(n,"baseurl",e[7]),l(n,"lang",e[8])},m(e,t){k(e,n,t)},p(e,t){65536&t[0]&&r!==(r=e[31].licenseUrl)&&l(n,"licenseurl",r),65536&t[0]&&i!==(i=e[31].licenseImage)&&l(n,"licenseimage",i),65536&t[0]&&o!==(o=e[31].licenseTitle)&&l(n,"licensetitle",o),512&t[0]&&l(n,"clientstyling",e[9]),1024&t[0]&&l(n,"clientstylingurl",e[10]),65536&t[0]&&s!==(s=e[31]?.isExternalLink)&&l(n,"linktype",s),65536&t[0]&&a!==(a=e[31]?.target)&&l(n,"target",a),128&t[0]&&l(n,"baseurl",e[7]),256&t[0]&&l(n,"lang",e[8])},d(e){e&&T(n)}}}function $e(e){let n,r,i,o,s,a;return{c(){l(n=x("casino-footer-thumbnail"),"helperlinkurl",r=e[31].helpLinkUrl),l(n,"helperlinkimage",i=e[31].helpLinkImage),l(n,"helperlinktitle",o=e[31].helpLinkTitle),l(n,"clientstyling",e[9]),l(n,"clientstylingurl",e[10]),l(n,"displaycolumn",e[6]),l(n,"linktype",s=e[31]?.helpLinkType),l(n,"target",a=e[31]?.target),l(n,"baseurl",e[7]),l(n,"lang",e[8])},m(e,t){k(e,n,t)},p(e,t){32768&t[0]&&r!==(r=e[31].helpLinkUrl)&&l(n,"helperlinkurl",r),32768&t[0]&&i!==(i=e[31].helpLinkImage)&&l(n,"helperlinkimage",i),32768&t[0]&&o!==(o=e[31].helpLinkTitle)&&l(n,"helperlinktitle",o),512&t[0]&&l(n,"clientstyling",e[9]),1024&t[0]&&l(n,"clientstylingurl",e[10]),64&t[0]&&l(n,"displaycolumn",e[6]),32768&t[0]&&s!==(s=e[31]?.helpLinkType)&&l(n,"linktype",s),32768&t[0]&&a!==(a=e[31]?.target)&&l(n,"target",a),128&t[0]&&l(n,"baseurl",e[7]),256&t[0]&&l(n,"lang",e[8])},d(e){e&&T(n)}}}function Ae(e){let n,r,i,o,s,a;return{c(){l(n=x("casino-footer-thumbnail"),"vendorurl",r=e[31].gameVendorUrl),l(n,"vendorimage",i=e[31].gameVendorImage),l(n,"vendortitle",o=e[31].gameVendorTitle),l(n,"clientstyling",e[9]),l(n,"clientstylingurl",e[10]),l(n,"linktype",s=e[31]?.isExternalLink),l(n,"target",a=e[31]?.target),l(n,"baseurl",e[7]),l(n,"lang",e[8])},m(e,t){k(e,n,t)},p(e,t){16384&t[0]&&r!==(r=e[31].gameVendorUrl)&&l(n,"vendorurl",r),16384&t[0]&&i!==(i=e[31].gameVendorImage)&&l(n,"vendorimage",i),16384&t[0]&&o!==(o=e[31].gameVendorTitle)&&l(n,"vendortitle",o),512&t[0]&&l(n,"clientstyling",e[9]),1024&t[0]&&l(n,"clientstylingurl",e[10]),16384&t[0]&&s!==(s=e[31]?.isExternalLink)&&l(n,"linktype",s),16384&t[0]&&a!==(a=e[31]?.target)&&l(n,"target",a),128&t[0]&&l(n,"baseurl",e[7]),256&t[0]&&l(n,"lang",e[8])},d(e){e&&T(n)}}}function He(e){let n,r,i,o,s,a;return{c(){l(n=x("casino-footer-thumbnail"),"paymenturl",r=e[28].paymentMethodUrl),l(n,"paymentimage",i=e[28].paymentMethodImage),l(n,"paymenttitle",o=e[28].paymentMethodTitle),l(n,"clientstyling",e[9]),l(n,"clientstylingurl",e[10]),l(n,"linktype",s=e[28]?.isExternalLink),l(n,"target",a=e[28]?.target),l(n,"baseurl",e[7]),l(n,"lang",e[8])},m(e,t){k(e,n,t)},p(e,t){8192&t[0]&&r!==(r=e[28].paymentMethodUrl)&&l(n,"paymenturl",r),8192&t[0]&&i!==(i=e[28].paymentMethodImage)&&l(n,"paymentimage",i),8192&t[0]&&o!==(o=e[28].paymentMethodTitle)&&l(n,"paymenttitle",o),512&t[0]&&l(n,"clientstyling",e[9]),1024&t[0]&&l(n,"clientstylingurl",e[10]),8192&t[0]&&s!==(s=e[28]?.isExternalLink)&&l(n,"linktype",s),8192&t[0]&&a!==(a=e[28]?.target)&&l(n,"target",a),128&t[0]&&l(n,"baseurl",e[7]),256&t[0]&&l(n,"lang",e[8])},d(e){e&&T(n)}}}function Ce(e){let n,r,i,o,s,a;return{c(){l(n=x("casino-footer-thumbnail"),"sponsorurl",r=e[25].sponsorUrl),l(n,"sponsorimage",i=e[25].sponsorImage),l(n,"sponsortitle",o=e[25].sponsorTitle),l(n,"clientstyling",e[9]),l(n,"clientstylingurl",e[10]),l(n,"linktype",s=e[25]?.isExternalLink),l(n,"target",a=e[25]?.target),l(n,"baseurl",e[7]),l(n,"lang",e[8])},m(e,t){k(e,n,t)},p(e,t){4096&t[0]&&r!==(r=e[25].sponsorUrl)&&l(n,"sponsorurl",r),4096&t[0]&&i!==(i=e[25].sponsorImage)&&l(n,"sponsorimage",i),4096&t[0]&&o!==(o=e[25].sponsorTitle)&&l(n,"sponsortitle",o),512&t[0]&&l(n,"clientstyling",e[9]),1024&t[0]&&l(n,"clientstylingurl",e[10]),4096&t[0]&&s!==(s=e[25]?.isExternalLink)&&l(n,"linktype",s),4096&t[0]&&a!==(a=e[25]?.target)&&l(n,"target",a),128&t[0]&&l(n,"baseurl",e[7]),256&t[0]&&l(n,"lang",e[8])},d(e){e&&T(n)}}}function Ie(n){let r;function i(e){return e[0]&&e[12].length?Oe:e[1]&&e[13].length?Le:e[2]&&e[14].length?De:e[3]&&e[15].length?Me:e[4]&&e[16].length?xe:e[5]&&e[17].length?Ee:void 0}let o=i(n),s=o&&o(n);return{c(){r=x("div"),s&&s.c(),this.c=g,D(r,"class","FooterSectionContainer"),D(r,"part","FooterSectionContainer")},m(e,t){k(e,r,t),s&&s.m(r,null),n[21](r)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(r,null)))},i:g,o:g,d(e){e&&T(r),s&&s.d(),n[21](null)}}}function Re(e,t,n){let r,{sponsorflag:i=""}=t,{paymentflag:o=""}=t,{vendorflag:s=""}=t,{helperflag:a=""}=t,{licenseflag:l=""}=t,{socialflag:c=""}=t,{target:u=""}=t,{displaycolumn:h=""}=t,{category:d=""}=t,{baseurl:f=""}=t,{lang:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{footertype:y=""}=t,b=[],_=[],v=[],w=[],S=[],k=[];const T=e=>{e.data&&"FooterData"===e.data.type&&(n(12,b=e.data.sponsorsRepeater),n(13,_=e.data.paymentMethodsRepeater),n(14,v=e.data.gameVendorsRepeater),n(15,w=e.data.helpLinksRepeater),n(16,S=e.data.licensesRepeater),n(17,k=e.data.socialLinksRepeater),d&&n(15,w=w.filter(e=>e.key==d)),"footersecondary"===y&&n(15,w=w[0].value))};return ce(()=>(window.addEventListener("message",T,!1),()=>{window.removeEventListener("message",T)})),e.$$set=e=>{"sponsorflag"in e&&n(0,i=e.sponsorflag),"paymentflag"in e&&n(1,o=e.paymentflag),"vendorflag"in e&&n(2,s=e.vendorflag),"helperflag"in e&&n(3,a=e.helperflag),"licenseflag"in e&&n(4,l=e.licenseflag),"socialflag"in e&&n(5,c=e.socialflag),"target"in e&&n(18,u=e.target),"displaycolumn"in e&&n(6,h=e.displaycolumn),"category"in e&&n(19,d=e.category),"baseurl"in e&&n(7,f=e.baseurl),"lang"in e&&n(8,p=e.lang),"clientstyling"in e&&n(9,m=e.clientstyling),"clientstylingurl"in e&&n(10,g=e.clientstylingurl),"footertype"in e&&n(20,y=e.footertype)},e.$$.update=()=>{if(2560&e.$$.dirty[0]&&m&&r){let e=document.createElement("style");e.innerHTML=m,r.appendChild(e)}if(3072&e.$$.dirty[0]&&g&&r){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[i,o,s,a,l,c,h,f,p,m,g,r,b,_,v,w,S,k,u,d,y,function(e){se[e?"unshift":"push"](()=>{r=e,n(11,r)})}]}"function"==typeof HTMLElement&&(re=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(A).filter(y);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){v(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(v(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=g}$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)}}),customElements.get("casino-footer-thumbnail")||customElements.define("casino-footer-thumbnail",class extends re{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterItem{display:inline-block;padding:0 12px}.FooterItem .FooterSponsorLink,.FooterItem .FooterPaymentLink{display:block}.FooterItem .FooterSponsorLink{display:flex;align-items:center}.FooterItem .FooterPaymentLink,.FooterItem .FooterHelperLink{display:flex;align-items:center;justify-content:center}.FooterItem .FooterLinkDisabled{pointer-events:none;cursor:auto}.FooterItem .SponsorTitle,.FooterItem .PaymentTitle{font-size:9px;text-decoration:none;color:var(--emfe-w-color-gray-150, #828282);text-align:center}.FooterItem .HelperTitle{color:#111111;font-size:8px}.FooterItem.HelperLinkItem p{font-size:10px}.FooterItem .FooterItemAnchor{display:flex;flex-direction:column;gap:6px;text-decoration:none}.FooterItem.SocialItem .FooterItemAnchor{width:42px;height:42px}.SponsorTitle{margin:0}.FooterLink{display:block;text-align:center}.DisplayColumn .FooterItemAnchor{flex-direction:row}.DisplayColumn .FooterImage{height:16px;width:16px}.DisplayColumn.FooterItem.HelperLinkItem p{font-size:12px}@media only screen and (max-width: 768px){.FooterItem{padding:0 5px}.FooterItem.PaymentItem{padding:15px 5px}.FooterItem.GameVendorItem{padding:0 10px}}</style>",ne(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},be,ye,C,{sponsorurl:0,sponsorimage:1,sponsortitle:2,paymenturl:3,paymentimage:4,paymenttitle:5,vendorurl:6,vendorimage:7,vendortitle:8,helperlinkurl:9,helperlinkimage:10,helperlinktitle:11,licenseurl:12,licenseimage:13,licensetitle:14,sociallinkurl:15,sociallinkimage:16,sociallinktitle:17,target:18,linktype:19,displaycolumn:20,baseurl:21,lang:22,clientstyling:24,clientstylingurl:25},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),b()))}static get observedAttributes(){return["sponsorurl","sponsorimage","sponsortitle","paymenturl","paymentimage","paymenttitle","vendorurl","vendorimage","vendortitle","helperlinkurl","helperlinkimage","helperlinktitle","licenseurl","licenseimage","licensetitle","sociallinkurl","sociallinkimage","sociallinktitle","target","linktype","displaycolumn","baseurl","lang","clientstyling","clientstylingurl"]}get sponsorurl(){return this.$$.ctx[0]}set sponsorurl(e){this.$$set({sponsorurl:e}),b()}get sponsorimage(){return this.$$.ctx[1]}set sponsorimage(e){this.$$set({sponsorimage:e}),b()}get sponsortitle(){return this.$$.ctx[2]}set sponsortitle(e){this.$$set({sponsortitle:e}),b()}get paymenturl(){return this.$$.ctx[3]}set paymenturl(e){this.$$set({paymenturl:e}),b()}get paymentimage(){return this.$$.ctx[4]}set paymentimage(e){this.$$set({paymentimage:e}),b()}get paymenttitle(){return this.$$.ctx[5]}set paymenttitle(e){this.$$set({paymenttitle:e}),b()}get vendorurl(){return this.$$.ctx[6]}set vendorurl(e){this.$$set({vendorurl:e}),b()}get vendorimage(){return this.$$.ctx[7]}set vendorimage(e){this.$$set({vendorimage:e}),b()}get vendortitle(){return this.$$.ctx[8]}set vendortitle(e){this.$$set({vendortitle:e}),b()}get helperlinkurl(){return this.$$.ctx[9]}set helperlinkurl(e){this.$$set({helperlinkurl:e}),b()}get helperlinkimage(){return this.$$.ctx[10]}set helperlinkimage(e){this.$$set({helperlinkimage:e}),b()}get helperlinktitle(){return this.$$.ctx[11]}set helperlinktitle(e){this.$$set({helperlinktitle:e}),b()}get licenseurl(){return this.$$.ctx[12]}set licenseurl(e){this.$$set({licenseurl:e}),b()}get licenseimage(){return this.$$.ctx[13]}set licenseimage(e){this.$$set({licenseimage:e}),b()}get licensetitle(){return this.$$.ctx[14]}set licensetitle(e){this.$$set({licensetitle:e}),b()}get sociallinkurl(){return this.$$.ctx[15]}set sociallinkurl(e){this.$$set({sociallinkurl:e}),b()}get sociallinkimage(){return this.$$.ctx[16]}set sociallinkimage(e){this.$$set({sociallinkimage:e}),b()}get sociallinktitle(){return this.$$.ctx[17]}set sociallinktitle(e){this.$$set({sociallinktitle:e}),b()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),b()}get linktype(){return this.$$.ctx[19]}set linktype(e){this.$$set({linktype:e}),b()}get displaycolumn(){return this.$$.ctx[20]}set displaycolumn(e){this.$$set({displaycolumn:e}),b()}get baseurl(){return this.$$.ctx[21]}set baseurl(e){this.$$set({baseurl:e}),b()}get lang(){return this.$$.ctx[22]}set lang(e){this.$$set({lang:e}),b()}get clientstyling(){return this.$$.ctx[24]}set clientstyling(e){this.$$set({clientstyling:e}),b()}get clientstylingurl(){return this.$$.ctx[25]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),b()}}),customElements.get("casino-footer-section")||customElements.define("casino-footer-section",class extends re{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterSectionInnerContainer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.DisplayColumn{flex-direction:column;align-items:flex-start}</style>",ne(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Re,Ie,C,{sponsorflag:0,paymentflag:1,vendorflag:2,helperflag:3,licenseflag:4,socialflag:5,target:18,displaycolumn:6,category:19,baseurl:7,lang:8,clientstyling:9,clientstylingurl:10,footertype:20},null,[-1,-1]),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),b()))}static get observedAttributes(){return["sponsorflag","paymentflag","vendorflag","helperflag","licenseflag","socialflag","target","displaycolumn","category","baseurl","lang","clientstyling","clientstylingurl","footertype"]}get sponsorflag(){return this.$$.ctx[0]}set sponsorflag(e){this.$$set({sponsorflag:e}),b()}get paymentflag(){return this.$$.ctx[1]}set paymentflag(e){this.$$set({paymentflag:e}),b()}get vendorflag(){return this.$$.ctx[2]}set vendorflag(e){this.$$set({vendorflag:e}),b()}get helperflag(){return this.$$.ctx[3]}set helperflag(e){this.$$set({helperflag:e}),b()}get licenseflag(){return this.$$.ctx[4]}set licenseflag(e){this.$$set({licenseflag:e}),b()}get socialflag(){return this.$$.ctx[5]}set socialflag(e){this.$$set({socialflag:e}),b()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),b()}get displaycolumn(){return this.$$.ctx[6]}set displaycolumn(e){this.$$set({displaycolumn:e}),b()}get category(){return this.$$.ctx[19]}set category(e){this.$$set({category:e}),b()}get baseurl(){return this.$$.ctx[7]}set baseurl(e){this.$$set({baseurl:e}),b()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),b()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),b()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),b()}get footertype(){return this.$$.ctx[20]}set footertype(e){this.$$set({footertype:e}),b()}});var Be,Ne,a="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==a&&a,Ge="URLSearchParams"in a,Ye="Symbol"in a&&"iterator"in Symbol,Ue="FileReader"in a&&"Blob"in a&&function(){try{return new Blob,!0}catch(e){return!1}}(),je="FormData"in a,Ve="ArrayBuffer"in a;function We(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 ze(e){return e="string"!=typeof e?String(e):e}function Ze(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return Ye&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?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 Xe(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Ke(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function qe(e){var t=new FileReader,n=Ke(t);return t.readAsArrayBuffer(e),n}function Je(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Qe(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:Ue&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:je&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Ge&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Ve&&Ue&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Je(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Ve&&(ArrayBuffer.prototype.isPrototypeOf(e)||Ne(e))?this._bodyArrayBuffer=Je(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):Ge&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Ue&&(this.blob=function(){var e=Xe(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?Xe(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(qe)}),this.text=function(){var e,t,n=Xe(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,t=Ke(e=new FileReader),e.readAsText(n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},je&&(this.formData=function(){return this.text().then(tt)}),this.json=function(){return this.text().then(JSON.parse)},this}Ve&&(Be=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Ne=ArrayBuffer.isView||function(e){return e&&-1<Be.indexOf(Object.prototype.toString.call(e))}),c.prototype.append=function(e,t){e=We(e),t=ze(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},c.prototype.delete=function(e){delete this.map[We(e)]},c.prototype.get=function(e){return e=We(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(We(e))},c.prototype.set=function(e,t){this.map[We(e)]=ze(t)},c.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},c.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),Ze(n)},c.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Ze(t)},c.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Ze(n)},Ye&&(c.prototype[Symbol.iterator]=c.prototype.entries);var et=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function u(e,t){if(!(this instanceof u))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof u){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new c(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new c(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<et.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function tt(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function h(e,t){if(!(this instanceof h))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 c(t.headers),this.url=t.url||"",this._initBody(e)}u.prototype.clone=function(){return new u(this,{body:this._bodyInit})},Qe.call(u.prototype),Qe.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},h.error=function(){var e=new h(null,{status:0,statusText:""});return e.type="error",e};var nt=[301,302,303,307,308],rt=(h.redirect=function(e,t){if(-1===nt.indexOf(t))throw new RangeError("Invalid status code");return new h(null,{status:t,headers:{location:e}})},a.DOMException);try{new rt}catch(g){(rt=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),rt.prototype.constructor=rt}function it(r,s){return new Promise(function(i,e){var t=new u(r,s);if(t.signal&&t.signal.aborted)return e(new rt("Aborted","AbortError"));var o=new XMLHttpRequest;function n(){o.abort()}o.onload=function(){var e,n,t={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",n=new c,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 e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),n.append(t,e))}),n)},r=(t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL"),"response"in o?o.response:o.responseText);setTimeout(function(){i(new h(r,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){e(new rt("Aborted","AbortError"))},0)},o.open(t.method,function(t){try{return""===t&&a.location.href?a.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?o.withCredentials=!0:"omit"===t.credentials&&(o.withCredentials=!1),"responseType"in o&&(Ue?o.responseType="blob":Ve&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof c?t.headers.forEach(function(e,t){o.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){o.setRequestHeader(e,ze(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),o.onreadystatechange=function(){4===o.readyState&&t.signal.removeEventListener("abort",n)}),o.send(void 0===t._bodyInit?null:t._bodyInit)})}function Fn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}it.polyfill=!0,a.fetch||(a.fetch=it,a.Headers=c,a.Request=u,a.Response=h);var ot=self.fetch.bind(self),st=function(e,t){return(st=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 at(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}st(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function lt(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ct(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function ut(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function d(e){return"function"==typeof e}function ht(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 dt=ht(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 ft(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}n.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=lt(o),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);o=this.initialTeardown;if(d(o))try{o()}catch(e){i=e instanceof dt?e.errors:[e]}o=this._finalizers;if(o){this._finalizers=null;try{for(var l=lt(o),c=l.next();!c.done;c=l.next()){var u=c.value;try{yt(u)}catch(e){i=null!=i?i:[],e instanceof dt?i=ut(ut([],ct(i)),ct(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(i)throw new dt(i)}},n.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)yt(e);else{if(e instanceof n){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},n.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},n.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},n.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&ft(t,e)},n.prototype.remove=function(e){var t=this._finalizers;t&&ft(t,e),e instanceof n&&e._removeParent(this)},n.EMPTY=((r=new n).closed=!0,r);var pt=n,mt=pt.EMPTY;function n(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function gt(e){return e instanceof pt||e&&"closed"in e&&d(e.remove)&&d(e.add)&&d(e.unsubscribe)}function yt(e){d(e)?e():e.unsubscribe()}var bt=void 0,_t=!1,vt=!1,wt={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=wt.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,ut([e,t],ct(n))):setTimeout.apply(void 0,ut([e,t],ct(n)))},clearTimeout:function(e){var t=wt.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function St(){}var kt=null;function Tt(e){if(_t){var t=!kt;if(t&&(kt={errorThrown:!1,error:null}),e(),t){var t=kt,n=t.errorThrown,t=t.error;if(kt=null,n)throw t}}else e()}at(e,Et=pt),e.create=function(e,t,n){return new Ft(e,t,n)},e.prototype.next=function(e){this.isStopped||this._next(e)},e.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Et.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(e){this.destination.next(e)},e.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var Et,xt=e,Mt=Function.prototype.bind;function e(e){var t=Et.call(this)||this;return t.isStopped=!1,e?gt(t.destination=e)&&e.add(t):t.destination=Ht,t}function Dt(e,t){return Mt.call(e,t)}$t.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){At(e)}},$t.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){At(e)}else At(e)},$t.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){At(e)}};var Lt,Ot=$t,Ft=(at(Pt,Lt=xt),Pt);function Pt(e,t,n){var r=Lt.call(this)||this,n=d(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:r&&vt?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&Dt(e.next,t),error:e.error&&Dt(e.error,t),complete:e.complete&&Dt(e.complete,t)}):e;return r.destination=new Ot(n),r}function $t(e){this.partialObserver=e}function At(e){var t=e;wt.setTimeout(function(){throw t})}var Ht={closed:!0,next:St,error:function(e){throw e},complete:St},r="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ct(e){return e}i.prototype.lift=function(e){var t=new i;return t.source=this,t.operator=e,t},i.prototype.subscribe=function(e,t,n){var r,i=this,o=(r=e)&&r instanceof xt||r&&d(r.next)&&d(r.error)&&d(r.complete)&&gt(r)?e:new Ft(e,t,n);return Tt(function(){var e=i.operator,t=i.source;o.add(e?e.call(o,t):t?i._subscribe(o):i._trySubscribe(o))}),o},i.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},i.prototype.forEach=function(r,e){var i=this;return new(e=Rt(e))(function(e,t){var n=new Ft({next:function(e){try{r(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});i.subscribe(n)})},i.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},i.prototype[r]=function(){return this},i.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?Ct:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},i.prototype.toPromise=function(e){var r=this;return new(e=Rt(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},i.create=function(e){return new i(e)};var It=i;function i(e){e&&(this._subscribe=e)}function Rt(e){return null!=(e=null!=e?e:bt)?e:Promise}var Bt,Nt,Gt,Yt=ht(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),r=(at(o,Gt=It),o.prototype.lift=function(e){var t=new Ut(this,this);return t.operator=e,t},o.prototype._throwIfClosed=function(){if(this.closed)throw new Yt},o.prototype.next=function(i){var o=this;Tt(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){o.currentObservers||(o.currentObservers=Array.from(o.observers));try{for(var n=lt(o.currentObservers),r=n.next();!r.done;r=n.next())r.value.next(i)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},o.prototype.error=function(t){var n=this;Tt(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)}})},o.prototype.complete=function(){var t=this;Tt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},o.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(o.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),o.prototype._trySubscribe=function(e){return this._throwIfClosed(),Gt.prototype._trySubscribe.call(this,e)},o.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},o.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?mt:(this.currentObservers=null,i.push(e),new pt(function(){t.currentObservers=null,ft(i,e)}))},o.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},o.prototype.asObservable=function(){var e=new It;return e.source=this,e},o.create=function(e,t){return new Ut(e,t)},o),Ut=(at(zt,Nt=r),zt.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},zt.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.call(t,e)},zt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},zt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:mt},zt),jt={now:function(){return(jt.delegate||Date).now()},delegate:void 0},Vt=(at(Wt,Bt=r),Wt.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,i=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;n||(r.push(e),i||r.push(o.now()+t)),this._trimBuffer(),Bt.prototype.next.call(this,e)},Wt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},Wt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var o=t.now(),s=0,a=1;a<n.length&&n[a]<=o;a+=2)s=a;s&&n.splice(0,s+1)}},Wt);function Wt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=jt);var r=Bt.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function zt(e,t){var n=Nt.call(this)||this;return n.destination=e,n.source=t,n}function o(){var e=Gt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Zt=[],Xt={};const Kt=[];function qt(r,i=g){let o;const s=new Set;function a(e){if(C(r,e)&&(r=e,o)){const e=!Kt.length;for(const e of s)e[1](),Kt.push(e,r);if(e){for(let e=0;e<Kt.length;e+=2)Kt[e][0](Kt[e+1]);Kt.length=0}}}return{set:a,update:function(e){a(e(r))},subscribe:function(e,t=g){const n=[e,t];return s.add(n),1===s.size&&(o=i(a)||g),e(r),()=>{s.delete(n),0===s.size&&(o(),o=null)}}}}function Jt(e,a,t){const l=!Array.isArray(e),c=l?[e]:e,u=a.length<2;return{subscribe:qt(t,t=>{let n=!1;const r=[];let i=0,o=g;const s=()=>{var e;i||(o(),e=a(l?r[0]:r,t),u?t(e):o=y(e)?e:g)},e=c.map((e,t)=>B(e,e=>{r[t]=e,i&=~(1<<t),n&&s()},()=>{i|=1<<t}));return n=!0,s(),function(){v(e),o()}}).subscribe}}function Qt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===en));var t}var en="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function tn(e,t){return!1!==t.clone&&t.isMergeableObject(e)?an(Array.isArray(e)?[]:{},e,t):e}function nn(e,t,n){return e.concat(t).map(function(e){return tn(e,n)})}function rn(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function on(e,t){try{return t in e}catch(e){return!1}}function sn(r,i,o){var s={};return o.isMergeableObject(r)&&rn(r).forEach(function(e){s[e]=tn(r[e],o)}),rn(i).forEach(function(t){var e,n;(!on(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(on(r,t)&&o.isMergeableObject(i[t])?s[t]=function(e){if(!e.customMerge)return an;e=e.customMerge(t);return"function"==typeof e?e:an}(o)(r[t],i[t],o):s[t]=tn(i[t],o))}),s}function an(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||nn,n.isMergeableObject=n.isMergeableObject||Qt,n.cloneUnlessOtherwiseSpecified=tn;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):sn(e,t,n):tn(t,n)}an.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return an(e,t,n)},{});throw new Error("first argument should be an array")};var ln=an,cn=function(e,t){return(cn=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 un(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}cn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var m,_,hn,O=function(){return(O=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function dn(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function fn(e){return e.type===_.literal}function pn(e){return e.type===_.number}function mn(e){return e.type===_.date}function gn(e){return e.type===_.time}function yn(e){return e.type===_.select}function bn(e){return e.type===_.plural}function _n(e){return e.type===_.tag}function vn(e){return e&&"object"==typeof e&&e.type===hn.number}function wn(e){return e&&"object"==typeof e&&e.type===hn.dateTime}(r=m=m||{})[r.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",r[r.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",r[r.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",r[r.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",r[r.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",r[r.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",r[r.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",r[r.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",r[r.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",r[r.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",r[r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",r[r.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",r[r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",r[r.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",r[r.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",r[r.INVALID_TAG=23]="INVALID_TAG",r[r.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",r[r.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",r[r.UNCLOSED_TAG=27]="UNCLOSED_TAG",(r=_=_||{})[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound",r[r.tag=8]="tag",(r=hn=hn||{})[r.number=0]="number",r[r.dateTime=1]="dateTime";var r=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Sn=/(?:[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 kn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Tn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,En=/^(@+)?(\+|#+)?[rs]?$/g,xn=/(\*)(0+)|(#+)(0+)|(0+)/g,Mn=/^(0+)$/;function Dn(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(En,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function Ln(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 On(e){return Ln(e)||{}}function Pn(e){for(var s={},t=0,n=e;t<n.length;t++){var r,i=n[t];switch(i.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=i.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=i.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=O(O(O({},s),{notation:"scientific"}),i.options.reduce(function(e,t){return O(O({},e),On(t))},{}));continue;case"engineering":s=O(O(O({},s),{notation:"engineering"}),i.options.reduce(function(e,t){return O(O({},e),On(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(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(xn,function(e,t,n,r,i,o){if(t)s.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Mn.test(i.stem))s.minimumIntegerDigits=i.stem.length;else if(Tn.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Tn,function(e,t,n,r,i,o){return"*"===n?s.minimumFractionDigits=t.length:r&&"#"===r[0]?s.maximumFractionDigits=r.length:i&&o?(s.minimumFractionDigits=i.length,s.maximumFractionDigits=i.length+o.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""});var o=i.options[0];"w"===o?s=O(O({},s),{trailingZeroDisplay:"stripIfInteger"}):o&&(s=O(O({},s),Dn(o)))}else En.test(i.stem)?s=O(O({},s),Dn(i.stem)):((o=Ln(i.stem))&&(s=O(O({},s),o)),(r=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)),!Mn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(s=O(O({},s),r)))}return s}var $n={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var An=new RegExp("^".concat(r.source,"*")),Hn=new RegExp("".concat(r.source,"*$"));function F(e,t){return{start:e,end:t}}var r=!!String.prototype.startsWith,Cn=!!String.fromCodePoint,In=!!Object.fromEntries,Rn=!!String.prototype.codePointAt,Bn=!!String.prototype.trimStart,Nn=!!String.prototype.trimEnd,Gn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Yn=!0;try{Yn="a"===(null==(cr=qn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:cr[0])}catch(g){Yn=!1}var Un,jn,Vn=r?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Wn=Cn?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;o<i;){if(1114111<(n=e[o++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},zn=In?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],i=i[1];t[o]=i}return t},Zn=Rn?function(e,t){return e.codePointAt(t)}:function(e,t){var n,r=e.length;if(!(t<0||r<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?n:r-56320+(n-55296<<10)+65536},Xn=Bn?function(e){return e.trimStart()}:function(e){return e.replace(An,"")},Kn=Nn?function(e){return e.trimEnd()}:function(e){return e.replace(Hn,"")};function qn(e,t){return new RegExp(e,t)}jn=Yn?(Un=qn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Un.lastIndex=t,null!=(t=Un.exec(e)[1])?t:""}):function(e,t){for(var n,r=[];;){var i=Zn(e,t);if(void 0===i||er(i)||(33<=(n=i)&&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;r.push(i),t+=65536<=i?2:1}return Wn.apply(void 0,r)};s.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},s.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,o=this.char();if(123===o){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(m.UNMATCHED_CLOSING_TAG,F(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Qn(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{o=this.clonePosition();this.bump(),r.push({type:_.pound,location:F(o,this.clonePosition())})}}}return{val:r,err:null}},s.prototype.parseTag=function(e,t){var n=this.clonePosition(),r=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:_.literal,value:"<".concat(r,"/>"),location:F(n,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Qn(this.char()))return this.error(m.INVALID_TAG,F(e,this.clonePosition()));var i=this.clonePosition();return r!==this.parseTagName()?this.error(m.UNMATCHED_CLOSING_TAG,F(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:_.tag,value:r,children:t,location:F(n,this.clonePosition())},err:null}:this.error(m.INVALID_TAG,F(e,this.clonePosition())))}return this.error(m.UNCLOSED_TAG,F(n,this.clonePosition()))}return this.error(m.INVALID_TAG,F(n,this.clonePosition()))},s.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())},s.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=F(n,this.clonePosition());return{val:{type:_.literal,value:r,location:n},err:null}},s.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Qn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},s.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)},s.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))},s.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,F(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(m.EMPTY_ARGUMENT,F(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(m.MALFORMED_ARGUMENT,F(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,F(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:_.argument,value:r,location:F(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,F(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(m.MALFORMED_ARGUMENT,F(n,this.clonePosition()))}},s.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=jn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:F(e,this.clonePosition())}},s.prototype.parseArgumentOptions=function(e,t,n,r){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(m.EXPECT_ARGUMENT_TYPE,F(o,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((p=this.parseSimpleArgStyleIfPossible()).err)return p;if(0===(f=Kn(p.val)).length)return this.error(m.EXPECT_ARGUMENT_STYLE,F(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:F(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(r)).err)return c;var u=F(r,this.clonePosition());if(l&&Vn(null==l?void 0:l.style,"::",0)){var h=Xn(l.style.slice(2));if("number"===s)return(p=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?p:{val:{type:_.number,value:n,location:u,style:p.val},err:null};if(0===h.length)return this.error(m.EXPECT_DATE_TIME_SKELETON,u);var d=h,f=(this.locale&&(d=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),($n[t||""]||$n[n||""]||$n["".concat(n,"-001")]||$n["001"])[0]}(t);for("H"!=l&&"k"!=l||(a=0);0<a--;)n+="a";for(;0<s--;)n=l+n}else n+="J"===i?"H":i}return n}(h,this.locale)),{type:hn.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},d.replace(Sn,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.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":i.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":i.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":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.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":i.minute=["numeric","2-digit"][t-1];break;case"s":i.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":i.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""}),i):{}});return{val:{type:"date"===s?_.date:_.time,value:n,location:u,style:f},err:null}}return{val:{type:"number"===s?_.number:"date"===s?_.date:_.time,value:n,location:u,style:null!=(h=null==l?void 0:l.style)?h:null},err:null};case"plural":case"selectordinal":case"select":d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS,F(d,O({},d)));this.bumpSpace();var p,f=this.parseIdentifierIfPossible(),u=0;if("select"!==s&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,F(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(p=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return p;this.bumpSpace(),f=this.parseIdentifierIfPossible(),u=p.val}l=this.tryParsePluralOrSelectOptions(e,s,t,f);if(l.err)return l;if((c=this.tryParseArgumentClose(r)).err)return c;h=F(r,this.clonePosition());return"select"===s?{val:{type:_.select,value:n,options:zn(l.val),location:h},err:null}:{val:{type:_.plural,value:n,options:zn(l.val),offset:u,pluralType:"plural"===s?"cardinal":"ordinal",location:h},err:null};default:return this.error(m.INVALID_ARGUMENT_TYPE,F(o,a))}},s.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,F(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},s.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(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,F(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}},s.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,r=e.split(kn).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],i=i.slice(1),s=0,a=i;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:i})}return t}(e)}catch(e){return this.error(m.INVALID_NUMBER_SKELETON,t)}return{val:{type:hn.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Pn(n):{}},err:null}},s.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,o=[],s=new Set,a=r.value,l=r.location;;){if(0===a.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR,m.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=F(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(s.has(a))return this.error("select"===t?m.DUPLICATE_SELECT_ARGUMENT_SELECTOR:m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(i=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,F(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var h=this.tryParseArgumentClose(u);if(h.err)return h;o.push([a,{value:c.val,location:F(u,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===o.length?this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR:m.EXPECT_PLURAL_ARGUMENT_SELECTOR,F(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(m.MISSING_OTHER_CLAUSE,F(this.clonePosition(),this.clonePosition())):{val:o,err:null}},s.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;i=!0,o=10*o+(s-48),this.bump()}r=F(r,this.clonePosition());return i?Gn(o*=n)?{val:o,err:null}:this.error(t,r):this.error(e,r)},s.prototype.offset=function(){return this.position.offset},s.prototype.isEOF=function(){return this.offset()===this.message.length},s.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},s.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Zn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},s.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},s.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))},s.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},s.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},s.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},s.prototype.bumpSpace=function(){for(;!this.isEOF()&&er(this.char());)this.bump()},s.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var Jn=s;function s(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Qn(e){return 97<=e&&e<=122||65<=e&&e<=90}function er(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function tr(e,t){t=O({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new Jn(e,t).parse();if(e.err)throw(n=SyntaxError(m[e.err.kind])).location=e.err.location,n.originalMessage=e.err.message,n;return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,yn(e)||bn(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else pn(e)&&vn(e.style)||(mn(e)||gn(e))&&wn(e.style)?delete e.style.location:_n(e)&&n(e.children)})}(e.val),e.val}function nr(e,t){var n=t&&t.cache?t.cache:ur,r=t&&t.serializer?t.serializer:sr;return(t&&t.strategy?t.strategy:function(e,t){return or(e,this,1===e.length?rr:ir,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function rr(e,t,n,r){var n=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),i=t.get(n);return void 0===i&&(i=e.call(this,r),t.set(n,i)),i}function ir(e,t,n){var r=Array.prototype.slice.call(arguments,3),n=n(r),i=t.get(n);return void 0===i&&(i=e.apply(this,r),t.set(n,i)),i}function or(e,t,n,r,i){return n.bind(t,e,r,i)}var sr=function(){return JSON.stringify(arguments)};function ar(){this.cache=Object.create(null)}ar.prototype.get=function(e){return this.cache[e]},ar.prototype.set=function(e,t){this.cache[e]=t};var lr,cr,ur={create:function(){return new ar}},hr={variadic:function(e,t){return or(e,this,ir,t.cache.create(),t.serializer)},monadic:function(e,t){return or(e,this,rr,t.cache.create(),t.serializer)}};(cr=lr=lr||{}).MISSING_VALUE="MISSING_VALUE",cr.INVALID_VALUE="INVALID_VALUE",cr.MISSING_INTL_API="MISSING_INTL_API";un(kr,mr=Error),kr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var P,dr,fr,pr,mr,gr=kr,yr=(un(Sr,pr=gr),Sr),br=(un(wr,fr=gr),wr),_r=(un(vr,dr=gr),vr);function vr(e,t){return dr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),lr.MISSING_VALUE,t)||this}function wr(e,t,n){return fr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),lr.INVALID_VALUE,n)||this}function Sr(e,t,n,r){return pr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),lr.INVALID_VALUE,r)||this}function kr(e,t,n){e=mr.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function Tr(e,t,n,r,i,o,s){if(1===e.length&&fn(e[0]))return[{type:P.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var u=c[l];if(fn(u))a.push({type:P.literal,value:u.value});else if(u.type===_.pound)"number"==typeof o&&a.push({type:P.literal,value:n.getNumberFormat(t).format(o)});else{var h=u.value;if(!(i&&h in i))throw new _r(h,s);h=i[h];if(u.type===_.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?P.literal:P.object,value:h});else if(mn(u)){var d="string"==typeof u.style?r.date[u.style]:wn(u.style)?u.style.parsedOptions:void 0;a.push({type:P.literal,value:n.getDateTimeFormat(t,d).format(h)})}else if(gn(u))d="string"==typeof u.style?r.time[u.style]:wn(u.style)?u.style.parsedOptions:r.time.medium,a.push({type:P.literal,value:n.getDateTimeFormat(t,d).format(h)});else if(pn(u))(d="string"==typeof u.style?r.number[u.style]:vn(u.style)?u.style.parsedOptions:void 0)&&d.scale&&(h*=d.scale||1),a.push({type:P.literal,value:n.getNumberFormat(t,d).format(h)});else{if(_n(u)){var f=u.children,p=u.value,m=i[p];if("function"!=typeof m)throw new br(p,"function",s);p=m(Tr(f,t,n,r,i,o).map(function(e){return e.value}));Array.isArray(p)||(p=[p]),a.push.apply(a,p.map(function(e){return{type:"string"==typeof e?P.literal:P.object,value:e}}))}if(yn(u)){if(!(g=u.options[h]||u.options.other))throw new yr(u.value,h,Object.keys(u.options),s);a.push.apply(a,Tr(g.value,t,n,r,i))}else if(bn(u)){if(!(g=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new gr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',lr.MISSING_INTL_API,s);var m=n.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),g=u.options[m]||u.options.other}if(!g)throw new yr(u.value,h,Object.keys(u.options),s);a.push.apply(a,Tr(g.value,t,n,r,i,h-(u.offset||0)))}}}}return(e=a).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===P.literal&&t.type===P.literal?n.value+=t.value:e.push(t),e},[])}function Er(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(r=P=P||{})[r.literal=0]="literal",r[r.object=1]="object",Object.defineProperty(f,"defaultLocale",{get:function(){return f.memoizedDefaultLocale||(f.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),f.memoizedDefaultLocale},enumerable:!1,configurable:!0}),f.memoizedDefaultLocale=null,f.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},f.__parse=tr,f.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"}}};var xr=f;function f(e,t,n,r){var i,o,s=this;if(void 0===t&&(t=f.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===P.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 Tr(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=t,this.resolvedLocale=f.resolveLocale(t),"string"==typeof e){if(this.message=e,!f.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=f.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=f.formats,(o=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=o[t])?O(O(O({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=O(O({},n[t]),r[t]||{}),e},{})):n),e},O({},i)):i),this.formatters=r&&r.formatters||{getNumberFormat:nr(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,dn([void 0],t,!1)))},{cache:Er((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:hr.variadic}),getDateTimeFormat:nr(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,dn([void 0],t,!1)))},{cache:Er(t.dateTime),strategy:hr.variadic}),getPluralRules:nr(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,dn([void 0],t,!1)))},{cache:Er(t.pluralRules),strategy:hr.variadic})}}const p={},Mr=(e,t,n)=>n&&(t in p||(p[t]={}),e in p[t]||(p[t][e]=n),n),Dr=(t,n)=>{if(null!=n){if(n in p&&t in p[n])return p[n][t];var r=jr(n);for(let e=0;e<r.length;e++){var i=function(e,n){if(!Fr(e))return null;e=function(e){return Lr[e]||null}(e);{var r=n;if(null==r)return;if(r in e)return e[r];const i=r.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const r=i.slice(e,i.length).join(".");if(r in t){t=t[r];break}}t=t[i[e]]}else t=void 0;return t}}(r[e],t);if(i)return Mr(t,n,i)}}};let Lr;const Or=qt({});function Fr(e){return e in Lr}function Pr(t,...n){delete p[t],Or.update(e=>(e[t]=ln.all([e[t]||{},...n]),e))}Jt([Or],([e])=>Object.keys(e)),Or.subscribe(e=>Lr=e);const $r={};function Ar(e){return $r[e]}function Hr(e){return null!=e&&jr(e).some(e=>{return null==(e=Ar(e))?void 0:e.size})}const Cr={};function Ir(e){if(!Hr(e))return e in Cr?Cr[e]:Promise.resolve();const t=jr(e).map(e=>{var t=Ar(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Cr[e]=Promise.all(t.map(([e,t])=>{{var r=e;e=t;const n=Promise.all(e.map(e=>{var t=r,n=e;return $r[t].delete(n),0===$r[t].size&&delete $r[t],e().then(e=>e.default||e)}));return n.then(e=>Pr(r,...e))}})).then(()=>{if(Hr(e))return Ir(e);delete Cr[e]}),Cr[e]}function Rr(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}const Br={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const Nr=qt(!1);let Gr;const Yr=qt(null);function Ur(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function jr(e,t=Br.fallbackLocale){e=Ur(e);return t?[...new Set([...e,...Ur(t)])]:e}function $(){return null!=Gr?Gr:void 0}Yr.subscribe(e=>{Gr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const ae=Object.assign(Object.assign({},Yr),{set:t=>{if(t&&function(e){if(null!=e){var t=jr(e);for(let e=0;e<t.length;e++){var n=t[e];if(Fr(n))return n}}}(t)&&Hr(t)){var n=Br["loadingDelay"];let e;return"undefined"!=typeof window&&null!=$()&&n?e=window.setTimeout(()=>Nr.set(!0),n):Nr.set(!0),Ir(t).then(()=>{Yr.set(t)}).finally(()=>{clearTimeout(e),Nr.set(!1)})}return Yr.set(t)}}),Vr=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Wr=(e,t)=>{var n=Br["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},zr=Vr(e=>{var{locale:t,format:n}=e,e=Rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Wr("number",n)),new Intl.NumberFormat(t,e)}),Zr=Vr(e=>{var{locale:t,format:n}=e,e=Rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Wr("date",n):0===Object.keys(e).length&&(e=Wr("date","short")),new Intl.DateTimeFormat(t,e)}),Xr=Vr(e=>{var{locale:t,format:n}=e,e=Rr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Wr("time",n):0===Object.keys(e).length&&(e=Wr("time","short")),new Intl.DateTimeFormat(t,e)}),Kr=Vr((e,t=$())=>new xr(e,t,Br.formats,{ignoreTag:Br.ignoreTag})),qr=Jt([ae,Or],()=>(e,t={})=>{var n,r;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:o,locale:s=$(),default:a}=i;if(null==s)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Dr(e,s);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(r=null!=(n=null==(n=(r=Br).handleMissingMessage)?void 0:n.call(r,{locale:s,id:e,defaultValue:a}))?n:a)?r:e;if(!o)return l;let c=l;try{c=Kr(l,s).format(o)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),Jr=(Jt([ae],()=>(e,t)=>((e={})=>{var{locale:t=$()}=e,e=Rr(e,["locale"]);return Xr(Object.assign({locale:t},e))})(t).format(e)),Jt([ae],()=>(e,t)=>((e={})=>{var{locale:t=$()}=e,e=Rr(e,["locale"]);return Zr(Object.assign({locale:t},e))})(t).format(e)),Jt([ae],()=>(e,t)=>((e={})=>{var{locale:t=$()}=e,e=Rr(e,["locale"]);return zr(Object.assign({locale:t},e))})(t).format(e)),Jt([ae,Or],()=>(e,t=$())=>Dr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Zt.indexOf(e)&&(t=new Vt(t),Xt[e]=t,Zt.push(e)),Xt[e]}},e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC");function Qr(e,t){Pr(e,t)}const ei={en:{panicButton:{panicButtonString:"Hold button for 3 seconds to take 24-hour timeout"}},"zh-hk":{panicButton:{panicButtonString:"长按3秒24小时即时锁定"}},fr:{panicButton:{panicButtonString:"Maintenez le bouton enfoncé pendant 3 secondes pour prendre un verrouillage instantané de 24 heures"}},ro:{panicButton:{panicButtonString:"Tine apasat 3 secunde pentru a lua o pauza de 24h"}},es:{panicButton:{panicButtonString:"Dar clic durante 3 segundos para tomar un descanso de 24 horas"}},de:{panicButton:{panicButtonString:"Button für 3 Sekunden drücken um eine 24-stündige Auszeit zu nehmen"}},hr:{panicButton:{panicButtonString:"Držite gumb 3 sekunde kako biste aktivirali vremensko ograničenje od 24 sata"}},sl:{panicButton:{panicButtonString:"Držite gumb 3 sekunde, da bi vzeli 24 urni premor"}},pl:{panicButton:{panicButtonString:"Przytrzymaj przycisk przez 3 sekundy, aby uzyskać 24-godzinny limit czasu"}}};function ti(n){let r,i,o,s,a,l=(n[0]||n[5]("panicButton.panicButtonString"))+"";return{c(){r=x("div"),i=x("div"),o=x("button"),s=t(l),this.c=g,D(o,"class","PanicButton "+("PC"!==Jr(n[6])?"PanicButtonMobile":"")),D(o,"part","PanicButton "+("PC"!==Jr(n[6])?"PanicButtonMobile":"")),U(o,"PanicButtonAnimation",n[4]),D(i,"class","PanicSection "+("PC"!==Jr(n[6])?"PanicSectionMobile":"")),D(i,"part","PanicSection "+("PC"!==Jr(n[6])?"PanicSectionMobile":"")),D(r,"class",a="true"==n[1]?"PanicButtonV2":"")},m(e,t){k(e,r,t),S(r,i),S(i,o),S(o,s),n[11](o),n[12](r)},p(e,[t]){33&t&&l!==(l=(e[0]||e[5]("panicButton.panicButtonString"))+"")&&L(s,l),16&t&&U(o,"PanicButtonAnimation",e[4]),2&t&&a!==(a="true"==e[1]?"PanicButtonV2":"")&&D(r,"class",a)},i:g,o:g,d(e){e&&T(r),n[11](null),n[12](null)}}}function ni(t,e,n){let r;le(t,qr,e=>n(5,r=e));let i,o,s,{lang:a="en"}=e,{customtext:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:u=""}=e,{alternativestyling:h=""}=e,{translationurl:d=""}=e,f=!1,p=0,m=window.navigator.userAgent;Object.keys(ei).forEach(e=>{Qr(e,ei[e])});const g=()=>{p=0,n(4,f=!0),s=setInterval(()=>{2<=++p&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(s),"function"==typeof gtag&&gtag("event","PanicButtonClicked",{context:"PanicButton"}))},1e3)},y=()=>{n(4,f=!1),clearInterval(s)};return ce(()=>()=>{n(4,f=!1),null!=i&&i.removeEventListener("mousedown",g),null!=i&&i.removeEventListener("touchstart",g),null!=i&&i.removeEventListener("mouseup",y),null!=i&&i.removeEventListener("touchend",y)}),t.$$set=e=>{"lang"in e&&n(7,a=e.lang),"customtext"in e&&n(0,l=e.customtext),"clientstyling"in e&&n(8,c=e.clientstyling),"clientstylingurl"in e&&n(9,u=e.clientstylingurl),"alternativestyling"in e&&n(1,h=e.alternativestyling),"translationurl"in e&&n(10,d=e.translationurl)},t.$$.update=()=>{var e;if(4&t.$$.dirty&&i&&(null!=i&&i.addEventListener("mousedown",g,!1),null!=i&&i.addEventListener("touchstart",g,!1),null!=i&&i.addEventListener("mouseup",y,!1),null!=i&&i.addEventListener("touchend",y,!1)),128&t.$$.dirty&&a&&(e=a,ae.set(e)),264&t.$$.dirty&&c&&o){let e=document.createElement("style");e.innerHTML=c,o.appendChild(e)}if(520&t.$$.dirty&&u&&o){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1)})}1024&t.$$.dirty&&d&&fetch(d).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Qr(e,t[e])})}).catch(e=>{console.log(e)})},[l,h,i,o,f,r,m,a,c,u,d,function(e){se[e?"unshift":"push"](()=>{i=e,n(2,i)})},function(e){se[e?"unshift":"push"](()=>{o=e,n(3,o)})}]}customElements.get("panic-button")||customElements.define("panic-button",class extends re{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}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{border-radius:5px;border:1px solid #D0046C;background-color:#D0046C;font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid #D0046C;background-color:#D0046C;width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:#D0046C;width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{border:1px solid #F57F17;background-color:#F57F17;width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid #F57F17;background-color:#F57F17;font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:#F57F17;width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}</style>",ne(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},ni,ti,C,{lang:7,customtext:0,clientstyling:8,clientstylingurl:9,alternativestyling:1,translationurl:10},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),b()))}static get observedAttributes(){return["lang","customtext","clientstyling","clientstylingurl","alternativestyling","translationurl"]}get lang(){return this.$$.ctx[7]}set lang(e){this.$$set({lang:e}),b()}get customtext(){return this.$$.ctx[0]}set customtext(e){this.$$set({customtext:e}),b()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(e){this.$$set({clientstyling:e}),b()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),b()}get alternativestyling(){return this.$$.ctx[1]}set alternativestyling(e){this.$$set({alternativestyling:e}),b()}get translationurl(){return this.$$.ctx[10]}set translationurl(e){this.$$set({translationurl:e}),b()}});ii=ri={path:void 0,exports:{},require:function(e,t){return Fn(null==t&&ri.path)}},ri.exports,ii.exports=function(){var C;function p(){return C.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function I(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function R(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(m(e,t))return;return 1}function a(e){return void 0===e}function B(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function N(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function G(e,t){for(var n=[],r=e.length,i=0;i<r;++i)n.push(t(e[i],i));return n}function Y(e,t){for(var n in t)m(t,n)&&(e[n]=t[n]);return m(t,"toString")&&(e.toString=t.toString),m(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,r){return Ft(e,t,n,r,!0).utc()}function g(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 U(e){if(null==e._isValid){var t=g(e),n=V.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 j(e){var t=c(NaN);return null!=e?Y(g(t),e):g(t).userInvalidated=!0,t}var V=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},W=p.momentProperties=[],z=!1;function Z(e,t){var n,r,i,o=W.length;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=g(t)),a(t._locale)||(e._locale=t._locale),0<o)for(n=0;n<o;n++)a(i=t[r=W[n]])||(e[r]=i);return e}function X(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===z&&(z=!0,p.updateOffset(this),z=!1)}function l(e){return e instanceof X||null!=e&&null!=e._isAMomentObject}function K(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(o,s){var a=!0;return Y(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,o),a){for(var e,t,n=[],r=arguments.length,i=0;i<r;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])m(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}K(o+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),a=!1}return s.apply(this,arguments)},s)}var q={};function J(e,t){null!=p.deprecationHandler&&p.deprecationHandler(e,t),q[e]||(K(t),q[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,r=Y({},e);for(n in t)m(t,n)&&(I(e[n])&&I(t[n])?(r[n]={},Y(r[n],e[n]),Y(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)m(e,n)&&!m(t,n)&&I(e[n])&&(r[n]=Y({},r[n]));return r}function ee(e){null!=e&&this.set(e)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)m(e,t)&&n.push(t);return n};function o(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var ne=/(\[[^\[]*\])|(\\)?([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,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ie={},oe={};function r(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(oe[e]=i),t&&(oe[t[0]]=function(){return o(i.apply(this,arguments),t[1],t[2])}),n&&(oe[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function se(e,t){return e.isValid()?(t=ae(t,e.localeData()),ie[t]=ie[t]||function(r){for(var e,i=r.match(ne),t=0,o=i.length;t<o;t++)oe[i[t]]?i[t]=oe[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<o;n++)t+=u(i[n])?i[n].call(e,r):i[n];return t}}(t),ie[t](e)):e.localeData().invalidDate()}function ae(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(re.lastIndex=0;0<=n&&re.test(e);)e=e.replace(re,r),re.lastIndex=0,--n;return e}var le={};function t(e,t){var n=e.toLowerCase();le[n]=le[n+"s"]=le[t]=e}function h(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,n,r={};for(n in e)m(e,n)&&(t=h(n))&&(r[t]=e[n]);return r}var ue={};function n(e,t){ue[e]=t}function he(e){return e%4==0&&e%100!=0||e%400==0}function d(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function f(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?d(e):t}function de(t,n){return function(e){return null!=e?(pe(this,t,e),p.updateOffset(this,n),this):fe(this,t)}}function fe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&he(e.year())&&1===e.month()&&29===e.date()?(n=f(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ae(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var i=/\d/,y=/\d\d/,me=/\d{3}/,ge=/\d{4}/,ye=/[+-]?\d{6}/,b=/\d\d?/,be=/\d\d\d\d?/,_e=/\d\d\d\d\d\d?/,ve=/\d{1,3}/,we=/\d{1,4}/,Se=/[+-]?\d{1,6}/,ke=/\d+/,Te=/[+-]?\d+/,Ee=/Z|[+-]\d\d:?\d\d/gi,xe=/Z|[+-]\d\d(?::?\d\d)?/gi,_=/[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 v(e,n,r){De[e]=u(n)?n:function(e,t){return e&&r?r:n}}function Me(e,t){return m(De,e)?De[e](t._strict,t._locale):new RegExp(w(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function w(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var De={},Le={};function S(e,n){var t,r,i=n;for("string"==typeof e&&(e=[e]),B(n)&&(i=function(e,t){t[n]=f(e)}),r=e.length,t=0;t<r;t++)Le[e[t]]=i}function Oe(e,i){S(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var k,T=0,E=1,x=2,M=3,D=4,L=5,Fe=6,Pe=7,$e=8;function Ae(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?he(e)?29:28:31-n%7%2}k=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),v("M",b),v("MM",b,y),v("MMM",function(e,t){return t.monthsShortRegex(e)}),v("MMMM",function(e,t){return t.monthsRegex(e)}),S(["M","MM"],function(e,t){t[E]=f(e)-1}),S(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[E]=r:g(n).invalidMonth=e});var He="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ce="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ie=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Re=_,Be=_;function Ne(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=f(t);else if(!B(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Ae(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function Ge(e){return null!=e?(Ne(this,e),p.updateOffset(this,!0),this):fe(this,"Month")}function Ye(){function e(e,t){return t.length-e.length}for(var t,n=[],r=[],i=[],o=0;o<12;o++)t=c([2e3,o]),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),r.sort(e),i.sort(e),o=0;o<12;o++)n[o]=w(n[o]),r[o]=w(r[o]);for(o=0;o<24;o++)i[o]=w(i[o]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ue(e){return he(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?o(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),v("Y",Te),v("YY",b,y),v("YYYY",we,ge),v("YYYYY",Se,ye),v("YYYYYY",Se,ye),S(["YYYYY","YYYYYY"],T),S("YYYY",function(e,t){t[T]=2===e.length?p.parseTwoDigitYear(e):f(e)}),S("YY",function(e,t){t[T]=p.parseTwoDigitYear(e)}),S("Y",function(e,t){t[T]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return f(e)+(68<f(e)?1900:2e3)};var je=de("FullYear",!0);function Ve(e,t,n,r,i,o,s){var a;return e<100&&0<=e?(a=new Date(e+400,t,n,r,i,o,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,r,i,o,s),a}function We(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 ze(e,t,n){n=7+t-n;return-(7+We(e,0,n).getUTCDay()-t)%7+n-1}function Ze(e,t,n,r,i){var o,t=1+7*(t-1)+(7+n-r)%7+ze(e,r,i),n=t<=0?Ue(o=e-1)+t:t>Ue(e)?(o=e+1,t-Ue(e)):(o=e,t);return{year:o,dayOfYear:n}}function Xe(e,t,n){var r,i,o=ze(e.year(),t,n),o=Math.floor((e.dayOfYear()-o-1)/7)+1;return o<1?r=o+O(i=e.year()-1,t,n):o>O(e.year(),t,n)?(r=o-O(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function O(e,t,n){var r=ze(e,t,n),t=ze(e+1,t,n);return(Ue(e)-r+t)/7}r("w",["ww",2],"wo","week"),r("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),v("w",b),v("ww",b,y),v("W",b),v("WW",b,y),Oe(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=f(e)});function Ke(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),v("d",b),v("e",b),v("E",b),v("dd",function(e,t){return t.weekdaysMinRegex(e)}),v("ddd",function(e,t){return t.weekdaysShortRegex(e)}),v("dddd",function(e,t){return t.weekdaysRegex(e)}),Oe(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:g(n).invalidWeekday=e}),Oe(["d","e","E"],function(e,t,n,r){t[r]=f(e)});var qe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=_,tt=_,nt=_;function rt(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],o=[],s=[],a=[],l=0;l<7;l++)r=c([2e3,1]).day(l),t=w(this.weekdaysMin(r,"")),n=w(this.weekdaysShort(r,"")),r=w(this.weekdays(r,"")),i.push(t),o.push(n),s.push(r),a.push(t),a.push(n),a.push(r);i.sort(e),o.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("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function it(){return this.hours()%12||12}function ot(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function st(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,it),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+it.apply(this)+o(this.minutes(),2)}),r("hmmss",0,0,function(){return""+it.apply(this)+o(this.minutes(),2)+o(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+o(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+o(this.minutes(),2)+o(this.seconds(),2)}),ot("a",!0),ot("A",!1),t("hour","h"),n("hour",13),v("a",st),v("A",st),v("H",b),v("h",b),v("k",b),v("HH",b,y),v("hh",b,y),v("kk",b,y),v("hmm",be),v("hmmss",_e),v("Hmm",be),v("Hmmss",_e),S(["H","HH"],M),S(["k","kk"],function(e,t,n){e=f(e);t[M]=24===e?0:e}),S(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),S(["h","hh"],function(e,t,n){t[M]=f(e),g(n).bigHour=!0}),S("hmm",function(e,t,n){var r=e.length-2;t[M]=f(e.substr(0,r)),t[D]=f(e.substr(r)),g(n).bigHour=!0}),S("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[M]=f(e.substr(0,r)),t[D]=f(e.substr(r,2)),t[L]=f(e.substr(i)),g(n).bigHour=!0}),S("Hmm",function(e,t,n){var r=e.length-2;t[M]=f(e.substr(0,r)),t[D]=f(e.substr(r))}),S("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[M]=f(e.substr(0,r)),t[D]=f(e.substr(r,2)),t[L]=f(e.substr(i))});_=de("Hours",!0);var at,lt={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:He,monthsShort:Ce,week:{dow:0,doy:6},weekdays:qe,weekdaysMin:Qe,weekdaysShort:Je,meridiemParse:/[ap]\.?m?\.?/i},F={},ct={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function ht(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=ut(e[o]).split("-")).length,n=(n=ut(e[o+1]))?n.split("-"):null;0<t;){if(r=dt(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}o++}return at}function dt(t){var e;if(void 0===F[t]&&ii&&ii.exports&&null!=t.match("^[^/\\\\]*$"))try{e=at._abbr,Fn(),ft(e)}catch(e){F[t]=null}return F[t]}function ft(e,t){return e&&((t=a(t)?P(e):pt(e,t))?at=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),at._abbr}function pt(e,t){if(null===t)return delete F[e],null;var n,r=lt;if(t.abbr=e,null!=F[e])J("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."),r=F[e]._config;else if(null!=t.parentLocale)if(null!=F[t.parentLocale])r=F[t.parentLocale]._config;else{if(null==(n=dt(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;r=n._config}return F[e]=new ee(Q(r,t)),ct[e]&&ct[e].forEach(function(e){pt(e.name,e.config)}),ft(e),F[e]}function P(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return at;if(!s(e)){if(t=dt(e))return t;e=[e]}return ht(e)}function mt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[E]<0||11<t[E]?E:t[x]<1||t[x]>Ae(t[T],t[E])?x:t[M]<0||24<t[M]||24===t[M]&&(0!==t[D]||0!==t[L]||0!==t[Fe])?M:t[D]<0||59<t[D]?D:t[L]<0||59<t[L]?L:t[Fe]<0||999<t[Fe]?Fe:-1,g(e)._overflowDayOfYear&&(t<T||x<t)&&(t=x),g(e)._overflowWeeks&&-1===t&&(t=Pe),g(e)._overflowWeekday&&-1===t&&(t=$e),g(e).overflow=t),e}var gt=/^\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)?)?$/,yt=/^\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)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,_t=[["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]],vt=[["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/]],wt=/^\/?Date\((-?\d+)/i,St=/^(?:(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}))$/,kt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Tt(e){var t,n,r,i,o,s,a=e._i,l=gt.exec(a)||yt.exec(a),a=_t.length,c=vt.length;if(l){for(g(e).iso=!0,t=0,n=a;t<n;t++)if(_t[t][1].exec(l[1])){i=_t[t][0],r=!1!==_t[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(vt[t][1].exec(l[3])){o=(l[2]||" ")+vt[t][0];break}if(null==o)return e._isValid=!1}if(!r&&null!=o)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;s="Z"}e._f=i+(o||"")+(s||""),Lt(e)}else e._isValid=!1}function Et(e,t,n,r,i,o){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Ce.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&e.push(parseInt(o,10)),e}function xt(e){var t,n,r,i,o=St.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=Et(o[4],o[3],o[2],o[5],o[6],o[7]),n=o[1],r=t,i=e,n&&Je.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(g(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(n=o[8],r=o[9],i=o[10],n?kt[n]:r?0:((n=parseInt(i,10))-(r=n%100))/100*60+r),e._d=We.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function Mt(e,t,n){return null!=e?e:null!=t?t:n}function Dt(e){var t,n,r,i,o,s,a,l,c,u,h,d=[];if(!e._d){for(u=e,h=new Date(p.now()),n=u._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[x]&&null==e._a[E]&&(null!=(h=(u=e)._w).GG||null!=h.W||null!=h.E?(s=1,a=4,r=Mt(h.GG,u._a[T],Xe($(),1,4).year),i=Mt(h.W,1),((o=Mt(h.E,1))<1||7<o)&&(l=!0)):(s=u._locale._week.dow,a=u._locale._week.doy,c=Xe($(),s,a),r=Mt(h.gg,u._a[T],c.year),i=Mt(h.w,c.week),null!=h.d?((o=h.d)<0||6<o)&&(l=!0):null!=h.e?(o=h.e+s,(h.e<0||6<h.e)&&(l=!0)):o=s),i<1||i>O(r,s,a)?g(u)._overflowWeeks=!0:null!=l?g(u)._overflowWeekday=!0:(c=Ze(r,i,o,s,a),u._a[T]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(h=Mt(e._a[T],n[T]),(e._dayOfYear>Ue(h)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=We(h,0,e._dayOfYear),e._a[E]=l.getUTCMonth(),e._a[x]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=d[t]=n[t];for(;t<7;t++)e._a[t]=d[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[M]&&0===e._a[D]&&0===e._a[L]&&0===e._a[Fe]&&(e._nextDay=!0,e._a[M]=0),e._d=(e._useUTC?We:Ve).apply(null,d),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[M]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function Lt(e){if(e._f!==p.ISO_8601)if(e._f!==p.RFC_2822){e._a=[],g(e).empty=!0;for(var t,n,r,i=""+e._i,o=i.length,s=0,a=(n=ae(e._f,e._locale).match(ne)||[]).length,l=0;l<a;l++)r=n[l],(t=(i.match(Me(r,e))||[])[0])&&(0<(h=i.substr(0,i.indexOf(t))).length&&g(e).unusedInput.push(h),i=i.slice(i.indexOf(t)+t.length),s+=t.length),oe[r]?(t?g(e).empty=!1:g(e).unusedTokens.push(r),h=r,f=e,null!=(d=t)&&m(Le,h)&&Le[h](d,f._a,f,h)):e._strict&&!t&&g(e).unusedTokens.push(r);g(e).charsLeftOver=o-s,0<i.length&&g(e).unusedInput.push(i),e._a[M]<=12&&!0===g(e).bigHour&&0<e._a[M]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[M]=(o=e._locale,c=e._a[M],null==(u=e._meridiem)?c:null!=o.meridiemHour?o.meridiemHour(c,u):null!=o.isPM?((o=o.isPM(u))&&c<12&&(c+=12),c=o||12!==c?c:0):c),null!==(u=g(e).era)&&(e._a[T]=e._locale.erasConvertYear(u,e._a[T])),Dt(e),mt(e)}else xt(e);else Tt(e);var c,u,h,d,f}function Ot(e){var t,n=e._i,r=e._f;{var i,o;if(e._locale=e._locale||P(e._l),null===n||void 0===r&&""===n)return j({nullInput:!0});else return"string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new X(mt(n)):(N(n)?e._d=n:s(r)?function(e){var t,n,r,i,o,s,a=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<l;i++)o=0,s=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Lt(t),U(t)&&(s=!0),o=(o+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=o,a?o<r&&(r=o,n=t):(null==r||o<r||s)&&(r=o,n=t,s&&(a=!0));Y(e,n||t)}(e):r?Lt(e):a(r=(n=e)._i)?n._d=new Date(p.now()):N(r)?n._d=new Date(r.valueOf()):"string"==typeof r?(i=n,null===(o=wt.exec(i._i))?(Tt(i),!1===i._isValid&&(delete i._isValid,xt(i),!1===i._isValid&&(delete i._isValid,i._strict?i._isValid=!1:p.createFromInputFallback(i)))):i._d=new Date(+o[1])):s(r)?(n._a=G(r.slice(0),function(e){return parseInt(e,10)}),Dt(n)):I(r)?(i=n)._d||(t=void 0===(o=ce(i._i)).day?o.date:o.day,i._a=G([o.year,o.month,t,o.hour,o.minute,o.second,o.millisecond],function(e){return e&&parseInt(e,10)}),Dt(i)):B(r)?n._d=new Date(r):p.createFromInputFallback(n),U(e)||(e._d=null),e)}}function Ft(e,t,n,r,i){var o={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(I(e)&&R(e)||s(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,(i=new X(mt(Ot(i=o))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function $(e,t,n,r){return Ft(e,t,n,r,!1)}p.createFromInputFallback=e("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":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};be=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=$.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:j()}),_e=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=$.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:j()});function Pt(e,t){var n,r;if(!(t=1===t.length&&s(t[0])?t[0]:t).length)return $();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var $t=["year","quarter","month","week","day","hour","minute","second","millisecond"];function At(e){var e=ce(e),t=e.year||0,n=e.quarter||0,r=e.month||0,i=e.week||e.isoWeek||0,o=e.day||0,s=e.hour||0,a=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,r=!1,i=$t.length;for(t in e)if(m(e,t)&&(-1===k.call($t,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[$t[n]]){if(r)return!1;parseFloat(e[$t[n]])!==f(e[$t[n]])&&(r=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*a+1e3*s*60*60,this._days=+o+7*i,this._months=+r+3*n+12*t,this._data={},this._locale=P(),this._bubble()}function Ht(e){return e instanceof At}function Ct(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function It(e,n){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+o(~~(e/60),2)+n+o(~~e%60,2)})}It("Z",":"),It("ZZ",""),v("Z",xe),v("ZZ",xe),S(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Bt(xe,e)});var Rt=/([\+\-]|\d\d)/gi;function Bt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Rt)||["-",0,0])[1]+f(e[2]))?0:"+"===e[0]?t:-t}function Nt(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||N(e)?e:$(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),p.updateOffset(t,!1),t):$(e).local()}function Gt(e){return-Math.round(e._d.getTimezoneOffset())}function Yt(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.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 A(e,t){var n,r,i=e,o=null;return Ht(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:B(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(o=Ut.exec(e))?(n="-"===o[1]?-1:1,i={y:0,d:f(o[x])*n,h:f(o[M])*n,m:f(o[D])*n,s:f(o[L])*n,ms:f(Ct(1e3*o[Fe]))*n}):(o=jt.exec(e))?(n="-"===o[1]?-1:1,i={y:Vt(o[2],n),M:Vt(o[3],n),w:Vt(o[4],n),d:Vt(o[5],n),h:Vt(o[6],n),m:Vt(o[7],n),s:Vt(o[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=$(i.from),o=$(i.to),n=t.isValid()&&o.isValid()?(o=Nt(o,t),t.isBefore(o)?r=Wt(t,o):((r=Wt(o,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(i={}).ms=n.milliseconds,i.M=n.months),o=new At(i),Ht(e)&&m(e,"_locale")&&(o._locale=e._locale),Ht(e)&&m(e,"_isValid")&&(o._isValid=e._isValid),o}function Vt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Wt(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 zt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(J(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Zt(this,A(e,t),r),this}}function Zt(e,t,n,r){var i=t._milliseconds,o=Ct(t._days),t=Ct(t._months);e.isValid()&&(r=null==r||r,t&&Ne(e,fe(e,"Month")+t*n),o&&pe(e,"Date",fe(e,"Date")+o*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&p.updateOffset(e,o||t))}A.fn=At.prototype,A.invalid=function(){return A(NaN)};He=zt(1,"add"),qe=zt(-1,"subtract");function Xt(e){return"string"==typeof e||e instanceof String}function Kt(e){return l(e)||N(e)||Xt(e)||B(e)||(n=s(t=e),r=!1,n&&(r=0===t.filter(function(e){return!B(e)&&Xt(t)}).length),n&&r)||function(e){var t,n,r=I(e)&&!R(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s=o.length;for(t=0;t<s;t+=1)n=o[t],i=i||m(e,n);return r&&i}(e)||null==e;var t,n,r}function qt(e,t){if(e.date()<t.date())return-qt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function Jt(e){return void 0===e?this._locale._abbr:(null!=(e=P(e))&&(this._locale=e),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("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 Qt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function sn(){for(var e=[],t=[],n=[],r=[],i=this.eras(),o=0,s=i.length;o<s;++o)t.push(w(i[o].name)),e.push(w(i[o].abbr)),n.push(w(i[o].narrow)),r.push(w(i[o].name)),r.push(w(i[o].abbr)),r.push(w(i[o].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function an(e,t){r(0,[e,e.length],0,t)}function ln(e,t,n,r,i){var o;return null==e?Xe(this,r,i).year:(t>(o=O(e,r,i))&&(t=o),function(e,t,n,r,i){e=Ze(e,t,n,r,i),t=We(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,n,r,i))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),v("N",on),v("NN",on),v("NNN",on),v("NNNN",function(e,t){return t.erasNameRegex(e)}),v("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),S(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?g(n).era=r:g(n).invalidEra=e}),v("y",ke),v("yy",ke),v("yyy",ke),v("yyyy",ke),v("yo",function(e,t){return t._eraYearOrdinalRegex||ke}),S(["y","yy","yyy","yyyy"],T),S(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[T]=n._locale.eraYearOrdinalParse(e,i):t[T]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),an("gggg","weekYear"),an("ggggg","weekYear"),an("GGGG","isoWeekYear"),an("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),v("G",Te),v("g",Te),v("GG",b,y),v("gg",b,y),v("GGGG",we,ge),v("gggg",we,ge),v("GGGGG",Se,ye),v("ggggg",Se,ye),Oe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=f(e)}),Oe(["gg","GG"],function(e,t,n,r){t[r]=p.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),v("Q",i),S("Q",function(e,t){t[E]=3*(f(e)-1)}),r("D",["DD",2],"Do","date"),t("date","D"),n("date",9),v("D",b),v("DD",b,y),v("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),S(["D","DD"],x),S("Do",function(e,t){t[x]=f(e.match(b)[0])});we=de("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),v("DDD",ve),v("DDDD",me),S(["DDD","DDDD"],function(e,t,n){n._dayOfYear=f(e)}),r("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),v("m",b),v("mm",b,y),S(["m","mm"],D);ge=de("Minutes",!1);r("s",["ss",2],0,"second"),t("second","s"),n("second",15),v("s",b),v("ss",b,y),S(["s","ss"],L);var cn,Se=de("Seconds",!1);for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),v("S",ve,i),v("SS",ve,y),v("SSS",ve,me),cn="SSSS";cn.length<=9;cn+="S")v(cn,ke);function un(e,t){t[Fe]=f(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")S(cn,un);ye=de("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");i=X.prototype;function hn(e){return e}i.add=He,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=I(e)&&!R(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||m(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||$(),n=Nt(e,this).startOf("day"),n=p.calendarFormat(this,n)||"sameElse",t=t&&(u(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,$(e)))},i.clone=function(){return new X(this)},i.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Nt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=h(t)){case"year":o=qt(this,r)/12;break;case"month":o=qt(this,r);break;case"quarter":o=qt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:d(o)},i.endOf=function(e){var t,n;if(void 0===(e=h(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,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-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}return this._d.setTime(t),p.updateOffset(this,!0),this},i.format=function(e){return e=e||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),e=se(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||$(e).isValid())?A({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from($(),e)},i.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||$(e).isValid())?A({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to($(),e)},i.get=function(e){return u(this[e=h(e)])?this[e]():this},i.invalidAt=function(){return g(this).overflow},i.isAfter=function(e,t){return e=l(e)?e:$(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},i.isBefore=function(e,t){return e=l(e)?e:$(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},i.isBetween=function(e,t,n,r){return e=l(e)?e:$(e),t=l(t)?t:$(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},i.isSame=function(e,t){var e=l(e)?e:$(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},i.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},i.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},i.isValid=function(){return U(this)},i.lang=Qe,i.locale=Jt,i.localeData=Qt,i.max=_e,i.min=be,i.parsingFlags=function(){return Y({},g(this))},i.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)m(e,t)&&n.push({unit:t,priority:ue[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),r=n.length,i=0;i<r;i++)this[n[i].unit](e[n[i].unit]);else if(u(this[e=h(e)]))return this[e](t);return this},i.startOf=function(e){var t,n;if(void 0===(e=h(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,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-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}return this._d.setTime(t),p.updateOffset(this,!0),this},i.subtract=qe,i.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},i.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},i.toDate=function(){return new Date(this.valueOf())},i.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?se(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):u(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",se(t,"Z")):se(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},i.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"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(i[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},i.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},i.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++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""},i.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++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""},i.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++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""},i.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-p(n[r].since).year())*e+n[r].offset;return this.year()},i.year=je,i.isLeapYear=function(){return he(this.year())},i.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},i.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},i.quarter=i.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},i.month=Ge,i.daysInMonth=function(){return Ae(this.year(),this.month())},i.week=i.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},i.isoWeek=i.isoWeeks=function(e){var t=Xe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return O(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return O(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return O(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return O(this.isoWeekYear(),1,4)},i.date=we,i.day=i.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=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-r,"d")):r},i.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")},i.isoWeekday=function(e){return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN;var t,n},i.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")},i.hour=i.hours=_,i.minute=i.minutes=ge,i.second=i.seconds=Se,i.millisecond=i.milliseconds=ye,i.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Gt(this);if("string"==typeof e){if(null===(e=Bt(xe,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Gt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,A(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},i.utc=function(e){return this.utcOffset(0,e)},i.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Gt(this),"m")),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Bt(Ee,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?$(e).utcOffset():0,(this.utcOffset()-e)%60==0)},i.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},i.isLocal=function(){return!!this.isValid()&&!this._isUTC},i.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},i.isUtc=Yt,i.isUTC=Yt,i.zoneAbbr=function(){return this._isUTC?"UTC":""},i.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},i.dates=e("dates accessor is deprecated. Use date instead.",we),i.months=e("months accessor is deprecated. Use month instead",Ge),i.years=e("years accessor is deprecated. Use year instead",je),i.zone=e("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()}),i.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e,t={};return Z(t,this),(t=Ot(t))._a?(e=(t._isUTC?c:$)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),o=0,s=0;s<r;s++)(n&&e[s]!==t[s]||!n&&f(e[s])!==f(t[s]))&&o++;return o+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=ee.prototype;function dn(e,t,n,r){var i=P(),r=c().set(r,t);return i[n](r,e)}function fn(e,t,n){if(B(e)&&(t=e,e=void 0),e=e||"",null!=t)return dn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=dn(e,i,n,"month");return r}function pn(e,t,n,r){t=("boolean"==typeof e||(n=t=e,e=!1),B(t)&&(n=t,t=void 0),t||"");var i,o=P(),s=e?o._week.dow:0,a=[];if(null!=n)return dn(t,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=dn(t,(i+s)%7,r,"day");return a}y.calendar=function(e,t,n){return u(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ne).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=hn,y.postformat=hn,y.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return u(i)?i(e,t,n,r):i.replace(/%d/i,e)},y.pastFuture=function(e,t){return u(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,n;for(n in e)m(e,n)&&(u(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)},y.eras=function(e,t){for(var n,r=this._eras||P("en")._eras,i=0,o=r.length;i<o;++i)switch("string"==typeof r[i].since&&(n=p(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=p(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},y.erasParse=function(e,t,n){var r,i,o,s,a,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(o=l[r].name.toUpperCase(),s=l[r].abbr.toUpperCase(),a=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(a===e)return l[r]}else if(0<=[o,s,a].indexOf(e))return l[r]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?p(e.since).year():p(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return m(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return m(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return m(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(s(this._months)?this._months:this._months[(this._months.isFormat||Ie).test(t)?"format":"standalone"])[e.month()]:s(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(s(this._monthsShort)?this._monthsShort:this._monthsShort[Ie.test(t)?"format":"standalone"])[e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,o,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=k.call(this._shortMonthsParse,e))?i:null:-1!==(i=k.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=k.call(this._shortMonthsParse,e))||-1!==(i=k.call(this._longMonthsParse,e))?i:null:-1!==(i=k.call(this._longMonthsParse,e))||-1!==(i=k.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=c([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},y.monthsRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Ye.call(this),e?this._monthsStrictRegex:this._monthsRegex):(m(this,"_monthsRegex")||(this._monthsRegex=Be),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Ye.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(m(this,"_monthsShortRegex")||(this._monthsShortRegex=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Xe(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.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?Ke(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Ke(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Ke(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,o,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=k.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=k.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=k.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=k.call(this._weekdaysParse,e))||-1!==(i=k.call(this._shortWeekdaysParse,e))||-1!==(i=k.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=k.call(this._shortWeekdaysParse,e))||-1!==(i=k.call(this._weekdaysParse,e))||-1!==(i=k.call(this._minWeekdaysParse,e))?i:null:-1!==(i=k.call(this._minWeekdaysParse,e))||-1!==(i=k.call(this._weekdaysParse,e))||-1!==(i=k.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=c([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(m(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(m(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(m(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ft("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===f(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),p.lang=e("moment.lang is deprecated. Use moment.locale instead.",ft),p.langData=e("moment.langData is deprecated. Use moment.localeData instead.",P);var mn=Math.abs;function gn(e,t,n,r){t=A(t,n);return e._milliseconds+=r*t._milliseconds,e._days+=r*t._days,e._months+=r*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(e){return 4800*e/146097}function _n(e){return 146097*e/4800}function vn(e){return function(){return this.as(e)}}ve=vn("ms"),me=vn("s"),He=vn("m"),_e=vn("h"),be=vn("d"),qe=vn("w"),_=vn("M"),ge=vn("Q"),Se=vn("y");function wn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=wn("milliseconds"),we=wn("seconds"),je=wn("minutes"),y=wn("hours"),Sn=wn("days"),kn=wn("months"),Tn=wn("years");var En=Math.round,xn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(e,t,n,r){var i=A(e).abs(),o=En(i.as("s")),s=En(i.as("m")),a=En(i.as("h")),l=En(i.as("d")),c=En(i.as("M")),u=En(i.as("w")),i=En(i.as("y")),o=(o<=n.ss?["s",o]:o<n.s&&["ss",o])||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return(o=(o=null!=n.w?o||u<=1&&["w"]||u<n.w&&["ww",u]:o)||c<=1&&["M"]||c<n.M&&["MM",c]||i<=1&&["y"]||["yy",i])[2]=t,o[3]=0<+e,o[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,o)}var Dn=Math.abs;function Ln(e){return(0<e)-(e<0)||+e}function On(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,s,a=Dn(this._milliseconds)/1e3,l=Dn(this._days),c=Dn(this._months),u=this.asSeconds();return u?(e=d(a/60),t=d(e/60),a%=60,e%=60,n=d(c/12),c%=12,r=a?a.toFixed(3).replace(/\.?0+$/,""):"",i=Ln(this._months)!==Ln(u)?"-":"",o=Ln(this._days)!==Ln(u)?"-":"",s=Ln(this._milliseconds)!==Ln(u)?"-":"",(u<0?"-":"")+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?o+l+"D":"")+(t||e||a?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(a?s+r+"S":"")):"P0D"}var H=At.prototype;return H.isValid=function(){return this._isValid},H.abs=function(){var e=this._data;return this._milliseconds=mn(this._milliseconds),this._days=mn(this._days),this._months=mn(this._months),e.milliseconds=mn(e.milliseconds),e.seconds=mn(e.seconds),e.minutes=mn(e.minutes),e.hours=mn(e.hours),e.months=mn(e.months),e.years=mn(e.years),this},H.add=function(e,t){return gn(this,e,t,1)},H.subtract=function(e,t){return gn(this,e,t,-1)},H.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=h(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(_n(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},H.asMilliseconds=ve,H.asSeconds=me,H.asMinutes=He,H.asHours=_e,H.asDays=be,H.asWeeks=qe,H.asMonths=_,H.asQuarters=ge,H.asYears=Se,H.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*f(this._months/12):NaN},H._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(_n(n)+t),n=t=0),r.milliseconds=e%1e3,e=d(e/1e3),r.seconds=e%60,e=d(e/60),r.minutes=e%60,e=d(e/60),r.hours=e%24,t+=d(e/24),n+=e=d(bn(t)),t-=yn(_n(e)),e=d(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},H.clone=function(){return A(this)},H.get=function(e){return e=h(e),this.isValid()?this[e+"s"]():NaN},H.milliseconds=ye,H.seconds=we,H.minutes=je,H.hours=y,H.days=Sn,H.weeks=function(){return d(this.days()/7)},H.months=kn,H.years=Tn,H.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=xn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},xn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),t=Mn(this,!n,r,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},H.toISOString=On,H.toString=On,H.toJSON=On,H.locale=Jt,H.localeData=Qt,H.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",On),H.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),v("x",Te),v("X",/[+-]?\d+(\.\d{1,3})?/),S("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),S("x",function(e,t,n){n._d=new Date(f(e))}),p.version="2.29.3",C=$,p.fn=i,p.min=function(){return Pt("isBefore",[].slice.call(arguments,0))},p.max=function(){return Pt("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=c,p.unix=function(e){return $(1e3*e)},p.months=function(e,t){return fn(e,t,"months")},p.isDate=N,p.locale=ft,p.invalid=j,p.duration=A,p.isMoment=l,p.weekdays=function(e,t,n){return pn(e,t,n,"weekdays")},p.parseZone=function(){return $.apply(null,arguments).parseZone()},p.localeData=P,p.isDuration=Ht,p.monthsShort=function(e,t){return fn(e,t,"monthsShort")},p.weekdaysMin=function(e,t,n){return pn(e,t,n,"weekdaysMin")},p.defineLocale=pt,p.updateLocale=function(e,t){var n,r;return null!=t?(r=lt,null!=F[e]&&null!=F[e].parentLocale?F[e].set(Q(F[e]._config,t)):(t=Q(r=null!=(n=dt(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new ee(t)).parentLocale=F[e],F[e]=r),ft(e)):null!=F[e]&&(null!=F[e].parentLocale?(F[e]=F[e].parentLocale,e===ft()&&ft(e)):null!=F[e]&&delete F[e]),F[e]},p.locales=function(){return te(F)},p.weekdaysShort=function(e,t,n){return pn(e,t,n,"weekdaysShort")},p.normalizeUnits=h,p.relativeTimeRounding=function(e){return void 0===e?En:"function"==typeof e&&(En=e,!0)},p.relativeTimeThreshold=function(e,t){return void 0!==xn[e]&&(void 0===t?xn[e]:(xn[e]=t,"s"===e&&(xn.ss=t-1),!0))},p.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},p.prototype=i,p.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},p}();var ri,ii,oi=ri.exports;function si(e,t){Pr(e,t)}const ai={en:{casinoFooter:{timeText:"Time",sessionTimer:"Logged in for"}},fr:{casinoFooter:{timeText:"Temps",sessionTimer:"Connecté pour"}},ro:{casinoFooter:{timeText:"Ora",sessionTimer:"Online de"}},es:{casinoFooter:{timeText:"Hora",sessionTimer:"Tiempo sesión"}},pt:{casinoFooter:{timeText:"Categorias",sessionTimer:"Logged in for"}}},li=te["document"];function ci(e,t,n){const r=e.slice();return r[74]=t[n],r}function ui(e,t,n){const r=e.slice();return r[77]=t[n],r}function hi(e){let n,r;return{c(){w((n=x("script")).src,r=e[28])||D(n,"src",r)},m(e,t){k(e,n,t)},p(e,t){268435456&t[0]&&!w(n.src,r=e[28])&&D(n,"src",r)},d(e){e&&T(n)}}}function di(e){let n,r,i,o,s,a,l,c,u=("true"===e[3]||"true"===e[5]||"true"===e[6])&&mi(e),h="true"===e[7]&&localStorage.session&&wi(e),d=e[16]&&Si(e),f=(e[14]||e[12])&&Ei(e),p=(e[18]||e[20])&&Oi(e),m=(e[24]||e[23])&&Hi(e);return{c(){n=x("div"),u&&u.c(),r=M(),h&&h.c(),i=M(),d&&d.c(),o=M(),f&&f.c(),s=M(),p&&p.c(),a=M(),m&&m.c(),D(n,"class",l="FooterGrid "+(e[16]?"":"NoSponsorSpacing")),D(n,"part",c="FooterGrid "+(e[16]?"":"NoSponsorSpacing"))},m(e,t){k(e,n,t),u&&u.m(n,null),S(n,r),h&&h.m(n,null),S(n,i),d&&d.m(n,null),S(n,o),f&&f.m(n,null),S(n,s),p&&p.m(n,null),S(n,a),m&&m.m(n,null)},p(e,t){"true"===e[3]||"true"===e[5]||"true"===e[6]?u?u.p(e,t):((u=mi(e)).c(),u.m(n,r)):u&&(u.d(1),u=null),"true"===e[7]&&localStorage.session?h?h.p(e,t):((h=wi(e)).c(),h.m(n,i)):h&&(h.d(1),h=null),e[16]?d?d.p(e,t):((d=Si(e)).c(),d.m(n,o)):d&&(d.d(1),d=null),e[14]||e[12]?f?f.p(e,t):((f=Ei(e)).c(),f.m(n,s)):f&&(f.d(1),f=null),e[18]||e[20]?p?p.p(e,t):((p=Oi(e)).c(),p.m(n,a)):p&&(p.d(1),p=null),e[24]||e[23]?m?m.p(e,t):((m=Hi(e)).c(),m.m(n,null)):m&&(m.d(1),m=null),65536&t[0]&&l!==(l="FooterGrid "+(e[16]?"":"NoSponsorSpacing"))&&D(n,"class",l),65536&t[0]&&c!==(c="FooterGrid "+(e[16]?"":"NoSponsorSpacing"))&&D(n,"part",c)},d(e){e&&T(n),u&&u.d(),h&&h.d(),d&&d.d(),f&&f.d(),p&&p.d(),m&&m.d()}}}function fi(e){let n;return{c(){(n=x("p")).textContent="Loading ...",D(n,"class","SearchLoading"),D(n,"part","SearchLoading")},m(e,t){k(e,n,t)},p:g,d(e){e&&T(n)}}}function pi(e){let n;return{c(){(n=x("p")).textContent="500 Error - Internal Server Error",D(n,"class","SearchLoading"),D(n,"part","SearchLoading")},m(e,t){k(e,n,t)},p:g,d(e){e&&T(n)}}}function mi(e){let n,r,i,o="true"===e[3]&&gi(e),s="true"===e[6]&&yi(e),a="true"===e[5]&&e[36]&&e[30]&&bi(e);return{c(){n=x("div"),o&&o.c(),r=M(),s&&s.c(),i=M(),a&&a.c(),D(n,"class","GridRow ProvisionalRow"),D(n,"part","GridRow")},m(e,t){k(e,n,t),o&&o.m(n,null),S(n,r),s&&s.m(n,null),S(n,i),a&&a.m(n,null)},p(e,t){"true"===e[3]?o?o.p(e,t):((o=gi(e)).c(),o.m(n,r)):o&&(o.d(1),o=null),"true"===e[6]?s?s.p(e,t):((s=yi(e)).c(),s.m(n,i)):s&&(s.d(1),s=null),"true"===e[5]&&e[36]&&e[30]?a?a.p(e,t):((a=bi(e)).c(),a.m(n,null)):a&&(a.d(1),a=null)},d(e){e&&T(n),o&&o.d(),s&&s.d(),a&&a.d()}}}function gi(e){let n,r,i,o,s,a,l;return{c(){n=x("div"),r=x("span"),i=t(e[4]),o=t(":"),s=M(),a=x("span"),l=t(e[31]),D(r,"class","ClockText"),D(a,"class","ClockTime"),D(n,"class","ClockContainer")},m(e,t){k(e,n,t),S(n,r),S(r,i),S(r,o),S(n,s),S(n,a),S(a,l)},p(e,t){16&t[0]&&L(i,e[4]),1&t[1]&&L(l,e[31])},d(e){e&&T(n)}}}function yi(e){let n;return{c(){l(n=x("panic-button"),"lang",e[0])},m(e,t){k(e,n,t)},p(e,t){1&t[0]&&l(n,"lang",e[0])},d(e){e&&T(n)}}}function bi(n){let r,o,i,s,a,l,e,c,u,h,d,f,p,m,g=n[32],y=[];for(let e=0;e<g.length;e+=1)y[e]=_i(ui(n,g,e));let b=n[9],_=[];for(let e=0;e<b.length;e+=1)_[e]=vi(ci(n,b,e));return{c(){r=x("div"),o=x("select");for(let e=0;e<y.length;e+=1)y[e].c();i=M(),s=x("div"),a=x("button"),l=x("img"),c=t(n[34]),u=x("img"),h=M(),d=x("div"),f=x("ul");for(let e=0;e<_.length;e+=1)_[e].c();D(o,"class","Item ItemLanguage"),D(o,"part","Item ItemLanguage"),void 0===n[30]&&q(()=>n[55].call(o)),D(l,"class","languageFlag"),w(l.src,e=n[35])||D(l,"src",e),D(u,"class","downwardChevron"),w(u.src,"https://upload.wikimedia.org/wikipedia/commons/2/24/White_arrow_down.svg")||D(u,"src","https://upload.wikimedia.org/wikipedia/commons/2/24/White_arrow_down.svg"),D(a,"class","drawerButton"),a.value=n[30],D(f,"id","languageList"),D(d,"class","languageDrawer hidden"),D(s,"class","languageSelectorOverlay"),D(r,"class","languageSelectorContainer")},m(e,t){k(e,r,t),S(r,o);for(let e=0;e<y.length;e+=1)y[e].m(o,null);Y(o,n[30]),S(r,i),S(r,s),S(s,a),S(a,l),S(a,c),S(a,u),S(s,h),S(s,d),S(d,f);for(let e=0;e<_.length;e+=1)_[e].m(f,null);n[57](d),p||(m=[G(o,"change",n[55]),G(o,"change",n[56]),G(a,"click",n[41])],p=!0)},p(t,n){if(2&n[1]){let e;for(g=t[32],e=0;e<g.length;e+=1){var r=ui(t,g,e);y[e]?y[e].p(r,n):(y[e]=_i(r),y[e].c(),y[e].m(o,null))}for(;e<y.length;e+=1)y[e].d(1);y.length=g.length}if(1073741824&n[0]|2&n[1]&&Y(o,t[30]),16&n[1]&&!w(l.src,e=t[35])&&D(l,"src",e),8&n[1]&&L(c,t[34]),1073741824&n[0]|2&n[1]&&(a.value=t[30]),512&n[0]|2048&n[1]){let e;for(b=t[9],e=0;e<b.length;e+=1){var i=ci(t,b,e);_[e]?_[e].p(i,n):(_[e]=vi(i),_[e].c(),_[e].m(f,null))}for(;e<_.length;e+=1)_[e].d(1);_.length=b.length}},d(e){e&&T(r),E(y,e),E(_,e),n[57](null),p=!1,v(m)}}}function _i(e){let n,r,i,o=e[77]+"";return{c(){n=x("option"),r=t(o),n.__value=i=e[77],n.value=n.__value,n.selected=!0},m(e,t){k(e,n,t),S(n,r)},p(e,t){2&t[1]&&o!==(o=e[77]+"")&&L(r,o),2&t[1]&&i!==(i=e[77])&&(n.__value=i,n.value=n.__value)},d(e){e&&T(n)}}}function vi(n){let r,i,o,s,a,l,c,u,h,d=n[74].name+"";return{c(){r=x("li"),i=x("img"),s=x("a"),a=x("span"),l=t(d),D(i,"class","languageFlag"),w(i.src,o=n[74].flag_icon_editable)||D(i,"src",o),D(s,"href","javascript:void(0)"),D(r,"class","overlayLanguageOption"),D(r,"data-lang",c=n[74].code)},m(e,t){k(e,r,t),S(r,i),S(r,s),S(s,a),S(a,l),u||(h=G(r,"click",n[42]),u=!0)},p(e,t){512&t[0]&&!w(i.src,o=e[74].flag_icon_editable)&&D(i,"src",o),512&t[0]&&d!==(d=e[74].name+"")&&L(l,d),512&t[0]&&c!==(c=e[74].code)&&D(r,"data-lang",c)},d(e){e&&T(r),u=!1,h()}}}function wi(e){let n,r,i,o,s,a,l=e[38]("casinoFooter.sessionTimer")+"";return{c(){n=x("div"),r=x("div"),i=x("span"),o=t(l),s=M(),a=t(e[37]),D(i,"class","SessionText"),D(r,"class","sessionTimerContainer"),D(n,"class","GridRow ProvisionalRow"),D(n,"part","GridRow")},m(e,t){k(e,n,t),S(n,r),S(r,i),S(i,o),S(i,s),S(i,a)},p(e,t){128&t[1]&&l!==(l=e[38]("casinoFooter.sessionTimer")+"")&&L(o,l),64&t[1]&&L(a,e[37])},d(e){e&&T(n)}}}function Si(e){let n,r=e[16]&&ki(e);return{c(){n=x("div"),r&&r.c(),D(n,"class","GridRow"),D(n,"part","GridRow")},m(e,t){k(e,n,t),r&&r.m(n,null)},p(e,t){e[16]?r?r.p(e,t):((r=ki(e)).c(),r.m(n,null)):r&&(r.d(1),r=null)},d(e){e&&T(n),r&&r.d()}}}function ki(e){let n,r,i,o=e[15]&&Ti(e);return{c(){n=x("div"),o&&o.c(),r=M(),l(i=x("casino-footer-section"),"class","FooterSection"),l(i,"part","FooterSection"),l(i,"sponsorflag","1"),l(i,"clientstyling",e[1]),l(i,"clientstylingurl",e[2]),l(i,"baseurl",e[8]),l(i,"lang",e[0]),l(i,"footertype","footerprimary"),D(n,"class","GridCol"),D(n,"part","GridCol")},m(e,t){k(e,n,t),o&&o.m(n,null),S(n,r),S(n,i)},p(e,t){e[15]?o?o.p(e,t):((o=Ti(e)).c(),o.m(n,r)):o&&(o.d(1),o=null),2&t[0]&&l(i,"clientstyling",e[1]),4&t[0]&&l(i,"clientstylingurl",e[2]),256&t[0]&&l(i,"baseurl",e[8]),1&t[0]&&l(i,"lang",e[0])},d(e){e&&T(n),o&&o.d()}}}function Ti(e){let n,r;return{c(){n=x("p"),r=t(e[15]),D(n,"class","FooterTitle"),D(n,"part","FooterTitle")},m(e,t){k(e,n,t),S(n,r)},p(e,t){32768&t[0]&&L(r,e[15])},d(e){e&&T(n)}}}function Ei(e){let n,r,i,o,s=e[14]&&xi(e),a=e[12]&&Di(e);return{c(){n=x("div"),s&&s.c(),r=M(),a&&a.c(),D(n,"class",i="GridRow "+(e[14]&&e[12]?"SplitRow":"")),D(n,"part",o="GridRow "+(e[14]&&e[12]?"SplitRow":""))},m(e,t){k(e,n,t),s&&s.m(n,null),S(n,r),a&&a.m(n,null)},p(e,t){e[14]?s?s.p(e,t):((s=xi(e)).c(),s.m(n,r)):s&&(s.d(1),s=null),e[12]?a?a.p(e,t):((a=Di(e)).c(),a.m(n,null)):a&&(a.d(1),a=null),20480&t[0]&&i!==(i="GridRow "+(e[14]&&e[12]?"SplitRow":""))&&D(n,"class",i),20480&t[0]&&o!==(o="GridRow "+(e[14]&&e[12]?"SplitRow":""))&&D(n,"part",o)},d(e){e&&T(n),s&&s.d(),a&&a.d()}}}function xi(e){let n,r,i,o=e[13]&&Mi(e);return{c(){n=x("div"),o&&o.c(),r=M(),l(i=x("casino-footer-section"),"class","FooterSection"),l(i,"part","FooterSection"),l(i,"paymentflag","1"),l(i,"clientstyling",e[1]),l(i,"clientstylingurl",e[2]),l(i,"baseurl",e[8]),l(i,"lang",e[0]),l(i,"footertype","footerprimary"),D(n,"class","GridCol"),D(n,"part","GridCol")},m(e,t){k(e,n,t),o&&o.m(n,null),S(n,r),S(n,i)},p(e,t){e[13]?o?o.p(e,t):((o=Mi(e)).c(),o.m(n,r)):o&&(o.d(1),o=null),2&t[0]&&l(i,"clientstyling",e[1]),4&t[0]&&l(i,"clientstylingurl",e[2]),256&t[0]&&l(i,"baseurl",e[8]),1&t[0]&&l(i,"lang",e[0])},d(e){e&&T(n),o&&o.d()}}}function Mi(e){let n,r;return{c(){n=x("p"),r=t(e[13]),D(n,"class","FooterTitle"),D(n,"part","FooterTitle")},m(e,t){k(e,n,t),S(n,r)},p(e,t){8192&t[0]&&L(r,e[13])},d(e){e&&T(n)}}}function Di(e){let n,r,i,o=e[11]&&Li(e);return{c(){n=x("div"),o&&o.c(),r=M(),l(i=x("casino-footer-section"),"class","FooterSection"),l(i,"part","FooterSection"),l(i,"vendorflag","1"),l(i,"clientstyling",e[1]),l(i,"clientstylingurl",e[2]),l(i,"baseurl",e[8]),l(i,"lang",e[0]),l(i,"footertype","footerprimary"),D(n,"class","GridCol"),D(n,"part","GridCol")},m(e,t){k(e,n,t),o&&o.m(n,null),S(n,r),S(n,i)},p(e,t){e[11]?o?o.p(e,t):((o=Li(e)).c(),o.m(n,r)):o&&(o.d(1),o=null),2&t[0]&&l(i,"clientstyling",e[1]),4&t[0]&&l(i,"clientstylingurl",e[2]),256&t[0]&&l(i,"baseurl",e[8]),1&t[0]&&l(i,"lang",e[0])},d(e){e&&T(n),o&&o.d()}}}function Li(e){let n,r;return{c(){n=x("p"),r=t(e[11]),D(n,"class","FooterTitle"),D(n,"part","FooterTitle")},m(e,t){k(e,n,t),S(n,r)},p(e,t){2048&t[0]&&L(r,e[11])},d(e){e&&T(n)}}}function Oi(e){let n,r,i,o,s=e[18]&&Fi(e),a=e[20]&&$i(e);return{c(){n=x("div"),s&&s.c(),r=M(),a&&a.c(),D(n,"class",i="GridRow "+(e[18]&&e[20]?"SplitRow":"")),D(n,"part",o="GridRow "+(e[18]&&e[20]?"SplitRow":""))},m(e,t){k(e,n,t),s&&s.m(n,null),S(n,r),a&&a.m(n,null)},p(e,t){e[18]?s?s.p(e,t):((s=Fi(e)).c(),s.m(n,r)):s&&(s.d(1),s=null),e[20]?a?a.p(e,t):((a=$i(e)).c(),a.m(n,null)):a&&(a.d(1),a=null),1310720&t[0]&&i!==(i="GridRow "+(e[18]&&e[20]?"SplitRow":""))&&D(n,"class",i),1310720&t[0]&&o!==(o="GridRow "+(e[18]&&e[20]?"SplitRow":""))&&D(n,"part",o)},d(e){e&&T(n),s&&s.d(),a&&a.d()}}}function Fi(e){let n,r,i,o=e[17]&&Pi(e);return{c(){n=x("div"),o&&o.c(),r=M(),l(i=x("casino-footer-section"),"class","FooterSection"),l(i,"part","FooterSection"),l(i,"helperflag","1"),l(i,"clientstyling",e[1]),l(i,"clientstylingurl",e[2]),l(i,"baseurl",e[8]),l(i,"lang",e[0]),l(i,"footertype","footerprimary"),D(n,"class","GridCol"),D(n,"part","GridCol")},m(e,t){k(e,n,t),o&&o.m(n,null),S(n,r),S(n,i)},p(e,t){e[17]?o?o.p(e,t):((o=Pi(e)).c(),o.m(n,r)):o&&(o.d(1),o=null),2&t[0]&&l(i,"clientstyling",e[1]),4&t[0]&&l(i,"clientstylingurl",e[2]),256&t[0]&&l(i,"baseurl",e[8]),1&t[0]&&l(i,"lang",e[0])},d(e){e&&T(n),o&&o.d()}}}function Pi(e){let n,r;return{c(){n=x("p"),r=t(e[17]),D(n,"class","FooterTitle"),D(n,"part","FooterTitle")},m(e,t){k(e,n,t),S(n,r)},p(e,t){131072&t[0]&&L(r,e[17])},d(e){e&&T(n)}}}function $i(e){let n,r,i,o=e[19]&&Ai(e);return{c(){n=x("div"),o&&o.c(),r=M(),l(i=x("casino-footer-section"),"class","FooterSection"),l(i,"part","FooterSection"),l(i,"licenseflag","1"),l(i,"clientstyling",e[1]),l(i,"clientstylingurl",e[2]),l(i,"baseurl",e[8]),l(i,"lang",e[0]),l(i,"footertype","footerprimary"),D(n,"class","GridCol"),D(n,"part","GridCol")},m(e,t){k(e,n,t),o&&o.m(n,null),S(n,r),S(n,i)},p(e,t){e[19]?o?o.p(e,t):((o=Ai(e)).c(),o.m(n,r)):o&&(o.d(1),o=null),2&t[0]&&l(i,"clientstyling",e[1]),4&t[0]&&l(i,"clientstylingurl",e[2]),256&t[0]&&l(i,"baseurl",e[8]),1&t[0]&&l(i,"lang",e[0])},d(e){e&&T(n),o&&o.d()}}}function Ai(e){let n,r;return{c(){n=x("p"),r=t(e[19]),D(n,"class","FooterTitle"),D(n,"part","FooterTitle")},m(e,t){k(e,n,t),S(n,r)},p(e,t){524288&t[0]&&L(r,e[19])},d(e){e&&T(n)}}}function Hi(n){let r,i,o,s,a,l,c,u,h,d,f,p,m,g=n[22]&&Ci(n);return{c(){r=x("div"),i=x("div"),o=x("div"),a=M(),l=x("div"),u=M(),g&&g.c(),h=M(),d=x("div"),D(o,"class","DetailedLicenses"),D(o,"part","DetailedLicenses"),D(l,"class","DetailedCustomLicenses"),D(l,"part","DetailedCustomLicenses"),D(d,"class","CopyrightAreaRights CopyrightArea"),D(d,"part","CopyrightAreaRights CopyrightArea"),D(i,"class","GridCol"),D(i,"part","GridCol"),D(r,"class","GridRow LicenseRow"),D(r,"part","GridRow LicenseRow")},m(e,t){k(e,r,t),S(r,i),S(i,o),S(i,a),S(i,l),S(i,u),g&&g.m(i,null),S(i,h),S(i,d),p||(m=[N(s=n[39].call(null,o,n[24])),N(c=n[39].call(null,l,n[29])),N(f=n[39].call(null,d,n[23]))],p=!0)},p(e,t){s&&y(s.update)&&16777216&t[0]&&s.update.call(null,e[24]),c&&y(c.update)&&536870912&t[0]&&c.update.call(null,e[29]),e[22]?g?g.p(e,t):((g=Ci(e)).c(),g.m(i,h)):g&&(g.d(1),g=null),f&&y(f.update)&&8388608&t[0]&&f.update.call(null,e[23])},d(e){e&&T(r),g&&g.d(),p=!1,v(m)}}}function Ci(e){let n,r,i=e[21]&&Ii(e);return{c(){i&&i.c(),n=M(),l(r=x("casino-footer-section"),"class","FooterSection SocialSection"),l(r,"part","FooterSection SocialSection"),l(r,"socialflag","1"),l(r,"clientstyling",e[1]),l(r,"clientstylingurl",e[2]),l(r,"baseurl",e[8]),l(r,"lang",e[0]),l(r,"footertype","footerprimary")},m(e,t){i&&i.m(e,t),k(e,n,t),k(e,r,t)},p(e,t){e[21]?i?i.p(e,t):((i=Ii(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),2&t[0]&&l(r,"clientstyling",e[1]),4&t[0]&&l(r,"clientstylingurl",e[2]),256&t[0]&&l(r,"baseurl",e[8]),1&t[0]&&l(r,"lang",e[0])},d(e){i&&i.d(e),e&&T(n),e&&T(r)}}}function Ii(e){let n,r;return{c(){n=x("p"),r=t(e[21]),D(n,"class","FooterTitle"),D(n,"part","FooterTitle")},m(e,t){k(e,n,t),S(n,r)},p(e,t){2097152&t[0]&&L(r,e[21])},d(e){e&&T(n)}}}function Ri(n){let r,i,o,s=n[27]&&hi(n);function a(e){return e[25]?pi:e[26]?fi:di}let l=a(n),c=l(n);return{c(){s&&s.c(),r=t(""),i=M(),o=x("div"),c.c(),this.c=g},m(e,t){s&&s.m(li.head,null),S(li.head,r),k(e,i,t),k(e,o,t),c.m(o,null),n[58](o)},p(e,t){e[27]?s?s.p(e,t):((s=hi(e)).c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null),l===(l=a(e))&&c?c.p(e,t):(c.d(1),(c=l(e))&&(c.c(),c.m(o,null)))},i:g,o:g,d(e){s&&s.d(e),T(r),e&&T(i),e&&T(o),c.d(),n[58](null)}}}function Bi(e,t,l){let s;le(e,qr,e=>l(38,s=e));let R,a,B,n,{endpoint:c=""}=t,{lang:u="en"}=t,{env:h=""}=t,{clientstyling:d=""}=t,{clientstylingurl:f=""}=t,{translationurl:p=""}=t,{clockenabled:m=""}=t,{clocksecondsenabled:g=""}=t,{clockcustomformat:y=""}=t,{clocktext:N="Time"}=t,{languageselectorenabled:G="true"}=t,{languageslist:r="en, ro"}=t,{languagedisplaytype:i="name"}=t,{session:b=""}=t,{userid:_=""}=t,{userendpoint:v=""}=t,{userroles:w=""}=t,{panicbuttonenabled:Y="true"}=t,{sessiontimerenabled:U="true"}=t,{baseurl:j=""}=t,S="",k=[],T="",E=[],x="",M=[],D="",L=[],O="",F=[],V="",P=[],W="",z="",Z=!1,$=!1,X=!1,K="",q="",A=!1,H="hr",C=[],J=window.navigator.userAgent,o=[],Q="",ee="",te=!1,ne="",I;Object.keys(ai).forEach(e=>{si(e,ai[e])});const re=()=>{var e="false"!=y?y:`hh:mm${"true"===g?":ss":""} (UTC Z)`;l(31,a=oi().format(e))},ie=()=>{window.postMessage({type:"LanguageChanged",selectedLanguage:H},window.location.href)},oe=()=>{let n=!1;C.forEach((t,e)=>{if(t.code==H.toLowerCase()){n=!0;let e="";switch(l(35,ee=t.flag_icon_editable),i){case"name":e=t.name;break;case"translatedName":e=t.translated_name;break;default:e=t.code}l(34,Q=e)}}),n||l(34,Q=H)};return ce(()=>{l(32,o=r.replace(/ /g,"").split(",")),l(32,o=o.map(e=>e.toUpperCase()))}),e.$$set=e=>{"endpoint"in e&&l(43,c=e.endpoint),"lang"in e&&l(0,u=e.lang),"env"in e&&l(44,h=e.env),"clientstyling"in e&&l(1,d=e.clientstyling),"clientstylingurl"in e&&l(2,f=e.clientstylingurl),"translationurl"in e&&l(45,p=e.translationurl),"clockenabled"in e&&l(3,m=e.clockenabled),"clocksecondsenabled"in e&&l(46,g=e.clocksecondsenabled),"clockcustomformat"in e&&l(47,y=e.clockcustomformat),"clocktext"in e&&l(4,N=e.clocktext),"languageselectorenabled"in e&&l(5,G=e.languageselectorenabled),"languageslist"in e&&l(48,r=e.languageslist),"languagedisplaytype"in e&&l(49,i=e.languagedisplaytype),"session"in e&&l(50,b=e.session),"userid"in e&&l(51,_=e.userid),"userendpoint"in e&&l(52,v=e.userendpoint),"userroles"in e&&l(53,w=e.userroles),"panicbuttonenabled"in e&&l(6,Y=e.panicbuttonenabled),"sessiontimerenabled"in e&&l(7,U=e.sessiontimerenabled),"baseurl"in e&&l(8,j=e.baseurl)},e.$$.update=()=>{var r,i;if(1&e.$$.dirty[0]&&u&&(t=u,ae.set(t)),1576960&e.$$.dirty[1]&&b&&_&&c&&(r=v,i=b,new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",i),ot(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))}).then(e=>{e.Guid,e.UserID,l(54,A=!0)},e=>{l(54,A=!1),console.error("Error while checking the session - ",e)})),1&e.$$.dirty[0]|8388608&e.$$.dirty[1]&&A&&u){const o=JSON.parse(localStorage.session),s=new Date(o.Login),a=(new Date).getTimezoneOffset()/60;let e=(new Date).getTime()-s.getTime(),t=void(Math.floor(e/36e5),a),n=void Math.floor(e%36e5/6e4),r=void Math.floor(e%6e4/1e3);setInterval(()=>{t=Math.floor(e/36e5)+a,n=Math.floor(e%36e5/6e4),r=Math.floor(e%6e4/1e3),l(37,ne=`${9<t?t:"0"+t}:${9<n?n:"0"+n}:`+(9<r?r:"0"+r)),e+=1e3},1e3)}if(1026&e.$$.dirty[0]&&d&&I){let e=document.createElement("style");e.innerHTML=d,I.appendChild(e)}if(1028&e.$$.dirty[0]&&f&&I){let e=new URL(f),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{I.appendChild(t)},1),setTimeout(()=>{},500)})}if(1&e.$$.dirty[0]|4206592&e.$$.dirty[1]&&c&&u&&h&&w){let e=new URL(`${c}/${u}/footer-raw-data?env=`+h);e.searchParams.append("userRoles",w);var t=Jr(J);t&&("PC"===t?e.searchParams.append("device","dk"):"iPad"===t||"iPhone"===t?e.searchParams.append("device","ios"):e.searchParams.append("device","mtWeb")),l(26,$=!0),fetch(e).then(e=>e.json()).then(e=>{var t,n;l(26,$=!1),R=e,l(11,{gameVendorsLinksTitle:S,gameVendorsRepeater:k,paymentLinksTitle:T,paymentMethodsRepeater:E,sponsorsLinksTitle:x,sponsorsRepeater:M,helpLinksTitle:D,helpLinksRepeater:L,licensesLinksTitle:O,licensesRepeater:F,socialLinksTitle:V,socialLinksRepeater:P,copyright:W,licenseDesc:z,licenseHeadScriptSrc:e,licenseScriptBody:t,licenseEvent:n,language:C}=R,S,l(12,k),l(13,T),l(14,E),l(15,x),l(16,M),l(17,D),l(18,L),l(19,O),l(20,F),l(21,V),l(22,P),l(23,W),l(24,z),l(9,C)),C&&(l(36,te=!0),oe()),0<(null==e?void 0:e.length)&&(l(27,X=!0),l(28,K=e)),0<(null==t?void 0:t.length)&&l(29,q=t),window.postMessage({type:n},window.location.href),window.postMessage({type:"FooterData",gameVendorsRepeater:k,paymentMethodsRepeater:E,sponsorsRepeater:M,helpLinksRepeater:L,licensesRepeater:F,socialLinksRepeater:P},window.location.href)}).catch(e=>{l(25,Z=!0),l(26,$=!1),console.error(e)})}16384&e.$$.dirty[1]&&p&&fetch(p).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{si(e,t[e])})}).catch(e=>{console.log(e)}),8&e.$$.dirty[0]|98304&e.$$.dirty[1]&&"false"!==m&&g&&y&&re(),8&e.$$.dirty[0]|32768&e.$$.dirty[1]&&"false"!==m&&g&&(B="true"==g?1e3:6e4)&&setInterval(()=>{re()},B),513&e.$$.dirty[0]&&u&&l(30,H=u)&&C&&0<C.length&&oe()},[u,d,f,m,N,G,Y,U,j,C,I,S,k,T,E,x,M,D,L,O,F,V,P,W,z,Z,$,X,K,q,H,a,o,n,Q,ee,te,ne,s,(e,t)=>{let n=document.createElement("div");n.innerHTML=t,e.append(n)},ie,()=>{n.classList.toggle("hidden")},e=>{let t=e.target.closest(".overlayLanguageOption");l(30,H=t.getAttribute("data-lang")),ie(),oe(),n.classList.toggle("hidden")},c,h,p,g,y,r,i,b,_,v,w,A,function(){H=function(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}(this),l(30,H),l(0,u),l(9,C),l(32,o)},()=>ie(),function(e){se[e?"unshift":"push"](()=>{n=e,l(33,n)})},function(e){se[e?"unshift":"push"](()=>{I=e,l(10,I)})}]}class Ni extends re{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'}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.FooterGrid{font-weight:400;display:flex;padding:10px 40px;background-color:var(--emfe-w-color-footer-bg, #212529);color:var(--emfe-w-color-white, #FFFFFF);flex-direction:column;align-items:center;justify-content:center}.FooterGrid.NoSponsorSpacing{padding-top:30px}.FooterGrid .GridRow{display:flex;flex-flow:row wrap;width:100%;padding:20px 0;align-items:flex-start;justify-content:center}.FooterGrid .GridRow:first-child{padding-top:0}.FooterGrid .GridRow:not(:last-child){border-bottom:1px solid rgba(255, 255, 255, 0.1)}.FooterGrid .GridRow.LicenseRow{border-bottom:0}.FooterGrid .GridRow.SplitRow .GridCol:first-child{flex-basis:50%}.FooterGrid .GridRow.SplitRow .GridCol:nth-child(2){flex-basis:calc(50% - 1px);border-left:1px solid rgba(255, 255, 255, 0.1)}.FooterGrid .GridRow.ProvisionalRow{padding-top:12px;justify-content:space-between;align-items:center}.FooterGrid .GridRow .GridCol{width:100%;flex:1}.FooterGrid .GridRow .GridCol p{text-align:center}.FooterGrid .GridRow .GridCol p.FooterTitle{font-size:12px;font-weight:700}.FooterGrid .DetailedLicenses{margin:30px 50px 20px;font-size:10px;text-align:center;color:var(--emfe-w-color-gray-150, #828282)}.FooterGrid .CopyrightAreaRights{margin-top:10px}.FooterGrid .CopyrightTextArea p,.FooterGrid .CopyrightArea p{margin:0;color:var(--emfe-w-color-gray-150, #828282);font-size:9px}@media only screen and (max-width: 768px){.FooterGrid{padding:5px 20px}.FooterGrid .FooterTitle{margin-top:0}.FooterGrid .GridRow{padding:0}.FooterGrid .GridRow:not(:last-child){border-bottom:0}.FooterGrid .GridRow:not(:last-child).ProvisionalRow{padding-top:12px;justify-content:space-between;flex-direction:column;align-items:center;gap:1rem}.FooterGrid .GridRow:last-child .GridCol:last-child{border-bottom:0}.FooterGrid .GridRow.SplitRow .GridCol:first-child,.FooterGrid .GridRow.SplitRow .GridCol:nth-child(2){flex-basis:unset}.FooterGrid .GridRow.SplitRow .GridCol:nth-child(2){border-left:none}.FooterGrid .GridRow .GridCol{border-bottom:1px solid rgba(255, 255, 255, 0.1);padding:15px 0}}.ClockContainer{color:var(--emfe-w-color-gray-150, #c3c3c3)}.SessionText{color:var(--emfe-w-color-gray-150, #c3c3c3)}.ItemLanguage{display:none}#languageList{padding:0;margin:0}.languageSelectorOverlay{position:relative}.drawerButton{height:30px;width:150px;background:#212529;color:inherit;border:none;padding:0;font:inherit;cursor:pointer;outline:inherit;display:flex;justify-content:space-evenly;align-items:center;border-radius:0px;border:0}.languageDrawer{position:absolute;background:#363e46;width:150px;top:30px;padding:6px 0}.languageDrawer.hidden{display:none}.languageFlag{margin-right:8px;background:white;border-radius:50%;width:14px;height:14px}.downwardChevron{margin-left:8px;margin-top:4px;width:8px;height:auto}.overlayLanguageOption{list-style:none;width:24px;position:relative;padding:0;justify-content:center}.overlayLanguageOption img{position:absolute;z-index:0;cursor:pointer;top:6px;left:12px}.overlayLanguageOption a{text-decoration:none;color:#fff;display:inline-block;width:150px}.overlayLanguageOption a span{width:100%;display:flex;justify-content:center;margin:4px 0}</style>",ne(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Bi,Ri,C,{endpoint:43,lang:0,env:44,clientstyling:1,clientstylingurl:2,translationurl:45,clockenabled:3,clocksecondsenabled:46,clockcustomformat:47,clocktext:4,languageselectorenabled:5,languageslist:48,languagedisplaytype:49,session:50,userid:51,userendpoint:52,userroles:53,panicbuttonenabled:6,sessiontimerenabled:7,baseurl:8},null,[-1,-1,-1]),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),b()))}static get observedAttributes(){return["endpoint","lang","env","clientstyling","clientstylingurl","translationurl","clockenabled","clocksecondsenabled","clockcustomformat","clocktext","languageselectorenabled","languageslist","languagedisplaytype","session","userid","userendpoint","userroles","panicbuttonenabled","sessiontimerenabled","baseurl"]}get endpoint(){return this.$$.ctx[43]}set endpoint(e){this.$$set({endpoint:e}),b()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),b()}get env(){return this.$$.ctx[44]}set env(e){this.$$set({env:e}),b()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),b()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),b()}get translationurl(){return this.$$.ctx[45]}set translationurl(e){this.$$set({translationurl:e}),b()}get clockenabled(){return this.$$.ctx[3]}set clockenabled(e){this.$$set({clockenabled:e}),b()}get clocksecondsenabled(){return this.$$.ctx[46]}set clocksecondsenabled(e){this.$$set({clocksecondsenabled:e}),b()}get clockcustomformat(){return this.$$.ctx[47]}set clockcustomformat(e){this.$$set({clockcustomformat:e}),b()}get clocktext(){return this.$$.ctx[4]}set clocktext(e){this.$$set({clocktext:e}),b()}get languageselectorenabled(){return this.$$.ctx[5]}set languageselectorenabled(e){this.$$set({languageselectorenabled:e}),b()}get languageslist(){return this.$$.ctx[48]}set languageslist(e){this.$$set({languageslist:e}),b()}get languagedisplaytype(){return this.$$.ctx[49]}set languagedisplaytype(e){this.$$set({languagedisplaytype:e}),b()}get session(){return this.$$.ctx[50]}set session(e){this.$$set({session:e}),b()}get userid(){return this.$$.ctx[51]}set userid(e){this.$$set({userid:e}),b()}get userendpoint(){return this.$$.ctx[52]}set userendpoint(e){this.$$set({userendpoint:e}),b()}get userroles(){return this.$$.ctx[53]}set userroles(e){this.$$set({userroles:e}),b()}get panicbuttonenabled(){return this.$$.ctx[6]}set panicbuttonenabled(e){this.$$set({panicbuttonenabled:e}),b()}get sessiontimerenabled(){return this.$$.ctx[7]}set sessiontimerenabled(e){this.$$set({sessiontimerenabled:e}),b()}get baseurl(){return this.$$.ctx[8]}set baseurl(e){this.$$set({baseurl:e}),b()}}return customElements.get("casino-footer")||customElements.define("casino-footer",Ni),Ni});
2
2
  //# sourceMappingURL=casino-footer.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-footer",
3
- "version": "1.7.1",
3
+ "version": "1.7.3",
4
4
  "main": "dist/casino-footer.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "c0b2bf42b27d9f10a77af4c5be6a2708be5435cf"
39
+ "gitHead": "af607736d2fefc2fcb0fc155b2023fcd62806a5c"
40
40
  }