@everymatrix/loyalty-marketing-content 0.2.4 → 0.2.5
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.
- package/components/{LoyaltyMarketingContent-Dd6TMKj7.js → LoyaltyMarketingContent-BcFPg03A.js} +5 -5
- package/components/{LoyaltyMarketingContent-DQ0HI7oM.js → LoyaltyMarketingContent-CcujcOkx.js} +5 -5
- package/components/{LoyaltyMarketingContent-BZxDLl1n.cjs → LoyaltyMarketingContent-Cxb7zdlR.cjs} +3 -3
- package/components/{LoyaltyMarketingContent-DErOTzSl.cjs → LoyaltyMarketingContent-sxXw3RAs.cjs} +3 -3
- package/es2015/loyalty-marketing-content.cjs +1 -1
- package/es2015/loyalty-marketing-content.js +2 -2
- package/esnext/loyalty-marketing-content.cjs +1 -1
- package/esnext/loyalty-marketing-content.js +2 -2
- package/package.json +1 -1
package/components/{LoyaltyMarketingContent-Dd6TMKj7.js → LoyaltyMarketingContent-BcFPg03A.js}
RENAMED
|
@@ -6661,13 +6661,13 @@ const rf = {
|
|
|
6661
6661
|
faqSupportAnswer: "A {operatorName} a hét minden napján, 24 órában elérhető ügyfélszolgálatot biztosít gyors és hatékony segítséggel."
|
|
6662
6662
|
}
|
|
6663
6663
|
};
|
|
6664
|
-
var nf = /* @__PURE__ */ Ys('<div class="faq__item
|
|
6664
|
+
var nf = /* @__PURE__ */ Ys('<div class="faq__item"><button class="faq__title" type="button"><span class="faq__question"> </span> <span><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M4 6l4 4 4-4" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"></path></svg></span></button> <div><div class="faq__answer"> </div></div></div>'), sf = /* @__PURE__ */ Ys('<div class="faq"><div class="faq__list"></div></div>');
|
|
6665
6665
|
const af = {
|
|
6666
6666
|
hash: "svelte-tlosd8",
|
|
6667
|
-
code: `.faq
|
|
6668
|
-
.faq__title
|
|
6667
|
+
code: `.faq {color:var(--text-default, #FFFFFF);width:100%;box-sizing:border-box;}.faq__list {display:flex;flex-direction:column;gap:12px;}.faq__item {background:var(--app-container-bg-default, #022652);border-radius:6px;border:1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));overflow:hidden;padding:16px;}.faq__title {width:100%;display:flex;justify-content:space-between;align-items:flex-start;background:transparent;color:var(--text-default, #FFFFFF);font-size:12px;font-weight:700;line-height:1.4;text-align:left;cursor:pointer;border:none;padding:0;}.faq__title:hover {background:transparent;}.faq__title,
|
|
6668
|
+
.faq__title * {-webkit-tap-highlight-color:transparent;}.faq__question {text-align:left;}.faq__icon {flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;color:var(--text-default, #FFFFFF);transition:transform 0.25s ease;}.faq__icon--open {transform:rotate(180deg);}.faq__answer-wrapper {display:grid;grid-template-rows:0fr;opacity:0;transform:translateY(-4px);transition:grid-template-rows 0.35s ease,
|
|
6669
6669
|
opacity 0.2s ease,
|
|
6670
|
-
transform 0.25s ease;}.faq__answer
|
|
6670
|
+
transform 0.25s ease;}.faq__answer {overflow:hidden;font-size:12px;font-weight:500;line-height:1.5;color:var(--text-subtle, #DFE3E8);}.faq__answer-wrapper.open {grid-template-rows:1fr;opacity:1;transform:translateY(0);padding-top:16px;}`
|
|
6671
6671
|
};
|
|
6672
6672
|
function Ha(e, t) {
|
|
6673
6673
|
oi(t, !0), Zo(e, af);
|
|
@@ -6725,7 +6725,7 @@ function Ha(e, t) {
|
|
|
6725
6725
|
var tt = yr(F), Pt = Oi(tt, !0);
|
|
6726
6726
|
Dt(F), Dt(re), Ho(
|
|
6727
6727
|
(S, _) => {
|
|
6728
|
-
tu(k, "aria-expanded", !!X(c)[R]), Ci(be, S), ee = Ri(ue, 1, "faq__icon
|
|
6728
|
+
tu(k, "aria-expanded", !!X(c)[R]), Ci(be, S), ee = Ri(ue, 1, "faq__icon", null, ee, { "faq__icon--open": X(c)[R] }), N = Ri(F, 1, "faq__answer-wrapper", null, N, { open: X(c)[R] }), Ci(Pt, _);
|
|
6729
6729
|
},
|
|
6730
6730
|
[
|
|
6731
6731
|
() => r()(X($).questionKey, { values: { operatorName: o() } }),
|
package/components/{LoyaltyMarketingContent-DQ0HI7oM.js → LoyaltyMarketingContent-CcujcOkx.js}
RENAMED
|
@@ -6585,13 +6585,13 @@ const Iu = {
|
|
|
6585
6585
|
faqSupportAnswer: "A {operatorName} a hét minden napján, 24 órában elérhető ügyfélszolgálatot biztosít gyors és hatékony segítséggel."
|
|
6586
6586
|
}
|
|
6587
6587
|
};
|
|
6588
|
-
var Cu = /* @__PURE__ */ Li('<div class="faq__item
|
|
6588
|
+
var Cu = /* @__PURE__ */ Li('<div class="faq__item"><button class="faq__title" type="button"><span class="faq__question"> </span> <span><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M4 6l4 4 4-4" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"></path></svg></span></button> <div><div class="faq__answer"> </div></div></div>'), Lu = /* @__PURE__ */ Li('<div class="faq"><div class="faq__list"></div></div>');
|
|
6589
6589
|
const Ru = {
|
|
6590
6590
|
hash: "svelte-tlosd8",
|
|
6591
|
-
code: `.faq
|
|
6592
|
-
.faq__title
|
|
6591
|
+
code: `.faq {color:var(--text-default, #FFFFFF);width:100%;box-sizing:border-box;}.faq__list {display:flex;flex-direction:column;gap:12px;}.faq__item {background:var(--app-container-bg-default, #022652);border-radius:6px;border:1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));overflow:hidden;padding:16px;}.faq__title {width:100%;display:flex;justify-content:space-between;align-items:flex-start;background:transparent;color:var(--text-default, #FFFFFF);font-size:12px;font-weight:700;line-height:1.4;text-align:left;cursor:pointer;border:none;padding:0;}.faq__title:hover {background:transparent;}.faq__title,
|
|
6592
|
+
.faq__title * {-webkit-tap-highlight-color:transparent;}.faq__question {text-align:left;}.faq__icon {flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;color:var(--text-default, #FFFFFF);transition:transform 0.25s ease;}.faq__icon--open {transform:rotate(180deg);}.faq__answer-wrapper {display:grid;grid-template-rows:0fr;opacity:0;transform:translateY(-4px);transition:grid-template-rows 0.35s ease,
|
|
6593
6593
|
opacity 0.2s ease,
|
|
6594
|
-
transform 0.25s ease;}.faq__answer
|
|
6594
|
+
transform 0.25s ease;}.faq__answer {overflow:hidden;font-size:12px;font-weight:500;line-height:1.5;color:var(--text-subtle, #DFE3E8);}.faq__answer-wrapper.open {grid-template-rows:1fr;opacity:1;transform:translateY(0);padding-top:16px;}`
|
|
6595
6595
|
};
|
|
6596
6596
|
function hs(e, t) {
|
|
6597
6597
|
Kr(t, !0), Ha(e, Ru);
|
|
@@ -6649,7 +6649,7 @@ function hs(e, t) {
|
|
|
6649
6649
|
var Ie = $t(I), rt = bn(Ie, !0);
|
|
6650
6650
|
at(I), at(Q), ia(
|
|
6651
6651
|
(E, m) => {
|
|
6652
|
-
Ma(P, "aria-expanded", !!G(h)[M]), Tn(ie, E), he = Hn(V, 1, "faq__icon
|
|
6652
|
+
Ma(P, "aria-expanded", !!G(h)[M]), Tn(ie, E), he = Hn(V, 1, "faq__icon", null, he, { "faq__icon--open": G(h)[M] }), x = Hn(I, 1, "faq__answer-wrapper", null, x, { open: G(h)[M] }), Tn(rt, m);
|
|
6653
6653
|
},
|
|
6654
6654
|
[
|
|
6655
6655
|
() => r()(G(T).questionKey, { values: { operatorName: o() } }),
|
package/components/{LoyaltyMarketingContent-BZxDLl1n.cjs → LoyaltyMarketingContent-Cxb7zdlR.cjs}
RENAMED
|
@@ -2,7 +2,7 @@ var $a=Object.defineProperty,Ba=Object.defineProperties;var Ma=Object.getOwnProp
|
|
|
2
2
|
`).some(u=>u.startsWith("https://svelte.dev/e/")))throw a;return a!==ct&&console.warn("Failed to hydrate: ",a),t.recover===!1&&to(),Ln(),Ms(r),_t(!1),ta(e,t)}finally{_t(n),Te(i)}}const kr=new Map;function ra(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:o=!0,transformError:a}){Ln();var u=void 0,l=To(()=>{var f=r!=null?r:t.appendChild(ht());Uo(f,{pending:()=>{}},v=>{oi({});var d=Ce;if(s&&(d.c=s),i&&(n.$$events=i),U&&Dn(v,null),u=e(v,n)||vs(),U&&(C.nodes.end=V,V===null||V.nodeType!==Lr||V.data!==ni))throw on(),ct;ui()},a);var c=new Set,p=v=>{for(var d=0;d<v.length;d++){var g=v[d];if(!c.has(g)){c.add(g);var x=ko(g);for(const R of[t,document]){var y=kr.get(R);y===void 0&&(y=new Map,kr.set(R,y));var $=y.get(g);$===void 0?(R.addEventListener(g,Ci,{passive:x}),y.set(g,1)):y.set(g,$+1)}}}};return p(sn(Ys)),Rn.add(p),()=>{var x;for(var v of c)for(const y of[t,document]){var d=kr.get(y),g=d.get(v);--g==0?(y.removeEventListener(v,Ci),d.delete(v),d.size===0&&kr.delete(y)):d.set(v,g)}Rn.delete(p),f!==r&&((x=f.parentNode)==null||x.removeChild(f))}});return qn.set(u,l),u}let qn=new WeakMap;function Vo(e,t){const r=qn.get(e);return r?(qn.delete(e),r(t)):Promise.resolve()}function zo(e,t){return t}function Wo(e,t,r){var c;for(var n=[],i=t.length,s,o=t.length,a=0;a<i;a++){let p=t[a];jt(p,()=>{if(s){if(s.pending.delete(p),s.done.add(p),s.pending.size===0){var v=e.outrogroups;Vn(e,sn(s.done)),v.delete(s),v.size===0&&(e.outrogroups=null)}}else o-=1},!1)}if(o===0){var u=n.length===0&&r!==null&&e.pending.size===0;if(u){var l=r,f=l.parentNode;Ms(f),f.append(l),e.items.clear()}Vn(e,t,!u)}else s={pending:new Set(t),done:new Set},((c=e.outrogroups)!=null?c:e.outrogroups=new Set).add(s)}function Vn(e,t,r=!0){var n;if(e.pending.size>0){n=new Set;for(const o of e.pending.values())for(const a of o)n.add(e.items.get(a).e)}for(var i=0;i<t.length;i++){var s=t[i];if(n!=null&&n.has(s)){s.f|=Ye;const o=document.createDocumentFragment();Us(s,o)}else Ae(t[i],r)}}var Lt;function Xo(e,t,r,n,i,s=null){var o=e,a=new Map;{var u=e;o=U?Te(tr(u)):u.appendChild(ht())}U&&ai();var l=null,f=co(()=>{var y=r();return ss(y)?y:y==null?[]:sn(y)}),c=new Map,p=!0;function v(y){if(!(x.effect.f&ie)){x.pending.delete(y);var $=X(f);x.fallback=l,Qo(x,$,o,t,n),l!==null&&($.length===0?l.f&Ye?(l.f^=Ye,xr(l,null,o)):Fs(l):jt(l,()=>{l=null}))}}function d(y){x.pending.delete(y)}var g=Ls(()=>{var y=X(f),$=y.length;let R=!1;if(U){var re=hs(o)===ri;re!==($===0)&&(o=$n(),Te(o),_t(!1),R=!0)}for(var k=new Set,j=A,be=yo(),ue=0;ue<$;ue+=1){U&&V.nodeType===Lr&&V.data===ni&&(o=V,R=!0,_t(!1));var ee=y[ue],F=n(ee,ue),N=p?null:a.get(F);N?(N.v&&er(N.v,ee),N.i&&er(N.i,ue),be&&j.unskip_effect(N.e)):(N=Yo(a,p?o:Lt!=null?Lt:Lt=ht(),ee,F,ue,i,t,r),p||(N.e.f|=Ye),a.set(F,N)),k.add(F)}if($===0&&s&&!l&&(p?l=Le(()=>s(o)):(l=Le(()=>s(Lt!=null?Lt:Lt=ht())),l.f|=Ye)),$>k.size&&Ka(),U&&$>0&&Te($n()),!p)if(c.set(j,k),be){for(const[tt,Pt]of a)k.has(tt)||j.skip_effect(Pt.e);j.oncommit(v),j.ondiscard(d)}else v(j);R&&_t(!0),X(f)}),x={effect:g,items:a,pending:c,outrogroups:null,fallback:l};p=!1,U&&(o=V)}function pr(e){for(;e!==null&&!(e.f&Ue);)e=e.next;return e}function Qo(e,t,r,n,i){var ue;var s=t.length,o=e.items,a=pr(e.effect.first),u,l=null,f=[],c=[],p,v,d,g;for(g=0;g<s;g+=1){if(p=t[g],v=i(p,g),d=o.get(v).e,e.outrogroups!==null)for(const ee of e.outrogroups)ee.pending.delete(d),ee.done.delete(d);if(d.f&he&&Fs(d),d.f&Ye)if(d.f^=Ye,d===a)xr(d,null,r);else{var x=l?l.next:a;d===e.effect.last&&(e.effect.last=d.prev),d.prev&&(d.prev.next=d.next),d.next&&(d.next.prev=d.prev),nt(e,l,d),nt(e,d,x),xr(d,x,r),l=d,f=[],c=[],a=pr(l.next);continue}if(d!==a){if(u!==void 0&&u.has(d)){if(f.length<c.length){var y=c[0],$;l=y.prev;var R=f[0],re=f[f.length-1];for($=0;$<f.length;$+=1)xr(f[$],y,r);for($=0;$<c.length;$+=1)u.delete(c[$]);nt(e,R.prev,re.next),nt(e,l,R),nt(e,re,y),a=y,l=re,g-=1,f=[],c=[]}else u.delete(d),xr(d,a,r),nt(e,d.prev,d.next),nt(e,d,l===null?e.effect.first:l.next),nt(e,l,d),l=d;continue}for(f=[],c=[];a!==null&&a!==d;)(u!=null?u:u=new Set).add(a),c.push(a),a=pr(a.next);if(a===null)continue}d.f&Ye||f.push(d),l=d,a=pr(d.next)}if(e.outrogroups!==null){for(const ee of e.outrogroups)ee.pending.size===0&&(Vn(e,sn(ee.done)),(ue=e.outrogroups)==null||ue.delete(ee));e.outrogroups.size===0&&(e.outrogroups=null)}if(a!==null||u!==void 0){var k=[];if(u!==void 0)for(d of u)d.f&he||k.push(d);for(;a!==null;)!(a.f&he)&&a!==e.fallback&&k.push(a),a=pr(a.next);var j=k.length;if(j>0){var be=s===0?r:null;Wo(e,k,be)}}}function Yo(e,t,r,n,i,s,o,a){var u=o&La?o&Da?Ht(r):pi(r,!1,!1):null,l=o&Ra?Ht(i):null;return{v:u,i:l,e:Le(()=>(s(t,u!=null?u:r,l!=null?l:i,a),()=>{e.delete(n)}))}}function xr(e,t,r){if(e.nodes)for(var n=e.nodes.start,i=e.nodes.end,s=t&&!(t.f&Ye)?t.nodes.start:r;n!==null;){var o=et(n);if(s.before(n),n===i)return;n=o}}function nt(e,t,r){t===null?e.effect.first=r:t.next=r,r===null?e.effect.last=t:r.prev=t}function Zo(e,t){Ao(()=>{var i,s,o,a;e=(o=(s=(i=C==null?void 0:C.parent)==null?void 0:i.nodes)==null?void 0:s.start)!=null?o:e;var r=e.getRootNode(),n=r.host?r:(a=r.head)!=null?a:r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const u=vi("style");u.id=t.hash,u.textContent=t.code,n.appendChild(u)}})}const Ri=[...`
|
|
3
3
|
\r\f \v\uFEFF`];function Jo(e,t,r){var n=e==null?"":""+e;if(r){for(var i of Object.keys(r))if(r[i])n=n?n+" "+i:i;else if(n.length)for(var s=i.length,o=0;(o=n.indexOf(i,o))>=0;){var a=o+s;(o===0||Ri.includes(n[o-1]))&&(a===n.length||Ri.includes(n[a]))?n=(o===0?"":n.substring(0,o))+n.substring(a+1):o=a}}return n===""?null:n}function Di(e,t,r,n,i,s){var o=e[On];if(U||o!==r||o===void 0){var a=Jo(r,n,s);(!U||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):e.className=a),e[On]=r}else if(s&&i!==s)for(var u in s){var l=!!s[u];(i==null||l!==!!i[u])&&e.classList.toggle(u,l)}return s}const Ko=Symbol("is custom element"),eu=Symbol("is html");function tu(e,t,r,n){var i=ru(e);U&&(i[t]=e.getAttribute(t)),i[t]!==(i[t]=r)&&(r==null?e.removeAttribute(t):typeof r!="string"&&nu(e).has(t)?e[t]=r:e.setAttribute(t,r))}function ru(e){var t;return(t=e[Gr])!=null?t:e[Gr]={[Ko]:e.nodeName.includes("-"),[eu]:e.namespaceURI===Fa}}var ki=new Map;function nu(e){var t=e.getAttribute("is")||e.nodeName,r=ki.get(t);if(r)return r;ki.set(t,r=new Set);for(var n,i=e,s=Element.prototype;s!==i;){n=Ua(i);for(var o in n)n[o].set&&o!=="innerHTML"&&o!=="textContent"&&o!=="innerText"&&r.add(o);i=as(i)}return r}function _i(e,t,r){if(e==null)return t(void 0),r&&r(void 0),Je;const n=Qs(()=>e.subscribe(t,r));return n.unsubscribe?()=>n.unsubscribe():n}const Rt=[];function iu(e,t){return{subscribe:ln(e,t).subscribe}}function ln(e,t=Je){let r=null;const n=new Set;function i(a){if(ds(e,a)&&(e=a,r)){const u=!Rt.length;for(const l of n)l[1](),Rt.push(l,e);if(u){for(let l=0;l<Rt.length;l+=2)Rt[l][0](Rt[l+1]);Rt.length=0}}}function s(a){i(a(e))}function o(a,u=Je){const l=[a,u];return n.add(l),n.size===1&&(r=t(i,s)||Je),a(e),()=>{n.delete(l),n.size===0&&r&&(r(),r=null)}}return{set:i,update:s,subscribe:o}}function or(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 iu(r,(o,a)=>{let u=!1;const l=[];let f=0,c=Je;const p=()=>{if(f)return;c();const d=t(n?l[0]:l,o,a);s?o(d):c=typeof d=="function"?d:Je},v=i.map((d,g)=>_i(d,x=>{l[g]=x,f&=~(1<<g),u&&p()},()=>{f|=1<<g}));return u=!0,p(),function(){os(v),c(),u=!1}})}function su(e){let t;return _i(e,r=>t=r)(),t}let zn=Symbol("unmounted");function au(e,t,r){var s;const n=(s=r[t])!=null?s:r[t]={store:null,source:pi(void 0),unsubscribe:Je};if(n.store!==e&&!(zn in r))if(n.unsubscribe(),n.store=e!=null?e:null,e==null)n.source.v=void 0,n.unsubscribe=Je;else{var i=!0;n.unsubscribe=_i(e,o=>{i?n.source.v=o:Be(n.source,o)}),i=!1}return e&&zn in r?su(e):X(n.source)}function ou(){const e={};function t(){Is(()=>{for(var r in e)e[r].unsubscribe();Zt(e,zn,{enumerable:!1,value:!0})})}return[e,t]}function ot(e,t,r,n){var i=n,s=!0,o=()=>(s&&(s=!1,i=n),i),a;a=e[t],a===void 0&&n!==void 0&&(a=o());var u;u=()=>{var p=e[t];return p===void 0?o():(s=!0,p)};var l=!1,f=fi(()=>(l=!1,u())),c=C;return function(p,v){if(arguments.length>0){const d=v?X(f):p;return Be(f,d),l=!0,i!==void 0&&(i=d),p}return pt&&l||c.f&ie?f.v:X(f)}}function uu(e){return new lu(e)}var Qe,we;class lu{constructor(t){M(this,Qe);M(this,we);var s,o;var r=new Map,n=(a,u)=>{var l=pi(u,!1,!1);return r.set(a,l),l};const i=new Proxy(dr(cr({},t.props||{}),{$$events:{}}),{get(a,u){var l;return X((l=r.get(u))!=null?l:n(u,Reflect.get(a,u)))},has(a,u){var l;return u===Wa?!0:(X((l=r.get(u))!=null?l:n(u,Reflect.get(a,u))),Reflect.has(a,u))},set(a,u,l){var f;return Be((f=r.get(u))!=null?f:n(u,l),l),Reflect.set(a,u,l)}});T(this,we,(t.hydrate?qo:ta)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:(s=t.intro)!=null?s:!1,recover:t.recover,transformError:t.transformError})),(!((o=t==null?void 0:t.props)!=null&&o.$$host)||t.sync===!1)&&Ze(),T(this,Qe,i.$$events);for(const a of Object.keys(h(this,we)))a==="$set"||a==="$destroy"||a==="$on"||Zt(this,a,{get(){return h(this,we)[a]},set(u){h(this,we)[a]=u},enumerable:!0});h(this,we).$set=a=>{Object.assign(i,a)},h(this,we).$destroy=()=>{Vo(h(this,we))}}$set(t){h(this,we).$set(t)}$on(t,r){h(this,Qe)[t]=h(this,Qe)[t]||[];const n=(...i)=>r.call(this,...i);return h(this,Qe)[t].push(n),()=>{h(this,Qe)[t]=h(this,Qe)[t].filter(i=>i!==n)}}$destroy(){h(this,we).$destroy()}}Qe=new WeakMap,we=new WeakMap;let na;typeof HTMLElement=="function"&&(na=class extends HTMLElement{constructor(t,r,n){super();z(this,"$$ctor");z(this,"$$s");z(this,"$$c");z(this,"$$cn",!1);z(this,"$$d",{});z(this,"$$r",!1);z(this,"$$p_d",{});z(this,"$$l",{});z(this,"$$l_u",new Map);z(this,"$$me");z(this,"$$shadowRoot",null);this.$$ctor=t,this.$$s=r,n&&(this.$$shadowRoot=this.attachShadow(n))}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 Si(this,null,function*(){if(this.$$cn=!0,!this.$$c){let r=function(s){return o=>{const a=vi("slot");s!=="default"&&(a.name=s),kn(o,a)}};var t=r;if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=fu(this);for(const s of this.$$s)s in i&&(s==="default"&&!this.$$d.children?(this.$$d.children=r(s),n.default=!0):n[s]=r(s));for(const s of this.attributes){const o=this.$$g_p(s.name);o in this.$$d||(this.$$d[o]=qr(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=uu({component:this.$$ctor,target:this.$$shadowRoot||this,props:dr(cr({},this.$$d),{$$slots:n,$$host:this})}),this.$$me=So(()=>{Cs(()=>{var s;this.$$r=!0;for(const o of Wr(this.$$c)){if(!((s=this.$$p_d[o])!=null&&s.reflect))continue;this.$$d[o]=this.$$c[o];const a=qr(o,this.$$d[o],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,a)}this.$$r=!1})});for(const s in this.$$l)for(const o of this.$$l[s]){const a=this.$$c.$on(s,o);this.$$l_u.set(o,a)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=qr(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.$$me(),this.$$c=void 0)})}$$g_p(t){return Wr(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function qr(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 fu(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function ia(e,t,r,n,i,s){let o=class extends na{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Wr(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Wr(t).forEach(a=>{Zt(o.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(u){var c;u=qr(a,u,t),this.$$d[a]=u;var l=this.$$c;if(l){var f=(c=Gt(l,a))==null?void 0:c.get;f?l[a]=u:l.$set({[a]:u})}}})}),n.forEach(a=>{Zt(o.prototype,a,{get(){var u;return(u=this.$$c)==null?void 0:u[a]}})}),e.element=o,o}var hu=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function cu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var du={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(hu,function(){var r=1e3,n=6e4,i=36e5,s="millisecond",o="second",a="minute",u="hour",l="day",f="week",c="month",p="quarter",v="year",d="date",g="Invalid Date",x=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,$={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(S){var _=["th","st","nd","rd"],m=S%100;return"["+S+(_[(m-20)%10]||_[m]||_[0])+"]"}},R=function(S,_,m){var E=String(S);return!E||E.length>=_?S:""+Array(_+1-E.length).join(m)+S},re={s:R,z:function(S){var _=-S.utcOffset(),m=Math.abs(_),E=Math.floor(m/60),b=m%60;return(_<=0?"+":"-")+R(E,2,"0")+":"+R(b,2,"0")},m:function S(_,m){if(_.date()<m.date())return-S(m,_);var E=12*(m.year()-_.year())+(m.month()-_.month()),b=_.clone().add(E,c),H=m-b<0,O=_.clone().add(E+(H?-1:1),c);return+(-(E+(m-b)/(H?b-O:O-b))||0)},a:function(S){return S<0?Math.ceil(S)||0:Math.floor(S)},p:function(S){return{M:c,y:v,w:f,d:l,D:d,h:u,m:a,s:o,ms:s,Q:p}[S]||String(S||"").toLowerCase().replace(/s$/,"")},u:function(S){return S===void 0}},k="en",j={};j[k]=$;var be="$isDayjsObject",ue=function(S){return S instanceof tt||!(!S||!S[be])},ee=function S(_,m,E){var b;if(!_)return k;if(typeof _=="string"){var H=_.toLowerCase();j[H]&&(b=H),m&&(j[H]=m,b=H);var O=_.split("-");if(!b&&O.length>1)return S(O[0])}else{var G=_.name;j[G]=_,b=G}return!E&&b&&(k=b),b||!E&&k},F=function(S,_){if(ue(S))return S.clone();var m=typeof _=="object"?_:{};return m.date=S,m.args=arguments,new tt(m)},N=re;N.l=ee,N.i=ue,N.w=function(S,_){return F(S,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var tt=function(){function S(m){this.$L=ee(m.locale,null,!0),this.parse(m),this.$x=this.$x||m.x||{},this[be]=!0}var _=S.prototype;return _.parse=function(m){this.$d=function(E){var b=E.date,H=E.utc;if(b===null)return new Date(NaN);if(N.u(b))return new Date;if(b instanceof Date)return new Date(b);if(typeof b=="string"&&!/Z$/i.test(b)){var O=b.match(x);if(O){var G=O[2]-1||0,Y=(O[7]||"0").substring(0,3);return H?new Date(Date.UTC(O[1],G,O[3]||1,O[4]||0,O[5]||0,O[6]||0,Y)):new Date(O[1],G,O[3]||1,O[4]||0,O[5]||0,O[6]||0,Y)}}return new Date(b)}(m),this.init()},_.init=function(){var m=this.$d;this.$y=m.getFullYear(),this.$M=m.getMonth(),this.$D=m.getDate(),this.$W=m.getDay(),this.$H=m.getHours(),this.$m=m.getMinutes(),this.$s=m.getSeconds(),this.$ms=m.getMilliseconds()},_.$utils=function(){return N},_.isValid=function(){return this.$d.toString()!==g},_.isSame=function(m,E){var b=F(m);return this.startOf(E)<=b&&b<=this.endOf(E)},_.isAfter=function(m,E){return F(m)<this.startOf(E)},_.isBefore=function(m,E){return this.endOf(E)<F(m)},_.$g=function(m,E,b){return N.u(m)?this[E]:this.set(b,m)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(m,E){var b=this,H=!!N.u(E)||E,O=N.p(m),G=function(mt,ce){var rt=N.w(b.$u?Date.UTC(b.$y,ce,mt):new Date(b.$y,ce,mt),b);return H?rt:rt.endOf(l)},Y=function(mt,ce){return N.w(b.toDate()[mt].apply(b.toDate("s"),(H?[0,0,0,0]:[23,59,59,999]).slice(ce)),b)},te=this.$W,se=this.$M,ye=this.$D,It="set"+(this.$u?"UTC":"");switch(O){case v:return H?G(1,0):G(31,11);case c:return H?G(1,se):G(0,se+1);case f:var vt=this.$locale().weekStart||0,fr=(te<vt?te+7:te)-vt;return G(H?ye-fr:ye+(6-fr),se);case l:case d:return Y(It+"Hours",0);case u:return Y(It+"Minutes",1);case a:return Y(It+"Seconds",2);case o:return Y(It+"Milliseconds",3);default:return this.clone()}},_.endOf=function(m){return this.startOf(m,!1)},_.$set=function(m,E){var b,H=N.p(m),O="set"+(this.$u?"UTC":""),G=(b={},b[l]=O+"Date",b[d]=O+"Date",b[c]=O+"Month",b[v]=O+"FullYear",b[u]=O+"Hours",b[a]=O+"Minutes",b[o]=O+"Seconds",b[s]=O+"Milliseconds",b)[H],Y=H===l?this.$D+(E-this.$W):E;if(H===c||H===v){var te=this.clone().set(d,1);te.$d[G](Y),te.init(),this.$d=te.set(d,Math.min(this.$D,te.daysInMonth())).$d}else G&&this.$d[G](Y);return this.init(),this},_.set=function(m,E){return this.clone().$set(m,E)},_.get=function(m){return this[N.p(m)]()},_.add=function(m,E){var b,H=this;m=Number(m);var O=N.p(E),G=function(se){var ye=F(H);return N.w(ye.date(ye.date()+Math.round(se*m)),H)};if(O===c)return this.set(c,this.$M+m);if(O===v)return this.set(v,this.$y+m);if(O===l)return G(1);if(O===f)return G(7);var Y=(b={},b[a]=n,b[u]=i,b[o]=r,b)[O]||1,te=this.$d.getTime()+m*Y;return N.w(te,this)},_.subtract=function(m,E){return this.add(-1*m,E)},_.format=function(m){var E=this,b=this.$locale();if(!this.isValid())return b.invalidDate||g;var H=m||"YYYY-MM-DDTHH:mm:ssZ",O=N.z(this),G=this.$H,Y=this.$m,te=this.$M,se=b.weekdays,ye=b.months,It=b.meridiem,vt=function(ce,rt,hr,Dr){return ce&&(ce[rt]||ce(E,H))||hr[rt].slice(0,Dr)},fr=function(ce){return N.s(G%12||12,ce,"0")},mt=It||function(ce,rt,hr){var Dr=ce<12?"AM":"PM";return hr?Dr.toLowerCase():Dr};return H.replace(y,function(ce,rt){return rt||function(hr){switch(hr){case"YY":return String(E.$y).slice(-2);case"YYYY":return N.s(E.$y,4,"0");case"M":return te+1;case"MM":return N.s(te+1,2,"0");case"MMM":return vt(b.monthsShort,te,ye,3);case"MMMM":return vt(ye,te);case"D":return E.$D;case"DD":return N.s(E.$D,2,"0");case"d":return String(E.$W);case"dd":return vt(b.weekdaysMin,E.$W,se,2);case"ddd":return vt(b.weekdaysShort,E.$W,se,3);case"dddd":return se[E.$W];case"H":return String(G);case"HH":return N.s(G,2,"0");case"h":return fr(1);case"hh":return fr(2);case"a":return mt(G,Y,!0);case"A":return mt(G,Y,!1);case"m":return String(Y);case"mm":return N.s(Y,2,"0");case"s":return String(E.$s);case"ss":return N.s(E.$s,2,"0");case"SSS":return N.s(E.$ms,3,"0");case"Z":return O}return null}(ce)||O.replace(":","")})},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(m,E,b){var H,O=this,G=N.p(E),Y=F(m),te=(Y.utcOffset()-this.utcOffset())*n,se=this-Y,ye=function(){return N.m(O,Y)};switch(G){case v:H=ye()/12;break;case c:H=ye();break;case p:H=ye()/3;break;case f:H=(se-te)/6048e5;break;case l:H=(se-te)/864e5;break;case u:H=se/i;break;case a:H=se/n;break;case o:H=se/r;break;default:H=se}return b?H:N.a(H)},_.daysInMonth=function(){return this.endOf(c).$D},_.$locale=function(){return j[this.$L]},_.locale=function(m,E){if(!m)return this.$L;var b=this.clone(),H=ee(m,E,!0);return H&&(b.$L=H),b},_.clone=function(){return N.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},S}(),Pt=tt.prototype;return F.prototype=Pt,[["$ms",s],["$s",o],["$m",a],["$H",u],["$W",l],["$M",c],["$y",v],["$D",d]].forEach(function(S){Pt[S[1]]=function(_){return this.$g(_,S[0],S[1])}}),F.extend=function(S,_){return S.$i||(S(_,tt,F),S.$i=!0),F},F.locale=ee,F.isDayjs=ue,F.unix=function(S){return F(1e3*S)},F.en=j[k],F.Ls=j,F.p={},F})})(du);var pu=function(t){return vu(t)&&!mu(t)};function vu(e){return!!e&&typeof e=="object"}function mu(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||bu(e)}var gu=typeof Symbol=="function"&&Symbol.for,_u=gu?Symbol.for("react.element"):60103;function bu(e){return e.$$typeof===_u}function yu(e){return Array.isArray(e)?[]:{}}function Or(e,t){return t.clone!==!1&&t.isMergeableObject(e)?nr(yu(e),e,t):e}function Eu(e,t,r){return e.concat(t).map(function(n){return Or(n,r)})}function xu(e,t){if(!t.customMerge)return nr;var r=t.customMerge(e);return typeof r=="function"?r:nr}function wu(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Fi(e){return Object.keys(e).concat(wu(e))}function sa(e,t){try{return t in e}catch(r){return!1}}function Su(e,t){return sa(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Tu(e,t,r){var n={};return r.isMergeableObject(e)&&Fi(e).forEach(function(i){n[i]=Or(e[i],r)}),Fi(t).forEach(function(i){Su(e,i)||(sa(e,i)&&r.isMergeableObject(t[i])?n[i]=xu(i,r)(e[i],t[i],r):n[i]=Or(t[i],r))}),n}function nr(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Eu,r.isMergeableObject=r.isMergeableObject||pu,r.cloneUnlessOtherwiseSpecified=Or;var n=Array.isArray(t),i=Array.isArray(e),s=n===i;return s?n?r.arrayMerge(e,t,r):Tu(e,t,r):Or(t,r)}nr.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return nr(n,i,r)},{})};var Au=nr,Nu=Au;const Hu=cu(Nu);var Wn=function(e,t){return Wn=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])},Wn(e,t)};function fn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Wn(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Fe=function(){return Fe=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},Fe.apply(this,arguments)};function Ou(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 xn(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 wn(e,t){var r=t&&t.cache?t.cache:Lu,n=t&&t.serializer?t.serializer:Iu,i=t&&t.strategy?t.strategy:Mu;return i(e,{cache:r,serializer:n})}function $u(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Bu(e,t,r,n){var i=$u(n)?n:r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.call(this,n),t.set(i,s)),s}function aa(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 oa(e,t,r,n,i){return r.bind(t,e,n,i)}function Mu(e,t){var r=e.length===1?Bu:aa;return oa(e,this,r,t.cache.create(),t.serializer)}function Pu(e,t){return oa(e,this,aa,t.cache.create(),t.serializer)}var Iu=function(){return JSON.stringify(arguments)},Cu=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}(),Lu={create:function(){return new Cu}},Sn={variadic:Pu},Kr=function(){return Kr=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},Kr.apply(this,arguments)};var P;(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"})(P||(P={}));var q;(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"})(q||(q={}));var ir;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(ir||(ir={}));function Gi(e){return e.type===q.literal}function Ru(e){return e.type===q.argument}function ua(e){return e.type===q.number}function la(e){return e.type===q.date}function fa(e){return e.type===q.time}function ha(e){return e.type===q.select}function ca(e){return e.type===q.plural}function Du(e){return e.type===q.pound}function da(e){return e.type===q.tag}function pa(e){return!!(e&&typeof e=="object"&&e.type===ir.number)}function Xn(e){return!!(e&&typeof e=="object"&&e.type===ir.dateTime)}var va=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ku=/(?:[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 Fu(e){var t={};return e.replace(ku,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 W=function(){return W=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},W.apply(this,arguments)};var Gu=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Uu(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Gu).filter(function(p){return p.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 a=o[0],u=o.slice(1),l=0,f=u;l<f.length;l++){var c=f[l];if(c.length===0)throw new Error("Invalid number skeleton")}r.push({stem:a,options:u})}return r}function ju(e){return e.replace(/^(.*?)-/,"")}var Ui=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ma=/^(@+)?(\+|#+)?[rs]?$/g,qu=/(\*)(0+)|(#+)(0+)|(0+)/g,ga=/^(0+)$/;function ji(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(ma,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 _a(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 Vu(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)),!ga.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function qi(e){var t={},r=_a(e);return r||t}function zu(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=ju(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=W(W(W({},t),{notation:"scientific"}),i.options.reduce(function(u,l){return W(W({},u),qi(l))},{}));continue;case"engineering":t=W(W(W({},t),{notation:"engineering"}),i.options.reduce(function(u,l){return W(W({},u),qi(l))},{}));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(qu,function(u,l,f,c,p,v){if(l)t.minimumIntegerDigits=f.length;else{if(c&&p)throw new Error("We currently do not support maximum integer digits");if(v)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ga.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Ui.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Ui,function(u,l,f,c,p,v){return f==="*"?t.minimumFractionDigits=l.length:c&&c[0]==="#"?t.maximumFractionDigits=c.length:p&&v?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+v.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var s=i.options[0];s==="w"?t=W(W({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=W(W({},t),ji(s)));continue}if(ma.test(i.stem)){t=W(W({},t),ji(i.stem));continue}var o=_a(i.stem);o&&(t=W(W({},t),o));var a=Vu(i.stem);a&&(t=W(W({},t),a))}return t}var Fr={"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 Wu(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),a=s<2?1:3+(s>>1),u="a",l=Xu(t);for((l=="H"||l=="k")&&(a=0);a-- >0;)r+=u;for(;o-- >0;)r=l+r}else i==="J"?r+="H":r+=i}return r}function Xu(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=Fr[n||""]||Fr[r||""]||Fr["".concat(r,"-001")]||Fr["001"];return i[0]}var Tn,Qu=new RegExp("^".concat(va.source,"*")),Yu=new RegExp("".concat(va.source,"*$"));function L(e,t){return{start:e,end:t}}var Zu=!!String.prototype.startsWith&&"_a".startsWith("a",1),Ju=!!String.fromCodePoint,Ku=!!Object.fromEntries,el=!!String.prototype.codePointAt,tl=!!String.prototype.trimStart,rl=!!String.prototype.trimEnd,nl=!!Number.isSafeInteger,il=nl?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Qn=!0;try{var sl=ya("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Qn=((Tn=sl.exec("a"))===null||Tn===void 0?void 0:Tn[0])==="a"}catch(e){Qn=!1}var Vi=Zu?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Yn=Ju?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},zi=Ku?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var s=i[n],o=s[0],a=s[1];r[o]=a}return r},ba=el?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}},al=tl?function(t){return t.trimStart()}:function(t){return t.replace(Qu,"")},ol=rl?function(t){return t.trimEnd()}:function(t){return t.replace(Yu,"")};function ya(e,t){return new RegExp(e,t)}var Zn;if(Qn){var Wi=ya("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Zn=function(t,r){var n;Wi.lastIndex=r;var i=Wi.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else Zn=function(t,r){for(var n=[];;){var i=ba(t,r);if(i===void 0||Ea(i)||hl(i))break;n.push(i),r+=i>=65536?2:1}return Yn.apply(void 0,n)};var ul=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 a=this.clonePosition();this.bump(),i.push({type:q.pound,location:L(a,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(P.UNMATCHED_CLOSING_TAG,L(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&Jn(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:q.literal,value:"<".concat(i,"/>"),location:L(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,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Jn(this.char()))return this.error(P.INVALID_TAG,L(a,this.clonePosition()));var u=this.clonePosition(),l=this.parseTagName();return i!==l?this.error(P.UNMATCHED_CLOSING_TAG,L(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:q.tag,value:i,children:o,location:L(n,this.clonePosition())},err:null}:this.error(P.INVALID_TAG,L(a,this.clonePosition())))}else return this.error(P.UNCLOSED_TAG,L(n,this.clonePosition()))}else return this.error(P.INVALID_TAG,L(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&fl(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 a=this.tryParseLeftAngleBracket();if(a){i+=a;continue}break}var u=L(n,this.clonePosition());return{val:{type:q.literal,value:i,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!ll(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 Yn.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(),Yn(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,L(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(P.EMPTY_ARGUMENT,L(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(P.MALFORMED_ARGUMENT,L(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,L(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:q.argument,value:i,location:L(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,L(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(P.MALFORMED_ARGUMENT,L(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Zn(this.message,r),i=r+n.length;this.bumpTo(i);var s=this.clonePosition(),o=L(t,s);return{value:n,location:o}},e.prototype.parseArgumentOptions=function(t,r,n,i){var s,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(a){case"":return this.error(P.EXPECT_ARGUMENT_TYPE,L(o,u));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var p=ol(c.val);if(p.length===0)return this.error(P.EXPECT_ARGUMENT_STYLE,L(this.clonePosition(),this.clonePosition()));var v=L(f,this.clonePosition());l={style:p,styleLocation:v}}var d=this.tryParseArgumentClose(i);if(d.err)return d;var g=L(i,this.clonePosition());if(l&&Vi(l==null?void 0:l.style,"::",0)){var x=al(l.style.slice(2));if(a==="number"){var c=this.parseNumberSkeletonFromString(x,l.styleLocation);return c.err?c:{val:{type:q.number,value:n,location:g,style:c.val},err:null}}else{if(x.length===0)return this.error(P.EXPECT_DATE_TIME_SKELETON,g);var y=x;this.locale&&(y=Wu(x,this.locale));var p={type:ir.dateTime,pattern:y,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Fu(y):{}},$=a==="date"?q.date:q.time;return{val:{type:$,value:n,location:g,style:p},err:null}}}return{val:{type:a==="number"?q.number:a==="date"?q.date:q.time,value:n,location:g,style:(s=l==null?void 0:l.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var R=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS,L(R,Kr({},R)));this.bumpSpace();var re=this.parseIdentifierIfPossible(),k=0;if(a!=="select"&&re.value==="offset"){if(!this.bumpIf(":"))return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,L(this.clonePosition(),this.clonePosition()));this.bumpSpace();var c=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err)return c;this.bumpSpace(),re=this.parseIdentifierIfPossible(),k=c.val}var j=this.tryParsePluralOrSelectOptions(t,a,r,re);if(j.err)return j;var d=this.tryParseArgumentClose(i);if(d.err)return d;var be=L(i,this.clonePosition());return a==="select"?{val:{type:q.select,value:n,options:zi(j.val),location:be},err:null}:{val:{type:q.plural,value:n,options:zi(j.val),offset:k,pluralType:a==="plural"?"cardinal":"ordinal",location:be},err:null}}default:return this.error(P.INVALID_ARGUMENT_TYPE,L(o,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,L(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(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,L(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=Uu(t)}catch(i){return this.error(P.INVALID_NUMBER_SKELETON,r)}return{val:{type:ir.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?zu(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var s,o=!1,a=[],u=new Set,l=i.value,f=i.location;;){if(l.length===0){var c=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR,P.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;f=L(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}else break}if(u.has(l))return this.error(r==="select"?P.DUPLICATE_SELECT_ARGUMENT_SELECTOR:P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);l==="other"&&(o=!0),this.bumpSpace();var v=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,L(this.clonePosition(),this.clonePosition()));var d=this.parseMessage(t+1,r,n);if(d.err)return d;var g=this.tryParseArgumentClose(v);if(g.err)return g;a.push([l,{value:d.val,location:L(v,this.clonePosition())}]),u.add(l),this.bumpSpace(),s=this.parseIdentifierIfPossible(),l=s.value,f=s.location}return a.length===0?this.error(r==="select"?P.EXPECT_SELECT_ARGUMENT_SELECTOR:P.EXPECT_PLURAL_ARGUMENT_SELECTOR,L(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(P.MISSING_OTHER_CLAUSE,L(this.clonePosition(),this.clonePosition())):{val:a,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 a=this.char();if(a>=48&&a<=57)s=!0,o=o*10+(a-48),this.bump();else break}var u=L(i,this.clonePosition());return s?(o*=n,il(o)?{val:o,err:null}:this.error(r,u)):this.error(t,u)},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=ba(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(Vi(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()&&Ea(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 Jn(e){return e>=97&&e<=122||e>=65&&e<=90}function ll(e){return Jn(e)||e===47}function fl(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 Ea(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function hl(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 Kn(e){e.forEach(function(t){if(delete t.location,ha(t)||ca(t))for(var r in t.options)delete t.options[r].location,Kn(t.options[r].value);else ua(t)&&pa(t.style)||(la(t)||fa(t))&&Xn(t.style)?delete t.style.location:da(t)&&Kn(t.children)})}function cl(e,t){t===void 0&&(t={}),t=Kr({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new ul(e,t).parse();if(r.err){var n=SyntaxError(P[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Kn(r.val),r.val}var sr;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(sr||(sr={}));var hn=function(e){fn(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),Xi=function(e){fn(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('", "'),'"'),sr.INVALID_VALUE,s)||this}return t}(hn),dl=function(e){fn(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),sr.INVALID_VALUE,i)||this}return t}(hn),pl=function(e){fn(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,'"'),sr.MISSING_VALUE,n)||this}return t}(hn),fe;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(fe||(fe={}));function vl(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==fe.literal||r.type!==fe.literal?t.push(r):n.value+=r.value,t},[])}function ml(e){return typeof e=="function"}function Vr(e,t,r,n,i,s,o){if(e.length===1&&Gi(e[0]))return[{type:fe.literal,value:e[0].value}];for(var a=[],u=0,l=e;u<l.length;u++){var f=l[u];if(Gi(f)){a.push({type:fe.literal,value:f.value});continue}if(Du(f)){typeof s=="number"&&a.push({type:fe.literal,value:r.getNumberFormat(t).format(s)});continue}var c=f.value;if(!(i&&c in i))throw new pl(c,o);var p=i[c];if(Ru(f)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),a.push({type:typeof p=="string"?fe.literal:fe.object,value:p});continue}if(la(f)){var v=typeof f.style=="string"?n.date[f.style]:Xn(f.style)?f.style.parsedOptions:void 0;a.push({type:fe.literal,value:r.getDateTimeFormat(t,v).format(p)});continue}if(fa(f)){var v=typeof f.style=="string"?n.time[f.style]:Xn(f.style)?f.style.parsedOptions:n.time.medium;a.push({type:fe.literal,value:r.getDateTimeFormat(t,v).format(p)});continue}if(ua(f)){var v=typeof f.style=="string"?n.number[f.style]:pa(f.style)?f.style.parsedOptions:void 0;v&&v.scale&&(p=p*(v.scale||1)),a.push({type:fe.literal,value:r.getNumberFormat(t,v).format(p)});continue}if(da(f)){var d=f.children,g=f.value,x=i[g];if(!ml(x))throw new dl(g,"function",o);var y=Vr(d,t,r,n,i,s),$=x(y.map(function(k){return k.value}));Array.isArray($)||($=[$]),a.push.apply(a,$.map(function(k){return{type:typeof k=="string"?fe.literal:fe.object,value:k}}))}if(ha(f)){var R=f.options[p]||f.options.other;if(!R)throw new Xi(f.value,p,Object.keys(f.options),o);a.push.apply(a,Vr(R.value,t,r,n,i));continue}if(ca(f)){var R=f.options["=".concat(p)];if(!R){if(!Intl.PluralRules)throw new hn(`Intl.PluralRules is not available in this environment.
|
|
4
4
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
5
|
-
`,sr.MISSING_INTL_API,o);var re=r.getPluralRules(t,{type:f.pluralType}).select(p-(f.offset||0));R=f.options[re]||f.options.other}if(!R)throw new Xi(f.value,p,Object.keys(f.options),o);a.push.apply(a,Vr(R.value,t,r,n,i,p-(f.offset||0)));continue}}return vl(a)}function gl(e,t){return t?Fe(Fe(Fe({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=Fe(Fe({},e[n]),t[n]||{}),r},{})):e}function _l(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=gl(e[n],t[n]),r},Fe({},e)):e}function An(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function bl(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:wn(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,xn([void 0],r,!1)))},{cache:An(e.number),strategy:Sn.variadic}),getDateTimeFormat:wn(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,xn([void 0],r,!1)))},{cache:An(e.dateTime),strategy:Sn.variadic}),getPluralRules:wn(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,xn([void 0],r,!1)))},{cache:An(e.pluralRules),strategy:Sn.variadic})}}var yl=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(u){var l=s.formatToParts(u);if(l.length===1)return l[0].value;var f=l.reduce(function(c,p){return!c.length||p.type!==fe.literal||typeof c[c.length-1]!="string"?c.push(p.value):c[c.length-1]+=p.value,c},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(u){return Vr(s.ast,s.locales,s.formatters,s.formats,u,void 0,s.message)},this.resolvedOptions=function(){var u;return{locale:((u=s.resolvedLocale)===null||u===void 0?void 0:u.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 a=Ou(o,["formatters"]);this.ast=e.__parse(t,Fe(Fe({},a),{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=_l(e.formats,n),this.formatters=i&&i.formatters||bl(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=cl,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 El(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 ut={},xl=(e,t,r)=>r&&(t in ut||(ut[t]={}),e in ut[t]||(ut[t][e]=r),r),xa=(e,t)=>{if(t==null)return;if(t in ut&&e in ut[t])return ut[t][e];const r=cn(t);for(let n=0;n<r.length;n++){const i=r[n],s=Sl(i,e);if(s)return xl(e,t,s)}};let bi;const ur=ln({});function wl(e){return bi[e]||null}function wa(e){return e in bi}function Sl(e,t){if(!wa(e))return null;const r=wl(e);return El(r,t)}function Tl(e){if(e==null)return;const t=cn(e);for(let r=0;r<t.length;r++){const n=t[r];if(wa(n))return n}}function Sa(e,...t){delete ut[e],ur.update(r=>(r[e]=Hu.all([r[e]||{},...t]),r))}or([ur],([e])=>Object.keys(e));ur.subscribe(e=>bi=e);const zr={};function Al(e,t){zr[e].delete(t),zr[e].size===0&&delete zr[e]}function Ta(e){return zr[e]}function Nl(e){return cn(e).map(t=>{const r=Ta(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function ei(e){return e==null?!1:cn(e).some(t=>{var r;return(r=Ta(t))==null?void 0:r.size})}function Hl(e,t){return Promise.all(t.map(n=>(Al(e,n),n().then(i=>i.default||i)))).then(n=>Sa(e,...n))}const vr={};function Aa(e){if(!ei(e))return e in vr?vr[e]:Promise.resolve();const t=Nl(e);return vr[e]=Promise.all(t.map(([r,n])=>Hl(r,n))).then(()=>{if(ei(e))return Aa(e);delete vr[e]}),vr[e]}const Ol={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"}}},$l={fallbackLocale:null,loadingDelay:200,formats:Ol,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Bl=$l;function ar(){return Bl}const Nn=ln(!1);var Ml=Object.defineProperty,Pl=Object.defineProperties,Il=Object.getOwnPropertyDescriptors,Qi=Object.getOwnPropertySymbols,Cl=Object.prototype.hasOwnProperty,Ll=Object.prototype.propertyIsEnumerable,Yi=(e,t,r)=>t in e?Ml(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Rl=(e,t)=>{for(var r in t||(t={}))Cl.call(t,r)&&Yi(e,r,t[r]);if(Qi)for(var r of Qi(t))Ll.call(t,r)&&Yi(e,r,t[r]);return e},Dl=(e,t)=>Pl(e,Il(t));let ti;const en=ln(null);function Zi(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function cn(e,t=ar().fallbackLocale){const r=Zi(e);return t?[...new Set([...r,...Zi(t)])]:r}function Mt(){return ti!=null?ti:void 0}en.subscribe(e=>{ti=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const kl=e=>{if(e&&Tl(e)&&ei(e)){const{loadingDelay:t}=ar();let r;return typeof window!="undefined"&&Mt()!=null&&t?r=window.setTimeout(()=>Nn.set(!0),t):Nn.set(!0),Aa(e).then(()=>{en.set(e)}).finally(()=>{clearTimeout(r),Nn.set(!1)})}return en.set(e)},Ot=Dl(Rl({},en),{set:kl}),dn=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var Fl=Object.defineProperty,tn=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,Ha=Object.prototype.propertyIsEnumerable,Ji=(e,t,r)=>t in e?Fl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,yi=(e,t)=>{for(var r in t||(t={}))Na.call(t,r)&&Ji(e,r,t[r]);if(tn)for(var r of tn(t))Ha.call(t,r)&&Ji(e,r,t[r]);return e},lr=(e,t)=>{var r={};for(var n in e)Na.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&tn)for(var n of tn(e))t.indexOf(n)<0&&Ha.call(e,n)&&(r[n]=e[n]);return r};const $r=(e,t)=>{const{formats:r}=ar();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Gl=dn(e=>{var t=e,{locale:r,format:n}=t,i=lr(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=$r("number",n)),new Intl.NumberFormat(r,i)}),Ul=dn(e=>{var t=e,{locale:r,format:n}=t,i=lr(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=$r("date",n):Object.keys(i).length===0&&(i=$r("date","short")),new Intl.DateTimeFormat(r,i)}),jl=dn(e=>{var t=e,{locale:r,format:n}=t,i=lr(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=$r("time",n):Object.keys(i).length===0&&(i=$r("time","short")),new Intl.DateTimeFormat(r,i)}),ql=(e={})=>{var t=e,{locale:r=Mt()}=t,n=lr(t,["locale"]);return Gl(yi({locale:r},n))},Vl=(e={})=>{var t=e,{locale:r=Mt()}=t,n=lr(t,["locale"]);return Ul(yi({locale:r},n))},zl=(e={})=>{var t=e,{locale:r=Mt()}=t,n=lr(t,["locale"]);return jl(yi({locale:r},n))},Wl=dn((e,t=Mt())=>new yl(e,t,ar().formats,{ignoreTag:ar().ignoreTag})),Xl=(e,t={})=>{var r,n,i,s;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:a,locale:u=Mt(),default:l}=o;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=xa(e,u);if(!f)f=(s=(i=(n=(r=ar()).handleMissingMessage)==null?void 0:n.call(r,{locale:u,id:e,defaultValue:l}))!=null?i:l)!=null?s:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!a)return f;let c=f;try{c=Wl(f,u).format(a)}catch(p){p instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,p.message)}return c},Ql=(e,t)=>zl(t).format(e),Yl=(e,t)=>Vl(t).format(e),Zl=(e,t)=>ql(t).format(e),Jl=(e,t=Mt())=>xa(e,t),Kl=or([Ot,ur],()=>Xl);or([Ot],()=>Ql);or([Ot],()=>Yl);or([Ot],()=>Zl);or([Ot,ur],()=>Jl);function ef({withLocale:e,translations:t}){Ot.subscribe(r=>{r==null&&(ur.set(t),Ot.set(e))})}function tf(e,t){Sa(e,t)}const rf={en:{faqBestQuestion:"Why is {operatorName}'s program the best?",faqBestAnswer:"{operatorName} offers a unique loyalty programme that rewards players with exclusive benefits, including 50 Free Spins automatically credited every Wednesday.",faqWinningsQuestion:"How can you increase your winnings at {operatorName}?",faqWinningsAnswer:"{operatorName} provides users with regular exclusive bonuses and promotions, giving them opportunities to boost their earnings.",faqGamesQuestion:"What variety of games does {operatorName} offer?",faqGamesAnswer:"{operatorName} caters to every type of player by offering a wide range of games, from slots to table games.",faqSupportQuestion:"How is {operatorName}'s customer service?",faqSupportAnswer:"{operatorName} offers 24/7 customer support, providing players with quick and effective solutions to any queries."},tr:{faqBestQuestion:"{operatorName} programı neden en iyisi?",faqBestAnswer:"{operatorName}, oyunculara her Çarşamba otomatik olarak tanımlanan 50 Ücretsiz Dönüş dahil olmak üzere özel avantajlar sunan benzersiz bir sadakat programı sunar.",faqWinningsQuestion:"{operatorName} ile kazançlarınızı nasıl artırabilirsiniz?",faqWinningsAnswer:"{operatorName}, kullanıcılarına düzenli olarak özel bonuslar ve promosyonlar sunarak kazançlarını artırma fırsatı verir.",faqGamesQuestion:"{operatorName} ne tür oyunlar sunuyor?",faqGamesAnswer:"{operatorName}, slotlardan masa oyunlarına kadar geniş bir oyun yelpazesi sunarak her tür oyuncuya hitap eder.",faqSupportQuestion:"{operatorName} müşteri hizmetleri nasıl?",faqSupportAnswer:"{operatorName}, 7/24 müşteri desteği sunarak oyunculara her türlü soruya hızlı ve etkili çözümler sağlar."},da:{faqBestQuestion:"Hvorfor er {operatorName}s program det bedste?",faqBestAnswer:"{operatorName} tilbyder et unikt loyalitetsprogram, der belønner spillere med eksklusive fordele, herunder 50 gratis spins, som automatisk bliver krediteret hver onsdag.",faqWinningsQuestion:"Hvordan kan du øge dine gevinster hos {operatorName}?",faqWinningsAnswer:"{operatorName} tilbyder regelmæssige eksklusive bonusser og kampagner, som giver brugerne mulighed for at øge deres gevinster.",faqGamesQuestion:"Hvilket udvalg af spil tilbyder {operatorName}?",faqGamesAnswer:"{operatorName} tilbyder et bredt udvalg af spil, fra spilleautomater til bordspil, så der er noget for enhver spiller.",faqSupportQuestion:"Hvordan er {operatorName}s kundeservice?",faqSupportAnswer:"{operatorName} tilbyder kundesupport døgnet rundt med hurtige og effektive løsninger på alle spørgsmål."},de:{faqBestQuestion:"Warum ist das Programm von {operatorName} das beste?",faqBestAnswer:"{operatorName} bietet ein einzigartiges Treueprogramm mit exklusiven Vorteilen, darunter 50 Freispiele, die jeden Mittwoch automatisch gutgeschrieben werden.",faqWinningsQuestion:"Wie können Sie Ihre Gewinne bei {operatorName} steigern?",faqWinningsAnswer:"{operatorName} bietet seinen Nutzern regelmäßig exklusive Boni und Aktionen, mit denen sie ihre Gewinne steigern können.",faqGamesQuestion:"Welche Spielauswahl bietet {operatorName}?",faqGamesAnswer:"{operatorName} bietet eine große Auswahl an Spielen – von Spielautomaten bis hin zu Tischspielen – und spricht damit jeden Spielertyp an.",faqSupportQuestion:"Wie ist der Kundenservice von {operatorName}?",faqSupportAnswer:"{operatorName} bietet rund um die Uhr Kundensupport und hilft Spielern schnell und zuverlässig bei allen Fragen."},nl:{faqBestQuestion:"Waarom is het programma van {operatorName} het beste?",faqBestAnswer:"{operatorName} biedt een uniek loyaliteitsprogramma met exclusieve voordelen, waaronder 50 gratis spins die elke woensdag automatisch worden toegekend.",faqWinningsQuestion:"Hoe kun je je winst vergroten bij {operatorName}?",faqWinningsAnswer:"{operatorName} biedt gebruikers regelmatig exclusieve bonussen en promoties om hun winstkansen te vergroten.",faqGamesQuestion:"Welke spellen biedt {operatorName} aan?",faqGamesAnswer:"{operatorName} biedt een breed aanbod aan spellen, van slots tot tafelspellen, zodat er voor iedere speler iets is.",faqSupportQuestion:"Hoe is de klantenservice van {operatorName}?",faqSupportAnswer:"{operatorName} biedt 24/7 klantenservice met snelle en effectieve oplossingen voor al je vragen."},fr:{faqBestQuestion:"Pourquoi le programme de {operatorName} est-il le meilleur ?",faqBestAnswer:"{operatorName} propose un programme de fidélité unique offrant des avantages exclusifs, dont 50 tours gratuits crédités automatiquement chaque mercredi.",faqWinningsQuestion:"Comment augmenter vos gains chez {operatorName} ?",faqWinningsAnswer:"{operatorName} propose régulièrement des bonus et promotions exclusifs permettant aux joueurs d’augmenter leurs gains.",faqGamesQuestion:"Quelle variété de jeux propose {operatorName} ?",faqGamesAnswer:"{operatorName} propose un large choix de jeux, des machines à sous aux jeux de table, pour satisfaire tous les types de joueurs.",faqSupportQuestion:"Comment est le service client de {operatorName} ?",faqSupportAnswer:"{operatorName} propose un service client disponible 24h/24 et 7j/7, avec des réponses rapides et efficaces à toutes vos questions."},hu:{faqBestQuestion:"Miért a {operatorName} programja a legjobb?",faqBestAnswer:"A {operatorName} egyedülálló hűségprogramot kínál exkluzív előnyökkel, köztük minden szerdán automatikusan jóváírt 50 ingyenes pörgetéssel.",faqWinningsQuestion:"Hogyan növelheted a nyereményeidet a {operatorName} oldalon?",faqWinningsAnswer:"A {operatorName} rendszeresen exkluzív bónuszokat és promóciókat kínál, amelyek segítenek növelni a nyerési lehetőségeket.",faqGamesQuestion:"Milyen játékokat kínál a {operatorName}?",faqGamesAnswer:"A {operatorName} a nyerőgépektől az asztali játékokig széles játékválasztékot kínál, így minden játékos megtalálhatja a kedvencét.",faqSupportQuestion:"Milyen a {operatorName} ügyfélszolgálata?",faqSupportAnswer:"A {operatorName} a hét minden napján, 24 órában elérhető ügyfélszolgálatot biztosít gyors és hatékony segítséggel."}};var nf=Zs('<div class="faq__item svelte-tlosd8"><button class="faq__title svelte-tlosd8" type="button"><span class="faq__question svelte-tlosd8"> </span> <span><svg width="16" height="16" viewBox="0 0 16 16" fill="none" class="svelte-tlosd8"><path d="M4 6l4 4 4-4" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" class="svelte-tlosd8"></path></svg></span></button> <div><div class="faq__answer svelte-tlosd8"> </div></div></div>'),sf=Zs('<div class="faq svelte-tlosd8"><div class="faq__list svelte-tlosd8"></div></div>');const af={hash:"svelte-tlosd8",code:`.faq.svelte-tlosd8 {color:var(--text-default, #FFFFFF);width:100%;box-sizing:border-box;}.faq__list.svelte-tlosd8 {display:flex;flex-direction:column;gap:12px;}.faq__item.svelte-tlosd8 {background:var(--app-container-bg-default, #022652);border-radius:6px;border:1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));overflow:hidden;padding:16px;}.faq__title.svelte-tlosd8 {width:100%;display:flex;justify-content:space-between;align-items:flex-start;background:transparent;color:var(--text-default, #FFFFFF);font-size:12px;font-weight:700;line-height:1.4;text-align:left;cursor:pointer;border:none;padding:0;}.faq__title.svelte-tlosd8:hover {background:transparent;}.faq__title.svelte-tlosd8,
|
|
6
|
-
.faq__title
|
|
5
|
+
`,sr.MISSING_INTL_API,o);var re=r.getPluralRules(t,{type:f.pluralType}).select(p-(f.offset||0));R=f.options[re]||f.options.other}if(!R)throw new Xi(f.value,p,Object.keys(f.options),o);a.push.apply(a,Vr(R.value,t,r,n,i,p-(f.offset||0)));continue}}return vl(a)}function gl(e,t){return t?Fe(Fe(Fe({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=Fe(Fe({},e[n]),t[n]||{}),r},{})):e}function _l(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=gl(e[n],t[n]),r},Fe({},e)):e}function An(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function bl(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:wn(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,xn([void 0],r,!1)))},{cache:An(e.number),strategy:Sn.variadic}),getDateTimeFormat:wn(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,xn([void 0],r,!1)))},{cache:An(e.dateTime),strategy:Sn.variadic}),getPluralRules:wn(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,xn([void 0],r,!1)))},{cache:An(e.pluralRules),strategy:Sn.variadic})}}var yl=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(u){var l=s.formatToParts(u);if(l.length===1)return l[0].value;var f=l.reduce(function(c,p){return!c.length||p.type!==fe.literal||typeof c[c.length-1]!="string"?c.push(p.value):c[c.length-1]+=p.value,c},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(u){return Vr(s.ast,s.locales,s.formatters,s.formats,u,void 0,s.message)},this.resolvedOptions=function(){var u;return{locale:((u=s.resolvedLocale)===null||u===void 0?void 0:u.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 a=Ou(o,["formatters"]);this.ast=e.__parse(t,Fe(Fe({},a),{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=_l(e.formats,n),this.formatters=i&&i.formatters||bl(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=cl,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 El(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 ut={},xl=(e,t,r)=>r&&(t in ut||(ut[t]={}),e in ut[t]||(ut[t][e]=r),r),xa=(e,t)=>{if(t==null)return;if(t in ut&&e in ut[t])return ut[t][e];const r=cn(t);for(let n=0;n<r.length;n++){const i=r[n],s=Sl(i,e);if(s)return xl(e,t,s)}};let bi;const ur=ln({});function wl(e){return bi[e]||null}function wa(e){return e in bi}function Sl(e,t){if(!wa(e))return null;const r=wl(e);return El(r,t)}function Tl(e){if(e==null)return;const t=cn(e);for(let r=0;r<t.length;r++){const n=t[r];if(wa(n))return n}}function Sa(e,...t){delete ut[e],ur.update(r=>(r[e]=Hu.all([r[e]||{},...t]),r))}or([ur],([e])=>Object.keys(e));ur.subscribe(e=>bi=e);const zr={};function Al(e,t){zr[e].delete(t),zr[e].size===0&&delete zr[e]}function Ta(e){return zr[e]}function Nl(e){return cn(e).map(t=>{const r=Ta(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function ei(e){return e==null?!1:cn(e).some(t=>{var r;return(r=Ta(t))==null?void 0:r.size})}function Hl(e,t){return Promise.all(t.map(n=>(Al(e,n),n().then(i=>i.default||i)))).then(n=>Sa(e,...n))}const vr={};function Aa(e){if(!ei(e))return e in vr?vr[e]:Promise.resolve();const t=Nl(e);return vr[e]=Promise.all(t.map(([r,n])=>Hl(r,n))).then(()=>{if(ei(e))return Aa(e);delete vr[e]}),vr[e]}const Ol={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"}}},$l={fallbackLocale:null,loadingDelay:200,formats:Ol,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Bl=$l;function ar(){return Bl}const Nn=ln(!1);var Ml=Object.defineProperty,Pl=Object.defineProperties,Il=Object.getOwnPropertyDescriptors,Qi=Object.getOwnPropertySymbols,Cl=Object.prototype.hasOwnProperty,Ll=Object.prototype.propertyIsEnumerable,Yi=(e,t,r)=>t in e?Ml(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Rl=(e,t)=>{for(var r in t||(t={}))Cl.call(t,r)&&Yi(e,r,t[r]);if(Qi)for(var r of Qi(t))Ll.call(t,r)&&Yi(e,r,t[r]);return e},Dl=(e,t)=>Pl(e,Il(t));let ti;const en=ln(null);function Zi(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function cn(e,t=ar().fallbackLocale){const r=Zi(e);return t?[...new Set([...r,...Zi(t)])]:r}function Mt(){return ti!=null?ti:void 0}en.subscribe(e=>{ti=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const kl=e=>{if(e&&Tl(e)&&ei(e)){const{loadingDelay:t}=ar();let r;return typeof window!="undefined"&&Mt()!=null&&t?r=window.setTimeout(()=>Nn.set(!0),t):Nn.set(!0),Aa(e).then(()=>{en.set(e)}).finally(()=>{clearTimeout(r),Nn.set(!1)})}return en.set(e)},Ot=Dl(Rl({},en),{set:kl}),dn=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var Fl=Object.defineProperty,tn=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,Ha=Object.prototype.propertyIsEnumerable,Ji=(e,t,r)=>t in e?Fl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,yi=(e,t)=>{for(var r in t||(t={}))Na.call(t,r)&&Ji(e,r,t[r]);if(tn)for(var r of tn(t))Ha.call(t,r)&&Ji(e,r,t[r]);return e},lr=(e,t)=>{var r={};for(var n in e)Na.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&tn)for(var n of tn(e))t.indexOf(n)<0&&Ha.call(e,n)&&(r[n]=e[n]);return r};const $r=(e,t)=>{const{formats:r}=ar();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Gl=dn(e=>{var t=e,{locale:r,format:n}=t,i=lr(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=$r("number",n)),new Intl.NumberFormat(r,i)}),Ul=dn(e=>{var t=e,{locale:r,format:n}=t,i=lr(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=$r("date",n):Object.keys(i).length===0&&(i=$r("date","short")),new Intl.DateTimeFormat(r,i)}),jl=dn(e=>{var t=e,{locale:r,format:n}=t,i=lr(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=$r("time",n):Object.keys(i).length===0&&(i=$r("time","short")),new Intl.DateTimeFormat(r,i)}),ql=(e={})=>{var t=e,{locale:r=Mt()}=t,n=lr(t,["locale"]);return Gl(yi({locale:r},n))},Vl=(e={})=>{var t=e,{locale:r=Mt()}=t,n=lr(t,["locale"]);return Ul(yi({locale:r},n))},zl=(e={})=>{var t=e,{locale:r=Mt()}=t,n=lr(t,["locale"]);return jl(yi({locale:r},n))},Wl=dn((e,t=Mt())=>new yl(e,t,ar().formats,{ignoreTag:ar().ignoreTag})),Xl=(e,t={})=>{var r,n,i,s;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:a,locale:u=Mt(),default:l}=o;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=xa(e,u);if(!f)f=(s=(i=(n=(r=ar()).handleMissingMessage)==null?void 0:n.call(r,{locale:u,id:e,defaultValue:l}))!=null?i:l)!=null?s:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!a)return f;let c=f;try{c=Wl(f,u).format(a)}catch(p){p instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,p.message)}return c},Ql=(e,t)=>zl(t).format(e),Yl=(e,t)=>Vl(t).format(e),Zl=(e,t)=>ql(t).format(e),Jl=(e,t=Mt())=>xa(e,t),Kl=or([Ot,ur],()=>Xl);or([Ot],()=>Ql);or([Ot],()=>Yl);or([Ot],()=>Zl);or([Ot,ur],()=>Jl);function ef({withLocale:e,translations:t}){Ot.subscribe(r=>{r==null&&(ur.set(t),Ot.set(e))})}function tf(e,t){Sa(e,t)}const rf={en:{faqBestQuestion:"Why is {operatorName}'s program the best?",faqBestAnswer:"{operatorName} offers a unique loyalty programme that rewards players with exclusive benefits, including 50 Free Spins automatically credited every Wednesday.",faqWinningsQuestion:"How can you increase your winnings at {operatorName}?",faqWinningsAnswer:"{operatorName} provides users with regular exclusive bonuses and promotions, giving them opportunities to boost their earnings.",faqGamesQuestion:"What variety of games does {operatorName} offer?",faqGamesAnswer:"{operatorName} caters to every type of player by offering a wide range of games, from slots to table games.",faqSupportQuestion:"How is {operatorName}'s customer service?",faqSupportAnswer:"{operatorName} offers 24/7 customer support, providing players with quick and effective solutions to any queries."},tr:{faqBestQuestion:"{operatorName} programı neden en iyisi?",faqBestAnswer:"{operatorName}, oyunculara her Çarşamba otomatik olarak tanımlanan 50 Ücretsiz Dönüş dahil olmak üzere özel avantajlar sunan benzersiz bir sadakat programı sunar.",faqWinningsQuestion:"{operatorName} ile kazançlarınızı nasıl artırabilirsiniz?",faqWinningsAnswer:"{operatorName}, kullanıcılarına düzenli olarak özel bonuslar ve promosyonlar sunarak kazançlarını artırma fırsatı verir.",faqGamesQuestion:"{operatorName} ne tür oyunlar sunuyor?",faqGamesAnswer:"{operatorName}, slotlardan masa oyunlarına kadar geniş bir oyun yelpazesi sunarak her tür oyuncuya hitap eder.",faqSupportQuestion:"{operatorName} müşteri hizmetleri nasıl?",faqSupportAnswer:"{operatorName}, 7/24 müşteri desteği sunarak oyunculara her türlü soruya hızlı ve etkili çözümler sağlar."},da:{faqBestQuestion:"Hvorfor er {operatorName}s program det bedste?",faqBestAnswer:"{operatorName} tilbyder et unikt loyalitetsprogram, der belønner spillere med eksklusive fordele, herunder 50 gratis spins, som automatisk bliver krediteret hver onsdag.",faqWinningsQuestion:"Hvordan kan du øge dine gevinster hos {operatorName}?",faqWinningsAnswer:"{operatorName} tilbyder regelmæssige eksklusive bonusser og kampagner, som giver brugerne mulighed for at øge deres gevinster.",faqGamesQuestion:"Hvilket udvalg af spil tilbyder {operatorName}?",faqGamesAnswer:"{operatorName} tilbyder et bredt udvalg af spil, fra spilleautomater til bordspil, så der er noget for enhver spiller.",faqSupportQuestion:"Hvordan er {operatorName}s kundeservice?",faqSupportAnswer:"{operatorName} tilbyder kundesupport døgnet rundt med hurtige og effektive løsninger på alle spørgsmål."},de:{faqBestQuestion:"Warum ist das Programm von {operatorName} das beste?",faqBestAnswer:"{operatorName} bietet ein einzigartiges Treueprogramm mit exklusiven Vorteilen, darunter 50 Freispiele, die jeden Mittwoch automatisch gutgeschrieben werden.",faqWinningsQuestion:"Wie können Sie Ihre Gewinne bei {operatorName} steigern?",faqWinningsAnswer:"{operatorName} bietet seinen Nutzern regelmäßig exklusive Boni und Aktionen, mit denen sie ihre Gewinne steigern können.",faqGamesQuestion:"Welche Spielauswahl bietet {operatorName}?",faqGamesAnswer:"{operatorName} bietet eine große Auswahl an Spielen – von Spielautomaten bis hin zu Tischspielen – und spricht damit jeden Spielertyp an.",faqSupportQuestion:"Wie ist der Kundenservice von {operatorName}?",faqSupportAnswer:"{operatorName} bietet rund um die Uhr Kundensupport und hilft Spielern schnell und zuverlässig bei allen Fragen."},nl:{faqBestQuestion:"Waarom is het programma van {operatorName} het beste?",faqBestAnswer:"{operatorName} biedt een uniek loyaliteitsprogramma met exclusieve voordelen, waaronder 50 gratis spins die elke woensdag automatisch worden toegekend.",faqWinningsQuestion:"Hoe kun je je winst vergroten bij {operatorName}?",faqWinningsAnswer:"{operatorName} biedt gebruikers regelmatig exclusieve bonussen en promoties om hun winstkansen te vergroten.",faqGamesQuestion:"Welke spellen biedt {operatorName} aan?",faqGamesAnswer:"{operatorName} biedt een breed aanbod aan spellen, van slots tot tafelspellen, zodat er voor iedere speler iets is.",faqSupportQuestion:"Hoe is de klantenservice van {operatorName}?",faqSupportAnswer:"{operatorName} biedt 24/7 klantenservice met snelle en effectieve oplossingen voor al je vragen."},fr:{faqBestQuestion:"Pourquoi le programme de {operatorName} est-il le meilleur ?",faqBestAnswer:"{operatorName} propose un programme de fidélité unique offrant des avantages exclusifs, dont 50 tours gratuits crédités automatiquement chaque mercredi.",faqWinningsQuestion:"Comment augmenter vos gains chez {operatorName} ?",faqWinningsAnswer:"{operatorName} propose régulièrement des bonus et promotions exclusifs permettant aux joueurs d’augmenter leurs gains.",faqGamesQuestion:"Quelle variété de jeux propose {operatorName} ?",faqGamesAnswer:"{operatorName} propose un large choix de jeux, des machines à sous aux jeux de table, pour satisfaire tous les types de joueurs.",faqSupportQuestion:"Comment est le service client de {operatorName} ?",faqSupportAnswer:"{operatorName} propose un service client disponible 24h/24 et 7j/7, avec des réponses rapides et efficaces à toutes vos questions."},hu:{faqBestQuestion:"Miért a {operatorName} programja a legjobb?",faqBestAnswer:"A {operatorName} egyedülálló hűségprogramot kínál exkluzív előnyökkel, köztük minden szerdán automatikusan jóváírt 50 ingyenes pörgetéssel.",faqWinningsQuestion:"Hogyan növelheted a nyereményeidet a {operatorName} oldalon?",faqWinningsAnswer:"A {operatorName} rendszeresen exkluzív bónuszokat és promóciókat kínál, amelyek segítenek növelni a nyerési lehetőségeket.",faqGamesQuestion:"Milyen játékokat kínál a {operatorName}?",faqGamesAnswer:"A {operatorName} a nyerőgépektől az asztali játékokig széles játékválasztékot kínál, így minden játékos megtalálhatja a kedvencét.",faqSupportQuestion:"Milyen a {operatorName} ügyfélszolgálata?",faqSupportAnswer:"A {operatorName} a hét minden napján, 24 órában elérhető ügyfélszolgálatot biztosít gyors és hatékony segítséggel."}};var nf=Zs('<div class="faq__item"><button class="faq__title" type="button"><span class="faq__question"> </span> <span><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M4 6l4 4 4-4" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"></path></svg></span></button> <div><div class="faq__answer"> </div></div></div>'),sf=Zs('<div class="faq"><div class="faq__list"></div></div>');const af={hash:"svelte-tlosd8",code:`.faq {color:var(--text-default, #FFFFFF);width:100%;box-sizing:border-box;}.faq__list {display:flex;flex-direction:column;gap:12px;}.faq__item {background:var(--app-container-bg-default, #022652);border-radius:6px;border:1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));overflow:hidden;padding:16px;}.faq__title {width:100%;display:flex;justify-content:space-between;align-items:flex-start;background:transparent;color:var(--text-default, #FFFFFF);font-size:12px;font-weight:700;line-height:1.4;text-align:left;cursor:pointer;border:none;padding:0;}.faq__title:hover {background:transparent;}.faq__title,
|
|
6
|
+
.faq__title * {-webkit-tap-highlight-color:transparent;}.faq__question {text-align:left;}.faq__icon {flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;color:var(--text-default, #FFFFFF);transition:transform 0.25s ease;}.faq__icon--open {transform:rotate(180deg);}.faq__answer-wrapper {display:grid;grid-template-rows:0fr;opacity:0;transform:translateY(-4px);transition:grid-template-rows 0.35s ease,
|
|
7
7
|
opacity 0.2s ease,
|
|
8
|
-
transform 0.25s ease;}.faq__answer
|
|
8
|
+
transform 0.25s ease;}.faq__answer {overflow:hidden;font-size:12px;font-weight:500;line-height:1.5;color:var(--text-subtle, #DFE3E8);}.faq__answer-wrapper.open {grid-template-rows:1fr;opacity:1;transform:translateY(0);padding-top:16px;}`};function Ei(e,t){oi(t,!0),Zo(e,af);const r=()=>au(Kl,"$_",n),[n,i]=ou(),s=ot(t,"apiEndpoint",7,""),o=ot(t,"operatorName",7,""),a=ot(t,"locale",7,"en"),u=ot(t,"isExpanded",7,!0),l=u()===!0||u()==="true",f=[{questionKey:"faqBestQuestion",answerKey:"faqBestAnswer"},{questionKey:"faqWinningsQuestion",answerKey:"faqWinningsAnswer"},{questionKey:"faqGamesQuestion",answerKey:"faqGamesAnswer"},{questionKey:"faqSupportQuestion",answerKey:"faqSupportAnswer"}];ef({withLocale:a(),translations:{}}),Object.entries(rf).forEach(([y,$])=>{tf(y,$)});let c=Ve(Ft(Object.fromEntries(f.map((y,$)=>[$,l]))));const p=y=>{Be(c,dr(cr({},X(c)),{[y]:!X(c)[y]}),!0)};var v={get apiEndpoint(){return s()},set apiEndpoint(y=""){s(y),Ze()},get operatorName(){return o()},set operatorName(y=""){o(y),Ze()},get locale(){return a()},set locale(y="en"){a(y),Ze()},get isExpanded(){return u()},set isExpanded(y=!0){u(y),Ze()}},d=sf(),g=yr(d);Xo(g,21,()=>f,zo,(y,$,R)=>{var re=nf(),k=yr(re),j=yr(k),be=$i(j,!0),ue=Bi(j,2);let ee;Dt(k);var F=Bi(k,2);let N;var tt=yr(F),Pt=$i(tt,!0);Dt(F),Dt(re),Ho((S,_)=>{tu(k,"aria-expanded",!!X(c)[R]),Li(be,S),ee=Di(ue,1,"faq__icon",null,ee,{"faq__icon--open":X(c)[R]}),N=Di(F,1,"faq__answer-wrapper",null,N,{open:X(c)[R]}),Li(Pt,_)},[()=>r()(X($).questionKey,{values:{operatorName:o()}}),()=>r()(X($).answerKey,{values:{operatorName:o()}})]),Io("click",k,()=>p(R)),kn(y,re)}),Dt(g),Dt(d),kn(e,d);var x=ui(v);return i(),x}Co(["click"]);ia(Ei,{apiEndpoint:{},operatorName:{},locale:{},isExpanded:{}},[],[],{mode:"open"});function Oa(e,t){oi(t,!0);let r=ot(t,"apiEndpoint",7,""),n=ot(t,"operatorName",7,""),i=ot(t,"locale",7,"en"),s=ot(t,"isExpanded",7,!0);var o={get apiEndpoint(){return r()},set apiEndpoint(a=""){r(a),Ze()},get operatorName(){return n()},set operatorName(a=""){n(a),Ze()},get locale(){return i()},set locale(a="en"){i(a),Ze()},get isExpanded(){return s()},set isExpanded(a=!0){s(a),Ze()}};return Ei(e,{get apiEndpoint(){return r()},get operatorName(){return n()},get locale(){return i()},get isExpanded(){return s()}}),ui(o)}customElements.define("loyalty-marketing-content",ia(Oa,{apiEndpoint:{},operatorName:{},locale:{},isExpanded:{}},[],[]));const of=Object.freeze(Object.defineProperty({__proto__:null,default:Oa},Symbol.toStringTag,{value:"Module"}));exports.LoyaltyMarketingContent=Ei;exports.LoyaltyMarketingContent_ce=of;
|
package/components/{LoyaltyMarketingContent-DErOTzSl.cjs → LoyaltyMarketingContent-sxXw3RAs.cjs}
RENAMED
|
@@ -2,7 +2,7 @@ typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.cu
|
|
|
2
2
|
`).some(a=>a.startsWith("https://svelte.dev/e/")))throw o;return o!==Ge&&console.warn("Failed to hydrate: ",o),t.recover===!1&&Ps(),Mr(),_i(r),ze(!1),Di(e,t)}finally{ze(n),ue(i)}}const Vt=new Map;function ki(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:o=!0,transformError:a}){Mr();var l=void 0,u=ta(()=>{var f=r??t.appendChild(Fe());ba(f,{pending:()=>{}},p=>{Kr({});var d=ge;if(s&&(d.c=s),i&&(n.$$events=i),L&&Ir(p,null),l=e(p,n)||ni(),L&&($.nodes.end=k,k===null||k.nodeType!==Ut||k.data!==Qr))throw ur(),Ge;en()},a);var h=new Set,c=p=>{for(var d=0;d<p.length;d++){var y=p[d];if(!h.has(y)){h.add(y);var B=ma(y);for(const M of[t,document]){var b=Vt.get(M);b===void 0&&(b=new Map,Vt.set(M,b));var T=b.get(y);T===void 0?(M.addEventListener(y,Tn,{passive:B}),b.set(y,1)):b.set(y,T+1)}}}};return c(ar(Li)),Pr.add(c),()=>{for(var p of h)for(const B of[t,document]){var d=Vt.get(B),y=d.get(p);--y==0?(B.removeEventListener(p,Tn),d.delete(p),d.size===0&&Vt.delete(B)):d.set(p,y)}Pr.delete(c),f!==r&&f.parentNode?.removeChild(f)}});return Lr.set(l,u),l}let Lr=new WeakMap;function xa(e,t){const r=Lr.get(e);return r?(Lr.delete(e),r(t)):Promise.resolve()}function wa(e,t){return t}function Sa(e,t,r){for(var n=[],i=t.length,s,o=t.length,a=0;a<i;a++){let h=t[a];ht(h,()=>{if(s){if(s.pending.delete(h),s.done.add(h),s.pending.size===0){var c=e.outrogroups;Rr(e,ar(s.done)),c.delete(s),c.size===0&&(e.outrogroups=null)}}else o-=1},!1)}if(o===0){var l=n.length===0&&r!==null&&e.pending.size===0;if(l){var u=r,f=u.parentNode;_i(f),f.append(u),e.items.clear()}Rr(e,t,!l)}else s={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(s)}function Rr(e,t,r=!0){var n;if(e.pending.size>0){n=new Set;for(const o of e.pending.values())for(const a of o)n.add(e.items.get(a).e)}for(var i=0;i<t.length;i++){var s=t[i];if(n?.has(s)){s.f|=He;const o=document.createDocumentFragment();Hi(s,o)}else le(t[i],r)}}var Nn;function Ta(e,t,r,n,i,s=null){var o=e,a=new Map;{var l=e;o=L?ue(mt(l)):l.appendChild(Fe())}L&&Jr();var u=null,f=qs(()=>{var b=r();return zn(b)?b:b==null?[]:ar(b)}),h=new Map,c=!0;function p(b){if(!(B.effect.f&Y)){B.pending.delete(b);var T=G(f);B.fallback=u,Aa(B,T,o,t,n),u!==null&&(T.length===0?u.f&He?(u.f^=He,Mt(u,null,o)):Ai(u):ht(u,()=>{u=null}))}}function d(b){B.pending.delete(b)}var y=xi(()=>{var b=G(f),T=b.length;let M=!1;if(L){var Q=Kn(o)===Xr;Q!==(T===0)&&(o=Or(),ue(o),ze(!1),M=!0)}for(var P=new Set,R=H,ie=Ys(),V=0;V<T;V+=1){L&&k.nodeType===Ut&&k.data===Qr&&(o=k,M=!0,ze(!1));var he=b[V],I=n(he,V),x=c?null:a.get(I);x?(x.v&&vt(x.v,he),x.i&&vt(x.i,V),ie&&R.unskip_effect(x.e)):(x=Na(a,c?o:Nn??=Fe(),he,I,V,i,t,r),c||(x.e.f|=He),a.set(I,x)),P.add(I)}if(T===0&&s&&!u&&(c?u=_e(()=>s(o)):(u=_e(()=>s(Nn??=Fe())),u.f|=He)),T>P.size&&Bs(),L&&T>0&&ue(Or()),!c)if(h.set(R,P),ie){for(const[Ie,rt]of a)P.has(Ie)||R.skip_effect(rt.e);R.oncommit(p),R.ondiscard(d)}else p(R);M&&ze(!0),G(f)}),B={effect:y,items:a,pending:h,outrogroups:null,fallback:u};c=!1,L&&(o=k)}function Nt(e){for(;e!==null&&!(e.f&we);)e=e.next;return e}function Aa(e,t,r,n,i){var s=t.length,o=e.items,a=Nt(e.effect.first),l,u=null,f=[],h=[],c,p,d,y;for(y=0;y<s;y+=1){if(c=t[y],p=i(c,y),d=o.get(p).e,e.outrogroups!==null)for(const V of e.outrogroups)V.pending.delete(d),V.done.delete(d);if(d.f&ee&&Ai(d),d.f&He)if(d.f^=He,d===a)Mt(d,null,r);else{var B=u?u.next:a;d===e.effect.last&&(e.effect.last=d.prev),d.prev&&(d.prev.next=d.next),d.next&&(d.next.prev=d.prev),Le(e,u,d),Le(e,d,B),Mt(d,B,r),u=d,f=[],h=[],a=Nt(u.next);continue}if(d!==a){if(l!==void 0&&l.has(d)){if(f.length<h.length){var b=h[0],T;u=b.prev;var M=f[0],Q=f[f.length-1];for(T=0;T<f.length;T+=1)Mt(f[T],b,r);for(T=0;T<h.length;T+=1)l.delete(h[T]);Le(e,M.prev,Q.next),Le(e,u,M),Le(e,Q,b),a=b,u=Q,y-=1,f=[],h=[]}else l.delete(d),Mt(d,a,r),Le(e,d.prev,d.next),Le(e,d,u===null?e.effect.first:u.next),Le(e,u,d),u=d;continue}for(f=[],h=[];a!==null&&a!==d;)(l??=new Set).add(a),h.push(a),a=Nt(a.next);if(a===null)continue}d.f&He||f.push(d),u=d,a=Nt(d.next)}if(e.outrogroups!==null){for(const V of e.outrogroups)V.pending.size===0&&(Rr(e,ar(V.done)),e.outrogroups?.delete(V));e.outrogroups.size===0&&(e.outrogroups=null)}if(a!==null||l!==void 0){var P=[];if(l!==void 0)for(d of l)d.f&ee||P.push(d);for(;a!==null;)!(a.f&ee)&&a!==e.fallback&&P.push(a),a=Nt(a.next);var R=P.length;if(R>0){var ie=s===0?r:null;Sa(e,P,ie)}}}function Na(e,t,r,n,i,s,o,a){var l=o&ps?o&ms?Ze(r):on(r,!1,!1):null,u=o&vs?Ze(i):null;return{v:l,i:u,e:_e(()=>(s(t,l??r,u??i,a),()=>{e.delete(n)}))}}function Mt(e,t,r){if(e.nodes)for(var n=e.nodes.start,i=e.nodes.end,s=t&&!(t.f&He)?t.nodes.start:r;n!==null;){var o=Pe(n);if(s.before(n),n===i)return;n=o}}function Le(e,t,r){t===null?e.effect.first=r:t.next=r,r===null?e.effect.last=t:r.prev=t}function Ha(e,t){ra(()=>{e=$?.parent?.nodes?.start??e;var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=un("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}const Hn=[...`
|
|
3
3
|
\r\f \v\uFEFF`];function Oa(e,t,r){var n=e==null?"":""+e;if(r){for(var i of Object.keys(r))if(r[i])n=n?n+" "+i:i;else if(n.length)for(var s=i.length,o=0;(o=n.indexOf(i,o))>=0;){var a=o+s;(o===0||Hn.includes(n[o-1]))&&(a===n.length||Hn.includes(n[a]))?n=(o===0?"":n.substring(0,o))+n.substring(a+1):o=a}}return n===""?null:n}function On(e,t,r,n,i,s){var o=e[Nr];if(L||o!==r||o===void 0){var a=Oa(r,n,s);(!L||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):e.className=a),e[Nr]=r}else if(s&&i!==s)for(var l in s){var u=!!s[l];(i==null||u!==!!i[l])&&e.classList.toggle(l,u)}return s}const $a=Symbol("is custom element"),Ba=Symbol("is html");function Ma(e,t,r,n){var i=Pa(e);L&&(i[t]=e.getAttribute(t)),i[t]!==(i[t]=r)&&(r==null?e.removeAttribute(t):typeof r!="string"&&Ia(e).has(t)?e[t]=r:e.setAttribute(t,r))}function Pa(e){return e[Jn]??={[$a]:e.nodeName.includes("-"),[Ba]:e.namespaceURI===_s}}var $n=new Map;function Ia(e){var t=e.getAttribute("is")||e.nodeName,r=$n.get(t);if(r)return r;$n.set(t,r=new Set);for(var n,i=e,s=Element.prototype;s!==i;){n=ys(i);for(var o in n)n[o].set&&o!=="innerHTML"&&o!=="textContent"&&o!=="innerText"&&r.add(o);i=Wn(i)}return r}function hn(e,t,r){if(e==null)return t(void 0),r&&r(void 0),$e;const n=Ci(()=>e.subscribe(t,r));return n.unsubscribe?()=>n.unsubscribe():n}const st=[];function Ca(e,t){return{subscribe:fr(e,t).subscribe}}function fr(e,t=$e){let r=null;const n=new Set;function i(a){if(ti(e,a)&&(e=a,r)){const l=!st.length;for(const u of n)u[1](),st.push(u,e);if(l){for(let u=0;u<st.length;u+=2)st[u][0](st[u+1]);st.length=0}}}function s(a){i(a(e))}function o(a,l=$e){const u=[a,l];return n.add(u),n.size===1&&(r=t(i,s)||$e),a(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:s,subscribe:o}}function xt(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 Ca(r,(o,a)=>{let l=!1;const u=[];let f=0,h=$e;const c=()=>{if(f)return;h();const d=t(n?u[0]:u,o,a);s?o(d):h=typeof d=="function"?d:$e},p=i.map((d,y)=>hn(d,B=>{u[y]=B,f&=~(1<<y),l&&c()},()=>{f|=1<<y}));return l=!0,c(),function(){Xn(p),h(),l=!1}})}function La(e){let t;return hn(e,r=>t=r)(),t}let Dr=Symbol("unmounted");function Ra(e,t,r){const n=r[t]??={store:null,source:on(void 0),unsubscribe:$e};if(n.store!==e&&!(Dr in r))if(n.unsubscribe(),n.store=e??null,e==null)n.source.v=void 0,n.unsubscribe=$e;else{var i=!0;n.unsubscribe=hn(e,s=>{i?n.source.v=s:ce(n.source,s)}),i=!1}return e&&Dr in r?La(e):G(n.source)}function Da(){const e={};function t(){yi(()=>{for(var r in e)e[r].unsubscribe();ct(e,Dr,{enumerable:!1,value:!0})})}return[e,t]}function Re(e,t,r,n){var i=n,s=!0,o=()=>(s&&(s=!1,i=n),i),a;a=e[t],a===void 0&&n!==void 0&&(a=o());var l;l=()=>{var c=e[t];return c===void 0?o():(s=!0,c)};var u=!1,f=rn(()=>(u=!1,l())),h=$;return function(c,p){if(arguments.length>0){const d=p?G(f):c;return ce(f,d),u=!0,i!==void 0&&(i=d),c}return Ue&&u||h.f&Y?f.v:G(f)}}function ka(e){return new Fa(e)}class Fa{#e;#r;constructor(t){var r=new Map,n=(s,o)=>{var a=on(o,!1,!1);return r.set(s,a),a};const i=new Proxy({...t.props||{},$$events:{}},{get(s,o){return G(r.get(o)??n(o,Reflect.get(s,o)))},has(s,o){return o===Ts?!0:(G(r.get(o)??n(o,Reflect.get(s,o))),Reflect.has(s,o))},set(s,o,a){return ce(r.get(o)??n(o,a),a),Reflect.set(s,o,a)}});this.#r=(t.hydrate?Ea:Di)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&Oe(),this.#e=i.$$events;for(const s of Object.keys(this.#r))s==="$set"||s==="$destroy"||s==="$on"||ct(this,s,{get(){return this.#r[s]},set(o){this.#r[s]=o},enumerable:!0});this.#r.$set=s=>{Object.assign(i,s)},this.#r.$destroy=()=>{xa(this.#r)}}$set(t){this.#r.$set(t)}$on(t,r){this.#e[t]=this.#e[t]||[];const n=(...i)=>r.call(this,...i);return this.#e[t].push(n),()=>{this.#e[t]=this.#e[t].filter(i=>i!==n)}}$destroy(){this.#r.$destroy()}}let Fi;typeof HTMLElement=="function"&&(Fi=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&(this.$$shadowRoot=this.attachShadow(r))}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(i){return s=>{const o=un("slot");i!=="default"&&(o.name=i),Cr(s,o)}};var e=t;if(await Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Ga(this);for(const i of this.$$s)i in n&&(i==="default"&&!this.$$d.children?(this.$$d.children=t(i),r.default=!0):r[i]=t(i));for(const i of this.attributes){const s=this.$$g_p(i.name);s in this.$$d||(this.$$d[s]=Xt(s,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=ka({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:r,$$host:this}}),this.$$me=ea(()=>{Ei(()=>{this.$$r=!0;for(const i of Zt(this.$$c)){if(!this.$$p_d[i]?.reflect)continue;this.$$d[i]=this.$$c[i];const s=Xt(i,this.$$d[i],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,s)}this.$$r=!1})});for(const i in this.$$l)for(const s of this.$$l[i]){const o=this.$$c.$on(i,s);this.$$l_u.set(s,o)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Xt(e,r,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return Zt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Xt(e,t,r,n){const i=r[e]?.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;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 Ga(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Gi(e,t,r,n,i,s){let o=class extends Fi{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Zt(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Zt(t).forEach(a=>{ct(o.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){l=Xt(a,l,t),this.$$d[a]=l;var u=this.$$c;if(u){var f=ut(u,a)?.get;f?u[a]=l:u.$set({[a]:l})}}})}),n.forEach(a=>{ct(o.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=o,o}var Ua=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ja(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var qa={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Ua,function(){var r=1e3,n=6e4,i=36e5,s="millisecond",o="second",a="minute",l="hour",u="day",f="week",h="month",c="quarter",p="year",d="date",y="Invalid Date",B=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,T={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(E){var m=["th","st","nd","rd"],v=E%100;return"["+E+(m[(v-20)%10]||m[v]||m[0])+"]"}},M=function(E,m,v){var _=String(E);return!_||_.length>=m?E:""+Array(m+1-_.length).join(v)+E},Q={s:M,z:function(E){var m=-E.utcOffset(),v=Math.abs(m),_=Math.floor(v/60),g=v%60;return(m<=0?"+":"-")+M(_,2,"0")+":"+M(g,2,"0")},m:function E(m,v){if(m.date()<v.date())return-E(v,m);var _=12*(v.year()-m.year())+(v.month()-m.month()),g=m.clone().add(_,h),w=v-g<0,S=m.clone().add(_+(w?-1:1),h);return+(-(_+(v-g)/(w?g-S:S-g))||0)},a:function(E){return E<0?Math.ceil(E)||0:Math.floor(E)},p:function(E){return{M:h,y:p,w:f,d:u,D:d,h:l,m:a,s:o,ms:s,Q:c}[E]||String(E||"").toLowerCase().replace(/s$/,"")},u:function(E){return E===void 0}},P="en",R={};R[P]=T;var ie="$isDayjsObject",V=function(E){return E instanceof Ie||!(!E||!E[ie])},he=function E(m,v,_){var g;if(!m)return P;if(typeof m=="string"){var w=m.toLowerCase();R[w]&&(g=w),v&&(R[w]=v,g=w);var S=m.split("-");if(!g&&S.length>1)return E(S[0])}else{var C=m.name;R[C]=m,g=C}return!_&&g&&(P=g),g||!_&&P},I=function(E,m){if(V(E))return E.clone();var v=typeof m=="object"?m:{};return v.date=E,v.args=arguments,new Ie(v)},x=Q;x.l=he,x.i=V,x.w=function(E,m){return I(E,{locale:m.$L,utc:m.$u,x:m.$x,$offset:m.$offset})};var Ie=function(){function E(v){this.$L=he(v.locale,null,!0),this.parse(v),this.$x=this.$x||v.x||{},this[ie]=!0}var m=E.prototype;return m.parse=function(v){this.$d=function(_){var g=_.date,w=_.utc;if(g===null)return new Date(NaN);if(x.u(g))return new Date;if(g instanceof Date)return new Date(g);if(typeof g=="string"&&!/Z$/i.test(g)){var S=g.match(B);if(S){var C=S[2]-1||0,j=(S[7]||"0").substring(0,3);return w?new Date(Date.UTC(S[1],C,S[3]||1,S[4]||0,S[5]||0,S[6]||0,j)):new Date(S[1],C,S[3]||1,S[4]||0,S[5]||0,S[6]||0,j)}}return new Date(g)}(v),this.init()},m.init=function(){var v=this.$d;this.$y=v.getFullYear(),this.$M=v.getMonth(),this.$D=v.getDate(),this.$W=v.getDay(),this.$H=v.getHours(),this.$m=v.getMinutes(),this.$s=v.getSeconds(),this.$ms=v.getMilliseconds()},m.$utils=function(){return x},m.isValid=function(){return this.$d.toString()!==y},m.isSame=function(v,_){var g=I(v);return this.startOf(_)<=g&&g<=this.endOf(_)},m.isAfter=function(v,_){return I(v)<this.startOf(_)},m.isBefore=function(v,_){return this.endOf(_)<I(v)},m.$g=function(v,_,g){return x.u(v)?this[_]:this.set(g,v)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(v,_){var g=this,w=!!x.u(_)||_,S=x.p(v),C=function(qe,te){var Ce=x.w(g.$u?Date.UTC(g.$y,te,qe):new Date(g.$y,te,qe),g);return w?Ce:Ce.endOf(u)},j=function(qe,te){return x.w(g.toDate()[qe].apply(g.toDate("s"),(w?[0,0,0,0]:[23,59,59,999]).slice(te)),g)},X=this.$W,Z=this.$M,se=this.$D,nt="set"+(this.$u?"UTC":"");switch(S){case p:return w?C(1,0):C(31,11);case h:return w?C(1,Z):C(0,Z+1);case f:var je=this.$locale().weekStart||0,Tt=(X<je?X+7:X)-je;return C(w?se-Tt:se+(6-Tt),Z);case u:case d:return j(nt+"Hours",0);case l:return j(nt+"Minutes",1);case a:return j(nt+"Seconds",2);case o:return j(nt+"Milliseconds",3);default:return this.clone()}},m.endOf=function(v){return this.startOf(v,!1)},m.$set=function(v,_){var g,w=x.p(v),S="set"+(this.$u?"UTC":""),C=(g={},g[u]=S+"Date",g[d]=S+"Date",g[h]=S+"Month",g[p]=S+"FullYear",g[l]=S+"Hours",g[a]=S+"Minutes",g[o]=S+"Seconds",g[s]=S+"Milliseconds",g)[w],j=w===u?this.$D+(_-this.$W):_;if(w===h||w===p){var X=this.clone().set(d,1);X.$d[C](j),X.init(),this.$d=X.set(d,Math.min(this.$D,X.daysInMonth())).$d}else C&&this.$d[C](j);return this.init(),this},m.set=function(v,_){return this.clone().$set(v,_)},m.get=function(v){return this[x.p(v)]()},m.add=function(v,_){var g,w=this;v=Number(v);var S=x.p(_),C=function(Z){var se=I(w);return x.w(se.date(se.date()+Math.round(Z*v)),w)};if(S===h)return this.set(h,this.$M+v);if(S===p)return this.set(p,this.$y+v);if(S===u)return C(1);if(S===f)return C(7);var j=(g={},g[a]=n,g[l]=i,g[o]=r,g)[S]||1,X=this.$d.getTime()+v*j;return x.w(X,this)},m.subtract=function(v,_){return this.add(-1*v,_)},m.format=function(v){var _=this,g=this.$locale();if(!this.isValid())return g.invalidDate||y;var w=v||"YYYY-MM-DDTHH:mm:ssZ",S=x.z(this),C=this.$H,j=this.$m,X=this.$M,Z=g.weekdays,se=g.months,nt=g.meridiem,je=function(te,Ce,At,qt){return te&&(te[Ce]||te(_,w))||At[Ce].slice(0,qt)},Tt=function(te){return x.s(C%12||12,te,"0")},qe=nt||function(te,Ce,At){var qt=te<12?"AM":"PM";return At?qt.toLowerCase():qt};return w.replace(b,function(te,Ce){return Ce||function(At){switch(At){case"YY":return String(_.$y).slice(-2);case"YYYY":return x.s(_.$y,4,"0");case"M":return X+1;case"MM":return x.s(X+1,2,"0");case"MMM":return je(g.monthsShort,X,se,3);case"MMMM":return je(se,X);case"D":return _.$D;case"DD":return x.s(_.$D,2,"0");case"d":return String(_.$W);case"dd":return je(g.weekdaysMin,_.$W,Z,2);case"ddd":return je(g.weekdaysShort,_.$W,Z,3);case"dddd":return Z[_.$W];case"H":return String(C);case"HH":return x.s(C,2,"0");case"h":return Tt(1);case"hh":return Tt(2);case"a":return qe(C,j,!0);case"A":return qe(C,j,!1);case"m":return String(j);case"mm":return x.s(j,2,"0");case"s":return String(_.$s);case"ss":return x.s(_.$s,2,"0");case"SSS":return x.s(_.$ms,3,"0");case"Z":return S}return null}(te)||S.replace(":","")})},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(v,_,g){var w,S=this,C=x.p(_),j=I(v),X=(j.utcOffset()-this.utcOffset())*n,Z=this-j,se=function(){return x.m(S,j)};switch(C){case p:w=se()/12;break;case h:w=se();break;case c:w=se()/3;break;case f:w=(Z-X)/6048e5;break;case u:w=(Z-X)/864e5;break;case l:w=Z/i;break;case a:w=Z/n;break;case o:w=Z/r;break;default:w=Z}return g?w:x.a(w)},m.daysInMonth=function(){return this.endOf(h).$D},m.$locale=function(){return R[this.$L]},m.locale=function(v,_){if(!v)return this.$L;var g=this.clone(),w=he(v,_,!0);return w&&(g.$L=w),g},m.clone=function(){return x.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},E}(),rt=Ie.prototype;return I.prototype=rt,[["$ms",s],["$s",o],["$m",a],["$H",l],["$W",u],["$M",h],["$y",p],["$D",d]].forEach(function(E){rt[E[1]]=function(m){return this.$g(m,E[0],E[1])}}),I.extend=function(E,m){return E.$i||(E(m,Ie,I),E.$i=!0),I},I.locale=he,I.isDayjs=V,I.unix=function(E){return I(1e3*E)},I.en=R[P],I.Ls=R,I.p={},I})})(qa);var Va=function(t){return za(t)&&!Wa(t)};function za(e){return!!e&&typeof e=="object"}function Wa(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Ya(e)}var Xa=typeof Symbol=="function"&&Symbol.for,Qa=Xa?Symbol.for("react.element"):60103;function Ya(e){return e.$$typeof===Qa}function Za(e){return Array.isArray(e)?[]:{}}function kt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?_t(Za(e),e,t):e}function Ja(e,t,r){return e.concat(t).map(function(n){return kt(n,r)})}function Ka(e,t){if(!t.customMerge)return _t;var r=t.customMerge(e);return typeof r=="function"?r:_t}function eo(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Bn(e){return Object.keys(e).concat(eo(e))}function Ui(e,t){try{return t in e}catch{return!1}}function to(e,t){return Ui(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function ro(e,t,r){var n={};return r.isMergeableObject(e)&&Bn(e).forEach(function(i){n[i]=kt(e[i],r)}),Bn(t).forEach(function(i){to(e,i)||(Ui(e,i)&&r.isMergeableObject(t[i])?n[i]=Ka(i,r)(e[i],t[i],r):n[i]=kt(t[i],r))}),n}function _t(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Ja,r.isMergeableObject=r.isMergeableObject||Va,r.cloneUnlessOtherwiseSpecified=kt;var n=Array.isArray(t),i=Array.isArray(e),s=n===i;return s?n?r.arrayMerge(e,t,r):ro(e,t,r):kt(t,r)}_t.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return _t(n,i,r)},{})};var no=_t,io=no;const so=ja(io);var kr=function(e,t){return kr=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])},kr(e,t)};function hr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");kr(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var ye=function(){return ye=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},ye.apply(this,arguments)};function ao(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 yr(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 Er(e,t){var r=t&&t.cache?t.cache:po,n=t&&t.serializer?t.serializer:ho,i=t&&t.strategy?t.strategy:lo;return i(e,{cache:r,serializer:n})}function oo(e){return e==null||typeof e=="number"||typeof e=="boolean"}function uo(e,t,r,n){var i=oo(n)?n:r(n),s=t.get(i);return typeof s>"u"&&(s=e.call(this,n),t.set(i,s)),s}function ji(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),s=t.get(i);return typeof s>"u"&&(s=e.apply(this,n),t.set(i,s)),s}function qi(e,t,r,n,i){return r.bind(t,e,n,i)}function lo(e,t){var r=e.length===1?uo:ji;return qi(e,this,r,t.cache.create(),t.serializer)}function fo(e,t){return qi(e,this,ji,t.cache.create(),t.serializer)}var ho=function(){return JSON.stringify(arguments)},co=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}(),po={create:function(){return new co}},xr={variadic:fo},nr=function(){return nr=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},nr.apply(this,arguments)};var A;(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"})(A||(A={}));var D;(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"})(D||(D={}));var bt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(bt||(bt={}));function Mn(e){return e.type===D.literal}function vo(e){return e.type===D.argument}function Vi(e){return e.type===D.number}function zi(e){return e.type===D.date}function Wi(e){return e.type===D.time}function Xi(e){return e.type===D.select}function Qi(e){return e.type===D.plural}function mo(e){return e.type===D.pound}function Yi(e){return e.type===D.tag}function Zi(e){return!!(e&&typeof e=="object"&&e.type===bt.number)}function Fr(e){return!!(e&&typeof e=="object"&&e.type===bt.dateTime)}var Ji=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,go=/(?:[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 _o(e){var t={};return e.replace(go,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 F=function(){return F=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},F.apply(this,arguments)};var bo=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function yo(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(bo).filter(function(c){return c.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 a=o[0],l=o.slice(1),u=0,f=l;u<f.length;u++){var h=f[u];if(h.length===0)throw new Error("Invalid number skeleton")}r.push({stem:a,options:l})}return r}function Eo(e){return e.replace(/^(.*?)-/,"")}var Pn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ki=/^(@+)?(\+|#+)?[rs]?$/g,xo=/(\*)(0+)|(#+)(0+)|(0+)/g,es=/^(0+)$/;function In(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Ki,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 ts(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 wo(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)),!es.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Cn(e){var t={},r=ts(e);return r||t}function So(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=Eo(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=F(F(F({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return F(F({},l),Cn(u))},{}));continue;case"engineering":t=F(F(F({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return F(F({},l),Cn(u))},{}));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(xo,function(l,u,f,h,c,p){if(u)t.minimumIntegerDigits=f.length;else{if(h&&c)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(es.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Pn.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Pn,function(l,u,f,h,c,p){return f==="*"?t.minimumFractionDigits=u.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:c&&p?(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length+p.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var s=i.options[0];s==="w"?t=F(F({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=F(F({},t),In(s)));continue}if(Ki.test(i.stem)){t=F(F({},t),In(i.stem));continue}var o=ts(i.stem);o&&(t=F(F({},t),o));var a=wo(i.stem);a&&(t=F(F({},t),a))}return t}var zt={"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 To(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),a=s<2?1:3+(s>>1),l="a",u=Ao(t);for((u=="H"||u=="k")&&(a=0);a-- >0;)r+=l;for(;o-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function Ao(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=zt[n||""]||zt[r||""]||zt["".concat(r,"-001")]||zt["001"];return i[0]}var wr,No=new RegExp("^".concat(Ji.source,"*")),Ho=new RegExp("".concat(Ji.source,"*$"));function N(e,t){return{start:e,end:t}}var Oo=!!String.prototype.startsWith&&"_a".startsWith("a",1),$o=!!String.fromCodePoint,Bo=!!Object.fromEntries,Mo=!!String.prototype.codePointAt,Po=!!String.prototype.trimStart,Io=!!String.prototype.trimEnd,Co=!!Number.isSafeInteger,Lo=Co?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Gr=!0;try{var Ro=ns("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Gr=((wr=Ro.exec("a"))===null||wr===void 0?void 0:wr[0])==="a"}catch{Gr=!1}var Ln=Oo?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Ur=$o?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},Rn=Bo?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var s=i[n],o=s[0],a=s[1];r[o]=a}return r},rs=Mo?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}},Do=Po?function(t){return t.trimStart()}:function(t){return t.replace(No,"")},ko=Io?function(t){return t.trimEnd()}:function(t){return t.replace(Ho,"")};function ns(e,t){return new RegExp(e,t)}var jr;if(Gr){var Dn=ns("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");jr=function(t,r){var n;Dn.lastIndex=r;var i=Dn.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else jr=function(t,r){for(var n=[];;){var i=rs(t,r);if(i===void 0||is(i)||jo(i))break;n.push(i),r+=i>=65536?2:1}return Ur.apply(void 0,n)};var Fo=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 a=this.clonePosition();this.bump(),i.push({type:D.pound,location:N(a,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(A.UNMATCHED_CLOSING_TAG,N(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&qr(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:D.literal,value:"<".concat(i,"/>"),location:N(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,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!qr(this.char()))return this.error(A.INVALID_TAG,N(a,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(A.UNMATCHED_CLOSING_TAG,N(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:D.tag,value:i,children:o,location:N(n,this.clonePosition())},err:null}:this.error(A.INVALID_TAG,N(a,this.clonePosition())))}else return this.error(A.UNCLOSED_TAG,N(n,this.clonePosition()))}else return this.error(A.INVALID_TAG,N(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Uo(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 a=this.tryParseLeftAngleBracket();if(a){i+=a;continue}break}var l=N(n,this.clonePosition());return{val:{type:D.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Go(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 Ur.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(),Ur(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,N(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(A.EMPTY_ARGUMENT,N(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(A.MALFORMED_ARGUMENT,N(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,N(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:D.argument,value:i,location:N(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,N(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(A.MALFORMED_ARGUMENT,N(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=jr(this.message,r),i=r+n.length;this.bumpTo(i);var s=this.clonePosition(),o=N(t,s);return{value:n,location:o}},e.prototype.parseArgumentOptions=function(t,r,n,i){var s,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(a){case"":return this.error(A.EXPECT_ARGUMENT_TYPE,N(o,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var c=ko(h.val);if(c.length===0)return this.error(A.EXPECT_ARGUMENT_STYLE,N(this.clonePosition(),this.clonePosition()));var p=N(f,this.clonePosition());u={style:c,styleLocation:p}}var d=this.tryParseArgumentClose(i);if(d.err)return d;var y=N(i,this.clonePosition());if(u&&Ln(u?.style,"::",0)){var B=Do(u.style.slice(2));if(a==="number"){var h=this.parseNumberSkeletonFromString(B,u.styleLocation);return h.err?h:{val:{type:D.number,value:n,location:y,style:h.val},err:null}}else{if(B.length===0)return this.error(A.EXPECT_DATE_TIME_SKELETON,y);var b=B;this.locale&&(b=To(B,this.locale));var c={type:bt.dateTime,pattern:b,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?_o(b):{}},T=a==="date"?D.date:D.time;return{val:{type:T,value:n,location:y,style:c},err:null}}}return{val:{type:a==="number"?D.number:a==="date"?D.date:D.time,value:n,location:y,style:(s=u?.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(A.EXPECT_SELECT_ARGUMENT_OPTIONS,N(M,nr({},M)));this.bumpSpace();var Q=this.parseIdentifierIfPossible(),P=0;if(a!=="select"&&Q.value==="offset"){if(!this.bumpIf(":"))return this.error(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,N(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,A.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),Q=this.parseIdentifierIfPossible(),P=h.val}var R=this.tryParsePluralOrSelectOptions(t,a,r,Q);if(R.err)return R;var d=this.tryParseArgumentClose(i);if(d.err)return d;var ie=N(i,this.clonePosition());return a==="select"?{val:{type:D.select,value:n,options:Rn(R.val),location:ie},err:null}:{val:{type:D.plural,value:n,options:Rn(R.val),offset:P,pluralType:a==="plural"?"cardinal":"ordinal",location:ie},err:null}}default:return this.error(A.INVALID_ARGUMENT_TYPE,N(o,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,N(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(A.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,N(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=yo(t)}catch{return this.error(A.INVALID_NUMBER_SKELETON,r)}return{val:{type:bt.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?So(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var s,o=!1,a=[],l=new Set,u=i.value,f=i.location;;){if(u.length===0){var h=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var c=this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_SELECTOR,A.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;f=N(h,this.clonePosition()),u=this.message.slice(h.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?A.DUPLICATE_SELECT_ARGUMENT_SELECTOR:A.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);u==="other"&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?A.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:A.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,N(this.clonePosition(),this.clonePosition()));var d=this.parseMessage(t+1,r,n);if(d.err)return d;var y=this.tryParseArgumentClose(p);if(y.err)return y;a.push([u,{value:d.val,location:N(p,this.clonePosition())}]),l.add(u),this.bumpSpace(),s=this.parseIdentifierIfPossible(),u=s.value,f=s.location}return a.length===0?this.error(r==="select"?A.EXPECT_SELECT_ARGUMENT_SELECTOR:A.EXPECT_PLURAL_ARGUMENT_SELECTOR,N(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(A.MISSING_OTHER_CLAUSE,N(this.clonePosition(),this.clonePosition())):{val:a,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 a=this.char();if(a>=48&&a<=57)s=!0,o=o*10+(a-48),this.bump();else break}var l=N(i,this.clonePosition());return s?(o*=n,Lo(o)?{val:o,err:null}:this.error(r,l)):this.error(t,l)},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=rs(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(Ln(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()&&is(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},e}();function qr(e){return e>=97&&e<=122||e>=65&&e<=90}function Go(e){return qr(e)||e===47}function Uo(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 is(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function jo(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 Vr(e){e.forEach(function(t){if(delete t.location,Xi(t)||Qi(t))for(var r in t.options)delete t.options[r].location,Vr(t.options[r].value);else Vi(t)&&Zi(t.style)||(zi(t)||Wi(t))&&Fr(t.style)?delete t.style.location:Yi(t)&&Vr(t.children)})}function qo(e,t){t===void 0&&(t={}),t=nr({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Fo(e,t).parse();if(r.err){var n=SyntaxError(A[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t?.captureLocation||Vr(r.val),r.val}var yt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(yt||(yt={}));var cr=function(e){hr(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),kn=function(e){hr(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('", "'),'"'),yt.INVALID_VALUE,s)||this}return t}(cr),Vo=function(e){hr(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),yt.INVALID_VALUE,i)||this}return t}(cr),zo=function(e){hr(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,'"'),yt.MISSING_VALUE,n)||this}return t}(cr),K;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(K||(K={}));function Wo(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==K.literal||r.type!==K.literal?t.push(r):n.value+=r.value,t},[])}function Xo(e){return typeof e=="function"}function Qt(e,t,r,n,i,s,o){if(e.length===1&&Mn(e[0]))return[{type:K.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var f=u[l];if(Mn(f)){a.push({type:K.literal,value:f.value});continue}if(mo(f)){typeof s=="number"&&a.push({type:K.literal,value:r.getNumberFormat(t).format(s)});continue}var h=f.value;if(!(i&&h in i))throw new zo(h,o);var c=i[h];if(vo(f)){(!c||typeof c=="string"||typeof c=="number")&&(c=typeof c=="string"||typeof c=="number"?String(c):""),a.push({type:typeof c=="string"?K.literal:K.object,value:c});continue}if(zi(f)){var p=typeof f.style=="string"?n.date[f.style]:Fr(f.style)?f.style.parsedOptions:void 0;a.push({type:K.literal,value:r.getDateTimeFormat(t,p).format(c)});continue}if(Wi(f)){var p=typeof f.style=="string"?n.time[f.style]:Fr(f.style)?f.style.parsedOptions:n.time.medium;a.push({type:K.literal,value:r.getDateTimeFormat(t,p).format(c)});continue}if(Vi(f)){var p=typeof f.style=="string"?n.number[f.style]:Zi(f.style)?f.style.parsedOptions:void 0;p&&p.scale&&(c=c*(p.scale||1)),a.push({type:K.literal,value:r.getNumberFormat(t,p).format(c)});continue}if(Yi(f)){var d=f.children,y=f.value,B=i[y];if(!Xo(B))throw new Vo(y,"function",o);var b=Qt(d,t,r,n,i,s),T=B(b.map(function(P){return P.value}));Array.isArray(T)||(T=[T]),a.push.apply(a,T.map(function(P){return{type:typeof P=="string"?K.literal:K.object,value:P}}))}if(Xi(f)){var M=f.options[c]||f.options.other;if(!M)throw new kn(f.value,c,Object.keys(f.options),o);a.push.apply(a,Qt(M.value,t,r,n,i));continue}if(Qi(f)){var M=f.options["=".concat(c)];if(!M){if(!Intl.PluralRules)throw new cr(`Intl.PluralRules is not available in this environment.
|
|
4
4
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
5
|
-
`,yt.MISSING_INTL_API,o);var Q=r.getPluralRules(t,{type:f.pluralType}).select(c-(f.offset||0));M=f.options[Q]||f.options.other}if(!M)throw new kn(f.value,c,Object.keys(f.options),o);a.push.apply(a,Qt(M.value,t,r,n,i,c-(f.offset||0)));continue}}return Wo(a)}function Qo(e,t){return t?ye(ye(ye({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=ye(ye({},e[n]),t[n]||{}),r},{})):e}function Yo(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Qo(e[n],t[n]),r},ye({},e)):e}function Sr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Zo(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Er(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,yr([void 0],r,!1)))},{cache:Sr(e.number),strategy:xr.variadic}),getDateTimeFormat:Er(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,yr([void 0],r,!1)))},{cache:Sr(e.dateTime),strategy:xr.variadic}),getPluralRules:Er(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,yr([void 0],r,!1)))},{cache:Sr(e.pluralRules),strategy:xr.variadic})}}var Jo=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(l){var u=s.formatToParts(l);if(u.length===1)return u[0].value;var f=u.reduce(function(h,c){return!h.length||c.type!==K.literal||typeof h[h.length-1]!="string"?h.push(c.value):h[h.length-1]+=c.value,h},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(l){return Qt(s.ast,s.locales,s.formatters,s.formats,l,void 0,s.message)},this.resolvedOptions=function(){var l;return{locale:((l=s.resolvedLocale)===null||l===void 0?void 0:l.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 a=ao(o,["formatters"]);this.ast=e.__parse(t,ye(ye({},a),{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=Yo(e.formats,n),this.formatters=i&&i.formatters||Zo(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>"u")){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=qo,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 Ko(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 De={},eu=(e,t,r)=>r&&(t in De||(De[t]={}),e in De[t]||(De[t][e]=r),r),ss=(e,t)=>{if(t==null)return;if(t in De&&e in De[t])return De[t][e];const r=dr(t);for(let n=0;n<r.length;n++){const i=r[n],s=ru(i,e);if(s)return eu(e,t,s)}};let cn;const wt=fr({});function tu(e){return cn[e]||null}function as(e){return e in cn}function ru(e,t){if(!as(e))return null;const r=tu(e);return Ko(r,t)}function nu(e){if(e==null)return;const t=dr(e);for(let r=0;r<t.length;r++){const n=t[r];if(as(n))return n}}function os(e,...t){delete De[e],wt.update(r=>(r[e]=so.all([r[e]||{},...t]),r))}xt([wt],([e])=>Object.keys(e));wt.subscribe(e=>cn=e);const Yt={};function iu(e,t){Yt[e].delete(t),Yt[e].size===0&&delete Yt[e]}function us(e){return Yt[e]}function su(e){return dr(e).map(t=>{const r=us(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function zr(e){return e==null?!1:dr(e).some(t=>{var r;return(r=us(t))==null?void 0:r.size})}function au(e,t){return Promise.all(t.map(n=>(iu(e,n),n().then(i=>i.default||i)))).then(n=>os(e,...n))}const Ht={};function ls(e){if(!zr(e))return e in Ht?Ht[e]:Promise.resolve();const t=su(e);return Ht[e]=Promise.all(t.map(([r,n])=>au(r,n))).then(()=>{if(zr(e))return ls(e);delete Ht[e]}),Ht[e]}const ou={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"}}},uu={fallbackLocale:null,loadingDelay:200,formats:ou,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},lu=uu;function Et(){return lu}const Tr=fr(!1);var fu=Object.defineProperty,hu=Object.defineProperties,cu=Object.getOwnPropertyDescriptors,Fn=Object.getOwnPropertySymbols,du=Object.prototype.hasOwnProperty,pu=Object.prototype.propertyIsEnumerable,Gn=(e,t,r)=>t in e?fu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,vu=(e,t)=>{for(var r in t||(t={}))du.call(t,r)&&Gn(e,r,t[r]);if(Fn)for(var r of Fn(t))pu.call(t,r)&&Gn(e,r,t[r]);return e},mu=(e,t)=>hu(e,cu(t));let Wr;const ir=fr(null);function Un(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function dr(e,t=Et().fallbackLocale){const r=Un(e);return t?[...new Set([...r,...Un(t)])]:r}function tt(){return Wr??void 0}ir.subscribe(e=>{Wr=e??void 0,typeof window<"u"&&e!=null&&document.documentElement.setAttribute("lang",e)});const gu=e=>{if(e&&nu(e)&&zr(e)){const{loadingDelay:t}=Et();let r;return typeof window<"u"&&tt()!=null&&t?r=window.setTimeout(()=>Tr.set(!0),t):Tr.set(!0),ls(e).then(()=>{ir.set(e)}).finally(()=>{clearTimeout(r),Tr.set(!1)})}return ir.set(e)},Je=mu(vu({},ir),{set:gu}),pr=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var _u=Object.defineProperty,sr=Object.getOwnPropertySymbols,fs=Object.prototype.hasOwnProperty,hs=Object.prototype.propertyIsEnumerable,jn=(e,t,r)=>t in e?_u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,dn=(e,t)=>{for(var r in t||(t={}))fs.call(t,r)&&jn(e,r,t[r]);if(sr)for(var r of sr(t))hs.call(t,r)&&jn(e,r,t[r]);return e},St=(e,t)=>{var r={};for(var n in e)fs.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&sr)for(var n of sr(e))t.indexOf(n)<0&&hs.call(e,n)&&(r[n]=e[n]);return r};const Ft=(e,t)=>{const{formats:r}=Et();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},bu=pr(e=>{var t=e,{locale:r,format:n}=t,i=St(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=Ft("number",n)),new Intl.NumberFormat(r,i)}),yu=pr(e=>{var t=e,{locale:r,format:n}=t,i=St(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=Ft("date",n):Object.keys(i).length===0&&(i=Ft("date","short")),new Intl.DateTimeFormat(r,i)}),Eu=pr(e=>{var t=e,{locale:r,format:n}=t,i=St(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=Ft("time",n):Object.keys(i).length===0&&(i=Ft("time","short")),new Intl.DateTimeFormat(r,i)}),xu=(e={})=>{var t=e,{locale:r=tt()}=t,n=St(t,["locale"]);return bu(dn({locale:r},n))},wu=(e={})=>{var t=e,{locale:r=tt()}=t,n=St(t,["locale"]);return yu(dn({locale:r},n))},Su=(e={})=>{var t=e,{locale:r=tt()}=t,n=St(t,["locale"]);return Eu(dn({locale:r},n))},Tu=pr((e,t=tt())=>new Jo(e,t,Et().formats,{ignoreTag:Et().ignoreTag})),Au=(e,t={})=>{var r,n,i,s;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:a,locale:l=tt(),default:u}=o;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=ss(e,l);if(!f)f=(s=(i=(n=(r=Et()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!a)return f;let h=f;try{h=Tu(f,l).format(a)}catch(c){c instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,c.message)}return h},Nu=(e,t)=>Su(t).format(e),Hu=(e,t)=>wu(t).format(e),Ou=(e,t)=>xu(t).format(e),$u=(e,t=tt())=>ss(e,t),Bu=xt([Je,wt],()=>Au);xt([Je],()=>Nu);xt([Je],()=>Hu);xt([Je],()=>Ou);xt([Je,wt],()=>$u);function Mu({withLocale:e,translations:t}){Je.subscribe(r=>{r==null&&(wt.set(t),Je.set(e))})}function Pu(e,t){os(e,t)}const Iu={en:{faqBestQuestion:"Why is {operatorName}'s program the best?",faqBestAnswer:"{operatorName} offers a unique loyalty programme that rewards players with exclusive benefits, including 50 Free Spins automatically credited every Wednesday.",faqWinningsQuestion:"How can you increase your winnings at {operatorName}?",faqWinningsAnswer:"{operatorName} provides users with regular exclusive bonuses and promotions, giving them opportunities to boost their earnings.",faqGamesQuestion:"What variety of games does {operatorName} offer?",faqGamesAnswer:"{operatorName} caters to every type of player by offering a wide range of games, from slots to table games.",faqSupportQuestion:"How is {operatorName}'s customer service?",faqSupportAnswer:"{operatorName} offers 24/7 customer support, providing players with quick and effective solutions to any queries."},tr:{faqBestQuestion:"{operatorName} programı neden en iyisi?",faqBestAnswer:"{operatorName}, oyunculara her Çarşamba otomatik olarak tanımlanan 50 Ücretsiz Dönüş dahil olmak üzere özel avantajlar sunan benzersiz bir sadakat programı sunar.",faqWinningsQuestion:"{operatorName} ile kazançlarınızı nasıl artırabilirsiniz?",faqWinningsAnswer:"{operatorName}, kullanıcılarına düzenli olarak özel bonuslar ve promosyonlar sunarak kazançlarını artırma fırsatı verir.",faqGamesQuestion:"{operatorName} ne tür oyunlar sunuyor?",faqGamesAnswer:"{operatorName}, slotlardan masa oyunlarına kadar geniş bir oyun yelpazesi sunarak her tür oyuncuya hitap eder.",faqSupportQuestion:"{operatorName} müşteri hizmetleri nasıl?",faqSupportAnswer:"{operatorName}, 7/24 müşteri desteği sunarak oyunculara her türlü soruya hızlı ve etkili çözümler sağlar."},da:{faqBestQuestion:"Hvorfor er {operatorName}s program det bedste?",faqBestAnswer:"{operatorName} tilbyder et unikt loyalitetsprogram, der belønner spillere med eksklusive fordele, herunder 50 gratis spins, som automatisk bliver krediteret hver onsdag.",faqWinningsQuestion:"Hvordan kan du øge dine gevinster hos {operatorName}?",faqWinningsAnswer:"{operatorName} tilbyder regelmæssige eksklusive bonusser og kampagner, som giver brugerne mulighed for at øge deres gevinster.",faqGamesQuestion:"Hvilket udvalg af spil tilbyder {operatorName}?",faqGamesAnswer:"{operatorName} tilbyder et bredt udvalg af spil, fra spilleautomater til bordspil, så der er noget for enhver spiller.",faqSupportQuestion:"Hvordan er {operatorName}s kundeservice?",faqSupportAnswer:"{operatorName} tilbyder kundesupport døgnet rundt med hurtige og effektive løsninger på alle spørgsmål."},de:{faqBestQuestion:"Warum ist das Programm von {operatorName} das beste?",faqBestAnswer:"{operatorName} bietet ein einzigartiges Treueprogramm mit exklusiven Vorteilen, darunter 50 Freispiele, die jeden Mittwoch automatisch gutgeschrieben werden.",faqWinningsQuestion:"Wie können Sie Ihre Gewinne bei {operatorName} steigern?",faqWinningsAnswer:"{operatorName} bietet seinen Nutzern regelmäßig exklusive Boni und Aktionen, mit denen sie ihre Gewinne steigern können.",faqGamesQuestion:"Welche Spielauswahl bietet {operatorName}?",faqGamesAnswer:"{operatorName} bietet eine große Auswahl an Spielen – von Spielautomaten bis hin zu Tischspielen – und spricht damit jeden Spielertyp an.",faqSupportQuestion:"Wie ist der Kundenservice von {operatorName}?",faqSupportAnswer:"{operatorName} bietet rund um die Uhr Kundensupport und hilft Spielern schnell und zuverlässig bei allen Fragen."},nl:{faqBestQuestion:"Waarom is het programma van {operatorName} het beste?",faqBestAnswer:"{operatorName} biedt een uniek loyaliteitsprogramma met exclusieve voordelen, waaronder 50 gratis spins die elke woensdag automatisch worden toegekend.",faqWinningsQuestion:"Hoe kun je je winst vergroten bij {operatorName}?",faqWinningsAnswer:"{operatorName} biedt gebruikers regelmatig exclusieve bonussen en promoties om hun winstkansen te vergroten.",faqGamesQuestion:"Welke spellen biedt {operatorName} aan?",faqGamesAnswer:"{operatorName} biedt een breed aanbod aan spellen, van slots tot tafelspellen, zodat er voor iedere speler iets is.",faqSupportQuestion:"Hoe is de klantenservice van {operatorName}?",faqSupportAnswer:"{operatorName} biedt 24/7 klantenservice met snelle en effectieve oplossingen voor al je vragen."},fr:{faqBestQuestion:"Pourquoi le programme de {operatorName} est-il le meilleur ?",faqBestAnswer:"{operatorName} propose un programme de fidélité unique offrant des avantages exclusifs, dont 50 tours gratuits crédités automatiquement chaque mercredi.",faqWinningsQuestion:"Comment augmenter vos gains chez {operatorName} ?",faqWinningsAnswer:"{operatorName} propose régulièrement des bonus et promotions exclusifs permettant aux joueurs d’augmenter leurs gains.",faqGamesQuestion:"Quelle variété de jeux propose {operatorName} ?",faqGamesAnswer:"{operatorName} propose un large choix de jeux, des machines à sous aux jeux de table, pour satisfaire tous les types de joueurs.",faqSupportQuestion:"Comment est le service client de {operatorName} ?",faqSupportAnswer:"{operatorName} propose un service client disponible 24h/24 et 7j/7, avec des réponses rapides et efficaces à toutes vos questions."},hu:{faqBestQuestion:"Miért a {operatorName} programja a legjobb?",faqBestAnswer:"A {operatorName} egyedülálló hűségprogramot kínál exkluzív előnyökkel, köztük minden szerdán automatikusan jóváírt 50 ingyenes pörgetéssel.",faqWinningsQuestion:"Hogyan növelheted a nyereményeidet a {operatorName} oldalon?",faqWinningsAnswer:"A {operatorName} rendszeresen exkluzív bónuszokat és promóciókat kínál, amelyek segítenek növelni a nyerési lehetőségeket.",faqGamesQuestion:"Milyen játékokat kínál a {operatorName}?",faqGamesAnswer:"A {operatorName} a nyerőgépektől az asztali játékokig széles játékválasztékot kínál, így minden játékos megtalálhatja a kedvencét.",faqSupportQuestion:"Milyen a {operatorName} ügyfélszolgálata?",faqSupportAnswer:"A {operatorName} a hét minden napján, 24 órában elérhető ügyfélszolgálatot biztosít gyors és hatékony segítséggel."}};var Cu=Ri('<div class="faq__item svelte-tlosd8"><button class="faq__title svelte-tlosd8" type="button"><span class="faq__question svelte-tlosd8"> </span> <span><svg width="16" height="16" viewBox="0 0 16 16" fill="none" class="svelte-tlosd8"><path d="M4 6l4 4 4-4" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" class="svelte-tlosd8"></path></svg></span></button> <div><div class="faq__answer svelte-tlosd8"> </div></div></div>'),Lu=Ri('<div class="faq svelte-tlosd8"><div class="faq__list svelte-tlosd8"></div></div>');const Ru={hash:"svelte-tlosd8",code:`.faq.svelte-tlosd8 {color:var(--text-default, #FFFFFF);width:100%;box-sizing:border-box;}.faq__list.svelte-tlosd8 {display:flex;flex-direction:column;gap:12px;}.faq__item.svelte-tlosd8 {background:var(--app-container-bg-default, #022652);border-radius:6px;border:1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));overflow:hidden;padding:16px;}.faq__title.svelte-tlosd8 {width:100%;display:flex;justify-content:space-between;align-items:flex-start;background:transparent;color:var(--text-default, #FFFFFF);font-size:12px;font-weight:700;line-height:1.4;text-align:left;cursor:pointer;border:none;padding:0;}.faq__title.svelte-tlosd8:hover {background:transparent;}.faq__title.svelte-tlosd8,
|
|
6
|
-
.faq__title
|
|
5
|
+
`,yt.MISSING_INTL_API,o);var Q=r.getPluralRules(t,{type:f.pluralType}).select(c-(f.offset||0));M=f.options[Q]||f.options.other}if(!M)throw new kn(f.value,c,Object.keys(f.options),o);a.push.apply(a,Qt(M.value,t,r,n,i,c-(f.offset||0)));continue}}return Wo(a)}function Qo(e,t){return t?ye(ye(ye({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=ye(ye({},e[n]),t[n]||{}),r},{})):e}function Yo(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Qo(e[n],t[n]),r},ye({},e)):e}function Sr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Zo(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Er(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,yr([void 0],r,!1)))},{cache:Sr(e.number),strategy:xr.variadic}),getDateTimeFormat:Er(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,yr([void 0],r,!1)))},{cache:Sr(e.dateTime),strategy:xr.variadic}),getPluralRules:Er(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,yr([void 0],r,!1)))},{cache:Sr(e.pluralRules),strategy:xr.variadic})}}var Jo=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(l){var u=s.formatToParts(l);if(u.length===1)return u[0].value;var f=u.reduce(function(h,c){return!h.length||c.type!==K.literal||typeof h[h.length-1]!="string"?h.push(c.value):h[h.length-1]+=c.value,h},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(l){return Qt(s.ast,s.locales,s.formatters,s.formats,l,void 0,s.message)},this.resolvedOptions=function(){var l;return{locale:((l=s.resolvedLocale)===null||l===void 0?void 0:l.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 a=ao(o,["formatters"]);this.ast=e.__parse(t,ye(ye({},a),{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=Yo(e.formats,n),this.formatters=i&&i.formatters||Zo(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>"u")){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=qo,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 Ko(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 De={},eu=(e,t,r)=>r&&(t in De||(De[t]={}),e in De[t]||(De[t][e]=r),r),ss=(e,t)=>{if(t==null)return;if(t in De&&e in De[t])return De[t][e];const r=dr(t);for(let n=0;n<r.length;n++){const i=r[n],s=ru(i,e);if(s)return eu(e,t,s)}};let cn;const wt=fr({});function tu(e){return cn[e]||null}function as(e){return e in cn}function ru(e,t){if(!as(e))return null;const r=tu(e);return Ko(r,t)}function nu(e){if(e==null)return;const t=dr(e);for(let r=0;r<t.length;r++){const n=t[r];if(as(n))return n}}function os(e,...t){delete De[e],wt.update(r=>(r[e]=so.all([r[e]||{},...t]),r))}xt([wt],([e])=>Object.keys(e));wt.subscribe(e=>cn=e);const Yt={};function iu(e,t){Yt[e].delete(t),Yt[e].size===0&&delete Yt[e]}function us(e){return Yt[e]}function su(e){return dr(e).map(t=>{const r=us(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function zr(e){return e==null?!1:dr(e).some(t=>{var r;return(r=us(t))==null?void 0:r.size})}function au(e,t){return Promise.all(t.map(n=>(iu(e,n),n().then(i=>i.default||i)))).then(n=>os(e,...n))}const Ht={};function ls(e){if(!zr(e))return e in Ht?Ht[e]:Promise.resolve();const t=su(e);return Ht[e]=Promise.all(t.map(([r,n])=>au(r,n))).then(()=>{if(zr(e))return ls(e);delete Ht[e]}),Ht[e]}const ou={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"}}},uu={fallbackLocale:null,loadingDelay:200,formats:ou,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},lu=uu;function Et(){return lu}const Tr=fr(!1);var fu=Object.defineProperty,hu=Object.defineProperties,cu=Object.getOwnPropertyDescriptors,Fn=Object.getOwnPropertySymbols,du=Object.prototype.hasOwnProperty,pu=Object.prototype.propertyIsEnumerable,Gn=(e,t,r)=>t in e?fu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,vu=(e,t)=>{for(var r in t||(t={}))du.call(t,r)&&Gn(e,r,t[r]);if(Fn)for(var r of Fn(t))pu.call(t,r)&&Gn(e,r,t[r]);return e},mu=(e,t)=>hu(e,cu(t));let Wr;const ir=fr(null);function Un(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function dr(e,t=Et().fallbackLocale){const r=Un(e);return t?[...new Set([...r,...Un(t)])]:r}function tt(){return Wr??void 0}ir.subscribe(e=>{Wr=e??void 0,typeof window<"u"&&e!=null&&document.documentElement.setAttribute("lang",e)});const gu=e=>{if(e&&nu(e)&&zr(e)){const{loadingDelay:t}=Et();let r;return typeof window<"u"&&tt()!=null&&t?r=window.setTimeout(()=>Tr.set(!0),t):Tr.set(!0),ls(e).then(()=>{ir.set(e)}).finally(()=>{clearTimeout(r),Tr.set(!1)})}return ir.set(e)},Je=mu(vu({},ir),{set:gu}),pr=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var _u=Object.defineProperty,sr=Object.getOwnPropertySymbols,fs=Object.prototype.hasOwnProperty,hs=Object.prototype.propertyIsEnumerable,jn=(e,t,r)=>t in e?_u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,dn=(e,t)=>{for(var r in t||(t={}))fs.call(t,r)&&jn(e,r,t[r]);if(sr)for(var r of sr(t))hs.call(t,r)&&jn(e,r,t[r]);return e},St=(e,t)=>{var r={};for(var n in e)fs.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&sr)for(var n of sr(e))t.indexOf(n)<0&&hs.call(e,n)&&(r[n]=e[n]);return r};const Ft=(e,t)=>{const{formats:r}=Et();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},bu=pr(e=>{var t=e,{locale:r,format:n}=t,i=St(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=Ft("number",n)),new Intl.NumberFormat(r,i)}),yu=pr(e=>{var t=e,{locale:r,format:n}=t,i=St(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=Ft("date",n):Object.keys(i).length===0&&(i=Ft("date","short")),new Intl.DateTimeFormat(r,i)}),Eu=pr(e=>{var t=e,{locale:r,format:n}=t,i=St(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=Ft("time",n):Object.keys(i).length===0&&(i=Ft("time","short")),new Intl.DateTimeFormat(r,i)}),xu=(e={})=>{var t=e,{locale:r=tt()}=t,n=St(t,["locale"]);return bu(dn({locale:r},n))},wu=(e={})=>{var t=e,{locale:r=tt()}=t,n=St(t,["locale"]);return yu(dn({locale:r},n))},Su=(e={})=>{var t=e,{locale:r=tt()}=t,n=St(t,["locale"]);return Eu(dn({locale:r},n))},Tu=pr((e,t=tt())=>new Jo(e,t,Et().formats,{ignoreTag:Et().ignoreTag})),Au=(e,t={})=>{var r,n,i,s;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:a,locale:l=tt(),default:u}=o;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=ss(e,l);if(!f)f=(s=(i=(n=(r=Et()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!a)return f;let h=f;try{h=Tu(f,l).format(a)}catch(c){c instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,c.message)}return h},Nu=(e,t)=>Su(t).format(e),Hu=(e,t)=>wu(t).format(e),Ou=(e,t)=>xu(t).format(e),$u=(e,t=tt())=>ss(e,t),Bu=xt([Je,wt],()=>Au);xt([Je],()=>Nu);xt([Je],()=>Hu);xt([Je],()=>Ou);xt([Je,wt],()=>$u);function Mu({withLocale:e,translations:t}){Je.subscribe(r=>{r==null&&(wt.set(t),Je.set(e))})}function Pu(e,t){os(e,t)}const Iu={en:{faqBestQuestion:"Why is {operatorName}'s program the best?",faqBestAnswer:"{operatorName} offers a unique loyalty programme that rewards players with exclusive benefits, including 50 Free Spins automatically credited every Wednesday.",faqWinningsQuestion:"How can you increase your winnings at {operatorName}?",faqWinningsAnswer:"{operatorName} provides users with regular exclusive bonuses and promotions, giving them opportunities to boost their earnings.",faqGamesQuestion:"What variety of games does {operatorName} offer?",faqGamesAnswer:"{operatorName} caters to every type of player by offering a wide range of games, from slots to table games.",faqSupportQuestion:"How is {operatorName}'s customer service?",faqSupportAnswer:"{operatorName} offers 24/7 customer support, providing players with quick and effective solutions to any queries."},tr:{faqBestQuestion:"{operatorName} programı neden en iyisi?",faqBestAnswer:"{operatorName}, oyunculara her Çarşamba otomatik olarak tanımlanan 50 Ücretsiz Dönüş dahil olmak üzere özel avantajlar sunan benzersiz bir sadakat programı sunar.",faqWinningsQuestion:"{operatorName} ile kazançlarınızı nasıl artırabilirsiniz?",faqWinningsAnswer:"{operatorName}, kullanıcılarına düzenli olarak özel bonuslar ve promosyonlar sunarak kazançlarını artırma fırsatı verir.",faqGamesQuestion:"{operatorName} ne tür oyunlar sunuyor?",faqGamesAnswer:"{operatorName}, slotlardan masa oyunlarına kadar geniş bir oyun yelpazesi sunarak her tür oyuncuya hitap eder.",faqSupportQuestion:"{operatorName} müşteri hizmetleri nasıl?",faqSupportAnswer:"{operatorName}, 7/24 müşteri desteği sunarak oyunculara her türlü soruya hızlı ve etkili çözümler sağlar."},da:{faqBestQuestion:"Hvorfor er {operatorName}s program det bedste?",faqBestAnswer:"{operatorName} tilbyder et unikt loyalitetsprogram, der belønner spillere med eksklusive fordele, herunder 50 gratis spins, som automatisk bliver krediteret hver onsdag.",faqWinningsQuestion:"Hvordan kan du øge dine gevinster hos {operatorName}?",faqWinningsAnswer:"{operatorName} tilbyder regelmæssige eksklusive bonusser og kampagner, som giver brugerne mulighed for at øge deres gevinster.",faqGamesQuestion:"Hvilket udvalg af spil tilbyder {operatorName}?",faqGamesAnswer:"{operatorName} tilbyder et bredt udvalg af spil, fra spilleautomater til bordspil, så der er noget for enhver spiller.",faqSupportQuestion:"Hvordan er {operatorName}s kundeservice?",faqSupportAnswer:"{operatorName} tilbyder kundesupport døgnet rundt med hurtige og effektive løsninger på alle spørgsmål."},de:{faqBestQuestion:"Warum ist das Programm von {operatorName} das beste?",faqBestAnswer:"{operatorName} bietet ein einzigartiges Treueprogramm mit exklusiven Vorteilen, darunter 50 Freispiele, die jeden Mittwoch automatisch gutgeschrieben werden.",faqWinningsQuestion:"Wie können Sie Ihre Gewinne bei {operatorName} steigern?",faqWinningsAnswer:"{operatorName} bietet seinen Nutzern regelmäßig exklusive Boni und Aktionen, mit denen sie ihre Gewinne steigern können.",faqGamesQuestion:"Welche Spielauswahl bietet {operatorName}?",faqGamesAnswer:"{operatorName} bietet eine große Auswahl an Spielen – von Spielautomaten bis hin zu Tischspielen – und spricht damit jeden Spielertyp an.",faqSupportQuestion:"Wie ist der Kundenservice von {operatorName}?",faqSupportAnswer:"{operatorName} bietet rund um die Uhr Kundensupport und hilft Spielern schnell und zuverlässig bei allen Fragen."},nl:{faqBestQuestion:"Waarom is het programma van {operatorName} het beste?",faqBestAnswer:"{operatorName} biedt een uniek loyaliteitsprogramma met exclusieve voordelen, waaronder 50 gratis spins die elke woensdag automatisch worden toegekend.",faqWinningsQuestion:"Hoe kun je je winst vergroten bij {operatorName}?",faqWinningsAnswer:"{operatorName} biedt gebruikers regelmatig exclusieve bonussen en promoties om hun winstkansen te vergroten.",faqGamesQuestion:"Welke spellen biedt {operatorName} aan?",faqGamesAnswer:"{operatorName} biedt een breed aanbod aan spellen, van slots tot tafelspellen, zodat er voor iedere speler iets is.",faqSupportQuestion:"Hoe is de klantenservice van {operatorName}?",faqSupportAnswer:"{operatorName} biedt 24/7 klantenservice met snelle en effectieve oplossingen voor al je vragen."},fr:{faqBestQuestion:"Pourquoi le programme de {operatorName} est-il le meilleur ?",faqBestAnswer:"{operatorName} propose un programme de fidélité unique offrant des avantages exclusifs, dont 50 tours gratuits crédités automatiquement chaque mercredi.",faqWinningsQuestion:"Comment augmenter vos gains chez {operatorName} ?",faqWinningsAnswer:"{operatorName} propose régulièrement des bonus et promotions exclusifs permettant aux joueurs d’augmenter leurs gains.",faqGamesQuestion:"Quelle variété de jeux propose {operatorName} ?",faqGamesAnswer:"{operatorName} propose un large choix de jeux, des machines à sous aux jeux de table, pour satisfaire tous les types de joueurs.",faqSupportQuestion:"Comment est le service client de {operatorName} ?",faqSupportAnswer:"{operatorName} propose un service client disponible 24h/24 et 7j/7, avec des réponses rapides et efficaces à toutes vos questions."},hu:{faqBestQuestion:"Miért a {operatorName} programja a legjobb?",faqBestAnswer:"A {operatorName} egyedülálló hűségprogramot kínál exkluzív előnyökkel, köztük minden szerdán automatikusan jóváírt 50 ingyenes pörgetéssel.",faqWinningsQuestion:"Hogyan növelheted a nyereményeidet a {operatorName} oldalon?",faqWinningsAnswer:"A {operatorName} rendszeresen exkluzív bónuszokat és promóciókat kínál, amelyek segítenek növelni a nyerési lehetőségeket.",faqGamesQuestion:"Milyen játékokat kínál a {operatorName}?",faqGamesAnswer:"A {operatorName} a nyerőgépektől az asztali játékokig széles játékválasztékot kínál, így minden játékos megtalálhatja a kedvencét.",faqSupportQuestion:"Milyen a {operatorName} ügyfélszolgálata?",faqSupportAnswer:"A {operatorName} a hét minden napján, 24 órában elérhető ügyfélszolgálatot biztosít gyors és hatékony segítséggel."}};var Cu=Ri('<div class="faq__item"><button class="faq__title" type="button"><span class="faq__question"> </span> <span><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M4 6l4 4 4-4" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"></path></svg></span></button> <div><div class="faq__answer"> </div></div></div>'),Lu=Ri('<div class="faq"><div class="faq__list"></div></div>');const Ru={hash:"svelte-tlosd8",code:`.faq {color:var(--text-default, #FFFFFF);width:100%;box-sizing:border-box;}.faq__list {display:flex;flex-direction:column;gap:12px;}.faq__item {background:var(--app-container-bg-default, #022652);border-radius:6px;border:1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));overflow:hidden;padding:16px;}.faq__title {width:100%;display:flex;justify-content:space-between;align-items:flex-start;background:transparent;color:var(--text-default, #FFFFFF);font-size:12px;font-weight:700;line-height:1.4;text-align:left;cursor:pointer;border:none;padding:0;}.faq__title:hover {background:transparent;}.faq__title,
|
|
6
|
+
.faq__title * {-webkit-tap-highlight-color:transparent;}.faq__question {text-align:left;}.faq__icon {flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;color:var(--text-default, #FFFFFF);transition:transform 0.25s ease;}.faq__icon--open {transform:rotate(180deg);}.faq__answer-wrapper {display:grid;grid-template-rows:0fr;opacity:0;transform:translateY(-4px);transition:grid-template-rows 0.35s ease,
|
|
7
7
|
opacity 0.2s ease,
|
|
8
|
-
transform 0.25s ease;}.faq__answer
|
|
8
|
+
transform 0.25s ease;}.faq__answer {overflow:hidden;font-size:12px;font-weight:500;line-height:1.5;color:var(--text-subtle, #DFE3E8);}.faq__answer-wrapper.open {grid-template-rows:1fr;opacity:1;transform:translateY(0);padding-top:16px;}`};function pn(e,t){Kr(t,!0),Ha(e,Ru);const r=()=>Ra(Bu,"$_",n),[n,i]=Da(),s=Re(t,"apiEndpoint",7,""),o=Re(t,"operatorName",7,""),a=Re(t,"locale",7,"en"),l=Re(t,"isExpanded",7,!0),u=l()===!0||l()==="true",f=[{questionKey:"faqBestQuestion",answerKey:"faqBestAnswer"},{questionKey:"faqWinningsQuestion",answerKey:"faqWinningsAnswer"},{questionKey:"faqGamesQuestion",answerKey:"faqGamesAnswer"},{questionKey:"faqSupportQuestion",answerKey:"faqSupportAnswer"}];Mu({withLocale:a(),translations:{}}),Object.entries(Iu).forEach(([b,T])=>{Pu(b,T)});let h=Ae(ot(Object.fromEntries(f.map((b,T)=>[T,u]))));const c=b=>{ce(h,{...G(h),[b]:!G(h)[b]},!0)};var p={get apiEndpoint(){return s()},set apiEndpoint(b=""){s(b),Oe()},get operatorName(){return o()},set operatorName(b=""){o(b),Oe()},get locale(){return a()},set locale(b="en"){a(b),Oe()},get isExpanded(){return l()},set isExpanded(b=!0){l(b),Oe()}},d=Lu(),y=$t(d);Ta(y,21,()=>f,wa,(b,T,M)=>{var Q=Cu(),P=$t(Q),R=$t(P),ie=yn(R,!0),V=En(R,2);let he;at(P);var I=En(P,2);let x;var Ie=$t(I),rt=yn(Ie,!0);at(I),at(Q),ia((E,m)=>{Ma(P,"aria-expanded",!!G(h)[M]),An(ie,E),he=On(V,1,"faq__icon",null,he,{"faq__icon--open":G(h)[M]}),x=On(I,1,"faq__answer-wrapper",null,x,{open:G(h)[M]}),An(rt,m)},[()=>r()(G(T).questionKey,{values:{operatorName:o()}}),()=>r()(G(T).answerKey,{values:{operatorName:o()}})]),fa("click",P,()=>c(M)),Cr(b,Q)}),at(y),at(d),Cr(e,d);var B=en(p);return i(),B}ha(["click"]);Gi(pn,{apiEndpoint:{},operatorName:{},locale:{},isExpanded:{}},[],[],{mode:"open"});function cs(e,t){Kr(t,!0);let r=Re(t,"apiEndpoint",7,""),n=Re(t,"operatorName",7,""),i=Re(t,"locale",7,"en"),s=Re(t,"isExpanded",7,!0);var o={get apiEndpoint(){return r()},set apiEndpoint(a=""){r(a),Oe()},get operatorName(){return n()},set operatorName(a=""){n(a),Oe()},get locale(){return i()},set locale(a="en"){i(a),Oe()},get isExpanded(){return s()},set isExpanded(a=!0){s(a),Oe()}};return pn(e,{get apiEndpoint(){return r()},get operatorName(){return n()},get locale(){return i()},get isExpanded(){return s()}}),en(o)}customElements.define("loyalty-marketing-content",Gi(cs,{apiEndpoint:{},operatorName:{},locale:{},isExpanded:{}},[],[]));const Du=Object.freeze(Object.defineProperty({__proto__:null,default:cs},Symbol.toStringTag,{value:"Module"}));exports.LoyaltyMarketingContent=pn;exports.LoyaltyMarketingContent_ce=Du;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const s=require("../components/LoyaltyMarketingContent-
|
|
1
|
+
typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const s=require("../components/LoyaltyMarketingContent-Cxb7zdlR.cjs");if(typeof window!="undefined"){let o=function(e){return function(...n){try{return e.apply(this,n)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t instanceof Error&&t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=o(customElements.define),Promise.resolve().then(()=>require("../components/LoyaltyMarketingContent-Cxb7zdlR.cjs")).then(e=>e.LoyaltyMarketingContent_ce).then(e=>{const n=e.default||e;customElements.get("loyalty-marketing-content")||customElements.define("loyalty-marketing-content",n.element||n)}).catch(e=>{console.error("BOOT ERROR:",e)})}module.exports=s.LoyaltyMarketingContent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as l } from "../components/LoyaltyMarketingContent-
|
|
1
|
+
import { L as l } from "../components/LoyaltyMarketingContent-BcFPg03A.js";
|
|
2
2
|
typeof globalThis.HTMLElement == "undefined" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
@@ -16,7 +16,7 @@ if (typeof window != "undefined") {
|
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
|
-
customElements.define = s(customElements.define), import("../components/LoyaltyMarketingContent-
|
|
19
|
+
customElements.define = s(customElements.define), import("../components/LoyaltyMarketingContent-BcFPg03A.js").then((e) => e.a).then((e) => {
|
|
20
20
|
const n = e.default || e;
|
|
21
21
|
customElements.get("loyalty-marketing-content") || customElements.define("loyalty-marketing-content", n.element || n);
|
|
22
22
|
}).catch((e) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const s=require("../components/LoyaltyMarketingContent-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const s=require("../components/LoyaltyMarketingContent-sxXw3RAs.cjs");if(typeof window<"u"){let o=function(e){return function(...n){try{return e.apply(this,n)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t instanceof Error&&t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=o(customElements.define),Promise.resolve().then(()=>require("../components/LoyaltyMarketingContent-sxXw3RAs.cjs")).then(e=>e.LoyaltyMarketingContent_ce).then(e=>{const n=e.default||e;customElements.get("loyalty-marketing-content")||customElements.define("loyalty-marketing-content",n.element||n)}).catch(e=>{console.error("BOOT ERROR:",e)})}module.exports=s.LoyaltyMarketingContent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as l } from "../components/LoyaltyMarketingContent-
|
|
1
|
+
import { L as l } from "../components/LoyaltyMarketingContent-CcujcOkx.js";
|
|
2
2
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
@@ -16,7 +16,7 @@ if (typeof window < "u") {
|
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
|
-
customElements.define = s(customElements.define), import("../components/LoyaltyMarketingContent-
|
|
19
|
+
customElements.define = s(customElements.define), import("../components/LoyaltyMarketingContent-CcujcOkx.js").then((e) => e.a).then((e) => {
|
|
20
20
|
const n = e.default || e;
|
|
21
21
|
customElements.get("loyalty-marketing-content") || customElements.define("loyalty-marketing-content", n.element || n);
|
|
22
22
|
}).catch((e) => {
|