@everymatrix/player-bonus-history 1.94.3 → 1.94.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/{PlayerBonusCard-DIRpJNOF.js → PlayerBonusCard-B3I9Xb9B.js} +1 -1
- package/components/{PlayerBonusCard-C_Y0JHfR.cjs → PlayerBonusCard-CKgXB5tw.cjs} +1 -1
- package/components/{PlayerBonusCard-DwXLN73Y.js → PlayerBonusCard-DHTblOIy.js} +1 -1
- package/components/{PlayerBonusHistory-BPA7vUbZ.js → PlayerBonusHistory-DHVfmVdW.js} +25 -25
- package/components/{PlayerBonusHistory-CATEo6os.cjs → PlayerBonusHistory-DYDPAsky.cjs} +2 -2
- package/components/{PlayerBonusHistory-D1LjOTQU.js → PlayerBonusHistory-DtaxrYhh.js} +28 -28
- package/es2015/player-bonus-history.cjs +1 -1
- package/es2015/player-bonus-history.js +1 -1
- package/esnext/player-bonus-history.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as Ce, a as Te, S as Re, n as ye, s as _e, k as v, d as ke, q as le, i as x, w as C, e as r, o as V, c as o, j as g, z as T, x as h, g as Ae, m as De, r as Se, y as de, p as Fe, l as Me, f as Ne, t as Le, u as ze, v as Pe, h as Ee, $ as Oe } from "./PlayerBonusHistory-DHVfmVdW.js";
|
|
2
2
|
function me(t, e) {
|
|
3
3
|
Ce(t, e);
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerBonusHistory-CATEo6os.cjs");function te(o,t){e.addMessages(o,t)}function ce(o){e.$locale.set(o)}const ne={en:{date:"Granted date:",expirationDate:"Expiration Date",bonusName:"Bonus Name",bonusType:"Bonus Type",bonusAmount:"Bonus Amount",wageringAmount:"Wagering Progress (Rollover)",remainingBonus:"Current Bonus Balance",forfeitBonusButton:"Forfeit Bonus",active:"active",released:"released",expired:"expired",forfeited:"forfeited",closed:"closed",termsConditionsLink:"Terms and Conditions",termsConditionsTitle:"Terms and Conditions",wagering:"Wagering",tournamentTicket:"Tournament Ticket",tournament:"Tournament",bonusMoney:"Bonus Money",freeSpins:"Free Spins",freeBet:"Free Bet",cashBack:"CashBack",freeRound:"Free Round",oddsBoost:"Odds Boost"},"zh-hk":{date:"授予日期:",expirationDate:"到期日",bonusName:"獎金名稱",bonusType:"獎金類型",bonusAmount:"獎金金額",wageringAmount:"投注進展",remainingBonus:"剩餘紅利金額",forfeitBonusButton:"沒收獎金",active:"active",released:"released",expired:"expired",forfeited:"forfeited",closed:"closed",termsConditionsLink:"條款及細則",termsConditionsTitle:"條款及細則",wagering:"投注挑戰",tournamentTicket:"錦標賽門票",tournament:"錦標賽",bonusMoney:"獎金",freeSpins:"免費旋轉",freeBet:"免費投注",cashBack:"現金回贈",freeRound:"Free Round",oddsBoost:"Odds Boost"},fr:{date:"Date d'attribution:",expirationDate:"Date d'expiration",bonusName:"Nom du bonus",bonusType:"Type de bonus",bonusAmount:"Montant du bonus",wageringAmount:"Changer les progrès",remainingBonus:"Montant du bonus restant",forfeitBonusButton:"Supprimer le bonus",active:"active",released:"released",expired:"expired",forfeited:"forfeited",closed:"fermé",termsConditionsLink:"Termes et Conditions",termsConditionsTitle:"Termes et Conditions",wagering:"Défi de mise",tournamentTicket:"Billet de tournoi",tournament:"Tournoi",bonusMoney:"Argent bonus",freeSpins:"Tours gratuits",freeBet:"Paris gratuit",cashBack:"Remboursement",freeRound:"Free Round",oddsBoost:"Odds Boost"},ro:{date:"Dată Alocare:",expirationDate:"Dată Expirare",bonusName:"Nume bonus",bonusType:"Tip de bonus",bonusAmount:"Sumă",wageringAmount:"Progresul de pariere",remainingBonus:"Bonus rămas",forfeitBonusButton:"Anulează bonusul",active:"active",released:"released",expired:"expired",forfeited:"forfeited",closed:"închis",termsConditionsLink:"Termeni si Conditii",termsConditionsTitle:"Termeni si Conditii",wagering:"Provocare de pariere",tournamentTicket:"Bilet de turneu",tournament:"Turneu",bonusMoney:"Bani bonus",freeSpins:"Rotiri gratuite",freeBet:"Pariu gratuit",cashBack:"Rambursare",freeRound:"Free Round",oddsBoost:"Odds Boost"},es:{date:"Fecha de Canje",expirationDate:"Fecha de vencimiento",bonusName:"Nombre de Bono",bonusType:"Tipo de Bono",bonusAmount:"Monto de Bono",wageringAmount:"Progreso ( Rollover)",remainingBonus:"Saldo Actual de Bono",forfeitBonusButton:"cancelar bono",active:"Activo",released:"released",expired:"expired",forfeited:"forfeited",closed:"cerrado",termsConditionsLink:"Términos y Condiciones",termsConditionsTitle:"Términos y Condiciones",wagering:"Desafío de apuestas",tournamentTicket:"Boleto de torneo",tournament:"Torneo",bonusMoney:"Dinero de bonificación",freeSpins:"Giros gratis",freeBet:"Apuesta gratis",cashBack:"Reembolso",freeRound:"Free Round",oddsBoost:"Odds Boost"},pt:{date:"Data de atribuição do bônus:",expirationDate:"Data de validade",bonusName:"Nome do bônus",bonusType:"Tipo de bônus",bonusAmount:"Valor do bônus",wageringAmount:"Progresso de apostas",remainingBonus:"Valor do bônus restante",forfeitBonusButton:"Bônus de Perda",active:"active",released:"released",expired:"expired",forfeited:"forfeited",closed:"fechado",termsConditionsLink:"Termos e Condições",termsConditionsTitle:"Termos e Condições",wagering:"Desafio de apostas",tournamentTicket:"Bilhete de torneio",tournament:"Torneio",bonusMoney:"Dinheiro de bónus",freeSpins:"Rodadas grátis",freeBet:"Aposta grátis",cashBack:"Reembolso",freeRound:"Free Round",oddsBoost:"Odds Boost"},hr:{date:"Datum:",expirationDate:"Datum isteka",bonusName:"Ime bonusa",bonusType:"Vrsta bonusa",bonusAmount:"Iznos bonusa",wageringAmount:"Odigravanje",remainingBonus:"Trenutno stanje bonusa",forfeitBonusButton:"Otkaži bonus",active:"aktivan",released:"razriješen",expired:"Istekao",forfeited:"otkazan",closed:"Zatvoren",termsConditionsLink:"Uvjeti i odredbe",termsConditionsTitle:"Uvjeti i odredbe",wagering:"Izazov odigravanja",tournamentTicket:"Turnir",tournament:"Turnir",bonusMoney:"Bonus novac",freeSpins:"Besplatne vrtnje",freeBet:"Besplatna oklada",cashBack:"CashBack",freeRound:"Besplatne runde",oddsBoost:"Odds Boost"},"pt-br":{date:"Data concedida:",expirationDate:"Data de validade",bonusName:"Nome do bônus:",bonusType:"Tipo de bônus:",bonusAmount:"Valor do bônus:",wageringAmount:"Progresso da Quantidade de Apostas (Rollover)",remainingBonus:"Saldo atual de bônus:",forfeitBonusButton:"Recusar bônus",active:"Ativo",released:"Lançado",expired:"Expirado",forfeited:"Perdido",closed:"fechado",termsConditionsLink:"Termos e Condições",termsConditionsTitle:"Termos e Condições",wagering:"Desafio de apostas",tournamentTicket:"Ingresso para torneio",tournament:"Torneio",bonusMoney:"Dinheiro bônus",freeSpins:"Rodadas grátis",freeBet:"Aposta grátis",cashBack:"Dinheiro de volta",freeRound:"Free Round",oddsBoost:"Odds Boost"},"es-mx":{date:"Fecha concedida:",expirationDate:"Fecha de vencimiento",bonusName:"Nombre de bono:",bonusType:"Tipo de Bono:",bonusAmount:"valor de Bono:",wageringAmount:"Progreso de monto de apuestas (Rollover)",remainingBonus:"Saldo de bono actual:",forfeitBonusButton:"Declinar bono",active:"Activo",released:"Liberado",expired:"Expirado",forfeited:"Perdido",closed:"cerrado",termsConditionsLink:"Términos y Condiciones",termsConditionsTitle:"Términos y Condiciones",wagering:"Reto de apuestas",tournamentTicket:"Boleto de torneo",tournament:"Torneo",bonusMoney:"Dinero de bono",freeSpins:"Giros gratis",freeBet:"Apuesta gratis",cashBack:"Reembolso",freeRound:"Free Round",oddsBoost:"Odds Boost"},tr:{date:"Verilen tarih:",expirationDate:"Son kullanma tarihi",bonusName:"Bonus Adı",bonusType:"Bonus Türü",bonusAmount:"Bonus Tutarı",wageringAmount:"Bahis İlerlemesi (Rollover)",remainingBonus:"Mevcut Bonus Bakiyesi",forfeitBonusButton:"Fesih Bonusu",active:"aktif",released:"piyasaya sürülmüş",expired:"günü geçmiş",forfeited:"kaybedilen",closed:"kapalı",termsConditionsLink:"Términos y Condiciones",termsConditionsTitle:"Términos y Condiciones",wagering:"Bahis mücadelesi",tournamentTicket:"Turnuva bileti",tournament:"Turnuva",bonusMoney:"Bonus para",freeSpins:"Bedava dönüş",freeBet:"Bedava bahis",cashBack:"Para iadesi",freeRound:"Free Round",oddsBoost:"Odds Boost"},"en-us":{date:"Granted date:",expirationDate:"Expiration Date",bonusName:"Bonus Name",bonusType:"Bonus Type",bonusAmount:"Bonus Amount",wageringAmount:"Wagering Progress (Rollover)",remainingBonus:"Current Bonus Balance",forfeitBonusButton:"Forfeit Bonus",active:"active",released:"released",expired:"expired",forfeited:"forfeited",closed:"closed",termsConditionsLink:"Terms and Conditions",termsConditionsTitle:"Terms and Conditions",wagering:"Wagering",tournamentTicket:"Tournament Ticket",tournament:"Tournament",bonusMoney:"Bonus Money",freeSpins:"Free Spins",freeBet:"Free Bet",cashBack:"CashBack",freeRound:"Free Round",oddsBoost:"Odds Boost"}};function fe(o){e.append_styles(o,"svelte-15xuos2",".ButtonTermsAndConditions{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));text-decoration:underline;margin:10px 0;cursor:pointer}.BonusImage{width:100%;max-height:200px;border-radius:var(--emw--border-radius-small, 5px)}.BonusCard{background-color:var(--emw--color-white, #FFFFFF);padding:10px 20px 20px;border-radius:var(--emw--border-radius-large, 10px);box-shadow:0px 5px 12px 5px var(--emw--color-gray-100, #E6E6E6)}.BonusCardRow{display:flex;justify-content:space-between;align-items:center;padding:2px 10px;font-size:var(--emw--font-size-small, 14px)}.BonusCardRow .BonusCardRowTitle{color:var(--emw--color-typography-cotrast, #444444);font-weight:var(--emw--font-weight-bold, 700)}.BonusCardRow .BonusCardRowTitle span{font-weight:var(--emw--font-weigh-normal, 400);color:var(--emw--color-gray-300, #58586B)}.BonusCardRow .BonusCardRowText{color:var(--emw--color-gray-300, #58586B)}.BonusCardRow .BonusCardRowText.BonusCardStatus{font-weight:var(--emw--font-weight-bold, 700);color:var(--emw--color-typography-cotrast, #444444)}.BonusCardRow .BonusCardRowText.StatusActive{color:var(--emw--color-valid, #48952a)}.BonusCardRow .BonusCardRowText.StatusExpired{color:var(--emw--color-error, #FD2839)}.BonusCardRow .BonusCardRowText.StatusForfeited{color:#fd8c2d}.BonusCardRow .BonusCardRowText.TextCapitalize{text-transform:capitalize}.BonusCardRow:nth-child(even){background-color:var(--emw--color-gray-50, #F9F8F8);border-radius:var(--emw--border-radius-small, 5px)}.DeleteBonus{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:var(--emw--border-radius-small, 5px);width:50%;height:44px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;margin-top:10px}.DeleteBonus.DeleteBonusMobile{width:100%}.DeleteBonus:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCardRowRemovePadding{padding:0}")}function oe(o){let t,n,i;return{c(){t=e.element("div"),n=e.element("img"),e.attr(n,"class","BonusImage"),e.src_url_equal(n.src,i=o[11])||e.attr(n,"src",i),e.attr(n,"alt",o[12]),e.attr(t,"class","BonusCardRow BonusCardRowRemovePadding")},m(u,l){e.insert(u,t,l),e.append(t,n)},p(u,l){l[0]&2048&&!e.src_url_equal(n.src,i=u[11])&&e.attr(n,"src",i),l[0]&4096&&e.attr(n,"alt",u[12])},d(u){u&&e.detach(t)}}}function se(o){let t,n,i=o[18]("expirationDate")+"",u,l,a,m=o[21](o[1])+"",g,c;return{c(){t=e.element("div"),n=e.element("p"),u=e.text(i),l=e.space(),a=e.element("p"),g=e.text(m),e.attr(n,"class","BonusCardRowTitle"),e.attr(a,"class","BonusCardRowText"),e.attr(t,"class",c=`BonusCardRow ${o[18]("expirationDate")}`)},m(f,b){e.insert(f,t,b),e.append(t,n),e.append(n,u),e.append(t,l),e.append(t,a),e.append(a,g)},p(f,b){b[0]&262144&&i!==(i=f[18]("expirationDate")+"")&&e.set_data(u,i),b[0]&2&&m!==(m=f[21](f[1])+"")&&e.set_data(g,m),b[0]&262144&&c!==(c=`BonusCardRow ${f[18]("expirationDate")}`)&&e.attr(t,"class",c)},d(f){f&&e.detach(t)}}}function ae(o){let t,n,i=o[18]("bonusAmount")+"",u,l,a,m,g,c=(o[13]?"":o[8])+"",f,b;return{c(){t=e.element("div"),n=e.element("p"),u=e.text(i),l=e.space(),a=e.element("p"),m=e.text(o[5]),g=e.space(),f=e.text(c),e.attr(n,"class","BonusCardRowTitle"),e.attr(a,"class","BonusCardRowText"),e.attr(t,"class",b=`BonusCardRow ${o[18]("bonusAmount")}`)},m(d,p){e.insert(d,t,p),e.append(t,n),e.append(n,u),e.append(t,l),e.append(t,a),e.append(a,m),e.append(a,g),e.append(a,f)},p(d,p){p[0]&262144&&i!==(i=d[18]("bonusAmount")+"")&&e.set_data(u,i),p[0]&32&&e.set_data(m,d[5]),p[0]&8448&&c!==(c=(d[13]?"":d[8])+"")&&e.set_data(f,c),p[0]&262144&&b!==(b=`BonusCardRow ${d[18]("bonusAmount")}`)&&e.attr(t,"class",b)},d(d){d&&e.detach(t)}}}function ie(o){let t,n,i=o[18]("wageringAmount")+"",u,l,a,m,g,c=(o[13]?"":o[8])+"",f,b;return{c(){t=e.element("div"),n=e.element("p"),u=e.text(i),l=e.space(),a=e.element("p"),m=e.text(o[6]),g=e.space(),f=e.text(c),e.attr(n,"class","BonusCardRowTitle"),e.attr(a,"class","BonusCardRowText"),e.attr(t,"class",b=`BonusCardRow ${o[18]("wageringAmount")} ${o[4]}`)},m(d,p){e.insert(d,t,p),e.append(t,n),e.append(n,u),e.append(t,l),e.append(t,a),e.append(a,m),e.append(a,g),e.append(a,f)},p(d,p){p[0]&262144&&i!==(i=d[18]("wageringAmount")+"")&&e.set_data(u,i),p[0]&64&&e.set_data(m,d[6]),p[0]&8448&&c!==(c=(d[13]?"":d[8])+"")&&e.set_data(f,c),p[0]&262160&&b!==(b=`BonusCardRow ${d[18]("wageringAmount")} ${d[4]}`)&&e.attr(t,"class",b)},d(d){d&&e.detach(t)}}}function re(o){let t,n,i=o[18]("remainingBonus")+"",u,l,a,m,g,c=(o[13]?"":o[8])+"",f,b;return{c(){t=e.element("div"),n=e.element("p"),u=e.text(i),l=e.space(),a=e.element("p"),m=e.text(o[7]),g=e.space(),f=e.text(c),e.attr(n,"class","BonusCardRowTitle"),e.attr(a,"class","BonusCardRowText"),e.attr(t,"class",b=`BonusCardRow ${o[18]("remainingBonus")}`)},m(d,p){e.insert(d,t,p),e.append(t,n),e.append(n,u),e.append(t,l),e.append(t,a),e.append(a,m),e.append(a,g),e.append(a,f)},p(d,p){p[0]&262144&&i!==(i=d[18]("remainingBonus")+"")&&e.set_data(u,i),p[0]&128&&e.set_data(m,d[7]),p[0]&8448&&c!==(c=(d[13]?"":d[8])+"")&&e.set_data(f,c),p[0]&262144&&b!==(b=`BonusCardRow ${d[18]("remainingBonus")}`)&&e.attr(t,"class",b)},d(d){d&&e.detach(t)}}}function ue(o){let t,n,i=o[18]("freeSpins")+"",u,l,a,m,g;return{c(){t=e.element("div"),n=e.element("p"),u=e.text(i),l=e.space(),a=e.element("p"),m=e.text(o[9]),e.attr(n,"class","BonusCardRowTitle"),e.attr(a,"class","BonusCardRowText"),e.attr(t,"class",g=`BonusCardRow ${o[18]("freeSpins")}`)},m(c,f){e.insert(c,t,f),e.append(t,n),e.append(n,u),e.append(t,l),e.append(t,a),e.append(a,m)},p(c,f){f[0]&262144&&i!==(i=c[18]("freeSpins")+"")&&e.set_data(u,i),f[0]&512&&e.set_data(m,c[9]),f[0]&262144&&g!==(g=`BonusCardRow ${c[18]("freeSpins")}`)&&e.attr(t,"class",g)},d(c){c&&e.detach(t)}}}function de(o){let t,n,i=o[18]("termsConditionsLink")+"",u,l;return{c(){t=e.element("div"),n=e.element("a"),u=e.text(i),e.attr(n,"class","ButtonTermsAndConditions"),e.attr(n,"href",o[10]),e.attr(n,"target","_blank"),e.attr(t,"class",l=`BonusCardRow ${o[18]("termsConditionsLink")}`)},m(a,m){e.insert(a,t,m),e.append(t,n),e.append(n,u)},p(a,m){m[0]&262144&&i!==(i=a[18]("termsConditionsLink")+"")&&e.set_data(u,i),m[0]&1024&&e.attr(n,"href",a[10]),m[0]&262144&&l!==(l=`BonusCardRow ${a[18]("termsConditionsLink")}`)&&e.attr(t,"class",l)},d(a){a&&e.detach(t)}}}function le(o){let t,n=o[18]("forfeitBonusButton")+"",i,u,l;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class","DeleteBonus "+(o[19]?"DeleteBonusMobile":""))},m(a,m){e.insert(a,t,m),e.append(t,i),u||(l=e.listen(t,"click",o[20]),u=!0)},p(a,m){m[0]&262144&&n!==(n=a[18]("forfeitBonusButton")+"")&&e.set_data(i,n)},d(a){a&&e.detach(t),u=!1,l()}}}function pe(o){let t,n,i,u,l=o[18]("date")+"",a,m,g,c=o[21](o[0])+"",f,b,d,p=o[18](`${o[2]}`)+"",I,z,S,E,L,P,A,F,M=o[18]("bonusName")+"",V,Z,x,O,w,K,N,W,j=o[18]("bonusType")+"",q,X,G,U=o[18](`${o[4]}`)+"",J,H,s,D,Q,Y,$,ee,h=o[16]===!0&&oe(o),v=o[1]&&se(o),C=o[5]&&ae(o),T=o[6]&&!o[17]&&ie(o),_=o[7]&&re(o),R=o[9]&&ue(o),y=o[15]&&de(o),k=o[2]==="active"&&le(o);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div"),u=e.element("p"),a=e.text(l),m=e.space(),g=e.element("span"),f=e.text(c),b=e.space(),d=e.element("p"),I=e.text(p),E=e.space(),h&&h.c(),L=e.space(),v&&v.c(),P=e.space(),A=e.element("div"),F=e.element("p"),V=e.text(M),Z=e.space(),x=e.element("p"),O=e.text(o[3]),K=e.space(),N=e.element("div"),W=e.element("p"),q=e.text(j),X=e.space(),G=e.element("p"),J=e.text(U),s=e.space(),C&&C.c(),D=e.space(),T&&T.c(),Q=e.space(),_&&_.c(),Y=e.space(),R&&R.c(),$=e.space(),y&&y.c(),ee=e.space(),k&&k.c(),e.attr(u,"class","BonusCardRowTitle"),e.attr(d,"class",z="BonusCardRowText BonusCardStatus TextCapitalize "+(o[2]==="active"||o[2]==="released"?"StatusActive":"")+" "+(o[2]==="expired"?"StatusExpired":"")+" "+(o[2]==="forfeited"?"StatusForfeited":"")),e.attr(i,"class",S=`BonusCardRow Date ${o[18]("date")}`),e.attr(F,"class","BonusCardRowTitle"),e.attr(x,"class","BonusCardRowText"),e.attr(A,"class",w=`BonusCardRow ${o[18]("bonusName")}`),e.attr(W,"class","BonusCardRowTitle"),e.attr(G,"class","BonusCardRowText TextCapitalize"),e.attr(N,"class",H=`BonusCardRow ${o[18]("bonusType")}`),e.attr(n,"class","BonusCardInfo"),e.attr(t,"class","BonusCard")},m(r,B){e.insert(r,t,B),e.append(t,n),e.append(n,i),e.append(i,u),e.append(u,a),e.append(u,m),e.append(u,g),e.append(g,f),e.append(i,b),e.append(i,d),e.append(d,I),e.append(n,E),h&&h.m(n,null),e.append(n,L),v&&v.m(n,null),e.append(n,P),e.append(n,A),e.append(A,F),e.append(F,V),e.append(A,Z),e.append(A,x),e.append(x,O),e.append(n,K),e.append(n,N),e.append(N,W),e.append(W,q),e.append(N,X),e.append(N,G),e.append(G,J),e.append(n,s),C&&C.m(n,null),e.append(n,D),T&&T.m(n,null),e.append(n,Q),_&&_.m(n,null),e.append(n,Y),R&&R.m(n,null),e.append(n,$),y&&y.m(n,null),e.append(t,ee),k&&k.m(t,null),o[30](t)},p(r,B){B[0]&262144&&l!==(l=r[18]("date")+"")&&e.set_data(a,l),B[0]&1&&c!==(c=r[21](r[0])+"")&&e.set_data(f,c),B[0]&262148&&p!==(p=r[18](`${r[2]}`)+"")&&e.set_data(I,p),B[0]&4&&z!==(z="BonusCardRowText BonusCardStatus TextCapitalize "+(r[2]==="active"||r[2]==="released"?"StatusActive":"")+" "+(r[2]==="expired"?"StatusExpired":"")+" "+(r[2]==="forfeited"?"StatusForfeited":""))&&e.attr(d,"class",z),B[0]&262144&&S!==(S=`BonusCardRow Date ${r[18]("date")}`)&&e.attr(i,"class",S),r[16]===!0?h?h.p(r,B):(h=oe(r),h.c(),h.m(n,L)):h&&(h.d(1),h=null),r[1]?v?v.p(r,B):(v=se(r),v.c(),v.m(n,P)):v&&(v.d(1),v=null),B[0]&262144&&M!==(M=r[18]("bonusName")+"")&&e.set_data(V,M),B[0]&8&&e.set_data(O,r[3]),B[0]&262144&&w!==(w=`BonusCardRow ${r[18]("bonusName")}`)&&e.attr(A,"class",w),B[0]&262144&&j!==(j=r[18]("bonusType")+"")&&e.set_data(q,j),B[0]&262160&&U!==(U=r[18](`${r[4]}`)+"")&&e.set_data(J,U),B[0]&262144&&H!==(H=`BonusCardRow ${r[18]("bonusType")}`)&&e.attr(N,"class",H),r[5]?C?C.p(r,B):(C=ae(r),C.c(),C.m(n,D)):C&&(C.d(1),C=null),r[6]&&!r[17]?T?T.p(r,B):(T=ie(r),T.c(),T.m(n,Q)):T&&(T.d(1),T=null),r[7]?_?_.p(r,B):(_=re(r),_.c(),_.m(n,Y)):_&&(_.d(1),_=null),r[9]?R?R.p(r,B):(R=ue(r),R.c(),R.m(n,$)):R&&(R.d(1),R=null),r[15]?y?y.p(r,B):(y=de(r),y.c(),y.m(n,null)):y&&(y.d(1),y=null),r[2]==="active"?k?k.p(r,B):(k=le(r),k.c(),k.m(t,null)):k&&(k.d(1),k=null)},i:e.noop,o:e.noop,d(r){r&&e.detach(t),h&&h.d(),v&&v.d(),C&&C.d(),T&&T.d(),_&&_.d(),R&&R.d(),y&&y.d(),k&&k.d(),o[30](null)}}}function be(o,t,n){let i,u;e.component_subscribe(o,e.$format,s=>n(18,u=s));let{bonuswalletid:l=""}=t,{bonusdate:a=""}=t,{bonusexpirationdate:m=""}=t,{bonusstatus:g=""}=t,{bonusname:c=""}=t,{bonustype:f=""}=t,{bonusamount:b=""}=t,{bonuswageringamount:d=""}=t,{bonusremainingamount:p=""}=t,{bonuscurrency:I=""}=t,{bonusfreespins:z=""}=t,{lang:S="en"}=t,{clientstyling:E=""}=t,{clientstylingurl:L=""}=t,{mbsource:P}=t,{translationurl:A=""}=t,{termsandconditionsurl:F=""}=t,{termsandconditionsasset:M=""}=t,{termsandconditionsdescription:V=""}=t,{currencylocale:Z=""}=t,{dateformat:x=""}=t,{ishiddenwageringbonus:O="false"}=t,w,K,N=window.navigator.userAgent,W=e.getDevice(N)!=="PC",j=!1,q=!0;const X=()=>{fetch(A).then(D=>D.json()).then(D=>{Object.keys(D).forEach(Q=>{te(Q,D[Q])})}).catch(D=>{console.log(D)})};Object.keys(ne).forEach(s=>{te(s,ne[s])});const G=()=>{window.postMessage({type:"DisableScroll"},window.location.href),window.postMessage({type:"DeleteActiveBonus",bonuswalletid:l},window.location.href)},U=s=>e.format(new Date(s),`${x||"dd/MM/yyyy"} h:mm a`),J=()=>{ce(S)};e.onMount(()=>()=>{});function H(s){e.binding_callbacks[s?"unshift":"push"](()=>{w=s,n(14,w)})}return o.$$set=s=>{"bonuswalletid"in s&&n(22,l=s.bonuswalletid),"bonusdate"in s&&n(0,a=s.bonusdate),"bonusexpirationdate"in s&&n(1,m=s.bonusexpirationdate),"bonusstatus"in s&&n(2,g=s.bonusstatus),"bonusname"in s&&n(3,c=s.bonusname),"bonustype"in s&&n(4,f=s.bonustype),"bonusamount"in s&&n(5,b=s.bonusamount),"bonuswageringamount"in s&&n(6,d=s.bonuswageringamount),"bonusremainingamount"in s&&n(7,p=s.bonusremainingamount),"bonuscurrency"in s&&n(8,I=s.bonuscurrency),"bonusfreespins"in s&&n(9,z=s.bonusfreespins),"lang"in s&&n(23,S=s.lang),"clientstyling"in s&&n(24,E=s.clientstyling),"clientstylingurl"in s&&n(25,L=s.clientstylingurl),"mbsource"in s&&n(26,P=s.mbsource),"translationurl"in s&&n(27,A=s.translationurl),"termsandconditionsurl"in s&&n(10,F=s.termsandconditionsurl),"termsandconditionsasset"in s&&n(11,M=s.termsandconditionsasset),"termsandconditionsdescription"in s&&n(12,V=s.termsandconditionsdescription),"currencylocale"in s&&n(13,Z=s.currencylocale),"dateformat"in s&&n(28,x=s.dateformat),"ishiddenwageringbonus"in s&&n(29,O=s.ishiddenwageringbonus)},o.$$.update=()=>{o.$$.dirty[0]&8388608&&S&&J(),o.$$.dirty[0]&536870912&&n(17,i=O==="true"),o.$$.dirty[0]&16793600&&E&&w&&e.setClientStyling(w,E),o.$$.dirty[0]&33570816&&L&&w&&e.setClientStylingURL(w,L),o.$$.dirty[0]&67125248&&P&&w&&e.setStreamStyling(w,`${P}.Style`,K),o.$$.dirty[0]&134217728&&A&&X(),o.$$.dirty[0]&2048&&n(16,q=!(M===null||M==="")),o.$$.dirty[0]&1024&&n(15,j=F!==null&&F!=="")},[a,m,g,c,f,b,d,p,I,z,F,M,V,Z,w,j,q,i,u,W,G,U,l,S,E,L,P,A,x,O,H]}class me extends e.SvelteComponent{constructor(t){super(),e.init(this,t,be,pe,e.safe_not_equal,{bonuswalletid:22,bonusdate:0,bonusexpirationdate:1,bonusstatus:2,bonusname:3,bonustype:4,bonusamount:5,bonuswageringamount:6,bonusremainingamount:7,bonuscurrency:8,bonusfreespins:9,lang:23,clientstyling:24,clientstylingurl:25,mbsource:26,translationurl:27,termsandconditionsurl:10,termsandconditionsasset:11,termsandconditionsdescription:12,currencylocale:13,dateformat:28,ishiddenwageringbonus:29},fe,[-1,-1])}get bonuswalletid(){return this.$$.ctx[22]}set bonuswalletid(t){this.$$set({bonuswalletid:t}),e.flush()}get bonusdate(){return this.$$.ctx[0]}set bonusdate(t){this.$$set({bonusdate:t}),e.flush()}get bonusexpirationdate(){return this.$$.ctx[1]}set bonusexpirationdate(t){this.$$set({bonusexpirationdate:t}),e.flush()}get bonusstatus(){return this.$$.ctx[2]}set bonusstatus(t){this.$$set({bonusstatus:t}),e.flush()}get bonusname(){return this.$$.ctx[3]}set bonusname(t){this.$$set({bonusname:t}),e.flush()}get bonustype(){return this.$$.ctx[4]}set bonustype(t){this.$$set({bonustype:t}),e.flush()}get bonusamount(){return this.$$.ctx[5]}set bonusamount(t){this.$$set({bonusamount:t}),e.flush()}get bonuswageringamount(){return this.$$.ctx[6]}set bonuswageringamount(t){this.$$set({bonuswageringamount:t}),e.flush()}get bonusremainingamount(){return this.$$.ctx[7]}set bonusremainingamount(t){this.$$set({bonusremainingamount:t}),e.flush()}get bonuscurrency(){return this.$$.ctx[8]}set bonuscurrency(t){this.$$set({bonuscurrency:t}),e.flush()}get bonusfreespins(){return this.$$.ctx[9]}set bonusfreespins(t){this.$$set({bonusfreespins:t}),e.flush()}get lang(){return this.$$.ctx[23]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[24]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[25]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[26]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[27]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get termsandconditionsurl(){return this.$$.ctx[10]}set termsandconditionsurl(t){this.$$set({termsandconditionsurl:t}),e.flush()}get termsandconditionsasset(){return this.$$.ctx[11]}set termsandconditionsasset(t){this.$$set({termsandconditionsasset:t}),e.flush()}get termsandconditionsdescription(){return this.$$.ctx[12]}set termsandconditionsdescription(t){this.$$set({termsandconditionsdescription:t}),e.flush()}get currencylocale(){return this.$$.ctx[13]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}get dateformat(){return this.$$.ctx[28]}set dateformat(t){this.$$set({dateformat:t}),e.flush()}get ishiddenwageringbonus(){return this.$$.ctx[29]}set ishiddenwageringbonus(t){this.$$set({ishiddenwageringbonus:t}),e.flush()}}e.create_custom_element(me,{bonuswalletid:{},bonusdate:{},bonusexpirationdate:{},bonusstatus:{},bonusname:{},bonustype:{},bonusamount:{},bonuswageringamount:{},bonusremainingamount:{},bonuscurrency:{},bonusfreespins:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},termsandconditionsurl:{},termsandconditionsasset:{},termsandconditionsdescription:{},currencylocale:{},dateformat:{},ishiddenwageringbonus:{}},[],[],!0);exports.default=me;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerBonusHistory-DYDPAsky.cjs");function te(o,t){e.addMessages(o,t)}function ce(o){e.$locale.set(o)}const ne={en:{date:"Granted date:",expirationDate:"Expiration Date",bonusName:"Bonus Name",bonusType:"Bonus Type",bonusAmount:"Bonus Amount",wageringAmount:"Wagering Progress (Rollover)",remainingBonus:"Current Bonus Balance",forfeitBonusButton:"Forfeit Bonus",active:"active",released:"released",expired:"expired",forfeited:"forfeited",closed:"closed",termsConditionsLink:"Terms and Conditions",termsConditionsTitle:"Terms and Conditions",wagering:"Wagering",tournamentTicket:"Tournament Ticket",tournament:"Tournament",bonusMoney:"Bonus Money",freeSpins:"Free Spins",freeBet:"Free Bet",cashBack:"CashBack",freeRound:"Free Round",oddsBoost:"Odds Boost"},"zh-hk":{date:"授予日期:",expirationDate:"到期日",bonusName:"獎金名稱",bonusType:"獎金類型",bonusAmount:"獎金金額",wageringAmount:"投注進展",remainingBonus:"剩餘紅利金額",forfeitBonusButton:"沒收獎金",active:"active",released:"released",expired:"expired",forfeited:"forfeited",closed:"closed",termsConditionsLink:"條款及細則",termsConditionsTitle:"條款及細則",wagering:"投注挑戰",tournamentTicket:"錦標賽門票",tournament:"錦標賽",bonusMoney:"獎金",freeSpins:"免費旋轉",freeBet:"免費投注",cashBack:"現金回贈",freeRound:"Free Round",oddsBoost:"Odds Boost"},fr:{date:"Date d'attribution:",expirationDate:"Date d'expiration",bonusName:"Nom du bonus",bonusType:"Type de bonus",bonusAmount:"Montant du bonus",wageringAmount:"Changer les progrès",remainingBonus:"Montant du bonus restant",forfeitBonusButton:"Supprimer le bonus",active:"active",released:"released",expired:"expired",forfeited:"forfeited",closed:"fermé",termsConditionsLink:"Termes et Conditions",termsConditionsTitle:"Termes et Conditions",wagering:"Défi de mise",tournamentTicket:"Billet de tournoi",tournament:"Tournoi",bonusMoney:"Argent bonus",freeSpins:"Tours gratuits",freeBet:"Paris gratuit",cashBack:"Remboursement",freeRound:"Free Round",oddsBoost:"Odds Boost"},ro:{date:"Dată Alocare:",expirationDate:"Dată Expirare",bonusName:"Nume bonus",bonusType:"Tip de bonus",bonusAmount:"Sumă",wageringAmount:"Progresul de pariere",remainingBonus:"Bonus rămas",forfeitBonusButton:"Anulează bonusul",active:"active",released:"released",expired:"expired",forfeited:"forfeited",closed:"închis",termsConditionsLink:"Termeni si Conditii",termsConditionsTitle:"Termeni si Conditii",wagering:"Provocare de pariere",tournamentTicket:"Bilet de turneu",tournament:"Turneu",bonusMoney:"Bani bonus",freeSpins:"Rotiri gratuite",freeBet:"Pariu gratuit",cashBack:"Rambursare",freeRound:"Free Round",oddsBoost:"Odds Boost"},es:{date:"Fecha de Canje",expirationDate:"Fecha de vencimiento",bonusName:"Nombre de Bono",bonusType:"Tipo de Bono",bonusAmount:"Monto de Bono",wageringAmount:"Progreso ( Rollover)",remainingBonus:"Saldo Actual de Bono",forfeitBonusButton:"cancelar bono",active:"Activo",released:"released",expired:"expired",forfeited:"forfeited",closed:"cerrado",termsConditionsLink:"Términos y Condiciones",termsConditionsTitle:"Términos y Condiciones",wagering:"Desafío de apuestas",tournamentTicket:"Boleto de torneo",tournament:"Torneo",bonusMoney:"Dinero de bonificación",freeSpins:"Giros gratis",freeBet:"Apuesta gratis",cashBack:"Reembolso",freeRound:"Free Round",oddsBoost:"Odds Boost"},pt:{date:"Data de atribuição do bônus:",expirationDate:"Data de validade",bonusName:"Nome do bônus",bonusType:"Tipo de bônus",bonusAmount:"Valor do bônus",wageringAmount:"Progresso de apostas",remainingBonus:"Valor do bônus restante",forfeitBonusButton:"Bônus de Perda",active:"active",released:"released",expired:"expired",forfeited:"forfeited",closed:"fechado",termsConditionsLink:"Termos e Condições",termsConditionsTitle:"Termos e Condições",wagering:"Desafio de apostas",tournamentTicket:"Bilhete de torneio",tournament:"Torneio",bonusMoney:"Dinheiro de bónus",freeSpins:"Rodadas grátis",freeBet:"Aposta grátis",cashBack:"Reembolso",freeRound:"Free Round",oddsBoost:"Odds Boost"},hr:{date:"Datum:",expirationDate:"Datum isteka",bonusName:"Ime bonusa",bonusType:"Vrsta bonusa",bonusAmount:"Iznos bonusa",wageringAmount:"Odigravanje",remainingBonus:"Trenutno stanje bonusa",forfeitBonusButton:"Otkaži bonus",active:"aktivan",released:"razriješen",expired:"Istekao",forfeited:"otkazan",closed:"Zatvoren",termsConditionsLink:"Uvjeti i odredbe",termsConditionsTitle:"Uvjeti i odredbe",wagering:"Izazov odigravanja",tournamentTicket:"Turnir",tournament:"Turnir",bonusMoney:"Bonus novac",freeSpins:"Besplatne vrtnje",freeBet:"Besplatna oklada",cashBack:"CashBack",freeRound:"Besplatne runde",oddsBoost:"Odds Boost"},"pt-br":{date:"Data concedida:",expirationDate:"Data de validade",bonusName:"Nome do bônus:",bonusType:"Tipo de bônus:",bonusAmount:"Valor do bônus:",wageringAmount:"Progresso da Quantidade de Apostas (Rollover)",remainingBonus:"Saldo atual de bônus:",forfeitBonusButton:"Recusar bônus",active:"Ativo",released:"Lançado",expired:"Expirado",forfeited:"Perdido",closed:"fechado",termsConditionsLink:"Termos e Condições",termsConditionsTitle:"Termos e Condições",wagering:"Desafio de apostas",tournamentTicket:"Ingresso para torneio",tournament:"Torneio",bonusMoney:"Dinheiro bônus",freeSpins:"Rodadas grátis",freeBet:"Aposta grátis",cashBack:"Dinheiro de volta",freeRound:"Free Round",oddsBoost:"Odds Boost"},"es-mx":{date:"Fecha concedida:",expirationDate:"Fecha de vencimiento",bonusName:"Nombre de bono:",bonusType:"Tipo de Bono:",bonusAmount:"valor de Bono:",wageringAmount:"Progreso de monto de apuestas (Rollover)",remainingBonus:"Saldo de bono actual:",forfeitBonusButton:"Declinar bono",active:"Activo",released:"Liberado",expired:"Expirado",forfeited:"Perdido",closed:"cerrado",termsConditionsLink:"Términos y Condiciones",termsConditionsTitle:"Términos y Condiciones",wagering:"Reto de apuestas",tournamentTicket:"Boleto de torneo",tournament:"Torneo",bonusMoney:"Dinero de bono",freeSpins:"Giros gratis",freeBet:"Apuesta gratis",cashBack:"Reembolso",freeRound:"Free Round",oddsBoost:"Odds Boost"},tr:{date:"Verilen tarih:",expirationDate:"Son kullanma tarihi",bonusName:"Bonus Adı",bonusType:"Bonus Türü",bonusAmount:"Bonus Tutarı",wageringAmount:"Bahis İlerlemesi (Rollover)",remainingBonus:"Mevcut Bonus Bakiyesi",forfeitBonusButton:"Fesih Bonusu",active:"aktif",released:"piyasaya sürülmüş",expired:"günü geçmiş",forfeited:"kaybedilen",closed:"kapalı",termsConditionsLink:"Términos y Condiciones",termsConditionsTitle:"Términos y Condiciones",wagering:"Bahis mücadelesi",tournamentTicket:"Turnuva bileti",tournament:"Turnuva",bonusMoney:"Bonus para",freeSpins:"Bedava dönüş",freeBet:"Bedava bahis",cashBack:"Para iadesi",freeRound:"Free Round",oddsBoost:"Odds Boost"},"en-us":{date:"Granted date:",expirationDate:"Expiration Date",bonusName:"Bonus Name",bonusType:"Bonus Type",bonusAmount:"Bonus Amount",wageringAmount:"Wagering Progress (Rollover)",remainingBonus:"Current Bonus Balance",forfeitBonusButton:"Forfeit Bonus",active:"active",released:"released",expired:"expired",forfeited:"forfeited",closed:"closed",termsConditionsLink:"Terms and Conditions",termsConditionsTitle:"Terms and Conditions",wagering:"Wagering",tournamentTicket:"Tournament Ticket",tournament:"Tournament",bonusMoney:"Bonus Money",freeSpins:"Free Spins",freeBet:"Free Bet",cashBack:"CashBack",freeRound:"Free Round",oddsBoost:"Odds Boost"}};function fe(o){e.append_styles(o,"svelte-15xuos2",".ButtonTermsAndConditions{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));text-decoration:underline;margin:10px 0;cursor:pointer}.BonusImage{width:100%;max-height:200px;border-radius:var(--emw--border-radius-small, 5px)}.BonusCard{background-color:var(--emw--color-white, #FFFFFF);padding:10px 20px 20px;border-radius:var(--emw--border-radius-large, 10px);box-shadow:0px 5px 12px 5px var(--emw--color-gray-100, #E6E6E6)}.BonusCardRow{display:flex;justify-content:space-between;align-items:center;padding:2px 10px;font-size:var(--emw--font-size-small, 14px)}.BonusCardRow .BonusCardRowTitle{color:var(--emw--color-typography-cotrast, #444444);font-weight:var(--emw--font-weight-bold, 700)}.BonusCardRow .BonusCardRowTitle span{font-weight:var(--emw--font-weigh-normal, 400);color:var(--emw--color-gray-300, #58586B)}.BonusCardRow .BonusCardRowText{color:var(--emw--color-gray-300, #58586B)}.BonusCardRow .BonusCardRowText.BonusCardStatus{font-weight:var(--emw--font-weight-bold, 700);color:var(--emw--color-typography-cotrast, #444444)}.BonusCardRow .BonusCardRowText.StatusActive{color:var(--emw--color-valid, #48952a)}.BonusCardRow .BonusCardRowText.StatusExpired{color:var(--emw--color-error, #FD2839)}.BonusCardRow .BonusCardRowText.StatusForfeited{color:#fd8c2d}.BonusCardRow .BonusCardRowText.TextCapitalize{text-transform:capitalize}.BonusCardRow:nth-child(even){background-color:var(--emw--color-gray-50, #F9F8F8);border-radius:var(--emw--border-radius-small, 5px)}.DeleteBonus{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:var(--emw--border-radius-small, 5px);width:50%;height:44px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;margin-top:10px}.DeleteBonus.DeleteBonusMobile{width:100%}.DeleteBonus:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCardRowRemovePadding{padding:0}")}function oe(o){let t,n,i;return{c(){t=e.element("div"),n=e.element("img"),e.attr(n,"class","BonusImage"),e.src_url_equal(n.src,i=o[11])||e.attr(n,"src",i),e.attr(n,"alt",o[12]),e.attr(t,"class","BonusCardRow BonusCardRowRemovePadding")},m(u,l){e.insert(u,t,l),e.append(t,n)},p(u,l){l[0]&2048&&!e.src_url_equal(n.src,i=u[11])&&e.attr(n,"src",i),l[0]&4096&&e.attr(n,"alt",u[12])},d(u){u&&e.detach(t)}}}function se(o){let t,n,i=o[18]("expirationDate")+"",u,l,a,m=o[21](o[1])+"",g,c;return{c(){t=e.element("div"),n=e.element("p"),u=e.text(i),l=e.space(),a=e.element("p"),g=e.text(m),e.attr(n,"class","BonusCardRowTitle"),e.attr(a,"class","BonusCardRowText"),e.attr(t,"class",c=`BonusCardRow ${o[18]("expirationDate")}`)},m(f,b){e.insert(f,t,b),e.append(t,n),e.append(n,u),e.append(t,l),e.append(t,a),e.append(a,g)},p(f,b){b[0]&262144&&i!==(i=f[18]("expirationDate")+"")&&e.set_data(u,i),b[0]&2&&m!==(m=f[21](f[1])+"")&&e.set_data(g,m),b[0]&262144&&c!==(c=`BonusCardRow ${f[18]("expirationDate")}`)&&e.attr(t,"class",c)},d(f){f&&e.detach(t)}}}function ae(o){let t,n,i=o[18]("bonusAmount")+"",u,l,a,m,g,c=(o[13]?"":o[8])+"",f,b;return{c(){t=e.element("div"),n=e.element("p"),u=e.text(i),l=e.space(),a=e.element("p"),m=e.text(o[5]),g=e.space(),f=e.text(c),e.attr(n,"class","BonusCardRowTitle"),e.attr(a,"class","BonusCardRowText"),e.attr(t,"class",b=`BonusCardRow ${o[18]("bonusAmount")}`)},m(d,p){e.insert(d,t,p),e.append(t,n),e.append(n,u),e.append(t,l),e.append(t,a),e.append(a,m),e.append(a,g),e.append(a,f)},p(d,p){p[0]&262144&&i!==(i=d[18]("bonusAmount")+"")&&e.set_data(u,i),p[0]&32&&e.set_data(m,d[5]),p[0]&8448&&c!==(c=(d[13]?"":d[8])+"")&&e.set_data(f,c),p[0]&262144&&b!==(b=`BonusCardRow ${d[18]("bonusAmount")}`)&&e.attr(t,"class",b)},d(d){d&&e.detach(t)}}}function ie(o){let t,n,i=o[18]("wageringAmount")+"",u,l,a,m,g,c=(o[13]?"":o[8])+"",f,b;return{c(){t=e.element("div"),n=e.element("p"),u=e.text(i),l=e.space(),a=e.element("p"),m=e.text(o[6]),g=e.space(),f=e.text(c),e.attr(n,"class","BonusCardRowTitle"),e.attr(a,"class","BonusCardRowText"),e.attr(t,"class",b=`BonusCardRow ${o[18]("wageringAmount")} ${o[4]}`)},m(d,p){e.insert(d,t,p),e.append(t,n),e.append(n,u),e.append(t,l),e.append(t,a),e.append(a,m),e.append(a,g),e.append(a,f)},p(d,p){p[0]&262144&&i!==(i=d[18]("wageringAmount")+"")&&e.set_data(u,i),p[0]&64&&e.set_data(m,d[6]),p[0]&8448&&c!==(c=(d[13]?"":d[8])+"")&&e.set_data(f,c),p[0]&262160&&b!==(b=`BonusCardRow ${d[18]("wageringAmount")} ${d[4]}`)&&e.attr(t,"class",b)},d(d){d&&e.detach(t)}}}function re(o){let t,n,i=o[18]("remainingBonus")+"",u,l,a,m,g,c=(o[13]?"":o[8])+"",f,b;return{c(){t=e.element("div"),n=e.element("p"),u=e.text(i),l=e.space(),a=e.element("p"),m=e.text(o[7]),g=e.space(),f=e.text(c),e.attr(n,"class","BonusCardRowTitle"),e.attr(a,"class","BonusCardRowText"),e.attr(t,"class",b=`BonusCardRow ${o[18]("remainingBonus")}`)},m(d,p){e.insert(d,t,p),e.append(t,n),e.append(n,u),e.append(t,l),e.append(t,a),e.append(a,m),e.append(a,g),e.append(a,f)},p(d,p){p[0]&262144&&i!==(i=d[18]("remainingBonus")+"")&&e.set_data(u,i),p[0]&128&&e.set_data(m,d[7]),p[0]&8448&&c!==(c=(d[13]?"":d[8])+"")&&e.set_data(f,c),p[0]&262144&&b!==(b=`BonusCardRow ${d[18]("remainingBonus")}`)&&e.attr(t,"class",b)},d(d){d&&e.detach(t)}}}function ue(o){let t,n,i=o[18]("freeSpins")+"",u,l,a,m,g;return{c(){t=e.element("div"),n=e.element("p"),u=e.text(i),l=e.space(),a=e.element("p"),m=e.text(o[9]),e.attr(n,"class","BonusCardRowTitle"),e.attr(a,"class","BonusCardRowText"),e.attr(t,"class",g=`BonusCardRow ${o[18]("freeSpins")}`)},m(c,f){e.insert(c,t,f),e.append(t,n),e.append(n,u),e.append(t,l),e.append(t,a),e.append(a,m)},p(c,f){f[0]&262144&&i!==(i=c[18]("freeSpins")+"")&&e.set_data(u,i),f[0]&512&&e.set_data(m,c[9]),f[0]&262144&&g!==(g=`BonusCardRow ${c[18]("freeSpins")}`)&&e.attr(t,"class",g)},d(c){c&&e.detach(t)}}}function de(o){let t,n,i=o[18]("termsConditionsLink")+"",u,l;return{c(){t=e.element("div"),n=e.element("a"),u=e.text(i),e.attr(n,"class","ButtonTermsAndConditions"),e.attr(n,"href",o[10]),e.attr(n,"target","_blank"),e.attr(t,"class",l=`BonusCardRow ${o[18]("termsConditionsLink")}`)},m(a,m){e.insert(a,t,m),e.append(t,n),e.append(n,u)},p(a,m){m[0]&262144&&i!==(i=a[18]("termsConditionsLink")+"")&&e.set_data(u,i),m[0]&1024&&e.attr(n,"href",a[10]),m[0]&262144&&l!==(l=`BonusCardRow ${a[18]("termsConditionsLink")}`)&&e.attr(t,"class",l)},d(a){a&&e.detach(t)}}}function le(o){let t,n=o[18]("forfeitBonusButton")+"",i,u,l;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class","DeleteBonus "+(o[19]?"DeleteBonusMobile":""))},m(a,m){e.insert(a,t,m),e.append(t,i),u||(l=e.listen(t,"click",o[20]),u=!0)},p(a,m){m[0]&262144&&n!==(n=a[18]("forfeitBonusButton")+"")&&e.set_data(i,n)},d(a){a&&e.detach(t),u=!1,l()}}}function pe(o){let t,n,i,u,l=o[18]("date")+"",a,m,g,c=o[21](o[0])+"",f,b,d,p=o[18](`${o[2]}`)+"",I,z,S,E,L,P,A,F,M=o[18]("bonusName")+"",V,Z,x,O,w,K,N,W,j=o[18]("bonusType")+"",q,X,G,U=o[18](`${o[4]}`)+"",J,H,s,D,Q,Y,$,ee,h=o[16]===!0&&oe(o),v=o[1]&&se(o),C=o[5]&&ae(o),T=o[6]&&!o[17]&&ie(o),_=o[7]&&re(o),R=o[9]&&ue(o),y=o[15]&&de(o),k=o[2]==="active"&&le(o);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div"),u=e.element("p"),a=e.text(l),m=e.space(),g=e.element("span"),f=e.text(c),b=e.space(),d=e.element("p"),I=e.text(p),E=e.space(),h&&h.c(),L=e.space(),v&&v.c(),P=e.space(),A=e.element("div"),F=e.element("p"),V=e.text(M),Z=e.space(),x=e.element("p"),O=e.text(o[3]),K=e.space(),N=e.element("div"),W=e.element("p"),q=e.text(j),X=e.space(),G=e.element("p"),J=e.text(U),s=e.space(),C&&C.c(),D=e.space(),T&&T.c(),Q=e.space(),_&&_.c(),Y=e.space(),R&&R.c(),$=e.space(),y&&y.c(),ee=e.space(),k&&k.c(),e.attr(u,"class","BonusCardRowTitle"),e.attr(d,"class",z="BonusCardRowText BonusCardStatus TextCapitalize "+(o[2]==="active"||o[2]==="released"?"StatusActive":"")+" "+(o[2]==="expired"?"StatusExpired":"")+" "+(o[2]==="forfeited"?"StatusForfeited":"")),e.attr(i,"class",S=`BonusCardRow Date ${o[18]("date")}`),e.attr(F,"class","BonusCardRowTitle"),e.attr(x,"class","BonusCardRowText"),e.attr(A,"class",w=`BonusCardRow ${o[18]("bonusName")}`),e.attr(W,"class","BonusCardRowTitle"),e.attr(G,"class","BonusCardRowText TextCapitalize"),e.attr(N,"class",H=`BonusCardRow ${o[18]("bonusType")}`),e.attr(n,"class","BonusCardInfo"),e.attr(t,"class","BonusCard")},m(r,B){e.insert(r,t,B),e.append(t,n),e.append(n,i),e.append(i,u),e.append(u,a),e.append(u,m),e.append(u,g),e.append(g,f),e.append(i,b),e.append(i,d),e.append(d,I),e.append(n,E),h&&h.m(n,null),e.append(n,L),v&&v.m(n,null),e.append(n,P),e.append(n,A),e.append(A,F),e.append(F,V),e.append(A,Z),e.append(A,x),e.append(x,O),e.append(n,K),e.append(n,N),e.append(N,W),e.append(W,q),e.append(N,X),e.append(N,G),e.append(G,J),e.append(n,s),C&&C.m(n,null),e.append(n,D),T&&T.m(n,null),e.append(n,Q),_&&_.m(n,null),e.append(n,Y),R&&R.m(n,null),e.append(n,$),y&&y.m(n,null),e.append(t,ee),k&&k.m(t,null),o[30](t)},p(r,B){B[0]&262144&&l!==(l=r[18]("date")+"")&&e.set_data(a,l),B[0]&1&&c!==(c=r[21](r[0])+"")&&e.set_data(f,c),B[0]&262148&&p!==(p=r[18](`${r[2]}`)+"")&&e.set_data(I,p),B[0]&4&&z!==(z="BonusCardRowText BonusCardStatus TextCapitalize "+(r[2]==="active"||r[2]==="released"?"StatusActive":"")+" "+(r[2]==="expired"?"StatusExpired":"")+" "+(r[2]==="forfeited"?"StatusForfeited":""))&&e.attr(d,"class",z),B[0]&262144&&S!==(S=`BonusCardRow Date ${r[18]("date")}`)&&e.attr(i,"class",S),r[16]===!0?h?h.p(r,B):(h=oe(r),h.c(),h.m(n,L)):h&&(h.d(1),h=null),r[1]?v?v.p(r,B):(v=se(r),v.c(),v.m(n,P)):v&&(v.d(1),v=null),B[0]&262144&&M!==(M=r[18]("bonusName")+"")&&e.set_data(V,M),B[0]&8&&e.set_data(O,r[3]),B[0]&262144&&w!==(w=`BonusCardRow ${r[18]("bonusName")}`)&&e.attr(A,"class",w),B[0]&262144&&j!==(j=r[18]("bonusType")+"")&&e.set_data(q,j),B[0]&262160&&U!==(U=r[18](`${r[4]}`)+"")&&e.set_data(J,U),B[0]&262144&&H!==(H=`BonusCardRow ${r[18]("bonusType")}`)&&e.attr(N,"class",H),r[5]?C?C.p(r,B):(C=ae(r),C.c(),C.m(n,D)):C&&(C.d(1),C=null),r[6]&&!r[17]?T?T.p(r,B):(T=ie(r),T.c(),T.m(n,Q)):T&&(T.d(1),T=null),r[7]?_?_.p(r,B):(_=re(r),_.c(),_.m(n,Y)):_&&(_.d(1),_=null),r[9]?R?R.p(r,B):(R=ue(r),R.c(),R.m(n,$)):R&&(R.d(1),R=null),r[15]?y?y.p(r,B):(y=de(r),y.c(),y.m(n,null)):y&&(y.d(1),y=null),r[2]==="active"?k?k.p(r,B):(k=le(r),k.c(),k.m(t,null)):k&&(k.d(1),k=null)},i:e.noop,o:e.noop,d(r){r&&e.detach(t),h&&h.d(),v&&v.d(),C&&C.d(),T&&T.d(),_&&_.d(),R&&R.d(),y&&y.d(),k&&k.d(),o[30](null)}}}function be(o,t,n){let i,u;e.component_subscribe(o,e.$format,s=>n(18,u=s));let{bonuswalletid:l=""}=t,{bonusdate:a=""}=t,{bonusexpirationdate:m=""}=t,{bonusstatus:g=""}=t,{bonusname:c=""}=t,{bonustype:f=""}=t,{bonusamount:b=""}=t,{bonuswageringamount:d=""}=t,{bonusremainingamount:p=""}=t,{bonuscurrency:I=""}=t,{bonusfreespins:z=""}=t,{lang:S="en"}=t,{clientstyling:E=""}=t,{clientstylingurl:L=""}=t,{mbsource:P}=t,{translationurl:A=""}=t,{termsandconditionsurl:F=""}=t,{termsandconditionsasset:M=""}=t,{termsandconditionsdescription:V=""}=t,{currencylocale:Z=""}=t,{dateformat:x=""}=t,{ishiddenwageringbonus:O="false"}=t,w,K,N=window.navigator.userAgent,W=e.getDevice(N)!=="PC",j=!1,q=!0;const X=()=>{fetch(A).then(D=>D.json()).then(D=>{Object.keys(D).forEach(Q=>{te(Q,D[Q])})}).catch(D=>{console.log(D)})};Object.keys(ne).forEach(s=>{te(s,ne[s])});const G=()=>{window.postMessage({type:"DisableScroll"},window.location.href),window.postMessage({type:"DeleteActiveBonus",bonuswalletid:l},window.location.href)},U=s=>e.format(new Date(s),`${x||"dd/MM/yyyy"} h:mm a`),J=()=>{ce(S)};e.onMount(()=>()=>{});function H(s){e.binding_callbacks[s?"unshift":"push"](()=>{w=s,n(14,w)})}return o.$$set=s=>{"bonuswalletid"in s&&n(22,l=s.bonuswalletid),"bonusdate"in s&&n(0,a=s.bonusdate),"bonusexpirationdate"in s&&n(1,m=s.bonusexpirationdate),"bonusstatus"in s&&n(2,g=s.bonusstatus),"bonusname"in s&&n(3,c=s.bonusname),"bonustype"in s&&n(4,f=s.bonustype),"bonusamount"in s&&n(5,b=s.bonusamount),"bonuswageringamount"in s&&n(6,d=s.bonuswageringamount),"bonusremainingamount"in s&&n(7,p=s.bonusremainingamount),"bonuscurrency"in s&&n(8,I=s.bonuscurrency),"bonusfreespins"in s&&n(9,z=s.bonusfreespins),"lang"in s&&n(23,S=s.lang),"clientstyling"in s&&n(24,E=s.clientstyling),"clientstylingurl"in s&&n(25,L=s.clientstylingurl),"mbsource"in s&&n(26,P=s.mbsource),"translationurl"in s&&n(27,A=s.translationurl),"termsandconditionsurl"in s&&n(10,F=s.termsandconditionsurl),"termsandconditionsasset"in s&&n(11,M=s.termsandconditionsasset),"termsandconditionsdescription"in s&&n(12,V=s.termsandconditionsdescription),"currencylocale"in s&&n(13,Z=s.currencylocale),"dateformat"in s&&n(28,x=s.dateformat),"ishiddenwageringbonus"in s&&n(29,O=s.ishiddenwageringbonus)},o.$$.update=()=>{o.$$.dirty[0]&8388608&&S&&J(),o.$$.dirty[0]&536870912&&n(17,i=O==="true"),o.$$.dirty[0]&16793600&&E&&w&&e.setClientStyling(w,E),o.$$.dirty[0]&33570816&&L&&w&&e.setClientStylingURL(w,L),o.$$.dirty[0]&67125248&&P&&w&&e.setStreamStyling(w,`${P}.Style`,K),o.$$.dirty[0]&134217728&&A&&X(),o.$$.dirty[0]&2048&&n(16,q=!(M===null||M==="")),o.$$.dirty[0]&1024&&n(15,j=F!==null&&F!=="")},[a,m,g,c,f,b,d,p,I,z,F,M,V,Z,w,j,q,i,u,W,G,U,l,S,E,L,P,A,x,O,H]}class me extends e.SvelteComponent{constructor(t){super(),e.init(this,t,be,pe,e.safe_not_equal,{bonuswalletid:22,bonusdate:0,bonusexpirationdate:1,bonusstatus:2,bonusname:3,bonustype:4,bonusamount:5,bonuswageringamount:6,bonusremainingamount:7,bonuscurrency:8,bonusfreespins:9,lang:23,clientstyling:24,clientstylingurl:25,mbsource:26,translationurl:27,termsandconditionsurl:10,termsandconditionsasset:11,termsandconditionsdescription:12,currencylocale:13,dateformat:28,ishiddenwageringbonus:29},fe,[-1,-1])}get bonuswalletid(){return this.$$.ctx[22]}set bonuswalletid(t){this.$$set({bonuswalletid:t}),e.flush()}get bonusdate(){return this.$$.ctx[0]}set bonusdate(t){this.$$set({bonusdate:t}),e.flush()}get bonusexpirationdate(){return this.$$.ctx[1]}set bonusexpirationdate(t){this.$$set({bonusexpirationdate:t}),e.flush()}get bonusstatus(){return this.$$.ctx[2]}set bonusstatus(t){this.$$set({bonusstatus:t}),e.flush()}get bonusname(){return this.$$.ctx[3]}set bonusname(t){this.$$set({bonusname:t}),e.flush()}get bonustype(){return this.$$.ctx[4]}set bonustype(t){this.$$set({bonustype:t}),e.flush()}get bonusamount(){return this.$$.ctx[5]}set bonusamount(t){this.$$set({bonusamount:t}),e.flush()}get bonuswageringamount(){return this.$$.ctx[6]}set bonuswageringamount(t){this.$$set({bonuswageringamount:t}),e.flush()}get bonusremainingamount(){return this.$$.ctx[7]}set bonusremainingamount(t){this.$$set({bonusremainingamount:t}),e.flush()}get bonuscurrency(){return this.$$.ctx[8]}set bonuscurrency(t){this.$$set({bonuscurrency:t}),e.flush()}get bonusfreespins(){return this.$$.ctx[9]}set bonusfreespins(t){this.$$set({bonusfreespins:t}),e.flush()}get lang(){return this.$$.ctx[23]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[24]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[25]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[26]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[27]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get termsandconditionsurl(){return this.$$.ctx[10]}set termsandconditionsurl(t){this.$$set({termsandconditionsurl:t}),e.flush()}get termsandconditionsasset(){return this.$$.ctx[11]}set termsandconditionsasset(t){this.$$set({termsandconditionsasset:t}),e.flush()}get termsandconditionsdescription(){return this.$$.ctx[12]}set termsandconditionsdescription(t){this.$$set({termsandconditionsdescription:t}),e.flush()}get currencylocale(){return this.$$.ctx[13]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}get dateformat(){return this.$$.ctx[28]}set dateformat(t){this.$$set({dateformat:t}),e.flush()}get ishiddenwageringbonus(){return this.$$.ctx[29]}set ishiddenwageringbonus(t){this.$$set({ishiddenwageringbonus:t}),e.flush()}}e.create_custom_element(me,{bonuswalletid:{},bonusdate:{},bonusexpirationdate:{},bonusstatus:{},bonusname:{},bonustype:{},bonusamount:{},bonuswageringamount:{},bonusremainingamount:{},bonuscurrency:{},bonusfreespins:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},termsandconditionsurl:{},termsandconditionsasset:{},termsandconditionsdescription:{},currencylocale:{},dateformat:{},ishiddenwageringbonus:{}},[],[],!0);exports.default=me;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as Ce, a as Te, S as Re, n as ye, k as v, s as _e, h as ke, d as Ae, q as le, i as x, w as C, e as r, o as V, c as o, j as g, z as T, x as h, g as De, m as Se, r as Fe, y as de, p as Me, l as Ne, f as Le, $ as ze, t as Pe, u as Ee, v as Oe } from "./PlayerBonusHistory-DtaxrYhh.js";
|
|
2
2
|
function me(t, e) {
|
|
3
3
|
Ce(t, e);
|
|
4
4
|
}
|
|
@@ -7644,7 +7644,7 @@ if (typeof window != "undefined") {
|
|
|
7644
7644
|
}
|
|
7645
7645
|
};
|
|
7646
7646
|
};
|
|
7647
|
-
customElements.define = r(customElements.define), import("./PlayerBonusCard-
|
|
7647
|
+
customElements.define = r(customElements.define), import("./PlayerBonusCard-B3I9Xb9B.js").then(({ default: e }) => {
|
|
7648
7648
|
!customElements.get("player-bonus-card") && customElements.define("player-bonus-card", e.element);
|
|
7649
7649
|
});
|
|
7650
7650
|
}
|
|
@@ -8252,7 +8252,7 @@ class s_ {
|
|
|
8252
8252
|
}
|
|
8253
8253
|
const hs = Si.litHtmlPolyfillSupport;
|
|
8254
8254
|
var ps;
|
|
8255
|
-
hs == null || hs(Mr, qr), ((ps = Si.litHtmlVersions) != null ? ps : Si.litHtmlVersions = []).push("3.3.
|
|
8255
|
+
hs == null || hs(Mr, qr), ((ps = Si.litHtmlVersions) != null ? ps : Si.litHtmlVersions = []).push("3.3.3");
|
|
8256
8256
|
const nd = (r, e, t) => {
|
|
8257
8257
|
var i, o;
|
|
8258
8258
|
const n = (i = t == null ? void 0 : t.renderBefore) != null ? i : e;
|
|
@@ -24415,33 +24415,33 @@ const E0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
24415
24415
|
default: Ru
|
|
24416
24416
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
24417
24417
|
export {
|
|
24418
|
-
|
|
24418
|
+
Sp as $,
|
|
24419
24419
|
E0 as P,
|
|
24420
24420
|
xc as S,
|
|
24421
|
-
|
|
24422
|
-
|
|
24423
|
-
|
|
24424
|
-
|
|
24421
|
+
Zt as a,
|
|
24422
|
+
Ol as b,
|
|
24423
|
+
T as c,
|
|
24424
|
+
oc as d,
|
|
24425
24425
|
O as e,
|
|
24426
|
-
|
|
24427
|
-
|
|
24428
|
-
|
|
24429
|
-
|
|
24426
|
+
Pr as f,
|
|
24427
|
+
ic as g,
|
|
24428
|
+
wc as h,
|
|
24429
|
+
xe as i,
|
|
24430
24430
|
Q as j,
|
|
24431
|
-
|
|
24432
|
-
|
|
24431
|
+
_e as k,
|
|
24432
|
+
rt as l,
|
|
24433
24433
|
Dp as m,
|
|
24434
|
-
|
|
24435
|
-
|
|
24436
|
-
|
|
24437
|
-
|
|
24438
|
-
|
|
24434
|
+
yc as n,
|
|
24435
|
+
Pe as o,
|
|
24436
|
+
ht as p,
|
|
24437
|
+
ze as q,
|
|
24438
|
+
uc as r,
|
|
24439
24439
|
il as s,
|
|
24440
|
-
|
|
24441
|
-
|
|
24442
|
-
|
|
24443
|
-
|
|
24444
|
-
|
|
24445
|
-
|
|
24446
|
-
|
|
24440
|
+
Ec as t,
|
|
24441
|
+
Tc as u,
|
|
24442
|
+
Pc as v,
|
|
24443
|
+
Bt as w,
|
|
24444
|
+
Se as x,
|
|
24445
|
+
C0 as y,
|
|
24446
|
+
Te as z
|
|
24447
24447
|
};
|
|
@@ -16,7 +16,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
16
16
|
`):"",this.name="UnsubscriptionError",this.errors=t}});function Ro(r,e){if(r){var t=r.indexOf(e);0<=t&&r.splice(t,1)}}var $i=function(){function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return r.prototype.unsubscribe=function(){var e,t,i,o,n;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var s=Lo(a),l=s.next();!l.done;l=s.next()){var d=l.value;d.remove(this)}}catch(f){e={error:f}}finally{try{l&&!l.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else a.remove(this);var u=this.initialTeardown;if(Xe(u))try{u()}catch(f){n=f instanceof uo?f.errors:[f]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var h=Lo(c),p=h.next();!p.done;p=h.next()){var m=p.value;try{Ta(m)}catch(f){n=n!=null?n:[],f instanceof uo?n=Ho(Ho([],zo(n)),zo(f.errors)):n.push(f)}}}catch(f){i={error:f}}finally{try{p&&!p.done&&(o=h.return)&&o.call(h)}finally{if(i)throw i.error}}}if(n)throw new uo(n)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Ta(e);else{if(e instanceof r){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(e)}},r.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},r.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},r.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ro(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&Ro(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=function(){var e=new r;return e.closed=!0,e}(),r}(),gl=$i.EMPTY;function bl(r){return r instanceof $i||r&&"closed"in r&&Xe(r.remove)&&Xe(r.add)&&Xe(r.unsubscribe)}function Ta(r){Xe(r)?r():r.unsubscribe()}var Oc={Promise:void 0},Nc={setTimeout:function(r,e){for(var t=[],i=2;i<arguments.length;i++)t[i-2]=arguments[i];return setTimeout.apply(void 0,Ho([r,e],zo(t)))},clearTimeout:function(r){return clearTimeout(r)},delegate:void 0};function Mc(r){Nc.setTimeout(function(){throw r})}function Pa(){}function fi(r){r()}var yl=function(r){Wr(e,r);function e(t){var i=r.call(this)||this;return i.isStopped=!1,t?(i.destination=t,bl(t)&&t.add(i)):i.destination=zc,i}return e.create=function(t,i,o){return new Fo(t,i,o)},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,r.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}($i),Bc=function(){function r(e){this.partialObserver=e}return r.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(i){oi(i)}},r.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(i){oi(i)}else oi(e)},r.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(t){oi(t)}},r}(),Fo=function(r){Wr(e,r);function e(t,i,o){var n=r.call(this)||this,a;return Xe(t)||!t?a={next:t!=null?t:void 0,error:i!=null?i:void 0,complete:o!=null?o:void 0}:a=t,n.destination=new Bc(a),n}return e}(yl);function oi(r){Mc(r)}function Lc(r){throw r}var zc={closed:!0,next:Pa,error:Lc,complete:Pa},Hc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Rc(r){return r}function Fc(r){return r.length===0?Rc:r.length===1?r[0]:function(t){return r.reduce(function(i,o){return o(i)},t)}}var Aa=function(){function r(e){e&&(this._subscribe=e)}return r.prototype.lift=function(e){var t=new r;return t.source=this,t.operator=e,t},r.prototype.subscribe=function(e,t,i){var o=this,n=Vc(e)?e:new Fo(e,t,i);return fi(function(){var a=o,s=a.operator,l=a.source;n.add(s?s.call(n,l):l?o._subscribe(n):o._trySubscribe(n))}),n},r.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},r.prototype.forEach=function(e,t){var i=this;return t=ka(t),new t(function(o,n){var a=new Fo({next:function(s){try{e(s)}catch(l){n(l),a.unsubscribe()}},error:n,complete:o});i.subscribe(a)})},r.prototype._subscribe=function(e){var t;return(t=this.source)===null||t===void 0?void 0:t.subscribe(e)},r.prototype[Hc]=function(){return this},r.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Fc(e)(this)},r.prototype.toPromise=function(e){var t=this;return e=ka(e),new e(function(i,o){var n;t.subscribe(function(a){return n=a},function(a){return o(a)},function(){return i(n)})})},r.create=function(e){return new r(e)},r}();function ka(r){var e;return(e=r!=null?r:Oc.Promise)!==null&&e!==void 0?e:Promise}function $c(r){return r&&Xe(r.next)&&Xe(r.error)&&Xe(r.complete)}function Vc(r){return r&&r instanceof yl||$c(r)&&bl(r)}var Uc=vl(function(r){return function(){r(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),wl=function(r){Wr(e,r);function e(){var t=r.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return e.prototype.lift=function(t){var i=new Ia(this,this);return i.operator=t,i},e.prototype._throwIfClosed=function(){if(this.closed)throw new Uc},e.prototype.next=function(t){var i=this;fi(function(){var o,n;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var a=Lo(i.currentObservers),s=a.next();!s.done;s=a.next()){var l=s.value;l.next(t)}}catch(d){o={error:d}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}}})},e.prototype.error=function(t){var i=this;fi(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=t;for(var o=i.observers;o.length;)o.shift().error(t)}})},e.prototype.complete=function(){var t=this;fi(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var i=t.observers;i.length;)i.shift().complete()}})},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(t){return this._throwIfClosed(),r.prototype._trySubscribe.call(this,t)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var i=this,o=this,n=o.hasError,a=o.isStopped,s=o.observers;return n||a?gl:(this.currentObservers=null,s.push(t),new $i(function(){i.currentObservers=null,Ro(s,t)}))},e.prototype._checkFinalizedStatuses=function(t){var i=this,o=i.hasError,n=i.thrownError,a=i.isStopped;o?t.error(n):a&&t.complete()},e.prototype.asObservable=function(){var t=new Aa;return t.source=this,t},e.create=function(t,i){return new Ia(t,i)},e}(Aa),Ia=function(r){Wr(e,r);function e(t,i){var o=r.call(this)||this;return o.destination=t,o.source=i,o}return e.prototype.next=function(t){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.next)===null||o===void 0||o.call(i,t)},e.prototype.error=function(t){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.error)===null||o===void 0||o.call(i,t)},e.prototype.complete=function(){var t,i;(i=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||i===void 0||i.call(t)},e.prototype._subscribe=function(t){var i,o;return(o=(i=this.source)===null||i===void 0?void 0:i.subscribe(t))!==null&&o!==void 0?o:gl},e}(wl),xl={now:function(){return(xl.delegate||Date).now()},delegate:void 0},Wc=function(r){Wr(e,r);function e(t,i,o){t===void 0&&(t=1/0),i===void 0&&(i=1/0),o===void 0&&(o=xl);var n=r.call(this)||this;return n._bufferSize=t,n._windowTime=i,n._timestampProvider=o,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=i===1/0,n._bufferSize=Math.max(1,t),n._windowTime=Math.max(1,i),n}return e.prototype.next=function(t){var i=this,o=i.isStopped,n=i._buffer,a=i._infiniteTimeWindow,s=i._timestampProvider,l=i._windowTime;o||(n.push(t),!a&&n.push(s.now()+l)),this._trimBuffer(),r.prototype.next.call(this,t)},e.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(t),o=this,n=o._infiniteTimeWindow,a=o._buffer,s=a.slice(),l=0;l<s.length&&!t.closed;l+=n?1:2)t.next(s[l]);return this._checkFinalizedStatuses(t),i},e.prototype._trimBuffer=function(){var t=this,i=t._bufferSize,o=t._timestampProvider,n=t._buffer,a=t._infiniteTimeWindow,s=(a?1:2)*i;if(i<1/0&&s<n.length&&n.splice(0,n.length-s),!a){for(var l=o.now(),d=0,u=1;u<n.length&&n[u]<=l;u+=2)d=u;d&&n.splice(0,d+1)}},e}(wl);const Sa=[],Da={},jc=(r,e=0)=>{if(Sa.indexOf(r)==-1){const t=new Wc(e);Da[r]=t,Sa.push(r)}return Da[r]},Dt=[];function qc(r,e){return{subscribe:Vi(r,e).subscribe}}function Vi(r,e=Oe){let t;const i=new Set;function o(s){if(Tn(r,s)&&(r=s,t)){const l=!Dt.length;for(const d of i)d[1](),Dt.push(d,r);if(l){for(let d=0;d<Dt.length;d+=2)Dt[d][0](Dt[d+1]);Dt.length=0}}}function n(s){o(s(r))}function a(s,l=Oe){const d=[s,l];return i.add(d),i.size===1&&(t=e(o,n)||Oe),s(r),()=>{i.delete(d),i.size===0&&t&&(t(),t=null)}}return{set:o,update:n,subscribe:a}}function er(r,e,t){const i=!Array.isArray(r),o=i?[r]:r;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const n=e.length<2;return qc(t,(a,s)=>{let l=!1;const d=[];let u=0,c=Oe;const h=()=>{if(u)return;c();const m=e(i?d[0]:d,a,s);n?a(m):c=En(m)?m:Oe},p=o.map((m,f)=>nl(m,y=>{d[f]=y,u&=~(1<<f),l&&h()},()=>{u|=1<<f}));return l=!0,h(),function(){Zt(p),c(),l=!1}})}function Yc(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Gc=function(e){return Xc(e)&&!Kc(e)};function Xc(r){return!!r&&typeof r=="object"}function Kc(r){var e=Object.prototype.toString.call(r);return e==="[object RegExp]"||e==="[object Date]"||Zc(r)}var Qc=typeof Symbol=="function"&&Symbol.for,Jc=Qc?Symbol.for("react.element"):60103;function Zc(r){return r.$$typeof===Jc}function eh(r){return Array.isArray(r)?[]:{}}function Sr(r,e){return e.clone!==!1&&e.isMergeableObject(r)?Wt(eh(r),r,e):r}function th(r,e,t){return r.concat(e).map(function(i){return Sr(i,t)})}function rh(r,e){if(!e.customMerge)return Wt;var t=e.customMerge(r);return typeof t=="function"?t:Wt}function ih(r){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(r).filter(function(e){return Object.propertyIsEnumerable.call(r,e)}):[]}function Oa(r){return Object.keys(r).concat(ih(r))}function Cl(r,e){try{return e in r}catch(t){return!1}}function oh(r,e){return Cl(r,e)&&!(Object.hasOwnProperty.call(r,e)&&Object.propertyIsEnumerable.call(r,e))}function nh(r,e,t){var i={};return t.isMergeableObject(r)&&Oa(r).forEach(function(o){i[o]=Sr(r[o],t)}),Oa(e).forEach(function(o){oh(r,o)||(Cl(r,o)&&t.isMergeableObject(e[o])?i[o]=rh(o,t)(r[o],e[o],t):i[o]=Sr(e[o],t))}),i}function Wt(r,e,t){t=t||{},t.arrayMerge=t.arrayMerge||th,t.isMergeableObject=t.isMergeableObject||Gc,t.cloneUnlessOtherwiseSpecified=Sr;var i=Array.isArray(e),o=Array.isArray(r),n=i===o;return n?i?t.arrayMerge(r,e,t):nh(r,e,t):Sr(e,t)}Wt.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(i,o){return Wt(i,o,t)},{})};var ah=Wt,sh=ah;const lh=Yc(sh);var $o=function(r,e){return $o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])},$o(r,e)};function Ui(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");$o(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var $e=function(){return $e=Object.assign||function(e){for(var t,i=1,o=arguments.length;i<o;i++){t=arguments[i];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},$e.apply(this,arguments)};function dh(r,e){var t={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&e.indexOf(i)<0&&(t[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,i=Object.getOwnPropertySymbols(r);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(r,i[o])&&(t[i[o]]=r[i[o]]);return t}function co(r,e,t){if(t||arguments.length===2)for(var i=0,o=e.length,n;i<o;i++)(n||!(i in e))&&(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return r.concat(n||Array.prototype.slice.call(e))}function ho(r,e){var t=e&&e.cache?e.cache:_h,i=e&&e.serializer?e.serializer:mh,o=e&&e.strategy?e.strategy:hh;return o(r,{cache:t,serializer:i})}function uh(r){return r==null||typeof r=="number"||typeof r=="boolean"}function ch(r,e,t,i){var o=uh(i)?i:t(i),n=e.get(o);return typeof n=="undefined"&&(n=r.call(this,i),e.set(o,n)),n}function El(r,e,t){var i=Array.prototype.slice.call(arguments,3),o=t(i),n=e.get(o);return typeof n=="undefined"&&(n=r.apply(this,i),e.set(o,n)),n}function Tl(r,e,t,i,o){return t.bind(e,r,i,o)}function hh(r,e){var t=r.length===1?ch:El;return Tl(r,this,t,e.cache.create(),e.serializer)}function ph(r,e){return Tl(r,this,El,e.cache.create(),e.serializer)}var mh=function(){return JSON.stringify(arguments)},fh=function(){function r(){this.cache=Object.create(null)}return r.prototype.get=function(e){return this.cache[e]},r.prototype.set=function(e,t){this.cache[e]=t},r}(),_h={create:function(){return new fh}},po={variadic:ph},xi=function(){return xi=Object.assign||function(e){for(var t,i=1,o=arguments.length;i<o;i++){t=arguments[i];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},xi.apply(this,arguments)};var N;(function(r){r[r.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",r[r.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",r[r.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",r[r.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",r[r.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",r[r.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",r[r.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",r[r.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",r[r.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",r[r.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",r[r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",r[r.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",r[r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",r[r.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",r[r.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",r[r.INVALID_TAG=23]="INVALID_TAG",r[r.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",r[r.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",r[r.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(N||(N={}));var Z;(function(r){r[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound",r[r.tag=8]="tag"})(Z||(Z={}));var jt;(function(r){r[r.number=0]="number",r[r.dateTime=1]="dateTime"})(jt||(jt={}));function Na(r){return r.type===Z.literal}function vh(r){return r.type===Z.argument}function Pl(r){return r.type===Z.number}function Al(r){return r.type===Z.date}function kl(r){return r.type===Z.time}function Il(r){return r.type===Z.select}function Sl(r){return r.type===Z.plural}function gh(r){return r.type===Z.pound}function Dl(r){return r.type===Z.tag}function Ol(r){return!!(r&&typeof r=="object"&&r.type===jt.number)}function Vo(r){return!!(r&&typeof r=="object"&&r.type===jt.dateTime)}var Nl=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,bh=/(?:[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 yh(r){var e={};return r.replace(bh,function(t){var i=t.length;switch(t[0]){case"G":e.era=i===4?"long":i===5?"narrow":"short";break;case"y":e.year=i===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":e.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=i===4?"long":i===5?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][i-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][i-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][i-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][i-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][i-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":e.minute=["numeric","2-digit"][i-1];break;case"s":e.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=i<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""}),e}var ne=function(){return ne=Object.assign||function(e){for(var t,i=1,o=arguments.length;i<o;i++){t=arguments[i];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},ne.apply(this,arguments)};var wh=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function xh(r){if(r.length===0)throw new Error("Number skeleton cannot be empty");for(var e=r.split(wh).filter(function(h){return h.length>0}),t=[],i=0,o=e;i<o.length;i++){var n=o[i],a=n.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var s=a[0],l=a.slice(1),d=0,u=l;d<u.length;d++){var c=u[d];if(c.length===0)throw new Error("Invalid number skeleton")}t.push({stem:s,options:l})}return t}function Ch(r){return r.replace(/^(.*?)-/,"")}var Ma=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ml=/^(@+)?(\+|#+)?[rs]?$/g,Eh=/(\*)(0+)|(#+)(0+)|(0+)/g,Bl=/^(0+)$/;function Ba(r){var e={};return r[r.length-1]==="r"?e.roundingPriority="morePrecision":r[r.length-1]==="s"&&(e.roundingPriority="lessPrecision"),r.replace(Ml,function(t,i,o){return typeof o!="string"?(e.minimumSignificantDigits=i.length,e.maximumSignificantDigits=i.length):o==="+"?e.minimumSignificantDigits=i.length:i[0]==="#"?e.maximumSignificantDigits=i.length:(e.minimumSignificantDigits=i.length,e.maximumSignificantDigits=i.length+(typeof o=="string"?o.length:0)),""}),e}function Ll(r){switch(r){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 Th(r){var e;if(r[0]==="E"&&r[1]==="E"?(e={notation:"engineering"},r=r.slice(2)):r[0]==="E"&&(e={notation:"scientific"},r=r.slice(1)),e){var t=r.slice(0,2);if(t==="+!"?(e.signDisplay="always",r=r.slice(2)):t==="+?"&&(e.signDisplay="exceptZero",r=r.slice(2)),!Bl.test(r))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=r.length}return e}function La(r){var e={},t=Ll(r);return t||e}function Ph(r){for(var e={},t=0,i=r;t<i.length;t++){var o=i[t];switch(o.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=o.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=Ch(o.options[0]);continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=ne(ne(ne({},e),{notation:"scientific"}),o.options.reduce(function(l,d){return ne(ne({},l),La(d))},{}));continue;case"engineering":e=ne(ne(ne({},e),{notation:"engineering"}),o.options.reduce(function(l,d){return ne(ne({},l),La(d))},{}));continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(o.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Eh,function(l,d,u,c,h,p){if(d)e.minimumIntegerDigits=u.length;else{if(c&&h)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(Bl.test(o.stem)){e.minimumIntegerDigits=o.stem.length;continue}if(Ma.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Ma,function(l,d,u,c,h,p){return u==="*"?e.minimumFractionDigits=d.length:c&&c[0]==="#"?e.maximumFractionDigits=c.length:h&&p?(e.minimumFractionDigits=h.length,e.maximumFractionDigits=h.length+p.length):(e.minimumFractionDigits=d.length,e.maximumFractionDigits=d.length),""});var n=o.options[0];n==="w"?e=ne(ne({},e),{trailingZeroDisplay:"stripIfInteger"}):n&&(e=ne(ne({},e),Ba(n)));continue}if(Ml.test(o.stem)){e=ne(ne({},e),Ba(o.stem));continue}var a=Ll(o.stem);a&&(e=ne(ne({},e),a));var s=Th(o.stem);s&&(e=ne(ne({},e),s))}return e}var ni={"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 Ah(r,e){for(var t="",i=0;i<r.length;i++){var o=r.charAt(i);if(o==="j"){for(var n=0;i+1<r.length&&r.charAt(i+1)===o;)n++,i++;var a=1+(n&1),s=n<2?1:3+(n>>1),l="a",d=kh(e);for((d=="H"||d=="k")&&(s=0);s-- >0;)t+=l;for(;a-- >0;)t=d+t}else o==="J"?t+="H":t+=o}return t}function kh(r){var e=r.hourCycle;if(e===void 0&&r.hourCycles&&r.hourCycles.length&&(e=r.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var t=r.language,i;t!=="root"&&(i=r.maximize().region);var o=ni[i||""]||ni[t||""]||ni["".concat(t,"-001")]||ni["001"];return o[0]}var mo,Ih=new RegExp("^".concat(Nl.source,"*")),Sh=new RegExp("".concat(Nl.source,"*$"));function H(r,e){return{start:r,end:e}}var Dh=!!String.prototype.startsWith&&"_a".startsWith("a",1),Oh=!!String.fromCodePoint,Nh=!!Object.fromEntries,Mh=!!String.prototype.codePointAt,Bh=!!String.prototype.trimStart,Lh=!!String.prototype.trimEnd,zh=!!Number.isSafeInteger,Hh=zh?Number.isSafeInteger:function(r){return typeof r=="number"&&isFinite(r)&&Math.floor(r)===r&&Math.abs(r)<=9007199254740991},Uo=!0;try{var Rh=Hl("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Uo=((mo=Rh.exec("a"))===null||mo===void 0?void 0:mo[0])==="a"}catch(r){Uo=!1}var za=Dh?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},Wo=Oh?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i="",o=e.length,n=0,a;o>n;){if(a=e[n++],a>1114111)throw RangeError(a+" is not a valid code point");i+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return i},Ha=Nh?Object.fromEntries:function(e){for(var t={},i=0,o=e;i<o.length;i++){var n=o[i],a=n[0],s=n[1];t[a]=s}return t},zl=Mh?function(e,t){return e.codePointAt(t)}:function(e,t){var i=e.length;if(!(t<0||t>=i)){var o=e.charCodeAt(t),n;return o<55296||o>56319||t+1===i||(n=e.charCodeAt(t+1))<56320||n>57343?o:(o-55296<<10)+(n-56320)+65536}},Fh=Bh?function(e){return e.trimStart()}:function(e){return e.replace(Ih,"")},$h=Lh?function(e){return e.trimEnd()}:function(e){return e.replace(Sh,"")};function Hl(r,e){return new RegExp(r,e)}var jo;if(Uo){var Ra=Hl("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");jo=function(e,t){var i;Ra.lastIndex=t;var o=Ra.exec(e);return(i=o[1])!==null&&i!==void 0?i:""}}else jo=function(e,t){for(var i=[];;){var o=zl(e,t);if(o===void 0||Rl(o)||jh(o))break;i.push(o),t+=o>=65536?2:1}return Wo.apply(void 0,i)};var Vh=function(){function r(e,t){t===void 0&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return r.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},r.prototype.parseMessage=function(e,t,i){for(var o=[];!this.isEOF();){var n=this.char();if(n===123){var a=this.parseArgument(e,i);if(a.err)return a;o.push(a.val)}else{if(n===125&&e>0)break;if(n===35&&(t==="plural"||t==="selectordinal")){var s=this.clonePosition();this.bump(),o.push({type:Z.pound,location:H(s,this.clonePosition())})}else if(n===60&&!this.ignoreTag&&this.peek()===47){if(i)break;return this.error(N.UNMATCHED_CLOSING_TAG,H(this.clonePosition(),this.clonePosition()))}else if(n===60&&!this.ignoreTag&&qo(this.peek()||0)){var a=this.parseTag(e,t);if(a.err)return a;o.push(a.val)}else{var a=this.parseLiteral(e,t);if(a.err)return a;o.push(a.val)}}}return{val:o,err:null}},r.prototype.parseTag=function(e,t){var i=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Z.literal,value:"<".concat(o,"/>"),location:H(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var n=this.parseMessage(e+1,t,!0);if(n.err)return n;var a=n.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!qo(this.char()))return this.error(N.INVALID_TAG,H(s,this.clonePosition()));var l=this.clonePosition(),d=this.parseTagName();return o!==d?this.error(N.UNMATCHED_CLOSING_TAG,H(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Z.tag,value:o,children:a,location:H(i,this.clonePosition())},err:null}:this.error(N.INVALID_TAG,H(s,this.clonePosition())))}else return this.error(N.UNCLOSED_TAG,H(i,this.clonePosition()))}else return this.error(N.INVALID_TAG,H(i,this.clonePosition()))},r.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Wh(this.char());)this.bump();return this.message.slice(e,this.offset())},r.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),o="";;){var n=this.tryParseQuote(t);if(n){o+=n;continue}var a=this.tryParseUnquoted(e,t);if(a){o+=a;continue}var s=this.tryParseLeftAngleBracket();if(s){o+=s;continue}break}var l=H(i,this.clonePosition());return{val:{type:Z.literal,value:o,location:l},err:null}},r.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Uh(this.peek()||0))?(this.bump(),"<"):null},r.prototype.tryParseQuote=function(e){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(e==="plural"||e==="selectordinal")break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(i===39)if(this.peek()===39)t.push(39),this.bump();else{this.bump();break}else t.push(i);this.bump()}return Wo.apply(void 0,t)},r.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var i=this.char();return i===60||i===123||i===35&&(t==="plural"||t==="selectordinal")||i===125&&e>0?null:(this.bump(),Wo(i))},r.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE,H(i,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(N.EMPTY_ARGUMENT,H(i,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(N.MALFORMED_ARGUMENT,H(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE,H(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Z.argument,value:o,location:H(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE,H(i,this.clonePosition())):this.parseArgumentOptions(e,t,o,i);default:return this.error(N.MALFORMED_ARGUMENT,H(i,this.clonePosition()))}},r.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=jo(this.message,t),o=t+i.length;this.bumpTo(o);var n=this.clonePosition(),a=H(e,n);return{value:i,location:a}},r.prototype.parseArgumentOptions=function(e,t,i,o){var n,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(s){case"":return this.error(N.EXPECT_ARGUMENT_TYPE,H(a,l));case"number":case"date":case"time":{this.bumpSpace();var d=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var h=$h(c.val);if(h.length===0)return this.error(N.EXPECT_ARGUMENT_STYLE,H(this.clonePosition(),this.clonePosition()));var p=H(u,this.clonePosition());d={style:h,styleLocation:p}}var m=this.tryParseArgumentClose(o);if(m.err)return m;var f=H(o,this.clonePosition());if(d&&za(d==null?void 0:d.style,"::",0)){var y=Fh(d.style.slice(2));if(s==="number"){var c=this.parseNumberSkeletonFromString(y,d.styleLocation);return c.err?c:{val:{type:Z.number,value:i,location:f,style:c.val},err:null}}else{if(y.length===0)return this.error(N.EXPECT_DATE_TIME_SKELETON,f);var E=y;this.locale&&(E=Ah(y,this.locale));var h={type:jt.dateTime,pattern:E,location:d.styleLocation,parsedOptions:this.shouldParseSkeletons?yh(E):{}},x=s==="date"?Z.date:Z.time;return{val:{type:x,value:i,location:f,style:h},err:null}}}return{val:{type:s==="number"?Z.number:s==="date"?Z.date:Z.time,value:i,location:f,style:(n=d==null?void 0:d.style)!==null&&n!==void 0?n:null},err:null}}case"plural":case"selectordinal":case"select":{var A=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(N.EXPECT_SELECT_ARGUMENT_OPTIONS,H(A,xi({},A)));this.bumpSpace();var D=this.parseIdentifierIfPossible(),j=0;if(s!=="select"&&D.value==="offset"){if(!this.bumpIf(":"))return this.error(N.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,H(this.clonePosition(),this.clonePosition()));this.bumpSpace();var c=this.tryParseDecimalInteger(N.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,N.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err)return c;this.bumpSpace(),D=this.parseIdentifierIfPossible(),j=c.val}var $=this.tryParsePluralOrSelectOptions(e,s,t,D);if($.err)return $;var m=this.tryParseArgumentClose(o);if(m.err)return m;var J=H(o,this.clonePosition());return s==="select"?{val:{type:Z.select,value:i,options:Ha($.val),location:J},err:null}:{val:{type:Z.plural,value:i,options:Ha($.val),offset:j,pluralType:s==="plural"?"cardinal":"ordinal",location:J},err:null}}default:return this.error(N.INVALID_ARGUMENT_TYPE,H(a,l))}},r.prototype.tryParseArgumentClose=function(e){return this.isEOF()||this.char()!==125?this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE,H(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},r.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){var i=this.char();switch(i){case 39:{this.bump();var o=this.clonePosition();if(!this.bumpUntil("'"))return this.error(N.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,H(o,this.clonePosition()));this.bump();break}case 123:{e+=1,this.bump();break}case 125:{if(e>0)e-=1;else return{val:this.message.slice(t.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(t.offset,this.offset()),err:null}},r.prototype.parseNumberSkeletonFromString=function(e,t){var i=[];try{i=xh(e)}catch(o){return this.error(N.INVALID_NUMBER_SKELETON,t)}return{val:{type:jt.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?Ph(i):{}},err:null}},r.prototype.tryParsePluralOrSelectOptions=function(e,t,i,o){for(var n,a=!1,s=[],l=new Set,d=o.value,u=o.location;;){if(d.length===0){var c=this.clonePosition();if(t!=="select"&&this.bumpIf("=")){var h=this.tryParseDecimalInteger(N.EXPECT_PLURAL_ARGUMENT_SELECTOR,N.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;u=H(c,this.clonePosition()),d=this.message.slice(c.offset,this.offset())}else break}if(l.has(d))return this.error(t==="select"?N.DUPLICATE_SELECT_ARGUMENT_SELECTOR:N.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);d==="other"&&(a=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(t==="select"?N.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:N.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,H(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,i);if(m.err)return m;var f=this.tryParseArgumentClose(p);if(f.err)return f;s.push([d,{value:m.val,location:H(p,this.clonePosition())}]),l.add(d),this.bumpSpace(),n=this.parseIdentifierIfPossible(),d=n.value,u=n.location}return s.length===0?this.error(t==="select"?N.EXPECT_SELECT_ARGUMENT_SELECTOR:N.EXPECT_PLURAL_ARGUMENT_SELECTOR,H(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(N.MISSING_OTHER_CLAUSE,H(this.clonePosition(),this.clonePosition())):{val:s,err:null}},r.prototype.tryParseDecimalInteger=function(e,t){var i=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var n=!1,a=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)n=!0,a=a*10+(s-48),this.bump();else break}var l=H(o,this.clonePosition());return n?(a*=i,Hh(a)?{val:a,err:null}:this.error(t,l)):this.error(e,l)},r.prototype.offset=function(){return this.position.offset},r.prototype.isEOF=function(){return this.offset()===this.message.length},r.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},r.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=zl(this.message,e);if(t===void 0)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},r.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},r.prototype.bump=function(){if(!this.isEOF()){var e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},r.prototype.bumpIf=function(e){if(za(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},r.prototype.bumpUntil=function(e){var t=this.offset(),i=this.message.indexOf(e,t);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},r.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},r.prototype.bumpSpace=function(){for(;!this.isEOF()&&Rl(this.char());)this.bump()},r.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),i=this.message.charCodeAt(t+(e>=65536?2:1));return i!=null?i:null},r}();function qo(r){return r>=97&&r<=122||r>=65&&r<=90}function Uh(r){return qo(r)||r===47}function Wh(r){return r===45||r===46||r>=48&&r<=57||r===95||r>=97&&r<=122||r>=65&&r<=90||r==183||r>=192&&r<=214||r>=216&&r<=246||r>=248&&r<=893||r>=895&&r<=8191||r>=8204&&r<=8205||r>=8255&&r<=8256||r>=8304&&r<=8591||r>=11264&&r<=12271||r>=12289&&r<=55295||r>=63744&&r<=64975||r>=65008&&r<=65533||r>=65536&&r<=983039}function Rl(r){return r>=9&&r<=13||r===32||r===133||r>=8206&&r<=8207||r===8232||r===8233}function jh(r){return r>=33&&r<=35||r===36||r>=37&&r<=39||r===40||r===41||r===42||r===43||r===44||r===45||r>=46&&r<=47||r>=58&&r<=59||r>=60&&r<=62||r>=63&&r<=64||r===91||r===92||r===93||r===94||r===96||r===123||r===124||r===125||r===126||r===161||r>=162&&r<=165||r===166||r===167||r===169||r===171||r===172||r===174||r===176||r===177||r===182||r===187||r===191||r===215||r===247||r>=8208&&r<=8213||r>=8214&&r<=8215||r===8216||r===8217||r===8218||r>=8219&&r<=8220||r===8221||r===8222||r===8223||r>=8224&&r<=8231||r>=8240&&r<=8248||r===8249||r===8250||r>=8251&&r<=8254||r>=8257&&r<=8259||r===8260||r===8261||r===8262||r>=8263&&r<=8273||r===8274||r===8275||r>=8277&&r<=8286||r>=8592&&r<=8596||r>=8597&&r<=8601||r>=8602&&r<=8603||r>=8604&&r<=8607||r===8608||r>=8609&&r<=8610||r===8611||r>=8612&&r<=8613||r===8614||r>=8615&&r<=8621||r===8622||r>=8623&&r<=8653||r>=8654&&r<=8655||r>=8656&&r<=8657||r===8658||r===8659||r===8660||r>=8661&&r<=8691||r>=8692&&r<=8959||r>=8960&&r<=8967||r===8968||r===8969||r===8970||r===8971||r>=8972&&r<=8991||r>=8992&&r<=8993||r>=8994&&r<=9e3||r===9001||r===9002||r>=9003&&r<=9083||r===9084||r>=9085&&r<=9114||r>=9115&&r<=9139||r>=9140&&r<=9179||r>=9180&&r<=9185||r>=9186&&r<=9254||r>=9255&&r<=9279||r>=9280&&r<=9290||r>=9291&&r<=9311||r>=9472&&r<=9654||r===9655||r>=9656&&r<=9664||r===9665||r>=9666&&r<=9719||r>=9720&&r<=9727||r>=9728&&r<=9838||r===9839||r>=9840&&r<=10087||r===10088||r===10089||r===10090||r===10091||r===10092||r===10093||r===10094||r===10095||r===10096||r===10097||r===10098||r===10099||r===10100||r===10101||r>=10132&&r<=10175||r>=10176&&r<=10180||r===10181||r===10182||r>=10183&&r<=10213||r===10214||r===10215||r===10216||r===10217||r===10218||r===10219||r===10220||r===10221||r===10222||r===10223||r>=10224&&r<=10239||r>=10240&&r<=10495||r>=10496&&r<=10626||r===10627||r===10628||r===10629||r===10630||r===10631||r===10632||r===10633||r===10634||r===10635||r===10636||r===10637||r===10638||r===10639||r===10640||r===10641||r===10642||r===10643||r===10644||r===10645||r===10646||r===10647||r===10648||r>=10649&&r<=10711||r===10712||r===10713||r===10714||r===10715||r>=10716&&r<=10747||r===10748||r===10749||r>=10750&&r<=11007||r>=11008&&r<=11055||r>=11056&&r<=11076||r>=11077&&r<=11078||r>=11079&&r<=11084||r>=11085&&r<=11123||r>=11124&&r<=11125||r>=11126&&r<=11157||r===11158||r>=11159&&r<=11263||r>=11776&&r<=11777||r===11778||r===11779||r===11780||r===11781||r>=11782&&r<=11784||r===11785||r===11786||r===11787||r===11788||r===11789||r>=11790&&r<=11798||r===11799||r>=11800&&r<=11801||r===11802||r===11803||r===11804||r===11805||r>=11806&&r<=11807||r===11808||r===11809||r===11810||r===11811||r===11812||r===11813||r===11814||r===11815||r===11816||r===11817||r>=11818&&r<=11822||r===11823||r>=11824&&r<=11833||r>=11834&&r<=11835||r>=11836&&r<=11839||r===11840||r===11841||r===11842||r>=11843&&r<=11855||r>=11856&&r<=11857||r===11858||r>=11859&&r<=11903||r>=12289&&r<=12291||r===12296||r===12297||r===12298||r===12299||r===12300||r===12301||r===12302||r===12303||r===12304||r===12305||r>=12306&&r<=12307||r===12308||r===12309||r===12310||r===12311||r===12312||r===12313||r===12314||r===12315||r===12316||r===12317||r>=12318&&r<=12319||r===12320||r===12336||r===64830||r===64831||r>=65093&&r<=65094}function Yo(r){r.forEach(function(e){if(delete e.location,Il(e)||Sl(e))for(var t in e.options)delete e.options[t].location,Yo(e.options[t].value);else Pl(e)&&Ol(e.style)||(Al(e)||kl(e))&&Vo(e.style)?delete e.style.location:Dl(e)&&Yo(e.children)})}function qh(r,e){e===void 0&&(e={}),e=xi({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var t=new Vh(r,e).parse();if(t.err){var i=SyntaxError(N[t.err.kind]);throw i.location=t.err.location,i.originalMessage=t.err.message,i}return e!=null&&e.captureLocation||Yo(t.val),t.val}var qt;(function(r){r.MISSING_VALUE="MISSING_VALUE",r.INVALID_VALUE="INVALID_VALUE",r.MISSING_INTL_API="MISSING_INTL_API"})(qt||(qt={}));var Wi=function(r){Ui(e,r);function e(t,i,o){var n=r.call(this,t)||this;return n.code=i,n.originalMessage=o,n}return e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),Fa=function(r){Ui(e,r);function e(t,i,o,n){return r.call(this,'Invalid values for "'.concat(t,'": "').concat(i,'". Options are "').concat(Object.keys(o).join('", "'),'"'),qt.INVALID_VALUE,n)||this}return e}(Wi),Yh=function(r){Ui(e,r);function e(t,i,o){return r.call(this,'Value for "'.concat(t,'" must be of type ').concat(i),qt.INVALID_VALUE,o)||this}return e}(Wi),Gh=function(r){Ui(e,r);function e(t,i){return r.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(i,'"'),qt.MISSING_VALUE,i)||this}return e}(Wi),we;(function(r){r[r.literal=0]="literal",r[r.object=1]="object"})(we||(we={}));function Xh(r){return r.length<2?r:r.reduce(function(e,t){var i=e[e.length-1];return!i||i.type!==we.literal||t.type!==we.literal?e.push(t):i.value+=t.value,e},[])}function Kh(r){return typeof r=="function"}function _i(r,e,t,i,o,n,a){if(r.length===1&&Na(r[0]))return[{type:we.literal,value:r[0].value}];for(var s=[],l=0,d=r;l<d.length;l++){var u=d[l];if(Na(u)){s.push({type:we.literal,value:u.value});continue}if(gh(u)){typeof n=="number"&&s.push({type:we.literal,value:t.getNumberFormat(e).format(n)});continue}var c=u.value;if(!(o&&c in o))throw new Gh(c,a);var h=o[c];if(vh(u)){(!h||typeof h=="string"||typeof h=="number")&&(h=typeof h=="string"||typeof h=="number"?String(h):""),s.push({type:typeof h=="string"?we.literal:we.object,value:h});continue}if(Al(u)){var p=typeof u.style=="string"?i.date[u.style]:Vo(u.style)?u.style.parsedOptions:void 0;s.push({type:we.literal,value:t.getDateTimeFormat(e,p).format(h)});continue}if(kl(u)){var p=typeof u.style=="string"?i.time[u.style]:Vo(u.style)?u.style.parsedOptions:i.time.medium;s.push({type:we.literal,value:t.getDateTimeFormat(e,p).format(h)});continue}if(Pl(u)){var p=typeof u.style=="string"?i.number[u.style]:Ol(u.style)?u.style.parsedOptions:void 0;p&&p.scale&&(h=h*(p.scale||1)),s.push({type:we.literal,value:t.getNumberFormat(e,p).format(h)});continue}if(Dl(u)){var m=u.children,f=u.value,y=o[f];if(!Kh(y))throw new Yh(f,"function",a);var E=_i(m,e,t,i,o,n),x=y(E.map(function(j){return j.value}));Array.isArray(x)||(x=[x]),s.push.apply(s,x.map(function(j){return{type:typeof j=="string"?we.literal:we.object,value:j}}))}if(Il(u)){var A=u.options[h]||u.options.other;if(!A)throw new Fa(u.value,h,Object.keys(u.options),a);s.push.apply(s,_i(A.value,e,t,i,o));continue}if(Sl(u)){var A=u.options["=".concat(h)];if(!A){if(!Intl.PluralRules)throw new Wi(`Intl.PluralRules is not available in this environment.
|
|
17
17
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
18
18
|
`,qt.MISSING_INTL_API,a);var D=t.getPluralRules(e,{type:u.pluralType}).select(h-(u.offset||0));A=u.options[D]||u.options.other}if(!A)throw new Fa(u.value,h,Object.keys(u.options),a);s.push.apply(s,_i(A.value,e,t,i,o,h-(u.offset||0)));continue}}return Xh(s)}function Qh(r,e){return e?$e($e($e({},r||{}),e||{}),Object.keys(r).reduce(function(t,i){return t[i]=$e($e({},r[i]),e[i]||{}),t},{})):r}function Jh(r,e){return e?Object.keys(r).reduce(function(t,i){return t[i]=Qh(r[i],e[i]),t},$e({},r)):r}function fo(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}function Zh(r){return r===void 0&&(r={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ho(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,co([void 0],t,!1)))},{cache:fo(r.number),strategy:po.variadic}),getDateTimeFormat:ho(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,co([void 0],t,!1)))},{cache:fo(r.dateTime),strategy:po.variadic}),getPluralRules:ho(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,co([void 0],t,!1)))},{cache:fo(r.pluralRules),strategy:po.variadic})}}var ep=function(){function r(e,t,i,o){t===void 0&&(t=r.defaultLocale);var n=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var d=n.formatToParts(l);if(d.length===1)return d[0].value;var u=d.reduce(function(c,h){return!c.length||h.type!==we.literal||typeof c[c.length-1]!="string"?c.push(h.value):c[c.length-1]+=h.value,c},[]);return u.length<=1?u[0]||"":u},this.formatToParts=function(l){return _i(n.ast,n.locales,n.formatters,n.formats,l,void 0,n.message)},this.resolvedOptions=function(){var l;return{locale:((l=n.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(n.locales)[0]}},this.getAst=function(){return n.ast},this.locales=t,this.resolvedLocale=r.resolveLocale(t),typeof e=="string"){if(this.message=e,!r.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=o||{};a.formatters;var s=dh(a,["formatters"]);this.ast=r.__parse(e,$e($e({},s),{locale:this.resolvedLocale}))}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Jh(r.formats,i),this.formatters=o&&o.formatters||Zh(this.formatterCache)}return Object.defineProperty(r,"defaultLocale",{get:function(){return r.memoizedDefaultLocale||(r.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),r.memoizedDefaultLocale},enumerable:!1,configurable:!0}),r.memoizedDefaultLocale=null,r.resolveLocale=function(e){if(typeof Intl.Locale!="undefined"){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale(typeof e=="string"?e:e[0])}},r.__parse=qh,r.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"}}},r}();function tp(r,e){if(e==null)return;if(e in r)return r[e];const t=e.split(".");let i=r;for(let o=0;o<t.length;o++)if(typeof i=="object"){if(o>0){const n=t.slice(o,t.length).join(".");if(n in i){i=i[n];break}}i=i[t[o]]}else i=void 0;return i}const nt={},rp=(r,e,t)=>t&&(e in nt||(nt[e]={}),r in nt[e]||(nt[e][r]=t),t),Fl=(r,e)=>{if(e==null)return;if(e in nt&&r in nt[e])return nt[e][r];const t=ji(e);for(let i=0;i<t.length;i++){const o=t[i],n=op(o,r);if(n)return rp(r,e,n)}};let An;const jr=Vi({});function ip(r){return An[r]||null}function $l(r){return r in An}function op(r,e){if(!$l(r))return null;const t=ip(r);return tp(t,e)}function np(r){if(r==null)return;const e=ji(r);for(let t=0;t<e.length;t++){const i=e[t];if($l(i))return i}}function kn(r,...e){delete nt[r],jr.update(t=>(t[r]=lh.all([t[r]||{},...e]),t))}er([jr],([r])=>Object.keys(r));jr.subscribe(r=>An=r);const vi={};function ap(r,e){vi[r].delete(e),vi[r].size===0&&delete vi[r]}function Vl(r){return vi[r]}function sp(r){return ji(r).map(e=>{const t=Vl(e);return[e,t?[...t]:[]]}).filter(([,e])=>e.length>0)}function Go(r){return r==null?!1:ji(r).some(e=>{var t;return(t=Vl(e))==null?void 0:t.size})}function lp(r,e){return Promise.all(e.map(i=>(ap(r,i),i().then(o=>o.default||o)))).then(i=>kn(r,...i))}const fr={};function Ul(r){if(!Go(r))return r in fr?fr[r]:Promise.resolve();const e=sp(r);return fr[r]=Promise.all(e.map(([t,i])=>lp(t,i))).then(()=>{if(Go(r))return Ul(r);delete fr[r]}),fr[r]}const dp={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"}}},up={fallbackLocale:null,loadingDelay:200,formats:dp,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},cp=up;function Yt(){return cp}const _o=Vi(!1);var hp=Object.defineProperty,pp=Object.defineProperties,mp=Object.getOwnPropertyDescriptors,$a=Object.getOwnPropertySymbols,fp=Object.prototype.hasOwnProperty,_p=Object.prototype.propertyIsEnumerable,Va=(r,e,t)=>e in r?hp(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,vp=(r,e)=>{for(var t in e||(e={}))fp.call(e,t)&&Va(r,t,e[t]);if($a)for(var t of $a(e))_p.call(e,t)&&Va(r,t,e[t]);return r},gp=(r,e)=>pp(r,mp(e));let Xo;const Ci=Vi(null);function Ua(r){return r.split("-").map((e,t,i)=>i.slice(0,t+1).join("-")).reverse()}function ji(r,e=Yt().fallbackLocale){const t=Ua(r);return e?[...new Set([...t,...Ua(e)])]:t}function bt(){return Xo!=null?Xo:void 0}Ci.subscribe(r=>{Xo=r!=null?r:void 0,typeof window!="undefined"&&r!=null&&document.documentElement.setAttribute("lang",r)});const bp=r=>{if(r&&np(r)&&Go(r)){const{loadingDelay:e}=Yt();let t;return typeof window!="undefined"&&bt()!=null&&e?t=window.setTimeout(()=>_o.set(!0),e):_o.set(!0),Ul(r).then(()=>{Ci.set(r)}).finally(()=>{clearTimeout(t),_o.set(!1)})}return Ci.set(r)},yt=gp(vp({},Ci),{set:bp}),qi=r=>{const e=Object.create(null);return i=>{const o=JSON.stringify(i);return o in e?e[o]:e[o]=r(i)}};var yp=Object.defineProperty,Ei=Object.getOwnPropertySymbols,Wl=Object.prototype.hasOwnProperty,jl=Object.prototype.propertyIsEnumerable,Wa=(r,e,t)=>e in r?yp(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,In=(r,e)=>{for(var t in e||(e={}))Wl.call(e,t)&&Wa(r,t,e[t]);if(Ei)for(var t of Ei(e))jl.call(e,t)&&Wa(r,t,e[t]);return r},tr=(r,e)=>{var t={};for(var i in r)Wl.call(r,i)&&e.indexOf(i)<0&&(t[i]=r[i]);if(r!=null&&Ei)for(var i of Ei(r))e.indexOf(i)<0&&jl.call(r,i)&&(t[i]=r[i]);return t};const Dr=(r,e)=>{const{formats:t}=Yt();if(r in t&&e in t[r])return t[r][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${r} format.`)},wp=qi(r=>{var e=r,{locale:t,format:i}=e,o=tr(e,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(o=Dr("number",i)),new Intl.NumberFormat(t,o)}),xp=qi(r=>{var e=r,{locale:t,format:i}=e,o=tr(e,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?o=Dr("date",i):Object.keys(o).length===0&&(o=Dr("date","short")),new Intl.DateTimeFormat(t,o)}),Cp=qi(r=>{var e=r,{locale:t,format:i}=e,o=tr(e,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?o=Dr("time",i):Object.keys(o).length===0&&(o=Dr("time","short")),new Intl.DateTimeFormat(t,o)}),Ep=(r={})=>{var e=r,{locale:t=bt()}=e,i=tr(e,["locale"]);return wp(In({locale:t},i))},Tp=(r={})=>{var e=r,{locale:t=bt()}=e,i=tr(e,["locale"]);return xp(In({locale:t},i))},Pp=(r={})=>{var e=r,{locale:t=bt()}=e,i=tr(e,["locale"]);return Cp(In({locale:t},i))},Ap=qi((r,e=bt())=>new ep(r,e,Yt().formats,{ignoreTag:Yt().ignoreTag})),kp=(r,e={})=>{var t,i,o,n;let a=e;typeof r=="object"&&(a=r,r=a.id);const{values:s,locale:l=bt(),default:d}=a;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Fl(r,l);if(!u)u=(n=(o=(i=(t=Yt()).handleMissingMessage)==null?void 0:i.call(t,{locale:l,id:r,defaultValue:d}))!=null?o:d)!=null?n:r;else if(typeof u!="string")return console.warn(`[svelte-i18n] Message with id "${r}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u;if(!s)return u;let c=u;try{c=Ap(u,l).format(s)}catch(h){h instanceof Error&&console.warn(`[svelte-i18n] Message "${r}" has syntax error:`,h.message)}return c},Ip=(r,e)=>Pp(e).format(r),Sp=(r,e)=>Tp(e).format(r),Dp=(r,e)=>Ep(e).format(r),Op=(r,e=bt())=>Fl(r,e),ql=er([yt,jr],()=>kp);er([yt],()=>Ip);er([yt],()=>Sp);er([yt],()=>Dp);er([yt,jr],()=>Op);window.emWidgets={topic:jc};const Yl=r=>r.toLowerCase().match(/android/i)?"Android":r.toLowerCase().match(/iphone/i)?"iPhone":r.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";String(Number.MAX_SAFE_INTEGER).length;function Qe(r){"@babel/helpers - typeof";return Qe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qe(r)}function be(r){if(r===null||r===!0||r===!1)return NaN;var e=Number(r);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function ee(r,e){if(e.length<r)throw new TypeError(r+" argument"+(r>1?"s":"")+" required, but only "+e.length+" present")}function ce(r){ee(1,arguments);var e=Object.prototype.toString.call(r);return r instanceof Date||Qe(r)==="object"&&e==="[object Date]"?new Date(r.getTime()):typeof r=="number"||e==="[object Number]"?new Date(r):((typeof r=="string"||e==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Np(r,e){ee(2,arguments);var t=ce(r),i=be(e);if(isNaN(i))return new Date(NaN);if(!i)return t;var o=t.getDate(),n=new Date(t.getTime());n.setMonth(t.getMonth()+i+1,0);var a=n.getDate();return o>=a?n:(t.setFullYear(n.getFullYear(),n.getMonth(),o),t)}function Mp(r,e){ee(2,arguments);var t=ce(r).getTime(),i=be(e);return new Date(t+i)}var Bp={};function rr(){return Bp}function Gl(r){var e=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return e.setUTCFullYear(r.getFullYear()),r.getTime()-e.getTime()}function Lp(r){ee(1,arguments);var e=ce(r);return e.setHours(0,0,0,0),e}var zp=6e4,Hp=36e5,Rp=1e3;function Fp(r){return ee(1,arguments),r instanceof Date||Qe(r)==="object"&&Object.prototype.toString.call(r)==="[object Date]"}function $p(r){if(ee(1,arguments),!Fp(r)&&typeof r!="number")return!1;var e=ce(r);return!isNaN(Number(e))}function Vp(r){ee(1,arguments);var e=ce(r);return e.setHours(23,59,59,999),e}function Xl(r,e){ee(2,arguments);var t=be(e);return Mp(r,-t)}var Up=864e5;function Wp(r){ee(1,arguments);var e=ce(r),t=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var i=e.getTime(),o=t-i;return Math.floor(o/Up)+1}function Gt(r){ee(1,arguments);var e=1,t=ce(r),i=t.getUTCDay(),o=(i<e?7:0)+i-e;return t.setUTCDate(t.getUTCDate()-o),t.setUTCHours(0,0,0,0),t}function Kl(r){ee(1,arguments);var e=ce(r),t=e.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(t+1,0,4),i.setUTCHours(0,0,0,0);var o=Gt(i),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var a=Gt(n);return e.getTime()>=o.getTime()?t+1:e.getTime()>=a.getTime()?t:t-1}function jp(r){ee(1,arguments);var e=Kl(r),t=new Date(0);t.setUTCFullYear(e,0,4),t.setUTCHours(0,0,0,0);var i=Gt(t);return i}var qp=6048e5;function Ql(r){ee(1,arguments);var e=ce(r),t=Gt(e).getTime()-jp(e).getTime();return Math.round(t/qp)+1}function vt(r,e){var t,i,o,n,a,s,l,d;ee(1,arguments);var u=rr(),c=be((t=(i=(o=(n=e==null?void 0:e.weekStartsOn)!==null&&n!==void 0?n:e==null||(a=e.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&o!==void 0?o:u.weekStartsOn)!==null&&i!==void 0?i:(l=u.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&t!==void 0?t:0);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=ce(r),p=h.getUTCDay(),m=(p<c?7:0)+p-c;return h.setUTCDate(h.getUTCDate()-m),h.setUTCHours(0,0,0,0),h}function Sn(r,e){var t,i,o,n,a,s,l,d;ee(1,arguments);var u=ce(r),c=u.getUTCFullYear(),h=rr(),p=be((t=(i=(o=(n=e==null?void 0:e.firstWeekContainsDate)!==null&&n!==void 0?n:e==null||(a=e.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&o!==void 0?o:h.firstWeekContainsDate)!==null&&i!==void 0?i:(l=h.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&t!==void 0?t:1);if(!(p>=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var m=new Date(0);m.setUTCFullYear(c+1,0,p),m.setUTCHours(0,0,0,0);var f=vt(m,e),y=new Date(0);y.setUTCFullYear(c,0,p),y.setUTCHours(0,0,0,0);var E=vt(y,e);return u.getTime()>=f.getTime()?c+1:u.getTime()>=E.getTime()?c:c-1}function Yp(r,e){var t,i,o,n,a,s,l,d;ee(1,arguments);var u=rr(),c=be((t=(i=(o=(n=e==null?void 0:e.firstWeekContainsDate)!==null&&n!==void 0?n:e==null||(a=e.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&o!==void 0?o:u.firstWeekContainsDate)!==null&&i!==void 0?i:(l=u.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&t!==void 0?t:1),h=Sn(r,e),p=new Date(0);p.setUTCFullYear(h,0,c),p.setUTCHours(0,0,0,0);var m=vt(p,e);return m}var Gp=6048e5;function Jl(r,e){ee(1,arguments);var t=ce(r),i=vt(t,e).getTime()-Yp(t,e).getTime();return Math.round(i/Gp)+1}function Y(r,e){for(var t=r<0?"-":"",i=Math.abs(r).toString();i.length<e;)i="0"+i;return t+i}var rt={y:function(e,t){var i=e.getUTCFullYear(),o=i>0?i:1-i;return Y(t==="yy"?o%100:o,t.length)},M:function(e,t){var i=e.getUTCMonth();return t==="M"?String(i+1):Y(i+1,2)},d:function(e,t){return Y(e.getUTCDate(),t.length)},a:function(e,t){var i=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];case"aaaa":default:return i==="am"?"a.m.":"p.m."}},h:function(e,t){return Y(e.getUTCHours()%12||12,t.length)},H:function(e,t){return Y(e.getUTCHours(),t.length)},m:function(e,t){return Y(e.getUTCMinutes(),t.length)},s:function(e,t){return Y(e.getUTCSeconds(),t.length)},S:function(e,t){var i=t.length,o=e.getUTCMilliseconds(),n=Math.floor(o*Math.pow(10,i-3));return Y(n,t.length)}},Ot={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Xp={G:function(e,t,i){var o=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return i.era(o,{width:"abbreviated"});case"GGGGG":return i.era(o,{width:"narrow"});case"GGGG":default:return i.era(o,{width:"wide"})}},y:function(e,t,i){if(t==="yo"){var o=e.getUTCFullYear(),n=o>0?o:1-o;return i.ordinalNumber(n,{unit:"year"})}return rt.y(e,t)},Y:function(e,t,i,o){var n=Sn(e,o),a=n>0?n:1-n;if(t==="YY"){var s=a%100;return Y(s,2)}return t==="Yo"?i.ordinalNumber(a,{unit:"year"}):Y(a,t.length)},R:function(e,t){var i=Kl(e);return Y(i,t.length)},u:function(e,t){var i=e.getUTCFullYear();return Y(i,t.length)},Q:function(e,t,i){var o=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return Y(o,2);case"Qo":return i.ordinalNumber(o,{unit:"quarter"});case"QQQ":return i.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,i){var o=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return Y(o,2);case"qo":return i.ordinalNumber(o,{unit:"quarter"});case"qqq":return i.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,i){var o=e.getUTCMonth();switch(t){case"M":case"MM":return rt.M(e,t);case"Mo":return i.ordinalNumber(o+1,{unit:"month"});case"MMM":return i.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,i){var o=e.getUTCMonth();switch(t){case"L":return String(o+1);case"LL":return Y(o+1,2);case"Lo":return i.ordinalNumber(o+1,{unit:"month"});case"LLL":return i.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,i,o){var n=Jl(e,o);return t==="wo"?i.ordinalNumber(n,{unit:"week"}):Y(n,t.length)},I:function(e,t,i){var o=Ql(e);return t==="Io"?i.ordinalNumber(o,{unit:"week"}):Y(o,t.length)},d:function(e,t,i){return t==="do"?i.ordinalNumber(e.getUTCDate(),{unit:"date"}):rt.d(e,t)},D:function(e,t,i){var o=Wp(e);return t==="Do"?i.ordinalNumber(o,{unit:"dayOfYear"}):Y(o,t.length)},E:function(e,t,i){var o=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return i.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(o,{width:"short",context:"formatting"});case"EEEE":default:return i.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,i,o){var n=e.getUTCDay(),a=(n-o.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return Y(a,2);case"eo":return i.ordinalNumber(a,{unit:"day"});case"eee":return i.day(n,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(n,{width:"short",context:"formatting"});case"eeee":default:return i.day(n,{width:"wide",context:"formatting"})}},c:function(e,t,i,o){var n=e.getUTCDay(),a=(n-o.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return Y(a,t.length);case"co":return i.ordinalNumber(a,{unit:"day"});case"ccc":return i.day(n,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(n,{width:"narrow",context:"standalone"});case"cccccc":return i.day(n,{width:"short",context:"standalone"});case"cccc":default:return i.day(n,{width:"wide",context:"standalone"})}},i:function(e,t,i){var o=e.getUTCDay(),n=o===0?7:o;switch(t){case"i":return String(n);case"ii":return Y(n,t.length);case"io":return i.ordinalNumber(n,{unit:"day"});case"iii":return i.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(o,{width:"short",context:"formatting"});case"iiii":default:return i.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,i){var o=e.getUTCHours(),n=o/12>=1?"pm":"am";switch(t){case"a":case"aa":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,i){var o=e.getUTCHours(),n;switch(o===12?n=Ot.noon:o===0?n=Ot.midnight:n=o/12>=1?"pm":"am",t){case"b":case"bb":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,t,i){var o=e.getUTCHours(),n;switch(o>=17?n=Ot.evening:o>=12?n=Ot.afternoon:o>=4?n=Ot.morning:n=Ot.night,t){case"B":case"BB":case"BBB":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,t,i){if(t==="ho"){var o=e.getUTCHours()%12;return o===0&&(o=12),i.ordinalNumber(o,{unit:"hour"})}return rt.h(e,t)},H:function(e,t,i){return t==="Ho"?i.ordinalNumber(e.getUTCHours(),{unit:"hour"}):rt.H(e,t)},K:function(e,t,i){var o=e.getUTCHours()%12;return t==="Ko"?i.ordinalNumber(o,{unit:"hour"}):Y(o,t.length)},k:function(e,t,i){var o=e.getUTCHours();return o===0&&(o=24),t==="ko"?i.ordinalNumber(o,{unit:"hour"}):Y(o,t.length)},m:function(e,t,i){return t==="mo"?i.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):rt.m(e,t)},s:function(e,t,i){return t==="so"?i.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):rt.s(e,t)},S:function(e,t){return rt.S(e,t)},X:function(e,t,i,o){var n=o._originalDate||e,a=n.getTimezoneOffset();if(a===0)return"Z";switch(t){case"X":return qa(a);case"XXXX":case"XX":return ht(a);case"XXXXX":case"XXX":default:return ht(a,":")}},x:function(e,t,i,o){var n=o._originalDate||e,a=n.getTimezoneOffset();switch(t){case"x":return qa(a);case"xxxx":case"xx":return ht(a);case"xxxxx":case"xxx":default:return ht(a,":")}},O:function(e,t,i,o){var n=o._originalDate||e,a=n.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+ja(a,":");case"OOOO":default:return"GMT"+ht(a,":")}},z:function(e,t,i,o){var n=o._originalDate||e,a=n.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+ja(a,":");case"zzzz":default:return"GMT"+ht(a,":")}},t:function(e,t,i,o){var n=o._originalDate||e,a=Math.floor(n.getTime()/1e3);return Y(a,t.length)},T:function(e,t,i,o){var n=o._originalDate||e,a=n.getTime();return Y(a,t.length)}};function ja(r,e){var t=r>0?"-":"+",i=Math.abs(r),o=Math.floor(i/60),n=i%60;if(n===0)return t+String(o);var a=e;return t+String(o)+a+Y(n,2)}function qa(r,e){if(r%60===0){var t=r>0?"-":"+";return t+Y(Math.abs(r)/60,2)}return ht(r,e)}function ht(r,e){var t=e||"",i=r>0?"-":"+",o=Math.abs(r),n=Y(Math.floor(o/60),2),a=Y(o%60,2);return i+n+t+a}var Ya=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Zl=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Kp=function(e,t){var i=e.match(/(P+)(p+)?/)||[],o=i[1],n=i[2];if(!n)return Ya(e,t);var a;switch(o){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;case"PPPP":default:a=t.dateTime({width:"full"});break}return a.replace("{{date}}",Ya(o,t)).replace("{{time}}",Zl(n,t))},Ko={p:Zl,P:Kp},Qp=["D","DD"],Jp=["YY","YYYY"];function ed(r){return Qp.indexOf(r)!==-1}function td(r){return Jp.indexOf(r)!==-1}function Ti(r,e,t){if(r==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(r==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(r==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(r==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Zp={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},em=function(e,t,i){var o,n=Zp[e];return typeof n=="string"?o=n:t===1?o=n.one:o=n.other.replace("{{count}}",t.toString()),i!=null&&i.addSuffix?i.comparison&&i.comparison>0?"in "+o:o+" ago":o};function vo(r){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.width?String(e.width):r.defaultWidth,i=r.formats[t]||r.formats[r.defaultWidth];return i}}var tm={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},rm={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},im={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},om={date:vo({formats:tm,defaultWidth:"full"}),time:vo({formats:rm,defaultWidth:"full"}),dateTime:vo({formats:im,defaultWidth:"full"})},nm={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},am=function(e,t,i,o){return nm[e]};function _r(r){return function(e,t){var i=t!=null&&t.context?String(t.context):"standalone",o;if(i==="formatting"&&r.formattingValues){var n=r.defaultFormattingWidth||r.defaultWidth,a=t!=null&&t.width?String(t.width):n;o=r.formattingValues[a]||r.formattingValues[n]}else{var s=r.defaultWidth,l=t!=null&&t.width?String(t.width):r.defaultWidth;o=r.values[l]||r.values[s]}var d=r.argumentCallback?r.argumentCallback(e):e;return o[d]}}var sm={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},lm={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},dm={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},um={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},cm={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},hm={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},pm=function(e,t){var i=Number(e),o=i%100;if(o>20||o<10)switch(o%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},mm={ordinalNumber:pm,era:_r({values:sm,defaultWidth:"wide"}),quarter:_r({values:lm,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:_r({values:dm,defaultWidth:"wide"}),day:_r({values:um,defaultWidth:"wide"}),dayPeriod:_r({values:cm,defaultWidth:"wide",formattingValues:hm,defaultFormattingWidth:"wide"})};function vr(r){return function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=t.width,o=i&&r.matchPatterns[i]||r.matchPatterns[r.defaultMatchWidth],n=e.match(o);if(!n)return null;var a=n[0],s=i&&r.parsePatterns[i]||r.parsePatterns[r.defaultParseWidth],l=Array.isArray(s)?_m(s,function(c){return c.test(a)}):fm(s,function(c){return c.test(a)}),d;d=r.valueCallback?r.valueCallback(l):l,d=t.valueCallback?t.valueCallback(d):d;var u=e.slice(a.length);return{value:d,rest:u}}}function fm(r,e){for(var t in r)if(r.hasOwnProperty(t)&&e(r[t]))return t}function _m(r,e){for(var t=0;t<r.length;t++)if(e(r[t]))return t}function vm(r){return function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=e.match(r.matchPattern);if(!i)return null;var o=i[0],n=e.match(r.parsePattern);if(!n)return null;var a=r.valueCallback?r.valueCallback(n[0]):n[0];a=t.valueCallback?t.valueCallback(a):a;var s=e.slice(o.length);return{value:a,rest:s}}}var gm=/^(\d+)(th|st|nd|rd)?/i,bm=/\d+/i,ym={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},wm={any:[/^b/i,/^(a|c)/i]},xm={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Cm={any:[/1/i,/2/i,/3/i,/4/i]},Em={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Tm={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Pm={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Am={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},km={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Im={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Sm={ordinalNumber:vm({matchPattern:gm,parsePattern:bm,valueCallback:function(e){return parseInt(e,10)}}),era:vr({matchPatterns:ym,defaultMatchWidth:"wide",parsePatterns:wm,defaultParseWidth:"any"}),quarter:vr({matchPatterns:xm,defaultMatchWidth:"wide",parsePatterns:Cm,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:vr({matchPatterns:Em,defaultMatchWidth:"wide",parsePatterns:Tm,defaultParseWidth:"any"}),day:vr({matchPatterns:Pm,defaultMatchWidth:"wide",parsePatterns:Am,defaultParseWidth:"any"}),dayPeriod:vr({matchPatterns:km,defaultMatchWidth:"any",parsePatterns:Im,defaultParseWidth:"any"})},rd={code:"en-US",formatDistance:em,formatLong:om,formatRelative:am,localize:mm,match:Sm,options:{weekStartsOn:0,firstWeekContainsDate:1}},Dm=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Om=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Nm=/^'([^]*?)'?$/,Mm=/''/g,Bm=/[a-zA-Z]/;function je(r,e,t){var i,o,n,a,s,l,d,u,c,h,p,m,f,y;ee(2,arguments);var E=String(e),x=rr(),A=(i=(o=void 0)!==null&&o!==void 0?o:x.locale)!==null&&i!==void 0?i:rd,D=be((n=(a=(s=(l=void 0)!==null&&l!==void 0?l:void 0)!==null&&s!==void 0?s:x.firstWeekContainsDate)!==null&&a!==void 0?a:(d=x.locale)===null||d===void 0||(u=d.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(D>=1&&D<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var j=be((c=(h=(p=(m=void 0)!==null&&m!==void 0?m:void 0)!==null&&p!==void 0?p:x.weekStartsOn)!==null&&h!==void 0?h:(f=x.locale)===null||f===void 0||(y=f.options)===null||y===void 0?void 0:y.weekStartsOn)!==null&&c!==void 0?c:0);if(!(j>=0&&j<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!A.localize)throw new RangeError("locale must contain localize property");if(!A.formatLong)throw new RangeError("locale must contain formatLong property");var $=ce(r);if(!$p($))throw new RangeError("Invalid time value");var J=Gl($),W=Xl($,J),X={firstWeekContainsDate:D,weekStartsOn:j,locale:A,_originalDate:$},I=E.match(Om).map(function(P){var k=P[0];if(k==="p"||k==="P"){var he=Ko[k];return he(P,A.formatLong)}return P}).join("").match(Dm).map(function(P){if(P==="''")return"'";var k=P[0];if(k==="'")return Lm(P);var he=Xp[k];if(he)return td(P)&&Ti(P,e,String(r)),ed(P)&&Ti(P,e,String(r)),he(W,P,A.localize,X);if(k.match(Bm))throw new RangeError("Format string contains an unescaped latin alphabet character `"+k+"`");return P}).join("");return I}function Lm(r){var e=r.match(Nm);return e?e[1].replace(Mm,"'"):r}function zm(r,e){if(r==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r}function Ga(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,i=Array(e);t<e;t++)i[t]=r[t];return i}function Hm(r,e){if(r){if(typeof r=="string")return Ga(r,e);var t={}.toString.call(r).slice(8,-1);return t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set"?Array.from(r):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Ga(r,e):void 0}}function Xa(r,e){var t=typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=Hm(r))||e){t&&(r=t);var i=0,o=function(){};return{s:o,n:function(){return i>=r.length?{done:!0}:{done:!1,value:r[i++]}},e:function(d){throw d},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
19
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var n,a=!0,s=!1;return{s:function(){t=t.call(r)},n:function(){var d=t.next();return a=d.done,d},e:function(d){s=!0,n=d},f:function(){try{a||t.return==null||t.return()}finally{if(s)throw n}}}}function w(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Qo(r,e){return Qo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,i){return t.__proto__=i,t},Qo(r,e)}function R(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Qo(r,e)}function Pi(r){return Pi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Pi(r)}function id(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(id=function(){return!!r})()}function Rm(r,e){if(e&&(Qe(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return w(r)}function F(r){var e=id();return function(){var t,i=Pi(r);if(e){var o=Pi(this).constructor;t=Reflect.construct(i,arguments,o)}else t=i.apply(this,arguments);return Rm(this,t)}}function M(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Fm(r,e){if(Qe(r)!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var i=t.call(r,e);if(Qe(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function od(r){var e=Fm(r,"string");return Qe(e)=="symbol"?e:e+""}function $m(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,od(i.key),i)}}function B(r,e,t){return e&&$m(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function g(r,e,t){return(e=od(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var Vm=10,nd=function(){function r(){M(this,r),g(this,"priority",void 0),g(this,"subPriority",0)}return B(r,[{key:"validate",value:function(t,i){return!0}}]),r}(),Um=function(r){R(t,r);var e=F(t);function t(i,o,n,a,s){var l;return M(this,t),l=e.call(this),l.value=i,l.validateValue=o,l.setValue=n,l.priority=a,s&&(l.subPriority=s),l}return B(t,[{key:"validate",value:function(o,n){return this.validateValue(o,this.value,n)}},{key:"set",value:function(o,n,a){return this.setValue(o,n,this.value,a)}}]),t}(nd),Wm=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",Vm),g(w(i),"subPriority",-1),i}return B(t,[{key:"set",value:function(o,n){if(n.timestampIsSet)return o;var a=new Date(0);return a.setFullYear(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()),a.setHours(o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds()),a}}]),t}(nd),U=function(){function r(){M(this,r),g(this,"incompatibleTokens",void 0),g(this,"priority",void 0),g(this,"subPriority",void 0)}return B(r,[{key:"run",value:function(t,i,o,n){var a=this.parse(t,i,o,n);return a?{setter:new Um(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}},{key:"validate",value:function(t,i,o){return!0}}]),r}(),jm=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",140),g(w(i),"incompatibleTokens",["R","u","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"G":case"GG":case"GGG":return a.era(o,{width:"abbreviated"})||a.era(o,{width:"narrow"});case"GGGGG":return a.era(o,{width:"narrow"});case"GGGG":default:return a.era(o,{width:"wide"})||a.era(o,{width:"abbreviated"})||a.era(o,{width:"narrow"})}}},{key:"set",value:function(o,n,a){return n.era=a,o.setUTCFullYear(a,0,1),o.setUTCHours(0,0,0,0),o}}]),t}(U),se={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Ve={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function le(r,e){return r&&{value:e(r.value),rest:r.rest}}function ie(r,e){var t=e.match(r);return t?{value:parseInt(t[0],10),rest:e.slice(t[0].length)}:null}function Ue(r,e){var t=e.match(r);if(!t)return null;if(t[0]==="Z")return{value:0,rest:e.slice(1)};var i=t[1]==="+"?1:-1,o=t[2]?parseInt(t[2],10):0,n=t[3]?parseInt(t[3],10):0,a=t[5]?parseInt(t[5],10):0;return{value:i*(o*Hp+n*zp+a*Rp),rest:e.slice(t[0].length)}}function ad(r){return ie(se.anyDigitsSigned,r)}function ae(r,e){switch(r){case 1:return ie(se.singleDigit,e);case 2:return ie(se.twoDigits,e);case 3:return ie(se.threeDigits,e);case 4:return ie(se.fourDigits,e);default:return ie(new RegExp("^\\d{1,"+r+"}"),e)}}function Ai(r,e){switch(r){case 1:return ie(se.singleDigitSigned,e);case 2:return ie(se.twoDigitsSigned,e);case 3:return ie(se.threeDigitsSigned,e);case 4:return ie(se.fourDigitsSigned,e);default:return ie(new RegExp("^-?\\d{1,"+r+"}"),e)}}function Dn(r){switch(r){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function sd(r,e){var t=e>0,i=t?e:1-e,o;if(i<=50)o=r||100;else{var n=i+50,a=Math.floor(n/100)*100,s=r>=n%100;o=r+a-(s?100:0)}return t?o:1-o}function ld(r){return r%400===0||r%4===0&&r%100!==0}var qm=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",130),g(w(i),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){var s=function(d){return{year:d,isTwoDigitYear:n==="yy"}};switch(n){case"y":return le(ae(4,o),s);case"yo":return le(a.ordinalNumber(o,{unit:"year"}),s);default:return le(ae(n.length,o),s)}}},{key:"validate",value:function(o,n){return n.isTwoDigitYear||n.year>0}},{key:"set",value:function(o,n,a){var s=o.getUTCFullYear();if(a.isTwoDigitYear){var l=sd(a.year,s);return o.setUTCFullYear(l,0,1),o.setUTCHours(0,0,0,0),o}var d=!("era"in n)||n.era===1?a.year:1-a.year;return o.setUTCFullYear(d,0,1),o.setUTCHours(0,0,0,0),o}}]),t}(U),Ym=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",130),g(w(i),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){var s=function(d){return{year:d,isTwoDigitYear:n==="YY"}};switch(n){case"Y":return le(ae(4,o),s);case"Yo":return le(a.ordinalNumber(o,{unit:"year"}),s);default:return le(ae(n.length,o),s)}}},{key:"validate",value:function(o,n){return n.isTwoDigitYear||n.year>0}},{key:"set",value:function(o,n,a,s){var l=Sn(o,s);if(a.isTwoDigitYear){var d=sd(a.year,l);return o.setUTCFullYear(d,0,s.firstWeekContainsDate),o.setUTCHours(0,0,0,0),vt(o,s)}var u=!("era"in n)||n.era===1?a.year:1-a.year;return o.setUTCFullYear(u,0,s.firstWeekContainsDate),o.setUTCHours(0,0,0,0),vt(o,s)}}]),t}(U),Gm=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",130),g(w(i),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n){return Ai(n==="R"?4:n.length,o)}},{key:"set",value:function(o,n,a){var s=new Date(0);return s.setUTCFullYear(a,0,4),s.setUTCHours(0,0,0,0),Gt(s)}}]),t}(U),Xm=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",130),g(w(i),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n){return Ai(n==="u"?4:n.length,o)}},{key:"set",value:function(o,n,a){return o.setUTCFullYear(a,0,1),o.setUTCHours(0,0,0,0),o}}]),t}(U),Km=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",120),g(w(i),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"Q":case"QQ":return ae(n.length,o);case"Qo":return a.ordinalNumber(o,{unit:"quarter"});case"QQQ":return a.quarter(o,{width:"abbreviated",context:"formatting"})||a.quarter(o,{width:"narrow",context:"formatting"});case"QQQQQ":return a.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(o,{width:"wide",context:"formatting"})||a.quarter(o,{width:"abbreviated",context:"formatting"})||a.quarter(o,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(o,n){return n>=1&&n<=4}},{key:"set",value:function(o,n,a){return o.setUTCMonth((a-1)*3,1),o.setUTCHours(0,0,0,0),o}}]),t}(U),Qm=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",120),g(w(i),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"q":case"qq":return ae(n.length,o);case"qo":return a.ordinalNumber(o,{unit:"quarter"});case"qqq":return a.quarter(o,{width:"abbreviated",context:"standalone"})||a.quarter(o,{width:"narrow",context:"standalone"});case"qqqqq":return a.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(o,{width:"wide",context:"standalone"})||a.quarter(o,{width:"abbreviated",context:"standalone"})||a.quarter(o,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(o,n){return n>=1&&n<=4}},{key:"set",value:function(o,n,a){return o.setUTCMonth((a-1)*3,1),o.setUTCHours(0,0,0,0),o}}]),t}(U),Jm=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),g(w(i),"priority",110),i}return B(t,[{key:"parse",value:function(o,n,a){var s=function(d){return d-1};switch(n){case"M":return le(ie(se.month,o),s);case"MM":return le(ae(2,o),s);case"Mo":return le(a.ordinalNumber(o,{unit:"month"}),s);case"MMM":return a.month(o,{width:"abbreviated",context:"formatting"})||a.month(o,{width:"narrow",context:"formatting"});case"MMMMM":return a.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(o,{width:"wide",context:"formatting"})||a.month(o,{width:"abbreviated",context:"formatting"})||a.month(o,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(o,n){return n>=0&&n<=11}},{key:"set",value:function(o,n,a){return o.setUTCMonth(a,1),o.setUTCHours(0,0,0,0),o}}]),t}(U),Zm=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",110),g(w(i),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){var s=function(d){return d-1};switch(n){case"L":return le(ie(se.month,o),s);case"LL":return le(ae(2,o),s);case"Lo":return le(a.ordinalNumber(o,{unit:"month"}),s);case"LLL":return a.month(o,{width:"abbreviated",context:"standalone"})||a.month(o,{width:"narrow",context:"standalone"});case"LLLLL":return a.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(o,{width:"wide",context:"standalone"})||a.month(o,{width:"abbreviated",context:"standalone"})||a.month(o,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(o,n){return n>=0&&n<=11}},{key:"set",value:function(o,n,a){return o.setUTCMonth(a,1),o.setUTCHours(0,0,0,0),o}}]),t}(U);function ef(r,e,t){ee(2,arguments);var i=ce(r),o=be(e),n=Jl(i,t)-o;return i.setUTCDate(i.getUTCDate()-n*7),i}var tf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",100),g(w(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"w":return ie(se.week,o);case"wo":return a.ordinalNumber(o,{unit:"week"});default:return ae(n.length,o)}}},{key:"validate",value:function(o,n){return n>=1&&n<=53}},{key:"set",value:function(o,n,a,s){return vt(ef(o,a,s),s)}}]),t}(U);function rf(r,e){ee(2,arguments);var t=ce(r),i=be(e),o=Ql(t)-i;return t.setUTCDate(t.getUTCDate()-o*7),t}var of=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",100),g(w(i),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"I":return ie(se.week,o);case"Io":return a.ordinalNumber(o,{unit:"week"});default:return ae(n.length,o)}}},{key:"validate",value:function(o,n){return n>=1&&n<=53}},{key:"set",value:function(o,n,a){return Gt(rf(o,a))}}]),t}(U),nf=[31,28,31,30,31,30,31,31,30,31,30,31],af=[31,29,31,30,31,30,31,31,30,31,30,31],sf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",90),g(w(i),"subPriority",1),g(w(i),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"d":return ie(se.date,o);case"do":return a.ordinalNumber(o,{unit:"date"});default:return ae(n.length,o)}}},{key:"validate",value:function(o,n){var a=o.getUTCFullYear(),s=ld(a),l=o.getUTCMonth();return s?n>=1&&n<=af[l]:n>=1&&n<=nf[l]}},{key:"set",value:function(o,n,a){return o.setUTCDate(a),o.setUTCHours(0,0,0,0),o}}]),t}(U),lf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",90),g(w(i),"subpriority",1),g(w(i),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"D":case"DD":return ie(se.dayOfYear,o);case"Do":return a.ordinalNumber(o,{unit:"date"});default:return ae(n.length,o)}}},{key:"validate",value:function(o,n){var a=o.getUTCFullYear(),s=ld(a);return s?n>=1&&n<=366:n>=1&&n<=365}},{key:"set",value:function(o,n,a){return o.setUTCMonth(0,a),o.setUTCHours(0,0,0,0),o}}]),t}(U);function On(r,e,t){var i,o,n,a,s,l,d,u;ee(2,arguments);var c=rr(),h=be((i=(o=(n=(a=t==null?void 0:t.weekStartsOn)!==null&&a!==void 0?a:t==null||(s=t.locale)===null||s===void 0||(l=s.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:c.weekStartsOn)!==null&&o!==void 0?o:(d=c.locale)===null||d===void 0||(u=d.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&i!==void 0?i:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=ce(r),m=be(e),f=p.getUTCDay(),y=m%7,E=(y+7)%7,x=(E<h?7:0)+m-f;return p.setUTCDate(p.getUTCDate()+x),p}var df=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",90),g(w(i),"incompatibleTokens",["D","i","e","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"E":case"EE":case"EEE":return a.day(o,{width:"abbreviated",context:"formatting"})||a.day(o,{width:"short",context:"formatting"})||a.day(o,{width:"narrow",context:"formatting"});case"EEEEE":return a.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(o,{width:"short",context:"formatting"})||a.day(o,{width:"narrow",context:"formatting"});case"EEEE":default:return a.day(o,{width:"wide",context:"formatting"})||a.day(o,{width:"abbreviated",context:"formatting"})||a.day(o,{width:"short",context:"formatting"})||a.day(o,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(o,n){return n>=0&&n<=6}},{key:"set",value:function(o,n,a,s){return o=On(o,a,s),o.setUTCHours(0,0,0,0),o}}]),t}(U),uf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",90),g(w(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a,s){var l=function(u){var c=Math.floor((u-1)/7)*7;return(u+s.weekStartsOn+6)%7+c};switch(n){case"e":case"ee":return le(ae(n.length,o),l);case"eo":return le(a.ordinalNumber(o,{unit:"day"}),l);case"eee":return a.day(o,{width:"abbreviated",context:"formatting"})||a.day(o,{width:"short",context:"formatting"})||a.day(o,{width:"narrow",context:"formatting"});case"eeeee":return a.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(o,{width:"short",context:"formatting"})||a.day(o,{width:"narrow",context:"formatting"});case"eeee":default:return a.day(o,{width:"wide",context:"formatting"})||a.day(o,{width:"abbreviated",context:"formatting"})||a.day(o,{width:"short",context:"formatting"})||a.day(o,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(o,n){return n>=0&&n<=6}},{key:"set",value:function(o,n,a,s){return o=On(o,a,s),o.setUTCHours(0,0,0,0),o}}]),t}(U),cf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",90),g(w(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a,s){var l=function(u){var c=Math.floor((u-1)/7)*7;return(u+s.weekStartsOn+6)%7+c};switch(n){case"c":case"cc":return le(ae(n.length,o),l);case"co":return le(a.ordinalNumber(o,{unit:"day"}),l);case"ccc":return a.day(o,{width:"abbreviated",context:"standalone"})||a.day(o,{width:"short",context:"standalone"})||a.day(o,{width:"narrow",context:"standalone"});case"ccccc":return a.day(o,{width:"narrow",context:"standalone"});case"cccccc":return a.day(o,{width:"short",context:"standalone"})||a.day(o,{width:"narrow",context:"standalone"});case"cccc":default:return a.day(o,{width:"wide",context:"standalone"})||a.day(o,{width:"abbreviated",context:"standalone"})||a.day(o,{width:"short",context:"standalone"})||a.day(o,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(o,n){return n>=0&&n<=6}},{key:"set",value:function(o,n,a,s){return o=On(o,a,s),o.setUTCHours(0,0,0,0),o}}]),t}(U);function hf(r,e){ee(2,arguments);var t=be(e);t%7===0&&(t=t-7);var i=1,o=ce(r),n=o.getUTCDay(),a=t%7,s=(a+7)%7,l=(s<i?7:0)+t-n;return o.setUTCDate(o.getUTCDate()+l),o}var pf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",90),g(w(i),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){var s=function(d){return d===0?7:d};switch(n){case"i":case"ii":return ae(n.length,o);case"io":return a.ordinalNumber(o,{unit:"day"});case"iii":return le(a.day(o,{width:"abbreviated",context:"formatting"})||a.day(o,{width:"short",context:"formatting"})||a.day(o,{width:"narrow",context:"formatting"}),s);case"iiiii":return le(a.day(o,{width:"narrow",context:"formatting"}),s);case"iiiiii":return le(a.day(o,{width:"short",context:"formatting"})||a.day(o,{width:"narrow",context:"formatting"}),s);case"iiii":default:return le(a.day(o,{width:"wide",context:"formatting"})||a.day(o,{width:"abbreviated",context:"formatting"})||a.day(o,{width:"short",context:"formatting"})||a.day(o,{width:"narrow",context:"formatting"}),s)}}},{key:"validate",value:function(o,n){return n>=1&&n<=7}},{key:"set",value:function(o,n,a){return o=hf(o,a),o.setUTCHours(0,0,0,0),o}}]),t}(U),mf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",80),g(w(i),"incompatibleTokens",["b","B","H","k","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"a":case"aa":case"aaa":return a.dayPeriod(o,{width:"abbreviated",context:"formatting"})||a.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaaa":return a.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(o,{width:"wide",context:"formatting"})||a.dayPeriod(o,{width:"abbreviated",context:"formatting"})||a.dayPeriod(o,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(o,n,a){return o.setUTCHours(Dn(a),0,0,0),o}}]),t}(U),ff=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",80),g(w(i),"incompatibleTokens",["a","B","H","k","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"b":case"bb":case"bbb":return a.dayPeriod(o,{width:"abbreviated",context:"formatting"})||a.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbbb":return a.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(o,{width:"wide",context:"formatting"})||a.dayPeriod(o,{width:"abbreviated",context:"formatting"})||a.dayPeriod(o,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(o,n,a){return o.setUTCHours(Dn(a),0,0,0),o}}]),t}(U),_f=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",80),g(w(i),"incompatibleTokens",["a","b","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"B":case"BB":case"BBB":return a.dayPeriod(o,{width:"abbreviated",context:"formatting"})||a.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBBB":return a.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(o,{width:"wide",context:"formatting"})||a.dayPeriod(o,{width:"abbreviated",context:"formatting"})||a.dayPeriod(o,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(o,n,a){return o.setUTCHours(Dn(a),0,0,0),o}}]),t}(U),vf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",70),g(w(i),"incompatibleTokens",["H","K","k","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"h":return ie(se.hour12h,o);case"ho":return a.ordinalNumber(o,{unit:"hour"});default:return ae(n.length,o)}}},{key:"validate",value:function(o,n){return n>=1&&n<=12}},{key:"set",value:function(o,n,a){var s=o.getUTCHours()>=12;return s&&a<12?o.setUTCHours(a+12,0,0,0):!s&&a===12?o.setUTCHours(0,0,0,0):o.setUTCHours(a,0,0,0),o}}]),t}(U),gf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",70),g(w(i),"incompatibleTokens",["a","b","h","K","k","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"H":return ie(se.hour23h,o);case"Ho":return a.ordinalNumber(o,{unit:"hour"});default:return ae(n.length,o)}}},{key:"validate",value:function(o,n){return n>=0&&n<=23}},{key:"set",value:function(o,n,a){return o.setUTCHours(a,0,0,0),o}}]),t}(U),bf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",70),g(w(i),"incompatibleTokens",["h","H","k","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"K":return ie(se.hour11h,o);case"Ko":return a.ordinalNumber(o,{unit:"hour"});default:return ae(n.length,o)}}},{key:"validate",value:function(o,n){return n>=0&&n<=11}},{key:"set",value:function(o,n,a){var s=o.getUTCHours()>=12;return s&&a<12?o.setUTCHours(a+12,0,0,0):o.setUTCHours(a,0,0,0),o}}]),t}(U),yf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",70),g(w(i),"incompatibleTokens",["a","b","h","H","K","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"k":return ie(se.hour24h,o);case"ko":return a.ordinalNumber(o,{unit:"hour"});default:return ae(n.length,o)}}},{key:"validate",value:function(o,n){return n>=1&&n<=24}},{key:"set",value:function(o,n,a){var s=a<=24?a%24:a;return o.setUTCHours(s,0,0,0),o}}]),t}(U),wf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",60),g(w(i),"incompatibleTokens",["t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"m":return ie(se.minute,o);case"mo":return a.ordinalNumber(o,{unit:"minute"});default:return ae(n.length,o)}}},{key:"validate",value:function(o,n){return n>=0&&n<=59}},{key:"set",value:function(o,n,a){return o.setUTCMinutes(a,0,0),o}}]),t}(U),xf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",50),g(w(i),"incompatibleTokens",["t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"s":return ie(se.second,o);case"so":return a.ordinalNumber(o,{unit:"second"});default:return ae(n.length,o)}}},{key:"validate",value:function(o,n){return n>=0&&n<=59}},{key:"set",value:function(o,n,a){return o.setUTCSeconds(a,0),o}}]),t}(U),Cf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",30),g(w(i),"incompatibleTokens",["t","T"]),i}return B(t,[{key:"parse",value:function(o,n){var a=function(l){return Math.floor(l*Math.pow(10,-n.length+3))};return le(ae(n.length,o),a)}},{key:"set",value:function(o,n,a){return o.setUTCMilliseconds(a),o}}]),t}(U),Ef=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",10),g(w(i),"incompatibleTokens",["t","T","x"]),i}return B(t,[{key:"parse",value:function(o,n){switch(n){case"X":return Ue(Ve.basicOptionalMinutes,o);case"XX":return Ue(Ve.basic,o);case"XXXX":return Ue(Ve.basicOptionalSeconds,o);case"XXXXX":return Ue(Ve.extendedOptionalSeconds,o);case"XXX":default:return Ue(Ve.extended,o)}}},{key:"set",value:function(o,n,a){return n.timestampIsSet?o:new Date(o.getTime()-a)}}]),t}(U),Tf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",10),g(w(i),"incompatibleTokens",["t","T","X"]),i}return B(t,[{key:"parse",value:function(o,n){switch(n){case"x":return Ue(Ve.basicOptionalMinutes,o);case"xx":return Ue(Ve.basic,o);case"xxxx":return Ue(Ve.basicOptionalSeconds,o);case"xxxxx":return Ue(Ve.extendedOptionalSeconds,o);case"xxx":default:return Ue(Ve.extended,o)}}},{key:"set",value:function(o,n,a){return n.timestampIsSet?o:new Date(o.getTime()-a)}}]),t}(U),Pf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",40),g(w(i),"incompatibleTokens","*"),i}return B(t,[{key:"parse",value:function(o){return ad(o)}},{key:"set",value:function(o,n,a){return[new Date(a*1e3),{timestampIsSet:!0}]}}]),t}(U),Af=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",20),g(w(i),"incompatibleTokens","*"),i}return B(t,[{key:"parse",value:function(o){return ad(o)}},{key:"set",value:function(o,n,a){return[new Date(a),{timestampIsSet:!0}]}}]),t}(U),kf={G:new jm,y:new qm,Y:new Ym,R:new Gm,u:new Xm,Q:new Km,q:new Qm,M:new Jm,L:new Zm,w:new tf,I:new of,d:new sf,D:new lf,E:new df,e:new uf,c:new cf,i:new pf,a:new mf,b:new ff,B:new _f,h:new vf,H:new gf,K:new bf,k:new yf,m:new wf,s:new xf,S:new Cf,X:new Ef,x:new Tf,t:new Pf,T:new Af},If=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Sf=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Df=/^'([^]*?)'?$/,Of=/''/g,Nf=/\S/,Mf=/[a-zA-Z]/;function Ka(r,e,t,i){var o,n,a,s,l,d,u,c,h,p,m,f,y,E;ee(3,arguments);var x=String(r),A=String(e),D=rr(),j=(o=(n=void 0)!==null&&n!==void 0?n:D.locale)!==null&&o!==void 0?o:rd;if(!j.match)throw new RangeError("locale must contain match property");var $=be((a=(s=(l=(d=void 0)!==null&&d!==void 0?d:void 0)!==null&&l!==void 0?l:D.firstWeekContainsDate)!==null&&s!==void 0?s:(u=D.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!($>=1&&$<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var J=be((h=(p=(m=(f=void 0)!==null&&f!==void 0?f:void 0)!==null&&m!==void 0?m:D.weekStartsOn)!==null&&p!==void 0?p:(y=D.locale)===null||y===void 0||(E=y.options)===null||E===void 0?void 0:E.weekStartsOn)!==null&&h!==void 0?h:0);if(!(J>=0&&J<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(A==="")return x===""?ce(t):new Date(NaN);var W={firstWeekContainsDate:$,weekStartsOn:J,locale:j},X=[new Wm],I=A.match(Sf).map(function(te){var q=te[0];if(q in Ko){var ye=Ko[q];return ye(te,j.formatLong)}return te}).join("").match(If),P=[],k=Xa(I),he;try{var Ze=function(){var q=he.value;!(i!=null&&i.useAdditionalWeekYearTokens)&&td(q)&&Ti(q,A,r),!(i!=null&&i.useAdditionalDayOfYearTokens)&&ed(q)&&Ti(q,A,r);var ye=q[0],Tt=kf[ye];if(Tt){var ei=Tt.incompatibleTokens;if(Array.isArray(ei)){var lr=P.find(function(ti){return ei.includes(ti.token)||ti.token===ye});if(lr)throw new RangeError("The format string mustn't contain `".concat(lr.fullToken,"` and `").concat(q,"` at the same time"))}else if(Tt.incompatibleTokens==="*"&&P.length>0)throw new RangeError("The format string mustn't contain `".concat(q,"` and any other token at the same time"));P.push({token:ye,fullToken:q});var Pt=Tt.run(x,q,j.match,W);if(!Pt)return{v:new Date(NaN)};X.push(Pt.setter),x=Pt.rest}else{if(ye.match(Mf))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ye+"`");if(q==="''"?q="'":ye==="'"&&(q=Bf(q)),x.indexOf(q)===0)x=x.slice(q.length);else return{v:new Date(NaN)}}};for(k.s();!(he=k.n()).done;){var Te=Ze();if(Qe(Te)==="object")return Te.v}}catch(te){k.e(te)}finally{k.f()}if(x.length>0&&Nf.test(x))return new Date(NaN);var et=X.map(function(te){return te.priority}).sort(function(te,q){return q-te}).filter(function(te,q,ye){return ye.indexOf(te)===q}).map(function(te){return X.filter(function(q){return q.priority===te}).sort(function(q,ye){return ye.subPriority-q.subPriority})}).map(function(te){return te[0]}),Be=ce(t);if(isNaN(Be.getTime()))return new Date(NaN);var ue=Xl(Be,Gl(Be)),K={},oe=Xa(et),ar;try{for(oe.s();!(ar=oe.n()).done;){var sr=ar.value;if(!sr.validate(ue,W))return new Date(NaN);var ke=sr.set(ue,K,W);Array.isArray(ke)?(ue=ke[0],zm(K,ke[1])):ue=ke}}catch(te){oe.e(te)}finally{oe.f()}return ue}function Bf(r){return r.match(Df)[1].replace(Of,"'")}function Lf(r,e){ee(2,arguments);var t=be(e);return Np(r,-t)}function Qa(r,e){kn(r,e)}function zf(r){yt.set(r)}const Ja={en:{titleBonusesHistory:"Bonus History",dateFrom:"From:",dateTo:"To:",dateFilter:"Filter",noBonusHistory:"You have no bonuses for the selected period."},"zh-hk":{titleBonusesHistory:"獎金歷史",dateFrom:"從:",dateTo:"至:",dateFilter:"篩選",noBonusHistory:"您目前沒有獎金歷史。"},fr:{titleBonusesHistory:"Historique du bonus",dateFrom:"De:",dateTo:"A:",dateFilter:"Filtre",noBonusHistory:"Vous n'avez pas d'historique de bonus pour le moment."},ro:{titleBonusesHistory:"Istoric bonusuri",dateFrom:"De la",dateTo:"La",dateFilter:"Filtru",noBonusHistory:"Nu ai bonusuri pentru perioada selectata."},es:{titleBonusesHistory:"Historial de Bonos",dateFrom:"Desde:",dateTo:"A:",dateFilter:"Filtro",noBonusHistory:"No tiene Bonos para el periodo seleccionado."},pt:{titleBonusesHistory:"Histórico de bônus",dateFrom:"A partir de:",dateTo:"Para:",dateFilter:"Filtro:",noBonusHistory:"Você não tem histórico de bônus no momento."},hr:{titleBonusesHistory:"Povijest bonusa",dateFrom:"Od:",dateTo:"Do:",dateFilter:"Filter",noBonusHistory:"Nemate bonusa u povijesti."},"pt-br":{titleBonusesHistory:"Histórico de bônus",dateFrom:"De:",dateTo:"PARA:",dateFilter:"Filtro",noBonusHistory:"Não há bônus para o período selecionado"},"es-mx":{titleBonusesHistory:"Historial de bonos",dateFrom:"De:",dateTo:"A:",dateFilter:"Filtro",noBonusHistory:"No tiene bonus para el periodo seleccionado"},tr:{titleBonusesHistory:"Bonus Geçmişi",dateFrom:"İtibaren:",dateTo:"İle:",dateFilter:"Filtre",noBonusHistory:"Seçilen dönem için bonusunuz yok."},"en-us":{titleBonusesHistory:"Bonus History",dateFrom:"From:",dateTo:"To:",dateFilter:"Filter",noBonusHistory:"You have no bonuses for the selected period."}},Hf={GRANTED:"/v1/bonus/granted"},Za={TYPES:"standard,freeBet,freeRound,cashBack,stakeBack,oddsBoost,wagering",STATUS_ACTIVE:"active",STATUS_COMPLETED:"completed,released,forfeited,expired,closed"};function Rf(t){return mr(this,arguments,function*(r,e={}){const i=typeof r=="string"?r:r.toString(),o=yield fetch(i,e);let n=null;try{n=yield o.json()}catch(l){n=null}if(o.ok&&n)return n;const a=n&&typeof n=="object"?n:{},s={success:!1,errorMessage:typeof a.errorMessage=="string"&&a.errorMessage||o.statusText||String(o.status),errorCode:typeof a.errorCode=="number"?a.errorCode:void 0};return ut(ut({},a),s)})}function Ff(r,e,t){return mr(this,null,function*(){const i=new URL(`${r}${Hf.GRANTED}`);Object.entries(t).forEach(([n,a])=>{a!=null&&i.searchParams.append(n,String(a))});const o={};return e&&(o["x-SessionId"]=e),Rf(i,{headers:o})})}if(typeof window!="undefined"){let r=function(e){return function(...t){try{return e.apply(this,t)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./PlayerBonusCard-C_Y0JHfR.cjs")).then(({default:e})=>{!customElements.get("player-bonus-card")&&customElements.define("player-bonus-card",e.element)})}var $f=Object.defineProperty,Vf=Object.defineProperties,Uf=Object.getOwnPropertyDescriptors,es=Object.getOwnPropertySymbols,Wf=Object.prototype.hasOwnProperty,jf=Object.prototype.propertyIsEnumerable,Jo=(r,e,t)=>e in r?$f(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,ki=(r,e)=>{for(var t in e||(e={}))Wf.call(e,t)&&Jo(r,t,e[t]);if(es)for(var t of es(e))jf.call(e,t)&&Jo(r,t,e[t]);return r},dd=(r,e)=>Vf(r,Uf(e)),ve=(r,e,t)=>(Jo(r,typeof e!="symbol"?e+"":e,t),t),Ii=(r,e,t)=>new Promise((i,o)=>{var n=l=>{try{s(t.next(l))}catch(d){o(d)}},a=l=>{try{s(t.throw(l))}catch(d){o(d)}},s=l=>l.done?i(l.value):Promise.resolve(l.value).then(n,a);s((t=t.apply(r,e)).next())});/**
|
|
19
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var n,a=!0,s=!1;return{s:function(){t=t.call(r)},n:function(){var d=t.next();return a=d.done,d},e:function(d){s=!0,n=d},f:function(){try{a||t.return==null||t.return()}finally{if(s)throw n}}}}function w(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Qo(r,e){return Qo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,i){return t.__proto__=i,t},Qo(r,e)}function R(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Qo(r,e)}function Pi(r){return Pi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Pi(r)}function id(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(id=function(){return!!r})()}function Rm(r,e){if(e&&(Qe(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return w(r)}function F(r){var e=id();return function(){var t,i=Pi(r);if(e){var o=Pi(this).constructor;t=Reflect.construct(i,arguments,o)}else t=i.apply(this,arguments);return Rm(this,t)}}function M(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Fm(r,e){if(Qe(r)!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var i=t.call(r,e);if(Qe(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function od(r){var e=Fm(r,"string");return Qe(e)=="symbol"?e:e+""}function $m(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,od(i.key),i)}}function B(r,e,t){return e&&$m(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function g(r,e,t){return(e=od(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var Vm=10,nd=function(){function r(){M(this,r),g(this,"priority",void 0),g(this,"subPriority",0)}return B(r,[{key:"validate",value:function(t,i){return!0}}]),r}(),Um=function(r){R(t,r);var e=F(t);function t(i,o,n,a,s){var l;return M(this,t),l=e.call(this),l.value=i,l.validateValue=o,l.setValue=n,l.priority=a,s&&(l.subPriority=s),l}return B(t,[{key:"validate",value:function(o,n){return this.validateValue(o,this.value,n)}},{key:"set",value:function(o,n,a){return this.setValue(o,n,this.value,a)}}]),t}(nd),Wm=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",Vm),g(w(i),"subPriority",-1),i}return B(t,[{key:"set",value:function(o,n){if(n.timestampIsSet)return o;var a=new Date(0);return a.setFullYear(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()),a.setHours(o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds()),a}}]),t}(nd),U=function(){function r(){M(this,r),g(this,"incompatibleTokens",void 0),g(this,"priority",void 0),g(this,"subPriority",void 0)}return B(r,[{key:"run",value:function(t,i,o,n){var a=this.parse(t,i,o,n);return a?{setter:new Um(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}},{key:"validate",value:function(t,i,o){return!0}}]),r}(),jm=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",140),g(w(i),"incompatibleTokens",["R","u","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"G":case"GG":case"GGG":return a.era(o,{width:"abbreviated"})||a.era(o,{width:"narrow"});case"GGGGG":return a.era(o,{width:"narrow"});case"GGGG":default:return a.era(o,{width:"wide"})||a.era(o,{width:"abbreviated"})||a.era(o,{width:"narrow"})}}},{key:"set",value:function(o,n,a){return n.era=a,o.setUTCFullYear(a,0,1),o.setUTCHours(0,0,0,0),o}}]),t}(U),se={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Ve={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function le(r,e){return r&&{value:e(r.value),rest:r.rest}}function ie(r,e){var t=e.match(r);return t?{value:parseInt(t[0],10),rest:e.slice(t[0].length)}:null}function Ue(r,e){var t=e.match(r);if(!t)return null;if(t[0]==="Z")return{value:0,rest:e.slice(1)};var i=t[1]==="+"?1:-1,o=t[2]?parseInt(t[2],10):0,n=t[3]?parseInt(t[3],10):0,a=t[5]?parseInt(t[5],10):0;return{value:i*(o*Hp+n*zp+a*Rp),rest:e.slice(t[0].length)}}function ad(r){return ie(se.anyDigitsSigned,r)}function ae(r,e){switch(r){case 1:return ie(se.singleDigit,e);case 2:return ie(se.twoDigits,e);case 3:return ie(se.threeDigits,e);case 4:return ie(se.fourDigits,e);default:return ie(new RegExp("^\\d{1,"+r+"}"),e)}}function Ai(r,e){switch(r){case 1:return ie(se.singleDigitSigned,e);case 2:return ie(se.twoDigitsSigned,e);case 3:return ie(se.threeDigitsSigned,e);case 4:return ie(se.fourDigitsSigned,e);default:return ie(new RegExp("^-?\\d{1,"+r+"}"),e)}}function Dn(r){switch(r){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function sd(r,e){var t=e>0,i=t?e:1-e,o;if(i<=50)o=r||100;else{var n=i+50,a=Math.floor(n/100)*100,s=r>=n%100;o=r+a-(s?100:0)}return t?o:1-o}function ld(r){return r%400===0||r%4===0&&r%100!==0}var qm=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",130),g(w(i),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){var s=function(d){return{year:d,isTwoDigitYear:n==="yy"}};switch(n){case"y":return le(ae(4,o),s);case"yo":return le(a.ordinalNumber(o,{unit:"year"}),s);default:return le(ae(n.length,o),s)}}},{key:"validate",value:function(o,n){return n.isTwoDigitYear||n.year>0}},{key:"set",value:function(o,n,a){var s=o.getUTCFullYear();if(a.isTwoDigitYear){var l=sd(a.year,s);return o.setUTCFullYear(l,0,1),o.setUTCHours(0,0,0,0),o}var d=!("era"in n)||n.era===1?a.year:1-a.year;return o.setUTCFullYear(d,0,1),o.setUTCHours(0,0,0,0),o}}]),t}(U),Ym=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",130),g(w(i),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){var s=function(d){return{year:d,isTwoDigitYear:n==="YY"}};switch(n){case"Y":return le(ae(4,o),s);case"Yo":return le(a.ordinalNumber(o,{unit:"year"}),s);default:return le(ae(n.length,o),s)}}},{key:"validate",value:function(o,n){return n.isTwoDigitYear||n.year>0}},{key:"set",value:function(o,n,a,s){var l=Sn(o,s);if(a.isTwoDigitYear){var d=sd(a.year,l);return o.setUTCFullYear(d,0,s.firstWeekContainsDate),o.setUTCHours(0,0,0,0),vt(o,s)}var u=!("era"in n)||n.era===1?a.year:1-a.year;return o.setUTCFullYear(u,0,s.firstWeekContainsDate),o.setUTCHours(0,0,0,0),vt(o,s)}}]),t}(U),Gm=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",130),g(w(i),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n){return Ai(n==="R"?4:n.length,o)}},{key:"set",value:function(o,n,a){var s=new Date(0);return s.setUTCFullYear(a,0,4),s.setUTCHours(0,0,0,0),Gt(s)}}]),t}(U),Xm=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",130),g(w(i),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n){return Ai(n==="u"?4:n.length,o)}},{key:"set",value:function(o,n,a){return o.setUTCFullYear(a,0,1),o.setUTCHours(0,0,0,0),o}}]),t}(U),Km=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",120),g(w(i),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"Q":case"QQ":return ae(n.length,o);case"Qo":return a.ordinalNumber(o,{unit:"quarter"});case"QQQ":return a.quarter(o,{width:"abbreviated",context:"formatting"})||a.quarter(o,{width:"narrow",context:"formatting"});case"QQQQQ":return a.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(o,{width:"wide",context:"formatting"})||a.quarter(o,{width:"abbreviated",context:"formatting"})||a.quarter(o,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(o,n){return n>=1&&n<=4}},{key:"set",value:function(o,n,a){return o.setUTCMonth((a-1)*3,1),o.setUTCHours(0,0,0,0),o}}]),t}(U),Qm=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",120),g(w(i),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"q":case"qq":return ae(n.length,o);case"qo":return a.ordinalNumber(o,{unit:"quarter"});case"qqq":return a.quarter(o,{width:"abbreviated",context:"standalone"})||a.quarter(o,{width:"narrow",context:"standalone"});case"qqqqq":return a.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(o,{width:"wide",context:"standalone"})||a.quarter(o,{width:"abbreviated",context:"standalone"})||a.quarter(o,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(o,n){return n>=1&&n<=4}},{key:"set",value:function(o,n,a){return o.setUTCMonth((a-1)*3,1),o.setUTCHours(0,0,0,0),o}}]),t}(U),Jm=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),g(w(i),"priority",110),i}return B(t,[{key:"parse",value:function(o,n,a){var s=function(d){return d-1};switch(n){case"M":return le(ie(se.month,o),s);case"MM":return le(ae(2,o),s);case"Mo":return le(a.ordinalNumber(o,{unit:"month"}),s);case"MMM":return a.month(o,{width:"abbreviated",context:"formatting"})||a.month(o,{width:"narrow",context:"formatting"});case"MMMMM":return a.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(o,{width:"wide",context:"formatting"})||a.month(o,{width:"abbreviated",context:"formatting"})||a.month(o,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(o,n){return n>=0&&n<=11}},{key:"set",value:function(o,n,a){return o.setUTCMonth(a,1),o.setUTCHours(0,0,0,0),o}}]),t}(U),Zm=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",110),g(w(i),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){var s=function(d){return d-1};switch(n){case"L":return le(ie(se.month,o),s);case"LL":return le(ae(2,o),s);case"Lo":return le(a.ordinalNumber(o,{unit:"month"}),s);case"LLL":return a.month(o,{width:"abbreviated",context:"standalone"})||a.month(o,{width:"narrow",context:"standalone"});case"LLLLL":return a.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(o,{width:"wide",context:"standalone"})||a.month(o,{width:"abbreviated",context:"standalone"})||a.month(o,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(o,n){return n>=0&&n<=11}},{key:"set",value:function(o,n,a){return o.setUTCMonth(a,1),o.setUTCHours(0,0,0,0),o}}]),t}(U);function ef(r,e,t){ee(2,arguments);var i=ce(r),o=be(e),n=Jl(i,t)-o;return i.setUTCDate(i.getUTCDate()-n*7),i}var tf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",100),g(w(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"w":return ie(se.week,o);case"wo":return a.ordinalNumber(o,{unit:"week"});default:return ae(n.length,o)}}},{key:"validate",value:function(o,n){return n>=1&&n<=53}},{key:"set",value:function(o,n,a,s){return vt(ef(o,a,s),s)}}]),t}(U);function rf(r,e){ee(2,arguments);var t=ce(r),i=be(e),o=Ql(t)-i;return t.setUTCDate(t.getUTCDate()-o*7),t}var of=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",100),g(w(i),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"I":return ie(se.week,o);case"Io":return a.ordinalNumber(o,{unit:"week"});default:return ae(n.length,o)}}},{key:"validate",value:function(o,n){return n>=1&&n<=53}},{key:"set",value:function(o,n,a){return Gt(rf(o,a))}}]),t}(U),nf=[31,28,31,30,31,30,31,31,30,31,30,31],af=[31,29,31,30,31,30,31,31,30,31,30,31],sf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",90),g(w(i),"subPriority",1),g(w(i),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"d":return ie(se.date,o);case"do":return a.ordinalNumber(o,{unit:"date"});default:return ae(n.length,o)}}},{key:"validate",value:function(o,n){var a=o.getUTCFullYear(),s=ld(a),l=o.getUTCMonth();return s?n>=1&&n<=af[l]:n>=1&&n<=nf[l]}},{key:"set",value:function(o,n,a){return o.setUTCDate(a),o.setUTCHours(0,0,0,0),o}}]),t}(U),lf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",90),g(w(i),"subpriority",1),g(w(i),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"D":case"DD":return ie(se.dayOfYear,o);case"Do":return a.ordinalNumber(o,{unit:"date"});default:return ae(n.length,o)}}},{key:"validate",value:function(o,n){var a=o.getUTCFullYear(),s=ld(a);return s?n>=1&&n<=366:n>=1&&n<=365}},{key:"set",value:function(o,n,a){return o.setUTCMonth(0,a),o.setUTCHours(0,0,0,0),o}}]),t}(U);function On(r,e,t){var i,o,n,a,s,l,d,u;ee(2,arguments);var c=rr(),h=be((i=(o=(n=(a=t==null?void 0:t.weekStartsOn)!==null&&a!==void 0?a:t==null||(s=t.locale)===null||s===void 0||(l=s.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:c.weekStartsOn)!==null&&o!==void 0?o:(d=c.locale)===null||d===void 0||(u=d.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&i!==void 0?i:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=ce(r),m=be(e),f=p.getUTCDay(),y=m%7,E=(y+7)%7,x=(E<h?7:0)+m-f;return p.setUTCDate(p.getUTCDate()+x),p}var df=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",90),g(w(i),"incompatibleTokens",["D","i","e","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"E":case"EE":case"EEE":return a.day(o,{width:"abbreviated",context:"formatting"})||a.day(o,{width:"short",context:"formatting"})||a.day(o,{width:"narrow",context:"formatting"});case"EEEEE":return a.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(o,{width:"short",context:"formatting"})||a.day(o,{width:"narrow",context:"formatting"});case"EEEE":default:return a.day(o,{width:"wide",context:"formatting"})||a.day(o,{width:"abbreviated",context:"formatting"})||a.day(o,{width:"short",context:"formatting"})||a.day(o,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(o,n){return n>=0&&n<=6}},{key:"set",value:function(o,n,a,s){return o=On(o,a,s),o.setUTCHours(0,0,0,0),o}}]),t}(U),uf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",90),g(w(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a,s){var l=function(u){var c=Math.floor((u-1)/7)*7;return(u+s.weekStartsOn+6)%7+c};switch(n){case"e":case"ee":return le(ae(n.length,o),l);case"eo":return le(a.ordinalNumber(o,{unit:"day"}),l);case"eee":return a.day(o,{width:"abbreviated",context:"formatting"})||a.day(o,{width:"short",context:"formatting"})||a.day(o,{width:"narrow",context:"formatting"});case"eeeee":return a.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(o,{width:"short",context:"formatting"})||a.day(o,{width:"narrow",context:"formatting"});case"eeee":default:return a.day(o,{width:"wide",context:"formatting"})||a.day(o,{width:"abbreviated",context:"formatting"})||a.day(o,{width:"short",context:"formatting"})||a.day(o,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(o,n){return n>=0&&n<=6}},{key:"set",value:function(o,n,a,s){return o=On(o,a,s),o.setUTCHours(0,0,0,0),o}}]),t}(U),cf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",90),g(w(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a,s){var l=function(u){var c=Math.floor((u-1)/7)*7;return(u+s.weekStartsOn+6)%7+c};switch(n){case"c":case"cc":return le(ae(n.length,o),l);case"co":return le(a.ordinalNumber(o,{unit:"day"}),l);case"ccc":return a.day(o,{width:"abbreviated",context:"standalone"})||a.day(o,{width:"short",context:"standalone"})||a.day(o,{width:"narrow",context:"standalone"});case"ccccc":return a.day(o,{width:"narrow",context:"standalone"});case"cccccc":return a.day(o,{width:"short",context:"standalone"})||a.day(o,{width:"narrow",context:"standalone"});case"cccc":default:return a.day(o,{width:"wide",context:"standalone"})||a.day(o,{width:"abbreviated",context:"standalone"})||a.day(o,{width:"short",context:"standalone"})||a.day(o,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(o,n){return n>=0&&n<=6}},{key:"set",value:function(o,n,a,s){return o=On(o,a,s),o.setUTCHours(0,0,0,0),o}}]),t}(U);function hf(r,e){ee(2,arguments);var t=be(e);t%7===0&&(t=t-7);var i=1,o=ce(r),n=o.getUTCDay(),a=t%7,s=(a+7)%7,l=(s<i?7:0)+t-n;return o.setUTCDate(o.getUTCDate()+l),o}var pf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",90),g(w(i),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){var s=function(d){return d===0?7:d};switch(n){case"i":case"ii":return ae(n.length,o);case"io":return a.ordinalNumber(o,{unit:"day"});case"iii":return le(a.day(o,{width:"abbreviated",context:"formatting"})||a.day(o,{width:"short",context:"formatting"})||a.day(o,{width:"narrow",context:"formatting"}),s);case"iiiii":return le(a.day(o,{width:"narrow",context:"formatting"}),s);case"iiiiii":return le(a.day(o,{width:"short",context:"formatting"})||a.day(o,{width:"narrow",context:"formatting"}),s);case"iiii":default:return le(a.day(o,{width:"wide",context:"formatting"})||a.day(o,{width:"abbreviated",context:"formatting"})||a.day(o,{width:"short",context:"formatting"})||a.day(o,{width:"narrow",context:"formatting"}),s)}}},{key:"validate",value:function(o,n){return n>=1&&n<=7}},{key:"set",value:function(o,n,a){return o=hf(o,a),o.setUTCHours(0,0,0,0),o}}]),t}(U),mf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",80),g(w(i),"incompatibleTokens",["b","B","H","k","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"a":case"aa":case"aaa":return a.dayPeriod(o,{width:"abbreviated",context:"formatting"})||a.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaaa":return a.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(o,{width:"wide",context:"formatting"})||a.dayPeriod(o,{width:"abbreviated",context:"formatting"})||a.dayPeriod(o,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(o,n,a){return o.setUTCHours(Dn(a),0,0,0),o}}]),t}(U),ff=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",80),g(w(i),"incompatibleTokens",["a","B","H","k","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"b":case"bb":case"bbb":return a.dayPeriod(o,{width:"abbreviated",context:"formatting"})||a.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbbb":return a.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(o,{width:"wide",context:"formatting"})||a.dayPeriod(o,{width:"abbreviated",context:"formatting"})||a.dayPeriod(o,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(o,n,a){return o.setUTCHours(Dn(a),0,0,0),o}}]),t}(U),_f=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",80),g(w(i),"incompatibleTokens",["a","b","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"B":case"BB":case"BBB":return a.dayPeriod(o,{width:"abbreviated",context:"formatting"})||a.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBBB":return a.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(o,{width:"wide",context:"formatting"})||a.dayPeriod(o,{width:"abbreviated",context:"formatting"})||a.dayPeriod(o,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(o,n,a){return o.setUTCHours(Dn(a),0,0,0),o}}]),t}(U),vf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",70),g(w(i),"incompatibleTokens",["H","K","k","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"h":return ie(se.hour12h,o);case"ho":return a.ordinalNumber(o,{unit:"hour"});default:return ae(n.length,o)}}},{key:"validate",value:function(o,n){return n>=1&&n<=12}},{key:"set",value:function(o,n,a){var s=o.getUTCHours()>=12;return s&&a<12?o.setUTCHours(a+12,0,0,0):!s&&a===12?o.setUTCHours(0,0,0,0):o.setUTCHours(a,0,0,0),o}}]),t}(U),gf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",70),g(w(i),"incompatibleTokens",["a","b","h","K","k","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"H":return ie(se.hour23h,o);case"Ho":return a.ordinalNumber(o,{unit:"hour"});default:return ae(n.length,o)}}},{key:"validate",value:function(o,n){return n>=0&&n<=23}},{key:"set",value:function(o,n,a){return o.setUTCHours(a,0,0,0),o}}]),t}(U),bf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",70),g(w(i),"incompatibleTokens",["h","H","k","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"K":return ie(se.hour11h,o);case"Ko":return a.ordinalNumber(o,{unit:"hour"});default:return ae(n.length,o)}}},{key:"validate",value:function(o,n){return n>=0&&n<=11}},{key:"set",value:function(o,n,a){var s=o.getUTCHours()>=12;return s&&a<12?o.setUTCHours(a+12,0,0,0):o.setUTCHours(a,0,0,0),o}}]),t}(U),yf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",70),g(w(i),"incompatibleTokens",["a","b","h","H","K","t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"k":return ie(se.hour24h,o);case"ko":return a.ordinalNumber(o,{unit:"hour"});default:return ae(n.length,o)}}},{key:"validate",value:function(o,n){return n>=1&&n<=24}},{key:"set",value:function(o,n,a){var s=a<=24?a%24:a;return o.setUTCHours(s,0,0,0),o}}]),t}(U),wf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",60),g(w(i),"incompatibleTokens",["t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"m":return ie(se.minute,o);case"mo":return a.ordinalNumber(o,{unit:"minute"});default:return ae(n.length,o)}}},{key:"validate",value:function(o,n){return n>=0&&n<=59}},{key:"set",value:function(o,n,a){return o.setUTCMinutes(a,0,0),o}}]),t}(U),xf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",50),g(w(i),"incompatibleTokens",["t","T"]),i}return B(t,[{key:"parse",value:function(o,n,a){switch(n){case"s":return ie(se.second,o);case"so":return a.ordinalNumber(o,{unit:"second"});default:return ae(n.length,o)}}},{key:"validate",value:function(o,n){return n>=0&&n<=59}},{key:"set",value:function(o,n,a){return o.setUTCSeconds(a,0),o}}]),t}(U),Cf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",30),g(w(i),"incompatibleTokens",["t","T"]),i}return B(t,[{key:"parse",value:function(o,n){var a=function(l){return Math.floor(l*Math.pow(10,-n.length+3))};return le(ae(n.length,o),a)}},{key:"set",value:function(o,n,a){return o.setUTCMilliseconds(a),o}}]),t}(U),Ef=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",10),g(w(i),"incompatibleTokens",["t","T","x"]),i}return B(t,[{key:"parse",value:function(o,n){switch(n){case"X":return Ue(Ve.basicOptionalMinutes,o);case"XX":return Ue(Ve.basic,o);case"XXXX":return Ue(Ve.basicOptionalSeconds,o);case"XXXXX":return Ue(Ve.extendedOptionalSeconds,o);case"XXX":default:return Ue(Ve.extended,o)}}},{key:"set",value:function(o,n,a){return n.timestampIsSet?o:new Date(o.getTime()-a)}}]),t}(U),Tf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",10),g(w(i),"incompatibleTokens",["t","T","X"]),i}return B(t,[{key:"parse",value:function(o,n){switch(n){case"x":return Ue(Ve.basicOptionalMinutes,o);case"xx":return Ue(Ve.basic,o);case"xxxx":return Ue(Ve.basicOptionalSeconds,o);case"xxxxx":return Ue(Ve.extendedOptionalSeconds,o);case"xxx":default:return Ue(Ve.extended,o)}}},{key:"set",value:function(o,n,a){return n.timestampIsSet?o:new Date(o.getTime()-a)}}]),t}(U),Pf=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",40),g(w(i),"incompatibleTokens","*"),i}return B(t,[{key:"parse",value:function(o){return ad(o)}},{key:"set",value:function(o,n,a){return[new Date(a*1e3),{timestampIsSet:!0}]}}]),t}(U),Af=function(r){R(t,r);var e=F(t);function t(){var i;M(this,t);for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return i=e.call.apply(e,[this].concat(n)),g(w(i),"priority",20),g(w(i),"incompatibleTokens","*"),i}return B(t,[{key:"parse",value:function(o){return ad(o)}},{key:"set",value:function(o,n,a){return[new Date(a),{timestampIsSet:!0}]}}]),t}(U),kf={G:new jm,y:new qm,Y:new Ym,R:new Gm,u:new Xm,Q:new Km,q:new Qm,M:new Jm,L:new Zm,w:new tf,I:new of,d:new sf,D:new lf,E:new df,e:new uf,c:new cf,i:new pf,a:new mf,b:new ff,B:new _f,h:new vf,H:new gf,K:new bf,k:new yf,m:new wf,s:new xf,S:new Cf,X:new Ef,x:new Tf,t:new Pf,T:new Af},If=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Sf=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Df=/^'([^]*?)'?$/,Of=/''/g,Nf=/\S/,Mf=/[a-zA-Z]/;function Ka(r,e,t,i){var o,n,a,s,l,d,u,c,h,p,m,f,y,E;ee(3,arguments);var x=String(r),A=String(e),D=rr(),j=(o=(n=void 0)!==null&&n!==void 0?n:D.locale)!==null&&o!==void 0?o:rd;if(!j.match)throw new RangeError("locale must contain match property");var $=be((a=(s=(l=(d=void 0)!==null&&d!==void 0?d:void 0)!==null&&l!==void 0?l:D.firstWeekContainsDate)!==null&&s!==void 0?s:(u=D.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!($>=1&&$<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var J=be((h=(p=(m=(f=void 0)!==null&&f!==void 0?f:void 0)!==null&&m!==void 0?m:D.weekStartsOn)!==null&&p!==void 0?p:(y=D.locale)===null||y===void 0||(E=y.options)===null||E===void 0?void 0:E.weekStartsOn)!==null&&h!==void 0?h:0);if(!(J>=0&&J<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(A==="")return x===""?ce(t):new Date(NaN);var W={firstWeekContainsDate:$,weekStartsOn:J,locale:j},X=[new Wm],I=A.match(Sf).map(function(te){var q=te[0];if(q in Ko){var ye=Ko[q];return ye(te,j.formatLong)}return te}).join("").match(If),P=[],k=Xa(I),he;try{var Ze=function(){var q=he.value;!(i!=null&&i.useAdditionalWeekYearTokens)&&td(q)&&Ti(q,A,r),!(i!=null&&i.useAdditionalDayOfYearTokens)&&ed(q)&&Ti(q,A,r);var ye=q[0],Tt=kf[ye];if(Tt){var ei=Tt.incompatibleTokens;if(Array.isArray(ei)){var lr=P.find(function(ti){return ei.includes(ti.token)||ti.token===ye});if(lr)throw new RangeError("The format string mustn't contain `".concat(lr.fullToken,"` and `").concat(q,"` at the same time"))}else if(Tt.incompatibleTokens==="*"&&P.length>0)throw new RangeError("The format string mustn't contain `".concat(q,"` and any other token at the same time"));P.push({token:ye,fullToken:q});var Pt=Tt.run(x,q,j.match,W);if(!Pt)return{v:new Date(NaN)};X.push(Pt.setter),x=Pt.rest}else{if(ye.match(Mf))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ye+"`");if(q==="''"?q="'":ye==="'"&&(q=Bf(q)),x.indexOf(q)===0)x=x.slice(q.length);else return{v:new Date(NaN)}}};for(k.s();!(he=k.n()).done;){var Te=Ze();if(Qe(Te)==="object")return Te.v}}catch(te){k.e(te)}finally{k.f()}if(x.length>0&&Nf.test(x))return new Date(NaN);var et=X.map(function(te){return te.priority}).sort(function(te,q){return q-te}).filter(function(te,q,ye){return ye.indexOf(te)===q}).map(function(te){return X.filter(function(q){return q.priority===te}).sort(function(q,ye){return ye.subPriority-q.subPriority})}).map(function(te){return te[0]}),Be=ce(t);if(isNaN(Be.getTime()))return new Date(NaN);var ue=Xl(Be,Gl(Be)),K={},oe=Xa(et),ar;try{for(oe.s();!(ar=oe.n()).done;){var sr=ar.value;if(!sr.validate(ue,W))return new Date(NaN);var ke=sr.set(ue,K,W);Array.isArray(ke)?(ue=ke[0],zm(K,ke[1])):ue=ke}}catch(te){oe.e(te)}finally{oe.f()}return ue}function Bf(r){return r.match(Df)[1].replace(Of,"'")}function Lf(r,e){ee(2,arguments);var t=be(e);return Np(r,-t)}function Qa(r,e){kn(r,e)}function zf(r){yt.set(r)}const Ja={en:{titleBonusesHistory:"Bonus History",dateFrom:"From:",dateTo:"To:",dateFilter:"Filter",noBonusHistory:"You have no bonuses for the selected period."},"zh-hk":{titleBonusesHistory:"獎金歷史",dateFrom:"從:",dateTo:"至:",dateFilter:"篩選",noBonusHistory:"您目前沒有獎金歷史。"},fr:{titleBonusesHistory:"Historique du bonus",dateFrom:"De:",dateTo:"A:",dateFilter:"Filtre",noBonusHistory:"Vous n'avez pas d'historique de bonus pour le moment."},ro:{titleBonusesHistory:"Istoric bonusuri",dateFrom:"De la",dateTo:"La",dateFilter:"Filtru",noBonusHistory:"Nu ai bonusuri pentru perioada selectata."},es:{titleBonusesHistory:"Historial de Bonos",dateFrom:"Desde:",dateTo:"A:",dateFilter:"Filtro",noBonusHistory:"No tiene Bonos para el periodo seleccionado."},pt:{titleBonusesHistory:"Histórico de bônus",dateFrom:"A partir de:",dateTo:"Para:",dateFilter:"Filtro:",noBonusHistory:"Você não tem histórico de bônus no momento."},hr:{titleBonusesHistory:"Povijest bonusa",dateFrom:"Od:",dateTo:"Do:",dateFilter:"Filter",noBonusHistory:"Nemate bonusa u povijesti."},"pt-br":{titleBonusesHistory:"Histórico de bônus",dateFrom:"De:",dateTo:"PARA:",dateFilter:"Filtro",noBonusHistory:"Não há bônus para o período selecionado"},"es-mx":{titleBonusesHistory:"Historial de bonos",dateFrom:"De:",dateTo:"A:",dateFilter:"Filtro",noBonusHistory:"No tiene bonus para el periodo seleccionado"},tr:{titleBonusesHistory:"Bonus Geçmişi",dateFrom:"İtibaren:",dateTo:"İle:",dateFilter:"Filtre",noBonusHistory:"Seçilen dönem için bonusunuz yok."},"en-us":{titleBonusesHistory:"Bonus History",dateFrom:"From:",dateTo:"To:",dateFilter:"Filter",noBonusHistory:"You have no bonuses for the selected period."}},Hf={GRANTED:"/v1/bonus/granted"},Za={TYPES:"standard,freeBet,freeRound,cashBack,stakeBack,oddsBoost,wagering",STATUS_ACTIVE:"active",STATUS_COMPLETED:"completed,released,forfeited,expired,closed"};function Rf(t){return mr(this,arguments,function*(r,e={}){const i=typeof r=="string"?r:r.toString(),o=yield fetch(i,e);let n=null;try{n=yield o.json()}catch(l){n=null}if(o.ok&&n)return n;const a=n&&typeof n=="object"?n:{},s={success:!1,errorMessage:typeof a.errorMessage=="string"&&a.errorMessage||o.statusText||String(o.status),errorCode:typeof a.errorCode=="number"?a.errorCode:void 0};return ut(ut({},a),s)})}function Ff(r,e,t){return mr(this,null,function*(){const i=new URL(`${r}${Hf.GRANTED}`);Object.entries(t).forEach(([n,a])=>{a!=null&&i.searchParams.append(n,String(a))});const o={};return e&&(o["x-SessionId"]=e),Rf(i,{headers:o})})}if(typeof window!="undefined"){let r=function(e){return function(...t){try{return e.apply(this,t)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./PlayerBonusCard-CKgXB5tw.cjs")).then(({default:e})=>{!customElements.get("player-bonus-card")&&customElements.define("player-bonus-card",e.element)})}var $f=Object.defineProperty,Vf=Object.defineProperties,Uf=Object.getOwnPropertyDescriptors,es=Object.getOwnPropertySymbols,Wf=Object.prototype.hasOwnProperty,jf=Object.prototype.propertyIsEnumerable,Jo=(r,e,t)=>e in r?$f(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,ki=(r,e)=>{for(var t in e||(e={}))Wf.call(e,t)&&Jo(r,t,e[t]);if(es)for(var t of es(e))jf.call(e,t)&&Jo(r,t,e[t]);return r},dd=(r,e)=>Vf(r,Uf(e)),ve=(r,e,t)=>(Jo(r,typeof e!="symbol"?e+"":e,t),t),Ii=(r,e,t)=>new Promise((i,o)=>{var n=l=>{try{s(t.next(l))}catch(d){o(d)}},a=l=>{try{s(t.throw(l))}catch(d){o(d)}},s=l=>l.done?i(l.value):Promise.resolve(l.value).then(n,a);s((t=t.apply(r,e)).next())});/**
|
|
20
20
|
* @license
|
|
21
21
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
22
22
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -38,7 +38,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
38
38
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
39
39
|
*/const Si=globalThis,ss=r=>r,Di=Si.trustedTypes,ls=Di?Di.createPolicy("lit-html",{createHTML:r=>r}):void 0,hd="$lit$",it=`lit$${Math.random().toFixed(9).slice(2)}$`,pd="?"+it,t_=`<${pd}>`,gt=document,Or=()=>gt.createComment(""),Nr=r=>r===null||typeof r!="object"&&typeof r!="function",Ln=Array.isArray,r_=r=>Ln(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",go=`[
|
|
40
40
|
\f\r]`,gr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ds=/-->/g,us=/>/g,ct=RegExp(`>|${go}(?:([^\\s"'>=/]+)(${go}*=${go}*(?:[^
|
|
41
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),cs=/'/g,hs=/"/g,md=/^(?:script|style|textarea|title)$/i,Kt=Symbol.for("lit-noChange"),pe=Symbol.for("lit-nothing"),ps=new WeakMap,mt=gt.createTreeWalker(gt,129);function fd(r,e){if(!Ln(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return ls!==void 0?ls.createHTML(e):e}const i_=(r,e)=>{const t=r.length-1,i=[];let o,n=e===2?"<svg>":e===3?"<math>":"",a=gr;for(let s=0;s<t;s++){const l=r[s];let d,u,c=-1,h=0;for(;h<l.length&&(a.lastIndex=h,u=a.exec(l),u!==null);)h=a.lastIndex,a===gr?u[1]==="!--"?a=ds:u[1]!==void 0?a=us:u[2]!==void 0?(md.test(u[2])&&(o=RegExp("</"+u[2],"g")),a=ct):u[3]!==void 0&&(a=ct):a===ct?u[0]===">"?(a=o!=null?o:gr,c=-1):u[1]===void 0?c=-2:(c=a.lastIndex-u[2].length,d=u[1],a=u[3]===void 0?ct:u[3]==='"'?hs:cs):a===hs||a===cs?a=ct:a===ds||a===us?a=gr:(a=ct,o=void 0);const p=a===ct&&r[s+1].startsWith("/>")?" ":"";n+=a===gr?l+t_:c>=0?(i.push(d),l.slice(0,c)+hd+l.slice(c)+it+p):l+it+(c===-2?s:p)}return[fd(r,n+(r[t]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]};class Mr{constructor({strings:e,_$litType$:t},i){let o;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[d,u]=i_(e,t);if(this.el=Mr.createElement(d,i),mt.currentNode=this.el.content,t===2||t===3){const c=this.el.content.firstChild;c.replaceWith(...c.childNodes)}for(;(o=mt.nextNode())!==null&&l.length<s;){if(o.nodeType===1){if(o.hasAttributes())for(const c of o.getAttributeNames())if(c.endsWith(hd)){const h=u[a++],p=o.getAttribute(c).split(it),m=/([.?@])?(.*)/.exec(h);l.push({type:1,index:n,name:m[2],strings:p,ctor:m[1]==="."?n_:m[1]==="?"?a_:m[1]==="@"?s_:Yi}),o.removeAttribute(c)}else c.startsWith(it)&&(l.push({type:6,index:n}),o.removeAttribute(c));if(md.test(o.tagName)){const c=o.textContent.split(it),h=c.length-1;if(h>0){o.textContent=Di?Di.emptyScript:"";for(let p=0;p<h;p++)o.append(c[p],Or()),mt.nextNode(),l.push({type:2,index:++n});o.append(c[h],Or())}}}else if(o.nodeType===8)if(o.data===pd)l.push({type:2,index:n});else{let c=-1;for(;(c=o.data.indexOf(it,c+1))!==-1;)l.push({type:7,index:n}),c+=it.length-1}n++}}static createElement(e,t){const i=gt.createElement("template");return i.innerHTML=e,i}}function Qt(r,e,t=r,i){var o,n,a;if(e===Kt)return e;let s=i!==void 0?(o=t._$Co)==null?void 0:o[i]:t._$Cl;const l=Nr(e)?void 0:e._$litDirective$;return(s==null?void 0:s.constructor)!==l&&((n=s==null?void 0:s._$AO)==null||n.call(s,!1),l===void 0?s=void 0:(s=new l(r),s._$AT(r,t,i)),i!==void 0?((a=t._$Co)!=null?a:t._$Co=[])[i]=s:t._$Cl=s),s!==void 0&&(e=Qt(r,s._$AS(r,e.values),s,i)),e}class o_{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var t;const{el:{content:i},parts:o}=this._$AD,n=((t=e==null?void 0:e.creationScope)!=null?t:gt).importNode(i,!0);mt.currentNode=n;let a=mt.nextNode(),s=0,l=0,d=o[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new qr(a,a.nextSibling,this,e):d.type===1?u=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(u=new l_(a,this,e)),this._$AV.push(u),d=o[++l]}s!==(d==null?void 0:d.index)&&(a=mt.nextNode(),s++)}return mt.currentNode=gt,n}p(e){let t=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}}class qr{get _$AU(){var e,t;return(t=(e=this._$AM)==null?void 0:e._$AU)!=null?t:this._$Cv}constructor(e,t,i,o){var n;this.type=2,this._$AH=pe,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=o,this._$Cv=(n=o==null?void 0:o.isConnected)!=null?n:!0}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=Qt(this,e,t),Nr(e)?e===pe||e==null||e===""?(this._$AH!==pe&&this._$AR(),this._$AH=pe):e!==this._$AH&&e!==Kt&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):r_(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==pe&&Nr(this._$AH)?this._$AA.nextSibling.data=e:this.T(gt.createTextNode(e)),this._$AH=e}$(e){var t;const{values:i,_$litType$:o}=e,n=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=Mr.createElement(fd(o.h,o.h[0]),this.options)),o);if(((t=this._$AH)==null?void 0:t._$AD)===n)this._$AH.p(i);else{const a=new o_(n,this),s=a.u(this.options);a.p(i),this.T(s),this._$AH=a}}_$AC(e){let t=ps.get(e.strings);return t===void 0&&ps.set(e.strings,t=new Mr(e)),t}k(e){Ln(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let i,o=0;for(const n of e)o===t.length?t.push(i=new qr(this.O(Or()),this.O(Or()),this,this.options)):i=t[o],i._$AI(n),o++;o<t.length&&(this._$AR(i&&i._$AB.nextSibling,o),t.length=o)}_$AR(e=this._$AA.nextSibling,t){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,t);e!==this._$AB;){const o=ss(e).nextSibling;ss(e).remove(),e=o}}setConnected(e){var t;this._$AM===void 0&&(this._$Cv=e,(t=this._$AP)==null||t.call(this,e))}}class Yi{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,i,o,n){this.type=1,this._$AH=pe,this._$AN=void 0,this.element=e,this.name=t,this._$AM=o,this.options=n,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=pe}_$AI(e,t=this,i,o){const n=this.strings;let a=!1;if(n===void 0)e=Qt(this,e,t,0),a=!Nr(e)||e!==this._$AH&&e!==Kt,a&&(this._$AH=e);else{const s=e;let l,d;for(e=n[0],l=0;l<n.length-1;l++)d=Qt(this,s[i+l],t,l),d===Kt&&(d=this._$AH[l]),a||(a=!Nr(d)||d!==this._$AH[l]),d===pe?e=pe:e!==pe&&(e+=(d!=null?d:"")+n[l+1]),this._$AH[l]=d}a&&!o&&this.j(e)}j(e){e===pe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e!=null?e:"")}}class n_ extends Yi{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===pe?void 0:e}}class a_ extends Yi{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==pe)}}class s_ extends Yi{constructor(e,t,i,o,n){super(e,t,i,o,n),this.type=5}_$AI(e,t=this){var i;if((e=(i=Qt(this,e,t,0))!=null?i:pe)===Kt)return;const o=this._$AH,n=e===pe&&o!==pe||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,a=e!==pe&&(o===pe||n);n&&this.element.removeEventListener(this.name,this,o),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,i;typeof this._$AH=="function"?this._$AH.call((i=(t=this.options)==null?void 0:t.host)!=null?i:this.element,e):this._$AH.handleEvent(e)}}class l_{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){Qt(this,e)}}const ms=Si.litHtmlPolyfillSupport;var fs;ms==null||ms(Mr,qr),((fs=Si.litHtmlVersions)!=null?fs:Si.litHtmlVersions=[]).push("3.3.
|
|
41
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),cs=/'/g,hs=/"/g,md=/^(?:script|style|textarea|title)$/i,Kt=Symbol.for("lit-noChange"),pe=Symbol.for("lit-nothing"),ps=new WeakMap,mt=gt.createTreeWalker(gt,129);function fd(r,e){if(!Ln(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return ls!==void 0?ls.createHTML(e):e}const i_=(r,e)=>{const t=r.length-1,i=[];let o,n=e===2?"<svg>":e===3?"<math>":"",a=gr;for(let s=0;s<t;s++){const l=r[s];let d,u,c=-1,h=0;for(;h<l.length&&(a.lastIndex=h,u=a.exec(l),u!==null);)h=a.lastIndex,a===gr?u[1]==="!--"?a=ds:u[1]!==void 0?a=us:u[2]!==void 0?(md.test(u[2])&&(o=RegExp("</"+u[2],"g")),a=ct):u[3]!==void 0&&(a=ct):a===ct?u[0]===">"?(a=o!=null?o:gr,c=-1):u[1]===void 0?c=-2:(c=a.lastIndex-u[2].length,d=u[1],a=u[3]===void 0?ct:u[3]==='"'?hs:cs):a===hs||a===cs?a=ct:a===ds||a===us?a=gr:(a=ct,o=void 0);const p=a===ct&&r[s+1].startsWith("/>")?" ":"";n+=a===gr?l+t_:c>=0?(i.push(d),l.slice(0,c)+hd+l.slice(c)+it+p):l+it+(c===-2?s:p)}return[fd(r,n+(r[t]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]};class Mr{constructor({strings:e,_$litType$:t},i){let o;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[d,u]=i_(e,t);if(this.el=Mr.createElement(d,i),mt.currentNode=this.el.content,t===2||t===3){const c=this.el.content.firstChild;c.replaceWith(...c.childNodes)}for(;(o=mt.nextNode())!==null&&l.length<s;){if(o.nodeType===1){if(o.hasAttributes())for(const c of o.getAttributeNames())if(c.endsWith(hd)){const h=u[a++],p=o.getAttribute(c).split(it),m=/([.?@])?(.*)/.exec(h);l.push({type:1,index:n,name:m[2],strings:p,ctor:m[1]==="."?n_:m[1]==="?"?a_:m[1]==="@"?s_:Yi}),o.removeAttribute(c)}else c.startsWith(it)&&(l.push({type:6,index:n}),o.removeAttribute(c));if(md.test(o.tagName)){const c=o.textContent.split(it),h=c.length-1;if(h>0){o.textContent=Di?Di.emptyScript:"";for(let p=0;p<h;p++)o.append(c[p],Or()),mt.nextNode(),l.push({type:2,index:++n});o.append(c[h],Or())}}}else if(o.nodeType===8)if(o.data===pd)l.push({type:2,index:n});else{let c=-1;for(;(c=o.data.indexOf(it,c+1))!==-1;)l.push({type:7,index:n}),c+=it.length-1}n++}}static createElement(e,t){const i=gt.createElement("template");return i.innerHTML=e,i}}function Qt(r,e,t=r,i){var o,n,a;if(e===Kt)return e;let s=i!==void 0?(o=t._$Co)==null?void 0:o[i]:t._$Cl;const l=Nr(e)?void 0:e._$litDirective$;return(s==null?void 0:s.constructor)!==l&&((n=s==null?void 0:s._$AO)==null||n.call(s,!1),l===void 0?s=void 0:(s=new l(r),s._$AT(r,t,i)),i!==void 0?((a=t._$Co)!=null?a:t._$Co=[])[i]=s:t._$Cl=s),s!==void 0&&(e=Qt(r,s._$AS(r,e.values),s,i)),e}class o_{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var t;const{el:{content:i},parts:o}=this._$AD,n=((t=e==null?void 0:e.creationScope)!=null?t:gt).importNode(i,!0);mt.currentNode=n;let a=mt.nextNode(),s=0,l=0,d=o[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new qr(a,a.nextSibling,this,e):d.type===1?u=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(u=new l_(a,this,e)),this._$AV.push(u),d=o[++l]}s!==(d==null?void 0:d.index)&&(a=mt.nextNode(),s++)}return mt.currentNode=gt,n}p(e){let t=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}}class qr{get _$AU(){var e,t;return(t=(e=this._$AM)==null?void 0:e._$AU)!=null?t:this._$Cv}constructor(e,t,i,o){var n;this.type=2,this._$AH=pe,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=o,this._$Cv=(n=o==null?void 0:o.isConnected)!=null?n:!0}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=Qt(this,e,t),Nr(e)?e===pe||e==null||e===""?(this._$AH!==pe&&this._$AR(),this._$AH=pe):e!==this._$AH&&e!==Kt&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):r_(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==pe&&Nr(this._$AH)?this._$AA.nextSibling.data=e:this.T(gt.createTextNode(e)),this._$AH=e}$(e){var t;const{values:i,_$litType$:o}=e,n=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=Mr.createElement(fd(o.h,o.h[0]),this.options)),o);if(((t=this._$AH)==null?void 0:t._$AD)===n)this._$AH.p(i);else{const a=new o_(n,this),s=a.u(this.options);a.p(i),this.T(s),this._$AH=a}}_$AC(e){let t=ps.get(e.strings);return t===void 0&&ps.set(e.strings,t=new Mr(e)),t}k(e){Ln(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let i,o=0;for(const n of e)o===t.length?t.push(i=new qr(this.O(Or()),this.O(Or()),this,this.options)):i=t[o],i._$AI(n),o++;o<t.length&&(this._$AR(i&&i._$AB.nextSibling,o),t.length=o)}_$AR(e=this._$AA.nextSibling,t){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,t);e!==this._$AB;){const o=ss(e).nextSibling;ss(e).remove(),e=o}}setConnected(e){var t;this._$AM===void 0&&(this._$Cv=e,(t=this._$AP)==null||t.call(this,e))}}class Yi{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,i,o,n){this.type=1,this._$AH=pe,this._$AN=void 0,this.element=e,this.name=t,this._$AM=o,this.options=n,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=pe}_$AI(e,t=this,i,o){const n=this.strings;let a=!1;if(n===void 0)e=Qt(this,e,t,0),a=!Nr(e)||e!==this._$AH&&e!==Kt,a&&(this._$AH=e);else{const s=e;let l,d;for(e=n[0],l=0;l<n.length-1;l++)d=Qt(this,s[i+l],t,l),d===Kt&&(d=this._$AH[l]),a||(a=!Nr(d)||d!==this._$AH[l]),d===pe?e=pe:e!==pe&&(e+=(d!=null?d:"")+n[l+1]),this._$AH[l]=d}a&&!o&&this.j(e)}j(e){e===pe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e!=null?e:"")}}class n_ extends Yi{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===pe?void 0:e}}class a_ extends Yi{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==pe)}}class s_ extends Yi{constructor(e,t,i,o,n){super(e,t,i,o,n),this.type=5}_$AI(e,t=this){var i;if((e=(i=Qt(this,e,t,0))!=null?i:pe)===Kt)return;const o=this._$AH,n=e===pe&&o!==pe||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,a=e!==pe&&(o===pe||n);n&&this.element.removeEventListener(this.name,this,o),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,i;typeof this._$AH=="function"?this._$AH.call((i=(t=this.options)==null?void 0:t.host)!=null?i:this.element,e):this._$AH.handleEvent(e)}}class l_{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){Qt(this,e)}}const ms=Si.litHtmlPolyfillSupport;var fs;ms==null||ms(Mr,qr),((fs=Si.litHtmlVersions)!=null?fs:Si.litHtmlVersions=[]).push("3.3.3");const _d=(r,e,t)=>{var i,o;const n=(i=t==null?void 0:t.renderBefore)!=null?i:e;let a=n._$litPart$;if(a===void 0){const s=(o=t==null?void 0:t.renderBefore)!=null?o:null;n._$litPart$=a=new qr(e.insertBefore(Or(),s),s,void 0,t!=null?t:{})}return a._$AI(r),a};/**
|
|
42
42
|
* @license
|
|
43
43
|
* Copyright 2017 Google LLC
|
|
44
44
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -7603,7 +7603,7 @@ if (typeof window < "u") {
|
|
|
7603
7603
|
}
|
|
7604
7604
|
};
|
|
7605
7605
|
};
|
|
7606
|
-
customElements.define = r(customElements.define), import("./PlayerBonusCard-
|
|
7606
|
+
customElements.define = r(customElements.define), import("./PlayerBonusCard-DHTblOIy.js").then(({ default: e }) => {
|
|
7607
7607
|
!customElements.get("player-bonus-card") && customElements.define("player-bonus-card", e.element);
|
|
7608
7608
|
});
|
|
7609
7609
|
}
|
|
@@ -8211,7 +8211,7 @@ class jf {
|
|
|
8211
8211
|
}
|
|
8212
8212
|
const rs = Ai.litHtmlPolyfillSupport;
|
|
8213
8213
|
var is;
|
|
8214
|
-
rs?.(Ir, $r), ((is = Ai.litHtmlVersions) != null ? is : Ai.litHtmlVersions = []).push("3.3.
|
|
8214
|
+
rs?.(Ir, $r), ((is = Ai.litHtmlVersions) != null ? is : Ai.litHtmlVersions = []).push("3.3.3");
|
|
8215
8215
|
const Xl = (r, e, t) => {
|
|
8216
8216
|
var i, o;
|
|
8217
8217
|
const n = (i = t?.renderBefore) != null ? i : e;
|
|
@@ -24370,33 +24370,33 @@ class n0 extends ac {
|
|
|
24370
24370
|
}
|
|
24371
24371
|
nc(n0, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, bonushistorystatus: {}, bonushistorytype: {}, currencylocale: {}, currency: {}, dateformat: {}, gmversion: {} }, [], [], !0);
|
|
24372
24372
|
export {
|
|
24373
|
-
|
|
24373
|
+
mp as $,
|
|
24374
24374
|
n0 as P,
|
|
24375
24375
|
ac as S,
|
|
24376
|
-
|
|
24377
|
-
|
|
24378
|
-
|
|
24379
|
-
|
|
24380
|
-
|
|
24381
|
-
|
|
24382
|
-
|
|
24383
|
-
|
|
24384
|
-
|
|
24385
|
-
|
|
24386
|
-
|
|
24387
|
-
|
|
24388
|
-
|
|
24389
|
-
|
|
24390
|
-
|
|
24391
|
-
|
|
24392
|
-
|
|
24393
|
-
|
|
24376
|
+
Kt as a,
|
|
24377
|
+
xl as b,
|
|
24378
|
+
T as c,
|
|
24379
|
+
Vu as d,
|
|
24380
|
+
O as e,
|
|
24381
|
+
wr as f,
|
|
24382
|
+
$u as g,
|
|
24383
|
+
nc as h,
|
|
24384
|
+
xe as i,
|
|
24385
|
+
Q as j,
|
|
24386
|
+
_e as k,
|
|
24387
|
+
et as l,
|
|
24388
|
+
fp as m,
|
|
24389
|
+
oc as n,
|
|
24390
|
+
Ae as o,
|
|
24391
|
+
dt as p,
|
|
24392
|
+
Me as q,
|
|
24393
|
+
Gu as r,
|
|
24394
24394
|
Ys as s,
|
|
24395
|
-
|
|
24396
|
-
|
|
24397
|
-
|
|
24398
|
-
|
|
24399
|
-
|
|
24400
|
-
|
|
24401
|
-
|
|
24395
|
+
lc as t,
|
|
24396
|
+
dc as u,
|
|
24397
|
+
uc as v,
|
|
24398
|
+
Ot as w,
|
|
24399
|
+
Ie as x,
|
|
24400
|
+
s0 as y,
|
|
24401
|
+
Te as z
|
|
24402
24402
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerBonusHistory-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerBonusHistory-DYDPAsky.cjs")).then(e=>e.PlayerBonusHistory_ce).then(({default:e})=>{!customElements.get("player-bonus-history")&&customElements.define("player-bonus-history",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerBonusHistory-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerBonusHistory-DHVfmVdW.js").then((e) => e.P).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("player-bonus-history") && customElements.define("player-bonus-history", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|