@everymatrix/general-player-register-form-step3-nd 1.99.56 → 1.99.59

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,3 +1,3 @@
1
- "use strict";var Kn=Object.defineProperty,ei=Object.defineProperties;var ti=Object.getOwnPropertyDescriptors;var Fr=Object.getOwnPropertySymbols;var ri=Object.prototype.hasOwnProperty,ni=Object.prototype.propertyIsEnumerable;var cr=(e,t,r)=>t in e?Kn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,hr=(e,t)=>{for(var r in t||(t={}))ri.call(t,r)&&cr(e,r,t[r]);if(Fr)for(var r of Fr(t))ni.call(t,r)&&cr(e,r,t[r]);return e},fr=(e,t)=>ei(e,ti(t));var ye=(e,t,r)=>(cr(e,typeof t!="symbol"?t+"":t,r),r);var Dr=(e,t,r)=>new Promise((n,i)=>{var s=c=>{try{l(r.next(c))}catch(a){i(a)}},o=c=>{try{l(r.throw(c))}catch(a){i(a)}},l=c=>c.done?n(c.value):Promise.resolve(c.value).then(s,o);l((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function xe(){}function wn(e){return e()}function Gr(){return Object.create(null)}function bt(e){e.forEach(wn)}function Nr(e){return typeof e=="function"}function Sn(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let Qt;function jr(e,t){return e===t?!0:(Qt||(Qt=document.createElement("a")),Qt.href=t,e===Qt.href)}function ii(e){return Object.keys(e).length===0}function An(e,...t){if(e==null){for(const n of t)n(void 0);return xe}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function si(e,t,r){e.$$.on_destroy.push(An(t,r))}function u(e,t){e.appendChild(t)}function oi(e,t,r){const n=ai(e);if(!n.getElementById(t)){const i=b("style");i.id=t,i.textContent=r,li(n,i)}}function ai(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function li(e,t){return u(e.head||e,t),t.sheet}function L(e,t,r){e.insertBefore(t,r||null)}function k(e){e.parentNode&&e.parentNode.removeChild(e)}function dr(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function b(e){return document.createElement(e)}function Jt(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function O(e){return document.createTextNode(e)}function A(){return O(" ")}function kr(){return O("")}function N(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function p(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function ui(e){return Array.from(e.childNodes)}function G(e,t){t=""+t,e.data!==t&&(e.data=t)}function he(e,t){e.value=t==null?"":t}function st(e,t,r){for(let n=0;n<e.options.length;n+=1){const i=e.options[n];if(i.__value===t){i.selected=!0;return}}(!r||t!==void 0)&&(e.selectedIndex=-1)}function mr(e){const t=e.querySelector(":checked");return t&&t.__value}function ci(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let It;function kt(e){It=e}function hi(){if(!It)throw new Error("Function called outside component initialization");return It}function fi(e){hi().$$.on_mount.push(e)}const ut=[],Cr=[];let ht=[];const zr=[],di=Promise.resolve();let xr=!1;function mi(){xr||(xr=!0,di.then(K))}function ft(e){ht.push(e)}const pr=new Set;let ot=0;function K(){if(ot!==0)return;const e=It;do{try{for(;ot<ut.length;){const t=ut[ot];ot++,kt(t),pi(t.$$)}}catch(t){throw ut.length=0,ot=0,t}for(kt(null),ut.length=0,ot=0;Cr.length;)Cr.pop()();for(let t=0;t<ht.length;t+=1){const r=ht[t];pr.has(r)||(pr.add(r),r())}ht.length=0}while(ut.length);for(;zr.length;)zr.pop()();xr=!1,pr.clear(),kt(e)}function pi(e){if(e.fragment!==null){e.update(),bt(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ft)}}function gi(e){const t=[],r=[];ht.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),ht=t}const bi=new Set;function yi(e,t){e&&e.i&&(bi.delete(e),e.i(t))}function at(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function _i(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),ft(()=>{const s=e.$$.on_mount.map(wn).filter(Nr);e.$$.on_destroy?e.$$.on_destroy.push(...s):bt(s),e.$$.on_mount=[]}),i.forEach(ft)}function Ei(e,t){const r=e.$$;r.fragment!==null&&(gi(r.after_update),bt(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function vi(e,t){e.$$.dirty[0]===-1&&(ut.push(e),mi(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Ci(e,t,r,n,i,s,o=null,l=[-1]){const c=It;kt(e);const a=e.$$={fragment:null,ctx:[],props:s,update:xe,not_equal:i,bound:Gr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:Gr(),dirty:l,skip_bound:!1,root:t.target||c.$$.root};o&&o(a.root);let h=!1;if(a.ctx=r?r(e,t.props||{},(d,m,...E)=>{const y=E.length?E[0]:m;return a.ctx&&i(a.ctx[d],a.ctx[d]=y)&&(!a.skip_bound&&a.bound[d]&&a.bound[d](y),h&&vi(e,d)),m}):[],a.update(),h=!0,bt(a.before_update),a.fragment=n?n(a.ctx):!1,t.target){if(t.hydrate){const d=ui(t.target);a.fragment&&a.fragment.l(d),d.forEach(k)}else a.fragment&&a.fragment.c();t.intro&&yi(e.$$.fragment),_i(e,t.target,t.anchor),K()}kt(c)}let Tn;typeof HTMLElement=="function"&&(Tn=class extends HTMLElement{constructor(t,r,n){super();ye(this,"$$ctor");ye(this,"$$s");ye(this,"$$c");ye(this,"$$cn",!1);ye(this,"$$d",{});ye(this,"$$r",!1);ye(this,"$$p_d",{});ye(this,"$$l",{});ye(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return Dr(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let o;return{c:function(){o=b("slot"),s!=="default"&&p(o,"name",s)},m:function(a,h){L(a,o,h)},d:function(a){a&&k(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=ci(this);for(const s of this.$$s)s in n&&(r[s]=[t(s)]);for(const s of this.attributes){const o=this.$$g_p(s.name);o in this.$$d||(this.$$d[o]=Kt(o,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:fr(hr({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const o=Kt(s,this.$$d[s],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,o)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const s in this.$$l)for(const o of this.$$l[s]){const l=this.$$c.$on(s,o);this.$$l_u.set(o,l)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Kt(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Kt(e,t,r,n){var s;const i=(s=r[e])==null?void 0:s.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function xi(e,t,r,n,i,s){let o=class extends Tn{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(c){var a;c=Kt(l,c,t),this.$$d[l]=c,(a=this.$$c)==null||a.$set({[l]:c})}})}),n.forEach(l=>{Object.defineProperty(o.prototype,l,{get(){var c;return(c=this.$$c)==null?void 0:c[l]}})}),e.element=o,o}class wi{constructor(){ye(this,"$$");ye(this,"$$set")}$destroy(){Ei(this,1),this.$destroy=xe}$on(t,r){if(!Nr(r))return xe;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!ii(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Si="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Si);const lt=[];function Ai(e,t){return{subscribe:sr(e,t).subscribe}}function sr(e,t=xe){let r;const n=new Set;function i(l){if(Sn(e,l)&&(e=l,r)){const c=!lt.length;for(const a of n)a[1](),lt.push(a,e);if(c){for(let a=0;a<lt.length;a+=2)lt[a][0](lt[a+1]);lt.length=0}}}function s(l){i(l(e))}function o(l,c=xe){const a=[l,c];return n.add(a),n.size===1&&(r=t(i,s)||xe),l(e),()=>{n.delete(a),n.size===0&&r&&(r(),r=null)}}return{set:i,update:s,subscribe:o}}function yt(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=t.length<2;return Ai(r,(o,l)=>{let c=!1;const a=[];let h=0,d=xe;const m=()=>{if(h)return;d();const y=t(n?a[0]:a,o,l);s?o(y):d=Nr(y)?y:xe},E=i.map((y,v)=>An(y,P=>{a[v]=P,h&=~(1<<v),c&&m()},()=>{h|=1<<v}));return c=!0,m(),function(){bt(E),d(),c=!1}})}function Ti(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Hi=function(t){return Bi(t)&&!Pi(t)};function Bi(e){return!!e&&typeof e=="object"}function Pi(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Ni(e)}var Oi=typeof Symbol=="function"&&Symbol.for,Mi=Oi?Symbol.for("react.element"):60103;function Ni(e){return e.$$typeof===Mi}function ki(e){return Array.isArray(e)?[]:{}}function Lt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?dt(ki(e),e,t):e}function Ii(e,t,r){return e.concat(t).map(function(n){return Lt(n,r)})}function Li(e,t){if(!t.customMerge)return dt;var r=t.customMerge(e);return typeof r=="function"?r:dt}function Ri(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Vr(e){return Object.keys(e).concat(Ri(e))}function Hn(e,t){try{return t in e}catch(r){return!1}}function Ui(e,t){return Hn(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Fi(e,t,r){var n={};return r.isMergeableObject(e)&&Vr(e).forEach(function(i){n[i]=Lt(e[i],r)}),Vr(t).forEach(function(i){Ui(e,i)||(Hn(e,i)&&r.isMergeableObject(t[i])?n[i]=Li(i,r)(e[i],t[i],r):n[i]=Lt(t[i],r))}),n}function dt(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Ii,r.isMergeableObject=r.isMergeableObject||Hi,r.cloneUnlessOtherwiseSpecified=Lt;var n=Array.isArray(t),i=Array.isArray(e),s=n===i;return s?n?r.arrayMerge(e,t,r):Fi(e,t,r):Lt(t,r)}dt.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return dt(n,i,r)},{})};var Di=dt,Gi=Di;const ji=Ti(Gi);var wr=function(e,t){return wr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},wr(e,t)};function or(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");wr(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Ae=function(){return Ae=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},Ae.apply(this,arguments)};function zi(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function gr(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}function br(e,t){var r=t&&t.cache?t.cache:Qi,n=t&&t.serializer?t.serializer:Zi,i=t&&t.strategy?t.strategy:Wi;return i(e,{cache:r,serializer:n})}function Vi(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Xi(e,t,r,n){var i=Vi(n)?n:r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.call(this,n),t.set(i,s)),s}function Bn(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.apply(this,n),t.set(i,s)),s}function Pn(e,t,r,n,i){return r.bind(t,e,n,i)}function Wi(e,t){var r=e.length===1?Xi:Bn;return Pn(e,this,r,t.cache.create(),t.serializer)}function qi(e,t){return Pn(e,this,Bn,t.cache.create(),t.serializer)}var Zi=function(){return JSON.stringify(arguments)},$i=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),Qi={create:function(){return new $i}},yr={variadic:qi},rr=function(){return rr=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},rr.apply(this,arguments)};var S;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(S||(S={}));var I;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(I||(I={}));var mt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(mt||(mt={}));function Xr(e){return e.type===I.literal}function Ji(e){return e.type===I.argument}function On(e){return e.type===I.number}function Mn(e){return e.type===I.date}function Nn(e){return e.type===I.time}function kn(e){return e.type===I.select}function In(e){return e.type===I.plural}function Yi(e){return e.type===I.pound}function Ln(e){return e.type===I.tag}function Rn(e){return!!(e&&typeof e=="object"&&e.type===mt.number)}function Sr(e){return!!(e&&typeof e=="object"&&e.type===mt.dateTime)}var Un=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ki=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function es(e){var t={};return e.replace(Ki,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var R=function(){return R=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},R.apply(this,arguments)};var ts=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function rs(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(ts).filter(function(m){return m.length>0}),r=[],n=0,i=t;n<i.length;n++){var s=i[n],o=s.split("/");if(o.length===0)throw new Error("Invalid number skeleton");for(var l=o[0],c=o.slice(1),a=0,h=c;a<h.length;a++){var d=h[a];if(d.length===0)throw new Error("Invalid number skeleton")}r.push({stem:l,options:c})}return r}function ns(e){return e.replace(/^(.*?)-/,"")}var Wr=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Fn=/^(@+)?(\+|#+)?[rs]?$/g,is=/(\*)(0+)|(#+)(0+)|(0+)/g,Dn=/^(0+)$/;function qr(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Fn,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function Gn(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 ss(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Dn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Zr(e){var t={},r=Gn(e);return r||t}function os(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=ns(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=R(R(R({},t),{notation:"scientific"}),i.options.reduce(function(c,a){return R(R({},c),Zr(a))},{}));continue;case"engineering":t=R(R(R({},t),{notation:"engineering"}),i.options.reduce(function(c,a){return R(R({},c),Zr(a))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(is,function(c,a,h,d,m,E){if(a)t.minimumIntegerDigits=h.length;else{if(d&&m)throw new Error("We currently do not support maximum integer digits");if(E)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Dn.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Wr.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Wr,function(c,a,h,d,m,E){return h==="*"?t.minimumFractionDigits=a.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:m&&E?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.length+E.length):(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length),""});var s=i.options[0];s==="w"?t=R(R({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=R(R({},t),qr(s)));continue}if(Fn.test(i.stem)){t=R(R({},t),qr(i.stem));continue}var o=Gn(i.stem);o&&(t=R(R({},t),o));var l=ss(i.stem);l&&(t=R(R({},t),l))}return t}var Yt={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function as(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var s=0;n+1<e.length&&e.charAt(n+1)===i;)s++,n++;var o=1+(s&1),l=s<2?1:3+(s>>1),c="a",a=ls(t);for((a=="H"||a=="k")&&(l=0);l-- >0;)r+=c;for(;o-- >0;)r=a+r}else i==="J"?r+="H":r+=i}return r}function ls(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Yt[n||""]||Yt[r||""]||Yt["".concat(r,"-001")]||Yt["001"];return i[0]}var _r,us=new RegExp("^".concat(Un.source,"*")),cs=new RegExp("".concat(Un.source,"*$"));function H(e,t){return{start:e,end:t}}var hs=!!String.prototype.startsWith&&"_a".startsWith("a",1),fs=!!String.fromCodePoint,ds=!!Object.fromEntries,ms=!!String.prototype.codePointAt,ps=!!String.prototype.trimStart,gs=!!String.prototype.trimEnd,bs=!!Number.isSafeInteger,ys=bs?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ar=!0;try{var _s=zn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ar=((_r=_s.exec("a"))===null||_r===void 0?void 0:_r[0])==="a"}catch(e){Ar=!1}var $r=hs?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Tr=fs?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,s=0,o;i>s;){if(o=t[s++],o>1114111)throw RangeError(o+" is not a valid code point");n+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return n},Qr=ds?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var s=i[n],o=s[0],l=s[1];r[o]=l}return r},jn=ms?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),s;return i<55296||i>56319||r+1===n||(s=t.charCodeAt(r+1))<56320||s>57343?i:(i-55296<<10)+(s-56320)+65536}},Es=ps?function(t){return t.trimStart()}:function(t){return t.replace(us,"")},vs=gs?function(t){return t.trimEnd()}:function(t){return t.replace(cs,"")};function zn(e,t){return new RegExp(e,t)}var Hr;if(Ar){var Jr=zn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Hr=function(t,r){var n;Jr.lastIndex=r;var i=Jr.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else Hr=function(t,r){for(var n=[];;){var i=jn(t,r);if(i===void 0||Vn(i)||Ss(i))break;n.push(i),r+=i>=65536?2:1}return Tr.apply(void 0,n)};var Cs=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var s=this.char();if(s===123){var o=this.parseArgument(t,n);if(o.err)return o;i.push(o.val)}else{if(s===125&&t>0)break;if(s===35&&(r==="plural"||r==="selectordinal")){var l=this.clonePosition();this.bump(),i.push({type:I.pound,location:H(l,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(S.UNMATCHED_CLOSING_TAG,H(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&Br(this.peek()||0)){var o=this.parseTag(t,r);if(o.err)return o;i.push(o.val)}else{var o=this.parseLiteral(t,r);if(o.err)return o;i.push(o.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:I.literal,value:"<".concat(i,"/>"),location:H(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(t+1,r,!0);if(s.err)return s;var o=s.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Br(this.char()))return this.error(S.INVALID_TAG,H(l,this.clonePosition()));var c=this.clonePosition(),a=this.parseTagName();return i!==a?this.error(S.UNMATCHED_CLOSING_TAG,H(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:I.tag,value:i,children:o,location:H(n,this.clonePosition())},err:null}:this.error(S.INVALID_TAG,H(l,this.clonePosition())))}else return this.error(S.UNCLOSED_TAG,H(n,this.clonePosition()))}else return this.error(S.INVALID_TAG,H(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&ws(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var s=this.tryParseQuote(r);if(s){i+=s;continue}var o=this.tryParseUnquoted(t,r);if(o){i+=o;continue}var l=this.tryParseLeftAngleBracket();if(l){i+=l;continue}break}var c=H(n,this.clonePosition());return{val:{type:I.literal,value:i,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!xs(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return Tr.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),Tr(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(S.EMPTY_ARGUMENT,H(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(S.MALFORMED_ARGUMENT,H(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:I.argument,value:i,location:H(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(S.MALFORMED_ARGUMENT,H(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Hr(this.message,r),i=r+n.length;this.bumpTo(i);var s=this.clonePosition(),o=H(t,s);return{value:n,location:o}},e.prototype.parseArgumentOptions=function(t,r,n,i){var s,o=this.clonePosition(),l=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(l){case"":return this.error(S.EXPECT_ARGUMENT_TYPE,H(o,c));case"number":case"date":case"time":{this.bumpSpace();var a=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var m=vs(d.val);if(m.length===0)return this.error(S.EXPECT_ARGUMENT_STYLE,H(this.clonePosition(),this.clonePosition()));var E=H(h,this.clonePosition());a={style:m,styleLocation:E}}var y=this.tryParseArgumentClose(i);if(y.err)return y;var v=H(i,this.clonePosition());if(a&&$r(a==null?void 0:a.style,"::",0)){var P=Es(a.style.slice(2));if(l==="number"){var d=this.parseNumberSkeletonFromString(P,a.styleLocation);return d.err?d:{val:{type:I.number,value:n,location:v,style:d.val},err:null}}else{if(P.length===0)return this.error(S.EXPECT_DATE_TIME_SKELETON,v);var T=P;this.locale&&(T=as(P,this.locale));var m={type:mt.dateTime,pattern:T,location:a.styleLocation,parsedOptions:this.shouldParseSkeletons?es(T):{}},z=l==="date"?I.date:I.time;return{val:{type:z,value:n,location:v,style:m},err:null}}}return{val:{type:l==="number"?I.number:l==="date"?I.date:I.time,value:n,location:v,style:(s=a==null?void 0:a.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var M=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS,H(M,rr({},M)));this.bumpSpace();var V=this.parseIdentifierIfPossible(),X=0;if(l!=="select"&&V.value==="offset"){if(!this.bumpIf(":"))return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,H(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),V=this.parseIdentifierIfPossible(),X=d.val}var pe=this.tryParsePluralOrSelectOptions(t,l,r,V);if(pe.err)return pe;var y=this.tryParseArgumentClose(i);if(y.err)return y;var Te=H(i,this.clonePosition());return l==="select"?{val:{type:I.select,value:n,options:Qr(pe.val),location:Te},err:null}:{val:{type:I.plural,value:n,options:Qr(pe.val),offset:X,pluralType:l==="plural"?"cardinal":"ordinal",location:Te},err:null}}default:return this.error(S.INVALID_ARGUMENT_TYPE,H(o,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,H(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,H(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=rs(t)}catch(i){return this.error(S.INVALID_NUMBER_SKELETON,r)}return{val:{type:mt.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?os(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var s,o=!1,l=[],c=new Set,a=i.value,h=i.location;;){if(a.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR,S.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;h=H(d,this.clonePosition()),a=this.message.slice(d.offset,this.offset())}else break}if(c.has(a))return this.error(r==="select"?S.DUPLICATE_SELECT_ARGUMENT_SELECTOR:S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);a==="other"&&(o=!0),this.bumpSpace();var E=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,H(this.clonePosition(),this.clonePosition()));var y=this.parseMessage(t+1,r,n);if(y.err)return y;var v=this.tryParseArgumentClose(E);if(v.err)return v;l.push([a,{value:y.val,location:H(E,this.clonePosition())}]),c.add(a),this.bumpSpace(),s=this.parseIdentifierIfPossible(),a=s.value,h=s.location}return l.length===0?this.error(r==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR:S.EXPECT_PLURAL_ARGUMENT_SELECTOR,H(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(S.MISSING_OTHER_CLAUSE,H(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var s=!1,o=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)s=!0,o=o*10+(l-48),this.bump();else break}var c=H(i,this.clonePosition());return s?(o*=n,ys(o)?{val:o,err:null}:this.error(r,c)):this.error(t,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=jn(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if($r(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Vn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function Br(e){return e>=97&&e<=122||e>=65&&e<=90}function xs(e){return Br(e)||e===47}function ws(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Vn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Ss(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Pr(e){e.forEach(function(t){if(delete t.location,kn(t)||In(t))for(var r in t.options)delete t.options[r].location,Pr(t.options[r].value);else On(t)&&Rn(t.style)||(Mn(t)||Nn(t))&&Sr(t.style)?delete t.style.location:Ln(t)&&Pr(t.children)})}function As(e,t){t===void 0&&(t={}),t=rr({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Cs(e,t).parse();if(r.err){var n=SyntaxError(S[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Pr(r.val),r.val}var pt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(pt||(pt={}));var ar=function(e){or(t,e);function t(r,n,i){var s=e.call(this,r)||this;return s.code=n,s.originalMessage=i,s}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Yr=function(e){or(t,e);function t(r,n,i,s){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),pt.INVALID_VALUE,s)||this}return t}(ar),Ts=function(e){or(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),pt.INVALID_VALUE,i)||this}return t}(ar),Hs=function(e){or(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),pt.MISSING_VALUE,n)||this}return t}(ar),ee;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ee||(ee={}));function Bs(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==ee.literal||r.type!==ee.literal?t.push(r):n.value+=r.value,t},[])}function Ps(e){return typeof e=="function"}function er(e,t,r,n,i,s,o){if(e.length===1&&Xr(e[0]))return[{type:ee.literal,value:e[0].value}];for(var l=[],c=0,a=e;c<a.length;c++){var h=a[c];if(Xr(h)){l.push({type:ee.literal,value:h.value});continue}if(Yi(h)){typeof s=="number"&&l.push({type:ee.literal,value:r.getNumberFormat(t).format(s)});continue}var d=h.value;if(!(i&&d in i))throw new Hs(d,o);var m=i[d];if(Ji(h)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),l.push({type:typeof m=="string"?ee.literal:ee.object,value:m});continue}if(Mn(h)){var E=typeof h.style=="string"?n.date[h.style]:Sr(h.style)?h.style.parsedOptions:void 0;l.push({type:ee.literal,value:r.getDateTimeFormat(t,E).format(m)});continue}if(Nn(h)){var E=typeof h.style=="string"?n.time[h.style]:Sr(h.style)?h.style.parsedOptions:n.time.medium;l.push({type:ee.literal,value:r.getDateTimeFormat(t,E).format(m)});continue}if(On(h)){var E=typeof h.style=="string"?n.number[h.style]:Rn(h.style)?h.style.parsedOptions:void 0;E&&E.scale&&(m=m*(E.scale||1)),l.push({type:ee.literal,value:r.getNumberFormat(t,E).format(m)});continue}if(Ln(h)){var y=h.children,v=h.value,P=i[v];if(!Ps(P))throw new Ts(v,"function",o);var T=er(y,t,r,n,i,s),z=P(T.map(function(X){return X.value}));Array.isArray(z)||(z=[z]),l.push.apply(l,z.map(function(X){return{type:typeof X=="string"?ee.literal:ee.object,value:X}}))}if(kn(h)){var M=h.options[m]||h.options.other;if(!M)throw new Yr(h.value,m,Object.keys(h.options),o);l.push.apply(l,er(M.value,t,r,n,i));continue}if(In(h)){var M=h.options["=".concat(m)];if(!M){if(!Intl.PluralRules)throw new ar(`Intl.PluralRules is not available in this environment.
1
+ "use strict";var Kn=Object.defineProperty,ei=Object.defineProperties;var ti=Object.getOwnPropertyDescriptors;var Fr=Object.getOwnPropertySymbols;var ri=Object.prototype.hasOwnProperty,ni=Object.prototype.propertyIsEnumerable;var cr=(e,t,r)=>t in e?Kn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,hr=(e,t)=>{for(var r in t||(t={}))ri.call(t,r)&&cr(e,r,t[r]);if(Fr)for(var r of Fr(t))ni.call(t,r)&&cr(e,r,t[r]);return e},fr=(e,t)=>ei(e,ti(t));var ye=(e,t,r)=>cr(e,typeof t!="symbol"?t+"":t,r);var Dr=(e,t,r)=>new Promise((n,i)=>{var s=c=>{try{l(r.next(c))}catch(a){i(a)}},o=c=>{try{l(r.throw(c))}catch(a){i(a)}},l=c=>c.done?n(c.value):Promise.resolve(c.value).then(s,o);l((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function xe(){}function wn(e){return e()}function Gr(){return Object.create(null)}function bt(e){e.forEach(wn)}function Nr(e){return typeof e=="function"}function Sn(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let Qt;function jr(e,t){return e===t?!0:(Qt||(Qt=document.createElement("a")),Qt.href=t,e===Qt.href)}function ii(e){return Object.keys(e).length===0}function An(e,...t){if(e==null){for(const n of t)n(void 0);return xe}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function si(e,t,r){e.$$.on_destroy.push(An(t,r))}function u(e,t){e.appendChild(t)}function oi(e,t,r){const n=ai(e);if(!n.getElementById(t)){const i=b("style");i.id=t,i.textContent=r,li(n,i)}}function ai(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function li(e,t){return u(e.head||e,t),t.sheet}function L(e,t,r){e.insertBefore(t,r||null)}function k(e){e.parentNode&&e.parentNode.removeChild(e)}function dr(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function b(e){return document.createElement(e)}function Jt(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function O(e){return document.createTextNode(e)}function A(){return O(" ")}function kr(){return O("")}function N(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function p(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function ui(e){return Array.from(e.childNodes)}function G(e,t){t=""+t,e.data!==t&&(e.data=t)}function he(e,t){e.value=t==null?"":t}function st(e,t,r){for(let n=0;n<e.options.length;n+=1){const i=e.options[n];if(i.__value===t){i.selected=!0;return}}(!r||t!==void 0)&&(e.selectedIndex=-1)}function mr(e){const t=e.querySelector(":checked");return t&&t.__value}function ci(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let It;function kt(e){It=e}function hi(){if(!It)throw new Error("Function called outside component initialization");return It}function fi(e){hi().$$.on_mount.push(e)}const ut=[],Cr=[];let ht=[];const zr=[],di=Promise.resolve();let xr=!1;function mi(){xr||(xr=!0,di.then(K))}function ft(e){ht.push(e)}const pr=new Set;let ot=0;function K(){if(ot!==0)return;const e=It;do{try{for(;ot<ut.length;){const t=ut[ot];ot++,kt(t),pi(t.$$)}}catch(t){throw ut.length=0,ot=0,t}for(kt(null),ut.length=0,ot=0;Cr.length;)Cr.pop()();for(let t=0;t<ht.length;t+=1){const r=ht[t];pr.has(r)||(pr.add(r),r())}ht.length=0}while(ut.length);for(;zr.length;)zr.pop()();xr=!1,pr.clear(),kt(e)}function pi(e){if(e.fragment!==null){e.update(),bt(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ft)}}function gi(e){const t=[],r=[];ht.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),ht=t}const bi=new Set;function yi(e,t){e&&e.i&&(bi.delete(e),e.i(t))}function at(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function _i(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),ft(()=>{const s=e.$$.on_mount.map(wn).filter(Nr);e.$$.on_destroy?e.$$.on_destroy.push(...s):bt(s),e.$$.on_mount=[]}),i.forEach(ft)}function Ei(e,t){const r=e.$$;r.fragment!==null&&(gi(r.after_update),bt(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function vi(e,t){e.$$.dirty[0]===-1&&(ut.push(e),mi(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Ci(e,t,r,n,i,s,o=null,l=[-1]){const c=It;kt(e);const a=e.$$={fragment:null,ctx:[],props:s,update:xe,not_equal:i,bound:Gr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:Gr(),dirty:l,skip_bound:!1,root:t.target||c.$$.root};o&&o(a.root);let h=!1;if(a.ctx=r?r(e,t.props||{},(d,m,...E)=>{const y=E.length?E[0]:m;return a.ctx&&i(a.ctx[d],a.ctx[d]=y)&&(!a.skip_bound&&a.bound[d]&&a.bound[d](y),h&&vi(e,d)),m}):[],a.update(),h=!0,bt(a.before_update),a.fragment=n?n(a.ctx):!1,t.target){if(t.hydrate){const d=ui(t.target);a.fragment&&a.fragment.l(d),d.forEach(k)}else a.fragment&&a.fragment.c();t.intro&&yi(e.$$.fragment),_i(e,t.target,t.anchor),K()}kt(c)}let Tn;typeof HTMLElement=="function"&&(Tn=class extends HTMLElement{constructor(t,r,n){super();ye(this,"$$ctor");ye(this,"$$s");ye(this,"$$c");ye(this,"$$cn",!1);ye(this,"$$d",{});ye(this,"$$r",!1);ye(this,"$$p_d",{});ye(this,"$$l",{});ye(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return Dr(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let o;return{c:function(){o=b("slot"),s!=="default"&&p(o,"name",s)},m:function(a,h){L(a,o,h)},d:function(a){a&&k(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=ci(this);for(const s of this.$$s)s in n&&(r[s]=[t(s)]);for(const s of this.attributes){const o=this.$$g_p(s.name);o in this.$$d||(this.$$d[o]=Kt(o,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:fr(hr({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const o=Kt(s,this.$$d[s],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,o)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const s in this.$$l)for(const o of this.$$l[s]){const l=this.$$c.$on(s,o);this.$$l_u.set(o,l)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Kt(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Kt(e,t,r,n){var s;const i=(s=r[e])==null?void 0:s.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function xi(e,t,r,n,i,s){let o=class extends Tn{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(c){var a;c=Kt(l,c,t),this.$$d[l]=c,(a=this.$$c)==null||a.$set({[l]:c})}})}),n.forEach(l=>{Object.defineProperty(o.prototype,l,{get(){var c;return(c=this.$$c)==null?void 0:c[l]}})}),e.element=o,o}class wi{constructor(){ye(this,"$$");ye(this,"$$set")}$destroy(){Ei(this,1),this.$destroy=xe}$on(t,r){if(!Nr(r))return xe;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!ii(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Si="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Si);const lt=[];function Ai(e,t){return{subscribe:sr(e,t).subscribe}}function sr(e,t=xe){let r;const n=new Set;function i(l){if(Sn(e,l)&&(e=l,r)){const c=!lt.length;for(const a of n)a[1](),lt.push(a,e);if(c){for(let a=0;a<lt.length;a+=2)lt[a][0](lt[a+1]);lt.length=0}}}function s(l){i(l(e))}function o(l,c=xe){const a=[l,c];return n.add(a),n.size===1&&(r=t(i,s)||xe),l(e),()=>{n.delete(a),n.size===0&&r&&(r(),r=null)}}return{set:i,update:s,subscribe:o}}function yt(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=t.length<2;return Ai(r,(o,l)=>{let c=!1;const a=[];let h=0,d=xe;const m=()=>{if(h)return;d();const y=t(n?a[0]:a,o,l);s?o(y):d=Nr(y)?y:xe},E=i.map((y,v)=>An(y,P=>{a[v]=P,h&=~(1<<v),c&&m()},()=>{h|=1<<v}));return c=!0,m(),function(){bt(E),d(),c=!1}})}function Ti(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Hi=function(t){return Bi(t)&&!Pi(t)};function Bi(e){return!!e&&typeof e=="object"}function Pi(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Ni(e)}var Oi=typeof Symbol=="function"&&Symbol.for,Mi=Oi?Symbol.for("react.element"):60103;function Ni(e){return e.$$typeof===Mi}function ki(e){return Array.isArray(e)?[]:{}}function Lt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?dt(ki(e),e,t):e}function Ii(e,t,r){return e.concat(t).map(function(n){return Lt(n,r)})}function Li(e,t){if(!t.customMerge)return dt;var r=t.customMerge(e);return typeof r=="function"?r:dt}function Ri(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Vr(e){return Object.keys(e).concat(Ri(e))}function Hn(e,t){try{return t in e}catch(r){return!1}}function Ui(e,t){return Hn(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Fi(e,t,r){var n={};return r.isMergeableObject(e)&&Vr(e).forEach(function(i){n[i]=Lt(e[i],r)}),Vr(t).forEach(function(i){Ui(e,i)||(Hn(e,i)&&r.isMergeableObject(t[i])?n[i]=Li(i,r)(e[i],t[i],r):n[i]=Lt(t[i],r))}),n}function dt(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Ii,r.isMergeableObject=r.isMergeableObject||Hi,r.cloneUnlessOtherwiseSpecified=Lt;var n=Array.isArray(t),i=Array.isArray(e),s=n===i;return s?n?r.arrayMerge(e,t,r):Fi(e,t,r):Lt(t,r)}dt.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return dt(n,i,r)},{})};var Di=dt,Gi=Di;const ji=Ti(Gi);var wr=function(e,t){return wr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},wr(e,t)};function or(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");wr(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Ae=function(){return Ae=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},Ae.apply(this,arguments)};function zi(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function gr(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}function br(e,t){var r=t&&t.cache?t.cache:Qi,n=t&&t.serializer?t.serializer:Zi,i=t&&t.strategy?t.strategy:Wi;return i(e,{cache:r,serializer:n})}function Vi(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Xi(e,t,r,n){var i=Vi(n)?n:r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.call(this,n),t.set(i,s)),s}function Bn(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.apply(this,n),t.set(i,s)),s}function Pn(e,t,r,n,i){return r.bind(t,e,n,i)}function Wi(e,t){var r=e.length===1?Xi:Bn;return Pn(e,this,r,t.cache.create(),t.serializer)}function qi(e,t){return Pn(e,this,Bn,t.cache.create(),t.serializer)}var Zi=function(){return JSON.stringify(arguments)},$i=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),Qi={create:function(){return new $i}},yr={variadic:qi},rr=function(){return rr=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},rr.apply(this,arguments)};var S;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(S||(S={}));var I;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(I||(I={}));var mt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(mt||(mt={}));function Xr(e){return e.type===I.literal}function Ji(e){return e.type===I.argument}function On(e){return e.type===I.number}function Mn(e){return e.type===I.date}function Nn(e){return e.type===I.time}function kn(e){return e.type===I.select}function In(e){return e.type===I.plural}function Yi(e){return e.type===I.pound}function Ln(e){return e.type===I.tag}function Rn(e){return!!(e&&typeof e=="object"&&e.type===mt.number)}function Sr(e){return!!(e&&typeof e=="object"&&e.type===mt.dateTime)}var Un=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ki=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function es(e){var t={};return e.replace(Ki,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var R=function(){return R=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},R.apply(this,arguments)};var ts=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function rs(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(ts).filter(function(m){return m.length>0}),r=[],n=0,i=t;n<i.length;n++){var s=i[n],o=s.split("/");if(o.length===0)throw new Error("Invalid number skeleton");for(var l=o[0],c=o.slice(1),a=0,h=c;a<h.length;a++){var d=h[a];if(d.length===0)throw new Error("Invalid number skeleton")}r.push({stem:l,options:c})}return r}function ns(e){return e.replace(/^(.*?)-/,"")}var Wr=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Fn=/^(@+)?(\+|#+)?[rs]?$/g,is=/(\*)(0+)|(#+)(0+)|(0+)/g,Dn=/^(0+)$/;function qr(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Fn,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function Gn(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 ss(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Dn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Zr(e){var t={},r=Gn(e);return r||t}function os(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=ns(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=R(R(R({},t),{notation:"scientific"}),i.options.reduce(function(c,a){return R(R({},c),Zr(a))},{}));continue;case"engineering":t=R(R(R({},t),{notation:"engineering"}),i.options.reduce(function(c,a){return R(R({},c),Zr(a))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(is,function(c,a,h,d,m,E){if(a)t.minimumIntegerDigits=h.length;else{if(d&&m)throw new Error("We currently do not support maximum integer digits");if(E)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Dn.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Wr.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Wr,function(c,a,h,d,m,E){return h==="*"?t.minimumFractionDigits=a.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:m&&E?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.length+E.length):(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length),""});var s=i.options[0];s==="w"?t=R(R({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=R(R({},t),qr(s)));continue}if(Fn.test(i.stem)){t=R(R({},t),qr(i.stem));continue}var o=Gn(i.stem);o&&(t=R(R({},t),o));var l=ss(i.stem);l&&(t=R(R({},t),l))}return t}var Yt={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function as(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var s=0;n+1<e.length&&e.charAt(n+1)===i;)s++,n++;var o=1+(s&1),l=s<2?1:3+(s>>1),c="a",a=ls(t);for((a=="H"||a=="k")&&(l=0);l-- >0;)r+=c;for(;o-- >0;)r=a+r}else i==="J"?r+="H":r+=i}return r}function ls(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Yt[n||""]||Yt[r||""]||Yt["".concat(r,"-001")]||Yt["001"];return i[0]}var _r,us=new RegExp("^".concat(Un.source,"*")),cs=new RegExp("".concat(Un.source,"*$"));function H(e,t){return{start:e,end:t}}var hs=!!String.prototype.startsWith&&"_a".startsWith("a",1),fs=!!String.fromCodePoint,ds=!!Object.fromEntries,ms=!!String.prototype.codePointAt,ps=!!String.prototype.trimStart,gs=!!String.prototype.trimEnd,bs=!!Number.isSafeInteger,ys=bs?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ar=!0;try{var _s=zn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ar=((_r=_s.exec("a"))===null||_r===void 0?void 0:_r[0])==="a"}catch(e){Ar=!1}var $r=hs?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Tr=fs?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,s=0,o;i>s;){if(o=t[s++],o>1114111)throw RangeError(o+" is not a valid code point");n+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return n},Qr=ds?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var s=i[n],o=s[0],l=s[1];r[o]=l}return r},jn=ms?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),s;return i<55296||i>56319||r+1===n||(s=t.charCodeAt(r+1))<56320||s>57343?i:(i-55296<<10)+(s-56320)+65536}},Es=ps?function(t){return t.trimStart()}:function(t){return t.replace(us,"")},vs=gs?function(t){return t.trimEnd()}:function(t){return t.replace(cs,"")};function zn(e,t){return new RegExp(e,t)}var Hr;if(Ar){var Jr=zn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Hr=function(t,r){var n;Jr.lastIndex=r;var i=Jr.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else Hr=function(t,r){for(var n=[];;){var i=jn(t,r);if(i===void 0||Vn(i)||Ss(i))break;n.push(i),r+=i>=65536?2:1}return Tr.apply(void 0,n)};var Cs=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var s=this.char();if(s===123){var o=this.parseArgument(t,n);if(o.err)return o;i.push(o.val)}else{if(s===125&&t>0)break;if(s===35&&(r==="plural"||r==="selectordinal")){var l=this.clonePosition();this.bump(),i.push({type:I.pound,location:H(l,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(S.UNMATCHED_CLOSING_TAG,H(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&Br(this.peek()||0)){var o=this.parseTag(t,r);if(o.err)return o;i.push(o.val)}else{var o=this.parseLiteral(t,r);if(o.err)return o;i.push(o.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:I.literal,value:"<".concat(i,"/>"),location:H(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(t+1,r,!0);if(s.err)return s;var o=s.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Br(this.char()))return this.error(S.INVALID_TAG,H(l,this.clonePosition()));var c=this.clonePosition(),a=this.parseTagName();return i!==a?this.error(S.UNMATCHED_CLOSING_TAG,H(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:I.tag,value:i,children:o,location:H(n,this.clonePosition())},err:null}:this.error(S.INVALID_TAG,H(l,this.clonePosition())))}else return this.error(S.UNCLOSED_TAG,H(n,this.clonePosition()))}else return this.error(S.INVALID_TAG,H(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&ws(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var s=this.tryParseQuote(r);if(s){i+=s;continue}var o=this.tryParseUnquoted(t,r);if(o){i+=o;continue}var l=this.tryParseLeftAngleBracket();if(l){i+=l;continue}break}var c=H(n,this.clonePosition());return{val:{type:I.literal,value:i,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!xs(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return Tr.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),Tr(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(S.EMPTY_ARGUMENT,H(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(S.MALFORMED_ARGUMENT,H(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:I.argument,value:i,location:H(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(S.MALFORMED_ARGUMENT,H(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Hr(this.message,r),i=r+n.length;this.bumpTo(i);var s=this.clonePosition(),o=H(t,s);return{value:n,location:o}},e.prototype.parseArgumentOptions=function(t,r,n,i){var s,o=this.clonePosition(),l=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(l){case"":return this.error(S.EXPECT_ARGUMENT_TYPE,H(o,c));case"number":case"date":case"time":{this.bumpSpace();var a=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var m=vs(d.val);if(m.length===0)return this.error(S.EXPECT_ARGUMENT_STYLE,H(this.clonePosition(),this.clonePosition()));var E=H(h,this.clonePosition());a={style:m,styleLocation:E}}var y=this.tryParseArgumentClose(i);if(y.err)return y;var v=H(i,this.clonePosition());if(a&&$r(a==null?void 0:a.style,"::",0)){var P=Es(a.style.slice(2));if(l==="number"){var d=this.parseNumberSkeletonFromString(P,a.styleLocation);return d.err?d:{val:{type:I.number,value:n,location:v,style:d.val},err:null}}else{if(P.length===0)return this.error(S.EXPECT_DATE_TIME_SKELETON,v);var T=P;this.locale&&(T=as(P,this.locale));var m={type:mt.dateTime,pattern:T,location:a.styleLocation,parsedOptions:this.shouldParseSkeletons?es(T):{}},z=l==="date"?I.date:I.time;return{val:{type:z,value:n,location:v,style:m},err:null}}}return{val:{type:l==="number"?I.number:l==="date"?I.date:I.time,value:n,location:v,style:(s=a==null?void 0:a.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var M=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS,H(M,rr({},M)));this.bumpSpace();var V=this.parseIdentifierIfPossible(),X=0;if(l!=="select"&&V.value==="offset"){if(!this.bumpIf(":"))return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,H(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),V=this.parseIdentifierIfPossible(),X=d.val}var pe=this.tryParsePluralOrSelectOptions(t,l,r,V);if(pe.err)return pe;var y=this.tryParseArgumentClose(i);if(y.err)return y;var Te=H(i,this.clonePosition());return l==="select"?{val:{type:I.select,value:n,options:Qr(pe.val),location:Te},err:null}:{val:{type:I.plural,value:n,options:Qr(pe.val),offset:X,pluralType:l==="plural"?"cardinal":"ordinal",location:Te},err:null}}default:return this.error(S.INVALID_ARGUMENT_TYPE,H(o,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,H(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,H(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=rs(t)}catch(i){return this.error(S.INVALID_NUMBER_SKELETON,r)}return{val:{type:mt.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?os(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var s,o=!1,l=[],c=new Set,a=i.value,h=i.location;;){if(a.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR,S.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;h=H(d,this.clonePosition()),a=this.message.slice(d.offset,this.offset())}else break}if(c.has(a))return this.error(r==="select"?S.DUPLICATE_SELECT_ARGUMENT_SELECTOR:S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);a==="other"&&(o=!0),this.bumpSpace();var E=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,H(this.clonePosition(),this.clonePosition()));var y=this.parseMessage(t+1,r,n);if(y.err)return y;var v=this.tryParseArgumentClose(E);if(v.err)return v;l.push([a,{value:y.val,location:H(E,this.clonePosition())}]),c.add(a),this.bumpSpace(),s=this.parseIdentifierIfPossible(),a=s.value,h=s.location}return l.length===0?this.error(r==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR:S.EXPECT_PLURAL_ARGUMENT_SELECTOR,H(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(S.MISSING_OTHER_CLAUSE,H(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var s=!1,o=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)s=!0,o=o*10+(l-48),this.bump();else break}var c=H(i,this.clonePosition());return s?(o*=n,ys(o)?{val:o,err:null}:this.error(r,c)):this.error(t,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=jn(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if($r(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Vn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function Br(e){return e>=97&&e<=122||e>=65&&e<=90}function xs(e){return Br(e)||e===47}function ws(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Vn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Ss(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Pr(e){e.forEach(function(t){if(delete t.location,kn(t)||In(t))for(var r in t.options)delete t.options[r].location,Pr(t.options[r].value);else On(t)&&Rn(t.style)||(Mn(t)||Nn(t))&&Sr(t.style)?delete t.style.location:Ln(t)&&Pr(t.children)})}function As(e,t){t===void 0&&(t={}),t=rr({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Cs(e,t).parse();if(r.err){var n=SyntaxError(S[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Pr(r.val),r.val}var pt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(pt||(pt={}));var ar=function(e){or(t,e);function t(r,n,i){var s=e.call(this,r)||this;return s.code=n,s.originalMessage=i,s}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Yr=function(e){or(t,e);function t(r,n,i,s){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),pt.INVALID_VALUE,s)||this}return t}(ar),Ts=function(e){or(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),pt.INVALID_VALUE,i)||this}return t}(ar),Hs=function(e){or(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),pt.MISSING_VALUE,n)||this}return t}(ar),ee;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ee||(ee={}));function Bs(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==ee.literal||r.type!==ee.literal?t.push(r):n.value+=r.value,t},[])}function Ps(e){return typeof e=="function"}function er(e,t,r,n,i,s,o){if(e.length===1&&Xr(e[0]))return[{type:ee.literal,value:e[0].value}];for(var l=[],c=0,a=e;c<a.length;c++){var h=a[c];if(Xr(h)){l.push({type:ee.literal,value:h.value});continue}if(Yi(h)){typeof s=="number"&&l.push({type:ee.literal,value:r.getNumberFormat(t).format(s)});continue}var d=h.value;if(!(i&&d in i))throw new Hs(d,o);var m=i[d];if(Ji(h)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),l.push({type:typeof m=="string"?ee.literal:ee.object,value:m});continue}if(Mn(h)){var E=typeof h.style=="string"?n.date[h.style]:Sr(h.style)?h.style.parsedOptions:void 0;l.push({type:ee.literal,value:r.getDateTimeFormat(t,E).format(m)});continue}if(Nn(h)){var E=typeof h.style=="string"?n.time[h.style]:Sr(h.style)?h.style.parsedOptions:n.time.medium;l.push({type:ee.literal,value:r.getDateTimeFormat(t,E).format(m)});continue}if(On(h)){var E=typeof h.style=="string"?n.number[h.style]:Rn(h.style)?h.style.parsedOptions:void 0;E&&E.scale&&(m=m*(E.scale||1)),l.push({type:ee.literal,value:r.getNumberFormat(t,E).format(m)});continue}if(Ln(h)){var y=h.children,v=h.value,P=i[v];if(!Ps(P))throw new Ts(v,"function",o);var T=er(y,t,r,n,i,s),z=P(T.map(function(X){return X.value}));Array.isArray(z)||(z=[z]),l.push.apply(l,z.map(function(X){return{type:typeof X=="string"?ee.literal:ee.object,value:X}}))}if(kn(h)){var M=h.options[m]||h.options.other;if(!M)throw new Yr(h.value,m,Object.keys(h.options),o);l.push.apply(l,er(M.value,t,r,n,i));continue}if(In(h)){var M=h.options["=".concat(m)];if(!M){if(!Intl.PluralRules)throw new ar(`Intl.PluralRules is not available in this environment.
2
2
  Try polyfilling it using "@formatjs/intl-pluralrules"
3
3
  `,pt.MISSING_INTL_API,o);var V=r.getPluralRules(t,{type:h.pluralType}).select(m-(h.offset||0));M=h.options[V]||h.options.other}if(!M)throw new Yr(h.value,m,Object.keys(h.options),o);l.push.apply(l,er(M.value,t,r,n,i,m-(h.offset||0)));continue}}return Bs(l)}function Os(e,t){return t?Ae(Ae(Ae({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=Ae(Ae({},e[n]),t[n]||{}),r},{})):e}function Ms(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Os(e[n],t[n]),r},Ae({},e)):e}function Er(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Ns(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:br(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,gr([void 0],r,!1)))},{cache:Er(e.number),strategy:yr.variadic}),getDateTimeFormat:br(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,gr([void 0],r,!1)))},{cache:Er(e.dateTime),strategy:yr.variadic}),getPluralRules:br(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,gr([void 0],r,!1)))},{cache:Er(e.pluralRules),strategy:yr.variadic})}}var ks=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(c){var a=s.formatToParts(c);if(a.length===1)return a[0].value;var h=a.reduce(function(d,m){return!d.length||m.type!==ee.literal||typeof d[d.length-1]!="string"?d.push(m.value):d[d.length-1]+=m.value,d},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(c){return er(s.ast,s.locales,s.formatters,s.formats,c,void 0,s.message)},this.resolvedOptions=function(){var c;return{locale:((c=s.resolvedLocale)===null||c===void 0?void 0:c.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=i||{};o.formatters;var l=zi(o,["formatters"]);this.ast=e.__parse(t,Ae(Ae({},l),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Ms(e.formats,n),this.formatters=i&&i.formatters||Ns(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=As,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Is(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const s=r.slice(i,r.length).join(".");if(s in n){n=n[s];break}}n=n[r[i]]}else n=void 0;return n}const Ue={},Ls=(e,t,r)=>r&&(t in Ue||(Ue[t]={}),e in Ue[t]||(Ue[t][e]=r),r),Xn=(e,t)=>{if(t==null)return;if(t in Ue&&e in Ue[t])return Ue[t][e];const r=lr(t);for(let n=0;n<r.length;n++){const i=r[n],s=Us(i,e);if(s)return Ls(e,t,s)}};let Ir;const _t=sr({});function Rs(e){return Ir[e]||null}function Wn(e){return e in Ir}function Us(e,t){if(!Wn(e))return null;const r=Rs(e);return Is(r,t)}function Fs(e){if(e==null)return;const t=lr(e);for(let r=0;r<t.length;r++){const n=t[r];if(Wn(n))return n}}function qn(e,...t){delete Ue[e],_t.update(r=>(r[e]=ji.all([r[e]||{},...t]),r))}yt([_t],([e])=>Object.keys(e));_t.subscribe(e=>Ir=e);const tr={};function Ds(e,t){tr[e].delete(t),tr[e].size===0&&delete tr[e]}function Zn(e){return tr[e]}function Gs(e){return lr(e).map(t=>{const r=Zn(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Or(e){return e==null?!1:lr(e).some(t=>{var r;return(r=Zn(t))==null?void 0:r.size})}function js(e,t){return Promise.all(t.map(n=>(Ds(e,n),n().then(i=>i.default||i)))).then(n=>qn(e,...n))}const Nt={};function $n(e){if(!Or(e))return e in Nt?Nt[e]:Promise.resolve();const t=Gs(e);return Nt[e]=Promise.all(t.map(([r,n])=>js(r,n))).then(()=>{if(Or(e))return $n(e);delete Nt[e]}),Nt[e]}const zs={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"}}},Vs={fallbackLocale:null,loadingDelay:200,formats:zs,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Xs=Vs;function gt(){return Xs}const vr=sr(!1);var Ws=Object.defineProperty,qs=Object.defineProperties,Zs=Object.getOwnPropertyDescriptors,Kr=Object.getOwnPropertySymbols,$s=Object.prototype.hasOwnProperty,Qs=Object.prototype.propertyIsEnumerable,en=(e,t,r)=>t in e?Ws(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Js=(e,t)=>{for(var r in t||(t={}))$s.call(t,r)&&en(e,r,t[r]);if(Kr)for(var r of Kr(t))Qs.call(t,r)&&en(e,r,t[r]);return e},Ys=(e,t)=>qs(e,Zs(t));let Mr;const nr=sr(null);function tn(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function lr(e,t=gt().fallbackLocale){const r=tn(e);return t?[...new Set([...r,...tn(t)])]:r}function ze(){return Mr!=null?Mr:void 0}nr.subscribe(e=>{Mr=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Ks=e=>{if(e&&Fs(e)&&Or(e)){const{loadingDelay:t}=gt();let r;return typeof window!="undefined"&&ze()!=null&&t?r=window.setTimeout(()=>vr.set(!0),t):vr.set(!0),$n(e).then(()=>{nr.set(e)}).finally(()=>{clearTimeout(r),vr.set(!1)})}return nr.set(e)},Fe=Ys(Js({},nr),{set:Ks}),ur=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var eo=Object.defineProperty,ir=Object.getOwnPropertySymbols,Qn=Object.prototype.hasOwnProperty,Jn=Object.prototype.propertyIsEnumerable,rn=(e,t,r)=>t in e?eo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Lr=(e,t)=>{for(var r in t||(t={}))Qn.call(t,r)&&rn(e,r,t[r]);if(ir)for(var r of ir(t))Jn.call(t,r)&&rn(e,r,t[r]);return e},Et=(e,t)=>{var r={};for(var n in e)Qn.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ir)for(var n of ir(e))t.indexOf(n)<0&&Jn.call(e,n)&&(r[n]=e[n]);return r};const Rt=(e,t)=>{const{formats:r}=gt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},to=ur(e=>{var t=e,{locale:r,format:n}=t,i=Et(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=Rt("number",n)),new Intl.NumberFormat(r,i)}),ro=ur(e=>{var t=e,{locale:r,format:n}=t,i=Et(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=Rt("date",n):Object.keys(i).length===0&&(i=Rt("date","short")),new Intl.DateTimeFormat(r,i)}),no=ur(e=>{var t=e,{locale:r,format:n}=t,i=Et(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=Rt("time",n):Object.keys(i).length===0&&(i=Rt("time","short")),new Intl.DateTimeFormat(r,i)}),io=(e={})=>{var t=e,{locale:r=ze()}=t,n=Et(t,["locale"]);return to(Lr({locale:r},n))},so=(e={})=>{var t=e,{locale:r=ze()}=t,n=Et(t,["locale"]);return ro(Lr({locale:r},n))},oo=(e={})=>{var t=e,{locale:r=ze()}=t,n=Et(t,["locale"]);return no(Lr({locale:r},n))},ao=ur((e,t=ze())=>new ks(e,t,gt().formats,{ignoreTag:gt().ignoreTag})),lo=(e,t={})=>{var r,n,i,s;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:l,locale:c=ze(),default:a}=o;if(c==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Xn(e,c);if(!h)h=(s=(i=(n=(r=gt()).handleMissingMessage)==null?void 0:n.call(r,{locale:c,id:e,defaultValue:a}))!=null?i:a)!=null?s:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!l)return h;let d=h;try{d=ao(h,c).format(l)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return d},uo=(e,t)=>oo(t).format(e),co=(e,t)=>so(t).format(e),ho=(e,t)=>io(t).format(e),fo=(e,t=ze())=>Xn(e,t),mo=yt([Fe,_t],()=>lo);yt([Fe],()=>uo);yt([Fe],()=>co);yt([Fe],()=>ho);yt([Fe,_t],()=>fo);function po({withLocale:e,translations:t}){Fe.subscribe(r=>{r==null&&(_t.set(t),Fe.set(e))})}function nn(e,t){qn(e,t)}function go(e){Fe.set(e)}const sn={en:{registerBackButton:"Back",registerAddress:"Address",registerAddressError:"Address must be at least 1 character long and 100 characters maximum.",registerPostalCode:"Postal Code",registerPostalCodeError:"Postal Code must be at least 1 character long and 20 characters maximum.",registerCity:"City",registerCityError:"City must be at least 1 character long and 50 characters maximum.",registerCountry:"Country",registerNationality:"Nationality",registerMobile:"Mobile",registerMobileError:"Mobile must be at least 5 character long and 12 characters maximum.",registerUserConsents:"I want to receive exclusive offers and bonuses. I am aware that I can unsubscribe whenever I want to.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"I am at least 18 years old and I have read and accepted the <a href='/terms-and-conditions' target='_blank'>Terms and Conditions</a>.",registerTermsConditionsError:"Please accept the Terms and Conditions before proceeding.",registerOpenAccount:"Open Account"},"zh-hk":{registerBackButton:"後退",registerAddress:"地址",registerAddressError:"地址必須至少 1 個字符長,最多 100 個字符。",registerPostalCode:"郵政編碼",registerPostalCodeError:"郵政編碼必須至少 1 個字符長,最多 20 個字符。",registerCity:"城市",registerCityError:"城市必須至少 1 個字符長,最多 50 個字符。",registerCountry:"國家",registerNationality:"國籍",registerMobile:"移動的",registerMobileError:"移動設備的長度必須至少為 5 個字符,最多 12 個字符。",registerUserConsents:"我想收到獨家優惠和獎金。 我知道我可以隨時取消訂閱。",registerUserConsentsSMS:"短信",registerUserConsentsEmail:"電子郵件",registerTermsConditions:"我至少 18 歲,並且我已閱讀並接受條件條款。",registerTermsConditionsError:"請在繼續之前接受條款和條件。",registerOpenAccount:"開戶口"},fr:{registerBackButton:"Retour",registerAddress:"Adresse",registerAddressError:"L'adresse doit comporter au moins un caractère et 100 caractères au maximum.",registerPostalCode:"Code postal",registerPostalCodeError:"Le code postal doit comporter au moins un caractère et 20 caractères au maximum.",registerCity:"Ville",registerCityError:"La ville doit comporter au moins un caractère et 50 caractères au maximum.",registerCountry:"Pays",registerNationality:"Nationalité",registerMobile:"Téléphone",registerMobileError:"Le téléphone doit comporter au moins 5 caractère et 12 caractères au maximum.",registerUserConsents:"Je veux recevoir des offres exclusives et des bonus , je sais que je peux me désinscrire quand je le veux.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"J'ai au moins 18 ans et j'ai lu et accepté les conditions d'utilisation.",registerTermsConditionsError:"Veuillez accepter les termes et conditions avant de poursuivre.",registerOpenAccount:"Ouvrir un compte"},tr:{registerBackButton:"Geri",registerAddress:"Adres",registerAddressError:"Adres en az 1 karakter uzunluğunda ve maksimum 100 karakter olmalıdır.",registerPostalCode:"Posta Kodu",registerPostalCodeError:"Posta Kodu en az 1 karakter uzunluğunda ve maksimum 20 karakter uzunluğunda olmalıdır.",registerCity:"Şehir",registerCityError:"Şehir en az 1 karakter, maksimum 50 karakter uzunluğunda olmalıdır.",registerCountry:"Ülke",registerNationality:"Milliyet",registerMobile:"Mobil",registerMobileError:"Mobil en az 5 karakter uzunluğunda ve maksimum 12 karakter olmalıdır.",registerUserConsents:"Özel teklifler ve bonuslar almak istiyorum. İstediğim zaman abonelikten çıkabileceğimin bilincindeyim.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"E-posta",registerTermsConditions:"En az 18 yaşındayım ve <a href='/terms-and-conditions' target='_blank'>Şartlar ve Koşullar</a>'ı okuyup kabul ettim.",registerTermsConditionsError:"Devam etmeden önce lütfen Şartlar ve Koşulları kabul edin.",registerOpenAccount:"Hesap Aç"},ro:{registerBackButton:"Inapoi",registerAddress:"Adresa",registerAddressError:"Adresa trebuie sa fie cuprinsa in 1 si 100 de litere.",registerPostalCode:"Cod Postal",registerPostalCodeError:"Codul postal trebuie sa fie cuprins intre 1 si 20 de caractere.",registerCity:"Oras",registerCityError:"Orasul trebuie sa fie cuprins intre 1 si 50 de litere.",registerCountry:"Tara",registerNationality:"Nationalitatea",registerMobile:"Telefon",registerMobileError:"Telefonul trebuie sa fie cuprins intre 5 si 12 de cifre.",registerUserConsents:"Vreau sa primesc oferte si bonusuri exclusive. Sunt constient ca pot sa dau unsubscribe oricand.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"Am minim 18 ani si am citit si acceptat Termenii si Conditiile",registerTermsConditionsError:"Te rog accepta Termenii si Conditiile",registerOpenAccount:"Inregistrare"},es:{registerBackButton:"Anterior",registerAddress:"Dirección",registerAddressError:"La dirección debe tener al menos 1 carácter y un máximo de 100 caracteres.",registerPostalCode:"Código Postal",registerPostalCodeError:"El código postal debe tener al menos 1 carácter y un máximo de 20 caracteres.",registerCity:"Ciudad",registerCityError:"La ciudad debe tener al menos 1 carácter y un máximo de 50 caracteres.",registerCountry:"País",registerNationality:"Nacionalidad",registerMobile:"Celular",registerMobileError:"Número celular debe tener al menos 5 caracteres y un máximo de 12 caracteres",registerUserConsents:"Quiero recibir ofertas Exclusivas y Bonos. Soy consciente que puedo desuscribirme en cualquier momento.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"Tengo al menos 18 años de edad, y he leido y aceptado los Términos y Condiciones.",registerTermsConditionsError:"Por favor acepta los Términos y Condiciones antes de avanzar.",registerOpenAccount:"Abrir cuenta"},pt:{registerBackButton:"Voltar",registerAddress:"Endereço",registerAddressError:"O endereço deve ter pelo menos 1 caractere e no máximo 100 caracteres.",registerPostalCode:"CEP",registerPostalCodeError:"O CEP deve ter pelo menos 1 caractere e no máximo 20 caracteres.",registerCity:"Cidade",registerCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres.",registerCountry:"País",registerNationality:"Nacionalidade",registerMobile:"Celular",registerMobileError:"O celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres.",registerUserConsents:"Quero receber ofertas e bônus exclusivos. Estou ciente de que posso cancelar a inscrição quando quiser.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"E-mail",registerTermsConditions:"Tenho pelo menos 18 anos e li e aceito os Termos de Condições.",registerTermsConditionsError:"Por favor, aceite os Termos e Condições antes de prosseguir.",registerOpenAccount:"Abrir conta"},hr:{registerBackButton:"Prethodno",registerAddress:"Adresa",registerAddressError:"Adresa mora imati najmanje 1 znak i najviše 100 znakova.",registerPostalCode:"Poštanski broj",registerPostalCodeError:"Poštanski broj mora imati najmanje 1 znak i najviše 20 znakova.",registerCity:"Grad",registerCityError:"Grad mora imati najmanje 1 znak i najviše 50 znakova.",registerCountry:"Zemlja",registerNationality:"Nacionalnost",registerMobile:"Broj mobitela",registerMobileError:"Broj mobitela mora imati najmanje 5 znakova i najviše 12 znakova.",registerUserConsents:"Želim primati ekskluzivne ponude i bonuse. Svjestan sam da se mogu odjaviti kad god to želim.",registerUserConsentsSMS:"SMS","registerUserConsentsE-mail":"E-mail",registerTermsConditions:"Imam najmanje 18 godina i pročitao sam i prihvatio Uvjete.",registerTermsConditionsError:"Prije nastavka prihvatite Uvjete i odredbe.",registerOpenAccount:"Otvori račun"},"pt-br":{registerBackButton:"Voltar",registerAddress:"Endereço",registerAddressError:"O endereço deve ter no mínimo 1 caractere e no máximo 100 caracteres.",registerPostalCode:"Código postal",registerPostalCodeError:"O CEP deve ter no mínimo 1 caractere e no máximo 100 caracteres.",registerCity:"Cidade",registerCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres.",registerCountry:"País",registerNationality:"Nacionalidade",registerMobile:"Número de telemóvel",registerMobileError:"O número do celular deve ter entre 5 e 12 caracteres no máximo.",registerUserConsents:"Quero receber ofertas e bônus exclusivos. Estou ciente de que posso cancelar esta assinatura a qualquer momento.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Correio eletrônico",registerTermsConditions:"Tenho pelo menos 18 anos de idade e li e aceito os <a href='/terms-and-conditions' target='_blank'>Termos e Condições </a>.",registerTermsConditionsError:"Aceite os Termos e Condições antes de prosseguir.",registerOpenAccount:"Conta aberta"},"es-mx":{registerBackButton:"Atrás",registerAddress:"Dirección",registerAddressError:"La dirección debe tener al menos 1 caracter y 100 caracteres máximo.",registerPostalCode:"Código postal",registerPostalCodeError:"El código postal debe tener al menos 1 caracter y 100 caracteres máximo.",registerCity:"Ciudad",registerCityError:"Ciudad debe tener al menos 1 caracter y 50 caracteres máximo.",registerCountry:"País",registerNationality:"Nacionalidad",registerMobile:"Número de móvil",registerMobileError:"Número de móvil debe tener entre 5 caracteres de largo y 12 caracteres máximo.",registerUserConsents:"Quiero recibir ofertas exclusivas y bonos. Estoy consciente que puedo cancelar esta subscripción en cualquier momento.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Correo electrónico",registerTermsConditions:"Tengo al menos 18 años de edad y he leído y aceptado los <a href='/terms-and-conditions' target='_blank'>Términos y Condiciones </a>.",registerTermsConditionsError:"Por favor acepte los Términos y Condiciones antes de proceder.",registerOpenAccount:"Abrir cuenta"}},ct="__WIDGET_GLOBAL_STYLE_CACHE__";function bo(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function yo(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function _o(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=Eo(e,t),r;window[ct]||(window[ct]={}),r=vo(e,t);const s=r.unsubscribe.bind(r),o=()=>{if(window[ct][t]){const l=window[ct][t];l.refCount>1?l.refCount=l.refCount-1:delete window[ct][t]}s()};return r.unsubscribe=o,r}function Eo(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function vo(e,t){return window.emMessageBus.subscribe(t,r=>{if(!e)return;const n=e.getRootNode(),i=window[ct];let s=i[t]&&i[t].sheet;s?i[t].refCount=i[t].refCount+1:(s=new CSSStyleSheet,s.replaceSync(r),i[t]={sheet:s,refCount:1});const o=n.adoptedStyleSheets||[];o.includes(s)||(n.adoptedStyleSheets=[...o,s])})}function Co(e){oi(e,"svelte-1b2qzhz",`input,select{font-family:inherit}.BackButton{display:inline-flex;color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));height:15px;border-radius:var(--emw--border-radius-small, 5px);border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer;margin-bottom:30px}.BackButton svg{width:20px;height:20px;margin-right:20px;fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.AddressPostalCodeContainer{display:flex;gap:16px}.CountryContainer label{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.CountryContainer select{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:var(--emw--border-radius-medium, 15px);box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.CountryContainer select:focus,.CountryContainer select :focus-within,.CountryContainer select :focus-visible,.CountryContainer select :visited{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.AddressContainer,.PostalCodeContainer,.CityContainer,.CountryContainer,.NationalityContainer,.MobileContainer{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));display:flex;flex-direction:column;padding-bottom:30px;position:relative}.AddressContainer label,.PostalCodeContainer label,.CityContainer label,.CountryContainer label,.NationalityContainer label,.MobileContainer label{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.AddressContainer input,.AddressContainer select,.PostalCodeContainer input,.PostalCodeContainer select,.CityContainer input,.CityContainer select,.CountryContainer input,.CountryContainer select,.NationalityContainer input,.NationalityContainer select,.MobileContainer input,.MobileContainer select{width:100%;height:44px;border-radius:var(--emw--border-radius-medium, 15px);border:1px solid var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.AddressContainer input:focus,.AddressContainer select:focus,.PostalCodeContainer input:focus,.PostalCodeContainer select:focus,.CityContainer input:focus,.CityContainer select:focus,.CountryContainer input:focus,.CountryContainer select:focus,.NationalityContainer input:focus,.NationalityContainer select:focus,.MobileContainer input:focus,.MobileContainer select:focus{border:2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));outline:none}.AddressContainer.InvalidField input,.PostalCodeContainer.InvalidField input,.CityContainer.InvalidField input,.CountryContainer.InvalidField input,.NationalityContainer.InvalidField input,.MobileContainer.InvalidField input{border:1px solid var(--emw--color-error, #ed0909);background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.AddressContainer.Hidden,.PostalCodeContainer.Hidden,.CityContainer.Hidden,.CountryContainer.Hidden,.NationalityContainer.Hidden,.MobileContainer.Hidden{display:none}.AddressContainer{width:65%}.PostalCodeContainer{width:35%}.MobileWrapper{display:flex;gap:16px}.MobileWrapper .MobilePrefixSelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.MobileWrapper .MobilePrefixSelected:focus,.MobileWrapper .MobilePrefixSelected :focus-within,.MobileWrapper .MobilePrefixSelected :focus-visible,.MobileWrapper .MobilePrefixSelected :visited{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.MobileWrapper .MobileInput{width:70%}.grecaptcha-badge{opacity:0}.FormRequired{color:var(--emw--color-secondary, #E1A749)}.InvalidInput{color:var(--emw--color-error, #ed0909);font-size:10px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-error, #ed0909)}.OffersMethodsWrapper{padding-left:32px}.Offers,.OffersMethod,.AgeConsent{display:block;position:relative;padding:5px 0 0 35px;margin-bottom:16px;font-size:var(--emw--font-size-medium, 16px);user-select:none;line-height:18px}.Offers label,.OffersMethod label,.AgeConsent label{font-size:var(--emw--font-size-medium, 16px);cursor:pointer}.Offers input,.OffersMethod input,.AgeConsent input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.Offers .Checkmark,.OffersMethod .Checkmark,.AgeConsent .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.Offers input:checked~.Checkmark,.OffersMethod input:checked~.Checkmark,.AgeConsent input:checked~.Checkmark{background-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.Offers .Checkmark:after,.OffersMethod .Checkmark:after,.AgeConsent .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 3px 3px 0;transform:rotate(45deg)}.Offers input:checked~.Checkmark:after,.OffersMethod input:checked~.Checkmark:after,.AgeConsent input:checked~.Checkmark:after{display:block}.NotificationContainer{margin-top:32px}.NotificationContainer p{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #E1A749));font-size:var(--emw--font-size-small, 14px)}.RegisterError{color:var(--emw--color-error, #ed0909);font-size:var(--emw--font-size-medium, 16px);line-height:18px}.RegisterStepNext{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed}`)}function on(e,t,r){const n=e.slice();return n[87]=t[r],n}function an(e,t,r){const n=e.slice();return n[90]=t[r],n}function ln(e,t,r){const n=e.slice();return n[93]=t[r],n}function un(e){let t,r;return{c(){t=b("script"),jr(t.src,r="//www.google.com/recaptcha/api.js?render="+e[4])||p(t,"src",r),t.async=!0,t.defer=!0},m(n,i){L(n,t,i)},p(n,i){i[0]&16&&!jr(t.src,r="//www.google.com/recaptcha/api.js?render="+n[4])&&p(t,"src",r)},d(n){n&&k(t)}}}function cn(e){let t,r=e[31]("registerAddressError")+"",n;return{c(){t=b("p"),n=O(r),p(t,"class","InvalidInput")},m(i,s){L(i,t,s),u(t,n)},p(i,s){s[1]&1&&r!==(r=i[31]("registerAddressError")+"")&&G(n,r)},d(i){i&&k(t)}}}function hn(e){let t,r=e[31]("registerPostalCodeError")+"",n;return{c(){t=b("p"),n=O(r),p(t,"class","InvalidInput")},m(i,s){L(i,t,s),u(t,n)},p(i,s){s[1]&1&&r!==(r=i[31]("registerPostalCodeError")+"")&&G(n,r)},d(i){i&&k(t)}}}function fn(e){let t,r=e[31]("registerCityError")+"",n;return{c(){t=b("p"),n=O(r),p(t,"class","InvalidInput")},m(i,s){L(i,t,s),u(t,n)},p(i,s){s[1]&1&&r!==(r=i[31]("registerCityError")+"")&&G(n,r)},d(i){i&&k(t)}}}function dn(e){let t,r=e[93].Name+"",n,i;return{c(){t=b("option"),n=O(r),t.__value=i=e[93].Alpha2Code,he(t,t.__value)},m(s,o){L(s,t,o),u(t,n)},p(s,o){o[0]&1048576&&r!==(r=s[93].Name+"")&&G(n,r),o[0]&1048576&&i!==(i=s[93].Alpha2Code)&&(t.__value=i,he(t,t.__value))},d(s){s&&k(t)}}}function mn(e){let t,r=e[90].Name+"",n,i;return{c(){t=b("option"),n=O(r),t.__value=i=e[90].Alpha2Code,he(t,t.__value)},m(s,o){L(s,t,o),u(t,n)},p(s,o){o[0]&4194304&&r!==(r=s[90].Name+"")&&G(n,r),o[0]&4194304&&i!==(i=s[90].Alpha2Code)&&(t.__value=i,he(t,t.__value))},d(s){s&&k(t)}}}function pn(e){let t,r=e[87].Prefix+"",n,i;return{c(){t=b("option"),n=O(r),t.__value=i=e[87].Prefix,he(t,t.__value)},m(s,o){L(s,t,o),u(t,n)},p(s,o){o[0]&33554432&&r!==(r=s[87].Prefix+"")&&G(n,r),o[0]&33554432&&i!==(i=s[87].Prefix)&&(t.__value=i,he(t,t.__value))},d(s){s&&k(t)}}}function gn(e){let t,r=e[31]("registerMobileError")+"",n;return{c(){t=b("p"),n=O(r),p(t,"class","InvalidInput")},m(i,s){L(i,t,s),u(t,n)},p(i,s){s[1]&1&&r!==(r=i[31]("registerMobileError")+"")&&G(n,r)},d(i){i&&k(t)}}}function bn(e){let t,r,n=(e[2]==="true"||e[3]==="true")&&yn(e),i=e[1]==="true"&&vn(e);return{c(){n&&n.c(),t=A(),i&&i.c(),r=kr()},m(s,o){n&&n.m(s,o),L(s,t,o),i&&i.m(s,o),L(s,r,o)},p(s,o){s[2]==="true"||s[3]==="true"?n?n.p(s,o):(n=yn(s),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null),s[1]==="true"?i?i.p(s,o):(i=vn(s),i.c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null)},d(s){s&&(k(t),k(r)),n&&n.d(s),i&&i.d(s)}}}function yn(e){let t,r,n=e[31]("registerUserConsents")+"",i,s,o,l,c,a,h,d,m,E,y=e[2]==="true"&&_n(e),v=e[3]==="true"&&En(e);return{c(){t=b("div"),r=b("label"),i=O(n),s=A(),o=b("input"),l=A(),c=b("span"),a=A(),h=b("div"),y&&y.c(),d=A(),v&&v.c(),p(o,"type","Checkbox"),o.checked=e[27],p(c,"class","Checkmark"),p(r,"class","Offers"),p(h,"class","OffersMethodsWrapper"),p(t,"class","OffersContainer")},m(P,T){L(P,t,T),u(t,r),u(r,i),u(r,s),u(r,o),u(r,l),u(r,c),u(t,a),u(t,h),y&&y.m(h,null),u(h,d),v&&v.m(h,null),m||(E=N(o,"click",e[64]),m=!0)},p(P,T){T[1]&1&&n!==(n=P[31]("registerUserConsents")+"")&&G(i,n),T[0]&134217728&&(o.checked=P[27]),P[2]==="true"?y?y.p(P,T):(y=_n(P),y.c(),y.m(h,d)):y&&(y.d(1),y=null),P[3]==="true"?v?v.p(P,T):(v=En(P),v.c(),v.m(h,null)):v&&(v.d(1),v=null)},d(P){P&&k(t),y&&y.d(),v&&v.d(),m=!1,E()}}}function _n(e){let t,r=e[31]("registerUserConsentsSMS")+"",n,i,s,o,l,c,a,h;return{c(){t=b("label"),n=O(r),i=A(),s=b("input"),l=A(),c=b("span"),p(s,"type","Checkbox"),s.checked=o=e[29].userConsents.sms,p(c,"class","Checkmark"),p(t,"class","OffersMethod")},m(d,m){L(d,t,m),u(t,n),u(t,i),u(t,s),u(t,l),u(t,c),a||(h=N(s,"click",e[65]),a=!0)},p(d,m){m[1]&1&&r!==(r=d[31]("registerUserConsentsSMS")+"")&&G(n,r),m[0]&536870912&&o!==(o=d[29].userConsents.sms)&&(s.checked=o)},d(d){d&&k(t),a=!1,h()}}}function En(e){let t,r=e[31]("registerUserConsentsEmail")+"",n,i,s,o,l,c,a,h;return{c(){t=b("label"),n=O(r),i=A(),s=b("input"),l=A(),c=b("span"),p(s,"type","Checkbox"),s.checked=o=e[29].userConsents.emailmarketing,p(c,"class","Checkmark"),p(t,"class","OffersMethod")},m(d,m){L(d,t,m),u(t,n),u(t,i),u(t,s),u(t,l),u(t,c),a||(h=N(s,"click",e[66]),a=!0)},p(d,m){m[1]&1&&r!==(r=d[31]("registerUserConsentsEmail")+"")&&G(n,r),m[0]&536870912&&o!==(o=d[29].userConsents.emailmarketing)&&(s.checked=o)},d(d){d&&k(t),a=!1,h()}}}function vn(e){let t,r,n,i,s,o,l,c,a,h,d,m,E=!e[30].termsandconditions&&Cn(e);return{c(){t=b("div"),r=b("label"),n=b("span"),i=A(),s=b("input"),l=A(),c=b("span"),a=A(),E&&E.c(),h=kr(),p(s,"type","Checkbox"),s.checked=o=e[29].userConsents.termsandconditions,p(c,"class","Checkmark"),p(r,"class","AgeConsent"),p(t,"class","AgeContainer")},m(y,v){L(y,t,v),u(t,r),u(r,n),n.innerHTML=e[32],u(r,i),u(r,s),u(r,l),u(r,c),L(y,a,v),E&&E.m(y,v),L(y,h,v),d||(m=N(s,"click",e[67]),d=!0)},p(y,v){v[0]&536870912&&o!==(o=y[29].userConsents.termsandconditions)&&(s.checked=o),y[30].termsandconditions?E&&(E.d(1),E=null):E?E.p(y,v):(E=Cn(y),E.c(),E.m(h.parentNode,h))},d(y){y&&(k(t),k(a),k(h)),E&&E.d(y),d=!1,m()}}}function Cn(e){let t,r,n=e[31]("registerTermsConditionsError")+"",i;return{c(){t=b("div"),r=b("p"),i=O(n),p(t,"class","NotificationContainer")},m(s,o){L(s,t,o),u(t,r),u(r,i)},p(s,o){o[1]&1&&n!==(n=s[31]("registerTermsConditionsError")+"")&&G(i,n)},d(s){s&&k(t)}}}function xn(e){let t,r,n;return{c(){t=b("div"),r=b("p"),n=O(e[16]),p(r,"class","RegisterError")},m(i,s){L(i,t,s),u(t,r),u(r,n)},p(i,s){s[0]&65536&&G(n,i[16])},d(i){i&&k(t)}}}function xo(e){let t,r,n,i,s,o,l,c,a,h,d,m,E,y=e[31]("registerBackButton")+"",v,P,T,z,M,V,X=e[31]("registerAddress")+"",pe,Te,Me,vt,W,Ct,De,we,j,te,He=e[31]("registerPostalCode")+"",ge,Ge,fe,_e,q,de,Z,Ve,U,Ne,_=e[31]("registerCity")+"",B,Ut,Xe,Ft,me,Dt,Ee,Gt,Se,ke,je=e[31]("registerCountry")+"",xt,wt,We,St,re,qe,At,Be,Pe,Ze=e[31]("registerNationality")+"",$e,jt,Qe,zt,ve,Je,Vt,be,Ie,Ye=e[31]("registerMobile")+"",Tt,Xt,Ke,Wt,Le,Ce,qt,$,Zt,et,$t,Ht,Oe,tt=e[31]("registerOpenAccount")+"",Bt,g,w,F,Rr,ne=e[4]&&un(e),ie=e[6]&&cn(e),se=e[7]&&hn(e),oe=e[9]&&fn(e),rt=at(e[20]),Q=[];for(let f=0;f<rt.length;f+=1)Q[f]=dn(ln(e,rt,f));let nt=at(e[22]),J=[];for(let f=0;f<nt.length;f+=1)J[f]=mn(an(e,nt,f));let it=at(e[25]),Y=[];for(let f=0;f<it.length;f+=1)Y[f]=pn(on(e,it,f));let ae=e[8]&&gn(e),le=e[0]==="true"&&bn(e),ue=e[15]&&xn(e);return{c(){var f,C,D,Pt,Ot,Mt;ne&&ne.c(),t=kr(),r=A(),n=b("div"),i=A(),s=b("div"),o=b("div"),l=b("button"),c=Jt("svg"),a=Jt("defs"),h=Jt("style"),d=O(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));}"),m=Jt("path"),E=A(),v=O(y),P=A(),T=b("form"),z=b("div"),M=b("div"),V=b("label"),pe=O(X),Te=O(":"),Me=b("span"),Me.textContent="*",vt=A(),W=b("input"),Ct=A(),ie&&ie.c(),we=A(),j=b("div"),te=b("label"),ge=O(He),Ge=O(":"),fe=b("span"),fe.textContent="*",_e=A(),q=b("input"),de=A(),se&&se.c(),Ve=A(),U=b("div"),Ne=b("label"),B=O(_),Ut=O(":"),Xe=b("span"),Xe.textContent="*",Ft=A(),me=b("input"),Dt=A(),oe&&oe.c(),Gt=A(),Se=b("div"),ke=b("label"),xt=O(je),wt=O(":"),We=b("span"),We.textContent="*",St=A(),re=b("select");for(let ce=0;ce<Q.length;ce+=1)Q[ce].c();At=A(),Be=b("div"),Pe=b("label"),$e=O(Ze),jt=O(":"),Qe=b("span"),Qe.textContent="*",zt=A(),ve=b("select");for(let ce=0;ce<J.length;ce+=1)J[ce].c();Vt=A(),be=b("div"),Ie=b("label"),Tt=O(Ye),Xt=O(":"),Ke=b("span"),Ke.textContent="*",Wt=A(),Le=b("div"),Ce=b("select");for(let ce=0;ce<Y.length;ce+=1)Y[ce].c();qt=A(),$=b("input"),Zt=A(),ae&&ae.c(),$t=A(),le&&le.c(),Ht=A(),Oe=b("button"),Bt=O(tt),w=A(),ue&&ue.c(),p(n,"class","g-recaptcha"),p(n,"data-sitekey",e[4]),p(m,"class","a"),p(m,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),p(m,"transform","translate(24 24) rotate(180)"),p(c,"xmlns","http://www.w3.org/2000/svg"),p(c,"viewBox","0 0 24 24"),p(l,"class","BackButton"),p(o,"class","RegisterFormHeader"),p(Me,"class","FormRequired"),p(V,"for","Address"),p(W,"type","text"),p(W,"id","Address"),p(M,"class",De="AddressContainer "+(e[6]&&!e[10]?"InvalidField":"")+(((f=e[14])==null?void 0:f.indexOf("address"))>=0?"Hidden":"")),p(fe,"class","FormRequired"),p(te,"for","PostalCode"),p(q,"type","text"),p(q,"id","PostalCode"),p(j,"class",Z="PostalCodeContainer "+(e[7]&&!e[11]?"InvalidField":"")+(((C=e[14])==null?void 0:C.indexOf("postalCode"))>=0?"Hidden":"")),p(z,"class","AddressPostalCodeContainer"),p(Xe,"class","FormRequired"),p(Ne,"for","City"),p(me,"type","text"),p(me,"id","City"),p(U,"class",Ee="CityContainer "+(e[9]&&e[13]?"InvalidField":"")+(((D=e[14])==null?void 0:D.indexOf("city"))>=0?"Hidden":"")),p(We,"class","FormRequired"),p(ke,"for","Country"),p(re,"id","Country"),e[21]===void 0&&ft(()=>e[58].call(re)),p(Se,"class",qe="CountryContainer "+(((Pt=e[14])==null?void 0:Pt.indexOf("country"))>=0?"Hidden":"")),p(Qe,"class","FormRequired"),p(Pe,"for","Nationality"),p(ve,"id","Nationality"),e[23]===void 0&&ft(()=>e[59].call(ve)),p(Be,"class",Je="NationalityContainer "+(((Ot=e[14])==null?void 0:Ot.indexOf("nationality"))>=0?"Hidden":"")),p(Ke,"class","FormRequired"),p(Ie,"for","Mobile"),p(Ce,"class","MobilePrefixSelected"),e[26]===void 0&&ft(()=>e[60].call(Ce)),p($,"type","text"),p($,"oninput","this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"),p($,"id","Mobile"),p($,"class","MobileInput"),p(Le,"class","MobileWrapper"),p(be,"class",et="MobileContainer "+(e[8]&&!e[12]?"InvalidField":"")+(((Mt=e[14])==null?void 0:Mt.indexOf("mobile"))>=0?"Hidden":"")),p(Oe,"class","RegisterStepNext"),Oe.disabled=g=!e[28],p(T,"class","RegisterFormContent")},m(f,C){ne&&ne.m(document.head,null),u(document.head,t),L(f,r,C),L(f,n,C),L(f,i,C),L(f,s,C),u(s,o),u(o,l),u(l,c),u(c,a),u(a,h),u(h,d),u(c,m),u(l,E),u(l,v),u(s,P),u(s,T),u(T,z),u(z,M),u(M,V),u(V,pe),u(V,Te),u(V,Me),u(M,vt),u(M,W),he(W,e[17]),u(M,Ct),ie&&ie.m(M,null),u(z,we),u(z,j),u(j,te),u(te,ge),u(te,Ge),u(te,fe),u(j,_e),u(j,q),he(q,e[18]),u(j,de),se&&se.m(j,null),u(T,Ve),u(T,U),u(U,Ne),u(Ne,B),u(Ne,Ut),u(Ne,Xe),u(U,Ft),u(U,me),he(me,e[19]),u(U,Dt),oe&&oe.m(U,null),u(T,Gt),u(T,Se),u(Se,ke),u(ke,xt),u(ke,wt),u(ke,We),u(Se,St),u(Se,re);for(let D=0;D<Q.length;D+=1)Q[D]&&Q[D].m(re,null);st(re,e[21],!0),u(T,At),u(T,Be),u(Be,Pe),u(Pe,$e),u(Pe,jt),u(Pe,Qe),u(Be,zt),u(Be,ve);for(let D=0;D<J.length;D+=1)J[D]&&J[D].m(ve,null);st(ve,e[23],!0),u(T,Vt),u(T,be),u(be,Ie),u(Ie,Tt),u(Ie,Xt),u(Ie,Ke),u(be,Wt),u(be,Le),u(Le,Ce);for(let D=0;D<Y.length;D+=1)Y[D]&&Y[D].m(Ce,null);st(Ce,e[26],!0),u(Le,qt),u(Le,$),he($,e[24]),u(be,Zt),ae&&ae.m(be,null),u(T,$t),le&&le.m(T,null),u(T,Ht),u(T,Oe),u(Oe,Bt),u(s,w),ue&&ue.m(s,null),e[69](s),F||(Rr=[N(l,"click",e[40]),N(W,"input",e[49]),N(W,"keyup",e[33]),N(W,"focus",e[50]),N(W,"blur",e[51]),N(q,"input",e[52]),N(q,"keyup",e[34]),N(q,"focus",e[53]),N(q,"blur",e[54]),N(me,"input",e[55]),N(me,"keyup",e[35]),N(me,"focus",e[56]),N(me,"blur",e[57]),N(re,"change",e[58]),N(ve,"change",e[59]),N(Ce,"change",e[60]),N($,"input",e[61]),N($,"keyup",e[36]),N($,"focus",e[62]),N($,"blur",e[63]),N(Oe,"click",e[68])],F=!0)},p(f,C){var D,Pt,Ot,Mt,ce,Ur;if(f[4]?ne?ne.p(f,C):(ne=un(f),ne.c(),ne.m(t.parentNode,t)):ne&&(ne.d(1),ne=null),C[0]&16&&p(n,"data-sitekey",f[4]),C[1]&1&&y!==(y=f[31]("registerBackButton")+"")&&G(v,y),C[1]&1&&X!==(X=f[31]("registerAddress")+"")&&G(pe,X),C[0]&131072&&W.value!==f[17]&&he(W,f[17]),f[6]?ie?ie.p(f,C):(ie=cn(f),ie.c(),ie.m(M,null)):ie&&(ie.d(1),ie=null),C[0]&17472&&De!==(De="AddressContainer "+(f[6]&&!f[10]?"InvalidField":"")+(((D=f[14])==null?void 0:D.indexOf("address"))>=0?"Hidden":""))&&p(M,"class",De),C[1]&1&&He!==(He=f[31]("registerPostalCode")+"")&&G(ge,He),C[0]&262144&&q.value!==f[18]&&he(q,f[18]),f[7]?se?se.p(f,C):(se=hn(f),se.c(),se.m(j,null)):se&&(se.d(1),se=null),C[0]&18560&&Z!==(Z="PostalCodeContainer "+(f[7]&&!f[11]?"InvalidField":"")+(((Pt=f[14])==null?void 0:Pt.indexOf("postalCode"))>=0?"Hidden":""))&&p(j,"class",Z),C[1]&1&&_!==(_=f[31]("registerCity")+"")&&G(B,_),C[0]&524288&&me.value!==f[19]&&he(me,f[19]),f[9]?oe?oe.p(f,C):(oe=fn(f),oe.c(),oe.m(U,null)):oe&&(oe.d(1),oe=null),C[0]&25088&&Ee!==(Ee="CityContainer "+(f[9]&&f[13]?"InvalidField":"")+(((Ot=f[14])==null?void 0:Ot.indexOf("city"))>=0?"Hidden":""))&&p(U,"class",Ee),C[1]&1&&je!==(je=f[31]("registerCountry")+"")&&G(xt,je),C[0]&1048576){rt=at(f[20]);let x;for(x=0;x<rt.length;x+=1){const Re=ln(f,rt,x);Q[x]?Q[x].p(Re,C):(Q[x]=dn(Re),Q[x].c(),Q[x].m(re,null))}for(;x<Q.length;x+=1)Q[x].d(1);Q.length=rt.length}if(C[0]&3145728&&st(re,f[21]),C[0]&16384&&qe!==(qe="CountryContainer "+(((Mt=f[14])==null?void 0:Mt.indexOf("country"))>=0?"Hidden":""))&&p(Se,"class",qe),C[1]&1&&Ze!==(Ze=f[31]("registerNationality")+"")&&G($e,Ze),C[0]&4194304){nt=at(f[22]);let x;for(x=0;x<nt.length;x+=1){const Re=an(f,nt,x);J[x]?J[x].p(Re,C):(J[x]=mn(Re),J[x].c(),J[x].m(ve,null))}for(;x<J.length;x+=1)J[x].d(1);J.length=nt.length}if(C[0]&12582912&&st(ve,f[23]),C[0]&16384&&Je!==(Je="NationalityContainer "+(((ce=f[14])==null?void 0:ce.indexOf("nationality"))>=0?"Hidden":""))&&p(Be,"class",Je),C[1]&1&&Ye!==(Ye=f[31]("registerMobile")+"")&&G(Tt,Ye),C[0]&33554432){it=at(f[25]);let x;for(x=0;x<it.length;x+=1){const Re=on(f,it,x);Y[x]?Y[x].p(Re,C):(Y[x]=pn(Re),Y[x].c(),Y[x].m(Ce,null))}for(;x<Y.length;x+=1)Y[x].d(1);Y.length=it.length}C[0]&100663296&&st(Ce,f[26]),C[0]&16777216&&$.value!==f[24]&&he($,f[24]),f[8]?ae?ae.p(f,C):(ae=gn(f),ae.c(),ae.m(be,null)):ae&&(ae.d(1),ae=null),C[0]&20736&&et!==(et="MobileContainer "+(f[8]&&!f[12]?"InvalidField":"")+(((Ur=f[14])==null?void 0:Ur.indexOf("mobile"))>=0?"Hidden":""))&&p(be,"class",et),f[0]==="true"?le?le.p(f,C):(le=bn(f),le.c(),le.m(T,Ht)):le&&(le.d(1),le=null),C[1]&1&&tt!==(tt=f[31]("registerOpenAccount")+"")&&G(Bt,tt),C[0]&268435456&&g!==(g=!f[28])&&(Oe.disabled=g),f[15]?ue?ue.p(f,C):(ue=xn(f),ue.c(),ue.m(s,null)):ue&&(ue.d(1),ue=null)},i:xe,o:xe,d(f){f&&(k(r),k(n),k(i),k(s)),ne&&ne.d(f),k(t),ie&&ie.d(),se&&se.d(),oe&&oe.d(),dr(Q,f),dr(J,f),dr(Y,f),ae&&ae.d(),le&&le.d(),ue&&ue.d(),e[69](null),F=!1,bt(Rr)}}}function wo(e,t,r){let n;si(e,mo,g=>r(31,n=g));let{userconsentsexist:i="false"}=t,{termsconditions:s="false"}=t,{smsoffers:o="false"}=t,{emailmarketing:l="false"}=t,{endpoint:c=""}=t,{captchakey:a=""}=t,{lang:h=""}=t,{disabledfields:d=""}=t,{defaultoptions:m=""}=t,{mbsource:E}=t,{clientstyling:y=""}=t,{clientstylingurl:v=""}=t,{translationurl:P=""}=t,T,z,M,V,X=!1,pe=!1,Te=!1,Me=!1,vt,W,Ct=!1,De="",we="",j="",te="",He=[],ge="",Ge=[],fe="",_e="",q=[],de="",Z=!1,Ve=!1,U,Ne,_={mobile:{},userConsents:{}},B={address1:!1,postalCode:!1,city:!1,country:!1,nationality:!1,mobile:!1,termsandconditions:s==="false"};po({withLocale:"en",translations:{}});const Ut=()=>{fetch(P).then(w=>w.json()).then(w=>{Object.keys(w).forEach(F=>{nn(F,w[F])})}).catch(w=>{console.log(w)})};Object.keys(sn).forEach(g=>{nn(g,sn[g])});let Xe=n("registerTermsConditions");const Ft=()=>{fetch(`${c}/v1/player/countries`).then(g=>g.json()).then(g=>{fetch(`${c}/v1/player/operatorSupportedCountries`).then(w=>w.status>=300?new Error("Error while fetching the supported countries"):w.json()).then(w=>{r(20,He=g.countries.filter(F=>w.countries.indexOf(F.Alpha2Code)>=0)),ge||(r(21,ge=He[0].Alpha2Code),r(30,B.country=!0,B)),r(22,Ge=g.countries),fe||(r(23,fe=Ge.filter(F=>w.countries.indexOf(F.Alpha2Code)>=0)[0].Alpha2Code),r(30,B.nationality=!0,B))})})},me=()=>{fetch(`${c}/v1/player/phonecodes`).then(g=>g.json()).then(g=>{r(25,q=g.phoneCodes),de||r(26,de=q[0].Prefix)})},Dt=(g,w)=>{if(!(d.indexOf(g)>=0))switch(g){case"address1":r(17,we=w),Se();break;case"postalCode":r(18,j=w),je();break;case"city":r(19,te=w),wt();break;case"country":r(21,ge=w),r(30,B.country=!0,B);break;case"nationality":r(23,fe=w),r(30,B.nationality=!0,B);break;case"mobile":r(26,de=w.prefix),r(24,_e=w.number),St();break;case"userConsents":Object.keys(w).length!==0&&(w.termsandconditions&&w.sms&&r(27,Z=!0),r(30,B.termsandconditions=w.termsandconditions,B),r(29,_.userConsents.termsandconditions=w.termsandconditions,_),r(29,_.userConsents.sms=w.sms,_),r(29,_.userConsents.emailmarketing=w.emailmarketing,_)),Ee();break}},Ee=()=>{r(28,Ve=Object.keys(B).every(g=>d.includes(g)?!0:B[g]!==!1))},Gt=()=>!!(we&&we.length<=100),Se=()=>{r(29,_.address1=we,_),r(6,T=!Gt()),r(30,B.address1=!T,B),Ee()},ke=()=>!!(j&&j.length<=20),je=()=>{r(29,_.postalCode=j,_),r(7,z=!ke()),r(30,B.postalCode=!z,B),Ee()},xt=()=>!!(te&&te.length<=50),wt=()=>{r(29,_.city=te,_),r(9,V=!xt()),r(30,B.city=!V,B),Ee()},We=()=>!!(_e&&_e.length>=5&&_e.length<=12),St=()=>{r(29,_.mobile.number=_e,_),r(8,M=!We()),r(30,B.mobile=!M,B),Ee()},re=g=>{g==="GeneralOffers"?(r(27,Z=!Z),r(29,_.userConsents.sms=Z,_),r(29,_.userConsents.emailmarketing=Z,_)):g==="SmsOffers"?(r(29,_.userConsents.sms=!_.userConsents.sms,_),_.userConsents.sms&&r(27,Z=!0)):g==="EmailOffers"&&(r(29,_.userConsents.emailmarketing=!_.userConsents.emailmarketing,_),_.userConsents.emailmarketing&&r(27,Z=!0)),qe()},qe=()=>{!_.userConsents.sms&&!_.userConsents.emailmarketing&&r(27,Z=!1)},At=()=>{r(29,_.userConsents.termsandconditions=!_.userConsents.termsandconditions,_),r(30,B.termsandconditions=!B.termsandconditions,B),Ee()},Be=()=>new Promise((g,w)=>{grecaptcha.ready(()=>{grecaptcha.execute(a,{action:"submit"}).then(F=>{g(F)})})}),Pe=g=>{g.preventDefault(),r(29,_.nationality=fe,_),r(29,_.country=ge,_),r(29,_.mobile.prefix=de,_);let w={};Be().then(F=>{w=fr(hr({},_),{token:F}),window.postMessage({type:"RegisterStepThree",registerStepThreeData:w},window.location.href)})},Ze=()=>{r(29,_.nationality=fe,_),r(29,_.country=ge,_),r(29,_.mobile.prefix=de,_),window.postMessage({type:"GoBackStepThree",registerStepThreeData:_},window.location.href)},$e=g=>{if(g.data)switch(g.data.type){case"StepThreeDataBackup":const w=g.data.userData;for(const F in w)Dt(F,w[F]);r(28,Ve=Object.keys(B).every(F=>d.includes(F)?!0:B[F]!==!1));break;case"ShowRegistrationError":r(15,Ct=g.data.showError),r(16,De=g.data.error)}},jt=()=>{r(14,vt=d.split(","))},Qe=()=>{W=m.split(","),W.indexOf("consentsTerms")>=0&&r(29,_.userConsents.termsandconditions=!0,_),W.indexOf("consentsOffers")>=0&&(r(27,Z=!0),r(29,_.userConsents.sms=!0,_),r(29,_.userConsents.emailmarketing=!0,_)),W.forEach(g=>{g.includes("phonePrefix")&&(r(26,de=g.split(":")[1].toString()),r(29,_.mobile.prefix=de,_))})},zt=()=>{go(h)};fi(()=>(window.addEventListener("message",$e,!1),()=>{window.removeEventListener("message",$e)}));function ve(){we=this.value,r(17,we)}const Je=()=>r(10,X=!0),Vt=()=>r(10,X=!1);function be(){j=this.value,r(18,j)}const Ie=()=>r(11,pe=!0),Ye=()=>r(11,pe=!1);function Tt(){te=this.value,r(19,te)}const Xt=()=>r(13,Me=!0),Ke=()=>r(13,Me=!1);function Wt(){ge=mr(this),r(21,ge),r(20,He)}function Le(){fe=mr(this),r(23,fe),r(22,Ge)}function Ce(){de=mr(this),r(26,de),r(25,q)}function qt(){_e=this.value,r(24,_e)}const $=()=>r(12,Te=!0),Zt=()=>r(12,Te=!1),et=()=>re("GeneralOffers"),$t=()=>re("SmsOffers"),Ht=()=>re("EmailOffers"),Oe=()=>At(),tt=g=>Pe(g);function Bt(g){Cr[g?"unshift":"push"](()=>{U=g,r(5,U)})}return e.$$set=g=>{"userconsentsexist"in g&&r(0,i=g.userconsentsexist),"termsconditions"in g&&r(1,s=g.termsconditions),"smsoffers"in g&&r(2,o=g.smsoffers),"emailmarketing"in g&&r(3,l=g.emailmarketing),"endpoint"in g&&r(41,c=g.endpoint),"captchakey"in g&&r(4,a=g.captchakey),"lang"in g&&r(42,h=g.lang),"disabledfields"in g&&r(43,d=g.disabledfields),"defaultoptions"in g&&r(44,m=g.defaultoptions),"mbsource"in g&&r(45,E=g.mbsource),"clientstyling"in g&&r(46,y=g.clientstyling),"clientstylingurl"in g&&r(47,v=g.clientstylingurl),"translationurl"in g&&r(48,P=g.translationurl)},e.$$.update=()=>{e.$$.dirty[1]&1024&&c&&Ft(),e.$$.dirty[1]&1024&&c&&me(),e.$$.dirty[1]&2048&&h&&zt(),e.$$.dirty[1]&4096&&d&&jt(),e.$$.dirty[1]&8192&&m&&Qe(),e.$$.dirty[0]&32|e.$$.dirty[1]&32768&&y&&U&&bo(U,y),e.$$.dirty[0]&32|e.$$.dirty[1]&65536&&v&&U&&yo(U,v),e.$$.dirty[0]&32|e.$$.dirty[1]&16384&&E&&U&&_o(U,`${E}.Style`,Ne),e.$$.dirty[1]&131072&&P&&Ut(),e.$$.dirty[0]&3&&i&&r(30,B.termsandconditions=s==="false",B)},[i,s,o,l,a,U,T,z,M,V,X,pe,Te,Me,vt,Ct,De,we,j,te,He,ge,Ge,fe,_e,q,de,Z,Ve,_,B,n,Xe,Se,je,wt,St,re,At,Pe,Ze,c,h,d,m,E,y,v,P,ve,Je,Vt,be,Ie,Ye,Tt,Xt,Ke,Wt,Le,Ce,qt,$,Zt,et,$t,Ht,Oe,tt,Bt]}class Yn extends wi{constructor(t){super(),Ci(this,t,wo,xo,Sn,{userconsentsexist:0,termsconditions:1,smsoffers:2,emailmarketing:3,endpoint:41,captchakey:4,lang:42,disabledfields:43,defaultoptions:44,mbsource:45,clientstyling:46,clientstylingurl:47,translationurl:48},Co,[-1,-1,-1,-1])}get userconsentsexist(){return this.$$.ctx[0]}set userconsentsexist(t){this.$$set({userconsentsexist:t}),K()}get termsconditions(){return this.$$.ctx[1]}set termsconditions(t){this.$$set({termsconditions:t}),K()}get smsoffers(){return this.$$.ctx[2]}set smsoffers(t){this.$$set({smsoffers:t}),K()}get emailmarketing(){return this.$$.ctx[3]}set emailmarketing(t){this.$$set({emailmarketing:t}),K()}get endpoint(){return this.$$.ctx[41]}set endpoint(t){this.$$set({endpoint:t}),K()}get captchakey(){return this.$$.ctx[4]}set captchakey(t){this.$$set({captchakey:t}),K()}get lang(){return this.$$.ctx[42]}set lang(t){this.$$set({lang:t}),K()}get disabledfields(){return this.$$.ctx[43]}set disabledfields(t){this.$$set({disabledfields:t}),K()}get defaultoptions(){return this.$$.ctx[44]}set defaultoptions(t){this.$$set({defaultoptions:t}),K()}get mbsource(){return this.$$.ctx[45]}set mbsource(t){this.$$set({mbsource:t}),K()}get clientstyling(){return this.$$.ctx[46]}set clientstyling(t){this.$$set({clientstyling:t}),K()}get clientstylingurl(){return this.$$.ctx[47]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),K()}get translationurl(){return this.$$.ctx[48]}set translationurl(t){this.$$set({translationurl:t}),K()}}xi(Yn,{userconsentsexist:{},termsconditions:{},smsoffers:{},emailmarketing:{},endpoint:{},captchakey:{},lang:{},disabledfields:{},defaultoptions:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=Yn;
@@ -10,7 +10,7 @@ var cr = (e, t, r) => t in e ? Yn(e, t, { enumerable: !0, configurable: !0, writ
10
10
  ri.call(t, r) && cr(e, r, t[r]);
11
11
  return e;
12
12
  }, fr = (e, t) => Kn(e, ei(t));
13
- var ye = (e, t, r) => (cr(e, typeof t != "symbol" ? t + "" : t, r), r);
13
+ var ye = (e, t, r) => cr(e, typeof t != "symbol" ? t + "" : t, r);
14
14
  var Dr = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (c) => {
16
16
  try {
@@ -74,8 +74,7 @@ function si(e, t, r) {
74
74
  }
75
75
  }
76
76
  function oi(e) {
77
- if (!e)
78
- return document;
77
+ if (!e) return document;
79
78
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
80
79
  return t && /** @type {ShadowRoot} */
81
80
  t.host ? (
@@ -159,8 +158,7 @@ function kt(e) {
159
158
  It = e;
160
159
  }
161
160
  function ci() {
162
- if (!It)
163
- throw new Error("Function called outside component initialization");
161
+ if (!It) throw new Error("Function called outside component initialization");
164
162
  return It;
165
163
  }
166
164
  function hi(e) {
@@ -191,8 +189,7 @@ function K() {
191
189
  } catch (t) {
192
190
  throw ut.length = 0, ot = 0, t;
193
191
  }
194
- for (kt(null), ut.length = 0, ot = 0; Cr.length; )
195
- Cr.pop()();
192
+ for (kt(null), ut.length = 0, ot = 0; Cr.length; ) Cr.pop()();
196
193
  for (let t = 0; t < ht.length; t += 1) {
197
194
  const r = ht[t];
198
195
  pr.has(r) || (pr.add(r), r());
@@ -645,8 +642,7 @@ var wr = function(e, t) {
645
642
  return wr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
646
643
  r.__proto__ = n;
647
644
  } || function(r, n) {
648
- for (var i in n)
649
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
645
+ for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
650
646
  }, wr(e, t);
651
647
  };
652
648
  function or(e, t) {
@@ -662,25 +658,22 @@ var Ae = function() {
662
658
  return Ae = Object.assign || function(t) {
663
659
  for (var r, n = 1, i = arguments.length; n < i; n++) {
664
660
  r = arguments[n];
665
- for (var s in r)
666
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
661
+ for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
667
662
  }
668
663
  return t;
669
664
  }, Ae.apply(this, arguments);
670
665
  };
671
666
  function ji(e, t) {
672
667
  var r = {};
673
- for (var n in e)
674
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
668
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
675
669
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
676
670
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
677
671
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
678
672
  return r;
679
673
  }
680
674
  function gr(e, t, r) {
681
- if (r || arguments.length === 2)
682
- for (var n = 0, i = t.length, s; n < i; n++)
683
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
675
+ if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
676
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
684
677
  return e.concat(s || Array.prototype.slice.call(t));
685
678
  }
686
679
  function br(e, t) {
@@ -735,8 +728,7 @@ var qi = function() {
735
728
  return rr = Object.assign || function(t) {
736
729
  for (var r, n = 1, i = arguments.length; n < i; n++) {
737
730
  r = arguments[n];
738
- for (var s in r)
739
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
731
+ for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
740
732
  }
741
733
  return t;
742
734
  }, rr.apply(this, arguments);
@@ -882,8 +874,7 @@ var R = function() {
882
874
  return R = Object.assign || function(t) {
883
875
  for (var r, n = 1, i = arguments.length; n < i; n++) {
884
876
  r = arguments[n];
885
- for (var s in r)
886
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
877
+ for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
887
878
  }
888
879
  return t;
889
880
  }, R.apply(this, arguments);
@@ -2525,8 +2516,7 @@ function os(e, t) {
2525
2516
  r += c;
2526
2517
  for (; o-- > 0; )
2527
2518
  r = a + r;
2528
- } else
2529
- i === "J" ? r += "H" : r += i;
2519
+ } else i === "J" ? r += "H" : r += i;
2530
2520
  }
2531
2521
  return r;
2532
2522
  }
@@ -3129,8 +3119,7 @@ function Pr(e) {
3129
3119
  if (delete t.location, kn(t) || In(t))
3130
3120
  for (var r in t.options)
3131
3121
  delete t.options[r].location, Pr(t.options[r].value);
3132
- else
3133
- On(t) && Rn(t.style) || (Mn(t) || Nn(t)) && Sr(t.style) ? delete t.style.location : Ln(t) && Pr(t.children);
3122
+ else On(t) && Rn(t.style) || (Mn(t) || Nn(t)) && Sr(t.style) ? delete t.style.location : Ln(t) && Pr(t.children);
3134
3123
  });
3135
3124
  }
3136
3125
  function Ss(e, t) {
@@ -3974,8 +3963,7 @@ function go(e, t) {
3974
3963
  }
3975
3964
  }
3976
3965
  function bo(e, t) {
3977
- if (!e || !t)
3978
- return;
3966
+ if (!e || !t) return;
3979
3967
  const r = new URL(t);
3980
3968
  fetch(r.href).then((n) => n.text()).then((n) => {
3981
3969
  const i = document.createElement("style");
@@ -3985,8 +3973,7 @@ function bo(e, t) {
3985
3973
  });
3986
3974
  }
3987
3975
  function yo(e, t, r, n = !1) {
3988
- if (!window.emMessageBus)
3989
- return;
3976
+ if (!window.emMessageBus) return;
3990
3977
  if (!("adoptedStyleSheets" in Document.prototype) || !n)
3991
3978
  return r = _o(e, t), r;
3992
3979
  window[ct] || (window[ct] = {}), r = Eo(e, t);
@@ -4007,8 +3994,7 @@ function _o(e, t) {
4007
3994
  }
4008
3995
  function Eo(e, t) {
4009
3996
  return window.emMessageBus.subscribe(t, (r) => {
4010
- if (!e)
4011
- return;
3997
+ if (!e) return;
4012
3998
  const n = e.getRootNode(), i = window[ct];
4013
3999
  let s = i[t] && i[t].sheet;
4014
4000
  s ? i[t].refCount = i[t].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(r), i[t] = {
@@ -45,8 +45,7 @@ function jn(e, t, r) {
45
45
  }
46
46
  }
47
47
  function zn(e) {
48
- if (!e)
49
- return document;
48
+ if (!e) return document;
50
49
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
51
50
  return t && /** @type {ShadowRoot} */
52
51
  t.host ? (
@@ -130,8 +129,7 @@ function Ht(e) {
130
129
  Bt = e;
131
130
  }
132
131
  function qn() {
133
- if (!Bt)
134
- throw new Error("Function called outside component initialization");
132
+ if (!Bt) throw new Error("Function called outside component initialization");
135
133
  return Bt;
136
134
  }
137
135
  function Zn(e) {
@@ -162,8 +160,7 @@ function Y() {
162
160
  } catch (t) {
163
161
  throw ot.length = 0, nt = 0, t;
164
162
  }
165
- for (Ht(null), ot.length = 0, nt = 0; dr.length; )
166
- dr.pop()();
163
+ for (Ht(null), ot.length = 0, nt = 0; dr.length; ) dr.pop()();
167
164
  for (let t = 0; t < lt.length; t += 1) {
168
165
  const r = lt[t];
169
166
  or.has(r) || (or.add(r), r());
@@ -608,8 +605,7 @@ var pr = function(e, t) {
608
605
  return pr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
609
606
  r.__proto__ = n;
610
607
  } || function(r, n) {
611
- for (var i in n)
612
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
608
+ for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
613
609
  }, pr(e, t);
614
610
  };
615
611
  function er(e, t) {
@@ -625,25 +621,22 @@ var xe = function() {
625
621
  return xe = Object.assign || function(t) {
626
622
  for (var r, n = 1, i = arguments.length; n < i; n++) {
627
623
  r = arguments[n];
628
- for (var s in r)
629
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
624
+ for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
630
625
  }
631
626
  return t;
632
627
  }, xe.apply(this, arguments);
633
628
  };
634
629
  function Si(e, t) {
635
630
  var r = {};
636
- for (var n in e)
637
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
631
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
638
632
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
639
633
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
640
634
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
641
635
  return r;
642
636
  }
643
637
  function ar(e, t, r) {
644
- if (r || arguments.length === 2)
645
- for (var n = 0, i = t.length, s; n < i; n++)
646
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
638
+ if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
639
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
647
640
  return e.concat(s || Array.prototype.slice.call(t));
648
641
  }
649
642
  function lr(e, t) {
@@ -698,8 +691,7 @@ var Pi = function() {
698
691
  return Qt = Object.assign || function(t) {
699
692
  for (var r, n = 1, i = arguments.length; n < i; n++) {
700
693
  r = arguments[n];
701
- for (var s in r)
702
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
694
+ for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
703
695
  }
704
696
  return t;
705
697
  }, Qt.apply(this, arguments);
@@ -845,8 +837,7 @@ var R = function() {
845
837
  return R = Object.assign || function(t) {
846
838
  for (var r, n = 1, i = arguments.length; n < i; n++) {
847
839
  r = arguments[n];
848
- for (var s in r)
849
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
840
+ for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
850
841
  }
851
842
  return t;
852
843
  }, R.apply(this, arguments);
@@ -2488,8 +2479,7 @@ function zi(e, t) {
2488
2479
  r += f;
2489
2480
  for (; o-- > 0; )
2490
2481
  r = u + r;
2491
- } else
2492
- i === "J" ? r += "H" : r += i;
2482
+ } else i === "J" ? r += "H" : r += i;
2493
2483
  }
2494
2484
  return r;
2495
2485
  }
@@ -3092,8 +3082,7 @@ function vr(e) {
3092
3082
  if (delete t.location, Cn(t) || xn(t))
3093
3083
  for (var r in t.options)
3094
3084
  delete t.options[r].location, vr(t.options[r].value);
3095
- else
3096
- _n(t) && Sn(t.style) || (En(t) || vn(t)) && gr(t.style) ? delete t.style.location : wn(t) && vr(t.children);
3085
+ else _n(t) && Sn(t.style) || (En(t) || vn(t)) && gr(t.style) ? delete t.style.location : wn(t) && vr(t.children);
3097
3086
  });
3098
3087
  }
3099
3088
  function ls(e, t) {
@@ -3937,8 +3926,7 @@ function Ys(e, t) {
3937
3926
  }
3938
3927
  }
3939
3928
  function Ks(e, t) {
3940
- if (!e || !t)
3941
- return;
3929
+ if (!e || !t) return;
3942
3930
  const r = new URL(t);
3943
3931
  fetch(r.href).then((n) => n.text()).then((n) => {
3944
3932
  const i = document.createElement("style");
@@ -3948,8 +3936,7 @@ function Ks(e, t) {
3948
3936
  });
3949
3937
  }
3950
3938
  function eo(e, t, r, n = !1) {
3951
- if (!window.emMessageBus)
3952
- return;
3939
+ if (!window.emMessageBus) return;
3953
3940
  if (!("adoptedStyleSheets" in Document.prototype) || !n)
3954
3941
  return r = to(e, t), r;
3955
3942
  window[at] || (window[at] = {}), r = ro(e, t);
@@ -3970,8 +3957,7 @@ function to(e, t) {
3970
3957
  }
3971
3958
  function ro(e, t) {
3972
3959
  return window.emMessageBus.subscribe(t, (r) => {
3973
- if (!e)
3974
- return;
3960
+ if (!e) return;
3975
3961
  const n = e.getRootNode(), i = window[at];
3976
3962
  let s = i[t] && i[t].sheet;
3977
3963
  s ? i[t].refCount = i[t].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(r), i[t] = {
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralPlayerRegisterFormStep3Nd-CBHgqDm6.cjs")).then(({default:t})=>{!customElements.get("general-player-register-form-step3-nd")&&customElements.define("general-player-register-form-step3-nd",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralPlayerRegisterFormStep3Nd-CbOIQ0KM.cjs")).then(({default:t})=>{!customElements.get("general-player-register-form-step3-nd")&&customElements.define("general-player-register-form-step3-nd",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/GeneralPlayerRegisterFormStep3Nd-dPpZGSfw.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/GeneralPlayerRegisterFormStep3Nd-DM6KuBCl.js").then(({ default: t }) => {
14
14
  !customElements.get("general-player-register-form-step3-nd") && customElements.define("general-player-register-form-step3-nd", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { G as n } from "../components/GeneralPlayerRegisterFormStep3Nd-62oJgUPk.js";
1
+ import { G as n } from "../components/GeneralPlayerRegisterFormStep3Nd-DPpPBr2W.js";
2
2
  function s(t) {
3
3
  return function(...r) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/general-player-register-form-step3-nd",
3
- "version": "1.99.56",
3
+ "version": "1.99.59",
4
4
  "type": "module",
5
5
  "main": "es2015/general-player-register-form-step3-nd.cjs",
6
6
  "module": "esnext/general-player-register-form-step3-nd.js",